
:root {
  --brand: #1526E0;
  --brand-dark: #0B1E8A;
  --brand-mid: #3B6BFF;
  --brand-soft: #EEF2FF;
  --ink: #111827;
  --ink-2: #374151;
  --ink-3: #6b7280;
  --line: #E3E8F2;
  --bg: #F4F7FD;
  --danger: #dc2626;
  --warn: #b45309;
  --ok: #16A34A;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --radius: 14px;
}
* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
               "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body { background: var(--bg); }
@media (min-width: 901px) {
  body { padding-left: var(--side-w); }
}
body::before {
  content: '';
  position: fixed; inset: 0; z-index: -2;
}
body.authed::before {
  background: url('img/bg-page.jpg?v=2.4.14') center top / cover no-repeat;
  background-image: image-set(
    url('img/bg-page.webp?v=2.4.14') type('image/webp'),
    url('img/bg-page.jpg?v=2.4.14') type('image/jpeg'));
}
body::after {
  content: '';
  position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(circle at 88% -8%, rgba(21, 38, 224, .13), rgba(21, 38, 224, 0) 52%),
    linear-gradient(180deg, rgba(255, 255, 255, .84) 0%, rgba(246, 250, 255, .88) 42%, rgba(238, 244, 255, .92) 100%);
}
:root { --tb-h: 56px; --side-w: 208px; }
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 0 18px; height: var(--tb-h);
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(227, 232, 242, .9);
  position: sticky; top: 0; z-index: 30;
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-logo { height: 34px; width: auto; display: block; flex: none; }
.brand-divider { width: 1px; height: 26px; background: var(--line); flex: none; }
.logo {
  width: 36px; height: 36px; border-radius: 10px; flex: none;
  background: linear-gradient(135deg, var(--brand), var(--brand-mid));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700;
}
.brand-title { font-size: 15px; font-weight: 700; letter-spacing: .3px; white-space: nowrap; }
.brand-sub { font-size: 12px; color: var(--ink-3); }
.ic { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.top-right .btn, .top-right .user-chip { white-space: nowrap; flex: none; }
@media (max-width: 720px) {
  #userName { display: none; }
}
@media (max-width: 720px) {
  .brand-logo { height: 28px; }
  .brand-divider { display: none; }
}
.sidebar {
  position: fixed; top: var(--tb-h); left: 0; bottom: 0; z-index: 24;
  width: var(--side-w);
  display: flex; flex-direction: column;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-right: 1px solid rgba(227, 232, 242, .9);
  overflow-y: auto;
}
.side-nav { display: flex; flex-direction: column; gap: 2px; padding: 10px 8px; flex: 1; }
.side-foot { padding: 10px 16px 12px; font-size: 11px; color: #9AA7C7; border-top: 1px solid rgba(227, 232, 242, .7); }
.side-head {
  display: flex; align-items: center; gap: 9px;
  width: 100%; text-align: left;
  border: none; background: none; font-family: inherit;
  color: var(--ink-2); cursor: pointer; border-radius: 9px;
  transition: background .15s, color .15s;
}
.side-head { padding: 8px 10px; font-size: 12px; font-weight: 600; color: var(--ink-3); letter-spacing: .4px; }
.side-head:hover { background: rgba(21, 38, 224, .05); color: var(--brand); }
.side-head .side-cap { margin-left: auto; font-style: normal; font-size: 10.5px; color: #A9B4CF; font-weight: 400; }
.side-ico { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: .82; }
.side-head.active {
  background: var(--brand-soft); color: var(--brand);
  box-shadow: inset 2.5px 0 0 var(--brand);
}
.side-head.active .side-ico { opacity: 1; }
.side-head.active { color: var(--brand); }
.mode-tag {
  font-style: normal; font-size: 11px; font-weight: 600;
  padding: 2px 7px; border-radius: 999px; margin-left: 2px;
  background: var(--brand-soft); color: var(--brand);
}
@media (max-width: 900px) {
  :root { --tb-h: 52px; }
  .sidebar {
    position: sticky; top: var(--tb-h); bottom: auto;
    width: 100%; flex-direction: row; align-items: stretch;
    overflow-x: auto; overflow-y: hidden;
    border-right: none; border-bottom: 1px solid rgba(227, 232, 242, .9);
    z-index: 26;
  }
  .side-nav { flex-direction: row; align-items: center; padding: 6px 10px; gap: 4px; }
  .side-foot { display: none; }
  .side-head { width: auto; padding: 6px 10px; flex: none; border-right: 1px solid rgba(227, 232, 242, .8); border-radius: 0; }
  .side-head .side-cap { display: none; }
  .mode-tag { display: none; }
}
.fmt-scan {
  margin: 10px 0 4px; padding: 9px 12px; border-radius: 9px;
  background: var(--brand-soft); color: var(--brand-dark);
  font-size: 12.5px; line-height: 1.7;
}
.fmt-scan b { color: var(--brand); }
.fmt-scan .warn { color: #B45309; font-weight: 600; }
.fmt-result {
  min-height: 56px; padding: 12px 14px; border-radius: 9px;
  border: 1px dashed var(--line); background: #FBFCFE;
  font-size: 12.5px; line-height: 1.9; color: var(--ink-2);
  white-space: pre-wrap;
}
.fmt-result .ok { color: #047857; font-weight: 600; }
.fmt-result .bad { color: #B91C1C; font-weight: 600; }
.fmt-result .warn { color: #B45309; font-weight: 600; }
hr.soft { border: none; border-top: 1px solid var(--line); margin: 16px 0; }
.fmt-drop {
  margin: 4px 0 10px; padding: 18px 16px; text-align: center; cursor: pointer;
  border: 1.5px dashed #C9D6F2; border-radius: 12px; background: #FBFCFE;
  transition: border-color .18s, background .18s, transform .18s;
}
.fmt-drop:hover, .fmt-drop:focus-visible {
  border-color: var(--brand-mid); background: var(--brand-soft); outline: none;
}
.fmt-drop.on { border-color: var(--brand); background: var(--brand-soft); transform: translateY(-1px); }
.fmt-drop .fd-main { margin-top: 8px; font-size: 13.5px; font-weight: 600; color: var(--brand-dark); }
.fmt-drop .fd-sub { margin-top: 4px; font-size: 12px; color: var(--ink-3); line-height: 1.6; }
.fmt-imgs { display: flex; flex-direction: column; gap: 8px; }
.fmt-imgs:empty { display: none; }
.fmt-img {
  display: grid; grid-template-columns: 56px 1fr auto; gap: 10px; align-items: center;
  padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff;
}
.fmt-img.up { opacity: .55; }
.fmt-img .fi-thumb {
  width: 56px; height: 44px; border-radius: 7px; overflow: hidden; background: #F1F5FB;
  display: flex; align-items: center; justify-content: center; font-size: 11px; color: var(--ink-3);
}
.fmt-img .fi-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fmt-img .fi-main { min-width: 0; }
.fmt-img .fi-alt {
  width: 100%; padding: 5px 8px; font-size: 12.5px;
  border: 1px solid var(--line); border-radius: 7px;
}
.fmt-img .fi-pos { width: 100%; margin-top: 6px; }
.fmt-img .fi-name {
  margin-top: 4px; font-size: 11.5px; color: var(--ink-3);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.fmt-img .fi-name.bad { color: var(--danger); }
.fmt-img .fi-tools { display: flex; gap: 4px; }
.fmt-img .fi-tools .btn { padding: 4px 7px; }
.fmt-edit { display: flex; flex-direction: column; gap: 8px; }
.fmt-edit .fe-empty {
  padding: 14px; border: 1px dashed var(--line); border-radius: 10px;
  background: #FBFCFE; font-size: 12.5px; color: var(--ink-3); text-align: center;
}
.fe-item { border: 1px solid var(--line); border-radius: 10px; background: #fff; overflow: hidden; }
.fe-head {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 6px 8px 6px 10px; background: #F8FAFE; border-bottom: 1px solid var(--line);
}
.fe-kind {
  font-size: 11px; font-weight: 700; letter-spacing: .3px; color: var(--brand-dark);
  background: var(--brand-soft); padding: 2px 8px; border-radius: 999px;
}
.fe-kind.k-img { background: #E8F6EE; color: #047857; }
.fe-kind.k-code, .fe-kind.k-table { background: #EEF0F6; color: var(--ink-2); }
.fe-tools { display: flex; gap: 4px; }
.fe-tools .fe-btn {
  width: 24px; height: 24px; line-height: 1; font-size: 13px; cursor: pointer;
  border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink-2);
}
.fe-tools .fe-btn:hover { border-color: var(--brand-mid); color: var(--brand); }
.fe-tools .fe-btn.danger:hover { border-color: var(--danger); color: var(--danger); }
.fe-body { padding: 9px 10px; }
.fe-text {
  font-size: 13.5px; line-height: 1.85; color: var(--ink); outline: none;
  min-height: 24px; word-break: break-word;
}
.fe-text:focus { background: #FCFDFF; box-shadow: inset 0 0 0 2px var(--brand-soft); }
.fe-text[data-kind="h1"], .fe-text[data-kind="h2"] { font-weight: 800; color: var(--ink); font-size: 15px; }
.fe-text[data-kind="quote"] { color: var(--ink-2); border-left: 3px solid #C9D6F2; padding-left: 10px; }
.fe-code {
  width: 100%; font-family: var(--mono); font-size: 12px; line-height: 1.7;
  border: 1px solid var(--line); border-radius: 7px; padding: 7px 9px; resize: vertical;
}
.fe-imgbox { display: flex; align-items: center; gap: 10px; }
.fe-imgbox img { width: 78px; height: 58px; object-fit: cover; border-radius: 7px; background: #F1F5FB; }
.fe-imgbox .fe-alt { flex: 1; min-width: 0; padding: 5px 8px; font-size: 12.5px; border: 1px solid var(--line); border-radius: 7px; }
.fe-hr { font-size: 12px; color: var(--ink-3); text-align: center; letter-spacing: 2px; }
.layout {
  display: grid;
  grid-template-columns: minmax(330px, 425px) minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  align-items: start;
  max-width: 1560px;
  margin: 0 auto;
}
.col-left, .col-right { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
@media (max-width: 1024px) {
  .layout { grid-template-columns: 1fr; }
}
.card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px;
  box-shadow: 0 2px 10px rgba(11,30,138,.05);
}
.card-title {
  margin: 0 0 14px; font-size: 14px; font-weight: 700;
  color: var(--ink); letter-spacing: .3px;
}
h4 { margin: 16px 0 10px; font-size: 13px; color: var(--ink-2); }
hr { border: 0; border-top: 1px solid var(--line); margin: 18px 0; }
.lbl {
  display: block; margin: 12px 0 6px;
  font-size: 12px; font-weight: 600; color: var(--ink-2);
}
.req { color: var(--danger); }
input[type="text"], input[type="password"], input:not([type]),
textarea, select {
  width: 100%; padding: 9px 11px;
  border: 1px solid var(--line); border-radius: 9px;
  background: #fff; color: var(--ink);
  font-size: 13px; font-family: inherit; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--brand); box-shadow: 0 0 0 3px rgba(21,38,224,.14);
}
textarea { resize: vertical; line-height: 1.65; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .grid2 { grid-template-columns: 1fr; } }
.tip { margin: 6px 0 0; font-size: 12px; color: var(--ink-3); line-height: 1.6; }
.row-inline { display: flex; gap: 8px; align-items: center; margin-top: 4px; }
.row-inline select, .row-inline input { flex: 1; min-width: 0; }
.row-inline .btn { flex: none; }
.fld { margin: 0 0 14px; }
.banner {
  display: block; margin: 0 0 16px; padding: 10px 12px; border-radius: 8px;
  font-size: 12.5px; line-height: 1.65;
}
.banner.ok { background: #EEF2FF; color: #0B1E8A; border: 1px solid #C7D2FE; }
.banner.warn { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
code {
  background: #f3f4f6; padding: 1px 5px; border-radius: 4px;
  font-size: 12px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.check { display: flex; align-items: center; gap: 8px; margin: 10px 0; font-size: 13px; cursor: pointer; }
.check input { width: auto; }
.radios { display: flex; flex-direction: column; gap: 2px; }
.btn {
  padding: 8px 14px; border: 1px solid var(--line); border-radius: 9px;
  background: #fff; color: var(--ink-2); font-size: 13px; font-weight: 600;
  cursor: pointer; font-family: inherit;
  transition: background .15s, border-color .15s, color .15s, box-shadow .15s, transform .12s;
}
.btn:hover { border-color: #d1d5db; background: #fafafa; }
.btn.primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn.primary:hover { background: var(--brand-dark); }
.btn.primary:not(:disabled):active { transform: translateY(1px); }
.btn.danger { color: var(--danger); border-color: #fecaca; }
.btn.tiny { padding: 4px 10px; font-size: 12px; }
.btn-row { display: flex; gap: 10px; margin-top: 16px; }
.btn-row .btn { flex: 1; padding: 11px 14px; font-size: 14px; }
.stages { display: flex; flex-direction: column; gap: 8px; }
.stage {
  display: flex; align-items: center; gap: 9px;
  font-size: 13px; color: var(--ink-3);
  padding: 3px 8px; margin: 0 -8px; border-radius: 8px;
  transition: background .2s, color .2s;
}
.stage .dot {
  width: 16px; height: 16px; border-radius: 50%; flex: none;
  background: #E2E7F1; display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.stage.active {
  color: var(--brand); font-weight: 600; background: var(--brand-soft);
}
.stage.active .dot { background: var(--brand); animation: pulse 1.1s infinite; }
.stage.done { color: var(--ink-2); }
.stage.done .dot { background: var(--brand); }
.stage.done .dot::after {
  content: ''; width: 8px; height: 5px; margin-top: -1px;
  border-left: 2px solid #fff; border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}
.stage.skip { opacity: .5; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
.log {
  margin-top: 14px; max-height: 190px; overflow: auto;
  background: #fafafa; border: 1px solid var(--line); border-radius: 9px;
  padding: 10px 12px; font-size: 12px; line-height: 1.8; color: var(--ink-2);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.log-line { white-space: pre-wrap; word-break: break-word; }
.log-line.warn { color: var(--warn); }
.log-line.err { color: var(--danger); }
.thinking {
  margin-top: 10px; max-height: 300px; overflow: auto;
  background: #fafafa; border: 1px solid var(--line); border-radius: 9px;
  padding: 12px; font-size: 12.5px; line-height: 1.85; color: var(--ink-2);
  white-space: pre-wrap; word-break: break-word;
}
summary { cursor: pointer; font-size: 13px; color: var(--ink-2); }
.result { display: flex; flex-direction: column; }
.result-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap; margin-bottom: 12px;
}
.tabs { display: flex; gap: 4px; background: #f3f4f6; padding: 3px; border-radius: 9px; }
.tab {
  border: 0; background: transparent; padding: 6px 14px; border-radius: 7px;
  font-size: 13px; font-weight: 600; color: var(--ink-3); cursor: pointer; font-family: inherit;
}
.tab.active { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.result-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.lint {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 12px; border-radius: 9px; font-size: 12.5px; margin-bottom: 14px;
}
.lint .dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.lint.ok { background: var(--brand-soft); color: var(--brand-dark); }
.lint.ok .dot { background: var(--brand); }
.lint.bad { background: #fef2f2; color: #991b1b; }
.lint.bad .dot { background: var(--danger); }
.phone {
  border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  background: #fff; box-shadow: 0 1px 3px rgba(16,24,40,.05);
}
.phone iframe { width: 100%; height: 72vh; min-height: 520px; border: 0; display: block; }
.result-empty {
  border: 1.5px dashed #C9D6F2; border-radius: var(--radius);
  background: linear-gradient(180deg, #FBFDFF, #F4F8FF);
  padding: 46px 26px 40px; text-align: center; color: var(--ink-3);
}
.result-empty svg { display: block; margin: 0 auto 6px; }
.result-empty .re-title { font-size: 15px; font-weight: 700; color: var(--ink-2); margin: 0 0 6px; }
.result-empty .re-sub { margin: 0 auto; max-width: 420px; font-size: 12.5px; line-height: 1.8; }
.result-empty .re-steps {
  display: flex; justify-content: center; gap: 10px; flex-wrap: wrap;
  margin: 20px auto 0; max-width: 560px;
}
.result-empty .re-step {
  flex: 1 1 150px; max-width: 180px; padding: 10px 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  font-size: 12px; line-height: 1.6; color: var(--ink-2);
}
.result-empty .re-step b {
  display: block; margin-bottom: 2px; font-size: 12px; color: var(--brand);
}
.result-empty .re-step b i {
  font-style: normal; display: inline-block; width: 16px; height: 16px; line-height: 16px;
  margin-right: 4px; border-radius: 50%; background: var(--brand-soft);
  font-size: 11px; font-weight: 700; text-align: center;
}
#resultEmpty:not([hidden]) ~ .phone { display: none; }
.md-source {
  width: 100%; min-height: 460px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12.5px; line-height: 1.75;
}
.steps { margin: 0; padding-left: 20px; font-size: 13px; color: var(--ink-2); line-height: 1.9; }
kbd {
  background: #f3f4f6; border: 1px solid var(--line); border-bottom-width: 2px;
  border-radius: 5px; padding: 1px 6px; font-size: 12px;
  font-family: ui-monospace, Menlo, monospace;
}
.modal {
  position: fixed; inset: 0; background: rgba(17,24,39,.45);
  display: none; align-items: flex-start; justify-content: center;
  z-index: 60; padding: 40px 16px; overflow: auto;
}
.modal.show { display: flex; }
.modal-box {
  background: #fff; border-radius: 16px; width: 100%; max-width: 560px;
  box-shadow: 0 24px 60px rgba(0,0,0,.24);
}
.modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid var(--line);
}
.modal-head h3 { margin: 0; font-size: 15px; }
.modal-body { padding: 6px 20px 22px; }
.toast {
  position: fixed; left: 50%; bottom: 32px; transform: translateX(-50%) translateY(20px);
  background: #111827; color: #fff; padding: 11px 20px; border-radius: 999px;
  font-size: 13px; font-weight: 500; opacity: 0; pointer-events: none;
  transition: .25s; z-index: 90; max-width: 86vw; text-align: center;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.top-right { display: flex; align-items: center; gap: 10px; }
.user-chip {
  display: flex; align-items: center; gap: 8px;
  padding: 5px 8px 5px 6px; border: 1px solid var(--line); border-radius: 999px;
  background: #f9fafb; font-size: 13px; color: var(--ink-2); max-width: 46vw;
}
.user-chip .avatar {
  width: 24px; height: 24px; border-radius: 50%; flex: none;
  background: var(--brand); color: #fff; display: flex; align-items: center;
  justify-content: center; font-size: 12px; font-weight: 700;
}
.user-chip #userName { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.auth-gate {
  position: fixed; inset: 0; z-index: 120;
  display: flex; align-items: center; justify-content: center; padding: 24px;
  background: #081034 url('img/bg-gate.jpg?v=2.4.14') center / cover no-repeat;
  background-image: image-set(
    url('img/bg-gate.webp?v=2.4.14') type('image/webp'),
    url('img/bg-gate.jpg?v=2.4.14') type('image/jpeg'));
  overflow: auto;
}
.auth-gate::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(150deg, rgba(6, 12, 48, .78) 0%, rgba(10, 22, 90, .66) 48%, rgba(21, 38, 224, .52) 100%);
}
.auth-wrap {
  position: relative; z-index: 1;
  display: flex; width: 100%; max-width: 940px;
  background: #fff; border-radius: 20px; overflow: hidden;
  box-shadow: 0 34px 90px rgba(4, 10, 45, .5);
}
.auth-hero {
  position: relative; overflow: hidden;
  flex: 0 0 42%; padding: 34px 30px; color: #fff;
  display: flex; flex-direction: column; justify-content: space-between;
  background: #0B1E8A url('img/bg-gate.jpg?v=2.4.14') center / cover no-repeat;
  background-image: image-set(
    url('img/bg-gate.webp?v=2.4.14') type('image/webp'),
    url('img/bg-gate.jpg?v=2.4.14') type('image/jpeg'));
}
.auth-hero > * { position: relative; z-index: 1; }
.auth-hero::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(165deg, rgba(6, 14, 60, .76) 0%, rgba(9, 20, 78, .60) 50%, rgba(21, 38, 224, .44) 100%);
}
.hero-logo { height: 32px; width: auto; display: block; align-self: flex-start; }
.hero-body h2 {
  margin: 30px 0 16px; font-size: 22px; line-height: 1.55;
  font-weight: 800; letter-spacing: .5px;
}
.hero-points { list-style: none; margin: 0; padding: 0; font-size: 13px; line-height: 2.05; opacity: .95; }
.hero-points li::before { content: '▸'; color: #8FB0FF; margin-right: 8px; }
.hero-foot { margin: 0; font-size: 11.5px; letter-spacing: 1.2px; opacity: .68; }
body.locked { overflow: hidden; }
.auth-card {
  position: relative; z-index: 2;
  flex: 1; min-width: 0; background: #fff;
  padding: 30px 30px 22px;
}
.auth-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.auth-logo { height: 54px; width: auto; flex: none; }
.auth-brand .brand-title { font-size: 15px; }
.auth-tabs {
  display: flex; gap: 4px; padding: 4px; background: #f3f4f6;
  border-radius: 10px; margin-bottom: 16px;
}
.auth-tab {
  flex: 1; padding: 8px 0; border: 0; border-radius: 8px; background: transparent;
  font-size: 13px; font-weight: 600; color: var(--ink-3); cursor: pointer;
}
.auth-tab.active { background: #fff; color: var(--brand-dark); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.auth-err {
  background: #fef2f2; color: var(--danger); border: 1px solid #fecaca;
  border-radius: 8px; padding: 9px 12px; font-size: 13px; margin: 4px 0 10px;
  line-height: 1.6; word-break: break-all;
}
.btn.block { width: 100%; padding: 11px 14px; font-size: 14px; margin-top: 6px; }
.btn.block:disabled { opacity: .65; cursor: not-allowed; }
.btn:disabled { opacity: .45; cursor: not-allowed; filter: grayscale(.4); }
.btn:disabled:hover { transform: none; box-shadow: none; }
.ipt-wrap { position: relative; display: block; }
.ipt-wrap.has-btn input { padding-right: 64px; }
.ipt-btn {
  position: absolute; right: 5px; top: 50%; transform: translateY(-50%);
  border: 0; background: transparent; color: var(--ink-3);
  font-size: 12px; font-family: inherit; cursor: pointer;
  padding: 5px 9px; border-radius: 6px; line-height: 1.4;
}
.ipt-btn:hover { background: #F1F4FB; color: var(--brand); }
.remember {
  display: flex; align-items: center; gap: 7px;
  margin: 2px 0 0; font-size: 12.5px; color: var(--ink-3); cursor: pointer;
  user-select: none;
}
.remember input { width: auto; margin: 0; cursor: pointer; }
@media (max-width: 840px) {
  .auth-hero { display: none; }
  .auth-wrap { max-width: 420px; }
  .auth-card { padding: 24px 22px 20px; }
}
@media (max-width: 520px) {
  .auth-gate { padding: 14px; align-items: flex-start; }
  .auth-wrap { border-radius: 16px; }
}
.history-list { display: flex; flex-direction: column; gap: 8px; }
.hist-row {
  display: flex; align-items: center; gap: 8px; padding: 9px 10px;
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
}
.hist-main { flex: 1; min-width: 0; cursor: pointer; }
.hist-main:hover .hist-title { color: var(--brand-dark); }
.hist-title {
  font-size: 13px; font-weight: 600; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap;
}
.hist-row .tip { margin: 2px 0 0; }
.admin-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.admin-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 9px 10px; border: 1px solid var(--line); border-radius: 10px; background: #fafafa;
}
.admin-row .tag {
  display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px;
  background: #EEF2FF; color: var(--brand-dark); font-size: 11px; font-weight: 600;
}
.admin-ops { display: flex; gap: 6px; flex: none; }
@media (max-width: 640px) {
  .user-chip { font-size: 12px; padding: 4px 6px; }
  .user-chip .btn.tiny { padding: 3px 8px; }
}
.exbox {
  margin: 10px 0 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, #fff, #FBFCFF);
  overflow: hidden;
}
.exbox-head {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 10px; border-bottom: 1px solid var(--line);
}
.exbox-title { flex: none; white-space: nowrap; font-size: 12px; font-weight: 700; color: var(--ink-2); }
.exbox-cat {
  flex: none; white-space: nowrap;
  padding: 1px 8px; border-radius: 999px; font-size: 11px; font-weight: 600;
  background: var(--brand-soft); color: var(--brand-dark);
}
.exbox-count { flex: none; white-space: nowrap; font-size: 11px; color: var(--ink-3); }
.exbox-ops { margin-left: auto; flex: none; display: flex; gap: 4px; }
.ex-nav {
  width: 24px; height: 22px; line-height: 1;
  border: 1px solid var(--line); border-radius: 6px;
  background: #fff; color: var(--ink-2);
  font-size: 12px; cursor: pointer; padding: 0;
}
.ex-nav:hover { border-color: #c7d2fe; color: var(--brand); }
.ex-item {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 11px 12px; border: 0; background: transparent;
  text-align: left; cursor: pointer; font: inherit; color: inherit;
}
.ex-item:hover { background: #F7F9FF; }
.ex-text {
  flex: 1; font-size: 13px; line-height: 1.55; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  transition: opacity .28s ease, transform .28s ease;
}
.ex-text.swap { opacity: 0; transform: translateY(6px); }
.ex-go { flex: none; font-size: 12px; font-weight: 600; color: var(--brand); }
.exbox-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px 10px; padding: 0 10px 10px; flex-wrap: wrap;
}
.exbox-foot .tip { margin: 0; flex: 1 1 150px; min-width: 0; }
.exbox-foot .btn { flex: none; }
.auto-line {
  display: flex; align-items: center; gap: 10px;
  margin: 6px 0 0; flex-wrap: wrap;
}
.auto-hint { flex: 1; font-size: 12px; color: var(--ink-3); line-height: 1.5; }
.auto-hint b { color: var(--brand-dark); font-weight: 600; }
.link-btn {
  flex: none; border: 0; background: none; padding: 0;
  font-size: 12px; color: var(--brand); cursor: pointer; text-decoration: underline;
}
.link-btn[data-locked="1"] { color: var(--warn); }
@media (pointer: coarse) {
  .link-btn { padding: 8px 10px; margin: -8px -10px; }
}
.style-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; }
.style-chip {
  padding: 3px 9px; border: 1px solid var(--line); border-radius: 999px;
  background: #fff; font-size: 11.5px; color: var(--ink-2); cursor: pointer;
}
.style-chip:hover { border-color: #c7d2fe; color: var(--brand); }
.style-chip.on { background: var(--brand-soft); border-color: #c7d2fe; color: var(--brand-dark); font-weight: 600; }
.ex-sel {
  flex: 0 1 auto; min-width: 0; max-width: 120px;
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-2);
  font-size: 11px;
  line-height: 1.6;
  cursor: pointer;
}
.ex-sel:hover { border-color: #c7d2fe; color: var(--brand); }
.ex-sel:focus { outline: none; border-color: var(--brand); }
.vd-head {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding-bottom: 10px; margin-bottom: 12px; border-bottom: 1px solid var(--line);
}
.vd-tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.vd-tab {
  padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px;
  background: #fff; color: var(--ink-2); font-size: 12.5px; cursor: pointer;
}
.vd-tab:hover { border-color: #c7d2fe; color: var(--brand); }
.vd-tab.active { background: var(--brand-soft); border-color: #c7d2fe; color: var(--brand-dark); font-weight: 600; }
.vd-actions { margin-left: auto; display: flex; gap: 6px; flex-wrap: wrap; }
.vd-body { max-height: 72vh; overflow: auto; padding-right: 4px; }
.vd-md {
  width: 100%; min-height: 60vh; border: 1px solid var(--line); border-radius: 10px;
  padding: 12px; font-family: var(--mono, ui-monospace, Menlo, monospace);
  font-size: 12.5px; line-height: 1.7; color: var(--ink); background: #FCFCFE; resize: vertical;
}
.vd-h3 {
  margin: 18px 0 8px; font-size: 14.5px; font-weight: 700; color: var(--ink);
  padding-left: 9px; border-left: 3px solid var(--brand);
}
.vd-h3:first-child { margin-top: 0; }
.vd-sub { margin: 0 0 8px; font-size: 12.5px; color: var(--ink-3); line-height: 1.6; }
.vd-lead { margin: 0 0 10px; font-size: 13px; line-height: 1.8; color: var(--ink-2); }
.vd-hook {
  border: 1px solid #c7d2fe; background: linear-gradient(180deg, #F5F8FF, #EEF3FF);
  border-radius: 12px; padding: 12px 14px; margin: 0 0 14px;
}
.vd-hook-line { font-size: 15px; font-weight: 700; line-height: 1.6; color: var(--brand-dark); }
.vd-note { margin: 6px 0 0; font-size: 12px; color: var(--ink-3); line-height: 1.6; }
.vd-kv { margin: 0 0 12px; }
.vd-kv-row {
  display: flex; gap: 10px; padding: 7px 0;
  border-bottom: 1px dashed var(--line); font-size: 13px; line-height: 1.7;
}
.vd-kv-row:last-child { border-bottom: 0; }
.vd-kv-row .k { flex: none; width: 76px; color: var(--ink-3); font-size: 12px; padding-top: 1px; }
.vd-kv-row .v { flex: 1; color: var(--ink); }
.vd-kv-row .no {
  flex: none; min-width: 22px; height: 20px; line-height: 20px; text-align: center;
  border-radius: 6px; background: var(--brand-soft); color: var(--brand-dark);
  font-size: 11.5px; font-weight: 700;
}
.vd-kv-row .tm { flex: none; color: var(--brand); font-size: 12px; font-weight: 600; }
.vd-kv-row .sz { flex: none; color: var(--ink-3); font-size: 11.5px; }
.vd-kv-row .cm { flex: none; color: var(--ink-3); font-size: 11.5px; }
.vd-kv-row .say { flex: 1; color: var(--ink); }
.vd-kv-row .ck { flex: none; color: var(--ink-3); font-size: 11.5px; }
.vd-kv-row .mv { flex: none; color: var(--ink-3); font-size: 11.5px; }
.nowrap { white-space: nowrap; }
.vd-shot {
  border: 1px solid var(--line); border-radius: 10px;
  padding: 10px 12px; margin: 0 0 10px; background: #FFF;
}
.vd-shot-h {
  display: flex; align-items: center; gap: 8px; margin-bottom: 6px;
  font-size: 13px; font-weight: 700; color: var(--ink);
}
.vd-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.vd-table th, .vd-table td {
  border: 1px solid var(--line); padding: 6px 8px; text-align: left; vertical-align: top;
}
.vd-table th { background: #F7F9FF; color: var(--ink-2); font-weight: 600; white-space: nowrap; }
.vd-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 10px; }
.vd-chip {
  padding: 3px 10px; border-radius: 999px; font-size: 12px;
  background: var(--brand-soft); color: var(--brand-dark); border: 1px solid #dbe4ff;
  cursor: pointer; user-select: all;
}
.vd-chip:hover { background: #e3eaff; }
.vd-chip.tag { background: #FFF7ED; color: #C2410C; border-color: #FED7AA; }
.vd-chip.warn { background: #FEF2F2; color: #B91C1C; border-color: #FECACA; }
.vd-ul, .vd-ol { margin: 0 0 10px; padding-left: 20px; font-size: 13px; line-height: 1.85; color: var(--ink); }
.vd-ul li, .vd-ol li { margin-bottom: 2px; }
.vd-cover-t {
  font-size: 15px; font-weight: 700; color: var(--ink);
  padding: 10px 12px; border: 1px dashed #c7d2fe; border-radius: 10px;
  background: #F7F9FF; margin-bottom: 8px;
}
.vd-cover-s { font-size: 13px; color: var(--ink-2); line-height: 1.7; margin-bottom: 10px; }
.vd-tagline { font-size: 13.5px; line-height: 1.75; color: var(--ink); padding: 8px 0; }
.vd-box { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin: 0 0 10px; background: #FCFCFE; }
.vd-all { white-space: pre-wrap; font-size: 12.5px; line-height: 1.8; color: var(--ink-2); }
.vd-picked {
  margin-top: 10px; padding: 10px 12px;
  border: 1px solid #c7d2fe; border-radius: 10px; background: #F7F9FF;
}
.vd-picked-h { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.vd-picked-h .tip { margin: 0; }
.vd-picked-h .link-btn { margin-left: auto; }
.vd-picked-t { margin-top: 6px; font-size: 12px; color: var(--ink-3); line-height: 1.65; }
.vd-stages { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 8px; }
.vd-stage {
  display: flex; align-items: center; gap: 5px;
  font-size: 11.5px; color: var(--ink-3);
}
.vd-stage .dot {
  width: 7px; height: 7px; border-radius: 50%; background: #D7DEEA; flex: none;
}
.vd-stage[data-status="active"] { color: var(--brand); font-weight: 600; }
.vd-stage[data-status="active"] .dot { background: var(--brand); animation: vdpulse 1s infinite; }
.vd-stage[data-status="done"] { color: var(--ok, #16A34A); }
.vd-stage[data-status="done"] .dot { background: var(--ok, #16A34A); }
.vd-stage[data-status="skip"] { color: #B0B8C8; text-decoration: line-through; }
.vd-stage[data-status="skip"] .dot { background: #E3E8F2; }
@keyframes vdpulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
@media (max-width: 860px) {
  .vd-actions { margin-left: 0; width: 100%; }
  .vd-body { max-height: none; }
}
.vd-en {
  margin-top: 5px; padding: 2px 8px;
  border-left: 2px solid #99F6E4; border-radius: 0 6px 6px 0;
  background: #F0FDFA;
  font-size: 12.5px; line-height: 1.65; color: #0F766E;
}
td.say .vd-en { margin-top: 7px; }
.vd-en-b {
  display: inline-block; margin-right: 5px; padding: 0 5px;
  border-radius: 4px; background: #CCFBF1; color: #115E59;
  font-size: 10px; font-weight: 700; vertical-align: 1px;
}
.vd-tags {
  font-size: 12.5px; line-height: 1.8; color: var(--ink-2);
  word-break: break-all; user-select: all; cursor: text;
}
.vd-origin {
  border: 1px solid #BFDBFE; background: #F5F8FF;
  border-radius: 12px; padding: 12px 14px; margin: 0 0 14px;
}
.vd-origin-h { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; margin-bottom: 10px; }
.vd-origin-h .tip { margin: 0; }
.vd-badge {
  display: inline-block; padding: 1px 8px; border-radius: 999px;
  background: var(--brand, #4F46E5); color: #fff; font-size: 11px; font-weight: 600;
}
.vd-origin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.vd-origin-t { font-size: 12px; color: var(--ink-3); margin-bottom: 5px; font-weight: 600; }
.vd-origin-b {
  max-height: 190px; overflow: auto; padding: 9px 11px; border-radius: 9px;
  font-size: 12.5px; line-height: 1.75; white-space: pre-wrap; word-break: break-word;
}
.vd-origin-b.old { background: #fff; border: 1px dashed #C7D2FE; color: var(--ink-3); }
.vd-origin-b.new { background: #fff; border: 1px solid #A7F3D0; color: var(--ink); }
.vd-chip.keep { background: #ECFDF5; color: #047857; border-color: #A7F3D0; }
.warn-tip { color: #B91C1C !important; }
@media (max-width: 720px) {
  .vd-origin-grid { grid-template-columns: 1fr; }
}
.fgroup {
  border: 1px solid var(--line); border-radius: 12px;
  background: #fff; margin: 0 0 10px; overflow: hidden;
}
.fgroup:last-child { margin-bottom: 0; }
.fg-head {
  display: flex; align-items: center; gap: 8px;
  width: 100%; padding: 9px 12px; border: 0;
  background: #F8FAFF; cursor: pointer; text-align: left;
  font-family: inherit; transition: background .15s;
}
.fg-head:hover { background: #EFF3FF; }
.fg-title { font-size: 13px; font-weight: 700; color: var(--ink); flex: none; }
.fg-desc {
  font-size: 11.5px; color: var(--ink-3);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.fg-arrow {
  margin-left: auto; flex: none; width: 0; height: 0;
  border-left: 5px solid transparent; border-right: 5px solid transparent;
  border-top: 6px solid #9AA4B8; transition: transform .18s ease;
}
.fgroup.collapsed .fg-arrow { transform: rotate(-90deg); }
.fg-body { padding: 2px 12px 12px; }
.fgroup.collapsed .fg-body { display: none; }
.fg-body > .lbl:first-child { margin-top: 8px; }
.fg-sub {
  margin: 12px 0 6px; font-size: 11.5px; font-weight: 600;
  color: var(--ink-3); letter-spacing: .2px;
}
.fg-sub:first-child { margin-top: 8px; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 14px; }
@media (max-width: 560px) { .checks { grid-template-columns: 1fr; } }
.menu { position: relative; display: inline-block; }
.menu-list {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 40;
  min-width: 168px; padding: 6px;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 10px 26px rgba(11, 30, 138, .16);
  display: none;
  max-height: 62vh; overflow: auto;
}
.menu.open .menu-list { display: block; }
.menu-item {
  display: block; width: 100%; padding: 7px 10px; border: 0; border-radius: 7px;
  background: none; text-align: left; font-size: 12.5px; font-family: inherit;
  color: var(--ink-2); cursor: pointer; white-space: nowrap;
}
.menu-item:hover { background: var(--brand-soft); color: var(--brand-dark); }
.menu-item + .menu-item { margin-top: 2px; }
.menu-sep { height: 1px; margin: 5px 4px; background: var(--line); }
.howto > summary {
  cursor: pointer; font-size: 13px; font-weight: 600; color: var(--ink-2);
  padding: 2px 0; list-style: none;
}
.howto > summary::-webkit-details-marker { display: none; }
.howto > summary::before { content: '▸ '; color: var(--brand); }
.howto[open] > summary::before { content: '▾ '; }
.howto[open] > summary { margin-bottom: 6px; }
.howto { margin: 8px 0 10px; }
.vd-qc {
  padding: 10px 12px; border-radius: 10px; margin: 0 0 12px;
  border: 1px solid var(--line); background: #FBFBFE;
}
.vd-qc.pass { background: #F0FDF4; border-color: #BBF7D0; }
.vd-qc.warn { background: #FFFBEB; border-color: #FDE68A; }
.vd-qc.bad { background: #FEF2F2; border-color: #FECACA; }
.vd-qc-head {
  display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
  font-size: 13px;
}
.vd-qc-head .ok { color: #15803D; }
.vd-qc-head .err { color: #B91C1C; }
.vd-qc-head .wr { color: #B45309; }
.vd-qc-head span { font-size: 11.5px; color: var(--ink-3); }
.vd-qc .vd-sub { margin-top: 8px; }
.vd-qc .vd-chips { margin: 4px 0 0; }
.vd-qc .vd-ul { margin: 4px 0 0; font-size: 12.5px; }
.vd-qc-err > b { color: #B91C1C; }
.vd-qc-warn > b { color: #B45309; }
.vd-role {
  display: inline-block; margin-top: 4px; padding: 1px 7px;
  border-radius: 999px; font-size: 11px; white-space: nowrap;
  background: var(--brand-soft); color: var(--brand-dark);
}
.vd-body a { color: var(--brand); text-decoration: none; }
.vd-body a:hover { text-decoration: underline; }
.poster-mod {
  max-width: 1560px; margin: 0 auto; padding: 16px 22px 28px;
}
.poster-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 12px;
}
.poster-title h2 { margin: 0 0 2px; font-size: 17px; letter-spacing: .2px; }
.poster-title p { margin: 0; color: var(--ink-3); font-size: 12.5px; }
.poster-acts { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.poster-now {
  font-size: 12px; color: var(--brand-dark); background: var(--brand-soft);
  border: 1px solid #DCE4FF; padding: 3px 10px; border-radius: 999px; white-space: nowrap;
}
.poster-views { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.poster-views .pview {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px; border-radius: 11px; cursor: pointer;
  border: 1px solid var(--line); background: #fff; color: var(--ink-2);
  font-size: 13px; font-weight: 600; font-family: inherit;
  transition: background .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease;
}
.poster-views .pview:hover { border-color: var(--brand-mid); color: var(--brand-dark); }
.poster-views .pview.active {
  background: linear-gradient(180deg, var(--brand-mid), var(--brand));
  border-color: var(--brand); color: #fff;
  box-shadow: 0 6px 16px rgba(21, 38, 224, .22);
}
.poster-sences {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  padding: 9px 12px; margin-bottom: 12px;
  background: rgba(255, 255, 255, .7);
  border: 1px solid var(--line); border-radius: 12px;
}
.poster-sences .ps-lead {
  font-size: 12px; color: var(--ink-3); margin-right: 2px; font-weight: 600;
}
.ps-chip {
  padding: 4px 11px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: #fff; color: var(--ink-2);
  font-size: 12.5px; font-family: inherit; transition: background .14s ease, border-color .14s ease, color .14s ease;
}
.ps-chip:hover { border-color: var(--brand-mid); color: var(--brand-dark); background: var(--brand-soft); }
.ps-chip.active {
  background: var(--brand-soft); border-color: var(--brand);
  color: var(--brand-dark); font-weight: 600;
}
.poster-stage {
  position: relative; overflow: hidden;
  height: calc(100vh - 268px); min-height: 560px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(11, 30, 138, .10);
}
.poster-stage:fullscreen { height: 100vh; border-radius: 0; border: 0; }
.poster-frame { display: block; width: 100%; height: 100%; border: 0; background: #fff; }
.poster-gate {
  position: absolute; inset: 0; z-index: 5;
  display: flex; align-items: center; justify-content: center;
  background: rgba(228, 236, 253, .62);
  backdrop-filter: blur(1.5px); -webkit-backdrop-filter: blur(1.5px);
  padding: 20px;
}
.pg-card {
  width: min(520px, 100%); background: #fff; border-radius: 16px; padding: 22px 24px;
  border: 1px solid var(--line); box-shadow: 0 22px 60px rgba(11, 30, 138, .26);
}
.pg-card h3 { margin: 0 0 10px; font-size: 16px; color: var(--brand-dark); }
.pg-card ol { margin: 0 0 12px; padding-left: 20px; color: var(--ink-2); }
.pg-card ol li { margin: 5px 0; }
.pg-card ol b { color: var(--brand-dark); }
.pg-note {
  margin: 0 0 14px; padding: 9px 11px; border-radius: 9px;
  background: #F6F9FF; border: 1px solid #E1E9FF;
  color: var(--ink-3); font-size: 12px;
}
.poster-blank {
  margin: 10px 0 0; padding: 9px 12px; border-radius: 10px;
  background: #FFF7ED; border: 1px solid #FED7AA; color: var(--warn); font-size: 12.5px;
}
.poster-tip {
  margin: 10px 0 0; color: var(--ink-3); font-size: 12px; line-height: 1.7;
}
.poster-tip b { color: var(--ink-2); }
@media (max-width: 900px) {
  .poster-stage { height: calc(100vh - 320px); min-height: 460px; }
  .poster-head { flex-direction: column; }
}
.qc-box { padding: 2px 0 4px; }
.qc-empty {
  padding: 14px; border-radius: 10px; background: #F8FAFC;
  border: 1px dashed var(--line); color: var(--ink-3); font-size: 12.5px; line-height: 1.7;
}
.qc-head {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 14px; border-radius: 12px; margin-bottom: 10px;
  background: #F8FAFC; border: 1px solid var(--line);
}
.qc-head.qc-good { background: #F0FDF4; border-color: #BBF7D0; }
.qc-head.qc-ok   { background: #FFFBEB; border-color: #FDE68A; }
.qc-head.qc-bad  { background: #FEF2F2; border-color: #FECACA; }
.qc-score {
  font-size: 30px; font-weight: 800; line-height: 1; letter-spacing: -1px;
  color: var(--ink); flex: none;
}
.qc-head.qc-good .qc-score { color: var(--ok); }
.qc-head.qc-ok   .qc-score { color: var(--warn); }
.qc-head.qc-bad  .qc-score { color: var(--danger); }
.qc-score em { font-size: 12px; font-weight: 600; font-style: normal; color: var(--ink-3); }
.qc-meta { min-width: 0; }
.qc-label { font-size: 13px; font-weight: 700; color: var(--ink); }
.qc-sub { font-size: 11.5px; color: var(--ink-3); margin-top: 3px; line-height: 1.6; }
.qc-list { display: flex; flex-direction: column; gap: 6px; }
.qc-item {
  display: flex; gap: 8px; align-items: flex-start;
  padding: 8px 10px; border-radius: 9px; font-size: 12.5px; line-height: 1.65;
  background: #fff; border: 1px solid var(--line); color: var(--ink-2);
}
.qc-item.qc-lv-err  { background: #FEF2F2; border-color: #FECACA; }
.qc-item.qc-lv-warn { background: #FFFBEB; border-color: #FDE68A; }
.qc-tag {
  flex: none; font-size: 10.5px; font-weight: 700; padding: 1px 6px;
  border-radius: 5px; background: #E5E7EB; color: var(--ink-3); margin-top: 2px;
}
.qc-lv-err  .qc-tag { background: #FEE2E2; color: var(--danger); }
.qc-lv-warn .qc-tag { background: #FEF3C7; color: var(--warn); }
.qc-lv-info .qc-tag { background: var(--brand-soft); color: var(--brand-dark); }
.qc-brain {
  margin-top: 14px; padding: 12px 14px; border-radius: 12px;
  background: #fff; border: 1px solid var(--line);
}
.qc-brain-head {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 8px;
}
.qc-brain-body { font-size: 12.5px; }
.br-row { display: flex; gap: 8px; align-items: baseline; margin-bottom: 8px; }
.br-k { color: var(--ink-3); flex: none; }
.br-v { color: var(--ink-2); font-weight: 600; }
.br-spark { display: flex; align-items: flex-end; gap: 3px; height: 36px; margin: 0 0 10px; }
.br-bar { width: 8px; border-radius: 2px 2px 0 0; background: var(--line); display: block; }
.br-bar.good { background: var(--ok); }
.br-bar.ok   { background: #F59E0B; }
.br-bar.bad  { background: var(--danger); }
.br-sec { font-size: 11.5px; color: var(--ink-3); margin: 9px 0 5px; font-weight: 600; }
.br-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.br-tag {
  font-size: 11px; padding: 2px 7px; border-radius: 999px;
  background: #F3F4F6; color: var(--ink-3); border: 1px solid var(--line);
}
.br-tag.bad  { background: #FEE2E2; color: var(--danger); border-color: #FECACA; }
.br-tag.warn { background: #FEF3C7; color: var(--warn);  border-color: #FDE68A; }
.br-tag.good { background: #DCFCE7; color: var(--ok);    border-color: #BBF7D0; }
.br-note { margin-top: 10px; font-size: 11.5px; color: var(--ink-3); }
.qc-actions { display: flex; gap: 8px; margin-bottom: 10px; }
.qc-actions .btn { flex: none; }
.of-card {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border: 1px solid var(--line);
  border-radius: var(--radius); background: #F7F9FD;
}
.of-icon { font-size: 30px; line-height: 1; flex: none; }
.of-main { min-width: 0; flex: 1; }
.of-name { font-weight: 700; font-size: 14.5px; color: var(--ink); word-break: break-all; }
.of-meta { font-size: 12px; color: var(--ink-3); margin-top: 4px; }
.of-tipbox {
  margin-top: 12px; font-size: 12.5px; line-height: 1.8; color: var(--ink-2);
  background: var(--brand-soft); border-left: 3px solid var(--brand-mid);
  padding: 10px 12px; border-radius: 8px;
}
.of-ol { font-size: 13px; line-height: 1.9; color: var(--ink-2); }
.of-ol.of-h1 { font-weight: 700; font-size: 14px; color: var(--ink); margin-top: 10px; }
.of-ol.of-h1:first-child { margin-top: 0; }
.of-ol.of-h2 { color: var(--brand-dark); padding-left: 14px; font-weight: 600; }
.of-ol.of-tip { color: var(--ink-3); padding-left: 26px; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--brand); }
input[type="checkbox"], input[type="radio"] { width: auto; cursor: pointer; }
* { scrollbar-width: thin; scrollbar-color: #C6CFDF transparent; }
*::-webkit-scrollbar { width: 8px; height: 8px; }
*::-webkit-scrollbar-thumb { background: #C6CFDF; border-radius: 8px; }
*::-webkit-scrollbar-thumb:hover { background: #A9B5CC; }
*::-webkit-scrollbar-track { background: transparent; }
:focus-visible { outline: 2px solid var(--brand-mid); outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.clip-thumbs {
  margin-top: 12px;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
  gap: 10px; padding: 4px; border-radius: 12px; transition: .16s background, .16s box-shadow;
}
.clip-thumbs.drag { background: var(--brand-soft); box-shadow: inset 0 0 0 2px var(--brand-mid); }
.clip-thumbs.empty { display: block; padding: 0; }
.clip-drop {
  padding: 30px 16px; text-align: center; cursor: pointer;
  border: 1.5px dashed #C9D6F2; border-radius: 12px; background: #FBFCFF; transition: .16s;
}
.clip-drop:hover { border-color: var(--brand-mid); background: var(--brand-soft); }
.cd-ico { font-size: 26px; line-height: 1; margin-bottom: 8px; }
.cd-t { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.cd-s { margin-top: 5px; font-size: 11.5px; color: var(--ink-3); line-height: 1.6; }
.thumb {
  position: relative; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; padding: 6px; text-align: center; transition: .16s;
}
.thumb:hover { border-color: var(--brand-mid); box-shadow: 0 4px 12px rgba(16,24,40,.08); }
.thumb-no {
  position: absolute; top: 6px; left: 6px; z-index: 1;
  min-width: 18px; height: 18px; line-height: 18px; padding: 0 4px;
  border-radius: 5px; background: rgba(21,38,224,.9); color: #fff;
  font-size: 11px; font-weight: 700;
}
.thumb-pic {
  height: 62px; border-radius: 7px; overflow: hidden;
  background: #F1F4FA; display: flex; align-items: center; justify-content: center;
}
.thumb-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb-name {
  margin-top: 6px; font-size: 11px; color: var(--ink-2);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.thumb-size { font-size: 10.5px; color: var(--ink-3); }
.thumb-ops { display: flex; gap: 3px; justify-content: center; margin-top: 6px; }
.thumb.add {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; min-height: 118px; cursor: pointer;
  border: 1.5px dashed #C9D6F2; background: #FBFCFF;
}
.thumb.add:hover { border-color: var(--brand-mid); background: var(--brand-soft); }
.add-plus { font-size: 20px; color: var(--brand-mid); line-height: 1; }
.add-t { font-size: 11.5px; color: var(--ink-3); }
.top-mini {
  width: 22px; height: 22px; line-height: 20px; padding: 0;
  border: 1px solid var(--line); border-radius: 6px; background: #fff;
  color: var(--ink-2); font-size: 11px; cursor: pointer; transition: .14s;
}
.top-mini:hover { border-color: var(--brand-mid); color: var(--brand); background: var(--brand-soft); }
.top-mini.danger:hover { border-color: var(--danger); color: var(--danger); background: #FEF2F2; }
.clip-timing {
  display: flex; flex-wrap: wrap; gap: 14px; margin-top: 12px; padding: 10px 12px;
  border: 1px solid var(--line); border-radius: 10px; background: #F8FAFF;
  font-size: 12px; color: var(--ink-3);
}
.tm-item b { color: var(--brand); font-size: 13px; font-weight: 700; }
.tm-item.bad b { color: var(--danger); }
.tm-item.bad::after { content: ' ⚠'; color: var(--danger); }
.tm-item.ok { color: #0B7A46; }
.tm-item.ok::before { content: '✓ '; font-weight: 700; }
.clip-switches { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.sw { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--ink-2); cursor: pointer; }
.clip-stage {
  position: relative; margin: 0 auto; max-width: 340px;
  border-radius: 14px; overflow: hidden; background: #05070F;
  box-shadow: 0 10px 30px rgba(16,24,40,.18);
}
#clipCanvas { display: block; width: 100%; height: auto; }
.clip-empty {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 6px; padding: 18px;
  background: linear-gradient(180deg, #fff, #F7F9FE); text-align: center;
  pointer-events: none;
}
.clip-empty[hidden] { display: none; }
.ce-title { margin: 8px 0 4px; font-size: 14px; font-weight: 700; color: var(--ink); }
.ce-step { margin: 2px 0; font-size: 12px; color: var(--ink-3); }
.ce-step b {
  display: inline-block; width: 16px; height: 16px; line-height: 16px; margin-right: 5px;
  border-radius: 50%; background: var(--brand-soft); color: var(--brand);
  font-size: 10.5px; font-weight: 700; text-align: center;
}
.clip-playbar {
  display: flex; align-items: center; gap: 10px; margin-top: 12px;
  padding: 9px 11px; border: 1px solid var(--line); border-radius: 10px; background: #FCFDFF;
}
.clip-playbar .btn { flex: none; }
.clip-seek { flex: 1; min-width: 60px; }
.clip-clock { flex: none; font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.clip-clock b { color: var(--brand); }
.clip-export {
  display: flex; align-items: center; gap: 9px; flex-wrap: wrap;
  margin-top: 12px; padding: 11px 13px;
  border: 1px solid #CBD8F5; border-radius: 10px; background: var(--brand-soft);
  font-size: 12.5px; color: var(--ink-2);
}
.clip-export[hidden] { display: none; }
.spin {
  width: 13px; height: 13px; border-radius: 50%; flex: none;
  border: 2px solid rgba(21,38,224,.22); border-top-color: var(--brand);
  animation: clip-spin .7s linear infinite;
}
@keyframes clip-spin { to { transform: rotate(360deg); } }
.clip-bar { flex: 1 1 100%; height: 5px; border-radius: 5px; background: #DCE4F7; overflow: hidden; }
.clip-bar i { display: block; height: 100%; width: 0; border-radius: 5px; background: var(--brand); transition: width .2s; }
.clip-done { margin-top: 12px; }
.clip-done[hidden] { display: none; }
.clip-done video {
  width: 100%; max-width: 340px; margin: 0 auto 10px; display: block;
  border-radius: 12px; background: #05070F; box-shadow: 0 8px 24px rgba(16,24,40,.16);
}
#clipStyleChip {
  display: inline-block; margin: 6px 0 2px; padding: 4px 10px;
  border-radius: 999px; background: var(--brand-soft); color: var(--brand);
  font-size: 12px; font-weight: 700; letter-spacing: .2px;
}
#clipStyleChip:empty { display: none; }
label.sw {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  font-size: 13px; color: var(--ink-2); line-height: 1.5;
}
label.sw input[type="checkbox"] { width: 15px; height: 15px; accent-color: var(--brand); margin: 0; }
:root {
  --shadow-xs: 0 1px 2px rgba(11, 30, 138, .05);
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .04), 0 3px 12px rgba(11, 30, 138, .06);
  --shadow-md: 0 2px 4px rgba(16, 24, 40, .04), 0 10px 28px rgba(11, 30, 138, .10);
  --shadow-brand: 0 4px 14px rgba(21, 38, 224, .26);
  --ring: 0 0 0 3px rgba(59, 107, 255, .15);
}
.card {
  border-color: #E7ECF6;
  box-shadow: var(--shadow-sm);
}
.card-title {
  display: flex; align-items: center; gap: 9px;
  font-size: 14.5px; letter-spacing: .2px;
}
.card-title::before {
  content: ''; flex: none; width: 4px; height: 15px; border-radius: 4px;
  background: linear-gradient(180deg, var(--brand), var(--brand-mid));
}
.card-title + .tip, .card-title + .lbl { margin-top: 4px; }
.mode-btn {
  border-color: transparent;
  background: rgba(255, 255, 255, .62);
  box-shadow: var(--shadow-xs);
  transition: background .16s, color .16s, box-shadow .16s, transform .16s;
}
.mode-btn:hover {
  background: #fff; color: var(--ink);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.mode-btn.active {
  box-shadow: var(--shadow-brand), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.mode-btn.active:hover { transform: none; }
.btn { box-shadow: var(--shadow-xs); }
.btn:hover { border-color: #CBD5E8; background: #F8FAFF; box-shadow: var(--shadow-sm); }
.btn.primary {
  background: linear-gradient(135deg, var(--brand-600) 0%, var(--brand-500) 100%);
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(21, 38, 224, .22), inset 0 1px 0 rgba(255, 255, 255, .18);
}
.btn.primary:hover {
  background: linear-gradient(135deg, var(--brand-700) 0%, var(--brand-600) 100%);
  box-shadow: 0 6px 16px rgba(21, 38, 224, .30);
  transform: translateY(-1px);
}
.btn.primary:not(:disabled):active { transform: translateY(1px); box-shadow: 0 2px 6px rgba(21, 38, 224, .25); }
input[type="checkbox"], input[type="radio"] { accent-color: var(--brand); }
input[type="text"]:focus, input[type="password"]:focus, input:not([type]):focus,
textarea:focus, select:focus {
  border-color: var(--brand-mid);
  box-shadow: var(--ring);
}
textarea { resize: vertical; min-height: 64px; }
.stage { position: relative; }
.stage:not(:last-child)::before {
  content: ''; position: absolute; left: 15px; top: 24px; bottom: -8px;
  width: 2px; border-radius: 2px; background: #E6EBF6;
}
.stage.done:not(:last-child)::before { background: #C9D6FF; }
.log, .thinking {
  background: #FBFCFE;
  border-color: #E7ECF6;
  box-shadow: inset 0 1px 2px rgba(11, 30, 138, .03);
}
.tabs { background: #EDF0F7; padding: 3px; border-radius: 10px; }
.tab { border-radius: 8px; }
.tab.active { box-shadow: 0 1px 2px rgba(16, 24, 40, .10), 0 2px 6px rgba(11, 30, 138, .06); }
.lint { border: 1px solid rgba(21, 38, 224, .10); border-radius: 10px; }
.lint.bad { border-color: #FECACA; }
.poster-title h2 { display: flex; align-items: center; gap: 9px; }
.poster-title h2::before {
  content: ''; flex: none; width: 4px; height: 17px; border-radius: 4px;
  background: linear-gradient(180deg, var(--brand), var(--brand-mid));
}
.poster-views .pview { box-shadow: var(--shadow-xs); }
.poster-views .pview:hover { box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.poster-views .pview.active { transform: none; }
.clip-drop, .thumb.add {
  box-shadow: inset 0 1px 2px rgba(11, 30, 138, .03);
}
.clip-drop:hover, .thumb.add:hover { box-shadow: var(--shadow-sm); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: #C6CFE3; border-radius: 8px;
  border: 2.5px solid transparent; background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover { background-color: #A9B6D6; }
::selection { background: rgba(59, 107, 255, .18); }
:focus-visible { outline: 2px solid var(--brand-mid); outline-offset: 2px; }
.exbox-count, .vd-kv-row .tm, .vd-kv-row .sz, .clip-timing,
.qc-score, .thumb-size {
  font-variant-numeric: tabular-nums;
}
.pane-owner {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-bottom: 12px; padding: 8px 12px; border-radius: 10px;
  background: linear-gradient(90deg, rgba(21, 38, 224, .07), rgba(21, 38, 224, .015));
  border: 1px solid rgba(21, 38, 224, .12);
}
.pane-owner .po-ico { font-size: 15px; line-height: 1; }
.pane-owner .po-t { font-size: 13px; font-weight: 700; color: var(--brand-dark); }
.pane-owner .po-s { font-size: 11.5px; color: var(--ink-3); }
@media (max-width: 720px) {
  .card { padding: 15px; }
  .card-title::before { height: 14px; }
  .pane-owner .po-s { display: none; }
}
.tip-sub { display: inline-block; margin-top: 4px; font-size: 11.5px; color: var(--ink-4, #8A94A6); line-height: 1.55; }
.tip-sub b { color: var(--ink-3); font-weight: 600; }
.genre-row { display: flex; align-items: center; gap: 8px; margin: 2px 0 10px; }
.genre-row select { flex: 1; min-width: 0; }
.genre-row .btn { flex: none; }
.pr-list { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; max-height: 560px; overflow-y: auto; }
.pr-item {
  display: flex; align-items: center; gap: 10px; padding: 8px;
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
  cursor: pointer; transition: border-color .15s;
}
.pr-item:hover { border-color: var(--brand-mid); }
.pr-item.cur { border-color: var(--brand); box-shadow: 0 0 0 2px rgba(21,38,224,.10); }
.pr-thumb {
  flex: none; width: 64px; height: 64px; object-fit: contain;
  border-radius: 8px; background: #F6F8FC; border: 1px solid var(--line);
}
.pr-m { flex: 1; min-width: 0; }
.pr-nm { font-size: 13px; font-weight: 700; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pr-cat { font-size: 11px; color: var(--ink-3); margin-top: 2px; }
.pr-price { font-size: 14px; font-weight: 800; color: var(--brand-dark, #1526E0); margin-top: 2px; font-variant-numeric: tabular-nums; }
.pr-price .pr-unit { font-size: 10.5px; font-weight: 400; color: var(--ink-3); margin-left: 4px; }
.pr-inq { background: #EAF0FF; border-color: var(--brand-mid); color: var(--brand-dark); }
.pr-item .btn { flex: none; }
.pr-detail-card { margin-bottom: 12px; }
.pr-d { display: flex; gap: 14px; flex-wrap: wrap; }
.pr-dimg { flex: none; width: 250px; }
.pr-dimg img {
  width: 100%; max-height: 250px; object-fit: contain;
  border-radius: 10px; background: #F6F8FC; border: 1px solid var(--line);
}
.pr-dinfo { flex: 1; min-width: 260px; }
.pr-dname { margin: 0 0 6px; font-size: 16px; color: var(--ink); }
.pr-dmeta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.pr-tag {
  display: inline-block; padding: 2px 8px; font-size: 11px; border-radius: 999px;
  background: #EAF0FF; color: var(--brand-dark);
}
.pr-dprice { font-size: 18px; font-weight: 800; color: var(--brand-dark, #1526E0); }
.pr-dprice i { font-style: normal; font-size: 11px; font-weight: 400; color: var(--ink-3); margin-left: 4px; }
.pr-dbtns { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 12px; }
.pr-spec {
  margin: 0; padding: 10px 12px; max-height: 320px; overflow-y: auto;
  font-size: 12.5px; line-height: 1.7; color: var(--ink-2);
  background: #F8FAFF; border: 1px solid var(--line); border-radius: 10px;
  white-space: pre-wrap; word-break: break-all; font-family: inherit;
}
.pr-intro { margin-top: 12px; }
.pr-intro textarea { width: 100%; }
.pr-quote { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 12.5px; }
.pr-quote th, .pr-quote td { border-bottom: 1px solid var(--line); padding: 7px 8px; text-align: left; vertical-align: middle; }
.pr-quote th { font-size: 11.5px; color: var(--ink-3); font-weight: 600; background: #F8FAFF; }
.pr-q-nm { max-width: 380px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); }
.pr-qty {
  width: 62px; padding: 3px 6px; font-size: 12px; font-family: inherit;
  border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink);
}
.pr-q-p, .pr-q-s { font-variant-numeric: tabular-nums; color: var(--ink-2); }
.pr-q-raw { color: var(--ink-3); font-variant-numeric: tabular-nums; }
.pr-dcell { display: inline-flex; align-items: center; gap: 5px; }
.pr-disc {
  width: 58px; padding: 3px 6px; font-size: 12px; font-family: inherit; font-variant-numeric: tabular-nums;
  border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink);
}
.pr-dcell.is-set .pr-disc { border-color: var(--brand, #2B3AEF); background: #F4F6FF; font-weight: 600; }
.pr-dz { font-style: normal; font-size: 11.5px; color: var(--ink-3); min-width: 30px; }
.pr-dreset {
  border: none; background: transparent; cursor: pointer; padding: 0 2px;
  font-size: 13px; line-height: 1; color: var(--ink-3);
}
.pr-dreset:hover { color: var(--ink); }
.pr-qrow.pr-row-warn { background: #FFF4F4; }
.pr-qrow.pr-row-warn .pr-q-s, .pr-qrow.pr-row-warn .pr-dz { color: #C2334D; }
.pr-total-row { display: flex; align-items: center; justify-content: flex-end; gap: 16px; margin-top: 10px; }
.pr-total { font-size: 14px; color: var(--ink); }
.pr-total b { font-size: 18px; color: var(--brand-dark, #1526E0); font-variant-numeric: tabular-nums; }
#prSearch { margin-bottom: 10px; }
.clip-subbox {
  margin-top: 12px; padding: 10px 12px;
  border: 1px solid var(--line); border-radius: 10px; background: #F8FAFF;
}
.clip-subbox[hidden] { display: none; }
.cs-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin-bottom: 8px; }
.cs-head b { font-size: 12.5px; color: var(--ink); }
.cs-tip { font-size: 11.5px; color: var(--ink-3); }
.cs-list { display: flex; flex-direction: column; gap: 6px; max-height: 320px; overflow-y: auto; }
.cs-row {
  display: flex; align-items: center; gap: 8px; padding: 6px 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
}
.cs-no {
  flex: none; width: 74px; display: flex; flex-direction: column; gap: 1px;
  font-size: 11px; font-weight: 700; color: var(--brand); font-variant-numeric: tabular-nums;
}
.cs-no .cs-t { font-weight: 400; font-size: 10.5px; color: var(--ink-3); }
.cs-fields { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.cs-in {
  width: 100%; padding: 4px 7px; font-size: 12px; font-family: inherit;
  border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink);
}
.cs-in:focus { border-color: var(--brand-mid); background: #fff; }
.cs-in.cs-en { font-size: 11.5px; color: var(--ink-2); }
.cs-row .top-mini { flex: none; }
.pr-brief {
  font-size: 11.5px; color: var(--ink-2, #5A6B87); margin-top: 2px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.pr-cust { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.pr-cust > div { display: flex; flex-direction: column; gap: 4px; }
.pr-cust .lbl { font-size: 11.5px; color: var(--ink-3); }
.pr-cust select, .pr-cust input {
  padding: 5px 8px; font-size: 12.5px; font-family: inherit;
  border: 1px solid var(--line); border-radius: 7px; background: #fff; color: var(--ink);
}
.pr-cust select { min-width: 150px; }
.pr-cust input { width: 92px; font-variant-numeric: tabular-nums; }
.pr-cust .btn { margin-bottom: 1px; }
.pr-cust + .tip { margin: 6px 0 0; }
.pr-warn { color: #C2334D; font-weight: 600; }
.pr-custbox {
  margin-top: 10px; padding: 12px; border: 1px solid var(--line);
  border-radius: 10px; background: #F8FAFF;
}
.pc-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.pr-buyer {
  margin: 10px 0 12px; border: 1px solid var(--line); border-radius: 10px;
  background: #F8FAFF; overflow: hidden;
}
.pr-buyer .pb-head {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 8px 12px;
}
.pr-buyer .pb-head b { font-size: 13px; }
.pr-buyer .pb-tip { flex: 1; min-width: 180px; font-size: 11.5px; color: var(--ink-3); }
.pr-buyer #prBuyerFields {
  padding: 10px 12px 12px; border-top: 1px dashed var(--line); background: #fff;
}
.pr-buyer .pb-foot { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.pr-buyer .pb-foot .tip { flex: 1; min-width: 200px; }
.pr-buyer input { width: 100%; }
.pc-head .pc-tip { font-size: 11.5px; color: var(--ink-3); flex: 1; min-width: 200px; }
.pc-cols { display: flex; gap: 14px; flex-wrap: wrap; }
.pc-col { flex: 1; min-width: 260px; }
.pc-col-h { font-size: 12px; font-weight: 700; color: var(--ink-2); margin-bottom: 6px; }
.pc-list { display: flex; flex-direction: column; gap: 6px; margin-bottom: 8px; }
.pc-row { display: flex; align-items: center; gap: 6px; }
.pc-row .pc-name { flex: 1; min-width: 0; }
.pc-row .pc-disc { flex: none; width: 68px; }
.pc-row .pc-level { flex: none; width: 150px; }
.pc-row .pc-u { font-size: 11.5px; color: var(--ink-3); flex: none; }
.pc-list .tip { margin: 0; }
.pc-list input, .pc-list select {
  width: auto; padding: 5px 8px; font-size: 12.5px; border-radius: 7px;
}
.pr-custbox .btn-row { align-items: center; }
.pr-custbox .btn-row .btn { flex: none; min-width: 118px; padding: 8px 18px; font-size: 13px; }
.pr-custbox .btn-row .tip { flex: 1; margin: 0; }
.daily-mod { max-width: 1560px; margin: 0 auto; padding: 16px 22px 28px; }
.daily-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 12px;
}
.daily-title h2 { margin: 0 0 3px; font-size: 17px; letter-spacing: .2px; }
.daily-title p { margin: 0; color: var(--ink-3); font-size: 12.5px; line-height: 1.7; }
.daily-title b { color: var(--ink-2); }
.daily-acts { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.daily-now {
  font-size: 12px; color: var(--brand-dark); background: var(--brand-soft);
  border: 1px solid #DCE4FF; padding: 4px 11px; border-radius: 999px; white-space: nowrap;
}
.dl-top { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 14px; margin-bottom: 14px; }
@media (max-width: 1100px) { .dl-top { grid-template-columns: 1fr; } }
.dl-row { display: flex; align-items: flex-end; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.dl-f { display: flex; flex-direction: column; gap: 4px; }
.dl-f .lbl { margin: 0; }
.dl-row input[type="text"], .dl-row input[type="date"] { padding: 7px 10px; font-size: 13px; }
.dl-row input[type="date"] { width: 152px; }
.dl-row .btn { flex: none; margin-bottom: 1px; }
.dl-warn { color: var(--warn); font-weight: 600; }
.dl-todaybox {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-top: 10px; padding: 9px 11px; border-radius: 10px;
  background: #F8FAFF; border: 1px solid var(--line);
}
.dl-tag {
  font-size: 11.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px;
  background: #EEF0F4; color: var(--ink-2); white-space: nowrap;
}
.dl-tag-ok { background: #EAF7EF; color: #16803F; }
.dl-tag-miss { background: #FDEDF0; color: #C2334D; }
.dl-tag-leave { background: #EDF0FE; color: var(--brand); }
.dl-sub { font-size: 12px; color: var(--ink-3); }
.dl-sub-miss { color: #C2334D; }
.dl-clist { margin-top: 8px; max-height: 232px; overflow: auto; border: 1px solid var(--line); border-radius: 10px; }
.dl-crow {
  display: grid; grid-template-columns: 26px 78px 118px 1fr auto; align-items: center; gap: 6px;
  padding: 6px 10px; border-bottom: 1px solid #F1F4F9; font-size: 12.5px;
}
.dl-crow:last-child { border-bottom: 0; }
.dl-cmk { text-align: center; font-weight: 700; font-size: 14px; }
.dl-cnm { font-weight: 600; color: var(--ink); }
.dl-cat { color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.dl-cno { color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dl-ok { color: #16803F; font-weight: 700; }
.dl-no { color: var(--warn); font-weight: 700; }
.dl-pend { margin-top: 12px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; font-size: 12.5px; }
.dl-chips { display: flex; gap: 6px; flex-wrap: wrap; flex: 1; min-width: 0; }
.dl-chip {
  border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: 3px 10px; font-size: 12px; cursor: pointer; font-family: inherit; color: var(--ink-2);
}
.dl-chip:hover { border-color: var(--brand); color: var(--brand); }
.dl-chip b { color: #C2334D; }
.dl-stats-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.dl-stats-head .card-title { margin: 0; }
.dl-stats-ctl { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.dl-stats-ctl select { width: auto; min-width: 128px; padding: 6px 9px; font-size: 12.5px; }
.dl-dept { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.dl-table-title { font-size: 14px; letter-spacing: .5px; }
.dl-custom-tip {
  font-size: 11.5px; color: var(--warn); background: #FFFBEB;
  border: 1px solid #FDE68A; padding: 2px 9px; border-radius: 999px;
}
.dl-wrap { overflow: auto; max-height: 72vh; border: 1px solid var(--line); border-radius: 10px; }
.dl-table { border-collapse: separate; border-spacing: 0; font-size: 12.5px; }
.dl-table th, .dl-table td {
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  text-align: center; padding: 0; height: 26px; min-width: 34px;
  font-weight: 400; font-variant-numeric: tabular-nums;
}
.dl-table thead th { position: sticky; top: 0; z-index: 3; background: #F8FAFF; font-size: 11.5px; color: var(--ink-2); }
.dl-table thead tr:nth-child(1) th { top: 0; }
.dl-table thead tr:nth-child(2) th { top: 26px; }
.dl-table tbody tr:last-child th, .dl-table tbody tr:last-child td { border-bottom: 0; }
.dl-table th:last-child, .dl-table td:last-child { border-right: 0; }
.dl-corner, .dl-corner-r {
  position: relative; width: 76px; min-width: 76px;
  background: #F8FAFF; position: sticky; left: 0; z-index: 4;
}
.dl-corner { height: 52px; }
.dl-corner::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top right, transparent 48.4%, #C9D6F2 48.4%, #C9D6F2 51.6%, transparent 51.6%);
}
.dl-corner .dl-wk, .dl-corner .dl-dt { position: absolute; font-size: 11px; color: var(--ink-2); z-index: 1; }
.dl-corner .dl-wk { top: 4px; right: 7px; }
.dl-corner .dl-dt { bottom: 4px; left: 7px; }
.dl-corner-r { position: sticky; right: 0; z-index: 4; width: 66px; min-width: 66px; }
.dl-corner-r .dl-wk { position: absolute; top: 4px; left: 0; right: 0; font-size: 11px; color: var(--ink-2); }
.dl-corner-r .dl-dt { position: absolute; bottom: 4px; left: 0; right: 0; font-size: 11px; color: var(--ink-2); }
.dl-name {
  position: sticky; left: 0; z-index: 2; background: #fff;
  text-align: left; padding: 0 10px; min-width: 84px; font-weight: 600; color: var(--ink);
  border-right: 1px solid var(--line);
}
.dl-table thead th.dl-rest { background: #F7D2D7; color: #8C2338; font-weight: 700; }
.dl-table th.dl-wend, .dl-table td.dl-wend { border-right: 2px solid #C9D6F2; }
.dl-cell { cursor: pointer; }
.dl-cell:hover { outline: 2px solid var(--brand); outline-offset: -2px; }
.m-ok { color: #16803F; background: #EAF7EF; font-weight: 700; }
.m-late { color: #B4690E; background: #FFF7E8; font-weight: 700; }
.m-miss { color: #B3404F; background: #FBF1F3; font-weight: 600; }
.m-leave { color: var(--brand); background: #EDF0FE; font-weight: 700; }
.m-rest { color: #9AA3B2; background: #F2F4F8; }
.m-none { color: #C9CFDA; }
.dl-crow.m-ok, .dl-crow.m-late, .dl-crow.m-miss, .dl-crow.m-leave, .dl-crow.m-rest { background: transparent; }
.dl-crow.m-ok .dl-cmk { color: #16803F; }
.dl-crow.m-late .dl-cmk { color: #B4690E; }
.dl-crow.m-miss .dl-cmk { color: #C2334D; }
.dl-crow.m-leave .dl-cmk { color: var(--brand); }
.dl-crow.m-rest .dl-cmk { color: #9AA3B2; }
.dl-rate { position: sticky; right: 0; z-index: 2; background: #FCFDFF; font-weight: 700; color: var(--ink-2); }
.dl-rate.is-good { color: #16803F; }
.dl-rate.is-mid { color: #B4690E; }
.dl-rate.is-bad { color: #C2334D; }
.dl-note { margin: 10px 0 0; font-size: 12px; color: var(--ink-3); line-height: 1.7; }
.dl-sum { margin-top: 14px; }
.dl-sumwrap { max-width: 760px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.dl-sumtab { width: 100%; border-collapse: collapse; font-size: 12.5px; max-width: 760px; }
.dl-sumtab th, .dl-sumtab td { border-bottom: 1px solid var(--line); padding: 7px 10px; text-align: right; font-variant-numeric: tabular-nums; }
.dl-sumtab thead th { font-size: 11.5px; color: var(--ink-3); font-weight: 600; background: #F8FAFF; text-align: right; }
.dl-sumtab thead th:first-child, .dl-sumtab tbody th { text-align: left; }
.dl-sumtab tbody th { font-weight: 600; color: var(--ink); }
.dl-sumtab .dl-sumtot { background: #F8FAFF; font-weight: 700; }
.dl-roster { margin-top: 14px; }
.dl-roster textarea { font-size: 12.5px; font-family: var(--mono); line-height: 1.7; }
.dl-table thead th.dl-make { background: #FFF2CC; color: #8A6100; font-weight: 700; }
.dl-picks {
  display: flex; flex-wrap: wrap; gap: 6px;
  padding: 7px 8px; min-height: 42px;
  border: 1px solid var(--line); border-radius: 10px; background: #FBFCFE;
}
.dl-pick {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--ink-2);
  font-size: 13px; line-height: 1; cursor: pointer;
  transition: background .12s, border-color .12s, color .12s;
}
.dl-pick:hover { border-color: var(--brand-mid); color: var(--brand-dark); }
.dl-pick.on {
  background: var(--brand-soft); border-color: var(--brand-mid);
  color: var(--brand-dark); font-weight: 600;
}
.dl-pick.on .dl-pick-nm::before { content: '✓'; margin-right: 4px; font-weight: 700; }
.dl-pick-nm { white-space: nowrap; }
.dl-pick-mk {
  font-size: 11px; font-weight: 700; padding-left: 6px;
  border-left: 1px solid var(--line);
}
.dl-pick.on .dl-pick-mk { border-left-color: #C7D3FF; }
.dl-pickbar { display: flex; align-items: center; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
.dl-pickbar input[type="text"] { flex: 1 1 130px; min-width: 0; padding: 6px 9px; font-size: 12.5px; }
.dl-pickbar .btn { flex: none; }
.dl-pickn { font-size: 12px; color: var(--brand-dark); font-weight: 600; white-space: nowrap; }
.dl-f-full { width: 100%; }
#dlNote { width: 260px; }
@media (max-width: 720px) { #dlNote { width: 100%; } }
.dl-year-tip {
  font-size: 11.5px; color: #9A3412; background: #FFF7ED;
  border: 1px solid #FED7AA; padding: 2px 9px; border-radius: 999px;
}
.dl-rowlb { font-size: 12px; color: var(--ink-3); align-self: center; line-height: 1.5; }
.dl-set { justify-self: end; display: inline-flex; gap: 2px; }
.dl-sbtn {
  min-width: 27px; height: 25px; padding: 0 5px; line-height: 1;
  border: 1px solid var(--line); background: #fff; color: var(--ink-3);
  border-radius: 6px; font-size: 13px; font-family: inherit; cursor: pointer;
}
.dl-sbtn:hover { border-color: var(--brand); color: var(--brand-dark); background: #F3F7FF; }
.dl-sbtn.is-on { font-weight: 700; cursor: default; }
.dl-sbtn.s-ok.is-on { background: #E8F6EE; border-color: #16803F; color: #16803F; }
.dl-sbtn.s-late.is-on { background: #FFF7ED; border-color: #B4690E; color: #B4690E; }
.dl-sbtn.s-leave.is-on { background: #EDF0FE; border-color: var(--brand); color: var(--brand); }
.dl-sbtn.s-none.is-on { background: #FDEEF1; border-color: #C2334D; color: #C2334D; }
.dl-fixbar {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 6px;
  padding: 6px 10px; border: 1px dashed #D6DEEC; border-radius: 10px; background: #FAFBFD;
}
.dl-fixbar[hidden] { display: none; }
.dl-fixbar .dl-who { font-size: 12.5px; font-weight: 600; color: var(--ink); }
.dl-fixbar .dl-set { justify-self: auto; }
.dl-fixtip { font-size: 11.5px; color: var(--ink-3); }
@media (max-width: 720px) {
  .dl-crow { grid-template-columns: 24px 66px 1fr auto; }
  .dl-cno { display: none; }
}
#dlForce { width: auto; min-width: 208px; font-size: 12.5px; padding: 7px 9px; }
@media (max-width: 720px) { #dlForce { min-width: 0; width: 100%; } }
.mod-loading {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  padding: 8px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
  color: var(--brand-dark); background: #EEF3FF;
  border: 1px solid #D6E0FF; box-shadow: 0 4px 14px rgba(21, 38, 224, .12);
  pointer-events: none;
}
.mod-loading::before {
  content: ''; display: inline-block; width: 9px; height: 9px; margin-right: 7px;
  border: 2px solid var(--brand); border-top-color: transparent; border-radius: 50%;
  vertical-align: -1px; animation: mod-spin .7s linear infinite;
}
@keyframes mod-spin { to { transform: rotate(360deg); } }
.bid-mod { max-width: 1560px; margin: 0 auto; padding: 16px 22px 28px; }
.bid-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 12px;
}
.bid-title h2 { margin: 0 0 3px; font-size: 17px; letter-spacing: .2px; }
.bid-title p { margin: 0; color: var(--ink-3); font-size: 12.5px; line-height: 1.7; max-width: 780px; }
.bid-title b { color: var(--ink-2); }
.bid-acts { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.bid-now {
  font-size: 12px; color: var(--brand-dark); background: var(--brand-soft);
  border: 1px solid #DCE4FF; padding: 4px 11px; border-radius: 999px; white-space: nowrap;
}
.bid-now b { color: var(--brand); font-weight: 700; }
.bid-now.scanning::before {
  content: ''; display: inline-block; width: 8px; height: 8px; margin-right: 6px;
  border: 2px solid var(--brand); border-top-color: transparent; border-radius: 50%;
  vertical-align: -1px; animation: mod-spin .7s linear infinite;
}
.bd-warn { color: #B8792A; }
.bid-cfg { margin-bottom: 12px; padding: 14px 16px; }
.bid-cfg[hidden] { display: none; }
.bid-cfgrow { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.bid-f { display: flex; flex-direction: column; gap: 4px; }
.bid-f .lbl { margin: 0; }
.bid-f input, .bid-f select { padding: 7px 10px; font-size: 13px; max-width: 190px; }
.bid-f input[type="number"] { width: 120px; }
.bid-fw { width: 100%; }
.bid-fw input { max-width: none; width: 100%; }
.bid-srcs { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--ink-2); }
.bid-cfgacts { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.bid-cfgnote { font-size: 12px; color: #16803F; }
.bid-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap; margin-bottom: 12px;
  padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px;
  background: #FBFCFE;
}
.bid-barl, .bid-barr { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.bid-search { padding: 7px 11px; font-size: 13px; width: 230px; max-width: 100%; }
.bid-bar select { width: auto; min-width: 104px; padding: 6px 9px; font-size: 12.5px; }
.bid-chk { font-size: 12.5px; color: var(--ink-2); display: inline-flex; align-items: center; gap: 5px; cursor: pointer; }
.bid-count { font-size: 12px; color: var(--ink-3); white-space: nowrap; }
.bid-list { display: flex; flex-direction: column; gap: 10px; }
.bd-card {
  border: 1px solid var(--line); border-radius: 12px; background: #fff;
  padding: 12px 14px; transition: box-shadow .15s, border-color .15s;
}
.bd-card:hover { border-color: #C9D4F2; box-shadow: 0 4px 16px rgba(21, 38, 224, .08); }
.bd-card.is-new { border-left: 3px solid #E23B4E; background: #FFFCFD; }
.bd-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 7px; }
.bd-sp { flex: 1; min-width: 4px; }
.bd-new {
  font-size: 10.5px; font-weight: 800; letter-spacing: .4px;
  padding: 2px 7px; border-radius: 5px; background: #E23B4E; color: #fff;
}
.bd-cat {
  font-size: 11.5px; font-weight: 600; padding: 2.5px 9px; border-radius: 999px;
  background: #EFF2F7; color: var(--ink-2); white-space: nowrap;
}
.bd-cat.c-工程 { background: #EEF3FF; color: #2A45C9; }
.bd-cat.c-设备 { background: #EAF7EF; color: #16803F; }
.bd-cat.c-工程\+设备 { background: #FFF4E5; color: #B8792A; }
.bd-amt {
  font-size: 13.5px; font-weight: 700; color: var(--brand-dark);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.bd-amt i { font-style: normal; font-size: 11px; font-weight: 600; margin-left: 1px; }
.bd-nomoney { font-size: 12px; font-weight: 500; color: var(--ink-3); }
.bd-where { font-size: 11.5px; color: var(--ink-3); }
.bd-dl {
  font-size: 11.5px; padding: 2.5px 9px; border-radius: 999px; white-space: nowrap;
  background: #F1F4F9; color: var(--ink-2); font-variant-numeric: tabular-nums;
}
.bd-dl.bd-urgent { background: #FDECEC; color: #C2334D; font-weight: 600; }
.bd-dl.bd-over { background: #F0F0F2; color: #8A8F9A; }
.bd-dl.bd-unknown { background: #FFF8E8; color: #B8792A; }
.bd-score {
  font-size: 11.5px; font-weight: 700; padding: 2.5px 9px; border-radius: 999px; white-space: nowrap;
}
.bd-score.hi { background: #E7F7EC; color: #12713A; }
.bd-score.mid { background: #FFF4E5; color: #B8792A; }
.bd-score.low { background: #F1F4F9; color: #7A8290; }
.bd-score.pending { background: #F6F7FB; color: #A9B4CF; font-weight: 500; }
.bd-title {
  margin: 0 0 6px; font-size: 14px; font-weight: 600; line-height: 1.55; color: var(--ink);
}
.bd-meta { display: flex; gap: 12px; flex-wrap: wrap; font-size: 12px; color: var(--ink-3); }
.bd-src { color: var(--brand-dark); }
.bd-acts { margin-top: 9px; display: flex; gap: 8px; flex-wrap: wrap; }
.bd-acts .btn { display: inline-flex; align-items: center; gap: 5px; text-decoration: none; }
.bd-empty {
  padding: 46px 20px; text-align: center; color: var(--ink-3);
  border: 1px dashed var(--line); border-radius: 12px; background: #FBFCFE;
}
.bd-empty p { margin: 0 0 5px; font-size: 13.5px; }
.bd-empty-sub { font-size: 12.5px !important; color: #A9B4CF; }
.bd-empty-ico {
  width: 34px; height: 34px; margin-bottom: 10px; opacity: .35;
  fill: none; stroke: var(--brand); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.bid-more { margin-top: 14px; text-align: center; }
.bid-more[hidden] { display: none; }
@media (max-width: 720px) {
  .bid-mod { padding: 12px 12px 22px; }
  .bid-search { width: 100%; }
  .bid-bar { padding: 8px 10px; }
  .bd-meta { gap: 8px; font-size: 11.5px; }
}
:root {
  --brand-50: #EEF2FF;
  --brand-100: #DEE6FF;
  --brand-200: #C4D2FF;
  --brand-400: #4E74FF;
  --brand-500: #2B44F5;
  --brand-600: #1526E0;
  --brand-700: #0F1CB4;
  --brand-900: #0B1E8A;
  --accent: #22D3EE;
  --accent-ink: #0E7490;
  --nav-ink: rgba(255, 255, 255, .84);
  --nav-ink-dim: rgba(206, 220, 255, .72);
  --nav-line: rgba(255, 255, 255, .13);
  --nav-hover: rgba(255, 255, 255, .10);
  --nav-active: linear-gradient(90deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .06));
  --shadow-lg: 0 8px 18px rgba(16, 24, 40, .08), 0 26px 60px rgba(11, 30, 138, .16);
  --shadow-nav: 2px 0 24px rgba(8, 16, 70, .20);
  --radius: 16px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}
.sidebar {
  background:
    radial-gradient(120% 58% at 14% -8%, rgba(110, 172, 255, .30), rgba(110, 172, 255, 0) 58%),
    radial-gradient(88% 46% at 100% 108%, rgba(34, 211, 238, .18), rgba(34, 211, 238, 0) 64%),
    linear-gradient(178deg, #0A1560 0%, #101F9E 46%, #172AE8 100%);
  border-right: none;
  box-shadow: inset 0 2px 0 rgba(126, 166, 255, .9), var(--shadow-nav);
}
.side-head { color: var(--nav-ink); }
.sidebar .mode-btn {
  background: transparent; border-color: transparent;
  box-shadow: none; color: var(--nav-ink);
}
.sidebar .mode-btn:hover {
  background: var(--nav-hover); color: #fff;
  box-shadow: none; transform: none;
}
.side-head { color: var(--nav-ink-dim); }
.side-head:hover { background: var(--nav-hover); color: #fff; }
.side-head .side-cap { color: rgba(188, 206, 255, .62); }
.sidebar .mode-btn.active {
  background: var(--nav-active);
  color: #fff;
  font-weight: 600;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .18),
    inset 3px 0 0 var(--accent),
    0 4px 14px rgba(4, 10, 48, .30);
}
.side-head.active {
  background: rgba(255, 255, 255, .13);
  color: #fff;
  font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15);
}
.side-head.active .side-ico { opacity: 1; color: #fff; }
.mode-tag {
  background: rgba(255, 255, 255, .17); color: rgba(232, 240, 255, .92);
}
.side-foot {
  color: rgba(196, 212, 255, .56);
  border-top: 1px solid var(--nav-line);
}
@media (max-width: 900px) {
  .sidebar {
    background:
      radial-gradient(130% 100% at 6% 0%, rgba(110, 172, 255, .26), rgba(110, 172, 255, 0) 62%),
      linear-gradient(96deg, #0A1560 0%, #101F9E 54%, #172AE8 100%);
    box-shadow: inset 0 2px 0 rgba(126, 166, 255, .9), 0 4px 16px rgba(8, 16, 70, .22);
    border-bottom: none;
  }
  .side-head { border-right-color: var(--nav-line); }
}
.topbar {
  background: rgba(255, 255, 255, .92);
  border-bottom-color: transparent;
  box-shadow: 0 1px 0 rgba(21, 38, 224, .10), 0 8px 24px rgba(11, 30, 138, .055);
}
.topbar::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; z-index: 2;
  background: linear-gradient(90deg,
    rgba(126, 166, 255, .9) 0%, var(--brand-400) 22%,
    var(--accent) 66%, rgba(34, 211, 238, 0) 100%);
}
.brand-title {
  background: linear-gradient(96deg, var(--brand-700), var(--brand-500) 58%, var(--accent-ink));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.card {
  border-color: #E4EAF7;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .95);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .22s var(--ease), transform .22s var(--ease), border-color .22s var(--ease);
}
.card:hover {
  box-shadow: var(--shadow-md);
  border-color: #D2DBFA;
  transform: translateY(-2px);
}
.card-title::before,
.poster-title h2::before {
  height: 16px;
  background: linear-gradient(180deg, var(--brand-500), var(--accent));
  box-shadow: 0 0 8px rgba(34, 211, 238, .45);
}
.btn.primary { position: relative; overflow: hidden; }
.btn.primary::after {
  content: ''; position: absolute; top: -30%; left: -150%;
  width: 52%; height: 160%; pointer-events: none;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .46), rgba(255, 255, 255, 0));
  transform: skewX(-20deg);
  transition: left .62s var(--ease);
}
.btn.primary:hover::after { left: 160%; }
.btn.primary:disabled::after { display: none; }
body::after {
  background:
    radial-gradient(circle at 88% -8%, rgba(21, 38, 224, .14), rgba(21, 38, 224, 0) 52%),
    radial-gradient(circle at 2% 16%, rgba(34, 211, 238, .10), rgba(34, 211, 238, 0) 42%),
    linear-gradient(180deg, rgba(255, 255, 255, .86) 0%, rgba(247, 250, 255, .90) 45%, rgba(240, 245, 255, .94) 100%);
}
input[type="text"]:hover, input[type="password"]:hover,
textarea:hover, select:hover { border-color: #CDD6F2; }
::-webkit-scrollbar-thumb { background: #B9C6E6; }
::-webkit-scrollbar-thumb:hover { background-color: var(--brand-400); }
:focus-visible { outline: 2px solid var(--brand-500); outline-offset: 2px; }
.auth-wrap {
  border-radius: 22px;
  box-shadow: 0 40px 100px rgba(4, 10, 45, .55), inset 0 0 0 1px rgba(255, 255, 255, .5);
}
.auth-hero::before {
  background:
    radial-gradient(78% 58% at 12% 0%, rgba(110, 172, 255, .28), rgba(110, 172, 255, 0) 62%),
    linear-gradient(165deg,
      rgba(6, 14, 60, .80) 0%, rgba(9, 20, 78, .56) 44%,
      rgba(21, 38, 224, .48) 76%, rgba(34, 211, 238, .30) 100%);
}
.hero-body h2 {
  background: linear-gradient(96deg, #fff, #DCE8FF 60%, #A9E9F6);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero-points li::before { color: var(--accent); }
.auth-tabs { background: var(--brand-50); }
.auth-tab.active {
  background: linear-gradient(135deg, var(--brand-600), var(--brand-500));
  color: #fff;
  box-shadow: 0 4px 12px rgba(21, 38, 224, .28);
}
.bd-card {
  border-radius: 14px;
  transition: box-shadow .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.bd-card:hover {
  border-color: #C5D1F6;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.bd-card.is-new {
  border-left: 3px solid #E23B4E;
  background: linear-gradient(96deg, #FFF4F6, #fff 32%);
}
.bd-new {
  background: linear-gradient(135deg, #FF5470, #E0243F);
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(224, 36, 63, .34);
}
.bd-cat, .bd-dl, .bd-score { box-shadow: 0 1px 2px rgba(11, 30, 138, .06); }
.bid-bar {
  border-radius: 12px;
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--shadow-xs);
}
@media (min-width: 901px) {
  .sidebar { top: 0; padding-top: var(--tb-h); }
}
.side-head > span, .mode-tag, .side-cap { white-space: nowrap; }
.mode-tag {
  flex: none; margin-left: auto;
  font-size: 9.5px; padding: 1.5px 5px; letter-spacing: 0; line-height: 1.5;
}
.side-head .side-cap { flex: none; }
.side-head > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.result-empty {
  border-color: #C6D3F5;
  background:
    radial-gradient(72% 120% at 50% -18%, rgba(21, 38, 224, .075), rgba(21, 38, 224, 0) 62%),
    linear-gradient(180deg, #FBFDFF, #F1F7FF);
}
.result-empty .re-step {
  border-color: #E3E9F7;
  box-shadow: var(--shadow-xs);
  transition: box-shadow .2s var(--ease), transform .2s var(--ease), border-color .2s var(--ease);
}
.result-empty .re-step:hover {
  border-color: #C6D3F5;
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.result-empty .re-step b { color: var(--brand-600); }
.avatar {
  background: linear-gradient(135deg, var(--brand-600), var(--brand-400));
  box-shadow: 0 2px 8px rgba(21, 38, 224, .30);
}
.pm-list { margin-top: 12px; }
.pm-scope { display: flex; gap: 6px; margin: 6px 0 8px; }
.pm-scope-btn {
  font: inherit; font-size: 12px; line-height: 1; padding: 6px 14px; cursor: pointer;
  border: 1px solid var(--line); border-radius: 999px; background: #fff;
  color: var(--ink-2); transition: background .15s, color .15s, border-color .15s;
}
.pm-scope-btn:hover { border-color: var(--brand-300, var(--line)); color: var(--ink); }
.pm-scope-btn.is-on {
  background: var(--brand-600, #2F6BFF); border-color: var(--brand-600, #2F6BFF);
  color: #fff; font-weight: 600;
}
.pm-zone {
  font-size: 10.5px; padding: 0 7px; border-radius: 999px; white-space: nowrap;
  background: #EEF6FF; color: #23508F; border: 1px solid #CFE3FB;
}
.pm-mailed {
  margin-top: 8px; font-size: 12px; color: #1B6B3A;
  background: #F1FAF4; border: 1px solid #CFE9D8; border-radius: 7px; padding: 5px 9px;
}
.pm-mailerr {
  margin-top: 8px; font-size: 12px; color: #A3322B;
  background: #FFF5F4; border: 1px solid #F3D2CE; border-radius: 7px; padding: 5px 9px;
  word-break: break-all;
}
.pm-card { padding: 13px 15px; }
.pm-card.pm-fresh { background: linear-gradient(96deg, #F3FBFF, #fff 26%); }
.pm-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.pm-who { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; min-width: 0; }
.pm-unit { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.pm-chip {
  font-size: 10.5px; line-height: 1.6; padding: 0 6px; border-radius: 999px;
  border: 1px solid transparent; white-space: nowrap;
}
.pm-wait  { background: #EEF2FF; color: #3B52B8; border-color: #D6DEFF; }
.pm-ready { background: #E7F8F2; color: #12805C; border-color: #C4EBDD; }
.pm-done  { background: #EDF0F5; color: #5A6577; border-color: #DDE2EA; }
.pm-off   { background: #F4F5F7; color: #8A909C; border-color: #E4E7EC; }
.pm-hit   { background: linear-gradient(135deg, #FFF1F3, #FFE6EA); color: var(--love); border-color: rgba(224, 36, 63, .28); }
.pm-mailchip {
  font-size: 10.5px; line-height: 1.6; padding: 0 7px; border-radius: 999px;
  background: #E7F8F2; color: #0B6B4F; border: 1px solid #BFE8D8;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.pm-fit { flex: none; text-align: center; line-height: 1.1; color: var(--brand-600); }
.pm-fit span { font-size: 18px; font-weight: 700; }
.pm-fit small { display: block; font-size: 9.5px; color: var(--muted); letter-spacing: .04em; }
.pm-title { margin: 6px 0 8px; font-size: 13px; color: var(--ink-2); line-height: 1.55; }
.pm-tag {
  background: rgba(21, 38, 224, .07); color: var(--brand-600);
  padding: 1px 7px; border-radius: 5px; font-weight: 600;
}
.pm-soon { color: var(--love); font-weight: 600; }
.pm-src { color: var(--muted); }
.pm-acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.pm-draft {
  margin-top: 11px; padding: 11px 13px; border-radius: 10px;
  background: #FBFCFE; border: 1px solid var(--line);
}
.pm-angle { font-size: 12px; color: var(--brand-600); font-weight: 600; margin-bottom: 9px; }
.pm-block + .pm-block { margin-top: 11px; }
.pm-block h4 {
  font-size: 12px; color: var(--ink); margin-bottom: 5px; font-weight: 600;
  padding-left: 8px; position: relative;
}
.pm-block h4::before {
  content: ''; position: absolute; left: 0; top: 3px; bottom: 3px; width: 3px;
  border-radius: 2px; background: linear-gradient(180deg, var(--brand-500), var(--accent));
}
.pm-body { font-size: 12.5px; line-height: 1.75; color: var(--ink-2); white-space: normal; }
.pm-script { margin: 0; padding-left: 18px; }
.pm-script li { font-size: 12.5px; line-height: 1.7; color: var(--ink-2); margin-bottom: 3px; }
.pm-empty {
  padding: 42px 20px; text-align: center; color: var(--muted);
  font-size: 13px; line-height: 1.9; border: 1px dashed var(--line-2, var(--line));
  border-radius: 12px; background: rgba(255, 255, 255, .6);
}
.pm-check { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--ink-2); white-space: nowrap; }
.pm-check input { width: auto; }
.pm-hint { font-size: 11.5px; color: var(--muted); }
.pm-prof-h { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.pm-prof-h b { font-size: 14px; color: var(--ink); }
.pm-sum {
  font-size: 13px; line-height: 1.8; color: var(--ink-2);
  padding: 10px 12px; border-radius: 10px; background: #F7F9FF;
  border-left: 3px solid var(--brand-500); margin-bottom: 10px;
}
.pm-kv { font-size: 12.5px; color: var(--ink-2); margin-bottom: 4px; }
.pm-kv span { display: inline-block; width: 42px; color: var(--muted); }
.pm-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 12px; }
.pm-cols small { display: block; font-size: 11px; color: var(--muted); margin-bottom: 5px; letter-spacing: .04em; }
.pm-cols ul { margin: 0; padding-left: 16px; }
.pm-cols li { font-size: 12px; line-height: 1.7; color: var(--ink-2); }
@media (max-width: 720px) {
  .pm-card { padding: 11px 12px; }
  .pm-unit { font-size: 13.5px; }
  .pm-acts .btn { padding: 4px 8px; font-size: 11.5px; }
}
.pm-warnchip {
  background: #FFF1F0; color: #C0392B; border-color: #F5C6C0;
  font-weight: 600;
}
.pm-warnbox {
  margin: 8px 0 12px; padding: 10px 12px; border-radius: 10px;
  background: #FFF7F6; border: 1px solid #F3C9C4; border-left: 3px solid #C0392B;
}
.pm-warnbox b { display: block; font-size: 12.5px; color: #C0392B; margin-bottom: 5px; }
.pm-warnbox ul { margin: 0 0 6px; padding-left: 18px; }
.pm-warnbox li { font-size: 12px; line-height: 1.8; color: #8C4A44; }
.pm-warnbox small { font-size: 11.5px; color: #A0675F; }
.pm-cites { margin: 0; padding-left: 18px; }
.pm-cites li { font-size: 12px; line-height: 1.75; margin-bottom: 4px; color: var(--ink-2); }
.pm-cites a { color: var(--brand-600, var(--brand-500)); text-decoration: none; }
.pm-cites a:hover { text-decoration: underline; }
.pm-cites small { display: inline-block; margin-left: 6px; font-size: 10.5px; color: var(--muted); }
.pm-nosrc small { font-size: 11.5px; color: var(--muted); line-height: 1.7; }
.trade-mod { max-width: 1500px; }
.trade-wrap {
  display: grid;
  grid-template-columns: 336px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  margin-top: 12px;
}
.td-list {
  display: flex; flex-direction: column; gap: 9px;
  max-height: calc(100vh - 268px);
  overflow-y: auto; padding-right: 4px;
}
.td-blank {
  padding: 26px 16px; text-align: center; line-height: 2;
  font-size: 13px; color: var(--ink-3);
}
.td-card {
  border: 1px solid var(--line); border-radius: 12px; background: #fff;
  padding: 12px 14px; cursor: pointer; box-shadow: var(--shadow-xs);
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.td-card:hover { border-color: var(--brand-200); box-shadow: var(--shadow-sm); }
.td-card.is-on { border-color: var(--brand-500); box-shadow: var(--ring); }
.td-c-title {
  font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.td-c-en {
  margin-top: 3px; font-size: 11.5px; color: var(--ink-3); line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.td-c-meta { margin-top: 7px; font-size: 11.5px; color: var(--ink-3); }
.td-topic { color: var(--brand-600); font-weight: 600; }
.td-dot { margin: 0 5px; opacity: .55; }
.td-c-foot {
  margin-top: 8px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.td-c-right { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; }
.td-tag {
  font-style: normal; font-size: 10.5px; padding: 2px 7px; border-radius: 20px;
  background: var(--brand-soft); color: var(--brand-600); border: 1px solid var(--brand-100);
}
.td-src { font-size: 10.5px; color: var(--accent-ink); }
.td-nonet { font-size: 10.5px; color: var(--warn); }
.td-warn { font-size: 10.5px; color: var(--warn); border: 1px solid #fde68a; background: #fffbeb; padding: 1px 6px; border-radius: 20px; }
.td-time { font-size: 10.5px; color: var(--ink-3); }
.td-view {
  border: 1px solid var(--line); border-radius: 14px; background: #fff;
  overflow: hidden; box-shadow: var(--shadow-sm);
}
.td-empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; min-height: 420px; color: var(--ink-3); font-size: 13.5px;
}
.td-empty .ic { width: 34px; height: 34px; opacity: .4; }
.td-dhead { padding: 15px 20px 13px; border-bottom: 1px solid var(--line); }
.td-dhead h3 { margin: 0; font-size: 17px; line-height: 1.45; color: var(--ink); font-weight: 600; }
.td-meta { margin-top: 6px; font-size: 12px; color: var(--ink-3); }
.td-busy { color: var(--brand-600); font-weight: 600; }
.td-acts { margin-top: 12px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.td-tabs { display: inline-flex; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; margin-right: auto; }
.td-tab {
  border: 0; background: #fff; padding: 6px 13px; font-size: 12.5px; cursor: pointer;
  color: var(--ink-2); border-right: 1px solid var(--line); font-family: inherit;
}
.td-tab:last-child { border-right: 0; }
.td-tab.is-on { background: var(--brand-soft); color: var(--brand-600); font-weight: 600; }
.td-note {
  margin: 12px 20px 0; padding: 10px 13px; border-radius: 9px; font-size: 12.5px; line-height: 1.75;
  background: #fffbeb; border: 1px solid #fde68a; color: #92400e;
}
.td-note-dim { display: block; margin-top: 3px; color: #a16207; opacity: .85; }
.td-preview {
  display: block; width: 100%; height: min(72vh, 900px);
  border: 0; background: #fff; margin-top: 4px;
}
.td-cites { padding: 0 20px 18px; }
.td-cites-h { font-size: 12px; color: var(--ink-3); margin-bottom: 7px; }
.td-cites-none { color: var(--warn); }
.td-cite {
  display: flex; align-items: flex-start; gap: 6px; font-size: 12px; line-height: 1.7;
  color: var(--brand-600); text-decoration: none; margin-bottom: 4px; word-break: break-all;
}
.td-cite:hover { text-decoration: underline; }
.td-cite .ic { width: 12px; height: 12px; flex: 0 0 12px; margin-top: 4px; opacity: .6; }
@media (max-width: 1080px) {
  .trade-wrap { grid-template-columns: 1fr; }
  .td-list { max-height: 300px; }
  .td-preview { height: 64vh; }
}
.nv-wrap { position: relative; flex: none; }
.nv-wrap[hidden] { display: none; }
.mode-btn[hidden] { display: none; }
.nv-bell {
  position: relative; width: 34px; height: 34px; padding: 0;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 999px;
  background: #f9fafb; color: var(--ink-2); cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.nv-bell:hover { background: #fff; border-color: var(--brand); color: var(--brand); }
.nv-bell .ic { width: 17px; height: 17px; }
.nv-badge {
  position: absolute; top: -4px; right: -4px; min-width: 17px; height: 17px; padding: 0 5px;
  border-radius: 999px; background: #E23B4E; color: #fff; border: 2px solid #fff;
  font-size: 10.5px; font-weight: 700; font-style: normal; line-height: 15px; text-align: center;
}
.nv-badge[hidden] { display: none; }
.nv-panel {
  position: absolute; top: 42px; right: 0; z-index: 90; width: 330px; max-width: 84vw;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, .14); overflow: hidden;
}
.nv-panel[hidden] { display: none; }
.nv-head {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 10px 12px; border-bottom: 1px solid var(--line);
}
.nv-head b { font-size: 12.5px; }
.nv-list { max-height: 320px; overflow-y: auto; padding: 6px; }
.nv-cap { font-size: 11px; font-weight: 600; color: var(--ink-3); padding: 6px 6px 4px; }
.nv-item { display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: 8px; }
.nv-item.pending { background: #FFFBEB; }
.nv-item + .nv-cap { margin-top: 4px; }
.nv-main { flex: 1; min-width: 0; }
.nv-t {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  font-size: 12.5px; font-weight: 600; color: var(--ink);
}
.nv-u { font-weight: 400; font-size: 11.5px; color: var(--ink-3); }
.nv-new {
  font-style: normal; font-size: 10px; font-weight: 700; color: #fff;
  background: #E23B4E; border-radius: 4px; padding: 1px 4px;
}
.nv-d { font-size: 11px; color: var(--ink-3); margin-top: 2px; }
.nv-ops { display: flex; gap: 6px; flex: none; }
.nv-tag { flex: none; font-size: 11px; font-weight: 600; color: var(--ink-3); }
.nv-tag.approved { color: var(--ok, #16A34A); }
.nv-tag.rejected, .nv-tag.removed { color: var(--danger); }
.nv-foot { display: flex; justify-content: flex-end; padding: 8px 12px; border-top: 1px solid var(--line); }
.approve-mod { padding-bottom: 40px; }
.ap-sec { margin-bottom: 18px; }
.ap-sec-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.ap-sec-head h3 { margin: 0; font-size: 13.5px; display: flex; align-items: center; gap: 6px; }
.ap-count {
  font-style: normal; min-width: 18px; height: 18px; padding: 0 6px; border-radius: 999px;
  background: #EEF2F7; color: var(--ink-3); font-size: 11px; font-weight: 700;
  line-height: 18px; text-align: center;
}
.ap-count.hot { background: #E23B4E; color: #fff; }
.ap-list { display: flex; flex-direction: column; gap: 8px; }
.ap-card, .ap-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; background: #fff;
  border: 1px solid var(--line); border-radius: 10px;
}
.ap-card.pending { border-color: #FCD34D; background: #FFFBEB; }
.ap-row { padding: 10px 14px; }
.ap-main { flex: 1; min-width: 0; }
.ap-name { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.ap-sub { font-weight: 400; font-size: 11.5px; color: var(--ink-3); margin-left: 4px; }
.ap-meta { font-size: 11.5px; color: var(--ink-3); margin-top: 3px; }
.ap-wait { color: #B45309; font-weight: 600; }
.ap-ops { display: flex; gap: 6px; flex: none; flex-wrap: wrap; }
.ap-tag { flex: none; font-size: 11.5px; font-weight: 600; }
.ap-tag.approved { color: var(--ok, #16A34A); }
.ap-tag.rejected, .ap-tag.removed { color: var(--danger); }
.ap-empty {
  padding: 16px 14px; background: #fff; border: 1px dashed var(--line);
  border-radius: 10px; color: var(--ink-3); font-size: 12.5px;
}
.ap-cfg { padding: 14px 16px; }
.bid-now.hot { background: #FEF2F2; border-color: #FECACA; color: #B91C1C; }
.btn.en-export {
  background: #1F3864; border-color: #1F3864; color: #fff;
  font-weight: 600; letter-spacing: .2px;
}
.btn.en-export:hover { background: #2B4A80; border-color: #2B4A80; color: #fff; }
.btn.en-export:not(:disabled):active { transform: translateY(1px); }
.btn.en-export:disabled { opacity: .45; cursor: not-allowed; }
@media (max-width: 1080px) {
  .ap-card, .ap-row { flex-direction: column; align-items: flex-start; }
  .ap-ops { width: 100%; }
}
:root {
  --nav-grad: linear-gradient(180deg, #0A1128 0%, #0C1535 52%, #12226E 100%);
  --nav-ink-hi: #7C9AFF;
  --hairline: #E8EDF7;
  --shadow-card: 0 1px 2px rgba(13, 22, 53, .04), 0 4px 14px rgba(13, 22, 53, .05);
  --shadow-card-hover: 0 2px 4px rgba(13, 22, 53, .05), 0 10px 28px rgba(13, 22, 53, .10);
}
body::before { content: none; }
body::after {
  background:
    radial-gradient(120% 46% at 50% -12%, rgba(21, 38, 224, .055), rgba(21, 38, 224, 0) 68%),
    linear-gradient(180deg, #F6F8FC 0%, #F4F6FB 100%);
}
.sidebar {
  background: var(--nav-grad);
  box-shadow: var(--shadow-nav);
}
@media (min-width: 901px) {
  .sidebar { top: 0; padding-top: var(--tb-h); }
}
@media (max-width: 900px) {
  .sidebar {
    background: linear-gradient(92deg, #0A1128 0%, #0C1535 54%, #12226E 100%);
    box-shadow: 0 4px 16px rgba(8, 14, 40, .22);
    border-bottom: none;
  }
}
.sidebar .mode-btn {
  background: transparent; border-color: transparent;
  box-shadow: none; color: var(--nav-ink);
}
.sidebar .mode-btn:hover {
  background: rgba(255, 255, 255, .07); color: #fff;
  box-shadow: none; transform: none;
}
.side-head { color: var(--nav-ink-dim); }
.side-head:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.side-head .side-cap { color: rgba(190, 205, 240, .70); }
.sidebar .mode-btn.active {
  background: rgba(255, 255, 255, .10);
  color: #fff;
  font-weight: 600;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .15),
    inset 3px 0 0 var(--nav-ink-hi);
}
.side-head.active {
  background: rgba(255, 255, 255, .07);
  color: #fff;
  font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
}
.side-head.active .side-ico { opacity: 1; color: #fff; filter: none; }
.mode-tag { background: rgba(255, 255, 255, .16); color: rgba(232, 240, 255, .92); }
.side-foot {
  color: rgba(190, 205, 240, .58);
  border-top: 1px solid rgba(255, 255, 255, .10);
}
.topbar {
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--hairline);
  box-shadow: 0 6px 20px rgba(13, 22, 53, .05);
}
.topbar::before { content: none; }
.brand-title {
  background: none; -webkit-background-clip: initial; background-clip: initial;
  -webkit-text-fill-color: currentColor; color: #0E1B66;
}
.card {
  border-color: #E6EBF5;
  border-radius: 12px;
  box-shadow: var(--shadow-card);
}
.card:hover {
  box-shadow: var(--shadow-card-hover);
  border-color: #D8E1F5;
  transform: none;
}
.card-title::before,
.poster-title h2::before {
  background: var(--brand-500);
  box-shadow: none;
}
.bd-card:hover, .result-empty .re-step:hover {
  transform: none;
}
.bd-card:hover { border-color: #D3DDF6; box-shadow: var(--shadow-card-hover); }
.bd-card { border-radius: 12px; }
.btn.primary::after { display: none; }
.btn.primary {
  background: var(--brand);
  box-shadow: 0 2px 8px rgba(21, 38, 224, .22);
}
.btn.primary:hover { background: var(--brand-700); box-shadow: 0 3px 10px rgba(21, 38, 224, .26); }
.btn.primary:not(:disabled):active { transform: translateY(1px); box-shadow: none; }
.btn:not(.primary):not(:disabled):active { transform: translateY(1px); }
input:focus, textarea:focus, select:focus {
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px rgba(21, 38, 224, .10);
}
select { cursor: pointer; }
.modal {
  background: rgba(10, 16, 38, .48);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.modal-box { border-radius: 14px; box-shadow: 0 30px 80px rgba(8, 14, 40, .30); }
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-thumb { background: #C7D2E8; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background-color: #9FB0D8; }
.banner.ok { background: #F3F6FF; color: #14267E; border-color: #DCE4FB; }
.auth-hero {
  background: var(--nav-grad);
}
.auth-hero::before { content: none; }
.hero-body h2 {
  background: none; -webkit-background-clip: initial; background-clip: initial;
  -webkit-text-fill-color: currentColor; color: #fff;
}
.hero-points li::before { color: var(--nav-ink-hi); }
.hero-foot { color: rgba(214, 226, 255, .72); }
.auth-tabs { background: #EEF2FB; }
.auth-tab.active {
  background: var(--brand);
  box-shadow: 0 3px 10px rgba(21, 38, 224, .24);
}
.auth-wrap {
  border-radius: 18px;
  box-shadow: 0 34px 90px rgba(4, 10, 45, .42), inset 0 0 0 1px rgba(255, 255, 255, .55);
}
.result-empty {
  border-color: #DEE6F7;
  background:
    radial-gradient(64% 90% at 50% -14%, rgba(21, 38, 224, .05), rgba(21, 38, 224, 0) 60%),
    linear-gradient(180deg, #FCFDFF, #F5F8FE);
}
.result-empty .re-step b { color: var(--brand-600); }
.avatar {
  background: var(--brand);
  box-shadow: 0 2px 8px rgba(21, 38, 224, .26);
}
.hub-mod { max-width: 1280px; }
.hub-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 12px; margin: 0 0 14px;
}
@media (max-width: 860px) { .hub-stats { grid-template-columns: repeat(2, 1fr); } }
.hub-cell {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 13px 15px 12px;
}
.hub-cell-k { font-size: 12.5px; color: var(--ink-3); }
.hub-cell-v {
  font-size: 26px; font-weight: 700; color: var(--brand-dark);
  line-height: 1.25; margin-top: 2px;
}
.hub-cell-v em { font-size: 12.5px; font-weight: 500; color: var(--ink-3); margin-left: 3px; font-style: normal; }
.hub-cell-s { font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.hub-brain-card { margin-bottom: 14px; }
.hub-brain { font-size: 13.5px; }
.hb-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-bottom: 8px; border-bottom: 1px dashed var(--line); margin-bottom: 10px;
}
.hb-k { font-weight: 600; color: var(--ink); }
.hb-v { color: var(--brand-dark); font-weight: 600; }
.hb-sec { font-size: 12.5px; color: var(--ink-3); margin: 12px 0 6px; }
.hb-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.hb-tag {
  font-size: 12px; padding: 2px 9px; border-radius: 999px;
  background: #F3F6FF; border: 1px solid #DCE4FB; color: var(--ink-2);
}
.hb-tag.bad { background: #FEF2F2; border-color: #FECACA; color: #B91C1C; }
.hb-tag.warn { background: #FFFBEB; border-color: #FDE68A; color: #92400E; }
.hb-ul { margin: 6px 0 0; padding-left: 18px; }
.hb-ul li { margin-bottom: 3px; }
.hb-ul em { color: var(--ink-3); font-style: normal; font-size: 12px; margin-left: 4px; }
.hb-users { display: flex; flex-wrap: wrap; gap: 8px; }
.hb-user {
  display: flex; flex-direction: column; gap: 1px;
  padding: 6px 12px; border: 1px solid var(--line); border-radius: 10px; background: #FBFCFF;
}
.hb-user b { font-size: 13px; }
.hb-user span { font-size: 12px; color: var(--ink-3); }
.hub-bar { padding: 12px 14px; margin-bottom: 14px; }
.hub-bar-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.hub-f { display: flex; flex-direction: column; gap: 4px; min-width: 130px; }
.hub-f-kw { flex: 1 1 220px; }
.hub-f-btn { justify-content: flex-end; }
.hub-f .lbl { font-size: 12px; }
.hub-list { display: flex; flex-direction: column; gap: 10px; }
.hub-card { padding: 13px 15px 11px; cursor: pointer; }
.hub-top { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.hub-kind { background: #EEF2FF; border-color: #DCE4FB; color: var(--brand-dark); }
.hub-score { background: #F3F4F6; border-color: #E5E7EB; color: var(--ink-2); }
.hub-score.good { background: #ECFDF5; border-color: #A7F3D0; color: #047857; }
.hub-mine { background: #EFF6FF; border-color: #BFDBFE; color: #1D4ED8; }
.hub-time { margin-left: auto; font-size: 12px; color: var(--ink-3); }
.hub-title {
  font-size: 15px; font-weight: 600; color: var(--ink);
  margin: 7px 0 4px; line-height: 1.45;
}
.hub-brief { font-size: 13px; color: var(--ink-2); line-height: 1.65; }
.hub-ol { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.hub-ol i {
  font-style: normal; font-size: 12px; color: var(--ink-3);
  background: #F7F9FD; border: 1px solid var(--line); border-radius: 6px; padding: 1px 7px;
}
.hub-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.hub-tag { font-size: 11.5px; color: var(--ink-3); }
.hub-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 10px; padding-top: 9px; border-top: 1px dashed var(--line);
}
.hub-who { font-size: 12px; color: var(--ink-3); }
.hub-ops { display: flex; gap: 6px; }
.hub-more { text-align: center; margin-top: 14px; }
.hub-view-meta { font-size: 12.5px; color: var(--ink-3); margin-bottom: 8px; }
.hub-view-text {
  width: 100%; height: 46vh; min-height: 260px; resize: vertical;
  font-family: var(--mono); font-size: 12.5px; line-height: 1.7;
  border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px;
  background: #FBFCFF; color: var(--ink-2);
}
.hub-view-acts { display: flex; justify-content: flex-end; gap: 8px; margin-top: 10px; }
.layout {
  grid-template-columns: minmax(400px, 540px) minmax(0, 1fr);
  gap: 20px;
  padding: 20px 24px 40px;
}
.bid-mod, .trade-mod { max-width: 1320px; }
.poster-mod, .approve-mod { max-width: 1320px; }
.bid-mod, .poster-mod { padding: 18px 24px 36px; }
.bid-head {
  background: #fff;
  border: 1px solid #E6EBF5;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 16px 20px;
  margin-bottom: 14px;
}
.bid-title h2 {
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 4px;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.bid-title h2::before {
  content: ''; width: 4px; height: 18px; border-radius: 3px;
  background: var(--brand); flex: none;
}
.bid-title p { font-size: 12.5px; color: var(--ink-2); max-width: 860px; }
.bid-acts { padding-top: 2px; }
input[type="text"], input[type="search"], input[type="date"],
input[type="number"], input[type="password"], input:not([type]),
select, textarea {
  border-radius: 10px;
  border-color: #DCE3F0;
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
input:hover:not(:focus):not([disabled]),
select:hover:not(:focus):not([disabled]),
textarea:hover:not(:focus) { border-color: #C4D0EA; }
.lbl { font-size: 12.5px; letter-spacing: .2px; }
.btn {
  border-radius: 9px;
  font-weight: 600;
  letter-spacing: .2px;
}
.btn.primary { box-shadow: 0 2px 10px rgba(21, 38, 224, .20); }
.tabs { border-radius: 10px; }
.tab { border-radius: 7px; }
.card { padding: 16px 18px; }
.card-title { margin-bottom: 12px; }
.fg-head { padding: 8px 12px; }
.fg-body { padding: 4px 12px 10px; }
.fgroup { margin-bottom: 9px; border-radius: 11px; }
.btn-row { margin-top: 12px; }
.lbl { margin: 11px 0 5px; }
.tip { line-height: 1.55; }
.col-left, .col-right { gap: 14px; }
@media (min-width: 1180px) {
  .pr-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    max-height: 62vh;
    align-content: start;
  }
}
.pr-item { border-radius: 11px; }
.pr-item:hover { border-color: #C4D0EA; }
.side-nav { padding: 12px 10px; gap: 1px; }
.side-nav > .mode-btn:first-child, .side-nav > .side-head-plain { margin-top: 0; }
.sidebar .mode-btn { border-radius: 9px; }
.side-foot { padding: 12px 16px; font-size: 11.5px; letter-spacing: .4px; }
.topbar { height: 58px; }
:root { --tb-h: 58px; }
.brand-title { font-weight: 700; letter-spacing: .5px; }
.brand-divider { height: 22px; }
#btnSettings { box-shadow: none; }
.modal-box { border-radius: 16px; }
.modal-box .modal-head, .modal-box > h2 { letter-spacing: .2px; }
.result-empty { padding: 36px 26px 30px; border-color: #D9E2F5; }
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}
.btn:focus-visible, .mode-btn:focus-visible, .tab:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 0;
  box-shadow: 0 0 0 2px var(--brand), 0 0 0 4px rgba(255, 255, 255, .55);
}
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: none;
}
::-webkit-scrollbar { width: 8px; height: 8px; }
.dl-wrap table { border-color: #E8EDF7; }
.dl-wrap table th { background: #F7F9FE; }
@media (min-width: 1180px) {
  .pr-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    row-gap: 6px;
    padding: 10px;
  }
  .pr-thumb { grid-column: 1 / -1; width: 100%; height: 92px; }
  .pr-m { grid-column: 1 / -1; }
  .pr-nm { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.4; }
  .pr-item > .btn.tiny { grid-column: 2; grid-row: 3; justify-self: end; }
}
.of-swatch {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 8px 0 6px;
  padding: 8px 10px;
  background: #F7F9FE;
  border: 1px solid #E6EBF5;
  border-radius: 10px;
  min-height: 34px;
}
.of-swatch i {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  border: 1px solid rgba(15, 27, 51, .12);
  flex: 0 0 auto;
  box-shadow: inset 0 -8px 12px -8px rgba(0, 0, 0, .18);
}
.of-swatch i:first-child { width: 34px; }
.of-swatch b {
  margin-left: auto;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .3px;
  color: var(--muted, #6B7488);
  white-space: nowrap;
}
#ofPptBox {
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid #E6EBF5;
  border-left: 3px solid #2E75B6;
  border-radius: 10px;
  background: #FBFCFE;
}
#ofPptBox .lbl { margin-top: 0; }
#ofPptBox select { margin-bottom: 2px; }
#ofPptBox .btn-row { margin-top: 8px; }
#ofPptBox .tip { margin: 6px 0 0; line-height: 1.6; }
#btnOfThemeLearn.busy { opacity: .72; cursor: progress; }
#btnOfThemeLearn.busy::after {
  content: "";
  display: inline-block;
  width: 10px; height: 10px;
  margin-left: 6px;
  border: 2px solid rgba(255,255,255,.55);
  border-top-color: #fff;
  border-radius: 50%;
  vertical-align: -1px;
  animation: ofSpin .7s linear infinite;
}
@keyframes ofSpin { to { transform: rotate(360deg); } }
.of-swatch em {
  font-style: normal;
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 20px;
  background: #E8F1FC;
  color: #2E75B6;
  border: 1px solid #CFE2F6;
  white-space: nowrap;
}
.mailauto-mod .ma-wrap { max-width: 920px; margin: 0 auto; padding: 16px 18px 40px; }
.mailauto-mod .ma-row { display: flex; align-items: center; gap: 12px; margin-top: 12px; flex-wrap: wrap; }
.mailauto-mod .ma-sender { font-size: 12px; color: #8a94a6; }
.mailauto-mod .ma-count { font-size: 12px; font-weight: 400; color: #2E75B6; }
.mailauto-mod .ma-list-toolbar { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.mailauto-mod .ma-sel-info { font-size: 12px; color: #8a94a6; }
.mailauto-mod .ma-results { display: flex; flex-direction: column; gap: 6px; }
.mailauto-mod .ma-empty { color: #8a94a6; font-size: 13px; padding: 8px 0; }
.mailauto-mod .ma-item {
  display: flex; align-items: flex-start; gap: 10px; padding: 9px 11px;
  border: 1px solid #e7ebf1; border-radius: 9px; background: #fff; cursor: pointer;
}
.mailauto-mod .ma-item:hover { border-color: #cfe0f3; background: #f7fbff; }
.mailauto-mod .ma-item .ma-chk { margin-top: 3px; flex: 0 0 auto; }
.mailauto-mod .ma-item-info { min-width: 0; }
.mailauto-mod .ma-item-company { font-weight: 600; color: #243044; font-size: 14px; }
.mailauto-mod .ma-item-email { color: #2E75B6; font-size: 13px; word-break: break-all; }
.mailauto-mod .ma-item-meta { color: #9aa4b4; font-size: 11px; margin-top: 2px; word-break: break-all; }
.mailauto-mod .ma-progress { font-size: 14px; font-weight: 600; color: #243044; margin-bottom: 10px; }
.mailauto-mod .ma-report .ma-ok { color: #2e8b57; font-weight: 600; }
.mailauto-mod .ma-report .ma-err { color: #c0392b; }
.mailauto-mod .ma-report .ma-fail-head { font-weight: 600; margin: 8px 0 4px; color: #243044; }
.mailauto-mod .ma-report .ma-fail-item { color: #c0392b; font-size: 12px; padding: 2px 0; word-break: break-all; }
.mailauto-mod .ma-auto-card { background: #f3f8ff; border: 1px solid #d6e6fb; }
.mailauto-mod .ma-auto-desc { font-size: 13px; color: #4a5568; line-height: 1.7; margin: 4px 0 10px; }
.mailauto-mod .ma-auto-desc b { color: #2E75B6; }
.mailauto-mod .ma-auto-status { font-size: 12px; color: #2E75B6; line-height: 1.5; }
.mailauto-mod .ma-board { border: 1px solid #e6ebf2; border-radius: 10px; padding: 12px 14px; margin-top: 12px; background: #fff; }
.mailauto-mod .ma-board-auto { border-left: 4px solid #2E75B6; }
.mailauto-mod .ma-board-manual { border-left: 4px solid #2e8b57; }
.mailauto-mod .ma-board-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.mailauto-mod .ma-board-title { font-weight: 600; color: #243044; font-size: 14px; }
.mailauto-mod .ma-board-auto .ma-board-title { color: #2E75B6; }
.mailauto-mod .ma-board-manual .ma-board-title { color: #2e8b57; }
.mailauto-mod .ma-board .ma-list-toolbar { margin-bottom: 0; }
.ai-orb {
  position: fixed; right: 24px; bottom: 24px; width: 58px; height: 58px;
  border: 0; border-radius: 50%; cursor: grab; z-index: 9000; padding: 0;
  background:
    radial-gradient(circle at 32% 28%, rgba(255,255,255,.95) 0%, rgba(255,255,255,.18) 26%, rgba(255,255,255,0) 52%),
    conic-gradient(from 200deg, #6e5bff, #0a84ff 28%, #64d2ff 46%, #ff5ea8 68%, #ffb44d 86%, #6e5bff);
  box-shadow: 0 8px 22px rgba(70, 80, 180, .30), 0 0 0 1px rgba(255, 255, 255, .45) inset;
  transform: translate3d(var(--dx, 0px), var(--dy, 0px), 0) scale(var(--os, 1));
  transition: transform .2s cubic-bezier(.2, .8, .2, 1), box-shadow .2s, opacity .09s;
  animation: siriBreath 5s ease-in-out infinite;
  touch-action: none;
  -webkit-user-select: none; user-select: none;
  -webkit-tap-highlight-color: transparent;
  will-change: transform;
}
.ai-orb.dragging {
  --os: 1.05; cursor: grabbing;
  transition: box-shadow .2s, opacity .09s;
  filter: saturate(1.08);
}
.ai-orb.dragging::before { opacity: .95; }
.ai-orb::before {
  content: ''; position: absolute; inset: -9px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(110, 91, 255, .34), rgba(110, 91, 255, 0) 68%);
  animation: siriHalo 5s ease-in-out infinite;
}
.ai-orb::after {
  content: ''; position: absolute; inset: 7px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 50% 40%, rgba(255, 255, 255, .46), rgba(255, 255, 255, 0) 70%);
  mix-blend-mode: screen;
}
.ai-orb:hover { --os: 1.07; box-shadow: 0 12px 30px rgba(70, 80, 180, .42); }
.ai-orb:active { --os: .95; }
.ai-orb.away { opacity: 0; --os: .72; pointer-events: none; transition: opacity .09s ease, transform .09s ease; }
.ai-orb:focus-visible { outline: 2px solid #0a84ff; outline-offset: 5px; }
.ai-panel.siri {
  position: fixed; inset: 0; z-index: 9001;
  width: auto; height: auto; min-height: 0; max-width: none; max-height: none;
  height: 100dvh;
  display: flex; flex-direction: column; overflow: hidden;
  background: transparent;
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
}
.ai-panel.siri[hidden] { display: none; }
body.ai-dim { overflow: hidden; }
.ai-panel.siri::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: rgba(242, 244, 250, .88);
  -webkit-backdrop-filter: blur(42px) saturate(180%);
  backdrop-filter: blur(42px) saturate(180%);
  opacity: 0; transition: opacity .32s ease;
}
.ai-panel.siri.open::before { opacity: 1; }
@supports not ((backdrop-filter: blur(2px)) or (-webkit-backdrop-filter: blur(2px))) {
  .ai-panel.siri::before { background: rgba(247, 248, 252, .98); }
}
.siri-glow {
  position: absolute; inset: -18% -10% auto -10%; height: 74vh; pointer-events: none; z-index: 1;
  opacity: 0; transition: opacity .4s ease .1s;
  background:
    radial-gradient(38% 46% at 28% 32%, rgba(110, 91, 255, .14), transparent 70%),
    radial-gradient(34% 44% at 72% 26%, rgba(10, 132, 255, .13), transparent 70%),
    radial-gradient(30% 40% at 52% 62%, rgba(255, 94, 168, .09), transparent 72%);
  filter: blur(8px);
}
.siri-head {
  position: relative; z-index: 4;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px 6px;
}
.siri-brand { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: #6e6e73; letter-spacing: .02em; }
.siri-brand::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: linear-gradient(135deg, #6e5bff, #0a84ff);
  box-shadow: 0 0 10px rgba(110, 91, 255, .8);
}
.siri-ops { display: flex; gap: 2px; align-items: center; }
.siri-head { opacity: 0; transition: opacity .3s ease .12s; }
.ai-panel.open .siri-head { opacity: 1; }
.ai-ico {
  border: 0; background: transparent; color: #6e6e73; border-radius: 10px;
  font-size: 12.5px; padding: 6px 10px; cursor: pointer; font-family: inherit;
  transition: background .15s, color .15s;
}
.ai-ico:hover { background: rgba(0, 0, 0, .05); color: #1d1d1f; }
.ai-ico.on { background: rgba(10, 132, 255, .10); color: #0a84ff; }
.siri-close { font-weight: 600; }
.siri-flight {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  transform-origin: 50% 47%; will-change: transform;
}
.siri-center {
  position: absolute; left: 0; right: 0; top: 47%; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none; transform-origin: center;
  transform: translateY(-50%);
  transition: top .5s cubic-bezier(.2, .8, .2, 1), transform .5s cubic-bezier(.2, .8, .2, 1), opacity .35s ease;
}
.siri-canvas {
  width: min(340px, 62vw); height: min(340px, 62vw);
  display: block; filter: saturate(1.18) contrast(1.02);
}
.siri-hint {
  position: absolute; left: 0; right: 0; top: calc(47% + 156px); z-index: 2;
  font-size: 23px; font-weight: 600; color: #1d1d1f; letter-spacing: .01em;
  transition: opacity .3s ease .1s; text-align: center; padding: 0 20px;
  pointer-events: none; opacity: 0;
}
.ai-panel.open .siri-hint { opacity: 1; }
.ai-panel.chatting .siri-center { top: 0; transform: translateY(-14px) scale(.36); opacity: .95; }
.ai-panel.open .siri-glow { opacity: 1; }
.ai-panel.chatting .siri-hint { opacity: 0; }
.ai-panel.listening .siri-hint { color: #0a84ff; }
.ai-log {
  position: absolute; left: 50%; top: 28vh; bottom: calc(178px + var(--ai-kb, 0px));
  transform: translateX(-50%);
  width: min(720px, calc(100vw - 32px));
  overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  display: flex; flex-direction: column; gap: 10px;
  padding: 4px 4px 18px; z-index: 3; scrollbar-width: thin;
  background: transparent;
  opacity: 0; pointer-events: none; transition: opacity .3s ease .06s;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22px, #000 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 22px, #000 100%);
}
.ai-panel.chatting .ai-log { opacity: 1; pointer-events: auto; }
.ai-log > :first-child { margin-top: auto; }
.ai-log::-webkit-scrollbar { width: 6px; }
.ai-log::-webkit-scrollbar-thumb { background: rgba(0, 0, 0, .14); border-radius: 3px; }
.ai-msg {
  font-size: 15px; line-height: 1.66; padding: 11px 15px; border-radius: 18px;
  max-width: 90%; word-break: break-word; white-space: pre-wrap;
  animation: siriMsg .22s ease-out;
}
.ai-msg.me {
  align-self: flex-end; color: #fff; border-bottom-right-radius: 6px;
  background: linear-gradient(135deg, #0a84ff, #5e5ce6);
  box-shadow: 0 6px 16px rgba(10, 132, 255, .20);
}
.ai-msg.ai {
  align-self: flex-start; color: #1d1d1f; border-bottom-left-radius: 6px;
  background: rgba(255, 255, 255, .90);
  border: 1px solid rgba(0, 0, 0, .05);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.ai-msg.warn { align-self: flex-start; background: rgba(255, 248, 230, .95); color: #7a5b12; border: 1px solid rgba(242, 226, 182, .9); }
.ai-msg.err { align-self: flex-start; background: rgba(253, 236, 235, .95); color: #a8322b; border: 1px solid rgba(245, 205, 201, .9); }
.ai-msg.step { align-self: flex-start; background: transparent; color: #8e8e93; font-size: 12.5px; padding: 0 6px; animation: none; }
.ai-msg.long { max-width: 100%; }
.ai-msg.confirm { max-width: 100%; align-self: flex-start; background: rgba(255, 255, 255, .92); border: 1px solid rgba(0, 0, 0, .06); }
.ai-msg.stream::after {
  content: ''; display: inline-block; width: 7px; height: 15px; margin-left: 3px;
  background: #0a84ff; border-radius: 2px; vertical-align: -2px;
  animation: siriCaret .9s steps(1) infinite;
}
.ai-confirm-row { display: flex; gap: 8px; margin-top: 10px; }
.ai-mini {
  border: 1px solid rgba(0, 0, 0, .10); background: #fff; color: #3a3a3c;
  border-radius: 10px; font-size: 12.5px; padding: 6px 12px; cursor: pointer;
  text-decoration: none; display: inline-flex; align-items: center; font-family: inherit;
}
.ai-mini.primary { background: #0a84ff; border-color: #0a84ff; color: #fff; }
.ai-mini:hover { filter: brightness(.97); }
.ai-alts { display: flex; flex-direction: column; gap: 7px; align-self: flex-start; max-width: 100%; width: 100%; }
.ai-alt {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  text-align: left; border: 1px solid rgba(10, 132, 255, .18);
  background: rgba(255, 255, 255, .86); border-radius: 14px;
  padding: 9px 13px; cursor: pointer; max-width: 100%;
  transition: border-color .15s, background .15s, transform .15s;
}
.ai-alt:hover { border-color: rgba(10, 132, 255, .45); background: #fff; transform: translateY(-1px); }
.ai-alt-label { font-size: 14px; color: #1d1d1f; font-weight: 500; }
.ai-alt-why { font-size: 11.5px; color: #8e8e93; }
.siri-dock {
  position: absolute; left: 50%; transform: translateX(-50%) translateY(16px);
  bottom: calc(18px + var(--ai-kb, 0px)); width: min(720px, calc(100vw - 28px)); z-index: 5;
  display: flex; flex-direction: column; gap: 8px;
  opacity: 0;
  transition: opacity .3s ease, transform .46s cubic-bezier(.22, .86, .24, 1);
}
.ai-panel.open .siri-dock { opacity: 1; transform: translateX(-50%) translateY(0); }
.ai-chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 3px; scrollbar-width: none; }
.ai-chips::-webkit-scrollbar { display: none; }
.ai-chip {
  flex: none; border: 1px solid rgba(0, 0, 0, .08); background: rgba(255, 255, 255, .78);
  color: #3a3a3c; border-radius: 999px; font-size: 13px; padding: 8px 14px;
  cursor: pointer; white-space: nowrap; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: background .16s, border-color .16s, color .16s, transform .16s;
  font-family: inherit;
}
.ai-chip:hover { background: #fff; border-color: rgba(10, 132, 255, .30); color: #0a84ff; transform: translateY(-1px); }
.ai-chip.hot { background: rgba(10, 132, 255, .09); border-color: rgba(10, 132, 255, .22); color: #0a84ff; font-weight: 500; }
.ai-chip.recent { background: rgba(110, 91, 255, .08); border-color: rgba(110, 91, 255, .20); color: #5e5ce6; }
.siri-bar {
  display: flex; align-items: flex-end; gap: 6px;
  background: rgba(255, 255, 255, .88);
  border: 1px solid rgba(0, 0, 0, .06); border-radius: 26px;
  padding: 7px 7px 7px 8px;
  box-shadow: 0 12px 34px rgba(20, 30, 60, .12), 0 1px 0 rgba(255, 255, 255, .8) inset;
  -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%);
  transition: box-shadow .2s, border-color .2s;
}
.siri-bar:focus-within {
  border-color: rgba(10, 132, 255, .35);
  box-shadow: 0 12px 34px rgba(20, 30, 60, .14), 0 0 0 4px rgba(10, 132, 255, .10);
}
.ai-ta {
  flex: 1; min-height: 38px; resize: none; border: 0; background: transparent;
  padding: 9px 6px; font-size: 15px; line-height: 1.45; max-height: 132px;
  outline: none; font-family: inherit; color: #1d1d1f;
}
.ai-ta::placeholder { color: #a1a1a6; }
.ai-ta:focus { box-shadow: none; border-color: transparent; }
.ai-mic, .ai-send {
  width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center; flex: none;
  padding: 0; transition: background .16s, transform .16s, filter .16s;
}
.ai-mic { background: rgba(0, 0, 0, .05); color: #3a3a3c; }
.ai-mic:hover { background: rgba(0, 0, 0, .09); }
.ai-mic.on { background: #ff375f; color: #fff; animation: siriMic 1.4s ease-in-out infinite; }
.ai-send { background: linear-gradient(135deg, #0a84ff, #6e5bff); color: #fff; box-shadow: 0 4px 12px rgba(10, 132, 255, .30); }
.ai-send:hover { filter: brightness(1.05); transform: translateY(-1px); }
.ai-send:active { transform: scale(.94); }
.siri-auto-entry {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid rgba(10, 132, 255, .18); background: rgba(10, 132, 255, .09);
  color: #0a84ff; border-radius: 999px; font-size: 12px; padding: 4px 11px;
  cursor: pointer; font-family: inherit; transition: background .15s, border-color .15s;
}
.siri-auto-entry:hover { background: rgba(10, 132, 255, .14); border-color: rgba(10, 132, 255, .3); }
.siri-auto-entry::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: #0a84ff; box-shadow: 0 0 0 3px rgba(10, 132, 255, .14);
}
.siri-tools {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  font-size: 12px; color: #8e8e93; padding-bottom: 2px; flex-wrap: wrap;
}
.siri-more {
  border: 0; background: transparent; color: #8e8e93; font-size: 12px;
  padding: 4px 6px; cursor: pointer; font-family: inherit; border-radius: 8px;
}
.siri-more:hover { background: rgba(0, 0, 0, .05); color: #3a3a3c; }
.siri-more-panel {
  flex-basis: 100%; display: flex; align-items: center; justify-content: center;
  gap: 16px; padding-top: 2px;
}
.siri-more-panel[hidden] { display: none; }
.ai-voice-row { display: flex; align-items: center; gap: 6px; }
.ai-voice-label { font-size: 12px; color: #8e8e93; white-space: nowrap; }
.ai-voice {
  font-size: 12px; color: #3a3a3c; border: 0; background: transparent;
  padding: 2px 4px; cursor: pointer; max-width: 112px; font-family: inherit;
}
.ai-voice:focus { outline: 2px solid rgba(10, 132, 255, .4); border-radius: 6px; }
.siri-auto { display: flex; align-items: center; gap: 5px; cursor: pointer; user-select: none; }
.siri-auto input { accent-color: #0a84ff; width: 13px; height: 13px; margin: 0; }
@keyframes siriBreath {
  0%, 100% { box-shadow: 0 8px 22px rgba(70, 80, 180, .28), 0 0 0 1px rgba(255, 255, 255, .45) inset; }
  50% { box-shadow: 0 10px 30px rgba(70, 80, 180, .40), 0 0 0 1px rgba(255, 255, 255, .62) inset; }
}
@keyframes siriHalo {
  0%, 100% { opacity: .55; transform: scale(1); }
  50% { opacity: .92; transform: scale(1.08); }
}
@keyframes siriMsg { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes siriCaret { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes siriMic {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 55, 95, .30); }
  50% { box-shadow: 0 0 0 9px rgba(255, 55, 95, .05); }
}
@media (max-width: 640px) {
  .siri-head { padding: 12px 12px 4px; }
  .ai-ico { padding: 8px 8px; font-size: 12px; }
  .siri-center { top: 39%; }
  .siri-canvas { width: min(300px, 74vw); height: min(300px, 74vw); }
  .siri-hint { font-size: 18px; top: calc(39% + 130px); }
  .ai-panel.chatting .siri-center { top: 0; transform: translateY(-10px) scale(.32); }
  .ai-log { top: 22vh; bottom: calc(196px + var(--ai-kb, 0px)); width: calc(100vw - 20px); }
  .ai-msg { font-size: 14.5px; max-width: 94%; }
  .siri-dock {
    bottom: calc(max(12px, env(safe-area-inset-bottom)) + var(--ai-kb, 0px));
    width: calc(100vw - 20px);
  }
  .siri-bar { padding: 6px 6px 6px 6px; border-radius: 24px; }
  .ai-ta { font-size: 16px; min-height: 40px; padding: 9px 4px; }
  .ai-mic, .ai-send { width: 44px; height: 44px; }
  .ai-mic svg, .ai-send svg { width: 22px; height: 22px; }
  .ai-chip { font-size: 13px; padding: 9px 14px; }
  .siri-tools { gap: 10px; font-size: 11.5px; }
  .ai-orb { right: 16px; bottom: 16px; width: 54px; height: 54px; }
}
@media (max-height: 520px) {
  .siri-head { padding: 6px 14px 2px; }
  .siri-brand { font-size: 12px; }
  .siri-center { top: 42%; }
  .siri-canvas { width: min(190px, 34vh); height: min(190px, 34vh); }
  .siri-hint { display: none; }
  .ai-log { top: 14vh; bottom: calc(142px + var(--ai-kb, 0px)); }
  .siri-dock { bottom: calc(8px + var(--ai-kb, 0px)); gap: 5px; }
  .siri-tools { display: none; }
  .ai-panel.chatting .siri-center { transform: translateY(-4px) scale(.28); }
  .ai-msg { font-size: 14px; padding: 9px 13px; }
}
.mailauto-mod .ma-comp-results { display: flex; flex-direction: column; gap: 6px; }
.mailauto-mod .ma-comp-item {
  display: flex; align-items: flex-start; gap: 10px; padding: 8px 10px;
  border: 1px solid #e6ebf2; border-radius: 8px; background: #fff;
}
.mailauto-mod .ma-comp-item:hover { border-color: #c9d6e8; background: #fbfcfe; }
.mailauto-mod .ma-comp-item .ma-chk { margin-top: 3px; flex: none; }
.mailauto-mod .ma-comp-dot {
  flex: none; width: 13px; height: 13px; margin-top: 4px; border-radius: 50%;
  border: 1px dashed #c3ccda; background: #f2f5f9;
}
.mailauto-mod .ma-comp-main { flex: 1; min-width: 0; }
.mailauto-mod .ma-comp-name { font-weight: 600; color: #243044; font-size: 13px; word-break: break-all; }
.mailauto-mod .ma-comp-item .ma-item-meta { margin-top: 2px; }
.mailauto-mod .ma-comp-badge {
  flex: none; font-size: 11px; padding: 2px 7px; border-radius: 10px;
  border: 1px solid transparent; white-space: nowrap; margin-top: 2px;
}
.mailauto-mod .ma-comp-badge.auto { color: #2E75B6; background: #eaf2ff; border-color: #cfe0f7; }
.mailauto-mod .ma-comp-badge.manual { color: #2e8b57; background: #eaf7ef; border-color: #cfe8da; }
.mailauto-mod .ma-comp-tip { font-size: 12px; color: #8a94a6; }
.mailsend-mod .ms-wrap { max-width: 920px; margin: 0 auto; padding: 16px 18px 40px; }
.mailsend-mod .ms-row { display: flex; align-items: center; gap: 12px; margin-top: 12px; flex-wrap: wrap; }
.mailsend-mod .ms-sender { font-size: 12px; color: #8a94a6; }
.mailsend-mod .ms-result { line-height: 1.7; }
.mailsend-mod .ms-detail { color: #4a5568; font-size: 13px; word-break: break-all; }
.mailsend-mod .ma-ok { color: #2e8b57; font-weight: 600; }
.mailsend-mod .ma-err { color: #c0392b; font-weight: 600; }
.mailsend-mod .ms-form { display: flex; gap: 12px; margin-top: 12px; flex-wrap: wrap; }
.mailsend-mod .ms-form > div { flex: 1 1 140px; min-width: 120px; }
.mailsend-mod .ms-form input { width: 100%; }
.mailsend-mod .mb-status {
  margin-top: 12px; padding: 10px 12px; border: 1px solid #e6ebf2; border-radius: 9px;
  background: #f7f9fc; font-size: 13px; color: #46536a; line-height: 1.9;
}
.mailsend-mod .mb-status details { margin-top: 6px; font-size: 12px; color: #8a94a6; }
.mailsend-mod .mb-status details div { word-break: break-all; }
.mailsend-mod .mb-bar { height: 6px; border-radius: 3px; background: #e6ebf2; overflow: hidden; margin-top: 8px; }
.mailsend-mod .mb-bar > i { display: block; height: 100%; background: #2E75B6; transition: width .3s ease; }
.fc-box { margin-top: 12px; padding: 11px 13px; border: 1px solid #e3e9f1; border-radius: 9px; background: #fbfcfe; font-size: 12.5px; line-height: 1.7; }
.fc-box.fc-loading { color: #8b95a5; }
.fc-box.fc-fail { color: #b42318; border-color: #f6d5d0; background: #fff7f5; }
.fc-head { font-weight: 700; color: #26436b; }
.fc-meta { color: #5b6472; margin-top: 3px; }
.fc-meta b { color: #b45309; }
.fc-ok { color: #1a7f37; margin-top: 6px; }
.fc-list { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.fc-item { display: flex; gap: 8px; align-items: baseline; padding: 6px 9px; background: #fff; border: 1px solid #eef2f8; border-radius: 7px; }
.fc-num { flex: none; font-weight: 700; color: #b45309; font-variant-numeric: tabular-nums; }
.fc-item span:last-child { color: #4a5568; }
.fc-tip { color: #8b95a5; margin-top: 8px; }
:root {
  --ink:   #0F172A;
  --ink-2: #334155;
  --ink-3: #64748B;
  --line:  #E6E9EF;
  --bg:    #F5F6F8;
  --nav-grad: linear-gradient(180deg, #0B1220 0%, #0C1424 52%, #0E1729 100%);
  --nav-ink:     rgba(255, 255, 255, .90);
  --nav-ink-dim: rgba(203, 213, 225, .70);
  --nav-ink-hi:  #93B4FF;
  --hairline: #E6E9EF;
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, .04);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .04);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, .07);
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, .10);
  --shadow-card: 0 1px 2px rgba(15, 23, 42, .03);
  --shadow-card-hover: 0 1px 2px rgba(15, 23, 42, .04), 0 6px 20px rgba(15, 23, 42, .05);
  --shadow-nav: none;
  --shadow-brand: 0 1px 2px rgba(15, 23, 42, .08);
  --ring: 0 0 0 3px rgba(21, 38, 224, .10);
  --tb-h: 56px;
  --side-w: 216px;
  --radius: 12px;
}
body::after {
  background: linear-gradient(180deg, #F7F8FA 0%, #F3F5F8 100%);
}
.topbar {
  height: var(--tb-h);
  background: #fff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid var(--line);
  box-shadow: none;
}
.brand-title { font-size: 14.5px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.sidebar {
  background: var(--nav-grad);
  box-shadow: none;
  border-right: none;
}
.side-nav { padding: 14px 12px 16px; gap: 1px; }
.side-head {
  font-size: 11px; font-weight: 600; letter-spacing: .08em;
  color: var(--nav-ink-dim); padding: 8px 10px;
}
.side-head .side-cap { color: rgba(148, 163, 184, .85); }
.side-ico { opacity: .9; }
.sidebar .mode-btn.active {
  background: rgba(255, 255, 255, .09);
  color: #fff; font-weight: 600;
  box-shadow: inset 2px 0 0 var(--nav-ink-hi);
}
.side-head.active {
  background: rgba(255, 255, 255, .06);
  box-shadow: none;
  color: #fff;
}
.mode-tag {
  background: rgba(255, 255, 255, .10);
  color: rgba(226, 232, 240, .92);
  border-radius: 4px; padding: 2px 6px;
}
.card {
  padding: 20px 22px;
  border-radius: 12px;
  border-color: var(--line);
  box-shadow: var(--shadow-card);
  background: #fff;
}
.card:hover { border-color: #DCE1E9; box-shadow: var(--shadow-card-hover); transform: none; }
.card-title::before,
.poster-title h2::before,
.bid-title h2::before { content: none; }
.bid-title p { font-size: 13px; line-height: 1.75; color: var(--ink-2); }
.card-title {
  font-size: 15px; font-weight: 600; letter-spacing: -.01em;
  margin: 0 0 16px; color: var(--ink);
}
h4 { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.layout { padding: 26px 32px 44px; gap: 20px; }
.col-left, .col-right { gap: 18px; }
.btn { border-radius: 8px; box-shadow: none; }
.btn:hover { background: #F7F9FC; border-color: #D5DBE5; box-shadow: none; }
.btn.primary {
  background: linear-gradient(180deg, #1E32EA 0%, #1526E0 100%);
  border-color: #1526E0;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .10);
}
.btn.primary::after { content: none; }
.btn.primary:hover {
  background: linear-gradient(180deg, #1526E0 0%, #101FB8 100%);
  border-color: #101FB8;
  box-shadow: 0 2px 8px rgba(21, 38, 224, .22);
  transform: none;
}
.btn.primary:not(:disabled):active {
  transform: none;
  box-shadow: inset 0 1px 3px rgba(4, 10, 45, .24);
}
.btn.tiny { border-radius: 6px; }
input[type="text"], input[type="password"], input:not([type]),
textarea, select {
  padding: 10px 12px; border-radius: 8px;
  border-color: #DFE4EC; font-size: 13.5px;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--brand-600);
  box-shadow: 0 0 0 3px rgba(21, 38, 224, .10);
}
.lbl { font-size: 12.5px; color: var(--ink-2); }
.auth-gate { background: #0A1020; background-image: none; }
.auth-gate::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(120% 78% at 50% -10%, rgba(43, 68, 245, .20), rgba(10, 16, 32, 0) 62%);
}
.auth-wrap {
  border-radius: 16px;
  box-shadow:
    0 28px 80px rgba(3, 7, 22, .48),
    0 2px 8px rgba(3, 7, 22, .18),
    inset 0 0 0 1px rgba(255, 255, 255, .10);
}
.auth-hero { background: var(--nav-grad); padding: 38px 34px; }
.auth-card { padding: 34px 34px 26px; }
.hero-body h2 { font-size: 24px; font-weight: 700; line-height: 1.5; letter-spacing: -.01em; margin: 34px 0 18px; }
.hero-points { font-size: 13.5px; line-height: 2.1; }
.hero-foot { color: rgba(148, 163, 184, .80); }
.auth-tabs { background: #F1F3F7; border-radius: 9px; padding: 3px; }
.auth-tab { border-radius: 7px; }
.result-empty {
  border-color: var(--line);
  background:
    radial-gradient(64% 90% at 50% -14%, rgba(21, 38, 224, .035), rgba(21, 38, 224, 0) 62%),
    #FCFDFF;
}
.tabs { background: #F1F3F7; border-radius: 9px; }
.tab { border-radius: 7px; }
.tab.active { box-shadow: 0 1px 2px rgba(15, 23, 42, .08); }
.modal-box { border-radius: 14px; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb {
  background: #D3D8E0; border-radius: 8px;
  border: 3px solid transparent; background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover { background-color: #B8BFCB; }
::selection { background: rgba(21, 38, 224, .14); }
.pane-owner {
  background: #F7F8FA;
  border-color: var(--line);
  border-radius: 8px;
}
.pane-owner .po-t { color: var(--ink); }
.avatar { background: var(--brand-600); box-shadow: none; }
.hub-cell-v {
  font-size: 28px; font-weight: 700; color: var(--ink);
  font-variant-numeric: tabular-nums; letter-spacing: -.02em;
}
.hub-cell { border-radius: 12px; }
.hub-cell-k { font-size: 12.5px; color: var(--ink-3); letter-spacing: .01em; }
@media (min-width: 901px) {
  .sidebar { top: 0; padding-top: var(--tb-h); }
}
@media (max-width: 900px) {
  .layout { padding: 16px 16px 32px; gap: 16px; }
  .sidebar { background: linear-gradient(92deg, #0B1220 0%, #0C1424 54%, #0E1729 100%); }
  .card { padding: 18px; }
  .auth-card { padding: 26px 24px 22px; }
}
@media (max-width: 520px) {
  .layout { padding: 12px 12px 28px; }
}
.col-right { align-self: stretch; }
.col-right > .card.result { flex: 1 1 auto; }
.card.result > .pane { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.card.result .pane > .result-empty {
  flex: 1; display: flex; flex-direction: column; justify-content: center;
  padding: 30px 24px;
}
.card.result .pane > .phone { flex: 1; display: flex; }
.card.result .pane > .phone iframe { flex: 1; height: auto; min-height: 460px; }
.card.result .pane > .md-source { flex: 1; min-height: 420px; }
.card.result .pane .vd-body { flex: 1; max-height: none; }
.card.result .pane .vd-body:has(> .tip:only-child) {
  display: flex; align-items: center; justify-content: center;
}
.card.result .pane .vd-body:has(> .tip:only-child) > .tip { max-width: 460px; text-align: center; margin: 0; }
.layout { padding: 22px 28px 34px; gap: 16px; }
.col-left, .col-right { gap: 14px; }
.card { padding: 18px 20px; }
.card-title { margin-bottom: 12px; }
.fgroup { margin-bottom: 8px; }
.fg-head { padding: 7px 12px; }
.fg-body { padding: 2px 12px 10px; }
.lbl { margin: 9px 0 5px; }
.check { margin: 7px 0; }
.btn-row { margin-top: 12px; }
.stages { gap: 6px; }
.result-empty { padding: 30px 24px; }
.bd-empty { padding: 28px 20px; }
.pm-empty { padding: 28px 20px; }
.td-empty { min-height: 300px; }
@media (max-width: 1024px) {
  .layout { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .layout { padding: 16px 16px 28px; gap: 14px; }
  .card { padding: 16px; }
}
@media (max-width: 520px) {
  .layout { padding: 12px 12px 24px; }
}
.trade-wrap { align-items: stretch; }
.td-side {
  display: flex; flex-direction: column; min-height: 0;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-sm); overflow: hidden;
  max-height: calc(min(72vh, 900px) + 300px);
}
.td-side-h {
  flex: none; display: flex; align-items: center; justify-content: space-between;
  gap: 10px; padding: 11px 16px; border-bottom: 1px solid var(--line);
  background: #FAFBFC; font-size: 12.5px; font-weight: 600; color: var(--ink-2);
}
.td-side-n { font-size: 11.5px; font-weight: 400; color: var(--ink-3); }
.td-list { flex: 1 1 auto; min-height: 0; gap: 0; padding: 0; max-height: none; }
.td-card {
  border: 0; border-radius: 0; box-shadow: none; background: #fff;
  padding: 14px 16px; border-bottom: 1px solid var(--line);
  transition: background .15s;
}
.td-card:hover { background: #F8FAFC; border-color: var(--line); box-shadow: none; }
.td-card.is-on {
  background: var(--brand-soft); border-color: var(--line);
  box-shadow: inset 3px 0 0 var(--brand-500);
}
.td-card:last-child { border-bottom: 0; }
.td-list:has(> .td-blank) { justify-content: center; }
.td-empty[hidden] { display: none; }
@media (max-width: 1080px) {
  .td-side { max-height: min(64vh, 460px); }
  .td-card { padding: 12px 14px; }
}
.ma-src { color: #2E75B6; text-decoration: none; border-bottom: 1px dashed #b9d3ee; }
.ma-src:hover { color: #1b5fa8; border-bottom-style: solid; }
.ma-comp-mail { color: #2E75B6; word-break: break-all; }
.ma-item-company.unknown { color: #8a94a6; font-weight: 500; font-style: normal; }
.mailauto-mod .ma-comp-item .ma-item-meta a.ma-src { word-break: break-all; }
.cokb-stats { grid-template-columns: repeat(5, 1fr); }
.cokb-src { font-weight: 600; }
.cokb-src.s-company { color: #1d4ed8; background: #eaf0ff; border-color: #d3e0ff; }
.cokb-src.s-oa { color: #0e7490; background: #e2f7fb; border-color: #c3e9f2; }
.cokb-src.s-vault { color: #6d28d9; background: #f2ecff; border-color: #e2d6ff; }
.cokb-src.s-learn { color: #475569; background: #eef2f7; border-color: #dde5ee; }
.cokb-topic {
  font-size: 12px; color: var(--ink-3);
  max-width: 42%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.cokb-card .hub-time { margin-left: auto; }
#cokbViewMeta .cokb-topic { display: inline-block; vertical-align: middle; }
@media (max-width: 1080px) {
  .cokb-stats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .cokb-stats { grid-template-columns: repeat(2, 1fr); }
  .cokb-topic { max-width: 100%; }
}
:root {
  --ink:   #1d1d1f;
  --ink-2: #424245;
  --ink-3: #6e6e73;
  --line:  #d9d9de;
  --bg:    #f5f5f7;
  --danger: #d70015;
  --ok:     #248a3d;
  --brand:      #0071e3;
  --brand-dark: #0066cc;
  --brand-mid:  #2997ff;
  --brand-soft: #e8f2fd;
  --brand-50:  #f4f9fe;
  --brand-100: #e8f2fd;
  --brand-200: #cde3fb;
  --brand-400: #47a7f0;
  --brand-500: #0077ed;
  --brand-600: #0071e3;
  --brand-700: #0066cc;
  --brand-900: #004b99;
  --hairline: #d9d9de;
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, .04);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .05);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, .06);
  --shadow-lg: 0 10px 34px rgba(0, 0, 0, .10);
  --shadow-card: 0 1px 3px rgba(0, 0, 0, .03), 0 4px 14px rgba(0, 0, 0, .035);
  --shadow-card-hover: 0 2px 6px rgba(0, 0, 0, .04), 0 10px 28px rgba(0, 0, 0, .06);
  --shadow-brand: 0 2px 8px rgba(0, 113, 227, .28);
  --ring: 0 0 0 3.5px rgba(0, 113, 227, .16);
  --radius: 16px;
  --ease: cubic-bezier(.25, .1, .25, 1);
}
body::after {
  background: linear-gradient(180deg, #fbfbfd 0%, #f5f5f7 100%);
}
.topbar {
  background: rgba(251, 251, 253, .72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, .09);
  box-shadow: none;
}
.topbar::before { content: none; }
.brand-title { font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.sidebar {
  background: #f2f2f7;
  border-right: 1px solid rgba(0, 0, 0, .07);
  box-shadow: none;
}
.sidebar .mode-btn {
  background: transparent; border-color: transparent;
  box-shadow: none; color: var(--ink);
  border-radius: 8px;
  transition: background .18s var(--ease), color .18s var(--ease);
}
.sidebar .mode-btn:hover {
  background: rgba(0, 0, 0, .05); color: var(--ink);
  box-shadow: none; transform: none;
}
.sidebar .side-head {
  color: #86868b;
  font-size: 11px; font-weight: 700; letter-spacing: .05em;
}
.sidebar .side-head:hover { background: rgba(0, 0, 0, .05); color: var(--ink); }
.sidebar .side-head .side-cap { color: #aeaeb2; }
.sidebar .side-head-plain,
.sidebar .side-head-plain:hover { color: #86868b; background: none; }
.sidebar .mode-btn.active {
  background: var(--brand-600);
  color: #fff; font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 113, 227, .30);
}
.sidebar .side-head.active,
.sidebar .mode-btn.active:has(+ .mode-btn.active) {
  background: transparent;
  color: var(--brand-700);
  box-shadow: none;
  font-weight: 600;
}
.sidebar .side-head.active .side-ico,
.sidebar .mode-btn.active:has(+ .mode-btn.active) .side-ico {
  color: var(--brand-700); opacity: 1;
}
.sidebar .mode-tag {
  background: rgba(0, 0, 0, .06);
  color: var(--ink-3);
  border-radius: 999px; padding: 2px 8px;
}
.sidebar .side-foot {
  color: #86868b;
  border-top: 1px solid rgba(0, 0, 0, .07);
}
@media (max-width: 900px) {
  .sidebar {
    background: rgba(242, 242, 247, .94);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, .07);
    box-shadow: none;
  }
  .sidebar .side-head { border-right-color: rgba(0, 0, 0, .08); }
}
.card {
  border-radius: 16px;
  border-color: rgba(0, 0, 0, .07);
  box-shadow: var(--shadow-card);
  background: #fff;
}
.card:hover {
  border-color: rgba(0, 0, 0, .10);
  box-shadow: var(--shadow-card-hover);
  transform: none;
}
.card-title { letter-spacing: -.01em; }
.fgroup { border-radius: 12px; }
.fg-head:hover { background: rgba(0, 113, 227, .06); }
.hub-cell { border-radius: 14px; }
.td-side { border-radius: 16px; }
.td-side-h { background: #fafafc; }
.btn {
  border-radius: 10px;
  transition: background .18s var(--ease), border-color .18s var(--ease),
              box-shadow .18s var(--ease), color .18s var(--ease);
}
.btn:hover { background: rgba(0, 0, 0, .045); border-color: rgba(0, 0, 0, .09); }
.btn.primary {
  background: var(--brand-600);
  border-color: var(--brand-600);
  box-shadow: none;
}
.btn.primary::after { content: none; }
.btn.primary:hover {
  background: var(--brand-500);
  border-color: var(--brand-500);
  box-shadow: 0 4px 14px rgba(0, 113, 227, .30);
  transform: none;
}
.btn.primary:not(:disabled):active {
  background: #006edb;
  box-shadow: inset 0 1px 3px rgba(0, 60, 120, .28);
  transform: none;
}
.btn.tiny { border-radius: 7px; }
.btn.danger { color: var(--danger); border-color: rgba(215, 0, 21, .24); }
.btn.block { border-radius: 12px; padding: 12px 14px; font-size: 14.5px; }
.btn:disabled, .btn.block:disabled {
  opacity: 1; filter: none;
  background: rgba(0, 0, 0, .045); color: #aeaeb2;
  border-color: transparent; box-shadow: none;
}
.btn:disabled:hover {
  background: rgba(0, 0, 0, .045); border-color: transparent; box-shadow: none;
}
input[type="text"], input[type="password"], input:not([type]),
textarea, select {
  border-radius: 10px;
  border: 1px solid #d2d2d7;
  background: #fff;
  font-size: 14px;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--brand-600);
  box-shadow: 0 0 0 3.5px rgba(0, 113, 227, .15);
}
.ipt-btn:hover { background: rgba(0, 0, 0, .05); color: var(--brand-600); }
.banner.ok {
  background: #f0f6fe; color: #0058b0; border-color: #cde3fb;
}
code { background: #f2f2f7; }
.auth-gate { background: #161617; background-image: none; }
.auth-gate::before {
  background: radial-gradient(120% 78% at 50% -10%, rgba(41, 151, 255, .16), rgba(22, 22, 23, 0) 62%);
}
.auth-wrap {
  border-radius: 24px;
  box-shadow:
    0 40px 100px rgba(0, 0, 0, .50),
    0 2px 10px rgba(0, 0, 0, .22),
    inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.auth-hero {
  background: linear-gradient(168deg, #2a2a2e 0%, #1d1d1f 52%, #141416 100%);
  padding: 40px 36px;
}
.auth-hero::before { background: none; }
.auth-card { padding: 36px 36px 28px; }
.hero-body h2 {
  font-size: 26px; font-weight: 700; line-height: 1.42;
  letter-spacing: -.02em; margin: 32px 0 18px;
}
.auth-hero .hero-points li::before { color: #6db3ff; }
.auth-hero .hero-foot { color: rgba(235, 235, 245, .48); opacity: 1; }
.auth-tabs { background: rgba(118, 118, 128, .12); border-radius: 11px; padding: 3px; }
.auth-tab { border-radius: 9px; color: var(--ink-3); }
.auth-tab.active { color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .12), 0 0 0 .5px rgba(0, 0, 0, .04); }
.auth-err { background: #fdf2f2; color: var(--danger); border-color: rgba(215, 0, 21, .16); border-radius: 10px; }
.tabs { background: rgba(118, 118, 128, .12); border-radius: 11px; }
.tab { border-radius: 9px; }
.tab.active { color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .12), 0 0 0 .5px rgba(0, 0, 0, .04); }
.modal { background: rgba(0, 0, 0, .40); }
.modal-box { border-radius: 18px; box-shadow: 0 30px 80px rgba(0, 0, 0, .22); }
.toast { background: #1d1d1f; border-radius: 999px; box-shadow: 0 8px 30px rgba(0, 0, 0, .25); }
.result-empty { background: #fafafc; border-color: rgba(0, 0, 0, .07); }
.pane-owner { background: #fafafc; border-color: rgba(0, 0, 0, .07); }
.user-chip { background: #f5f5f7; border-color: rgba(0, 0, 0, .08); }
.stage .dot { background: #e3e3ea; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, .18); border-radius: 8px;
  border: 3px solid transparent; background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover { background-color: rgba(0, 0, 0, .30); }
::selection { background: rgba(0, 113, 227, .18); }
.m-ok { color: #248a3d; background: #e9f5ec; }
.m-late { color: #b25000; background: #fff4e5; }
.m-miss { color: #d70015; background: #fdeef0; }
.m-leave { color: var(--brand-600); background: #e8f2fd; }
.m-rest { color: #8e8e93; background: #f2f2f7; }
.dl-crow.m-ok .dl-cmk { color: #248a3d; }
.dl-crow.m-late .dl-cmk { color: #b25000; }
.dl-crow.m-miss .dl-cmk { color: #d70015; }
.dl-crow.m-leave .dl-cmk { color: var(--brand-600); }
.dl-crow.m-rest .dl-cmk { color: #8e8e93; }
.dl-rate.is-good { color: #248a3d; }
.dl-rate.is-mid { color: #b25000; }
.dl-rate.is-bad { color: #d70015; }
.dl-tag-ok { background: #e9f5ec; color: #248a3d; }
.dl-tag-miss { background: #fdeef0; color: #d70015; }
.dl-ok { color: #248a3d; }
.dl-sub-miss { color: #d70015; }
.dl-chip b { color: #d70015; }
.dl-table thead th { background: #f8f8fa; }
.dl-table thead th.dl-rest { background: #f9dde1; color: #94172b; }
.dl-table th.dl-wend, .dl-table td.dl-wend { border-right-color: #d9d9de; }
.dl-sumtab thead th, .dl-sumtab .dl-sumtot { background: #f8f8fa; }
.dl-rate { background: #fbfbfd; }
.dl-picks { background: #fbfbfd; }
.dl-pick.on .dl-pick-mk { border-left-color: #cde3fb; }
.bid-head {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 10px 2px 0;
  margin-bottom: 22px;
}
.bid-title h2 {
  font-size: 26px; font-weight: 700; letter-spacing: -.022em;
  margin: 0 0 8px;
}
.bid-title p { font-size: 14px; line-height: 1.75; color: var(--ink-3); max-width: 880px; }
.bid-acts { padding-top: 4px; }
.daily-head { margin-bottom: 18px; }
.daily-title h2 { font-size: 26px; font-weight: 700; letter-spacing: -.022em; margin: 0 0 8px; }
.daily-title p { font-size: 14px; line-height: 1.75; }
.poster-head { margin-bottom: 18px; }
.poster-title h2 { font-size: 26px; font-weight: 700; letter-spacing: -.022em; margin: 0 0 8px; }
.poster-title p { font-size: 14px; line-height: 1.75; }
.layout { padding: 26px 34px 44px; gap: 18px; }
.col-left, .col-right { gap: 16px; }
.bid-mod, .poster-mod, .trade-mod { padding: 22px 30px 40px; }
.daily-mod { padding: 22px 28px 38px; }
.card { border-radius: 18px; padding: 20px 22px; }
.card-title { font-size: 16px; letter-spacing: -.012em; margin: 0 0 14px; }
.fgroup { border-radius: 14px; margin-bottom: 12px; }
.fg-head { padding: 10px 14px; }
.fg-title { font-size: 14px; }
.fg-body { padding: 4px 14px 14px; }
.lbl { font-size: 13px; margin: 11px 0 6px; }
input[type="text"], input[type="password"], input:not([type]),
textarea, select { padding: 11px 13px; }
.hub-stats { gap: 14px; margin-bottom: 16px; }
.hub-cell { border-radius: 16px; padding: 16px 18px 15px; }
.hub-cell-v { font-size: 32px; letter-spacing: -.02em; }
.hub-cell-k { font-size: 13px; }
.side-nav { padding: 16px 13px 18px; gap: 2px; }
.td-card { padding: 15px 18px; }
.btn { padding: 9px 15px; }
@media (max-width: 900px) {
  .layout { padding: 18px 18px 32px; gap: 14px; }
  .card { padding: 16px; }
  .bid-mod, .poster-mod, .trade-mod { padding: 16px 16px 30px; }
  .daily-mod { padding: 16px 16px 30px; }
  .bid-title h2, .daily-title h2, .poster-title h2 { font-size: 22px; }
  .hub-cell-v { font-size: 28px; }
}
.pr-iqc {
  margin-top: 10px; padding: 9px 12px; border-radius: 10px;
  font-size: 12.5px; line-height: 1.65; color: var(--ink-2);
  background: #F8FAFC; border: 1px solid var(--line);
}
.pr-iqc.good { background: #F0FDF4; border-color: #BBF7D0; color: #166534; }
.pr-iqc.ok   { background: #FFFBEB; border-color: #FDE68A; color: #92400E; }
.pr-iqc.bad  { background: #FEF2F2; border-color: #FECACA; color: #991B1B; }
.phone {
  margin: 26px 34px 44px;
  border-radius: 30px;
  padding: 20px 32px 24px;
  min-height: calc(100vh - var(--tb-h) - 78px);
  background:
    radial-gradient(1100px 420px at 10% -10%, rgba(37, 99, 235, .12), transparent 62%),
    radial-gradient(900px 400px at 106% 2%, rgba(13, 148, 136, .11), transparent 60%),
    radial-gradient(800px 460px at 48% 116%, rgba(245, 158, 11, .10), transparent 62%),
    linear-gradient(180deg, #f4f7fd 0%, #eef3fa 55%, #f1f5fa 100%);
  border: 1px solid rgba(227, 232, 242, .9);
}
.phone-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 2px 6px 0; font-size: 13px; color: var(--ink-3);
}
.phone-brand { letter-spacing: .2px; }
.phone-brand b { color: var(--ink); font-weight: 800; }
.phone-clock {
  font-size: 17px; font-weight: 700; color: var(--ink);
  font-variant-numeric: tabular-nums; letter-spacing: .02em;
}
.phone-lede { padding: 20px 6px 4px; }
.phone-date { font-size: 30px; font-weight: 800; letter-spacing: -.022em; color: var(--ink); }
.phone-hint { margin-top: 7px; font-size: 13.5px; color: var(--ink-3); }
.phone-secs { margin-top: 24px; display: flex; flex-direction: column; gap: 24px; }
.phone-sec-t {
  margin: 0 0 10px 6px; font-size: 14px; font-weight: 700; color: var(--ink);
  display: flex; align-items: baseline; gap: 8px;
}
.phone-sec-t em { font-style: normal; font-size: 11.5px; font-weight: 500; color: #9AA7C7; letter-spacing: .4px; }
.phone-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(98px, 1fr));
  gap: 14px 8px;
}
.ph-app {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  background: none; border: none; padding: 6px 2px; border-radius: 18px;
  font-family: inherit; cursor: pointer; min-width: 0;
  transition: background .16s ease;
}
.ph-app[hidden] { display: none; }
.ph-app:hover { background: rgba(255, 255, 255, .6); }
.ph-app:hover .ph-ico { transform: translateY(-2px); }
.ph-app:active .ph-ico { transform: scale(.94); }
.ph-app.on .ph-ico { box-shadow: 0 0 0 3px rgba(10, 132, 255, .28), 0 10px 20px rgba(15, 42, 90, .22); }
.ph-ico {
  width: 62px; height: 62px; border-radius: 18px; flex: none;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 18px rgba(15, 42, 90, .16), inset 0 1px 0 rgba(255, 255, 255, .38);
  transition: transform .16s ease, box-shadow .16s ease;
}
.ph-ico svg {
  width: 27px; height: 27px; fill: none; stroke: #fff; stroke-width: 1.9;
  stroke-linecap: round; stroke-linejoin: round;
}
.ph-name {
  font-size: 12.5px; font-weight: 600; color: var(--ink); line-height: 1.3;
  text-align: center; max-width: 100px;
}
.ph-blue       { background: linear-gradient(145deg, #4f8dfd, #2563eb); }
.ph-teal       { background: linear-gradient(145deg, #2dd4bf, #0d9488); }
.ph-orange     { background: linear-gradient(145deg, #fb923c, #ea580c); }
.ph-violet     { background: linear-gradient(145deg, #a78bfa, #7c3aed); }
.ph-pink       { background: linear-gradient(145deg, #f472b6, #db2777); }
.ph-indigo     { background: linear-gradient(145deg, #818cf8, #4f46e5); }
.ph-green      { background: linear-gradient(145deg, #4ade80, #16a34a); }
.ph-amber      { background: linear-gradient(145deg, #fbbf24, #d97706); }
.ph-cyan       { background: linear-gradient(145deg, #38bdf8, #0284c7); }
.ph-blueviolet { background: linear-gradient(145deg, #8b5cf6, #6d28d9); }
.ph-sky        { background: linear-gradient(145deg, #7dd3fc, #0369a1); }
.ph-slate      { background: linear-gradient(145deg, #94a3b8, #475569); }
.ph-gold       { background: linear-gradient(145deg, #fcd34d, #b45309); }
.ph-emerald    { background: linear-gradient(145deg, #34d399, #047857); }
.ph-steel      { background: linear-gradient(145deg, #7c9cbf, #3f5d80); }
.ph-rose       { background: linear-gradient(145deg, #fb7185, #be123c); }
.ph-ink        { background: linear-gradient(145deg, #64748b, #1e293b); }
.ph-deep       { background: linear-gradient(145deg, #60a5fa, #1e40af); }
.phone-foot { margin-top: 28px; text-align: center; font-size: 11px; color: #9AA7C7; }
.sidebar .side-head .side-ico {
  width: 34px; height: 34px; padding: 8px; border-radius: 10px;
  box-sizing: border-box; opacity: 1;
  background: linear-gradient(145deg, #94a3b8, #475569);
  stroke: #fff; stroke-width: 2;
  box-shadow: 0 4px 10px rgba(15, 42, 90, .18), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.sidebar .side-head .side-ico use { color: #fff; }
.sidebar .side-head[data-nav="home"] .side-ico { background: linear-gradient(145deg, #38bdf8, #1d4ed8); }
.sidebar .side-head[data-nav="home"] {
  font-size: 13px; font-weight: 600; letter-spacing: 0; color: var(--ink);
  margin-bottom: 4px;
}
.sidebar .side-head[data-nav="home"].active { color: var(--brand-700); background: rgba(10, 132, 255, .08); }
.sidebar .side-head.active .side-ico {
  box-shadow: 0 4px 10px rgba(15, 42, 90, .18), 0 0 0 3px rgba(10, 132, 255, .20);
}
.sidebar .side-head { font-size: 12.5px; color: var(--ink); }
.sidebar .side-head > span { flex: none; }
.sidebar .side-head .side-cap {
  font-size: 10px; flex: 0 1 auto; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.sidebar .side-nav { gap: 3px; }
.sidebar .side-head { padding: 6px 10px; }
@media (max-width: 900px) {
  .phone { margin: 14px 14px 30px; border-radius: 22px; padding: 14px 16px 18px; min-height: 0; }
  .phone-date { font-size: 24px; }
  .phone-grid { grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 12px 6px; }
  .ph-ico { width: 54px; height: 54px; border-radius: 16px; }
  .ph-ico svg { width: 24px; height: 24px; }
  .sidebar .side-head .side-ico { width: 28px; height: 28px; padding: 6.5px; border-radius: 9px; }
  .sidebar .side-head { padding: 4px 8px; }
}
.bid-now { white-space: normal; line-height: 1.55; overflow-wrap: break-word; }
.bid-acts { min-width: 0; }
.bid-head > .bid-acts { flex: 0 1 auto; }
.bid-head > .bid-title { min-width: 0; }
.dl-top > * { min-width: 0; }
.btn-row { flex-wrap: wrap; }
.clip-playbar { flex-wrap: wrap; row-gap: 6px; }
@media (max-width: 900px) {
  input[type="text"], input[type="password"], input[type="number"], input:not([type]),
  textarea { font-size: 16px; }
}
@media (min-width: 1780px) {
  .phone { max-width: 1560px; margin-left: auto; margin-right: auto; }
}
@media (pointer: coarse) {
  .btn { min-height: 38px; }
  .btn.tiny { min-height: 34px; }
  .sidebar .side-head { min-height: 40px; }
}
.topbar .brand-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 480px) {
  .topbar .brand-title { display: none; }
}
@media (max-width: 400px) {
  .top-right { gap: 6px; }
  #btnSettings { padding-left: 9px; padding-right: 9px; }
  .user-chip .btn.tiny { padding-left: 6px; padding-right: 6px; }
}
@media (max-width: 340px) {
  .topbar { padding-left: 12px; padding-right: 12px; }
  #btnRename { display: none; }
}
.pwa-bar {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 130;
  width: min(560px, calc(100vw - 28px));
  box-sizing: border-box;
  display: flex; align-items: center; gap: 11px;
  padding: 11px 13px; border-radius: 16px;
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 14px 44px rgba(15, 42, 90, .20);
  animation: pwaRise .34s cubic-bezier(.22, .9, .3, 1);
}
.pwa-bar[hidden] { display: none; }
.pwa-bar .pwa-ico {
  width: 38px; height: 38px; border-radius: 10px; flex: none;
  box-shadow: 0 2px 8px rgba(15, 42, 90, .18);
}
.pwa-bar .pwa-txt { flex: 1; min-width: 0; font-size: 12.5px; line-height: 1.55; color: var(--ink-3); }
.pwa-bar .pwa-txt b { display: block; font-size: 13.5px; color: var(--ink); margin-bottom: 1px; }
.pwa-bar .pwa-txt span { display: block; }
.pwa-bar .pwa-actions { display: flex; gap: 7px; flex: none; align-items: center; }
@keyframes pwaRise {
  from { opacity: 0; transform: translate(-50%, 14px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}
@media (max-width: 700px) {
  .pwa-bar {
    left: 12px; right: 12px; width: auto; transform: none;
    bottom: calc(96px + env(safe-area-inset-bottom, 0px));
    align-items: flex-start;
    animation: pwaRiseM .34s cubic-bezier(.22, .9, .3, 1);
  }
  .pwa-bar .pwa-actions { flex-direction: column; }
  @keyframes pwaRiseM {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
  }
}
@media (display-mode: standalone) {
  .pwa-bar { display: none !important; }
}
:root { --side-w: 88px; }
@media (min-width: 901px) {
  .side-nav { padding: 12px 8px; gap: 2px; align-items: center; }
  .sidebar .side-head[data-nav="home"] {
    flex-direction: column; gap: 7px;
    width: 72px; padding: 12px 4px 10px; margin-bottom: 0;
    border-radius: 16px; text-align: center;
  }
  .sidebar .side-head[data-nav="home"] .side-ico {
    width: 40px; height: 40px; padding: 9px; border-radius: 12px;
  }
  .sidebar .side-head[data-nav="home"] > span { font-size: 12.5px; }
  .sidebar .side-head[data-nav="home"] .side-cap { display: none; }
  .sidebar .side-head[data-nav="home"]:hover { background: rgba(0, 0, 0, .05); }
  .sidebar .side-head[data-nav="home"].active { background: rgba(10, 132, 255, .10); }
  .side-foot { text-align: center; padding: 10px 4px 12px; line-height: 1.6; }
  .side-foot .sf-v, .side-foot .sf-t { display: block; }
  .side-foot .sf-t { font-size: 10px; }
}
@media (max-width: 900px) {
  .side-nav { padding: 6px 12px; }
  .sidebar .side-head[data-nav="home"] {
    border-right: none; border-radius: 999px;
    padding: 6px 14px; margin-bottom: 0; gap: 8px;
  }
  .sidebar .side-head[data-nav="home"] .side-ico {
    width: 22px; height: 22px; padding: 4.5px; border-radius: 7px;
  }
  .sidebar .side-head[data-nav="home"].active { background: var(--brand-600); color: #fff; }
  .sidebar .side-head[data-nav="home"].active .side-ico { box-shadow: none; }
  .sidebar .side-head[data-nav="home"].active > span { color: #fff; }
}
.ph-ico { position: relative; }
.ph-dot {
  position: absolute; top: -5px; right: -5px;
  min-width: 19px; height: 19px; padding: 0 5px; box-sizing: border-box;
  border-radius: 999px; background: #ff3b30; color: #fff;
  font-size: 11px; font-weight: 700; font-style: normal; line-height: 19px;
  text-align: center; letter-spacing: 0;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .92), 0 2px 6px rgba(226, 59, 78, .38);
}
.ph-dot[hidden] { display: none; }
.ph-app .mode-tag {
  margin: -4px 0 0; padding: 1px 8px; border-radius: 999px;
  font-size: 10px; line-height: 1.5; font-style: normal;
  background: rgba(0, 0, 0, .055); color: var(--ink-3);
}
@media (max-width: 400px) {
  .phone { margin: 10px 10px 26px; border-radius: 20px; padding: 13px 13px 16px; }
  .ph-name { font-size: 12px; }
}
.topbar .back-btn { margin-right: auto; margin-left: 6px; gap: 6px; }
.topbar .back-btn[hidden] { display: none; }
@media (max-width: 600px) {
  .topbar .back-btn { padding-left: 8px; padding-right: 8px; margin-left: 2px; }
  .topbar .back-btn .back-txt { display: none; }
}
.user-chip .uc-menu { display: contents; }
@media (max-width: 900px) {
  .sidebar { display: none; }
  .topbar .back-btn { order: -1; margin-left: 0; margin-right: 0; }
  .topbar .brand { margin-right: auto; }
}
@media (max-width: 600px) {
  .topbar { gap: 8px; }
  .topbar .back-btn {
    min-width: 40px; min-height: 38px;
    padding-left: 0; padding-right: 0;
    justify-content: center;
  }
  .user-chip { position: relative; cursor: pointer; }
  .user-chip:not(.open) .uc-menu { display: none; }
  .user-chip.open .uc-menu {
    display: flex; flex-direction: column; gap: 6px;
    position: absolute; top: calc(100% + 10px); right: 0;
    min-width: 132px; padding: 8px;
    background: #fff; border: 1px solid var(--line); border-radius: 14px;
    box-shadow: 0 16px 40px rgba(15, 42, 90, .18);
    z-index: 60;
  }
  .uc-menu .btn { width: 100%; justify-content: center; }
  .uc-menu #btnRename { display: inline-flex; }
  .topbar #btnSettings .st-txt { display: none; }
  .topbar #btnSettings { padding-left: 9px; padding-right: 9px; }
}
@media (min-width: 901px) {
  .sidebar .side-nav { gap: 6px; }
  .sidebar .side-head[data-nav="keeper"] {
    flex-direction: column; gap: 7px;
    width: 72px; padding: 12px 4px 10px; margin-bottom: 0;
    border-radius: 16px; text-align: center;
    color: var(--ink);
  }
  .sidebar .side-head[data-nav="keeper"] .side-ico {
    width: 40px; height: 40px; padding: 9px; border-radius: 12px;
    background: linear-gradient(145deg, #5eead4, #0f766e);
  }
  .sidebar .side-head[data-nav="keeper"] > span { font-size: 12.5px; }
  .sidebar .side-head[data-nav="keeper"] .side-cap { display: none; }
  .sidebar .side-head[data-nav="keeper"]:hover { background: rgba(0, 0, 0, .05); }
  .sidebar .side-head[data-nav="keeper"].active { background: rgba(15, 118, 110, .10); color: #0f766e; }
  .sidebar .side-head[data-nav="keeper"].active .side-ico {
    box-shadow: 0 4px 10px rgba(15, 42, 90, .18), 0 0 0 3px rgba(15, 118, 110, .18);
  }
}
.ph-ico.ph-sumire { background: linear-gradient(145deg, #5eead4, #0f766e); }
.keeper-mod {
  height: calc(100vh - var(--tb-h));
  height: calc(100dvh - var(--tb-h));
}
.keeper-mod iframe { display: block; width: 100%; height: 100%; border: 0; background: #F5F6F9; }
@media (min-width: 901px) {
  .sidebar .side-head[data-nav="analytics"] {
    flex-direction: column; gap: 7px;
    width: 72px; padding: 12px 4px 10px; margin-bottom: 0;
    border-radius: 16px; text-align: center;
    color: var(--ink);
  }
  .sidebar .side-head[data-nav="analytics"] .side-ico {
    width: 40px; height: 40px; padding: 9px; border-radius: 12px;
    background: linear-gradient(145deg, #60a5fa, #1e40af);
  }
  .sidebar .side-head[data-nav="analytics"] > span { font-size: 12.5px; }
  .sidebar .side-head[data-nav="analytics"] .side-cap { display: none; }
  .sidebar .side-head[data-nav="analytics"]:hover { background: rgba(0, 0, 0, .05); }
  .sidebar .side-head[data-nav="analytics"].active { background: rgba(29, 78, 216, .10); color: #1e40af; }
  .sidebar .side-head[data-nav="analytics"].active .side-ico {
    box-shadow: 0 4px 10px rgba(15, 42, 90, .18), 0 0 0 3px rgba(29, 78, 216, .18);
  }
}
.ph-ico.ph-azure { background: linear-gradient(145deg, #60a5fa, #1e40af); }
.an-mod {
  height: calc(100vh - var(--tb-h));
  height: calc(100dvh - var(--tb-h));
}
.an-mod iframe { display: block; width: 100%; height: 100%; border: 0; background: #F5F6F9; }
.ai-files { display: flex; flex-direction: column; gap: 8px; align-self: flex-start; max-width: 100%; width: 100%; }
.ai-file {
  border: 1px solid #dbe2ec; border-radius: 10px; background: #fff;
  padding: 9px 11px 10px;
}
.ai-file-head { display: flex; align-items: center; gap: 7px; }
.ai-file-ico { font-size: 14px; line-height: 1; flex: none; }
.ai-file-title {
  font-size: 13.2px; font-weight: 600; color: #243044; flex: 1; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ai-file-kind {
  flex: none; font-size: 10.5px; color: #2E75B6;
  background: rgba(46, 117, 182, .1); border-radius: 5px; padding: 1px 6px;
}
.ai-file-meta { margin-top: 4px; font-size: 11.5px; color: #8a94a6; line-height: 1.6; word-break: break-word; }
.ai-file-acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.ai-file-acts .ai-mini { text-decoration: none; display: inline-flex; align-items: center; }
.ai-file-body {
  margin: 8px 0 0; padding: 9px 10px; max-height: 260px; overflow: auto;
  background: #f6f8fc; border: 1px solid #e6ecf5; border-radius: 8px;
  font-size: 12px; line-height: 1.75; color: #46536a;
  white-space: pre-wrap; word-break: break-word; font-family: inherit;
}
.ai-file-body[hidden] { display: none; }
@media (max-width: 600px) {
  .ai-file-title { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  .ai-orb { animation: none; }
  .ai-orb::before { animation: none; opacity: .7; }
  .siri-center, .siri-dock, .siri-head, .siri-hint,
  .ai-panel.siri::before, .siri-glow, .ai-log {
    transition: none !important;
  }
  .ai-msg { animation: none; }
  .ai-msg.stream::after { animation: none; }
  .ai-mic.on { animation: none; }
}
.siri-auto-host {
  position: absolute; inset: 0; z-index: 8;
  background: rgba(244, 245, 250, .96);
  -webkit-backdrop-filter: blur(30px) saturate(160%);
  backdrop-filter: blur(30px) saturate(160%);
  display: flex; flex-direction: column;
  animation: autoIn .26s cubic-bezier(.2, .8, .2, 1);
}
.siri-auto-host[hidden] { display: none; }
@keyframes autoIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.auto-sheet {
  display: flex; flex-direction: column; height: 100%;
  width: 100%; max-width: 760px; margin: 0 auto;
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
}
.auto-top {
  flex: none; display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px 8px;
}
.auto-back, .auto-fresh {
  border: 0; background: rgba(0, 0, 0, .05); color: #3a3a3c;
  border-radius: 999px; font-size: 13px; padding: 7px 14px; cursor: pointer;
  font-family: inherit;
}
.auto-back:hover, .auto-fresh:hover { background: rgba(0, 0, 0, .09); }
.auto-title { font-size: 15px; font-weight: 600; color: #1d1d1f; letter-spacing: .02em; }
.auto-scroll {
  flex: 1; overflow-y: auto; overscroll-behavior: contain;
  padding: 2px 20px calc(28px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; gap: 14px;
  scrollbar-width: thin;
}
.auto-scroll::-webkit-scrollbar { width: 6px; }
.auto-scroll::-webkit-scrollbar-thumb { background: rgba(0, 0, 0, .12); border-radius: 3px; }
.auto-loading { padding: 40px 20px; color: #8e8e93; font-size: 14px; text-align: center; }
.auto-hero {
  background: linear-gradient(150deg, rgba(255, 255, 255, .96), rgba(246, 247, 255, .92));
  border: 1px solid rgba(0, 0, 0, .05);
  border-radius: 22px; padding: 18px 20px 16px;
  box-shadow: 0 10px 30px rgba(30, 40, 90, .07);
}
.auto-hero.off { background: linear-gradient(150deg, #fff, #fafafa); }
.auto-hero-kicker {
  font-size: 12px; font-weight: 600; color: #0a84ff; letter-spacing: .06em;
  display: flex; align-items: center; gap: 6px;
}
.auto-hero-kicker::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: #34c759; box-shadow: 0 0 0 4px rgba(52, 199, 89, .14);
}
.auto-hero.off .auto-hero-kicker { color: #8e8e93; }
.auto-hero.off .auto-hero-kicker::before { background: #c7c7cc; box-shadow: none; }
.auto-hero-state { font-size: 29px; font-weight: 700; color: #1d1d1f; margin-top: 6px; letter-spacing: -.01em; }
.auto-hero-sub { font-size: 12.5px; color: #6e6e73; line-height: 1.7; margin-top: 6px; }
.auto-hero-actions { display: flex; gap: 8px; margin-top: 14px; }
.auto-btn {
  align-self: flex-start;
  border: 1px solid rgba(0, 0, 0, .08); background: rgba(255, 255, 255, .9);
  color: #3a3a3c; border-radius: 12px; font-size: 13.5px; padding: 9px 16px;
  cursor: pointer; font-family: inherit;
}
.auto-btn.primary { background: #0a84ff; border-color: #0a84ff; color: #fff; }
.auto-btn:disabled { opacity: .55; cursor: default; }
.auto-sec { display: flex; flex-direction: column; gap: 8px; }
.auto-sec-head { display: flex; align-items: baseline; justify-content: space-between; padding: 0 4px; }
.auto-sec-head h4 { margin: 0; font-size: 13px; font-weight: 600; color: #6e6e73; letter-spacing: .03em; }
.auto-count { font-size: 11.5px; color: #a1a1a6; }
.auto-task {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, .92); border: 1px solid rgba(0, 0, 0, .05);
  border-radius: 16px; padding: 13px 15px;
}
.auto-task.off { opacity: .62; }
.auto-task-dot {
  width: 8px; height: 8px; border-radius: 50%; flex: none;
  background: #34c759; box-shadow: 0 0 0 4px rgba(52, 199, 89, .13);
}
.auto-task.off .auto-task-dot { background: #c7c7cc; box-shadow: none; }
.auto-task-body { flex: 1; min-width: 0; }
.auto-task-title { font-size: 15px; font-weight: 600; color: #1d1d1f; }
.auto-task-sub { font-size: 12.5px; color: #8e8e93; line-height: 1.6; margin-top: 3px; word-break: break-word; }
.auto-mini {
  flex: none; border: 1px solid rgba(0, 0, 0, .08); background: #fff; color: #3a3a3c;
  border-radius: 10px; font-size: 12px; padding: 6px 11px; cursor: pointer; font-family: inherit;
}
.auto-mini:hover { border-color: rgba(10, 132, 255, .4); color: #0a84ff; }
.auto-mini.danger:hover { border-color: rgba(255, 59, 48, .4); color: #ff3b30; }
.auto-row {
  display: flex; align-items: flex-start; gap: 9px;
  background: rgba(255, 255, 255, .78); border: 1px solid rgba(0, 0, 0, .04);
  border-radius: 13px; padding: 10px 13px; font-size: 13px; color: #3a3a3c;
}
.auto-row.warn { background: rgba(255, 249, 238, .95); border-color: rgba(242, 226, 182, .9); }
.auto-row-text { flex: 1; min-width: 0; line-height: 1.6; word-break: break-word; }
.auto-row-detail { display: block; font-style: normal; font-size: 11.5px; color: #8e8e93; margin-top: 2px; }
.auto-tag { flex: none; font-size: 11px; border-radius: 6px; padding: 2px 7px; background: rgba(0, 0, 0, .05); color: #6e6e73; }
.auto-tag.warn { background: rgba(255, 159, 10, .16); color: #a05a00; }
.auto-tag.human { background: rgba(10, 132, 255, .12); color: #0a84ff; }
.auto-time { flex: none; font-size: 11px; color: #a1a1a6; font-variant-numeric: tabular-nums; }
.auto-act { flex: none; font-size: 11.5px; color: #6e6e73; background: rgba(0, 0, 0, .04); border-radius: 6px; padding: 1px 7px; }
.auto-row-btns { flex: none; display: flex; gap: 6px; }
.auto-empty { font-size: 12.5px; color: #a1a1a6; padding: 6px 6px 2px; }
.auto-trash-foot { display: flex; justify-content: flex-end; padding-top: 2px; }
.auto-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.auto-field { display: flex; flex-direction: column; gap: 5px; }
.auto-field-label { font-size: 11.5px; color: #8e8e93; }
.auto-select, .auto-num {
  border: 1px solid rgba(0, 0, 0, .09); background: #fff; border-radius: 10px;
  font-size: 13px; padding: 8px 10px; font-family: inherit; color: #1d1d1f; width: 100%;
  box-sizing: border-box;
}
.auto-select:focus, .auto-num:focus { outline: none; border-color: rgba(10, 132, 255, .5); box-shadow: 0 0 0 3px rgba(10, 132, 255, .1); }
@media (max-width: 640px) {
  .auto-top { padding: 12px 14px 6px; }
  .auto-scroll { padding: 2px 14px calc(22px + env(safe-area-inset-bottom)); gap: 12px; }
  .auto-hero { padding: 16px 16px 14px; border-radius: 20px; }
  .auto-hero-state { font-size: 23px; }
  .auto-form { grid-template-columns: 1fr; }
  .auto-task { padding: 12px 13px; }
  .auto-task-sub { font-size: 11.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .siri-auto-host { animation: none; }
}
.modtabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.modtab {
  border: 1px solid var(--line); background: #fff; color: var(--ink-3);
  border-radius: 999px; padding: 5px 14px; font-size: 12.5px; line-height: 1.5;
  cursor: pointer; font-family: inherit;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.modtab:hover { background: var(--brand-soft); color: var(--brand); }
.modtab.on {
  background: var(--brand-soft); border-color: rgba(21, 38, 224, .35);
  color: var(--brand); font-weight: 600;
}
.modtab:focus-visible { outline: 2px solid var(--brand-mid); outline-offset: 2px; }
@media (max-width: 640px) {
  .modtabs { gap: 5px; margin-bottom: 10px; }
  .modtab { padding: 6px 12px; font-size: 12px; min-height: 34px; }
}
.card-title .card-sub {
  font-style: normal; font-weight: 400; font-size: 11.5px; color: var(--ink-3);
  margin-left: 8px; letter-spacing: 0;
}
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (max-width: 720px) { .grid3 { grid-template-columns: 1fr; gap: 0; } }
.pr-sort { display: flex; align-items: center; gap: 6px; flex: none; }
.pr-sort .lbl { margin: 0; white-space: nowrap; }
.pr-sort select { width: auto; min-width: 168px; padding: 7px 10px; font-size: 12.5px; }
.btn-row:has(.pr-sort) { flex-wrap: wrap; align-items: center; }
.btn-row:has(.pr-sort) .btn { flex: none; padding: 8px 12px; font-size: 12.5px; }
.pr-facets { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 2px; }
.pr-facets[hidden] { display: none; }
.pr-chip {
  display: inline-flex; align-items: center; gap: 5px;
  border: 1px solid var(--line); background: #fff; color: var(--ink-2);
  border-radius: 999px; padding: 4px 10px; font-size: 11.5px; line-height: 1.5;
  cursor: pointer; font-family: inherit;
}
.pr-chip:hover { border-color: var(--brand-mid); color: var(--brand); }
.pr-chip.on { background: var(--brand-soft); border-color: rgba(21, 38, 224, .35); color: var(--brand); font-weight: 600; }
.pr-chip i {
  font-style: normal; font-size: 10.5px; color: var(--ink-3);
  background: #F1F3F9; border-radius: 999px; padding: 0 5px; min-width: 16px; text-align: center;
}
.pr-chip.on i { background: #fff; color: var(--brand); }
.pr-thumb-txt {
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; color: var(--brand);
  background: #F1F5FF; border-style: dashed;
}
.pr-more { width: 100%; margin-top: 4px; }
.pr-dnoimg {
  width: 100%; height: 180px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 6px;
  background: #F6F8FC; border: 1px dashed var(--line); border-radius: 10px;
  color: var(--brand); font-size: 22px; font-weight: 700;
}
.pr-dnoimg i { font-style: normal; font-size: 11px; font-weight: 400; color: var(--ink-3); }
.pr-tag-b { background: #EEF7F0; color: #1F7A46; }
.pr-dfirm { font-size: 11.5px; color: var(--ink-3); margin: -4px 0 10px; }
.pr-q-nm .pr-q-cost {
  font-style: normal; font-size: 10.5px; font-weight: 400; color: #A8161B;
  margin-left: 6px; padding: 1px 5px; border-radius: 4px; background: #FDECEC;
}
.pr-q-nm .pr-q-br, .pr-q-nm .pr-q-u, .pr-q-nm .pr-q-sp {
  font-style: normal; font-size: 10.5px; font-weight: 400; color: var(--ink-3);
  margin-left: 6px; padding: 1px 5px; border-radius: 4px; background: #F3F5FA;
}
.pr-q-nm .pr-q-sp { background: #FFF3E6; color: #9A5B00; }
@media (max-width: 640px) {
  .pr-facets { gap: 5px; }
  .pr-chip { padding: 5px 9px; font-size: 11px; min-height: 30px; }
  .pr-sort { width: 100%; }
  .pr-sort select { flex: 1; min-width: 0; }
}
.pr-list .pr-more { grid-column: 1 / -1; justify-self: stretch; }
.modal-box.pr-imp {
  max-width: 960px; padding: 0; overflow: hidden;
  display: flex; flex-direction: column; max-height: calc(100vh - 80px);
}
.pr-imp-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 16px; border-bottom: 1px solid var(--line);
}
.pr-imp-head b { font-size: 14px; color: var(--ink); }
.pr-imp-pick { padding: 30px 16px; display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.pr-imp-main { display: flex; flex-direction: column; min-height: 0; }
.pr-imp-bar {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 9px 16px; border-bottom: 1px solid var(--line);
  font-size: 12px; color: var(--ink-3);
}
.pr-imp-bar select { width: auto; max-width: 180px; padding: 5px 8px; font-size: 12px; }
.pr-imp-bar label { display: inline-flex; align-items: center; gap: 5px; }
.pr-imp-stat { margin-left: auto; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.pr-imp-wrap { overflow: auto; max-height: 54vh; }
.pr-imp-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.pr-imp-table th {
  position: sticky; top: 0; z-index: 1; text-align: left;
  padding: 8px 10px; background: #F8FAFF; border-bottom: 1px solid var(--line);
  font-size: 11px; font-weight: 600; color: var(--ink-3); white-space: nowrap;
}
.pr-imp-table td { padding: 6px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.pr-imp-table select { width: 100%; min-width: 210px; padding: 4px 7px; font-size: 12px; }
.imp-nm { max-width: 240px; }
.imp-nm em {
  display: block; font-style: normal; font-size: 11px; color: var(--ink-3);
  margin-top: 1px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.imp-p { white-space: normal; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.imp-p b { display: block; }
.imp-p small { display: block; margin-top: 2px; font-size: 10.5px; color: #AD6800; line-height: 1.3; }
.imp-tag {
  display: inline-block; margin-left: 6px; font-style: normal; font-size: 10.5px;
  color: #9A5B00; background: #FFF3E6; border-radius: 4px; padding: 1px 5px;
}
.imp-tag.none { color: var(--ink-3); background: #F1F3F9; }
.imp-tag.ai { color: #1F4FA8; background: #EAF1FF; }
.pr-imp-table tr.imp-check { background: #FFFCF4; }
.pr-imp-table tr.imp-none { background: #FAFBFC; }
.pr-imp-foot {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 16px; border-top: 1px solid var(--line);
}
.pr-imp-foot #prImpSum { margin-right: auto; font-size: 12.5px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
@media (max-width: 640px) {
  .pr-imp-modal { padding: 0; }
  .modal-box.pr-imp { max-width: none; height: 100%; max-height: none; border-radius: 0; }
  .pr-imp-wrap { max-height: none; flex: 1; }
  .pr-imp-main { flex: 1; min-height: 0; }
  .pr-imp-bar select { max-width: 118px; }
  .imp-nm { max-width: 120px; }
  .pr-imp-table select { min-width: 150px; }
}
.pr-imp-pick[hidden], .pr-imp-main[hidden], .pr-imp-bar select[hidden] { display: none !important; }
body.imp-open .ai-orb { display: none; }
@media (max-width: 640px) {
  .pr-imp-table select { min-width: 132px; }
  .pr-imp-foot { flex-wrap: wrap; }
  .pr-imp-foot #prImpSum { width: 100%; }
}
@media (max-width: 640px) {
  .pr-imp-table { font-size: 11.5px; }
  .pr-imp-table th, .pr-imp-table td { padding: 5px 6px; }
  .imp-nm { max-width: 96px; }
  .imp-nm em { max-width: 96px; }
  .pr-imp-table select { min-width: 108px; padding: 3px 4px; font-size: 11px; }
  .imp-p { font-size: 11px; }
}
.pr-imp-table { table-layout: fixed; }
.pr-imp-table th:nth-child(1) { width: 25%; }
.pr-imp-table th:nth-child(2) { width: 33%; }
.pr-imp-table th:nth-child(3) { width: 11%; }
.pr-imp-table th:nth-child(4) { width: 31%; }
.pr-imp-table td.imp-nm { max-width: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pr-imp-table select { min-width: 0; }
@media (max-width: 640px) {
  .pr-imp-table th:nth-child(1) { width: 28%; }
  .pr-imp-table th:nth-child(2) { width: 30%; }
  .pr-imp-table th:nth-child(3) { width: 12%; }
  .pr-imp-table th:nth-child(4) { width: 30%; }
  .pr-imp-table td.imp-nm { white-space: normal; word-break: break-all; }
  .imp-p small { display: none; }
}
.layout-badge {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0 0;
  padding: 7px 11px;
  border-radius: 9px;
  background: #F5F7FF;
  border: 1px solid #E3E9FA;
  font-size: 12px;
  line-height: 1.5;
  color: #3B4664;
}
.layout-badge[hidden] { display: none !important; }
.layout-badge .lb-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #1526E0;
  flex: 0 0 auto;
}
.layout-badge .lb-tip { color: #8A93A8; margin-left: 2px; }
@media (max-width: 640px) {
  .layout-badge { font-size: 11px; padding: 6px 9px; }
  .layout-badge .lb-tip { display: none; }
}
.pr-range {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin: 0 0 10px;
}
.pr-range .lbl { margin: 0; font-size: 11.5px; color: var(--ink-3); }
.pr-range input {
  width: 96px; padding: 5px 8px; font-family: inherit;
  font-size: 12px; font-variant-numeric: tabular-nums;
  border: 1px solid var(--line); border-radius: 7px; background: #fff; color: var(--ink);
}
.pr-range input:focus { border-color: var(--brand-mid); }
.pr-range i { font-style: normal; color: var(--ink-3); }
.pr-range .tip { font-size: 11px; }
.pr-doc {
  display: flex; align-items: flex-end; gap: 10px; flex-wrap: wrap;
  padding: 10px 12px; margin-bottom: 10px;
  background: #F7F9FF; border: 1px solid #E3E9FA; border-radius: 10px;
}
.pr-doc-f { flex: 1 1 150px; min-width: 0; }
.pr-doc-f .lbl { margin: 0 0 3px; }
.pr-doc-f input {
  width: 100%; padding: 6px 9px; font-family: inherit; font-size: 12.5px;
  border: 1px solid var(--line); border-radius: 7px; background: #fff; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.pr-doc-f input:focus { border-color: var(--brand-mid); }
.pr-doc-acts { display: flex; gap: 6px; flex-wrap: wrap; }
.pr-terms {
  margin: 0 0 10px; padding: 9px 12px;
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
}
.pr-terms summary {
  cursor: pointer; font-size: 12px; font-weight: 600; color: var(--ink-2);
  list-style: none;
}
.pr-terms summary::-webkit-details-marker { display: none; }
.pr-terms summary::before { content: '▸ '; color: var(--brand); }
.pr-terms[open] summary::before { content: '▾ '; }
.pr-terms .grid2 { margin-top: 9px; }
.pr-terms input {
  width: 100%; padding: 6px 9px; font-family: inherit; font-size: 12.5px;
  border: 1px solid var(--line); border-radius: 7px; background: #fff; color: var(--ink);
}
.pr-terms input:focus { border-color: var(--brand-mid); }
.pr-upper {
  margin-top: 3px; text-align: right;
  font-size: 12px; color: var(--ink-2); letter-spacing: .5px; font-weight: 500;
}
.pr-upper:empty { display: none; }
.pr-draft-tip { margin-top: 4px; font-size: 11px; }
.pr-hist {
  margin: 0 0 10px; padding: 10px 12px;
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
}
.pr-hist[hidden] { display: none !important; }
.pr-hist-head { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.pr-hist-head b { font-size: 12.5px; color: var(--ink); }
.pr-hist-tip { font-size: 11px; color: var(--ink-3); }
.pr-hist-row {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 6px 0; border-top: 1px dashed var(--line); font-size: 12px;
}
.pr-hist-row b { color: var(--brand-dark, #1526E0); font-variant-numeric: tabular-nums; }
.pr-hist-c { color: var(--ink-2); max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pr-hist-n { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.pr-hist-t { margin-left: auto; font-style: normal; font-size: 11px; color: var(--ink-3); }
.pr-sug {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  margin-top: 8px; font-size: 12px; color: var(--ink-3);
}
.imp-q { white-space: nowrap; }
.imp-qty {
  width: 64px; padding: 4px 6px; font-family: inherit;
  font-size: 12px; font-variant-numeric: tabular-nums;
  border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink);
}
.imp-qty:focus { border-color: var(--brand-mid); }
.imp-u { margin-left: 4px; font-style: normal; font-size: 10.5px; color: var(--ink-3); }
.imp-u.warn {
  color: #B42318; background: #FFF1F1; border-radius: 3px; padding: 0 4px;
}
@media (max-width: 900px) {
  .pr-range input, .pr-doc-f input, .pr-terms input { font-size: 16px; }
  .pr-doc { padding: 9px 10px; }
  .pr-doc-acts { width: 100%; }
  .pr-doc-acts .btn { flex: 1 1 auto; }
  .pr-hist-t { margin-left: 0; }
}
@media (max-width: 640px) {
  .pr-quote { table-layout: fixed; font-size: 11.5px; }
  .pr-quote th, .pr-quote td { padding: 6px 4px; }
  .pr-quote th { width: auto !important; }
  .pr-quote th:nth-child(1) { width: 30% !important; }
  .pr-quote th:nth-child(2) { width: 13% !important; }
  .pr-quote th:nth-child(3) { display: none; }
  .pr-quote td:nth-child(3) { display: none; }
  .pr-quote th:nth-child(4) { width: 19% !important; }
  .pr-quote th:nth-child(5) { width: 19% !important; }
  .pr-quote th:nth-child(6) { width: 19% !important; }
  .pr-quote th:nth-child(7) { width: 22px !important; }
  .pr-q-nm { max-width: none; white-space: normal; overflow: visible; text-overflow: clip; word-break: break-word; }
  .pr-qty, .pr-disc { width: 100%; min-width: 0; padding: 3px 2px; }
  .pr-q-p, .pr-q-s { font-size: 11px; }
  .pr-dcell { display: flex; flex-direction: column; align-items: stretch; gap: 2px; }
  .pr-dreset { align-self: flex-end; font-size: 11px; }
  .pr-dz { display: none; }
  .pr-q-br, .pr-q-u { display: none; }
  .pr-th-pct { display: none; }
  .pr-quote th { font-size: 10.5px; }
  .pr-quote-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .pr-quote-actions .btn { width: 100%; white-space: normal; line-height: 1.35; }
}
.sales-mod { max-width: 1720px; }
.sl-wrap {
  display: grid;
  grid-template-columns: 376px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.sl-side { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.sl-card { padding: 15px 16px 14px; }
.sl-card .card-title {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin: 0 0 10px; font-size: 14px;
}
.sl-badge {
  flex: none; padding: 2px 7px; border-radius: 6px;
  background: #F1F3F8; color: var(--ink-3);
  font-size: 11px; font-style: normal; font-weight: 500;
}
.sl-phead, .sl-prow {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr) 26px;
  gap: 6px; align-items: center;
}
.sl-phead { padding: 0 1px 6px; }
.sl-phead span {
  font-size: 10.5px; color: var(--ink-3); white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}
.sl-prow { margin-bottom: 6px; }
.sl-prow input {
  width: 100%; min-width: 0;
  padding: 6px 8px; border-radius: 7px;
  font-size: 13px; text-align: center;
}
.sl-prow .sl-name { font-weight: 500; }
.sl-del {
  width: 26px; height: 28px; padding: 0;
  border: 1px solid var(--line); border-radius: 7px;
  background: #fff; color: var(--ink-3);
  font-size: 15px; line-height: 1; cursor: pointer;
  transition: color .15s var(--ease), border-color .15s var(--ease), background .15s var(--ease);
}
.sl-del:hover { border-color: #F0B4B4; background: #FFF8F8; color: var(--danger); }
.sl-add { margin-top: 2px; }
.sl-f { display: flex; flex-direction: column; gap: 5px; margin-top: 12px; min-width: 0; }
.sl-f > span { font-size: 11.5px; color: var(--ink-3); }
.sl-f input, .sl-f select, .sl-f textarea { width: 100%; min-width: 0; font-size: 13px; }
.sl-f textarea { resize: vertical; line-height: 1.55; padding: 7px 9px; border-radius: 8px; }
.sl-f2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.sl-f2 .sl-f { margin-top: 0; }
.sl-f3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.sl-f3 .sl-f { margin-top: 0; }
.sl-tip { margin: 8px 0 0; font-size: 11.5px; line-height: 1.65; color: var(--ink-3); }
.sl-tip b { color: var(--ink-2); }
.sl-seg {
  display: inline-flex; gap: 2px; padding: 2px;
  background: #F1F3F8; border-radius: 8px;
}
.sl-seg button {
  padding: 4px 12px; border: 0; border-radius: 6px;
  background: transparent; color: var(--ink-3);
  font-family: inherit; font-size: 12px; font-weight: 500; cursor: pointer;
}
.sl-seg button:hover { color: var(--ink); background: rgba(255, 255, 255, .7); }
.sl-seg button.on {
  background: #fff; color: var(--brand); font-weight: 600;
  box-shadow: var(--shadow-xs);
}
.sl-main { min-width: 0; }
.sl-pv-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  margin: 0 2px 8px;
}
.sl-pv-head b { font-size: 14px; color: var(--ink); }
.sl-pv-head span { font-size: 11.5px; color: var(--ink-3); }
.sl-canvas-wrap {
  border: 1px solid var(--line); border-radius: 10px;
  background: #fff; overflow: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: var(--shadow-card);
}
.sl-canvas-wrap canvas { display: block; width: 100%; height: auto; }
.sl-pv-tip { margin-top: 8px; }
@media (max-width: 1180px) {
  .sl-wrap { grid-template-columns: 336px minmax(0, 1fr); }
}
@media (max-width: 980px) {
  .sl-wrap { grid-template-columns: minmax(0, 1fr); }
  .sl-phead, .sl-prow { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr) 30px; }
  .sl-canvas-wrap canvas { width: 820px; }
}
@media (max-width: 720px) {
  .sales-mod { padding: 16px 14px 30px; }
  .sl-card { padding: 13px 13px 12px; }
  .sl-f2 { grid-template-columns: minmax(0, 1fr); }
  .sl-f3 { grid-template-columns: minmax(0, 1fr); }
  .sl-prow input, .sl-f input, .sl-f select, .sl-f textarea { font-size: 16px; }
  .sl-canvas-wrap canvas { width: 700px; }
}
.dl-mgr {
  margin-top: 8px; padding: 10px 11px;
  border: 1px dashed var(--line); border-radius: 10px; background: #FBFCFE;
}
.dl-mgr-head { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 7px; }
.dl-mgr-head b { font-size: 12.5px; color: var(--ink); }
.dl-mgr-head .tip { margin: 0; font-size: 11.5px; }
.dl-mgr-list { display: flex; flex-wrap: wrap; gap: 6px; }
.dl-mgr-chip {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 3px 3px 10px; border: 1px solid var(--line); border-radius: 999px;
  background: #fff; font-size: 12.5px; color: var(--ink-2); line-height: 1.4;
}
.dl-mgr-del {
  width: 19px; height: 19px; padding: 0; border: 0; border-radius: 50%;
  background: #F1F3F6; color: #8A94A6; font-size: 13px; line-height: 19px;
  cursor: pointer; transition: background .12s, color .12s;
}
.dl-mgr-del:hover { background: #FEE2E2; color: #B91C1C; }
.dl-mgr-add { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.dl-mgr-add input { flex: 0 1 190px; min-width: 0; padding: 6px 9px; font-size: 12.5px; }
.dl-mgr-add .tip { margin: 0; }
@media (max-width: 720px) {
  .dl-mgr-add input { flex: 1 1 100%; font-size: 16px; }
  .dl-mgr-add .btn { flex: 1 1 auto; }
}
.pm-wachip {
  display: inline-flex; align-items: center; gap: 4px; max-width: 100%;
  padding: 1px 9px; border-radius: 999px;
  background: #ECFDF5; border: 1px solid #A7F3D0; color: #047857;
  font-size: 11.5px; font-weight: 600; text-decoration: none;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pm-wachip:hover { background: #D1FAE5; border-color: #6EE7B7; color: #065F46; }
.pm-wa-btn { color: #047857; border-color: #A7F3D0; }
.pm-wa-btn:hover { background: #ECFDF5; border-color: #6EE7B7; color: #065F46; }
.pm-tip {
  margin: 4px 0 0; font-size: 12.5px; line-height: 1.6;
  color: var(--ink-dim, #667085);
}
@media (max-width: 720px) {
  .pm-tip { font-size: 12px; }
}
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
@media (max-width: 900px) { .grid4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid4 { grid-template-columns: 1fr; gap: 0; } }
.pr-q-mkt, .imp-tag.mkt {
  display: inline-block; margin-left: 5px; padding: 1px 6px; border-radius: 4px;
  background: #FFF7E6; border: 1px solid #FFD591; color: #AD6800;
  font-style: normal; font-size: 10.5px; font-weight: 700; white-space: nowrap;
}
.pr-mkrow .pr-q-raw, .pr-mkrow .pr-q-p { color: #AD6800; }
.pr-mkt-note {
  margin-top: 6px; padding: 7px 10px; border-radius: 6px;
  background: #FFF7E6; border: 1px solid #FFD591; color: #874D00; font-size: 12px; line-height: 1.6;
}
.pr-mkt-note span { color: #AD6800; }
.imp-src { width: 150px; font-size: 11.5px; color: #666; }
.imp-src small { display: block; color: #AD6800; line-height: 1.35; margin-top: 2px; }
.imp-mkt-go, .imp-mkt-use {
  border: 1px solid #FFD591; background: #FFF7E6; color: #AD6800;
  border-radius: 4px; padding: 2px 7px; font-size: 11px; cursor: pointer;
}
.imp-mkt-go:hover, .imp-mkt-use:hover { background: #FFE7BA; }
.imp-mkt-busy { color: #AD6800; font-size: 11px; }
.imp-tag.one { background: #E8F7EE; border-color: #A7E3C0; color: #0B6B3A; }
.imp-mktrow { background: #FFFDF5; }
.grid4 { grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .grid4 { grid-template-columns: 1fr; } }
.pr-basis-note { margin-top: 6px; font-size: 11.5px; color: #667085; line-height: 1.6; }
.pr-basis-note b { color: #0B6B3A; }
.pr-mk-d {
  display: inline-block; padding: 2px 4px; border-radius: 4px;
  background: #FFF7E6; border: 1px solid #FFD591; color: #AD6800;
  font-size: 11px; font-weight: 700; white-space: nowrap;
}
.cad-wrap { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 14px; align-items: start; }
.cad-side, .cad-main { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.cad-card { padding: 14px; }
.cad-card > h3 { margin: 0 0 10px; font-size: 14px; font-weight: 700; color: #172B4D; }
.cad-card > h3 em { margin-left: 8px; font-size: 11px; font-weight: 500; color: #7A8699; font-style: normal; }
.cad-drop { border: 1.5px dashed #B9CBDD; border-radius: 12px; background: #F7FAFD; text-align: center; padding: 22px 14px; cursor: pointer; transition: background .15s, border-color .15s; }
.cad-drop:hover, .cad-drop.over { background: #EDF6FF; border-color: #0A64A0; }
.cad-drop .cad-dico { display: block; font-size: 26px; line-height: 1; color: #0A64A0; margin-bottom: 8px; }
.cad-drop b { display: block; font-size: 14px; color: #172B4D; }
.cad-drop small { display: block; margin-top: 6px; font-size: 11.5px; line-height: 1.7; color: #667085; }
.cad-drop .btn { margin-top: 10px; }
.cad-kv { width: 100%; border-collapse: collapse; font-size: 11.5px; }
.cad-kv th, .cad-kv td { padding: 5px 2px; border-bottom: 1px dashed #EDF0F4; text-align: left; vertical-align: top; line-height: 1.5; }
.cad-kv th { width: 96px; color: #7A8699; font-weight: 500; white-space: nowrap; }
.cad-kv td { color: #25324A; word-break: normal; overflow-wrap: anywhere; }
.cad-kv tr:last-child th, .cad-kv tr:last-child td { border-bottom: 0; }
.cad-warn { margin-top: 10px; background: #FFF8E6; border: 1px solid #FFE0A3; border-radius: 8px; padding: 9px 11px; font-size: 11.5px; color: #874D00; line-height: 1.65; }
.cad-warn b { display: block; margin-bottom: 3px; }
.cad-warn ul { margin: 0; padding-left: 16px; }
.cad-ok { margin-top: 10px; background: #EDF9F1; border: 1px solid #B7E4C7; border-radius: 8px; padding: 8px 10px; font-size: 11.5px; color: #0B6B3A; }
.cad-reject { background: #FFF7E6; border: 1px solid #FFD591; border-radius: 10px; padding: 12px; font-size: 12px; line-height: 1.75; color: #874D00; }
.cad-reject b { font-size: 14px; color: #AD4E00; }
.cad-reject p { margin: 6px 0 0; }
.cad-reject .cad-how { border-top: 1px dashed #FFD591; padding-top: 8px; margin-top: 8px; }
.cad-tgrp { margin-bottom: 12px; }
.cad-tgrp:last-of-type { margin-bottom: 6px; }
.cad-tgrp h4 { margin: 0 0 5px; font-size: 11.5px; font-weight: 700; color: #0A64A0; }
.cad-tgrp dl { margin: 0; display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; font-size: 11.5px; }
.cad-tgrp dt { color: #667085; }
.cad-tgrp dd { margin: 0; text-align: right; color: #25324A; font-variant-numeric: tabular-nums; }
.cad-note { margin: 6px 0 0; font-size: 11px; line-height: 1.7; color: #7A8699; border-top: 1px solid #EDF0F4; padding-top: 8px; }
.cad-note b { color: #AD6800; }
.cad-roomsum { margin-top: 10px; padding-top: 10px; border-top: 1px dashed #DDE3EA; }
.cad-roomsum h4 em { font-style: normal; font-weight: 700; color: #8A94A6; font-size: 10.5px; }
.cad-roomsum .cad-note { border-top: 0; padding-top: 4px; }
.cad-low { color: #C0392B; font-size: 11px; }
.cad-svg { height: 430px; border: 1px solid #E4E9F0; border-radius: 10px; overflow: hidden; background: #FCFDFE; }
.cad-svg svg { display: block; }
.cad-empty { display: flex; height: 100%; align-items: center; justify-content: center; color: #98A2B3; font-size: 13px; }
.cad-svgbar { display: flex; align-items: center; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.cad-svgbar .cad-svg-info { flex: 1; min-width: 160px; font-size: 11px; color: #7A8699; line-height: 1.5; }
.cad-tabs { display: flex; gap: 4px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 8px; -webkit-overflow-scrolling: touch; }
.cad-tabs button { flex: 0 0 auto; border: 1px solid #E4E9F0; background: #fff; color: #475467; border-radius: 999px; padding: 5px 12px; font-size: 11.5px; cursor: pointer; }
.cad-tabs button.on { background: #0A64A0; border-color: #0A64A0; color: #fff; font-weight: 700; }
.cad-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cad-tb { width: 100%; border-collapse: collapse; font-size: 11.5px; white-space: nowrap; }
.cad-tb th, .cad-tb td { padding: 6px 8px; border-bottom: 1px solid #EDF0F4; text-align: left; }
.cad-tb th { background: #F6F8FB; color: #475467; font-weight: 600; position: sticky; top: 0; }
.cad-tb td { color: #25324A; font-variant-numeric: tabular-nums; }
.cad-tb tr:hover td { background: #F9FBFD; }
.cad-cat { display: inline-block; padding: 1px 6px; border-radius: 4px; background: #E8F2FA; color: #0A64A0; font-size: 10.5px; }
.cad-rule, .cad-src { white-space: normal; min-width: 160px; max-width: 280px; display: inline-block; line-height: 1.55; color: #667085; font-size: 11px; }
.cad-src { color: #8A94A6; }
.cad-tnote { margin: 0 0 8px; font-size: 11px; color: #7A8699; line-height: 1.65; }
.cad-more { margin: 10px 0 0; font-size: 11.5px; color: #667085; }
.cad-sub { margin: 14px 0 8px; font-size: 12.5px; color: #172B4D; }
.cad-sub:first-child { margin-top: 0; }
.cad-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; padding: 12px 14px; background: #fff; border: 1px solid #E4E9F0; border-radius: 12px; }
.cad-qcats { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-right: auto; font-size: 11.5px; color: #475467; }
.cad-qcats label { display: inline-flex; align-items: center; gap: 4px; cursor: pointer; white-space: nowrap; }
.cad-qcats input { accent-color: #0A64A0; }
.cad-qcats .cad-qhint { flex-basis: 100%; color: #98A2B3; font-size: 11px; line-height: 1.5; }
@media (max-width: 960px) {
  .cad-wrap { grid-template-columns: 1fr; }
  .cad-svg { height: 340px; }
}
@media (max-width: 560px) {
  .cad-wrap { gap: 10px; }
  .cad-card { padding: 11px; }
  .cad-svg { height: 280px; }
  .cad-rule, .cad-src { max-width: 170px; }
  .cad-btns .btn { flex: 1 1 auto; }
  .cad-qcats { flex-basis: 100%; }
}
.cad-busy { background: #F0F7FF; border: 1px solid #B6D8FF; border-radius: 10px; padding: 12px; font-size: 12px; line-height: 1.75; color: #0B4A7A; }
.cad-busy b { font-size: 14px; color: #0A64A0; }
.cad-busy p { margin: 6px 0 0; }
.cad-busy-file { font-weight: 600; word-break: break-all; }
.cad-busy-msg { color: #1D6FB8; }
.cad-busy .cad-how { border-top: 1px dashed #B6D8FF; padding-top: 8px; margin-top: 8px; color: #4B6B85; font-size: 11px; }
.cad-reject code { background: #FFF1D6; padding: 1px 4px; border-radius: 4px; word-break: break-all; }
@media (max-width: 960px) {
  .cad-wrap { grid-template-columns: 1fr; }
  .cad-side, .cad-main { display: contents; }
  .cad-prev { order: 1; }
  .cad-drop { order: 2; }
  .cad-info { order: 3; }
  .cad-tot { order: 4; }
  .cad-data { order: 5; }
}
@media (max-width: 560px) {
  .cad-wrap.has-file .cad-drop {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 12px; text-align: left;
  }
  .cad-wrap.has-file .cad-drop .cad-dico { display: none; }
  .cad-wrap.has-file .cad-drop small { display: none; }
  .cad-wrap.has-file .cad-drop b { font-size: 12.5px; font-weight: 600; }
  .cad-svg { height: 300px; }
  .toast { bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
}
.cad-drop-mini { display: none; }
@media (max-width: 560px) {
  .cad-wrap.has-file .cad-drop b { display: none; }
  .cad-wrap.has-file .cad-drop .cad-drop-mini { display: block; flex: 1; font-size: 12.5px; font-weight: 600; color: #172B4D; }
  .cad-drop:focus-visible { outline: 2px solid #0A64A0; outline-offset: 2px; }
}
@media (max-width: 960px) {
  .cad-wrap > * { min-width: 0; }
}
@media (max-width: 960px) {
  .cad-wrap .cad-card { min-width: 0; }
}
.cad-swipe { display: none; }
@media (max-width: 560px) {
  .cad-svgbar .cad-svg-info { flex: 1 1 100%; min-width: 0; order: -1; }
  .cad-svgbar { gap: 6px; }
  .cad-svgbar .btn { flex: 1 1 0; }
  .cad-swipe { display: block; margin: 0 0 6px; font-size: 11px; line-height: 1.6; color: #98A2B3; }
}
.mr-mod { background: #F7F8FA; min-height: 100vh; }
.mr-root {
  --mr-line: #E1E6EE;
  --mr-head: #F3F6FA;
  --mr-ink: #1D2939;
  --mr-mut: #667085;
  --mr-brand: var(--brand, #0071E3);
}
.mr-bar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 10px 18px; background: #fff; border-bottom: 1px solid var(--mr-line);
}
.mr-bar-l { display: flex; align-items: center; gap: 10px; min-width: 0; }
.mr-logo {
  width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  background: linear-gradient(135deg, #0A64A0, #2DA4D6); color: #fff; flex: none;
}
.mr-logo svg { width: 19px; height: 19px; fill: none; stroke: #fff; stroke-width: 1.8; }
.mr-bar-l h1 { margin: 0; font-size: 16px; font-weight: 700; color: var(--mr-ink); letter-spacing: .2px; }
.mr-bar-l p { margin: 1px 0 0; font-size: 11px; color: var(--mr-mut); }
.mr-bar-r { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-left: auto; }
.mr-btn {
  font: inherit; font-size: 12px; height: 30px; padding: 0 10px; cursor: pointer;
  border: 1px solid var(--mr-line); border-radius: 7px; background: #fff; color: var(--mr-ink);
  white-space: nowrap;
}
.mr-btn:hover { background: #F3F6FA; }
.mr-btn.primary { background: var(--mr-brand); border-color: var(--mr-brand); color: #fff; }
.mr-btn.primary:hover { filter: brightness(1.06); }
.mr-btn.mr-danger { color: #D92D20; border-color: #F5C2BE; }
.mr-btn.mr-danger:hover { background: #FEF3F2; }
.mr-month { height: 30px; border: 1px solid var(--mr-line); border-radius: 7px; padding: 0 6px; font: inherit; font-size: 12px; }
.mr-month-t { font-size: 12px; color: var(--mr-mut); margin: 0 2px; }
.mr-save { font-size: 11px; color: #98A2B3; min-width: 92px; }
.mr-error {
  margin: 10px 18px 0; padding: 8px 12px; border-radius: 8px;
  background: #FEF3F2; color: #B42318; font-size: 12px; border: 1px solid #FDA29B;
}
.mr-tabs {
  position: sticky; top: 55px; z-index: 25;
  display: flex; gap: 6px; overflow-x: auto; padding: 8px 18px;
  background: #fff; border-bottom: 1px solid var(--mr-line);
  -webkit-overflow-scrolling: touch;
}
.mr-tab {
  font: inherit; font-size: 12px; height: 28px; padding: 0 10px; cursor: pointer;
  border: 1px solid transparent; border-radius: 6px; background: transparent; color: var(--mr-mut);
  white-space: nowrap;
}
.mr-tab:hover { background: #F3F6FA; color: var(--mr-ink); }
.mr-tab.on { background: #E8F1FC; color: var(--mr-brand); font-weight: 600; border-color: #CFE2FA; }
.mr-body { padding: 14px 18px 48px; }
.mr-empty { padding: 60px 20px; text-align: center; color: var(--mr-mut); font-size: 13px; }
.mr-card {
  background: #fff; border: 1px solid var(--mr-line); border-radius: 10px;
  padding: 14px 14px 12px; margin-bottom: 16px; box-shadow: 0 1px 2px rgba(16, 24, 40, .03);
}
.mr-card-h { display: flex; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.mr-card-h h2 { margin: 0; font-size: 14px; font-weight: 700; color: var(--mr-ink); line-height: 1.5; }
.mr-card-h-r { margin-left: auto; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 11px; color: var(--mr-mut); }
.mr-kpi {
  display: flex; flex-wrap: wrap; gap: 6px; align-items: stretch;
  background: #F8FAFD; border: 1px solid #E6EDF7; border-radius: 8px; padding: 8px 10px; margin-bottom: 10px;
}
.mr-kpi-i { display: flex; flex-direction: column; gap: 1px; padding: 2px 12px; border-right: 1px dashed #DCE5F1; min-width: 116px; }
.mr-kpi-i:last-of-type { border-right: none; }
.mr-kpi-i b { font-size: 10.5px; font-weight: 500; color: var(--mr-mut); }
.mr-kpi-i span { font-size: 15px; font-weight: 700; color: #0A64A0; font-variant-numeric: tabular-nums; }
.mr-kpi-i span.ok { color: #067647; }
.mr-kpi-note { margin-left: auto; align-self: center; font-size: 10.5px; color: #98A2B3; }
.mr-totalband {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 8px 10px; margin-bottom: 10px; border-radius: 8px;
  background: #FFF8E6; border: 1px solid #F7DFA0; font-size: 12px; color: #7A4F01;
}
.mr-totalband b { font-weight: 600; font-size: 11px; }
.mr-totalband span { font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; margin-right: 12px; }
.mr-scroll { overflow: auto; border: 1px solid var(--mr-line); border-radius: 8px; max-height: calc(100vh - 300px); }
.mr-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 12px; color: var(--mr-ink); }
.mr-table th, .mr-table td { border-right: 1px solid var(--mr-line); border-bottom: 1px solid var(--mr-line); padding: 4px 6px; vertical-align: middle; }
.mr-table th:last-child, .mr-table td:last-child { border-right: none; }
.mr-table thead th { background: var(--mr-head); font-weight: 600; text-align: center; position: sticky; top: 0; z-index: 2; line-height: 1.35; }
.mr-table thead tr:nth-child(2) th { top: 27px; }
.mr-table thead tr:nth-child(3) th { top: 54px; }
.mr-table .mr-c { text-align: center; }
.mr-table .mr-r { text-align: right; font-variant-numeric: tabular-nums; }
.mr-table tbody tr:hover td { background: #FAFCFF; }
.mr-table .mr-name { min-width: 230px; max-width: 420px; }
.mr-table .mr-month-cell { color: var(--mr-mut); font-size: 11px; }
.mr-main { min-width: 1900px; }
.mr-main td:nth-child(1) { min-width: 44px; }
.mr-main td:nth-child(2) { min-width: 110px; }
.mr-main td:nth-child(3) { min-width: 280px; }
.mr-main td:nth-child(4), .mr-main td:nth-child(5), .mr-main td:nth-child(6),
.mr-main td:nth-child(7), .mr-main td:nth-child(8) { min-width: 108px; }
.mr-main td:nth-child(9) { min-width: 68px; }
.mr-main td:nth-child(10) { min-width: 132px; }
.mr-main td:nth-child(11) { min-width: 78px; }
.mr-main td:nth-child(12) { min-width: 92px; }
.mr-main td:nth-child(13) { min-width: 96px; }
.mr-main td:nth-child(14), .mr-main td:nth-child(15) { min-width: 80px; }
.mr-main td:nth-child(16) { min-width: 104px; }
.mr-main td:nth-child(17) { min-width: 120px; }
.mr-main td:nth-child(18) { min-width: 32px; }
.mr-table th { white-space: nowrap; }
.mr-summary { min-width: 1180px; }
.mr-region { min-width: 2100px; }
.mr-report { min-width: 560px; }
.mr-detail, .mr-dept { min-width: 1120px; }
.mr-plan { min-width: 620px; }
.mr-review { min-width: 2200px; }
.mr-rank { min-width: 460px; }
.mr-in {
  width: 100%; box-sizing: border-box; font: inherit; font-size: 12px; color: inherit;
  border: 1px solid transparent; border-radius: 4px; background: transparent; padding: 3px 4px;
}
.mr-in:hover { border-color: #D5DEEA; background: #fff; }
.mr-in:focus { border-color: var(--mr-brand); background: #fff; outline: none; box-shadow: 0 0 0 2px rgba(0, 113, 227, .12); }
.mr-in.mr-num { text-align: right; font-variant-numeric: tabular-nums; }
.mr-sel { cursor: pointer; }
.mr-del {
  border: none; background: transparent; color: #B42318; cursor: pointer; font-size: 15px;
  line-height: 1; padding: 2px 4px; border-radius: 4px;
}
.mr-del:hover { background: #FEF3F2; }
.mr-table .mr-total td { background: #FFF8E6; font-weight: 700; }
.mr-table .mr-total2 td { background: #F0F7FF; font-weight: 700; }
.mr-table .mr-sub td { background: #F8FAFC; font-weight: 600; }
.mr-table .mr-cat td { background: #EEF4FF; font-weight: 700; }
.mr-table .mr-total b { font-weight: 700; }
.mr-none { color: #98A2B3; text-align: center; padding: 16px 8px; font-weight: 400; }
.mr-tip { margin: 9px 0 0; font-size: 11.5px; line-height: 1.75; color: var(--mr-mut); }
.mr-tip b { color: #344054; }
.mr-warn {
  margin: 9px 0 0; padding: 7px 10px; border-radius: 7px; font-size: 11.5px; line-height: 1.7;
  background: #FFFAEB; border: 1px solid #FEDF89; color: #93370D;
}
.mr-notes { margin-top: 10px; padding: 8px 10px; background: #F8FAFC; border: 1px dashed #E1E6EE; border-radius: 7px; }
.mr-notes p { margin: 2px 0; font-size: 11px; line-height: 1.7; color: #475467; }
.mr-nav { padding: 24px 18px; }
.mr-nav-t { margin: 0 0 16px; text-align: center; font-size: 20px; font-weight: 700; color: #0A64A0; letter-spacing: .5px; }
.mr-nav-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.mr-nav-b {
  font: inherit; font-size: 12.5px; min-height: 48px; padding: 8px 10px; cursor: pointer;
  border: 1px solid #CFE2FA; border-radius: 8px; background: #F5FAFF; color: #0A64A0; font-weight: 600;
}
.mr-nav-b:hover { background: #E8F1FC; border-color: #9CC6F5; }
.mr-mask {
  position: fixed; inset: 0; z-index: 9999; background: rgba(16, 24, 40, .45);
  display: flex; align-items: center; justify-content: center; padding: 16px;
}
.mr-modal { width: 100%; max-width: 380px; background: #fff; border-radius: 12px; padding: 16px; box-shadow: 0 20px 40px rgba(16, 24, 40, .2); }
.mr-modal h3 { margin: 0 0 4px; font-size: 15px; }
.mr-modal-sub { margin: 0 0 12px; font-size: 11.5px; color: var(--mr-mut); line-height: 1.6; }
.mr-fld { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.mr-fld span { width: 78px; font-size: 12px; color: #344054; flex: none; }
.mr-fld input { flex: 1; height: 32px; border: 1px solid var(--mr-line); border-radius: 7px; padding: 0 8px; font: inherit; font-size: 12px; text-align: right; }
.mr-modal-foot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px; }
.mr-toast {
  position: fixed; left: 50%; bottom: 32px; transform: translateX(-50%);
  background: rgba(16, 24, 40, .92); color: #fff; font-size: 12.5px; padding: 8px 14px;
  border-radius: 8px; z-index: 10000; transition: opacity .35s; max-width: 80vw;
}
.mr-toast.out { opacity: 0; }
@media (max-width: 860px) {
  .mr-bar { padding: 8px 10px; gap: 8px; }
  .mr-bar-l h1 { font-size: 15px; }
  .mr-bar-l p { display: none; }
  .mr-bar-r { width: 100%; margin-left: 0; gap: 5px; }
  .mr-month-t { display: none; }
  .mr-save { min-width: 0; flex: 0 0 auto; font-size: 10.5px; }
  .mr-tabs { top: 92px; padding: 7px 10px; }
  .mr-body { padding: 10px 10px 40px; }
  .mr-card { padding: 11px 9px 9px; }
  .mr-scroll { max-height: none; }
  .mr-kpi-i { min-width: 96px; padding: 2px 8px; }
  .mr-kpi-i span { font-size: 13px; }
  .mr-kpi-note { display: none; }
  .mr-nav-grid { grid-template-columns: repeat(2, 1fr); }
  .mr-nav-t { font-size: 16px; }
}
@media print {
  .mr-bar, .mr-tabs, .mr-tip, .mr-warn, .mr-btn, .mr-del { display: none !important; }
  .mr-mod { background: #fff; }
  .mr-card { border: none; box-shadow: none; padding: 0; }
  .mr-scroll { max-height: none; overflow: visible; border: none; }
  .mr-table { min-width: 0 !important; font-size: 9px; }
}
.cad-canvas { position: relative; height: 460px; border: 1px solid #E4E9F0; border-radius: 10px; overflow: hidden; background: #FFFFFF; }
.cad-canvas canvas { display: block; width: 100%; height: 100%; cursor: grab; touch-action: none; }
.cad-canvas canvas.is-drag { cursor: grabbing; }
.cad-canvas .cad-empty { position: absolute; inset: 0; }
.cad-canvas .cad-empty[hidden] { display: none !important; }
.cad-tools { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.cad-tools .btn.on { background: #E8F3FF; border-color: #0A64A0; color: #0A64A0; }
.cad-layers { position: absolute; top: 8px; right: 8px; width: 248px; max-height: calc(100% - 16px); background: rgba(255,255,255,.98); border: 1px solid #E4E9F0; border-radius: 10px; box-shadow: 0 8px 24px rgba(16,24,40,.14); display: flex; flex-direction: column; z-index: 4; }
.cad-layers[hidden] { display: none !important; }
.cad-layers-head { display: flex; align-items: center; gap: 6px; padding: 8px 10px; border-bottom: 1px solid #EDF0F4; font-size: 12px; }
.cad-layers-head b { color: #172B4D; }
.cad-layers-head span { color: #98A2B3; margin-right: auto; }
.cad-layers-head .btn { padding: 2px 6px; font-size: 11px; }
.cad-layers-list { overflow: auto; padding: 4px 0 6px; }
.cad-layer-row { display: flex; align-items: center; gap: 6px; padding: 3px 10px; font-size: 11.5px; color: #25324A; cursor: pointer; }
.cad-layer-row:hover { background: #F4F8FD; }
.cad-layer-row.is-off { color: #A0A8B6; }
.cad-layer-row i { width: 9px; height: 9px; border-radius: 2px; flex: none; border: 1px solid rgba(0,0,0,.12); }
.cad-layer-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cad-layer-row em { font-style: normal; color: #98A2B3; font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .cad-canvas { height: 340px; } }
@media (max-width: 640px) { .cad-canvas { height: 300px; } .cad-layers { width: calc(100% - 16px); } }
.cad-card.is-full { position: fixed !important; inset: 0; z-index: 9000; margin: 0 !important; border-radius: 0 !important;
  background: #0B0D10; display: flex; flex-direction: column; padding: 10px 14px 12px; box-shadow: none; }
.cad-card.is-full > h3 { color: #E6EAF2; flex: none; margin: 0 0 8px; }
.cad-card.is-full > h3 em { color: #8A94A6; }
.cad-card.is-full .cad-canvas { flex: 1 1 auto; height: auto !important; min-height: 0; border-radius: 0; border-color: #1C2229; }
.cad-card.is-full .cad-svgbar { flex: none; margin-top: 8px; }
.cad-card.is-full .cad-svg-info { color: #9AA4B4; }
body.cad-full { overflow: hidden; }
@media (max-width: 640px) { .cad-card.is-full { padding: 6px 8px 8px; } }
.cad-coord { position: absolute; right: 8px; bottom: 8px; padding: 2px 7px; border-radius: 5px;
  background: rgba(0,0,0,.45); color: rgba(255,255,255,.62); font: 11px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace;
  font-variant-numeric: tabular-nums; pointer-events: none; z-index: 3; }
.cad-coord[hidden] { display: none !important; }
@media (pointer: coarse) {
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="file"]),
  select,
  textarea {
    font-size: 16px !important;
    max-width: 100%;
  }
  .btn { min-height: 44px; }
  .btn.tiny { min-height: 40px; }
  .modtab { min-height: 40px; }
  .nv-bell { width: 40px; height: 40px; }
  .mr-btn { min-height: 40px; min-width: 40px; }
  .link-btn { min-height: 40px; }
  select, input[type="month"], input[type="date"] { min-height: 38px; }
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="file"]) {
    min-height: 38px;
  }
  .ps-chip,
  .mr-tab,
  .vd-tab,
  .td-tab,
  .tab,
  .pm-scope-btn,
  .dl-pick,
  .sl-seg button { min-height: 40px; }
  .sl-done, .sl-plan { min-height: 36px; }
  .cad-tabs button { min-height: 40px; }
  #exPrev, #exNext, #exToggle { min-height: 40px; min-width: 40px; }
  .dl-sbtn { min-height: 40px; }
  .exbox-head { flex-wrap: wrap; }
  button { min-height: 40px; }
}
@supports (height: 100dvh) {
  .poster-stage { height: calc(100dvh - 268px); }
  @media (max-width: 900px) {
    .poster-stage { height: calc(100dvh - 320px); }
  }
}
.cad-blocker {
  margin: 0 0 10px; padding: 11px 13px; border-radius: 10px;
  background: #FFF1F0; border: 1px solid #FFA39E; color: #8C1D18;
  font-size: 12px; line-height: 1.7;
}
.cad-blocker b.cad-blocker-t { display: block; font-size: 13.5px; margin-bottom: 4px; color: #A8071A; }
.cad-blocker p { margin: 5px 0 0; }
.cad-blocker .cad-blocker-fix {
  margin-top: 7px; padding-top: 7px; border-top: 1px dashed #FFA39E; color: #874D00;
}
.cad-blocker code { background: #FFE7E6; padding: 1px 4px; border-radius: 4px; }
.cad-blocker .cad-blocker-n { font-weight: 700; }
.cad-blocker .cad-blocker-note {
  margin-top: 6px; padding-left: 8px; border-left: 2px solid #FFA39E;
  font-size: 11.5px; color: #7a4a45;
}
.cad-t3bar {
  margin: 0 0 12px; padding: 10px 13px 10px 15px;
  border-left: 3px solid #D48806; border-radius: 8px;
  background: #FFFBE6; color: #614700;
  font-size: 12.5px; line-height: 1.78;
}
.cad-t3bar b { display: block; font-size: 13.5px; color: #874D00; margin-bottom: 3px; }
.cad-t3bar span { display: block; }
.cad-t3bar em {
  display: block; margin-top: 6px; padding-top: 6px;
  border-top: 1px dashed #FFD591; font-style: normal;
  font-size: 11.5px; color: #8A6D3B;
}
.cad-t3bar em:empty { display: none; }
.cad-t3tag {
  display: inline-block; padding: 0 5px; border-radius: 4px;
  background: #D48806; color: #fff; font-weight: 700; font-size: 11px;
  vertical-align: 1px; letter-spacing: .3px;
}
.cad-drop small b { display: inline; font-size: inherit; color: #475467; font-weight: 700; }
.cad-t3bar > b { display: block; }
.cad-t3bar span b { display: inline; font-size: inherit; color: #874D00; }
.cad-kv .cad-good { color: #237804; }
.cad-kv .cad-bad { color: #A8071A; }
.mr-table .mr-total3 td { background: #F3FAF4; font-weight: 700; }
.mr-rg {
  display: inline-block; margin-left: 4px; padding: 0 4px; border-radius: 4px;
  background: #EAF3FE; color: #0A64A0; font-size: 10.5px; font-weight: 600;
  line-height: 1.5; vertical-align: 1px; white-space: nowrap;
}
.mr-big { margin-top: 12px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.mr-big-h { position: sticky; left: 0; font-size: 12px; font-weight: 700; color: #475467; margin: 0 0 6px; }
.mr-bigreg { min-width: 560px; max-width: 760px; }
.mr-bigreg th { background: var(--mr-head); }
.mr-bigreg .mr-prov { color: #667085; font-size: 11.5px; }
.mr-ana-bar { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: flex-end; margin-bottom: 10px; }
.mr-ana-f { display: flex; flex-direction: column; gap: 4px; }
.mr-ana-f > span { font-size: 11px; color: var(--mr-mut); }
.mr-ana-f select, .mr-ana-f input {
  height: 32px; min-width: 132px; box-sizing: border-box;
  border: 1px solid var(--mr-line); border-radius: 7px; padding: 0 8px;
  font: inherit; font-size: 12px; color: var(--mr-ink); background: #fff;
}
.mr-ana-f input { width: 96px; min-width: 96px; text-align: right; font-variant-numeric: tabular-nums; }
.mr-ana-bar .mr-btn { height: 32px; }
.mr-ana-file {
  margin: 0 0 10px; padding: 7px 10px; border-radius: 7px;
  background: #F5FAFF; border: 1px solid #DBE9FB; font-size: 11.5px; color: #344054;
}
.mr-ana-file b { color: #0A64A0; font-weight: 700; }
.mr-ana-file span { color: var(--mr-mut); }
.mr-scroll-ana { max-height: none; }
.mr-analist { width: 100%; min-width: 560px; table-layout: fixed; }
.mr-analist th, .mr-analist td { word-break: break-word; }
.mr-analist th:nth-child(1), .mr-analist td:nth-child(1) { width: 40px; }
.mr-analist th:nth-child(2), .mr-analist td:nth-child(2) { width: 22%; }
.mr-analist th:nth-child(3), .mr-analist td:nth-child(3) { width: 34%; }
.mr-analist th:nth-child(4), .mr-analist td:nth-child(4) { width: auto; }
.mr-analist .mr-analist-d { color: var(--mr-mut); font-size: 11.5px; }
.mr-overseas { min-width: 480px; width: 100%; max-width: 760px; margin-bottom: 10px; }
.mr-overseas th { background: var(--mr-head); }
.mr-overseas2 { min-width: 480px; width: 100%; max-width: 760px; }
.mr-overseas2 th { background: var(--mr-head); }
.mr-sum { margin: 8px 0 0; font-size: 12px; color: #475467; }
.mr-sum b { color: #0A64A0; font-weight: 700; font-variant-numeric: tabular-nums; }
.mr-region-cell { position: relative; }
.mr-region-cell .mr-region-in { padding-right: 17px; }
.mr-region-btn {
  position: absolute; right: 1px; top: 50%; transform: translateY(-50%);
  width: 15px; height: 18px; padding: 0; border: 0; border-radius: 3px;
  background: transparent; color: #98A2B3; font-size: 9px; line-height: 1;
  cursor: pointer; opacity: .55; transition: opacity .15s, background .15s, color .15s;
}
.mr-region-cell:hover .mr-region-btn, .mr-region-btn:focus { opacity: 1; }
.mr-region-btn:hover { background: #EAF1FB; color: #0A64A0; }
.mr-pick {
  position: fixed; z-index: 3500; background: #fff;
  border: 1px solid #E4E7EC; border-radius: 10px;
  box-shadow: 0 14px 34px rgba(16, 24, 40, .16), 0 2px 6px rgba(16, 24, 40, .06);
  overflow: hidden;
}
.mr-pick-h { display: flex; align-items: center; gap: 6px; padding: 8px 10px; border-bottom: 1px solid #EEF1F5; }
.mr-pick-tab {
  flex: none; height: 26px; padding: 0 11px; border: 0; border-radius: 6px;
  background: #F2F4F7; color: #475467; font-size: 12px; font-weight: 600; cursor: pointer;
}
.mr-pick-tab.is-on { background: #0A64A0; color: #fff; }
.mr-pick-q {
  flex: 1 1 auto; min-width: 0; height: 26px; padding: 0 8px; font-size: 12px;
  border: 1px solid #E4E7EC; border-radius: 6px; color: #344054; background: #fff;
}
.mr-pick-q:focus { outline: none; border-color: #0A64A0; box-shadow: 0 0 0 2px rgba(10, 100, 160, .12); }
.mr-pick-b { max-height: 272px; overflow: auto; padding: 6px 10px 8px; -webkit-overflow-scrolling: touch; }
.mr-pick-g { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; margin: 6px 0 2px; }
.mr-pick-gn { flex: none; width: 42px; color: #98A2B3; font-size: 11px; font-weight: 600; }
.mr-pick-i {
  height: 24px; padding: 0 8px; border: 1px solid #E4E7EC; border-radius: 6px;
  background: #fff; color: #344054; font-size: 12px; line-height: 22px; cursor: pointer;
}
.mr-pick-i:hover { border-color: #0A64A0; color: #0A64A0; background: #F5FAFF; }
.mr-pick-i.is-on { background: #0A64A0; border-color: #0A64A0; color: #fff; }
.mr-pick-none { margin: 14px 0; text-align: center; color: #98A2B3; font-size: 12px; }
@media (max-width: 640px) {
  .mr-pick-gn { width: 100%; }
  .mr-pick-b { max-height: 46vh; }
}
.mr-tab-cur {
  margin-left: auto; display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--mr-mut); white-space: nowrap;
}
.mr-tab-now b { color: var(--mr-ink); font-weight: 700; }
.mr-tab.mr-back { background: #F2F4F7; border-color: #E4E7EC; color: #344054; }
.mr-tab.mr-back:hover { background: #EAF1FB; border-color: #0A64A0; color: #0A64A0; }
.mr-nav-kpi {
  display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0 0 14px;
  padding: 9px 12px; border-radius: 8px; background: #F7FAFD; border: 1px solid #E7F0F9;
  font-size: 12px; color: #475467;
}
.mr-nav-kpi b { color: #0A64A0; font-weight: 700; font-variant-numeric: tabular-nums; }
.mr-nav-kpi b.ok { color: #067647; }
.mr-nav-g { margin-bottom: 12px; }
.mr-nav-gh {
  margin: 0 0 6px; font-size: 11.5px; font-weight: 700; color: #667085;
  letter-spacing: .04em;
}
.mr-nav-b i {
  display: block; margin-top: 2px; font-style: normal;
  font-size: 11px; font-weight: 400; color: #98A2B3; line-height: 1.35;
}
.mr-nav-b { text-align: left; }
.mr-nav-b b { display: block; font-weight: 700; }
.mr-ana-prev {
  margin: 0 0 12px; padding: 10px 12px; border-radius: 8px;
  background: #F7FAFD; border: 1px solid #E7F0F9; font-size: 12px; color: #475467;
}
.mr-ana-src-h { font-size: 12.5px; color: #344054; margin-bottom: 6px; }
.mr-ana-src-h b { color: #0A64A0; }
.mr-ana-src-h span { color: var(--mr-mut); font-weight: 400; margin-left: 4px; }
.mr-ana-src-b { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.mr-ana-src-b b { color: #0A64A0; font-variant-numeric: tabular-nums; }
.mr-ana-depts { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 6px; padding-top: 6px; border-top: 1px dashed #E4EEF8; }
.mr-ana-d { display: inline-flex; align-items: baseline; gap: 5px; }
.mr-ana-d b { color: #344054; font-weight: 700; }
.mr-ana-d i { font-style: normal; color: #667085; font-variant-numeric: tabular-nums; }
.mr-ana-d u { text-decoration: none; color: #B54708; font-variant-numeric: tabular-nums; }
.mr-ana-d u.ok { color: #067647; }
.mr-ana-empty { color: #B54708; }
.mr-ana-err { color: #B42318; }
.mr-ana-src-t { margin-top: 6px; color: #98A2B3; font-size: 11px; }
.mr-ana-load { color: #98A2B3; }
@media (max-width: 720px) {
  .mr-tab-now { display: none; }
  .mr-tab-cur { margin-left: 0; }
}
@media (max-width: 720px), (pointer: coarse) and (max-height: 560px) {
  #colOa {
    display: flex; flex-direction: column;
    height: calc(100vh - var(--tb-h));
    height: calc(100dvh - var(--tb-h));
    max-width: none; margin: 0; padding: 0;
    box-sizing: border-box;
    overflow: hidden; overflow: clip;
  }
  #colOa .poster-head {
    flex: none; flex-direction: column; align-items: stretch;
    gap: 6px; margin: 0; padding: 8px 10px 6px;
    min-width: 0;
  }
  #colOa .poster-title h2 { margin: 0; font-size: 14.5px; }
  #colOa .poster-title p { display: none; }
  #colOa .poster-acts {
    flex-wrap: nowrap; gap: 6px;
    overflow-x: auto; overflow-y: hidden;
    padding-bottom: 2px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
    min-width: 0; width: 100%;
  }
  #colOa .poster-acts::-webkit-scrollbar { display: none; }
  #colOa .poster-acts .btn { flex: none; white-space: nowrap; }
  #colOa .poster-now { display: none; }
  #colOa .poster-stage {
    flex: 1 1 auto; min-height: 0; height: auto;
    border: 0; border-radius: 0; box-shadow: none;
  }
  #colOa .poster-frame { height: 100%; }
  #colOa > p.poster-tip:not(#oaSyncStat) { display: none; }
  #colOa #oaSyncStat {
    flex: none; max-height: 4.6em; overflow-y: auto;
    margin: 6px 10px 0; font-size: 11.5px; line-height: 1.55;
  }
  #colOa .poster-blank { flex: none; margin: 6px 10px 0; }
  #colOa .poster-gate { padding: 10px; }
  #colOa .pg-card { padding: 16px; max-height: 100%; overflow-y: auto; }
  #colOa .pg-card h3 { font-size: 15px; }
  #colOa .pg-card ol { font-size: 12.5px; padding-left: 18px; }
}
@media (pointer: coarse) and (max-height: 560px) {
  #colOa .poster-title { display: none; }
}
#colOa .poster-stage.is-immersive {
  position: fixed; inset: 0; z-index: 4000;
  height: 100vh; height: 100dvh;
  border: 0; border-radius: 0; box-shadow: none;
}
.oa-exit-full {
  position: absolute; top: 10px; right: 10px; z-index: 9;
  padding: 6px 12px; border-radius: 999px; cursor: pointer;
  background: rgba(17, 24, 39, .72); color: #fff; border: 0;
  font-family: inherit; font-size: 12px; font-weight: 600;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.oa-exit-full[hidden] { display: none; }
.mr-table .mr-amt { font-weight: 700; color: #0A64A0; background: #F5FAFF; white-space: nowrap; }
.mr-imp-modal {
  --mr-line: #E1E6EE;
  --mr-head: #F3F6FA;
  --mr-ink: #1D2939;
  --mr-mut: #667085;
  --mr-brand: var(--brand, #0071E3);
}
.mr-imp-modal .modal-box.mr-imp { max-width: 720px; }
.mr-imp-pick { padding: 18px 0 8px; text-align: center; }
.mr-imp-pick .mr-btn { height: 34px; padding: 0 18px; }
.mr-imp .mr-tip { margin: 10px 0 0; }
.mr-imp-period { margin: 10px 0 8px; }
.mr-imp-ok {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 10px 12px; border-radius: 9px; background: #ECFDF3;
  border: 1px solid #ABEFC6; font-size: 13px; color: #054F31;
}
.mr-imp-ok b { font-size: 15px; }
.mr-imp-src { font-size: 11.5px; color: #067647; opacity: .85; }
.mr-imp-ask {
  padding: 10px 12px; border-radius: 9px; background: #FFFAEB;
  border: 1px solid #FEDF89; font-size: 13px; color: #7A2E0E;
}
.mr-imp .mr-imp-tip {
  margin: 8px 0 0; font-size: 11.5px; line-height: 1.6;
  color: #667085; background: #F8FAFC; border-radius: 8px; padding: 7px 10px;
}
.mr-imp .mr-imp-tip b { color: #344054; }
.mr-imp-ask .mr-month { margin-left: 8px; vertical-align: middle; }
.mr-imp-opts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.mr-imp-opt {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  padding: 6px 10px; border: 1px solid var(--mr-line); border-radius: 8px;
  background: #fff; font-size: 13px;
}
.mr-imp-opt-t { font-weight: 600; }
.mr-imp-opt-n { font-size: 11.5px; color: var(--mr-mut); }
.mr-imp-stat {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  padding: 8px 0; font-size: 12.5px; color: var(--mr-mut);
  border-bottom: 1px solid var(--mr-line);
}
.mr-imp-stat b { color: var(--mr-ink); }
.mr-imp-stat .mr-imp-good { color: #067647; }
.mr-imp-mode { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; }
.mr-imp-mode label { display: inline-flex; align-items: center; gap: 4px; cursor: pointer; }
.mr-imp-wrap { max-height: 260px; overflow: auto; margin: 8px 0 0; border: 1px solid var(--mr-line); border-radius: 8px; }
.mr-imp-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.mr-imp-table th, .mr-imp-table td {
  padding: 5px 8px; border-bottom: 1px solid var(--mr-line); text-align: left; white-space: nowrap;
}
.mr-imp-table th { position: sticky; top: 0; background: #F8FAFC; font-weight: 600; z-index: 1; }
.mr-imp-table td.mr-r { text-align: right; }
.mr-imp .mr-imp-warn { margin: 8px 0 0; font-size: 12px; color: #B54708; }
.mr-imp-warn-i { display: block; }
.mr-imp-foot {
  display: flex; align-items: center; gap: 10px; justify-content: flex-end;
  margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--mr-line);
}
.mr-imp-go { font-size: 11.5px; color: var(--mr-mut); margin-right: auto; }
.mr-imp-modal .mr-btn:disabled { opacity: .5; cursor: not-allowed; }
.mr-person-cell { position: relative; }
.mr-person-cell .mr-person-in { padding-right: 17px; }
.mr-person-btn {
  position: absolute; right: 1px; top: 50%; transform: translateY(-50%);
  width: 15px; height: 18px; padding: 0; border: 0; border-radius: 3px;
  background: transparent; color: #98A2B3; font-size: 9px; line-height: 1;
  cursor: pointer; opacity: .55; transition: opacity .15s, background .15s, color .15s;
}
.mr-person-cell:hover .mr-person-btn, .mr-person-btn:focus { opacity: 1; }
.mr-person-btn:hover { background: #EAF1FB; color: #0A64A0; }
.mr-pp {
  position: fixed; z-index: 3500; background: #fff;
  border: 1px solid #E4E7EC; border-radius: 10px;
  box-shadow: 0 14px 34px rgba(16, 24, 40, .16), 0 2px 6px rgba(16, 24, 40, .06);
  overflow: hidden;
}
.mr-pp-h {
  padding: 8px 10px; border-bottom: 1px solid #EEF1F5;
  font-size: 11.5px; font-weight: 600; color: #475467;
}
.mr-pp-sel { padding: 8px 10px 4px; }
.mr-pp-row { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.mr-pp-n { flex: 1; font-size: 12.5px; color: #1D2939; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mr-pp-pct {
  width: 58px; height: 26px; padding: 0 6px; box-sizing: border-box; text-align: right;
  border: 1px solid #E4E7EC; border-radius: 6px; font: inherit; font-size: 12px;
}
.mr-pp-pct:focus { outline: 0; border-color: #0A64A0; }
.mr-pp-pc { font-size: 11.5px; color: #667085; }
.mr-pp-x {
  width: 22px; height: 22px; padding: 0; border: 0; border-radius: 5px;
  background: transparent; color: #98A2B3; font-size: 14px; line-height: 1; cursor: pointer;
}
.mr-pp-x:hover { background: #FEF3F2; color: #D92D20; }
.mr-pp-sum { font-size: 11px; color: #667085; padding: 2px 0 4px; }
.mr-pp-sum.is-bad { color: #B54708; }
.mr-pp-mid {
  padding: 4px 10px 6px; font-size: 11px; color: #98A2B3;
  border-top: 1px solid #EEF1F5;
}
.mr-pp-b { display: flex; flex-wrap: wrap; gap: 6px; padding: 2px 10px 10px; max-height: 130px; overflow: auto; }
.mr-pp-i {
  height: 28px; padding: 0 11px; border: 1px solid #E4E7EC; border-radius: 999px;
  background: #fff; color: #344054; font-size: 12.5px; cursor: pointer; white-space: nowrap;
}
.mr-pp-i:hover { border-color: #B2D4F0; background: #F5FAFF; }
.mr-pp-i.is-on { background: #0A64A0; border-color: #0A64A0; color: #fff; font-weight: 600; }
.mr-pp-none { margin: 0; font-size: 12px; color: #98A2B3; }
.mr-pp-add { padding: 8px 10px 10px; border-top: 1px solid #EEF1F5; }
.mr-pp-q {
  width: 100%; height: 30px; padding: 0 9px; box-sizing: border-box;
  border: 1px solid #E4E7EC; border-radius: 7px; font: inherit; font-size: 12.5px;
}
.mr-pp-q:focus { outline: 0; border-color: #0A64A0; }
.in-card .mr-form {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 18px; padding: 6px 2px 14px;
}
.in-card .mr-f { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.in-card .mr-f-wide { grid-column: span 2; }
.in-card .mr-f label { font-size: 12.5px; font-weight: 600; color: #475467; line-height: 1.35; }
.in-card .mr-req { color: #D92D20; font-weight: 700; }
.in-card .mr-in {
  width: 100%; box-sizing: border-box; height: 34px; padding: 0 9px;
  border: 1px solid #D0D5DD; border-radius: 7px; background: #fff;
  font: inherit; font-size: 13px; color: #101828;
}
.in-card .mr-in:hover { border-color: #B9C2CF; background: #fff; }
.in-card .mr-in:focus {
  outline: 0; border-color: var(--mr-brand);
  box-shadow: 0 0 0 3px rgba(10, 100, 160, .12);
}
.in-card .mr-in.mr-num { text-align: right; font-variant-numeric: tabular-nums; }
.in-card .mr-form-b {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 2px 2px 10px;
}
.in-card .mr-form-b .mr-btn { height: 33px; font-size: 13px; padding: 0 16px; }
.mr-reg-hint { font-size: 12.5px; color: #667085; }
.mr-reglist td { font-size: 12.5px; }
.mr-reglist .mr-name { max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mr-reglist tr.mr-reg-on td { background: #F0F7FF; }
.mr-mini {
  border: 1px solid #D0D5DD; background: #fff; color: #344054; cursor: pointer;
  font: inherit; font-size: 11.5px; height: 24px; padding: 0 8px; border-radius: 6px;
}
.mr-mini:hover { background: #F3F6FA; border-color: #B9C2CF; }
@media (max-width: 980px) {
  .in-card .mr-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .in-card .mr-f-wide { grid-column: span 2; }
}
@media (max-width: 640px) {
  .in-card .mr-form { grid-template-columns: 1fr; gap: 10px; }
  .in-card .mr-f-wide { grid-column: span 1; }
  .in-card .mr-in { font-size: 16px; height: 38px; }
}
.mr-reglist { min-width: 1240px; }
.mr-reglist th, .mr-reglist td { white-space: nowrap; }
.mr-reglist .mr-name { max-width: 220px; overflow: hidden; text-overflow: ellipsis; }
.in-card .in-month { font-size: 12.5px; color: #475467; display: inline-flex; align-items: center; gap: 6px; }
.in-card .in-month input {
  height: 30px; padding: 0 8px; border: 1px solid #D0D5DD; border-radius: 7px;
  font: inherit; font-size: 12.5px; color: #101828; background: #fff;
}
.in-out {
  margin: 4px 2px 16px; padding: 12px 14px; border-radius: 10px;
  background: #F0F9FF; border: 1px solid #B9E0F7;
}
.in-out-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.in-out-h b { font-size: 13px; color: #0A64A0; }
.in-out-t {
  width: 100%; box-sizing: border-box; resize: vertical; min-height: 232px;
  padding: 10px 12px; border: 1px solid #CDE4F3; border-radius: 8px; background: #fff;
  font: inherit; font-size: 13px; line-height: 1.9; color: #101828; white-space: pre-wrap;
}
.in-out-n { margin: 8px 0 0; font-size: 12px; color: #667085; }
.in-list { min-width: 900px; }
.in-list th, .in-list td { white-space: nowrap; }
.in-list .in-name { max-width: 200px; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 640px) {
  .in-out-t { font-size: 16px; }
}
.in-list tr.in-on td { background: #F0F7FF; }
.in-list .in-ops { white-space: nowrap; }
.in-list .in-ops .mr-mini + .mr-mini { margin-left: 6px; }
.pr-q-nm .pr-q-todo {
  font-style: normal; font-size: 10.5px; font-weight: 400; color: #8A5A00;
  margin-left: 6px; padding: 1px 5px; border-radius: 4px; background: #FFF4E0;
}
.pr-q-nm .pr-q-usd {
  font-style: normal; font-size: 10.5px; font-weight: 400; color: #0A64A0;
  margin-left: 6px; padding: 1px 5px; border-radius: 4px; background: #E8F2FA;
}
.pr-basis-note .pr-usd-warn { color: #A8161B; }
.share-qr {
  margin-top: 4px; width: 100%; max-width: 232px; padding: 12px;
  border: 1px solid #E4E7EC; border-radius: 10px; background: #FFFFFF;
  display: flex; align-items: center; justify-content: center; min-height: 232px;
}
.share-qr canvas, .share-qr img { display: block; width: 208px; height: 208px; }
.share-qr-wait { font-size: 12px; color: #667085; }
#shareLink { font-size: 12.5px; }
.share-hint { margin-top: 10px; font-size: 12px; line-height: 1.7; }
@media (max-width: 640px) { .share-qr { max-width: none; } }
.share-url-full { margin: 7px 0 0; font-size: 11.5px; line-height: 1.65; color: #475467; word-break: break-all; }
.share-url-full code { font-family: Consolas, Monaco, 'SF Mono', monospace; font-size: 11.5px; color: #1D2939; background: #F2F4F7; padding: 1px 4px; border-radius: 4px; }
.bg-health { margin-top: 6px; border-top: 1px solid #EAECF0; padding-top: 6px; }
.bg-health-row { font-size: 11.5px; line-height: 1.7; color: #475467; word-break: break-word; }
.bg-health-row + .bg-health-row { border-top: 1px dashed #F2F4F7; }
body.bro-open { overflow: hidden; }
.pr-thumbwrap { position: relative; flex: none; display: block; width: 64px; height: 64px; }
.pr-thumbwrap .pr-thumb { width: 64px; height: 64px; display: block; }
.pr-bro-badge {
  position: absolute; left: 50%; bottom: 2px; transform: translateX(-50%);
  font-style: normal; font-size: 9px; line-height: 1; padding: 3px 5px;
  border-radius: 999px; background: rgba(21, 38, 224, .92); color: #fff;
  letter-spacing: .5px; pointer-events: none; white-space: nowrap;
}
.modal.pr-bro { padding: 0; z-index: 80; align-items: stretch; background: rgba(9, 14, 28, .78); }
.pr-bro-box {
  display: flex; flex-direction: column; width: 100%; height: 100%;
  max-width: 1040px; margin: 0 auto; background: #fff; border-radius: 0;
  box-shadow: none; overflow: hidden;
}
.pr-bro-top {
  flex: none; display: flex; align-items: center; gap: 8px;
  padding: 8px 10px; padding-top: calc(8px + env(safe-area-inset-top));
  border-bottom: 1px solid var(--line); background: #fff;
}
.pr-bro-ttl { flex: 1; min-width: 0; }
.pr-bro-ttl b {
  display: block; font-size: 13.5px; color: var(--ink); line-height: 1.3;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pr-bro-ttl span {
  display: block; font-size: 11px; color: var(--ink-3); line-height: 1.4;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pr-bro-tabs { flex: none; display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: #F1F4FA; }
.pr-bro-tab {
  border: 0; background: transparent; color: var(--ink-2); cursor: pointer;
  font-size: 12px; line-height: 1; padding: 7px 11px; border-radius: 999px;
  min-height: 30px; transition: .15s; white-space: nowrap;
}
.pr-bro-tab.is-on { background: #fff; color: var(--brand-dark, #1526E0); font-weight: 700; box-shadow: 0 1px 3px rgba(16, 24, 40, .14); }
.pr-bro-stage {
  flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain; background: #E9EDF5; padding: 8px; touch-action: pan-y pinch-zoom;
}
.pr-bro-pages { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.pr-bro-page {
  position: relative; margin: 0; width: 100%; max-width: 920px;
  background: #fff; border-radius: 6px; overflow: hidden;
  box-shadow: 0 1px 6px rgba(16, 24, 40, .10);
}
.pr-bro-page img { display: block; width: 100%; height: auto; }
.pr-bro-page figcaption {
  position: absolute; right: 6px; bottom: 6px; padding: 2px 7px; border-radius: 999px;
  background: rgba(9, 14, 28, .55); color: #fff; font-size: 10px; line-height: 1.4;
  font-variant-numeric: tabular-nums; pointer-events: none;
}
.pr-bro-foot {
  flex: none; display: flex; align-items: center; gap: 6px;
  padding: 7px 10px; padding-bottom: calc(7px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line); background: #fff;
}
#prBroPos { margin-right: auto; font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.pr-bro-foot .btn { min-height: 34px; padding: 0 10px; }
@media (min-width: 900px) {
  .modal.pr-bro { padding: 26px 20px; }
  .pr-bro-box { height: calc(100vh - 52px); border-radius: 14px; box-shadow: 0 24px 60px rgba(0, 0, 0, .32); }
  .pr-bro-top { padding: 12px 16px; }
  .pr-bro-foot { padding: 10px 16px; }
  .pr-bro-stage { padding: 14px; }
}
@media (max-width: 420px) {
  .pr-bro-tabs { padding: 2px; }
  .pr-bro-tab { padding: 7px 9px; font-size: 11.5px; }
  .pr-bro-foot .btn { padding: 0 8px; font-size: 12px; }
  #prBroPos { font-size: 11px; }
}
.pr-thumb-cover { object-fit: cover; object-position: 50% 38%; }
body.bro-open .ai-orb { display: none !important; }
@media (max-width: 560px) {
  #colProduct .grid4 { grid-template-columns: 1fr 1fr; gap: 8px; }
  #colProduct .grid4 .lbl { font-size: 11.5px; margin-bottom: 2px; }
  #colProduct .grid4 select { height: 38px; padding: 0 8px; font-size: 14px; }
  .pr-range { flex-wrap: wrap; }
  .pr-range input { min-width: 0; flex: 1 1 90px; }
  .pr-range .tip { display: none; }
}
@media (pointer: coarse) {
  .btn.tiny { padding: 6px 11px; font-size: 12.5px; }
  .top-mini { width: 40px; height: 40px; line-height: 38px; font-size: 12px; }
  .pr-bro-tab { min-height: 40px; }
  .pr-item { padding: 10px 8px; }
}
@supports (height: 100dvh) {
  .modal.pr-bro { height: 100dvh; }
}
