/* Reader tools extend the existing accessible page and preserve its full text. */
.workspace-toolbar,.workspace-entry-tools,.workspace-depth{display:flex;flex-wrap:wrap;align-items:end;gap:.7rem;margin:1rem 0}
.workspace-field{display:flex;flex-direction:column;gap:.3rem;max-width:100%;font-weight:600}
.workspace-field input,.workspace-field select,.workspace-field textarea{font:inherit;max-width:100%;min-height:2.75rem;border:1px solid #89958f;border-radius:.3rem;background:var(--surface,#fff);color:var(--ink,#172d29);padding:.55rem}
.workspace-field textarea{width:100%;min-width:15rem}
.workspace-toolbar button,.workspace-entry-tools button,.workspace-depth button,.workspace-dialog button,.workspace-passage-actions button,.workspace-result button,.workspace-shelf-item button,[data-research-shelf] button,[data-targeted-updates] button,.workspace-search-form button{font:inherit;cursor:pointer;min-height:2.75rem;padding:.55rem .8rem;border:1px solid #62746a;border-radius:.35rem;background:#f3f6f1;color:#183e32;white-space:normal}
.workspace-depth{border:1px solid #b8c1b9;padding:.6rem 1rem}.workspace-depth legend{font-weight:700}.workspace-depth [aria-pressed=true]{background:#173f32;color:white}
.workspace-reading-preview,.workspace-evidence,.workspace-result,.workspace-shelf-item{padding:1.1rem;border:1px solid #b5c4b9;border-radius:.35rem;margin:1rem 0;background:#f7faf6;overflow-wrap:anywhere}
.workspace-reading-preview[hidden]{display:none}.workspace-reading-preview p{max-width:75ch}
.workspace-shelf-item{display:grid;gap:.65rem}.workspace-shelf-item>.workspace-field:first-child{flex-direction:row;align-items:center}.workspace-shelf-item input[type=checkbox]{min-width:1.4rem;min-height:1.4rem}
.workspace-definition{font:inherit;font-size:.75em;padding:.1rem .35rem;min-height:1.8rem;margin-inline:.25rem;border:1px solid #8faaa0;border-radius:.25rem;background:transparent;color:inherit;cursor:pointer}
.workspace-passage-actions{display:flex;flex-wrap:wrap;gap:.5rem;margin:-.3rem 0 1.4rem}.workspace-passage-actions button{font-size:.78rem;min-height:2.2rem;padding:.3rem .6rem}
.workspace-copy-status{font-size:.85rem}.workspace-copy-status textarea{display:block;max-width:100%;width:30rem}
.workspace-dialog{width:min(48rem,calc(100% - 2rem));max-height:85vh;overflow:auto;border:1px solid #849d8f;border-radius:.6rem;padding:1.5rem;background:#fbfcf9;color:#162d24;box-shadow:0 1rem 4rem #0005}.workspace-dialog::backdrop{background:#10291d88}.workspace-dialog h2{font-size:1.7rem}.workspace-dialog p{max-width:70ch}
.workspace-quotation{white-space:pre-wrap}.workspace-limitation{font-size:.9rem;border-left:3px solid #829184;padding-left:.75rem}
.workspace-status,.workspace-notice{padding:.5rem 0;font-size:.95rem}.workspace-notice{border:1px solid #998446;background:#fff8d8;padding:1rem;margin:1rem}
.workspace-search-form{display:grid;grid-template-columns:minmax(12rem,2fr) minmax(10rem,1fr) auto;align-items:end;gap:.75rem}.workspace-search-form select{width:100%}
.workspace-back-results{display:inline-block;margin:.5rem 0 1rem;font-size:1rem}
.workspace-revisions{padding:1rem;border:1px solid #b1bdb4;margin:1rem 0}.workspace-revisions summary{cursor:pointer;font-weight:bold}.workspace-diff-delete{border-left:4px solid #995d45;padding:.5rem;background:#fff4ef}.workspace-diff-insert{border-left:4px solid #3d7653;padding:.5rem;background:#edf8ef}.workspace-revisions ins,.workspace-revisions del{color:inherit;text-decoration-thickness:1px}
.workspace-print-pack{margin:2rem 0;padding:1rem;border:1px solid #a8b7a9}.workspace-print-pack pre{white-space:pre-wrap;overflow-wrap:anywhere;font-family:inherit}.workspace-print-pack article{break-before:page}
[data-workspace-entry] [id],.workspace-reading-preview [id],.entry-copy [id]{scroll-margin-top:7rem}
:where(.workspace-dialog,.workspace-toolbar,.workspace-entry-tools,.workspace-depth,.workspace-result,.workspace-revisions,.workspace-shelf-item,[data-research-shelf],[data-passage-search],[data-targeted-updates]) :focus-visible{outline:3px solid #a65d14;outline-offset:3px}
@media(max-width:700px){.workspace-search-form{grid-template-columns:1fr}.workspace-field{width:100%}.workspace-field textarea{min-width:0}.workspace-toolbar>*{max-width:100%}.workspace-dialog{padding:1rem}.workspace-passage-actions{gap:.35rem}.workspace-entry-tools>*{flex:1 1 auto;text-align:center}}
@media(prefers-reduced-motion:reduce){.workspace-dialog,.workspace-reading-preview{scroll-behavior:auto}}
@media print{.workspace-entry-tools,.workspace-depth,.workspace-reading-preview,.workspace-passage-actions,.workspace-definition,.workspace-dialog,.workspace-back-results,.workspace-notice{display:none!important}body.workspace-printing>*{display:none!important}body.workspace-printing>#workspace-print-pack{display:block!important;border:0;background:white;color:black}#workspace-print-pack button{display:none}.workspace-print-pack a{overflow-wrap:anywhere}}
/* Shared research pages and the homepage task routes. */
.reader-tasks .discovery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin-top:1.2rem}
.reader-tasks a.discovery-card{display:block;padding:1.3rem;border:1px solid #b4c3b9;border-radius:.4rem;background:#f3f7ef;color:#173e31;text-decoration:none;box-shadow:0 2px 0 #173e3110}
.reader-tasks a.discovery-card h3{margin:0 0 .6rem;font-size:1.25rem;line-height:1.25}.reader-tasks a.discovery-card p{margin:0;color:#394b40;line-height:1.55}
.reader-tasks a.discovery-card:hover,.reader-tasks a.discovery-card:focus-visible{background:#e8f0e3;border-color:#355d44;outline-offset:3px}
.research-workspace{min-width:0}.research-workspace>nav{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem 1rem;margin:1rem 0 1.5rem}.research-workspace>section{margin:1.5rem 0}
.research-workspace select,.research-workspace input,.research-workspace textarea,.research-workspace button{font:inherit;min-height:2.75rem;max-width:100%;padding:.5rem .7rem;border:1px solid #8a9e91;border-radius:.3rem;background:#fafcf7;color:#172f23}
.research-workspace input,.research-workspace select{margin:.35rem .35rem .8rem 0}.research-workspace button{cursor:pointer;margin:.35rem}.research-workspace label{display:block;font-weight:600}
.research-workspace table{border-collapse:collapse;max-width:100%;width:100%;font-size:.95rem;margin:1rem 0}.research-workspace th,.research-workspace td{padding:.7rem;border:1px solid #bac6bd;text-align:left;vertical-align:top;white-space:normal;overflow-wrap:anywhere}.research-workspace thead th{background:#edf3e8}.research-workspace tbody th{min-width:10rem;max-width:16rem}.research-workspace td{min-width:12rem;max-width:28rem}.research-workspace caption{text-align:left;font-weight:700;margin-bottom:.6rem}
.research-workspace [role=region][tabindex="0"],.research-workspace .workspace-table-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;border-radius:.25rem}
.research-workspace table[tabindex="0"]{display:block;overflow-x:auto}.research-workspace [data-compare-results]>table,.research-workspace [data-legal-timeline]>table{display:block;overflow-x:auto}
.research-workspace [data-source-results]>ol{padding-left:1.5rem}.research-workspace [data-source-results]>ol>li{margin:1rem 0 1.7rem;padding-bottom:1rem;border-bottom:1px solid #bec9c1}.research-workspace [data-source-results] a{overflow-wrap:anywhere}
.research-workspace :focus-visible{outline:3px solid #a65d14;outline-offset:3px}
@media(max-width:1000px){.reader-tasks .discovery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.site-nav{flex-wrap:wrap}.header-inner{gap:.8rem}}
@media(max-width:600px){.reader-tasks .discovery-grid{grid-template-columns:1fr}.reader-tasks a.discovery-card{padding:1rem}.research-workspace select,.research-workspace input{width:100%}.research-workspace [data-compare-results] button{max-width:100%;text-align:left}.site-nav{gap:.45rem .8rem;justify-content:flex-start}.site-nav a{padding:.35rem 0;font-size:.88rem}.header-inner{align-items:flex-start}}

/* Native disclosure keeps all navigation and review dates available without script. */
.site-nav-menu{display:contents}.site-nav-menu>summary{display:none}
.entry-article[data-workspace-entry] .entry-header{margin-bottom:1rem;padding-bottom:.5rem}
.entry-article[data-workspace-entry] .entry-header h1{font-size:clamp(2rem,3.3vw,3.4rem);line-height:1.12;margin:.35rem 0 .65rem}
.entry-article[data-workspace-entry] .entry-header .entry-type{margin-bottom:.25rem}
.entry-article[data-workspace-entry] .entry-header .entry-meta{margin:.35rem 0;gap:.35rem .8rem;font-size:.87rem}
.entry-article[data-workspace-entry] .entry-header details{font-size:.9rem;margin:.5rem 0}
.entry-article[data-workspace-entry] .entry-header details>summary{cursor:pointer;font-weight:600;min-height:2rem;padding:.3rem 0}
.entry-article[data-workspace-entry] .workspace-entry-tools{margin:.6rem 0}.entry-article[data-workspace-entry] .workspace-depth{margin:.6rem 0 1rem}
@media(max-width:672px){.site-nav-menu{display:block;width:100%;grid-column:1/-1}.site-nav-menu>summary{display:list-item;cursor:pointer;min-height:2.75rem;padding:.6rem .8rem;border:1px solid #a6b6a9;border-radius:.3rem;background:#f2f5ed;font-size:.95rem}.site-nav-menu .site-nav{padding:.4rem 0}.header-inner{gap:.45rem;padding:.55rem 0}.entry-article[data-workspace-entry] .entry-header h1{font-size:2rem;line-height:1.12}.entry-article[data-workspace-entry] .entry-header{margin-bottom:.4rem}.entry-article[data-workspace-entry] .entry-meta{font-size:.8rem}.workspace-entry-tools button,.workspace-entry-tools a{font-size:.85rem}.workspace-depth{padding:.4rem .65rem}}
@media print{.site-nav-menu{display:none!important}.entry-header details:not([open])>*:not(summary){display:block!important}.entry-header details>summary{display:none}}

.workspace-search-form .workspace-field{min-width:0;width:100%}.workspace-search-form input,.workspace-search-form select{width:100%;box-sizing:border-box}.workspace-raw-change pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:.85rem}.workspace-raw-change{margin:.5rem 0 1.5rem}.workspace-revisions a{overflow-wrap:anywhere}
.document-page .workspace-table-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;margin:1.25rem 0}
.document-page .workspace-table-scroll table{border-collapse:collapse;width:100%;min-width:38rem;font-size:.95rem}
.document-page .workspace-table-scroll th,.document-page .workspace-table-scroll td{padding:.75rem;border:1px solid #bac6bd;text-align:left;vertical-align:top;overflow-wrap:anywhere}
.document-page .workspace-table-scroll th{background:#edf3e8}.document-page .workspace-table-scroll caption{text-align:left;font-weight:700;margin-bottom:.6rem}
.document-page .workspace-table-scroll:focus-visible{outline:3px solid #a65d14;outline-offset:3px}
.programme-diagram{margin:1.5rem 0}.programme-diagram img{display:block;width:100%;height:auto}
@media print{.document-page .workspace-table-scroll{overflow:visible}.document-page .workspace-table-scroll table{min-width:0;font-size:.8rem}}
