@import url("tokens.css");
html, body { margin: 0; min-height: 100%; overflow-x: clip; background: var(--color-paper); color: var(--color-ink); font-family: var(--font-body); }
* { box-sizing: border-box; } button, input { font: inherit; } button { cursor: pointer; } button:focus-visible, input:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }
.shell { width: min(100% - 2rem, 1060px); margin: 0 auto; padding: var(--space-xl) 0 var(--space-3xl); }.nav { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--color-rule); padding-bottom: var(--space-lg); }.brand { font-family: var(--font-display); font-size: 1.15rem; font-weight: 760; letter-spacing: -.04em; }.nav-actions { display: flex; gap: var(--space-sm); }
.icon-button, .chip, .button { border: 1px solid var(--color-rule); background: var(--color-surface); color: var(--color-ink); border-radius: var(--radius); padding: .65rem .85rem; transition: border-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out); }.icon-button:hover, .chip:hover { border-color: var(--color-accent); }.button { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink); font-weight: 720; }.button:hover { transform: translateY(-1px); }.button:active { transform: translateY(1px); }
.intro { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(240px, .8fr); gap: var(--space-3xl); align-items: end; padding: var(--space-3xl) 0 var(--space-2xl); }.intro h1 { max-width: 10ch; margin: 0; font: 720 var(--text-title)/.98 var(--font-display); letter-spacing: -.06em; overflow-wrap: anywhere; }.intro p { max-width: 34ch; margin: 0; color: var(--color-muted); line-height: 1.55; }
.workspace { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .72fr); gap: var(--space-xl); }.panel { background: var(--color-surface); border: 1px solid var(--color-rule); border-radius: var(--radius-card); padding: var(--space-xl); }.panel h2 { margin: 0; font: 670 1.05rem/1.2 var(--font-display); letter-spacing: -.025em; }.panel-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); margin-bottom: var(--space-xl); }.count { color: var(--color-muted); font-size: var(--text-small); }
.upload-zone { display: grid; place-items: center; min-height: 230px; border: 1px dashed var(--color-rule); border-radius: var(--radius); padding: var(--space-xl); text-align: center; }.upload-zone p { margin: var(--space-sm) 0 var(--space-lg); color: var(--color-muted); line-height: 1.5; }.upload-zone input { max-width: 100%; }.privacy { margin: var(--space-lg) 0 0; color: var(--color-muted); font-size: var(--text-small); line-height: 1.5; }
.photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-sm); }.photo { aspect-ratio: 1; border-radius: var(--radius); background: var(--color-rule); overflow: hidden; }.photo:nth-child(1) { background: linear-gradient(135deg, #8fae9e, #d0b176 55%, #45717b); }.photo:nth-child(2) { background: linear-gradient(135deg, #afc3ca, #51687e 56%, #253647); }.photo:nth-child(3) { background: linear-gradient(135deg, #d7c8aa, #bd765b 56%, #8d4d40); }.photo:nth-child(4) { background: linear-gradient(135deg, #c8c9d6, #6f6479); }.photo:nth-child(5) { background: linear-gradient(135deg, #9bc9af, #50735d); }.photo:nth-child(6) { background: linear-gradient(135deg, #d0bfa1, #857052); }
dialog { width: min(100% - 2rem, 430px); border: 1px solid var(--color-rule); border-radius: var(--radius-card); background: var(--color-surface); color: var(--color-ink); padding: var(--space-xl); } dialog::backdrop { background: oklch(15% 0.01 155 / .45); }.settings-head { display: flex; align-items: center; justify-content: space-between; }.settings-head h2 { margin: 0; font: 680 1.2rem/1 var(--font-display); }.settings-group { margin-top: var(--space-xl); }.settings-group legend { padding: 0; margin-bottom: var(--space-sm); font-weight: 650; }.choices { display: flex; flex-wrap: wrap; gap: var(--space-sm); }.choices label { cursor: pointer; }.choices input { position: absolute; opacity: 0; }.choices span { display: block; border: 1px solid var(--color-rule); border-radius: var(--radius); padding: .55rem .7rem; }.choices input:checked + span { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink); }.dialog-close { border: 0; background: transparent; color: var(--color-muted); font-size: 1.4rem; line-height: 1; }
.offline { display: none; margin-top: var(--space-lg); color: var(--color-muted); font-size: var(--text-small); }.offline.is-visible { display: block; }
@media (max-width: 680px) { .shell { width: min(100% - 1.25rem, 1060px); }.intro, .workspace { grid-template-columns: 1fr; gap: var(--space-xl); }.intro { padding: var(--space-2xl) 0; }.photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.panel { padding: var(--space-lg); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: 1ms !important; } }
