/* Quiet working surfaces: moody blue, muted brass and restrained wine accents. */
html{color-scheme:dark;background:#202a32}
body,body.cassiePalette{--deep:#273337;--smoke:#354548;--ox:#754852;--paper:#202a32;--gray:#354144;--ink:#e0e5e1;--white:#2a3336;background:#202a32!important;color:#e0e5e1!important;font-size:16px;line-height:1.55}
body .shell{grid-template-columns:210px minmax(0,1fr)}
body .side{background:#24313b!important;border-right:1px solid #3d484a;padding:30px 18px!important}
body .brand{font-family:Georgia,serif;font-size:24px;line-height:1.2;color:#e0e5e1;margin-bottom:36px}
body .brand small{color:#c2aa78;font-size:12px;letter-spacing:.2em;margin-top:12px}
body .nav{color:#bac8c7!important;font-size:14px!important;min-height:44px;border-radius:9px;margin:7px 0;padding:11px 14px!important}
body .nav.active{background:#48505a!important;color:#e5ebe5!important;box-shadow:inset 3px 0 #bc9c60}
body .nav:hover{background:#344244!important}
body .main{width:100%;max-width:1180px;margin:0 auto;padding:30px clamp(18px,4vw,52px)!important;min-width:0}
body .main>.top{justify-content:flex-start;flex-wrap:wrap;gap:14px;margin:0 0 28px!important;padding-bottom:20px;border-bottom:1px solid #414d4e}
body .main>.top>div:has(#title){flex:1;min-width:100px}
body #title{font-family:Georgia,serif;font-size:30px;line-height:1.2;color:#e0e5e1}
body .main>.top .eyebrow{display:none}
body #who{background:transparent!important;border:0;color:#afbebc!important;font-size:13px;padding:0}
body #signOut,body #hubBack{background:transparent!important;color:#b6c3c0!important}
body #hubBack:disabled{display:none}
body .panel,body .card,body .modal,body dialog,body .auth{background:#2b3842!important;color:#e0e5e1!important;border:1px solid #465254!important;border-radius:14px;box-shadow:none}
body .view,body #dogrecord,body #clientrecord{background:transparent!important;color:#e0e5e1!important}
body .view>.panel{background:#2b3842!important}
body .panel h2,body .panel h3,body .panel h4,body .doghead h2,body .projectLine span,body .projectGroup>summary{color:#e0e5e1!important}
body .recordmeta,body .status,body .tag,body .eyebrow,body .field label,body .forestHint,body .forestDomain,body .projectCard p,body .phoneRowDetails>summary{color:#b5c2bf!important}
body .tag{background:transparent!important;font-size:12px!important;letter-spacing:.06em}
body .btn,body .tab,body button,body .forestStatusChoice{font-family:inherit;font-size:14px;line-height:1.4}
body .btn,body .tab,body .forestStatusChoice{min-height:42px;border:1px solid #576768!important;border-radius:8px;padding:9px 13px}
body .btn.secondary,body .tab,body .forestStatusChoice,body .timeButtons button,body .projectActions button{background:#344245!important;color:#dce4df!important}
body .btn.primary{background:#655637!important;color:#e3eae3!important;border-color:#b89b63!important}
body .tab.active,body .forestStatusChoice.active,body .timeButtons button.active{background:#655637!important;color:#e3eae3!important;border-color:#b89b63!important}
body .btn:hover,body .tab:hover{filter:brightness(1.12)}
body :focus-visible{outline:2px solid #d3b577!important;outline-offset:3px}
body button:disabled{opacity:.5;cursor:default}
body a,body .evidence a{color:#b6ccc4!important;text-underline-offset:3px}
body input,body textarea,body select{background:#222c2e!important;color:#e0e5e1!important;border:1px solid #617172!important;border-radius:8px;font:inherit;accent-color:#bd9e61}
body input::placeholder,body textarea::placeholder{color:#a7b4b1!important;opacity:1}
body .field label{font-size:14px;text-transform:none;letter-spacing:0}
body .item,body td,body th{border-color:#475557!important}
body .forestCard,body .forestDetail,body .continuityCard,body .chartHero,body .chartSuggest,body .projectCard,body .timeChooser,body .todayQueue,body .forestHero{background:#303f41!important;color:#dce4df!important;border-color:#566867!important;box-shadow:none!important}
body #clientRecordBody,body #dogRecordBody{background:#2b3842!important;color:#e0e5e1!important;border-color:#627d79!important}
body #dogrecord.emmettChart #dogRecordBody{border-color:#986672!important}
body .forestWindow,body .forestStatus,body .carryBadge,body .pill{background:#3b4c4b!important;color:#d2dfd5!important;border-color:#60736e!important}
body .success{color:#b2ceaf!important}body .warning,body .msg{color:#e4c295!important}
body .inboxBadge{background:#79505d;color:#f0e7e7;border-color:#9b7580}body .inboxUnread{color:#d9aebd}
body .mergedHome{background:transparent}
body.mergedHome #clients>.panel{background:transparent!important;border:0!important;padding:0!important}
body.mergedHome #clients>.panel>.top{display:none}
body.mergedHome #clientList{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
body.mergedHome #clientList>.tabs{margin:12px 0 4px;padding:12px 0;border-top:1px solid #465354;border-bottom:1px solid #465354;gap:8px}
body.mergedHome #clientList .item{position:relative;background:#2d3d49!important;color:#e0e5e1!important;border:1px solid #4a595c!important;border-left:4px solid #b29866!important;border-radius:12px!important;padding:18px 20px!important;margin:0!important;box-shadow:none!important;min-width:0}
body.mergedHome #clientList .item.sdCard{border-left-color:#829faa!important}
body.mergedHome #clientList [data-dogid="3398c656-b9b2-4a3e-8d75-890700c2ac15"]{background:#352e33!important;color:#e0e5e1!important;border:1px solid #65515b!important;border-left:4px solid #a67483!important;border-radius:12px!important;padding:16px 20px!important;box-shadow:none!important}
body.mergedHome #clientList .item h3,body.mergedHome #clientList .item p{color:#e0e5e1!important}
body.mergedHome #clientList .item h3{font-size:20px!important;line-height:1.35;margin:3px 0!important;font-weight:600}
body.mergedHome #clientList .item p{font-size:15px!important;margin:4px 0!important}
body.mergedHome #clientList .item p .doglink{padding:0!important;font-weight:400;color:#bac9c7!important}
body.mergedHome #clientList .item .tag{color:#adc0c6!important;background:transparent!important;font-size:12px!important}
body.mergedHome #clientList .homePackage{gap:8px;margin:14px 0 0;font-size:14px!important}
body .homePackage progress{appearance:none;border:0;width:100%;height:8px;margin-top:7px;border-radius:9px;background:#1f292b;overflow:hidden;accent-color:#bd9e61}
body .homePackage progress::-webkit-progress-bar{background:#1f292b;border-radius:9px}
body .homePackage progress::-webkit-progress-value{background:#bd9e61;border-radius:9px}
body .homePackage progress::-moz-progress-bar{background:#bd9e61;border-radius:9px}
body .homeMeter{font-size:14px;color:#c2cfca}
body .homeOpenChart{margin-top:14px;background:#3a4c4c!important}
body .homeAlerts{border-color:#56645f;color:#ddcba6;padding-top:10px;margin-top:12px}
body .homeAlert,body .homeAlert p{font-size:14px!important}
body .projectBar{background:#222d2e}body .projectBar i{background:#bd9e61}
body .modalback{background:#101819cc}body dialog::backdrop{background:#101819cc}
body [style*="background:#fff"],body [style*="background: #fff"],body [style*="background:white"]{background:#303c3f!important;color:#e0e5e1!important}
@media(min-width:1050px){body.mergedHome #clientList .item[data-clientid]{padding-right:160px!important}body.mergedHome #clientList .homeOpenChart{position:absolute;right:20px;top:50%;transform:translateY(-50%);margin:0}body.mergedHome #clientList .homeAlerts{max-width:100%}}
@media(max-width:900px){body .shell{grid-template-columns:minmax(0,1fr)}body .side{border-right:0;border-bottom:1px solid #465354}body .main{max-width:900px;padding:20px!important}}
@media(max-width:700px){body{font-size:16px!important}body .main{padding:16px!important}body .main>.top{gap:8px!important;margin-bottom:18px!important;padding-bottom:12px}body #title{font-size:25px!important}body .btn,body .tab,body .nav{font-size:14px!important}body.mergedHome #clientList .item{padding:14px 16px!important}body .tag,body .recordmeta{font-size:12px!important}body .view p,body .view .chartText{font-size:16px!important}body .side .brand{font-size:20px!important}body .homePackageLine{gap:5px 12px}body #signOut{font-size:12px!important}body .tabs{white-space:normal}body .phoneExcerpt summary{font-size:15px!important}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
@media print{html,body,body .panel,body #clientRecordBody,body #dogRecordBody{background:white!important;color:black!important}body .side,body .main>.top,body .btn{display:none!important}}
