/* ============ 潮汐矩阵 · TideMatrix 控制台样式 ============ */
:root {
  --bg: #f4f5fa;
  --panel: #ffffff;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #6b7280;
  --line: #e7e8f0;
  --line-2: #f0f1f6;
  --brand: #4f46e5;
  --brand-2: #7c3aed;
  --brand-soft: #eef0ff;
  --ok: #059669;
  --ok-soft: #e7f8f1;
  --warn: #b45309;
  --warn-soft: #fef4e6;
  --danger: #dc2626;
  --danger-soft: #fdecec;
  --sidebar: #0b1120;
  --sidebar-2: #131c31;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px -12px rgba(15, 23, 42, .12);
  --shadow-lg: 0 24px 60px -24px rgba(15, 23, 42, .35);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font); background: var(--bg); color: var(--ink);
  font-size: 14px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; font-size: 14px; }
h1, h2, h3, h4 { margin: 0; font-weight: 650; letter-spacing: -0.01em; }
p { margin: 0; }
::selection { background: #c7d2fe; }

/* ---------- 通用组件 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 36px; padding: 0 14px; border-radius: 9px; border: 1px solid transparent;
  background: var(--brand); color: #fff; font-weight: 560; cursor: pointer;
  transition: .16s ease; white-space: nowrap;
}
.btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn.ghost { background: #fff; color: var(--ink-2); border-color: var(--line); }
.btn.ghost:hover { border-color: #c7cbe0; background: #fafbff; }
.btn.soft { background: var(--brand-soft); color: var(--brand); }
.btn.danger { background: var(--danger-soft); color: var(--danger); }
.btn.dark { background: var(--ink); }
.btn.sm { height: 30px; padding: 0 10px; font-size: 13px; border-radius: 8px; }
.btn.lg { height: 44px; padding: 0 22px; font-size: 15px; border-radius: 11px; }
.btn.block { width: 100%; }

.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.card.pad { padding: 20px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line-2); }
.card-head h3 { font-size: 15px; }
.card-body { padding: 18px 20px; }
.section-title { display: flex; align-items: center; justify-content: space-between; margin: 0 0 14px; }
.section-title h2 { font-size: 18px; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.mono { font-family: var(--mono); }
.grow { flex: 1; }
.row { display: flex; align-items: center; gap: 10px; }
.row.wrap { flex-wrap: wrap; }
.col { display: flex; flex-direction: column; gap: 10px; }
.spacer { flex: 1; }

.badge {
  display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px;
  border-radius: 999px; font-size: 12px; font-weight: 560; background: var(--line-2); color: var(--ink-2);
  white-space: nowrap;
}
.badge.ok { background: var(--ok-soft); color: var(--ok); }
.badge.warn { background: var(--warn-soft); color: var(--warn); }
.badge.danger { background: var(--danger-soft); color: var(--danger); }
.badge.brand { background: var(--brand-soft); color: var(--brand); }
.badge.dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field > label { font-size: 13px; font-weight: 560; color: var(--ink-2); }
.field .hint { font-size: 12px; color: var(--muted); }
.input, .select, .textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 9px; background: #fff;
  padding: 9px 12px; color: var(--ink); outline: none; transition: .15s;
}
.input:focus, .select:focus, .textarea:focus { border-color: #a5b4fc; box-shadow: 0 0 0 3px #e0e7ff; }
.textarea { min-height: 110px; resize: vertical; line-height: 1.7; }
.input::placeholder, .textarea::placeholder { color: #a3a9b8; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }

.table-wrap { overflow-x: auto; }
table.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.table th { font-size: 12px; color: var(--muted); font-weight: 560; background: #fbfbfe; white-space: nowrap; }
.table tr:last-child td { border-bottom: none; }
.table tr:hover td { background: #fcfcff; }

.progress { height: 7px; background: var(--line-2); border-radius: 99px; overflow: hidden; }
.progress > i { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), var(--brand-2)); border-radius: 99px; transition: width .4s; }
.progress.warn > i { background: linear-gradient(90deg, #f59e0b, #f97316); }
.progress.danger > i { background: linear-gradient(90deg, #ef4444, #dc2626); }

.empty { padding: 44px 20px; text-align: center; color: var(--muted); }
.empty .icon { font-size: 30px; margin-bottom: 8px; opacity: .5; }
.empty h4 { color: var(--ink-2); margin-bottom: 6px; }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 18px; overflow-x: auto; }
.tabs button {
  border: none; background: none; padding: 10px 14px; color: var(--muted); cursor: pointer;
  font-weight: 560; border-bottom: 2px solid transparent; white-space: nowrap;
}
.tabs button.active { color: var(--brand); border-bottom-color: var(--brand); }

/* ---------- 布局 ---------- */
.shell { display: flex; min-height: 100vh; }
.sidebar {
  width: 236px; flex: 0 0 236px; background: var(--sidebar); color: #cbd5e1;
  display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; z-index: 40;
}
.brand-box { display: flex; align-items: center; gap: 10px; padding: 22px 20px 18px; }
.brand-logo {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; font-weight: 800; font-size: 15px;
}
.brand-name { color: #fff; font-weight: 650; font-size: 15px; letter-spacing: .2px; }
.brand-sub { font-size: 10.5px; color: #64748b; letter-spacing: .14em; text-transform: uppercase; }
.nav { flex: 1; overflow-y: auto; padding: 8px 12px 12px; }
.nav-group { font-size: 10.5px; letter-spacing: .12em; color: #52617a; padding: 16px 10px 6px; text-transform: uppercase; }
.nav-item {
  display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 9px;
  color: #b6c2d6; font-weight: 500; cursor: pointer; margin-bottom: 2px; transition: .14s;
}
.nav-item:hover { background: rgba(255,255,255,.06); color: #fff; }
.nav-item.active { background: linear-gradient(90deg, rgba(79,70,229,.9), rgba(124,58,237,.75)); color: #fff; box-shadow: 0 6px 16px -8px rgba(79,70,229,.9); }
.nav-item .ico { width: 18px; text-align: center; font-size: 15px; opacity: .95; }
.nav-item .count { margin-left: auto; background: rgba(255,255,255,.14); border-radius: 99px; padding: 0 7px; font-size: 11px; }
.side-plan { margin: 12px; padding: 14px; border-radius: 12px; background: var(--sidebar-2); border: 1px solid rgba(255,255,255,.06); }
.side-plan .t { font-size: 12px; color: #94a3b8; }
.side-plan .v { color: #fff; font-weight: 620; margin: 2px 0 8px; font-size: 13px; }

.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar {
  height: 64px; background: rgba(255,255,255,.85); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 14px;
  padding: 0 26px; position: sticky; top: 0; z-index: 30;
}
.topbar h1 { font-size: 17px; }
.topbar .crumb { color: var(--muted); font-size: 12.5px; }
.view { padding: 24px 26px 60px; max-width: 1360px; width: 100%; margin: 0 auto; }

.icon-btn {
  width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--line); background: #fff;
  display: grid; place-items: center; cursor: pointer; position: relative; color: var(--ink-2);
}
.icon-btn:hover { border-color: #cbd2e6; }
.icon-btn .dot { position: absolute; top: 7px; right: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--danger); border: 1.5px solid #fff; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg,#6366f1,#a855f7); color: #fff; display: grid; place-items: center; font-weight: 650; font-size: 13px; }
.user-chip { display: flex; align-items: center; gap: 9px; padding: 4px 8px 4px 4px; border-radius: 99px; cursor: pointer; }
.user-chip:hover { background: #f6f7fb; }

/* ---------- KPI ---------- */
.kpi { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); }
.kpi .label { color: var(--muted); font-size: 12.5px; display: flex; align-items: center; gap: 6px; }
.kpi .value { font-size: 26px; font-weight: 700; letter-spacing: -.02em; margin-top: 6px; }
.kpi .foot { margin-top: 8px; font-size: 12px; color: var(--muted); display: flex; gap: 8px; align-items: center; }

/* ---------- 账号卡 ---------- */
.acc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.acc-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; }
.acc-top { display: flex; gap: 11px; align-items: center; }
.plat-ico { width: 38px; height: 38px; border-radius: 11px; color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 16px; flex: 0 0 38px; }
.acc-name { font-weight: 620; font-size: 14.5px; }
.acc-meta { font-size: 12px; color: var(--muted); }
.acc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; background: #fafbff; border-radius: 10px; padding: 10px; }
.acc-stats .s { text-align: center; }
.acc-stats .s b { display: block; font-size: 15px; }
.acc-stats .s span { font-size: 11px; color: var(--muted); }
.meta { display: inline-flex; align-items: center; gap: 5px; }
.dot-sm { width: 6px; height: 6px; border-radius: 50%; background: #cbd5e1; display: inline-block; flex: 0 0 6px; }
.dot-sm.ok { background: #10b981; }
.dot-sm.warn { background: #f59e0b; }
.dot-sm.bad { background: #ef4444; }
.dash-grid { align-items: start; }
.health-ring { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 12.5px; font-weight: 700; flex: 0 0 46px; }

/* ---------- 内容卡 ---------- */
.content-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
.c-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.c-cover { aspect-ratio: 16/9; background: linear-gradient(135deg,#eef0ff,#f8f0ff); position: relative; overflow: hidden; }
.c-cover img { width: 100%; height: 100%; object-fit: cover; }
.c-cover .type { position: absolute; left: 10px; top: 10px; background: rgba(15,23,42,.72); color: #fff; font-size: 11px; padding: 2px 8px; border-radius: 99px; }
.c-cover .noimg { position: absolute; inset: 0; display: grid; place-items: center; color: #a5a9c4; font-size: 26px; }
.c-body { padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.c-title { font-weight: 600; font-size: 14px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.c-tags { display: flex; gap: 5px; flex-wrap: wrap; }
.c-foot { display: flex; gap: 6px; padding: 10px 14px; border-top: 1px solid var(--line-2); flex-wrap: wrap; }

/* ---------- 任务 ---------- */
.task { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line-2); }
.task:last-child { border-bottom: none; }
.task .t-main { flex: 1; min-width: 0; }
.task .t-title { font-weight: 550; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.task .t-sub { font-size: 12px; color: var(--muted); }
.task .t-time { font-size: 12.5px; color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- 日历 ---------- */
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.cal .day { background: #fbfbfe; border: 1px solid var(--line-2); border-radius: 10px; min-height: 118px; padding: 8px; }
.cal .day h5 { font-size: 11.5px; color: var(--muted); margin: 0 0 6px; font-weight: 560; }
.cal .ev { font-size: 11px; padding: 3px 6px; border-radius: 6px; background: var(--brand-soft); color: var(--brand); margin-bottom: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- 弹层 / 提示 ---------- */
.modal-back { position: fixed; inset: 0; background: rgba(15,23,42,.5); backdrop-filter: blur(3px); display: grid; place-items: center; z-index: 90; padding: 20px; }
.modal { background: #fff; border-radius: 16px; width: 100%; max-width: 620px; max-height: 88vh; overflow: auto; box-shadow: var(--shadow-lg); animation: pop .18s ease; }
.modal.wide { max-width: 860px; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.99); } }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line-2); position: sticky; top: 0; background: #fff; z-index: 2; }
.modal-head h3 { font-size: 16px; }
.modal-body { padding: 20px 22px; }
.modal-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 22px; border-top: 1px solid var(--line-2); position: sticky; bottom: 0; background: #fff; }
.x { border: none; background: none; font-size: 20px; color: var(--muted); cursor: pointer; line-height: 1; }

#toast-root { position: fixed; top: 74px; left: 50%; transform: translateX(-50%); z-index: 120; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.toast { background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; box-shadow: var(--shadow-lg); font-size: 13.5px; animation: slide .2s ease; max-width: 90vw; }
.toast.ok { background: #065f46; }
.toast.err { background: #991b1b; }
@keyframes slide { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- 官网 ---------- */
.landing { background: #fff; }
.land-nav { max-width: 1180px; margin: 0 auto; display: flex; align-items: center; gap: 26px; padding: 18px 24px; }
.land-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; }
.land-nav .links { display: flex; gap: 22px; margin-left: 20px; color: var(--ink-2); font-size: 14px; }
.land-nav .links a:hover { color: var(--brand); }
.hero { background: radial-gradient(1000px 460px at 50% -10%, #e9e7ff 0%, #f7f7ff 45%, #fff 100%); padding: 66px 24px 40px; text-align: center; }
.hero h1 { font-size: clamp(30px, 4.6vw, 52px); line-height: 1.15; letter-spacing: -.03em; max-width: 900px; margin: 0 auto; }
.hero h1 em { font-style: normal; background: linear-gradient(120deg, var(--brand), #db2777); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.sub { max-width: 680px; margin: 18px auto 0; color: var(--muted); font-size: 16px; }
.hero .cta { display: flex; gap: 12px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }
.hero .trust { margin-top: 18px; color: #8b90a3; font-size: 12.5px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-visual { max-width: 1040px; margin: 40px auto 0; border-radius: 18px; border: 1px solid #e3e5f2; background: #fff; box-shadow: 0 40px 80px -40px rgba(49,46,129,.45); padding: 10px; }
.hero-visual .bar { display: flex; gap: 6px; padding: 4px 6px 10px; }
.hero-visual .bar i { width: 9px; height: 9px; border-radius: 50%; background: #e5e7eb; display: block; }
.mock { display: grid; grid-template-columns: 150px 1fr; min-height: 300px; border-radius: 10px; overflow: hidden; border: 1px solid #eef0f7; }
.mock .side { background: #0b1120; padding: 12px; color: #8ea0bd; font-size: 11px; }
.mock .side b { color: #fff; display: block; margin-bottom: 10px; font-size: 12px; }
.mock .side .m { padding: 6px 8px; border-radius: 6px; margin-bottom: 4px; }
.mock .side .m.on { background: rgba(99,102,241,.35); color: #fff; }
.mock .body { background: #f7f8fc; padding: 14px; }
.mock .kpis { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin-bottom: 10px; }
.mock .k { background: #fff; border: 1px solid #eceef6; border-radius: 8px; padding: 8px; font-size: 10px; color: #8b90a3; }
.mock .k b { display: block; color: #0f172a; font-size: 16px; }
.mock .rows .r { background: #fff; border: 1px solid #eceef6; border-radius: 8px; height: 30px; margin-bottom: 6px; display: flex; align-items: center; padding: 0 10px; gap: 8px; font-size: 10px; color: #8b90a3; }
.mock .rows .r i { width: 6px; height: 6px; border-radius: 50%; background: #10b981; }

.section { max-width: 1180px; margin: 0 auto; padding: 64px 24px; }
.section h2 { font-size: 28px; text-align: center; letter-spacing: -.02em; }
.section .lead { text-align: center; color: var(--muted); margin-top: 10px; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.feature { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: linear-gradient(180deg,#fff,#fcfcff); }
.feature .ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--brand-soft); font-size: 19px; margin-bottom: 12px; }
.feature h3 { font-size: 15.5px; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 13.5px; }

.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.price { border: 1px solid var(--line); border-radius: 16px; padding: 24px; background: #fff; position: relative; display: flex; flex-direction: column; }
.price.hot { border-color: #c7d2fe; box-shadow: 0 24px 50px -30px rgba(79,70,229,.55); }
.price .tag { position: absolute; top: -11px; left: 24px; background: var(--brand); color: #fff; font-size: 11px; padding: 3px 10px; border-radius: 99px; }
.price h3 { font-size: 16px; }
.price .p { font-size: 32px; font-weight: 750; margin: 10px 0 2px; letter-spacing: -.03em; }
.price .p small { font-size: 13px; color: var(--muted); font-weight: 500; }
.price ul { list-style: none; padding: 14px 0 0; margin: 0 0 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.price li { font-size: 13px; color: var(--ink-2); padding-left: 20px; position: relative; }
.price li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 700; }
.price .badge { position: absolute; right: 20px; top: 22px; }

.compliance { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.comp { background: #f8fafc; border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.comp b { display: block; font-size: 14px; margin-bottom: 5px; }
.comp span { font-size: 12.8px; color: var(--muted); }

.footer { border-top: 1px solid var(--line); padding: 30px 24px; color: var(--muted); font-size: 12.5px; }
.footer .in { max-width: 1180px; margin: 0 auto; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* ---------- 登录 ---------- */
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1.05fr .95fr; }
.auth-side { background: linear-gradient(150deg, #0b1120, #231b52 60%, #4c1d95); color: #fff; padding: 56px; display: flex; flex-direction: column; justify-content: space-between; }
.auth-side h2 { font-size: 30px; line-height: 1.3; letter-spacing: -.02em; max-width: 420px; }
.auth-side .pts { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.auth-side .pt { display: flex; gap: 10px; color: #c7d2fe; font-size: 13.5px; }
.auth-side .pt b { color: #fff; }
.auth-main { display: grid; place-items: center; padding: 30px; }
.auth-card { width: 100%; max-width: 380px; }
.auth-card h1 { font-size: 24px; margin-bottom: 6px; }
.auth-card .sub { color: var(--muted); margin-bottom: 24px; }
.auth-card .switch { text-align: center; margin-top: 16px; color: var(--muted); font-size: 13px; }
.auth-card .switch a { color: var(--brand); font-weight: 560; }
.demo-tip { background: #f8fafc; border: 1px dashed #cbd5e1; border-radius: 10px; padding: 10px 12px; font-size: 12px; color: var(--muted); margin-top: 16px; }

/* ---------- 详情抽屉 ---------- */
.drawer-back { position: fixed; inset: 0; background: rgba(15,23,42,.4); z-index: 80; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(560px, 92vw); background: #fff; z-index: 81; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; animation: in .2s ease; }
@keyframes in { from { transform: translateX(30px); opacity: .6; } }
.drawer .dh { padding: 18px 22px; border-bottom: 1px solid var(--line-2); display: flex; align-items: center; justify-content: space-between; }
.drawer .db { padding: 20px 22px; overflow: auto; flex: 1; }

.stat-line { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 13px; }
.stat-line:last-child { border-bottom: none; }
.stat-line span { color: var(--muted); }

.notice { padding: 12px 14px; border-radius: 10px; background: var(--brand-soft); color: #3730a3; font-size: 12.8px; line-height: 1.65; }
.notice.warn { background: var(--warn-soft); color: #92400e; }
.notice.danger { background: var(--danger-soft); color: #991b1b; }
.notice.ok { background: var(--ok-soft); color: #065f46; }

.copy { cursor: pointer; border-bottom: 1px dashed #c7cbe0; }
.copy:hover { color: var(--brand); }

/* ---------- 响应式 ---------- */
body.public-mode { background: #fff; }
.hamburger { display: none; }
@media (max-width: 1180px) {
  .dash-grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 1080px) {
  .features, .prices, .compliance { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .sidebar { position: fixed; left: -260px; transition: left .2s; height: 100vh; }
  .sidebar.open { left: 0; box-shadow: 0 0 60px rgba(0,0,0,.4); }
  .hamburger { display: grid; }
  .view { padding: 18px 16px 60px; }
  .topbar { padding: 0 16px; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .cal { grid-template-columns: repeat(2, 1fr); }
  .hero { padding-top: 44px; }
  .features, .prices, .compliance { grid-template-columns: 1fr; }
  .land-nav .links { display: none; }
  .mock { grid-template-columns: 1fr; }
  .mock .side { display: none; }
}
@media (max-width: 560px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .acc-grid { grid-template-columns: 1fr; }
  .kpi .value { font-size: 22px; }
  .modal { max-width: 100%; }
}
