/* Live functionality; navigation belongs exclusively to navigation.css. */
a {color: #29472e; text-decoration:none;} a:hover {text-decoration:underline;}
.account a {display:block;padding:11px;color:#233522;}
.account form {margin:0;}

.primary {background:#29472e;color:white;border:0;border-radius:5px;padding:11px 22px;}
.actions,.filters {display:flex;align-items:center;gap:12px;flex-wrap:wrap;}
.filters {margin:18px 0;}
.filters input,.filters select,.task-status-select,.task-popup select,.work-queue label select {max-width:100%;padding:8px;border:1px solid #cdd1c7;border-radius:4px;font:inherit;}
.filters input[type=number] {width:105px;}
.errorlist,.danger-text {color:#a92020;}
.warning {padding:13px 18px;background:#fff0a6;border-radius:5px;color:#31352e;}
.spaced {margin-top:28px;}
.note {padding:18px 0;border-bottom:1px solid #ddd;}
.note pre {white-space:pre-wrap;overflow-wrap:anywhere;font:12px/1.6 monospace;}
.entry:hover,.bio-customer-table tbody tr[role="button"]:hover,.bio-customer-table tbody tr[role="button"]:focus-visible {text-decoration:none;background:#f6f6ef;}
.missing {background:#d45b48;}.waiting {background:#b29bc5;}
.login-panel {position:relative;width:min(620px,100%);margin:0 auto;}
.anonymous-login main {margin-left:0;}
.anonymous-login .hero {justify-content:center;}
.anonymous-login .hero {min-height:clamp(300px,36vh,400px);padding-top:38px;}
.anonymous-login #drift-content {padding-top:24px;}
.anonymous-login .hero .identity {width:min(500px,100%);text-align:center;}
.anonymous-login .hero .identity > img {max-width:100%;}
.login-panel .editor {max-width:none;}
.login-actions {display:flex;align-items:center;justify-content:space-between;gap:16px;}
.login-actions .login-resend {background:transparent;border:0;padding:8px 0;color:#29472e;white-space:nowrap;text-decoration:underline;}
.login-actions .login-resend:disabled {color:#687063;cursor:default;text-decoration:none;}
.login-cancel {position:absolute;right:20px;top:18px;border:0;background:transparent;color:#29472e;font-size:24px;line-height:1;padding:6px;border-radius:4px;}
.login-cancel:hover {background:#e9efe4;filter:none;}
.login-panel:has(.login-cancel) h1 {padding-right:32px;}
.login-version {margin-left:auto;color:#737b70;font-size:9px;}
.login-credentials {margin-top:24px;display:grid;gap:14px;}
.login-credentials > div {display:grid;gap:7px;}
.login-credentials span {font-weight:bold;}
.login-credentials strong {display:block;min-height:39px;padding:10px 12px;border:1px solid #cdd1c7;border-radius:5px;background:#f4f4ee;font-weight:normal;}
.login-panel .code-help {margin:24px 0 0;line-height:1.5;}
.login-panel .code-form {margin-top:18px;}
.login-panel .code-form .login-actions {margin-top:14px;}
.code-warning {color:#5f4d19;background:#faf4db;padding:10px 12px;border-radius:4px;}
@media(max-width:600px){.anonymous-login .hero{min-height:260px;}.login-actions{gap:10px;flex-wrap:wrap;}.login-version{align-self:center;}}
.detail-table td {white-space:nowrap;}
.annual th:first-child,.annual td:first-child,.detail-table th:first-child,.detail-table td:first-child {position:sticky;left:0;background:#fff;z-index:1;}
.annual tbody tr:hover td,.annual tbody tr:focus-within td {background:#f6f8f3;}
.annual {cursor:default;}
.annual button,.annual a {cursor:pointer;}
:is(.annual .annual-toolbar, .work-queue) .tabs button {padding-inline:18px;}
:is(.annual .annual-toolbar, .work-queue) .tabs button:hover {border-bottom-color:#d5bc2c;filter:none;}
.annual .annual-toolbar .legend {gap:18px;}
.annual .annual-toolbar .table-tools {gap:20px;}
.annual th:first-child,.annual td:first-child {position:static;background:transparent;}
:is(.annual .annual-toolbar, .work-queue) .tabs button {font-size:15px;}
:is(.annual .annual-toolbar, .work-queue) .tabs button::before {content:attr(data-label);display:block;height:0;overflow:hidden;visibility:hidden;font-weight:700;white-space:nowrap;}
.annual .annual-toolbar .legend {font-size:12px;}
.annual-toolbar .year {grid-template-columns:32px minmax(54px,auto) 32px;}
.annual-toolbar .year strong {font-size:15px;text-align:center;}
.annual-toolbar .year button {display:grid;place-items:center;width:32px;height:32px;line-height:1;}
.planned {background:#eddd5e;}
.late {background:#c76460;}
a:focus-visible,select:focus-visible,textarea:focus-visible {outline:3px solid #b69d27;outline-offset:3px;}
@media print {
 @page {size:A4 landscape;margin:10mm;}
 body {background:white;color:black;} .sidebar,.hero,.messages,.actions,.filters,.table-footer,.stats,.bottom {display:none!important;}
 main {margin:0;padding:0;} .panel {padding:6px;background:white;} .annual-toolbar .year button {display:none;} .tabs {display:none!important;}
 .annual-toolbar {display:block;} .table-scroll {overflow:visible;} table {min-width:0;font-size:9px;table-layout:fixed;} th,td {padding:3px;height:auto;overflow-wrap:anywhere;}
 th:first-child,td:first-child {width:120px;position:static!important;} .detail-table td {white-space:normal;}
 i {print-color-adjust:exact;-webkit-print-color-adjust:exact;} tr {break-inside:avoid;} a {color:black;text-decoration:none;} h1 {font-size:20px;} h2 {font-size:17px;}
}
/* Subpages begin directly after hero; keep its extended background behind them. */
.hero ~ .panel,.messages {position:relative;z-index:1;}
/* Configurable cards stay in the original four top / three bottom slots. */
.stats > [data-card-slot], .bottom > [data-card-slot] {grid-column:var(--card-column);min-width:0;}
.card-heading-icon {font-size:.65em;vertical-align:middle;}
.card-subtitle {color:#687063;font-size:13px;margin:0 0 12px;}
.card-number {display:flex;justify-content:space-between;align-items:center;font:48px Georgia,serif;color:inherit;text-decoration:none;padding:12px 0;}
.card-number span {font:24px Arial,sans-serif;}
@media (max-width:1200px) {.bottom > [data-card-slot] {grid-column:auto;}.bottom > .risk[data-card-slot] {grid-column:1/-1;}}
@media (max-width:850px) {.stats > [data-card-slot],.bottom > .risk[data-card-slot] {grid-column:auto;}}
.personal-entries .table-scroll {margin-top:18px;}
.personal-entries table {width:100%;}
.personal-entries td:last-child {white-space:nowrap;}
.avatar {flex:0 0 50px;min-width:50px;min-height:50px;overflow:hidden;}
.avatar img {width:50px;height:50px;object-fit:cover;object-position:center;border-radius:50%;display:block;}
.sidebar .account .account-action {display:flex;align-items:center;gap:15px;width:100%;padding:11px;border:0;border-radius:4px;background:#fff;color:#233522;font:inherit;text-align:left;text-decoration:none;cursor:pointer;filter:none;}
.sidebar .account .account-action:hover {background:#e9efe4;filter:none;text-decoration:none;}
.sidebar .account .account-action:focus-visible {outline:2px solid #35583b;outline-offset:-2px;}
.sidebar .account .account-icon {display:inline-flex;align-items:center;justify-content:center;flex:0 0 22px;width:22px;height:22px;font-size:17px;line-height:1;}
.sidebar .account .account-icon > span {line-height:1;}


/* Text cards share the existing heading size and leave the numeric area empty. */
.stats .stat-content {min-width:0;}
.stats .stat-text-title {font-size:23px;line-height:1.2;margin-top:0;overflow-wrap:anywhere;}

/* Units and totals stay subordinate to the main dashboard number. */
.stats strong .stat-secondary {font-size:.5em;white-space:nowrap;}

.outstanding {background:#6f8fa6;}
