@font-face{font-family:Tondo;src:url(/fonts/Tondo-Regular.ttf) format("truetype");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:Mollica Uppercase;src:url(/fonts/MollicaUppercase-Regular.otf) format("opentype");font-weight:400;font-style:normal;font-display:swap}:root{--color-bg: #f7f5ed;--color-surface: #ffffff;--color-surface-alt: #efe9d9;--color-text: #3f3f3f;--color-text-muted: #8c887f;--color-border: rgba(63, 63, 63, .14);--color-primary: #ce652d;--color-primary-text: #ffffff;--color-accent: #b3261e;--color-accent-text: #ffffff;--color-success: #7c9142;--color-success-text: #ffffff;--color-focus: #5f86c9;--color-brand-yellow: #e3e78b;--color-brand-blue: #a7bee3;--color-brand-orange: #ce652d;--color-brand-purple: #d6cee5;--font-sans: "Tondo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--font-heading: "Mollica Uppercase", var(--font-sans);--font-mono: ui-monospace, Consolas, monospace;--radius: 14px;--radius-sm: 9px}*{box-sizing:border-box}body{margin:0;background:var(--color-bg);color:var(--color-text);font-family:var(--font-sans);-webkit-font-smoothing:antialiased}#root{min-height:100svh}.eyebrow{font-family:var(--font-heading);font-size:12px;letter-spacing:1.5px;text-transform:uppercase;color:var(--color-text-muted);margin:0 0 6px}h1.page-title{font-family:var(--font-heading);font-weight:600;font-size:26px;line-height:1.15;margin:0 0 6px}.sub{font-size:14px;color:var(--color-text-muted);margin:0 0 20px;line-height:1.5}.card{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius);padding:16px;margin-bottom:14px}label{display:block;font-size:12px;font-weight:700;color:var(--color-text-muted);margin-bottom:6px;letter-spacing:.3px}input[type=text],input[type=email],input[type=tel],input[type=date],select,textarea{width:100%;font-family:var(--font-sans);font-size:14px;padding:10px 12px;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface);color:var(--color-text);margin-bottom:14px}input:focus-visible,select:focus-visible,textarea:focus-visible,button:focus-visible,a:focus-visible{outline:2px solid var(--color-focus);outline-offset:2px}textarea{resize:none;min-height:70px}.btn{width:100%;padding:13px;border-radius:var(--radius-sm);border:none;font-family:var(--font-sans);font-weight:700;font-size:14px;cursor:pointer;text-align:center}.btn:disabled{opacity:.45;cursor:not-allowed}.btn-primary{background:var(--color-primary);color:var(--color-primary-text)}.btn-secondary{background:var(--color-surface);color:var(--color-text);border:1.5px solid var(--color-border)}.btn-accent{background:var(--color-accent);color:var(--color-accent-text)}.btn-small{width:auto;padding:7px 12px;font-size:12px;border-radius:8px;border:1.5px solid var(--color-border);background:var(--color-surface);font-weight:700}.tabbar{display:flex;gap:4px;padding:8px 10px;background:var(--color-surface);border-top:1px solid var(--color-border)}.tab{flex:1;text-align:center;padding:8px 4px;border-radius:10px;font-size:11px;font-weight:700;color:var(--color-text-muted);cursor:pointer}.tab.active{background:var(--color-surface-alt);color:var(--color-text)}.grid26{display:grid;grid-template-columns:repeat(6,1fr);gap:7px;margin-bottom:18px}.lcell{aspect-ratio:1;border-radius:8px;display:flex;align-items:center;justify-content:center;font-family:var(--font-heading);font-weight:600;font-size:14px;border:1.5px solid var(--color-border);background:var(--color-surface);color:var(--color-text-muted)}.lcell.completed{background:var(--color-success);border-color:var(--color-success);color:var(--color-success-text)}.lcell.opened{background:var(--color-surface);border-style:dashed;color:var(--color-text-muted);cursor:pointer}.lcell.downloaded{background:var(--color-surface);border-color:var(--color-border);color:var(--color-text);cursor:pointer}.lcell.invited{cursor:pointer}.lcell.unassigned{opacity:.4}.legend{display:flex;gap:14px;font-size:11px;color:var(--color-text-muted);margin-bottom:20px;flex-wrap:wrap}.legend .dot{width:9px;height:9px;border-radius:3px;display:inline-block;margin-right:5px;vertical-align:-1px}.stat-row{display:flex;gap:10px;margin-bottom:18px}.stat{flex:1;background:var(--color-surface-alt);border-radius:10px;padding:10px 12px;border:1.5px solid transparent}.stat .num{font-family:var(--font-heading);font-weight:600;font-size:22px}.stat .lb{font-size:10.5px;color:var(--color-text-muted)}.stat-opened{background:var(--color-surface);border-style:dashed;border-color:var(--color-text-muted)}.stat-waiting{background:var(--color-surface);border-color:var(--color-border)}.stat-returned{background:var(--color-success)}.stat-returned .num,.stat-returned .lb{color:var(--color-success-text)}.contact-row{display:flex;align-items:center;gap:10px;padding:9px 0;border-bottom:1px solid var(--color-border)}.letter-chip{width:30px;height:30px;border-radius:50%;background:var(--color-primary);color:var(--color-primary-text);font-family:var(--font-heading);font-weight:600;font-size:13px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.upload-zone{border:1.5px dashed var(--color-border);border-radius:var(--radius-sm);padding:22px 10px;text-align:center;color:var(--color-text-muted);font-size:12.5px;margin-bottom:14px;background:var(--color-surface);cursor:pointer}.upload-zone.filled{border-style:solid;border-color:var(--color-success);color:var(--color-success);font-weight:700}.note-toggle{display:flex;gap:8px;margin-bottom:12px}.note-toggle .opt{flex:1;padding:8px;border-radius:8px;border:1.5px solid var(--color-border);text-align:center;font-size:12px;font-weight:700;color:var(--color-text-muted);background:var(--color-surface);cursor:pointer}.note-toggle .opt.active{border-color:var(--color-focus);color:var(--color-focus)}.cover-row{display:flex;gap:10px;overflow-x:auto;padding-bottom:6px;margin-bottom:16px}.cover-opt{min-width:90px;height:120px;border-radius:8px;border:2px solid var(--color-border);display:flex;align-items:center;justify-content:center;background:var(--color-surface-alt);color:var(--color-text);font-family:var(--font-heading);font-size:11px;text-align:center;padding:8px;cursor:pointer}.cover-opt.selected{border-color:var(--color-primary)}.cover-opt.upload{background:var(--color-surface);border-style:dashed;color:var(--color-text-muted)}.book-page{display:flex;background:var(--color-surface);border:1.5px solid var(--color-border);border-radius:var(--radius-sm);overflow:hidden;margin-bottom:12px;min-height:150px}.book-page .left,.book-page .right{flex:1;padding:14px;display:flex;flex-direction:column;justify-content:center}.book-page .left{border-right:1px dashed var(--color-border)}.book-page .left .from{font-size:10px;color:var(--color-text-muted);margin-bottom:4px}.book-page .left .note{font-family:var(--font-heading);font-size:12.5px;line-height:1.5;font-style:italic}.book-page .right{align-items:center;background:var(--color-surface-alt)}.book-page .right img{max-width:100%;max-height:130px;object-fit:contain}.book-page .right .big-letter{font-family:var(--font-heading);font-size:34px;font-weight:600;color:var(--color-text-muted)}.divider{height:1px;background:var(--color-border);margin:18px 0}a.link,.link{color:var(--color-focus);font-weight:700;text-decoration:underline;cursor:pointer;font-size:12.5px}
