:root{font-family:Inter,system-ui,sans-serif;color:#183c37;background:#f4f6f2;font-synthesis:none}*{box-sizing:border-box}body{margin:0;display:flex;min-height:100vh}aside{width:240px;background:#123f36;color:#eaf2e9;padding:35px 24px;display:flex;flex-direction:column;position:fixed;height:100vh}.brand{font-size:27px;color:inherit;text-decoration:none;font-weight:750;letter-spacing:-1px}aside p{font-size:13px;color:#afc7be}nav{margin-top:40px;display:grid;gap:9px}nav button{text-align:left;background:transparent;color:inherit;border:0;padding:13px}nav button.active,nav button:hover{background:#2a574b}aside small{margin-top:auto;line-height:1.8;color:#b4c8bc}main{margin-left:240px;padding:42px 5%;width:calc(100% - 240px)}header{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:26px}h1{font-size:30px;letter-spacing:-1px;margin:10px 0}h2{margin-top:0}.eyebrow{font-size:11px;letter-spacing:2px;color:#5a786b;font-weight:700}button,select,input{font:inherit;border:1px solid #cbd8d0;border-radius:8px;padding:10px 12px}button{cursor:pointer;background:white;color:#183c37}button:hover{background:#edf1e9}button:disabled{opacity:.5;cursor:wait}.primary{background:#d8f27b;color:#143e32;border:0;font-weight:700}.card{background:white;border:1px solid #dce4dc;border-radius:16px;padding:24px;margin-bottom:20px}.auth{max-width:460px;margin:45px auto}.auth p,.muted{color:#657a70;line-height:1.6}label{display:grid;gap:7px;font-size:13px;margin-bottom:15px}form{display:grid;gap:7px}input{width:100%;background:#fafbf8}form .primary{margin-bottom:12px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.stat strong{display:block;font-size:32px;margin:16px 0}.stat span{font-size:13px;color:#6c7d72}.banner{padding:18px;background:#e8eedb;border-radius:12px;margin-bottom:25px;line-height:1.6}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:20px 0}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}.grid .card{margin:0}table{width:100%;border-collapse:collapse;font-size:14px}th,td{text-align:left;padding:14px 9px;border-bottom:1px solid #e7ece5}th{color:#65786b;font-size:12px}.table-wrap{overflow:auto}.badge{background:#edf2e5;padding:5px 9px;border-radius:20px;font-size:12px}.row-form{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.row-form label{margin:0}.row-form button{align-self:end}pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#f1f5eb;padding:15px}#message{min-height:20px;color:#9e3f24}#account{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}[hidden]{display:none!important}details{margin-top:15px}summary{cursor:pointer}input[type=checkbox]{width:auto}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #8bad34;outline-offset:3px}@media(max-width:1000px){.stats{grid-template-columns:repeat(2,1fr)}header{display:block}#account{justify-content:flex-start}}@media(max-width:700px){body{display:block}aside{position:static;width:100%;height:auto;padding:20px}aside p,aside small{display:none}nav{display:flex;overflow:auto;margin-top:15px;gap:2px}nav button{white-space:nowrap;font-size:12px;padding:10px}main{margin:0;width:100%;padding:25px 18px}h1{font-size:25px}.row-form{grid-template-columns:1fr}.stats{gap:10px}.stat{padding:18px}.stat strong{font-size:26px}}

nav{margin-top:24px;gap:4px;overflow-y:auto}nav button{padding:10px 12px}aside{padding:28px 20px}aside small{padding-top:14px}textarea{font:inherit;border:1px solid #cbd8d0;border-radius:8px;padding:10px 12px;width:100%;resize:vertical;background:#fafbf8;color:inherit}select{max-width:100%;background:#fafbf8;color:inherit}.hero{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:28px 0 35px}.hero h2{font-size:36px;letter-spacing:-1.4px;margin:10px 0}.hero p{color:#687e70}.stats.six{grid-template-columns:repeat(3,minmax(0,1fr))}.stats.six .stat strong{font-size:29px;overflow-wrap:anywhere}.flow{display:flex;align-items:center;gap:12px;justify-content:space-between;margin:25px 0}.flow span{background:#f1f5eb;padding:12px;border-radius:10px;text-align:center;font-size:13px}.flow small{display:block;color:#657a70;font-size:11px;margin-top:8px}.grid+.banner{margin-top:20px}.steps{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:24px}.steps span{padding:10px 14px;border:1px solid #ccd8c6;border-radius:30px;font-size:12px;background:#edf2e5}.check{display:flex;align-items:center;gap:10px;margin:10px 0;line-height:1.6}.check input{width:18px;height:18px;flex:none}.wide{grid-column:1/-1}.line-picker{padding:18px;background:#f4f6ef;border-radius:12px;display:grid;gap:12px;grid-template-columns:2fr 1fr}.line-picker #line-options{grid-column:1/-1}.line-picker #line-options select{width:100%}.recap{background:#edf3e2;padding:23px;margin-top:22px;border:1px solid #cbd8b7;border-radius:12px}.import-row{border-bottom:1px solid #e2e9dd;padding:18px 0;overflow-wrap:anywhere}.import-item{margin-bottom:20px;padding:14px;border:1px solid #e2e9dd;border-radius:9px}.assistant-layout{display:grid;grid-template-columns:1.15fr 1fr;gap:22px}.conversation{min-height:240px;max-height:500px;overflow:auto;margin:25px 0;display:flex;flex-direction:column;gap:15px}.bubble{max-width:95%;padding:15px 18px;border-radius:15px;background:#edf3e2;overflow-wrap:anywhere}.bubble.user{align-self:flex-end;background:#e7eeea}.bubble small{font-size:10px;text-transform:uppercase;letter-spacing:1px;color:#67806e}.bubble p{line-height:1.65;margin:7px 0;white-space:pre-wrap}.transcript p{white-space:pre-wrap;line-height:1.7;overflow-wrap:anywhere}.table-wrap td button{margin:3px;font-size:12px}#item-editor{margin-top:24px}#action-result{overflow:auto}form button{justify-self:start}#message:empty{min-height:0;margin:0}#message:not(:empty){padding:14px;border-radius:9px;background:#f8ecdf}a.brand:focus-visible{outline-color:#d8f27b}@media(max-width:1100px){.assistant-layout{grid-template-columns:1fr}.stats.six{grid-template-columns:repeat(2,minmax(0,1fr))}.hero{display:block}}@media(max-width:700px){nav{margin-top:16px;overflow-x:auto;overflow-y:hidden}.hero h2{font-size:30px}.stats.six .stat strong{font-size:23px}.line-picker{grid-template-columns:1fr}.flow{gap:5px}.flow span{padding:8px}.steps{gap:6px}.steps span{font-size:11px;padding:7px 10px}aside{padding:20px}.row-form .wide{grid-column:auto}}

/* One commerce workspace; each panel retains its form and quote while hidden. */
.commerce-shell{min-width:0}.commerce-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:22px}.commerce-heading>div{min-width:0}.commerce-heading h2{font-size:24px;letter-spacing:-.4px;line-height:1.35;color:#30384d;margin:0}.commerce-heading p{font-size:13px;line-height:1.8;color:#798093;margin:7px 0 0}.commerce-section-label{flex:none;padding:6px 9px;background:#f0ecfc;border:1px solid #e3dbf8;border-radius:6px;font-size:12px;line-height:1.6;color:#79629f}.commerce-tabs{display:flex;align-items:stretch;gap:6px;background:#fff;border:1px solid #e4e4ed;border-radius:11px;padding:6px;margin:0 0 22px;width:max-content;max-width:100%}.commerce-tabs button{border:1px solid transparent;background:transparent;color:#788093;font-size:13px;font-weight:500;line-height:1.5;padding:10px 20px;border-radius:7px;min-height:42px;white-space:nowrap}.commerce-tabs button:hover{background:#f5f1fc;color:#6a53a3}.commerce-tabs button[aria-selected=true]{background:#ede7fc;border-color:#e0d6f7;color:#6b4eac}.commerce-tabs button:focus-visible{outline:3px solid #beaceb;outline-offset:2px}.commerce-panel{min-width:0}.commerce-panel[hidden]{display:none!important}.commerce-loading{font-size:13px;line-height:1.8;padding:24px;color:#7b8191;background:#fff;border:1px solid #e5e5ed;border-radius:12px}.commerce-panel-error h3{font-size:16px;line-height:1.6;color:#715764;margin:0 0 6px}.commerce-panel-error p{font-size:13px;line-height:1.8;color:#877580;overflow-wrap:anywhere}.commerce-panel .row-form>*{min-width:0}.commerce-panel .line-picker select{width:100%}.commerce-panel .recap{overflow-wrap:anywhere}
@media(max-width:700px){.commerce-heading{align-items:flex-start;flex-direction:column;gap:10px;margin-bottom:18px}.commerce-heading h2{font-size:21px}.commerce-heading p{font-size:12px;line-height:1.75}.commerce-section-label{font-size:12px}.commerce-tabs{display:flex;width:100%;gap:5px;margin-bottom:18px;padding:5px}.commerce-tabs button{flex:1;min-width:0;padding:10px 9px;font-size:13px}.commerce-panel .card{padding:18px}.commerce-panel .line-picker{padding:14px}.commerce-panel .recap{padding:17px}.commerce-panel .table-wrap{padding:15px}.commerce-panel .table-wrap th,.commerce-panel .table-wrap td{padding:11px 8px}}

