:root { --bg:#fbf7f2; --card:#fff; --ink:#2b2320; --ink2:#7a6d66; --line:#eadfd5; --accent:#c5622b; --accent2:#a14a2a; --sage:#6f8f72; --danger:#b3261e; --r:18px; }
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin:0; background:var(--bg); color:var(--ink); font: 16px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
body { min-height:100vh; }
#app { max-width: 560px; margin: 0 auto; min-height: 100vh; padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
h1 { font-size: 26px; margin: 0; letter-spacing: -.02em; }
h2 { font-size: 20px; margin: 22px 0 10px; letter-spacing: -.01em; }
h3 { font-size: 16px; margin: 0 0 4px; }
.topbar { display:flex; align-items:center; justify-content:space-between; padding: calc(14px + env(safe-area-inset-top)) 18px 6px; }
.brand { display:flex; align-items:center; gap:10px; }
.logo { width:34px; height:34px; border-radius:10px; background:var(--accent); color:#fff; display:grid; place-items:center; font-weight:700; }
.pad { padding: 0 18px; }
.muted { color: var(--ink2); font-size: 14px; }
.btn { appearance:none; border:0; background:var(--accent); color:#fff; font:inherit; font-weight:600; padding: 12px 18px; border-radius: 999px; min-height:46px; cursor:pointer; display:inline-flex; align-items:center; justify-content:center; gap:8px; }
.btn.ghost { background: transparent; color: var(--ink); border:1px solid var(--line); }
.btn.soft { background:#f6e6dc; color: var(--accent2); }
.btn.sm { min-height:38px; padding: 8px 14px; font-size:14px; }
.btn.danger { background: transparent; color: var(--danger); border:1px solid #efc7c3; }
.btn.block { width:100%; }
.btn:disabled { opacity:.5; }
.row { display:flex; gap:8px; flex-wrap:wrap; align-items:center; }
.card { background:var(--card); border:1px solid var(--line); border-radius:var(--r); padding:14px; margin:10px 0; }
.input { width:100%; font:inherit; font-size:16px; padding: 13px 14px; border:1px solid var(--line); border-radius:14px; background:#fff; color:var(--ink); }
textarea.input { resize: vertical; min-height: 76px; }
label.l { display:block; font-size:13px; font-weight:600; color:var(--ink2); margin: 14px 0 6px; }
.chips { display:flex; flex-wrap:wrap; gap:8px; }
.chip { font:inherit; font-size:14px; min-height:40px; padding: 0 14px; border-radius:999px; border:1px solid var(--line); background:#fff; color:var(--ink); cursor:pointer; }
.chip.on { background: var(--ink); color:#fff; border-color: var(--ink); }
.swatches { display:grid; grid-template-columns: repeat(auto-fill, minmax(38px,1fr)); gap:8px; }
.sw { aspect-ratio:1; border-radius:50%; border:1px solid var(--line); min-height:38px; padding:0; cursor:pointer; }
.sw.on { outline:3px solid var(--accent); outline-offset:2px; }
.grid { display:grid; grid-template-columns: repeat(3, 1fr); gap:10px; }
.tile { background:#fff; border:1px solid var(--line); border-radius:16px; overflow:hidden; padding:0; text-align:left; font:inherit; color:inherit; cursor:pointer; }
.tile .ph { aspect-ratio:1; display:grid; place-items:center; font-size:34px; position:relative; }
.tile .ph img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.tile .nm { padding:6px 8px 8px; font-size:12.5px; line-height:1.25; }
.tile .dot { position:absolute; right:6px; bottom:6px; width:14px; height:14px; border-radius:50%; border:2px solid #fff; }
.nav { position:fixed; left:0; right:0; bottom:0; background:rgba(255,255,255,.96); border-top:1px solid var(--line); display:flex; justify-content:center; padding-bottom: env(safe-area-inset-bottom); backdrop-filter: blur(8px); z-index:5; }
.nav .in { display:flex; width:100%; max-width:560px; }
.nav button { flex:1; background:none; border:0; font:inherit; font-size:11.5px; color:var(--ink2); padding:9px 0 8px; display:flex; flex-direction:column; align-items:center; gap:2px; cursor:pointer; position:relative; }
.nav button .ic { font-size:21px; line-height:1.1; }
.nav button.on { color: var(--accent); font-weight:600; }
.badge { position:absolute; top:4px; left:calc(50% + 8px); background:var(--accent); color:#fff; border-radius:999px; font-size:11px; min-width:18px; height:18px; display:grid; place-items:center; padding:0 5px; }
.outfit { background:#fff; border:1px solid var(--line); border-radius:20px; padding:14px; margin:12px 0; }
.strip { display:flex; gap:8px; margin-bottom:10px; flex-wrap:wrap; }
.strip .ph { width:62px; height:62px; border-radius:14px; display:grid; place-items:center; font-size:26px; position:relative; overflow:hidden; border:1px solid var(--line); }
.strip .ph img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.why { color: var(--ink2); font-size:14px; margin:6px 0 0; }
.list { list-style:none; margin:0; padding:0; font-size:15px; }
.list li { display:flex; align-items:center; gap:8px; padding:2px 0; }
.sdot { width:10px; height:10px; border-radius:50%; border:1px solid var(--line); flex:none; }
.sheet-bg { position:fixed; inset:0; background:rgba(30,20,15,.45); z-index:20; display:flex; align-items:flex-end; justify-content:center; }
.sheet { background:var(--bg); width:100%; max-width:560px; max-height:92vh; overflow:auto; border-radius:24px 24px 0 0; padding: 18px 18px calc(24px + env(safe-area-inset-bottom)); }
.sheet .hd { display:flex; justify-content:space-between; align-items:center; margin-bottom:6px; }
.x { background:none; border:0; font-size:26px; line-height:1; color:var(--ink2); padding:6px 10px; cursor:pointer; }
.bigph { width:100%; aspect-ratio: 1; max-height:340px; border-radius:18px; display:grid; place-items:center; font-size:64px; position:relative; overflow:hidden; border:1px solid var(--line); }
.bigph img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.status { display:inline-block; font-size:12px; font-weight:700; padding:3px 9px; border-radius:999px; background:#f1ebe5; color:var(--ink2); }
.status.approved { background:#e0eddf; color:#3f6b43; }
.status.declined, .status.canceled { background:#f6dedc; color:var(--danger); }
.status.pending { background:#fbe9c7; color:#8a5a00; }
.toast { position:fixed; left:50%; transform:translateX(-50%); bottom:calc(92px + env(safe-area-inset-bottom)); background:var(--ink); color:#fff; padding:10px 16px; border-radius:999px; font-size:14px; z-index:30; max-width:90vw; }
.err { color:var(--danger); font-size:14px; margin:8px 0; }
.hero { padding: 44px 24px 12px; text-align:center; }
.hero .logo { width:64px; height:64px; font-size:30px; border-radius:20px; margin:0 auto 14px; }
.empty { text-align:center; color:var(--ink2); padding:26px 10px; }
.hidden { display:none; }
.person { display:flex; align-items:center; gap:12px; }
.av { width:42px; height:42px; border-radius:50%; background:#f6e6dc; color:var(--accent2); display:grid; place-items:center; font-weight:700; flex:none; }
.grow { flex:1; min-width:0; }
.spin { text-align:center; padding:30px; color:var(--ink2); }
