/* =========================================================================
   統合通関システム: Phase 1 UI mockup
   Design tokens → layout shell → components → screens → print
   ========================================================================= */

:root {
  --bg: #f3f5f9;
  --surface: #ffffff;
  --surface-2: #f7f9fc;
  --surface-3: #eef2f8;
  --line: #e2e7ef;
  --line-strong: #cbd3df;
  --text: #0f1b2d;
  --text-2: #46546b;
  --text-3: #7b879b;

  --brand: #1d4f91;
  --brand-ink: #143867;
  --brand-soft: #e9f0fa;
  --brand-line: #bcd0ec;
  --accent: #0e8a7e;
  --accent-soft: #e3f4f1;

  --ok: #12805c;   --ok-soft: #e4f5ee;
  --warn: #b25e09; --warn-soft: #fdf1e3;
  --danger: #c23a2b; --danger-soft: #fcebe8;
  --c3: #6a46c2;   --c3-soft: #f0ebfb;

  --ii: #1d4f91;  --ii-soft: #e9f0fa;   /* 輸入 I/I */
  --si: #0e7a70;  --si-soft: #e2f3f1;   /* 輸出 S/I */

  --radius: 8px;
  --radius-sm: 6px;
  --shadow-1: 0 1px 2px rgba(16, 27, 45, .06), 0 1px 1px rgba(16, 27, 45, .04);
  --shadow-2: 0 6px 24px rgba(16, 27, 45, .10), 0 2px 6px rgba(16, 27, 45, .06);
  --shadow-3: 0 24px 64px rgba(16, 27, 45, .22);

  --sidebar-w: 248px;
  --topbar-h: 52px;
  --drawer-w: min(640px, 46vw);

  --font: "Inter", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Segoe UI", system-ui, sans-serif;
  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Inter", sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 13px/1.45 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 650; letter-spacing: -.01em; }
.mono { font-family: var(--mono); font-size: .94em; letter-spacing: -.01em; }
.num { font-variant-numeric: tabular-nums; text-align: right; }
.muted { color: var(--text-3); }
.nowrap { white-space: nowrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- bilingual labels: <span class="t"><span class="ja"/><span class="vi"/></span> ---------- */
.t { display: inline-flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.t .ja { font-family: var(--font-jp); }
.t .vi { font-size: .8em; color: var(--text-3); font-weight: 450; margin-top: 1px; }
.t.inline { flex-direction: row; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.t.inline .vi { margin-top: 0; }
html[data-lang="ja"] .t .vi { display: none; }
html[data-lang="vi"] .t .ja + .vi { font-size: 1em; color: inherit; font-weight: inherit; margin: 0; }
html[data-lang="vi"] .t .ja:not(:only-child) { display: none; }

/* =========================== shell =========================== */
.shell { display: grid; grid-template-columns: var(--sidebar-w) 1fr; min-height: 100vh; }
.shell.nav-collapsed { grid-template-columns: 64px 1fr; }

.sidebar {
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
  background: #0f2442;
  color: #c9d6ea;
  display: flex; flex-direction: column;
  scrollbar-width: thin; scrollbar-color: #2a4268 transparent;
}
.brand { display: flex; align-items: center; gap: 10px; padding: 14px 16px 12px; border-bottom: 1px solid rgba(255,255,255,.07); }
.brand-mark {
  width: 32px; height: 32px; border-radius: 8px; flex: none;
  background: linear-gradient(135deg, #3b7be0, #12a594);
  display: grid; place-items: center; color: #fff; font-weight: 800; font-family: var(--font-jp); font-size: 15px;
}
.brand-text { min-width: 0; }
.brand-text b { display: block; color: #fff; font-family: var(--font-jp); font-size: 14px; font-weight: 700; letter-spacing: .02em; }
.brand-text small { display: block; color: #8ea3c4; font-size: 11px; }
.nav { padding: 8px 8px 16px; flex: 1; }
.nav-group { margin-top: 12px; }
.nav-group-title {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 10px; color: #8ea3c4; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.nav-group-title .mod { color: #5f7aa3; font-family: var(--mono); letter-spacing: 0; }
.nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 10px; border-radius: 6px; color: #c9d6ea; text-decoration: none; position: relative;
}
.nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.nav a.active { background: rgba(80,140,230,.22); color: #fff; }
.nav a.active::before { content: ""; position: absolute; left: -8px; top: 7px; bottom: 7px; width: 3px; border-radius: 0 3px 3px 0; background: #5aa2ff; }
.nav a .ico { width: 18px; height: 18px; flex: none; opacity: .85; }
.nav a .lbl { flex: 1; min-width: 0; }
.nav a .lbl .t .vi { color: #7d93b6; }
.nav a .cls { flex: none; }
.nav-foot { padding: 12px 16px; border-top: 1px solid rgba(255,255,255,.07); font-size: 11px; color: #7d93b6; }
.nav-collapsed .brand-text, .nav-collapsed .nav a .lbl, .nav-collapsed .nav a .cls,
.nav-collapsed .nav-group-title span, .nav-collapsed .nav-foot { display: none; }
.nav-collapsed .nav a { justify-content: center; }

.main { min-width: 0; display: flex; flex-direction: column; }
.topbar {
  position: sticky; top: 0; z-index: 30;
  height: var(--topbar-h); display: flex; align-items: center; gap: 12px;
  padding: 0 16px 0 10px; background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.crumbs { display: flex; align-items: center; gap: 6px; min-width: 0; flex: 0 1 auto; color: var(--text-3); font-size: 12px; white-space: nowrap; overflow: hidden; }
.crumbs b, .crumbs a { overflow: hidden; text-overflow: ellipsis; }
.crumbs a { color: var(--text-2); }
.crumbs .sep { opacity: .5; }
.crumbs b { color: var(--text); font-weight: 600; }
.topbar .grow { flex: 1; }
.mock-ribbon {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px;
  background: var(--warn-soft); color: var(--warn); font-size: 11px; font-weight: 700; letter-spacing: .02em; white-space: nowrap;
}
.seg { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 7px; overflow: hidden; background: var(--surface); }
.seg button { border: 0; background: transparent; padding: 5px 10px; font-size: 12px; cursor: pointer; color: var(--text-2); }
.seg button + button { border-left: 1px solid var(--line); }
.seg button.on { background: var(--brand); color: #fff; }
.user-chip { display: flex; align-items: center; gap: 8px; padding: 3px 10px 3px 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.avatar { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-weight: 700; font-family: var(--font-jp); }
.user-chip small { display: block; color: var(--text-3); font-size: 10.5px; line-height: 1.1; }
.user-chip b { display: block; font-size: 12px; line-height: 1.2; font-family: var(--font-jp); }

.content { flex: 1; padding: 18px 22px 40px; min-width: 0; }

/* =========================== page header =========================== */
.page-head { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 14px; flex-wrap: wrap; }
.page-head h1 { font-size: 19px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.page-head h1 .t .vi { font-size: 12.5px; }
.page-head .desc { color: var(--text-2); margin-top: 4px; max-width: 880px; }
.page-head .actions { margin-left: auto; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

/* =========================== buttons =========================== */
.btn {
  display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px;
  border-radius: var(--radius-sm); border: 1px solid var(--line-strong); background: var(--surface);
  color: var(--text); font-weight: 550; cursor: pointer; white-space: nowrap; text-decoration: none !important;
  transition: background .12s, border-color .12s, box-shadow .12s;
}
.btn:hover { background: var(--surface-2); border-color: #b3bdcc; }
.btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.btn.primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn.primary:hover { background: var(--brand-ink); }
.btn.accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.ghost { border-color: transparent; background: transparent; }
.btn.ghost:hover { background: var(--surface-3); }
.btn.danger { color: var(--danger); }
.btn.sm { height: 26px; padding: 0 9px; font-size: 12px; }
.btn.icon { width: 32px; padding: 0; justify-content: center; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn .k { font-family: var(--mono); font-size: 10.5px; padding: 1px 4px; border-radius: 4px; background: rgba(0,0,0,.06); color: inherit; opacity: .8; }
.btn.primary .k { background: rgba(255,255,255,.18); }
.btn .t .vi { font-size: 10px; }
.btn .t.inline .vi { font-size: 11px; opacity: .75; color: inherit; }

/* =========================== badges / chips =========================== */
.badge {
  display: inline-flex; align-items: center; gap: 4px; height: 20px; padding: 0 7px; border-radius: 999px;
  font-size: 11px; font-weight: 650; white-space: nowrap; border: 1px solid transparent;
}
.badge.c1 { background: var(--ok-soft); color: var(--ok); }
.badge.c2 { background: var(--warn-soft); color: var(--warn); }
.badge.c3 { background: var(--c3-soft); color: var(--c3); }
.badge.dep { background: var(--surface-3); color: var(--text-2); }
.badge.star { background: #fff6d6; color: #8a6100; }
.badge.later { background: var(--surface-3); color: var(--text-3); }
.badge.ii { background: var(--ii-soft); color: var(--ii); font-family: var(--mono); }
.badge.si { background: var(--si-soft); color: var(--si); font-family: var(--mono); }
.badge.ok { background: var(--ok-soft); color: var(--ok); }
.badge.warn { background: var(--warn-soft); color: var(--warn); }
.badge.danger { background: var(--danger-soft); color: var(--danger); }
.badge.info { background: var(--brand-soft); color: var(--brand); }
.badge.outline { background: transparent; border-color: var(--line-strong); color: var(--text-2); }
.nav .badge { height: 17px; font-size: 10px; padding: 0 5px; }
.nav .badge.c1 { background: rgba(18,128,92,.25); color: #7fe0b9; }
.nav .badge.c2 { background: rgba(178,94,9,.28); color: #ffc483; }
.nav .badge.c3 { background: rgba(106,70,194,.32); color: #cdb8ff; }
.nav .badge.dep { background: rgba(255,255,255,.08); color: #9fb3d3; }

/* =========================== cards / sections =========================== */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-1); }
.card + .card { margin-top: 14px; }
.card-head {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line);
  min-height: 44px;
}
.card-head h3 { font-size: 13.5px; display: flex; align-items: center; gap: 8px; }
.card-head .sub { color: var(--text-3); font-size: 12px; }
.card-head .tools { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.card-body { padding: 14px; }
.card-body.flush { padding: 0; }

.sec { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.sec-title {
  display: flex; align-items: center; gap: 8px; padding: 7px 12px; border-bottom: 1px solid var(--line);
  background: var(--surface-2); border-radius: var(--radius) var(--radius) 0 0;
  font-weight: 650; font-size: 12.5px; color: var(--text-2);
}
.sec-title .num-dot {
  width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); font-size: 10.5px; font-weight: 700; flex: none;
}
.sec-title .tools { margin-left: auto; display: flex; gap: 6px; }
.sec-body { padding: 10px 12px 12px; }
.sec-note { margin-top: 8px; font-size: 11.5px; color: var(--text-3); }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: start; }
.stack { display: grid; gap: 12px; align-content: start; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

/* =========================== fields =========================== */
.fields { display: grid; grid-template-columns: repeat(var(--cols, 1), minmax(0, 1fr)); gap: 6px 14px; }
.f { display: grid; grid-template-columns: var(--lw, 132px) minmax(0, 1fr); align-items: center; gap: 8px; min-height: 32px; }
.f.span-2 { grid-column: span 2; }
.f.span-all { grid-column: 1 / -1; }
.f.top { align-items: start; }
.f.top > .fl { padding-top: 6px; }
.fl {
  display: flex; align-items: center; gap: 4px; min-width: 0;
  font-size: 12px; color: var(--text-2); font-weight: 550;
}
.fl .req { color: var(--danger); font-style: normal; font-weight: 700; }
.fc { display: flex; align-items: center; gap: 6px; min-width: 0; flex-wrap: wrap; }
.fc .hint { font-size: 11px; color: var(--text-3); }

.in, .sel, .ta {
  height: 30px; padding: 0 8px; border: 1px solid var(--line-strong); border-radius: 5px;
  background: var(--surface); min-width: 0; width: 100%;
  transition: border-color .12s, box-shadow .12s, background .12s;
}
.ta { height: auto; min-height: 54px; padding: 6px 8px; resize: vertical; }
.in:hover, .sel:hover { border-color: #aab5c6; }
.in:focus, .sel:focus, .ta:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(29,79,145,.15); background: #fffef6; }
.in.num { text-align: right; font-variant-numeric: tabular-nums; }
.in.code { font-family: var(--mono); font-size: 12px; text-transform: uppercase; }
.in[readonly], .in:disabled, .sel:disabled, .ta[readonly] { background: var(--surface-2); color: var(--text-2); border-color: var(--line); }
.in.err, .sel.err { border-color: var(--danger); background: #fff8f7; }
.in.w-xs { width: 64px; flex: none; }
.in.w-sm { width: 96px; flex: none; }
.in.w-md { width: 140px; flex: none; }
.in.w-lg { width: 220px; flex: none; }
.in.date { width: 138px; flex: none; }
.in.time { width: 92px; flex: none; }

.lookup { display: flex; align-items: center; gap: 0; flex: none; }
.lookup .in { width: 92px; border-radius: 5px 0 0 5px; }
.lookup .lk-btn {
  height: 30px; width: 28px; border: 1px solid var(--line-strong); border-left: 0; border-radius: 0 5px 5px 0;
  background: var(--surface-2); cursor: pointer; display: grid; place-items: center; color: var(--text-2);
}
.lookup .lk-btn:hover { background: var(--brand-soft); color: var(--brand); }
.lookup .lk-btn:disabled { cursor: default; opacity: .5; background: var(--surface-2); color: var(--text-3); }
.lk-name { flex: 1; min-width: 80px; color: var(--text); font-family: var(--font-jp); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lk-name.missing { color: var(--danger); font-size: 11.5px; }
.lk-name.empty { color: var(--text-3); }

.radio-seg { display: inline-flex; flex-wrap: wrap; max-width: 100%; border: 1px solid var(--line-strong); border-radius: 6px; overflow: hidden; }
.radio-seg label { padding: 0 10px; height: 28px; display: inline-flex; align-items: center; gap: 4px; cursor: pointer; font-size: 12px; color: var(--text-2); background: var(--surface); }
.radio-seg label + label { border-left: 1px solid var(--line); }
.radio-seg input { position: absolute; opacity: 0; pointer-events: none; }
.radio-seg label:has(input:checked) { background: var(--brand); color: #fff; }
.radio-seg label:has(input:checked) .t .vi { color: rgba(255,255,255,.78); }
.radio-seg label:has(input:disabled) { cursor: default; }
.radio-seg.dis label:has(input:checked) { background: #5f7699; }
.chk { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font-size: 12.5px; }
.chk input { width: 15px; height: 15px; accent-color: var(--brand); margin: 0; }

.party { display: grid; gap: 4px; width: 100%; }
.party .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.party .in { height: 27px; font-size: 12.5px; }
.party .tel { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }

/* =========================== tabs =========================== */
.tabs {
  display: flex; gap: 2px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none;
  padding: 0 4px; background: var(--surface); border-radius: var(--radius) var(--radius) 0 0;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  display: inline-flex; align-items: center; gap: 7px; padding: 9px 12px 8px; border: 0; background: transparent;
  border-bottom: 2px solid transparent; cursor: pointer; color: var(--text-2); white-space: nowrap; font-weight: 550;
  margin-bottom: -1px;
}
.tab:hover { color: var(--text); background: var(--surface-2); }
.tab.on { color: var(--brand); border-bottom-color: var(--brand); }
.tab .letter {
  font-family: var(--mono); font-size: 10.5px; width: 18px; height: 18px; border-radius: 4px; display: grid; place-items: center;
  background: var(--surface-3); color: var(--text-2); font-weight: 700;
}
.tab.on .letter { background: var(--brand); color: #fff; }
.tab .t .vi { font-size: 10.5px; }
.tab .count { font-size: 10.5px; padding: 0 5px; border-radius: 999px; background: var(--surface-3); color: var(--text-2); }
.tab.ro .letter { background: transparent; border: 1px dashed var(--line-strong); }
.tab.disabled { opacity: .45; cursor: not-allowed; }
.tab-panel { background: var(--surface); border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--radius) var(--radius); padding: 14px; }

/* =========================== data table =========================== */
.tbl-wrap { overflow: auto; border-radius: inherit; }
.tbl { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 12.5px; }
.tbl th {
  position: sticky; top: 0; z-index: 1; background: var(--surface-2); color: var(--text-2);
  font-weight: 600; font-size: 11.5px; text-align: left; padding: 7px 10px; border-bottom: 1px solid var(--line); white-space: nowrap;
}
.tbl th .t .vi { font-weight: 450; }
.tbl td { padding: 7px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover td { background: #f8fbff; }
.tbl tr.clickable { cursor: pointer; }
.tbl tr.sel td { background: var(--brand-soft) !important; }
.tbl td.num, .tbl th.num { text-align: right; }
.tbl td.ctr, .tbl th.ctr { text-align: center; }
.tbl .neg { color: var(--danger); }
.tbl tfoot td { background: var(--surface-2); font-weight: 650; border-top: 1px solid var(--line-strong); border-bottom: 0; }
.tbl.compact td { padding: 4px 6px; }
.tbl.compact th { padding: 6px; }
.tbl.edit td { padding: 3px 4px; }
.tbl.edit .in, .tbl.edit .sel { height: 28px; border-color: transparent; background: transparent; }
.tbl.edit .in:hover, .tbl.edit .sel:hover { border-color: var(--line-strong); background: var(--surface); }
.tbl.edit .in:focus, .tbl.edit .sel:focus { border-color: var(--brand); background: #fffef6; }
.tbl.edit td.calc { background: var(--surface-2); text-align: right; font-variant-numeric: tabular-nums; padding-right: 10px; color: var(--text); }
.tbl.edit .rownum { color: var(--text-3); text-align: center; width: 34px; font-size: 11px; }
.tbl.edit .lookup .in { width: 62px; }
.tbl.edit .lk-name { font-size: 12px; min-width: 120px; }
.tbl.edit .row-actions { width: 64px; white-space: nowrap; text-align: right; }
.tbl.edit .row-actions .btn { opacity: .45; }
.tbl.edit tr:hover .row-actions .btn, .tbl.edit tr:focus-within .row-actions .btn { opacity: 1; }
.tbl.edit tr.tatekae td:first-child { box-shadow: inset 3px 0 0 var(--accent); }
.empty { padding: 30px; text-align: center; color: var(--text-3); }

/* =========================== KPI strip (Order header finance) =========================== */
.kpis { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.kpi { padding: 8px 12px; border-right: 1px solid var(--line); min-width: 0; }
.kpi:last-child { border-right: 0; }
.kpi .k { font-size: 11px; color: var(--text-3); display: flex; gap: 6px; align-items: baseline; }
.kpi .k .t .vi { font-size: 10px; }
.kpi .v { font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; margin-top: 2px; letter-spacing: -.01em; }
.kpi .v.neg { color: var(--danger); }
.kpi .v.pos { color: var(--ok); }
.kpi.grp { background: var(--surface-2); }

/* =========================== Order header =========================== */
.doc-head { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-1); margin-bottom: 12px; }
.doc-head .top { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.doc-no { display: flex; flex-direction: column; gap: 2px; }
.doc-no .lbl { font-size: 11px; color: var(--text-3); }
.doc-no .val { font-family: var(--mono); font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
.doc-no .val.pending { font-size: 13px; color: var(--text-3); font-family: var(--font); font-weight: 550; }
.mode-chip { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; padding: 4px 10px; border-radius: 6px; font-weight: 700; font-family: var(--font-jp); min-width: 56px; }
.mode-chip.view { background: var(--surface-3); color: var(--text-2); }
.mode-chip.edit { background: var(--warn-soft); color: var(--warn); }
.mode-chip.new { background: var(--ok-soft); color: var(--ok); }
.mode-chip small { font-family: var(--font); font-weight: 500; font-size: 10px; opacity: .85; }
.doc-head .meta { display: flex; gap: 18px; color: var(--text-2); font-size: 12px; flex-wrap: wrap; }
.doc-head .meta b { color: var(--text); font-weight: 600; }
.doc-head .admin { padding: 10px 14px; }
.doc-head .admin .fields { --cols: 4; --lw: 104px; }

/* status stepper */
.stepper { display: flex; align-items: center; gap: 0; margin-left: auto; }
.step { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--text-3); white-space: nowrap; }
.step .dot { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-strong); display: grid; place-items: center; font-size: 10px; font-weight: 700; background: var(--surface); }
.step.done { color: var(--ok); }
.step.done .dot { border-color: var(--ok); background: var(--ok); color: #fff; }
.step.cur { color: var(--brand); font-weight: 650; }
.step.cur .dot { border-color: var(--brand); color: var(--brand); box-shadow: 0 0 0 3px rgba(29,79,145,.15); }
.step-line { width: 18px; height: 2px; background: var(--line-strong); margin: 0 6px; }
.step-line.done { background: var(--ok); }
.status-pill { display: inline-flex; align-items: center; gap: 6px; }
.status-pill .bar { display: inline-flex; gap: 2px; }
.status-pill .bar i { width: 10px; height: 5px; border-radius: 2px; background: var(--line-strong); }
.status-pill .bar i.on { background: var(--ok); }
.status-pill .bar i.cur { background: var(--brand); }

/* =========================== filter bar =========================== */
.filters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 14px; padding: 12px 14px; }
.filters .f { --lw: 96px; }
.filters-foot { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-top: 1px solid var(--line); background: var(--surface-2); border-radius: 0 0 var(--radius) var(--radius); }
.range { display: flex; align-items: center; gap: 6px; width: 100%; }
.range .tilde { color: var(--text-3); flex: none; }

/* =========================== drawer (spec notes) =========================== */
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: var(--drawer-w); z-index: 40;
  background: var(--surface); border-left: 1px solid var(--line); box-shadow: var(--shadow-2);
  transform: translateX(100%); transition: transform .2s ease, visibility .2s; display: flex; flex-direction: column; visibility: hidden;
}
.drawer.open { transform: none; visibility: visible; }
.drawer-head { display: flex; align-items: center; gap: 10px; padding: 14px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 14px; }
.drawer-head .x { margin-left: auto; }
.drawer-body { overflow-y: auto; padding: 16px 22px 48px; font-size: 13px; line-height: 1.55; }
.drawer-body h4 { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); margin: 18px 0 6px; }
.drawer-body h4:first-child { margin-top: 0; }
.drawer-body ul { margin: 0; padding-left: 18px; }
.drawer-body li { margin: 3px 0; }
.drawer-body .kv { display: grid; grid-template-columns: 110px 1fr; gap: 6px 12px; }
.drawer-body .kv dt { color: var(--text-3); }
.drawer-body .kv dd { margin: 0; }
.drawer-body .ref { font-family: var(--mono); font-size: 11px; color: var(--text-2); word-break: break-word; background: var(--surface-2); border: 1px solid var(--line); border-radius: 5px; padding: 4px 6px; margin: 3px 0; }
.drawer-body .q { display: flex; gap: 8px; padding: 6px 8px; border-radius: 6px; background: var(--c3-soft); margin: 4px 0; }
.drawer-body .q b { color: var(--c3); font-family: var(--mono); flex: none; }
.drawer-body .keep li::marker { content: "＝ "; color: var(--ok); }
.drawer-body .improve li::marker { content: "＋ "; color: var(--brand); }
.drawer-body .dev li::marker { content: "▸ "; color: var(--text-3); }
.drawer-body .conflict { padding: 8px 10px; border-radius: 6px; background: var(--danger-soft); color: #7b231a; margin: 4px 0; }
.drawer-body .est-box { display: grid; gap: 10px; padding: 10px 12px; border: 1px solid var(--brand-line); border-radius: 8px; background: var(--brand-soft); }
.drawer-body .est-q ul { margin: 4px 0 0; padding-left: 18px; }
.drawer-body .est-q li::marker { content: ""; }
.drawer-body .est-q li { list-style: none; margin-left: -18px; padding: 2px 0; }
.spec-toggle.on { background: var(--c3); border-color: var(--c3); color: #fff; }

/* =========================== quick search trigger */
.search-trigger {
  display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; width: 320px; flex: 0 1 320px; min-width: 120px; white-space: nowrap; overflow: hidden;
  border: 1px solid var(--line-strong); border-radius: 8px; background: var(--surface-2); color: var(--text-3);
  cursor: pointer; font-size: 12.5px; text-align: left; transition: border-color .12s, background .12s;
}
.search-trigger:hover { border-color: var(--brand); background: var(--surface); color: var(--text-2); }
.search-trigger svg { color: var(--brand); flex: none; }
.search-trigger span { overflow: hidden; text-overflow: ellipsis; }
.topbar .seg, .topbar .spec-toggle, .topbar .mock-ribbon { flex: none; }
.user-chip { flex: none; white-space: nowrap; }

/* =========================== OBIC7 thumbnails & viewer */
.obic-btn { border-color: var(--brand-line); color: var(--brand); background: var(--brand-soft); }
.obic-btn:hover { background: #dde8f8; }
.obic-btn .count { font-size: 11px; background: #fff; border-radius: 999px; padding: 0 6px; }
.thumbs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.thumb { border: 1px solid var(--line); border-radius: 6px; background: var(--surface); padding: 0; cursor: zoom-in; overflow: hidden; text-align: left; display: flex; flex-direction: column; }
.thumb:hover { border-color: var(--brand); box-shadow: 0 0 0 2px rgba(29,79,145,.15); }
.thumb img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; display: block; background: var(--surface-3); }
.thumb span { font-size: 11px; padding: 5px 7px; color: var(--text-2); line-height: 1.3; }
.thumb span b { color: var(--c3); font-weight: 650; }
.thumb.sm { width: 92px; flex: none; }
.thumb.sm img { aspect-ratio: 16 / 10; }
.thumb.on { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand); }
.modal.xl { width: min(1280px, 100%); }
.viewer { background: #3d4654; border-radius: 8px; padding: 10px; display: flex; justify-content: center; align-items: flex-start; height: 62vh; overflow: auto; }
.viewer a { display: flex; justify-content: center; max-width: 100%; max-height: 100%; cursor: zoom-in; }
.viewer img { max-width: 100%; max-height: calc(62vh - 20px); width: auto; height: auto; object-fit: contain; display: block; border-radius: 3px; box-shadow: 0 4px 16px rgba(0,0,0,.35); }
.modal-body { min-width: 0; }
.viewer-meta { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 8px; font-size: 12px; }
.viewer-strip { display: flex; gap: 6px; overflow-x: auto; padding: 10px 2px 2px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.gallery .thumb span { font-size: 12px; }

/* =========================== misc additions */
.grid-add { padding: 8px 10px; border-top: 1px solid var(--line); background: var(--surface-2); border-radius: 0 0 var(--radius) var(--radius); }
.party .hint { font-size: 11px; color: var(--text-3); margin: -1px 0 2px 2px; }
.party .hint:empty { display: none; }

/* =========================== modal & toast =========================== */
.overlay { position: fixed; inset: 0; z-index: 60; background: rgba(15, 27, 45, .42); display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; padding: 24px; animation: fade .12s; }
@keyframes fade { from { opacity: 0; } }
.modal { width: min(720px, 100%); max-height: calc(100vh - 48px); display: flex; flex-direction: column; background: var(--surface); border-radius: 12px; box-shadow: var(--shadow-3); animation: pop .14s ease-out; }
.modal.sm { width: min(440px, 100%); }
.modal.lg { width: min(980px, 100%); }
@keyframes pop { from { transform: translateY(8px) scale(.98); opacity: 0; } }
.modal-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.modal-head h3 { font-size: 15px; }
.modal-head .x { margin-left: auto; }
.modal-body { padding: 16px 18px; overflow-y: auto; }
.modal-foot { display: flex; justify-content: flex-end; gap: 8px; padding: 12px 18px; border-top: 1px solid var(--line); background: var(--surface-2); border-radius: 0 0 12px 12px; }
.toasts { position: fixed; top: 64px; right: 18px; z-index: 70; display: grid; gap: 8px; }
.toast { min-width: 260px; max-width: 420px; padding: 10px 14px; border-radius: 8px; background: #0f2442; color: #fff; box-shadow: var(--shadow-2); display: flex; gap: 10px; align-items: flex-start; animation: pop .16s ease-out; }
.toast.ok { background: #0f5c45; }
.toast.err { background: #8f2a1f; }
.toast.warn { background: #8a4a06; }

/* =========================== callouts / misc =========================== */
.callout { display: flex; gap: 10px; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface-2); font-size: 12.5px; }
.callout .ic { flex: none; font-weight: 800; }
.callout.info { background: var(--brand-soft); border-color: var(--brand-line); color: #173d6e; }
.callout.warn { background: var(--warn-soft); border-color: #f1d2ab; color: #6e3a05; }
.callout.c3 { background: var(--c3-soft); border-color: #d8cbf5; color: #44287f; }
.callout.danger { background: var(--danger-soft); border-color: #f2c4bd; color: #7b231a; }
.callout + .callout { margin-top: 8px; }
.err-summary { margin-bottom: 12px; }
.err-summary ul { margin: 4px 0 0; padding-left: 18px; }
.kbd { font-family: var(--mono); font-size: 10.5px; padding: 1px 5px; border-radius: 4px; border: 1px solid var(--line-strong); border-bottom-width: 2px; background: var(--surface); color: var(--text-2); }
.divider { height: 1px; background: var(--line); margin: 12px 0; }
.pill-list { display: flex; flex-wrap: wrap; gap: 6px; }
.link-row { display: flex; align-items: center; gap: 6px; }

/* =========================== overview =========================== */
.hero {
  border-radius: 12px; padding: 22px 24px; color: #fff; margin-bottom: 16px;
  background:
    radial-gradient(800px 240px at 100% 0%, rgba(18,165,148,.35), transparent 60%),
    linear-gradient(135deg, #12305a 0%, #1d4f91 60%, #1f5fa8 100%);
  box-shadow: var(--shadow-2);
}
.hero h1 { font-size: 22px; font-family: var(--font-jp); letter-spacing: .01em; }
.hero h1 small { display: block; font-family: var(--font); font-size: 14px; font-weight: 500; opacity: .85; margin-top: 4px; }
.hero p { margin: 10px 0 0; max-width: 900px; color: #d6e3f5; }
.hero .facts { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.hero .fact { flex: 1; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); border-radius: 8px; padding: 8px 12px; min-width: 140px; }
.hero .fact b { display: block; font-size: 18px; }
.hero .fact span { font-size: 11.5px; color: #c4d5ee; }

.flow { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.flow-step { position: relative; border: 1px solid var(--line); border-radius: 10px; padding: 12px; background: var(--surface); min-height: 128px; display: flex; flex-direction: column; gap: 6px; }
.flow-step:not(:last-child)::after { content: "›"; position: absolute; right: -10px; top: 44px; font-size: 20px; color: var(--text-3); z-index: 1; }
.flow-step .n { font-family: var(--mono); font-size: 11px; color: var(--text-3); }
.flow-step h4 { font-size: 13px; font-family: var(--font-jp); }
.flow-step p { margin: 0; color: var(--text-2); font-size: 11.5px; }
.flow-step .ext { margin-top: auto; font-size: 11px; color: var(--warn); border-top: 1px dashed #f1d2ab; padding-top: 6px; }
.flow-step.is-in { border-top: 3px solid var(--ok); }
.flow-step.is-out { border-top: 3px solid var(--line-strong); background: var(--surface-2); }
.flow-step.is-out h4 { color: var(--text-3); }

.mod-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.mod-card { border: 1px solid var(--line); border-radius: 10px; background: var(--surface); padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.mod-card .head { display: flex; align-items: center; gap: 8px; }
.mod-card .head .code { font-family: var(--mono); font-weight: 700; color: var(--brand); background: var(--brand-soft); border-radius: 5px; padding: 1px 6px; }
.mod-card h4 { font-size: 13.5px; }
.mod-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.mod-card li { display: flex; align-items: center; gap: 8px; font-size: 12.5px; }
.mod-card li a { flex: 1; min-width: 0; }
.mod-card .foot { margin-top: auto; font-size: 11.5px; color: var(--text-3); }

.legend { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; font-size: 12px; color: var(--text-2); }
.legend > span { display: inline-flex; align-items: center; gap: 6px; }


/* =========================== 14 questions board */
.qa-head { align-items: flex-start; gap: 16px; padding: 14px 18px; flex-wrap: wrap; }
.qa-head h3 { font-size: 15px; }
.qa-head .sub { margin-top: 3px; }
.qa-filter { margin-left: auto; }
.qa-filter button { padding: 6px 12px; }
.qa-filter .n { display: inline-block; min-width: 18px; margin-left: 4px; padding: 0 5px; border-radius: 999px; background: var(--surface-3); color: var(--text-2); font-size: 11px; text-align: center; }
.qa-filter button.on .n { background: rgba(255,255,255,.22); color: #fff; }
.qa-group + .qa-group { border-top: 1px solid var(--line); }
.qa-group-head { display: flex; align-items: center; gap: 10px; padding: 12px 18px; background: var(--surface-2); border-bottom: 1px solid var(--line); font-size: 13px; flex-wrap: wrap; }
.qa-group-head .muted { font-size: 12px; }
.qa-g { width: 24px; height: 24px; border-radius: 6px; display: grid; place-items: center; background: var(--brand); color: #fff; font-weight: 700; font-size: 12px; flex: none; }
.qa-row { display: grid; grid-template-columns: 76px minmax(0, 1fr) minmax(240px, 300px); gap: 18px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.qa-row:last-child { border-bottom: 0; }
.qa-row:hover { background: #fafcff; }
.qa-code { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.qa-code .q { font-family: var(--mono); font-weight: 700; font-size: 15px; color: var(--c3); }
.qa-title { font-weight: 650; font-size: 14px; }
.qa-detail { color: var(--text-2); font-size: 12.5px; margin-top: 2px; }
.qa-opts { display: grid; gap: 6px; margin-top: 10px; }
.qa-opt { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); font-size: 12.5px; flex-wrap: wrap; }
.qa-opt.base { border-color: var(--brand-line); background: var(--brand-soft); }
.qa-opt .k { font-family: var(--mono); font-weight: 700; font-size: 11px; padding: 1px 6px; border-radius: 4px; background: var(--surface-3); color: var(--text-2); flex: none; }
.qa-opt.base .k { background: var(--brand); color: #fff; }
.qa-opt .t { flex: 1; min-width: 180px; }
.qa-opt .md { font-size: 11px; color: var(--text-3); border: 1px dashed var(--line-strong); border-radius: 4px; padding: 1px 6px; white-space: nowrap; }
.qa-nobase { margin-top: 8px; font-size: 12px; color: var(--c3); }
.qa-side { display: grid; gap: 6px; align-content: start; }
.qa-lbl { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.qa-lbl + * { margin-bottom: 6px; }
.qa-feats { display: flex; flex-wrap: wrap; gap: 6px; }
.feat { display: inline-flex; align-items: center; gap: 5px; padding: 2px 4px 2px 8px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; background: var(--surface); }
.feat .badge { height: 18px; }
.qa-links { display: grid; gap: 4px; }
.qa-link { display: flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--line); color: var(--brand); font-size: 12.5px; font-weight: 550; text-decoration: none !important; }
.qa-link:hover { background: var(--brand-soft); border-color: var(--brand-line); }
.qa-link span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.est-note ol { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: 13px; }
.est-note .card-head h3 { display: flex; align-items: center; gap: 8px; }
.est-note .card-head .badge { margin-left: auto; }

/* =========================== ③ concept screens =========================== */
.concept { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.concept .opt { border: 1.5px dashed var(--line-strong); border-radius: 10px; padding: 14px; background: var(--surface); display: flex; flex-direction: column; gap: 8px; }
.concept .opt h4 { font-size: 13px; display: flex; gap: 8px; align-items: center; }
.concept .opt .tag { font-family: var(--mono); font-size: 11px; color: var(--c3); background: var(--c3-soft); border-radius: 4px; padding: 1px 6px; }
.concept .opt p { margin: 0; color: var(--text-2); font-size: 12px; }
.concept .opt .opt-md { margin-top: 6px; display: inline-block; font-size: 11px; color: var(--text-3); border: 1px dashed var(--line-strong); border-radius: 4px; padding: 1px 6px; }
.concept .opt .impact { margin-top: auto; font-size: 11.5px; color: var(--text-3); border-top: 1px solid var(--line); padding-top: 8px; }
.wire { border: 1px solid var(--line); border-radius: 6px; background: repeating-linear-gradient(45deg, var(--surface-2), var(--surface-2) 6px, var(--surface) 6px, var(--surface) 12px); padding: 8px; font-size: 11.5px; color: var(--text-2); }
.wire .bar { height: 8px; border-radius: 3px; background: var(--line-strong); margin: 4px 0; }
.wire .bar.s { width: 40%; } .wire .bar.m { width: 65%; } .wire .bar.b { background: var(--brand-line); width: 30%; }

/* =========================== paper (print preview) =========================== */
.preview-shell { background: #5c6676; border-radius: var(--radius); padding: 18px; overflow: auto; }
.preview-toolbar { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; color: #e7edf6; font-size: 12px; }
.preview-toolbar .btn { background: #fff; }
.paper {
  width: 794px; min-height: 1060px; margin: 0 auto; background: #fff; color: #111; box-shadow: 0 6px 24px rgba(0,0,0,.35);
  padding: 46px 52px; font: 11px/1.45 var(--font-jp); position: relative;
}
.paper + .paper { margin-top: 18px; }
.paper h2 { text-align: center; font-size: 20px; letter-spacing: .3em; margin: 0 0 14px; font-weight: 700; }
.paper .ptbl { width: 100%; border-collapse: collapse; }
.paper .ptbl td, .paper .ptbl th { border: 1px solid #333; padding: 3px 6px; vertical-align: top; text-align: left; font-weight: 400; }
.paper .ptbl th { background: #f2f2f2; font-weight: 700; }
.paper .lbl { font-weight: 700; font-size: 10px; display: block; }
.paper .big { font-size: 14px; }
.paper .r { text-align: right; }
.paper .stamp {
  position: absolute; width: 72px; height: 72px; border: 3px solid #d0372a; color: #d0372a; border-radius: 6px;
  display: grid; place-items: center; font-weight: 800; font-size: 13px; line-height: 1.1; text-align: center; transform: rotate(-4deg); opacity: .8;
}
.paper .tag-box { display: inline-block; border: 1.5px solid #111; padding: 2px 14px; font-size: 14px; font-weight: 700; }
.paper .gl { display: block; font: 500 8.5px/1.2 var(--font); color: #2a6fd6; letter-spacing: 0; }
.paper .gl.i { display: inline; margin-left: 4px; font-size: 8.5px; }
.paper h2 .gl { font-size: 10px; letter-spacing: 0; font-weight: 600; margin-top: 2px; }
.paper .mock-mark { position: absolute; top: 14px; left: 52px; font: 600 9.5px var(--font); color: #b25e09; letter-spacing: .08em; }

/* =========================== responsive =========================== */
@media (max-width: 1280px) {
  .topbar .mock-ribbon { display: none; }
  .kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .kpi:nth-child(4) { border-right: 0; }
  .flow { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .doc-head .admin .fields { --cols: 2; }
  .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1080px) {
  :root { --drawer-w: min(560px, 92vw); }
  .grid-2, .grid-3, .mod-grid, .concept { grid-template-columns: 1fr; }
  .qa-row { grid-template-columns: 56px minmax(0, 1fr); }
  .qa-side { grid-column: 2; }
  .stepper { margin-left: 0; width: 100%; overflow-x: auto; }
}
@media (max-width: 760px) {
  .shell, .shell.nav-collapsed { grid-template-columns: 1fr; }
  .sidebar { position: fixed; z-index: 50; width: 260px; transform: translateX(-100%); transition: transform .2s; }
  .shell.nav-open .sidebar { transform: none; }
  .content { padding: 14px 16px 32px; }
  .flow { grid-template-columns: 1fr 1fr; }
  .f { grid-template-columns: 1fr; gap: 3px; }
  .fields { --cols: 1 !important; }
  .f.span-2 { grid-column: auto; }
  .filters { grid-template-columns: 1fr; }
  .topbar .hide-sm { display: none; }
  .search-trigger { min-width: 0; padding: 0 10px; }
  .thumbs { grid-template-columns: 1fr; }
  .topbar { gap: 6px; padding-right: 10px; }
  .crumbs { flex: 1; overflow: hidden; white-space: nowrap; }
  .crumbs a, .crumbs .sep { display: none; }
  .topbar .grow { display: none; }
  .seg button { padding: 5px 7px; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpi { border-bottom: 1px solid var(--line); }
  .tbl-wrap { max-width: 100%; }
  .preview-shell { padding: 8px; }
  .drawer { width: 100%; }
  .paper { transform-origin: top left; }
}

/* =========================== print =========================== */
@media print {
  @page { size: A4; margin: 0; }
  body { background: #fff; }
  body * { visibility: hidden; }
  .print-area, .print-area * { visibility: visible; }
  .print-area { position: absolute; left: 0; top: 0; width: 100%; padding: 0 !important; background: #fff !important; }
  .print-area .preview-toolbar { display: none; }
  .print-area .paper { box-shadow: none; margin: 0; page-break-after: always; }
  .print-area .paper .gl { display: block; font: 500 8.5px/1.2 var(--font); color: #2a6fd6; letter-spacing: 0; }
.paper .gl.i { display: inline; margin-left: 4px; font-size: 8.5px; }
.paper h2 .gl { font-size: 10px; letter-spacing: 0; font-weight: 600; margin-top: 2px; }
.paper .mock-mark { display: none; }
}

/* 6.3 ship-date history under the Order date block (Q8 A1) */
.date-log { margin-top: 10px; border-top: 1px dashed var(--line); padding-top: 8px; }
.date-log .dl-head { font-size: 12px; font-weight: 650; margin-bottom: 4px; }
.date-log .dl-head .muted { font-weight: 400; }
.date-log .tbl td { font-size: 12px; }
