/* manage.css - N Pro 管理画面のスタイル (旧 LineMedia 管理画面の見た目へ寄せる) */

:root {
  --site-color: #152030;
  --accent-color: #d09c00;
  --table-th-color: #d3dee3;
  --table-th-dark-color: #3b4656;
  --legacy-border: #999;
}

/* ------------------------------------------------------------------
   既存の代理店 / 媒体ポータル用レイアウト
------------------------------------------------------------------ */
.manage-body:not(.manage-legacy) { margin: 0; background: #f4f6f9; }
.manage-body:not(.manage-legacy) .manage-wrap { display: flex; min-height: 100vh; }
.manage-body:not(.manage-legacy) .manage-sidebar {
  width: 230px;
  flex-shrink: 0;
  background: var(--lm-sidebar-bg);
  color: var(--lm-sidebar-text);
  display: flex;
  flex-direction: column;
}
.manage-body:not(.manage-legacy) .manage-sidebar-agency { background: #1f2a44; }
.manage-body:not(.manage-legacy) .manage-sidebar-media { background: #1d3326; }
.manage-body:not(.manage-legacy) .manage-sidebar-brand {
  padding: 1rem 1.25rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.manage-body:not(.manage-legacy) .manage-sidebar-brand a { color: #fff; text-decoration: none; }
.manage-body:not(.manage-legacy) .manage-menu { margin: 0; padding: 0.5rem 0; }
.manage-body:not(.manage-legacy) .manage-menu li a {
  display: block;
  padding: 0.65rem 1.25rem;
  color: var(--lm-sidebar-text);
  text-decoration: none;
  font-size: 0.95rem;
  border-left: 3px solid transparent;
}
.manage-body:not(.manage-legacy) .manage-menu li a:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.manage-body:not(.manage-legacy) .manage-menu li a i { width: 1.4em; text-align: center; margin-right: 0.4em; }
.manage-body:not(.manage-legacy) .manage-menu li.active a {
  background: rgba(6, 199, 85, 0.15);
  color: #fff;
  border-left-color: var(--lm-primary);
}
.manage-body:not(.manage-legacy) .manage-main { flex: 1 1 auto; display: flex; flex-direction: column; min-width: 0; }
.manage-body:not(.manage-legacy) .manage-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1.25rem;
  background: #fff;
  border-bottom: 1px solid #e3e7ee;
}
.manage-body:not(.manage-legacy) .manage-header-title { font-weight: 600; }
.manage-body:not(.manage-legacy) .manage-header-user { display: flex; align-items: center; gap: 0.35rem; font-size: 0.9rem; }
.manage-body:not(.manage-legacy) .manage-content { flex: 1 1 auto; padding: 1.25rem; }

/* ------------------------------------------------------------------
   旧管理画面風: reset / base
------------------------------------------------------------------ */
.manage-legacy,
.login-legacy {
  color: #333;
  font-size: 14px;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  line-height: 1.6;
}
.manage-legacy {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100vh;
  background: #fff;
}
.manage-legacy *,
.login-legacy * {
  box-sizing: border-box;
}
.manage-legacy a,
.login-legacy a {
  color: #0000ee;
  text-decoration: none;
}
.manage-legacy a:hover,
.login-legacy a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}
.manage-legacy ul,
.manage-legacy ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
.center { text-align: center !important; }
.left { text-align: left !important; }
.right { text-align: right !important; }
.f_bold { font-weight: bold !important; }
.f_red { color: #f00 !important; }
.f_blue { color: #00f !important; }
.mtb_M { margin-top: 1em !important; margin-bottom: 1em !important; }
.mb_M { margin-bottom: 1em !important; }
.count { color: var(--accent-color); font-size: 1.5em; font-weight: bold; }

/* ------------------------------------------------------------------
   旧トップフレーム
------------------------------------------------------------------ */
.legacy-container {
  min-width: 0;
}
.legacy-brand { display: flex; align-items: center; width: 145px; flex-shrink: 0; }
.legacy-brand img { width: 145px; max-height: 48px; object-fit: contain; }
.sidemenu a[aria-disabled="true"] { opacity: .45; cursor: default; }
#topfrm #top a {
  color: #fff;
}
#topfrm #top {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  color: #fff;
  text-align: center;
  background: var(--site-color);
}
#topfrm #top > form {
  display: flex;
  align-items: center;
  min-width: 1080px;
  height: 65px;
  margin: 0;
  padding: 5px 20px;
  border-bottom: 1px solid #000;
}
#topfrm #top .sitename {
  position: relative;
  max-width: 38vw;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 16px;
  font-weight: bold;
  padding: 5px 10px;
  margin-left: 20px;
  border: 2px solid #eee;
  border-width: 0 0 2px;
}
#topfrm #top .sitename::after {
  position: absolute;
  content: "";
  display: block;
  width: 30px;
  left: 0;
  bottom: -2px;
  border-bottom: solid 2px var(--accent-color);
}
#topfrm #top .operator {
  margin-left: auto;
  font-size: 14px;
  font-weight: bold;
}
#topfrm #top .operator span {
  display: block;
}
#topfrm #top .operator span:first-child {
  color: #fff;
  font-size: 12px;
  margin-bottom: 2px;
  padding: 0 10px;
  background: var(--accent-color);
  border-radius: 30px;
}
#topfrm #top .operator span:last-child {
  max-width: 10em;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
#topfrm #top .opemenu {
  margin-left: 15px;
}
#topfrm #top .opemenu ul {
  display: flex;
  gap: 5px;
}
#topfrm #top .opemenu a {
  position: relative;
  display: block;
  min-width: 70px;
  padding: 5px 10px;
  text-decoration: none;
  border-radius: 5px;
}
#topfrm #top .opemenu a:hover {
  color: #fff;
  background: #0a101a;
}
#topfrm #top .opemenu i {
  display: block;
  font-size: 1.5em;
  margin-bottom: 3px;
}
#topfrm #top .opemenu span {
  display: block;
  font-size: 10px;
}
.legacy-mobile-menu {
  display: none;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 3px;
  padding: 6px 9px;
  margin-left: 10px;
}

/* ------------------------------------------------------------------
   旧サイドメニュー
------------------------------------------------------------------ */
#topfrm #left {
  position: fixed;
  top: 65px;
  left: 0;
  width: 250px;
  height: calc(100vh - 65px);
  overflow-y: auto;
  overflow-x: visible;
  text-align: center;
  transition: width 0.1s linear, transform 0.2s ease;
  background: var(--site-color);
  z-index: 900;
}
#topfrm #left.close {
  width: 0;
  overflow: hidden;
}
#topfrm #left::-webkit-scrollbar {
  width: 5px;
}
#topfrm #left::-webkit-scrollbar-track {
  border-radius: 5px;
  background: #172031;
}
#topfrm #left::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background: #000;
}
.sidemenu .sitename > h1 {
  color: #fff;
  font-size: 1em;
  font-weight: bold;
  line-height: 1.6;
  text-align: center;
  padding: 0.5em;
  margin: 0;
  background: var(--site-color);
  border-bottom: 2px solid var(--accent-color);
}
.sidemenu .menuCategory.active h2 .category > i {
  color: var(--accent-color);
}
.sidemenu h2 {
  position: relative;
  font-size: 14px;
  font-weight: normal;
  line-height: 1.2;
  margin: 0;
}
.sidemenu h2::after {
  position: absolute;
  right: 0.8em;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-color);
  content: "\f142";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 1.1em;
  transition: 0.25s;
}
.sidemenu h2.close::after {
  transform: translateY(-50%) rotate(90deg);
}
.sidemenu h2 .category {
  display: block;
  color: #fff;
  font-size: 1em;
  font-weight: bold;
  line-height: 1;
  text-align: left;
  padding: 0.8em;
  background: var(--site-color);
  border-bottom: 1px solid #000;
  cursor: pointer;
}
.sidemenu h2 .category > i {
  width: 1em;
  text-align: center;
  margin-right: 0.5em;
}
.sidemenu h2 .category + .explain {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: 100%;
  right: 0;
  width: 100%;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  line-height: 1.4;
  text-align: left;
  padding: 10px;
  background: var(--accent-color);
  z-index: 5;
}
.sidemenu h2 .category:hover + .explain {
  visibility: visible;
  opacity: 1;
  transition: 0.3s 0.35s;
}
.sidemenu ul.list_menu {
  background: #f0f0f0;
  padding: 0.5em 0;
}
.sidemenu h2.close + ul.list_menu {
  display: none;
}
.sidemenu ul.list_menu > li {
  position: relative;
  width: 95%;
  margin: 0 auto;
  font-size: 0.9em;
  text-align: right;
  line-height: 2;
}
.sidemenu ul.list_menu > li > a {
  position: relative;
  display: block;
  color: #333 !important;
  width: 100%;
  font-size: 1em;
  line-height: 2;
  text-align: left;
  padding: 0.2em 1.4em 0.2em 1.5em;
  background: #f0f0f0;
  border-radius: 3px;
}
.sidemenu ul.list_menu > li > a:hover {
  color: #333 !important;
  text-decoration: none;
  background: #ddd;
}
.sidemenu ul.list_menu > li.active > a,
.sidemenu ul.list_menu > li > a.active {
  font-weight: bold;
  background: #ddd;
}
.sidemenu ul.list_menu > li.active > a::after {
  position: absolute;
  right: 0.5em;
  top: 50%;
  transform: translateY(-50%);
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #999;
}
.sidemenu ul.list_menu > li > a + span {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: 100%;
  right: 0;
  width: 95%;
  color: #fff;
  font-size: 12px;
  line-height: 1.4;
  text-align: left;
  padding: 10px;
  background: rgba(0, 0, 0, 0.9);
  border-radius: 5px;
  z-index: 6;
}
.sidemenu ul.list_menu > li > a:hover + span {
  visibility: visible;
  opacity: 1;
  transition: 0.3s 0.3s;
}

/* ------------------------------------------------------------------
   右メイン領域
------------------------------------------------------------------ */
#topfrm #right {
  position: fixed;
  top: 65px;
  left: 250px;
  right: 0;
  bottom: 0;
  min-height: 0;
  overflow: auto;
  border-left: 2px solid #ccc;
  transition: left 0.1s linear;
  background: #fff;
}
#topfrm #right.wide {
  left: 0;
}
#topfrm #right #sideOpeBtn {
  position: fixed;
  bottom: 10px;
  left: 250px;
  z-index: 950;
  color: #fff;
  font-size: 14px;
  letter-spacing: -2px;
  text-align: center;
  line-height: 1;
  padding: 50px 7px 50px 5px;
  border-radius: 0 5px 5px 0;
  background: var(--site-color);
  cursor: pointer;
  transition: 0.2s;
}
#topfrm #right.wide #sideOpeBtn {
  left: 0;
}
#topfrm #right #sideOpeBtn:hover {
  padding: 50px 10px 50px 8px;
}
.manage-legacy .manage-content {
  min-height: 100%;
  padding: 10px 10px 52px;
}
.manage-framed { height: 100vh; overflow: hidden; }
/* 狭い画面ではメニューを開閉し、本文に画面幅を確保する。 */
@media (max-width: 767px) {
  #topfrm #top > form { min-width: 0; padding: 5px 8px; }
  #topfrm #top .sitename { margin-left: 0; padding: 5px; max-width: 40vw; }
  #topfrm #top .operator { display: none; }
  #topfrm #top .opemenu { margin-left: auto; }
  #topfrm #top .opemenu a { min-width: 54px; padding: 5px; }
  .legacy-mobile-menu { display: block; flex-shrink: 0; }
  #topfrm #left, #topfrm #left.close {
    width: 250px;
    overflow-y: auto;
    transform: translateX(-100%);
  }
  #topfrm #left.open { transform: translateX(0); }
  #topfrm #right { left: 0; border-left: 0; }
  #topfrm #right #sideOpeBtn { display: none; }
}
.manage-legacy .menutitle {
  font-size: 14px;
  font-weight: bold;
  line-height: 1.6;
  padding: 0.5em 1em;
  margin: 0 0 1em;
  border-bottom: 3px solid var(--site-color);
}

/* ------------------------------------------------------------------
   旧テーブル / フォーム
------------------------------------------------------------------ */
.manage-legacy table,
.login-legacy table {
  width: auto;
  max-width: 1500px;
  margin: 0 auto;
  border-collapse: collapse;
}
.manage-legacy .table,
.manage-legacy table.table {
  width: 100%;
  margin-bottom: 0;
  color: #333;
  border-color: var(--legacy-border);
}
.manage-legacy table th,
.manage-legacy table td,
.login-legacy table th,
.login-legacy table td {
  border: 1px solid var(--legacy-border) !important;
  font-size: 12px;
  padding: 5px;
  text-align: left;
  vertical-align: middle;
  background: #fff;
}
.manage-legacy table th,
.manage-legacy table thead th,
.login-legacy table th,
.manage-legacy table th.color,
.manage-legacy table td.color,
.login-legacy table th.color,
.login-legacy table td.color {
  color: #333;
  font-weight: bold;
  text-align: center;
  background: var(--table-th-color) !important;
}
.manage-legacy table th.headcolor,
.manage-legacy table td.headcolor {
  color: #fff;
  background: var(--table-th-dark-color) !important;
}
.manage-legacy .table-hover > tbody > tr:hover > * {
  background: #f2faff !important;
}
.manage-legacy tr.disable,
.manage-legacy tr.gray {
  background: #ccc !important;
}
.manage-legacy tr.total,
.manage-legacy td.total {
  background: #ffffcc !important;
}
.manage-legacy .table-responsive {
  border: 0;
}
.manage-legacy input,
.manage-legacy select,
.manage-legacy textarea,
.manage-legacy button,
.login-legacy input,
.login-legacy select,
.login-legacy textarea,
.login-legacy button {
  font-size: 12px;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}
.manage-legacy input[type="text"],
.manage-legacy input[type="search"],
.manage-legacy input[type="tel"],
.manage-legacy input[type="url"],
.manage-legacy input[type="email"],
.manage-legacy input[type="password"],
.manage-legacy input[type="number"],
.manage-legacy input[type="date"],
.manage-legacy input[type="time"],
.manage-legacy input[type="datetime-local"],
.manage-legacy select,
.manage-legacy textarea,
.manage-legacy .form-control,
.manage-legacy .form-select,
.login-legacy input[type="text"],
.login-legacy input[type="password"] {
  min-height: 0;
  padding: 0.45em 0.5em;
  color: #333;
  background-color: #fff;
  border: solid 1px #999;
  border-radius: 3px;
  box-shadow: none;
}
.manage-legacy .form-control-sm,
.manage-legacy .form-select-sm {
  padding: 0.35em 0.5em;
  font-size: 12px;
}
.manage-legacy input[type="submit"],
.manage-legacy input[type="button"],
.manage-legacy input[type="reset"],
.manage-legacy button,
.manage-legacy .btn,
.login-legacy input[type="submit"],
.login-legacy button {
  color: #333;
  padding: 0.28em 0.8em;
  border: solid 1px #777;
  border-radius: 3px;
  background: linear-gradient(to bottom, #fff 10%, #eee);
  text-decoration: none;
  line-height: 1.45;
}
.manage-legacy .btn:hover,
.manage-legacy button:hover,
.manage-legacy input[type="submit"]:hover,
.login-legacy input[type="submit"]:hover {
  color: #333;
  background: #eee;
}
.manage-legacy .btn-primary,
.manage-legacy .btn-success,
.manage-legacy .btn-info,
.manage-legacy .btn-outline-primary,
.manage-legacy .btn-outline-secondary,
.manage-legacy .btn-outline-info,
.manage-legacy .btn-outline-success {
  color: var(--site-color) !important;
  border: 2px solid var(--site-color) !important;
  background: linear-gradient(to bottom, #fff 50%, #f0f0f0) !important;
}
.manage-legacy .btn-danger,
.manage-legacy .btn-outline-danger {
  color: #9f0000 !important;
  border: 2px solid #9f0000 !important;
  background: linear-gradient(to bottom, #fff 50%, #f0f0f0) !important;
}
.manage-legacy .btn-sm {
  padding: 0.2em 0.65em;
  font-size: 12px;
}
.manage-legacy label {
  font-size: 12px;
  font-weight: bold;
  margin-bottom: 2px;
}
.manage-legacy .form-label {
  font-size: 12px;
  font-weight: bold;
}

/* ------------------------------------------------------------------
   Bootstrap部品を旧画面調へ
------------------------------------------------------------------ */
.manage-legacy .card {
  color: #333 !important;
  background: #fff !important;
  border: 1px solid var(--legacy-border);
  border-radius: 0;
  box-shadow: none !important;
}
.manage-legacy .card + .card {
  margin-top: 1em;
}
.manage-legacy .card-header {
  color: #333;
  font-size: 12px;
  font-weight: bold;
  text-align: left;
  padding: 5px 8px;
  background: var(--table-th-color);
  border-bottom: 1px solid var(--legacy-border);
}
.manage-legacy .card-body {
  padding: 10px;
}
.manage-legacy .text-bg-primary,
.manage-legacy .text-bg-success,
.manage-legacy .text-bg-warning,
.manage-legacy .text-bg-info,
.manage-legacy .text-bg-danger,
.manage-legacy .text-bg-secondary,
.manage-legacy .text-bg-dark {
  color: #333 !important;
  background: #fff !important;
}
.manage-legacy .fs-3 {
  font-size: 1.5em !important;
  color: var(--accent-color);
}
.manage-legacy .badge {
  border-radius: 3px;
  font-size: 11px;
  border: 1px solid #777;
}
.manage-legacy .text-bg-success,
.manage-legacy .badge.text-bg-success,
.manage-legacy .badge.bg-success {
  color: #064f20 !important;
  background: #e2f0d9 !important;
}
.manage-legacy .text-bg-secondary,
.manage-legacy .badge.text-bg-secondary,
.manage-legacy .badge.bg-secondary {
  color: #333 !important;
  background: #ddd !important;
}
.manage-legacy .text-bg-danger,
.manage-legacy .badge.text-bg-danger,
.manage-legacy .badge.bg-danger {
  color: #900 !important;
  background: #ffabab !important;
}
.manage-legacy .text-bg-warning,
.manage-legacy .badge.text-bg-warning,
.manage-legacy .badge.bg-warning {
  color: #333 !important;
  background: #ffffcc !important;
}
.manage-legacy .text-bg-primary,
.manage-legacy .badge.text-bg-primary,
.manage-legacy .badge.bg-primary {
  color: #fff !important;
  background: var(--table-th-dark-color) !important;
}
.manage-legacy .alert {
  max-width: 1500px;
  margin: 0 auto 1em;
  padding: 0.5em 1em;
  border-radius: 0;
  border: 1px solid var(--legacy-border);
  font-size: 12px;
}
.manage-legacy .pagination .page-link {
  color: var(--site-color);
  border-color: var(--legacy-border);
  border-radius: 0 !important;
  font-size: 12px;
}
.manage-legacy .pagination .active .page-link {
  color: #fff;
  background: var(--site-color);
  border-color: var(--site-color);
}

/* ------------------------------------------------------------------
   旧ログイン
------------------------------------------------------------------ */
.login-legacy {
  display: block;
  align-items: initial;
  justify-content: initial;
  min-height: 100vh;
  margin: 0;
  padding: 10px;
  background: #fff;
}
.login-legacy .login-container {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding-top: 48px;
}
.login-legacy table {
  min-width: 360px;
}
.login-legacy input[type="submit"] {
  min-width: 120px;
}

/* 参照画面と同じく狭い画面でも250pxのメニューを保持する。
   右下の開閉操作でメニューを折り畳める。 */

/* マスター新規/編集と参照の6配色。 */
.master-back{text-align:right;margin:0}
.master-editor table{margin:0 auto}
.manage-legacy .master-editor input,.manage-legacy .master-editor select,.manage-legacy .master-editor textarea{line-height:normal;padding:6px}
.master-editor input[type=number],.master-list input[type=number]{width:72px}
.master-editor input[type=text]{width:169px}
.master-editor input{margin-right:5px}
.master-editor th{white-space:normal;text-align:left!important}.master-editor textarea,.master-editor select{vertical-align:middle}.manage-legacy .master-editor button{padding:.2em .8em;line-height:normal;height:23.78125px;vertical-align:middle}
.master-editor .center{text-align:center!important}
.ad-editor{width:auto;margin:0}.ad-editor table{width:auto;margin:0 auto}.ad-editor th{text-align:left!important;white-space:normal;width:auto}.ad-editor .center{text-align:center!important}.manage-legacy .ad-editor input,.manage-legacy .ad-editor select,.manage-legacy .ad-editor textarea{padding:6px;line-height:normal;vertical-align:middle}.ad-editor input[type=text]{width:239px;margin-right:5px}.ad-editor input.url-field{width:379px}.ad-editor input[type=number]{width:169px;margin-right:5px}.ad-editor input[name^=afn_name]{width:169px}.ad-editor label{margin:0;font-weight:normal;display:inline}.ad-editor input[type=radio]{padding:0;margin:0 2px 0 0}.ad-editor textarea{max-width:none}.ad-editor textarea[name=memo]{width:477px;height:84px}.ad-editor textarea[name^=tagback_html]{width:239px;height:126px}.ad-editor select{max-width:none}.ad-editor .f_red{font-weight:normal}.ad-editor button{padding:.2em .8em;line-height:normal}.manage-legacy .ad-editor .ad-spacer td{padding:5px;border:0!important;background:#fff;height:10px}

.master-list{min-width:70%}
.member-tag{display:inline-block;color:#fff;padding:.3em 1em;border-radius:20px;margin:3px;font-size:12px;line-height:1.6}
.member-tag.color-1{background:#ff4500}.member-tag.color-2{background:#0000cd}.member-tag.color-3{background:#008000}.member-tag.color-4{background:#ff8c00}.member-tag.color-5{background:#ff69b4}.member-tag.color-6{background:#808080}

.member-classification-tabs{list-style:none;padding:0;margin:0 0 14px;display:flex;gap:8px}.member-classification-tabs a{display:block;padding:5px 10px;background:#d3dee3;color:#333}.initial-list{min-width:550px}.initial-list input[type=number]{width:72px}.initial-editor label{font-weight:normal}.initial-editor .initial-weights{margin:0 auto}.initial-help{font-size:12px;margin:22.4px auto 0}.initial-help h2{font-size:14px;font-weight:bold;padding:5px;background:#d3dee3}.initial-help p{line-height:1.6;padding:5px}.initial-list .center{text-align:center!important}

.initial-editor input[name=name]{width:239px}.initial-editor input[name=disp_order]{width:169px}.initial-editor input[name^=percentage]{width:58px;margin-right:0}.initial-editor textarea{width:309px;height:70px}.manage-legacy .initial-editor .initial-nested{border:0!important}.initial-editor .initial-weights th{text-align:center!important}.initial-editor input[type=radio]{margin:0 2px 0 0}.initial-help .center{text-align:center!important}
.manage-legacy .member-classification-tabs{width:600px;gap:0;margin:58px auto 21px;padding:0;border-radius:5px}.member-classification-tabs li{width:33.333333%}.member-classification-tabs a{position:relative;padding:.5em;text-align:center;font-weight:bold;border:1px solid #ccc;background:#f0f0f0}.member-classification-tabs li:first-child a{border-radius:5px 0 0 5px}.member-classification-tabs li:last-child a{border-radius:0 5px 5px 0}.member-classification-tabs li+li a{border-left:none}.member-classification-tabs .active a{color:white;background:var(--site-color);border-color:var(--site-color)}.member-classification-tabs .active a:after{content:'';position:absolute;left:calc(50% - 7px);bottom:-8px;border:7px solid transparent;border-bottom:0;border-top-color:var(--site-color)}
.initial-new{text-align:center;margin:14px 0;text-decoration:underline}.initial-list{min-width:0}.initial-list button{padding:.2em .8em;line-height:normal;height:23.78125px}.initial-list~*{margin-top:14px}.initial-editor label{margin-bottom:0;display:inline}.initial-editor input[type=radio]{vertical-align:text-top}.initial-editor input[name^=percentage]{margin-right:2px}.initial-list-form+.initial-help{margin-top:14px}
.ad-batch-editor textarea{width:379px;height:84px}.ad-batch-editor label{display:inline;font-weight:normal;margin:0}.ad-batch-editor input[type=checkbox]{vertical-align:text-top;margin-right:2px}.ad-batch-editor .right{text-align:right!important}.ad-batch-editor select[multiple]{height:auto;min-height:70px}.ad-batch-editor button,.ad-import-editor button{line-height:normal;padding:.2em .8em;height:23.78125px}.ad-batch-editor .ad-spacer td{height:11px;padding:5px}.ad-import-explanation th{text-align:left!important;white-space:normal}.ad-import-explanation thead th{text-align:center!important}

.manage-legacy .ad-import-editor input[type=file]{padding:0;vertical-align:baseline}
