@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700&family=Playfair+Display:ital,wght@0,600;0,700;1,600;1,700&display=swap');

:root { --ink: #1e2924; --muted: #6d756f; --paper: #f6f4ee; --card: #fffefa; --green: #255b48; --lime: #c5e46e; --line: #d9ddd1; --red: #a53e31; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; color: var(--ink); background: var(--paper); font-family: 'DM Sans', sans-serif; }
.container { width: min(980px, calc(100% - 40px)); margin: 0 auto; padding: 88px 0 80px; }
.hero { max-width: 660px; margin-bottom: 48px; }
.eyebrow { color: var(--green); font: 500 11px/1 'DM Mono', monospace; letter-spacing: .12em; margin: 0 0 15px; }
h1, h2, p { margin-top: 0; }
h1 { font: 700 clamp(48px, 8vw, 84px)/.98 'Playfair Display', serif; letter-spacing: -.055em; margin-bottom: 21px; }
h1 em { color: var(--green); }
.intro { color: var(--muted); max-width: 480px; font-size: 18px; line-height: 1.55; margin-bottom: 0; }
.upload-card { background: var(--card); border: 1px solid var(--line); border-radius: 4px; box-shadow: 8px 8px 0 #dfe4d5; padding: 31px; margin-bottom: 80px; }
h2 { font-size: 21px; letter-spacing: -.03em; margin-bottom: 19px; }
.picker { cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 230px; border: 1.5px dashed #91a896; background: #f8fbf3; color: var(--green); text-align: center; transition: background .2s; }
.picker:hover { background: #edf5e3; }
.picker-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; font: 500 28px/36px 'DM Mono', monospace; margin-bottom: 15px; }
.picker strong { font-size: 17px; }
.picker small { color: var(--muted); margin-top: 6px; }
input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.room-option { cursor: pointer; display: flex; align-items: center; gap: 11px; margin-top: 16px; color: var(--ink); }
.room-option input { appearance: none; flex: 0 0 18px; width: 18px; height: 18px; margin: 0; border: 1.5px solid #91a896; border-radius: 2px; background: #fff; display: grid; place-content: center; }
.room-option input::before { content: '✓'; color: var(--green); font: 700 14px/1 sans-serif; transform: scale(0); transition: transform .12s; }
.room-option input:checked { background: var(--lime); border-color: var(--green); }.room-option input:checked::before { transform: scale(1); }
.room-option span { display: grid; gap: 2px; }.room-option strong { font-size: 14px; }.room-option small { color: var(--muted); font-size: 12px; }
.selection { color: var(--muted); font-size: 13px; margin: 15px 0 17px; min-height: 20px; }
button { cursor: pointer; width: 100%; background: var(--green); border: 0; color: white; padding: 15px 18px; font: 600 15px 'DM Sans', sans-serif; transition: transform .15s, background .15s; }
button:hover { background: #174537; transform: translateY(-1px); } button span { margin-left: 8px; }
.message { padding: 12px 14px; font-size: 14px; margin-bottom: 16px; } .success { background: #e7f2d8; color: #35502a; } .error { background: #f8e1dc; color: var(--red); }
.library { max-width: 840px; } .library-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 17px; } .library-heading .eyebrow { margin-bottom: 8px; } .library-heading h2 { margin-bottom: 0; } .count { color: var(--muted); font: 12px 'DM Mono', monospace; }
.file-list { border-top: 1px solid var(--line); } .file-row { color: inherit; display: grid; grid-template-columns: 74px 1fr auto; gap: 18px; align-items: center; padding: 17px 5px; text-decoration: none; border-bottom: 1px solid var(--line); transition: background .15s; } .file-row:hover { background: #eef2e8; }
.file-type { color: var(--green); font: 11px 'DM Mono', monospace; text-transform: uppercase; } .file-name { font-size: 15px; overflow-wrap: anywhere; } .file-meta { color: var(--muted); font: 12px 'DM Mono', monospace; white-space: nowrap; }.empty { color: var(--muted); padding: 24px 0; border-top: 1px solid var(--line); }
@media (max-width: 620px) { .container { width: min(100% - 28px, 980px); padding-top: 54px; } .upload-card { padding: 20px; } .file-row { grid-template-columns: 58px 1fr; gap: 10px; } .file-meta { grid-column: 2; white-space: normal; } }
