:root{--bg: #161936;--tile: #24285A;--navy: #2B2F74;--navy-border: #6B70C4;--maroon: #9B1C24;--muted-on-dark: #B8BBDD;--card: #FFFFFF;--ink: #1A1C2E;--ink-2: #4A4D63;--ink-3: #5C5F75;--line: #D9DBE8;--soft: #F4F5FB;--soft-navy: #EEF0FB;--amber-bg: #FFF4E0;--amber-line: #E0A33A;--amber-ink: #7A4E00;--green-bg: #E6F4EA;--green-ink: #1E5E2E;color-scheme:dark}*{box-sizing:border-box}html,body,#root{margin:0;height:100%}body{background:var(--bg);color:#fff;font-family:Inter,system-ui,-apple-system,sans-serif;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent}button,input,select,textarea{font:inherit}a{color:inherit;text-decoration:none}.screen{min-height:100%;max-width:480px;margin:0 auto;display:flex;flex-direction:column;padding:calc(env(safe-area-inset-top) + 20px) 16px calc(env(safe-area-inset-bottom) + 20px);gap:14px}.header{display:flex;align-items:center;gap:4px}.header .titles{display:flex;flex-direction:column;flex:1;min-width:0}.title{font-size:20px;font-weight:700}.subtitle{font-size:14px;color:var(--muted-on-dark)}.icon-btn{width:44px;height:44px;border:0;border-radius:22px;display:flex;align-items:center;justify-content:center;background:transparent;color:#fff;cursor:pointer;flex-shrink:0}.icon-btn.filled{background:var(--navy)}.greeting small{display:block;font-size:14px;color:var(--muted-on-dark)}.greeting strong{font-size:26px;font-weight:700}.row-between{display:flex;align-items:center;justify-content:space-between;gap:10px}.search{display:flex;align-items:center;gap:10px;height:50px;padding:0 16px;border-radius:14px;background:var(--tile);color:var(--muted-on-dark)}.search input{border:0;outline:0;background:transparent;color:#fff;flex:1;font-size:16px;min-width:0}.tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;flex:1}.tiles.three{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.tile{display:flex;flex-direction:column;justify-content:space-between;gap:16px;min-height:110px;padding:18px;border-radius:20px;background:var(--tile);border:2px solid transparent;color:#fff;cursor:pointer;text-align:left}.tiles.three .tile{min-height:92px;padding:12px;border-radius:16px;gap:10px}.tile.primary{background:var(--navy);border-color:var(--navy-border)}.tile span.label{font-size:18px;font-weight:700}.tiles.three .tile span.label{font-size:15px}.badge{min-width:26px;height:26px;padding:0 6px;border-radius:13px;background:var(--maroon);display:inline-flex;align-items:center;justify-content:center;font-size:13px;font-weight:700;color:#fff}.card{background:var(--card);color:var(--ink);border-radius:20px;padding:16px;display:flex;flex-direction:column;gap:14px}.card.scroll{flex:1;overflow-y:auto}.label-sm{font-size:13px;font-weight:600;color:var(--ink-3)}.caps{font-size:12px;font-weight:700;letter-spacing:.05em}.muted{color:var(--ink-2);font-size:14px}.divider{height:1px;background:#e3e5f0}.box{padding:12px;border-radius:12px;background:var(--soft);display:flex;flex-direction:column;gap:6px}.box.outline{background:#fff;border:1.5px solid var(--line)}.box.active{background:#fff;border:1.5px solid var(--navy)}.amber{background:var(--amber-bg);border:1.5px solid var(--amber-line);color:var(--ink)}.amber .caps{color:var(--amber-ink)}.green{background:var(--green-bg);color:var(--green-ink);font-weight:600;font-size:14px}.chip{display:inline-flex;align-items:center;height:32px;padding:0 10px;border-radius:10px;background:var(--soft-navy);color:var(--navy);font-size:13px;font-weight:600}.tag-maroon{padding:4px 8px;border-radius:8px;background:var(--maroon);color:#fff;font-size:12px;font-weight:700;white-space:nowrap}.kv{display:grid;grid-template-columns:auto 1fr;gap:6px 12px;font-size:14px}.kv dt{color:var(--ink-3)}.kv dd{margin:0;font-weight:600}.btn{height:60px;border-radius:16px;border:0;width:100%;display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:700;cursor:pointer}.btn.white{background:#fff;color:var(--bg)}.btn.navy{background:var(--navy);color:#fff;border:2px solid var(--navy-border)}.btn-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.seg{display:grid;gap:8px}.seg button,.pick{min-height:44px;padding:0 12px;border-radius:12px;border:1.5px solid var(--line);background:#fff;color:var(--ink);font-size:14px;font-weight:600;cursor:pointer}.seg button.on,.pick.on{background:var(--navy);color:#fff;border-color:var(--navy)}.picks{display:flex;flex-wrap:wrap;gap:6px}.field{display:flex;flex-direction:column;gap:6px}.field input,.field select,.field textarea{min-height:50px;padding:10px 14px;border-radius:12px;border:1.5px solid var(--line);background:#fff;color:var(--ink);font-size:16px}.list-item{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px;border-radius:14px;background:var(--card);color:var(--ink)}.toast{position:fixed;left:50%;bottom:calc(env(safe-area-inset-bottom) + 24px);transform:translate(-50%);background:#fff;color:var(--bg);padding:12px 18px;border-radius:14px;font-weight:700;box-shadow:0 8px 30px #00000059;z-index:10}.preview-note{font-size:12px;color:var(--muted-on-dark);text-align:center}
