/* Only the Advisory and Continuum document side panels use this component. */
.document-side-panel {container-type:inline-size;container-name:document-panel;}
.document-side-panel .doc-panel-entry {min-width:0;border:0;margin:0;padding:0;}
.document-side-panel .doc-panel-entry-content {min-width:0;display:grid;grid-template-columns:minmax(0,1fr);gap:8px;align-content:start;}
.orientation-documents-panel.document-side-panel .doc-panel-entry-title,
.orientation-documents-panel.document-side-panel .doc-panel-entry-title > :is(strong,span),
.orientation-documents-panel.document-side-panel .doc-panel-entry-title .document-overview-label {display:block;margin:0;padding:0;max-width:none;max-inline-size:none;font:700 14px/1.35 Arial,sans-serif;color:#1f3a5f;}
.orientation-documents-panel.document-side-panel .doc-panel-entry-title .document-overview-label > span {display:inline;font:inherit;color:inherit;}
.document-side-panel .doc-panel-file-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;min-width:0;align-items:stretch;}
.document-side-panel .doc-panel-format-separator {display:none;}
.document-side-panel a.doc-panel-online-button,
.document-side-panel a.doc-panel-file-button {position:relative;box-sizing:border-box;width:100%;max-width:100%;min-width:0;min-height:36px;min-block-size:36px;margin:0;border:1px solid #1f3a5f;border-radius:6px;padding:7px 10px;font:700 14px/1.3 Arial,sans-serif;text-decoration:none;white-space:normal;overflow-wrap:normal;word-break:normal;hyphens:none;box-shadow:none;}
.document-side-panel a.doc-panel-online-button {display:flex;align-items:center;justify-content:center;background:#172f4f;color:#fff;}
.document-side-panel a.doc-panel-online-button:hover {background:#2e4e73;border-color:#2e4e73;}
.document-side-panel a.doc-panel-file-button {display:flex;align-items:center;justify-content:flex-start;padding:7px 27px 7px 32px;background:#fff;color:#1f3a5f;}
.document-side-panel a.doc-panel-file-button:hover {background:#edf1f6;}
.document-side-panel a.doc-panel-file-button :is(.file-button-copy,.document-button-label,.dl-meta,.file-type-caption) {position:static;display:inline;min-width:0;margin:0;padding:0;font:inherit;color:inherit;white-space:normal;}
.document-side-panel a.doc-panel-file-button .file-type-icon {position:absolute;left:8px;top:50%;transform:translateY(-50%);width:16px;height:18px;max-width:none;margin:0;flex:none;vertical-align:middle;}
.document-side-panel a.doc-panel-file-button .site-new-tab-marker,
.document-side-panel a.doc-panel-file-button .file-download-arrow {position:absolute;right:8px;top:50%;transform:translateY(-50%);display:block;width:12px;height:14px;margin:0;padding:0;flex:none;font:14px/14px Arial,sans-serif;color:inherit;vertical-align:middle;}
.document-side-panel a.doc-panel-file-button .file-download-arrow {height:12px;}
.document-side-panel a:is(.doc-panel-online-button,.doc-panel-file-button):focus-visible {outline:3px solid #8b4c12;outline-offset:3px;}
.document-side-panel .doc-panel-cover-entry {display:grid;grid-template-columns:64px minmax(0,1fr);gap:12px;align-items:start;}
.document-side-panel .doc-panel-cover img {display:block;width:64px;max-width:100%;height:auto;border:1px solid #c9d2dc;box-shadow:0 3px 10px #1d355218;}
.document-side-panel .doc-panel-cover-entry .doc-panel-file-grid {grid-template-columns:minmax(0,1fr);}
.document-side-panel .advisory-panel-appendices {margin:14px 0 0;padding:14px 0 0;border:0;border-top:1px solid #d7dee6;}
.document-side-panel .advisory-panel-appendices h3 {margin:0 0 10px;}
.document-side-panel :is(.advisory-panel-appendices-list,.continuum-document-list) {list-style:none;max-width:none;max-inline-size:none;margin:0;padding:0;border:0;}
.document-side-panel .advisory-panel-appendices-list > .doc-panel-entry {margin:0;padding:0;border:0;}
.document-side-panel .advisory-panel-appendices-list > .doc-panel-entry + .doc-panel-entry,
.document-side-panel .continuum-document-list > .doc-panel-entry {margin:14px 0 0;padding:14px 0 0;border:0;border-top:1px solid #d7dee6;}
.document-side-panel .doc-panel-entry-content > .document-online-note {max-width:none;max-inline-size:none;margin:0;padding:0;font:13.6px/1.45 Arial,sans-serif;color:#4d565e;}
.document-side-panel .orientation-panel-accessibility {margin:14px 0 0;padding-top:14px;border-top:1px solid #d7dee6;}
@container document-panel (max-width:270px){.document-side-panel .doc-panel-file-grid {grid-template-columns:minmax(0,1fr);}}

/* Online-first choices are limited to the two panels and download catalogue entries. */
.doc-choices .doc-choice-download-label {display:block;margin:0;padding:0;max-width:none;font:400 12.5px/1.4 Arial,sans-serif;color:#52606b;}
.document-side-panel .doc-panel-entry-content {row-gap:8px;}
.doc-choices a.doc-choice-online {position:relative;display:flex;align-items:center;justify-content:flex-start;gap:8px;min-width:0;min-height:38px;box-sizing:border-box;padding:8px 30px 8px 10px;border:1px solid #172f4f;border-radius:6px;background:#1f3a5f;color:white;box-shadow:0 2px 0 #10233c;font:700 14px/1.3 Arial,sans-serif;text-decoration:none;}
.doc-choices a.doc-choice-online:hover {background:#2e4e73;border-color:#2e4e73;box-shadow:0 2px 0 #172f4f;}
.doc-choices a.doc-choice-online:focus-visible {background:#2e4e73;outline:3px solid #8b4c12;outline-offset:3px;}
.doc-choices .doc-choice-screen {display:block;width:18px;height:18px;min-width:18px;flex:none;color:#fff;}
.doc-choices .doc-choice-online-label {min-width:0;}
.doc-choices .doc-choice-next {position:absolute;right:10px;top:50%;transform:translateY(-50%);font:18px/1 Arial,sans-serif;}
.document-side-panel .doc-choices a.doc-panel-file-button,
.doc-choices-catalogue .downloads-file-actions a.doc-choice-file {position:relative;display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;width:100%;max-width:100%;min-width:0;min-height:34px;min-block-size:34px;margin:0;padding:7px 26px 7px 31px;border:1px solid #c3ccd6;border-radius:6px;background:#f7f9fa;color:#1f3a5f;box-shadow:none;font:600 13px/1.3 Arial,sans-serif;text-decoration:none;white-space:normal;word-break:normal;overflow-wrap:normal;}
.document-side-panel .doc-choices a.doc-panel-file-button:hover,
.doc-choices-catalogue .downloads-file-actions a.doc-choice-file:hover {background:#e8eef3;border-color:#8597aa;}
.doc-choices-catalogue .downloads-file-actions a.doc-choice-file:focus-visible {outline:3px solid #8b4c12;outline-offset:3px;}
.doc-choices-catalogue .downloads-file-actions a.doc-choice-file :is(.file-button-copy,.dl-meta) {display:inline;position:static;margin:0;padding:0;font:inherit;color:inherit;}
.doc-choices-catalogue .downloads-file-actions a.doc-choice-file .file-type-icon {position:absolute;left:8px;top:50%;transform:translateY(-50%);width:16px;height:18px;margin:0;flex:none;}
.doc-choices-catalogue .downloads-file-actions a.doc-choice-file :is(.site-new-tab-marker,.file-download-arrow) {position:absolute;right:8px;top:50%;transform:translateY(-50%);width:12px;height:14px;margin:0;padding:0;font:14px/14px Arial,sans-serif;}
.doc-choices-catalogue .downloads-file-actions a.doc-choice-file .file-download-arrow {height:12px;}
.doc-choices-catalogue > h3 {font:700 14px/1.35 Arial,sans-serif;color:#1f3a5f;}
.doc-choices-catalogue .doc-choice-actions {display:flex;flex-wrap:wrap;align-items:center;gap:12px 18px;min-width:0;}
.doc-choices-catalogue .doc-choice-downloads {display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-width:0;max-width:100%;}
.doc-choices-catalogue .downloads-file-actions {display:flex;flex-wrap:wrap;align-items:stretch;gap:8px;list-style:none;max-width:none;max-inline-size:none;margin:0;padding:0;}
.doc-choices-catalogue .downloads-file-actions > li {display:flex;margin:0;padding:0;min-width:0;max-width:100%;border:0;}
.catalogue-cards .doc-choices-catalogue > .doc-choice-actions {grid-column:1/-1;margin:.6rem 0;}
@media(max-width:600px){
 .doc-choices-catalogue .doc-choice-actions {display:grid;grid-template-columns:minmax(0,1fr);gap:12px;}
 .doc-choices-catalogue .doc-choice-actions > .doc-choice-online {width:100%;}
 .doc-choices-catalogue .doc-choice-downloads {display:grid;grid-template-columns:minmax(0,1fr);gap:6px;}
 .doc-choices-catalogue .downloads-file-actions {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));}
}

.orientation-documents-panel.document-side-panel .doc-choices .doc-choice-download-label {margin:0;padding:0;font:400 12.5px/1.4 Arial,sans-serif;color:#52606b;}
.doc-choices-catalogue .downloads-file-actions a.doc-choice-file .dl-meta {display:inline-block;margin-inline-start:.3em;}

.doc-choices a.doc-choice-online {padding-right:38px;}
.document-side-panel .doc-choices a.doc-choice-online :is(.doc-choice-online-label,.doc-choice-online-label *,.doc-choice-next) {color:inherit;}

/* Phones show a single full-width file choice per row. */
@media(max-width:599px){
 .document-side-panel .doc-panel-file-grid,
 .doc-choices-catalogue .downloads-file-actions {grid-template-columns:minmax(0,1fr);width:100%;}
 .doc-choices-catalogue .downloads-file-actions > li {width:100%;}
 .document-side-panel .doc-panel-cover-entry .doc-panel-file-grid {grid-template-columns:minmax(0,1fr);}
 .doc-choices-catalogue .doc-choice-downloads {width:100%;}
}
