:root {
  color-scheme: dark;
  --bg: #232629;
  --white: #303437;
  --surface: #303437;
  --surface-muted: #292d30;
  --ink: #f1e8d8;
  --muted: #b9b7b0;
  --line: #4a4c4b;
  --soft: #3b3e3e;
  --accent: #c8ad83;
  --accent-hover: #dfc49b;
  --green: #c8ad83;
  --lime: #414038;
  --orange: #dec088;
}
body { background:var(--bg);color:var(--ink);font-family:'Golos Text',Arial,sans-serif; }
::selection {background:#c8ad83;color:#202326;}
a,button { -webkit-tap-highlight-color:transparent; }
.btn { background:var(--accent);color:#202326;border:1px solid transparent;border-radius:4px;min-height:44px; }
.btn:not(.secondary):not(.soft):not(.ghost):hover {background:var(--accent-hover);color:#202326;}
.btn.secondary,.btn.soft {background:var(--surface);color:var(--ink);border-color:#69685e;}
.btn.secondary:hover,.btn.soft:hover {background:#41433f;border-color:var(--accent);}
.btn.ghost {background:transparent;color:var(--accent);}
.btn.ghost:hover {background:#c8ad8314;}
.topbar,.appbar,.admin-entry-page>.topbar {background:#232629;color:var(--ink);border-bottom:1px solid var(--line);}
.brand,.appbar .brand,.toplinks button {color:var(--ink);}
.brand svg,.brand .brand-mark,.premium-brand svg {color:var(--accent);}
.appbar .crumb,.sidebar .label {color:var(--muted);}
.sidebar,.mobile-nav {background:#272b2e;}
.nav-item {color:#c5c4bd;}
.nav-item:hover {background:#34393b;color:var(--ink);}
.nav-item.active {background:#c8ad8314;color:#dfc49b;box-shadow:inset 2px 0 var(--accent);}
.panel,.stat,.dialog {background:var(--surface);border-color:var(--line);box-shadow:none;}
.panel,.stat {border-radius:8px;}
.panel-head {border-color:var(--line);}
.field>span,.catalogue-filters label span {color:var(--ink);}
input,select,textarea,.field input,.field select,.field textarea,.qty,.catalogue-filters input,.catalogue-filters select {background:#272b2e;color:var(--ink);border-color:#686b68;}
input::placeholder,textarea::placeholder,.field input::placeholder,.field textarea::placeholder {color:#aaa9a3;}
input:focus,select:focus,textarea:focus {border-color:var(--accent);}
select option {background:#272b2e;color:var(--ink);}
th {background:#292d30;color:#c8ad83;}
td {color:var(--ink);}
tbody tr:hover {background:#383c3f;}
.totals.total {background:#c8ad83;color:#202326;}
.tag,.tag.lime {background:#414038;color:#e1c8a3;}
.tag.amber {background:#4b3c27;color:#f1ce8d;}
.avatar,.step-number {background:#414038;color:#e1c8a3;border-color:#686353;}
.chip.active {background:var(--accent);color:#202326;}
.chip {color:var(--ink);}
.progress-line {background:#494d4e;}
.progress-line i {background:var(--accent);}
.render .caption {background:#232629e8;color:var(--ink);}
.overlay {background:#101315ba;backdrop-filter:blur(8px);}
.close {background:#292d30;color:var(--ink);border-color:var(--line);}
#toast {background:#e0c69e;color:#202326;box-shadow:0 8px 30px #0004;}
.auth-participant:has(input:checked),.role-option:has(input:checked),.visual-version.selected {background:#c8ad8314;border-color:var(--accent);color:var(--ink);}
.auth-switch button[aria-pressed=true] {background:var(--accent);color:#202326;}
.visual-error {background:#482f30;color:#ffc1ba;}
.customer-welcome h2,.customer-design-hero h2,.admin-page-heading h1,.admin-entry-card h1 {font-family:'Golos Text',Arial,sans-serif;font-weight:400;letter-spacing:-1px;}
.plan {background-color:#292d30;background-image:linear-gradient(#414548 1px,transparent 1px),linear-gradient(90deg,#414548 1px,transparent 1px);}
.room {border-color:#c8ad83;}
.room .bed {background:#555149;border-color:#aa9473;}
.bed i {background:#b9b0a0;border-color:#aa9473;}
.company-intro {background:#232629;color:var(--ink);}
.company-principle {background:#303437;}
.company-intro h2,.company-subtitle,.company-intro-bottom p {color:var(--ink);}
/* The homepage is an architectural scene with live, accessible controls. */
.graphite-home.premium-home {--wine:var(--accent);--ink:#f1e8d8;--muted:#b9b7b0;background:#232629;min-height:100svh;height:auto;overflow:clip;}
.graphite-home .topbar {position:relative;min-height:96px;padding:24px 4%;border-bottom:1px solid #ffffff12;background:#232629;}
.graphite-home .premium-brand {font-size:clamp(23px,2.2vw,34px);gap:14px;letter-spacing:-1px;}
.graphite-home .premium-brand svg {width:35px;height:35px;}
.graphite-home .toplinks {gap:28px;}
.graphite-home .toplinks button {font-size:15px;color:var(--ink);}
.graphite-home .toplinks button:hover {color:var(--accent);}
.graphite-home main {height:auto;}
.graphite-home .premium-hero {display:grid;grid-template-columns:minmax(280px,.8fr) minmax(0,1.65fr);align-items:center;min-height:calc(100svh - 240px);height:auto;max-width:1800px;margin:auto;padding:34px 0 34px 4%;}
.graphite-home .premium-copy {position:relative;inset:auto;width:auto;max-width:500px;z-index:1;padding:20px 0;}
.graphite-home .hero h1 {font-size:clamp(46px,5.3vw,84px);line-height:1.1;font-weight:400;letter-spacing:-2.5px;margin-bottom:28px;color:var(--ink);}
.graphite-home .hero p {font-size:clamp(17px,1.5vw,22px);color:#d1cdc3;line-height:1.6;max-width:360px;letter-spacing:0;}
.graphite-home .hero .actions {display:flex;flex-direction:column;align-items:flex-start;gap:14px;margin-top:32px;}
.graphite-home .hero .actions>.btn {background:var(--accent);color:#202326;font-size:17px;border-radius:3px;padding:15px 26px;font-weight:500;}
.graphite-home .hero .actions>.btn:hover {background:var(--accent-hover);}
.graphite-home .hero .actions>.btn.ghost {background:transparent;color:#ddd2bf;padding:8px 0;border-bottom:1px solid #c8ad8370;border-radius:0;font-size:15px;}
.apartment-art {position:relative;min-width:0;align-self:stretch;display:flex;align-items:center;}
.apartment-art img {display:block;width:100%;height:auto;max-height:740px;object-fit:contain;mask-image:linear-gradient(to right,transparent,#000 8%,#000 96%,transparent);}
.home-paths {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:0 4%;}
.home-paths button {display:flex;align-items:center;justify-content:space-between;gap:16px;padding:28px 24px;background:transparent;color:var(--ink);font-size:18px;text-align:left;border-right:1px solid var(--line);}
.home-paths button:first-child {padding-left:0;}
.home-paths button:last-child {border:0;}
.home-paths button .icon {color:var(--accent);}
.home-paths button:hover {color:var(--accent);}
.graphite-home .footer {position:relative;inset:auto;margin:0 4%;padding:18px 0;gap:24px;font-size:11px;color:var(--muted);}
.graphite-home .reference-footer-links {display:flex;gap:24px;align-items:center;}
.graphite-home .reference-footer-links button,.graphite-home .staff-entry-link {background:transparent;color:var(--muted);font-size:12px;padding:8px 0;}
@media(min-width:1800px){.graphite-home .premium-hero{padding-left:0;}}
@media(max-width:1050px){.graphite-home .premium-hero{grid-template-columns:minmax(260px,1fr) minmax(0,1.4fr);}.graphite-home .hero h1{font-size:52px;}.graphite-home .toplinks{gap:18px;}.home-paths button{font-size:16px;padding:24px 16px;}}
@media(max-width:760px){
 .graphite-home .topbar{padding:20px;gap:16px;flex-wrap:wrap;min-height:80px;}
 .graphite-home .premium-brand{font-size:25px;}.graphite-home .toplinks{gap:18px;margin-left:0;flex-wrap:wrap;}.graphite-home .toplinks button{font-size:14px;}
 .graphite-home .premium-hero{display:flex;flex-direction:column;align-items:stretch;padding:28px 20px 12px;min-height:0;}
 .graphite-home .premium-copy{width:auto;max-width:100%;padding:0;inset:auto;}
 .graphite-home .hero h1{font-size:46px;letter-spacing:-1.8px;margin:0 0 20px;line-height:1.12;}
 .graphite-home .hero p{font-size:17px;max-width:330px;}.graphite-home .hero .actions{margin-top:24px;gap:12px;}
 .apartment-art{margin:10px -20px 0;min-height:0;}.apartment-art img{width:100%;height:auto;min-height:0;max-height:none;object-fit:contain;}
 .home-paths{grid-template-columns:1fr;margin:0 20px;}.home-paths button,.home-paths button:first-child{padding:20px 0;border-right:0;border-bottom:1px solid var(--line);font-size:17px;}
 .graphite-home .footer{margin:0 20px;flex-direction:column;align-items:flex-start;gap:8px;padding:18px 0 24px;}
 .graphite-home .reference-footer-links{flex-wrap:wrap;}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;}}
/* Full architectural scene matched to the selected art direction. */
.graphite-home .topbar {position:absolute;inset:0 0 auto;z-index:3;background:transparent;border:0;}
.graphite-home .premium-hero {position:relative;display:flex;align-items:center;padding:130px 4% 72px;min-height:max(660px,calc(100svh - 140px));max-width:none;background:url('assets/graphite-scene.webp') center center / cover no-repeat;}
.graphite-home .premium-copy {width:32%;max-width:470px;}
.graphite-home .hero h1 {font-size:clamp(50px,5.6vw,86px);line-height:1.08;letter-spacing:-2px;}
.graphite-home .hero p {font-size:clamp(18px,1.7vw,26px);line-height:1.35;max-width:390px;}
.graphite-home .hero .actions {margin-top:52px;gap:23px;}
.graphite-home .hero .actions>.btn {background:#c79d65;padding:17px 28px;font-size:20px;font-weight:400;}
.graphite-home .hero .actions>.btn.ghost {background:transparent;color:#f1e8d8;font-size:18px;border-color:#c79d65;}
.graphite-home .apartment-art {display:none;}
.graphite-home .home-paths {margin:0;padding:0 4%;background:#272a2b;}
.graphite-home .home-paths button {font-size:clamp(17px,1.7vw,25px);padding-top:28px;padding-bottom:28px;}
@media(min-width:1800px){.graphite-home .premium-hero{padding-left:6%;padding-right:6%;}}
@media(max-width:1050px) and (min-width:761px){.graphite-home .premium-copy{width:35%;}.graphite-home .hero h1{font-size:52px;}.graphite-home .hero p{font-size:19px;}.graphite-home .hero .actions>.btn{font-size:17px;}.graphite-home .hero .actions>.btn.ghost{font-size:16px;}}
@media(max-width:760px){
 .graphite-home .topbar{position:relative;background:#232629;}
 .graphite-home .premium-hero{display:flex;align-items:stretch;min-height:0;background:none;padding:28px 20px 0;}
 .graphite-home .premium-copy{width:100%;max-width:100%;}
 .graphite-home .hero h1{font-size:46px;}.graphite-home .hero p{font-size:18px;max-width:340px;}
 .graphite-home .hero .actions{margin-top:28px;gap:16px;}.graphite-home .hero .actions>.btn{font-size:18px;padding:14px 24px;}.graphite-home .hero .actions>.btn.ghost{font-size:16px;padding:8px 0;}
 .graphite-home .apartment-art{display:block;overflow:hidden;margin:18px -20px 0;}
 .graphite-home .apartment-art img{width:145%;max-width:none;margin-left:-44%;mask-image:linear-gradient(transparent,#000 8%,#000 96%,transparent);}
 .graphite-home .home-paths{padding:0 20px;}.graphite-home .home-paths button{font-size:17px;padding:20px 0;}
}
@media(min-width:761px){
 .graphite-home .premium-hero{background-position:calc(50% + 65px) center;}
 .graphite-home .hero p{max-width:340px;}
}
