/* ==========================================================================
   飞洋·铁核 品牌站点 — 设计系统
   铁核 = 铁（力量/器械/钢铁感）+ 核（内核/专业/社群）
   视觉基调：铁黑底、钢灰面、熔铁橙点缀；直白、硬核、自由、真实
   ========================================================================== */

:root {
  --bg:            #0a0b0d;
  --bg-elev:       #101216;
  --surface:       #15181d;
  --surface-2:     #1b1f25;
  --surface-3:     #23282f;
  --line:          #2b3138;
  --line-soft:     #21262c;
  --text:          #eceef1;
  --text-2:        #c3c9d1;
  --muted:         #8d959f;
  --faint:         #666e78;

  --accent:        #ff6a17;   /* 熔铁橙 */
  --accent-hot:    #ff8a3d;
  --accent-dim:    #7a3410;
  --steel:         #9fb0c0;
  --ok:            #35c07a;
  --warn:          #f5a623;
  --danger:        #ff4d4f;
  --info:          #4d9fff;

  --radius:        14px;
  --radius-sm:     9px;
  --radius-lg:     22px;
  --shadow:        0 18px 44px -22px rgba(0,0,0,.85);
  --shadow-sm:     0 6px 20px -12px rgba(0,0,0,.8);

  --maxw:          1180px;
  --nav-h:         64px;

  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
          "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;
  --mono: "SF Mono", ui-monospace, "JetBrains Mono", Menlo, Consolas, monospace;
}

html[data-theme="light"] {
  --bg:            #f4f5f7;
  --bg-elev:       #ffffff;
  --surface:       #ffffff;
  --surface-2:     #f7f8fa;
  --surface-3:     #eef0f3;
  --line:          #d9dde3;
  --line-soft:     #e6e9ee;
  --text:          #14171b;
  --text-2:        #333a42;
  --muted:         #5f6874;
  --faint:         #8b939e;
  --accent:        #e2540a;
  --accent-hot:    #c74a06;
  --accent-dim:    #ffd9be;
  --steel:         #4a5763;
  --shadow:        0 18px 44px -26px rgba(20,25,35,.35);
  --shadow-sm:     0 6px 20px -14px rgba(20,25,35,.3);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 20px); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: var(--accent-hot); text-decoration: none; }
a:hover { text-decoration: underline; }

/* 语义化按钮兜底：原本写成 <a href="#"> 的控件改成 <button type="button"> 后，
   清掉浏览器按钮默认的底色 / 边框 / 字体，让它和原来的行内链接长得一模一样。 */
button.pc {
  font: inherit;
  color: var(--accent-hot);
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
}
button.pc:hover { text-decoration: underline; }
button.pc:focus-visible { outline: 2px solid var(--accent-hot); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3, h4, h5 {
  line-height: 1.25;
  margin: 0 0 .6em;
  font-weight: 800;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); }
h3 { font-size: clamp(1.12rem, 1.8vw, 1.4rem); }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.35em; }
li { margin: .3em 0; }

.wrap { width: min(100% - 40px, var(--maxw)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 40px, 860px); margin-inline: auto; }

/* ---------- 顶栏 ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  height: var(--nav-h);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  height: 100%; display: flex; align-items: center; gap: 22px;
  width: min(100% - 32px, 1320px); margin-inline: auto;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; letter-spacing: .02em; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand .mark {
  width: 30px; height: 30px; border-radius: 8px; flex: none;
  background: linear-gradient(145deg, var(--accent), #a8330a 70%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), 0 6px 16px -8px var(--accent);
  display: grid; place-items: center; color: #fff; font-size: 15px; font-weight: 900;
}
.brand .txt { font-size: 15.5px; }
.brand .txt small { display: block; font-size: 10.5px; letter-spacing: .22em; color: var(--muted); font-weight: 600; }

.nav-links { display: flex; gap: 2px; margin-left: auto; flex-wrap: wrap; }
.nav-links a {
  padding: 8px 12px; border-radius: 8px; font-size: 14px; font-weight: 600;
  color: var(--text-2); white-space: nowrap;
}
.nav-links a:hover { background: var(--surface-2); color: var(--text); text-decoration: none; }
.nav-links a.on { color: var(--accent-hot); background: color-mix(in srgb, var(--accent) 14%, transparent); }

.nav-side { display: flex; align-items: center; gap: 8px; flex: none; }
.nav-side .btn { white-space: nowrap; }
.nav-burger { display: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--surface-2); color: var(--text); font-weight: 700; font-size: 14.5px;
  cursor: pointer; font-family: inherit; transition: transform .12s ease, background .15s ease, border-color .15s;
}
.btn:hover { background: var(--surface-3); text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(140deg, var(--accent-hot), #cf4a09);
  border-color: color-mix(in srgb, var(--accent) 60%, #000);
  color: #fff; box-shadow: 0 10px 26px -14px var(--accent);
}
.btn-primary:hover { background: linear-gradient(140deg, #ff9a55, #e05206); }
.btn-sm { padding: 7px 13px; font-size: 13px; border-radius: 8px; }
.btn-ghost { background: transparent; }

.theme-toggle {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  border: 1px solid var(--line); background: var(--surface-2); color: var(--text-2);
  cursor: pointer; font-size: 15px;
}
.theme-toggle:hover { background: var(--surface-3); color: var(--text); }

/* ---------- 首屏 ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(56px, 9vw, 116px) 0 clamp(40px, 6vw, 76px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(1100px 460px at 78% -12%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 62%),
    radial-gradient(760px 380px at 6% 108%, color-mix(in srgb, var(--info) 12%, transparent), transparent 60%),
    var(--bg);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--line-soft) 1px, transparent 1px),
                    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(circle at 50% 30%, #000 12%, transparent 72%);
}
.hero > * { position: relative; z-index: 1; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12.5px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent-hot); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); border-radius: 2px; }
.hero h1 { max-width: 20ch; }
.hero .lead { font-size: clamp(1.02rem, 1.5vw, 1.2rem); color: var(--text-2); max-width: 62ch; }
.slogan {
  margin: 26px 0 0; padding: 16px 22px; border-left: 3px solid var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, var(--surface));
  border-radius: 0 var(--radius) var(--radius) 0; font-weight: 700; color: var(--text);
  max-width: 62ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- 通用版式 ---------- */
section { padding: clamp(44px, 6.5vw, 82px) 0; }
section + section { border-top: 1px solid var(--line-soft); }
.section-head { max-width: 68ch; margin-bottom: 34px; }
.section-head .eyebrow { margin-bottom: 12px; }
.section-head p { color: var(--muted); margin: 0; }

.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: .4em; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card:hover { border-color: color-mix(in srgb, var(--accent) 34%, var(--line)); }
.card-accent { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.card-flat { box-shadow: none; }

.kicker { font-size: 12.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-hot); margin-bottom: 8px; }
.muted { color: var(--muted); }
.small { font-size: 13.5px; }
.tiny { font-size: 12.5px; }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700;
  border: 1px solid var(--line); background: var(--surface-2); color: var(--text-2);
  white-space: nowrap;
}
.badge-accent { border-color: color-mix(in srgb, var(--accent) 50%, transparent); background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent-hot); }
.badge-ok     { border-color: color-mix(in srgb, var(--ok) 46%, transparent); background: color-mix(in srgb, var(--ok) 13%, transparent); color: var(--ok); }
.badge-warn   { border-color: color-mix(in srgb, var(--warn) 46%, transparent); background: color-mix(in srgb, var(--warn) 13%, transparent); color: var(--warn); }
.badge-danger { border-color: color-mix(in srgb, var(--danger) 46%, transparent); background: color-mix(in srgb, var(--danger) 13%, transparent); color: var(--danger); }
.badge-info   { border-color: color-mix(in srgb, var(--info) 46%, transparent); background: color-mix(in srgb, var(--info) 13%, transparent); color: var(--info); }

.todo {
  display: inline-block; padding: 1px 8px; border-radius: 6px; font-size: 12.5px; font-weight: 700;
  background: color-mix(in srgb, var(--warn) 16%, transparent); color: var(--warn);
  border: 1px dashed color-mix(in srgb, var(--warn) 55%, transparent);
}
/* 表格行与状态徽标同名（tr.todo）：行必须保持 table-row，否则整行塌成竖排 */
tr.todo, tr.done { display: table-row; padding: 0; border: 0; background: none; font-size: inherit; font-weight: inherit; border-radius: 0; }
.blank { color: var(--accent-hot); font-weight: 600; }

.note {
  border: 1px solid var(--line); border-left: 3px solid var(--steel);
  background: var(--surface-2); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 14px 18px; margin: 0 0 1.2em; color: var(--text-2); font-size: 14.5px;
}
.note-accent { border-left-color: var(--accent); background: color-mix(in srgb, var(--accent) 7%, var(--surface-2)); }
.note-warn   { border-left-color: var(--warn);   background: color-mix(in srgb, var(--warn) 8%, var(--surface-2)); }
.note-danger { border-left-color: var(--danger);  background: color-mix(in srgb, var(--danger) 8%, var(--surface-2)); }
.note strong { color: var(--text); }

/* ---------- 表格 ---------- */
.table-scroll { overflow-x: auto; margin: 0 0 1.4em; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: 14.5px; }
th, td { padding: 11px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-soft); }
th { background: var(--surface-2); font-weight: 800; color: var(--text); white-space: nowrap; font-size: 13.5px; letter-spacing: .01em; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: color-mix(in srgb, var(--accent) 5%, transparent); }
td code, th code { font-family: var(--mono); font-size: 12.8px; }

/* ---------- 转化率/清单 ---------- */
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; padding: 9px 0; border-bottom: 1px dashed var(--line-soft); }
.checklist li::before {
  content: "☐"; color: var(--accent-hot); font-size: 15px; line-height: 1.6; flex: none;
}
.checklist.checked li::before { content: "☑"; color: var(--ok); }

.stat { display: flex; flex-direction: column; gap: 2px; }
.stat b { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 900; letter-spacing: -.02em; }
.stat span { font-size: 13px; color: var(--muted); }

/* ---------- 文档页（团队面） ---------- */
.doc-hero {
  padding: clamp(34px, 5vw, 60px) 0 26px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 7%, var(--bg)), var(--bg));
}
.doc-hero h1 { margin-bottom: .3em; }
.doc-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

.doc-layout { display: grid; grid-template-columns: 268px minmax(0, 1fr); gap: 40px; align-items: start; padding: 40px 0 80px; }
.toc {
  position: sticky; top: calc(var(--nav-h) + 22px);
  max-height: calc(100vh - var(--nav-h) - 48px); overflow-y: auto;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--surface); padding: 16px 14px;
}
.toc h4 { margin: 0 0 10px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.toc a { display: block; padding: 5px 8px; border-radius: 6px; font-size: 13.5px; color: var(--text-2); line-height: 1.5; }
.toc a:hover { background: var(--surface-2); color: var(--text); text-decoration: none; }
.toc a.lv3 { padding-left: 20px; font-size: 13px; color: var(--muted); }
.toc a.on { color: var(--accent-hot); background: color-mix(in srgb, var(--accent) 13%, transparent); font-weight: 700; }

.doc-body { min-width: 0; }
.doc-body > h1 { display: none; }   /* 文档自带的 H1 与页头标题重复 */
.doc-body h2 {
  margin-top: 1.9em; padding-top: .55em; border-top: 1px solid var(--line);
  font-size: clamp(1.28rem, 2.2vw, 1.66rem);
}
.doc-body h2:first-of-type { border-top: 0; margin-top: 0; padding-top: 0; }
.doc-body h3 { margin-top: 1.7em; color: var(--text); }
.doc-body h4 { margin-top: 1.4em; color: var(--text-2); }
.doc-body code { font-family: var(--mono); font-size: 13px; background: var(--surface-2); padding: 1.5px 6px; border-radius: 5px; border: 1px solid var(--line-soft); }
.doc-body pre.code {
  background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 16px 18px; overflow-x: auto; font-family: var(--mono); font-size: 13px;
  line-height: 1.65; color: var(--text-2); margin: 0 0 1.4em;
}
.doc-body pre.code code { background: none; border: 0; padding: 0; font-size: 13px; }
.doc-body blockquote {
  margin: 0 0 1.3em; padding: 13px 18px; border-left: 3px solid var(--accent-dim);
  background: var(--surface-2); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-2); font-size: 14.6px;
}
.doc-body blockquote blockquote { margin: .8em 0 0; border-left-color: var(--line); background: var(--surface-3); }
.doc-body blockquote p:last-child { margin-bottom: 0; }
.doc-body hr { border: 0; border-top: 1px solid var(--line); margin: 2.2em 0; }
.doc-body ul { padding-left: 1.2em; }
.doc-body img { border-radius: var(--radius-sm); border: 1px solid var(--line); margin: 12px 0; }

/* 文档搜索 */
.doc-search { display: flex; gap: 10px; align-items: center; margin-bottom: 18px; }
.doc-search input {
  flex: 1; padding: 11px 15px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--surface); color: var(--text); font-family: inherit; font-size: 14.5px;
}
.doc-search input:focus { outline: 2px solid color-mix(in srgb, var(--accent) 55%, transparent); border-color: var(--accent); }
mark.hit { background: color-mix(in srgb, var(--accent) 42%, transparent); color: var(--text); border-radius: 3px; padding: 0 2px; }

/* ---------- 翻页 ---------- */
.pager { display: flex; justify-content: space-between; gap: 14px; margin-top: 54px; padding-top: 24px; border-top: 1px solid var(--line); }
.pager a { flex: 1; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.pager a:hover { border-color: var(--accent); text-decoration: none; }
.pager .dir { display: block; font-size: 12px; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; }
.pager .ttl { font-weight: 700; color: var(--text); }
.pager .next { text-align: right; }

/* ---------- 页脚 ---------- */
.foot { border-top: 1px solid var(--line); background: var(--bg-elev); padding: 46px 0 30px; margin-top: 0; }
.foot-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 28px; }
.foot h5 { font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.foot a { display: block; padding: 3px 0; font-size: 14px; color: var(--text-2); }
.foot a:hover { color: var(--accent-hot); text-decoration: none; }
.foot-bottom { margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line-soft); display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 13px; color: var(--faint); }

.switch-band { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; justify-content: space-between; padding: 26px 0; }

/* ---------- 团队版：页签精简为 1 项后的顶栏（只调间距与分隔，不改配色/字体） ---------- */
.team .nav-inner { gap: 26px; }
.team .nav .brand { padding-right: 24px; border-right: 1px solid var(--line-soft); }
.team .nav .brand .mark { width: 32px; height: 32px; }
.team .nav-links { margin-left: 0; }
.team .nav-side { margin-left: auto; }

/* ---------- 业务全景流程图 · 全貌（图纸台） ---------- */
.flow-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 20px; margin-bottom: 16px; }
.flow-head h2 { margin: 6px 0 8px; }
.flow-head p { margin: 0; max-width: 76ch; font-size: 14px; }
.flow-zoom {
  display: flex; align-items: center; gap: 6px; flex: none;
  padding: 6px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface);
}
.flow-zoom button {
  min-width: 34px; height: 32px; padding: 0 10px; border-radius: 8px;
  border: 1px solid var(--line); background: var(--surface-2); color: var(--text-2);
  font: inherit; font-size: 13px; font-weight: 800; cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s;
}
.flow-zoom button:hover { background: var(--surface-3); color: var(--text); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.flow-zoom .fzv { min-width: 44px; text-align: right; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.flow-stage {
  overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 12px; box-shadow: 0 20px 44px -30px rgba(0, 0, 0, .7);
  scrollbar-width: thin;
}
.flow-paper { width: calc(var(--flowz, 1) * 100%); min-width: 100%; transition: width .14s ease; }
.flow-paper img { display: block; width: 100%; height: auto; }
.flow-tip { margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.flow-tip::before { content: "▸ "; color: var(--accent-hot); font-weight: 800; }

/* ---------- 文档目录（清单） ---------- */
.doc-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
.doc-list li { margin: 0; }
.doc-list a {
  display: flex; align-items: baseline; gap: 12px; padding: 12px 15px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--text);
}
.doc-list a:hover {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
  background: var(--surface-2); text-decoration: none;
}
.doc-list .no { font-size: 12px; font-weight: 800; letter-spacing: .08em; color: var(--accent-hot); font-variant-numeric: tabular-nums; }
.doc-list .ttl { font-size: 14.5px; font-weight: 700; }
.doc-list .v { margin-left: auto; font-size: 12px; color: var(--muted); flex: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1000px) {
  .doc-layout { grid-template-columns: 1fr; gap: 22px; }
  .toc { position: static; max-height: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-links {
    display: none; position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; gap: 4px; padding: 12px 16px 18px;
    background: var(--bg-elev); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-burger { display: grid; margin-left: auto; }
  .nav-inner { gap: 12px; }
  .brand .txt small { display: none; }
  table { font-size: 13.6px; }
  th, td { padding: 9px 11px; }
  .foot-grid { grid-template-columns: 1fr; }
}

/* 窄屏≤720：顶栏不挤不溢出、流程图横向滚动可放大、抽屉全屏、卡片单列 */
@media (max-width: 720px) {
  .nav-inner { gap: 10px; }
  .team .nav-inner { gap: 10px; }
  .team .nav .brand { padding-right: 0; border-right: 0; }
  .nav .brand { min-width: 0; flex: 1 1 auto; }
  .nav .brand .txt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .nav-side { flex: none; }
  .nav-side .btn { white-space: nowrap; }

  .flow-head { align-items: stretch; }
  .flow-zoom { width: 100%; justify-content: space-between; }
  .flow-zoom .fzv { margin-left: auto; }
  .flow-stage { padding: 8px; border-radius: 12px; }
  .flow-paper { min-width: 700px; }

  .doc-list { grid-template-columns: 1fr; }

  aside.pdrawer { width: 100%; max-width: 100%; border-left: 0; }
  #pmap .prow.c2, #pmap .prow.c3, #pmap .prow.c4,
  #pmap .prow.c5, #pmap .prow.c6 { grid-template-columns: 1fr; }
}

@media print {
  .nav, .toc, .pager, .foot, .hero-actions, .doc-search, .theme-toggle { display: none !important; }
  body { background: #fff; color: #000; font-size: 11.5pt; }
  .doc-layout { display: block; padding: 0; }
  a { color: #000; }
  table { font-size: 10pt; }
  .card, .note, .doc-body blockquote { break-inside: avoid; }
}

/* ==========================================================================
   运营作战图（team/panorama.html）——整页就是业务全景流程图，功能直接做在图上
   本区块为新增，不改动上文任何既有规则
   ========================================================================== */
.warmap-hero { padding: 10px 0 8px; background: none; border-bottom: 0; }
.warmap-hero .eyebrow { margin: 0; }
.warmap-hero h1 { font-size: clamp(20px, 2.4vw, 28px); margin: 4px 0 0; }
.warmap-hero .lead { font-size: 13.5px; margin: 6px 0 0; max-width: 100ch; }
.warmap-hero .doc-meta { margin-top: 8px; }
.warmap-sec { padding: 8px 0 10px; }
.warmap { position: relative; max-width: 100%; }

.wm-bar { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center;
          justify-content: space-between; margin-bottom: 8px; }
.wm-bar-l { min-width: 0; width: 620px; max-width: 100%; }
/* 宽度锁死：悬停换文案时左栏不变宽，右栏（搜索/筛选/缩放）就不会被挤到下一行再挤回来 */
.wm-bar-l .eyebrow { margin: 0; }
/* 工具条说明行：高度锁死两行，悬停换文案时不得改变高度——
   否则文本换行会让整块下移、鼠标脱离热点、反复触发 mouseenter/leave（上下抖动） */
.wm-tip { margin: 2px 0 0; font-size: 12.5px; color: var(--muted);
          line-height: 1.5; height: 3em; overflow: hidden;
          display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.wm-bar-r { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.wm-bar #psearch { min-width: 168px; padding: 7px 11px; border-radius: var(--radius-sm);
                   border: 1px solid var(--line); background: var(--surface-2);
                   color: var(--text); font: inherit; font-size: 13.5px; }
.wm-bar #psearch:focus { outline: none; border-color: var(--accent);
                         box-shadow: 0 0 0 3px rgba(255, 106, 23, .16); }
.wm-bar .seg { display: flex; gap: 4px; flex-wrap: wrap; }
.wm-bar .seg button { padding: 6px 9px; border-radius: 7px; border: 1px solid var(--line);
                      background: var(--surface-2); color: var(--text-2); font: inherit;
                      font-size: 12px; font-weight: 700; cursor: pointer; }
.wm-bar .seg button.on { border-color: var(--accent); color: var(--accent);
                         background: rgba(255, 106, 23, .12); }

/* 图：默认 1:1 自然尺寸（--flowz=1 即 2200px），放不下就横向滚动 / 拖拽，
   不再为了"塞进首屏"把 12px 的图内文字缩成 4px */
.warmap .flow-stage { max-width: 100%; padding: 0; border: 0; background: none;
                       box-shadow: none; overflow: visible; }
.warmap .flow-paper img { border-radius: 12px; box-shadow: var(--shadow); }
.warmap .flow-paper {
  position: relative; min-width: 0; max-width: none; margin-inline: 0;
  width: calc(2200px * var(--flowz, 1));
  transition: width .16s ease;
}
.warmap .flow-paper img { display: block; width: 100%; height: auto; }

/* 热点：百分比定位，任何缩放比例都跟着图走 */
.whot { position: absolute; display: block; padding: 0; margin: 0; border: 0;
        border-radius: 7px; background: transparent; cursor: pointer;
        box-shadow: inset 0 0 0 1.2px rgba(255, 106, 23, .26);
        transition: box-shadow .14s ease, background .14s ease, opacity .18s ease; }
.whot:hover, .whot:focus-visible { background: rgba(255, 106, 23, .16);
        box-shadow: inset 0 0 0 2.5px var(--accent-hot); outline: none; }
.whot.hit { background: rgba(255, 106, 23, .14);
            box-shadow: inset 0 0 0 2.5px var(--accent-hot); }
.whot.on { background: rgba(255, 106, 23, .22); box-shadow: inset 0 0 0 3px var(--accent); }
.whot.dim { opacity: .14; box-shadow: inset 0 0 0 1.2px rgba(140, 150, 160, .35); }
.whot[data-gap]::after, .whot[data-pendf]::before { content: ""; position: absolute;
        top: 2px; width: 6px; height: 6px; border-radius: 50%; }
.whot[data-gap]::after { right: 2px; background: var(--warn); }
.whot[data-pendf]::before { left: 2px; background: var(--info); }

.wm-legend { margin: 8px 0 0; font-size: 12px; color: var(--muted); line-height: 1.7; }
.wm-legend #phit { color: var(--accent); }

/* 未上图：图上没有框的那几处，用同样的抽屉打开 */
.wm-off { display: flex; flex-wrap: wrap; gap: 8px; }
.woff { display: inline-flex; flex-direction: column; gap: 2px; text-align: left;
        padding: 9px 13px; border: 1px solid var(--line); border-radius: var(--radius-sm);
        background: var(--surface-2); color: var(--text); font: inherit; font-size: 13.5px;
        cursor: pointer; transition: border-color .14s ease, background .14s ease, opacity .18s ease; }
.woff:hover, .woff:focus-visible { border-color: var(--accent);
        background: rgba(255, 106, 23, .10); outline: none; }
.woff.hit { border-color: var(--accent-hot); }
.woff.on { border-color: var(--accent); box-shadow: inset 0 0 0 2px rgba(255,106,23,.55); }
.woff.dim { opacity: .42; }
.woff-tag { font-size: 10.5px; letter-spacing: .06em; color: var(--accent); }
.woff-ttl { font-weight: 600; }
.woff-sub { font-size: 12px; color: var(--muted); line-height: 1.5; max-width: 46ch; }
.plist-pane .wm-off { gap: 10px; margin-top: 10px; }
.plist-pane .wm-off .woff { flex: 1 1 46%; max-width: 480px; }

@media (max-width: 900px) {
  .wm-bar { align-items: flex-start; }
  .wm-bar-r { width: 100%; }
  .wm-bar #psearch { flex: 1 1 100%; }
  .warmap .flow-paper { width: 100%; min-width: 0; }
  .warmap .flow-stage { padding: 0; overflow: visible; }
}

/* .warmap 收尾：页级横向溢出兜底，局部滚动交给 .flow-stage */
.warmap-sec { overflow-x: clip; }

/* ==========================================================================
   战图化 · 第 2 版：1:1 自然尺寸 + 舞台平移 + 缩放工具条 + 紧凑页头
   只追加，不改上文任何既有规则（同特异性靠顺序覆盖）
   ========================================================================== */
/* 战图区与页头共用一套更宽的栅格：--maxw 只有 1180px，装不下 1:1 的 2200px 图 */
.doc-hero > .wrap.wm-hero { width: min(100% - 32px, 1680px); }
.warmap-sec > .wrap { width: min(100% - 32px, 1680px); }

/* 页头压成两行：徽标行 + 一句话说明 */
.warmap-hero { padding: 14px 0 6px; }
.wm-hero { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; }
.wm-hero .eyebrow { margin: 0; font-size: 11.5px; letter-spacing: .06em; }
.wm-hero h1 { margin: 0; font-size: clamp(17px, 1.7vw, 21px); line-height: 1.25; }
.wm-hero .doc-meta { margin: 0 0 0 auto; gap: 6px; flex-wrap: wrap; align-items: center; }
.wm-hero .badge { padding: 2px 8px; font-size: 11px; }
.wm-hero-lead { flex: 1 0 100%; margin: 2px 0 0; max-width: none; font-size: 12.5px; line-height: 1.55; }

/* 舞台：不设高度上限、不内部滚动——整张图按宽度铺开，该多高就多高，页面往下滚看全图 */
.warmap { --flowz: 1; }
.warmap .flow-stage {
  max-height: none;
  overflow-x: auto;
  overflow-y: hidden;
  cursor: default;
}
/* 没执行 JS 的首帧 / 静态预览：按舞台宽度铺满（= 适应宽度，不裁图）；
   JS 算出 --flowz 之后按 2200px × 比例，与 fitZ() 完全一致 */
.warmap .flow-paper {
  width: 100%;
  min-width: 0;
  max-width: none;
  margin-inline: auto;
  transition: none;
}
.warmap .flow-paper[style*="--flowz"] { width: calc(2200px * var(--flowz)); }
.warmap .flow-paper img { width: 100%; height: auto; max-width: none; }

/* 缩放工具条：禁用态可见 */
.warmap .flow-zoom { flex-wrap: wrap; justify-content: flex-end; }
.warmap .flow-zoom button[disabled] {
  opacity: .36; cursor: not-allowed; filter: grayscale(1); background: var(--surface-2);
}
.warmap .flow-zoom button[disabled]:hover { background: var(--surface-2); color: var(--text-2); border-color: var(--line); }

@media (max-width: 900px) {
  .doc-hero > .wrap.wm-hero, .warmap-sec > .wrap { width: min(100% - 20px, 1680px); }
  .wm-hero .doc-meta { margin: 0; }
  .warmap .flow-stage { max-height: none; overflow-x: auto; overflow-y: hidden; }
  .warmap .flow-paper { width: calc(2200px * var(--flowz, 1)); min-width: 0; }
}

/* ---------- 清单按钮 + 清单浮层（2026-10-18 A 方案：物料总表 + 数据接入合一块） ---------- */
.warmap .plist-open {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 999px; cursor: pointer;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  background: color-mix(in srgb, var(--accent) 10%, var(--surface));
  color: var(--text); font-family: inherit; font-size: 13px; font-weight: 800;
}
.warmap .plist-open:hover { background: color-mix(in srgb, var(--accent) 18%, var(--surface)); }
.warmap .plist-open:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.plist[hidden] { display: none !important; }
.plist {
  position: fixed; inset: 0; z-index: 90;
  display: none; align-items: center; justify-content: center;
  padding: 24px;
}
.plist.on { display: flex; }
.plist-mask { position: absolute; inset: 0; background: rgba(12, 14, 18, .46); }
.plist-panel {
  position: relative; z-index: 1;
  width: min(1080px, 100%); max-height: min(86vh, 820px);
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-sm); box-shadow: 0 24px 60px rgba(12, 14, 18, .28);
  overflow: hidden;
}
.plist-head { display: flex; align-items: flex-start; gap: 16px; padding: 16px 20px 10px; }
.plist-ttl { flex: 1 1 auto; min-width: 0; }
.plist-head .eyebrow { margin-bottom: 4px; }
.plist-head h2 { margin: 0; font-size: 19px; }
.plist-x {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--surface-2); color: var(--text-2);
  font-size: 18px; line-height: 1; cursor: pointer;
}
.plist-x:hover { color: var(--text); border-color: var(--accent); }
.plist-tabs { display: flex; gap: 6px; padding: 0 20px; border-bottom: 1px solid var(--line); }
.plist-tabs button {
  border: 0; background: none; padding: 9px 4px; margin-bottom: -1px;
  border-bottom: 2px solid transparent; color: var(--text-2);
  font-family: inherit; font-size: 13.5px; font-weight: 800; cursor: pointer;
}
.plist-tabs button i {
  margin-left: 6px; padding: 1px 7px; border-radius: 999px;
  background: var(--surface-2); color: var(--text-2); font-style: normal; font-size: 11.5px;
}
.plist-tabs button.on { color: var(--text); border-bottom-color: var(--accent); }
.plist-tabs button.on i { background: color-mix(in srgb, var(--accent) 16%, var(--surface-2)); color: var(--text); }
.plist-body { padding: 14px 20px 18px; overflow: auto; overscroll-behavior: contain; }
.plist-pane[hidden] { display: none !important; }
.plist-body table { min-width: 640px; }
.plist-note { margin-top: 14px; font-size: 13px; color: var(--text-2); }
.plist-note summary { cursor: pointer; font-weight: 800; color: var(--text); }
html.plist-lock, html.plist-lock body { overflow: hidden; }

@media (max-width: 900px) {
  .plist { padding: 10px; }
  .plist-panel { max-height: 92vh; }
}

/* 旧称标注（渲染层，不改原文）：plan.html 的「幼专店」 */
.legacy-name { color: var(--text-2); border-bottom: 1px dashed var(--line); cursor: help; }
.legacy-name sup { font-size: .62em; margin-left: 1px; vertical-align: super; opacity: .8; }
.doc-legend {
  margin: 0 0 18px; padding: 12px 14px; border-radius: var(--radius-sm);
  background: var(--surface-2); border-left: 3px solid var(--warn);
  color: var(--text-2); font-size: 13.5px; line-height: 1.65;
}

/* ---------- 十域对照表（team/panorama.html） ---------- */
.pten .table-scroll { margin: 0; }
.pten-table { min-width: 640px; }
.pten-table td { vertical-align: middle; }
.pten-table td:first-child { white-space: nowrap; }
.pten-domain {
  border: 0; background: none; padding: 2px 0; margin: 0;
  font-family: inherit; font-size: 14.5px; font-weight: 800; color: var(--text);
  cursor: pointer; text-align: left;
}
.pten-domain:hover { color: var(--accent-hot); text-decoration: underline; }
.pten-chip {
  display: inline-block; max-width: 26ch; overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap; vertical-align: bottom;
  padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface-2); color: var(--info);
  font-family: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer;
}
.pten-chip:hover {
  border-color: color-mix(in srgb, var(--info) 55%, transparent);
  background: color-mix(in srgb, var(--info) 10%, var(--surface-2));
}
.pten-row.on td { background: color-mix(in srgb, var(--accent) 9%, transparent); }
.pten-row.hit td { background: color-mix(in srgb, var(--accent) 6%, transparent); }
.pten-row.dim { opacity: .32; }

/* ---------- 知识分层标签（文档页 / 抽屉 / 场馆运营带） ---------- */
.badge-kb { color: var(--info); border-color: color-mix(in srgb, var(--info) 45%, transparent); }
.badge-layer { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 45%, transparent); }
.pd-kb { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }

/* ---------- 术语与分层（team/panorama.html） ---------- */
.terms-table { min-width: 0; width: 100%; table-layout: fixed; }
.terms-table th:nth-child(1) { width: 16%; }
.terms-table th:nth-child(3) { width: 30%; }
.terms-table td { vertical-align: top; line-height: 1.65; }
.terms-table td:first-child { white-space: nowrap; }
.term-alias { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; font-weight: 500; }
.layer-title { margin: 28px 0 12px; font-size: 1.02rem; }
.layer-legend { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.layer-card {
  padding: 14px 15px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--surface); border-top: 3px solid var(--line);
}
.layer-card .layer-k { display: block; font-size: 12px; font-weight: 800; letter-spacing: .1em; color: var(--muted); }
.layer-card strong { display: block; margin: 4px 0 2px; font-size: 1.6rem; line-height: 1.1; }
.layer-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.layer-flow { border-top-color: var(--accent); }
.layer-flow .layer-k, .layer-flow strong { color: var(--accent-hot); }
.layer-std { border-top-color: var(--ok); }
.layer-std .layer-k, .layer-std strong { color: var(--ok); }
.layer-res { border-top-color: var(--warn); }
.layer-res .layer-k, .layer-res strong { color: var(--warn); }
.layer-note {
  margin: 14px 0 0; padding: 12px 14px; border-radius: var(--radius-sm);
  background: var(--surface-2); border-left: 3px solid var(--accent);
  color: var(--text-2); font-size: 13.5px; line-height: 1.7;
}

/* 场馆运营带：下 = 标准型的样板 */
.pband-venue {
  margin-top: 22px; padding: 18px 18px 20px; border: 1px solid var(--line);
  border-left: 3px solid var(--ok); border-radius: 12px;
  background: color-mix(in srgb, var(--ok) 4%, var(--surface));
}
.pband-venue .pnode .meta i.kb { color: var(--info); border-color: color-mix(in srgb, var(--info) 40%, transparent); }
.pband-venue .pnode .meta i.layer { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 40%, transparent); }

@media (max-width: 760px) {
  .layer-legend { grid-template-columns: 1fr; }
}


/* ==========================================================================
   业务全景图 · 专业资料栏（一份状态 / 两种形态）+ 场馆监督盘
   —— 栏：宽屏常驻、左缘可拖拽调宽、可收起（右缘竖排「资料」页签）；
      窄屏同一内容容器被 JS 搬进浮层。内容容器只有一个 #pdrawer，
      下面的 .pside .pdrawer / .psheet .pdrawer 覆盖 panorama.css 的固定定位。
   ========================================================================== */
:root { --side-w: 380px; }

body.mode-wide { transition: padding-right .24s cubic-bezier(.4,0,.2,1); }
body.mode-wide.side-open { padding-right: var(--side-w); }
body.resizing { cursor: col-resize; user-select: none; }

/* ---------- 宽屏常驻栏 ---------- */
.pside {
  position: fixed; top: 0; right: 0; bottom: 0; width: var(--side-w);
  display: flex; flex-direction: column; z-index: 60;
  background: var(--bg-elev); border-left: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform .24s cubic-bezier(.4,0,.2,1), visibility .24s;
}
.pside.is-closed { transform: translateX(100%); visibility: hidden; }

.pside-top {
  flex: none; display: flex; align-items: center; gap: 10px;
  padding: 11px 12px 11px 18px; border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}
.pside-top .eb {
  font-size: 11.5px; font-weight: 800; letter-spacing: .16em;
  color: var(--accent-hot); white-space: nowrap;
}
.pside-top .pside-hint {
  margin-left: auto; font-size: 11.5px; color: var(--faint);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.pside-btn {
  flex: none; border: 1px solid var(--line); background: var(--surface);
  color: var(--text-2); border-radius: 8px; padding: 3px 9px;
  font-size: 12px; font-family: inherit; cursor: pointer;
}
.pside-btn:hover { color: var(--text); border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.pside-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.pside-host { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; }
.pside-empty {
  margin: 0; padding: 36px 22px; font-size: 13px; line-height: 1.8; color: var(--faint);
}

/* 左缘拖拽条：拖拽 / 键盘 ← → 都能调宽 */
.pside-grip {
  position: absolute; left: 0; top: 0; bottom: 0; width: 9px;
  cursor: col-resize; touch-action: none; z-index: 3;
}
.pside-grip::after {
  content: ''; position: absolute; left: 3px; top: 50%; transform: translateY(-50%);
  width: 3px; height: 46px; border-radius: 3px; background: var(--line);
  transition: background .15s;
}
.pside-grip:hover::after, .pside-grip:focus-visible::after { background: var(--accent); }
.pside-grip:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

/* 收起后右边缘的竖排页签 */
.pside-tab {
  position: fixed; right: 0; top: 42%; z-index: 61;
  writing-mode: vertical-rl; letter-spacing: .3em; line-height: 1;
  padding: 15px 8px; border: 1px solid var(--line); border-right: 0;
  border-radius: 10px 0 0 10px; background: var(--surface-2);
  color: var(--text-2); font-family: inherit; font-size: 12.5px; font-weight: 800;
  cursor: pointer; box-shadow: var(--shadow-sm);
}
.pside-tab:hover { color: var(--accent-hot); border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.pside-tab:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.pside-tab[hidden] { display: none; }

/* ---------- 窄屏浮层 ---------- */
.psheet {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(460px, 100%);
  display: flex; flex-direction: column; z-index: 80;
  background: var(--bg-elev); border-left: 1px solid var(--line);
  box-shadow: var(--shadow); visibility: hidden;
  transform: translateX(104%);
  transition: transform .26s cubic-bezier(.4,0,.2,1), visibility .26s;
}
.psheet.open { transform: none; visibility: visible; }

/* ---------- 同一个内容容器，两种宿主 ---------- */
.pside .pdrawer, .psheet .pdrawer {
  position: static; inset: auto; width: 100%; height: 100%; max-height: none;
  flex: 1; min-height: 0; transform: none; transition: none;
  border-left: 0; box-shadow: none; background: transparent; z-index: auto;
  display: block; overflow-y: auto; overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.pside .pd-head, .psheet .pd-head {
  position: sticky; top: 0; z-index: 3;
  background: color-mix(in srgb, var(--bg-elev) 94%, transparent);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.pside .pd-body, .psheet .pd-body { overflow: visible; flex: none; }
.pside .pd-close { display: none; }          /* 栏内有「收起」，不重复一个 ✕ */
.pside .pd-head h3, .psheet .pd-head h3 { font-size: 1.2rem; }

@media (max-width: 1199px) {
  .pside { display: none; }
  body.mode-wide.side-open { padding-right: 0; }
}
@media (min-width: 1200px) {
  .psheet { display: none; }
}

/* ---------- 场馆监督盘 ---------- */
.pboard-badge { margin-left: 10px; vertical-align: middle; letter-spacing: .02em; }
.pboard {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 16px; margin-top: 18px; align-items: stretch;
}
.pboard-venues { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pboard-tile {
  border: 1px solid var(--line); border-radius: 12px; background: var(--surface);
  padding: 14px 15px 15px; border-top: 2px solid color-mix(in srgb, var(--accent) 34%, var(--line));
}
.pboard-tile .k {
  font-size: 11.5px; font-weight: 800; letter-spacing: .1em;
  color: var(--muted); text-transform: uppercase;
}
.pboard-tile .v {
  display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap;
  font-size: 2.05rem; font-weight: 900; letter-spacing: -.02em;
  line-height: 1.12; margin-top: 5px; font-variant-numeric: tabular-nums;
}
.pboard-tile .v em { font-style: normal; font-size: .42em; font-weight: 700; color: var(--muted); letter-spacing: 0; }
.pboard-tile .n { font-size: 11.5px; color: var(--faint); margin-top: 4px; line-height: 1.6; }
.pboard-tile.flag-warn { border-top-color: var(--warn); }
.pboard-tile.flag-warn .v { color: var(--warn); }
.pboard-tile.flag-bad { border-top-color: var(--danger); }
.pboard-tile.flag-bad .v { color: var(--danger); }

.pboard-shops {
  border: 1px solid var(--line); border-radius: 12px; background: var(--surface);
  padding: 14px 15px 16px; display: flex; flex-direction: column; min-height: 0;
}
.pboard-shops-head { display: flex; align-items: center; gap: 10px; }
.pboard-shops-head .eb {
  font-size: 11.5px; font-weight: 800; letter-spacing: .16em; color: var(--accent-hot);
}
.pboard-state { font-size: 11.5px; color: var(--faint); font-variant-numeric: tabular-nums; }
.pboard-dots { display: flex; gap: 7px; margin-left: auto; }
.pboard-dot {
  width: 11px; height: 11px; padding: 0; border-radius: 50%;
  border: 1px solid var(--line); background: transparent; cursor: pointer;
}
.pboard-dot.on { background: var(--accent); border-color: var(--accent); }
.pboard-dot[aria-pressed="true"] { box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 26%, transparent); }
.pboard-dot:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.pboard-rot { position: relative; margin-top: 12px; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.rot-item { display: none; }
.rot-item.on { display: block; animation: pboard-fade .34s ease; }
.rot-item h4 {
  margin: 0; font-size: 1.06rem; font-weight: 800; letter-spacing: -.01em;
  display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
}
.rot-item .rot-note { font-size: 11.5px; font-weight: 600; color: var(--faint); letter-spacing: 0; }
.rot-nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.rot-nums .n3 {
  border: 1px solid var(--line-soft); border-radius: 10px;
  background: var(--surface-2); padding: 9px 11px 10px;
}
.rot-nums .k { display: block; font-size: 11px; color: var(--muted); letter-spacing: .04em; }
.rot-nums .v {
  display: block; margin-top: 3px; font-size: 1.32rem; font-weight: 900;
  letter-spacing: -.02em; font-variant-numeric: tabular-nums;
}
.rot-nums .v em { font-style: normal; font-size: .56em; font-weight: 700; color: var(--muted); margin-left: 3px; }
@keyframes pboard-fade { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }

.pboard-note { margin: 14px 0 0; }

@media (max-width: 900px) {
  .pboard { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .pboard-venues { grid-template-columns: 1fr; }
  .rot-nums { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .pside, .psheet, body.mode-wide { transition: none; }
  .rot-item.on { animation: none; }
}
@media print {
  .pside, .psheet, .pside-tab, .pbackdrop { display: none !important; }
  body.mode-wide.side-open { padding-right: 0; }
}

