/* PW Product Spec — styles */
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/ibm-plex-sans-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: italic; font-weight: 400; font-display: swap; src: url(fonts/ibm-plex-sans-latin-400-italic.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/ibm-plex-sans-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/ibm-plex-sans-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/ibm-plex-sans-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/ibm-plex-mono-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/ibm-plex-mono-latin-500-normal.woff2) format("woff2"); }
:root {
  --bg: #F5F3EF;
  --card: #FFFFFF;
  --ink: #1E1A16;
  --ink-2: #4A433C;
  --muted: #6B6157;
  --line: #E3DED6;
  --line-2: #EEE9E2;
  --soft: #FAF8F5;
  --brand: #4A2C21;
  --brand-d: #2B1D16;
  --brand-2: #3D2A20;
  --gold: #D9A441;
  --gold-ink: #7A4A12;
  --ok: #1D6B4A; --ok-bg: #E3F1EA;
  --info: #1D5592; --info-bg: #E4EDF8;
  --warn: #8A4B00; --warn-bg: #FCEFD9;
  --bad: #A3261B; --bad-bg: #FBE7E4;
  --draft: #554C43; --draft-bg: #ECE8E2;
  --radius: 12px;
  --font: "IBM Plex Sans", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.5 var(--font); overflow-wrap: break-word; }
a { color: var(--gold-ink); }
a:hover { color: var(--brand); }
:focus-visible { outline: 2px solid #B7862C; outline-offset: 2px; }
img { max-width: 100%; }
h1, h2, h3 { line-height: 1.25; }
.mono { font-family: var(--mono); font-size: .92em; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ic { width: 18px; height: 18px; flex: 0 0 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* shell */
.shell { display: flex; flex-wrap: wrap; min-height: 100vh; }
.side { flex: 1 1 236px; max-width: 100%; background: var(--brand-d); color: #EFE6DA; padding: 18px 14px 24px; display: flex; flex-direction: column; gap: 20px; }
.main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; }
.brand { display: flex; align-items: center; gap: 12px; padding: 4px 8px; color: #EFE6DA; text-decoration: none; }
.brand img { width: 62px; height: 37px; object-fit: contain; }
.brand span { display: flex; flex-direction: column; line-height: 1.25; }
.brand strong { font-size: 15px; font-weight: 600; color: #fff; }
.brand small { font-size: 12px; color: #BFAF9C; }
.nav-group { display: flex; flex-direction: column; gap: 2px; }
.nav-label { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #BFAF9C; padding: 0 12px 6px; }
.nav-link { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 12px; border-radius: 8px; color: #EFE6DA; text-decoration: none; font-size: 14px; font-weight: 500; }
.nav-link:hover { background: var(--brand-2); color: #fff; }
.nav-link.is-active { background: #4A3226; color: #fff; font-weight: 600; }
.nav-link.is-active .ic { stroke: #E0B35A; }
.nav-badge { margin-left: auto; font-size: 12px; font-weight: 700; padding: 1px 8px; border-radius: 999px; background: var(--gold); color: var(--brand-d); }
@media (max-width: 820px) {
  .side { gap: 10px; padding: 12px; }
  .nav-group { flex-direction: row; flex-wrap: wrap; gap: 4px; }
  .nav-label { display: none; }
  .nav-link { min-height: 40px; padding: 0 10px; font-size: 13px; }
}

.topbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 12px 28px; background: var(--card); border-bottom: 1px solid var(--line); }
.search { flex: 1 1 260px; display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; border: 1px solid #D9D2C7; border-radius: 10px; background: var(--soft); color: var(--muted); }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 14px; color: var(--ink); outline: none; }
.search:focus-within { outline: 2px solid #B7862C; outline-offset: 1px; }
.who { display: flex; align-items: center; gap: 10px; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: #E9DFD0; color: var(--brand); display: grid; place-items: center; font-size: 13px; font-weight: 600; flex: 0 0 36px; }
.who-text { display: flex; flex-direction: column; line-height: 1.25; }
.who-text strong { font-size: 14px; font-weight: 600; }
.who-text small { font-size: 12px; color: var(--muted); }
.content { padding: 24px 28px 64px; width: 100%; max-width: 1280px; display: flex; flex-direction: column; gap: 20px; }
.content.wide { max-width: 1440px; }
.bare { min-height: 100vh; }
@media (max-width: 600px) { .content { padding: 18px 16px 56px; } .topbar { padding: 12px 16px; } }

/* type & headings */
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; }
.page-head h1 { margin: 0; font-size: 26px; font-weight: 600; letter-spacing: -.01em; }
.page-head p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.crumbs { font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 10px; border: 1px solid #CFC6B9; background: #fff; color: var(--ink); font: inherit; font-size: 14px; font-weight: 500; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:hover { background: var(--soft); color: var(--ink); }
.btn-primary { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }
.btn-primary:hover { background: #5C382A; color: #fff; }
.btn-ok { background: var(--ok); border-color: var(--ok); color: #fff; font-weight: 600; }
.btn-ok:hover { background: #17573C; color: #fff; }
.btn-bad { background: #fff; border-color: #D9A49C; color: var(--bad); font-weight: 600; }
.btn-bad:hover { background: var(--bad-bg); color: var(--bad); }
.btn-sm { min-height: 34px; padding: 0 12px; font-size: 13px; border-radius: 8px; }
.btn-link { background: none; border: 0; padding: 0; min-height: 0; color: var(--gold-ink); text-decoration: underline; cursor: pointer; font: inherit; font-size: 13px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

/* cards */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.card-pad { padding: 18px 20px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line-2); }
.card-head h2, .card h2 { margin: 0; font-size: 16px; font-weight: 600; }
.card-body { padding: 16px 20px 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 20px; align-items: start; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr)); gap: 14px; }
.kpi { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; text-decoration: none; color: var(--ink); }
.kpi:hover { background: var(--soft); color: var(--ink); }
.kpi span { font-size: 13px; color: var(--muted); }
.kpi strong { font-size: 32px; font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1.1; }
.empty { padding: 40px 20px; text-align: center; color: var(--muted); }

/* badges */
.badge { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 6px; white-space: nowrap; }
.st-draft { background: var(--draft-bg); color: var(--draft); }
.st-review { background: var(--info-bg); color: var(--info); }
.st-returned { background: var(--warn-bg); color: var(--warn); }
.st-approved { background: var(--ok-bg); color: var(--ok); }
.st-old { background: #EEEBE6; color: #6B6157; }
.b-bad { background: var(--bad-bg); color: var(--bad); }
.b-warn { background: var(--warn-bg); color: var(--warn); }
.b-ok { background: var(--ok-bg); color: var(--ok); }
.b-info { background: var(--info-bg); color: var(--info); }
.chip { display: inline-flex; align-items: center; font-size: 13px; font-weight: 600; padding: 4px 11px; border-radius: 999px; background: var(--brand); color: #fff; }
.chip-may { background: transparent; color: var(--brand); border: 1.5px dashed var(--brand); padding: 3px 10px; }

/* flash */
.flash { padding: 12px 16px; border-radius: 10px; font-size: 14px; }
.flash-ok { background: var(--ok-bg); color: #164E37; }
.flash-info { background: var(--info-bg); color: #163F6C; }
.flash-error { background: var(--bad-bg); color: #6E1A12; }
.flash-warn { background: var(--warn-bg); color: #5C3A00; }

/* tables */
.table-wrap { overflow-x: auto; }
table.list { width: 100%; border-collapse: collapse; font-size: 14px; }
table.list th { text-align: left; font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; padding: 11px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; background: #fff; }
table.list td { padding: 10px 14px; border-bottom: 1px solid #F0EBE4; vertical-align: middle; }
table.list tr:hover td { background: #FCFAF7; }
.prod { display: flex; align-items: center; gap: 12px; min-width: 260px; }
.prod img, .thumb-ph { width: 52px; height: 52px; flex: 0 0 52px; object-fit: cover; border-radius: 8px; background: #F0EBE4; }
.thumb-ph { display: grid; place-items: center; color: #B5A999; }
.prod a { font-weight: 600; color: var(--ink); text-decoration: none; }
.prod a:hover { text-decoration: underline; }
.prod small { display: block; font-family: var(--mono); font-size: 12px; color: var(--muted); }

/* filters */
.filters { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: flex-end; padding: 14px 16px; }
.filters label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 600; color: var(--muted); }
.filters select, .filters input { min-height: 40px; }

/* forms */
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink); }
.field .hint { font-weight: 400; color: var(--muted); font-size: 12px; }
input[type=text], input[type=email], input[type=password], input[type=search]:not(.search input), input[type=number], input[type=date], select, textarea {
  font: inherit; font-size: 14px; font-weight: 400; color: var(--ink); background: #fff; border: 1px solid #CFC6B9; border-radius: 8px; padding: 9px 11px; min-height: 42px; width: 100%;
}
textarea { line-height: 1.5; resize: vertical; min-height: 80px; }
input:disabled, select:disabled, textarea:disabled { background: #F0EBE4; color: #8A8075; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 14px 16px; }
.form-grid .span-all { grid-column: 1 / -1; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { font-size: 13px; font-weight: 600; padding: 0; margin-bottom: 8px; }
.seg { display: inline-flex; flex-wrap: wrap; border: 1px solid #D9D2C7; border-radius: 10px; overflow: hidden; background: #fff; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; font-size: 13px; font-weight: 500; color: var(--ink-2); border-right: 1px solid var(--line-2); cursor: pointer; }
.seg label:last-child span { border-right: 0; }
.seg input:checked + span { background: var(--brand); color: #fff; font-weight: 600; }
.seg input:focus-visible + span { outline: 2px solid #B7862C; outline-offset: -2px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.check { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px; border: 1px solid #D9D2C7; border-radius: 999px; background: #fff; font-size: 13px; font-weight: 500; cursor: pointer; }
.check input { width: 16px; height: 16px; accent-color: var(--brand); }
.check:has(input:checked) { border-color: var(--brand); background: #FBF6EC; }

/* editor */
.editor { display: flex; flex-wrap: wrap; gap: 22px; align-items: flex-start; }
.editor-nav { flex: 1 1 200px; max-width: 230px; position: sticky; top: 12px; display: flex; flex-direction: column; gap: 4px; }
.editor-nav a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--ink-2); text-decoration: none; font-size: 14px; }
.editor-nav a:hover { background: #fff; }
.editor-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.editor-side { flex: 1 1 300px; max-width: 400px; display: flex; flex-direction: column; gap: 16px; position: sticky; top: 12px; }
@media (max-width: 1480px) { .editor-nav { display: none; } }
@media (max-width: 1100px) { .editor-side { position: static; max-width: none; } }
.sec { padding: 20px 22px; display: flex; flex-direction: column; gap: 16px; scroll-margin-top: 12px; }
.sec > h2 { margin: 0; font-size: 18px; font-weight: 600; }
.sec .note { margin: -8px 0 0; font-size: 13px; color: var(--muted); }
.dims { display: flex; flex-direction: column; gap: 8px; }
.dim-row { display: grid; grid-template-columns: minmax(150px, 1.4fr) 96px minmax(min(70px, 100%), 1fr) minmax(min(70px, 100%), 1fr) 90px minmax(70px, .8fr) 36px; gap: 8px; align-items: center; }
.dim-head { font-size: 12px; color: var(--muted); font-weight: 600; }
.dim-row.is-off input:not(.dim-label):not([type=checkbox]), .dim-row.is-off select { background: #F0EBE4; color: #9A8F82; }
.dim-row .dim-label { font-weight: 500; }
.toggle { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; }
.toggle input { width: 18px; height: 18px; accent-color: var(--ok); }
.icon-btn { width: 36px; height: 36px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.icon-btn:hover { background: var(--bad-bg); color: var(--bad); }
.dims-wrap { overflow-x: auto; }
.dims-wrap > .dims { min-width: 680px; }
.store-row { display: grid; grid-template-columns: minmax(64px, 110px) minmax(60px, 90px) minmax(0, 1fr) minmax(0, 1fr); gap: 8px; align-items: center; }
.seg { max-width: 100%; }
.allergen-table { display: flex; flex-direction: column; border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; }
.allergen-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 14px; border-top: 1px solid var(--line-2); }
.allergen-row:first-child { border-top: 0; }
.allergen-row > span { font-weight: 500; font-size: 14px; }
.seg.al input[value=may]:checked + span { background: #B7862C; }
.seg.al input[value=none]:checked + span { background: #5F574E; }
.statement { padding: 12px 14px; border-radius: 10px; background: var(--soft); border: 1px solid var(--line-2); font-weight: 600; font-size: 14px; white-space: pre-line; }
.lab-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 8px; }
.lab-item { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 10px; align-items: center; min-height: 44px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 13px; cursor: pointer; }
.lab-item:has(input:checked) { background: #FBF6EC; border-color: #E4CF9F; }
.lab-item input { width: 18px; height: 18px; accent-color: var(--brand); }
.lab-item small { color: var(--muted); }
.preset-row { display: flex; flex-wrap: wrap; gap: 8px; }
.preset { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 8px 14px; border: 1.5px solid #D9D2C7; border-radius: 10px; background: #fff; font: inherit; cursor: pointer; text-align: left; }
.preset strong { font-size: 14px; font-weight: 600; }
.preset small { font-size: 12px; color: var(--muted); }
.preset.is-on { border-color: #B7862C; background: #FBF6EC; }
.pack-row { display: grid; grid-template-columns: 120px minmax(200px, 1.6fr) minmax(140px, 1.6fr) minmax(min(110px, 100%), 1fr) minmax(min(110px, 100%), 1fr) 36px; gap: 8px; align-items: center; }
.pack-wrap { overflow-x: auto; }
.pack-wrap > div { min-width: 820px; display: flex; flex-direction: column; gap: 8px; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(170px, 100%), 1fr)); gap: 14px; }
.photo { display: flex; flex-direction: column; gap: 6px; padding: 8px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.photo img { width: 100%; height: 130px; object-fit: contain; background: var(--soft); border-radius: 6px; }
.photo select, .photo input { min-height: 34px; padding: 5px 8px; font-size: 13px; }
.upload { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; padding: 14px; border: 1.5px dashed #B9AE9F; border-radius: 10px; background: var(--soft); }
.upload .field { flex: 1 1 180px; }
.savebar { position: sticky; bottom: 0; z-index: 5; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: flex-end; padding: 12px 16px; background: rgba(255,255,255,.96); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 -4px 16px rgba(43,29,22,.08); }
.savebar .msg { margin-right: auto; font-size: 13px; color: var(--muted); }

/* detail */
.summary { display: flex; flex-wrap: wrap; gap: 22px; padding: 18px; }
.summary .hero { flex: 0 0 200px; width: 200px; height: 160px; object-fit: cover; border-radius: 10px; background: #F0EBE4; }
.summary .meta { flex: 1 1 340px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.summary h1 { margin: 0; font-size: 26px; font-weight: 600; letter-spacing: -.01em; }
.summary .facts { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 13px; color: var(--ink-2); }
.summary .facts b { font-weight: 500; color: var(--muted); }
.summary .actions { flex: 1 1 220px; max-width: 270px; display: flex; flex-direction: column; gap: 8px; }
.detail { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.detail-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.detail-side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
dl.kv { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 0 28px; font-size: 14px; }
dl.kv > div { display: grid; grid-template-columns: minmax(110px, 160px) minmax(0, 1fr); gap: 12px; padding: 9px 0; border-bottom: 1px solid #F0EBE4; }
dl.kv dt { color: var(--muted); }
dl.kv dd { margin: 0; white-space: pre-line; overflow-wrap: anywhere; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); gap: 12px; }
.tile { padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 10px; display: flex; flex-direction: column; gap: 6px; }
.tile .lbl { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.tile .val { font-size: 14px; font-weight: 600; display: flex; gap: 8px; align-items: center; }
.tile .val.none { color: var(--bad); }
.mini { width: 100%; border-collapse: collapse; font-size: 13px; }
.mini th { text-align: left; font-size: 12px; color: var(--muted); font-weight: 600; padding: 8px 12px; background: var(--soft); }
.mini td { padding: 8px 12px; border-top: 1px solid var(--line-2); vertical-align: top; }
.mini td.off { color: #9A8F82; }
.box { border: 1px solid var(--line-2); border-radius: 10px; overflow-x: auto; }
.box-head { padding: 9px 12px; background: var(--soft); display: flex; justify-content: space-between; gap: 8px; font-size: 13px; }
.figs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(150px, 100%), 1fr)); gap: 12px; }
.figs figure { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.figs img { width: 100%; height: 130px; object-fit: contain; background: var(--soft); border-radius: 8px; border: 1px solid var(--line-2); }
.figs figcaption { font-size: 12px; color: var(--muted); }
.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.checklist li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 8px; }
.checklist .ic { width: 16px; height: 16px; margin-top: 2px; }
.c-bad { color: var(--bad); } .c-warn { color: var(--warn); } .c-ok { color: var(--ok); }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.steps li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; font-size: 13px; }
.dot { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.dot.done { background: var(--ok); color: #fff; }
.dot.now { border: 2px solid var(--info); color: var(--info); }
.dot.todo { border: 2px solid #CFC6B9; color: #9A8F82; }
.revs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.revs li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line-2); font-size: 13px; }
.revs li:first-child { border-top: 0; }
.revs li.cur { font-weight: 600; }
.activity { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; font-size: 13px; }
.activity li { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 10px; padding: 9px 0; border-top: 1px solid #F0EBE4; }
.activity li:first-child { border-top: 0; }
.notice { padding: 12px 14px; border-radius: 10px; font-size: 13px; line-height: 1.5; }
.notice-warn { background: #FCF3E3; border: 1px solid #F0D9AE; color: #5C3A00; }
.notice-info { background: #F3F7FC; border: 1px solid #D6E3F3; color: #374A63; }
.notice-bad { background: #FDF0EE; border: 1px solid #F0C4BD; color: #6E1A12; }

/* login */
.login { display: flex; flex-wrap: wrap; min-height: 100vh; }
.login-art { flex: 1 1 420px; background: var(--brand-d); color: #EFE6DA; padding: 40px 48px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.login-art h1 { margin: 0; font-size: 32px; font-weight: 600; color: #fff; max-width: 520px; }
.login-art p { margin: 0; color: #D6C8B6; max-width: 520px; }
.login-form { flex: 1 1 420px; display: flex; align-items: center; justify-content: center; padding: 40px 20px; }
.login-form form { width: 100%; max-width: 400px; display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 600px) { .login-art { padding: 28px 20px; } .login-art h1 { font-size: 24px; } }

/* modal (native dialog) */
dialog { border: 0; border-radius: 14px; padding: 0; width: min(520px, calc(100vw - 32px)); box-shadow: 0 20px 60px rgba(0,0,0,.25); }
dialog::backdrop { background: rgba(30,26,22,.45); }
dialog form { padding: 20px 22px; display: flex; flex-direction: column; gap: 14px; }
dialog h2 { margin: 0; font-size: 18px; }
