:root{font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;color:#18345a;background:#f3f7fb;line-height:1.5}*{box-sizing:border-box}body{margin:0}.topbar{background:linear-gradient(110deg,#0d254a,#075a76);color:#fff}.top-inner{max-width:1200px;margin:auto;min-height:82px;padding:12px 20px;display:flex;align-items:center;gap:18px}.brand{display:flex;align-items:center;gap:10px;color:white;text-decoration:none;margin-right:auto}.brand img{width:52px;height:52px;object-fit:contain}.brand strong{display:block;font-size:24px;line-height:1.1}.brand small{color:#77e3c4;font-size:11px}.back{color:white;text-decoration:none;font-weight:700;font-size:13px;background:#ffffff22;border:1px solid #ffffff44;padding:9px 12px;border-radius:12px}.shell{max-width:1200px;margin:auto;padding:22px 20px 42px}.hero{padding:32px;border-radius:26px;background:radial-gradient(circle at 95% 0%,#0a8a8e,#0e355c 40%,#0d254d 94%);color:white}.eyebrow{font-size:12px;letter-spacing:.12em;font-weight:800;color:#ffcd5c}.hero h1{margin:8px 0 10px;font-size:clamp(28px,4vw,44px);line-height:1.1}.hero p{max-width:800px;color:#deecfa;margin:0 0 20px}.chips{display:flex;gap:9px;flex-wrap:wrap}.chips span{border:1px solid #ffffff66;padding:7px 12px;border-radius:99px;background:#ffffff16;font-size:13px}.notice{margin:16px 0 22px;border:1px solid #b8d7d4;border-left:5px solid #0ca98e;border-radius:12px;padding:12px 16px;background:#e8f7f2;color:#244d50;font-size:13px}.layout{display:grid;grid-template-columns:minmax(280px,380px) minmax(0,1fr);align-items:start;gap:20px}.panel{background:#fff;border:1px solid #d9e4ee;border-radius:22px;padding:23px;box-shadow:0 8px 20px #15335b0a}.panel h2{margin:0 0 12px;color:#0c2b57;font-size:21px}.controls label{display:block;font-size:13px;font-weight:760;margin:13px 0 6px}.controls input,.controls select,.controls textarea,.workspace textarea{font:inherit;color:#18345a;background:white;border:1px solid #bdcfe0;border-radius:10px;padding:10px 11px;max-width:100%;width:100%}.controls input:focus,.controls select:focus,.controls textarea:focus,.workspace textarea:focus{outline:2px solid #37b9ab;outline-offset:0}.controls .two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.required{color:#b84040;font-size:11px}.primary{display:block;width:100%;margin-top:19px;border:0;border-radius:12px;background:#0f315e;color:#fff;padding:14px 16px;font-weight:800;cursor:pointer;font-size:14px}.primary:hover{background:#146481}.hint{font-size:12px;color:#6b8097;margin-bottom:0}.error{font-size:12px;color:#b42337;min-height:1em}.workspace-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.workspace-head p{margin:-6px 0 16px;color:#617895;font-size:13px}.status{color:#096a59;background:#e6f8f3;padding:5px 10px;border-radius:99px;white-space:nowrap;font-size:11px;font-weight:800}.tabs{display:flex;flex-wrap:wrap;gap:6px;padding:6px;background:#edf4fa;border-radius:12px;margin-bottom:12px}.tabs button{flex:1;min-width:100px;cursor:pointer;border:0;background:transparent;padding:10px 7px;border-radius:9px;color:#34516e;font-weight:800}.tabs button.active{background:white;box-shadow:0 2px 5px #19395c24;color:#12356a}.info{font-size:12px;color:#557185;margin:10px 0}.workspace textarea{min-height:580px;resize:vertical;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:13px;line-height:1.68;white-space:pre-wrap}.actions{display:flex;gap:8px;flex-wrap:wrap;margin:13px 0 20px}.actions button{border:1px solid #b8cbde;background:#f7fbff;color:#123863;border-radius:10px;padding:10px 12px;font-weight:750;cursor:pointer}.actions button:hover{border-color:#149a8f}.review{background:#f1f8ff;border-radius:12px;padding:16px}.review h3{margin:0 0 9px;font-size:15px}.review label{display:flex;align-items:flex-start;gap:8px;font-size:12px;margin:9px 0;cursor:pointer}.review small{color:#607890}.sources{background:#fff;border:1px solid #dbe6ee;border-radius:18px;padding:20px;margin-top:20px}.sources h2{margin:0;font-size:18px}.sources p{color:#69809a;font-size:13px}.sources a{display:inline-block;margin:6px 18px 6px 0;font-weight:700;font-size:12px;color:#056b86}footer{text-align:center;color:#71859d;font-size:12px;padding:20px}footer a{color:#0e6e81}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@media(max-width:820px){.layout{grid-template-columns:1fr}.shell{padding:12px}.hero{padding:22px}.panel{padding:17px}.workspace textarea{min-height:450px}.home{display:none}}@media(max-width:450px){.controls .two{grid-template-columns:1fr}.tabs button{min-width:42%;font-size:12px}.top-inner{padding:8px 11px}.brand img{width:44px;height:44px}.brand strong{font-size:20px}.back{padding:7px 9px;font-size:11px}}@media print{.topbar,.controls,.hero,.notice,.tabs,.actions,.review,.sources,footer{display:none!important}.shell{max-width:none;padding:0}.layout{display:block}.workspace{box-shadow:none;border:0;padding:0}.workspace-head{display:none}.workspace textarea{display:block;min-height:auto;height:auto;border:0;font-size:11pt;white-space:pre-wrap;overflow:visible}}
