:root{--bc:var(--brand,#007f7b);--bc-bright:var(--brand-raw,#00aaa5);--ink:#182230;--muted:#667085;--line:#e2e8f0;--soft:#f7fafb;--danger:#b42318;font-family:Inter,"Segoe UI",sans-serif;color:var(--ink)}*{box-sizing:border-box}body{margin:0}.skip-link,.sr-only{position:absolute;clip:rect(0 0 0 0);width:1px;height:1px;overflow:hidden}.skip-link:focus{z-index:100;clip:auto;width:auto;height:auto;left:12px;top:12px;padding:10px;background:#fff}
/* Responsibility and Managed Registers are on the master page design (Documents, Sam 2026-11-24): library.css draws the
   shell, main, its gutters, the one head and the buttons; documents.css the heading and the underlined tabs. This sheet
   keeps what the two pages hold and Documents does not. The small label stays only over a dialog's title. */
.eyebrow{margin:0 0 7px;color:var(--bc);font-size:11px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.danger,.ai-card button{border-radius:8px;padding:10px 15px;font:inherit;font-size:12px;font-weight:650;cursor:pointer}.ai-card button{border:1px solid var(--bc);background:var(--bc);color:#fff}.danger{border:1px solid var(--danger);background:var(--danger);color:#fff}.ai-card{display:grid;grid-template-columns:auto minmax(250px,.7fr) minmax(320px,1fr);align-items:center;gap:18px;margin-top:27px;border:1px solid #abd9d6;border-radius:16px;background:#fff;padding:21px 23px;box-shadow:0 12px 36px rgba(7,87,84,.06)}.ai-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#e8f7f6;color:var(--bc);font-size:20px}.ai-card h2,.ai-card p{margin:0}.ai-card h2{font-size:15px}.ai-card p{margin-top:5px;color:var(--muted);font-size:11px;line-height:1.45}.ai-card form{display:flex;gap:8px}.ai-card input{min-width:0;flex:1;border:1px solid var(--line);border-radius:9px;padding:10px 12px;font:inherit;font-size:12px;outline:0}.ai-card input:focus{border-color:var(--bc-bright);box-shadow:0 0 0 3px rgba(0,170,165,.1)}.error{margin-top:18px;border:1px solid #f1a9a3;border-radius:10px;background:#fff5f4;color:#7a271a;padding:12px 15px;font-size:12px}
/* The counts in one line under the head, as Documents says "19 published documents": no row of cards. */
.responsibility-counts{display:flex;flex-wrap:wrap;gap:6px 18px;margin:8px 0 0;color:#6c7d95;font-size:13px}.responsibility-counts strong{color:#101828}.responsibility-counts .attention strong{color:#c26600}
.module-card{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:12px;border:1px solid var(--line);border-radius:13px;background:#fff;padding:15px 17px}.module-card>div{display:flex;align-items:center;gap:13px}.module-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#e9f8f1;color:#087456;font-weight:900}.module-card h2,.module-card p{margin:0}.module-card h2{font-size:13px}.module-card p{margin-top:4px;color:var(--muted);font-size:10px}
/* The sections are Documents' underlined tabs over the section, which sits on the page with no box of its own. */
.workspace-grid{margin-top:8px}.workspace-content{min-height:320px}.responsibility-section-head{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:16px}.responsibility-section-head h2,.responsibility-section-head p{margin:0}.responsibility-section-head h2{font-size:17px;color:#101828}.responsibility-section-head p{margin-top:4px;color:#6c7d95;font-size:12px}
.assignment-order{display:grid;gap:0;margin:0;padding:0;list-style:none;border:1px solid var(--line);border-radius:12px;overflow:hidden}.assignment-order li{display:flex;align-items:center;gap:13px;border-bottom:1px solid var(--line);padding:13px 15px}.assignment-order li:last-child{border:0}.assignment-order li>b{display:grid;place-items:center;width:27px;height:27px;border-radius:8px;background:#eaf7f6;color:var(--bc);font-size:11px}.assignment-order li:last-child>b{background:#fff1e6;color:#b54708}.assignment-order strong,.assignment-order span{display:block}.assignment-order strong{font-size:11px}.assignment-order span{margin-top:3px;color:var(--muted);font-size:9px}.record-list{display:grid;gap:8px}.record{display:grid;grid-template-columns:minmax(170px,1fr) minmax(130px,.55fr) auto;align-items:center;gap:12px;border:1px solid var(--line);border-radius:11px;padding:12px 14px}.record strong,.record span,.record small{display:block}.record strong{font-size:11px}.record span,.record small{color:var(--muted);font-size:9px}.record small{margin-top:4px}.record .status{justify-self:start;border-radius:999px;background:#edf7f2;color:#087456;padding:4px 8px;font-size:9px;font-weight:750}.record .status.exception{background:#fff1e6;color:#b54708}.record button{border:0;background:transparent;color:var(--danger);font:inherit;font-size:9px;font-weight:750;cursor:pointer}.empty{display:grid;place-items:center;min-height:130px;border:1px dashed #cbd5df;border-radius:11px;background:#fbfcfd;color:var(--muted);font-size:11px;text-align:center}.advanced-card{margin-top:14px;border:1px solid var(--line);border-radius:11px;background:#fbfcfd}.advanced-card summary{padding:13px 15px;color:var(--bc);font-size:11px;font-weight:750;cursor:pointer}.advanced-card[open] summary{border-bottom:1px solid var(--line)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px;padding:16px}.form-grid label{display:grid;gap:6px;color:#344054;font-size:10px;font-weight:700}.form-grid input,.form-grid select,.form-grid textarea{width:100%;border:1px solid #cfd8df;border-radius:8px;background:#fff;padding:9px 10px;color:var(--ink);font:inherit;font-size:11px}.form-grid textarea{min-height:76px;resize:vertical}.form-grid .wide{grid-column:1/-1}.form-grid button{justify-self:start}.weekday-field{border:0;margin:0;padding:0}.weekday-field legend{margin-bottom:7px;font-size:10px;font-weight:700}.weekday-field>div{display:flex;gap:5px}.weekday-field label{position:relative;display:block}.weekday-field input{position:absolute;top:0;inset-inline-start:0;margin:0;opacity:0}.weekday-field span{display:grid;place-items:center;width:34px;height:30px;border:1px solid #cfd8df;border-radius:8px;background:#fff;color:var(--muted);font-size:9px;cursor:pointer}.weekday-field input:checked+span{border-color:var(--bc);background:#e8f7f6;color:var(--bc);font-weight:800}dialog{width:min(600px,calc(100vw - 32px));border:0;border-radius:15px;padding:0;box-shadow:0 30px 90px rgba(16,24,40,.28)}dialog::backdrop{background:rgba(16,24,40,.36)}dialog form>header,dialog form>footer{display:flex;align-items:center;justify-content:space-between;padding:18px 20px}dialog form>header{border-bottom:1px solid var(--line)}dialog form>footer{justify-content:flex-end;gap:9px;border-top:1px solid var(--line)}dialog h2{margin:0;font-size:18px}dialog header button{border:0;background:transparent;font-size:22px;cursor:pointer}dialog>form>p,dialog>form>label,#module-preview{margin:0;padding:18px 20px;color:var(--muted);font-size:11px}dialog label{display:grid;gap:7px;font-weight:700}dialog textarea{min-height:90px;border:1px solid var(--line);border-radius:8px;padding:9px;font:inherit}#module-preview ul{margin:8px 0 0;padding-left:18px}#module-preview li{margin:6px 0}#toast{position:fixed;z-index:100;left:50%;bottom:22px;transform:translate(-50%,15px);opacity:0;border-radius:9px;background:var(--ink);color:#fff;padding:10px 14px;font-size:10px;pointer-events:none;transition:.2s}#toast.show{opacity:1;transform:translate(-50%,0)}@media(max-width:900px){.ai-card{grid-template-columns:auto 1fr}.ai-card form{grid-column:1/-1}.record{grid-template-columns:1fr auto}.record>div:nth-child(2){grid-column:1}.form-grid{grid-template-columns:1fr}.form-grid .wide{grid-column:auto}}@media(max-width:560px){.ai-card{grid-template-columns:1fr}.ai-mark{display:none}.ai-card form{display:grid}.module-card{align-items:flex-start}.record{grid-template-columns:1fr}.record .status{justify-self:start}}.record-parts{display:grid;gap:5px;margin:7px 0 0;padding:0;list-style:none}.record-parts li{display:flex;align-items:center;gap:10px}.record-parts li>span:first-child{flex:1;min-width:0;color:var(--muted);font-size:9px}.record .status.ended,.record-parts .status.ended{background:#f2f4f7;color:#475467}.record-parts .status{display:inline-block;border-radius:999px;padding:3px 7px;font-size:9px;font-weight:750}dialog label input{border:1px solid var(--line);border-radius:8px;padding:9px;font:inherit;font-weight:400}#revoke-error{margin:0 20px 16px}
.form-explanation{align-self:end;color:var(--muted);font-size:10px;line-height:1.45}.proposal-list{display:grid;gap:8px;padding:0 16px 16px}

/* Admin on a phone (approved mobile design): the tabs wrap as Documents' do (documents.css), every control is 44px, the composer stays.
   library.css hides every .secondary under 640px (the Documents head's own buttons); on these pages they are the page's
   working buttons (Export, Change Selected, Cancel, Check), so they stay. */
@media (max-width:640px){.library-shell main .secondary{display:revert}.primary,.secondary,.danger,.ai-card button,.record button{min-height:44px;min-width:44px}.ai-card input,.form-grid input,.form-grid select,.form-grid textarea{min-height:48px;font-size:16px}.record{grid-template-columns:1fr}}

/* The one head on a phone: the title above, then its search (full width, as Documents' is) and its buttons. */
@media (max-width:640px){body[data-registers-page] .library-head,body[data-responsibility-page] .library-head{flex-wrap:wrap}body[data-registers-page] .library-actions,body[data-responsibility-page] .library-actions{flex-wrap:wrap}body[data-registers-page] .library-actions .search:not([hidden]){display:flex;flex:1 1 100%;width:100%;height:48px}body[data-registers-page] .library-actions .search input{font-size:16px}}
/* White, as Documents' register is (documents.css body[data-documents-register]); theme.css gives other shells soft grey. */
body[data-registers-page] .library-shell > main,body[data-responsibility-page] .library-shell > main{background:#fff}
