:root{--accent:#147b93;--accent-dark:#075369;--accent-light:#e7f3f6;--shell-dark:#102a3b;--shell-muted:#9cb3c1;--surface:#f4f6f9;--border:#e0e6ec;--ink:#1d3243;--muted:#66798a;--side-width:244px}.theme-marquesita{--accent:#8b5830;--accent-dark:#5f371c;--accent-light:#f5ebdc;--shell-dark:#292820;--shell-muted:#c2baa5;--surface:#f8f6f1;--border:#e8e1d5;--ink:#35362c;--muted:#7b7b6b}.portal-shell{color:var(--ink);background:var(--surface);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.55;font-size:14px}.portal-shell a{color:var(--accent-dark)}.skip-link{position:fixed;top:-80px;left:16px;z-index:100;background:white;padding:12px}.skip-link:focus{top:10px}.shell-sidebar{position:fixed;inset:0 auto 0 0;width:var(--side-width);background:var(--shell-dark);color:#fff;display:flex;flex-direction:column;z-index:20;padding:27px 16px 18px;overflow-y:auto}.shell-brand{display:flex;align-items:center;gap:11px;color:white!important;text-decoration:none;margin:0 9px 30px}.brand-mark{width:43px;height:43px;flex-shrink:0;display:grid;place-items:center;border:1px solid #ffffff40;border-radius:13px;background:#ffffff0d;font-size:15px;font-weight:750;letter-spacing:-.04em}.shell-brand strong{display:block;font-size:17px;letter-spacing:-.03em}.shell-brand small{display:block;color:var(--shell-muted);font-size:11px;letter-spacing:.025em;margin-top:1px}.shell-navigation{display:block;padding:0;background:transparent;flex:1}.nav-group{margin:0 0 22px}.nav-group h2{font-size:10px;text-transform:uppercase;letter-spacing:.15em;font-weight:650;color:var(--shell-muted);margin:0 13px 9px}.shell-navigation a{display:flex;align-items:center;gap:10px;color:#e1e8ed;padding:9px 12px;text-decoration:none;border-radius:7px;font-size:12px;font-weight:450;margin:2px 0;min-height:37px}.shell-navigation a:hover{background:#ffffff0b;color:white}.shell-navigation a[aria-current]{background:#ffffff16;color:white;box-shadow:inset 3px 0 0 #75cbdc;font-weight:650}.theme-marquesita .shell-navigation a[aria-current]{box-shadow:inset 3px 0 0 #dfbb72}.nav-symbol{width:18px;font-size:17px;text-align:center;opacity:.8;flex-shrink:0}.sidebar-footer{border-top:1px solid #ffffff14;padding:18px 9px 0;color:#d2dce1;font-size:10px;margin-top:10px}.sidebar-footer small{display:block;color:var(--shell-muted);margin-top:6px;font-size:10px}.status-dot{display:inline-block;width:6px;height:6px;background:#78bc9c;border-radius:50%;margin-right:5px}.shell-workspace{margin-left:var(--side-width);min-width:0}.is-login .shell-workspace{margin-left:0}.portal-shell .shell-header{background:#fff;color:var(--ink);padding:17px 34px;min-height:88px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--border)}.shell-header>div{display:grid;grid-template-columns:auto auto;column-gap:14px;align-items:center;min-width:0}.header-eyebrow{grid-column:1/-1;letter-spacing:.14em;font-size:9px;color:var(--muted);font-weight:650;display:block;margin-bottom:4px}.shell-header strong{font-size:17px;font-weight:650;letter-spacing:-.025em}.portal-shell .shell-header .header-bot{font-size:11px;color:var(--muted);border-left:1px solid var(--border);padding-left:14px}.portal-shell .logout-button{background:transparent;border:1px solid var(--border);color:var(--muted);font-size:11px;border-radius:7px;padding:8px 12px;white-space:nowrap}.logout-button span{margin-left:12px}.portal-shell .logout-button:hover{border-color:var(--accent);color:var(--accent-dark)}.header-signature{color:var(--muted);font-size:12px}.portal-shell .workspace-content{max-width:1500px;margin:0 auto;padding:30px 34px 40px;min-height:calc(100vh - 155px)}.workspace-content>h1,.workspace-content .files-heading h1{font-size:27px;font-weight:650;letter-spacing:-.045em;margin:0 0 7px;line-height:1.25}.workspace-content>h1+p{margin:0 0 25px;color:var(--muted);font-size:12px}.portal-shell .shell-footer{display:flex;justify-content:space-between;gap:20px;padding:17px 34px;border-top:1px solid var(--border);color:var(--muted);font-size:10px;letter-spacing:.02em}.shell-footer span{font-weight:400}.portal-shell article{border:1px solid var(--border);border-radius:11px;box-shadow:0 2px 5px #172d4103;padding:20px}.portal-shell .cards{gap:16px;margin:22px 0 30px}.portal-shell .cards article{margin:0;min-height:114px}.portal-shell .metric{font-size:34px;letter-spacing:-.04em;color:var(--accent-dark);font-weight:650}.portal-shell .cards article>span{font-size:12px;color:var(--muted)}.portal-shell h2{font-size:16px;letter-spacing:-.025em;font-weight:650;margin-top:26px}.portal-shell h3{font-size:14px}.portal-shell input,.portal-shell select,.portal-shell textarea{border:1px solid #d6dfe6;border-radius:7px;background:#fff;padding:10px 12px;color:var(--ink);font-size:13px}.portal-shell label{font-size:12px;color:var(--ink);font-weight:550}.portal-shell button{background:var(--accent);border-color:var(--accent);border-radius:7px;font-size:12px;font-weight:600;padding:10px 15px}.portal-shell button:hover{background:var(--accent-dark)}.portal-shell button:disabled{opacity:.5;cursor:not-allowed}.portal-shell details{border:1px solid var(--border);border-radius:9px}.portal-shell td,.portal-shell th{font-size:12px;padding:13px 16px;border-color:var(--border)}.portal-shell th{color:var(--muted);font-weight:600;background:#fafbfd}.portal-shell .table{border:1px solid var(--border);border-radius:10px}.context-controls{margin:0 0 24px;border:1px solid var(--border);background:#fff;border-radius:9px;padding:14px 18px}.context-controls summary{font-size:12px;color:var(--muted)}.context-controls form{display:flex;align-items:end;gap:12px;margin-top:12px;flex-wrap:wrap}.context-controls form label{margin:0;min-width:160px;flex:1}.context-controls p{font-size:12px;color:var(--muted)}.nav-toggle,.nav-toggle-label{display:none}.portal-shell .chat-live{border:1px solid var(--border);border-radius:12px;box-shadow:0 4px 20px #142b3f04;height:calc(100vh - 240px);min-height:560px;overflow:hidden}.portal-shell .chat-sidebar{background:white;border-color:var(--border)}.portal-shell .chat-sidebar-head{padding:20px 18px;border-color:var(--border)}.portal-shell .chat-sidebar-head h2,.portal-shell .chat-thread-head h2{margin:0;font-size:15px}.portal-shell .chat-sidebar-head small,.portal-shell .chat-thread-head small{font-size:10px;color:var(--muted)}.portal-shell .chat-search-label{padding:0 18px}.portal-shell .chat-search-label input{background:#f6f8fa;border:0;font-size:12px}.portal-shell .chat-list-item{border-color:#eef1f5;padding:14px 16px}.portal-shell .chat-avatar{background:var(--accent-light);color:var(--accent-dark);border-radius:13px;font-weight:650}.portal-shell .chat-list-copy strong{font-size:12px}.portal-shell .chat-list-copy span{font-size:10px}.portal-shell .chat-thread-head{background:white;border-color:var(--border);padding:18px 22px}.portal-shell .chat-messages{background:var(--surface);padding:22px}.portal-shell .chat-bubble{box-shadow:0 1px 2px #152c3c06;border:1px solid var(--border);border-radius:12px;padding:11px 15px}.portal-shell .out .chat-bubble{background:var(--accent-light);border-color:transparent;border-radius:12px 12px 3px 12px}.portal-shell .in .chat-bubble{border-radius:12px 12px 12px 3px}.portal-shell .chat-bubble p{font-size:13px;line-height:1.65}.portal-shell .chat-bubble small{font-size:9px;color:var(--muted)}.portal-shell .chat-compose{padding:16px 22px;background:white;border-color:var(--border)}.portal-shell .chat-compose textarea{border-color:var(--border);min-height:70px}.portal-shell .chat-bulk-controls{border-color:var(--border);padding:10px 16px;gap:6px}.portal-shell .chat-bulk-controls button{font-size:9px;padding:6px 8px}.portal-shell .chat-automation-controls{border-color:var(--border)}.portal-shell .files-eyebrow{color:var(--accent-dark)}.portal-shell .files-guide{border-color:var(--border);border-left-color:var(--accent);background:var(--accent-light)}.portal-shell .files-context{background:var(--accent-light);color:var(--accent-dark)}.portal-shell .files-heading{margin:0 0 25px}.portal-shell .login{margin:7vh auto 3vh;max-width:440px;padding:32px;border:1px solid var(--border);box-shadow:0 16px 50px #152c4110;border-radius:16px}.portal-shell .login h1{font-size:25px;letter-spacing:-.035em;margin:0 0 9px}.portal-shell .login p{font-size:12px;color:var(--muted);margin-bottom:26px}.portal-shell .login button{width:100%;margin-top:16px;padding:12px}.portal-shell .login label{margin:16px 0}.portal-shell .login input{margin-top:6px}.login-eyebrow{color:var(--accent-dark)!important;letter-spacing:.12em;font-size:10px!important;font-weight:650}.login-footnote{text-align:center;font-size:11px;color:var(--muted)}
@media(min-width:1600px){.portal-shell{--side-width:260px}.shell-navigation a{font-size:13px;padding:11px 14px}}
@media(max-width:1100px){.portal-shell{--side-width:210px}.shell-sidebar{padding-left:12px;padding-right:12px}.portal-shell .workspace-content{padding:24px}.portal-shell .shell-header{padding:16px 24px}.shell-header>div{display:block}.portal-shell .shell-header .header-bot{display:block;border:0;padding:0;margin-top:4px}.portal-shell .chat-live{grid-template-columns:290px minmax(0,1fr)}}
@media(max-width:800px){.shell-sidebar{position:static;width:auto;padding:14px 18px;overflow:visible}.shell-brand{margin:0;max-width:calc(100% - 85px)}.brand-mark{width:35px;height:35px;border-radius:10px;font-size:12px}.shell-brand strong{font-size:15px}.shell-brand small{font-size:10px}.nav-toggle-label{display:flex;position:absolute;right:18px;top:17px;color:#fff;gap:12px;align-items:center;margin:0;font-size:12px;cursor:pointer;padding:4px}.nav-toggle{display:block;position:absolute;opacity:0;width:1px!important;height:1px}.nav-toggle:focus-visible+.nav-toggle-label{outline:3px solid #dfbb72;outline-offset:4px}.shell-navigation{display:none;padding-top:23px}.nav-toggle:checked~.shell-navigation{display:block}.sidebar-footer{display:none}.shell-workspace{margin:0}.portal-shell .shell-header{padding:15px 18px;min-height:78px}.shell-header strong{font-size:15px}.portal-shell .shell-header .header-bot{font-size:10px;max-width:220px;overflow-wrap:anywhere}.portal-shell .logout-button{padding:7px 9px;font-size:10px}.logout-button span{margin-left:5px}.portal-shell .workspace-content{padding:23px 16px;min-height:calc(100vh - 220px)}.portal-shell .workspace-content>h1,.workspace-content .files-heading h1{font-size:24px}.portal-shell .shell-footer{padding:16px;display:block}.shell-footer span{display:block;margin-top:4px}.portal-shell .chat-live{height:auto;min-height:0;grid-template-columns:minmax(0,1fr)}.portal-shell .chat-sidebar{max-height:360px;min-height:240px}.portal-shell .chat-thread{min-height:620px}.portal-shell .chat-messages{min-height:260px;padding:16px}.portal-shell .chat-compose{padding:14px}.portal-shell .chat-thread-head{padding:16px}.portal-shell .chat-list-item{padding:11px 16px}.portal-shell .login{margin:4vh auto;padding:26px 22px}.header-signature{display:none}.portal-shell .cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.portal-shell .cards article{padding:16px}.portal-shell .metric{font-size:29px}.portal-shell .files-heading{gap:10px;flex-wrap:wrap}}
.portal-shell .nav-group h2{font-size:10px;text-transform:uppercase;letter-spacing:.15em;font-weight:650;color:var(--shell-muted);margin:0 13px 9px}.portal-shell .chat-bubble{margin:0}.portal-shell .chat-thread{display:flex;flex-direction:column;min-width:0}.portal-shell .chat-messages{flex:1;min-height:0;overflow:auto}.portal-shell .chat-compose{flex-shrink:0}
.portal-shell .nav-toggle-label{color:#fff}.portal-shell .logout-button span{display:inline}
