/* Colour accents for the authenticated client area; screen only. */
@media screen {
 #cpShell{--cc-green:#08734f;--cc-orange:#a95110;--cc-line:#dce8ed}
 #cpShell .cp-heading{padding:24px 26px;border:1px solid #dae7ee;border-radius:18px;background:linear-gradient(115deg,#fff 15%,#edf8f5 100%);box-shadow:0 5px 22px #183e6b05}
 #cpShell .cp-heading .cp-eyebrow{color:#08734f;font-weight:700;letter-spacing:.15em}
 #cpShell .cp-heading h1{color:#143b50}
 #cpNav{background:#fff;border-color:#dee8ee;box-shadow:0 4px 16px #183e6b06;padding:8px;gap:5px}
 #cpNav button{--cc-accent:#245990;--cc-tint:#edf4ff;border:1px solid transparent;transition:background .15s,box-shadow .15s}
 #cpNav button[data-cp-view="tickets"]{--cc-accent:#08734f;--cc-tint:#e6f7ee;color:#08734f;background:#f0faf4;font-weight:700}
 #cpNav button[data-cp-view="repairs"]{--cc-accent:#a95110;--cc-tint:#fff1e5}
 #cpNav button[data-cp-view="hours"]{--cc-accent:#6f4ab3;--cc-tint:#f2edff}
 #cpNav button[data-cp-view="notes"]{--cc-accent:#147181;--cc-tint:#e8f7fa}
 #cpNav button[data-cp-view="invoices"]{--cc-accent:#9c4e19;--cc-tint:#fff3e7}
 #cpNav button:hover{background:var(--cc-tint);color:var(--cc-accent)}
 #cpNav button[aria-pressed=true]{background:var(--cc-tint);color:var(--cc-accent);border-color:currentColor;box-shadow:inset 0 -3px var(--cc-accent);font-weight:700}
 #cpShell>.cp-card{border-color:#dce7ee;box-shadow:0 6px 24px #153c6205}
 #cpTickets.cp-card{padding:0;overflow:hidden;border-color:#c8e5d8;border-radius:18px;box-shadow:0 8px 28px #11664409}
 #ctRoot{padding:28px}
 #ctMessage:empty{display:none}
 #ctListPanel>.ticket-heading{padding:26px;margin:-28px -28px 24px;background:linear-gradient(115deg,#e7f6ee,#f3fbf6);border-bottom:1px solid #cfe9da;align-items:center}
 #cpTickets .ticket-eyebrow{color:#08734f;font-size:.66rem;letter-spacing:.16em}
 #cpTickets .ticket-heading h2{color:#124d3c;letter-spacing:-.025em;margin-bottom:8px}
 #cpTickets .ticket-heading p{color:#436c60;max-width:620px}
 #cpTickets .ticket-primary{background:#08734f;border-color:#08734f;color:#fff;box-shadow:0 4px 10px #08734f20;border-radius:10px;min-height:48px;padding:12px 20px;font-weight:700}
 #cpTickets .ticket-primary:hover{background:#065d40;border-color:#065d40;color:#fff}
 #cpTickets button:focus-visible,#cpTickets input:focus-visible,#cpTickets select:focus-visible,#cpTickets textarea:focus-visible{outline:3px solid #36a77f;outline-offset:3px}
 #cpTickets .ticket-filters{padding:18px;background:#f7faf9;border:1px solid #e0ebe5;border-radius:12px;gap:14px}
 #cpTickets .ticket-filters label{color:#45675b;font-size:.82rem;font-weight:600}
 #ctRefresh{color:#08734f;border-color:#bad8c9;background:#fff}
 #ctCount{font-size:.82rem;font-weight:600;color:#476f5f;margin:20px 0 16px}
 #cpTickets .ticket-card{border-color:#d9e8df;border-top:3px solid #39a47a;box-shadow:0 3px 12px #163e2f04;border-radius:13px}
 #cpTickets .ticket-card h3{color:#183d33}
 #cpTickets .ticket-card-top>strong{color:#4a6f61}
 #cpTickets .ticket-card button{background:#edf8f2;border-color:#c9e6d5;color:#08734f;font-weight:600;border-radius:9px}
 #cpTickets .ticket-card button:hover{background:#ddf2e6;border-color:#83bda0}
 #cpTickets .ticket-open{color:#135c7e;background:#e8f4fc}
 #cpTickets .ticket-waiting{color:#914709;background:#fff0d9;border:1px solid #f5d399}
 #cpTickets .ticket-closed{color:#10613e;background:#e1f5e8}
 #cpTickets .ticket-empty{grid-column:1/-1;padding:35px 24px;border:1px dashed #bddccc;background:linear-gradient(110deg,#f2faf5,#fbfdfc);border-radius:12px;color:#4d7161;line-height:1.8;text-align:center;margin:4px 0 12px}
 #cpTickets .ticket-back{color:#08734f!important}
 #cpTickets .ticket-team{border-left-color:#2e9a72;background:#eef9f3}
 #cpTickets .ticket-meta{background:#f1f8f4;border:1px solid #dcebe1}
 #cpTickets .ticket-message{border-color:#d6e6dc}
 #cpTickets .ticket-pagination button:disabled{opacity:.5}
 #cpShell .ch-help{background:#e2f8eb;border-color:#a5dcb9;color:#12563e;box-shadow:0 3px 12px #0000000a}
 #cpShell .ch-metrics>button{border-top-width:3px}
 #cpShell .ch-metrics>button[data-cp-view="hours"]{border-top-color:#9c7bda;background:linear-gradient(#faf7ff,#fff)}
 #cpShell .ch-metrics>button[data-cp-view="repairs"]{border-top-color:#e8a358;background:linear-gradient(#fff8ef,#fff)}
 #cpShell .ch-metrics>button[data-cp-view="tickets"]{border-color:#c7e5d3;border-top-color:#2a9c6e;background:linear-gradient(#eaf8ef,#fff)}
 #cpShell .ch-metrics>button[data-cp-view="tickets"] strong{color:#08734f}
 #cpShell .ch-metrics>button[data-cp-view="notes"]{border-top-color:#63b2c2;background:linear-gradient(#f0fbfc,#fff)}
 #cpShell .ch-panel:has(#chTickets)>header{background:#edf9f2;border-bottom-color:#d8eddf}
 #cpShell .ch-panel:has(#chTickets) header button{background:#ddf1e5;color:#08734f}
 #cpShell .ch-panel:has(#chRepairs)>header{background:#fff7ed;border-bottom-color:#f2e5d2}
 #cpShell .ch-panel:has(#chRepairs) header button{background:#ffecd6;color:#945018}
}
@media screen and (max-width:650px){
 #cpShell .cp-heading{padding:19px 16px;border-radius:14px}
 #cpNav{padding:6px;gap:6px}
 #cpNav button{border-radius:10px;min-height:50px}
 #ctRoot{padding:18px}
 #ctListPanel>.ticket-heading{margin:-18px -18px 18px;padding:23px 18px;align-items:stretch;gap:18px}
 #cpTickets .ticket-heading h2{font-size:1.35rem}
 #cpTickets .ticket-heading p{font-size:.86rem}
 #cpTickets .ticket-filters{padding:14px}
 #cpTickets .ticket-primary{width:100%}
 #cpTickets .ticket-empty{padding:27px 17px;text-align:left;font-size:.86rem}
 #cpTickets input,#cpTickets select,#cpTickets textarea{font-size:max(16px,1rem)}
}
@media (prefers-reduced-motion:reduce){#cpNav button{transition:none}}
