:root{--navy:#0b315d;--blue:#1167ad;--cyan:#2aa9bc;--teal:#24b4ac;--bg:#f4f8fc;--ink:#162e49;--muted:#687e92;--line:#e0e9f1;--green:#178153;--red:#af3944;--orange:#a76e0a;--shadow:0 14px 35px #143d6710; font-family:Inter,ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;color:var(--ink);background:var(--bg)}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}a{color:var(--blue)}.hidden{display:none!important}
.brand{display:flex;align-items:center;gap:12px;color:var(--navy);font-weight:800}.emblem{height:46px;width:46px;border-radius:13px;background:linear-gradient(130deg,#0c3564,#1375b5);color:white;display:grid;place-items:center;font-size:22px;letter-spacing:-2px}.brand small{font-size:11px;font-weight:600;color:#65809a;display:block;margin-top:3px}.brand b{display:block;font-size:16px}
.auth{min-height:100dvh;display:grid;place-items:center;padding:20px;background:radial-gradient(circle at 8% 4%,#dcf3f8,transparent 31%),radial-gradient(circle at 92% 94%,#e2efff,transparent 36%),var(--bg)}.auth-card{width:min(100%,430px);background:white;padding:37px;border-radius:25px;border:1px solid var(--line);box-shadow:0 25px 65px #123e681f}.auth-card .brand{justify-content:center}.auth-card h1{font-size:26px;text-align:center;margin:32px 0 7px}.auth-card p{color:var(--muted);font-size:13px;text-align:center;margin:0 0 28px}.field{display:grid;gap:8px;margin-bottom:18px}.field label{font-size:13px;font-weight:700}.field input,.field select,.search,.chat-form input{border:1px solid #d5e1ec;border-radius:12px;padding:13px 14px;background:white;outline:0;width:100%;color:var(--ink)}.field input:focus,.field select:focus,.chat-form input:focus{border-color:var(--blue);box-shadow:0 0 0 3px #cce6fd}.btn{border:1px solid #c8d9e9;color:#174a7b;background:#fff;padding:11px 15px;border-radius:12px;font-size:13px;font-weight:740;display:inline-flex;gap:8px;align-items:center;justify-content:center;text-decoration:none;min-height:42px}.btn:hover:not(:disabled){background:#eef7ff}.btn.primary{background:linear-gradient(105deg,#0d3e75,#1172bd);border:0;color:#fff}.btn.primary:hover{background:#0a4985}.btn.full{width:100%}.help{font-size:12px;color:var(--muted);line-height:1.6}.error{color:#9d2c35;background:#fff0f1;padding:12px 14px;border-radius:11px;font-size:12px;line-height:1.5;margin:13px 0}.success{color:#116b4a;background:#e8f8f0;padding:12px 14px;border-radius:11px;font-size:12px;line-height:1.5;margin:13px 0}.soft{background:#f0f7fc;border-radius:12px;padding:13px 15px;font-size:12px;color:#426a8b;line-height:1.6}.auth-card .soft{margin-top:22px}.app{min-height:100dvh}.head{background:white;border-bottom:1px solid var(--line)}.head-inner{max-width:1160px;min-height:87px;padding:0 24px;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:auto}.head-right{display:flex;align-items:center;gap:12px;font-size:13px}.head-right button{border:0;background:transparent;color:#486b8b;font-size:13px;font-weight:650}.tabs{background:white;border-bottom:1px solid var(--line)}.tabs-inner{display:flex;justify-content:center;gap:10px;padding:12px}.tab{display:inline-flex;align-items:center;gap:10px;padding:10px 22px;border:0;border-radius:12px;background:transparent;color:#60758c;font-size:13px;font-weight:700}.tab.active{background:#eaf4fd;color:#0c5ca5}.container{max-width:1160px;margin:auto;padding:34px 22px 112px}.heading{font-size:29px;color:var(--navy);margin:0 0 7px;letter-spacing:-.8px}.lead{font-size:13px;color:var(--muted);margin:0 0 23px;line-height:1.6}.hero{padding:31px;border:1px solid var(--line);border-radius:21px;background:linear-gradient(110deg,#fff 40%,#e2f4ff);margin-bottom:19px}.hero h1{font-size:29px;letter-spacing:-1px;margin:0 0 10px}.hero p{color:#59758e;font-size:14px;margin:0}.two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.card{background:#fff;border:1px solid var(--line);padding:23px;border-radius:18px;box-shadow:var(--shadow);min-width:0}.card h2{font-size:16px;margin:0 0 18px;color:var(--navy)}.card p{line-height:1.55}.row{display:flex;align-items:center;justify-content:space-between;gap:12px}.pill{font-size:11px;font-weight:800;border-radius:99px;padding:6px 11px;display:inline-flex;white-space:nowrap}.pill.green{background:#e5f7ec;color:#16734b}.pill.yellow{background:#fff3db;color:#90600f}.pill.red{background:#ffebec;color:#a93643}.pill.gray{background:#eaf0f5;color:#576b80}.pill.blue{background:#e7f2fd;color:#135ca6}.status-hero{background:#e4f8ec;color:#14794c;border-radius:12px;padding:15px 18px;font-size:19px;font-weight:800}.status-hero.off{background:#fff2df;color:#a1660d}.progress-label{display:flex;justify-content:space-between;font-size:14px;gap:9px;margin-bottom:12px}.progress{height:11px;border-radius:99px;background:#e0e9f2;overflow:hidden}.progress>span{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#21af97,#0b9b73)}.muted{color:var(--muted)}.small{font-size:12px}.buttons{display:flex;flex-wrap:wrap;gap:9px}.buttons .btn{flex:1;min-width:135px}.warning{background:#fff8e9;border-radius:12px;padding:15px;color:#83571b;font-size:13px;line-height:1.5}.steps{display:flex;margin:12px 0 3px}.step{position:relative;flex:1;text-align:center;font-size:11px;color:#8494a5}.step::before{content:"";width:25px;height:25px;background:#dfeaf4;border:3px solid white;outline:1px solid #d7e2ec;display:block;border-radius:50%;margin:0 auto 7px;position:relative;z-index:1}.step.current{color:#0c5594;font-weight:800}.step.current::before{background:#156eb4}.step.past::before{background:#25b1a0}.step:not(:last-child)::after{content:"";height:2px;background:#dae5ee;position:absolute;top:13px;left:50%;right:-50%}.list{display:grid}.doc{display:grid;grid-template-columns:minmax(0,1.4fr) 110px 145px auto;gap:12px;align-items:center;padding:16px 0;border-top:1px solid var(--line);font-size:13px}.doc:first-child{border-top:0}.doc-name{display:flex;align-items:center;gap:10px;font-weight:700}.docicon{background:#eaf4ff;color:#2069ae;display:grid;place-items:center;flex:none;border-radius:9px;height:35px;width:33px}.doc .btn{padding:7px 10px;min-height:34px}.stack{display:grid;gap:13px}.notice{background:#fff8e9;color:#825818;border-radius:12px;padding:14px;display:flex;align-items:center;gap:12px;font-size:12px}.notice strong{display:block;margin-bottom:3px}.form-card{max-width:730px}.drop{border:2px dashed #a4cbe9;border-radius:16px;background:#f8fbff;text-align:center;padding:30px 16px;min-height:190px}.drop.drag{background:#e7f6ff;border-color:#278bc8}.file-icon{font-size:34px;color:#2377b4}.filename{font-size:12px;color:#376d9b;overflow-wrap:anywhere;margin-top:12px}.file-input{position:absolute;width:1px;height:1px;clip:rect(0,0,0,0);overflow:hidden}.section{margin-top:20px}.tile{padding:15px;border:1px solid var(--line);border-radius:13px;display:flex;justify-content:space-between;gap:13px;align-items:center;margin-top:10px}.tile strong{display:block;font-size:13px}.tile small{display:block;color:var(--muted);font-size:12px;margin-top:5px;line-height:1.5}.chat-card{display:flex;flex-direction:column;min-height:470px}.chat-list{display:flex;flex-direction:column;gap:12px;overflow-y:auto;flex:1;min-height:235px;max-height:440px;padding:4px 0 18px}.bubble{max-width:80%;font-size:13px;line-height:1.55;border-radius:15px;padding:12px 14px;white-space:pre-line}.bubble.assistant{background:#edf4fa;align-self:flex-start;border-bottom-left-radius:3px}.bubble.user{background:#dceeff;align-self:flex-end;border-bottom-right-radius:3px}.chat-form{display:flex;gap:9px}.chat-form input{flex:1;min-width:0}.chat-chips{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 15px}.chat-chips .btn{padding:7px 10px;font-size:12px;min-height:34px}.fab{position:fixed;bottom:22px;right:24px;z-index:5;width:58px;height:58px;border-radius:50%;border:3px solid #fff;box-shadow:0 11px 25px #0f4d8d35;background:linear-gradient(140deg,#0b3b76,#1583c0);color:#fff;font-size:26px;display:grid;place-items:center}.bottom-nav{display:none}.footer-note{margin-top:20px;color:#8fa1ae;font-size:11px}.sr-only{position:absolute;width:1px;height:1px;clip:rect(0,0,0,0);overflow:hidden}.empty{color:var(--muted);padding:17px;text-align:center;font-size:13px}.message{margin-top:13px}
@media(max-width:810px){.two{grid-template-columns:1fr}.doc{grid-template-columns:minmax(0,1fr) 130px auto}.doc-date{display:none}.tabs-inner .tab{padding:10px 13px}}
@media(max-width:650px){.head-inner{min-height:73px;padding:0 15px}.emblem{height:39px;width:39px;font-size:19px}.brand{gap:9px}.brand b{font-size:13px}.brand small{font-size:10px}.head-right{font-size:11px}.head-right button{font-size:11px}.tabs{display:none}.container{padding:22px 15px 115px}.heading{font-size:24px}.hero{padding:24px 19px}.hero h1{font-size:23px}.card{padding:19px}.doc{grid-template-columns:1fr auto;gap:9px}.doc-name{grid-column:1}.doc-status{grid-column:2;grid-row:1}.doc-actions{grid-column:1/-1}.doc-actions .btn{width:100%}.bottom-nav{display:grid;grid-template-columns:repeat(4,1fr);position:fixed;left:0;right:0;bottom:0;padding:7px 7px calc(7px + env(safe-area-inset-bottom));background:white;border-top:1px solid var(--line);box-shadow:0 -6px 20px #1847690d;z-index:4}.bottom-nav button{background:transparent;border:0;border-radius:11px;color:#697f93;font-size:10px;display:grid;justify-items:center;gap:4px;padding:7px 1px;font-weight:700}.bottom-nav button.active{color:#1766a9;background:#e8f4fd}.bottom-nav button span{font-size:21px}.fab{bottom:calc(88px + env(safe-area-inset-bottom));right:15px;width:53px;height:53px}.auth-card{padding:29px 24px}.buttons .btn{min-width:115px}}
