:root{color-scheme:light;--ink:#202631;--muted:#667180;--line:#e3e6eb;--accent:#e66326;--soft:#f5f6f8;--dark:#171a21;font-family:Inter,Segoe UI,Arial,sans-serif;font-size:16px;color:var(--ink);background:var(--soft)}*{box-sizing:border-box}body{margin:0;display:grid;grid-template-columns:248px minmax(0,1fr);min-height:100vh}button,input,textarea{font:inherit}button,a,input,textarea,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0;border-radius:8px;min-height:44px;padding:11px 17px;font-weight:600}button:disabled{cursor:wait;opacity:.55}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #4b84d1;outline-offset:4px}input,textarea{border:1px solid #ccd2db;border-radius:8px;padding:13px;color:var(--ink);background:#fff;width:100%}input:focus,textarea:focus{outline:2px solid #e6632670;border-color:var(--accent)}textarea{resize:vertical;min-height:120px;line-height:1.6}label{display:block;font-size:.875rem;font-weight:600;margin-bottom:9px}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(1.3rem,2.2vw,1.85rem);letter-spacing:-.045em;margin:7px 0 0}h2{font-size:1.05rem;margin-bottom:5px}h3{font-size:1rem;line-height:1.45}p{line-height:1.65}a{color:inherit}small,.fine{font-size:.875rem;color:var(--muted);line-height:1.5}.eyebrow{font-size:.75rem;font-weight:700;letter-spacing:.12em;color:var(--muted)}[hidden]{display:none!important}.sidebar{background:var(--dark);color:white;padding:37px 28px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{text-decoration:none;font-size:1.48rem;font-weight:850;letter-spacing:-.07em}.brand span{color:#ff864f}.brand small{display:block;font-size:.625rem;letter-spacing:.16em;color:#a7aebc;margin-top:11px}.sidebar-project{margin:75px 0 25px}.sidebar-project .eyebrow{color:#a7aebc}.sidebar-project h2{font-size:1.7rem;line-height:1.25;letter-spacing:-.035em;margin-top:16px}.sidebar-project p{color:#a7aebc;margin-top:18px;font-size:.875rem}.steps{list-style:none;padding:0;color:#b7bdca;font-size:.875rem}.steps li{display:flex;gap:14px;padding:15px 0;border-bottom:1px solid #ffffff14}.steps li:first-child{color:#ff986a}.sidebar-bottom{margin-top:auto;padding-top:35px;color:#d9dce3;font-size:.875rem}.sidebar-bottom p{color:#929aaa;font-size:.8125rem;margin:13px 0 0}.test-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#ff925f;margin-right:7px}main{padding:34px clamp(20px,3vw,48px);max-width:1720px;width:100%;margin:auto}.topbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:26px}.quiet{background:transparent;color:var(--muted)}.notice{font-size:.875rem;border-left:3px solid var(--accent);padding:10px 15px;background:#fff6ef;margin-bottom:25px}.notice.error{background:#fff1f1;border-color:#a33f3f;color:#8b3030}.primary{background:var(--accent);color:white}.primary:hover:not(:disabled){background:#c65019}.secondary{background:white;border:1px solid #cdd3dc;color:var(--ink)}.secondary:hover:not(:disabled){background:#f0f2f5}.login-card{max-width:570px;margin:65px auto 110px;padding:38px;border:1px solid var(--line);border-radius:16px;background:white}.login-card h2{font-size:1.5rem;margin:24px 0 12px;letter-spacing:-.03em}.login-card p{color:var(--muted)}.login-card form{margin:25px 0}.login-card button{width:100%;margin-top:15px}.petya-mark{display:grid;place-items:center;width:52px;height:52px;background:#ffe5d8;color:#b54513;border-radius:14px;font-size:1.55rem;font-weight:700}.petya-mark.small{width:40px;height:40px;font-size:1.1rem;border-radius:11px;flex-shrink:0}.project-bar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:0 0 14px}.project-bar output{display:block;overflow-wrap:anywhere;margin-top:6px;font-family:ui-monospace,monospace;font-size:.875rem}.restore{margin-bottom:23px;font-size:.875rem;color:var(--muted)}summary{cursor:pointer;padding:8px 0}.restore form{display:flex;flex-wrap:wrap;gap:10px;align-items:end;margin:10px 0}.restore label{width:100%;margin:0}.restore input{max-width:420px}.work-grid{display:grid;grid-template-columns:minmax(320px,1fr) minmax(350px,1.08fr);gap:22px;align-items:start}.panel{border:1px solid var(--line);border-radius:12px;background:white;overflow:hidden}.panel-head{display:flex;gap:12px;align-items:center;padding:22px;border-bottom:1px solid var(--line);min-height:91px}.panel-head h2{margin:3px 0}.label{font-size:.65rem;letter-spacing:.1em;color:var(--muted);margin-left:auto;border:1px solid var(--line);border-radius:5px;padding:5px 7px}.messages{min-height:200px;max-height:490px;overflow-y:auto;padding:22px;display:flex;flex-direction:column;gap:18px}.bubble{max-width:95%;padding:15px 17px;border-radius:4px 13px 13px;background:var(--soft);font-size:.9375rem;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}.bubble.user{align-self:flex-end;background:#fff0e6;border-radius:13px 4px 13px 13px}.bubble strong{display:block;font-size:.75rem;color:var(--muted);margin-bottom:5px}.composer{border-top:1px solid var(--line);padding:20px}.composer-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:13px}.composer-footer .fine{font-size:.75rem;max-width:155px}.retry-bar{padding:18px 22px;background:#fff7e3;font-size:.875rem}.retry-bar p{margin-bottom:10px}.results{padding:22px}.empty{padding:52px 20px;text-align:center;color:var(--muted)}.empty>span{display:block;letter-spacing:.15em;font-size:.75rem;color:var(--accent);margin-bottom:20px}.empty h3{color:var(--ink);font-size:1.2rem}.empty p{max-width:350px;margin:0 auto}.scenario{border:1px solid var(--line);border-radius:9px;padding:18px;margin-bottom:15px}.scenario-head{display:flex;gap:10px;justify-content:space-between;align-items:center}.scenario-head h3{margin:0}.scenario .price{font-size:1.45rem;letter-spacing:-.03em;margin:15px 0 8px;font-weight:650}.tag{font-size:.75rem;padding:4px 7px;border-radius:4px;background:#f0f2f5;white-space:nowrap}.tag.ready{background:#e9f3ed;color:#33654a}.scenario ul{padding-left:18px;font-size:.875rem;color:var(--muted);line-height:1.6}.scenario button{width:100%;margin-top:10px}.line-item{padding:13px 0;border-bottom:1px solid var(--line);font-size:.875rem;overflow-wrap:anywhere}.line-item strong{display:block;color:var(--ink);margin-bottom:5px}.line-item a{color:#aa491f;display:inline-block;margin-top:4px}.proposal-heading{display:flex;align-items:center;gap:10px;margin-bottom:16px}.totals{margin:20px 0;border-top:1px solid var(--line);padding-top:14px}.totals div{display:flex;justify-content:space-between;gap:15px;padding:6px 0;font-size:.875rem}.totals div:last-child{font-size:1.2rem;font-weight:700;margin-top:8px}.download{display:block;text-align:center;padding:13px;border-radius:8px;background:var(--accent);color:#fff;text-decoration:none;font-weight:600}.document-text{font-size:.8125rem;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;font-family:ui-monospace,monospace;max-height:420px;overflow:auto}.disclaimer{color:#7c542b;font-size:.8125rem;background:#fff7ea;padding:13px;border-radius:6px}.question-list{padding-left:20px;line-height:1.65}.brief-fields{font-size:.875rem;line-height:1.6;overflow-wrap:anywhere}.brief-fields dt{font-weight:600;margin-top:10px}.brief-fields dd{margin-left:0;color:var(--muted)}footer{display:flex;justify-content:space-between;gap:15px;padding:32px 0 0;font-size:.75rem;color:var(--muted)}footer a{text-decoration:none}@media(max-width:1150px){body{grid-template-columns:190px minmax(0,1fr)}.sidebar{padding:30px 20px}.brand{font-size:1.25rem}.work-grid{grid-template-columns:1fr}.sidebar-project{margin-top:50px}.results-panel{min-height:260px}}@media(max-width:680px){body{display:block}.sidebar{height:auto;position:static;padding:19px 22px;display:block}.brand{font-size:1.3rem}.brand small{display:inline;margin-left:16px;font-size:.6rem}.sidebar-project,.steps,.sidebar-bottom{display:none}main{padding:24px 16px}.topbar{gap:10px}.topbar h1{font-size:1.25rem}.topbar .eyebrow{font-size:.65rem}.login-card{padding:25px;margin:35px 0}.project-bar{align-items:flex-start}.project-bar button{font-size:.8rem;white-space:nowrap}.composer-footer{align-items:flex-end}.composer-footer .fine{max-width:115px}.panel-head,.composer,.messages,.results{padding:18px}footer{font-size:.7rem}}
