:root{font-family:Barlow,system-ui,sans-serif;color:#ebebeb;background:#13111e;font-synthesis:none;font-size:15px}*{box-sizing:border-box}body{margin:0}header{height:86px;border-bottom:1px solid #39304f;padding:0 5vw;display:flex;align-items:center;justify-content:space-between}.brand{text-decoration:none;color:#ebebeb;font-size:29px;font-weight:750;letter-spacing:-1.5px}.brand span{font-size:19px;font-weight:400;letter-spacing:-.5px;color:#a78bfa}header>div{display:flex;align-items:center;gap:20px}main{max-width:1450px;margin:auto;padding:55px 5vw}h1{font-size:clamp(30px,3.4vw,48px);font-weight:500;letter-spacing:-1.9px;line-height:1.1;margin:14px 0}p{line-height:1.6;color:#b9b5c8}h2{font-size:20px;font-weight:550;letter-spacing:-.5px;margin:0}.eyebrow{font-size:11px;letter-spacing:2px;font-weight:650;color:#a78bfa}.heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:30px}.pill{background:#2b2242;color:#c4b5fd;font-size:11px;text-transform:uppercase;letter-spacing:1px;border-radius:30px;padding:9px 14px;white-space:nowrap}.columns{display:grid;grid-template-columns:1.13fr 1fr;gap:24px;align-items:start}.panel{background:#1d1b2e;border:1px solid #3a3154;padding:28px;border-radius:12px;margin-bottom:24px}.panel-title{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #3a3154;padding-bottom:20px;margin-bottom:24px;gap:16px}.panel-title>span{font-size:11px;color:#aaa3bd}label{display:flex;flex-direction:column;gap:8px;font-size:12px;font-weight:600;color:#cec9dc;margin-bottom:17px}input,select,textarea{font:inherit;color:#ebebeb;width:100%;border:1px solid #46395f;border-radius:6px;background:#171422;padding:12px;min-height:44px}textarea{resize:vertical}input:focus,textarea:focus,select:focus{outline:2px solid #a78bfa;outline-offset:1px}.row{display:flex;gap:14px}.row>label{flex:1;min-width:0}button{cursor:pointer;border:0;border-radius:6px;padding:13px 20px;background:#742ee5;color:white;font:inherit;font-size:13px;min-height:44px;transition:background .15s}button:hover{background:#6330c8}button:disabled{opacity:.55;cursor:wait}.quiet{background:transparent;color:#c4b5fd;border:1px solid #514069}.quiet:hover{background:#302544}.primary{width:100%;display:flex;justify-content:space-between;margin-top:18px}.small{font-size:11px}.muted{color:#b0a9bf}.line{padding:18px 0 8px;border-top:1px solid #3a3154}.line .row{gap:8px}.line input{padding:9px}.line>button{font-size:11px;min-height:30px;padding:5px 12px}.chat-panel{position:sticky;top:20px;background:#231f38}#messages{height:420px;overflow-y:auto;display:flex;flex-direction:column;gap:15px;padding:6px 0 25px}.bubble{padding:16px 18px;border-radius:9px;max-width:95%;line-height:1.6;white-space:pre-wrap;font-size:13px}.assistant{background:#1d1b2e;align-self:flex-start}.user{background:#393061;align-self:flex-end}.chat-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:12px}.upload{margin:0;cursor:pointer;min-height:44px;justify-content:center}#chat-form textarea{background:#1d1b2e}.proposal{border:2px solid #8b5cf6;background:#231b36}.actions{display:flex;gap:14px;margin-top:22px}table{width:100%;border-collapse:collapse;font-size:13px}th,td{text-align:left;padding:12px 8px;border-bottom:1px solid #3a3154}th{font-size:11px;color:#b9b1cd}.export{display:flex;gap:16px;align-items:end}.export label{flex:1;margin:0}.export button{margin-bottom:0}.login{max-width:530px;margin:7vh auto 12vh}.login h1{font-size:58px}.login form{margin-top:35px}.login button{width:100%}.login>p{font-size:16px}.login .muted{font-size:12px}.notice{background:#30283b;color:#e8c59d;padding:15px 20px;border-radius:6px;margin-bottom:24px}#status:not(:empty){position:fixed;bottom:22px;left:50%;transform:translateX(-50%);background:#352052;color:white;box-shadow:0 4px 24px #0002;padding:15px 24px;border-radius:8px;max-width:90vw;z-index:10}footer{border-top:1px solid #39304f;padding:25px 5vw;color:#b0a9bf;font-size:12px}.sr-only{position:absolute;clip:rect(0,0,0,0);width:1px;height:1px;overflow:hidden}details{margin:12px 0 22px}summary{cursor:pointer;color:#bca2f5;font-size:12px;margin-bottom:16px}[hidden]{display:none!important}a{color:#c4b5fd}@media(max-width:850px){main{padding:30px 5vw}.columns{grid-template-columns:1fr}.chat-panel{position:static}#messages{height:300px}.heading{display:block}.heading .pill{display:inline-block;margin-top:10px}.export{flex-wrap:wrap}.export label{flex-basis:40%}.panel{padding:20px}.row{flex-wrap:wrap}.row>label{flex-basis:25%}table{display:block;overflow-x:auto}.login h1{font-size:45px}#identity{font-size:11px}}

.proposal-summary{white-space:pre-line;overflow-wrap:anywhere}

/* Brand tokens and typography from ardeiro-web/src/app/globals.css. */
:root{color-scheme:dark;--accent:#742ee5;--accent-2:#4f46e5;--accent-text:#a78bfa}
body{background-image:radial-gradient(ellipse 75% 650px at 75% -160px,rgba(116,46,229,.17),transparent);-webkit-font-smoothing:antialiased}
header{height:92px;background:rgba(19,17,30,.85);gap:20px}
.brand{display:inline-flex;align-items:center;gap:12px;white-space:nowrap;letter-spacing:0}
.brand img{flex-shrink:0}
.brand .brand-name{font-family:Gabarito,system-ui,sans-serif;font-size:28px;font-weight:800;letter-spacing:-.8px;color:#ebebeb;line-height:1}
.brand .brand-ai{font:inherit;color:var(--accent-text);letter-spacing:inherit}
.brand .brand-product{font-family:"JetBrains Mono",monospace;font-size:11px;font-weight:400;color:#b9b1cd;letter-spacing:.03em;border-left:1px solid #514069;padding-left:16px;margin-left:4px}
h1,h2{font-family:Gabarito,system-ui,sans-serif;font-weight:800;letter-spacing:-.03em}
h1{font-size:clamp(32px,3.7vw,52px);max-width:760px}h2{font-size:23px}
.eyebrow,.pill,.panel-title>span{font-family:"JetBrains Mono",monospace;font-weight:400;font-size:10px;letter-spacing:.07em}
.eyebrow::before{content:"// ";color:var(--accent-text)}
button{font-weight:600;font-size:14px}button:not(.quiet){background:linear-gradient(115deg,var(--accent),var(--accent-2));box-shadow:0 3px 14px #742ee520}
button:not(.quiet):hover{filter:brightness(1.12)}button:focus-visible,a:focus-visible,summary:focus-visible,.upload:focus-within{outline:2px solid #a78bfa;outline-offset:4px}
.panel{box-shadow:0 8px 35px #00000012}.chat-panel{border-color:#504075;background:linear-gradient(150deg,#27203f,#1d1b2e 75%)}
.pill{border:1px solid #584375}.notice{border:1px solid #695141;font-size:13px}
input::placeholder,textarea::placeholder{color:#9990ac;opacity:1}
#contacts{margin:12px 0 20px}#lookup{margin-top:-3px}.bubble{font-size:15px}.assistant{border:1px solid #413455}.user{border:1px solid #655084}
label{font-size:13px}.small{font-size:12px}.login h1{font-weight:800}.proposal-summary{line-height:1.7}
@media(max-width:600px){header{height:auto;min-height:84px;padding:16px 5vw;flex-wrap:wrap;gap:14px}header>div{margin-left:auto;gap:12px}.brand .brand-name{font-size:25px}.brand .brand-product{font-size:10px;padding-left:10px;margin-left:0}.brand img{width:36px;height:36px}.brand{gap:8px}.row>label{flex-basis:40%}.heading h1{max-width:450px}.actions{flex-wrap:wrap}.panel-title{flex-wrap:wrap}.login h1{font-size:42px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
