:root {
    --ink: #11110f;
    --muted: #706f69;
    --muted: color-mix(in srgb, var(--ink) 62%, transparent);
    --paper: #f2efe8;
    --paper-deep: #e8e2d7;
    --paper-deep: color-mix(in srgb, var(--paper), var(--ink) 7%);
    --line: rgba(17, 17, 15, .14);
    --line: color-mix(in srgb, var(--ink) 14%, transparent);
    --accent: #b16f45;
    --night: #0c0d0d;
    --success: #2f7655;
    --danger: #a94338;
    --radius: 4px;
    --serif: "Songti SC", "Noto Serif SC", Georgia, serif;
    --sans: Inter, "PingFang SC", "Microsoft YaHei", sans-serif;
    --page-max: 1380px;
    --gallery-columns: 3;
    --cover-ratio: 4 / 3;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
button { color: inherit; }
h1, h2, h3, p { margin-top: 0; }

.page-width { width: min(var(--page-max), calc(100% - 64px)); margin-inline: auto; }
.site-header { position: relative; z-index: 20; height: 84px; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: rgba(242, 239, 232, .92); background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(14px); }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: .04em; }
.brand-mark { width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; overflow: hidden; border: 1px solid currentColor; border-radius: 50%; font-family: var(--serif); font-style: normal; }.brand-mark.has-icon { padding: 3px; }.brand-mark img { width: 100%; height: 100%; border-radius: 50%; object-fit: contain; }
.desktop-nav { display: flex; align-items: center; gap: 32px; font-size: 14px; }
.desktop-nav a { position: relative; padding: 28px 0; color: var(--muted); }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 22px; height: 1px; background: var(--ink); transform: scaleX(0); transition: transform .25s ease; }
.desktop-nav a:hover, .desktop-nav a.active { color: var(--ink); }
.desktop-nav a.active::after { transform: scaleX(1); }
.mobile-nav { display: none; }

.hero { position: relative; min-height: calc(100vh - 84px); overflow: hidden; display: grid; grid-template-columns: 1.1fr .9fr; background: var(--night); color: #f6f2e9; }
.hero::before { content: ""; position: absolute; inset: -40%; background: radial-gradient(circle at 65% 50%, rgba(193, 125, 78, .18), transparent 28%), radial-gradient(circle at 22% 18%, rgba(255,255,255,.07), transparent 22%); }
.hero-grain { position: absolute; inset: 0; opacity: .18; background-image: repeating-linear-gradient(90deg, transparent 0 5px, rgba(255,255,255,.025) 5px 6px); }
.hero-copy { position: relative; z-index: 2; align-self: end; padding: 8vw 4vw 9vw max(5vw, 48px); }
.hero-kicker, .section-heading > p, .admin-heading p, .panel-heading p, .collection-hero p { margin-bottom: 18px; text-transform: uppercase; letter-spacing: .24em; font-size: 11px; color: var(--accent); }
.hero h1 { max-width: 720px; margin-bottom: 28px; font: 400 clamp(44px, 6vw, 96px)/1.08 var(--serif); letter-spacing: -.04em; }
.hero-intro { max-width: 560px; color: rgba(255,255,255,.64); font-size: 16px; }
.text-link { display: inline-flex; gap: 18px; margin-top: 34px; padding-bottom: 6px; border-bottom: 1px solid rgba(255,255,255,.4); }
.text-link span { transition: transform .2s ease; }.text-link:hover span { transform: translateX(5px); }
.hero-frame { position: relative; min-height: 600px; margin: 6vw 5vw 6vw 0; overflow: hidden; border: 1px solid rgba(255,255,255,.16); background: linear-gradient(160deg, rgba(255,255,255,.05), transparent 55%), radial-gradient(circle at 50% 45%, rgba(182,111,68,.23), transparent 34%); }
.hero-orbit { position: absolute; width: 58%; aspect-ratio: 1; left: 21%; top: 14%; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; }
.hero-orbit::after { content: ""; position: absolute; inset: 15%; border: 1px solid rgba(255,255,255,.09); border-radius: inherit; }
.hero-sun { position: absolute; left: calc(50% - 10px); top: 42%; width: 20px; height: 20px; border-radius: 50%; background: #e9af72; box-shadow: 0 0 70px 28px rgba(227, 144, 74, .22); }
.hero-horizon { position: absolute; left: 8%; right: 8%; top: 58%; height: 1px; background: rgba(255,255,255,.32); transform: rotate(-6deg); }
.hero-frame > small { position: absolute; left: 24px; bottom: 20px; color: rgba(255,255,255,.45); letter-spacing: .25em; font-size: 9px; }
.hero-photo { background: #151614; }.hero-photo > a { position: absolute; inset: 0; }.hero-photo > a, .hero-photo picture, .hero-photo img { width: 100%; height: 100%; display: block; }.hero-photo img { object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }.hero-photo:hover img { transform: scale(1.018); }.hero-photo-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 36%, rgba(4,5,4,.88) 100%); }.hero-photo-note { position: absolute; left: 22px; top: 18px; color: rgba(255,255,255,.64); text-transform: uppercase; letter-spacing: .2em; font-size: 9px; }.hero-photo figcaption { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 22px; }.hero-photo figcaption > span { color: var(--accent); text-transform: uppercase; letter-spacing: .14em; font-size: 9px; }.hero-photo figcaption h2 { margin: 8px 0 6px; font: 400 clamp(26px, 3vw, 46px)/1.1 var(--serif); }.hero-photo figcaption p { max-width: 620px; margin-bottom: 8px; color: rgba(255,255,255,.7); font-size: 12px; }.hero-photo figcaption small { display: block; color: rgba(255,255,255,.55); font-size: 10px; }.hero-photo figcaption b { display: inline-block; margin-top: 14px; font-size: 10px; letter-spacing: .08em; }

.category-strip, .groups-section { padding-top: 110px; padding-bottom: 20px; }
.home-stats { padding-top: 96px; padding-bottom: 36px; }
.home-chart-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 72px; }.home-chart-grid.single-module { grid-template-columns: minmax(0, 1fr); }.home-chart-grid.single-primary > .category-chart, .home-chart-grid.single-primary > .year-chart { grid-column: 1 / -1; }.home-chart-grid > section { min-width: 0; }.chart-heading { min-height: 44px; margin-bottom: 28px; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); }.chart-heading h3 { margin: 0 0 10px; font: 400 23px var(--serif); }.chart-heading > span { color: var(--muted); font-size: 10px; }.category-rings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }.category-rings figure { margin: 0; text-align: center; }.category-ring { --ring-color: var(--accent); position: relative; width: min(132px, 100%); aspect-ratio: 1; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--ring-color) calc(var(--percent) * 1%), color-mix(in srgb, var(--paper), var(--ink) 10%) 0); }.category-ring::after { content: ""; position: absolute; inset: 15%; border-radius: 50%; background: var(--paper); }.category-ring strong { position: relative; z-index: 1; font: 400 clamp(25px, 3vw, 40px)/1 var(--serif); }.category-ring strong small { font: 400 11px var(--sans); }.category-ring-astronomy { --ring-color: color-mix(in srgb, var(--accent), var(--ink) 34%); }.category-ring-portrait { --ring-color: color-mix(in srgb, var(--accent), var(--paper) 30%); }.category-rings figcaption { display: grid; gap: 2px; }.category-rings figcaption b { font: 400 16px var(--serif); }.category-rings figcaption span { color: var(--muted); font-size: 10px; }.year-line-scroll { width: 100%; max-width: 100%; overflow: hidden; }.year-line-chart { width: 100%; min-width: 0; height: auto; display: block; }.year-line-chart [data-chart-frame] { fill: none; stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }.year-line-chart .year-grid-line { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }.year-line-chart .year-line { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }.year-line-chart .year-point { fill: var(--paper); stroke: var(--accent); stroke-width: 3; vector-effect: non-scaling-stroke; }.year-line-chart text { fill: var(--muted); font: 400 15px var(--sans); }.year-line-chart .year-value { fill: var(--ink); font-weight: 500; }.year-line-chart .year-axis-title { fill: var(--ink); }.chart-empty { color: var(--muted); font-size: 12px; }.home-equipment { padding-top: 72px; padding-bottom: 36px; }.equipment-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 72px; }.equipment-row { min-height: 54px; display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); }.equipment-row strong { font: 400 15px var(--serif); }.equipment-row span { color: var(--muted); font-size: 10px; }
.focal-chart { grid-column: 1 / -1; min-width: 0; padding-top: 8px; }.focal-line-scroll { width: 100%; max-width: 100%; overflow: hidden; }.focal-line-chart { width: 100%; min-width: 0; height: auto; display: block; }.focal-line-chart [data-chart-frame] { fill: none; stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }.focal-line-chart .focal-grid-line { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }.focal-line-chart .focal-area { fill: url(#focal-area-gradient); }.focal-line-chart .focal-line { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }.focal-line-chart .focal-point { fill: var(--paper); stroke: var(--accent); stroke-width: 3; vector-effect: non-scaling-stroke; }.focal-line-chart text { fill: var(--muted); font: 400 15px var(--sans); }.focal-line-chart .focal-value { fill: var(--ink); font-weight: 500; }.focal-line-chart .focal-axis-title { fill: var(--ink); }.focal-summary { margin: 12px 0 0 70px; color: var(--muted); font-size: 10px; }
.equipment-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 44px; border-bottom: 1px solid var(--line); }
.section-heading h2 { margin-bottom: 22px; font: 400 clamp(28px, 4vw, 54px)/1.2 var(--serif); }
.section-heading > p { margin-bottom: 28px; }
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.category-tile { min-height: 360px; padding: 34px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); margin-right: -1px; transition: background .25s, color .25s, transform .25s; }
.category-tile > span { color: var(--accent); font-size: 12px; letter-spacing: .18em; }
.category-tile h3 { margin: auto 0 12px; font: 400 48px/1 var(--serif); }
.category-tile p { max-width: 240px; color: var(--muted); }
.category-tile b { margin-top: 28px; font-size: 12px; letter-spacing: .08em; }
.category-tile:hover { position: relative; z-index: 1; color: #fff; background: var(--night); transform: translateY(-5px); }
.category-tile:hover p { color: rgba(255,255,255,.62); }

.group-grid { display: grid; grid-template-columns: repeat(var(--gallery-columns), minmax(0, 1fr)); gap: 56px 24px; }
.group-card { min-width: 0; }
.group-cover { display: block; overflow: hidden; border-radius: var(--radius); background: var(--paper-deep); aspect-ratio: var(--cover-ratio); }
.group-cover picture, .group-cover img, .photo-placeholder { width: 100%; height: 100%; }
.group-cover img { object-fit: cover; transition: transform .55s cubic-bezier(.2,.7,.2,1); }
.group-card:hover .group-cover img { transform: scale(1.025); }
.group-card-copy { padding: 20px 4px; }
.eyebrow { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 12px; color: var(--accent); text-transform: uppercase; letter-spacing: .12em; font-size: 10px; }
.group-card-date { font-size: 20px; }
.eyebrow span + span::before { content: "/"; margin-right: 14px; color: var(--line); }
.group-card h3 { margin-bottom: 10px; font: 400 27px/1.25 var(--serif); }
.group-card-copy p { color: var(--muted); font-size: 14px; }
.photo-count { color: var(--muted); font-size: 11px; }
.photo-placeholder { min-height: 160px; display: grid; place-items: center; background: linear-gradient(135deg, #dad4c8, #beb5a8); color: rgba(17,17,15,.5); font-size: 12px; }
.empty-gallery { padding: 90px 7vw; border: 1px solid var(--line); border-radius: var(--radius); background: color-mix(in srgb, var(--paper), white 20%); }
.empty-gallery span { color: var(--accent); text-transform: uppercase; letter-spacing: .18em; font-size: 10px; }
.empty-gallery h3 { margin: 20px 0 12px; font: 400 clamp(28px, 4vw, 50px)/1.2 var(--serif); }
.empty-gallery p { max-width: 620px; color: var(--muted); }

.collection-hero { min-height: 390px; padding: 70px max(32px, calc((100vw - var(--page-max))/2)); display: flex; align-items: end; justify-content: space-between; color: #fff; background: var(--night); }
.collection-hero h1 { margin: 0; font: 400 clamp(70px, 11vw, 150px)/.86 var(--serif); }
.collection-intro { max-width: 560px; margin-top: 28px; color: rgba(255,255,255,.62); font-size: 15px; }
.collection-hero > span { max-width: 250px; padding-bottom: 14px; color: rgba(255,255,255,.48); letter-spacing: .24em; font-size: 10px; }
.collection-landscape { background: radial-gradient(circle at 75% 55%, rgba(170,111,72,.36), transparent 26%), #111411; }
.collection-astronomy { background: radial-gradient(circle at 72% 25%, rgba(129,143,187,.24), transparent 2%, transparent 22%), #090b13; }
.collection-portrait { background: radial-gradient(circle at 72% 42%, rgba(180,104,85,.28), transparent 22%), #17110f; }
.filter-bar { padding-top: 34px; }
.filter-bar form, .admin-filters { display: flex; align-items: end; gap: 12px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.filter-bar label { display: grid; gap: 6px; min-width: 150px; color: var(--muted); font-size: 11px; }
select, input, textarea { width: 100%; border: 1px solid var(--line); border-radius: 2px; background: color-mix(in srgb, var(--paper), white 45%); color: var(--ink); outline: none; }
select, input { min-height: 44px; padding: 0 12px; }
textarea { padding: 11px 12px; resize: vertical; }
select:focus, input:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(177,111,69,.1); }
.button { min-height: 42px; padding: 9px 18px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 2px; background: transparent; font-weight: 600; font-size: 13px; }
.button:hover { border-color: var(--ink); }
.button-dark { color: #fff; background: var(--ink); border-color: var(--ink); }
.button-dark:hover { background: #32322f; }
.public-shell .button-dark { background: var(--night); border-color: var(--night); }.public-shell .button-dark:hover { background: color-mix(in srgb, var(--night), white 14%); }
.button-danger { color: #fff; background: var(--danger); border-color: var(--danger); }
.reset-link, .back-link { color: var(--muted); font-size: 13px; }
.result-summary { margin-bottom: 24px; color: var(--muted); font-size: 13px; }.result-summary strong { color: var(--ink); font-size: 18px; }
.pagination { width: 100%; margin: 50px 0; }
.pagination-nav { width: 100%; display: grid; grid-template-columns: minmax(92px, auto) minmax(0, 1fr) minmax(92px, auto); align-items: center; gap: 16px; }
.pagination-pages { min-width: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; }
.pagination-item { min-width: 40px; height: 40px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid var(--line); border-radius: 2px; white-space: nowrap; font-size: 12px; line-height: 1; transition: border-color .18s, color .18s, background .18s; }
a.pagination-item:hover { border-color: var(--ink); }
.pagination-current { color: var(--paper); border-color: var(--ink); background: var(--ink); }
.pagination-disabled { opacity: .34; cursor: default; }
.pagination-ellipsis { min-width: 24px; padding-inline: 3px; border-color: transparent; }
.pagination-edge:first-child { justify-self: start; }
.pagination-edge:last-child { justify-self: end; }

.group-detail { padding-top: 80px; padding-bottom: 100px; }
.group-detail-header { max-width: 920px; margin: 0 auto 90px; }
.group-detail-header .back-link { display: inline-block; margin-bottom: 64px; }
.group-detail-header h1 { margin-bottom: 28px; font: 400 clamp(44px, 7vw, 92px)/1.05 var(--serif); letter-spacing: -.035em; }
.group-lead { max-width: 740px; color: var(--muted); font: 400 18px/1.9 var(--serif); }
.equipment { margin-top: 28px; max-width: 720px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }.equipment summary { padding: 14px 0; cursor: pointer; font-size: 13px; }.equipment p { color: var(--muted); }
.photo-stream { width: min(1180px, 100%); margin-inline: auto; display: grid; gap: 88px; }
.photo-work { margin: 0; }
.photo-open { position: relative; width: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.photo-open picture { width: 100%; display: grid; place-items: center; }.photo-open img { width: auto; max-width: 100%; height: auto; max-height: min(82vh, 1000px); object-fit: contain; background: transparent; margin: 0; }
.view-cue { position: absolute; right: 18px; bottom: 18px; padding: 7px 10px; color: #fff; background: rgba(0,0,0,.58); opacity: 0; transition: opacity .2s; font-size: 11px; }.photo-open:hover .view-cue { opacity: 1; }
.photo-work figcaption { max-width: 940px; margin: 20px auto 0; display: grid; gap: 9px; }.photo-work figcaption h2 { margin-bottom: 5px; font: 400 22px var(--serif); }.photo-work figcaption p, .photo-work figcaption small { color: var(--muted); font-size: 13px; }.photo-work figcaption small { max-width: none; text-align: left; }
.lightbox { width: 100vw; max-width: none; height: 100vh; max-height: none; padding: 0; border: 0; color: #fff; background: rgba(5,5,5,.97); }.lightbox::backdrop { background: rgba(0,0,0,.9); }.lightbox[open] { display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; }.lightbox-stage { height: 100vh; padding: 40px 0 90px; display: grid; place-items: center; }.lightbox-stage img { max-width: 100%; max-height: calc(100vh - 150px); object-fit: contain; }.lightbox-copy { position: absolute; left: 7vw; right: 7vw; bottom: 20px; display: grid; grid-template-columns: 1fr auto; gap: 4px 30px; }.lightbox-copy h2 { margin: 0; font: 400 18px var(--serif); }.lightbox-copy p { margin: 0; color: rgba(255,255,255,.6); font-size: 12px; }.lightbox-copy small { grid-row: 1/3; grid-column: 2; align-self: center; color: rgba(255,255,255,.48); }.lightbox button { border: 0; color: #fff; background: transparent; font-size: 24px; }.lightbox-close { position: absolute; z-index: 2; right: 22px; top: 16px; width: 44px; height: 44px; }.lightbox-prev, .lightbox-next { height: 80px; }
.site-footer { margin-top: 120px; min-height: 150px; padding: 40px 32px; display: flex; justify-content: space-between; align-items: end; gap: 28px; color: rgba(255,255,255,.55); background: var(--night); font-size: 12px; }
.site-footer > div:first-child { display: grid; gap: 5px; }.site-footer small { color: rgba(255,255,255,.36); }.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 20px; }.footer-links a:hover { color: #fff; }

/* Admin */
.admin-shell { min-height: 100vh; background: #e9e5dd; }
.admin-sidebar { position: fixed; inset: 0 auto 0 0; z-index: 20; width: 245px; padding: 28px 20px; display: flex; flex-direction: column; color: #ece7df; background: #121311; }
.admin-brand { padding: 0 6px 30px; border-bottom: 1px solid rgba(255,255,255,.12); }.admin-brand small { display: block; color: rgba(255,255,255,.45); font-weight: 400; font-size: 10px; }
.admin-sidebar nav { display: grid; gap: 4px; margin-top: 30px; }.admin-sidebar nav a { padding: 10px 12px; color: rgba(255,255,255,.56); border-radius: 3px; font-size: 13px; }.admin-sidebar nav a:hover, .admin-sidebar nav a.active { color: #fff; background: rgba(255,255,255,.08); }
.admin-sidebar > form { margin-top: auto; }.admin-sidebar > form button { width: 100%; padding: 10px; border: 0; color: rgba(255,255,255,.55); background: transparent; text-align: left; }
.admin-main { min-height: 100vh; margin-left: 245px; }.admin-page { width: min(1180px, calc(100% - 56px)); margin: 0 auto; padding: 54px 0 90px; }.admin-mobile-header { display: none; }
.admin-heading { margin-bottom: 34px; display: flex; justify-content: space-between; align-items: end; gap: 24px; }.admin-heading p { margin-bottom: 8px; }.admin-heading h1 { margin: 0; font: 400 clamp(34px, 5vw, 56px)/1.1 var(--serif); }.heading-actions { display: flex; gap: 8px; }.heading-actions form { display: contents; }
.notice { margin-bottom: 20px; padding: 14px 18px; border: 1px solid; background: rgba(255,255,255,.45); font-size: 13px; }.notice ul { margin-bottom: 0; }.notice.success { border-color: rgba(47,118,85,.35); color: var(--success); }.notice.error { border-color: rgba(169,67,56,.35); color: var(--danger); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 24px; }.stat-grid article { min-height: 150px; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--line); background: rgba(255,255,255,.52); }.stat-grid span { color: var(--muted); font-size: 12px; }.stat-grid strong { font: 400 48px var(--serif); }
.admin-panel { margin-bottom: 22px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.58); box-shadow: 0 12px 30px rgba(40,36,30,.04); }.admin-panel.no-pad { padding: 0; overflow: hidden; }
.panel-heading { margin-bottom: 24px; display: flex; align-items: end; justify-content: space-between; gap: 20px; }.panel-heading p { margin-bottom: 5px; }.panel-heading h2 { margin: 0; font: 400 28px var(--serif); }.panel-heading > span, .panel-heading a { color: var(--muted); font-size: 12px; }
.admin-group-list { display: grid; }.admin-group-list > a { min-width: 0; padding: 12px 0; display: grid; grid-template-columns: 74px 1fr auto; align-items: center; gap: 16px; border-bottom: 1px solid var(--line); }.admin-group-list > a:last-child { border-bottom: 0; }.admin-group-list picture, .admin-group-list .photo-placeholder { width: 74px; height: 58px; }.admin-group-list img { width: 100%; height: 100%; object-fit: cover; }.admin-group-list strong, .admin-group-list small { display: block; }.admin-group-list small { color: var(--muted); }.admin-group-list.roomy > a { padding: 14px 20px; grid-template-columns: 105px 1fr auto; }.admin-group-list.roomy picture, .admin-group-list.roomy .photo-placeholder { width: 105px; height: 78px; }
.status { display: inline-flex; width: fit-content; padding: 4px 8px; border-radius: 20px; color: var(--muted); background: #ddd8cf; font-style: normal; font-size: 10px; white-space: nowrap; }.status-published, .status-ready { color: var(--success); background: rgba(47,118,85,.1); }.status-failed { color: var(--danger); background: rgba(169,67,56,.1); }.status-processing { color: #8c642e; background: #eee2c9; }
.admin-empty { padding: 60px 20px; text-align: center; }.admin-empty h3 { margin-bottom: 6px; font: 400 26px var(--serif); }.admin-empty p { color: var(--muted); }
.admin-filters { margin-bottom: 18px; }.admin-filters input { flex: 1; }.admin-filters select { width: 160px; }.admin-pagination { padding: 0 20px 20px; }
.stack-form { display: grid; gap: 22px; }.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }.field { display: grid; align-content: start; gap: 6px; color: #4d4c47; font-size: 12px; }.field small { color: var(--muted); }.span-2 { grid-column: span 2; }.check-field { display: flex; align-items: center; gap: 8px; color: #4d4c47; font-size: 12px; }.check-field input { width: 16px; min-height: 16px; }.align-end { align-self: end; min-height: 44px; }.form-actions { display: flex; justify-content: flex-end; gap: 10px; }
.module-switches { margin: 0; padding: 17px 18px 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 22px; border: 1px solid var(--line); }.module-switches legend { padding: 0 8px; color: var(--muted); font-size: 11px; }
.upload-box { min-height: 160px; padding: 24px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 18px; border: 1px dashed #aaa399; background: rgba(255,255,255,.3); transition: border-color .18s, background .18s, transform .18s, box-shadow .18s; }.upload-box input { position: absolute; width: 1px; height: 1px; opacity: 0; }.upload-box label { min-width: 0; display: grid; cursor: pointer; }.upload-box label strong { font: 400 22px var(--serif); }.upload-box label span { overflow-wrap: anywhere; color: var(--muted); font-size: 12px; }.upload-box.drag-over { border-color: var(--accent); background: rgba(177,111,69,.09); box-shadow: inset 0 0 0 2px rgba(177,111,69,.12); transform: translateY(-2px); }.upload-box.drag-over label strong { color: var(--accent); }.upload-box.has-files { border-style: solid; border-color: rgba(47,118,85,.45); background: rgba(47,118,85,.05); }
.upload-queue { margin-top: 18px; padding: 18px; border: 1px solid var(--line); background: rgba(255,255,255,.38); }.upload-queue-heading, .upload-task-head, .upload-progress-row { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 14px; }.upload-queue-heading { margin-bottom: 12px; }.upload-queue-heading strong { font: 400 18px var(--serif); }.upload-queue-heading span, .upload-task-head span { color: var(--muted); font-size: 11px; }.upload-task-list { display: grid; gap: 10px; }.upload-task { min-width: 0; padding: 13px 14px; border: 1px solid rgba(111,106,97,.18); background: rgba(255,255,255,.52); }.upload-task-head { margin-bottom: 10px; }.upload-task-head strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }.upload-progress-row { display: grid; grid-template-columns: 70px minmax(0,1fr) 92px; margin-top: 7px; }.upload-progress-row > span, .upload-progress-row > b { color: var(--muted); font-size: 10px; font-weight: 400; }.upload-progress-row > b { text-align: right; }.upload-progress-track { height: 7px; overflow: hidden; border-radius: 99px; background: #d8d3ca; }.upload-progress-track i { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--accent); transition: width .22s ease; }.upload-progress-row.processing .upload-progress-track i { background: var(--success); }.upload-task.is-failed { border-color: rgba(169,67,56,.35); }.upload-task.is-failed .upload-task-head span, .upload-task.is-failed .upload-progress-row > b { color: var(--danger); }.upload-task.is-ready { border-color: rgba(47,118,85,.3); }.upload-task.is-ready .upload-task-head span { color: var(--success); }
.photo-admin-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }.photo-admin-card { min-width: 0; padding: 10px; border: 1px solid var(--line); background: rgba(255,255,255,.65); }.photo-admin-card.dragging { opacity: .4; }.photo-admin-image { position: relative; aspect-ratio: 4/3; overflow: hidden; background: #d2ccc0; }.photo-admin-image picture, .photo-admin-image img, .photo-admin-image .photo-placeholder { width: 100%; height: 100%; object-fit: cover; }.admin-photo-open { width: 100%; height: 100%; padding: 0; display: block; overflow: hidden; border: 0; background: transparent; cursor: zoom-in; }.admin-photo-open:disabled { cursor: wait; }.admin-photo-open img { transition: transform .28s ease; }.admin-photo-open:hover:not(:disabled) img { transform: scale(1.025); }.admin-photo-open:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }.admin-view-cue { position: absolute; right: 9px; bottom: 9px; z-index: 2; padding: 5px 8px; color: #fff; background: rgba(0,0,0,.62); opacity: 0; transition: opacity .18s; font-size: 10px; }.admin-photo-open:hover .admin-view-cue, .admin-photo-open:focus-visible .admin-view-cue { opacity: 1; }.photo-admin-image b { position: absolute; z-index: 2; left: 8px; top: 8px; padding: 3px 7px; color: #fff; background: var(--accent); font-size: 9px; }.drag-handle { position: absolute; z-index: 3; right: 6px; top: 6px; padding: 5px 8px; color: #fff; background: rgba(0,0,0,.55); cursor: grab; user-select: none; }.drag-handle:active { cursor: grabbing; }.photo-admin-meta { min-height: 62px; padding: 10px 2px 5px; display: grid; gap: 5px; }.photo-admin-meta small { overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; }.inline-error { margin: 0; color: var(--danger); font-size: 10px; }.photo-admin-card details { border-top: 1px solid var(--line); }.photo-admin-card summary { padding: 9px 2px; cursor: pointer; font-size: 11px; }.photo-edit-fields { display: grid; gap: 8px; }.photo-edit-fields label { display: grid; gap: 3px; color: var(--muted); font-size: 10px; }.photo-edit-fields input { min-height: 36px; }.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }.card-actions { padding-top: 9px; display: flex; flex-wrap: wrap; gap: 7px 12px; border-top: 1px solid var(--line); }.text-button { padding: 0; border: 0; color: #494843; background: transparent; font-size: 10px; }.text-button:hover { text-decoration: underline; }.text-button.danger { color: var(--danger); }
.admin-photo-lightbox .lightbox-stage { min-width: 0; }.admin-photo-lightbox .lightbox-copy small { max-width: 52vw; text-align: right; }.admin-photo-lightbox button[hidden] { visibility: hidden; display: block; }
.photo-move-dialog { width: min(540px, calc(100% - 32px)); padding: 0; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); background: var(--paper); box-shadow: 0 28px 80px rgba(20,18,15,.3); }.photo-move-dialog::backdrop { background: rgba(10,11,10,.68); backdrop-filter: blur(4px); }.photo-move-dialog form { padding: 28px; display: grid; gap: 20px; }.photo-move-heading { display: flex; align-items: start; justify-content: space-between; gap: 20px; }.photo-move-heading p { margin-bottom: 4px; }.photo-move-heading h2 { margin: 0; font: 400 30px var(--serif); }.photo-move-close { width: 34px; height: 34px; padding: 0; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); background: transparent; font-size: 22px; line-height: 1; }.photo-move-copy { margin: 0; color: var(--muted); line-height: 1.7; }.photo-move-copy strong { color: var(--ink); font-weight: 600; }.photo-move-status { min-height: 1.5em; margin: -6px 0 0; color: var(--muted); font-size: 12px; }.photo-move-status.error { color: var(--danger); }
.danger-zone, .reprocess-panel { padding: 24px 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border: 1px solid rgba(169,67,56,.3); background: rgba(169,67,56,.04); }.danger-zone h2, .reprocess-panel h2 { margin-bottom: 3px; font: 400 22px var(--serif); }.danger-zone p, .reprocess-panel p { margin: 0; color: var(--muted); font-size: 12px; }
.watermark-settings { display: grid; grid-template-columns: 1fr .8fr; gap: 30px; }.watermark-preview { position: relative; min-height: 320px; overflow: hidden; display: grid; place-items: center; color: #fff; background: radial-gradient(circle at 60% 30%, #ad7859, transparent 20%), linear-gradient(155deg,#222a2c 10%,#6a7776 52%,#252725 53%); }.watermark-preview > span { position: absolute; left: 14px; top: 12px; color: rgba(255,255,255,.45); font-size: 10px; }.watermark-preview b { position: absolute; text-shadow: 0 1px 4px #000; letter-spacing: .04em; }.watermark-preview b[data-position="top-left"] { left: 4%; top: 7%; }.watermark-preview b[data-position="top-right"] { right: 4%; top: 7%; }.watermark-preview b[data-position="bottom-left"] { left: 4%; bottom: 5%; }.watermark-preview b[data-position="bottom-right"] { right: 4%; bottom: 5%; }.watermark-preview b[data-position="center"] { left: 50%; top: 50%; transform: translate(-50%, -50%); }.sticky-actions { position: sticky; bottom: 16px; z-index: 3; padding: 12px; border: 1px solid var(--line); background: rgba(242,239,232,.9); backdrop-filter: blur(10px); }
.exif-watermark-preview { position: absolute; z-index: 2; max-width: 88%; padding: 2px 0; color: #fff; text-shadow: 0 1px 3px #000; white-space: nowrap; font-size: 11px; font-weight: 500; letter-spacing: .02em; }.exif-watermark-preview[data-position="top-left"] { left: 4%; top: 8%; }.exif-watermark-preview[data-position="top-right"] { right: 4%; top: 8%; }.exif-watermark-preview[data-position="bottom-left"] { left: 4%; bottom: 6%; }.exif-watermark-preview[data-position="bottom-right"] { right: 4%; bottom: 6%; }.exif-watermark-preview[data-size="small"] { font-size: 9px; }.exif-watermark-preview[data-size="large"] { font-size: 14px; }.exif-watermark-preview.with-background { padding: 5px 8px; border-radius: 2px; background: rgba(0,0,0,.42); text-shadow: none; }
.watermark-preview[data-collision="bottom-left"] .exif-watermark-preview { bottom: 17%; }.watermark-preview[data-collision="bottom-right"] .exif-watermark-preview { bottom: 17%; }.watermark-preview[data-collision="top-left"] .exif-watermark-preview { top: 19%; }.watermark-preview[data-collision="top-right"] .exif-watermark-preview { top: 19%; }
.theme-presets { margin-bottom: 24px; display: flex; flex-wrap: wrap; gap: 8px; }.theme-settings { display: grid; grid-template-columns: 1fr .9fr; gap: 30px; align-items: start; }.color-field { grid-template-columns: 58px 1fr; align-items: center; }.color-field > input { grid-row: 1 / 3; width: 52px; height: 48px; min-height: 0; padding: 4px; background: transparent; }.color-field > code { align-self: end; color: var(--muted); font-size: 11px; }.theme-preview { --preview-background: #f2efe8; --preview-text: #11110f; --preview-accent: #b16f45; --preview-dark: #0c0d0d; --preview-radius: 4px; --preview-font: var(--serif); --preview-width: 92%; overflow: hidden; width: var(--preview-width); max-width: 520px; margin-left: auto; border: 1px solid rgba(0,0,0,.15); border-radius: var(--preview-radius); color: var(--preview-text); background: var(--preview-background); box-shadow: 0 20px 55px rgba(25,23,19,.12); transition: width .2s, border-radius .2s, color .2s, background .2s; }.theme-preview-nav { min-height: 46px; padding: 0 14px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid color-mix(in srgb, var(--preview-text) 14%, transparent); font-size: 10px; }.theme-preview-nav i { width: 20px; height: 20px; border: 1px solid currentColor; border-radius: 50%; }.theme-preview-nav span { font-weight: 700; }.theme-preview-nav small { margin-left: auto; opacity: .55; font-size: 8px; }.theme-preview-hero { min-height: 250px; padding: 36px 28px; color: #fff; background: radial-gradient(circle at 78% 30%, color-mix(in srgb, var(--preview-accent) 38%, transparent), transparent 28%), var(--preview-dark); }.theme-preview-hero em { color: var(--preview-accent); text-transform: uppercase; letter-spacing: .18em; font-size: 7px; }.theme-preview-hero h3 { max-width: 350px; margin: 34px 0 12px; font: 400 32px/1.1 var(--preview-font); }.theme-preview-hero p { max-width: 330px; margin-bottom: 18px; color: rgba(255,255,255,.55); font-size: 9px; }.theme-preview-hero b { padding-bottom: 3px; border-bottom: 1px solid rgba(255,255,255,.35); font-size: 8px; }.theme-preview-grid { padding: 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }.theme-preview-grid span { aspect-ratio: var(--preview-ratio, 4 / 3); border-radius: var(--preview-radius); background: color-mix(in srgb, var(--preview-accent), var(--preview-background) 65%); }
.favicon-current { min-height: 62px; padding: 10px 12px; display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.3); }.favicon-current img { width: 36px; height: 36px; object-fit: contain; image-rendering: auto; }.favicon-current > span { color: var(--muted); font-size: 12px; }.favicon-current .check-field { margin-left: auto; }
.login-shell { min-height: 100vh; display: grid; place-items: center; padding: 24px; color: #f2eee6; background: radial-gradient(circle at 70% 30%, rgba(177,111,69,.22), transparent 24%), #10110f; }.login-card { width: min(430px, 100%); padding: 40px; display: grid; gap: 38px; border: 1px solid rgba(255,255,255,.13); background: rgba(255,255,255,.035); }.login-card h1 { margin-bottom: 8px; font: 400 42px var(--serif); }.login-card p { color: rgba(255,255,255,.5); }.login-card input { color: #fff; border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.05); }.login-card label { color: rgba(255,255,255,.7); }.login-card .button-dark { color: var(--ink); background: #eee8dd; }

/* Category management and dynamic public category counts. */
.category-rings { grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); }
.category-admin-list { display: grid; gap: 22px; }
.category-admin-card { margin-bottom: 0; }
.category-state { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.category-delete-row { padding-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid var(--line); }
.category-delete-row small { max-width: 660px; color: var(--muted); line-height: 1.6; }

.maintenance-summary { margin-bottom: 24px; display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 10px; }.maintenance-summary strong { font: 400 52px var(--serif); }.maintenance-summary span, .maintenance-summary b { color: var(--muted); font-size: 12px; }.maintenance-audit-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 28px; }.maintenance-audit-grid article { min-height: 68px; display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); }.maintenance-audit-grid article > span { color: var(--muted); font-size: 10px; }.maintenance-audit-grid h3 { margin: 0 0 3px; font: 400 16px var(--serif); }.maintenance-audit-grid p, .maintenance-note { margin: 0; color: var(--muted); font-size: 12px; }.maintenance-note { margin-top: 22px; line-height: 1.7; }.maintenance-action-form { margin-top: 22px; display: grid; grid-template-columns: minmax(220px, 340px) auto; align-items: end; justify-content: end; gap: 10px; }.backup-row { padding: 18px 0; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 20px; border-bottom: 1px solid var(--line); }.backup-row:last-child { border-bottom: 0; }.backup-main { min-width: 0; display: grid; gap: 4px; }.backup-main strong { overflow-wrap: anywhere; font: 400 16px var(--serif); }.backup-main span, .backup-main small { color: var(--muted); font-size: 11px; }.backup-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }.backup-actions details { position: relative; }.backup-actions summary { list-style: none; cursor: pointer; }.backup-actions summary::-webkit-details-marker { display: none; }.backup-confirm-form { position: absolute; z-index: 5; right: 0; top: calc(100% + 8px); width: 280px; padding: 16px; display: grid; gap: 12px; border: 1px solid var(--line); background: var(--paper); box-shadow: 0 16px 36px rgba(30,28,24,.15); }.button:disabled { opacity: .45; cursor: not-allowed; }
.maintenance-progress-panel { margin-bottom: 22px; padding: 22px 24px; border: 1px solid var(--line); background: rgba(255,255,255,.48); }.maintenance-progress-panel.is-failed { border-color: rgba(169,67,56,.4); }.maintenance-progress-panel.is-completed { border-color: rgba(47,118,85,.35); }.maintenance-progress-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; }.maintenance-progress-heading p { margin: 0 0 4px; color: var(--accent); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; }.maintenance-progress-heading h2 { margin: 0; font: 400 22px var(--serif); }.maintenance-progress-heading strong { font: 400 28px var(--serif); }.maintenance-progress-track { height: 10px; margin-top: 18px; overflow: hidden; border-radius: 99px; background: #d8d3ca; }.maintenance-progress-track i { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--accent); transition: width .35s ease; }.maintenance-progress-panel.is-completed .maintenance-progress-track i { background: var(--success); }.maintenance-progress-panel.is-failed .maintenance-progress-track i { background: var(--danger); }.maintenance-progress-panel > p { margin: 10px 0 0; color: var(--muted); font-size: 12px; }

@media (max-width: 980px) {
    .group-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .hero { grid-template-columns: 1fr; }.hero-copy { padding-top: 110px; }.hero-frame { min-height: 420px; margin: 0 5vw 7vw; }
    .home-chart-grid { grid-template-columns: 1fr; gap: 56px; }.equipment-grid { gap: 36px; }
    .photo-admin-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .watermark-settings, .theme-settings { grid-template-columns: 1fr; }.theme-preview { margin-inline: auto; }
}

@media (max-width: 720px) {
    .maintenance-audit-grid { grid-template-columns: 1fr; }
    .maintenance-action-form, .backup-row { grid-template-columns: 1fr; justify-content: stretch; }
    .backup-actions { align-items: stretch; flex-direction: column; }
    .backup-actions > .button, .backup-actions summary { width: 100%; text-align: center; }
    .backup-confirm-form { position: static; width: 100%; margin-top: 8px; }
    body.public-shell { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
    .page-width { width: min(100% - 30px, var(--page-max)); }
    .site-header { height: 64px; padding: 0 16px; }.desktop-nav { display: none; }.brand { font-size: 13px; }.brand-mark { width: 30px; height: 30px; }
    .mobile-nav { position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; height: calc(64px + env(safe-area-inset-bottom)); padding: 7px 8px env(safe-area-inset-bottom); display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.13); color: rgba(255,255,255,.55); background: rgba(13,14,13,.96); backdrop-filter: blur(16px); }.mobile-nav a { display: grid; place-items: center; align-content: center; gap: 1px; font-size: 10px; }.mobile-nav a span { font-size: 16px; line-height: 1; }.mobile-nav a.active { color: #fff; }
    .mobile-nav { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(72px, 1fr); overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
    .mobile-nav::-webkit-scrollbar { display: none; }
    .hero { min-height: calc(100vh - 64px); }.hero-copy { align-self: center; padding: 80px 22px 30px; }.hero h1 { font-size: clamp(43px, 15vw, 68px); }.hero-frame { min-height: 440px; margin: 0 16px 24px; }.hero-photo figcaption { left: 18px; right: 18px; bottom: 18px; }.hero-photo figcaption h2 { font-size: 32px; }.hero-photo figcaption p { max-height: 3.2em; overflow: hidden; }.hero-photo-note { left: 18px; top: 15px; }
    .category-strip, .groups-section { padding-top: 72px; }.section-heading { display: block; }.section-heading > p { margin-bottom: 10px; }.section-heading h2 { margin-bottom: 18px; }
    .home-stats { padding-top: 70px; }
    .home-chart-grid { gap: 48px; }.category-rings { gap: 12px; }.category-ring { width: min(104px, 100%); }.year-line-chart text, .focal-line-chart text { font-size: 18px; }.equipment-grid { grid-template-columns: 1fr; gap: 46px; }.home-equipment { padding-top: 56px; }
    .category-grid, .group-grid { grid-template-columns: 1fr; }.category-tile { min-height: 280px; margin: 0 0 -1px; }.category-tile h3 { font-size: 42px; }
    .group-grid { gap: 40px; }.group-card h3 { font-size: 25px; }
    .pagination { margin: 38px 0 24px; }
    .pagination-nav { grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; }
    .pagination-pages { gap: 5px; }
    .pagination-item { min-width: 36px; height: 36px; padding-inline: 9px; }
    .pagination-edge { min-width: 36px; }
    .pagination-edge .pagination-label { display: none; }
    .collection-hero { min-height: 300px; padding: 50px 16px 28px; }.collection-hero h1 { font-size: 72px; }.collection-hero > span { display: none; }
    .filter-bar form { display: grid; grid-template-columns: 1fr 1fr; }.filter-bar label:first-child { grid-column: span 1; }.filter-bar .button { grid-column: span 1; }.reset-link { align-self: center; }
    .group-detail { padding-top: 40px; }.group-detail-header { margin-bottom: 52px; }.group-detail-header .back-link { margin-bottom: 42px; }.group-detail-header h1 { font-size: 44px; }.group-lead { font-size: 16px; }
    .module-switches { grid-template-columns: 1fr; }
    .photo-stream { width: 100%; gap: 52px; }.photo-open img { width: 100%; max-height: none; }.photo-work figcaption { display: block; }.photo-work figcaption small { display: block; max-width: none; margin-top: 10px; text-align: left; }.view-cue { display: none; }
    .lightbox[open] { grid-template-columns: 42px 1fr 42px; }.lightbox-stage { padding: 48px 0 120px; }.lightbox-stage img { max-height: calc(100vh - 185px); }.lightbox-copy { left: 20px; right: 20px; display: block; }.lightbox-copy small { display: block; margin-top: 7px; }.site-footer { margin-top: 70px; padding-bottom: 40px; align-items: start; flex-direction: column; }.footer-links { justify-content: flex-start; }
    .admin-sidebar { transform: translateX(-100%); transition: transform .25s; }.admin-shell.sidebar-open .admin-sidebar { transform: translateX(0); }.admin-main { margin-left: 0; }.admin-mobile-header { position: sticky; top: 0; z-index: 15; height: 58px; padding: 0 16px; display: flex; justify-content: space-between; align-items: center; color: #fff; background: #121311; }.admin-mobile-header button { border: 1px solid rgba(255,255,255,.2); color: #fff; background: transparent; }.admin-page { width: min(100% - 24px, 1180px); padding: 28px 0 60px; }.admin-heading { align-items: start; }.admin-heading h1 { font-size: 38px; }.heading-actions { flex-direction: column; }.stat-grid { grid-template-columns: repeat(2, 1fr); }.form-grid { grid-template-columns: 1fr; }.span-2 { grid-column: span 1; }.admin-filters { display: grid; grid-template-columns: 1fr 1fr; }.admin-filters input { grid-column: span 2; }.admin-filters select { width: 100%; }.photo-admin-grid { grid-template-columns: 1fr; }.upload-box { grid-template-columns: 1fr; }.upload-progress-row { grid-template-columns: 58px minmax(0,1fr); }.upload-progress-row > b { grid-column: 2; text-align: left; }.danger-zone, .reprocess-panel { align-items: start; flex-direction: column; }.admin-group-list.roomy > a { grid-template-columns: 76px 1fr; }.admin-group-list.roomy picture, .admin-group-list.roomy .photo-placeholder { width: 76px; height: 62px; }.admin-group-list.roomy .status { grid-column: 2; }.login-card { padding: 28px; }
    .category-delete-row { align-items: stretch; flex-direction: column; }
    .category-delete-row .button { width: 100%; text-align: center; }
}
