:root{
  --bg:#eef4ff;
  --bg2:#f7fbff;
  --panel:#ffffff;
  --text:#0f172a;
  --muted:#64748b;
  --line:#dbe4f2;
  --brand:#0a84ff;
  --brand-2:#0f766e;
  --accent:#f59e0b;
  --danger:#dc2626;
  --success:#059669;
  --shadow:0 18px 44px rgba(15,23,42,.10);
  --radius:22px;
  /* 安全区域 - iOS刘海/挖孔屏/底部白条 */
  --sat:env(safe-area-inset-top,0px);
  --sar:env(safe-area-inset-right,0px);
  --sab:env(safe-area-inset-bottom,0px);
  --sal:env(safe-area-inset-left,0px);
  /* 全平台字体 - 鸿蒙/苹方/安卓各取所需 */
  --font-stack:"HarmonyOS Sans","PingFang SC","Source Han Sans SC","Microsoft YaHei","Roboto","Helvetica Neue",Arial,sans-serif;
}

body[data-theme-mode="light"]{
  --page-shell-bg:
    linear-gradient(180deg,
      #fff4c7 0%,
      #cfe3ff 44%,
      #e6ebf1 100%);
  --page-glow-1:rgba(245,158,11,.08);
  --page-glow-2:rgba(59,130,246,.08);
  --page-accent:#0a84ff;
  --page-surface:rgba(255,255,255,.64);
  --page-surface-strong:rgba(255,255,255,.82);
  --page-text:#0f172a;
  --page-muted:#64748b;
  --page-line:rgba(226,232,240,.88);
  --page-card-border:rgba(255,255,255,.78);
}

body[data-theme-mode="ocean"]{
  --page-shell-bg:
    linear-gradient(180deg,
      #dff0ff 0%,
      #b9d6ff 46%,
      #d8dee7 100%);
  --page-glow-1:rgba(59,130,246,.10);
  --page-glow-2:rgba(148,163,184,.08);
  --page-accent:#0a84ff;
  --page-surface:rgba(255,255,255,.62);
  --page-surface-strong:rgba(255,255,255,.82);
  --page-text:#0f172a;
  --page-muted:#64748b;
  --page-line:rgba(226,232,240,.88);
  --page-card-border:rgba(255,255,255,.78);
}

body[data-theme-mode="gray"]{
  --page-shell-bg:
    linear-gradient(180deg,
      #f4f6f8 0%,
      #dfe4ea 46%,
      #c8d0d8 100%);
  --page-glow-1:rgba(148,163,184,.08);
  --page-glow-2:rgba(71,85,105,.08);
  --page-accent:#64748b;
  --page-surface:rgba(255,255,255,.66);
  --page-surface-strong:rgba(255,255,255,.84);
  --page-text:#0f172a;
  --page-muted:#64748b;
  --page-line:rgba(203,213,225,.90);
  --page-card-border:rgba(255,255,255,.78);
}

body[data-theme-mode="dark"]{
  --page-shell-bg:
    linear-gradient(180deg,
      #081426 0%,
      #0f2b54 46%,
      #495464 100%);
  --page-glow-1:rgba(59,130,246,.14);
  --page-glow-2:rgba(148,163,184,.10);
  --page-accent:#7dd3fc;
  --page-surface:rgba(10,25,54,.62);
  --page-surface-strong:rgba(11,29,60,.84);
  --page-text:#f8fafc;
  --page-muted:#cbd5e1;
  --page-line:rgba(71,85,105,.78);
  --page-card-border:rgba(125,211,252,.20);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--page-text, var(--text));
  background:
    radial-gradient(circle at top left, var(--page-glow-1, rgba(10,132,255,.18)), transparent 34%),
    radial-gradient(circle at top right, var(--page-glow-2, rgba(15,118,110,.16)), transparent 28%),
    var(--page-shell-bg, linear-gradient(180deg,#f7fbff 0%, #eef4ff 42%, #f8fbff 100%));
  font-family:var(--font-stack);
  -webkit-tap-highlight-color:transparent;
  -webkit-touch-callout:none;
}
a{color:#0369a1;text-decoration:none}
a:hover{text-decoration:underline}
button,input,select,textarea{font:inherit}
button:disabled{
  opacity:.55;
  cursor:not-allowed;
  box-shadow:none !important;
  transform:none !important;
}

.app-loading{
  position:fixed;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,.72);
  backdrop-filter:blur(8px);
  z-index:9999;
  opacity:0;
  pointer-events:none;
  transition:opacity .18s ease;
}

.app-loading.is-visible{
  opacity:1;
  pointer-events:auto;
}

.app-loading__panel{
  display:inline-flex;
  align-items:center;
  gap:12px;
  padding:14px 18px;
  border-radius:999px;
  border:1px solid #dbe4f2;
  background:#fff;
  color:#0f172a;
  box-shadow:0 12px 28px rgba(15,23,42,.12);
  font-size:13px;
  font-weight:800;
}

.app-loading__spinner{
  width:16px;
  height:16px;
  border-radius:50%;
  border:2px solid #dbe4f2;
  border-top-color:#0a84ff;
  animation:spin .8s linear infinite;
}

@keyframes spin{
  to{transform:rotate(360deg)}
}

.wrap{
  max-width:1280px;
  margin:0 auto;
  padding:24px 18px 44px;
}

body.page-selfcheck{
  background:#fff;
}

body.page-selfcheck .wrap{
  max-width:430px;
  padding:6px 10px 76px;
}

body.page-selfcheck .phone-shell{
  max-width:430px;
  margin:0 auto;
  padding:6px;
  border-radius:24px;
  background:linear-gradient(180deg,#f3f5f7,#e5e7eb);
  box-shadow:0 12px 26px rgba(100,116,139,.12);
}

body.page-selfcheck .phone-topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:6px;
  padding:0 2px 3px;
  color:#475569;
}

body.page-selfcheck .phone-topbar__back{
  min-width:auto;
  min-height:34px;
  padding:0 10px;
  border-radius:999px;
  border:1px solid rgba(239,68,68,.18);
  background:rgba(255,255,255,.82);
  color:#dc2626;
  box-shadow:0 6px 14px rgba(220,38,38,.08);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  font-size:12px;
  font-weight:700;
}

body.page-selfcheck .phone-topbar__back .action-icon{
  width:18px;
  height:18px;
  color:#dc2626;
}

body.page-selfcheck .phone-screen{
  border-radius:20px;
  padding:8px 8px 8px;
  background:
    radial-gradient(circle at top right, rgba(10,132,255,.16), transparent 28%),
    linear-gradient(180deg,#f8fbff,#eef4ff 72%,#f8fbff);
  min-height:0;
}

body.workbench-page{
  background:
    radial-gradient(circle at 12% 8%, var(--page-glow-1, rgba(59,130,246,.22)), transparent 28%),
    radial-gradient(circle at 88% 10%, var(--page-glow-2, rgba(16,185,129,.18)), transparent 24%),
    var(--page-shell-bg, linear-gradient(180deg,#f7fbff 0%, #eef4ff 100%));
}

body.workbench-page .wrap{
  max-width:100%;
  padding:0 0 22px;
}

body.workbench-page .workbench-shell{
  max-width:430px;
  margin:0 auto;
  min-height:100vh;
  background:transparent;
  position:relative;
  isolation:isolate;
}

body.workbench-page .workbench-head{
  padding:18px 16px 10px;
  background:linear-gradient(145deg, var(--page-surface, rgba(10,132,255,.12)), rgba(255,255,255,.14));
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  border:1px solid var(--page-card-border, rgba(255,255,255,.64));
}

body.workbench-page .workbench-head h1{
  margin:0;
  font-size:22px;
  line-height:1.2;
}

body.workbench-page .workbench-head p{
  margin:6px 0 0;
  color:var(--page-muted, #64748b);
  font-size:13px;
}

body.workbench-page .workbench-group{
  padding:0 16px;
}

body.workbench-page .workbench-shell::before,
body.role-page .role-shell::before{
  content:'';
  position:fixed;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 18% 14%, var(--page-glow-1, rgba(59,130,246,.22)), transparent 26%),
    radial-gradient(circle at 82% 12%, var(--page-glow-2, rgba(16,185,129,.18)), transparent 23%);
  opacity:.92;
  z-index:-1;
}

body.workbench-page .wb-row-label{
  margin:16px 0 10px;
  color:var(--page-muted, #64748b);
}

body.workbench-page .wb-16grid{
  gap:10px;
}

body.workbench-page .wb-grid-item{
  border-radius:16px;
  box-shadow:0 10px 22px rgba(15,23,42,.06);
  border:1px solid var(--page-card-border, rgba(255,255,255,.24));
}

body.workbench-page .wb-bottom-nav{
  margin:18px 16px 0;
}

.tabbar{
  display:flex;
  position:fixed;
  bottom:0;
  left:0;
  right:0;
  padding:0 12px 12px;
  padding-bottom:calc(12px + var(--sab));
  z-index:40;
  background:rgba(255,255,255,0.96);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  border-top:1px solid rgba(226,232,240,0.8);
  box-shadow:0 -2px 12px rgba(15,23,42,0.06);
}

body.workbench-page .tabbar{
  margin-left:auto;
  margin-right:auto;
  max-width:430px;
}

body.workbench-page .wrap{
  padding:9px 10px 132px!important;
}

body.role-page .tabbar{
  margin-left:auto;
  margin-right:auto;
  max-width:430px;
}

body.role-page{
  background:
    radial-gradient(circle at 14% 12%, var(--page-glow-1, rgba(59,130,246,.18)), transparent 26%),
    radial-gradient(circle at 86% 10%, var(--page-glow-2, rgba(245,158,11,.14)), transparent 24%),
    var(--page-shell-bg, linear-gradient(180deg, #f7fbff 0%, #eef4ff 100%));
}

body.role-page .role-shell{
  max-width:430px;
  margin:0 auto;
  min-height:100vh;
  padding:16px;
  background:transparent;
  position:relative;
  isolation:isolate;
}

body.role-page .role-header{
  display:flex;
  align-items:center;
  gap:12px;
  padding:16px;
  border-radius:22px;
  background:linear-gradient(145deg, rgba(10,132,255,.90), rgba(37,99,235,.88));
  color:#fff;
  box-shadow:0 16px 32px rgba(10,132,255,.22);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  border:1px solid var(--page-card-border, rgba(255,255,255,.24));
}

body.role-page .role-avatar{
  width:52px;
  height:52px;
  border-radius:18px;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,.18);
  border:1px solid rgba(255,255,255,.24);
  font-size:18px;
  font-weight:800;
  flex:none;
}

body.role-page .role-header__name{
  font-size:18px;
  font-weight:800;
}

body.role-page .role-header__meta{
  margin-top:4px;
  font-size:12px;
  opacity:.82;
  color:var(--page-muted, rgba(255,255,255,.82));
}

body.role-page .role-panel{
  margin-top:12px;
  padding:16px;
  border-radius:20px;
  background:var(--page-surface-strong, #fff);
  border:1px solid var(--page-card-border, #dbe4f2);
  box-shadow:0 10px 24px rgba(15,23,42,.06);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
}

body.role-page .role-panel--hero{
  background:linear-gradient(180deg, var(--page-surface-strong, #fff), rgba(248,251,255,.84));
}

body.role-page .role-hero__title{
  font-size:17px;
  font-weight:800;
}

body.role-page .role-hero__desc{
  margin-top:6px;
  color:var(--page-muted, #64748b);
  font-size:13px;
}

body.role-page .role-hero__stats{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin-top:14px;
}

body.role-page .role-stat{
  padding:12px 10px;
  border-radius:16px;
  background:var(--page-surface, rgba(255,255,255,.62));
  text-align:center;
  border:1px solid var(--page-card-border, rgba(255,255,255,.24));
}

body.role-page .role-stat strong{
  display:block;
  font-size:18px;
  line-height:1.1;
}

body.role-page .role-stat span{
  display:block;
  margin-top:4px;
  color:var(--page-muted, #64748b);
  font-size:11px;
}

body.role-page .role-section-title{
  margin-bottom:10px;
  font-size:14px;
  font-weight:800;
}

body.role-page .role-shortcuts{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}

body.role-page .role-shortcut{
  display:flex;
  flex-direction:column;
  gap:4px;
  padding:14px 12px;
  border-radius:16px;
  background:var(--page-surface, #f8fbff);
  border:1px solid var(--page-card-border, #e5edf8);
  text-decoration:none;
  color:var(--page-text, #0f172a);
}

body.role-page .role-shortcut span{
  font-size:15px;
  font-weight:800;
}

body.role-page .role-shortcut small{
  color:var(--page-muted, #64748b);
  font-size:11px;
  line-height:1.35;
}

body.role-page .role-info-list{
  display:grid;
  gap:10px;
}

body.role-page .role-info-item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:12px 0;
  border-bottom:1px solid var(--page-line, #eef2f7);
  font-size:13px;
}

body.role-page .role-info-item:last-child{
  border-bottom:0;
  padding-bottom:0;
}

body.role-page .role-info-item span{
  color:var(--page-muted, #64748b);
}

body.workbench-page .workbench-topbar,
body.role-page .role-topbar{
  position:sticky;
  top:10px;
  z-index:25;
  display:flex;
  justify-content:flex-end;
  margin:0 0 10px;
  pointer-events:none;
}

body.workbench-page .workbench-topbar > *,
body.role-page .role-topbar > *{
  pointer-events:auto;
}

.theme-switcher{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:2px;
  border:0;
  background:transparent;
  box-shadow:none;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
}

.theme-pill{
  display:none;
}

.theme-dot{
  width:14px;
  height:14px;
  padding:0;
  border-radius:50%;
  border:0;
  cursor:pointer;
  background:#fff;
  box-shadow:
    inset 0 1px 2px rgba(255,255,255,.95),
    inset 0 -2px 3px rgba(15,23,42,.18),
    0 2px 4px rgba(15,23,42,.10);
  transform:translateZ(0);
  transition:transform .18s ease, box-shadow .18s ease, opacity .18s ease, background-color .18s ease;
  opacity:.72;
  position:relative;
}

.theme-dot::before{
  content:'';
  position:absolute;
  inset:2px;
  border-radius:50%;
  background:currentColor;
  opacity:0;
}

.theme-dot[data-theme-swatch="yellow"]{
  background:linear-gradient(180deg,#fff6b8,#ffd86b);
  color:#f59e0b;
}

.theme-dot[data-theme-swatch="blue"]{
  background:linear-gradient(180deg,#d9ecff,#5aa0ff);
  color:#2563eb;
}

.theme-dot[data-theme-swatch="gray"]{
  background:linear-gradient(180deg,#f0f2f5,#9aa4b2);
  color:#6b7280;
}

.theme-dot.is-active{
  transform:translateY(-1px);
  opacity:1;
  box-shadow:
    inset 0 1px 2px rgba(255,255,255,.92),
    inset 0 -2px 4px rgba(15,23,42,.22),
    0 4px 8px rgba(15,23,42,.12);
}

.theme-dot:hover{
  transform:translateY(-1px);
  opacity:.92;
}

body[data-theme-mode="dark"] .theme-dot.is-active{
  box-shadow:
    inset 0 1px 2px rgba(255,255,255,.22),
    inset 0 -2px 4px rgba(0,0,0,.42),
    0 4px 8px rgba(0,0,0,.20);
}

body[data-theme-mode="dark"] .workbench-head h1,
body[data-theme-mode="dark"] .workbench-head p,
body[data-theme-mode="dark"] .wb-row-label,
body[data-theme-mode="dark"] .wb-bottom-nav a,
body[data-theme-mode="dark"] .role-page .head h2,
body[data-theme-mode="dark"] .role-page .role-line,
body[data-theme-mode="dark"] .role-page .name-tag,
body[data-theme-mode="dark"] .role-page .section-title,
body[data-theme-mode="dark"] .role-page .module-title,
body[data-theme-mode="dark"] .role-page .tip,
body[data-theme-mode="dark"] .role-page .long-item,
body[data-theme-mode="dark"] .role-page .update-title,
body[data-theme-mode="dark"] .role-page .table-head,
body[data-theme-mode="dark"] .role-page .table-row,
body[data-theme-mode="dark"] .role-page .role-shortcut,
body[data-theme-mode="dark"] .role-page .role-info-item,
body[data-theme-mode="dark"] .role-page .role-section-title,
body[data-theme-mode="dark"] .role-page .role-hero__title{
  color:var(--page-text, #f8fafc);
}

body[data-theme-mode="dark"] .workbench-head p,
body[data-theme-mode="dark"] .wb-row-label,
body[data-theme-mode="dark"] .role-page .role-header__meta,
body[data-theme-mode="dark"] .role-page .role-hero__desc,
body[data-theme-mode="dark"] .role-page .role-stat span,
body[data-theme-mode="dark"] .role-page .role-shortcut small,
body[data-theme-mode="dark"] .role-page .role-info-item span,
body[data-theme-mode="dark"] .role-page .company{
  color:var(--page-muted, #cbd5e1);
}

body[data-theme-mode="dark"] .workbench-head,
body[data-theme-mode="dark"] .role-page .card,
body[data-theme-mode="dark"] .role-page .role-header,
body[data-theme-mode="dark"] .theme-switcher,
body[data-theme-mode="dark"] .wb-bottom-nav a{
  border-color:var(--page-card-border, rgba(148,163,184,.28));
}

body.role-page .role-menu{
  display:grid;
  gap:10px;
}

body.role-page .role-menu a{
  display:block;
  padding:13px 14px;
  border-radius:14px;
  background:#f7fbff;
  border:1px solid #dbe4f2;
  color:#0f172a;
  font-weight:700;
  text-decoration:none;
}

body.page-selfcheck .mobile-panel{
  margin-top:6px;
  padding:10px 11px;
  border-radius:18px;
  background:#fff;
  border:1px solid #dbe4f2;
  box-shadow:0 8px 18px rgba(15,23,42,.06);
}

body.page-selfcheck .mobile-panel--tight{
  background:linear-gradient(180deg,#f3f4f6,#eef2f7);
  border-color:#d7dee8;
  box-shadow:0 10px 20px rgba(100,116,139,.10);
}

body.page-selfcheck .mobile-panel--tight .prompt,
body.page-selfcheck .mobile-panel--tight .panel-title,
body.page-selfcheck .mobile-panel--tight .status-desc{
  color:#0f172a;
}

body.page-selfcheck .mobile-panel--tight .status-desc{
  opacity:.78;
}

body.page-selfcheck .mobile-panel--tight .tag.blue{
  background:#e2e8f0;
  color:#334155;
  border:1px solid #cbd5e1;
}

body.page-selfcheck #templateName{
  font-size:13px;
  line-height:1.3;
  font-weight:600;
  color:#0f172a;
  letter-spacing:.02em;
  text-align:center;
}

body.page-selfcheck .mobile-panel__head{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
}

body.industry-page .industry-section--spaced{
  margin-top:18px;
}

body.industry-page .section--flush{
  margin-top:0;
}

body.industry-page .industry-grid--spaced{
  margin-top:14px;
}

body.page-selfcheck .panel-title--template{
  margin:0;
  font-size:13px;
}

body.page-selfcheck .panel-title--compact{
  margin-top:4px;
}

/* ─── 声明胶囊 + 抽屉 ─── */
.declaration-badge{
  display:inline-block;
  padding:1px 5px;
  border-radius:999px;
  background:#ef4444;
  color:#fff;
  font-size:8px;
  font-weight:700;
  line-height:1.3;
  cursor:pointer;
  vertical-align:middle;
  margin-left:4px;
  flex:none;
}
.declaration-badge:active{opacity:0.7}
.declaration-drawer{
  position:fixed;inset:0;z-index:999;
  display:none;
}
.declaration-drawer.is-open{display:block}
.declaration-backdrop{
  position:absolute;inset:0;
  background:rgba(15,23,42,0.4);
}
.declaration-panel{
  position:absolute;left:50%;bottom:0;
  transform:translateX(-50%);
  width:min(100%,430px);
  max-height:80vh;
  background:#fff;
  border-radius:20px 20px 0 0;
  display:flex;flex-direction:column;
  box-shadow:0 -8px 30px rgba(0,0,0,0.12);
}
.declaration-handle{
  width:44px;height:4px;
  border-radius:999px;
  background:#cbd5e1;
  margin:8px auto 4px;
  flex:none;
}
.declaration-title{
  font-size:15px;font-weight:800;
  color:#0f172a;text-align:center;
  padding:8px 16px 10px;
  border-bottom:1px solid #e2e8f0;
  flex:none;
}
.declaration-body{
  flex:1;overflow-y:auto;
  padding:12px 16px 16px;
  font-size:12px;line-height:1.6;
  color:#334155;
}
.declaration-salute{font-weight:700;color:#0f172a;margin-bottom:6px}
.declaration-list{margin:6px 0;padding-left:20px}
.declaration-list li{margin-bottom:3px;font-size:11px;line-height:1.4;color:#475569}
.declaration-disclaimer{
  background:#fef2f2;
  border:1px solid #fecaca;
  border-radius:10px;
  padding:10px 12px;
  margin:10px 0;
  font-size:11px;
  line-height:1.5;
  color:#991b1b;
}
.declaration-disclaimer p{margin:0 0 4px}
.declaration-disclaimer p:last-child{margin-bottom:0}
.declaration-agree{
  display:flex;align-items:center;gap:6px;
  font-size:12px;font-weight:600;color:#0f172a;
  cursor:pointer;padding:4px 0;
}
.declaration-agree input{width:16px;height:16px;accent-color:#ef4444}
.declaration-confirm{
  width:calc(100% - 32px);margin:0 16px 16px;
  padding:10px 0;
  border:none;border-radius:999px;
  background:#ef4444;color:#fff;
  font-size:14px;font-weight:800;
  cursor:pointer;flex:none;
}
.declaration-confirm:active{opacity:0.85}

body.page-selfcheck .checklist--spaced{
  margin-top:14px;
}

body.page-selfcheck .footer-note--spaced{
  margin-top:14px;
}

body.page-admin .section--flush{
  margin-top:0;
}

body.page-admin .form-row--spaced{
  margin-top:12px;
}

body.page-admin .button-row--spaced{
  margin-top:16px;
}

body.page-selfcheck .selfcheck-actions--single{
  grid-template-columns:repeat(3,minmax(0,1fr));
}

body.page-selfcheck .selfcheck-actions--single .action-tile{
  min-height:92px;
  background:#fff;
  border:1px solid #dbe4f2;
  border-radius:18px;
  padding:10px 8px;
  box-shadow:0 12px 22px rgba(15,23,42,.06);
}

body.page-selfcheck .page-head--compact{
  padding:14px 14px;
  border-radius:18px;
  background:#fff;
  box-shadow:0 12px 28px rgba(15,23,42,.08);
}

body.page-selfcheck .selfcheck-entry{
  margin-top:14px;
  padding:16px;
  border-radius:20px;
  background:#fff;
  box-shadow:0 12px 28px rgba(15,23,42,.08);
}

body.page-selfcheck .page-head{
  align-items:flex-start;
  padding:16px 14px;
  border-radius:20px;
  background:#fff;
  box-shadow:0 12px 28px rgba(15,23,42,.08);
}

body.page-selfcheck .checklist{
  margin-top:10px !important;
}

body.page-selfcheck .page-head h1{
  font-size:24px;
}

body.page-selfcheck .button-row{
  width:100%;
  justify-content:flex-start;
}

body.page-selfcheck .selfcheck-actions{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:8px 6px;
  margin-top:12px;
}

body.page-selfcheck .selfcheck-actions .action-tile{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  text-align:center;
  min-height:auto;
  padding:0;
  border:0;
  background:transparent;
  box-shadow:none;
  line-height:1.08;
  font-size:11px;
  font-weight:700;
  gap:6px;
}

body.page-selfcheck .selfcheck-actions .action-icon{
  width:40px;
  height:40px;
  display:grid;
  place-items:center;
  border-radius:13px;
  color:#fff;
  box-shadow:0 8px 16px rgba(15,23,42,.10);
}

body.page-selfcheck .selfcheck-actions .action-icon svg{
  width:20px;
  height:20px;
  display:block;
}

body.page-selfcheck .selfcheck-actions .action-icon--blue{
  background:linear-gradient(145deg,#38bdf8,#2563eb);
}

body.page-selfcheck .selfcheck-actions .action-icon--green{
  background:linear-gradient(145deg,#34d399,#059669);
}

body.page-selfcheck .selfcheck-actions .action-icon--orange{
  background:linear-gradient(145deg,#fb923c,#f97316);
}

body.page-selfcheck .selfcheck-actions .action-icon--red{
  background:linear-gradient(145deg,#f87171,#dc2626);
}

body.page-selfcheck .selfcheck-actions .action-icon--gray{
  background:linear-gradient(145deg,#94a3b8,#64748b);
}

body.page-selfcheck .selfcheck-actions .action-label{
  font-size:10px;
  font-weight:700;
  color:#475569;
  letter-spacing:.01em;
  white-space:nowrap;
}

body.page-selfcheck .report-modal{
  position:fixed;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px;
  background:rgba(15,23,42,.56);
  backdrop-filter:blur(8px);
  z-index:90;
}

body.page-selfcheck .report-modal[hidden]{
  display:none;
}

body.page-selfcheck .report-modal__panel{
  width:min(100%,390px);
  border-radius:24px;
  border:1px solid rgba(219,228,242,.92);
  background:linear-gradient(180deg,#fff,#f8fbff);
  box-shadow:0 24px 56px rgba(15,23,42,.24);
  padding:16px;
}

body.page-selfcheck .report-modal__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
}

body.page-selfcheck .report-modal__close{
  width:auto !important;
  min-height:28px;
  height:28px;
  padding:0 12px;
  border-radius:999px;
  font-size:9px;
  flex:none;
}

body.page-selfcheck .report-modal__body{
  display:grid;
  gap:12px;
}

body.page-selfcheck .report-modal__actions{
  margin-top:14px;
  justify-content:flex-end;
}

body.page-selfcheck .report-modal__actions .primary-btn{
  min-width:120px;
}

.hero{
  position:relative;
  overflow:hidden;
  border:1px solid rgba(219,228,242,.9);
  border-radius:28px;
  padding:24px;
  background:
    linear-gradient(145deg, rgba(6,24,63,.96), rgba(10,132,255,.84)),
    linear-gradient(135deg,#0a84ff,#1d4ed8 60%,#0f172a);
  color:#fff;
  box-shadow:var(--shadow);
}

.phone .hero{
  background-image:
    linear-gradient(145deg, rgba(96, 0, 0, .72), rgba(17, 24, 39, .20)),
    linear-gradient(180deg, rgba(255, 255, 255, .10), rgba(0, 0, 0, .14)),
    url("./微信图片_20260601023305.png");
  background-size:cover;
  background-position:center center;
  background-repeat:no-repeat;
  background-blend-mode:overlay,normal,normal;
}

.phone{
  max-width:430px;
  height:100dvh;
  height:100vh;
  min-height:0;
  margin:0 auto;
  position:relative;
  background:#f3f7ff;
  overflow-y:auto;
  overflow-x:hidden;
  display:flex;
  flex-direction:column;
  /* 安全区域 */
  padding-top:var(--sat);
  padding-bottom:var(--sab);
  padding-left:var(--sal);
  padding-right:var(--sar);
  /* 各平台滚动优化 */
  -webkit-overflow-scrolling:touch;
}

body[data-page="home"] .phone{
  width:100%;
  min-width:100%;
  max-width:none;
}

body[data-page="home"]{
  height:100vh;
  overflow:hidden;
}
body[data-page="home"] .phone{
  height:100vh;
  overflow-y:auto;
}
body[data-page="home"] .wrap{
  width:100%;
  min-width:100%;
  max-width:none;
  padding:6px 4px 70px;
}
body[data-page="home"] .home-feed-card{
  max-height:calc(100vh - 300px);
  display:flex;
  flex-direction:column;
}
body[data-page="home"] .home-feed-head{
  flex:none;
}
body[data-page="home"] .reserve-full{
  flex:1;
  overflow-y:auto;
  min-height:0;
}
body[data-page="home"] .article-feed{
}

@media (min-width: 721px){
  body[data-page="home"] .phone{
    width:100%;
    max-width:430px;
    margin:0 auto;
    min-height:100vh;
    height:100vh;
    overflow:hidden;
  }

  body[data-page="home"] .wrap{
    padding:14px 14px 0;
  }

  body[data-page="home"] .hero{
    border-radius:28px;
    min-height:176px;
    padding:18px 20px 18px;
  }

  body[data-page="home"] .hero .hero-title{
    font-size:14px;
  }

  body[data-page="home"] .hero .hero-topic{
    font-size:26px;
  }

  body[data-page="home"] .entry-card{
    margin-top:12px;
    padding:10px;
    min-height:112px;
  }

  body[data-page="home"] .fixed-bottom{
    bottom:56px;
    padding:0 14px;
  }

  body[data-page="home"] .fixed-box{
    padding:12px;
  }
}

.wrap{
  flex:1;
  overflow-y:auto;
  padding:10px 4px 152px;
  -webkit-overflow-scrolling:touch;
}

.hero{
  width:100%;
  min-width:100%;
  margin:0;
  min-height:168px;
  border-radius:22px;
  padding:12px 14px 12px;
  box-shadow:0 12px 28px rgba(15,23,42,.14);
  color:#fff;
  background:
    linear-gradient(145deg,rgba(6,24,63,.72),rgba(10,132,255,.46)),
    radial-gradient(circle at 85% 20%,rgba(255,255,255,.35),transparent 40%),
    linear-gradient(135deg,#0a84ff,#1d4ed8 60%,#0f172a);
  display:block;
  position:relative;
  text-align:left;
}

.hero .hero-title{
  margin:0;
  font-size:13px;
  line-height:1.12;
  font-weight:700;
  text-align:left;
}

.hero > div{
  width:100%;
  min-width:100%;
}

.hero .hero-topic{
  display:block;
  width:100%;
  margin-top:8px;
  font-size:19px;
  line-height:1.3;
  font-weight:600;
  letter-spacing:.10em;
  text-align:left;
}

.hero-topic__lead{
  display:block;
}

.hero-topic__tail{
  display:block;
  margin-top:2px;
  letter-spacing:.12em;
  font-weight:700;
}

/* ─── hero底部：二维码+公司信息 ─── */
.hero-footer{
  display:flex;
  align-items:flex-end;
  gap:4px;
  margin-top:35px;
  margin-right:20px;
  justify-content:flex-end;
}
.hero-qrcode{
  width:37px;
  height:37px;
  border-radius:6px;
  border:1px solid rgba(255,255,255,0.25);
}
.hero-info{
  text-align:right;
  line-height:1.15;
}
.hero-motto{
  font-size:8px;
  font-weight:700;
  color:#0f172a;
  white-space:nowrap;
  margin-top:-2px;
}
.hero-company{
  font-size:7px;
  font-weight:600;
  color:#0f172a;
  white-space:nowrap;
}

.btn{
  display:block;
  background:linear-gradient(135deg,#0a84ff,#3b82f6);
  color:#fff;
  text-decoration:none;
  text-align:center;
  padding:16px;
  border-radius:14px;
  font-weight:700;
  font-size:18px;
}

.entry-row{
  display:flex;
  gap:4px;
}

.entry-row .entry-field{
  flex:1;
  min-width:0;
}

.entry-card{
  position:relative;
  overflow:hidden;
  width:100%;
  min-width:100%;
  margin:8px 0 0;
  background:
    linear-gradient(180deg, rgba(6, 24, 63, .14), rgba(6, 24, 63, .34)),
    url("./入口.jpg");
  background-size:cover;
  background-position:center 46%;
  border-radius:16px;
  min-height:98px;
  display:flex;
  flex-direction:column;
  gap:5px;
  padding:7px;
  border:2px dashed rgba(220,38,38,.75);
  box-shadow:0 0 0 1px rgba(220,38,38,.08), 0 10px 24px rgba(127,29,29,.12);
}

.entry-field,
.entry-launch{
  display:block;
  width:100%;
  min-height:54px;
  border-radius:14px;
}

.entry-field{
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:6px 8px 5px;
  background:rgba(248,250,252,.96);
  border:1px solid rgba(220,38,38,.22);
  box-shadow:0 10px 22px rgba(127,29,29,.12);
}

.entry-label{
  font-size:10px;
  font-weight:800;
  color:#0b4fb3;
  letter-spacing:.02em;
  margin-bottom:1px;
}

.entry-picker{
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:100%;
  min-height:34px;
  padding:0 6px 0 0;
  border:none;
  outline:none;
  background:transparent;
  color:#111827;
  font-size:14px;
  font-weight:700;
  cursor:pointer;
  text-align:left;
  gap:10px;
}

.entry-picker__value{
  flex:1;
  min-width:0;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
}

.entry-picker__arrow{
  width:24px;
  height:24px;
  border-radius:999px;
  background:
    linear-gradient(180deg, rgba(127,29,29,.08), rgba(127,29,29,.03)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M3 5l4 4 4-4' stroke='%23b91c1c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 14px 14px;
  box-shadow:inset 0 0 0 1px rgba(185,28,28,.10);
  flex:none;
}

.entry-launch{
  width:100%;
  background:linear-gradient(135deg, rgba(239,68,68,.94), rgba(220,38,38,.92));
  box-shadow:0 12px 24px rgba(127,29,29,.24);
  backdrop-filter:blur(2px);
  padding:10px 12px;
  font-size:15px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
}

.entry-launch.is-disabled{
  opacity:.65;
  pointer-events:none;
}

.home-picker-sheet{
  position:fixed;
  left:50%;
  bottom:12px;
  width:min(100%,402px);
  transform:translateX(-50%) translateY(115%);
  z-index:70;
  border:1px solid #dbe4f2;
  border-radius:22px 22px 18px 18px;
  background:#fff;
  padding:18px 14px 16px;
  box-shadow:0 20px 44px rgba(15,23,42,.16);
  max-height:42vh;
  overflow:auto;
  opacity:0;
  pointer-events:none;
  transition:transform .26s cubic-bezier(.2,.8,.2,1), opacity .2s ease, box-shadow .22s ease;
}

.home-picker-sheet.is-industry{
  width:min(100%,398px);
}

.home-picker-sheet[hidden]{
  display:block;
}

.home-picker-sheet.is-open{
  opacity:1;
  pointer-events:auto;
  transform:translateX(-50%) translateY(0);
  box-shadow:0 22px 52px rgba(15,23,42,.18);
}

.home-picker-sheet__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
  position:relative;
  padding-top:8px;
}

.home-picker-sheet__head::before{
  content:"";
  position:absolute;
  left:50%;
  top:-2px;
  width:42px;
  height:4px;
  border-radius:999px;
  background:#dbe4f2;
  transform:translateX(-50%);
}

.home-picker-sheet__title{
  margin:4px 0 0;
  font-size:15px;
  color:#0b4fb3;
  font-weight:800;
  letter-spacing:.02em;
}

.home-picker-sheet__close{
  width:auto !important;
  min-height:24px;
  height:24px;
  padding:0 10px;
  font-size:10px;
  line-height:1;
  border-radius:999px;
  flex:none;
  white-space:nowrap;
  color:#fff;
  border:0;
  background:linear-gradient(135deg,#ff7a59,#ef4444);
  box-shadow:0 8px 18px rgba(239,68,68,.22);
}

.home-picker-sheet__meta{
  margin-bottom:12px;
  font-size:12px;
  color:var(--muted);
}

.home-picker-sheet__meta:empty{
  display:none;
  margin-bottom:0;
}

.home-picker-sheet__list{
  display:grid;
  gap:10px;
}

.home-picker-sheet.is-industry .home-picker-sheet__list{
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:7px;
}

.home-picker-sheet.is-role{
  width:min(100%,398px);
}

.home-picker-sheet.is-role .home-picker-sheet__list{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:6px;
}

.home-picker-item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  width:100%;
  border:1.5px solid #b8c4d6;
  border-radius:13px;
  padding:9px 10px;
  background:linear-gradient(180deg,#ffffff,#f2f6fb);
  text-align:left;
  min-height:46px;
  box-shadow:0 3px 8px rgba(15,23,42,.045);
}

.home-picker-item.is-active{
  border-color:rgba(220,38,38,.92);
  background:linear-gradient(180deg, rgba(220,38,38,.22), rgba(220,38,38,.10));
  box-shadow:0 10px 20px rgba(220,38,38,.16);
  transform:translateY(-1px);
}

.home-picker-sheet.is-industry .home-picker-item{
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  gap:4px;
  padding:10px 8px;
}

.home-picker-sheet:not(.is-industry) .home-picker-item{
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  gap:4px;
  padding:10px 8px;
}

.home-picker-sheet.is-role .home-picker-item{
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:3px;
  padding:10px 6px;
  min-height:50px;
  background:linear-gradient(180deg,#ffffff,#f4f8ff);
  border-color:rgba(11,79,179,.42);
}

.home-picker-item__name{
  font-size:13px;
  font-weight:800;
  color:var(--text);
  line-height:1.12;
}

.home-picker-sheet.is-industry .home-picker-item__name{
  font-size:12px;
  line-height:1.15;
}

.home-picker-sheet:not(.is-industry) .home-picker-item__name{
  font-size:13px;
  line-height:1.15;
}

.home-picker-sheet.is-role .home-picker-item__name{
  font-size:13px;
  line-height:1.15;
  text-align:center;
}

.home-picker-sheet.is-role .home-picker-item.is-active .home-picker-item__name{
  color:#0b4fb3;
}

.home-picker-sheet.is-industry .home-picker-item.is-active .home-picker-item__name{
  color:#991b1b;
}

.reserve-full{
  width:100%;
  min-width:100%;
  flex:1;
  margin:0;
  min-height:0;
  border:1.5px dashed rgba(220,38,38,.35);
  border-radius:16px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.82), rgba(255,245,245,.92));
  padding:7px;
  font-size:0;
  color:transparent;
  overflow:auto;
  -webkit-overflow-scrolling:touch;
}

.pub-feed{
  display:flex;
  flex:1;
  flex-direction:column;
  gap:7px;
  min-height:100%;
}

.pub-card{
  flex:none;
  width:100%;
  border-radius:12px;
  background:#fff;
  border:1px solid rgba(220,38,38,.12);
  overflow:hidden;
  box-shadow:0 7px 16px rgba(127,29,29,.07);
}

.pub-card:last-child{
  flex:1;
}

/* 公众号文章资讯流 */
.pub-card-scroll{
  display:flex;
  flex-direction:column;
}

.pub-card-scroll .pub-meta{
  padding-bottom:4px;
}

.article-feed{
  flex:1;
  overflow-y:auto;
  padding:0 10px 9px;
  display:flex;
  flex-direction:column;
  gap:8px;
}

.article-item{
  display:flex;
  gap:8px;
  padding:6px 0;
  border-bottom:1px solid rgba(0,0,0,.06);
  text-decoration:none;
  cursor:pointer;
}

.article-item:last-child{
  border-bottom:none;
}

.article-item:hover{
  opacity:.85;
}

.article-img{
  flex:none;
  width:80px;
  height:60px;
  border-radius:8px;
  background-size:cover;
  background-position:center;
  background-color:#e2e8f0;
}

.article-img-alt{
  background:linear-gradient(135deg,#0a84ff,#7c3aed);
}

.article-info{
  flex:1;
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:2px;
}

.article-title{
  font-size:14px;
  font-weight:600;
  color:#0f172a;
  line-height:1.3;
  display:-webkit-box;
  -webkit-line-clamp:1;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.article-brief{
  font-size:12px;
  color:#64748b;
  line-height:1.3;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.article-meta{
  font-size:11px;
  color:#94a3b8;
  display:flex;
  gap:8px;
  margin-top:2px;
}

.pub-cover{
  height:36%;
  min-height:50px;
  background:
    linear-gradient(180deg, rgba(127,29,29,.12), rgba(127,29,29,.36)),
    url("./入口.jpg");
  background-size:cover;
  background-position:center center;
}

.pub-cover.alt{
  background:
    linear-gradient(180deg, rgba(127,29,29,.12), rgba(127,29,29,.38)),
    url("./微信图片_20260601023305.png");
  background-size:cover;
  background-position:center center;
}

.pub-cover.alt2{
  background:
    linear-gradient(180deg, rgba(127,29,29,.12), rgba(127,29,29,.38)),
    linear-gradient(135deg, #fef2f2, #fee2e2 55%, #fecaca);
}

.pub-meta{
  padding:8px 10px 9px;
}

.pub-title{
  font-size:12px;
  font-weight:700;
  color:#0f172a;
  letter-spacing:.03em;
}

.pub-desc{
  font-size:9px;
  color:#1e293b;
  margin-top:4px;
  line-height:1.4;
  letter-spacing:.02em;
}

.pub-subtitle{
  margin-top:2px;
  font-size:9px;
  line-height:1.3;
  color:#1e293b;
}

.fixed-bottom{
  position:absolute;
  left:0;
  right:0;
  bottom:38px;
  padding:0 4px;
  z-index:20;
}

body[data-page="home"] .fixed-bottom{
  bottom:56px;
  padding:0 4px;
}

.fixed-box{
  background:#fff;
  border-radius:16px;
  box-shadow:0 6px 14px rgba(15,23,42,.08);
  padding:8px;
}

body[data-page="home"] .fixed-box{
  padding:14px;
}

.fixed-title{
  font-size:11px;
  color:#475569;
  margin-bottom:4px;
}

.btn-row{
  display:flex;
  gap:4px;
}

.small-btn{
  flex:1;
  min-width:0;
  border:1px solid rgba(37,99,235,.20);
  border-radius:13px;
  padding:7px 6px;
  font-size:11px;
  font-weight:800;
  color:#1d4ed8;
  background:linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  box-shadow:0 8px 16px rgba(37,99,235,.10), inset 0 1px 0 rgba(255,255,255,.70);
  transition:transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

.small-btn.primary{
  border-color:rgba(37,99,235,.25);
  color:#1d4ed8;
  background:linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%);
}

.small-btn.secondary{
  border-color:rgba(37,99,235,.18);
  color:#2563eb;
  background:linear-gradient(135deg, #f8fbff 0%, #eaf2ff 100%);
}

.small-btn.tertiary{
  border-color:rgba(37,99,235,.16);
  color:#3b82f6;
  background:linear-gradient(135deg, #fbfdff 0%, #f2f7ff 100%);
}

.small-btn:hover,
.small-btn:active{
  transform:translateY(-1px);
  box-shadow:0 10px 18px rgba(37,99,235,.14), inset 0 1px 0 rgba(255,255,255,.78);
  filter:saturate(.96);
}

.tabbar{
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  display:flex;
  background:rgba(255,255,255,0.96);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  border-top:1px solid rgba(226,232,240,0.8);
  box-shadow:0 -2px 12px rgba(15,23,42,0.06);
  z-index:30;
}

.tab{
  flex:1;
  text-align:center;
  padding:8px 4px 3px;
  font-size:13px;
  color:#0f172a;
  text-decoration:none;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:4px;
}
.tab .tab-icon{
  font-size:14px;
  line-height:1;
}

.tab.active{
  color:#0a84ff;
  font-weight:700;
}

.hero::after{
  content:"";
  position:absolute;
  inset:auto -120px -140px auto;
  width:320px;
  height:320px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(255,255,255,.16), transparent 68%);
  pointer-events:none;
}

.hero-top{
  display:flex;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  align-items:flex-start;
  position:relative;
  z-index:1;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:30px;
  padding:0 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(255,255,255,.08);
  font-size:12px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.hero h1{
  margin:14px 0 0;
  font-size:40px;
  line-height:1.08;
  letter-spacing:.01em;
}

.hero p{
  margin:12px 0 0;
  color:rgba(255,255,255,.88);
  font-size:15px;
  line-height:1.75;
  max-width:820px;
}

.hero-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:18px;
  position:relative;
  z-index:1;
}

.badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  border:1px solid rgba(255,255,255,.26);
  background:rgba(255,255,255,.10);
  color:#fff;
  border-radius:999px;
  padding:7px 12px;
  font-size:12px;
  font-weight:700;
  backdrop-filter:blur(8px);
}

.grid{
  display:grid;
  grid-template-columns:repeat(12,1fr);
  gap:14px;
  margin-top:18px;
}

.card{
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:18px;
}

body[data-page="home"] .card{
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  display:flex;
  flex-direction:column;
  flex:1;
}

body[data-page="home"] .wrap{
  padding:14px 14px 0;
}

.section{
  margin-top:22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}

.section h2{
  margin:0;
  font-size:18px;
}

.section p{
  margin:4px 0 0;
  color:var(--muted);
  font-size:13px;
  line-height:1.65;
}

.tag{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:28px;
  padding:0 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
  white-space:nowrap;
}

.tag.blue{background:#eaf2ff;color:#0a84ff}
.tag.green{background:#e7f8f4;color:#0f766e}
.tag.orange{background:#fff4e6;color:#c2410c}
.tag.red{background:#fff1f2;color:#be123c}

.link-btn,
.primary-btn,
.ghost-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:0 16px;
  border-radius:14px;
  font-size:13px;
  font-weight:800;
  text-decoration:none;
  border:1px solid transparent;
  cursor:pointer;
}

.link-btn,
.ghost-btn{
  background:#f8fbff;
  color:var(--brand);
  border-color:#bfdbfe;
}

.primary-btn{
  background:linear-gradient(135deg,#0a84ff,#2563eb);
  color:#fff;
  border-color:#0a84ff;
}

.hero-actions,
.button-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.launch{
  grid-column:span 4;
  display:flex;
  flex-direction:column;
  gap:12px;
  min-height:240px;
}

.phone-hero{
  display:grid;
  grid-template-columns:minmax(0, 420px) minmax(0, 1fr);
  gap:16px;
  align-items:start;
}

.phone-shell{
  max-width:420px;
  margin:0 auto;
  padding:14px;
  border-radius:36px;
  background:linear-gradient(180deg,#0f172a,#111827);
  box-shadow:0 26px 60px rgba(15,23,42,.28);
}

.phone-topbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:4px 10px 12px;
  color:rgba(255,255,255,.72);
  font-size:12px;
  font-weight:700;
}

.phone-screen{
  border-radius:28px;
  padding:20px 18px 18px;
  background:
    radial-gradient(circle at top right, rgba(10,132,255,.18), transparent 28%),
    linear-gradient(180deg,#f8fbff,#eef4ff 72%,#f8fbff);
  min-height:560px;
}

.phone-screen h1{
  margin:14px 0 0;
  font-size:28px;
  line-height:1.18;
}

.phone-screen p{
  margin:10px 0 0;
  color:#475569;
  font-size:14px;
  line-height:1.7;
}

.mini-steps{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin-top:18px;
}

.mini-step{
  border:1px solid #dbe4f2;
  border-radius:16px;
  background:#fff;
  padding:10px 10px 12px;
  color:#64748b;
  font-size:12px;
  font-weight:700;
  box-shadow:0 10px 20px rgba(15,23,42,.06);
}

.mini-step span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:24px;
  height:24px;
  margin-right:6px;
  border-radius:999px;
  background:#eaf2ff;
  color:#0a84ff;
}

.mini-step.active{
  color:#0f172a;
  border-color:#93c5fd;
}

.mini-preview{
  margin-top:18px;
  padding:16px;
  border-radius:18px;
  background:linear-gradient(135deg,#0a84ff,#0f766e);
  color:#fff;
  box-shadow:0 16px 32px rgba(10,132,255,.22);
}

.mini-preview__title{
  font-size:12px;
  font-weight:700;
  opacity:.9;
}

.mini-preview__score{
  margin-top:8px;
  font-size:24px;
  font-weight:900;
}

.mini-preview__desc{
  margin-top:8px;
  color:rgba(255,255,255,.88);
  font-size:13px;
  line-height:1.65;
}

.wb-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:12px;
}

.wb-card{
  border:1px solid #dbe4f2;
  border-radius:18px;
  background:#fff;
  padding:16px;
  box-shadow:var(--shadow);
  cursor:pointer;
  text-align:left;
  transition:transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.wb-card:hover{
  transform:translateY(-2px);
  border-color:#93c5fd;
  box-shadow:0 22px 36px rgba(15,23,42,.12);
}

.wb-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:44px;
  height:44px;
  border-radius:14px;
  background:linear-gradient(135deg,#0a84ff,#0f766e);
  color:#fff;
  font-weight:900;
  font-size:15px;
}

.wb-index{
  margin-top:10px;
  color:#94a3b8;
  font-size:12px;
  font-weight:800;
  letter-spacing:.12em;
}

.wb-card h3{
  margin:8px 0 0;
  font-size:16px;
}

.wb-card p{
  margin:8px 0 0;
  color:var(--muted);
  font-size:13px;
  line-height:1.55;
}

.option-top{
  display:flex;
  align-items:flex-start;
  gap:12px;
}

.option-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:38px;
  height:38px;
  border-radius:12px;
  background:linear-gradient(135deg,rgba(10,132,255,.14),rgba(15,118,110,.12));
  color:#0a84ff;
  font-size:13px;
  font-weight:900;
  flex:0 0 auto;
}

.option-code{
  margin:4px 0 0;
  color:#94a3b8;
  font-size:12px;
}

.launch-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}

.launch-title{
  margin:10px 0 0;
  font-size:22px;
  line-height:1.2;
}

.launch-sub{
  margin:8px 0 0;
  color:var(--muted);
  font-size:13px;
  line-height:1.65;
}

.launch-links{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:auto;
}

.panel-title{
  margin:0 0 12px;
  font-size:15px;
  color:#0f172a;
}

ul{
  margin:0;
  padding-left:18px;
}

li{
  margin:8px 0;
  line-height:1.5;
}

table{
  width:100%;
  border-collapse:collapse;
}

th,td{
  border:1px solid var(--line);
  padding:8px 10px;
  font-size:13px;
  vertical-align:top;
}

th{
  background:#eff6ff;
  text-align:left;
}

.docs{
  margin-top:12px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}

.hero-strip{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
  margin-top:16px;
}

.hero-stat{
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.18);
  border-radius:18px;
  padding:14px;
  backdrop-filter:blur(8px);
}

.hero-stat .label{
  font-size:12px;
  color:rgba(255,255,255,.74);
}

.hero-stat .value{
  margin-top:6px;
  font-size:22px;
  font-weight:800;
}

.hero-stat .desc{
  margin-top:6px;
  font-size:12px;
  color:rgba(255,255,255,.72);
  line-height:1.5;
}

.status-box{
  margin-top:18px;
  display:grid;
  grid-template-columns:repeat(12,1fr);
  gap:14px;
}

.status-card{
  grid-column:span 12;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:12px;
}

.status-left{flex:1 1 320px}
.status-title{
  margin:0;
  font-size:18px;
}
.status-desc{
  margin:6px 0 0;
  color:var(--muted);
  font-size:13px;
  line-height:1.65;
}

.status-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:40px;
  padding:0 14px;
  border-radius:999px;
  background:#f8fbff;
  border:1px solid #bfdbfe;
  font-size:13px;
  font-weight:800;
  color:#0f172a;
  white-space:nowrap;
}
.status-pill.ok{
  background:#e7f8f4;
  border-color:#99f6e4;
  color:#0f766e;
}
.status-pill.bad{
  background:#fff1f2;
  border-color:#fecdd3;
  color:#be123c;
}

.stats{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:10px;
  width:100%;
}

.stat{
  background:#f8fbff;
  border:1px solid #dbeafe;
  border-radius:14px;
  padding:12px;
}

.stat-label{
  font-size:12px;
  color:var(--muted);
}

.stat-value{
  margin-top:6px;
  font-size:20px;
  font-weight:800;
}

.page-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  flex-wrap:wrap;
}

.page-head h1{
  margin:0;
  font-size:28px;
}

.page-head p{
  margin:8px 0 0;
  color:var(--muted);
  line-height:1.7;
}

.page-grid{
  display:grid;
  grid-template-columns:repeat(12, 1fr);
  gap:14px;
  margin-top:18px;
}

.span-6{grid-column:span 6}
.span-4{grid-column:span 4}
.span-8{grid-column:span 8}
.span-12{grid-column:span 12}

.prompt{
  font-size:12px;
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:.08em;
}

.big-number{
  font-size:38px;
  font-weight:900;
  color:#0f172a;
  line-height:1;
}

.industry-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}

.option-card{
  border:1px solid #dbe4f2;
  border-radius:18px;
  background:#fff;
  padding:16px;
  box-shadow:var(--shadow);
  cursor:pointer;
  transition:transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.option-card:hover{
  transform:translateY(-2px);
  border-color:#93c5fd;
  box-shadow:0 22px 36px rgba(15,23,42,.12);
}

.option-card.active{
  border-color:#0a84ff;
  box-shadow:0 22px 36px rgba(10,132,255,.18);
  background:linear-gradient(180deg,#fff, #f0f7ff);
}

.option-title{
  margin:0;
  font-size:16px;
}

.option-desc{
  margin:8px 0 0;
  color:var(--muted);
  font-size:13px;
  line-height:1.65;
}

.option-actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-top:14px;
  padding-top:12px;
  border-top:1px solid rgba(219,228,242,.82);
}

.option-hint{
  color:var(--muted);
  font-size:12px;
  line-height:1.4;
}

.role-open-btn{
  border:0;
  border-radius:999px;
  padding:9px 14px;
  background:linear-gradient(135deg,var(--brand),#49c2ff);
  color:#fff;
  font-size:12px;
  font-weight:800;
  cursor:pointer;
  box-shadow:0 10px 20px rgba(10,132,255,.18);
  white-space:nowrap;
}

.role-open-btn:hover{
  text-decoration:none;
  filter:brightness(1.02);
}

.role-open-btn:active{
  transform:translateY(1px);
}

.form-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}

.field{
  display:flex;
  flex-direction:column;
  gap:6px;
}

.field label{
  font-size:13px;
  font-weight:700;
  color:#0f172a;
}

.field input,
.field select,
.field textarea{
  width:100%;
  border:1px solid #cbd5e1;
  border-radius:14px;
  background:#fff;
  padding:12px 14px;
  color:#0f172a;
}

.field textarea{min-height:112px;resize:vertical}

.checklist{
  display:grid;
  gap:7px;
}

.check-item{
  display:flex;
  align-items:flex-start;
  gap:8px;
  border:1px solid #e2e8f0;
  border-radius:14px;
  padding:8px 9px 7px;
  background:linear-gradient(180deg,#ffffff,#fbfcfe);
  box-shadow:0 5px 10px rgba(15,23,42,.035);
}

.check-item--stacked{
  flex-direction:column;
}

.check-item__head{
  display:flex;
  align-items:flex-start;
  gap:8px;
  width:100%;
}

/* ─── 每题标题后的法规依据胶囊 ─── */
.law-ref-btn{
  flex:none;
  padding:1px 6px;
  border-radius:999px;
  border:1px solid rgba(148,163,184,0.3);
  background:transparent;
  color:#94a3b8;
  font-size:8px;
  font-weight:600;
  line-height:1.3;
  cursor:pointer;
  margin-left:auto;
  align-self:flex-start;
  margin-top:2px;
}
.law-ref-btn:active{
  background:rgba(148,163,184,0.1);
  color:#64748b;
}

.check-sequence{
  flex:0 0 auto;
  min-width:28px;
  height:28px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:9px;
  background:#f3f4f6;
  color:#6b7280;
  font-size:9px;
  font-weight:800;
  letter-spacing:.08em;
}

.check-copy h4{
  margin:0;
  font-size:11px;
}

.check-copy p{
  margin:4px 0 0;
  color:var(--muted);
  font-size:10px;
  line-height:1.35;
}

.feedback-buttons{
  width:100%;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:3px;
  margin-top:3px;
}

.feedback-buttons--segmented{
  padding-top:0;
  border-top:0;
}

.feedback-button{
  border:1px solid #ebeff5;
  border-radius:999px;
  background:#fbfcfd;
  color:#64748b;
  padding:5px 6px;
  font-size:9px;
  font-weight:700;
  line-height:1.2;
  min-height:28px;
}

.feedback-button.active{
  border-color:#d8dee8;
  background:#f1f4f8;
  color:#475569;
  box-shadow:0 4px 10px rgba(148,163,184,.08);
}

.rectify-panel{
  position:fixed;
  left:50%;
  bottom:12px;
  width:min(100%,402px);
  transform:translateX(-50%);
  z-index:60;
  margin:0;
  border:1px solid #e2e8f0;
  border-radius:16px 16px 12px 12px;
  background:linear-gradient(180deg,#ffffff,#f8fafc);
  padding:11px 10px 10px;
  box-shadow:0 10px 22px rgba(15,23,42,.09);
  max-height:38vh;
  overflow:auto;
  opacity:0;
  pointer-events:none;
  transform:translateX(-50%) translateY(110%);
  transition:transform .26s cubic-bezier(.2,.8,.2,1), opacity .2s ease, box-shadow .22s ease;
}

.rectify-panel[hidden]{
  display:block;
}

.rectify-panel.is-open{
  opacity:1;
  pointer-events:auto;
  transform:translateX(-50%) translateY(0);
  box-shadow:0 22px 52px rgba(15,23,42,.18);
}

.rectify-panel__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:6px;
  margin-bottom:7px;
  position:relative;
  padding-top:6px;
}

.rectify-panel__head::before{
  content:"";

.result-panel__grade.is-good{
  color:#0f766e;
}

.result-panel__grade.is-qualified{
  color:#0a84ff;
}

.result-panel__grade.is-improve{
  color:#dc2626;
}

.result-panel__list{
  margin:5px 0 0;
  padding-left:18px;
  color:var(--muted);
}

.result-panel__list li{
  margin:5px 0;
  font-size:9px;
  line-height:1.38;
}

.feedback-drawer{
  margin-top:16px;
  padding:14px;
  border-radius:18px;
  border:1px solid #dbe4f2;
  background:#fff;
  box-shadow:0 14px 28px rgba(15,23,42,.10);
}

.feedback-drawer[hidden]{
  display:none;
}

.feedback-drawer__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}

.feedback-drawer__eyebrow{
  font-size:11px;
  font-weight:800;
  color:#0a84ff;
}

.feedback-drawer__title{
  margin:4px 0 0;
  font-size:15px;
}

.feedback-drawer__close{
  width:auto !important;
  min-height:24px;
  height:24px;
  padding:0 10px;
  color:#fff;
  border:0;
  background:linear-gradient(135deg,#38bdf8,#2563eb);
}

.feedback-topic-card{
  width:100%;
  text-align:left;
  border:1px solid #edf2f7;
  border-radius:14px;
  padding:10px 12px;
  background:linear-gradient(180deg,#f8fbff,#ffffff);
  box-shadow:none;
}

.feedback-topic-card .check-copy h4{
  margin:0;
  font-size:13px;
}

.feedback-topic-card .check-copy p{
  margin:4px 0 0;
  font-size:12px;
}

.feedback-drawer__meta{
  margin-top:8px;
  font-size:12px;
  color:var(--muted);
}

.feedback-drawer__list{
  margin-top:12px;
  display:grid;
  gap:10px;
}

.feedback-drawer__item{
  border:1px solid #edf2f7;
  border-radius:14px;
  padding:10px 12px;
  background:linear-gradient(180deg,#f8fbff,#ffffff);
}

.feedback-drawer__item-title{
  font-size:13px;
  font-weight:800;
}

.feedback-drawer__item-meta{
  margin-top:4px;
  font-size:11px;
  color:#0f766e;
  font-weight:700;
}

.feedback-drawer__item p{
  margin:6px 0 0;
  font-size:12px;
  line-height:1.5;
  color:var(--muted);
}

.employee-drawer{
  position:fixed;
  left:50%;
  bottom:12px;
  width:min(100%,402px);
  transform:translateX(-50%) translateY(115%);
  z-index:72;
  border:1px solid #dbe4f2;
  border-radius:22px 22px 18px 18px;
  background:#fff;
  padding:16px 14px 16px;
  box-shadow:0 20px 44px rgba(15,23,42,.16);
  max-height:42vh;
  overflow:auto;
  opacity:0;
  pointer-events:none;
  transition:transform .26s cubic-bezier(.2,.8,.2,1), opacity .2s ease, box-shadow .22s ease;
}

.employee-drawer[hidden]{
  display:block;
}

.employee-drawer.is-open{
  opacity:1;
  pointer-events:auto;
  transform:translateX(-50%) translateY(0);
  box-shadow:0 22px 52px rgba(15,23,42,.18);
}

.employee-drawer__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
  position:relative;
  padding-top:8px;
}

.employee-drawer__head::before{
  content:"";
  position:absolute;
  left:50%;
  top:-2px;
  width:42px;
  height:4px;
  border-radius:999px;
  background:#dbe4f2;
  transform:translateX(-50%);
}

.employee-drawer__title{
  margin:0;
  font-size:16px;
  color:#0b4fb3;
  font-weight:800;
  letter-spacing:.02em;
}

.employee-drawer__close{
  width:auto !important;
  min-height:24px;
  height:24px;
  padding:0 10px;
  font-size:10px;
  line-height:1;
  border-radius:999px;
  flex:none;
  white-space:nowrap;
  color:#fff;
  border:0;
  background:linear-gradient(135deg,#38bdf8,#2563eb);
  box-shadow:0 8px 18px rgba(37,99,235,.22);
}

.employee-drawer__panel{
  border:1px solid #edf2f7;
  border-radius:16px;
  padding:10px 12px;
  background:linear-gradient(180deg,#f8fbff,#ffffff);
  display:grid;
  gap:6px;
}

.employee-drawer__panel .employee-drawer__item{
  font-size:12px;
  line-height:1.45;
  color:#334155;
}

.enterprise-drawer{
  position:fixed;
  left:50%;
  bottom:0;
  width:min(100%,402px);
  transform:translateX(-50%) translateY(115%);
  z-index:73;
  border:1px solid #dbe4f2;
  border-radius:22px 22px 18px 18px;
  background:#fff;
  padding:12px 12px 16px;
  box-shadow:0 20px 44px rgba(15,23,42,.16);
  max-height:65vh;
  overflow:auto;
  opacity:0;
  pointer-events:none;
  transition:transform .26s cubic-bezier(.2,.8,.2,1), opacity .2s ease, box-shadow .22s ease;
}

.enterprise-drawer[hidden]{
  display:block;
}

.enterprise-drawer.is-open{
  opacity:1;
  pointer-events:auto;
  transform:translateX(-50%) translateY(0);
  box-shadow:0 22px 52px rgba(15,23,42,.18);
}

.enterprise-drawer__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
  position:relative;
  padding-top:8px;
}

.enterprise-drawer__head::before{
  content:"";
  position:absolute;
  left:50%;
  top:-2px;
  width:42px;
  height:4px;
  border-radius:999px;
  background:#dbe4f2;
  transform:translateX(-50%);
}

.enterprise-drawer__title{
  margin:0;
  font-size:16px;
  color:#0b4fb3;
  font-weight:800;
  letter-spacing:.02em;
}

.enterprise-drawer__close{
  width:auto !important;
  min-height:24px;
  height:24px;
  padding:0 10px;
  font-size:10px;
  line-height:1;
  border-radius:999px;
  flex:none;
  white-space:nowrap;
  color:#fff;
  border:0;
  background:linear-gradient(135deg,#38bdf8,#2563eb);
  box-shadow:0 8px 18px rgba(37,99,235,.22);
}

.enterprise-drawer__panel{
  border:1px solid #edf2f7;
  border-radius:16px;
  padding:10px 12px;
  background:linear-gradient(180deg,#f8fbff,#ffffff);
  display:grid;
  gap:6px;
}

.enterprise-drawer__item{
  font-size:12px;
  line-height:1.45;
  color:#334155;
}

.wish-drawer{
  position:fixed;
  left:50%;
  bottom:12px;
  width:min(100%,402px);
  transform:translateX(-50%) translateY(115%);
  z-index:74;
  border:1px solid #dbe4f2;
  border-radius:22px 22px 18px 18px;
  background:#fff;
  padding:16px 14px 16px;
  box-shadow:0 20px 44px rgba(15,23,42,.16);
  max-height:42vh;
  overflow:auto;
  opacity:0;
  pointer-events:none;
  transition:transform .26s cubic-bezier(.2,.8,.2,1), opacity .2s ease, box-shadow .22s ease;
}

.wish-drawer[hidden]{
  display:block;
}

.wish-drawer.is-open{
  opacity:1;
  pointer-events:auto;
  transform:translateX(-50%) translateY(0);
  box-shadow:0 22px 52px rgba(15,23,42,.18);
}

.wish-drawer__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
  position:relative;
  padding-top:8px;
}

.wish-drawer__head::before{
  content:"";
  position:absolute;
  left:50%;
  top:-2px;
  width:42px;
  height:4px;
  border-radius:999px;
  background:#dbe4f2;
  transform:translateX(-50%);
}

.wish-drawer__title{
  margin:0;
  font-size:16px;
  color:#0b4fb3;
  font-weight:800;
  letter-spacing:.02em;
}

.wish-drawer__close{
  width:auto !important;
  min-height:24px;
  height:24px;
  padding:0 10px;
  font-size:10px;
  line-height:1;
  border-radius:999px;
  flex:none;
  white-space:nowrap;
  color:#fff;
  border:0;
  background:linear-gradient(135deg,#38bdf8,#2563eb);
  box-shadow:0 8px 18px rgba(37,99,235,.22);
}

.wish-drawer__panel{
  border:1px solid #edf2f7;
  border-radius:16px;
  padding:10px 12px;
  background:linear-gradient(180deg,#f8fbff,#ffffff);
  display:grid;
  gap:6px;
}

.wish-drawer__item{
  font-size:12px;
  line-height:1.45;
  color:#334155;
}

.admin-filter-bar{
  display:grid;
  grid-template-columns:1fr 1fr auto;
  gap:8px;
}

.admin-filter-bar select{
  min-width:0;
  width:100%;
  border:1px solid #dbe4f2;
  border-radius:14px;
  background:#fff;
  min-height:40px;
  padding:0 12px;
  color:var(--text);
}

.admin-filter-reset{
  min-height:40px;
  padding:0 12px;
  border-radius:14px;
}

.admin-filter-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:12px;
}

.admin-template-card .option-actions{
  margin-top:12px;
}

.admin-template-card .option-code{
  margin:4px 0 0;
}

.admin-template-card.active{
  transform:translateY(-2px);
}

body.page-result .wrap,
body.page-report .wrap{
  max-width:430px;
  margin:0 auto;
  padding:12px 12px 28px;
}

body.page-result{
  background:#fff;
}

body.page-report{
  background:#fff;
}

body.page-result .phone-shell,
body.page-report .phone-shell{
  max-width:430px;
  margin:0 auto;
  padding:12px;
  border-radius:34px;
  background:linear-gradient(180deg,#f3f5f7,#e5e7eb);
  box-shadow:0 24px 54px rgba(100,116,139,.18);
}

body.page-result .phone-topbar,
body.page-report .phone-topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:4px 8px 10px;
  color:rgba(255,255,255,.72);
}

body.page-result .phone-topbar__back,
body.page-report .phone-topbar__back{
  min-height:34px;
  padding:0 10px;
  border-radius:999px;
  border:1px solid rgba(148,163,184,.18);
  background:rgba(255,255,255,.82);
  color:#334155;
  font-size:12px;
  box-shadow:0 6px 14px rgba(100,116,139,.08);
  width:auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  font-weight:700;
}

body.page-result .phone-topbar__back .action-icon,
body.page-report .phone-topbar__back .action-icon{
  width:18px;
  height:18px;
}

body.page-result .phone-topbar__back--blue{
  color:#111827;
}

body.page-result .phone-topbar__back--blue .action-icon{
  color:#dc2626;
  font-size:10px;
  font-weight:800;
  letter-spacing:.04em;
}

body.page-result .phone-screen,
body.page-report .phone-screen{
  border-radius:28px;
  padding:10px 14px 14px;
  background:
    radial-gradient(circle at top right, rgba(10,132,255,.18), transparent 28%),
    linear-gradient(180deg,#f8fbff,#eef4ff 72%,#f8fbff);
  min-height:520px;
}

body.page-result .mobile-panel,
body.page-report .mobile-panel{
  margin-top:12px;
  padding:12px;
  border-radius:18px;
  background:#fff;
  border:1px solid #dbe4f2;
  box-shadow:0 10px 22px rgba(15,23,42,.06);
}

body.page-result .mobile-panel--tight .panel-title{
  font-size:15px;
  color:#0a84ff;
}

body.page-result .mobile-panel--tight{
  display:flex;
  flex-direction:column;
  min-height:160px;
  margin-top:8px;
  padding-top:10px;
}

body.page-result .mobile-panel--tight .mobile-panel__head{
  align-items:flex-start;
  margin-bottom:2px;
}

body.page-result .mobile-panel--tight .prompt{
  display:none;
}

body.page-result .result-score{
  flex:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:6px;
  margin:0;
  text-align:center;
}

body.page-result #riskList{
  list-style:none;
  margin:8px 0 0;
  padding:0;
}

body.page-result .result-risks-title{
  color:#0a84ff;
}

body.page-result .warning-card{
  position:relative;
  padding:12px;
  border:1px solid rgba(220,38,38,.14);
  background:linear-gradient(180deg,#fff8f8,#ffffff);
}

body.page-result .warning-card::before{
  content:"";
  position:absolute;
  left:12px;
  top:12px;
  bottom:12px;
  width:3px;
  border-radius:999px;
  background:linear-gradient(180deg,#dc2626,#fb7185);
}

body.page-result .warning-card__title{
  margin-left:12px;
  color:#dc2626;
}

body.page-result .warning-card__desc{
  margin:8px 0 0 12px;
  color:#64748b;
  font-size:12px;
  line-height:1.55;
}

body.page-result #riskList li{
  display:flex;
  gap:8px;
  align-items:flex-start;
  margin:6px 0;
  font-size:12px;
  line-height:1.5;
}

body.page-result #riskList .risk-index{
  flex:0 0 auto;
  min-width:24px;
  font-size:12px;
  font-weight:800;
  color:#94a3b8;
}

body.page-result #riskList .risk-text{
  flex:1;
  color:#b91c1c;
  font-weight:600;
}

body.page-result .selfcheck-actions--single,
body.page-report .selfcheck-actions--single{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px 8px;
}

body.page-result .selfcheck-actions--single .action-tile,
body.page-report .selfcheck-actions--single .action-tile{
  min-height:92px;
  background:#fff;
  border:1px solid #dbe4f2;
  border-radius:18px;
  padding:10px 8px;
  box-shadow:0 12px 22px rgba(15,23,42,.06);
}

body.page-report .report-cover{
  padding:14px;
  border-radius:16px;
  background:linear-gradient(135deg, rgba(10,132,255,.08), rgba(15,118,110,.06));
  border:1px solid rgba(219,228,242,.9);
}

body.page-report #reportSummaryList{
  margin:0;
  padding-left:18px;
  color:var(--muted);
}

body.page-report #reportSummaryList li{
  margin:6px 0;
  line-height:1.55;
}

body.page-report #reportPreviewList{
  margin:0;
  padding:0;
  list-style:none;
}

body.page-report .report-preview__item{
  display:grid;
  gap:6px;
  padding:12px 0;
  border-bottom:1px dashed #dbe4f2;
}

body.page-report .report-preview__item:last-child{
  border-bottom:0;
}

body.page-report .report-preview__title{
  font-size:13px;
  font-weight:800;
  color:#0f172a;
}

body.page-report .report-preview__status{
  display:inline-flex;
  align-items:center;
  width:max-content;
  min-height:24px;
  padding:0 10px;
  border-radius:999px;
  font-size:11px;
  font-weight:800;
}

body.page-report .report-preview__status.is-correct{
  background:#e7f8f4;
  color:#0f766e;
}

body.page-report .report-preview__status.is-wrong{
  background:#fff1f2;
  color:#be123c;
}

body.page-report .report-preview__advice{
  font-size:12px;
  line-height:1.55;
  color:var(--muted);
}

body.page-report .report-preview__empty{
  padding:10px 0;
  color:var(--muted);
  font-size:12px;
}

body.page-selfcheck .phone-shell{
  max-width:430px;
  margin:0 auto;
  padding:6px;
  border-radius:24px;
  background:linear-gradient(180deg,#f3f5f7,#e5e7eb);
  box-shadow:0 12px 26px rgba(100,116,139,.12);
}

body.page-selfcheck .phone-topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:6px;
  padding:0 2px 3px;
  color:#475569;
}

body.page-selfcheck .phone-topbar__back{
  min-height:28px;
  padding:0 8px;
  border-radius:999px;
  border:1px solid rgba(148,163,184,.45);
  background:rgba(255,255,255,.76);
  color:#334155;
  font-size:11px;
  box-shadow:none;
  width:auto;
}

body.page-selfcheck .phone-screen{
  border-radius:20px;
  padding:8px 8px 8px;
  background:
    radial-gradient(circle at top right, rgba(10,132,255,.16), transparent 28%),
    linear-gradient(180deg,#f8fbff,#eef4ff 72%,#f8fbff);
  min-height:0;
}

body.page-selfcheck .mobile-panel--tight{
  margin-top:0;
  padding:8px 9px 7px;
}

body.page-selfcheck .selfcheck-actions{
  gap:6px 5px;
}

body.page-selfcheck .selfcheck-actions .action-tile{
  gap:4px;
}

body.page-selfcheck .selfcheck-actions .action-icon{
  width:36px;
  height:36px;
}

body.page-selfcheck .selfcheck-actions .action-icon svg{
  width:18px;
  height:18px;
}

body.page-selfcheck .action-tile--icononly{
  width:38px;
  min-width:38px;
  height:38px;
  min-height:38px;
  padding:0;
  border:1px solid #dbe4f2;
  background:#fff;
  box-shadow:0 6px 14px rgba(15,23,42,.06);
  flex:none;
}

body.page-selfcheck .action-tile--icononly .action-label{
  display:none;
}

body.page-selfcheck .action-tile--icononly .action-icon{
  width:38px;
  height:38px;
}

body.page-selfcheck .selfcheck-topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin-bottom:6px;
}

body.page-selfcheck .selfcheck-summary{
  flex:1;
  font-size:11px;
  line-height:1.35;
  color:var(--muted);
  text-align:right;
  font-weight:700;
}

body.page-selfcheck .selfcheck-summary span{
  color:var(--text);
  font-weight:800;
}

body.page-selfcheck .wrap{
  padding-bottom:124px;
}

body.page-admin{
  background:
    radial-gradient(circle at top left, rgba(220,38,38,.08), transparent 28%),
    radial-gradient(circle at top right, rgba(10,132,255,.10), transparent 24%),
    linear-gradient(180deg,#f8fafc,#eef4fb 72%,#f8fbff);
}

body.page-admin .wrap{
  max-width:1320px;
}

.admin-console{
  display:grid;
  grid-template-columns:320px minmax(0,1fr);
  gap:16px;
}

.admin-console__sidebar,
.admin-console__main{
  min-height:calc(100vh - 160px);
}

.admin-template-list{
  margin-top:14px;
  display:grid;
  gap:10px;
  max-height:calc(100vh - 320px);
  overflow:auto;
  padding-right:4px;
}

.admin-template-list::-webkit-scrollbar{
  width:6px;
}

.admin-template-list::-webkit-scrollbar-thumb{
  background:rgba(148,163,184,.6);
  border-radius:999px;
}

.admin-template-card{
  width:100%;
  text-align:left;
  border:1px solid #e2e8f0;
  background:linear-gradient(180deg,#ffffff,#f8fbff);
  box-shadow:none;
}

.admin-template-card .option-icon{
  background:linear-gradient(135deg,#dc2626,#fb7185);
  color:#fff;
}

.admin-template-card .option-title{
  font-size:15px;
}

.admin-template-card .option-desc{
  margin-top:6px;
  font-size:12px;
}

.admin-template-card .option-actions{
  margin-top:10px;
}

.admin-template-card.active{
  border-color:rgba(220,38,38,.3);
  box-shadow:0 14px 28px rgba(15,23,42,.08);
  transform:translateY(-1px);
}

.admin-editor{
  padding:2px 0 0;
}

.admin-feedback-panel{
  margin-top:18px;
  padding:16px;
  border-radius:20px;
  border:1px solid #e2e8f0;
  background:linear-gradient(180deg,#ffffff,#f8fbff);
}

.admin-guide{
  margin-top:14px;
  padding:16px 18px;
  border:1px solid #dbe4f2;
  border-radius:20px;
  background:linear-gradient(180deg,#ffffff,#f8fbff);
  box-shadow:0 12px 26px rgba(15,23,42,.05);
}

.admin-guide__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}

.admin-guide__grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin-top:14px;
}

.admin-guide__item{
  padding:12px 14px;
  border-radius:16px;
  background:#f8fbff;
  border:1px solid #e2e8f0;
  display:grid;
  gap:6px;
}

.admin-guide__item strong{
  font-size:13px;
  color:#0f172a;
}

.admin-guide__item span{
  font-size:12px;
  color:var(--muted);
  line-height:1.5;
}

.admin-config{
  margin-top:14px;
  padding:16px 18px;
  border:1px solid #dbe4f2;
  border-radius:20px;
  background:linear-gradient(180deg,#ffffff,#f8fbff);
  box-shadow:0 12px 26px rgba(15,23,42,.05);
}

.admin-config__grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:10px;
  margin-top:14px;
}

.admin-config__field{
  display:grid;
  gap:8px;
  padding:12px 14px;
  border-radius:16px;
  border:1px solid #e2e8f0;
  background:#fff;
}

.admin-config__field span{
  font-size:12px;
  color:#475569;
  font-weight:700;
}

.admin-config__field input{
  width:100%;
  min-height:40px;
  border-radius:12px;
  border:1px solid #dbe4f2;
  padding:8px 10px;
  background:#f8fbff;
  color:#0f172a;
}

.admin-config__actions{
  margin-top:14px;
  justify-content:flex-start;
}

.admin-preview-modal{
  position:fixed;
  inset:0;
  z-index:120;
  background:rgba(15,23,42,.56);
  backdrop-filter:blur(10px);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px;
}

.admin-preview-modal__panel{
  width:min(100%,720px);
  max-height:86vh;
  overflow:auto;
  padding:18px;
  border-radius:24px;
  border:1px solid rgba(219,228,242,.95);
  background:linear-gradient(180deg,#fff,#f8fbff);
  box-shadow:0 24px 56px rgba(15,23,42,.24);
}

.admin-preview__meta{
  margin-top:8px;
  font-size:13px;
  font-weight:700;
  color:#0f172a;
}

.admin-preview__warn{
  margin-top:12px;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(245,158,11,.25);
  background:#fff8ea;
  color:#9a3412;
  display:grid;
  gap:4px;
  font-size:12px;
  line-height:1.5;
}

.admin-preview__split{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin-top:14px;
}

.admin-preview__list-title{
  font-size:13px;
  font-weight:800;
  color:#0f172a;
  margin-bottom:8px;
}

.admin-preview__list,
.admin-preview__empty{
  padding:12px;
  border-radius:16px;
  background:#fff;
  border:1px solid #e2e8f0;
  min-height:96px;
  font-size:12px;
  line-height:1.55;
  color:var(--muted);
}

.admin-preview__list{
  display:grid;
  gap:8px;
}

.admin-preview__row{
  padding:8px 10px;
  border-radius:12px;
  background:#f8fbff;
  color:#334155;
}

.admin-preview__note{
  margin-top:14px;
  font-size:12px;
  color:var(--muted);
}

.admin-preview__actions{
  margin-top:16px;
  justify-content:flex-end;
}

.admin-feedback-panel .feedback-topic-card{
  background:#fff;
}

.admin-console__main .button-row{
  justify-content:flex-start;
}

.admin-console__main .button-row .primary-btn,
.admin-console__main .button-row .ghost-btn{
  min-width:122px;
}

.admin-guide + .admin-config{
  margin-top:14px;
}

.score-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
}

.score-card{
  border:1px solid #dbe4f2;
  border-radius:18px;
  background:#fff;
  padding:14px;
}

.score-card h3{
  margin:0;
  font-size:15px;
}

.score-card .range{
  margin-top:6px;
  font-size:24px;
  font-weight:900;
}

.score-card p{
  margin:8px 0 0;
  color:var(--muted);
  font-size:13px;
  line-height:1.55;
}

.score-card.good{
  border-color:rgba(15,118,110,.22);
  background:linear-gradient(180deg,#f8fffd,#ffffff);
}

.score-card.qualified{
  border-color:rgba(10,132,255,.22);
  background:linear-gradient(180deg,#f8fbff,#ffffff);
}

.score-card.improve{
  border-color:rgba(220,38,38,.22);
  background:linear-gradient(180deg,#fff8f8,#ffffff);
}

.result-board{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:14px;
}

.result-score{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
}

.report-shell{
  background:#fff;
  border:1px solid #dbe4f2;
  border-radius:20px;
  padding:18px;
  box-shadow:var(--shadow);
}

.report-cover{
  background:linear-gradient(135deg, #0a84ff, #0f766e 65%, #0f172a);
  color:#fff;
  border-radius:18px;
  padding:18px;
}

.report-cover h2{
  margin:0;
  font-size:22px;
}

.report-cover p{
  margin:8px 0 0;
  color:rgba(255,255,255,.86);
  line-height:1.7;
}

.footer-note{
  margin-top:16px;
  color:var(--muted);
  font-size:12px;
  line-height:1.7;
}

.hidden{display:none !important}

@media (max-width: 1080px){
  .launch{grid-column:span 12}
  .phone-hero{grid-template-columns:1fr}
  .phone-shell{max-width:100%}
  .docs{grid-template-columns:1fr}
  .industry-grid,
  .score-grid,
  .form-row,
  .result-board,
  .wb-grid{
    grid-template-columns:1fr;
  }
  .admin-console{
    grid-template-columns:1fr;
  }
  .admin-guide__grid,
  .admin-preview__split{
    grid-template-columns:1fr;
  }
  .admin-config__grid{
    grid-template-columns:1fr;
  }
  .admin-template-list{
    max-height:none;
  }
  .span-4,.span-6,.span-8{grid-column:span 12}
}

@media (max-width: 720px){
  body[data-page="home"] .phone{
    max-width:none;
    height:auto;
    min-height:100vh;
    overflow:visible;
  }

  body[data-page="home"] .wrap{
    padding:12px 4px 0;
  }

  .hero{padding:12px 10px 14px;border-radius:14px}
  .hero .hero-title{font-size:13px}
  .hero .hero-topic{font-size:22px}
  .entry-card{width:100%;margin:6px 0 0;padding:8px}
  .entry-field,
  .entry-launch{min-height:auto}
  .entry-select{font-size:14px}
  .entry-launch{padding:9px 11px;font-size:14px}
  .page-head h1{font-size:22px}
  .hero-strip{grid-template-columns:1fr}
  .stats{grid-template-columns:1fr}
  .docs{grid-template-columns:1fr}
  .button-row,
  .hero-actions,
  .launch-links{
    width:100%;
  }
  .link-btn,.primary-btn,.ghost-btn{width:100%}
  .phone-shell{padding:8px}
  .phone-screen{padding:14px 12px}
  .mini-steps{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.page-selfcheck .industry-grid{
    grid-template-columns:1fr;
  }
  body.page-selfcheck .selfcheck-actions{
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:6px 4px;
  }
  body.page-selfcheck .selfcheck-actions .action-tile{
    min-height:auto;
  }
  .reserve-full{width:100%;min-width:100%;flex:1;margin:0;min-height:0}
  .fixed-bottom{bottom:34px;padding:0 4px}
  .fixed-box{padding:7px}
  .small-btn{padding:6px 5px;font-size:10px}

  .selfcheck-drawer{
    bottom:8px;
    width:min(100%,calc(100vw - 16px));
  }

  .report-drawer .report-modal__panel{
    max-height:34vh;
    padding:9px 9px 8px;
  }

  .report-drawer .report-modal__head{
    margin-bottom:5px;
    padding-top:4px;
    gap:4px;
  }

  .report-drawer .report-modal__actions{
    margin-top:8px;
  }

  .report-drawer .field{
    gap:3px;
  }

  .report-drawer .field label{
    font-size:9px;
  }

  .report-drawer .field input,
  .report-drawer .field select,
  .report-drawer .field textarea{
    min-height:32px;
    padding:0 9px;
    font-size:11px;
  }

  .result-panel__head{
    margin-bottom:3px;
    padding-top:3px;
  }

  .result-panel__body{
    padding:5px 6px;
  }

  .result-panel__rules{
    margin-top:5px;
    padding:5px 6px 4px;
  }

  .result-panel__review-head{
    padding:5px 6px;
  }

  .result-panel__review-list{
    margin-top:5px;
  }

}


.rectify-panel__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:6px;
  margin-bottom:7px;
  position:relative;
  padding-top:6px;
}

.rectify-panel__head::before{
  content:"";
  position:absolute;
  left:50%;
  top:-2px;
  width:42px;
  height:4px;
  border-radius:999px;
  background:#dbe4f2;
  transform:translateX(-50%);
}

.rectify-panel__title{
  font-size:9px;
  font-weight:700;
  color:#0f172a;
}

.rectify-panel__close{
  font-size:9px;
  font-weight:600;
  color:#0a84ff;
  border:none;
  background:none;
  padding:4px 8px;
  cursor:pointer;
  border-radius:6px;
}

.rectify-panel__list{
  display:grid;
  gap:8px;
  padding:0 14px 14px;
}

.result-panel__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:6px;
  margin-bottom:4px;
  position:relative;
  padding-top:4px;
}

.result-panel__head::before{
  content:"";
  position:absolute;
  left:50%;
  top:-2px;
  width:42px;
  height:4px;
  border-radius:999px;
  background:#dbe4f2;
  transform:translateX(-50%);
}

.result-panel__title{
  font-size:9px;
  font-weight:700;
  color:#0f172a;
}

.result-panel__close{
  font-size:9px;
  font-weight:600;
  color:#0a84ff;
  border:none;
  background:none;
  padding:4px 8px;
  cursor:pointer;
  border-radius:6px;
}

.result-panel__body{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:8px;
  padding:10px 14px;
  border-radius:10px;
  background:#f8fafc;
}

.result-panel__score{
  font-size:9px;
  font-weight:900;
  color:#0f172a;
  line-height:1;
}

.result-panel__grade{
  font-size:9px;
  font-weight:800;
  color:#0a84ff;
}

.result-panel__rules{
  margin:0 14px;
  padding:8px 10px;
  border-radius:10px;
  background:#f8fafc;
}

.result-panel__rules-title{
  font-size:9px;
  font-weight:700;
  color:#475569;
  margin-bottom:4px;
}

.result-panel__rules-list{
  margin:0;
  padding-left:14px;
  color:#334155;
  font-size:9px;
}

.result-panel__rules-list li{
  margin:2px 0;
  line-height:1.3;
}

.result-panel__list{
  margin:0;
  padding:0 14px 14px;
  list-style:none;
}

.result-panel__list li{
  margin:4px 0;
  font-size:9px;
  line-height:1.3;
  color:#334155;
}

.result-panel__review-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin:0 14px;
  padding:8px 10px;
  border-radius:10px;
  background:#f8fafc;
}

.result-panel__review-meta{
  font-size:9px;
  font-weight:700;
  color:#475569;
  white-space:nowrap;
}

.result-panel__review-summary{
  font-size:9px;
  font-weight:700;
  color:#0f172a;
  text-align:right;
}

.result-panel__review-list{
  margin-top:6px;
}

.submit-panel__inner,
.result-panel__inner,
.rectify-panel__inner{
  background:#fff;
  border:1px solid #e2e8f0;
  border-radius:16px 16px 12px 12px;
  box-shadow:0 22px 52px rgba(15,23,42,.18);
  overflow:auto;
  max-height:40vh;
}

.report-modal__panel{
  background:#fff;
  border:1px solid #e2e8f0;
  border-radius:16px 16px 12px 12px;
  box-shadow:0 22px 52px rgba(15,23,42,.18);
  overflow:auto;
  max-height:40vh;
}

.report-modal__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:6px;
  padding:14px 14px 0;
  position:relative;
}

.report-modal__head::before{
  content:"";
  position:absolute;
  left:50%;
  top:-2px;
  width:42px;
  height:4px;
  border-radius:999px;
  background:#dbe4f2;
  transform:translateX(-50%);
}

.report-modal__title{
  font-size:9px;
  font-weight:700;
  color:#0f172a;
}

.report-modal__close{
  font-size:9px;
  font-weight:600;
  color:#0a84ff;
  border:none;
  background:none;
  padding:4px 8px;
  cursor:pointer;
  border-radius:6px;
}

.report-modal__body{
  padding:10px 14px 14px;
  display:grid;
  gap:8px;
}

.report-modal__form-title{
  font-size:9px;
  font-weight:600;
  color:#334155;
}

.report-modal__body .field{
  display:grid;
  gap:3px;
}

.report-modal__body .field label{font-size:9px;
  font-size:10px;
  font-weight:600;
  color:#475569;
}

.report-modal__body .field input{
  min-height:36px;
  padding:0 10px;
  border-radius:10px;
  border:1px solid #dbe4f2;
  font-size:9px;
  background:#fff;
}
