/* Shared text/background pairs. Keep these together when changing a colour. */
:root{--card:var(--panel)}
html body .globalbrand .red{color:#ff6675}
html[data-theme=light] body .people-kicker{color:#315f9c}html[data-theme=dark] body .people-kicker{color:#a8caff}
html[data-theme=light] body .section-icon{background:#e2eafa!important;color:#365a8b!important}html[data-theme=dark] body .section-icon{background:#263b51!important;color:#bee1ff!important}
html body .tile-quote .muted{color:#fff!important}
html body :is(.pagination,.pager) .current{background:#a61932!important;color:#fff!important}
html[data-theme=light] body .handle{color:#425b73!important}
html[data-theme=dark] body .handle{color:#c0d1e1!important}
html body .planner-date.outside{opacity:1;color:var(--muted)}
html body .product-setting-status .pill{background:#e5edf4!important;color:#253448!important}html body .product-setting-status .pill span{color:#253448!important}
html body :is(a,button).danger{background:#8e1c29!important;color:#fff!important}
html[data-theme=dark] body .jobline:not(.wh-return):not(.wh-returned) .muted{color:#fff!important}
html[data-theme=dark] body .pp-page :is(.pp-empty,.pp-meta,.pp-label,.pp-details dt){color:#bfccda;opacity:1}
html body .job-workspace .trial-actions-menu .danger{color:#fff!important;background:#8e1c29!important}
html body .product-flag,html body .product-flag span{background:#e5edf4!important;color:#253448!important}
html[data-theme] body .jobline .identity-badge.ok{background:#e2f4e8!important;color:#13552f!important;border-color:#13552f}
html[data-theme] body .jobline .identity-badge.warn{background:#fff2cc!important;color:#694300!important;border-color:#8b6a12}
html body :is(.warningbox,.errorbox,.error-message,.alert-danger,[role=alert],p.bad,div.bad){background:#fff0f2!important;color:#80152c!important;border:1px solid #c75d73;border-inline-start:5px solid #a71938;border-radius:8px;padding:14px 18px;line-height:1.6;overflow-wrap:anywhere}
html body :is(.warningbox,.errorbox,.error-message,.alert-danger,[role=alert],p.bad,div.bad) :is(p,span,strong,b,em,li,code,label){color:inherit!important}
html body :is(.warningbox,.errorbox,.error-message,.alert-danger,[role=alert],p.bad,div.bad) a{color:#69102b!important;text-decoration:underline}
html body .notice{background:#fff6d9!important;color:#58420d!important;border:1px solid #bd9c42;border-inline-start:5px solid #8b6a12;line-height:1.6;overflow-wrap:anywhere}
html body .notice :is(p,span,strong,li,code){color:inherit!important}html body .notice a{color:#55400a!important;text-decoration:underline}
html[data-theme=light] body :is(.bad,.error-text){color:#a71938}html[data-theme=light] body .ok{color:#146b35}html[data-theme=light] body .warn{color:#805100}
html[data-theme=dark] body :is(.bad,.error-text){color:#ffb4c1}html[data-theme=dark] body .ok{color:#7fe4a3}html[data-theme=dark] body .warn{color:#ffdc87}
html body :is(a,button,input,select,textarea,summary,[tabindex]):focus-visible{outline:3px solid #3d83dc;outline-offset:3px}
html[data-theme=dark] body :is(a,button,input,select,textarea,summary,[tabindex]):focus-visible{outline-color:#97c7ff}
html body input::placeholder,html body textarea::placeholder{color:var(--muted,#526577);opacity:1}
html body .globalbar input::placeholder{color:#bed0e3;opacity:1}
html[data-theme=light] body :is(input,select,textarea){border-color:#78899b}
html body :is(button,input,select,textarea):disabled{opacity:1;cursor:not-allowed}
html body :is(button,.btn):disabled{background:var(--panel2)!important;color:var(--muted)!important;border-style:dashed}
/* Returns are lemon yellow in both themes, with a deliberately dark foreground. */
html body .wh-return,html body .whbadge.wh-return,html body .pill.wh-return,html body .jobline.wh-return td{background:#fff7b0!important;color:#3f3810!important;border-color:#a69a38!important}
html body .jobline.wh-return :is(a,.muted,.tiny,strong,small){color:#3f3810!important}
html body .wh-return :is(a,span,strong){color:inherit!important}
/* Persistent priority treatment; motion adds emphasis, it never carries meaning. */
html[data-theme] body .dash-shell .dash-grid .card.dash-tile.priority-attention{--priority-bg:#901e3e;--priority-ring:#d12954;background:var(--priority-bg)!important;color:#fff!important;border:2px solid #fff!important;border-bottom:6px solid var(--priority-ring)!important;border-radius:10px;position:relative;isolation:isolate;padding-top:46px;animation:shtPriority 2s ease-in-out infinite!important;outline:3px solid var(--priority-ring);outline-offset:1px}
html[data-theme] body .dash-shell .dash-grid .card.dash-tile.attention-discussions{--priority-bg:#8e1454;--priority-ring:#ec4899}
html[data-theme] body .dash-shell .dash-grid .card.dash-tile.attention-enquiries{--priority-bg:#194f91;--priority-ring:#4e9aff}
html[data-theme] body .dash-shell .dash-grid .card.dash-tile.priority-attention :is(.metric,strong,.tiny,.muted,.attention-mark){color:#fff!important}
html[data-theme] body .dash-shell .dash-grid .priority-attention .metric{font-size:42px!important;line-height:1.15;font-weight:850}
html[data-theme] body .dash-shell .dash-grid .priority-attention .priority-label{position:absolute;top:12px;left:14px;right:40px;display:block;width:fit-content;max-width:calc(100% - 36px);padding:4px 8px;border:1px solid #fff;border-radius:4px;color:#fff!important;background:#0003;font-size:11px;font-weight:800;letter-spacing:.045em;text-transform:uppercase}
html body .dash-grid .priority-attention::after{display:none!important}
@keyframes shtPriority{0%,100%{box-shadow:0 0 0 0 transparent}50%{box-shadow:0 0 0 8px var(--priority-ring),0 6px 20px #14243b44}}
@media(prefers-reduced-motion:reduce){html body *,html body *::before,html body *::after{scroll-behavior:auto!important}html[data-theme] body .dash-shell .dash-grid .card.dash-tile.priority-attention{animation:none!important;box-shadow:0 0 0 3px var(--priority-ring)}}
/* Welcoming sign-in; retain the existing authentication flow. */
html body .auth-welcome{width:min(480px,100%);margin:35px auto;padding:30px;border-radius:16px;border-top:5px solid #aa1646;box-shadow:0 12px 40px #162b4515}
.auth-logo-panel{padding:24px 20px;background:#172434;border-radius:10px;display:flex;justify-content:center;margin-bottom:28px}.auth-logo{width:min(320px,100%);height:auto;object-fit:contain}
.auth-welcome .auth-eyebrow{font-size:11px;font-weight:800;letter-spacing:.13em;color:var(--muted);margin-bottom:10px}.auth-welcome .auth-title{font-size:30px;margin:0 0 12px;line-height:1.3}.auth-welcome .auth-title span{display:block;font-size:17px;font-weight:600;margin-top:6px}.auth-welcome .auth-intro{color:var(--muted);font-size:14px;line-height:1.6}.auth-welcome label{font-weight:650;font-size:14px}.auth-welcome input{min-height:46px;margin-top:8px}.auth-welcome .auth-submit{display:block;width:100%;min-height:48px;margin-top:24px;font-size:16px;font-weight:750}.auth-welcome .auth-footnote{font-size:11px;line-height:1.6;text-align:center;color:var(--muted);margin:24px 0 0}
@media(max-width:600px){html body .auth-welcome{margin:12px auto;padding:22px}.auth-welcome .auth-title{font-size:26px}.auth-welcome input{font-size:16px}}
