:root{--ink:#152238;--muted:#66758b;--line:#d9e2ef;--canvas:#f5f8fc;--card:#fff;--blue:#175cd3;--blue-soft:#eaf2ff;--green:#137653;--red:#b42318;--red-soft:#fff1f0;--green-soft:#ecfdf3}*{box-sizing:border-box}html,body{height:100%;overflow:hidden}body{background:var(--canvas);color:var(--ink);margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.app-shell{height:100svh;padding:32px 20px;display:flex;overflow:hidden}.app{background:var(--card);border:1px solid var(--line);border-radius:20px;flex-direction:column;width:100%;max-width:980px;height:100%;margin:auto;display:flex;overflow:hidden;box-shadow:0 18px 56px #19325a1f}.topbar{border-bottom:1px solid var(--line);flex:none;justify-content:space-between;align-items:center;height:82px;padding:0 0 0 24px;display:flex}.brand{letter-spacing:-.055em;color:var(--ink);font-size:clamp(28px,4vw,40px);font-weight:850;line-height:1;text-decoration:none}.brand span{color:var(--blue)}.top-actions{align-items:center;gap:14px;height:100%;display:flex}.online{color:var(--green);align-items:center;gap:6px;font-size:13px;display:flex}.online:before{content:"";background:currentColor;border-radius:50%;width:7px;height:7px}.loco{background:var(--blue-soft);color:#101828;border:0;border-radius:0;width:132px;height:100%;padding:0;display:block;overflow:hidden}.loco img{object-fit:cover;width:100%;height:100%;display:block}.workspace{flex-direction:column;flex:auto;width:100%;max-width:790px;min-height:0;margin:0 auto;padding:clamp(24px,5svh,64px) 42px 24px;display:flex;overflow:hidden}.eyebrow{color:var(--blue);flex:none;margin:0 0 13px;font-size:13px;font-weight:650}h1{letter-spacing:-.055em;flex:none;margin:0 0 12px;font-size:clamp(34px,5vw,52px);line-height:1.04}.intro{color:var(--muted);flex:none;margin:0 0 22px;font-size:16px;line-height:1.5}.prompt-card{border:1px solid var(--line);background:#fff;border-radius:14px;flex:none;padding:14px;transition:border-color .22s,box-shadow .22s,padding .22s}.prompt-card:focus-within{border-color:var(--blue);outline:3px solid #175cd326}.prompt-card textarea{resize:none;width:100%;height:92px;min-height:72px;font:inherit;color:var(--ink);border:0;outline:0;font-size:16px;line-height:1.5;transition:height .28s,min-height .28s;display:block}.prompt-card.is-compact{padding:10px 12px}.prompt-card.is-compact textarea{height:44px;min-height:44px}.prompt-card.is-expanded textarea{height:112px;min-height:82px}textarea::placeholder{color:#8491a3}.prompt-footer{border-top:1px solid var(--line);color:var(--muted);justify-content:space-between;align-items:center;gap:12px;padding-top:11px;font-size:12px;display:flex}.ask,.secondary{font:inherit;cursor:pointer;border:0;border-radius:9px;padding:10px 14px;font-size:13px;font-weight:700}.ask{background:var(--blue);color:#fff}.ask:disabled{opacity:.45;cursor:not-allowed}.secondary{background:var(--blue-soft);color:var(--blue)}.answer{border:1px solid var(--line);border-left:3px solid var(--blue);background:#fbfdff;border-radius:14px;flex-direction:column;flex:auto;min-height:0;margin-top:18px;padding:14px 14px 14px 16px;animation:.24s both answer-slide-in;display:flex;overflow:hidden}.answer-header{flex:none;justify-content:space-between;align-items:center;margin-bottom:10px;font-size:14px;display:flex}.answer-body{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#175cd359 transparent;flex:auto;min-height:0;padding:2px 8px 2px 0;overflow-y:auto}.answer-body::-webkit-scrollbar{width:8px}.answer-body::-webkit-scrollbar-track{background:0 0}.answer-body::-webkit-scrollbar-thumb{background:#175cd347;border-radius:999px}.answer p{max-width:690px;margin:0;font-size:15px;line-height:1.65}.answer-text{white-space:pre-wrap;word-break:break-word}.answer-text h1,.answer-text h2,.answer-text h3,.answer-text h4{letter-spacing:-.02em;margin:10px 0 8px;line-height:1.2}.answer-text h1{font-size:22px}.answer-text h2{font-size:19px}.answer-text h3{color:var(--blue);font-size:17px}.answer-text p{margin:0}.answer-text a{color:var(--blue);font-weight:700}.answer-text code{background:var(--blue-soft);border-radius:5px;padding:1px 5px;font-size:.92em}.answer-text pre{color:#fff;background:#101828;border-radius:10px;padding:12px;overflow-x:auto}.answer-text table{border-collapse:collapse;width:100%;margin:8px 0;font-size:14px}.answer-text th,.answer-text td{border:1px solid var(--line);text-align:left;padding:8px}.answer-text th{background:var(--blue-soft)}.answer-line{border-left:2px solid #175cd329;margin:0 0 6px;padding:2px 0 2px 10px}.answer-line.is-delayed,.answer-line.is-delayed strong{color:var(--red)}.answer-line.is-delayed{background:var(--red-soft);border-left-color:var(--red);border-radius:8px;padding:4px 8px}.answer-line.is-on-time,.answer-line.is-on-time strong{color:var(--green)}.answer-line.is-on-time{background:var(--green-soft);border-left-color:var(--green);border-radius:8px;padding:4px 8px}.raw-response{border:1px solid var(--line);background:#fff;border-radius:12px;margin-top:16px;overflow:hidden}.raw-response summary{cursor:pointer;color:var(--muted);background:var(--blue-soft);padding:10px 12px;font-size:13px;font-weight:700}.raw-response pre{white-space:pre-wrap;word-break:break-word;color:#344054;background:#fff;max-height:260px;margin:0;padding:12px;font-size:12px;line-height:1.55;overflow:auto}.streaming,.status{color:var(--blue);align-items:center;gap:6px;font-size:12px;display:flex}.streaming:before{content:"";background:currentColor;border-radius:50%;width:7px;height:7px;animation:1s infinite pulse}.status{color:var(--green)}.cursor{vertical-align:-3px;background:var(--blue);width:7px;height:17px;margin-left:2px;animation:.85s steps(2,end) infinite blink;display:inline-block}.error{color:#b42318}.suggestions{flex-wrap:wrap;flex:none;gap:8px;margin-top:16px;display:flex}.suggestions button{font:inherit;color:var(--muted);border:1px solid var(--line);cursor:pointer;background:0 0;border-radius:999px;padding:7px 10px;font-size:12px}.suggestions button:hover{background:var(--blue-soft);color:var(--blue)}.suggestions button:disabled{opacity:.5;cursor:not-allowed}@keyframes pulse{50%{opacity:.22}}@keyframes blink{50%{opacity:0}}@keyframes answer-slide-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media (max-width:640px){.app-shell{padding:0}.app{height:100%;box-shadow:none;border:0;border-radius:0}.topbar{height:68px;padding-left:18px}.brand{font-size:28px}.online{font-size:0}.top-actions{gap:10px}.loco{width:88px;padding:0}.loco img{object-fit:cover}.workspace{padding:24px 18px 18px}.eyebrow{font-size:12px}h1{font-size:38px}.intro{margin-bottom:24px;font-size:15px}.prompt-card{padding:12px}.prompt-card textarea{height:110px;font-size:16px}.prompt-card.is-compact textarea{height:44px;min-height:44px}.prompt-footer span{font-size:11px}.ask,.secondary{min-height:42px}.answer{margin-top:18px;padding:12px}.answer-body{flex:auto;min-height:0}.suggestions{margin-top:20px}.suggestions button{padding:8px 10px}}
