@font-face { font-family: "Plex"; src: url(/fonts/plex-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex"; src: url(/fonts/plex-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Plex"; src: url(/fonts/plex-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Plex"; src: url(/fonts/plex-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Plex Cond"; src: url(/fonts/plexc-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Plex Cond"; src: url(/fonts/plexc-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }

:root {
  /* graphite hall floor, panel board, brand red */
  --bg: #1c1f24;
  --panel: #252931;
  --raised: #2e333c;
  --line: #3a404b;
  --line-soft: #30353e;
  --text: #e6e8ec;
  --muted: #9aa1ad;
  --brand: #b41312;
  --brand-hi: #d8302c;
  --red: #e5484d;
  --yellow: #f2b53a;
  --green: #3fb37f;
  --grey: #8a919c;
  --dim: #ff7a6b;
  --focus: #7fb2ff;
  --radius-s: 4px;
  --radius-m: 8px;
  --radius-l: 14px;
  --font: "Plex", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-cond: "Plex Cond", "Plex", system-ui, sans-serif;
  --side-w: 248px;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { background: var(--bg); color: var(--text); font: 15px/1.5 var(--font); font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; font-weight: 600; }
h1 { font-size: 1.75rem; letter-spacing: -0.01em; }
h2 { font-size: 1.2rem; }
h3 { font-size: 1rem; }
p { margin: 0 0 .75rem; }
code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .85em; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.muted { color: var(--muted); }
.small { font-size: .82rem; }
.hint { color: var(--muted); font-size: .82rem; margin-top: .5rem; }
.nowrap { white-space: nowrap; }
.spacer { flex: 1; }
.boot { min-height: 100vh; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

/* ---------- form controls ---------- */
input, select, textarea, button { font: inherit; color: inherit; }
input:not([type=checkbox]):not([type=radio]), select, textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-s);
  padding: .55rem .7rem; min-height: 42px;
}
input:focus, select:focus, textarea:focus { border-color: var(--focus); outline: none; box-shadow: 0 0 0 3px rgba(127,178,255,.18); }
input[type=date] { color-scheme: dark; }
textarea { resize: vertical; }
.field { display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.field label { font-size: .82rem; color: var(--muted); font-weight: 500; }
.stack { display: flex; flex-direction: column; gap: 1rem; }
.narrow { max-width: 420px; }
.row2, .row3 { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.row3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 720px) { .row2, .row3 { grid-template-columns: 1fr; } }
.check-inline { display: flex; gap: .5rem; align-items: center; cursor: pointer; }
.check-inline input { width: 18px; height: 18px; accent-color: var(--brand); }
.checks { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; }
.check-list { display: flex; flex-direction: column; gap: .5rem; max-height: 50vh; overflow: auto; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 40px; padding: .45rem 1rem;
  border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--raised); cursor: pointer; text-decoration: none;
  font-weight: 500; white-space: nowrap; transition: background .15s, border-color .15s;
}
.btn:hover { background: #363c46; }
.btn:disabled { opacity: .45; cursor: default; }
.btn.primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn.primary:hover { background: var(--brand-hi); }
.btn.danger { border-color: #6b2a2c; color: #ff9a96; background: transparent; }
.btn.danger:hover { background: #3a2023; }
.btn.ghost { background: transparent; border-color: transparent; }
.btn.ghost:hover { background: var(--raised); }
.btn.small { min-height: 34px; padding: .3rem .7rem; font-size: .85rem; }
.btn.block { width: 100%; }
.btn-row { display: flex; gap: .5rem; flex-wrap: wrap; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: var(--radius-s); background: transparent; cursor: pointer; color: var(--muted); }
.icon-btn:hover { background: var(--raised); color: var(--text); }
.icon-btn.small { width: 28px; height: 28px; }
.icon { display: inline-grid; place-items: center; }
button.link { background: none; border: 0; padding: 0; color: var(--text); text-decoration: underline dotted; cursor: pointer; text-align: left; }

/* custom checkbox, large touch target */
.check { position: relative; display: inline-grid; place-items: center; width: 32px; height: 32px; cursor: pointer; }
.check input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.check .box { width: 22px; height: 22px; border: 2px solid #5a616d; border-radius: 5px; display: grid; place-items: center; transition: background .12s, border-color .12s; }
.check input:checked + .box { background: var(--green); border-color: var(--green); }
.check input:checked + .box::after { content: ""; width: 6px; height: 11px; border: solid #0d1f16; border-width: 0 2.5px 2.5px 0; transform: translateY(-1px) rotate(45deg); }
.check input:disabled + .box { opacity: .5; cursor: not-allowed; }
.check input:disabled { cursor: not-allowed; }
.check input:focus-visible + .box { outline: 2px solid var(--focus); outline-offset: 2px; }

/* status dots */
.dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; flex: none; }
.dot.red { background: var(--red); } .dot.yellow { background: var(--yellow); } .dot.green { background: var(--green); } .dot.grey { background: var(--grey); }
.dot.lg { width: 16px; height: 16px; }

/* ---------- language switch ---------- */
.lang-switch { display: flex; gap: 2px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 2px; }
.lang { display: flex; align-items: center; gap: .35rem; border: 0; background: transparent; padding: .3rem .55rem; border-radius: 3px; cursor: pointer; color: var(--muted); font-size: .8rem; font-weight: 600; }
.lang.active { background: var(--raised); color: var(--text); }
.flag { display: inline-flex; width: 20px; height: 14px; border-radius: 2px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255,255,255,.15); }
.flag svg { width: 100%; height: 100%; display: block; }
.lang-big { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .5rem; }

/* ---------- auth page ---------- */
.auth-page { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(380px, 1fr); }
.auth-brand { position: relative; padding: clamp(2rem, 5vw, 4.5rem); display: flex; flex-direction: column; background:
  linear-gradient(var(--line-soft) 1px, transparent 1px) 0 0 / 40px 40px, linear-gradient(90deg, var(--line-soft) 1px, transparent 1px) 0 0 / 40px 40px, #20242a; border-right: 1px solid var(--line); overflow: hidden; }
.auth-logo .logo { width: min(300px, 70%); height: auto; color: #fff; }
.auth-title { margin-top: clamp(2rem, 7vh, 5rem); font-size: clamp(3rem, 7vw, 5.6rem); font-weight: 700; letter-spacing: -0.035em; line-height: .95; }
.auth-sub { color: var(--muted); font-size: 1.05rem; margin-top: .75rem; max-width: 32ch; }
.plan-art-wrap { margin-top: auto; padding-top: 2rem; max-width: 520px; color: #6c7482; }
.plan-art { width: 100%; height: auto; }
.plan-art .dim { fill: var(--dim); font: 600 11px var(--font-cond); }
.plan-art .dots circle { stroke: #20242a; stroke-width: 3; }
.plan-art .dots text { fill: #111; font: 700 11px var(--font); text-anchor: middle; }
.plan-art .d-red { fill: var(--red); } .plan-art .d-yellow { fill: var(--yellow); } .plan-art .d-green { fill: var(--green); }
.auth-legend { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; gap: 1.25rem; flex-wrap: wrap; color: var(--muted); font-size: .85rem; }
.auth-legend li { display: flex; align-items: center; gap: .45rem; }
.auth-panel { display: flex; flex-direction: column; padding: 1.25rem clamp(1.25rem, 4vw, 3.5rem); }
.auth-top { display: flex; justify-content: flex-end; }
.auth-card { width: 100%; max-width: 480px; margin: auto; padding: 2rem 0; }
.tabs { display: flex; gap: 1.5rem; border-bottom: 1px solid var(--line); margin-bottom: 1.25rem; }
.tab { padding: .6rem 0; text-decoration: none; color: var(--muted); font-weight: 600; font-size: 1.1rem; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tab.active { color: var(--text); border-color: var(--brand); }
.auth-intro { color: var(--muted); }
.auth-form { display: flex; flex-direction: column; gap: 1rem; }
.auth-form .btn.primary { margin-top: .4rem; min-height: 46px; font-size: 1rem; }
.form-msg { margin-top: 1rem; font-size: .9rem; }
.form-msg.err { color: #ff9a96; }
.reg-done { padding: 1.25rem; border: 1px solid #2f5b46; background: #1f2d27; border-radius: var(--radius-m); }
.reg-done h3 { margin-bottom: .5rem; }
.auth-foot { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: space-between; color: var(--muted); font-size: .78rem; }
@media (max-width: 900px) {
  .auth-page { grid-template-columns: 1fr; }
  .auth-brand { border-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 1.5rem; }
  .plan-art-wrap { display: none; }
  .auth-title { margin-top: 1.5rem; }
}

/* ---------- legal ---------- */
.legal-page { max-width: 820px; margin: 0 auto; padding: 1.5rem; }
.legal-head { display: flex; align-items: center; justify-content: space-between; padding: .5rem 0 2rem; }
.legal-head .logo { width: 220px; height: auto; color: #fff; }
.legal h1 { margin-bottom: 1.5rem; }
.legal section { padding: 1rem 0; border-top: 1px solid var(--line-soft); }
.legal h2 { font-size: .95rem; color: var(--muted); font-weight: 500; margin-bottom: .4rem; }

/* ---------- shell ---------- */
body.shell #app { display: grid; grid-template-columns: var(--side-w) minmax(0, 1fr); min-height: 100vh; }
.sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; background: var(--panel); border-right: 1px solid var(--line); padding: 1.25rem .9rem 1rem; overflow-y: auto; }
.brand .logo { width: 100%; max-width: 200px; height: auto; color: #fff; display: block; }
.appname { display: flex; align-items: center; justify-content: flex-start; margin: 1rem -.2rem 1.4rem; padding: .6rem .8rem; border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--bg); text-decoration: none; color: inherit; }
.appname:hover { border-color: #4a515d; }
.app-text { display: flex; flex-direction: column; align-items: flex-start; text-align: left; min-width: 0; }
.app-text strong { font: 600 1.1rem/1.15 var(--font-cond); letter-spacing: .04em; color: #fff; }
.app-text span { font-size: .7rem; color: var(--muted); line-height: 1.3; }
.sidebar nav { display: flex; flex-direction: column; gap: 2px; }
.nav-item { display: flex; align-items: center; gap: .75rem; padding: .65rem .75rem; border-radius: var(--radius-s); text-decoration: none; color: #c3c8d1; font-weight: 500; position: relative; }
.nav-item:hover { background: var(--raised); color: var(--text); }
.nav-item.active { background: var(--raised); color: #fff; }
.nav-item.active::before { content: ""; position: absolute; left: -.9rem; top: 8px; bottom: 8px; width: 3px; background: var(--brand-hi); border-radius: 0 2px 2px 0; }
.nav-section { margin: 1.2rem .75rem .4rem; font-size: .75rem; color: var(--muted); font-weight: 600; }
.sidebar-foot { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: .5rem; }
.me { display: flex; flex-direction: column; padding: 0 .25rem; }
.me span { color: var(--muted); font-size: .8rem; }
.sidebar-foot .btn { justify-content: flex-start; }
.imprint-link { color: var(--muted); font-size: .78rem; padding: 0 .25rem; }
.main-col { min-width: 0; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: .75rem; padding: .6rem 1.5rem; background: rgba(28,31,36,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.project-select { max-width: 520px; font-weight: 500; background: var(--panel) !important; }
.menu-toggle { display: none; }
#view { padding: 1.5rem clamp(1rem, 2.5vw, 2.25rem) 3rem; outline: none; max-width: 1500px; width: 100%; }
#view.wide { max-width: none; }
.scrim { display: none; }
@media (max-width: 1100px) {
  body.shell #app { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: fixed; z-index: 50; left: 0; top: 0; width: 280px; transform: translateX(-100%); transition: transform .2s; }
  body.nav-open .sidebar { transform: none; box-shadow: 0 0 40px rgba(0,0,0,.5); }
  body.nav-open .scrim { display: block; position: fixed; inset: 0; z-index: 40; background: rgba(0,0,0,.45); }
  .menu-toggle { display: inline-grid; }
  .topbar { padding: .5rem .75rem; }
  .lang-code { display: none; }
}

/* ---------- page parts ---------- */
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.project-head { margin-bottom: .9rem; }
.page-head .muted { margin: .3rem 0 0; }
.head-actions { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.head-actions.left { margin-bottom: 1rem; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1.25rem; margin-bottom: 1.25rem; }
.card-title { margin-bottom: 1rem; display: flex; align-items: center; gap: .6rem; }
.count { background: var(--brand); color: #fff; font-size: .78rem; padding: .05rem .5rem; border-radius: 10px; }
.empty { padding: 3rem 1rem; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius-m); }
.banner { padding: .8rem 1rem; border-radius: var(--radius-s); margin-bottom: 1rem; }
.banner.warn { background: #3a2f17; border: 1px solid #6b5420; color: #ffd98a; }
.subtabs { display: flex; gap: 1.5rem; border-bottom: 1px solid var(--line); margin-bottom: 1.25rem; }
.subtabs a { text-decoration: none; padding: .5rem 0; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; font-weight: 500; }
.subtabs a.active { color: var(--text); border-color: var(--brand); }
dl.kv { display: grid; grid-template-columns: max-content 1fr; gap: .4rem 1.5rem; margin: 0 0 1.25rem; }
dl.kv dt { color: var(--muted); } dl.kv dd { margin: 0; }
.toolbar { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; margin-bottom: 1rem; }
.toolbar .search { max-width: 280px; }
.toolbar select { width: auto; }

/* overview */
.project-head h1 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 700; letter-spacing: -0.02em; }
.project-no { font: 600 .95rem var(--font-cond); color: var(--brand-hi); margin: 0 0 .25rem; letter-spacing: .03em; }
.project-fair { font-size: 1.2rem; color: #c3c8d1; margin: .3rem 0 0; }
.meta-line { display: flex; flex-wrap: wrap; gap: .3rem 1.6rem; padding: .6rem 0; margin-bottom: 1.25rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .82rem; }
.meta-item { flex: none; display: inline-flex; gap: .4rem; align-items: baseline; white-space: nowrap; }
.meta-k { color: var(--muted); }
.meta-item strong { font-weight: 600; }
.progress-strip.short { grid-template-columns: repeat(2, minmax(0, 220px)); }
.meta-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin-bottom: 1.5rem; }
.meta { padding: .8rem 1rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: .15rem; }
.meta span { font-size: .78rem; color: var(--muted); }
.meta strong { font-size: 1.1rem; font-weight: 600; }
.project-notes { color: #c3c8d1; max-width: 75ch; }
.progress-strip { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; margin-bottom: 1.5rem; }
.stage { position: relative; display: flex; flex-direction: column; gap: .2rem; padding: .7rem .8rem 1rem; background: var(--panel); text-decoration: none; overflow: hidden; }
.stage:first-child { border-radius: var(--radius-s) 0 0 var(--radius-s); } .stage:last-child { border-radius: 0 var(--radius-s) var(--radius-s) 0; }
.stage-label { font-size: .78rem; color: var(--muted); line-height: 1.25; min-height: 2.5em; }
.stage-num { font: 600 1.25rem var(--font-cond); }
.stage-bar { position: absolute; left: 0; bottom: 0; height: 4px; width: calc(var(--pct) * 100%); background: var(--green); }
@media (max-width: 900px) { .progress-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); } .stage { border-radius: 0 !important; } }
.deadlines { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.dl-box { border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1rem 1.25rem; }
.dl-box.overdue { border-color: #6b2a2c; background: #2a1d20; }
.dl-box h3 { margin-bottom: .5rem; }
.dl-box ul { margin: 0; padding-left: 1.1rem; }
.dl-box a { font-weight: 600; }

/* floor plan */
.plan-wrap { display: flex; flex-direction: column; gap: .75rem; }
.plan-tools { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius-s); overflow: hidden; }
.seg button { border: 0; background: transparent; padding: .5rem 1rem; cursor: pointer; color: var(--muted); font-weight: 500; }
.seg button.active { background: var(--raised); color: var(--text); }
.floor-label { font-weight: 600; }
.plan-body { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 1rem; align-items: start; }
.plan-main { min-width: 0; }
.plan-scroll { overflow: auto; max-height: calc(100vh - 220px); border: 1px solid var(--line); border-radius: var(--radius-m); background: #fff; touch-action: pan-x pan-y; }
.compact .plan-scroll { max-height: 70vh; }
.plan-canvas { min-width: 100%; }
.plan-layer { position: relative; line-height: 0; }
.plan-layer.editing { cursor: crosshair; }
.plan-img { width: 100%; height: auto; display: block; user-select: none; -webkit-user-select: none; }
.marker {
  position: absolute; transform: translate(-50%, -50%); min-width: 34px; height: 34px; padding: 0 .4rem; border-radius: 17px; border: 3px solid #fff;
  display: grid; place-items: center; font: 700 .9rem var(--font); color: #111; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.45); line-height: 1; touch-action: none;
}
.marker.red { background: var(--red); color: #fff; } .marker.yellow { background: var(--yellow); } .marker.green { background: var(--green); } .marker.grey { background: var(--grey); color: #fff; }
.marker.parked { border-style: dashed; box-shadow: 0 0 0 3px rgba(127,178,255,.55), 0 2px 8px rgba(0,0,0,.45); }
.marker:hover { transform: translate(-50%, -50%) scale(1.12); z-index: 2; }
.editing .marker { cursor: grab; outline: 2px dashed rgba(0,0,0,.4); outline-offset: 3px; }
.plan-empty { border: 1px dashed var(--line); border-radius: var(--radius-m); padding: 3rem 1.5rem; text-align: center; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: .75rem; }
.plan-legend { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1rem; position: sticky; top: 70px; }
.plan-legend h3 { margin-bottom: .75rem; }
.plan-legend h4 { margin: 1rem 0 .4rem; font-size: .85rem; color: var(--muted); font-weight: 500; }
.legend-list { list-style: none; margin: 0 0 .75rem; padding: 0; display: flex; flex-direction: column; gap: .6rem; }
.legend-list li { display: grid; grid-template-columns: 16px 1fr auto; gap: .6rem; align-items: center; font-size: .9rem; }
.legend-list .dot { width: 16px; height: 16px; border: 2px solid #fff; }
.unplaced { list-style: none; margin: 0; padding: 0; font-size: .88rem; display: flex; flex-direction: column; gap: .2rem; }
.plan-card .plan-legend { position: static; }
@media (max-width: 900px) { .plan-body { grid-template-columns: 1fr; } .plan-legend { position: static; } }
.up-host:empty { display: none; }
.up-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .3rem .75rem; align-items: center; padding: .6rem .75rem; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--bg); margin-top: .5rem; text-align: left; }
.up-row progress { grid-column: 1 / -1; width: 100%; height: 6px; accent-color: var(--brand); }
.up-name { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.up-info { font-size: .8rem; color: var(--muted); grid-column: 1; }
.up-row .btn { grid-row: 1; grid-column: 2; }

/* graphics list */
.table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--panel); -webkit-overflow-scrolling: touch; }
table { border-collapse: separate; border-spacing: 0; width: 100%; }
th, td { padding: .6rem .75rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-soft); }
thead th { position: sticky; top: 0; background: var(--raised); font-size: .92rem; font-weight: 600; color: #c3c8d1; z-index: 2; vertical-align: bottom; }
tbody tr:hover td, tbody tr:hover th { background: rgba(255,255,255,.02); }
.glist { min-width: 1120px; }
.glist thead th { min-width: 90px; line-height: 1.25; }
.glist .wall-cell { font-weight: 400; }
.glist .wall-cell strong { font-weight: 600; }
.glist .wall-cell { position: sticky; left: 0; background: var(--panel); z-index: 1; min-width: 190px; border-right: 1px solid var(--line); }
.glist thead .wall-cell { z-index: 3; background: var(--raised); }
.wall-cell a { display: flex; align-items: center; gap: .5rem; text-decoration: none; font-size: 1.05rem; }
.wall-title { display: block; color: #c3c8d1; font-size: .85rem; margin-top: .15rem; }
.wall-sub { display: block; color: var(--muted); font-size: .75rem; }
.flag-cell { min-width: 96px; }
.flag-cell .by { display: flex; flex-direction: column; font-size: .72rem; color: var(--muted); line-height: 1.3; margin-top: .15rem; }
.flag-cell .by span { color: #c3c8d1; }
td.deadline input { min-width: 140px; min-height: 36px; padding: .3rem .5rem; }
td.deadline.overdue input, td.deadline.overdue { color: #ff9a96; border-color: #6b2a2c; }
.empty-row { text-align: center; color: var(--muted); padding: 2rem; }
table.simple td.actions { white-space: nowrap; text-align: right; }
table.simple tr.archived td, table.simple tr.inactive td { opacity: .55; }
table.simple select { min-height: 34px; padding: .25rem .5rem; width: auto; }
table.logs td.details { max-width: 520px; word-break: break-word; }

/* comments */
.comments-panel { display: flex; flex-direction: column; gap: .75rem; }
.comments { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .6rem; max-height: 50vh; overflow: auto; }
.comment { background: var(--bg); border: 1px solid var(--line-soft); border-radius: var(--radius-s); padding: .6rem .8rem; }
.comment.from-customer { border-left: 3px solid var(--yellow); }
.c-head { display: flex; gap: .6rem; align-items: center; font-size: .82rem; margin-bottom: .2rem; }
.c-head .icon-btn { margin-left: auto; }
.comment p { margin: 0; }
.comment-form { display: flex; flex-direction: column; gap: .5rem; align-items: flex-end; }

/* wall cards */
.wall-group { margin-bottom: 2rem; }
.group-title { margin-bottom: .9rem; }
.wall-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1rem; }
.wall-card { display: flex; flex-direction: column; text-decoration: none; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; transition: border-color .15s; }
.wall-card:hover { border-color: #59606c; }
.wall-sil { height: 120px; display: grid; place-items: center; padding: 1rem; background: #20242a; border-bottom: 3px solid var(--red); }
.wall-card.yellow .wall-sil { border-color: var(--yellow); } .wall-card.green .wall-sil { border-color: var(--green); } .wall-card.grey .wall-sil { border-color: var(--grey); }
.sil { max-width: 100%; max-height: 100%; height: 100%; background: #e9ebee; display: grid; place-items: center; }
.sil span { font: 500 .72rem var(--font-cond); color: #555; }
.wc-body { padding: .8rem 1rem; display: flex; flex-direction: column; gap: .3rem; }
.wc-title { display: flex; align-items: center; gap: .5rem; }
.wc-title strong { font-size: 1.15rem; }
.wc-title span { color: #c3c8d1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wc-meta { display: flex; gap: .8rem; flex-wrap: wrap; font-size: .8rem; color: var(--muted); }
.wc-meta span { display: inline-flex; align-items: center; gap: .25rem; }
.overdue { color: #ff9a96 !important; }

/* ---------- wall editor ---------- */
.wall-head h1 { display: flex; align-items: center; gap: .65rem; flex-wrap: wrap; }
.wall-h-title { font-weight: 400; color: #c3c8d1; font-size: 1.3rem; }
.back { color: var(--muted); font-size: .85rem; text-decoration: none; }
.back::before { content: "‹ "; }
.approved-badge { display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .9rem; border-radius: var(--radius-s); background: #3a2f17; color: #ffd98a; border: 1px solid #6b5420; font-size: .88rem; }
.wall-layout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 1rem; align-items: start; }
.wall-stage { min-width: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; }
.wall-toolbar { display: flex; flex-wrap: wrap; gap: .4rem .9rem; padding: .5rem; border-bottom: 1px solid var(--line); align-items: center; }
.tool-group { display: flex; gap: 2px; align-items: center; flex-wrap: wrap; }
.tool-group.right { margin-left: auto; }
.tool { display: inline-flex; align-items: center; gap: .4rem; border: 1px solid transparent; background: transparent; padding: .4rem .65rem; min-height: 38px; border-radius: var(--radius-s); cursor: pointer; color: #c3c8d1; font-size: .85rem; }
.tool:hover { background: var(--raised); }
.tool.active { background: var(--raised); border-color: var(--line); color: #fff; }
.tool.accent { border-color: #6b2a2c; color: #ffb3ad; }
.tool.accent:hover { background: #3a2023; }
.tool.toggle input { accent-color: var(--dim); width: 16px; height: 16px; }
.select-inline select { min-height: 32px; padding: .15rem .4rem; width: auto; }
.wall-canvas { height: min(72vh, 760px); background: #1a1d22; position: relative; }
.wall-svg { width: 100%; height: 100%; display: block; touch-action: none; user-select: none; -webkit-user-select: none; cursor: default; }
.wall-surface { fill: #eceef1; }
.wall-outline { fill: none; stroke: #fff; stroke-width: 2px; vector-effect: non-scaling-stroke; pointer-events: none; }
.view-bg { pointer-events: none; }
.shape { fill: none; stroke: #2a2f37; stroke-width: 2px; vector-effect: non-scaling-stroke; cursor: move; }
rect.shape { fill: rgba(42,47,55,.06); }
.shape.selected { stroke: var(--focus); stroke-width: 3px; }
.shape.ghost { stroke: var(--focus); stroke-dasharray: 6 4; }
.placement { cursor: move; }
.pl-frame { fill: transparent; stroke: rgba(0,0,0,.25); stroke-width: 1px; vector-effect: non-scaling-stroke; }
.placement.selected .pl-frame { stroke: var(--focus); stroke-width: 2.5px; }
.missing { fill: #888; text-anchor: middle; font-family: var(--font); }
.handle { fill: #fff; stroke: var(--focus); stroke-width: 2px; vector-effect: non-scaling-stroke; cursor: nwse-resize; }
.handle[data-handle=ne], .handle[data-handle=sw] { cursor: nesw-resize; }
.dims { pointer-events: none; }
.dims line { stroke: var(--dim); stroke-width: 1px; vector-effect: non-scaling-stroke; }
.dims line.ext { stroke-opacity: .55; stroke-dasharray: 3 3; }
.dims line.tick { stroke-width: 2px; }
.dims .overall { stroke: #9aa1ad; }
.dim-text { fill: var(--dim); font-family: var(--font-cond); font-weight: 600; text-anchor: middle; }
.dim-text.overall { fill: #c3c8d1; }
.sel-panel { border-top: 1px solid var(--line); padding: .6rem .75rem; min-height: 56px; }
.sel-panel p { margin: .3rem 0; }
.sel-row { display: flex; flex-wrap: wrap; gap: .5rem .75rem; align-items: center; }
.sel-name { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.num { display: inline-flex; align-items: center; gap: .35rem; font-size: .8rem; color: var(--muted); }
.num input { width: 96px; min-height: 34px; padding: .25rem .45rem; }
.sel-actions { display: flex; gap: .4rem; margin-left: auto; flex-wrap: wrap; }
.wall-side { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; position: sticky; top: 70px; max-height: calc(100vh - 90px); display: flex; flex-direction: column; }
.side-tabs { display: flex; border-bottom: 1px solid var(--line); }
.side-tabs button { flex: 1; border: 0; background: transparent; padding: .7rem .4rem; cursor: pointer; color: var(--muted); font-weight: 500; font-size: .85rem; border-bottom: 2px solid transparent; }
.side-tabs button.active { color: var(--text); border-color: var(--brand); }
.side-body { padding: 1rem; overflow-y: auto; }
.file-list { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-direction: column; gap: .75rem; }
.file-item { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: .75rem; padding-bottom: .75rem; border-bottom: 1px solid var(--line-soft); }
.thumb { width: 92px; height: 92px; border-radius: var(--radius-s); display: grid; place-items: center; overflow: hidden;
  background: repeating-conic-gradient(#2c3038 0 25%, #353a43 0 50%) 0 0 / 14px 14px; }
.thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.file-meta { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.file-meta strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-actions { display: flex; gap: .3rem; margin-top: .35rem; flex-wrap: wrap; }
.status-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.status-list li { display: flex; gap: .6rem; align-items: center; padding: .55rem 0; border-bottom: 1px solid var(--line-soft); }
.status-list li div { display: flex; flex-direction: column; }
.view-file { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: .5rem; }
.danger-zone { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--line); }
@media (max-width: 1250px) {
  .wall-layout { grid-template-columns: 1fr; }
  .wall-side { position: static; max-height: none; }
  .wall-canvas { height: 60vh; }
  .tool > span:not(.icon) { display: none; }
  .tool.accent > span, .tool.toggle > span, .select-inline > span { display: inline; }
}

/* snippet tool */
.snippet { display: flex; flex-direction: column; gap: .75rem; }
.snip-stage { position: relative; align-self: center; touch-action: none; cursor: crosshair; user-select: none; line-height: 0;
  background: repeating-conic-gradient(#2c3038 0 25%, #353a43 0 50%) 0 0 / 16px 16px; }
.snip-stage img { max-width: 100%; max-height: 62vh; display: block; pointer-events: none; }
.snip-shade { position: absolute; inset: 0; background: rgba(0,0,0,.55); pointer-events: none; }
.snip-box { position: absolute; border: 2px solid var(--dim); box-shadow: 0 0 0 1px rgba(0,0,0,.5); cursor: move; }
.snip-box .h { position: absolute; width: 18px; height: 18px; background: #fff; border: 2px solid var(--dim); }
.h.nw { left: -10px; top: -10px; cursor: nwse-resize; } .h.ne { right: -10px; top: -10px; cursor: nesw-resize; }
.h.sw { left: -10px; bottom: -10px; cursor: nesw-resize; } .h.se { right: -10px; bottom: -10px; cursor: nwse-resize; }
.snip-info { margin: 0; text-align: center; }

/* admin */
.pending-card { border-color: #6b5420; }
.pending-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.pending-list li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding: .75rem 0; border-top: 1px solid var(--line-soft); }
.pw-box { display: flex; gap: .75rem; align-items: center; padding: .75rem 1rem; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-s); }
.pw-box code { font-size: 1.15rem; letter-spacing: .05em; flex: 1; }
.badge { padding: .1rem .5rem; border-radius: 10px; font-size: .78rem; background: var(--raised); }
.badge.sent { background: #1f3a2d; color: #8fe0b9; } .badge.error { background: #3a2023; color: #ff9a96; }
.pager { display: flex; gap: .4rem; align-items: center; margin-left: auto; }

/* modal + toast */
dialog.modal { width: min(560px, calc(100vw - 2rem)); max-height: calc(100vh - 2rem); padding: 0; border: 1px solid var(--line); border-radius: var(--radius-l); background: var(--panel); color: var(--text); box-shadow: 0 30px 80px rgba(0,0,0,.6); display: flex; flex-direction: column; }
dialog.modal:not([open]) { display: none; }
dialog.modal.wide { width: min(980px, calc(100vw - 2rem)); }
dialog::backdrop { background: rgba(10,12,15,.7); }
dialog header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 1rem .9rem 1.25rem; border-bottom: 1px solid var(--line); }
dialog header h2 { font-size: 1.1rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.modal-body { padding: 1.25rem; overflow: auto; }
dialog footer { display: flex; justify-content: flex-end; gap: .5rem; flex-wrap: wrap; padding: .9rem 1.25rem; border-top: 1px solid var(--line); }
#toasts { position: fixed; right: 1rem; bottom: 1rem; z-index: 1000; display: flex; flex-direction: column; gap: .5rem; max-width: min(420px, calc(100vw - 2rem)); }
.toast { padding: .75rem 1rem; border-radius: var(--radius-s); background: var(--raised); border: 1px solid var(--line); border-left: 4px solid var(--green); box-shadow: 0 10px 30px rgba(0,0,0,.4); animation: tin .2s ease-out; }
.toast.err { border-left-color: var(--red); } .toast.warn { border-left-color: var(--yellow); }
.toast.out { opacity: 0; transition: opacity .3s; }
@keyframes tin { from { transform: translateY(8px); opacity: 0; } }

/* ---------- v2: graphics sub rows, file view, locks ---------- */
.glist.customer { min-width: 760px; }
.glist tr.sub-row th, .glist tr.sub-row td { background: #22262d; border-bottom-color: #2a2e36; padding-top: .4rem; padding-bottom: .4rem; }
.glist .wall-cell.sub { padding-left: 2.1rem; background: #22262d; }
.gno { display: inline-block; font: 600 .85rem var(--font-cond); padding: .1rem .5rem; border-radius: 3px; background: var(--raised); border: 1px solid var(--line); color: #fff; letter-spacing: .02em; }
.gfx-cell { min-width: 220px; }
.file-link { display: flex; align-items: center; gap: .6rem; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; max-width: 340px; }
.file-link img, .thumb-ph { width: 44px; height: 44px; object-fit: contain; border-radius: 3px; background: repeating-conic-gradient(#2c3038 0 25%, #353a43 0 50%) 0 0 / 10px 10px; flex: none; display: grid; place-items: center; }
.file-link:hover strong { text-decoration: underline; }
.fl-text { display: flex; flex-direction: column; min-width: 0; }
.fl-text strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.btn.has { color: #ffd98a; }
.lock-tag { display: block; font-size: .72rem; color: #ff9a96; }
.file-view { display: flex; flex-direction: column; gap: 1rem; }
.fv-img { background: repeating-conic-gradient(#2c3038 0 25%, #353a43 0 50%) 0 0 / 16px 16px; display: grid; place-items: center; border-radius: var(--radius-s); }
.fv-img img { max-width: 100%; max-height: 66vh; display: block; }
.fv-meta { display: flex; flex-wrap: wrap; gap: .4rem 1rem; align-items: center; }
dialog header .btn { margin-left: auto; }
.banner.lock { background: #3a2023; border: 1px solid #6b2a2c; color: #ffb3ad; }
.upload-row { display: grid; grid-template-columns: 1fr; gap: .5rem; }
.upload-row .btn { min-height: 44px; }
.btn.nograph { border-color: var(--brand); background: var(--brand); color: #fff; position: relative; }
.btn.nograph:hover { background: var(--brand-hi); }
.btn.nograph.active { background: #4a4f58; border-color: #5c626c; color: #e6e8ec; }
.ok-check { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--green); color: #0d1f16; }
.ok-check svg { stroke-width: 3; }
.approved-badge.grey { background: #33373e; border-color: #4a4f58; color: #e6e8ec; }
.file-card { display: flex; flex-direction: column; gap: .7rem; padding: .85rem; border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--bg); }
.fc-top { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: .8rem; }
.file-card .thumb { width: 96px; height: 96px; border: 0; padding: 0; cursor: zoom-in; }
.fc-title { display: flex; gap: .45rem; align-items: center; min-width: 0; }
.fc-title strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fc-type { display: flex; flex-direction: column; gap: .15rem; margin-top: .25rem; }
.fc-type select { min-height: 34px; padding: .2rem .45rem; }
.fc-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem; }
.fc-actions .btn { min-height: 44px; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.fc-actions .fc-comments { grid-column: 1 / -1; }
.fc-actions .btn.danger { background: #3a2023; }
.file-list { gap: .9rem; border: 0; }
.dims .dim-text.editable { pointer-events: auto; cursor: pointer; text-decoration: underline; text-decoration-style: dotted; }
.dims .dim-text.editable:hover { fill: #fff; }
.dim-input { position: absolute; z-index: 5; transform: translate(-50%, -50%); width: 110px !important; min-height: 38px !important; text-align: center; font: 600 1rem var(--font-cond); border: 2px solid var(--dim) !important; background: #111418 !important; }
.wall-svg .dim-text { paint-order: stroke; stroke: #1a1d22; stroke-width: 3px; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.card.must { border-color: #6b5420; }
.restore-job > .btn, .restore-job > a.btn { align-self: flex-start; }
.restore-job { border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 1rem; display: flex; flex-direction: column; gap: .75rem; }
.rj-head { display: flex; gap: .8rem; align-items: center; flex-wrap: wrap; }
.err-text { color: #ff9a96; } .ok-text { color: #8fe0b9; }
.field.end { justify-content: flex-end; padding-bottom: .5rem; }
.badge.pending, .badge.running, .badge.uploaded { background: #3a2f17; color: #ffd98a; }
.intro { max-width: 80ch; }

/* v3: per-graphic rows */
.glist .wall-cell.sub { padding: 0; background: #1e2127; }
.gno-wrap { margin-left: 50%; height: 100%; min-height: 58px; display: flex; flex-direction: column; justify-content: center; gap: .2rem; padding: .4rem .75rem; border-left: 1px solid var(--line); background: #22262d; }
.gno-label { font-size: .72rem; color: var(--muted); font-weight: 500; }
.gno-wrap .gno { align-self: flex-start; }
.glist tr.wall-row th, .glist tr.wall-row td { border-top: 2px solid var(--line); }
.flag-cell.agg { color: var(--muted); }
.agg-count { display: block; font: 600 .82rem var(--font-cond); color: #c3c8d1; }
.agg-hint { display: block; font-size: .7rem; color: var(--muted); }
.flag-cell.agg .check { float: left; margin-right: .3rem; }
.check input:indeterminate + .box { background: #6b5420; border-color: var(--yellow); }
.check input:indeterminate + .box::after { content: ""; width: 10px; height: 2.5px; background: var(--yellow); border: 0; transform: none; }
td.deadline.agg input { opacity: .85; }
.btn.approved { background: #1f3a2d; border-color: #2f5b46; color: #8fe0b9; }
.btn.approved:hover { background: #24463a; }
.file-card.approved { border-color: #2f5b46; }
.status-graphic { border: 1px solid var(--line); border-radius: var(--radius-m); padding: .7rem .85rem; margin-bottom: .75rem; }
.status-graphic .status-list li:last-child { border-bottom: 0; }

.agg-box { display: flex; align-items: center; gap: .35rem; }
.flag-cell.agg .check { float: none; margin: 0; }
.glist .flag-cell { min-width: 86px; }
.glist td.deadline input { min-width: 128px; }
.fc-actions .btn { padding: .4rem .55rem; font-size: .86rem; gap: .35rem; }
.plan-scroll.zoomed { cursor: grab; }
.plan-scroll.panning { cursor: grabbing; user-select: none; }
.plan-scroll.panning .marker { pointer-events: none; }

/* wall cards with delete button */
.wall-card { position: relative; }
.wc-link { display: flex; flex-direction: column; text-decoration: none; color: inherit; flex: 1; }
.wc-foot { display: flex; justify-content: flex-end; padding: 0 .6rem .6rem; margin-top: -.2rem; }
.wc-delete { display: inline-flex; align-items: center; gap: .35rem; border: 1px solid #6b2a2c; background: transparent; color: #ff9a96; border-radius: var(--radius-s); padding: .3rem .65rem; min-height: 34px; cursor: pointer; font-size: .82rem; }
.wc-delete:hover { background: #3a2023; }
/* backup configuration */
.backup-config .cfg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); gap: 1.5rem; margin: 1rem 0; }
.cfg-block h3 { margin: .8rem 0 .3rem; font-size: .95rem; }
.cfg-block h3:first-child { margin-top: 0; }
.rules { display: flex; flex-direction: column; gap: .5rem; margin: .5rem 0; }
.rule-row { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; margin: .35rem 0; }
.rule-row input[type=number] { width: 80px; }
.rule-row select { width: auto; }
.rule-row input[type=time] { width: 120px; }
.rule-no { color: var(--muted); width: 1.5rem; }
.snip-page { display: flex; align-items: center; gap: .5rem; }
.snip-page select { width: auto; }
.view-existing { display: flex; flex-direction: column; gap: .3rem; }
/* approval lock on the wall */
.placement.locked { cursor: not-allowed; }
.placement.locked .pl-frame { stroke: #3fb37f; stroke-width: 2px; }
.approved-ghost { fill: none; stroke: #f2b53a; stroke-width: 2px; stroke-dasharray: 8 5; vector-effect: non-scaling-stroke; pointer-events: none; }
.lock-note { color: #8fe0b9; font-weight: 600; }
.restore-note { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; padding: .4rem .6rem; border: 1px solid #6b5420; background: #3a2f17; color: #ffd98a; border-radius: var(--radius-s); width: 100%; }
.btn.warn { border-color: #6b5420; color: #ffd98a; background: transparent; }
.btn.warn:hover { background: #4a3c1d; }
/* version label */
.version { background: none; border: 0; padding: .1rem .25rem; color: var(--muted); font: 500 .74rem var(--font); text-align: left; cursor: default; user-select: none; -webkit-tap-highlight-color: transparent; }
.version:focus-visible { outline: 1px dotted var(--muted); }

/* easter egg */
.egg { position: fixed; inset: 0; z-index: 5000; background: radial-gradient(ellipse at 50% 35%, #1b1410 0%, #07080a 70%); display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: auto; padding: 1rem; cursor: pointer; animation: egg-in .5s ease-out; outline: none; }
.egg.out { opacity: 0; transition: opacity .4s; }
.egg-art { margin: 0; font-family: "Cascadia Mono", "DejaVu Sans Mono", Consolas, "Liberation Mono", Menlo, monospace; font-size: clamp(6px, 1.32vw, 15px); line-height: 1.12; color: #c9ccd3; white-space: pre; text-shadow: 0 0 6px rgba(255, 255, 255, .08); }
.egg-line { opacity: 0; animation: egg-line .35s ease-out forwards; }
.egg-logo { color: #d8302c; text-shadow: 0 0 10px rgba(216, 48, 44, .55); }
.egg-pyr { color: #e2b04a; text-shadow: 0 0 8px rgba(226, 176, 74, .35); }
.egg-quote { color: #ffffff; font-weight: 700; letter-spacing: .02em; }
.egg-box { color: #9aa1ad; }
.egg-eye { color: #ff3b30; font-weight: 700; text-shadow: 0 0 6px #ff3b30, 0 0 18px #ff3b30; animation: egg-eye 2.4s ease-in-out infinite; }
.egg-hint { color: #5d636e; font: .75rem var(--font); margin-top: 1.2rem; letter-spacing: .1em; }
@keyframes egg-in { from { opacity: 0; } }
@keyframes egg-line { from { opacity: 0; transform: translateY(4px); filter: blur(2px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes egg-eye { 50% { opacity: .55; text-shadow: 0 0 3px #ff3b30; } }
@media (prefers-reduced-motion: reduce) { .egg-line { opacity: 1; animation: none; } .egg-eye { animation: none; } }
/* walls page with action panel */
.walls-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 1.5rem; align-items: start; }
.walls-actions { position: sticky; top: 80px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1rem; display: flex; flex-direction: column; gap: .75rem; }
.walls-actions h3 { font-size: 1rem; }
.walls-actions .btn { white-space: normal; text-align: left; justify-content: flex-start; min-height: 46px; }
@media (max-width: 1100px) { .walls-layout { grid-template-columns: 1fr; } .walls-actions { position: static; } }
.print-size { color: #c3c8d1; font-weight: 500; }
.print-size .est { color: #ffd98a; font-weight: 400; }
.size-fix { display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; margin-top: .2rem; }
.size-fix input { width: 110px; min-height: 32px; padding: .2rem .4rem; }
.reg-card { border-color: #6b5420; }
/* registrations next to the project title */
.project-head { align-items: flex-start; flex-wrap: nowrap; }
.project-head .reg-card { margin: 0 0 0 auto; flex: 0 1 760px; min-width: 0; padding: .9rem 1.1rem; }
.project-head .reg-card .card-title { margin-bottom: .5rem; font-size: 1.05rem; }
.project-head .reg-card .pending-list li { padding: .55rem 0; }
@media (max-width: 1100px) { .project-head { flex-wrap: wrap; } .project-head .reg-card { flex-basis: 100%; margin-left: 0; } }
.project-head .reg-card .pending-list li { flex-wrap: nowrap; }
.project-head .reg-card .pending-list li > div:first-child { flex: 1; min-width: 0; }
.project-head .reg-card .pending-list li .btn-row { flex: none; flex-wrap: nowrap; }
