:root,.app,.gate,#reminderModal {
  --jis-canvas:#f8f8f4; --jis-text:#16263b; --jis-muted:#526174;
  --jis-navy-950:#142337; --jis-navy-800:#203e60; --jis-blue-700:#214f8b;
  --jis-blue-100:#edf2f8; --jis-gold:#e9bf58; --jis-border:#dce2e8;
  --jis-radius-lg:9px; --jis-shadow:0 12px 26px #14233709,0 1px 2px #14233708;
}
body { font-size:14px; overflow-wrap:anywhere; }
body .app { display:block; }
.masthead { position:relative; z-index:5; background:linear-gradient(#fff,#fdfdfb); border-bottom:1px solid #dce2e8; box-shadow:0 3px 14px #14233705; }
.masthead-inner,.masthead #workspaceNav { width:min(100%,1560px); margin:auto; padding-inline:clamp(12px,3.5vw,52px); }
.masthead-inner { display:flex; justify-content:space-between; align-items:center; gap:10px; min-height:67px; }
.masthead .brand { padding:0; border:0; gap:10px; }
.masthead .brand b { font-size:18px; color:var(--jis-navy-950); font-weight:740; }
.masthead .brand small { color:var(--jis-muted); font-size:11px; }
.masthead-actions { display:flex; align-items:center; gap:8px; }
.masthead-menu { position:relative; }
.masthead-menu summary { display:flex; align-items:center; gap:8px; min-height:38px; padding:3px 8px; border:1px solid var(--jis-border); border-radius:7px; list-style:none; cursor:pointer; }
.masthead-menu summary::-webkit-details-marker { display:none; }
.masthead-menu summary:hover,.masthead-menu[open] summary { background:var(--jis-blue-100); }
.masthead .user { display:flex; font-size:12px; font-weight:630; gap:7px; }
.masthead .user>span:first-child { width:26px; height:26px; }
.masthead .user .account-name { display:inline; width:auto; height:auto; color:inherit; background:none; border-radius:0; }
.masthead-popover { position:absolute; right:0; top:calc(100% + 7px); width:min(300px,85vw); padding:15px; border:1px solid var(--jis-border); border-radius:8px; box-shadow:0 12px 30px #14233720; background:#fff; z-index:2; }
.masthead-popover h2 { font:720 16px/1.2 var(--jis-display); margin:0 0 7px; }
.masthead-popover ol { padding-left:20px; margin-bottom:0; }
.masthead-popover li+li { margin-top:8px; }
#activityMarker { width:7px; height:7px; border-radius:50%; background:#a04e24; }
.skip-to-workspace { position:absolute; left:12px; top:0; padding:8px 12px; background:white; transform:translateY(-150%); z-index:10; }
.skip-to-workspace:focus { transform:none; }
.masthead #workspaceNav { display:flex; flex-wrap:wrap; align-items:center; gap:2px 14px; padding-block:0; }
.nav-group { display:flex; align-items:center; gap:3px; }
.nav-group+.nav-group { border-left:1px solid var(--jis-border); padding-left:12px; }
.masthead .nav button { display:flex; width:auto; min-height:39px; gap:6px; margin:0; padding:6px 8px; border-radius:0; color:var(--jis-muted); white-space:nowrap; font-size:11.5px; font-weight:640; }
.masthead .nav button .ui-icon { width:15px; height:15px; }
.masthead .nav button:hover { background:#edf2f8; color:#214f8b; }
.masthead .nav button.active { color:#214f8b; background:#edf2f8; border-color:transparent; box-shadow:inset 0 -2px #214f8b; }
.masthead .nav-toggle { color:var(--jis-blue-700); background:#fff; border:1px solid var(--jis-border); margin:0; width:auto; min-height:38px; }
.content { padding:clamp(13px,2.5vw,38px) clamp(14px,3.5vw,54px); }
.content>.breadcrumb { color:#526174; padding-bottom:10px; font-size:12px; }
.app #environmentNote { display:block; padding:5px 10px; margin:0 0 15px; border-color:#e8dfc5; background:#f9f4e7; color:#654d21; }
.app #environmentNote[hidden] { display:none; }
#workspace > section .title { margin:0 0 17px; padding-bottom:15px; border-bottom:1px solid var(--jis-border); }
#workspace > section .title h1 { font:680 clamp(27px,3vw,45px)/1.1 var(--jis-display); color:var(--jis-navy-950); letter-spacing:-.05em; }
.page-heading .page-icon { display:none; }
.title p,.hero-date { font-size:13px; }
.hero-date,.editorial-label { color:#526174; font-size:11px; font-weight:680; letter-spacing:.03em; }
#workspace > section .cardhead h3,.insight-panel h3 { font-weight:690; font-size:18px; }
#workspace > section .card { padding:clamp(12px,1.4vw,21px); box-shadow:var(--jis-shadow); }
.btn { border-radius:7px; font-weight:650; }
.btn.alt { color:#214f8b; border-color:#c7d2df; }
#workspace > section .btn:not(.alt), #localSignIn button { background:linear-gradient(#2e5e9a,#214f8b); border-color:#214f8b; }
#workspace > section .btn:not(.alt):hover { background:#193e71; }
td .btn { margin:2px 5px 2px 0; }
input[type=checkbox] { accent-color:#214f8b; }
.pill { border-radius:5px; }
.tablewrap { border-radius:7px; }
thead th { background:#edf1f6; color:#293e57; }
#reminderModal,.assignment-drawer { color:var(--jis-text); border:1px solid var(--jis-border); border-radius:9px; box-shadow:0 20px 58px #14233728; background:#fff; }
.reminder-card { width:min(590px,calc(100vw - 24px)); padding:clamp(14px,2.7vw,30px); }
#reminderModal::backdrop,.assignment-drawer::backdrop { background:#14233780; }
.assignment-drawer { position:fixed; inset:0 0 0 auto; margin:0; width:min(670px,100vw); height:100%; max-height:none; max-width:none; overflow:auto; padding:clamp(14px,2.4vw,27px); }
.drawer-head,.agenda-heading,.roster-toolbar,.roster-paging,.roster-tools { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px 12px; }
.drawer-head { padding-bottom:12px; margin-bottom:12px; border-bottom:1px solid var(--jis-border); }
.drawer-head h2,.agenda-heading h2,.roster-toolbar h2 { margin:0; font-size:clamp(18px,2vw,24px); letter-spacing:-.035em; font-weight:700; }
#workspace > section .assignment-drawer .duty-builder { grid-template-columns:minmax(0,1fr); }
#workspace > section .assignment-drawer .duty-builder .formgrid { grid-template-columns:repeat(2,minmax(0,1fr)); }
.schedule-workspace { background:#fff; border:1px solid var(--jis-border); border-radius:9px; box-shadow:var(--jis-shadow); }
.roster-toolbar { padding:13px; border-bottom:1px solid var(--jis-border); }
.roster-tools .field { min-width:141px; }
.segmented { display:flex; gap:2px; padding:3px; border-radius:7px; background:#ebeff4; }
.segmented button { padding:6px 11px; min-height:34px; border:1px solid transparent; background:transparent; border-radius:5px; color:#32475e; }
.segmented button[aria-pressed=true] { background:#fff; border-color:#cdd7e1; color:#1a457f; box-shadow:0 2px 5px #14233714; font-weight:680; }
.schedule-scroll { overflow:auto; scrollbar-color:#a8b9cc #f3f6f9; }
.schedule-grid { display:grid; }
.schedule-month { grid-template-columns:repeat(7,minmax(0,1fr)); min-width:730px; }
.schedule-week { grid-template-columns:86px repeat(7,minmax(108px,1fr)); min-width:842px; }
.schedule-weekday,.schedule-lane { padding:7px 9px; background:#f3f5f7; color:#526174; font-size:12px; font-weight:650; }
.schedule-cell,.schedule-weekday,.schedule-lane { min-width:0; border-right:1px solid #e4e9ee; border-bottom:1px solid #e4e9ee; }
.schedule-cell { min-height:70px; padding:5px; }
.schedule-cell[data-outside=true] { background:#f1f3f5; }
.schedule-date { display:block; width:100%; min-height:28px; text-align:left; padding:3px 7px; border:1px solid transparent; border-radius:5px; color:#293e57; background:transparent; font-weight:650; }
.schedule-date:hover,.schedule-date[aria-pressed=true] { color:#193e71; background:#e5edf8; border-color:#bacbe3; }
.schedule-duty { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:1px 6px; margin-top:4px; padding:4px 6px; border-left:3px solid #5a7ea8; border-radius:4px; background:#eef3f8; color:#203753; font-size:10px; line-height:1.3; }
.schedule-duty small { grid-column:1/-1; font-size:10px; color:#45596c; }
.schedule-duty[data-state=Completed] { background:#e7f3ed; border-color:#3b876c; }
.schedule-duty[data-state^=Missed],.schedule-duty[data-state=Overdue] { background:#f9ece9; border-color:#aa5549; }
.schedule-duty[data-state=cancelled] { opacity:.75; border-color:#788899; }
.schedule-duty[data-state=draft] { background:#f6f0e2; border-color:#9d773f; }
.schedule-cell .btn { min-height:24px; padding:3px 6px; margin-top:4px; font-size:10px !important; }
.roster-agenda { padding:14px; background:#fafbf9; border-top:1px solid var(--jis-border); }
.agenda-heading { margin-bottom:8px; }
.agenda-heading p { margin:0; }
#workspace > section .roster-agenda .roster-day { border:0; padding:0; background:transparent; }
#workspace > section .roster-agenda .roster-day article { padding:10px; background:white; border-left:3px solid #718fb2; }
.roster-date-list { padding:8px 14px; border-top:1px solid var(--jis-border); }
.roster-date-list summary { cursor:pointer; color:var(--jis-blue-700); font-weight:650; }
.roster-date-list .btn { min-height:34px; }
.daily-desk,.approval-inbox,.report-workspace,.settings-workspace,.audit-workspace { display:grid; align-items:start; gap:clamp(10px,1.5vw,23px); }
.daily-desk { grid-template-columns:minmax(0,2.1fr) minmax(240px,1fr); }
.daily-desk aside .card { border-top:2px solid #a4b7cd; }
.day-brief { padding:8px 0; border-bottom:1px solid var(--jis-border); margin:0; }
#workspace > section .daily-totals { gap:0; border:1px solid var(--jis-border); border-radius:8px; overflow:hidden; }
#workspace > section .daily-totals .stat { box-shadow:none; border:0; border-right:1px solid var(--jis-border); border-radius:0; background:#fff; min-height:70px; }
.daily-totals .stat .ico { display:none; }
.duty-timeline .tablewrap { margin-top:12px; }
.duty-timeline tbody th,.duty-timeline td:first-child { font-weight:700; border-left:3px solid #91a9c6; }
.duty-timeline .field { max-width:260px; }
.checklist-agenda { max-width:990px; list-style:none; padding:0; margin:15px 0 0; }
.checklist-agenda li { display:grid; grid-template-columns:100px minmax(0,1fr); }
.checklist-agenda li>time { padding:12px 12px 0 0; font-weight:680; color:#214f8b; }
.checklist-agenda article { position:relative; display:grid; grid-template-columns:minmax(0,1fr) auto; gap:7px 15px; padding:11px 0 14px 16px; border-left:2px solid #a6bad2; border-bottom:1px solid var(--jis-border); }
.checklist-agenda article::before { content:""; position:absolute; top:18px; left:-5px; width:8px; height:8px; background:#38669d; border-radius:50%; }
.checklist-agenda h3,.checklist-agenda p { margin:0; }
.checklist-agenda h3 { font-size:17px; }
.checklist-agenda p,.checklist-agenda dt { color:var(--jis-muted); font-size:12px; }
.checklist-state { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:5px; }
.checklist-agenda dl { display:flex; flex-wrap:wrap; gap:6px 18px; grid-column:1/-1; margin:0; }
.checklist-agenda dd { margin:0; font-size:12px; }
.checklist-agenda .actions { grid-column:1/-1; margin:3px 0 0; }
.approval-inbox { grid-template-columns:minmax(220px,1fr) minmax(0,2.4fr); }
.inbox-list,.inbox-detail { background:#fff; border:1px solid var(--jis-border); border-radius:8px; box-shadow:var(--jis-shadow); min-width:0; }
.inbox-list h2 { margin:0; font-size:17px; padding:12px; }
.inbox-list h2 span { color:var(--jis-muted); margin-left:5px; font-size:13px; }
.inbox-list .empty { margin:12px; }
.inbox-item { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:5px; align-items:center; width:100%; border:0; border-top:1px solid var(--jis-border); border-left:3px solid transparent; padding:11px; background:#fff; text-align:left; }
.inbox-item>span:first-child { grid-column:1/-1; color:var(--jis-muted); font-size:11px; }
.inbox-item[aria-pressed=true],.inbox-item:hover { background:#edf2f8; border-left-color:#214f8b; }
.inbox-detail { padding:clamp(14px,3vw,34px); }
.inbox-detail h2 { font-size:clamp(20px,2.6vw,31px); margin:0; letter-spacing:-.04em; }
.inbox-detail h3 { margin:20px 0 4px; font-size:15px; }
.inbox-detail p { margin:5px 0; }
.review-byline { color:var(--jis-muted); }
.settings-workspace { grid-template-columns:minmax(175px,1fr) minmax(0,3.5fr); }
.settings-workspace .setting-tabs { display:grid; align-content:start; background:transparent; border:0; padding:0; margin:0; }
.settings-workspace .setting-tabs .btn { justify-content:flex-start; text-align:left; }
.settings-workspace .setting-tabs [aria-selected=true] { background:#214f8b; color:#fff; }
.report-workspace { grid-template-columns:minmax(240px,1fr) minmax(0,2.75fr); }
.report-controls .filters { grid-template-columns:minmax(0,1fr); gap:8px; }
.report-controls .filters .btn { min-height:38px; }
.document-sheet { min-width:0; background:#fff; border:1px solid var(--jis-border); border-radius:4px; padding:clamp(11px,2vw,29px); box-shadow:var(--jis-shadow); }
.document-sheet .insight-mast { background:#edf2f8; }
.document-sheet .insight-mast h2,.document-sheet .insight-mast p { color:var(--jis-text); }
.document-sheet .insight-metrics { grid-template-columns:repeat(auto-fit,minmax(110px,1fr)); }
.document-sheet .insight-panels { grid-template-columns:repeat(2,minmax(0,1fr)); }
.document-sheet .story { border-bottom:1px solid var(--jis-border); }
.audit-workspace { grid-template-columns:minmax(0,1fr) minmax(0,1.2fr); }
.audit-workspace>section { min-width:0; }
.audit-events { list-style:none; padding:0; margin:0; }
.audit-events li { display:grid; grid-template-columns:minmax(93px,.35fr) 1fr; gap:12px; padding:9px 4px 9px 12px; border-left:2px solid #a6b9cd; border-bottom:1px solid #e7ebef; }
.audit-events time { font-size:11px; color:var(--jis-muted); }
.audit-events h3,.audit-events p { margin:0; }
.audit-events h3 { font-size:13px; }
.audit-workspace .tablewrap .btn { min-height:30px; }
.coverage-panel { color:var(--jis-text); background:linear-gradient(#fff,#f3f7fc); border:1px solid #d9e2ed; box-shadow:var(--jis-shadow); }
.coverage-head p,.chart-legend { color:#4b5c71; }
.coverage-plot text { fill:#4b5c71; }
.coverage-line,.coverage-plot circle,.chart-legend span+span::before { stroke:#2858a0; }
.coverage-plot circle,.chart-legend span+span::before { fill:#2858a0; background:#2858a0; }
.entries-line,.chart-legend span::before { stroke:#986c24; }
.chart-legend span::before { background:#986c24; }
.executive-title { border-bottom:2px solid #20364f !important; }
.editorial-executive { display:grid; grid-template-columns:minmax(0,2.25fr) minmax(255px,1fr); gap:18px; align-items:start; }
.editorial-executive>div,.editorial-executive>aside { min-width:0; }
.editorial-executive>aside { padding-left:15px; border-left:1px solid var(--jis-border); }
.editorial-executive .coverage-panel { margin-bottom:15px; }
.editorial-executive .exec-perf { margin-top:15px; }
.editorial-executive .executive-operations { margin-top:12px; }

@media(max-width:1190px){
 .masthead .nav-toggle { display:flex; }
 .masthead #workspaceNav:not(.nav-open) { display:none; }
 .masthead #workspaceNav.nav-open { display:flex; flex-wrap:wrap; padding-bottom:8px; }
 .masthead .nav-group { flex-wrap:wrap; }
 .report-workspace { grid-template-columns:minmax(190px,1fr) minmax(0,2.8fr); }
}
@media(max-width:800px){
 .masthead-inner { min-height:55px; }
 .masthead .brand b { font-size:14px; }
 .masthead .brand small { display:none; }
 .masthead .user .account-name { display:none; }
 .masthead .nav-group { width:100%; border-left:0; border-top:1px solid var(--jis-border); padding:3px 0; }
 .daily-desk,.editorial-executive,.audit-workspace,.report-workspace { grid-template-columns:minmax(0,1fr); }
 .editorial-executive>aside { padding:0; border:0; }
 .report-controls .filters { grid-template-columns:repeat(auto-fit,minmax(min(142px,100%),1fr)); }
 .roster-agenda { border-top:0; border-bottom:1px solid var(--jis-border); }
 .schedule-workspace { display:flex; flex-direction:column; }
 .roster-agenda { order:-1; }
 .schedule-scroll { max-width:100%; }
}
@media(max-width:600px){
 .settings-workspace,.approval-inbox { grid-template-columns:minmax(0,1fr); }
 .settings-workspace .setting-tabs { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .inbox-list { max-height:280px; overflow:auto; }
 .roster-tools { justify-content:flex-start; }
 .roster-tools .field { width:100%; }
 .document-sheet .insight-panels { grid-template-columns:minmax(0,1fr); }
 .masthead-menu summary { padding-inline:5px; gap:4px; }
 .masthead .brand .logo { width:34px; height:34px; }
 .content { padding-inline:12px; }
 .checklist-agenda li { grid-template-columns:72px minmax(0,1fr); }
 .checklist-agenda article { grid-template-columns:minmax(0,1fr); }
 .checklist-state { justify-content:flex-start; }
}
