:root{
    --ink:#34363a;
    --muted:#696a6d;
    --primary:#9a7324;
    --accent:#c2a160;
    --surface:#fffefa;
    --background:#f7f4ee;
    --line:#e5dccb;
}
body{background:var(--background)}
.topbar{background:#fffefa;border-bottom-color:var(--line)}
.topbar{height:96px}
.brand{
    width:190px;
    height:82px;
    background:transparent url('../branding/logo-official-source.png') center 41%/150px auto no-repeat;
}
.brand>span{display:none}
.auth-page{background:linear-gradient(90deg,#fbfaf6 0 50%,#303135 50% 100%)}
.auth-brand{
    width:100%;
    padding:0;
    border:0;
    border-radius:0;
    background:transparent;
    box-shadow:none;
    color:var(--ink);
}
.auth-brand .brand-mark{
    display:block;
    width:100%;
    height:300px;
    margin:0;
    border-radius:0;
    background:transparent url('../branding/logo-official-source.png') center center/440px auto no-repeat;
    box-shadow:none;
    font-size:0;
}
.auth-brand>.eyebrow,.auth-brand>h1{display:none}
.auth-brand p{margin:0;color:#6b604d;text-align:center;font-size:14px;letter-spacing:.04em}
.auth-shell{gap:70px}
.auth-card{border:1px solid rgba(194,161,96,.25);box-shadow:0 30px 80px rgba(0,0,0,.28)}
.password-page{background:linear-gradient(135deg,#303135,#4b453a 65%,#8c6925)}
.password-card{width:min(560px,calc(100vw - 32px));padding:30px 42px}
.password-brand{
    width:230px;
    height:105px;
    margin:-10px auto 15px;
    background:transparent url('../branding/logo-official-source.png') center 41%/185px auto no-repeat;
}
.password-card .eyebrow{color:var(--primary)}
.password-card h1{margin-top:8px}
.button.primary{background:var(--primary);border-color:var(--primary)}
.button.secondary{color:var(--primary);border-color:var(--primary)}
.module-icon,.selected-piece,.ortho-status,.ortho-date{background:#f4eddf}
.quick-fill button{background:#fbf7ef}
.topbar nav a:hover{color:var(--primary)}
.voucher-logo,.print-brand>span{
    font-size:0;
    border:1px solid #b79a60;
    background:#fff url('../branding/logo-official-source.png') center 31%/110px auto no-repeat;
    box-shadow:none;
}
@media(max-width:900px){
    .topbar{height:90px;background:#fbfaf6}
    .topbar .brand{width:160px;height:78px;margin:auto;background-size:140px auto}
    .menu-button,.mobile-quick-add{color:#34363a}
    .mobile-quick-add{border-color:#9a7324}
    .topbar nav{background:#303135}
    .topbar nav>a:hover{background:#967127}
    .topbar nav>a>span{color:#c9a85f}
    .quick-appointment-fab{background:#9a7324}
}
@media(max-width:780px){
    .auth-page{background:linear-gradient(180deg,#fbfaf6 0 34%,#303135 34% 100%)}
    .auth-brand{width:min(420px,100%);margin:auto;padding:0}
    .auth-brand .brand-mark{width:100%;height:180px;margin:0;background-size:285px auto}
    .auth-brand p{margin-top:2px}
    .password-page{background:linear-gradient(145deg,#303135,#716038)}
    .password-card{padding:25px 22px}
    .password-brand{width:200px;height:92px;background-size:165px auto}
}
.dicom-status{display:grid;gap:5px;margin-bottom:22px;padding:16px;border-left:5px solid #9a7324;border-radius:12px;background:#f8f3e8}
.dicom-status strong{font-size:18px}.dicom-status span{color:var(--muted)}
.dicom-status.online{border-color:#287a50;background:#eaf7ef}.dicom-status.offline,.dicom-status.unsafe{border-color:#b33a4a;background:#fff0f2}
.dicom-metrics{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin-bottom:24px}
.dicom-metrics div,.dicom-config div{padding:12px;border:1px solid var(--line);border-radius:10px;background:#fffefa}
.dicom-metrics small,.dicom-config dt{display:block;color:var(--muted);font-size:11px}.dicom-metrics strong,.dicom-config dd{display:block;margin:4px 0 0;font-weight:800}
.dicom-config{display:grid;grid-template-columns:1fr 1fr;gap:10px}.dicom-next{margin-top:16px}.dicom-next li{margin:9px 0}
@media(max-width:700px){.dicom-metrics{grid-template-columns:1fr 1fr}.dicom-config{grid-template-columns:1fr}}
