:root { color-scheme: light; font-family: Arial, Helvetica, sans-serif; color: #17243a; background: #eef2f6; }
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.55; }
.skip-link { position: fixed; top: .5rem; left: .5rem; z-index: 100; padding: .7rem 1rem; background: #fff; color: #163f70; transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid #c7a447; outline-offset: 3px; }
a { color: #075a9c; }
.masthead { background: #fff; border-top: .45rem solid #c7a447; box-shadow: 0 2px 8px #0002; }
.brand { max-width: 72rem; margin: auto; padding: 1.35rem 1.25rem; display: flex; align-items: center; gap: 1rem; }
.brand-mark { width: 3.25rem; height: 3.25rem; border-radius: 50%; background: #163f70; color: #fff; display: grid; place-items: center; font-weight: 700; }
.brand-title { font-family: Georgia, serif; font-size: clamp(1.25rem, 2vw, 1.8rem); color: #163f70; }
.topnav { background: #163f70; color: #fff; }
.topnav-inner { max-width: 72rem; margin: auto; padding: .65rem 1.25rem; display: flex; gap: 1.25rem; align-items: center; }
.topnav a { color: #fff; text-decoration: none; font-weight: 600; }
.topnav .push { margin-left: auto; }
.preview-banner { background: #fff0bf; border-bottom: 1px solid #d1a627; padding: .65rem 1rem; text-align: center; font-weight: 700; }
.review-controls { font-family: Arial, Helvetica, sans-serif; font-size: .9rem; overflow-wrap: anywhere; }
.review-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .5rem 1rem; margin-top: .5rem; }
.review-actions span { min-width: 0; }
.container { max-width: 72rem; margin: 1.5rem auto; padding: 0 1.25rem; }
.panel { background: #fff; border: 1px solid #d7dee8; border-radius: .35rem; padding: 1.3rem; box-shadow: 0 2px 5px #0001; }
.page-heading { color: #163f70; border-bottom: 2px solid #c7a447; padding-bottom: .45rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); gap: 1rem; }
.stack > * + * { margin-top: 1rem; }
.artwork-settings { min-width: 0; border: 1px solid #8b99aa; padding: 1rem; }
.artwork-settings select { margin-bottom: .75rem; }
.flash { background: #e7f5eb; border: 1px solid #7ab68a; padding: .7rem; }
.error { background: #fff0ef; border: 1px solid #c86860; padding: .7rem; }
table { border-collapse: collapse; width: 100%; }
th, td { border-bottom: 1px solid #d7dee8; text-align: left; padding: .55rem; vertical-align: top; }
label { display: block; font-weight: 700; margin-bottom: .3rem; }
input, select, textarea { width: 100%; padding: .55rem; border: 1px solid #8b99aa; border-radius: .2rem; font: inherit; }
textarea { min-height: 16rem; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.button, button { display: inline-block; border: 0; border-radius: .25rem; background: #1769a7; color: white; padding: .55rem .85rem; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.button.secondary, button.secondary { background: #536273; }
.button.warning, button.warning { background: #8c4b00; }
.inline { display: inline; }
.inline button { width: auto; }
.actions { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.muted { color: #586675; font-size: .92rem; }
.badge { display: inline-block; padding: .15rem .45rem; border-radius: 1rem; background: #e6edf5; font-size: .82rem; }
.site-footer { max-width: 72rem; margin: 2rem auto 0; padding: 1.5rem 1.25rem; color: #4c5d70; border-top: 1px solid #ccd5df; }
[hidden] { display: none !important; }
.editor-tools { padding: .65rem; background: #eef2f6; border: 1px solid #8b99aa; }
.editor-mode-tools { margin: .5rem 0; }
.source-confirm { max-width: min(34rem, calc(100% - 2rem)); max-height: calc(100vh - 2rem); overflow: auto; border: 2px solid #163f70; border-radius: .35rem; padding: 1.25rem; }
.source-confirm::backdrop { background: #07172a99; }
.editor-tool-row input[type="number"] { max-width: 7rem; }
.visual-editor table { table-layout: fixed; }
.visual-editor td, .visual-editor th { overflow-wrap: anywhere; border: 1px solid #8b99aa; min-width: 2rem; }
.editor-tool-row { display: flex; align-items: end; flex-wrap: wrap; gap: .5rem; }
.editor-tool-row + .editor-tool-row { border-top: 1px solid #c5cdd8; margin-top: .65rem; padding-top: .65rem; }
.editor-tools label { font-size: .85rem; flex: 1 1 12rem; margin: 0; }
.visual-editor { min-height: 16rem; padding: 1rem; background: #fff; border: 1px solid #8b99aa; border-top: 0; overflow-wrap: anywhere; }
.visual-editor:focus { outline: 3px solid #c7a447; outline-offset: 1px; }
.visual-editor img, .page-body img { max-width: 100%; height: auto; }
.check { display: flex; align-items: start; gap: .6rem; font-weight: normal; }
.check input { width: auto; flex-shrink: 0; margin-top: .4rem; }
.media-card, .revision { border: 1px solid #d7dee8; padding: 1rem; border-radius: .3rem; margin-top: 1rem; }
.hash, .revision-content { overflow-wrap: anywhere; word-break: break-word; }
.revision-content { white-space: pre-wrap; max-height: 20rem; overflow: auto; background: #eef2f6; padding: 1rem; }
.media-unavailable { display: inline-block; padding: .65rem; border: 1px dashed #8c4b00; background: #fff6e4; }
.table-scroll { overflow-x: auto; }
.item-lifecycle { overflow-wrap: anywhere; }
.admin-site .topnav-inner { flex-wrap: wrap; gap: .55rem 1rem; }
.admin-site .topnav-inner > a { padding: .3rem .2rem; }
.admin-site .topnav a[aria-current="page"] { text-decoration: underline; text-underline-offset: .35rem; }
.admin-site .admin-identity { max-width: 19rem; overflow-wrap: anywhere; font-size: .88rem; }
.admin-content-menu { position: relative; }
.admin-content-menu summary { padding: .3rem .2rem; color: #fff; list-style: none; }
.admin-content-menu summary::-webkit-details-marker { display: none; }
.admin-content-menu summary::after { content: ' ▾'; }
.admin-content-options { position: absolute; top: calc(100% + .3rem); left: 0; z-index: 30; min-width: 12rem; padding: .35rem; background: #fff; border: 1px solid #9eabba; border-radius: .25rem; box-shadow: 0 5px 15px #0003; }
.admin-site .topnav .admin-content-options a { display: block; padding: .6rem .8rem; color: #163f70; border-radius: .2rem; }
.admin-site .topnav .admin-content-options a:hover, .admin-site .topnav .admin-content-options a:focus-visible { background: #eef2f6; }
.admin-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: 1.1rem; }
.admin-card { display: flex; flex-direction: column; min-width: 0; padding: 1.35rem; border: 1px solid #d7dee8; border-top: 4px solid #c7a447; border-radius: .4rem; background: #fff; box-shadow: 0 2px 6px #0001; color: #17243a; text-decoration: none; overflow-wrap: anywhere; }
.admin-card:hover { border-color: #163f70; box-shadow: 0 4px 12px #163f7020; }
.admin-card h2 { margin: 0 0 .65rem; color: #163f70; font-size: 1.4rem; }
.admin-card p { margin: 0 0 1rem; }
.admin-card .card-meta { margin-top: auto; margin-bottom: 0; padding-top: .8rem; border-top: 1px solid #e0e6ee; color: #536273; font-size: .88rem; }
.admin-help { overflow-wrap: anywhere; }
.help-search input { flex: 1 1 15rem; min-width: 0; }
.help-topics { display: flex; flex-wrap: wrap; gap: .5rem 1rem; }
.help-topics a[aria-current="page"] { font-weight: bold; }
.help-results li { margin-bottom: 1rem; }
.help-results p { margin: .25rem 0; color: #536273; }
.help-document { white-space: pre-wrap; overflow-wrap: anywhere; max-height: 40rem; overflow: auto; padding: 1rem; border: 1px solid #c5cdd8; background: #f4f6f9; font-size: .88rem; }
@media (max-width: 40rem) { .admin-content-options { position: static; margin-top: .4rem; } .admin-site .admin-identity { max-width: 100%; } }
summary { cursor: pointer; font-weight: bold; }
@media (max-width: 40rem) { .topnav-inner { align-items: flex-start; flex-direction: column; } .topnav .push { margin-left: 0; } .grid { grid-template-columns: minmax(0, 1fr); } .container { padding: 0 .65rem; } .panel { padding: .9rem; } }
