:root {
  --sidebar: #112030;
  --sidebar-hover: #192c40;
  --page: #17202c;
  --surface: #1e2b3b;
  --surface-raised: #243244;
  --line: #304054;
  --text: #e5eaf2;
  --text-secondary: #b4c2d3;
  --muted: #7d8fa6;
  --disabled: #586a80;
  --primary: #297bff;
  --primary-hover: #1960d1;
  --success: #27c24d;
  --warning: #ff9526;
  --danger: #ff5757;
  --info: #909399;
  --shadow: 0 2px 6px rgba(0, 0, 0, .25);
}
* { box-sizing: border-box; }
html, body { min-height: 100%; }
body { margin: 0; background: var(--page); color: var(--text); font: 14px/1.5 "Microsoft YaHei", "PingFang SC", Helvetica, Arial, sans-serif; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.app-shell { display: flex; min-height: 100vh; }
.sidebar { width: 248px; flex: 0 0 248px; background: var(--sidebar); color: var(--text-secondary); display: flex; flex-direction: column; padding: 20px 14px 16px; }
.brand { display: flex; align-items: center; gap: 11px; padding: 0 10px 22px; }
.brand-mark { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 6px; background: var(--primary); color: #fff; font-size: 17px; font-weight: 600; }
.brand strong { display: block; color: var(--text); font-size: 16px; font-weight: 600; }
.brand span { display: block; margin-top: 2px; color: var(--muted); font-size: 10px; letter-spacing: 1.2px; }
.workspace { margin: 0 5px 20px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); color: var(--text-secondary); font-size: 12px; }
.workspace small { float: right; color: var(--muted); font-size: 11px; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--success); }
.status-dot.development { background: var(--danger); }
.nav-label { padding: 16px 12px 7px; color: var(--muted); font-size: 11px; letter-spacing: .7px; }
.nav-item { width: 100%; min-height: 40px; display: flex; align-items: center; gap: 11px; padding: 9px 12px; border: 0; border-radius: 4px; background: transparent; color: var(--text-secondary); text-align: left; text-decoration: none; transition: background .15s, color .15s; }
.sidebar a.nav-item,
.sidebar a.nav-item:visited,
.sidebar a.nav-item:hover,
.sidebar a.nav-item:focus,
.sidebar a.nav-item:active { text-decoration: none !important; }
.nav-item:hover { background: var(--sidebar-hover); color: var(--text); }
.nav-item.active { background: var(--sidebar-hover); color: var(--text); box-shadow: inset 3px 0 var(--primary); }
.icon { width: 17px; color: var(--muted); text-align: center; font-size: 16px; }
.active .icon { color: var(--primary); }
.nav-parent .chevron { margin-left: auto; color: var(--muted); font-size: 18px; line-height: 1; transition: transform .15s; }
.nav-group.open .nav-parent .chevron { transform: rotate(90deg); }
.nav-group .submenu { display: none; }
.nav-group.open .submenu { display: block; }
.nav-item.sub { min-height: 36px; padding-left: 42px; color: var(--muted); font-size: 14px; }
.nav-item.sub:hover, .nav-item.sub.active { color: var(--text); }
.sidebar-foot { display: flex; align-items: center; gap: 9px; margin-top: auto; padding: 15px 7px 0; border-top: 1px solid var(--line); }
.avatar, .top-avatar { display: grid; place-items: center; border-radius: 50%; background: #54708f; color: #fff; font-weight: 600; }
.avatar { width: 30px; height: 30px; font-size: 12px; }
.sidebar-foot strong { display: block; color: var(--text); font-size: 12px; font-weight: 500; }
.sidebar-foot span { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; }
.more { margin-left: auto; border: 0; background: transparent; color: var(--muted); }
.main { flex: 1; min-width: 0; }
.topbar { height: 64px; display: flex; align-items: center; justify-content: space-between; padding: 0 32px; border-bottom: 1px solid var(--line); background: var(--surface); }
.crumb { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; }
.crumb b { color: var(--disabled); font-weight: 400; }
.crumb strong { color: var(--text); font-weight: 500; }
.top-actions { display: flex; align-items: center; gap: 15px; }
.language { border: 0; background: transparent; color: var(--text-secondary); }
.account-menu { position: relative; }
.account-trigger { display: flex; align-items: center; gap: 9px; padding: 4px 2px; border: 0; background: transparent; color: var(--text-secondary); }
.account-name { font-size: 13px; }
.top-avatar { width: 30px; height: 30px; font-size: 12px; }
.account-dropdown { display: none; position: absolute; z-index: 25; top: calc(100% + 7px); right: 0; min-width: 130px; padding: 6px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); box-shadow: var(--shadow); }
.account-menu:hover .account-dropdown, .account-menu:focus-within .account-dropdown { display: block; }
.account-dropdown button { width: 100%; display: block; padding: 9px 11px; border: 0; border-radius: 3px; background: transparent; color: var(--text-secondary); text-align: left; }
.account-dropdown button:hover { background: var(--surface-raised); color: var(--text); }
.page-content { max-width: 1500px; padding: 28px 34px 44px; }
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.page-head .page-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.page-head h1 { margin: 0 0 6px; color: var(--text); font-size: 18px; font-weight: 600; }
.page-head p { margin: 0; color: var(--muted); font-size: 13px; }
.primary, .secondary { min-height: 40px; padding: 0 16px; border-radius: 4px; font-size: 14px; transition: background .15s, border-color .15s, color .15s; }
.primary { border: 1px solid var(--primary); background: var(--primary); color: #fff; }
.primary:hover { border-color: var(--primary-hover); background: var(--primary-hover); }
.secondary { border: 1px solid var(--line); background: transparent; color: var(--text-secondary); }
.secondary:hover { border-color: var(--primary); color: var(--text); background: rgba(41, 123, 255, .1); }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 20px; }
.kpi, .panel { border: 1px solid var(--line); border-radius: 6px; background: var(--surface); box-shadow: var(--shadow); }
.kpi { padding: 18px 19px; }
.kpi-top { display: flex; align-items: center; justify-content: space-between; color: var(--text-secondary); font-size: 13px; }
.kpi-icon { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 4px; background: rgba(41, 123, 255, .14); color: var(--primary); font-size: 16px; }
.kpi strong { display: block; margin: 16px 0 5px; color: var(--text); font-size: 24px; font-weight: 600; }
.trend { font-size: 12px; }
.up { color: var(--success); }
.down { color: var(--danger); }
.grid-2 { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; margin-bottom: 20px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; padding: 15px 19px; border-bottom: 1px solid var(--line); }
.panel-head h2 { margin: 0; color: var(--text); font-size: 16px; font-weight: 500; }
.panel-head a { color: var(--primary); font-size: 13px; text-decoration: none; }
.chart { height: 210px; display: flex; align-items: end; gap: 11px; padding: 17px 19px; }
.bar { position: relative; flex: 1; min-height: 20px; border-radius: 3px 3px 0 0; background: var(--primary); opacity: .7; }
.bar:nth-child(2n) { opacity: .45; }
.bar::after { content: attr(data-label); position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%); color: var(--muted); font-size: 10px; }
.activity { padding: 4px 19px 14px; }
.activity-row { display: flex; align-items: center; gap: 11px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.activity-row:last-child { border-bottom: 0; }
.activity-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); }
.activity-row p { margin: 0; color: var(--text-secondary); font-size: 13px; }
.activity-row small { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; }
.table-wrap { overflow: auto; }
.pager { min-height: 57px; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 8px 0 4px; padding: 10px 18px; border-top: 0; color: var(--muted); }
.pager[hidden] { display: none !important; }
.pager-actions { display: flex; align-items: center; gap: 9px; }
.pager .secondary { min-height: 34px; padding: 0 12px; }
.pager .secondary:disabled { cursor: not-allowed; opacity: .45; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { height: 48px; padding: 12px 18px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.table th { background: var(--surface-raised); color: var(--text-secondary); font-size: 14px; font-weight: 500; }
.table td { color: var(--text-secondary); font-size: 14px; font-weight: 400; }
.table tbody tr:hover td { background: var(--surface-raised); }
.table td strong { color: var(--text); font-weight: 400; }
.table code, code { padding: 3px 5px; border-radius: 3px; background: rgba(125, 143, 166, .14); color: var(--text-secondary); font-size: 12px; }
.row-actions { display: flex; gap: 8px; }
.row-actions .secondary { min-height: 32px; padding: 0 11px; font-size: 13px; }
.table td > button + button { margin-left: 8px; }
.toolbar > button + button { margin-left: 8px; }
.badge { display: inline-flex; align-items: center; padding: 4px 8px; border-radius: 4px; font-size: 12px; line-height: 1.2; }
.badge.green { background: rgba(39, 194, 77, .15); color: #6ee68a; }
.badge.blue { background: rgba(41, 123, 255, .16); color: #72a9ff; }
.badge.amber { background: rgba(255, 149, 38, .16); color: #ffb866; }
.badge.red { background: rgba(255, 87, 87, .16); color: #ff8585; }
.toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-bottom: 16px; }
.search, .filter, .setting input, .setting select { height: 36px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); color: var(--text-secondary); }
.search { min-width: 240px; padding: 0 12px; }
.search::placeholder, input::placeholder, textarea::placeholder { color: var(--disabled); }
.filter { min-width: 138px; padding: 0 34px 0 12px; }
.setting-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.setting { padding: 17px 19px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }
.setting label { display: block; margin-bottom: 7px; color: var(--text-secondary); font-size: 14px; }
.setting input, .setting select { width: 100%; padding: 0 10px; }
.metric-note { padding: 18px 19px; color: var(--text-secondary); font-size: 13px; line-height: 1.7; }
.metric-note p { margin: 0 0 8px; }
.progress { height: 8px; margin: 18px 0 8px; overflow: hidden; border-radius: 4px; background: var(--line); }
.progress span { display: block; height: 100%; border-radius: 4px; background: var(--primary); }
.compact { margin: 0; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.empty { padding: 58px; color: var(--muted); text-align: center; }
.feedback-content { min-width: 280px; max-width: 360px; white-space: normal !important; line-height: 1.5; }
.cell-sub { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }
.reply-content { margin-top: 8px; padding: 8px 10px; border-left: 3px solid var(--primary); border-radius: 3px; background: rgba(41, 123, 255, .1); color: var(--text-secondary); font-size: 12px; white-space: normal; }
.reply-content strong { color: #72a9ff; font-size: 12px; font-weight: 500; }
.toggle { position: relative; width: 40px; height: 22px; border: 0; border-radius: 11px; background: var(--disabled); }
.toggle.on { background: var(--primary); }
.toggle::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: left .15s; }
.toggle.on::after { left: 21px; }
.dialog-mask { position: fixed; z-index: 30; inset: 0; display: grid; place-items: center; background: rgba(0, 0, 0, .65); }
.dialog { width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 24px); display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.dialog-head, .dialog-foot { display: flex; align-items: center; justify-content: space-between; padding: 15px 18px; border-bottom: 1px solid var(--line); }
.dialog-head h3 { margin: 0; color: var(--text); font-size: 16px; font-weight: 500; }
.dialog-head button { border: 0; background: transparent; color: var(--muted); font-size: 22px; }
.dialog-body { min-height: 0; overflow-y: auto; padding: 18px; }
.dialog-foot { justify-content: flex-end; gap: 9px; border-top: 1px solid var(--line); border-bottom: 0; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-grid label { display: grid; gap: 6px; color: var(--text-secondary); font-size: 14px; font-weight: 400; }
.form-grid label.field-wide { grid-column: 1 / -1; }
.password-dialog .form-grid { grid-template-columns: 1fr; }
.password-dialog .form-grid label { grid-column: 1 / -1; }
.mail-template-dialog { width: min(1080px, calc(100vw - 32px)); }
.plan-dialog { width: min(960px, calc(100vw - 40px)); max-height: calc(100vh - 40px); }
.plan-dialog .dialog-textarea { min-height: 200px; height: 200px; }
.form-grid input, .form-grid select, .dialog-textarea, .password-input input { width: 100%; min-height: 40px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 4px; background: #192635; color: var(--text); }
.dialog-textarea { min-height: 104px; resize: vertical; }
.code-reveal { display: flex; align-items: center; gap: 8px; margin-top: 14px; }
.code-reveal input { flex: 1; min-width: 0; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .04em; }
.code-reveal-toggle { flex: 0 0 42px; width: 42px; height: 42px; display: inline-grid; place-items: center; border: 1px solid var(--line); border-radius: 4px; background: var(--surface-raised); color: var(--text-secondary); }
.code-reveal-toggle:hover, .code-reveal-toggle:focus-visible { color: var(--primary); border-color: var(--primary); }
.code-reveal-toggle svg, .code-cell-action svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.code-cell { display: inline-flex; align-items: center; gap: 7px; }
.code-cell-action { width: 30px; height: 30px; display: inline-grid; place-items: center; border: 1px solid transparent; border-radius: 4px; background: transparent; color: var(--muted); }
.code-cell-action:hover, .code-cell-action:focus-visible { border-color: var(--line); background: var(--surface-raised); color: var(--primary); }
.info-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 22px; }
.info-row { display: grid; grid-template-columns: minmax(74px, auto) minmax(0, 1fr); align-items: baseline; gap: 12px; min-width: 0; padding: 10px 0; border-bottom: 1px solid #e7edf5; }
.info-row:last-child { border-bottom: 1px solid #e7edf5; }
.info-row .info-label { color: #526170; font-size: 13px; font-weight: 400; white-space: nowrap; }
.info-row .info-value { color: #1f2d3d; font-size: 14px; font-weight: 400; text-align: right; word-break: break-word; }
.detail-dialog { width: min(760px, calc(100vw - 32px)); }
.detail-table-wrap { margin-top: 16px; max-height: 280px; overflow: auto; border: 1px solid var(--line); border-radius: 4px; }
.detail-table-wrap .table th, .detail-table-wrap .table td { height: 42px; padding: 9px 12px; font-size: 13px; }
.empty-cell { padding: 28px !important; color: var(--muted) !important; text-align: center !important; }
.detail-pager { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 12px; color: var(--muted); font-size: 12px; }
.detail-pager .secondary { min-height: 32px; padding: 0 10px; }
.detail-pager .secondary:disabled { cursor: not-allowed; opacity: .45; }
.field-help { color: var(--muted); font-size: 12px; line-height: 1.4; }
.custom-select { position: relative; min-width: 150px; }
.custom-select-trigger { position: relative; width: 100%; height: 36px; padding: 0 34px 0 12px; overflow: hidden; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); color: var(--text-secondary); text-align: left; text-overflow: ellipsis; white-space: nowrap; }
.custom-select-trigger::after { content: ''; position: absolute; top: 14px; right: 13px; border: 5px solid transparent; border-top-color: var(--muted); }
.custom-select-menu { display: none; position: absolute; z-index: 40; top: calc(100% + 5px); right: 0; left: 0; max-height: 220px; overflow: auto; padding: 5px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); box-shadow: var(--shadow); }
.custom-select-menu.open { display: block; }
.custom-select-option { display: block; width: 100%; padding: 9px 10px; border: 0; border-radius: 3px; background: transparent; color: var(--text-secondary); text-align: left; }
.custom-select-option:hover, .custom-select-option.selected { background: var(--surface-raised); color: var(--text); }
.toast { position: fixed; z-index: 50; top: 24px; left: 50%; display: flex; align-items: center; gap: 9px; min-width: 260px; max-width: min(520px, calc(100vw - 32px)); padding: 12px 18px; border: 1px solid #b9dec2; border-radius: 6px; background: #f1fbf3; color: #236b32; box-shadow: 0 8px 24px rgba(31, 45, 61, .16); opacity: 0; transform: translate(-50%, -12px); pointer-events: none; transition: .2s; font-size: 13px; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.popover { min-width: 220px; max-width: min(420px, calc(100vw - 32px)); }
.toast-icon { display: inline-grid; flex: 0 0 20px; width: 20px; height: 20px; place-items: center; border-radius: 50%; background: #27a844; color: #fff; font-size: 13px; font-weight: 700; line-height: 1; }
.toast.error { border-color: #f1b8b8; background: #fff3f3; color: #a83232; }
.toast.error .toast-icon { background: #dc3545; }
.toast-message { min-width: 0; line-height: 1.45; }
.password-form { display: grid; gap: 14px; }
.password-form label { display: grid; gap: 6px; color: var(--text-secondary); font-size: 14px; }
.password-input { position: relative; }
.password-input input { padding-right: 58px; }
.password-toggle { position: absolute; top: 5px; right: 7px; height: 30px; border: 0; background: transparent; color: var(--primary); font-size: 13px; }
.password-strength { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; align-items: center; }
.password-strength span { height: 5px; border-radius: 3px; background: var(--line); }
.password-strength span.active { background: var(--primary); }
.password-strength small { grid-column: 1 / -1; color: var(--muted); font-size: 12px; }
.form-error { padding: 9px 10px; border-radius: 4px; background: rgba(255, 87, 87, .14); color: #ff8585; font-size: 12px; }
.field-error { color: var(--danger); font-size: 12px; font-weight: 400; }
input:focus, select:focus, textarea:focus, button:focus-visible, .search:focus, .filter:focus, .custom-select-trigger:focus, .custom-select.open .custom-select-trigger { outline: none; border-color: var(--primary); box-shadow: 0 0 0 2px rgba(41, 123, 255, .25); }
@media (max-width: 1050px) { .sidebar { width: 210px; flex-basis: 210px; } .kpis { grid-template-columns: repeat(2, 1fr); } .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .sidebar { width: 62px; flex-basis: 62px; padding: 18px 8px; } .brand { padding: 0 7px 25px; } .brand > div:last-child, .workspace, .nav-label, .sidebar-foot > div:not(.avatar), .more { display: none; } .nav-item { justify-content: center; padding: 12px; font-size: 0; } .nav-item .icon { font-size: 17px; } .nav-item .chevron { display: none; } .nav-item.sub { padding-left: 12px; } .topbar { padding: 0 17px; } .account-name, .language { display: none; } .page-content { padding: 23px 16px; } .page-head { display: block; } .page-head .page-actions { margin-top: 15px; } .page-head .primary, .page-head .secondary { margin-top: 0; } .kpis, .setting-list, .form-grid { grid-template-columns: 1fr; } .form-grid label.field-wide { grid-column: auto; } }

/* Light work area: the navigation remains dark while business content uses a conventional admin palette. */
body { background: #f5f7fa; color: #1f2d3d; }
.main { background: #f5f7fa; color: #1f2d3d; }
.topbar { border-bottom-color: #dfe5ec; background: #fff; }
.crumb { color: #7b8794; }
.crumb b { color: #b8c2cc; }
.crumb strong { color: #1f2d3d; }
.language, .account-trigger { color: #526170; }
.account-dropdown { border-color: #dfe5ec; background: #fff; box-shadow: 0 8px 20px rgba(31, 45, 61, .12); }
.account-dropdown button { color: #526170; }
.account-dropdown button:hover { background: #f0f4f8; color: #1f2d3d; }
.page-head h1 { color: #1f2d3d; }
.page-head p { color: #7b8794; }
.secondary { border-color: #d5dde6; background: #fff; color: #526170; }
.secondary:hover { border-color: #297bff; background: #f0f6ff; color: #1f2d3d; }
.kpi, .panel { border-color: #dfe5ec; background: #fff; box-shadow: 0 2px 6px rgba(31, 45, 61, .06); }
.kpi-top { color: #687787; }
.kpi strong { color: #1f2d3d; }
.panel-head { border-bottom-color: #e5eaf0; }
.panel-head h2 { color: #1f2d3d; }
.panel-head a { color: #297bff; }
.activity-row { border-bottom-color: #e5eaf0; }
.activity-row p { color: #526170; }
.activity-row small { color: #8b98a6; }
.bar { background: #297bff; }
.bar::after { color: #8b98a6; }
.table th, .table td { border-bottom-color: #e5eaf0; }
.table th { background: #f0f3f7; color: #526170; }
.table td { color: #526170; }
.table tbody tr:hover td { background: #f5f8fb; }
.table td strong { color: #1f2d3d; }
.table code, code { background: #f0f3f7; color: #526170; }
.badge.green { background: #e7f7ec; color: #1d8b3a; }
.badge.blue { background: #eaf2ff; color: #2c6fd3; }
.badge.amber { background: #fff3df; color: #b66b0b; }
.badge.red { background: #ffebeb; color: #c83d3d; }
.search, .filter, .setting input, .setting select { border-color: #d5dde6; background: #fff; color: #526170; }
.search::placeholder, input::placeholder, textarea::placeholder { color: #9aa6b2; }
.setting { border-color: #dfe5ec; background: #fff; }
.setting label { color: #526170; }
.metric-note { color: #526170; }
.progress { background: #e5eaf0; }
.cell-sub { color: #8b98a6; }
.reply-content { background: #f0f6ff; color: #526170; }
.reply-content strong { color: #2c6fd3; }
.dialog { border-color: #dfe5ec; background: #fff; box-shadow: 0 12px 32px rgba(31, 45, 61, .18); }
.dialog-head, .dialog-foot { border-bottom-color: #e5eaf0; }
.dialog-head { border-bottom-color: #e5eaf0; }
.dialog-head h3 { color: #1f2d3d; }
.dialog-head button { color: #7b8794; }
.dialog-body { color: #526170; }
.dialog-foot { border-top-color: #e5eaf0; }
.form-grid label, .password-form label { color: #526170; }
.form-grid input, .form-grid select, .dialog-textarea, .password-input input { border-color: #d5dde6; background: #fff; color: #1f2d3d; }
.field-help, .password-strength small { color: #8b98a6; }
.custom-select-trigger { border-color: #d5dde6; background: #fff; color: #526170; }
.custom-select-menu { border-color: #d5dde6; background: #fff; box-shadow: 0 8px 20px rgba(31, 45, 61, .12); }
.custom-select-option { color: #526170; }
.custom-select-option:hover, .custom-select-option.selected { background: #f0f6ff; color: #1f2d3d; }
.toast { border-color: #d5dde6; background: #fff; color: #1f2d3d; box-shadow: 0 8px 20px rgba(31, 45, 61, .14); }
.password-strength span { background: #dfe5ec; }
.form-error { background: #ffebeb; color: #c83d3d; }
.icon-button { width: 30px; height: 30px; display: inline-grid; place-items: center; padding: 0; border: 0; border-radius: 4px; background: transparent; color: #7b8794; font-size: 22px; line-height: 1; }
.icon-button:hover { background: #f0f3f7; color: #1f2d3d; }
.password-toggle { width: 32px; display: grid; place-items: center; padding: 0; }
.password-toggle::before { content: ''; width: 16px; height: 10px; border: 1.5px solid currentColor; border-radius: 70% 30%; transform: rotate(-10deg); }
.password-toggle::after { content: ''; position: absolute; top: 13px; right: 14px; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.password-toggle.is-visible { color: var(--primary); }
.translation-editor { grid-column: 1 / -1; display: grid; gap: 10px; }
.translation-list { display: grid; gap: 10px; }
.translation-row { display: grid; grid-template-columns: 150px minmax(0, 1fr) minmax(0, 1.6fr) 30px; gap: 8px; align-items: start; }
.translation-row select, .translation-row input, .translation-row textarea { min-height: 40px; width: 100%; }
.translation-row .dialog-textarea { min-height: 40px; height: 40px; resize: vertical; }
.mail-translation-row { grid-template-columns: 130px minmax(150px, .8fr) minmax(180px, 1fr) minmax(260px, 1.5fr) 30px; }
.mail-translation-row .dialog-textarea { min-height: 76px; height: 76px; }
.mail-translation-editor .translation-list { max-height: 440px; overflow-y: auto; padding: 2px 6px 2px 0; }
.translation-remove { margin-top: 5px; }
.translation-add { justify-self: start; min-height: 34px; padding: 0 12px; }
.detail-dialog { border: 1px solid #dfe5ec !important; }
.detail-dialog .detail-table-wrap { border-color: #e5eaf0 !important; }
.detail-dialog .table th,
.detail-dialog .table td { border-bottom-color: #e5eaf0 !important; }
.detail-dialog .table th { background: #f7f9fc; }
@media (max-width: 700px) {
  .info-list { grid-template-columns: 1fr; gap: 0; }
  .info-row:last-child { border-bottom: 0; }
}
@media (max-width: 700px) {
  .translation-row { grid-template-columns: minmax(0, 1fr) 30px; }
  .mail-translation-row { grid-template-columns: minmax(0, 1fr) 30px; }
  .plan-dialog { width: calc(100vw - 24px); max-height: calc(100vh - 24px); }
  .translation-row select, .translation-row input, .translation-row textarea { grid-column: 1; }
  .translation-row .translation-remove { grid-column: 2; grid-row: 1 / span 3; }
}
/* VideTool brand icon */
.brand-mark{overflow:hidden;background:transparent!important}.brand-mark img{width:100%;height:100%;display:block;object-fit:contain}
