:root {
  color-scheme: light;
  --ink: #142924;
  --muted: #49605b;
  --line: #d4e1da;
  --paper: #fff;
  --canvas: #f5f8f6;
  --accent: #176450;
  --accent-dark: #114736;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--canvas);
  line-height: 1.55;
}
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
a { color: var(--accent-dark); text-underline-offset: .2em; }
a:hover { color: var(--accent); }
button, input { font: inherit; }
:focus-visible { outline: 3px solid #177e65; outline-offset: 3px; }
p { margin: 0 0 .85rem; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { line-height: 1.16; margin: 0 0 .65rem; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); letter-spacing: -.048em; overflow-wrap: anywhere; }
h2 { font-size: 1.4rem; letter-spacing: -.02em; }
h3 { font-size: 1.15rem; }
.shell { width: min(1140px, calc(100% - 3rem)); margin-inline: auto; }
.site-header { background: #102c23; color: white; }
.header-inner { min-height: 4.2rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { font-weight: 730; text-decoration: none; letter-spacing: -.02em; }
.site-header a, .account-nav button { color: #f1fbf5; }
.account-nav { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem 1.2rem; font-size: .9rem; }
.account-nav button { border: 0; background: none; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: .2em; }
.skip-link { position: absolute; left: .8rem; top: -5rem; background: white; padding: .6rem; z-index: 1; }
.skip-link:focus { top: .8rem; }
.main { padding-block: 2.7rem 4rem; }
.project-section + .project-section { margin-top: 3.2rem; }
.project-header { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.15rem 2rem; padding: 1.8rem 2rem; margin-bottom: 1.5rem; background: #e6f1eb; border: 1px solid #d3e5db; border-radius: 1rem; }
.project-header p { color: var(--muted); }
.project-header > div:first-child { flex: 1 1 19rem; min-width: 0; }
.detail-header h1 { font-size: clamp(2rem, 4vw, 3.1rem); }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: .85rem; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: .95rem; }
.work-card { position: relative; padding: 1.3rem 1.4rem; min-height: 12.25rem; }
.work-card:hover, .work-card:focus-within { border-color: #84b2a0; }
.work-card h2 a { color: inherit; text-decoration: none; }
.work-card h2 a:hover { text-decoration: underline; }
.work-card h2 a::after { content: ""; position: absolute; inset: 0; border-radius: .85rem; }
.work-card p, .section-card p, .product p, .empty p, .auth-card > p { color: var(--muted); }
.card-top, .detail-meta, .product-meta, .product-links, .actions { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem .8rem; }
.card-top { justify-content: space-between; margin-bottom: .8rem; }
.detail-meta { margin-bottom: .75rem; }
.eyebrow { font-size: .875rem; font-weight: 690; color: var(--accent-dark); }
.status { font-size: .875rem; font-weight: 650; padding: .15rem .55rem; border-radius: .4rem; }
.status.draft { color: #74481d; background: #f8e9d6; }
.status.ready { color: #185340; background: #dcefe4; }
.work-card .card-rooms { font-size: .9rem; font-weight: 650; margin-top: .85rem; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 2.7rem; padding: .55rem .95rem; border: 1px solid var(--accent-dark); color: white; background: var(--accent-dark); border-radius: .5rem; font-weight: 660; text-decoration: none; cursor: pointer; }
.button:hover { background: var(--accent); color: white; }
.button.secondary { background: transparent; color: var(--accent-dark); border-color: #70998a; }
.button.secondary:hover { background: #dceee5; }
.crumbs { margin-bottom: .8rem; font-weight: 650; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); gap: 1.1rem; }
.detail-side, .detail-main { min-width: 0; }
.section-card, .empty { padding: 1.45rem; }
.section-card + .section-card { margin-top: 1rem; }
.section-card h3 { margin-top: 1.1rem; }
.draft-note { border-color: #eadbc7; background: #fffbf4; }
.product-section { margin-top: 1.65rem; }
.product { padding: 1.25rem; margin-top: .75rem; }
.product.with-image { display: grid; grid-template-columns: 9rem minmax(0, 1fr); align-items: start; gap: 1.2rem; }
.product figure { margin: 0; text-align: center; }
.product figure img { display: block; width: 100%; height: 7.25rem; object-fit: contain; padding: .45rem; border: 1px solid var(--line); border-radius: .5rem; }
.product figcaption { margin-top: .25rem; color: var(--muted); font-size: .8rem; line-height: 1.35; }
.product-meta { color: var(--muted); font-weight: 650; font-size: .9rem; margin-bottom: .45rem; }
.product-links { font-weight: 650; }
.document-list { list-style: none; padding: 0; margin: 0; }
.document-list li { padding: .55rem 0; overflow-wrap: anywhere; }
.document-list li + li { border-top: 1px solid var(--line); }
.copy-feedback { font-size: .875rem; color: var(--accent-dark); }
.copy-feedback:empty { display: none; }
.copy-link { width: min(100%, 25rem); }
.model-card { overflow: hidden; }
model-viewer { display: block; width: 100%; height: clamp(23rem, 67vh, 48rem); background: #e5eee9; }
.model-locations { margin-top: 1rem; }
.model-note, .model-error { margin: 0 0 1rem; color: var(--muted); }
.model-error { padding: .8rem; }
.hotspot { display: inline-block; padding: .35rem .65rem; background: var(--accent-dark); color: white; border: 2px solid white; border-radius: .4rem; font-weight: 650; }
.hotspot:hover { color: white; background: var(--accent); }
.auth-card { max-width: 32rem; margin: 1.5rem auto; padding: clamp(1.35rem, 5vw, 2.5rem); }
.auth-card h1 { font-size: 2.35rem; }
.account-form { margin-top: 1.5rem; }
.account-form label { display: block; font-weight: 650; }
.account-form input:not([type="hidden"]), .copy-link { border: 1px solid #809d93; border-radius: .35rem; padding: .55rem .65rem; background: white; color: var(--ink); }
.account-form input:not([type="hidden"]) { width: 100%; }
.account-form .helptext { display: block; font-size: .9rem; color: var(--muted); }
.errorlist { padding-left: 1.2rem; color: #8b2525; }
@media (max-width: 740px) {
  .shell { width: calc(100% - 1.6rem); }
  .header-inner { flex-wrap: wrap; padding-block: .75rem; }
  .main { padding-top: 1.65rem; }
  .project-header { padding: 1.3rem; }
  .detail-layout { grid-template-columns: 1fr; }
}
@media (max-width: 430px) {
  .product.with-image { grid-template-columns: 1fr; }
  .product figure { max-width: 10rem; text-align: left; }
}

.trade-section + .trade-section { margin-top: 1.7rem; }
.trade-section .work-card { min-height: 9rem; }
.trade-section .cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); }
.work-card h3 a { color: inherit; text-decoration: none; }
.work-card h3 a:hover { text-decoration: underline; }
.work-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: .85rem; }
.decision-list { list-style: none; margin: 0; padding: 0; }
.decision-list li { padding: .85rem 0; }
.decision-list li + li { border-top: 1px solid var(--line); }
.decision-list .detail-meta { margin-bottom: .4rem; }
.decision-source { font-size: .875rem; }
.shop-check { display: inline-flex; align-items: center; gap: .55rem; cursor: pointer; }
.shop-check input { width: 1.1rem; height: 1.1rem; flex: none; accent-color: var(--accent-dark); }
.editor-form { display: grid; gap: 1rem; max-width: 47rem; }
.editor-form > div > label { display: block; font-weight: 650; margin-bottom: .3rem; }
.editor-form > div > input, .editor-form textarea { width: 100%; padding: .55rem; font: inherit; border: 1px solid #809d93; border-radius: .35rem; }
.editor-form fieldset { border: 1px solid var(--line); border-radius: .5rem; }
.editor-form legend { font-weight: 650; }
.editor-form > button { justify-self: start; }
.choice-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: .55rem; }
.catalogue-preview { display: flex; align-items: center; gap: 1rem; border: 1px solid var(--line); border-radius: .5rem; padding: .8rem; }
.catalogue-preview img { width: 6rem; height: 5rem; object-fit: contain; }

/* Renovate workspace */
:root {
  --ink: #172541;
  --muted: #526383;
  --line: #dce4f1;
  --canvas: #f0f4fb;
  --paper: #fff;
  --accent: #264fd1;
  --accent-dark: #173caa;
  --accent-soft: #e8efff;
  --blueprint: #add5ff;
  --hero: #1945bd;
  --rail-width: 14.5rem;
  --radius: .8rem;
  --shadow: 0 6px 17px #16356c0a;
  font-family: "Inter", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #edf2ff;
  --muted: #aabbd9;
  --line: #263852;
  --paper: #131f34;
  --canvas: #0a1426;
  --accent: #8baaff;
  --accent-dark: #a5bfff;
  --accent-soft: #1c3159;
  --shadow: none;
}
:focus-visible { outline-color: var(--accent); }
.skip-link { background: var(--paper); z-index: 4; }
.workspace { min-height: 100vh; padding-left: var(--rail-width); }
.workspace-rail {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--rail-width);
  background: var(--paper);
  border-right: 1px solid var(--line);
  padding: 1.35rem 1rem;
  z-index: 3;
}
.brand { display: inline-flex; align-items: center; gap: .66rem; color: var(--ink); font-size: 1.33rem; font-weight: 790; letter-spacing: -.045em; }
.workspace-rail .brand { padding: .25rem .55rem; margin-bottom: 2.05rem; }
.brand-mark { display: inline-grid; place-items: center; width: 1.95rem; height: 1.95rem; position: relative; border-radius: .55rem; background: #2754da; flex: none; }
.brand-mark::before { content: ""; width: .78rem; height: .78rem; border: 2px solid white; border-radius: .14rem; transform: rotate(-15deg); }
.brand-mark::after { content: ""; position: absolute; width: .58rem; height: 2px; background: white; transform: rotate(-15deg); }
.rail-link { text-decoration: none; color: var(--muted); font-weight: 650; display: flex; align-items: center; gap: .75rem; padding: .65rem .7rem; border-radius: .48rem; font-size: .925rem; }
.rail-link + .rail-link { margin-top: .25rem; }
.rail-link:hover, .rail-link[aria-current="page"] { color: var(--accent-dark); background: var(--accent-soft); }
.rail-link.rail-admin { margin-top: 1.25rem; }
.rail-symbol { display: inline-grid; place-items: center; width: 1.15rem; font-size: 1.2rem; line-height: 1; }
.workspace-top { display: flex; justify-content: flex-end; align-items: center; min-height: 4.35rem; padding: .75rem 1.8rem; background: var(--paper); border-bottom: 1px solid var(--line); }
.account-nav a, .account-nav button { color: var(--muted); }
.account-nav button { font-weight: 650; }
.account-avatar { display: grid; place-items: center; width: 2.05rem; height: 2.05rem; color: white; background: #2754da; border-radius: .45rem; font-weight: 760; }
.theme-switch[data-theme-switch] { border: 1px solid var(--line); padding: .3rem .55rem; border-radius: .4rem; text-decoration: none; }
.compact-brand { display: none; }
.guest-top { padding: 1rem 1.7rem; border-bottom: 1px solid var(--line); background: var(--paper); }
.shell { width: min(1380px, calc(100% - 3.6rem)); }
.main { padding-top: 1.65rem; }
.page-heading { display: flex; justify-content: space-between; align-items: center; gap: .8rem; margin-bottom: 1rem; }
.page-heading h1 { font-size: clamp(1.6rem, 3.3vw, 2.2rem); margin: 0; letter-spacing: -.04em; }
.apartment-jumps { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 1.2rem; }
.project-header { background: var(--paper); border-color: var(--line); box-shadow: var(--shadow); border-radius: var(--radius); }
.project-header.dashboard-hero { min-height: 10rem; position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(116deg, #183b9e 0%, #244fca 55%, #296be4 100%); align-items: center; color: white; border: 0; }
.dashboard-hero::before { content: ""; position: absolute; z-index: -1; width: 22rem; height: 22rem; right: -4rem; top: -12rem; border: 1px solid #d3e6ff50; box-shadow: 0 0 0 2.5rem #d3e6ff13, 0 0 0 5rem #d3e6ff0c; border-radius: 2rem; transform: rotate(22deg); }
.dashboard-hero h2 { font-size: clamp(2rem, 3.6vw, 3rem); letter-spacing: -.05em; }
.dashboard-hero p { color: #e4edff; }
.dashboard-hero .button { background: white; border-color: white; color: #1a43b1; }
.dashboard-hero .button.secondary { color: white; background: #12316f40; border-color: #c0d6ff9c; }
.dashboard-hero .button:hover { background: #dce8ff; color: #183b9e; }
.card { border-radius: var(--radius); box-shadow: var(--shadow); }
.dashboard-section + .dashboard-section { margin-top: 1.55rem; }
.dashboard-section > h2 { margin-bottom: .8rem; }
.trade-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16.5rem), 1fr)); gap: .85rem; }
.trade-panel { overflow: hidden; }
.trade-panel h3 { margin: 0; background: var(--accent-soft); color: var(--accent-dark); border-left: 4px solid var(--accent); padding: .8rem .9rem; min-height: 3rem; display: flex; align-items: center; }
.trade-panel[data-trade="Heizung"] h3 { border-color: #ef8c46; }
.trade-panel[data-trade="Netzwerk"] h3 { border-color: #7f67dd; }
.trade-panel[data-trade="Wasser & Sanitär"] h3 { border-color: #21a1cf; }
.trade-panel[data-trade="Boden & Estrich"] h3 { border-color: #2c9f80; }
.trade-panel ul { list-style: none; margin: 0; padding: 0; }
.trade-panel li { display: flex; align-items: baseline; gap: .35rem; justify-content: space-between; padding: .7rem .85rem; }
.trade-panel li + li { border-top: 1px solid var(--line); }
.trade-panel li a { text-decoration: none; color: var(--ink); }
.trade-panel li a:hover { color: var(--accent-dark); text-decoration: underline; }
.private-label { color: var(--muted); font-size: .875rem; }
.button { color: white; background: #2852cd; border-color: #2852cd; }
.button:hover { background: #1c42b2; color: white; }
.button.secondary { background: var(--paper); border-color: var(--line); color: var(--accent-dark); }
.button.secondary:hover { background: var(--accent-soft); }
.work-card:hover, .work-card:focus-within { border-color: var(--accent); }
.draft-note { border-color: var(--line); background: var(--paper); }
:root[data-theme="dark"] .status.draft { color: #ffce95; background: #382b28; }
:root[data-theme="dark"] .status.ready { color: #acf0cf; background: #183933; }
.eyebrow, .copy-feedback { color: var(--accent-dark); }
.product figure img { background: white; }
.account-form input:not([type="hidden"]), .editor-form > div > input, .editor-form textarea, .copy-link {
  background: var(--paper); color: var(--ink); border-color: var(--line);
}
.catalogue-preview img { background: white; border-radius: .35rem; }
.login-page {
  background: radial-gradient(ellipse at 75% 76%, #558bf0 0, #2b58cc 46%, #132c70 100%);
  min-height: 100vh;
}
.login-page .main { min-height: 100vh; display: grid; place-items: center; padding: 1.5rem 0; }
.signin-surface { background: var(--paper); width: min(100%, 56rem); display: grid; grid-template-columns: 42% 58%; min-height: 30rem; border-radius: 1.1rem; overflow: hidden; box-shadow: 0 26px 80px #091c6670; }
.signin-art { background: #112c79; color: white; padding: 2rem; position: relative; isolation: isolate; overflow: hidden; }
.signin-art .brand { color: white; font-size: 1.65rem; }
.signin-art .brand-mark { width: 2.2rem; height: 2.2rem; }
.blueprint { position: absolute; inset: 0; z-index: -1; opacity: .55; background: repeating-linear-gradient(0deg, transparent 0 28px, #8abaff22 28px 29px), repeating-linear-gradient(90deg, transparent 0 28px, #8abaff22 28px 29px); }
.blueprint i { position: absolute; top: 8rem; left: 4rem; width: 16.5rem; height: 16.5rem; border: 1px solid #a7d7ff; border-radius: 1.05rem; transform: rotate(-25deg); }
.blueprint i:nth-child(2) { top: 11.5rem; left: 7.5rem; width: 10rem; height: 10rem; }
.blueprint i:nth-child(3) { top: 14.5rem; left: 10.3rem; width: 4rem; height: 4rem; }
.signin-form { align-self: center; padding: clamp(1.5rem, 4vw, 3.1rem); }
.signin-form h1 { font-size: 2.2rem; }
.signin-form p { color: var(--muted); }
.signin-form .button { width: 100%; }
@media (max-width: 850px) {
  :root { --rail-width: 11rem; }
  .shell { width: calc(100% - 2rem); }
  .workspace-top { padding-inline: 1rem; }
}
@media (max-width: 640px) {
  .workspace { padding-left: 0; }
  .workspace-rail { display: none; }
  .workspace-top { justify-content: space-between; flex-wrap: wrap; gap: .55rem; }
  .compact-brand { display: inline-flex; }
  .account-avatar { display: none; }
  .dashboard-hero { padding: 1.25rem; }
  .trade-grid { grid-template-columns: 1fr; }
  .signin-surface { grid-template-columns: 1fr; min-height: auto; }
  .signin-art { min-height: 7rem; padding: 1.15rem; }
  .blueprint i { top: -8rem; left: 42%; }
}

.inline-document { scroll-margin-top: 1rem; }
.inline-document + .inline-document { margin-top: 1rem; }
.detail-main > .inline-document { margin-top: 1rem; }
.document-chapter {
  border: 1px solid var(--line);
  border-radius: .55rem;
  background: var(--paper);
}
.document-chapter + .document-chapter { margin-top: .6rem; }
.document-chapter > summary,
.figure-legend > summary {
  cursor: pointer;
  font-weight: 700;
  padding: .7rem .85rem;
  color: var(--accent-dark);
}
.document-chapter[open] > summary { background: var(--accent-soft); border-radius: .5rem .5rem 0 0; }
.chapter-body { padding: .9rem; overflow-wrap: anywhere; }
.chapter-body h3 { margin: 1.1rem 0 .45rem; }
.chapter-body h3:first-child { margin-top: 0; }
.chapter-body .chapter-bullet { position: relative; padding-left: 1rem; }
.chapter-bullet::before { content: "•"; position: absolute; left: 0; color: var(--accent-dark); }
.chapter-body .table-scroll { overflow: auto; margin: .85rem 0; border: 1px solid var(--line); border-radius: .5rem; }
.content-table { border-collapse: collapse; width: 100%; font-size: .9rem; }
.table-scroll .content-table { min-width: 27rem; }
.content-table th, .content-table td { padding: .55rem .65rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.content-table thead th { background: var(--accent-soft); color: var(--ink); }
.table-scroll .content-table td { min-width: 3.75rem; min-height: 1.6rem; }
.content-table tbody tr:nth-child(even) { background: var(--canvas); }
.content-table tbody tr:last-child td, .content-table tbody tr:last-child th { border-bottom: 0; }
.chapter-figure { margin: .85rem 0; }
.chapter-figure img, .floor-figure img { display: block; height: auto; max-width: 100%; background: #fff; border-radius: .4rem; }
.chapter-figure img { max-height: 54rem; width: auto; margin-inline: auto; object-fit: contain; }
.chapter-figure figcaption, .floor-figure figcaption { font-size: .875rem; color: var(--muted); margin-top: .5rem; }
.figure-legend > summary { padding: .4rem 0; }
.figure-legend p { font-size: .875rem; }
.chapter-links { padding-left: 1.2rem; }
.floor-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 1rem; align-items: start; }
.floor-figure { margin: 0; padding: 1rem; }
.floor-figure img { width: 100%; }
.floor-table { font-variant-numeric: tabular-nums; }
.model-section { margin-top: 1rem; }
.model-section model-viewer { margin-top: .8rem; }
@media (max-width: 1050px) {
  .floor-layout { grid-template-columns: 1fr; }
  .floor-figure img { max-width: 34rem; width: 100%; margin-inline: auto; }
}

.room-map { position: relative; width: 100%; margin-inline: auto; }
.room-map img { width: 100%; }
.room-zone {
  position: absolute;
  left: var(--left);
  top: var(--top);
  width: var(--width);
  height: var(--height);
  box-sizing: border-box;
  display: flex;
  align-items: flex-start;
  padding: 3px;
  border: 2px solid #305bc0a6;
  border-radius: .3rem;
  background: #3678f016;
  text-decoration: none;
}
.room-zone span { background: #1d4199; color: #fff; border-radius: .22rem; padding: 0 .28rem; font-size: .79rem; font-weight: 700; }
.room-zone:hover, .room-zone[aria-current] { background: #3678f044; border-color: #184bc4; }
.room-zone[aria-current] { box-shadow: inset 0 0 0 1px #184bc4; }
.room-zone:focus-visible { outline-offset: 0; outline: 3px solid #113ec5; z-index: 1; }
.floor-zoom { display: inline-block; margin-top: .6rem; }
.room-details { scroll-margin-top: 1rem; }
.room-details ul { padding-inline-start: 1.2rem; }
.room-details li + li { margin-top: .28rem; }
.room-navigation { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .9rem; }
.room-navigation a { padding: .25rem .5rem; border: 1px solid var(--line); border-radius: .4rem; font-size: .875rem; text-decoration: none; }
.room-navigation a:hover, .room-navigation a[aria-current] { background: var(--accent-soft); border-color: var(--accent); }
@media (max-width: 1050px) { .room-map { max-width: 34rem; } }

/* Compact work sheets */
.workspace-top { min-height: 3.75rem; }
.main { padding-top: 1.2rem; }
.project-header.dashboard-hero { min-height: 0; padding: 1.2rem 1.4rem; }
.dashboard-hero h2 { font-size: clamp(1.65rem, 2.7vw, 2.45rem); margin-bottom: .3rem; }
.trade-panel h3 { min-height: 0; padding-block: .55rem; }
.trade-panel li { padding-block: .53rem; }
.work-sheet .detail-header { align-items: center; padding: .9rem 1.1rem; margin-bottom: .75rem; gap: .7rem 1rem; }
.work-sheet h1 { font-size: clamp(1.55rem, 2.6vw, 2.1rem); margin: .15rem 0; }
.work-sheet .detail-meta { margin-bottom: .15rem; }
.work-sheet .actions { gap: .4rem; }
.work-sheet .button { min-height: 2.2rem; padding: .35rem .65rem; font-size: .875rem; }
.sheet-intro { padding: .25rem .15rem; color: var(--muted); }
.sheet-intro p { margin-bottom: .4rem; }
.sheet-section { margin: 1rem 0 1.3rem; }
.sheet-section h2 { font-size: 1.15rem; margin: 0 0 .5rem; }
.sheet-scroll { overflow: auto; border: 1px solid var(--line); border-radius: .48rem; background: var(--paper); }
.sheet-table { border-collapse: collapse; width: 100%; font-size: .875rem; line-height: 1.4; }
.sheet-table th, .sheet-table td { padding: .45rem .62rem; border: 1px solid var(--line); text-align: left; vertical-align: middle; }
.sheet-table tr > :first-child { border-left: 0; }
.sheet-table tr > :last-child { border-right: 0; }
.sheet-table tbody tr:last-child > * { border-bottom: 0; }
.sheet-table thead th { border-top: 0; background: var(--accent-soft); color: var(--ink); white-space: nowrap; }
.sheet-table tbody tr:nth-child(even) { background: var(--canvas); }
.sheet-table tbody th { font-weight: 680; }
.product-table { min-width: 38rem; }
.product-table .quantity-cell { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.product-table .sku-cell { white-space: nowrap; font-variant-numeric: tabular-nums; }
.thumbnail-cell { width: 1%; }
.thumbnail-cell img { display: block; object-fit: contain; background: #fff; border-radius: .18rem; width: 44px; height: 44px; }
.thumbnail-cell a { display: block; width: 44px; }
.product-table .check-cell { text-align: center; }
.check-cell input { width: 1rem; height: 1rem; accent-color: var(--accent); }
.sheet-links a { display: block; white-space: nowrap; }
.sheet-note { display: block; font-weight: 400; color: var(--muted); margin-top: .15rem; white-space: pre-line; }
.decision-table { min-width: 25rem; }
.decision-table .status { white-space: nowrap; }

.portal-search { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; margin-bottom: 1rem; }
.portal-search label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.portal-search input { min-width: 10rem; flex: 1 1 12rem; padding: .55rem .7rem; border: 1px solid var(--line); border-radius: .45rem; background: var(--paper); color: var(--ink); }
.portal-search .button { padding: .36rem .75rem; min-height: 2.4rem; }
.dashboard-section-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .4rem 1rem; margin-bottom: .55rem; }
.dashboard-section-heading h2 { margin: 0; }
.dashboard-section-heading a { font-size: .875rem; }
