@import "https://fonts.googleapis.com/css2?family=IBM+Plex+Serif:ital,wght@0,500;0,700;1,500&family=Sora:wght@400;500;600;700&display=swap";:root{--ink:#15303f;--ink-soft:#3f6070;--line-soft:#65929e38;--line-strong:#3e798861;--bg-top:#eaf3f2;--bg-bottom:#c9dede}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}body{color:var(--ink);background:radial-gradient(circle at 20% -20%, #f4e3c085, transparent 42%), linear-gradient(165deg, var(--bg-top), var(--bg-bottom)), repeating-linear-gradient(-30deg, #ffffff1f 0, #ffffff1f 1px, transparent 1px, transparent 28px);font-family:Sora,sans-serif;line-height:1.45}h1,h2,h3{letter-spacing:-.02em;font-family:IBM Plex Serif,serif}p{margin:0}.app-shell{isolation:isolate;grid-template-rows:auto 1fr;min-height:100vh;display:grid;position:relative}.app-shell:before{content:"";pointer-events:none;z-index:-1;background:radial-gradient(circle at 8% 12%,#e7d09b47,#0000 32%),radial-gradient(circle at 91% 28%,#7bb9c63d,#0000 38%),repeating-linear-gradient(120deg,#fff0 0 34px,#ffffff1f 34px 35px);position:fixed;inset:0}.topbar{z-index:30;border-bottom:1px solid var(--line-strong);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#07252fb8;justify-content:space-between;align-items:center;gap:1rem;padding:.9rem 1.2rem;display:flex;position:sticky;top:0}.brand{align-items:center;gap:.65rem;display:flex}.brand h1{color:#f1f7f6;margin:0;font-size:clamp(1.15rem,1.7vw,1.45rem)}.brand p{letter-spacing:.08em;text-transform:uppercase;color:#b9d6d6cc;margin:.1rem 0 0;font-size:.74rem}.brand-mark{border-radius:.58rem;place-items:center;width:2rem;height:2rem;display:grid;overflow:hidden;box-shadow:inset 0 0 0 1px #ffffff2e}.topbar nav{flex-wrap:wrap;justify-content:flex-end;gap:.45rem;display:flex}.topbar nav a{color:#dcefefd6;border:1px solid #0000;border-radius:999px;padding:.38rem .78rem;font-size:.88rem;line-height:1;text-decoration:none;transition:background-color .18s,border-color .18s,color .18s}.topbar nav a:hover{color:#f1f7f6;border-color:#b0d2d96b}.topbar nav a.active{color:#f7fbff;background:#c473363d;border-color:#dcebf170}.screen{align-content:start;gap:1rem;width:min(1120px,100% - 2rem);margin:1.25rem auto 1.6rem;display:grid}.screen>*{opacity:0;animation:.52s cubic-bezier(.21,1,.35,1) forwards rise-in;transform:translateY(14px)}.screen>:nth-child(2){animation-delay:70ms}.screen>:nth-child(3){animation-delay:.13s}.screen>:nth-child(4){animation-delay:.18s}.panel{border:1px solid var(--line-soft);background:linear-gradient(165deg,#ffffffc2,#f2faf8b3);border-radius:18px;padding:1.05rem;box-shadow:0 14px 32px #041f2c1a}.panel h2,.panel h3{color:#15303f;margin:0 0 .45rem}.panel h3{font-size:1.1rem}.panel p,.panel li,.panel dd{color:var(--ink-soft)}.hero-panel{color:#f5fbfd;background:radial-gradient(circle at 80% 20%,#fbb1674d,#0000 36%),linear-gradient(140deg,#0b4f64 0%,#10384e 47%,#172a38 100%);border-color:#aad6e061;position:relative;overflow:hidden}.hero-panel h2,.hero-panel p{z-index:1;color:inherit;position:relative}.hero-panel p{color:#e7f5f9e6;max-width:60ch;margin:0}.hero-panel:after{content:"";background:radial-gradient(circle,#e87a336b 0%,#0000 65%);border-radius:50%;width:210px;height:210px;position:absolute;inset:auto -5% -45% auto}.hero-panel.error{background:radial-gradient(circle at 10% 18%,#ff9d7c3d,#0000 44%),linear-gradient(140deg,#842f1e 0%,#63231c 52%,#391b1b 100%);border-color:#ffb7b166}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.9rem;display:grid}.form-grid .wide{grid-column:1/-1}label{color:#1f4255;gap:.35rem;font-size:.89rem;font-weight:500;display:grid}input,select,textarea,button{font:inherit}input,select,textarea{border:1px solid var(--line-strong);color:#15303f;background:#fcffffe0;border-radius:12px;padding:.62rem .72rem;transition:border-color .16s,box-shadow .16s,background-color .16s}input::placeholder,textarea::placeholder{color:#6f8592}input:focus,select:focus,textarea:focus{background:#fff;border-color:#287f95;outline:none;box-shadow:0 0 0 3px #287f9533}textarea{resize:vertical;min-height:90px}.capture-preview{gap:.65rem;display:grid}.capture-preview img{border:1px solid var(--line-strong);border-radius:13px;width:min(100%,720px)}.action-row{flex-wrap:wrap;align-items:center;gap:.65rem;display:flex}.api-key-control{align-items:center;gap:.5rem;display:flex}.api-key-badge{white-space:nowrap;border-radius:999px;align-items:center;padding:.26rem .62rem;font-size:.78rem;font-weight:600;display:inline-flex}.api-key-badge.ok{color:#246b47;background:#4ad28b29;border:1px solid #4ad28b52}.api-key-badge.missing{color:#7a2e20;background:#dc503c1f;border:1px solid #dc503c42}.privacy-notice{background:linear-gradient(165deg,#ebf7ffd1,#e0f2fcc2);border-color:#50a0d24d}.privacy-notice-heading{color:#1a4a62;margin:0 0 .35rem;font-weight:700}.privacy-notice p:last-child{color:#2e5f78;margin:0;font-size:.89rem}button{color:#f4fbff;cursor:pointer;background:linear-gradient(140deg,#0f5f75 0%,#0b4761 100%);border:0;border-radius:999px;padding:.67rem 1.05rem;font-weight:600;transition:transform .14s,filter .14s,box-shadow .14s}button:hover:not(:disabled){filter:saturate(1.08);transform:translateY(-1px);box-shadow:0 8px 18px #0c455747}button.secondary{background:linear-gradient(140deg,#b0662f 0%,#8a4f29 100%)}button.ghost{color:#184255;border:1px solid var(--line-strong);background:#ffffffb8}button:disabled{opacity:.45;cursor:not-allowed;box-shadow:none;transform:none}.capture-screen .capture-stage{min-height:300px}.capture-stage{background:linear-gradient(160deg,#062e3b,#123949);border-color:#7aadbc57;place-items:center;display:grid}.camera-preview{border:1px solid #c2e5ec3d;border-radius:14px;width:min(100%,860px)}.camera-fallback{color:#e5f7f8;text-align:center;max-width:42ch}.media-panel{padding:.7rem}.media-frame{aspect-ratio:4/3;border:1px solid var(--line-strong);background:linear-gradient(160deg,#072b3a,#0f394b);border-radius:14px;width:100%;position:relative;overflow:hidden}.media-frame img{object-fit:contain;width:100%;height:100%}.overlay-layer{position:absolute;inset:0}.zone-row{scrollbar-width:thin;gap:.5rem;display:flex;overflow-x:auto}.zone-pill{white-space:nowrap;color:#19475a;border:1px solid var(--line-strong);min-height:44px;box-shadow:none;background:#e9f4f6f2;padding:0 1rem}.zone-pill.active{color:#f4fbff;background:linear-gradient(140deg,#0f5f75 0%,#0a435d 100%);border-color:#0000}.tactics-panel{background:linear-gradient(165deg,#fffbf4db,#f8fffccc)}.tactics-facts{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:.58rem;margin:0;display:grid}.tactics-facts>div{border:1px solid var(--line-soft);background:#ffffff8c;border-radius:10px;padding:.55rem .65rem}.tactics-facts dt{letter-spacing:.06em;text-transform:uppercase;color:#576f7c;margin:0 0 .25rem;font-size:.78rem}.tactics-facts dd{color:#143647;margin:0;font-size:.95rem;font-weight:600}.panel ul{margin:.35rem 0 0;padding-left:1.2rem}.chat-log{flex-direction:column;gap:.5rem;max-height:320px;margin-bottom:.75rem;padding:.25rem 0;display:flex;overflow-y:auto}.chat-bubble{border-radius:12px;max-width:85%;padding:.5rem .75rem;line-height:1.5}.chat-bubble p{white-space:pre-wrap;margin:0;font-size:.9rem}.chat-bubble--user{color:#f4fbff;background:linear-gradient(140deg,#0f5f75 0%,#0a435d 100%);align-self:flex-end}.chat-bubble--assistant,.chat-bubble--streaming{color:#143647;background:#e9f4f6f2;align-self:flex-start}.chat-bubble--thinking{color:#576f7c;background:#e9f4f6f2;border-radius:12px;align-self:flex-start;padding:.5rem .75rem;font-size:.9rem}.followup-input-row{align-items:flex-end;gap:.5rem;display:flex}.followup-input-row textarea{resize:vertical;flex:1}.followup-hint{opacity:.6;margin:.5rem 0 0;font-size:.8rem}.error-message{color:#842f1e;margin-bottom:.5rem;font-size:.88rem}@keyframes rise-in{0%{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}@media (width<=860px){.screen{width:min(100% - 1rem,760px);margin-top:.95rem}.topbar{flex-direction:column;align-items:flex-start}.topbar nav{width:100%}.form-grid{grid-template-columns:1fr}}@media (width<=580px){.topbar{padding:.85rem .82rem}.brand p{display:none}.panel{border-radius:14px;padding:.86rem}.action-row button{flex:auto}}@media (width<=480px){.media-frame{max-height:55vh}.tactics-facts{grid-template-columns:1fr 1fr}.chat-log{max-height:220px}.followup-input-row{flex-direction:column;align-items:stretch}.followup-input-row button{width:100%}}@media (prefers-reduced-motion:reduce){.screen>*{opacity:1;animation:none;transform:none}button{transition:none}}
