:root{--ink:#203a38;--muted:#7d8e8b;--line:#e5ece8;--green:#157766;--pale:#edf6f1;--bg:#f5f7f4;--rose:#b76569;--amber:#bb8a3e}*{box-sizing:border-box}body{color:var(--ink);background:var(--bg);margin:0;font-family:Noto Sans SC,Microsoft YaHei,sans-serif;font-size:16px}button,input,select,textarea{font:inherit}button,a.button{cursor:pointer;color:var(--ink);background:#fff;border:1px solid #dce5df;border-radius:8px;padding:10px 15px;transition:all .15s}button:hover,a.button:hover{border-color:var(--green);background:#f2f8f4}button:disabled{opacity:.45;cursor:not-allowed}a{color:inherit;text-decoration:none}.primary{font-weight:500;background:var(--green)!important;color:#fff!important;border-color:var(--green)!important}.primary:hover{background:#106553!important}.full{width:100%}.link{color:var(--green);background:0 0;border:0;padding:5px}.danger{color:#b74c53}.fine,small{color:var(--muted);font-size:15px;line-height:1.8}input,select,textarea{color:var(--ink);background:#fff;border:1px solid #dce5df;border-radius:7px;outline:none;max-width:100%;padding:11px 12px}input:focus,select:focus,textarea:focus{border-color:var(--green);box-shadow:0 0 0 3px #15776610}label{flex-direction:column;gap:8px;font-size:16px;font-weight:500;display:flex}textarea{resize:vertical;min-height:100px}h1,h2,h3,p{margin-top:0}h2{font-size:19px;font-weight:600}h3{font-size:16px}p{line-height:1.85}.eyebrow{color:var(--muted);letter-spacing:1.5px;text-transform:uppercase;font-size:14px}.brand{white-space:nowrap;align-items:center;gap:10px;font-size:24px;font-weight:600;display:flex;position:relative}.brand b{color:#fff;background:var(--green);border-radius:10px;place-items:center;width:37px;height:37px;font-size:21px;font-weight:500;display:grid}.brand small{letter-spacing:1px;font-size:13px;font-weight:400;position:absolute;top:34px;left:47px}.workspace{min-height:100vh;display:flex}.sidebar{border-right:1px solid var(--line);z-index:20;background:#fff;flex-direction:column;flex-shrink:0;width:252px;display:flex;position:fixed;inset:0 auto 0 0}.sidebar>.brand{margin:27px 24px 35px}.book-select{background:#f4f7f4;border-radius:10px;margin:0 17px 10px;padding:12px}.book-select>span{color:var(--muted);margin-bottom:7px;font-size:13px;display:block}.book-select select{background:0 0;border:0;width:100%;padding:7px;font-size:16px;font-weight:600}.book-select .link{margin-top:3px;font-size:14px}.sidebar nav{scrollbar-width:thin;flex:1;padding:0 14px 15px;overflow:auto}.nav-label{color:#97a5a0;letter-spacing:1px;padding:15px 12px 8px;font-size:13px}.nav-item{text-align:left;color:#657a74;background:0 0;border:0;align-items:center;gap:13px;width:100%;margin:2px 0;padding:9px 12px;font-size:15px;display:flex}.nav-item>span{color:#94a59d;text-align:center;width:16px;font-size:19px}.nav-item.active{background:var(--pale);color:var(--green);font-weight:600}.nav-item.active>span{color:var(--green)}.nav-item em{color:#819064;background:#edf1e6;border-radius:4px;margin-left:auto;padding:1px 4px;font-size:12px;font-style:normal}.sidebar-bottom{border-top:1px solid var(--line);align-items:center;gap:9px;padding:17px;display:flex}.avatar{width:34px;height:34px;color:var(--green);background:#e7eee8;border-radius:50%;place-items:center;display:grid}.sidebar-bottom strong{font-size:14px;display:block}.sidebar-bottom small{font-size:12px;display:block}.sidebar-bottom button{color:var(--muted);border:0;margin-left:auto;padding:4px}.main{width:calc(100% - 252px);min-width:0;margin-left:252px}.topbar{border-bottom:1px solid var(--line);background:#ffffffb0;justify-content:space-between;align-items:center;gap:10px;height:77px;padding:0 36px;display:flex}.breadcrumb{color:#8e9c96;font-size:14px}.breadcrumb span{color:#c8d0ca;margin:0 13px}.header-right{align-items:center;gap:13px;display:flex}.header-right input{background:0 0;padding:8px;font-size:15px}.header-right button{padding:9px 12px;font-size:14px}.private-dot{color:var(--muted);margin-right:7px;font-size:13px}.private-dot:before{content:"";background:#6c9c79;border-radius:50%;width:5px;height:5px;margin-right:7px;display:inline-block}.menu{display:none}.content{max-width:1600px;margin:auto;padding:34px 36px}.page-heading{justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px;display:flex}.page-heading h1{letter-spacing:-1px;margin:9px 0 10px;font-size:29px;font-weight:600}.title-dot{color:var(--green);margin-left:4px}.page-heading p{color:var(--muted);margin-bottom:0;font-size:15px}.page-heading button{font-size:15px}.metric-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:24px;display:grid}.metric{border:1px solid var(--line);background:#fff;border-radius:12px;padding:21px 22px}.metric>div{justify-content:space-between;align-items:center;gap:8px;margin-bottom:17px;display:flex}.metric>div>span{color:#7c8b85;font-size:15px}.metric i{border-radius:7px;padding:5px 9px;font-size:18px;font-style:normal}.teal{color:var(--green);background:#eaf4ed}.amber{color:var(--amber);background:#fbf4e6}.blue{color:#5e85a6;background:#eaf1f8}.rose{color:var(--rose);background:#fbeced}.metric>strong{letter-spacing:-.8px;font-variant-numeric:tabular-nums;margin-bottom:8px;font-size:26px;font-weight:600;display:block}.metric>small{font-size:13px}.two-col{grid-template-columns:1fr 1fr;gap:24px;display:grid}.card{border:1px solid var(--line);background:#fff;border-radius:12px;min-width:0;margin-bottom:24px;padding:23px 25px}.card-title{justify-content:space-between;align-items:center;gap:14px;margin-bottom:20px;display:flex}.card-title h2{margin:0}.tag{color:#7c8b81;white-space:nowrap;background:#f1f5f0;border-radius:5px;padding:4px 8px;font-size:13px;display:inline-block}.task{text-align:left;background:0 0;border:0;border-bottom:1px solid #f0f3ef;border-radius:0;align-items:center;gap:13px;width:100%;padding:18px 0;display:flex}.task:last-child{border:0}.task-icon{border-radius:9px;place-items:center;width:38px;height:38px;font-size:20px;display:grid}.task strong{font-size:15px;font-weight:500}.task p{color:var(--muted);margin:5px 0 0;font-size:13px}.task>b{color:#a4b1a8;margin-left:auto;font-size:18px;font-weight:400}.bar-row{margin:23px 0}.bar-row>div:first-child{justify-content:space-between;margin-bottom:10px;font-size:14px;display:flex}.bar-row strong{font-variant-numeric:tabular-nums;font-weight:500}.bar-track{background:#f1f5f0;border-radius:5px;height:7px;overflow:hidden}.bar-track i{background:#8ebda5;border-radius:5px;height:100%;display:block}.bar-row:first-of-type i{background:var(--green)}.quick-grid{grid-template-columns:repeat(4,1fr);gap:15px;display:grid}.quick-grid>button{text-align:left;border-color:#edf0e9;flex-direction:column;gap:8px;padding:18px;display:flex}.quick-grid>button>span{color:var(--green);margin-bottom:4px;font-size:22px}.quick-grid strong{font-size:15px;font-weight:500}.quick-grid small{font-size:13px}footer{color:#a0aca3;justify-content:space-between;margin-top:35px;font-size:13px;display:flex}footer span{font-size:12px}.toolbar{flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:20px;display:flex}.toolbar>.search{width:280px;margin-right:auto}.toolbar button{font-size:15px}.table-wrap{scrollbar-width:thin;max-height:65vh;overflow:auto}table{border-collapse:collapse;white-space:nowrap;width:100%;font-size:15px}th{text-align:left;color:#7e8e84;z-index:1;background:#f6f8f4;padding:13px 14px;font-size:13px;font-weight:500;position:sticky;top:0}td{text-overflow:ellipsis;border-bottom:1px solid #eef2ec;max-width:480px;padding:14px;overflow:hidden}tbody tr:hover{background:#fafcf8}.row-actions{align-items:center;gap:10px;display:flex}.row-actions button{font-size:14px}.empty{text-align:center;color:#7e9186;padding:45px;font-size:16px}.empty span{color:#a7b1a8;margin-top:10px;font-size:14px;display:block}.alert{background:#f4f7eb;border:1px solid #e0e6d4;border-radius:8px;justify-content:space-between;align-items:center;gap:14px;margin-bottom:18px;padding:13px 16px;font-size:15px;line-height:1.8;display:flex}.alert.error{color:#a34b48;background:#fff0ef;border-color:#f1d9d5}.alert.success{color:var(--green);background:#edf7ef;border-color:#d9eadc}.alert button{background:0 0;border:0;padding:0 5px;font-size:20px}.loading{text-align:center;color:var(--muted);padding:90px;font-size:16px}.loading>span{border:2px solid #dbe6dd;border-top-color:var(--green);border-radius:50%;width:28px;height:28px;margin:0 auto 20px;animation:.8s linear infinite spin;display:block}@keyframes spin{to{transform:rotate(360deg)}}.match{border-bottom:1px solid var(--line);align-items:center;gap:20px;padding:20px 0;display:flex}.match>div{flex:1;min-width:0}.match strong{margin:10px 0 6px;font-size:20px;font-weight:500;display:block}.match p{color:var(--muted);margin-bottom:0;font-size:14px}.match-arrow{color:#a1b4a6;font-size:24px}.match button{font-size:15px}.stepper{color:#a8b3a9;border-bottom:1px solid var(--line);align-items:center;gap:24px;margin-bottom:24px;padding-bottom:22px;font-size:15px;display:flex}.stepper i{color:#ccd5cc;font-style:normal}.stepper .selected{color:var(--green);font-weight:500}.import-controls{align-items:end;gap:20px;margin-bottom:20px;display:flex}.import-controls>label:first-child{min-width:170px}.file-drop{color:var(--green);background:#fafcf8;border:1px dashed #c5d5c6;border-radius:9px;flex:1;padding:20px}.file-drop input{background:0 0;border:0;padding:8px;font-size:14px}.file-drop small{font-size:13px}.mapping{background:#f8faf5;border-radius:8px;flex-wrap:wrap;align-items:end;gap:12px;margin:25px 0;padding:18px;display:flex}.mapping h3{width:100%}.mapping label{max-width:180px;font-size:14px}.mapping select{font-size:14px}.tabs{border-bottom:1px solid var(--line);gap:22px;margin-bottom:24px;display:flex}.tabs button{color:var(--muted);background:0 0;border:0;border-radius:0;padding:4px 0 15px;font-size:16px}.tabs .selected{color:var(--green);border-bottom:2px solid var(--green)}.report-grid{grid-template-columns:1fr;gap:20px;display:grid}.report-total{text-align:right;padding-top:20px;font-size:15px;font-weight:500}.closing{max-width:660px;margin:auto;padding:40px}.closing-icon{border-radius:12px;place-items:center;width:55px;height:55px;margin-bottom:20px;font-size:25px;display:grid}.closing h2{font-size:22px}.closing>p{color:var(--muted);font-size:15px}.check-line{border-bottom:1px solid var(--line);justify-content:space-between;padding:18px 0;font-size:15px;display:flex}.check-line b{color:var(--green);font-weight:500}.closing label{margin:25px 0}.assistant{max-width:850px;margin:auto;padding:35px}.assistant-mark{color:var(--green);font-size:32px}.assistant h2{margin-top:12px;font-size:24px}.assistant>p{color:var(--muted);font-size:15px}.suggestions{flex-wrap:wrap;gap:8px;margin:20px 0;display:flex}.suggestions button{font-size:14px}.conversation{min-height:180px;max-height:55vh;overflow:auto}.message{background:#f5f8f1;border-radius:10px;margin:14px 0;padding:18px}.message.user{background:#eaf3ed;margin-left:15%}.message p{white-space:pre-wrap;overflow-wrap:anywhere;margin:6px 0 0;font-size:16px}.message small{color:var(--green);font-size:13px}.chat-input{gap:10px;margin-top:25px;display:flex}.chat-input input{flex:1;min-width:0}.modal-backdrop{z-index:100;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#173a3045;justify-content:flex-end;display:flex;position:fixed;inset:0}.drawer{background:#fff;width:460px;max-width:100%;height:100%;padding:28px;overflow:auto;box-shadow:-10px 0 40px #18342815}.drawer form{gap:17px;margin-top:25px;display:grid}.drawer-footer{border-top:1px solid var(--line);justify-content:flex-end;gap:10px;margin-top:10px;padding-top:22px;display:flex}.login{background:#fff;grid-template-columns:1.1fr 1fr;min-height:100vh;display:grid}.login-story{background:#eaf1e7 radial-gradient(at 0 100%,#c6d8bc80,#0000 70%);flex-direction:column;justify-content:space-between;padding:55px 70px;display:flex}.login-story .brand small{letter-spacing:2px;font-size:12px;top:40px}.login-story h1{letter-spacing:-1px;margin:23px 0;font-size:42px;font-weight:500;line-height:1.6}.login-story p{color:#7d927e;font-size:16px;line-height:2.1}.login-story>small{color:#93a48e;font-size:13px}.login-form{width:100%;max-width:390px;margin:auto;padding:35px}.login-form h2{margin:15px 0;font-size:25px}.login-form>p{color:var(--muted);font-size:15px}.login-form form{gap:22px;margin:35px 0 23px;display:grid}.login-form .full{margin-top:8px;padding:13px}.login-form .fine{font-size:13px;line-height:2}.agent-overview{background:linear-gradient(120deg,#f0f7ef,#fff);flex-wrap:wrap;align-items:center;gap:20px;display:flex}.agent-overview>div:first-child{flex:1;min-width:240px}.agent-overview h2{margin:10px 0}.agent-overview p,.agent-intro p{color:var(--muted);margin-bottom:0;font-size:15px}.agent-badges{gap:10px;display:flex}.agent-badges button{font-size:14px}.agent-badges strong{color:var(--green);font-size:20px;display:block}.agent-intro{flex-wrap:wrap;align-items:center;gap:18px;display:flex}.agent-intro>div{flex:1;min-width:240px}.agent-intro h2{margin-top:15px}.skill-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;display:grid}.skill-card{flex-direction:column;gap:10px;display:flex}.skill-card p{color:var(--muted);flex:1;margin-bottom:0;font-size:15px}.skill-card .card-title{margin-bottom:0}.skill-card .card-title h2{font-size:17px}.skill-card button{margin-top:12px}.thresholds,.automation-form{flex-wrap:wrap;align-items:end;gap:15px;display:flex}.automation-form label{flex:1;min-width:170px}.thresholds label{flex:1;min-width:160px}.proposal{border-top:1px solid var(--line);padding:23px 0}.proposal>p{font-size:15px}.proposal h3{margin:0}.proposal-detail{flex-wrap:wrap;gap:20px;margin:15px 0;display:flex}.proposal-detail>div{background:#f7f9f4;border-radius:8px;flex:1;min-width:230px;padding:15px}.proposal h4{color:var(--muted);margin:0 0 10px;font-size:14px}.proposal pre{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font:15px/1.9 inherit}.schedule-row{border-top:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:20px;padding:20px 0;display:flex}.schedule-row>div:first-child{flex:1;min-width:240px}.schedule-row p{color:var(--muted);margin:7px 0 0;font-size:14px}.run-row{border:0;border-bottom:1px solid var(--line);text-align:left;border-radius:0;justify-content:space-between;align-items:center;gap:15px;width:100%;padding:16px 0;display:flex}.run-row strong{font-size:15px;font-weight:500}.run-row small{margin-top:6px;font-size:13px;display:block}.agent-result{width:650px}.agent-metrics{background:#f6f9f2;border-radius:8px;margin:18px 0;padding:17px}.agent-metrics h3{margin-bottom:15px}.agent-metrics>div{justify-content:space-between;gap:20px;font-size:15px;line-height:2;display:flex}.agent-metrics strong{text-align:right;font-weight:500}.finding{background:#fcfdf9;border:1px solid #e5e9dd;border-radius:8px;margin:12px 0;padding:16px}.finding.high{background:#fff7f5;border-color:#efd3cd}.finding strong{font-size:15px}.finding p{color:var(--muted);white-space:pre-wrap;margin:10px 0;font-size:15px}.finding button{font-size:14px}.automation .task{justify-content:space-between}.automation .task>div{flex:1}.automation .task>button{margin-left:auto}.journal-header{gap:20px;margin:20px 0;display:flex}.journal-header label:last-child{flex:1}.journal-header+.table-wrap{margin-bottom:20px}@media (max-width:1100px){.skill-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:760px){.skill-grid{grid-template-columns:1fr;gap:0}.agent-overview{gap:15px}.agent-badges{justify-content:space-between;width:100%}.agent-badges button{flex:1;padding:10px 5px}.agent-result{width:100%}.run-row{flex-wrap:wrap}.automation-form label{min-width:100%}}.model-tabs{white-space:nowrap;scrollbar-width:thin;overflow:auto}.model-tabs button{flex-shrink:0}.provider-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;display:grid}.provider-card{gap:17px;display:grid}.provider-card .card-title{margin-bottom:0}.provider-status{color:var(--muted);justify-content:space-between;gap:12px;font-size:14px;display:flex}.provider-status a{color:var(--green)}.key-input{gap:8px;display:flex}.key-input input{flex:1;min-width:0}.key-input button{flex-shrink:0}.provider-budget{grid-template-columns:1fr 1fr;gap:12px;display:grid}.model-id{color:var(--muted);white-space:normal;overflow-wrap:anywhere;margin-top:6px;display:block;font-size:14px!important}.capabilities{flex-wrap:wrap;gap:7px;display:flex}.checkbox{flex-direction:row;align-items:center;gap:8px;min-height:40px;line-height:1.6;display:flex}.checkbox input{width:18px;height:18px;accent-color:var(--green);flex-shrink:0}.route-row{border-bottom:1px solid var(--line);grid-template-columns:1fr 1fr 1fr;gap:18px;padding:24px 0;display:grid}.route-row>div:first-child{grid-column:1/-1}.route-row h3{margin-bottom:7px}.route-row:last-of-type{margin-bottom:24px}.test-prompt{margin:24px 0}.test-prompt textarea{min-height:150px}.test-output{background:#f6f9f2;border-radius:10px;margin-top:25px;padding:22px}.test-output pre,.proposal pre{white-space:pre-wrap;overflow-wrap:anywhere;font-family:inherit;font-size:16px;line-height:1.9}.usage-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.usage-card{border:1px solid var(--line);border-radius:9px;padding:18px}.usage-card p{margin:12px 0;font-size:24px}.model-manager .toolbar h2{margin-bottom:0;margin-right:auto}.help-intro{align-items:center;gap:24px;display:flex}.help-intro>div{flex:1}.help-intro p{color:var(--muted);margin-bottom:0}.help-layout{grid-template-columns:300px minmax(0,1fr);align-items:start;gap:24px;display:grid}.help-index{gap:15px;max-height:85vh;display:grid;position:sticky;top:16px;overflow:auto}.help-index nav{gap:6px;display:grid}.help-index nav button{text-align:left;background:0 0;border:0;padding:12px}.help-index nav button.selected{background:var(--pale);color:var(--green)}.help-index nav small{margin-top:3px;font-size:13px;display:block}.guide-article h2{margin:16px 0;font-size:25px}.guide-article p{font-size:17px;line-height:1.9}.guide-article ol,.guide-article ul{padding-left:25px;line-height:1.95}.guide-article li{overflow-wrap:anywhere;margin:12px 0}.guide-notes{background:#f5f8ee;border-radius:9px;margin:24px 0;padding:18px 22px}.guide-notes h3{margin:0;font-size:17px}.guide-notes ul{margin-bottom:0}.help-floating{right:max(18px,env(safe-area-inset-right));bottom:max(18px,env(safe-area-inset-bottom));z-index:50;position:fixed}.help-floating>button{background:var(--green);color:#fff;border:0;border-radius:28px;min-height:48px;padding:12px 20px;box-shadow:0 6px 24px #183c3430}.help-popover{border:1px solid var(--line);background:#fff;border-radius:12px;gap:8px;width:250px;padding:12px;display:grid;position:absolute;bottom:65px;right:0;box-shadow:0 10px 40px #173b3020}.help-popover button{text-align:left}.quick-help{background:#edf4ec;border:1px solid #dce7da;border-radius:9px;margin-bottom:22px;padding:12px 16px}.quick-help summary{cursor:pointer;color:var(--green);font-size:16px;line-height:1.8}.quick-help p,.quick-help li{font-size:16px;line-height:1.9}.guide-sheet{width:650px}.guided-tour{z-index:1000;touch-action:none;position:fixed;inset:0}.tour-shade{background:#102a27bf;position:absolute;inset:0}.tour-shade.spotlight{pointer-events:none;background:0 0;border:2px solid #a4dbc4;border-radius:12px;inset:auto;box-shadow:0 0 0 9999px #102a27bf}.tour-tip{touch-action:pan-y;background:#fff;border:1px solid #9bcbb6;border-radius:15px;padding:22px;position:fixed;overflow:auto;box-shadow:0 12px 50px #102a2740}.tour-tip .card-title{margin-bottom:15px}.tour-tip h2{font-size:23px}.tour-tip p{font-size:16px;line-height:1.9}.tour-tip .row-actions{flex-wrap:wrap;justify-content:flex-end;margin:18px 0 8px}.tour-tip small{font-size:13px}.tour-progress{background:#e4ece4;border-radius:5px;height:5px;overflow:hidden}.tour-progress i{background:var(--green);height:100%;display:block}.offline-banner{color:#fff;padding:12px max(18px,env(safe-area-inset-left));z-index:200;text-align:center;background:#7c3b2b;font-size:16px;position:fixed;top:0;left:0;right:0}.pwa-update{bottom:max(85px,calc(env(safe-area-inset-bottom) + 65px));z-index:180;background:#f1f8ed;border:1px solid #c3dbca;border-radius:12px;align-items:center;gap:12px;max-width:650px;margin:auto;padding:18px;font-size:16px;display:flex;position:fixed;left:18px;right:18px}.pwa-help ol{padding-left:25px;line-height:2}.pwa-help li{margin:15px 0}html{-moz-text-size-adjust:100%;text-size-adjust:100%;scroll-padding-top:90px}body{overflow-wrap:break-word;font-size:17px;line-height:1.65}input,select,textarea{min-height:46px;font-size:16px}button,a.button{min-height:44px;line-height:1.5}.nav-item{font-size:15px}.tag{font-size:13px}.fine,small{font-size:14px}.content{padding-bottom:max(100px,calc(env(safe-area-inset-bottom) + 85px))}.sidebar{padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}.topbar{padding-top:env(safe-area-inset-top);height:auto;min-height:77px}.drawer{padding-bottom:max(30px,env(safe-area-inset-bottom))}.journal-header input{min-width:0}@media (max-width:1100px){.provider-grid{grid-template-columns:1fr}.usage-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.help-layout{grid-template-columns:240px minmax(0,1fr)}}@media (max-width:760px){.route-row{grid-template-columns:1fr}.route-row>div:first-child{grid-column:auto}.usage-grid,.help-layout{grid-template-columns:1fr}.help-index{max-height:340px;position:static}.help-intro{flex-direction:column;align-items:stretch}.guide-sheet{width:100%}.provider-budget{grid-template-columns:1fr 1fr}.provider-card .row-actions{gap:10px}.model-manager .row-actions button{font-size:14px}.model-tabs{gap:20px}.model-tabs button{font-size:15px}.model-manager .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.provider-status{flex-wrap:wrap}.help-floating>button{padding:11px 16px;font-size:15px}.tour-tip{padding:18px}.tour-tip .row-actions button{font-size:15px}.header-right{flex-wrap:wrap;justify-content:flex-end}.topbar{padding-bottom:10px;padding-top:max(10px,env(safe-area-inset-top));gap:8px}.header-right input{min-width:150px;font-size:16px}.header-right button{font-size:14px}.journal-header{flex-wrap:wrap}.journal-header label{min-width:100%}.metric>strong{font-size:23px}.table-wrap table{font-size:15px}th{font-size:14px}.nav-item{font-size:16px}.pwa-update{flex-wrap:wrap}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}@media (min-width:1500px){.content{padding:42px 50px 100px}.metric>strong{font-size:30px}.card{padding:28px}}@media (max-width:1150px){.sidebar{width:210px}.main{width:calc(100% - 210px);margin-left:210px}.content{padding:25px}.topbar{padding:0 25px}.metric-grid{grid-template-columns:repeat(2,1fr)}.metric>strong{font-size:25px}.quick-grid{grid-template-columns:repeat(2,1fr)}.private-dot{display:none}.two-col{gap:17px}.import-controls{flex-wrap:wrap}.login-story{padding:45px}.login-story h1{font-size:32px}}@media (max-width:760px){.sidebar{width:230px;transition:transform .2s;transform:translate(-100%);box-shadow:10px 0 40px #18342820}.sidebar.visible{transform:translate(0)}.main{width:100%;margin:0}.menu{padding:7px;display:block}.topbar{height:65px;padding:0 14px}.breadcrumb{display:none}.header-right{gap:7px;margin-left:auto}.header-right button{padding:8px;font-size:13px}.header-right input{padding:6px;font-size:14px}.content{padding:24px 16px}.page-heading h1{font-size:26px}.page-heading{margin-bottom:23px}.page-heading p{font-size:14px}.eyebrow{font-size:12px}.metric-grid{gap:10px}.metric{padding:15px}.metric>strong{font-size:22px}.metric>div>span{font-size:13px}.metric>small{font-size:12px}.two-col{grid-template-columns:1fr;gap:0}.card{margin-bottom:17px;padding:18px 16px}.card-title h2{font-size:17px}.card-title{flex-wrap:wrap}.quick-grid{gap:9px}.quick-grid button{padding:14px}.match{flex-wrap:wrap;gap:12px}.match button{width:100%}.match p{font-size:13px}.match strong{font-size:19px}.stepper{gap:10px;font-size:13px}.import-controls{gap:15px}.import-controls label{width:100%}.mapping label{width:45%;max-width:none}.tabs{gap:16px}.tabs button{font-size:14px}.closing{padding:25px}.assistant{padding:22px}.assistant h2{font-size:20px}.chat-input button{padding:10px}.row-actions{flex-wrap:wrap;gap:5px}.row-actions a,.row-actions button{padding:8px;font-size:13px}.login{flex-direction:column;display:flex}.login-story{gap:40px;min-height:310px;padding:30px 27px}.login-story h1{margin:16px 0;font-size:27px}.login-story p,.login-story>small{display:none}.login-form{max-width:440px;padding:35px 28px}.login-story .eyebrow,footer{font-size:12px}footer span{display:none}}.profile-layout{grid-template-columns:1fr 1fr;align-items:start;gap:24px;display:grid}.profile-layout>.alert{grid-column:1/-1}.profile-form{gap:20px;display:grid}.profile-identity{align-items:center;gap:18px;margin:25px 0;display:flex}.profile-identity .avatar{width:60px;height:60px;font-size:25px}.profile-identity p{color:var(--muted);margin:8px 0 0;font-size:16px}.web-source{border-top:1px solid var(--line);padding:18px 0}.web-source a,.message a{color:var(--green);overflow-wrap:anywhere;text-decoration:underline}.web-source p{margin:12px 0 0;font-size:16px;line-height:1.9}@media (max-width:900px){.profile-layout{grid-template-columns:1fr}}@media (max-width:760px){input,select,textarea,.header-right input{font-size:16px!important}.header-right button{font-size:14px!important}.topbar{min-height:72px;height:auto!important;padding-top:max(10px,env(safe-area-inset-top))!important;padding-bottom:10px!important}.nav-item{font-size:16px!important}.fine,small{font-size:14px}.content{padding-bottom:max(105px,calc(env(safe-area-inset-bottom) + 85px))!important}.page-heading p{font-size:15px}.quick-help p,.quick-help li{font-size:16px}.model-tabs button{font-size:15px}.header-right{flex-wrap:wrap}.guide-notes{padding:16px}.help-popover button{font-size:16px}.sidebar-bottom{padding-bottom:calc(17px + env(safe-area-inset-bottom))}}.password-input{width:100%;min-width:0;display:block;position:relative}.password-input input{width:100%;padding-right:56px}.password-input .password-visibility{color:#526b65;width:44px;height:44px;min-height:44px;box-shadow:none;cursor:pointer;background:0 0;border:0;border-radius:8px;place-items:center;padding:0;display:grid;position:absolute;top:50%;right:2px;transform:translateY(-50%)}.password-input .password-visibility:hover{color:#157766;background:#eaf3ef}.password-input .password-visibility:focus-visible{outline-offset:-3px;outline:2px solid #157766}.password-input .password-visibility:disabled{cursor:default;opacity:.5}input::-ms-reveal{display:none}.provider-key-link{color:var(--green);justify-content:center;align-items:center;font-weight:600;text-decoration:none;display:inline-flex}.provider-endpoint{margin-top:18px}.provider-endpoint summary{cursor:pointer;min-height:44px;color:var(--muted);align-items:center;display:flex}.provider-endpoint summary:before{content:"▸";margin-right:8px}.provider-endpoint[open] summary:before{content:"▾"}.provider-endpoint label{margin-top:8px}.provider-endpoint .fine{margin:10px 0 0}.import-filename{overflow-wrap:anywhere;color:var(--green);font-weight:600;display:block}.catalog-result{border:1px solid var(--line);background:#f6faf7;border-radius:8px;margin-top:14px;padding:14px}.catalog-result p:last-child{margin-bottom:0}.catalog-result button{margin:4px 8px 4px 0}.provider-endpoint>label+label{margin-top:12px}.help-floating{right:96px;bottom:max(22px,env(safe-area-inset-bottom))}.companion-widget{right:max(18px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom));z-index:65;position:fixed}.companion-ball{background:var(--green);color:#fff;border:1px solid #cce8df;border-radius:50%;flex-direction:column;justify-content:center;align-items:center;width:64px;height:64px;font-size:25px;line-height:1.1;display:flex;box-shadow:0 8px 30px #163e3540}.companion-ball span{margin-top:4px;font-size:12px}.companion-panel{border:1px solid var(--line);background:#fff;border-radius:20px;flex-direction:column;width:min(440px,100vw - 28px);height:min(690px,100dvh - 125px);display:flex;position:absolute;bottom:78px;right:0;overflow:hidden;box-shadow:0 14px 65px #173b3035}.companion-panel>header{background:#f2f7f1;justify-content:space-between;align-items:center;padding:16px 18px;display:flex}.companion-panel>header small{color:var(--muted);margin-top:4px;font-size:12px;display:block}.companion-panel button{min-height:44px}.companion-roles{gap:8px;padding:12px;display:flex}.companion-roles>button{text-align:left;border:1px solid var(--line);background:#fff;border-radius:12px;flex:1;align-items:center;gap:9px;padding:10px;display:flex}.companion-roles>button[aria-pressed=true]{border-color:var(--green);color:var(--green);background:#edf5ef}.companion-roles b{font-size:23px}.companion-roles small{margin-top:3px;font-size:12px;font-weight:400;display:block}.companion-meta{border-bottom:1px solid var(--line);color:var(--muted);align-items:center;gap:8px;padding:0 12px 8px;font-size:11px;display:flex}.companion-meta span{flex:1}.companion-meta button{background:0 0;border:0;padding:4px;font-size:12px}.companion-history{overscroll-behavior:contain;scrollbar-width:thin;flex:1;min-height:0;padding:16px;overflow:auto}.companion-welcome{text-align:center;padding:16px 2px}.companion-welcome>div{color:var(--green);font-size:34px}.companion-welcome h2{font-size:22px}.companion-welcome p{color:var(--muted);font-size:15px;line-height:1.8}.companion-welcome button{text-align:left;background:#f6f8f3;width:100%;margin-top:10px;font-size:14px;display:block}.companion-message{max-width:95%;margin-bottom:18px;font-size:15px}.companion-message small{color:var(--muted);font-size:12px}.companion-message p{white-space:pre-wrap;overflow-wrap:anywhere;background:#f3f6f1;border-radius:0 13px 13px;margin:5px 0 0;padding:12px 14px;line-height:1.85}.companion-message.user{margin-left:auto}.companion-message.user p{background:#e6f0ea;border-radius:13px 0 13px 13px}.companion-message.user small{text-align:right;display:block}.companion-panel form{border-top:1px solid var(--line);align-items:end;gap:8px;padding:12px;display:flex}.companion-panel textarea{resize:none;border:1px solid var(--line);min-width:0;font:inherit;border-radius:10px;flex:1;max-height:130px;padding:10px;font-size:16px}.companion-panel form button{flex-shrink:0;width:44px}.companion-note{color:var(--muted);padding:0 12px 12px;font-size:11px}.companion-error{color:#a33b32;background:#fff0ec;margin:0;padding:10px 14px;font-size:14px}.companion-history>p{color:var(--muted);font-size:14px}.workspace .help-floating{right:96px;bottom:max(22px,env(safe-area-inset-bottom))}.web-platforms{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;margin:22px 0;display:grid}.web-platform{border:1px solid var(--line);cursor:pointer;border-radius:12px;flex-direction:row;align-items:flex-start;gap:12px;padding:16px;display:flex}.web-platform input{flex-shrink:0;width:20px;height:20px;margin-top:5px}.web-platform small{margin-top:6px;font-size:13px;font-weight:400;display:block}.web-platform strong{font-size:16px}.chat-history-controls{border-bottom:1px solid var(--line);gap:8px;padding:10px 12px;display:grid}.chat-history-controls label{min-width:0;font-size:12px}.chat-history-controls select{text-overflow:ellipsis;width:100%;min-width:0;font-size:14px;overflow:hidden}.chat-history-controls>div{flex-wrap:wrap;gap:6px;display:flex}.chat-history-controls button{padding:6px 9px;font-size:12px}.companion-panel .chat-history-controls{flex-shrink:0;max-height:180px;overflow:auto}.companion-panel .companion-roles,.companion-panel .companion-meta,.companion-panel>header,.companion-panel form{flex-shrink:0}@media (max-height:660px){.companion-panel .companion-roles{padding:4px}.companion-panel .chat-history-controls{max-height:110px}.companion-panel textarea{min-height:55px}.companion-panel>header{padding:6px 12px}}.reply-meta{color:var(--muted);padding:7px 2px;font-size:12px}.reply-meta>small{font-size:11px;display:block}.reply-meta button{background:0 0;min-height:36px;padding:5px 9px;font-size:12px}.reply-meta>div{flex-wrap:wrap;gap:6px;display:flex}.closing-checklist{text-align:left}.closing-checklist .check-line{gap:15px}.closing-checklist strong{font-size:15px}.workspace-search-launcher{white-space:nowrap;min-height:44px}.workspace-search-launcher small{margin-left:6px;font-size:11px}.workspace-search-backdrop{z-index:300;padding-top:max(20px,env(safe-area-inset-top));align-items:flex-start}.workspace-search-panel{border:1px solid var(--line);overscroll-behavior:contain;background:#fff;border-radius:18px;width:min(900px,100vw - 24px);max-height:calc(100dvh - 40px);padding:24px;overflow:auto;box-shadow:0 12px 70px #12392c40}.workspace-search-panel>.card-title{z-index:1;background:#fff;padding:12px 0;position:sticky;top:-24px}.workspace-search-panel .tabs{margin:15px 0}.workspace-search-panel label{margin:14px 0}.workspace-search-panel textarea{min-height:180px}.rag-hit{border-bottom:1px solid var(--line);padding:20px 0}.rag-hit>div:first-child{gap:8px;display:grid}.rag-hit p{white-space:pre-wrap;overflow-wrap:anywhere;margin-top:12px;font-size:14px}.rag-hit>small{overflow-wrap:anywhere;font-size:11px;display:block}.rag-answer{background:#f1f7f0;border-radius:10px;margin:18px 0;padding:18px}.rag-answer p{white-space:pre-wrap;overflow-wrap:anywhere}.workspace-search-panel .automation-form{align-items:end}.workspace-search-panel input,.workspace-search-panel select{font-size:16px}@media (max-width:760px){.workspace-search-panel{padding:16px}.workspace-search-panel>.card-title{top:-16px}.workspace-search-launcher small{display:none}.workspace-search-panel .task,.workspace-search-panel .row-actions{flex-wrap:wrap}.header-right{gap:6px}.workspace-search-launcher{padding:8px;font-size:14px}}.workspace-search-panel .checkbox input{flex:0 0 20px;width:20px;height:20px;min-height:20px;max-height:20px;margin:0;padding:0}.workspace-search-panel .checkbox{align-items:flex-start;padding:10px 0}.workspace-search-panel>.card-title h2{margin-bottom:4px}.workspace-search-panel .rag-hit strong{overflow-wrap:anywhere}.financial-template{background:#f1f6f4;border-radius:12px;align-items:center;gap:24px;margin:18px 0;padding:22px;display:flex}.financial-template>div{flex:1}.financial-template p{margin-bottom:8px;font-size:15px}.financial-template small{font-size:13px;display:block}.financial-template button{flex-shrink:0}.template-downloads{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;margin:18px 0;display:grid}.template-library summary{cursor:pointer;min-height:44px;color:var(--green);padding:10px 0}@media (max-width:760px){.financial-template{flex-direction:column;align-items:stretch;padding:18px}.financial-template button{width:100%}.template-downloads{grid-template-columns:repeat(2,minmax(0,1fr))}.template-downloads button{font-size:14px}}.file-workbench{margin:12px 0}.file-workbench .row-actions{flex-wrap:wrap}.file-workbench.compact{padding:0 14px;font-size:12px}.file-workbench.compact>.row-actions>button{padding:6px 10px;font-size:12px}.source-file-backdrop{z-index:1200;padding:20px;position:fixed;inset:0}.source-file-dialog{background:var(--card,#fff);color:var(--ink,#183c36);border-radius:16px;width:min(1160px,96vw);max-height:94dvh;padding:24px;overflow:auto;box-shadow:0 20px 80px #0003}.source-file-grid{grid-template-columns:240px minmax(0,1fr);gap:20px;margin-top:20px;display:grid}.source-file-grid aside{flex-direction:column;gap:8px;max-height:65vh;display:flex;overflow:auto}.source-file-grid aside button{text-align:left;overflow-wrap:anywhere}.source-file-grid aside small{margin-top:5px;display:block}.source-file-grid aside .selected{background:#e8f4ed;border-color:#137a68}.source-file-grid main{min-width:0}.source-file-hash{overflow-wrap:anywhere}.source-file-options,.source-file-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0;display:grid}.source-file-fields label,.source-file-options label{flex-direction:column;gap:5px;display:flex}.source-file-fields input,.source-file-options input,.source-file-options select{width:100%;min-width:0}.source-file-rows{max-height:52vh;margin:14px 0;overflow:auto}.source-file-rows details{border:1px solid #dce6e1;border-radius:8px;margin:8px 0;padding:10px}.source-file-rows summary{cursor:pointer;overflow-wrap:anywhere;line-height:1.8}.source-file-rows summary input{vertical-align:middle;width:20px;height:20px;margin-right:8px}.source-file-dialog .card-title h2{font-size:21px}.source-file-dialog h3{overflow-wrap:anywhere}.companion-panel:has(.source-file-backdrop){overflow:visible}@media (max-width:700px){.source-file-backdrop{padding:6px}.source-file-dialog{width:100%;max-height:96dvh;padding:16px}.source-file-grid{grid-template-columns:1fr}.source-file-grid aside{max-height:150px}.source-file-options,.source-file-fields{grid-template-columns:1fr}.source-file-dialog .row-actions>button{width:100%}.source-file-rows{max-height:50vh}}.source-file-dialog{font-size:15px;line-height:1.6}.source-file-dialog input,.source-file-dialog select{font-size:16px}.file-workbench.compact{flex-shrink:0}.source-file-dialog>.card-title{z-index:2;background:#fff;padding:8px 0;position:sticky;top:-24px}.record-checkbox{cursor:pointer;justify-content:center;align-items:center;min-width:44px;min-height:44px;display:inline-flex}.record-checkbox input[type=checkbox]{width:20px;height:20px;min-height:20px;accent-color:var(--green);cursor:pointer;margin:0;padding:0}.import-source-preview{border:1px solid var(--line);border-radius:10px;margin:16px 0;padding:12px}.import-source-preview summary{cursor:pointer;margin-bottom:8px;font-weight:600}.import-worksheets{margin-top:24px}.worksheet-preview{border:1px solid var(--line);background:#fff;border-radius:12px;margin:18px 0;padding:18px}.worksheet-preview .table-wrap{max-height:480px;margin:14px 0;overflow:auto}.worksheet-preview>details{margin-top:12px}.worksheet-check{cursor:pointer;align-items:center;gap:10px;min-height:44px;display:inline-flex}.worksheet-check input[type=checkbox]{width:20px;height:20px;min-height:20px;accent-color:var(--green);margin:0;padding:0}.ledger-cell{text-align:left;min-width:70px;min-height:44px;color:inherit;font:inherit;background:0 0;border:1px solid #0000;border-radius:6px;padding:8px;display:block}.ledger-cell:hover,.ledger-cell:focus-visible{border-color:var(--green);background:#f0f7f3}.inline-cell-editor{min-width:180px}.inline-cell-editor input{width:100%;min-width:160px}.inline-cell-editor>div{gap:6px;margin-top:5px;display:flex}.inline-cell-editor button{padding:6px 10px;font-size:13px}@media (max-width:700px){.worksheet-preview{padding:12px}.worksheet-preview .card-title{flex-direction:column;align-items:flex-start}.import-worksheets>.toolbar>button{width:100%}}
