:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#20312c;background:#f6f7f5;font-synthesis:none;--bg:#f6f7f5;--surface:#fff;--text:#20312c;--muted:#7a837f;--line:#e7eae6;--accent:#aa8a47;--green:#254f3e;--soft:#f5f6f3;font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}button,a,input,textarea,select{outline-offset:4px}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}button svg{flex-shrink:0}button{transition:background .15s,color .15s}input,select,textarea{display:block;width:100%;border:1px solid #dce1db;border-radius:8px;background:var(--surface);color:var(--text);padding:11px 12px;min-width:0}textarea{resize:vertical;line-height:1.6}label{font-size:12px;font-weight:600;line-height:1.6;display:block}label input,label textarea,label select{margin-top:6px}label+label{margin-top:16px}input:focus,select:focus,textarea:focus{border-color:var(--accent);outline:2px solid #aa8a4720}button.primary,.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:7px;padding:10px 14px;font-size:12px;font-weight:600;white-space:nowrap}.primary{background:#254f3e;color:#fff;border:1px solid #254f3e}.primary:hover:not(:disabled){background:#193d2e}.secondary{background:var(--surface);color:var(--text);border:1px solid var(--line)}.secondary:hover{background:var(--soft)}.icon-btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:7px;background:transparent;color:var(--muted);width:32px;height:32px}.icon-btn:hover{background:var(--soft);color:var(--text)}.text-btn{border:0;padding:5px 0;display:inline-flex;align-items:center;gap:6px;background:none;color:var(--green);font-size:12px;font-weight:600}.muted{color:var(--muted);font-size:12px}.nowrap{white-space:nowrap}.app{display:flex;min-height:100svh}.sidebar{width:234px;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;background:#172421;color:#b2beb8;padding:26px 14px 16px;z-index:30}.brand{display:flex;align-items:center;gap:11px;color:#f5f2e8;font-size:16px;letter-spacing:.13em;font-weight:650}.sidebar .brand{padding:0 10px}.brand small{display:block;font-size:8px;letter-spacing:.24em;font-weight:400;margin-top:5px;color:#a7b4ac}.brand-mark{position:relative;width:39px;height:42px;border:1px solid #a98a4e65;color:#d2b979;display:flex;align-items:center;justify-content:center;font:32px Georgia,serif;border-radius:2px}.brand-mark span{position:absolute;font:19px Georgia;bottom:0;right:4px}.workspace-label{display:flex;gap:6px;align-items:center;font-size:10px;margin:23px 12px 18px;color:#8d9f94}.online-dot{display:inline-block;background:#8aa897;border-radius:50%;height:5px;width:5px}.sidebar nav{overflow:auto;flex:1;scrollbar-width:thin;scrollbar-color:#3c4a44 transparent}.nav-label{font-size:8px;letter-spacing:.13em;font-weight:600;color:#6e8175;padding:16px 12px 9px}.sidebar nav button{border:0;display:flex;align-items:center;gap:10px;padding:10px 12px;margin:1px 0;width:100%;font-size:11px;background:transparent;color:#aebcb3;text-align:left;border-radius:6px}.sidebar nav button svg{width:16px;stroke-width:1.6}.sidebar nav button.active{background:#d7c49416;color:#e5d7b2}.sidebar nav button:hover{background:#ffffff07}.nav-dot{width:4px;height:4px;border-radius:50%;background:#c3a464;margin-left:auto}.sidebar-bottom{border-top:1px solid #ffffff0b;display:flex;gap:8px;align-items:center;padding:19px 10px 0;font-size:10px;color:#97a79d}.sidebar-bottom small{display:block;margin-top:4px;color:#60776a;font-size:9px}.shell{margin-left:234px;width:calc(100% - 234px)}.topbar{height:76px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:0 36px;background:var(--surface);gap:12px}.breadcrumbs{display:flex;gap:12px;align-items:center;font-size:11px;color:#949b96}.breadcrumbs strong{font-weight:500;color:var(--text)}.top-actions{display:flex;align-items:center;gap:12px}.desktop-meta{display:flex;gap:6px;align-items:center;font-size:9px;color:#77877c;padding-right:12px}.avatar{height:32px;width:32px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:#ebe9df;color:#7a704f;font-size:11px;font-weight:600;flex-shrink:0}.user-meta{font-size:10px;line-height:1.5}.user-meta small{display:block;text-transform:capitalize;font-size:9px;color:var(--muted)}main{padding:37px 36px 0;max-width:1600px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:30px}.eyebrow{font-size:8px;letter-spacing:.14em;font-weight:650;color:#9a926e;margin-bottom:10px;display:block}h1{font-family:Georgia,Times New Roman,serif;font-size:32px;font-weight:400;letter-spacing:-.025em;line-height:1.25}.page-heading p{font-size:11px;color:var(--muted);margin-top:10px;line-height:1.6}.heading-actions{display:flex;gap:8px}.stats-row{display:grid;grid-template-columns:repeat(4,1fr);border-block:1px solid var(--line);padding:25px 0;margin-bottom:30px;gap:20px}.stat{padding-left:24px;border-left:1px solid var(--line)}.stat:first-child{padding-left:0;border-left:none}.stat>span{font-size:10px;font-weight:500;color:#737e76}.stat>strong{display:block;font-size:35px;font-weight:400;letter-spacing:-.04em;margin:11px 0 5px}.stat>small{font-size:9px;color:#a0a79f}.overview-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:22px;margin-bottom:24px}.panel{background:var(--surface);border:1px solid var(--line);border-radius:9px;margin-bottom:20px;overflow:hidden}.overview-grid>.panel{margin-bottom:0}.section-head{padding:22px 24px;display:flex;align-items:center;justify-content:space-between;gap:15px}.section-head p{font-size:10px;color:var(--muted);margin-top:6px;line-height:1.6}h2{font-size:13px;font-weight:650;letter-spacing:-.01em}h3{font-size:12px;font-weight:600}small{font-size:10px}.empty{min-height:275px;padding:40px 24px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center}.empty-icon{display:flex;align-items:center;justify-content:center;background:var(--soft);color:#9b9f8a;width:51px;height:51px;border-radius:50%;margin-bottom:20px}.empty h3{font-size:13px;margin-bottom:9px}.empty p{font-size:11px;color:var(--muted);line-height:1.7;max-width:340px}.empty button{margin-top:20px}.connection-row{display:flex;gap:12px;align-items:center;margin:0 24px;border-bottom:1px solid var(--line);padding:16px 0}.connection-row:last-of-type{border-bottom:none}.connection-icon{width:32px;height:32px;border:1px solid var(--line);border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:12px;color:#778478;flex-shrink:0}.connection-row strong{font-size:11px;font-weight:600}.connection-row small{display:block;color:var(--muted);font-size:9px;margin-top:4px}.connection-dot{width:5px;height:5px;border-radius:50%;background:#ccba8c;margin-left:auto}.panel-link{border:0;border-top:1px solid var(--line);padding:15px 24px;width:100%;text-align:left;background:transparent;color:var(--green);display:flex;align-items:center;justify-content:space-between;font-size:10px;font-weight:600}.budget-strip{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:25px 0;display:flex;align-items:center;gap:15px;margin-top:26px}.budget-strip>svg{color:#a9976a}.budget-strip strong{font-size:11px}.budget-strip p{font-size:9px;color:var(--muted);margin-top:7px}.budget-value{margin-left:auto;font-size:23px;letter-spacing:-.04em}.budget-value span{font-size:11px;color:var(--muted);letter-spacing:0}footer{padding:28px 0 22px;display:flex;justify-content:space-between;color:#a0a89f;font-size:9px;gap:12px}.notice{display:flex;gap:9px;align-items:center;border:1px solid var(--line);border-radius:7px;padding:12px 15px;margin-bottom:18px;font-size:12px}.notice button{margin-left:auto;border:0;background:transparent;color:inherit}.notice.error,.form-error{background:#fff3ef;color:#a14e3b;border-color:#f2d5ca}.notice.success{background:#edf5ee;color:#3a6b4b}.tag{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;border-radius:5px;font-size:9px;padding:5px 8px;font-weight:550;background:var(--soft);color:#7d867e}.tag.green{background:#eaf3ec;color:#4d7b5e}.tag.red{background:#f9eeee;color:#a36360}.tag.amber{background:#f6f1e3;color:#9d8551}.list-toolbar{display:flex;align-items:center;gap:15px;padding:18px 22px;border-bottom:1px solid var(--line)}.list-toolbar .muted{margin-left:auto;font-size:10px}.search{display:flex;align-items:center;gap:8px;color:var(--muted);max-width:330px;flex:1}.search input{padding:7px 0;border:0;background:transparent;font-size:11px;outline:none}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;min-width:660px}th{font-size:9px;font-weight:500;color:#929b92;background:var(--soft);padding:12px 22px;white-space:nowrap}td{font-size:11px;padding:18px 22px;border-bottom:1px solid var(--line);line-height:1.5}tbody tr:last-child td{border-bottom:0}.list-panel tr{cursor:pointer}.list-panel tbody tr:hover{background:var(--soft)}.record-name{display:flex;align-items:center;gap:10px}.record-name strong{font-size:11px;font-weight:550}.record-name small{display:block;color:var(--muted);font-size:9px;margin-top:4px}.record-avatar{width:31px;height:31px;border-radius:8px;background:#f0f1eb;color:#7f8b77;display:inline-flex;align-items:center;justify-content:center;font-size:11px;flex-shrink:0}.action-row{display:flex;align-items:center;gap:14px;padding:17px 24px;border:0;border-top:1px solid var(--line);background:transparent;width:100%;text-align:left;color:var(--text)}.action-row strong{font-size:11px;display:block;font-weight:550}.action-row small{font-size:10px;color:var(--muted);display:block;margin-top:5px;line-height:1.6}.row-end{margin-left:auto;font-size:10px;display:flex;align-items:center;gap:8px}.action-icon{width:32px;height:32px;background:var(--soft);display:flex;align-items:center;justify-content:center;color:#9b9478;border-radius:6px}.integration-banner{border:1px solid #e4dfc9;background:#f6f3e7;padding:17px 20px;border-radius:8px;display:flex;gap:13px;align-items:center;margin-bottom:24px;color:#827850}.integration-banner strong{font-size:12px}.integration-banner p{font-size:11px;line-height:1.6;margin-top:5px}.integration-banner button{margin-left:auto;flex-shrink:0}.pad{padding:25px}.pad>p{margin-top:9px;line-height:1.7}.pad label,.pad .primary{margin-top:20px}.pad .help{margin-top:10px}.help{font-size:10px;color:var(--muted);font-weight:400;line-height:1.7}.voice-orb{width:86px;height:86px;border:1px solid var(--line);background:var(--soft);display:flex;align-items:center;justify-content:center;border-radius:50%;margin:25px auto;color:#a6a187}.pad>.voice-orb~p{text-align:center}.pad>.voice-orb~button{display:flex;margin:20px auto}.integration-row{display:flex;gap:20px;padding:25px;border-bottom:1px solid var(--line);align-items:center}.integration-row p{color:var(--muted);font-size:11px;margin-top:7px;line-height:1.8}.integration-row .tag{margin-left:auto}.panel-foot{padding:18px 25px;color:var(--muted);font-size:11px}hr{height:1px;border:0;background:var(--line);margin:25px 0}.overlay{position:fixed;inset:0;background:#10221c66;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);z-index:70;display:flex;align-items:center;justify-content:center;padding:25px;animation:appear .16s ease}.modal{width:570px;max-width:100%;max-height:calc(100svh - 50px);background:var(--surface);border-radius:13px;box-shadow:0 20px 80px #0b1d1b22;display:flex;flex-direction:column;overflow:hidden}.modal.wide{width:850px}.modal-head{padding:20px 24px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:15px;flex-shrink:0}.modal-head h2{font-size:17px;word-break:break-word}.modal>form{display:flex;flex-direction:column;min-height:0}.modal-body{padding:24px;overflow:auto;min-height:0}.modal-footer{border-top:1px solid var(--line);padding:16px 24px;display:flex;justify-content:flex-end;gap:10px;background:var(--surface);flex-shrink:0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:19px}.form-grid label+label{margin-top:0}.form-full{grid-column:1/-1}.form-error{padding:12px 20px;font-size:12px;line-height:1.6}.detail-toolbar{display:flex;align-items:center;gap:12px;padding:16px 24px;border-bottom:1px solid var(--line);flex-shrink:0}.detail-toolbar .secondary{margin-left:auto}.detail-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:22px;margin-bottom:35px}.detail-grid small{color:var(--muted);text-transform:capitalize}.detail-grid p{margin-top:6px;white-space:pre-wrap;line-height:1.7;font-size:12px;overflow-wrap:anywhere}.linked-row{padding:14px 0;display:flex;width:100%;align-items:center;gap:12px;background:transparent;border:0;border-bottom:1px solid var(--line);font-size:12px;color:var(--text);text-align:left}.linked-row .tag,.linked-row .text-btn{margin-left:auto}.danger-text{background:none;border:0;font-size:11px;color:#b16a58}.document-preview{overflow:auto;min-height:0;background:var(--soft);padding:15px;display:flex;justify-content:center}.document-preview img{object-fit:contain;max-width:100%;height:auto;align-self:flex-start}.document-preview iframe{height:70svh;width:100%;border:none}.document-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;padding:24px}.document-tile{min-width:0;border:1px solid var(--line);background:var(--surface);color:var(--text);border-radius:8px;padding:12px;display:flex;flex-direction:column;text-align:left;gap:8px}.document-tile>img{height:140px;object-fit:contain;background:var(--soft);width:100%;border-radius:4px}.pdf-cover{height:140px;background:#f4f1e7;color:#ac9a6b;display:flex;flex-direction:column;gap:9px;align-items:center;justify-content:center;border-radius:4px}.pdf-cover span{font-size:11px;letter-spacing:.15em}.document-tile strong{font-size:11px;overflow-wrap:anywhere;margin-top:4px}.document-tile small{font-size:9px;color:var(--muted)}.document-tile .tag{align-self:flex-start}.file-button{position:relative;cursor:pointer}.file-button input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}.prompt-row{border-bottom:1px solid var(--line)}.prompt-row pre{white-space:pre-wrap;font:11px/1.8 inherit;padding:0 24px 24px;color:var(--muted)}.prompt-input,.csv-area{min-height:240px}.auth{min-height:100svh;display:grid;grid-template-columns:1fr 1fr;background:var(--surface)}.auth-art{background:#172421;color:#e1e6dc;padding:55px;display:flex;flex-direction:column;justify-content:space-between}.auth-art h1{font-size:48px;line-height:1.2;margin-bottom:23px;letter-spacing:-.04em}.auth-art p{font-size:12px;color:#94a799;line-height:1.8;max-width:320px}.auth-art>.brand{max-width:250px}.auth-art .eyebrow{color:#ad9761;margin-bottom:25px}.auth-line{height:1px;background:linear-gradient(90deg,#a99157,transparent);width:160px;margin-top:30px}.auth-art>small{font-size:10px;color:#698170}.auth-content{padding:40px;display:flex;align-items:center;justify-content:center}.auth-form{max-width:360px;width:100%}.auth-form h2{font:32px Georgia,serif;letter-spacing:-.02em;margin-bottom:12px}.auth-form>p{font-size:12px;line-height:1.8;color:var(--muted);margin-bottom:30px}.auth-form form .primary{width:100%;margin-top:25px;justify-content:space-between}.auth-form .auth-foot{font-size:10px;line-height:1.8;margin:25px 0 0}.auth-form .form-error{margin-top:15px;border-radius:6px}.boot{display:flex;min-height:100svh;align-items:center;justify-content:center;flex-direction:column;gap:20px;color:var(--muted);font-size:12px}.mobile-menu{display:none}[data-theme=dark]{--bg:#17211e;--surface:#202c27;--text:#dce5dc;--muted:#92a096;--line:#344139;--soft:#26332c;--green:#c2d7bf;color:var(--text);background:var(--bg)}[data-theme=dark] input,[data-theme=dark] select,[data-theme=dark] textarea{border-color:var(--line)}[data-theme=dark].tag,[data-theme=dark] .tag{filter:saturate(.8)}[data-theme=dark] .integration-banner{background:#343326;border-color:#514a30;color:#cfbf8d}[data-theme=dark] .record-avatar{background:#324137;color:#b8c8ac}[data-theme=dark] .notice.error,[data-theme=dark] .form-error{background:#442d29;color:#f1b39e}[data-theme=dark] .notice.success{background:#254130;color:#b7dbb8}@keyframes appear{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}@media(min-width:1600px){main{padding-top:45px}.sidebar{width:250px}.shell{margin-left:250px;width:calc(100% - 250px)}}@media(max-width:1100px){.sidebar{width:210px}.shell{margin-left:210px;width:calc(100% - 210px)}main{padding:28px 24px 0}.topbar{padding:0 24px}.overview-grid{grid-template-columns:1.2fr 1fr}.desktop-meta{display:none}.document-grid{grid-template-columns:repeat(3,1fr)}.page-heading h1{font-size:28px}.budget-strip .secondary{display:none}.auth-art{padding:35px}.auth-art h1{font-size:38px}}@media(max-width:780px){.sidebar{transform:translate(-100%);transition:transform .18s;width:234px}.sidebar.open{transform:translate(0)}.nav-scrim{position:fixed;inset:0;background:#0006;z-index:25}.shell{margin-left:0;width:100%}.mobile-menu{display:inline-flex}.topbar{height:65px;padding:0 16px}.user-meta{display:none}.top-actions{gap:7px}.breadcrumbs{gap:7px;font-size:10px}main{padding:25px 18px 0}.page-heading{align-items:flex-start;flex-direction:column;gap:16px;margin-bottom:23px}.page-heading h1{font-size:30px}.eyebrow{font-size:7px;letter-spacing:.11em}.page-heading p{font-size:11px}.stats-row{grid-template-columns:repeat(2,1fr);gap:25px 20px;padding:23px 0}.stat{padding-left:20px}.stat:nth-child(odd){padding-left:0;border-left:0}.stat>strong{font-size:32px}.overview-grid{grid-template-columns:1fr;gap:18px}.budget-strip{gap:12px;flex-wrap:wrap}.budget-value{margin-left:auto;font-size:20px}.budget-strip p{max-width:190px;line-height:1.7}.section-head{padding:18px}.connection-row{margin:0 18px}.empty{min-height:235px}.list-toolbar{padding:15px;gap:10px;flex-wrap:wrap}.search{min-width:180px}.integration-row{gap:12px;flex-wrap:wrap;padding:20px}.integration-row>div{flex:1;min-width:200px}.integration-row .tag{margin-left:44px}.integration-banner{align-items:flex-start;flex-wrap:wrap}.integration-banner>div{flex:1;min-width:230px}.integration-banner button{margin-left:32px}.overlay{padding:12px}.modal{max-height:calc(100svh - 24px);border-radius:10px}.modal-head,.modal-body,.modal-footer{padding:18px}.modal-head h2{font-size:16px}.detail-toolbar{padding:12px 18px;flex-wrap:wrap}.detail-toolbar>.muted{display:none}.detail-grid{gap:19px}.document-grid{grid-template-columns:repeat(2,1fr);padding:15px;gap:12px}.document-tile>img,.pdf-cover{height:120px}.auth{grid-template-columns:1fr}.auth-art{padding:27px;min-height:235px}.auth-art h1{font-size:31px;margin:20px 0 8px}.auth-art p,.auth-art>small,.auth-line,.auth-art .eyebrow{display:none}.auth-content{padding:35px 25px}.auth-form h2{font-size:28px}.form-grid{gap:16px}.prompt-row .section-head{flex-wrap:wrap}footer{font-size:8px}}@media(max-width:400px){.form-grid{grid-template-columns:1fr}.form-full{grid-column:auto}.document-grid{gap:8px}.budget-strip>svg{display:none}}
