/* Readable handover workspace; uses the existing Wavelink palette. */
.ho-workspace{width:100%;min-width:0}.ho-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:18px}.ho-heading h1{margin:4px 0 12px}.ho-heading .actions{flex-shrink:0}.ho-filters{display:flex;gap:16px;flex-wrap:wrap;align-items:center;margin:20px 0}.ho-filters>.field:first-child{flex:1;min-width:180px}.ho-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(330px,100%),1fr));gap:16px}.ho-card h2{font-size:1.3rem;line-height:1.3;overflow-wrap:anywhere}.ho-card p{overflow-wrap:anywhere}.ho-card .btn{width:100%;margin-top:12px}.ho-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.ho-grid>*{min-width:0}.ho-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;background:#eef4f6;padding:18px;border-radius:12px}.ho-meta dt{font-size:.8rem;text-transform:uppercase;letter-spacing:.06em;color:#425969}.ho-meta dd{margin:4px 0;overflow-wrap:anywhere}.ho-section{border-top:1px solid #d7e2e8;margin-top:22px;padding-top:8px}.ho-pre{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65}.ho-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 24px}.ho-tabs button{background:#eff4f6;color:#15323f;border:1px solid #bccfd8;padding:10px 16px;border-radius:9px;cursor:pointer}.ho-tabs button[aria-current=page]{background:#15323f;color:#fff;border-color:#15323f}.ho-audience-picker{max-height:300px;overflow:auto;background:#f6f9fa;border:1px solid #cedde4;border-radius:10px;padding:10px;min-width:0}.ho-audience-picker .checkline{align-items:flex-start;padding:7px 2px;overflow-wrap:anywhere}.ho-audience-picker input{flex-shrink:0}.ho-audience-picker span{min-width:0}.ho-unavailable{color:#894315}.ho-workspace fieldset{border:0;padding:0;margin:14px 0;min-width:0}.ho-workspace fieldset:disabled{opacity:.78}.ho-workspace .actions{flex-wrap:wrap}.ho-workspace input,.ho-workspace textarea,.ho-workspace select{max-width:100%;min-width:0;box-sizing:border-box}.ho-workspace textarea{resize:vertical}.ho-workspace .btn{white-space:normal;overflow-wrap:anywhere}.ho-workspace .notice{overflow-wrap:anywhere}.ho-workspace #ho-detail{background:#fff;border:1px solid #d7e2e8;border-radius:14px;padding:24px}.ho-workspace #ho-result{overflow-wrap:anywhere}.ho-record h2{overflow-wrap:anywhere}.ho-section details{padding:10px 0}
@media(max-width:760px){.ho-heading{display:block}.ho-heading .actions{margin-top:16px}.ho-grid,.ho-meta{grid-template-columns:1fr}.ho-tabs{gap:6px}.ho-tabs button{flex:1 1 40%;padding:10px 8px}.ho-workspace #ho-detail{padding:14px}.ho-filters{display:block}.ho-filters .field{margin-bottom:12px}.ho-filters .checkline{margin:8px 0}.ho-workspace .actions .btn{flex:1 1 160px}.ho-meta{padding:12px}.ho-audience-picker{max-height:230px}}
/* Recovery 1.32: bounded preparation picker and author-only current roster. */
.ho-preparation-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:24px 0}.ho-preparation-grid>section{min-width:0}.ho-source-search{display:grid;gap:8px}.ho-source-list{max-height:460px;overflow:auto;margin:14px 0;border:1px solid #d7e2e8;border-radius:10px}.ho-source-list article{padding:14px;border-bottom:1px solid #d7e2e8;overflow-wrap:anywhere}.ho-source-list h4{margin:0 0 8px}.ho-source-list p{line-height:1.45}.ho-section-options{display:grid;gap:10px;margin:18px 0}.ho-section-options .checkline{align-items:flex-start}.ho-roster{margin:24px 0;padding:20px;background:#f5f9fa;border:1px solid #d7e2e8;border-radius:12px;overflow-wrap:anywhere}.ho-roster-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:12px;margin:18px 0}.ho-roster-cards article{background:#fff;border:1px solid #d7e2e8;border-radius:10px;padding:16px;min-width:0}.ho-roster-cards h3{margin:0 0 10px}.ho-preparation-grid select{width:100%}
@media(max-width:760px){.ho-preparation-grid{grid-template-columns:1fr;gap:16px}.ho-source-list{max-height:300px}.ho-roster{padding:12px}.ho-source-search .btn{width:100%}}

/* Daily operational context, with one prominent action and an accessible shift timeline. */
.ho-daily-board{border:1px solid #b8d1d8;background:#f5fafb;border-radius:14px;padding:24px;margin:22px 0 32px}.ho-daily-board[hidden]{display:none}.ho-day-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:24px}.ho-day-heading h2{margin:4px 0 12px}.ho-day-heading>.btn{flex-shrink:0}.ho-day-filters{display:grid;grid-template-columns:1fr 1.4fr 1.4fr auto;gap:16px;align-items:start;margin:18px 0}.ho-day-filters>*{min-width:0}.ho-day-filters input,.ho-day-filters select{width:100%}.ho-day-filters>.btn{margin-top:26px;margin-bottom:0}.ho-day-timeline{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(310px,100%),1fr));gap:16px;margin:20px 0}.ho-day-entry{background:#fff;border:1px solid #c4d9df;border-left:4px solid #167b87;border-radius:10px;padding:18px;min-width:0;overflow-wrap:anywhere}.ho-day-entry h3{margin:8px 0 14px;font-size:1.25rem}.ho-day-empty{padding:20px;background:#fff;border:1px dashed #b1cbd3;border-radius:10px;line-height:1.6}.ho-daily-context{padding:18px;background:#edf6f7;border-left:4px solid #167b87;border-radius:8px;margin:16px 0 22px;overflow-wrap:anywhere}.ho-daily-context h3{margin:8px 0}.ho-library-title{margin-top:28px}.ho-daily-board p{overflow-wrap:anywhere}
@media(max-width:1000px){.ho-day-filters{grid-template-columns:1fr 1fr}.ho-day-heading{display:block}.ho-day-heading>.btn{margin:8px 0}}
@media(max-width:600px){.ho-daily-board{padding:14px}.ho-day-filters{grid-template-columns:1fr;gap:6px}.ho-day-heading>.btn{width:100%}.ho-day-filters>.btn{margin-top:0;margin-bottom:8px}.ho-day-entry{padding:14px}.ho-day-timeline{grid-template-columns:1fr}}
/* UI20: explicit reusable shift schedule; dates remain visible before saving. */
.ho-ui-badge{display:inline-block;font-size:.72rem;vertical-align:middle;border:1px solid #b8d1d8;padding:3px 8px;border-radius:6px;color:#425969}.ho-schedule-span{grid-column:1/-1}.ho-shift-setup{border:1px solid #b8d1d8;background:#f5fafb;border-radius:12px;padding:20px}.ho-shift-setup h3{margin:6px 0 12px}.ho-shift-setup summary{cursor:pointer;padding:12px 0;font-weight:600}.ho-shift-settings{display:grid;gap:12px;margin:12px 0}.ho-shift-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:12px}.ho-shift-cards article{background:#fff;border:1px solid #c4d9df;border-radius:10px;padding:14px;min-width:0;overflow-wrap:anywhere}.ho-shift-cards article.is-selected{border:2px solid #167b87;background:#edf6f7}.ho-shift-cards h4{font-size:1.05rem;margin:8px 0}.ho-shift-cards p{line-height:1.5}.ho-day-buttons{display:flex;gap:8px;flex-wrap:wrap;margin-top:26px}.ho-date-choice>.btn{margin:8px 0}.ho-workspace #ho-daily-manual[hidden],.ho-workspace #ho-schedule-auto[hidden],.ho-workspace #ho-schedule-count-wrap[hidden],.ho-workspace #ho-schedule-error[hidden]{display:none}.ho-shift-setup select,.ho-shift-setup input{width:100%}
@media(max-width:600px){.ho-schedule-span{grid-column:1}.ho-shift-setup{padding:12px}.ho-shift-cards{grid-template-columns:1fr}.ho-day-buttons{margin-top:0}.ho-day-buttons>.btn{flex:1}.ho-date-choice>.btn{width:100%}}
/* UI21: resume saved work and review a scoped day; no inferred shift status. */
.ho-resume-panel{margin:24px 0;padding:22px;border:1px solid #b8d1d8;border-radius:14px;background:#fff}.ho-resume-panel[hidden]{display:none}.ho-resume-panel h2{margin:6px 0 12px}.ho-count{font-size:1rem;padding:3px 9px;background:#edf6f7;border-radius:6px}.ho-resume-list{display:grid;gap:12px}.ho-resume-entry{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:16px;border:1px solid #d7e2e8;border-radius:10px;min-width:0}.ho-resume-entry>div{min-width:0}.ho-resume-entry h3{font-size:1.1rem;margin:6px 0;overflow-wrap:anywhere}.ho-resume-entry p{margin:7px 0;overflow-wrap:anywhere}.ho-resume-entry>.btn{flex-shrink:0}.ho-day-summary{border:1px solid #b8d1d8;background:#fff;padding:18px;border-radius:10px;margin-top:16px}.ho-day-summary h3{margin:5px 0 12px;overflow-wrap:anywhere}.ho-day-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0}.ho-day-counts>div{background:#f5fafb;padding:14px;border-radius:8px;min-width:0}.ho-day-counts dt{font-size:.9rem;line-height:1.4;overflow-wrap:anywhere}.ho-day-counts dd{font-size:1.6rem;font-weight:600;margin:7px 0 0}.ho-workspace #ho-day-action-status,.ho-workspace #ho-resume-status{overflow-wrap:anywhere}.ho-day-filters{grid-template-columns:1fr 1.4fr 1.4fr}.ho-day-buttons{grid-column:1/-1;margin-top:0}.ho-day-entry button:focus-visible,.ho-resume-entry button:focus-visible{outline:3px solid #147989;outline-offset:3px}
@media(max-width:760px){.ho-day-filters{grid-template-columns:1fr 1fr}.ho-day-filters>.field:last-of-type{grid-column:1/-1}.ho-resume-entry{display:block}.ho-resume-entry>.btn{width:100%;margin-top:10px}.ho-resume-panel{padding:14px}.ho-day-counts{grid-template-columns:1fr}.ho-day-counts>div{display:flex;justify-content:space-between;gap:16px;align-items:center}.ho-day-counts dd{margin:0}.ho-day-summary{padding:14px}}
@media(max-width:600px){.ho-day-filters{grid-template-columns:1fr}.ho-day-buttons{gap:8px}.ho-day-buttons>.btn{flex:1 1 42%}}
.ho-heading{flex-wrap:wrap}.ho-heading>.actions{max-width:100%;flex-shrink:1}

/* UI22: publication and personal acknowledgement remain separate explicit actions. */
.ho-guided-review [hidden], .ho-workspace #ho-save[hidden] { display:none !important; }
.ho-review-progress { list-style:none; display:grid; grid-template-columns:repeat(auto-fit,minmax(190px,1fr)); gap:.65rem; margin:1rem 0; padding:0; }
.ho-review-progress li { display:flex; align-items:center; gap:.6rem; border:1px solid var(--line,#d8e1e8); border-radius:10px; padding:.8rem; color:var(--muted,#526675); overflow-wrap:anywhere; }
.ho-review-progress li[aria-current="step"] { border-color:var(--accent,#38bdf8); color:var(--ink,#183447); background:rgba(56,189,248,.08); font-weight:700; }
.ho-review-progress li>span { border:1px solid currentColor; border-radius:50%; min-width:1.65rem; height:1.65rem; display:inline-grid; place-items:center; flex-shrink:0; }
.ho-review-status { font-size:.88rem; color:var(--muted,#526675); overflow-wrap:anywhere; }
.ho-review-navigation { display:flex; flex-wrap:wrap; gap:.6rem; margin:1rem 0; }
.ho-review-navigation .btn { white-space:normal; }
.ho-guided-review section[data-ho-review-page] { min-width:0; }
.ho-guided-review h3[data-ho-review-heading]:focus { outline:2px solid var(--accent,#38bdf8); outline-offset:4px; }
.ho-review-meta { display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:.7rem; margin:1rem 0; }
.ho-review-meta>div { min-width:0; border-left:3px solid var(--line,#d8e1e8); padding:.55rem .8rem; }
.ho-review-meta dt { color:var(--muted,#526675); font-size:.85rem; }
.ho-review-meta dd { margin:.25rem 0 0; overflow-wrap:anywhere; }
.ho-guided-review #ho-consent { margin-top:1rem; }
@media(max-width:480px){.ho-review-progress,.ho-review-meta { grid-template-columns:1fr; }.ho-review-navigation .btn { flex:1 1 100%; }.ho-guided-review .ho-meta { grid-template-columns:1fr; }}

/* UI23: visible note sections and an opt-in, read-only previous-shift reference. */
.ho-notes-workspace [hidden]{display:none!important}
.ho-notes-heading{display:flex;justify-content:space-between;align-items:start;gap:16px}
.ho-notes-heading>div{min-width:0}.ho-notes-heading h3{margin:5px 0 10px;overflow-wrap:anywhere}
.ho-notes-heading>.btn{flex-shrink:0}.ho-notes-heading p{overflow-wrap:anywhere}
.ho-notes-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:18px;margin:20px 0}
.ho-note-sections{display:flex;flex-direction:column;gap:8px;align-self:start}
.ho-note-sections button{text-align:left;border:1px solid #bccfd8;border-radius:9px;padding:12px;background:#f5fafb;color:#15323f;min-height:64px;cursor:pointer;overflow-wrap:anywhere}
.ho-note-sections button strong,.ho-note-sections button span{display:block}
.ho-note-sections button strong{font-size:.94rem;line-height:1.45}.ho-note-sections button span{font-size:.8rem;margin-top:4px;line-height:1.45}
.ho-note-sections button[aria-current=true]{background:#15323f;color:#fff;border-color:#15323f}
.ho-notes-columns{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;align-items:start;min-width:0}
.ho-note-current,.ho-note-reference{min-width:0;border:1px solid #c4d9df;border-radius:12px;padding:18px;overflow-wrap:anywhere}
.ho-note-reference{background:#f5fafb}.ho-note-current h3{margin:5px 0 16px;font-size:1.15rem}
.ho-note-current textarea{width:100%;min-height:280px;font-size:1rem;line-height:1.6;padding:12px}
.ho-note-caption{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;font-size:.85rem;color:#425969;margin-top:8px}
.ho-note-paging{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}
.ho-notes-workspace button:focus-visible,.ho-note-current h3:focus{outline:3px solid #147989;outline-offset:3px}
.ho-note-reference h4{margin-bottom:8px}.ho-note-reference .actions{gap:8px;display:flex;flex-wrap:wrap}
.ho-note-reference .ho-pre{max-height:580px;overflow:auto;padding:6px 2px}
.ho-notes-workspace .btn{min-height:44px}
@media(min-width:1250px){.ho-notes-columns.with-reference{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:950px){.ho-notes-layout{grid-template-columns:minmax(0,1fr)}.ho-note-sections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ho-notes-heading{flex-wrap:wrap}.ho-note-sections button{min-width:0}}
@media(max-width:480px){.ho-note-current,.ho-note-reference{padding:12px}.ho-note-current textarea{min-height:230px}.ho-notes-heading>.btn{width:100%}.ho-note-sections button{padding:10px;font-size:.88rem}.ho-note-paging>.btn{flex:1 1 100%}.ho-note-reference .actions>.btn{flex:1 1 100%}}

/* UI24: opened-draft comparison and a direct, non-submitting review shortcut. */
.ho-draft-tools{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 16px;margin:20px 0;border:1px solid #b8d1d8;border-left:4px solid #167b87;border-radius:10px;background:#edf6f7;color:#15323f;min-width:0}
.ho-draft-tools p{margin:0;line-height:1.5;overflow-wrap:anywhere}.ho-draft-tools .btn{flex-shrink:0;max-width:100%}
.ho-draft-review{min-width:0}.ho-draft-review h3{font-size:1.5rem;margin:.6rem 0}.ho-draft-review h4{font-size:1.2rem;margin:8px 0}.ho-draft-review h5{font-size:1rem;margin:8px 0 12px;line-height:1.5}.ho-draft-review p{overflow-wrap:anywhere}
.ho-draft-group{border-top:1px solid #c4d9df;padding:22px 0;margin-top:18px}.ho-draft-group-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:14px}
.ho-draft-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.ho-draft-pair>section{min-width:0;padding:14px;background:#f5f8fa;border:1px solid #d7e2e8;border-radius:8px}.ho-draft-pair>section:last-child{background:#f0f8f8}.ho-draft-pair>section:only-child{grid-column:1/-1}.ho-draft-pair h5{color:#425969;font-size:.85rem}.ho-draft-pair .ho-pre{margin:8px 0;white-space:pre-wrap;word-break:normal;overflow-wrap:anywhere}
.ho-draft-detail{padding:14px 0}.ho-draft-tag{display:inline-block;font-size:.8rem;font-weight:500;border:1px solid #b8ccd4;padding:3px 8px;border-radius:6px;margin-left:8px;background:#f5f8fa;color:#425969}
.ho-draft-note,.ho-draft-audience{border:1px solid #c4d9df;border-radius:10px;padding:16px;margin:14px 0;min-width:0;overflow-wrap:anywhere}.ho-draft-review .is-changed{border-left:4px solid #167b87;padding-left:14px}.ho-draft-note summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;min-height:44px;font-weight:600;line-height:1.5;list-style:revert}.ho-draft-note summary::before{content:'+';font-size:1.25rem}.ho-draft-note[open] summary::before{content:'−'}.ho-draft-note summary>span:first-child{flex:1}.ho-draft-note .btn{margin-top:12px}.ho-draft-note .ho-draft-pair{margin-top:14px}
.ho-draft-people{padding:0 0 0 20px;line-height:1.5}.ho-draft-people li{margin:10px 0;overflow-wrap:anywhere}.ho-draft-id{display:block;color:#425969;overflow-wrap:anywhere}.ho-draft-save-next{padding:20px;border:1px solid #b8d1d8;border-radius:10px;background:#edf6f7}
#ho-draft-review-heading,#ho-section-text,#ho-title,#ho-consent,#ho-pane{scroll-margin-top:calc(var(--shell-header-height,84px) + 18px)}
.ho-draft-review button:focus-visible,.ho-draft-review summary:focus-visible,.ho-draft-tools button:focus-visible{outline:3px solid #147989;outline-offset:3px}.ho-draft-review button,.ho-draft-tools button{min-height:44px}
@media(max-width:760px){.ho-draft-tools{display:block;padding:14px}.ho-draft-tools .btn{width:100%;margin-top:12px}.ho-draft-pair{grid-template-columns:1fr}.ho-draft-pair>section:only-child{grid-column:1}.ho-draft-group-heading{display:block}.ho-draft-group-heading .actions{margin-top:12px}.ho-draft-note,.ho-draft-audience{padding:12px}.ho-draft-note summary{flex-wrap:wrap}.ho-draft-tag{margin:0}.ho-draft-save-next{padding:14px}}

/* UI24 compact review: details remain visible; jump controls only focus a section. */
.ho-draft-jumps{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}
.ho-draft-meta-table{width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed;font-size:.95rem;line-height:1.5}
.ho-draft-meta-table th,.ho-draft-meta-table td{vertical-align:top;text-align:left;overflow-wrap:anywhere;padding:12px 14px;border-bottom:1px solid #d7e2e8}
.ho-draft-meta-table thead th{background:#edf6f7;color:#15323f}.ho-draft-meta-table thead th:first-child{width:27%}
.ho-draft-meta-table tbody th{font-weight:600}.ho-draft-meta-table tbody th .ho-draft-tag{display:table;margin:6px 0 0;font-size:.76rem}
.ho-draft-meta-table .ho-pre,.ho-draft-meta-table p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
.ho-draft-meta-table td{background:#f7fafb}.ho-draft-meta-table td:last-child{background:#f0f8f8}
.ho-draft-meta-table tr.is-changed>th{border-left:4px solid #167b87;padding-left:10px}
.ho-draft-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.ho-draft-review h4[id]{scroll-margin-top:calc(var(--shell-header-height,84px) + 18px)}
.ho-draft-review h4[id]:focus{outline:2px solid #147989;outline-offset:4px}
@media(max-width:760px){
 .ho-draft-jumps>.btn{flex:1 1 42%}.ho-draft-meta-table{display:block}.ho-draft-meta-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .ho-draft-meta-table tbody,.ho-draft-meta-table tr,.ho-draft-meta-table th,.ho-draft-meta-table td{display:block;width:100%;box-sizing:border-box}
 .ho-draft-meta-table tr{margin-bottom:14px;border:1px solid #c4d9df;border-radius:8px;overflow:hidden}
 .ho-draft-meta-table td::before{content:attr(data-label);display:block;font-size:.8rem;color:#425969;font-weight:600;margin-bottom:6px}
 .ho-draft-meta-table tbody th .ho-draft-tag{display:inline-block;margin:0 0 0 8px}.ho-draft-meta-table td:last-child{border-bottom:0}
}

/* UI25: incoming list and full read-only publications; no hidden note panels. */
.ho-incoming-panel{margin:22px 0;padding:22px;border:1px solid #b8d1d8;border-radius:12px;background:#f2f8fa;color:#15323f;min-width:0}
.ho-incoming-heading{display:flex;justify-content:space-between;align-items:start;gap:16px}.ho-incoming-heading>div{min-width:0}.ho-incoming-heading h2{margin:5px 0 10px}.ho-incoming-heading p{margin:8px 0}.ho-incoming-heading .btn{flex-shrink:0}
.ho-incoming-filters{display:grid;grid-template-columns:1fr 1fr 1.4fr;gap:14px;margin:18px 0}.ho-incoming-panel p,.ho-incoming-panel h3{overflow-wrap:anywhere}
.ho-incoming-empty{padding:14px;border:1px dashed #b8d1d8;border-radius:8px;grid-column:1/-1}.ho-incoming-panel .ho-card{background:white}.ho-incoming-panel .btn{white-space:normal;min-height:44px}
.ho-publication-reader{min-width:0}.ho-publication-reader h2{font-size:1.6rem;margin:10px 0;overflow-wrap:anywhere}.ho-publication-reader p{overflow-wrap:anywhere}
.ho-reader-meta{display:grid;grid-template-columns:1fr 1fr 2fr;gap:16px;margin:18px 0}.ho-reader-meta>div{min-width:0;border-left:3px solid #b8d1d8;padding:10px 14px}.ho-reader-meta dt{color:#425969;font-size:.86rem}.ho-reader-meta dd{margin:6px 0 0;overflow-wrap:anywhere}
.ho-reader-summary{background:#f2f8fa;border:1px solid #b8d1d8;border-radius:10px;padding:16px;margin:16px 0}.ho-reader-summary h3{margin:0 0 10px}
.ho-reader-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:22px;margin:22px 0}.ho-reader-nav{display:flex;flex-direction:column;align-items:stretch;gap:8px;align-self:start}.ho-reader-nav .btn{text-align:left;white-space:normal;min-height:48px;line-height:1.45}.ho-reader-nav>p{margin:0 0 10px}.ho-reader-text{min-width:0}
.ho-read-section{border-top:1px solid #c4d9df;padding:18px 0;overflow-wrap:anywhere}.ho-read-section:first-child{border-top:0;padding-top:0}.ho-read-section h3{font-size:1.15rem;margin:4px 0 14px}.ho-read-section .ho-pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:1rem;line-height:1.65}.ho-read-blank{color:#425969;font-style:italic}
.ho-publication-reader h3[id],#ho-reader-title,#ho-acknowledgement{scroll-margin-top:calc(var(--shell-header-height,84px) + 18px)}
.ho-publication-reader button:focus-visible,.ho-publication-reader h3:focus,.ho-publication-reader h2:focus,#ho-acknowledgement:focus,.ho-incoming-panel button:focus-visible{outline:3px solid #147989;outline-offset:3px}
@media(max-width:950px){.ho-reader-layout{grid-template-columns:1fr}.ho-reader-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.ho-reader-nav>p{grid-column:1/-1}.ho-reader-meta{grid-template-columns:1fr}.ho-incoming-filters{grid-template-columns:1fr 1fr}.ho-incoming-filters .field:last-child{grid-column:1/-1}}
@media(max-width:600px){.ho-incoming-heading{display:block}.ho-incoming-heading>.btn{width:100%;margin-top:12px}.ho-incoming-panel{padding:14px}.ho-incoming-filters{grid-template-columns:1fr}.ho-incoming-filters .field:last-child{grid-column:1}.ho-reader-nav{gap:8px}.ho-reader-nav .btn{padding:10px;font-size:.9rem}.ho-reader-summary{padding:12px}}
.ho-incoming-about{margin:10px 0}.ho-incoming-about summary{cursor:pointer;min-height:32px;color:#425969;font-size:.9rem}.ho-incoming-about summary:focus-visible{outline:3px solid #147989;outline-offset:3px}

/* UI26: exact publication history and comparison; no work-authority colour codes. */
.ho-history-panel{margin-top:1.4rem;padding:1rem;border:1px solid var(--border,#cbd5e1);border-radius:12px;background:var(--card,#fff);min-width:0}
.ho-history-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;flex-wrap:wrap}
.ho-history-controls,.ho-compare-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.ho-history-controls label,.ho-history-controls select{width:100%;min-width:0;max-width:100%}
.ho-history-panel .btn{text-align:left;white-space:normal;overflow-wrap:anywhere;min-height:44px}
.ho-history-panel .actions{flex-wrap:wrap;justify-content:flex-start}
.ho-revision-comparison,.ho-compare-field,.ho-compare-note,.ho-compare-audience{min-width:0;overflow-wrap:anywhere}
.ho-revision-comparison header{margin:1rem 0}
.ho-revision-comparison .ho-pre{white-space:pre-wrap;overflow-wrap:anywhere;word-break:normal}
.ho-compare-headings>div,.ho-compare-field,.ho-compare-note,.ho-compare-audience{border:1px solid var(--border,#cbd5e1);padding:1rem;border-radius:8px;margin:.75rem 0}
.ho-compare-headings>div{background:var(--panel,#f8fafc)}
.ho-compare-pair>div{min-width:0}
.ho-compare-pair h4,.ho-compare-pair h5{margin:.25rem 0 .65rem}
.ho-change-state{font-size:.82rem;font-weight:600;margin-left:.4rem;border:1px solid currentColor;border-radius:4px;padding:.1rem .3rem;display:inline-block}
.ho-history-panel summary{cursor:pointer;min-height:36px;padding:.35rem 0;text-align:left;font-weight:600;overflow-wrap:anywhere}
.ho-history-panel [tabindex="-1"]{scroll-margin-top:1rem}
.ho-history-panel :is(button,summary,select,[tabindex="-1"]):focus-visible{outline:3px solid #075985;outline-offset:3px}
.ho-history-list,.ho-history-audit{margin-top:1rem}
.ho-compare-note .ho-compare-pair{margin-top:.8rem}
.ho-compare-audience ul{padding-left:1.25rem}
@media(max-width:680px){.ho-history-controls,.ho-compare-pair{grid-template-columns:minmax(0,1fr)}.ho-history-panel{padding:.75rem}.ho-history-panel .actions>.btn{flex:1 1 100%}.ho-compare-pair>div+div{border-top:1px solid var(--border,#cbd5e1);padding-top:1rem}.ho-history-heading>.actions{width:100%}}

/* UI27: author recipient review; counts never imply operational readiness. */
.ho-recipient-panel{margin:1rem 0;padding:1rem;border:1px solid var(--border,#cbd5e1);border-radius:12px;background:var(--card,#fff);min-width:0;overflow-wrap:anywhere}
.ho-recipient-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;flex-wrap:wrap}
.ho-recipient-panel .actions{justify-content:flex-start;flex-wrap:wrap}
.ho-recipient-panel .btn{min-height:44px;text-align:left;white-space:normal;overflow-wrap:anywhere}
.ho-recipient-counts{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:.6rem;margin:1rem 0}
.ho-recipient-counts .btn{display:flex;flex-direction:column;gap:.35rem;align-items:flex-start}
.ho-recipient-counts strong{font-size:1.4rem}
.ho-recipient-counts [aria-pressed="true"]{outline:2px solid currentColor;outline-offset:1px;font-weight:700}
.ho-recipient-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin:1rem 0}
.ho-recipient-filters :is(label,select,input){width:100%;min-width:0;max-width:100%}
.ho-recipient-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(245px,1fr));gap:.8rem;margin:1rem 0}
.ho-recipient-card,.ho-recipient-retained{min-width:0;border:1px solid var(--border,#cbd5e1);border-radius:8px;padding:1rem}
.ho-recipient-card h3{margin-top:0}.ho-recipient-status{font-weight:600}
.ho-recipient-exceptions{margin:1.5rem 0}.ho-recipient-retained{margin:.5rem 0}
.ho-recipient-panel summary{cursor:pointer;min-height:40px;padding:.5rem 0;font-weight:600}
.ho-recipient-panel :is(button,summary,select,input,[tabindex="-1"]):focus-visible{outline:3px solid #075985;outline-offset:3px}
.ho-recipient-panel [tabindex="-1"]{scroll-margin-top:1rem}
@media(max-width:680px){.ho-recipient-filters,.ho-recipient-cards{grid-template-columns:minmax(0,1fr)}.ho-recipient-panel{padding:.75rem}.ho-recipient-panel .actions>.btn{flex:1 1 100%}.ho-recipient-heading>.actions{width:100%}.ho-recipient-counts{grid-template-columns:repeat(2,minmax(0,1fr))}}

@media(max-width:380px){.ho-recipient-counts{grid-template-columns:minmax(0,1fr)}.ho-recipient-counts .btn{flex-direction:row;align-items:center;gap:.75rem}.ho-recipient-counts strong{min-width:2ch}.ho-recipient-counts span{overflow-wrap:normal;word-break:normal}}

/* UI28: grouped preparation guide; source reading and copying are separate. */
.ho-prepare-guide{min-width:0;overflow-wrap:anywhere}
.ho-prep-steps,.ho-prep-source-tabs{display:flex;gap:.65rem;flex-wrap:wrap;margin:1rem 0}
.ho-prep-steps .btn{flex:1 1 180px;text-align:left;min-height:48px;white-space:normal}
.ho-prep-steps [aria-current="step"],.ho-prep-source-tabs [aria-current="true"]{outline:2px solid #075985;outline-offset:1px;font-weight:700}
.ho-prep-source-tabs .btn{display:flex;flex-direction:column;align-items:flex-start;gap:.35rem;text-align:left;white-space:normal;min-width:0;flex:1 1 220px}
.ho-prepare-guide [hidden]{display:none!important}
.ho-prepare-guide :is(button,input,select,textarea,summary,[tabindex="-1"]):focus-visible{outline:3px solid #075985;outline-offset:3px}
.ho-prepare-guide .btn{min-height:44px;white-space:normal;overflow-wrap:anywhere}
.ho-prep-reference{padding:1rem;border:1px solid var(--border,#cbd5e1);border-radius:10px;margin:1rem 0;background:var(--card,#fff);min-width:0}
.ho-prep-reference details{padding:.6rem 0;border-top:1px solid var(--border,#cbd5e1)}
.ho-prep-reference summary{min-height:40px;cursor:pointer;font-weight:600;padding:.5rem 0}
.ho-prep-plan{padding:1rem;border:1px solid var(--border,#cbd5e1);border-radius:8px;min-width:0}
.ho-prep-plan li{margin:.75rem 0}.ho-prep-actions{justify-content:flex-start;flex-wrap:wrap}
@media(max-width:680px){.ho-prep-steps,.ho-prep-source-tabs{display:grid;grid-template-columns:minmax(0,1fr)}.ho-prepare-guide .actions .btn{flex:1 1 100%}.ho-prep-reference{padding:.7rem}}
.ho-prepare-guide .btn{justify-content:flex-start;text-align:left}
.ho-prepare-guide [tabindex="-1"]{scroll-margin-top:120px}
/* UI29: the daily path is one plain notes form; advanced tools stay secondary. */
.sh-board{padding:20px;border:1px solid var(--line,#d8e1e8);border-radius:12px;margin:14px 0 24px;background:var(--surface,#fff)}
.sh-heading,.sh-slot-title{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap}.sh-heading h2{margin:0 0 8px}.sh-filters{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;margin:14px 0}.sh-filters>.field{flex:1 1 160px;min-width:0}.sh-filters .actions{margin-bottom:6px}
.sh-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.sh-shift{padding:16px;border:1px solid var(--line,#d8e1e8);border-radius:10px;min-width:0;overflow-wrap:anywhere}.sh-shift h3{margin:0}.sh-mine{border:2px solid var(--accent,#3badd9)}.sh-tag{display:inline-block;border-radius:6px;padding:3px 7px;background:var(--soft,#edf4f6);font-size:.85rem;font-weight:600}.sh-record{padding:10px 0;border-top:1px solid var(--line,#d8e1e8);margin-top:12px}.sh-record .btn{margin-top:3px}
.sh-more,.sh-more-actions{border:1px solid var(--line,#d8e1e8);padding:12px;border-radius:8px}.sh-more>summary,.sh-more-actions>summary{cursor:pointer;font-weight:600;text-align:left}.sh-more[open]>summary{margin-bottom:18px}.sh-more-actions{padding:9px 12px}.sh-more-actions .btn{display:block;width:100%;margin-top:10px}.sh-more-actions[open]{min-width:200px}
.sh-edit-layout{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(240px,1fr);gap:24px;align-items:start}.sh-notes{border:0;padding:0;margin:0;min-width:0}.sh-notes .field{display:block;margin:0 0 18px}.sh-notes .field>span{display:block;font-weight:600;margin-bottom:7px}.sh-notes textarea{width:100%;resize:vertical;min-height:100px;box-sizing:border-box;line-height:1.5}.sh-reference{padding:16px;border:1px solid var(--line,#d8e1e8);border-radius:10px;min-width:0}.sh-reference details{margin:12px 0}.sh-reference summary{cursor:pointer;font-weight:600}.sh-reference .ho-pre{font-size:.94rem;white-space:pre-wrap;overflow-wrap:anywhere}.sh-state{border-left:3px solid var(--accent,#3badd9);padding:10px 14px;background:var(--soft,#edf4f6);overflow-wrap:anywhere}.sh-share{padding:8px 0;line-height:1.5}.sh-footer{padding:16px 0 6px;border-top:1px solid var(--line,#d8e1e8);margin-top:12px}.sh-footer .actions{display:flex;gap:10px;flex-wrap:wrap}.sh-person{display:flex;align-items:center;gap:16px;justify-content:space-between;padding:10px;border-bottom:1px solid var(--line,#d8e1e8)}.sh-person>span{overflow-wrap:anywhere}.sh-person small{display:block}.sh-person select{width:180px;flex-shrink:0}#sh-setup-fields{border:0;padding:0;min-width:0}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
@media(max-width:800px){.sh-edit-layout{grid-template-columns:1fr}.sh-reference{order:2}.sh-grid{grid-template-columns:1fr}.sh-board{padding:14px}.sh-person{align-items:stretch;flex-direction:column;gap:7px}.sh-person select{width:100%}.sh-footer .actions>.btn{flex:1 1 180px}.sh-filters>.field{flex-basis:100%}.sh-filters>.actions{flex-wrap:wrap}.sh-more{padding:10px}}

/* UI32: compact everyday resume and saved-period grouping; no editor changes. */
.sh-saved-notes:not([hidden]):not(:empty){margin:18px 0 24px;padding:16px;border:1px solid var(--line,#d8e1e8);border-radius:10px;background:var(--soft,#edf4f6)}
.sh-saved-notes h3{margin:0 0 6px}.sh-resume{display:flex;gap:16px;justify-content:space-between;align-items:center;padding:12px 0;border-top:1px solid var(--line,#d8e1e8)}
.sh-resume>div{min-width:0;overflow-wrap:anywhere}.sh-resume p{margin:3px 0}.sh-resume>.btn{flex:0 0 auto;max-width:100%}
.sh-more-saved{margin-top:8px}.sh-more-saved>summary{cursor:pointer;text-align:left;font-weight:600;padding:8px 0}.sh-other-records{margin:20px 0;padding:14px;border:1px solid var(--line,#d8e1e8);border-radius:10px}
.sh-saved-period-notice{padding:10px;background:var(--soft,#edf4f6);border-left:3px solid var(--accent,#3badd9)}
@media(max-width:600px){.sh-resume{align-items:stretch;flex-direction:column;gap:8px}.sh-resume>.btn{width:100%}.sh-saved-notes:not([hidden]):not(:empty){padding:12px}.sh-other-records{padding:12px}}

.sh-scope{margin:12px 0;max-width:420px}.sh-scope>.field{display:block}.sh-scope select{width:100%;max-width:100%}
@media(max-width:600px){.sh-filters>.actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%}.sh-filters>.actions>.btn{min-width:0;width:100%;margin:0}.sh-scope{max-width:none}}

/* UI33: simple optional evidence and compact people assignment. */
.handover-attachments {border-top:1px solid var(--line,#cbd5df);padding-top:1rem;margin-top:1rem;min-width:0}
.handover-attachments [hidden],.sh-person[hidden] {display:none!important}
.ha-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:.8rem;margin-top:.7rem}
.ha-card {border:1px solid var(--line,#cbd5df);border-radius:10px;padding:.7rem;min-width:0;background:var(--card,#fff);color:var(--ink,#102c36)}
.ha-caption {display:flex;flex-direction:column;gap:.35rem;overflow-wrap:anywhere}
.ha-preview {display:flex;align-items:center;justify-content:center;min-height:65px;max-height:160px;overflow:hidden;background:var(--soft,#edf4f5);margin-bottom:.6rem;border-radius:6px;color:var(--ink,#102c36);font-size:.85rem}
.ha-preview img {display:block;max-width:100%;max-height:160px;object-fit:contain}
.ha-preview.ha-expanded {max-height:none}
.ha-preview.ha-expanded img {max-height:650px;width:100%;height:auto}
.ha-caption .actions {flex-wrap:wrap;gap:.35rem}
.sh-hours {padding:.8rem;border:1px solid var(--line,#cbd5df);border-radius:8px;margin-bottom:1rem}
.sh-hours>summary {cursor:pointer;font-weight:700;margin-bottom:.6rem}
#sh-setup-access {max-width:80ch}
#sh-people-count {min-height:1.5em}
@media(max-width:420px){.ha-grid{grid-template-columns:minmax(0,1fr)}.ha-caption .btn{max-width:100%;white-space:normal}.sh-person{grid-template-columns:minmax(0,1fr)}.sh-person select{width:100%;max-width:100%}}

/* Consistent touch targets for current team assignments. */
.sh-person select {min-height:44px; min-width:180px; max-width:100%; border:1px solid var(--line,#ccdae3); border-radius:8px; padding:8px 12px; background:var(--card,#fff); color:var(--ink,#153344); font:inherit;}
@media(max-width:480px){.sh-person select{min-width:0;width:100%;}.sh-person{gap:10px;}}
