@import"https://fonts.googleapis.com/css2?family=Archivo+Black&family=Space+Grotesk:wght@400;500;700&display=swap";:root{--paper: #fffbf1;--ink: #111111;--accent: #ffd400;--line: #0f0f0f;--ok: #267a31;--warn: #996f00;--error: #a62828;--radius: 8px}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;font-family:Space Grotesk,Trebuchet MS,Segoe UI,sans-serif;color:var(--ink);background:#fff;overflow-x:hidden;position:relative}.grid-bg{position:fixed;inset:0;pointer-events:none;z-index:0;background-image:linear-gradient(#f7f6f0 1px,transparent 1px),linear-gradient(90deg,#f7f6f0 1px,transparent 1px);background-size:40px 40px;opacity:.7}.deco-square{position:fixed;border:3px solid;border-radius:var(--radius);opacity:0;animation:squareAppear 1s ease forwards;z-index:0;pointer-events:none}.deco-square.sq-a{width:180px;height:180px;top:-30px;left:5%;background:#ffd60014;border-color:#ffd6004d;animation-delay:.2s}.deco-square.sq-b{width:120px;height:120px;top:20%;right:8%;background:#00c8530f;border-color:#00c85340;animation-delay:.5s}.deco-square.sq-c{width:90px;height:90px;bottom:12%;left:15%;background:#ffd6000d;border-color:#ffd60033;animation-delay:.7s}#app{min-height:100vh}.app-shell{position:relative;z-index:1;min-height:100vh;padding-top:10rem}.brutal-box{border:3px solid var(--line);border-radius:var(--radius);box-shadow:7px 7px 0 0 var(--line);background:#fffbf1d6;-webkit-backdrop-filter:blur(1px);backdrop-filter:blur(1px)}.topbar{width:calc(100% - 2rem);position:fixed;top:1rem;left:1rem;right:1rem;z-index:10;padding:1rem;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:.7rem;animation:popIn .45s ease-out}.nav-brand{justify-self:start;margin:0;font-family:Archivo Black,Impact,sans-serif;font-size:1.25rem;letter-spacing:.04em;text-transform:uppercase}.top-nav{justify-self:center;display:inline-flex;gap:.55rem}.auth-widget{justify-self:end;display:grid;gap:.35rem;justify-items:end}.auth-dropdown{position:relative}.auth-toggle{display:inline-flex;align-items:center;gap:.3rem;border:3px solid var(--line);border-radius:var(--radius);background:#ffffffe6;font-family:inherit;font-size:1rem;font-weight:700;padding:.32rem .6rem;cursor:pointer;box-shadow:4px 4px 0 0 var(--line);transition:transform .12s ease,box-shadow .12s ease}.auth-toggle:hover{transform:translate(4px,4px);box-shadow:0 0 0 0 var(--line)}.auth-toggle.ok{background:#dbf0de}.auth-toggle.warn{background:#fff0bf}.auth-menu{position:absolute;top:calc(100% + 6px);right:0;min-width:140px;border:3px solid var(--line);border-radius:var(--radius);background:#fffdf2;box-shadow:5px 5px 0 0 var(--line);z-index:10;padding:.3rem}.auth-menu-item{display:block;width:100%;border:none;background:none;padding:.5rem .6rem;font:inherit;font-size:1rem;font-weight:700;text-align:left;cursor:pointer;border-radius:calc(var(--radius) - 2px)}.auth-menu-item:hover{background:#fff0bf}.view{width:100%}.view-new{min-height:calc(100vh - 140px);display:grid;place-items:center;padding:1rem 0 2rem}.view-history{min-height:calc(100vh - 140px);display:grid;place-items:start center;padding:1rem 0 2rem}.panel{padding:1rem;animation:popIn .5s ease-out}.center-panel{width:min(90%,820px)}.history-panel{width:min(90%,920px)}h2{margin:0 0 .75rem;text-align:center;font-family:Archivo Black,Impact,sans-serif;letter-spacing:.02em;font-size:1.3rem;text-transform:uppercase}.notice-line{margin:0 0 .75rem;padding:.45rem .55rem;border:2px solid var(--line);border-radius:var(--radius);font-size:.86rem;font-weight:700}.notice-line.ok{background:#dbf0de}.notice-line.warn{background:#fff0bf}.notice-line.error{background:#ffd6d6}.mission-form{display:grid;gap:.75rem}label{font-weight:700}textarea,input{width:100%;border:3px solid var(--line);background:#fff;border-radius:var(--radius);padding:.75rem;font:inherit}textarea{min-height:170px;resize:vertical}.dropzone{border:3px dashed var(--line);border-radius:var(--radius);background:#ffffffc7;min-height:140px;display:grid;place-content:center;text-align:center;gap:.25rem;padding:1rem;transition:transform .16s ease,background-color .16s ease}.dropzone p{margin:0;font-weight:700}.dropzone-meta{font-size:.82rem;opacity:.75}.dropzone.is-dragging{background:#fff6c9;transform:translate(-3px,-3px)}#fileInput{display:none}.files{margin:0;padding:0;list-style:none;display:grid;gap:.45rem}.file-item{border:2px solid var(--line);border-radius:var(--radius);background:#ffffffe6;padding:.55rem .6rem;display:flex;justify-content:space-between;align-items:center;gap:.7rem}.list{margin:0;padding:0;list-style:none;display:grid;gap:.6rem}.history-item{border:2px solid var(--line);border-radius:var(--radius);background:#ffffffe6;padding:.65rem}.history-head{display:flex;justify-content:space-between;align-items:flex-start;gap:.6rem}.history-title{margin:0;font-size:.95rem;font-weight:700}.history-meta{margin:.38rem 0 0;font-size:.82rem;opacity:.9}.history-foot{margin-top:.4rem;display:flex;align-items:center;justify-content:space-between;gap:.7rem}.history-open{padding:.36rem .7rem;font-size:.78rem}.status-pill{border:2px solid var(--line);border-radius:var(--radius);font-size:.76rem;font-weight:700;text-transform:uppercase;letter-spacing:.03em;background:#ededed;padding:.18rem .45rem;white-space:nowrap}.status-pill.is-qa{background:#ffd400}.status-pill.is-ok{background:#d7f6dc}.status-pill.is-error{background:#ffd6d6}.status-pill.is-queued{background:#ececec}.muted{opacity:.7}.nav-item,.ghost,.send-btn{border:3px solid var(--line);border-radius:var(--radius);padding:.55rem .82rem;font:inherit;font-size:.9rem;font-weight:700;text-transform:uppercase;letter-spacing:.03em;cursor:pointer;box-shadow:5px 5px 0 0 var(--line);transition:transform .12s ease,box-shadow .12s ease}.nav-item,.ghost{background:#ffffffe0}.send-btn,.nav-item.active{background:#ffd600eb}.send-btn{justify-self:end;min-width:145px}.nav-item:hover,.ghost:hover,.send-btn:hover{transform:translate(5px,5px);box-shadow:0 0 0 0 var(--line)}.nav-item:active,.ghost:active,.send-btn:active{transform:translate(5px,5px) scale(.97);box-shadow:0 0 0 0 var(--line)}.send-btn:disabled{opacity:.6;cursor:wait;transform:none;box-shadow:5px 5px 0 0 var(--line)}.modal{position:fixed;inset:0;z-index:20;background:#00000075;display:grid;place-content:center;padding:1rem}.modal-card{width:min(100%,420px);padding:1.1rem;border-radius:var(--radius);background:#fffdf2;animation:popIn .2s ease-out}.modal-card h3{margin:0;font-family:Archivo Black,Impact,sans-serif}.modal-card p{margin-top:.4rem;margin-bottom:1rem}.login-form{display:grid;gap:.58rem}.modal-actions{display:flex;justify-content:flex-end;gap:.5rem;margin-top:.5rem}.auth-switch{margin:.4rem 0 0;font-size:.82rem;text-align:center}.auth-switch-link{background:none;border:none;font:inherit;font-size:.82rem;font-weight:700;color:var(--ink);text-decoration:underline;cursor:pointer;padding:0}.mission-preview-modal{position:fixed;inset:0;z-index:30;background:#00000085;padding:1rem}.mission-preview-shell{width:100%;height:calc(100vh - 2rem);overflow:auto;display:grid;grid-template-rows:auto auto 1fr;gap:.8rem;padding:1rem 1.1rem}.mission-preview-head{display:flex;align-items:center;justify-content:space-between;gap:.6rem}.mission-preview-head h3{margin:0;font-family:Archivo Black,Impact,sans-serif;text-transform:uppercase;letter-spacing:.02em}.mission-preview-meta{display:flex;flex-wrap:wrap;gap:.45rem}.preview-meta-chip{border:2px solid var(--line);border-radius:var(--radius);background:#ffffffe6;padding:.18rem .45rem;font-size:.78rem;font-weight:700}.mission-preview-prompt{margin:0;border:2px solid var(--line);border-radius:var(--radius);background:#ffffffe6;padding:.8rem;white-space:pre-wrap;word-break:break-word;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:.95rem;line-height:1.45}.hidden{display:none}@keyframes squareAppear{0%{opacity:0;transform:scale(.8) rotate(-3deg)}to{opacity:1;transform:scale(1) rotate(0)}}@keyframes popIn{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@media(max-width:900px){.topbar{grid-template-columns:1fr;justify-items:center}.auth-widget{justify-self:center;justify-items:center}.nav-brand{justify-self:center}.top-nav{width:100%;justify-content:center;flex-wrap:wrap}.send-btn{justify-self:stretch}}
