@import "tailwindcss"; @theme { --color-primary-50: #eef2ff; --color-primary-100: #e0e7ff; --color-primary-200: #c7d2fe; --color-primary-300: #a5b4fc; --color-primary-400: #818cf8; --color-primary-500: #6366f1; --color-primary-600: #4f46e5; --color-primary-700: #4338ca; --color-primary-800: #3730a3; --color-primary-900: #312e81; --color-background: var(--bg-main); --color-foreground: var(--text-main); --color-card: var(--bg-card); --color-card-foreground: var(--text-card); --color-border: var(--border-color); --font-sans: "Inter", "Helvetica Neue", Arial, sans-serif; } :root { /* Legacy Vars */ --paper: #ffffff; --ink: #050505; --graphite: #242424; --contact-sheet: #ececec; --metadata: #6b6b6b; --muted: var(--metadata); --line: #d8d8d8; --soft: #f3f3f3; /* New Design System Vars */ --bg-main: #f8fafc; --text-main: #0f172a; --bg-card: #ffffff; --text-card: #1e293b; --border-color: #e2e8f0; color-scheme: light; } .dark { /* Legacy Vars - Adjusted for Dark Mode */ --paper: #09090b; --ink: #fafafa; --graphite: #d4d4d8; --contact-sheet: #18181b; --metadata: #a1a1aa; --muted: var(--metadata); --line: #27272a; --soft: #27272a; /* New Design System Vars */ --bg-main: #020617; --text-main: #f8fafc; --bg-card: #0f172a; --text-card: #f1f5f9; --border-color: #1e293b; color-scheme: dark; } * { box-sizing: border-box; } html { background: var(--paper); } body { min-height: 100vh; margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, "Helvetica Neue", Arial, sans-serif; font-synthesis: none; } a { color: inherit; transition: all 0.2s ease; } :focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; } .landing { display: grid; min-height: 100vh; grid-template-rows: auto 1fr auto; padding: clamp(1.25rem, 3vw, 2.75rem); } .masthead { display: flex; align-items: baseline; justify-content: space-between; gap: 2rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); } .wordmark { font-size: 0.8125rem; font-weight: 700; letter-spacing: -0.01em; text-transform: uppercase; } .section-label, .eyebrow, .landing-footer { color: var(--muted); font-size: 0.75rem; letter-spacing: 0.09em; text-transform: uppercase; } .intro { display: grid; align-content: center; max-width: 70rem; padding-block: clamp(5rem, 14vh, 10rem); } .eyebrow { margin: 0 0 1.5rem; } .intro h1 { max-width: 12ch; margin: 0; font-size: clamp(3rem, 9vw, 8.5rem); font-weight: 600; letter-spacing: -0.065em; line-height: 0.88; } .lede { max-width: 37rem; margin: clamp(2rem, 5vw, 4rem) 0 0; font-size: clamp(1rem, 1.6vw, 1.25rem); line-height: 1.55; } .primary-action { display: inline-block; width: fit-content; margin-top: 2.25rem; padding: 0.9rem 1.25rem; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); font-size: 0.875rem; font-weight: 650; text-decoration: none; transition: background-color 140ms ease, color 140ms ease; } .primary-action:hover { background: var(--paper); color: var(--ink); } .landing-footer { padding-top: 1rem; border-top: 1px solid var(--line); } .landing-footer p { margin: 0; } @media (max-width: 40rem) { .masthead { align-items: flex-start; flex-direction: column; gap: 0.5rem; } .intro h1 { letter-spacing: -0.055em; } } @media (prefers-reduced-motion: reduce) { .primary-action { transition: none; } } .mobile-portal-menu-panel { animation: mobile-portal-menu-enter 150ms ease-out; } .mobile-portal-menu-active { background: var(--ink); color: var(--paper); } @keyframes mobile-portal-menu-enter { from { opacity: 0; transform: translateY(-0.5rem); } to { opacity: 1; transform: translateY(0); } } @media (prefers-reduced-motion: reduce) { .mobile-portal-menu-panel { animation: none; } } .public-account-page { display: grid; min-height: 100vh; grid-template-rows: auto 1fr auto; padding: clamp(1.25rem, 3vw, 2.75rem); } .account-panel { width: min(100%, 37rem); align-self: center; padding-block: clamp(4rem, 10vh, 7rem); } .account-panel-wide { width: min(100%, 48rem); } .account-panel h1 { max-width: 12ch; margin: 0; font-size: clamp(2.6rem, 6vw, 5.5rem); font-weight: 600; letter-spacing: -0.06em; line-height: 0.92; } .account-panel .lede { margin-top: 1.75rem; } .account-form { display: grid; gap: 1.25rem; margin-top: 2.5rem; } .account-form label, .acknowledgements legend { display: grid; gap: 0.5rem; font-size: 0.8125rem; font-weight: 650; letter-spacing: 0.01em; } .account-form input:not([type="checkbox"]) { width: 100%; min-height: 3.1rem; border: 1px solid var(--ink); border-radius: 0; background: var(--paper); color: var(--ink); font: inherit; font-weight: 400; padding: 0.75rem; } .form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; } .acknowledgements { display: grid; gap: 0.75rem; margin: 0; padding: 1.25rem 0; border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); } .acknowledgements legend { font-weight: 500; margin-bottom: 0.75rem; } .acknowledgements a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; } .checkbox-label { grid-template-columns: 1rem minmax(0, 1fr); align-items: start; font-weight: 400 !important; line-height: 1.45; } .checkbox-label input { width: 1rem; height: 1rem; margin: 0.12rem 0 0; accent-color: var(--ink); } .checkbox-label a, .account-links a, .public-footer a, .legal-link { text-underline-offset: 0.17em; } .field-error { margin: -0.25rem 0 0; color: #9d0e0e; font-size: 0.875rem; line-height: 1.4; } .form-note { max-width: 44rem; margin: 0; color: var(--muted); font-size: 0.875rem; line-height: 1.55; } .account-links, .public-footer { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; margin-top: 1rem; font-size: 0.875rem; } .public-footer { padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; } .legal-footer { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; padding: 1.5rem clamp(1.25rem, 4vw, 5rem); border-top: 1px solid var(--line); color: var(--muted); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; transition: all 0.2s ease; } .legal-footer a:hover { color: var(--ink); } .audit-filters { display: flex; flex-wrap: wrap; gap: 1rem; align-items: flex-end; margin: 1.5rem 0; } .audit-filters label { display: flex; flex-direction: column; gap: 0.25rem; } .audit-filters input { padding: 0.4rem 0.6rem; border: 1px solid var(--line); font: inherit; font-size: 0.875rem; } .audit-filters button { padding: 0.4rem 1rem; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); font: inherit; font-size: 0.875rem; cursor: pointer; } .audit-table { width: 100%; border-collapse: collapse; font-size: 0.8125rem; } .audit-table th, .audit-table td { padding: 0.5rem 0.75rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; } .audit-table th { color: var(--muted); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; } .audit-metadata { margin: 0; max-width: 32rem; overflow-x: auto; font-size: 0.75rem; line-height: 1.4; white-space: pre-wrap; color: var(--muted); } .audit-pagination { margin-top: 1.5rem; } @media (max-width: 40rem) { .form-grid { grid-template-columns: 1fr; } } .editorial-shell { min-height: 100vh; background: var(--paper); } .portal-masthead { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 5.25rem; padding: 0.9rem clamp(1.25rem, 4vw, 5rem); background: var(--ink); color: var(--paper); } .portal-brand { display: inline-flex; align-items: center; min-width: 0; } /* Header logos use the trimmed variants (logo-*-header.png): the originals carry large transparent/white margins that shrank the mark to a few pixels under the old width+max-height letterboxing. Height-led sizing with a fixed aspect ratio reserves layout space without intrinsic width/height attrs. */ .brand-logo { display: block; height: 2.25rem; width: auto; max-width: min(12rem, 40vw); object-fit: contain; transition: opacity 0.2s ease; } .brand-logo-light { aspect-ratio: 800 / 441; } .brand-logo-dark { display: none; aspect-ratio: 194 / 104; } .dark .brand-logo-light { display: none; } .dark .brand-logo-dark { display: block; } .brand-logo:hover { opacity: 0.8; } .portal-masthead-meta, .portal-masthead nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2.25rem); } .portal-masthead-meta { color: #d4d4d4; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; } .portal-masthead nav a { color: var(--paper); text-decoration: none; } .portal-masthead nav a:hover { text-decoration: underline; text-underline-offset: 0.28em; } .portal-signout { border: 1px solid #d4d4d4; border-radius: 0; background: transparent; color: var(--paper); cursor: pointer; font: inherit; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.1em; padding: 0.4rem 0.8rem; text-transform: uppercase; transition: background-color 140ms ease, color 140ms ease; } .portal-signout:hover:not(:disabled) { background: var(--paper); color: var(--ink); } .portal-signout:disabled { cursor: wait; opacity: 0.6; } .portal-masthead :focus-visible { outline-color: var(--paper); } .editorial-work-surface { width: min(100%, 108rem); margin: 0 auto; padding: clamp(2rem, 5vw, 5.5rem) clamp(1.25rem, 4vw, 5rem) 5rem; } .editorial-section { max-width: 100%; } .editorial-kicker { margin: 0 0 1rem; color: var(--metadata); font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; } .editorial-title-row { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); padding-bottom: 1.25rem; border-bottom: 1px solid var(--ink); } .editorial-title-row h1, .editorial-state h1, .editorial-section > h1 { max-width: 15ch; margin: 0; font-size: clamp(2.5rem, 5vw, 5.5rem); font-weight: 600; letter-spacing: -0.065em; line-height: 0.9; } .editorial-title-row > p { max-width: 27rem; margin: 0; color: var(--graphite); font-size: 0.95rem; line-height: 1.5; } .album-title-row { align-items: center; } .quiet-link { flex: none; color: var(--graphite); font-size: 0.8125rem; font-weight: 650; text-underline-offset: 0.2em; } /* --- Album overview: grid of cover tiles in the photo-gallery aesthetic --- Cover images use object-fit: cover with a consistent 4/3 tile (album summaries don't carry EXIF, so no native per-cover aspect ratio), a persistent bottom gradient with album name + photo count, and a hover zoom. Clicking opens the album. Mirrors the photo grid's hover language. */ .album-gallery { display: grid; gap: clamp(0.75rem, 1.5vw, 1.25rem); padding: 0; list-style: none; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); } .album-tile { display: block; color: inherit; text-decoration: none; } .album-tile-frame { position: relative; margin: 0; overflow: hidden; background: var(--contact-sheet); aspect-ratio: 4 / 3; } .album-tile-image { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--contact-sheet); transition: transform 200ms ease-out; } .album-tile-missing { display: grid; place-items: center; width: 100%; height: 100%; color: var(--metadata); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; } .album-tile:hover .album-tile-image, .album-tile:focus-visible .album-tile-image { transform: scale(1.03); } /* Persistent overlay (unlike the photo grid's hover-only overlay) — album names need to be readable at a glance so editors can pick one. */ .album-tile-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 0.75rem; background: linear-gradient( to top, rgb(0 0 0 / 85%) 0%, rgb(0 0 0 / 30%) 55%, rgb(0 0 0 / 0%) 85% ); pointer-events: none; } /* --- Photo overview: masonry grid + hover overlay + lightbox -------------- Replaces the old contact-sheet (forced 3:2 tiles, object-fit: contain, permanent monospace caption strips). Each photo keeps its native aspect ratio via an inline `aspect-ratio` set from EXIF dimensions; the grid uses CSS columns for a dense masonry layout. Captions and actions appear on hover/focus, and a full-screen lightbox opens on click. */ .photo-gallery { columns: 4 17rem; column-gap: clamp(0.75rem, 1.5vw, 1.25rem); padding: 0; list-style: none; } @media (max-width: 64rem) { .photo-gallery { columns: 3 14rem; } } @media (max-width: 48rem) { .photo-gallery { columns: 2 9rem; } } .photo-tile { break-inside: avoid; margin: 0 0 clamp(0.75rem, 1.5vw, 1.25rem); } .photo-tile-frame { position: relative; margin: 0; overflow: hidden; background: var(--contact-sheet); } .photo-tile-trigger { display: block; width: 100%; margin: 0; padding: 0; border: 0; background: var(--contact-sheet); cursor: zoom-in; line-height: 0; } .photo-tile-image { display: block; width: 100%; height: auto; min-height: 6rem; object-fit: cover; background: var(--contact-sheet); transition: transform 200ms ease-out; } .photo-tile-trigger:hover .photo-tile-image, .photo-tile-trigger:focus-visible .photo-tile-image { transform: scale(1.02); } .photo-tile-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 0.5rem; padding: 0.75rem; background: linear-gradient( to top, rgb(0 0 0 / 78%) 0%, rgb(0 0 0 / 38%) 40%, rgb(0 0 0 / 0%) 70% ); opacity: 0; transition: opacity 160ms ease-out; pointer-events: none; /* let clicks reach the image; buttons re-enable below */ } .photo-tile-frame:hover .photo-tile-overlay, .photo-tile-frame:focus-within .photo-tile-overlay { opacity: 1; } .photo-tile-caption { display: flex; flex-direction: column; gap: 0.125rem; color: #fff; } .photo-tile-name { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .photo-tile-album { font-size: 0.65rem; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.8; } .photo-tile-date { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 0.625rem; letter-spacing: 0.03em; opacity: 0.85; } .photo-tile-actions { display: flex; align-items: center; gap: 0.5rem; pointer-events: auto; } /* Compact the full-width `.download-trigger` so it fits in the overlay row. */ .photo-tile-actions .download-trigger, .lightbox-actions .download-trigger { width: auto; min-height: 2rem; padding: 0 0.75rem; border: 1px solid #fff; border-top: 1px solid #fff; background: rgb(255 255 255 / 12%); color: #fff; backdrop-filter: blur(4px); } .photo-tile-actions .download-trigger:hover, .lightbox-actions .download-trigger:hover { background: #fff; color: var(--ink); } /* Base icon-button shape for the merken toggle (no base style existed). */ .lightbox-toggle-btn { display: inline-flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; padding: 0; border: 1px solid var(--ink); border-radius: 0; background: var(--paper); color: var(--ink); cursor: pointer; } .lightbox-toggle-btn:hover { background: var(--ink); color: var(--paper); } .lightbox-toggle-btn.in-lightbox { background: var(--ink); color: var(--paper); } .lightbox-toggle-btn:disabled { opacity: 0.6; cursor: progress; } /* Recolor the lightbox toggle for dark overlays. */ .photo-tile-actions .lightbox-toggle-btn, .lightbox-actions .lightbox-toggle-btn { width: 2rem; height: 2rem; color: #fff; background: rgb(255 255 255 / 12%); border: 1px solid #fff; backdrop-filter: blur(4px); } .photo-tile-actions .lightbox-toggle-btn:hover, .lightbox-actions .lightbox-toggle-btn:hover { background: #fff; color: var(--ink); } .photo-search { display: grid; gap: 0.55rem; width: min(100%, 42rem); margin-bottom: 1.25rem; } .photo-search label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; } .photo-search-controls { display: flex; align-items: stretch; } .photo-search input { min-width: 0; flex: 1; min-height: 3rem; border: 1px solid var(--ink); border-right: 0; border-radius: 0; background: var(--paper); color: var(--ink); font: inherit; padding: 0.7rem 0.8rem; } .photo-search button { min-height: 3rem; border: 1px solid var(--ink); border-radius: 0; background: var(--ink); color: var(--paper); cursor: pointer; font: inherit; font-size: 0.8125rem; font-weight: 700; padding-inline: 1rem; } .photo-search button:hover { background: var(--graphite); } .result-summary { margin: 0 0 1.5rem; color: var(--metadata); font-size: 0.8125rem; } .catalog-empty, .editorial-state > p:not(.editorial-kicker) { max-width: 38rem; color: var(--graphite); font-size: 1rem; line-height: 1.55; } .photo-pagination { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid var(--ink); font-size: 0.8125rem; font-weight: 650; } /* Album search form — editorial styling (sharp ink borders, paper ground), aligned with the portal's browsing surface instead of the shadcn rounded card used elsewhere. */ .album-search-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 1rem; margin: 0 0 1.5rem; padding: 1rem; border: 1px solid var(--ink); background: var(--paper); } .album-search-input { flex: 1 1 20rem; display: flex; flex-direction: column; gap: 0.35rem; } .album-search-label { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--metadata); } .album-search-input input[type="search"] { width: 100%; min-height: 2.75rem; padding: 0.5rem 0.75rem; border: 1px solid var(--ink); border-radius: 0; background: var(--paper); color: var(--ink); font: inherit; font-size: 0.95rem; } .album-search-filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 1rem; } .album-search-select { display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--metadata); } .album-search-select select { min-height: 2.75rem; padding: 0.5rem 0.75rem; border: 1px solid var(--ink); border-radius: 0; background: var(--paper); color: var(--ink); font: inherit; font-size: 0.9rem; text-transform: none; letter-spacing: 0; cursor: pointer; } .album-search-form button[type="submit"] { min-height: 2.75rem; padding: 0 1.25rem; border: 1px solid var(--ink); border-radius: 0; background: var(--ink); color: var(--paper); font: inherit; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.04em; cursor: pointer; } .album-search-form button[type="submit"]:hover { background: var(--graphite); } /* Full-screen photo lightbox. */ .photo-lightbox { position: fixed; inset: 0; z-index: 100; display: grid; grid-template-rows: 1fr auto; align-items: center; justify-items: center; gap: 1rem; padding: clamp(1rem, 4vw, 3rem); background: rgb(0 0 0 / 92%); backdrop-filter: blur(6px); animation: lightbox-fade-in 160ms ease-out; } @keyframes lightbox-fade-in { from { opacity: 0; } to { opacity: 1; } } .lightbox-figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 0.75rem; max-height: 100%; } .lightbox-image { max-height: 84vh; max-width: 90vw; width: auto; height: auto; object-fit: contain; background: rgb(255 255 255 / 4%); } .lightbox-caption { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; color: #fff; text-align: center; } .lightbox-caption .photo-tile-name { font-size: 0.9rem; } /* Photographer's description in the lightbox. Full caption width, scrollable when long, so the image keeps the focus and the text stays readable. */ .lightbox-description { flex-basis: 100%; max-width: 62ch; max-height: 24vh; margin: 0; overflow-y: auto; color: rgb(255 255 255 / 88%); font-size: 0.85rem; line-height: 1.5; text-align: left; white-space: pre-line; overflow-wrap: break-word; } .lightbox-figure-described .lightbox-image { max-height: 60vh; } .lightbox-actions { display: flex; align-items: center; gap: 0.75rem; } .lightbox-close { position: absolute; top: clamp(0.75rem, 2vw, 1.5rem); right: clamp(0.75rem, 2vw, 1.5rem); width: 2.5rem; height: 2.5rem; border: 1px solid #fff; border-radius: 0; background: rgb(255 255 255 / 12%); color: #fff; font-size: 1.1rem; cursor: pointer; } .lightbox-close:hover { background: #fff; color: var(--ink); } .lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 3rem; height: 3rem; border: 1px solid #fff; border-radius: 0; background: rgb(255 255 255 / 12%); color: #fff; font-size: 1.75rem; line-height: 1; cursor: pointer; } .lightbox-nav:hover { background: #fff; color: var(--ink); } .lightbox-prev { left: clamp(0.5rem, 2vw, 1.5rem); } .lightbox-next { right: clamp(0.5rem, 2vw, 1.5rem); } @media (max-width: 48rem) { .lightbox-nav { width: 2.5rem; height: 2.5rem; font-size: 1.4rem; } } .editorial-section dl { display: grid; grid-template-columns: minmax(10rem, 14rem) minmax(0, 1fr); gap: 0.85rem 1.5rem; max-width: 48rem; margin: 2rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--ink); } .editorial-section dt { color: var(--metadata); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; } .editorial-section dd { margin: 0; line-height: 1.45; } @media (max-width: 44rem) { .portal-masthead { align-items: flex-start; flex-direction: column; gap: 0.8rem; } .portal-masthead-meta { width: 100%; flex-wrap: wrap; row-gap: 1rem; justify-content: space-between; } .portal-signout { margin-left: auto; } .editorial-title-row { align-items: flex-start; flex-direction: column; gap: 1.25rem; } .editorial-section dl, .content-section dl { grid-template-columns: 1fr; gap: 0.25rem; } .editorial-section dd, .content-section dd { margin-bottom: 0.75rem; } } @media (prefers-reduced-motion: reduce) { .album-tile-image, .photo-tile-image, .photo-tile-overlay { transition: none; } } .download-trigger { width: 100%; min-height: 2.45rem; border: 0; border-top: 1px solid var(--ink); border-radius: 0; background: var(--paper); color: var(--ink); cursor: pointer; font: inherit; font-size: 0.7rem; font-weight: 750; letter-spacing: 0.07em; text-transform: uppercase; } .download-trigger:hover { background: var(--ink); color: var(--paper); } .usage-dialog { width: min(calc(100% - 2rem), 46rem); max-height: calc(100vh - 2rem); padding: 0; border: 1px solid var(--ink); border-radius: 0; background: var(--paper); color: var(--ink); } .usage-dialog::backdrop { background: rgb(0 0 0 / 70%); } .usage-dialog form { display: grid; gap: 1.5rem; padding: clamp(1.25rem, 4vw, 2.5rem); } .usage-dialog-heading { padding-bottom: 1.25rem; border-bottom: 1px solid var(--ink); } .usage-dialog-heading h2 { margin: 0; font-size: clamp(2rem, 6vw, 4rem); font-weight: 600; letter-spacing: -0.055em; line-height: 0.95; } .usage-dialog-heading > p:last-child { max-width: 38rem; margin: 1rem 0 0; color: var(--graphite); line-height: 1.5; } .usage-options { display: grid; gap: 0; margin: 0; padding: 0; border: 0; } .usage-options legend, .usage-purpose { margin-bottom: 0.6rem; font-size: 0.7rem; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; } .usage-option { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 0.9rem; padding: 0.9rem 0; border-top: 1px solid var(--line); cursor: pointer; } .usage-option:last-child { border-bottom: 1px solid var(--line); } .usage-option input { width: 1.05rem; height: 1.05rem; accent-color: var(--ink); } .usage-option span { display: grid; gap: 0.2rem; min-width: 0; } .usage-option strong, .usage-option b { font-size: 0.875rem; } .usage-option small { overflow: hidden; color: var(--metadata); font-size: 0.7rem; text-overflow: ellipsis; white-space: nowrap; } .usage-collab-option { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 0.9rem; padding: 0.9rem 0; border-bottom: 1px solid var(--line); cursor: pointer; } .usage-collab-option input { width: 1.05rem; height: 1.05rem; accent-color: var(--ink); } .usage-collab-option span { display: grid; gap: 0.2rem; min-width: 0; } .usage-collab-option strong { font-size: 0.875rem; } .usage-collab-option small { color: var(--metadata); font-size: 0.7rem; } .usage-purpose { display: grid; gap: 0.5rem; margin: 0; } .usage-purpose textarea { width: 100%; resize: vertical; border: 1px solid var(--ink); border-radius: 0; background: var(--paper); color: var(--ink); font: inherit; padding: 0.75rem; } .usage-purpose textarea:disabled { border-color: var(--line); background: var(--soft); } .usage-dialog [role="alert"] { margin: 0; color: #8d1010; font-size: 0.875rem; } .usage-dialog-actions { display: flex; justify-content: flex-end; gap: 0.75rem; } .usage-dialog-actions button { min-height: 2.8rem; border: 1px solid var(--ink); border-radius: 0; background: var(--paper); color: var(--ink); cursor: pointer; font: inherit; font-size: 0.8rem; font-weight: 700; padding-inline: 1rem; } .usage-dialog-actions .download-confirm { background: var(--ink); color: var(--paper); } .usage-dialog-actions button:disabled { cursor: wait; opacity: 0.55; } .usage-history-empty { max-width: 38rem; } .usage-history-empty p { color: var(--graphite); line-height: 1.55; } .usage-ledger, .usage-attempts { margin: 0; padding: 0; list-style: none; } .usage-ledger { display: grid; gap: 2.5rem; } .usage-ledger-entry { border-top: 2px solid var(--ink); } .usage-ledger-entry > header { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 0.8rem 0; border-bottom: 1px solid var(--line); } .usage-ledger-entry > header p { margin: 0; color: var(--metadata); font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 0.65rem; letter-spacing: 0.04em; text-transform: uppercase; } .usage-ledger-entry h2 { overflow-wrap: anywhere; margin: 0; font-size: clamp(1.35rem, 3vw, 2.25rem); font-weight: 600; letter-spacing: -0.035em; } .usage-snapshot { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 1rem !important; max-width: none !important; margin: 0 !important; padding: 1rem 0 !important; border-top: 0 !important; } .usage-snapshot div { min-width: 0; } .usage-snapshot dd { overflow-wrap: anywhere; margin-top: 0.25rem; } .usage-attempts { border-top: 1px solid var(--ink); } .usage-attempt-history { margin-top: 3rem; } .usage-attempt-history h2 { margin: 0 0 1rem; font-size: clamp(1.3rem, 3vw, 2rem); letter-spacing: -0.03em; } .usage-attempts li { display: grid; grid-template-columns: minmax(9rem, 1.2fr) minmax(11rem, 1.5fr) minmax(8rem, 1fr) 0.7fr 0.7fr; gap: 1rem; align-items: baseline; padding: 0.7rem 0; border-bottom: 1px solid var(--line); font-size: 0.75rem; } .usage-attempts time, .usage-attempts span { color: var(--metadata); } .usage-attempts b { text-align: right; } .usage-attempt-context { display: grid; gap: 0.2rem; } .usage-attempt-context strong { overflow-wrap: anywhere; color: var(--ink); } .usage-attempt-context small { line-height: 1.35; } .usage-attempt-price { display: grid; gap: 0.2rem; text-align: right; } .usage-attempt-price small { color: var(--metadata); white-space: nowrap; } .usage-attempt-empty { margin: 0; padding: 1rem 0; border-top: 1px solid var(--line); color: var(--metadata); font-size: 0.8rem; } @media (max-width: 52rem) { .usage-snapshot { grid-template-columns: 1fr !important; } .usage-attempts li { grid-template-columns: 1fr auto; } .usage-attempts li > :nth-child(3), .usage-attempts li > :nth-child(4) { display: none; } } @media (max-width: 40rem) { .usage-dialog-actions { flex-direction: column-reverse; } .usage-dialog-actions button { width: 100%; } .usage-ledger-entry > header { align-items: flex-start; flex-direction: column-reverse; } } /* Billing selection */ .content-section { width: min(100%, 108rem); margin: 0 auto; padding: clamp(2rem, 5vw, 5.5rem) clamp(1.25rem, 4vw, 5rem) 5rem; } .content-section h1 { max-width: 15ch; margin: 0 0 1.5rem; font-size: clamp(2.5rem, 5vw, 5.5rem); font-weight: 600; letter-spacing: -0.065em; line-height: 0.9; } .content-section > p { max-width: 44rem; margin: 0 0 2rem; color: var(--graphite); font-size: 0.95rem; line-height: 1.5; } /* Mirrors `.editorial-section dl` so the admin detail page's `