* { box-sizing: border-box; }
:root { color-scheme: dark; font: 16px/1.66 "Segoe UI", Arial, sans-serif; color: #ece8df; background: #09131d; }
body { margin: 0; background: radial-gradient(ellipse at 70% 200px,#1c3445 0,transparent 52rem),#0a1520; }
a { color: #f3d495; text-underline-offset: .2em; }
a:hover { color: #fff1c5; }
a:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 2px solid #efc576; outline-offset: 3px; }
.skip { position: absolute; z-index: 3; left: 12px; top: -5em; padding: 8px 14px; background: #132c3e; }
.skip:focus { top: 6px; }
.mast { background: linear-gradient(120deg,#152937,#070f18 65%,#182937); border-image: url(media/nav-frame.webp) 12 30 / 9px 22px / 0 stretch; }
.mast-inner { width: min(100% - 36px, 1230px); min-height: 75px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 7px 0; }
.brand { display: inline-flex; align-items: center; }
.brand img { width: auto; height: 57px; object-fit: contain; }
.documents { display: flex; flex-wrap: wrap; gap: 5px; justify-content: end; }
.documents a { display: flex; align-items: center; justify-content: center; padding: 8px 13px; line-height: 1.25; font-size: .94rem; text-decoration: none; }
.documents a[aria-current] { background: #172d3d; border-image: url(media/small-frame.webp) 9 14 / 6px 10px / 0 stretch; color: #ffe7af; }
.documents a:hover, footer a:hover { text-decoration: underline; }
.layout { width: min(100% - 38px, 1200px); margin: 33px auto 20px; display: grid; grid-template-columns: minmax(165px,.32fr) minmax(0,1fr); gap: clamp(20px,3vw,42px); align-items: start; }
.index { position: sticky; top: 16px; max-height: calc(100dvh - 32px); overflow-y: auto; padding: 17px 16px; }
.index h2 { margin: 0 0 9px; color: #f5d492; font: 600 1.25rem/1.24 Georgia, serif; }
.index ul, .mobile-index ul { padding: 0; margin: 0; list-style: none; }
.index li + li, .mobile-index li + li { border-top: 1px solid #816d4b49; }
.index a, .mobile-index a { display: block; text-decoration: none; padding: 6px 3px; color: #e9e1d2; font-size: .89rem; line-height: 1.4; }
.index a:hover, .mobile-index a:hover { color: #ffe0a0; text-decoration: underline; }
#policy-document { overflow-wrap: anywhere; background: #101f2c; border: 1px solid #89754f80; border-radius: 3px; min-width: 0; }
.document-heading { padding: clamp(25px,4vw,52px) clamp(20px,4vw,48px); border-image: url(media/panel-frame.webp) 16 18 15 17 / 13px 15px / 0 stretch;
    background: linear-gradient(90deg,#0c1c2af7,#142839de 48%,#0e203380),url(media/castle.webp) 62% 39%/cover; }
h1,h2 { color: #f9dfae; font-family: Georgia, serif; line-height: 1.18; }
h1 { font-size: clamp(1.9rem,4.5vw,3.3rem); margin: 0; }
h1 span { display: block; margin-bottom: 7px; color: #e4c98e; font-size: .91rem; letter-spacing: .055em; }
.updated { margin: 10px 0 0; font-size: .9rem; color: #e1ded8; }
.document-copy { padding: 5px clamp(18px,4vw,47px) 24px; }
.document-copy h2 { margin: 1.6em 0 .5em; padding-top: 12px; border-top: 1px solid #a7875555; font-size: clamp(1.28rem,2.5vw,1.66rem); scroll-margin-top: 15px; }
.document-copy p, .document-copy li { max-width: 78ch; }
.document-copy ul,.document-copy ol { padding-inline-start: 1.45rem; }
.document-copy li + li { margin-top: .45rem; }
strong { color: #faf1df; }
.table-scroll { overflow-x: auto; margin: 15px 0 20px; max-width: 100%; }
table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: .91rem; line-height: 1.48; }
th,td { padding: 10px 12px; text-align: left; vertical-align: top; border: 1px solid #736747; }
th { color: #f7dba8; background: #1c3544; }
tbody tr:nth-child(even) { background: #132636; }
footer { width: min(100% - 38px,1200px); margin: 0 auto 18px; padding: 17px 0 12px; border-top: 1px solid #78613f8a; display: flex; flex-wrap: wrap; gap: 10px 24px; }
footer a { font-size: .88rem; text-decoration: none; }
.mobile-index { display: none; }
@media(max-width:790px) {
    .layout { display: block; width: min(100% - 22px,720px); margin-top: 16px; }
    .index { display: none; }
    .mobile-index { display: block; margin: 16px 18px 0; border-bottom: 1px solid #906f4375; }
    .mobile-index summary { cursor: pointer; color: #edce94; font-weight: 600; padding: 7px 0; }
    .mobile-index[open] ul { padding-bottom: 8px; }
}
@media(max-width:560px) {
    .mast-inner { width: calc(100% - 18px); justify-content: center; flex-direction: column; gap: 2px; padding: 8px 0; }
    .brand img { height: 45px; }
    .documents { width: 100%; justify-content: center; gap: 1px; }
    .documents a { min-height: 38px; flex: 1; text-align: center; font-size: .8rem; padding: 5px; }
    .document-heading { padding: 22px 18px; }
    .document-copy { padding-inline: 15px; }
    .table-scroll:has(th:nth-child(3)) table { min-width: 560px; }
    td,th { padding: 8px; }
}
@media print {
    :root,body,#policy-document,.document-heading { color: #111; background: white; border: 0; }
    .mast,.index,.mobile-index,footer,.skip { display: none; }
    .layout { display: block; width: auto; margin: 0; }
    .document-heading,.document-copy { padding: 0; }
    h1,h1 span,h2,strong,a,.updated,th { color: #111; }
    .table-scroll { overflow: visible; }
    .table-scroll table { min-width: 0; }
    tr,li { break-inside: avoid; }
}
