/* Consistent working desks, with receipts and decisions visible before controls. */
.detective-dashboard main{max-width:1580px;padding:34px 34px 70px}.detective-dashboard .command-topline{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:4px 0 32px}.detective-dashboard .command-topline h1{font-size:clamp(32px,4vw,48px);margin:10px 0;letter-spacing:-1.3px}.detective-dashboard .command-topline>span{font-size:13px;color:#b8c6b8;border:1px solid #506046;border-radius:30px;padding:10px 16px;white-space:nowrap}.detective-dashboard .host-grid{grid-template-columns:218px minmax(0,1fr);gap:30px;align-items:start}.detective-dashboard .host-grid[data-active=command]{display:block}.detective-dashboard .host-grid[data-active=command]>aside{display:none}.detective-dashboard .host-grid>aside{border:1px solid #3e5341;border-radius:12px;padding:9px;position:sticky;top:18px;background:#0b2017}.detective-dashboard .host-grid>aside button{border:0;border-radius:7px;min-height:49px;padding:12px;font-size:13px;gap:12px;display:flex;align-items:center;line-height:1.4;text-align:left}.detective-dashboard .host-grid>aside svg{width:20px;height:20px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.detective-dashboard #panel{min-width:0}.command-section-heading{display:flex;justify-content:space-between;gap:24px;align-items:center;margin:4px 0 24px}.command-section-heading h2{font-size:clamp(26px,3vw,38px);margin:12px 0}.command-section-heading h3{font-size:22px;margin:0}.command-section-heading p{font-size:16px;color:#bcc9ba;margin:12px 0}.command-section-heading>span{font-size:13px;color:#9eaf9f}.command-section-heading>button{flex-shrink:0;border-radius:7px;font-size:13px}.command-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:24px 0}.command-metric{display:flex;flex-direction:column;align-items:flex-start;text-align:left;background:linear-gradient(135deg,#20372a,#11251b);border:1px solid #536146;border-radius:12px;padding:24px;gap:10px;box-shadow:inset 0 1px 0 #f6d88e0b}.command-metric span{font-size:14px;color:#c0cdbd;font-weight:500}.command-metric strong{font-size:44px;line-height:1.1;font-weight:500;color:#edd39f}.command-metric small{font-size:12px;color:#95aa97}.detective-dashboard .planner-next{display:flex;justify-content:space-between;gap:28px;align-items:center;border:1px solid #8d784c;border-left:4px solid #cfb16d;background:linear-gradient(110deg,#273929,#10251a);padding:28px;border-radius:10px;margin:28px 0 32px}.planner-next h2{font-size:25px;line-height:1.4;margin:10px 0}.planner-next p{font-size:14px;line-height:1.6;color:#c0ccbd}.planner-next small{font-size:13px;color:#d8c28f}.planner-next>button{flex-shrink:0;border-radius:7px;font-size:13px}.command-attention{display:flex;flex-direction:column;gap:10px;padding:20px 24px;background:#422d183b;border:1px solid #8b7040;border-radius:10px;margin-bottom:30px;font-size:15px}.command-attention span{color:#d0bd99;font-size:14px}.detective-dashboard .command-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.detective-dashboard .command-card{display:flex;flex-direction:column;align-items:stretch;text-align:left;padding:26px;border:1px solid #405843;border-radius:12px;min-height:204px;background:linear-gradient(135deg,#142c20,#0c2117);text-decoration:none;gap:17px;color:#e8e5d3;box-shadow:inset 0 1px 0 #d5cda708;transition:border-color .18s,background .18s,transform .18s}.detective-dashboard .command-card:hover{border-color:#b79a5e;background:linear-gradient(135deg,#1e3828,#10271c);transform:translateY(-2px)}.command-card-top{display:flex;align-items:center;gap:13px}.command-card-icon{display:grid;place-items:center;color:#e0c38b;width:44px;height:44px;border:1px solid #76633f;border-radius:10px;background:#af945215;flex-shrink:0}.command-card-icon svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.detective-dashboard .command-card-tag{font-size:11px;letter-spacing:1px;text-transform:uppercase;color:#aabd9f;line-height:1.5}.command-card-arrow{margin-left:auto;color:#869c85;font-size:19px}.detective-dashboard .command-card strong{font:500 20px/1.35 "DM Sans",sans-serif;letter-spacing:0}.detective-dashboard .command-card-description{font-size:14px;line-height:1.65;color:#aebeaf}.engagement-controls{display:grid;grid-template-columns:280px 1fr;gap:20px;align-items:end;margin:28px 0 18px}.engagement-controls label{font-size:13px;color:#ccdabf}.engagement-controls input{margin-top:8px}.engagement-filters{display:flex;gap:8px;flex-wrap:wrap}.engagement-filters button{font-size:12px;padding:10px 13px;border-radius:6px;min-height:40px}.engagement-refresh{font-size:12px;color:#8fa58e;margin:20px 0}.engagement-list{display:grid;gap:20px}.engagement-account{border:1px solid #4f644c;border-radius:12px;background:#10271c;overflow:hidden}.engagement-account>header{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:26px}.engagement-account h3{font-size:27px;line-height:1.35;margin:12px 0 8px;color:#f0e8d4}.engagement-account header p{font-size:14px;color:#b9cab6;margin:0}.engagement-row-actions{display:flex;gap:8px;flex-shrink:0}.engagement-row-actions :is(a,button){font-size:12px;border-radius:6px;padding:11px 13px;text-align:center}.engagement-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid #38523c;border-bottom:1px solid #38523c;background:#0c2017}.engagement-facts>span{display:flex;flex-direction:column;gap:10px;padding:19px 22px;border-right:1px solid #38523c}.engagement-facts>span:last-child{border-right:0}.engagement-facts small{font-size:11px;letter-spacing:1.1px;color:#9eb399;line-height:1.5}.engagement-facts b{font-size:13px;line-height:1.55;font-weight:500;color:#dfd6bd}.engagement-detail{padding:0 26px 22px}.engagement-detail>summary{padding:20px 0 0;color:#d9c38e;cursor:pointer;font-size:14px}.engagement-person{border-bottom:1px solid #435b43;margin:26px 0;padding-bottom:24px}.engagement-person h4{font-size:20px;margin:0 0 10px;color:#e2d1a7}.engagement-person h5{font-size:13px;letter-spacing:.7px;margin:18px 0;text-transform:uppercase;color:#bacaaf}.engagement-reading{display:grid;grid-template-columns:1fr 1fr;gap:26px}.engagement-item{display:flex;gap:14px;justify-content:space-between;align-items:flex-start;padding:14px 0;border-bottom:1px solid #2e4834;font-size:13px;line-height:1.5;overflow-wrap:anywhere}.engagement-item b{font-weight:500;color:#dbe3cf}.engagement-item small{display:block;font-size:11px;color:#97ad94;margin-top:5px}.engagement-state{display:inline-block;flex-shrink:0;padding:4px 8px;border:1px solid #486045;border-radius:5px;font-size:11px;color:#b8c9aa;max-width:132px;text-align:center;line-height:1.5}.engagement-state:is(.unopened,.updated,.in_progress){border-color:#9b7e43;background:#8a632126;color:#e3c68c}.engagement-state:is(.opened,.complete,.key_registered){border-color:#47744d;background:#38623929;color:#b0d2a7}.engagement-state.held{border-color:#aa6f63;color:#ecc2ab;background:#712d2933}.engagement-message-list{margin-top:22px}.engagement-message-list summary{font-size:13px;color:#c9d6ba;cursor:pointer}.engagement-review-tools{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:24px}.engagement-review-tools :is(a,button){font-size:12px;padding:10px 13px}.engagement-followup{padding:24px;border:1px solid #536344;border-radius:10px;background:#172d20;max-width:800px}.engagement-followup h4{font-size:22px;margin:0}.engagement-followup label{font-size:14px}.engagement-followup input[type=date]{max-width:260px}.engagement-followup button{justify-self:start;border-radius:6px;font-size:13px}.detective-dashboard .planner-live-status{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:22px}.planner-live-status>span{border:1px solid #4d6247;border-radius:8px;padding:16px;display:flex;flex-direction:column;gap:9px}.planner-live-status small{font-size:11px;color:#9cb097;letter-spacing:1.2px}.planner-live-status b{font-size:14px;color:#dfc795;text-transform:capitalize}.detective-dashboard .planner-links{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:24px}.planner-links :is(a,button){font-size:13px}.briefing-edit{border-top:1px solid #425740;padding-top:22px}.briefing-edit summary{cursor:pointer;color:#d8c18e}.briefing-edit form{margin-top:24px}.announcement-draft textarea{margin-top:16px}.detective-dashboard :is(button,a,summary,input,textarea,select):focus-visible{outline:2px solid #e8c779;outline-offset:4px}
@media(min-width:1600px){.detective-dashboard .command-cards{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1100px){.detective-dashboard .command-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.detective-dashboard .host-grid{grid-template-columns:185px minmax(0,1fr);gap:20px}.command-metrics{gap:10px}.command-metric{padding:18px}.command-metric span{font-size:12px}.engagement-controls{grid-template-columns:1fr}.engagement-account>header{align-items:flex-start;flex-direction:column}.engagement-facts{grid-template-columns:1fr 1fr}.engagement-facts>span:nth-child(-n+2){border-bottom:1px solid #38523c}.engagement-facts>span:nth-child(2){border-right:0}.engagement-reading{grid-template-columns:1fr;gap:0}.planner-next{flex-direction:column;align-items:flex-start!important}}
@media(max-width:760px){.detective-dashboard main{padding:24px 16px 50px}.detective-dashboard .masthead{padding:22px 18px}.detective-dashboard .masthead nav{gap:14px;font-size:12px}.detective-dashboard .command-topline{display:block;margin:0 0 30px}.detective-dashboard .command-topline h1{font-size:33px;margin:14px 0 20px}.detective-dashboard .command-topline>span{font-size:11px;padding:8px 13px}.detective-dashboard .host-grid{display:block}.detective-dashboard .host-grid>aside{position:static;display:grid;grid-template-columns:1fr 1fr;margin-bottom:26px}.detective-dashboard .host-grid>aside button{font-size:12px}.command-section-heading{align-items:flex-start;gap:12px}.command-section-heading h2{font-size:27px}.command-section-heading p{font-size:14px}.command-section-heading>button{font-size:11px;padding:10px}.command-metrics{grid-template-columns:1fr 1fr;gap:10px}.command-metric{padding:20px}.command-metric strong{font-size:36px}.command-metric small{font-size:11px}.detective-dashboard .command-cards{gap:12px}.detective-dashboard .command-card{padding:20px;min-height:230px;gap:15px}.command-card-top{align-items:flex-start;flex-direction:column;gap:10px}.command-card-arrow{display:none}.detective-dashboard .command-card strong{font-size:17px}.detective-dashboard .command-card-description{font-size:12px;line-height:1.65}.detective-dashboard .command-card-tag{font-size:11px}.detective-dashboard .planner-next{padding:22px}.planner-next h2{font-size:22px}.engagement-account>header{padding:22px}.engagement-account h3{font-size:25px}.engagement-row-actions{width:100%;flex-wrap:wrap}.engagement-facts>span{padding:16px}.engagement-detail{padding:0 20px 20px}.engagement-state{max-width:108px;font-size:11px}.engagement-followup{padding:18px}.detective-dashboard .planner-live-status{gap:7px}.planner-live-status>span{padding:12px}.planner-live-status b{font-size:12px}.planner-live-status small{font-size:11px}}
@media(max-width:370px){.detective-dashboard .command-cards{grid-template-columns:1fr}.detective-dashboard .command-card{min-height:180px}.command-card-top{flex-direction:row;align-items:center}}
@media(prefers-reduced-motion:reduce){.detective-dashboard .command-card{transition:none;transform:none}}
.detective-dashboard .engagement-row-actions a.button{display:inline-flex;align-items:center;justify-content:center;border:1px solid #657653;border-radius:6px;background:#152d20;color:#ddca9d;text-decoration:none;min-height:40px}

/* Direct review controls and bounded fields, including Safari's intrinsic select sizing. */
.detective-dashboard :is(.host-grid,#panel,.planner,.planner-chapter,.planner-chapter-body,.planner .fields,.planner label,.planner fieldset){min-width:0;max-width:100%}
.detective-dashboard .planner{width:100%;overflow-wrap:anywhere}
.detective-dashboard .planner :is(input,select,textarea){min-width:0;max-width:100%;width:100%;box-sizing:border-box}
.detective-dashboard .planner input[type=checkbox]{width:20px;min-width:20px}
.detective-dashboard .planner fieldset{min-inline-size:0}
.detective-dashboard .planner-chapter>summary>span:last-child{min-width:0}
.detective-dashboard .planner>header{max-width:860px}
.detective-dashboard .planner>header h2{font-size:clamp(28px,4vw,38px)}
.detective-dashboard .planner>header p{font-size:16px;line-height:1.7}
.detective-dashboard .planner>header p.help{font-size:13px;line-height:1.7;color:#9db39f}
.detective-dashboard .planner-next{display:grid;grid-template-columns:minmax(0,1fr);align-items:start;gap:18px;padding:26px;min-width:0;overflow-wrap:anywhere}
.detective-dashboard .planner-next.has-art{grid-template-columns:110px minmax(0,1fr)}
.planner-preview-art{display:block;align-self:stretch;min-height:128px;overflow:hidden;border:1px solid #6f6745;border-radius:8px;background:#07150f}
.planner-preview-art img{display:block;width:100%;height:100%;max-height:185px;object-fit:cover}
.planner-release-copy{min-width:0}
.detective-dashboard .planner-next .eyebrow{font-size:10px;letter-spacing:1.8px;color:#bfb587}
.detective-dashboard .planner-next h2{font-size:clamp(22px,2.4vw,30px);line-height:1.35;margin:10px 0 12px}
.planner-next h2 a{color:#f1e6c8;text-decoration:none;text-underline-offset:5px}
.planner-next h2 a:hover{text-decoration:underline;text-decoration-color:#bda166}
.planner-prep-count{display:inline-block;margin-top:12px;font-size:12px;line-height:1.5;color:#d4bf88}
.planner-release-actions{grid-column:1/-1;display:flex;gap:10px;flex-wrap:wrap;min-width:0}
.detective-dashboard :is(.planner-release-actions,.planner-links) :is(a.button,button){display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:44px;max-width:100%;min-width:0;padding:12px 16px;border:1px solid #657150;border-radius:7px;background:#142a1e;color:#e0cea2;font:600 13px/1.4 "DM Sans",sans-serif;text-align:center;text-decoration:none;white-space:normal}
.detective-dashboard :is(.planner-release-actions,.planner-links) a.button.planner-play{background:#dfc38b;border-color:#dfc38b;color:#132117}
.detective-dashboard :is(.planner-release-actions,.planner-links) :is(a.button,button):hover{border-color:#efcf8d;filter:brightness(1.08)}
.detective-dashboard .planner-next :is(.planner-preview-note,.planner-previous-note){grid-column:1/-1;margin:0;font-size:12px;line-height:1.6;color:#aabd9f}
.detective-dashboard .planner-next .planner-previous-note{border-top:1px solid #4d5a3e;padding-top:13px;color:#cdbb8d}
@media(max-width:760px){
 .detective-dashboard .planner-next{padding:20px;gap:16px}
 .detective-dashboard .planner-next.has-art{grid-template-columns:72px minmax(0,1fr);column-gap:15px}
 .planner-preview-art{min-height:112px}
 .detective-dashboard .planner-next h2{font-size:23px;margin:8px 0 10px}
 .detective-dashboard .planner-next .eyebrow{font-size:9px;letter-spacing:1.2px}
 .detective-dashboard .planner-next .planner-release-copy>p{font-size:12px}
 .planner-release-actions{display:grid;grid-template-columns:1fr;width:100%;gap:9px}
 .detective-dashboard .planner-release-actions :is(a.button,button){width:100%;min-height:46px}
 .detective-dashboard .planner-links{display:grid;grid-template-columns:1fr;width:100%}
 .detective-dashboard .planner-chapter>summary{align-items:flex-start}
 .detective-dashboard .planner-chapter-body{padding:0 16px 20px}
 .detective-dashboard .planner-fields{grid-template-columns:1fr}
}

.planner-sequence{padding:26px;border:1px solid #61755377;border-radius:12px;margin:25px 0;background:#10231a}.planner-sequence h3{margin:0 0 18px;color:#e6d0a0}.planner-sequence p{display:grid;gap:7px;padding:16px 0;margin:0;border-top:1px solid #586c5144}.planner-sequence p>span{font:11px/1.6 monospace;letter-spacing:.1em;color:#c2b58e}.planner-sequence b{font-size:17px;line-height:1.5;color:#e7e3d2}.planner-sequence small{color:#adbfac;font-size:13px;line-height:1.7}

/* Published material and the host's unchecked preparation record are separate facts. */
.detective-dashboard .planner-status-help{margin:-8px 0 22px;color:#afc0ab;font-size:13px;line-height:1.65}
.detective-dashboard .planner-reminders{margin:28px 0;padding:0;border:0;background:none}
.planner-action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.detective-dashboard .planner-reminder{margin:0;padding:22px;border:1px solid #7e6c44;border-top:3px solid #c3a562;border-radius:10px;background:linear-gradient(145deg,#1d3021,#0e2118);min-width:0;display:flex;align-items:flex-start;flex-direction:column;gap:13px}
.detective-dashboard .planner-reminder[data-state=published]{border-color:#4e735d;border-top-color:#94bc9a;background:linear-gradient(145deg,#193225,#0d2118)}
.planner-action-status{font:600 10px/1.6 "DM Sans",sans-serif;letter-spacing:1.1px;text-transform:uppercase;color:#e0c58e}
.planner-reminder[data-state=published] .planner-action-status{color:#b2d6b6}
.detective-dashboard .planner-reminder h4{font:500 17px/1.55 "DM Sans",sans-serif;color:#eee5cf;margin:0;overflow-wrap:anywhere}
.detective-dashboard .planner-reminder p{font-size:13px;line-height:1.7;color:#b9c9b8;margin:0}
.planner-reminder details{width:100%;border-top:1px solid #52664b;padding-top:12px}
.planner-reminder summary{cursor:pointer;color:#d9c796;font-size:13px;line-height:1.6}
.planner-reminder ul{margin:13px 0 0;padding-left:19px;color:#c2d0be;font-size:13px;line-height:1.7}
.planner-reminder li+li{margin-top:7px}
.detective-dashboard .planner-reminder>button{margin-top:auto;min-height:44px;padding:10px 14px;border:1px solid #698064;border-radius:6px;font-size:13px;color:#e4d2a7;white-space:normal}
@media(max-width:900px){.planner-action-grid{grid-template-columns:1fr}}
.command-exhibit-studio{display:grid;grid-template-columns:1.1fr 1fr;background:#0c2118;border:1px solid #998453;border-top:3px solid #d4b371;border-radius:10px;overflow:hidden;margin:24px 0 34px}
.command-exhibit-studio>div{padding:30px 34px;align-self:center}.command-exhibit-studio h2{font:clamp(26px,3vw,38px)/1.2 Georgia,serif;color:#f0dfb6;margin:15px 0}.command-exhibit-studio p{font-size:16px;line-height:1.6;color:#bdcdb7;max-width:48ch}.command-studio-link{display:inline-block;text-decoration:none;padding:14px 20px;background:#c7a969;border:1px solid #efd799;border-radius:4px;color:#11251a;font-size:15px;margin:8px 0 15px}.command-exhibit-studio small{display:block;font-size:12px;line-height:1.5;color:#a8b89e}.command-studio-art{display:block;min-height:270px}.command-studio-art img{height:100%;width:100%;object-fit:cover;display:block}
@media(max-width:720px){.command-exhibit-studio{grid-template-columns:1fr}.command-exhibit-studio>div{padding:26px 22px}.command-studio-art{min-height:0;max-height:220px;grid-row:1}.command-studio-art img{height:220px}.command-studio-link{display:block;text-align:center}.command-exhibit-studio h2{font-size:28px}}
