/* The approved navy dashboard remains the visual authority. */
.db-workspace .db-attention,.db-workspace .db-tasks,.db-workspace .db-calendar{border:1px solid #d7b477}
/* Approved matte suede draft: soft slate, blue-grey and muted teal-grey. */
.db-workspace .db-attention{--db-suede-top:#394e5e;--db-suede-bottom:#253947}
.db-workspace .db-tasks{--db-suede-top:#3b5163;--db-suede-bottom:#2a4051}
.db-workspace .db-calendar{--db-suede-top:#3b5356;--db-suede-bottom:#294149}
.db-workspace :is(.db-attention,.db-tasks,.db-calendar){
 position:relative;isolation:isolate;background:#102535;
 box-shadow:inset 0 1px #e4edf61f;
}
.db-workspace :is(.db-attention,.db-tasks,.db-calendar)::before{
 content:'';position:absolute;inset:0;z-index:-1;border-radius:inherit;pointer-events:none;opacity:.5;
 background-color:var(--db-suede-bottom);
 background-image:linear-gradient(180deg,#e1e9ee08,transparent 48%),url('../assets/dashboard-suede-grain-v1.webp'),linear-gradient(135deg,var(--db-suede-top),var(--db-suede-bottom));
 background-size:100% 100%,320px 320px,100% 100%;
 background-repeat:no-repeat,repeat,no-repeat;
 background-blend-mode:normal,soft-light,normal;
}
.db-attention .da-table-head{background:#d9e5ee0c;border-color:#b0c5d247;color:#d2e0ea}
.db-attention :is(.da-status,.da-date,.da-footer,.da-note),.db-side :is(.db-event-list time,.db-calendar-note){color:#c3d3df}
.db-workspace :is(.db-tasks,.db-calendar) .db-empty{color:#c3d3df}
@media(min-width:761px){
 .db-attention .da-table-head,.db-attention .da-row{grid-template-columns:82px 80px minmax(0,1.2fr) minmax(0,1.2fr) 123px;gap:12px}
 .db-attention .da-title,.db-attention .da-evidence{flex-direction:row;align-items:center;gap:10px}
 .db-attention .da-title strong{flex:0 1 auto;max-width:45%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .db-attention .da-title>span{flex:1;min-width:0}
 .db-attention .da-source{flex-shrink:0}
 .db-attention .da-evidence>span:not(.da-source){min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .db-attention .da-actions{flex-wrap:nowrap}
 .db-attention .da-actions button:first-child{flex-basis:auto}
 .db-workspace .db-attention .da-actions .da-review{min-height:33px;padding:7px;margin-left:0}
}
.db-attention .da-row{min-height:52px;padding-top:8px;padding-bottom:8px}
.da-date{color:#a8bbce;font-size:10px;line-height:1.4;white-space:nowrap;font-variant-numeric:tabular-nums}
.db-attention .da-evidence{gap:4px}
@media(max-width:760px){.db-attention .da-row{padding-top:12px;padding-bottom:12px}.da-date{grid-column:1;grid-row:2;align-self:start;text-align:center}}
/* State backgrounds use 60% opacity; text stays fully opaque. */
.db-attention .da-reason.da-blue{background:rgb(40 101 160 / 60%);color:#e2f0ff}
.db-attention .da-reason.da-amber{background:rgb(157 83 22 / 60%);color:#fff0da}
.db-attention .da-reason.da-violet{background:rgb(108 75 157 / 60%);color:#f0e7ff}
.db-attention .da-reason.da-mint{background:rgb(27 112 92 / 60%);color:#d8fff0}
.db-attention .da-reason.da-gold{background:rgb(132 99 38 / 60%);color:#fff0c9}
.db-attention .da-reason.da-coral{background:rgb(148 62 56 / 60%);color:#ffe5df}
/* Scoped to the attention review dialog; other shared modals keep their theme. */
#modalOverlay .modal-content:has(.da-confirm-body){width:560px;max-width:calc(100vw - 32px);padding:0;border-radius:16px;overflow:hidden;background:linear-gradient(135deg,#20394b,#102536);border:1px solid #7895ab80;color:#e4edf6;box-shadow:inset 0 1px #e7f1fa30,0 24px 64px #020c18a6;color-scheme:dark}
#modalOverlay .modal-content:has(.da-confirm-body) .modal-header{margin:0;padding:24px 28px 20px;border-bottom:1px solid #7895ab38}
#modalOverlay .modal-content:has(.da-confirm-body) .modal-header h2{display:flex;align-items:center;gap:13px;margin:0;color:#f3deb3;font-size:21px;line-height:1.4;letter-spacing:-.02em}
.da-confirm-icon{display:grid;place-items:center;width:40px;height:40px;flex:none;border:1px solid #d8bd8880;border-radius:12px;background:linear-gradient(145deg,#54616a,#263b49);color:#f3d397;font-size:19px;box-shadow:inset 0 1px #f9e8c74d}
#modalOverlay .modal-content:has(.da-confirm-body) .modal-body{padding:24px 28px}
.da-confirm-subject{padding:0 0 20px;border-bottom:1px solid #7895ab38;overflow-wrap:anywhere}.da-confirm-subject strong{display:block;font-size:17px;font-weight:650;color:#edf3f8;line-height:1.5}.da-confirm-subject p{margin:7px 0 0;color:#c6d7e5;font-size:14px;line-height:1.7}
.da-confirm-description{margin:20px 0 12px;color:#e4edf6;font-size:14px;line-height:1.8;word-break:keep-all}
.da-confirm-note{display:flex;align-items:flex-start;gap:9px;margin:0;color:#b9cddd;font-size:12px;line-height:1.8;word-break:keep-all}.da-confirm-note i{margin-top:5px;color:#d9be8e;flex:none}.da-confirm-warning{margin:14px 0 0;color:#f2c294;font-size:12px;line-height:1.8}
#modalOverlay .modal-content:has(.da-confirm-body) .modal-footer{margin:0;padding:18px 28px 22px;border-top:1px solid #7895ab38;background:#091e302e;display:flex;justify-content:flex-end;gap:10px}
#modalOverlay .modal-content:has(.da-confirm-body) .modal-footer button{min-height:42px;padding:10px 20px;border-radius:8px;font-size:13px;font-weight:600;cursor:pointer}
#modalOverlay .modal-content:has(.da-confirm-body) .btn-secondary{background:#7895ab14;border:1px solid #7895ab80;color:#d4e2ed;box-shadow:none}
#modalOverlay .modal-content:has(.da-confirm-body) .btn-premium{background:linear-gradient(125deg,#f4dbab,#d7b477);border:1px solid #f1d6a4;color:#263340;box-shadow:inset 0 1px #fff2d6,0 4px 12px #05162440}
#modalOverlay .modal-content:has(.da-confirm-body) button:hover{filter:brightness(1.08)}#modalOverlay .modal-content:has(.da-confirm-body) button:focus-visible{outline:2px solid #f1d6a4;outline-offset:3px}#modalOverlay .modal-content:has(.da-confirm-body) button:disabled{opacity:.55;cursor:wait;filter:none}.da-confirm-body::selection,.da-confirm-body ::selection{background:#d7b477;color:#102536}
@media(max-width:520px){#modalOverlay .modal-content:has(.da-confirm-body) .modal-header{padding:20px 18px 16px}#modalOverlay .modal-content:has(.da-confirm-body) .modal-header h2{font-size:19px}#modalOverlay .modal-content:has(.da-confirm-body) .modal-body{padding:20px 18px}#modalOverlay .modal-content:has(.da-confirm-body) .modal-footer{padding:16px 18px 18px}.da-confirm-subject strong{font-size:16px}}
.db-attention{padding:0 20px 12px;min-width:0}.db-attention .db-panel-header{align-items:center;justify-content:space-between}.db-attention .db-heading{min-width:0}.db-attention h3{display:flex;gap:9px;align-items:center}.db-attention .db-heading-icon{font-size:24px}.da-filters{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 12px}.db-workspace .da-filters button{display:flex;align-items:center;gap:7px;border:1px solid #718da570;border-radius:7px;padding:7px 10px;background:#122a3d;color:#c6d7e7;font-size:11px;min-height:32px}.da-filters button span{font-variant-numeric:tabular-nums;font-size:10px;min-width:17px;text-align:center;border:1px solid #718da570;border-radius:9px}.db-workspace .da-filters button[aria-pressed=true]{background:#cfb17d14;color:#f1d8a5;border-color:#cfb17d8c}.da-status{color:#adbed0;font-size:11px;margin:0 0 10px;line-height:1.6}.da-status.is-error{color:#f2c294}.da-table-head,.da-row{display:grid;grid-template-columns:82px minmax(0,1.35fr) minmax(0,1fr) 123px;gap:12px;align-items:center}.da-table-head{font-size:11px;color:#a8bbce;padding:11px 10px;background:#7292aa12;border:1px solid #7898b22e;border-radius:7px}.da-list{list-style:none;padding:0;margin:0}.da-row{min-height:76px;border-bottom:1px solid #7191ad30;padding:12px 10px;font-size:12px}.da-reason{display:inline-block;text-align:center;border-radius:6px;padding:5px 6px;font-size:11px;line-height:1.4;color:#dce8f4;background:#7898b21c}.da-mint{background:#66b39a1c;color:#a5ddc9}.da-blue{background:#639ecc20;color:#b5d9f4}.da-gold{background:#c7a96c1c;color:#e6cd9c}.da-coral{background:#cc746a20;color:#f1b6ae}.da-title,.da-evidence{display:flex;flex-direction:column;gap:5px;min-width:0}.da-title strong{font-weight:650;font-size:12px;color:#e4edf6}.da-title>span{color:#c5d5e4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.da-evidence{align-items:flex-start;color:#bbcddd;font-size:11px;line-height:1.5;overflow-wrap:anywhere}.da-source{font-size:10px;border:1px solid #718da570;border-radius:5px;padding:1px 6px;color:#d1dfeb}.da-evidence time{color:#a8bbce;font-size:10px;font-variant-numeric:tabular-nums}.da-actions{display:flex;align-items:center;gap:4px}.db-workspace .da-actions button{border:1px solid #8ba8c470;border-radius:6px;padding:7px;background:#152b3f55;color:#dae7f4;font-size:10px;min-height:33px;white-space:nowrap}.da-actions button:first-child{flex:1}.da-actions i{font-size:9px}.db-workspace .da-actions .da-review{color:#e7cd97;padding:7px;width:27px;flex:none}.da-actions button:hover,.da-filters button:hover{border-color:#cfb17d!important}.da-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#a8bbce;font-size:11px}.da-footer .db-pagination{padding:12px 0;align-items:center}.da-note{margin:3px 0 0;color:#a8bbce;font-size:10px;line-height:1.7}.da-note i{color:#e7cd97}.da-empty{display:flex;flex-direction:column;align-items:center;gap:12px;padding:48px 15px!important;text-align:center;line-height:1.7}.da-empty>i{font-size:25px;color:#e7cd97}.da-empty strong{color:#d5e1ed;font-size:13px}.da-empty span{font-size:11px}.db-history-bottom{margin-top:18px}.db-history-bottom .db-table-heading,.db-history-bottom .db-timeline-row{grid-template-columns:100px 140px 160px minmax(0,1fr) 90px}
@media(max-width:1500px){.da-table-head,.da-row{grid-template-columns:72px minmax(0,1.2fr) minmax(0,1fr) 105px;gap:8px}.db-attention{padding-left:14px;padding-right:14px}.da-actions{flex-wrap:wrap}.da-actions button:first-child{flex-basis:100%}.db-workspace .da-actions .da-review{margin-left:auto;min-height:24px;padding:3px}}
@media(max-width:1100px){.da-table-head,.da-row{grid-template-columns:82px minmax(0,1.4fr) minmax(0,1fr) 123px}.da-actions{flex-wrap:nowrap}.da-actions button:first-child{flex-basis:auto}.db-workspace .da-actions .da-review{min-height:33px;padding:7px}.db-history-bottom .db-table-heading,.db-history-bottom .db-timeline-row{grid-template-columns:85px 110px 145px minmax(0,1fr) 76px}}
@media(max-width:760px){.da-table-head{display:none}.da-row{grid-template-columns:80px minmax(0,1fr);gap:10px 12px;padding:15px 2px}.da-title{grid-column:2}.da-title>span{white-space:normal;overflow-wrap:anywhere}.da-evidence{grid-column:2;grid-row:2}.da-actions{grid-column:2;justify-content:flex-end}.da-actions button:first-child{flex:0 1 auto}.da-row>.da-reason{align-self:start}.db-attention .db-panel-header{flex-wrap:wrap}.db-history-bottom .db-timeline-row{grid-template-columns:80px minmax(0,1fr);gap:8px}.db-history-bottom .db-document{grid-column:1/-1}.db-history-bottom .db-table-heading{display:none}.db-history-bottom .db-channels{grid-column:1}.db-history-bottom .db-status{justify-self:end}.da-footer{flex-wrap:wrap}.da-filters{gap:6px}.db-workspace .da-filters button{font-size:10px;padding:6px 8px}}
