@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--ink:#18333f;--muted:#71818a;--navy:#132e3a;--mint:#8ce6c0;--green:#1d7659;--line:#e3e9e8;--surface:#f5f7f6;--white:#fff;--blue:#28648c}*{box-sizing:border-box}body{margin:0;font-family:'DM Sans',sans-serif;font-size:16px;color:var(--ink);background:var(--surface)}button,input,textarea,select{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible{outline:3px solid #77bca5;outline-offset:3px}input:focus,textarea:focus{outline:2px solid #76b49d;outline-offset:1px}.hidden{display:none!important}.shell{display:grid;grid-template-columns:244px minmax(0,1fr);min-height:100vh}.sidebar{background:var(--navy);color:#c7d8dd;padding:32px 20px 24px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{display:flex;gap:11px;align-items:center;font-family:Manrope,sans-serif;font-size:25px;font-weight:800;color:#fff;letter-spacing:2px;margin:0 8px 52px}.brand span{display:block;font:9px 'DM Sans',sans-serif;letter-spacing:1.6px;color:#adbec4;margin-top:3px}.workspace-label{font-size:10px;letter-spacing:1.5px;color:#93a9b3;padding:0 14px;margin-bottom:17px}.nav{display:flex;align-items:center;width:100%;border:0;background:transparent;color:#b4c7cd;text-align:left;padding:14px 14px;border-radius:7px;margin:4px 0;font-size:14px}.nav>span{font-size:20px;margin-right:12px;width:20px}.nav.active{background:#284750;color:#fff}.nav.active>span{color:var(--mint)}.nav:hover{background:#24434e}.nav b{margin-left:auto;font-size:11px;font-weight:500;background:#35515a;border-radius:4px;padding:2px 6px}.sidebar-note{font-size:12px;line-height:1.6;color:#d0dedf;border-top:1px solid #35505a;padding:22px 10px;margin-top:auto}.sidebar-note p{color:#829da7;font-size:12px;margin-bottom:8px}.green-dot{display:inline-block;width:6px;height:6px;border-radius:100%;background:var(--mint);margin-right:6px}.sidebar-bottom{margin:20px 10px 0;font-size:12px;font-weight:700;letter-spacing:.8px;color:#dde5e7}.sidebar-bottom span{display:block;font-size:11px;color:#90a7b0;font-weight:400;letter-spacing:0;margin-top:5px}.topbar{height:77px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 38px;background:#fff;font-size:13px;color:var(--muted)}.topbar strong{font-weight:500;color:#49606a}.slash{margin:0 12px;color:#b4c1c5}.connection-pill{display:flex;align-items:center;gap:8px;font-size:12px;background:#f7f9f8;border:1px solid var(--line);border-radius:30px;padding:8px 12px;color:#55666d}.connection-pill i{width:6px;height:6px;background:#b6bebb;border-radius:50%}.connection-pill.connected i{background:#38a074}.connection-pill span:last-child{margin-left:5px}.main-content{padding:38px 38px 0;max-width:1570px;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:29px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.8px;color:var(--green);margin-bottom:10px}h1,h2,h3{font-family:Manrope,sans-serif}h1{font-size:clamp(24px,2.3vw,32px);line-height:1.3;letter-spacing:-1.1px;margin:0 0 9px;font-weight:800}.page-heading p{margin:0;color:var(--muted);font-size:14px}.private-badge{font-size:11px;white-space:nowrap;color:#84948e;align-self:flex-start;margin-top:7px}.search-card{display:grid;grid-template-columns:minmax(0,1fr) 268px;border:1px solid var(--line);background:#fff;border-radius:12px;box-shadow:0 3px 12px #173d2904;overflow:hidden}.search-main{padding:25px 28px 18px}.search-main label{display:block;font-weight:700;font-size:15px;margin-bottom:5px}.hint{font-size:12px;color:var(--muted);line-height:1.7}.search-main textarea{resize:vertical;width:100%;min-height:123px;max-height:350px;border:1px solid #d9e3de;border-radius:7px;padding:13px 16px;display:block;margin-top:16px;font-size:16px;line-height:1.65;color:var(--ink);background:#fcfdfc}.search-main textarea::placeholder{color:#a1aea8}.search-bottom{display:flex;justify-content:space-between;margin-top:11px;font-size:11px;color:#8d9b95}.search-bottom span:first-child{font-weight:600;color:#72887c}kbd{font-family:inherit;font-size:10px;background:#f4f6f4;border:1px solid var(--line);border-radius:3px;padding:1px 3px}.search-options{border-left:1px solid var(--line);padding:25px 24px;background:#fbfcfb;display:flex;flex-direction:column}.field-label{font-size:10px;font-weight:700;letter-spacing:1px;color:#84938a;margin-bottom:15px}.source-option{display:flex;align-items:center;gap:9px;font-size:13px;line-height:1.5;margin-bottom:10px}.source-option input{accent-color:var(--green);width:15px;height:15px}.source-option small{font-size:10px;color:#90a094;margin-left:auto}.factor-note{border-top:1px solid var(--line);padding-top:14px;margin-top:8px;margin-bottom:20px}.factor-note>span{display:block;font-size:11px;color:#8b9a91;margin-bottom:4px}.factor-note strong{font-size:12px;font-weight:500;color:#556a5f}.factor-note i{font-style:normal;margin:0 5px;color:#adbbb2}.primary,.secondary{display:inline-flex;justify-content:center;align-items:center;gap:9px;border-radius:6px;padding:11px 15px;font-size:12px;font-weight:600;min-height:40px;border:1px solid transparent;white-space:nowrap}.primary{background:var(--green);color:white;box-shadow:0 2px 3px #173d2910}.primary:hover{background:#155d46}.search-options>.primary{margin-top:auto;width:100%}.search-options>.primary span:first-child{font-size:19px;line-height:14px}.search-options>.primary span:last-child{margin-left:auto}.secondary{border-color:#dce4df;color:#52675c;background:white}.secondary:hover{background:#f6f9f6}.text-button{background:none;border:0;color:var(--green);font-size:12px;padding:10px;font-weight:600}.inline{display:inline-block;padding-left:0}.small{min-height:35px;padding:8px 13px}.notice{display:flex;align-items:center;gap:10px;padding:13px 17px;border:1px solid #e5ddc7;background:#fffaf0;color:#7c673f;font-size:13px;border-radius:7px;margin-top:16px;line-height:1.6}.notice.error{background:#fff4f2;border-color:#f0d4ca;color:#a34c3b}.notice.info{background:#eef5f8;border-color:#d6e5ec;color:#466673}.progress{margin-top:18px}.progress>div:first-child{display:flex;justify-content:space-between;font-size:12px;margin-bottom:8px}.progress strong{font-weight:500}.progress-track{height:3px;background:#e1eae4;border-radius:8px;overflow:hidden}.progress-track span{height:100%;display:block;background:var(--green);transition:width .3s}.results-header{display:flex;align-items:center;justify-content:space-between;margin:33px 0 17px;gap:20px}.results-header h2{display:flex;gap:9px;align-items:center;font-size:17px;margin:0}.count-badge{font:11px 'DM Sans',sans-serif;background:#e4ebe7;padding:3px 7px;border-radius:4px;color:#577363}.results-header p{font-size:12px;color:#8a9a90;margin:6px 0 0}.result-actions{display:flex;gap:10px}.result-actions input{width:180px;background:transparent;border:1px solid var(--line);border-radius:5px;font-size:12px;padding:10px 12px}.result-actions input::placeholder{color:#98a59e}.result-actions .secondary{font-size:11px;padding:9px 12px}.empty-state{text-align:center;padding:48px 25px 53px;border:1px solid var(--line);border-radius:10px;background:#fff}.empty-icon{width:49px;height:49px;border-radius:13px;background:#eff5f0;border:1px solid #e5ece7;display:grid;place-items:center;font-size:34px;color:#527967;margin:0 auto 19px}.empty-state h3{font-size:16px;margin:0 0 10px;font-weight:700}.empty-state p{font-size:13px;line-height:1.8;color:#8c9b93;margin:0 0 23px}.empty-state>div:last-child{display:flex;justify-content:center;gap:12px}.table-wrap{overflow-x:auto;background:white;border:1px solid var(--line);border-radius:9px}table{border-collapse:collapse;width:100%;font-size:12px}th{font-size:10px;letter-spacing:.5px;font-weight:600;text-transform:uppercase;background:#f9fbf9;color:#7e9185;padding:14px 16px;text-align:left;border-bottom:1px solid var(--line);white-space:nowrap}th button{border:0;padding:0;background:transparent;color:inherit;text-transform:inherit;font:inherit;letter-spacing:inherit}td{padding:18px 16px;border-bottom:1px solid #edf1ee;vertical-align:middle}tr:last-child td{border-bottom:0}tbody tr:hover{background:#fcfdfc}td.query{width:85px}.query-tag{font-family:monospace;font-size:12px;color:#698075;border:1px solid #e3eae5;background:#f7faf7;border-radius:4px;display:inline-block;padding:4px 7px;white-space:pre-wrap}td.product{min-width:230px;max-width:450px}.product-title{font-size:12px;font-weight:600;line-height:1.65}.product-meta{font-size:10px;color:#96a69b;margin-top:5px;line-height:1.5}.numeric{text-align:right}.price{font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:600;font-size:14px;color:#244a38}.base-price{font-size:10px;color:#99a69d;margin-top:4px;white-space:nowrap}.stock-pill{border-radius:4px;padding:4px 7px;font-size:11px;white-space:nowrap;color:#3e8160;background:#eaf5ed;font-weight:500}.stock-pill.zero{background:#faf0e6;color:#a77942}.stock-pill.unknown{background:#f1f3f3;color:#829087}.provider-cell{font-size:11px;color:#6d8174;white-space:nowrap}.source-dot{width:5px;height:5px;border-radius:50%;background:#8ebea0;display:inline-block;margin-right:5px}.table-footer{display:flex;justify-content:space-between;gap:16px;font-size:10px;line-height:1.6;color:#95a398;padding:14px 1px}.query-status{font-size:12px;margin:9px 0;padding:11px 14px;background:#fff;border:1px solid var(--line);border-radius:6px;color:#7d8d82}.query-status.error{border-left:3px solid #c77a61}footer{border-top:1px solid var(--line);margin-top:35px;padding:21px 0;font-size:10px;color:#9ca99f;letter-spacing:.2px;display:flex;gap:10px}footer>span:last-child{margin-left:auto;letter-spacing:0}.provider-card{display:flex;gap:18px;align-items:center;border:1px solid var(--line);border-radius:9px;padding:24px;background:#fff;margin-bottom:14px}.provider-logo{width:54px;height:54px;border-radius:10px;background:#edf3f6;display:grid;place-items:center;color:#365d7b;font-weight:800;font-size:16px}.provider-info{flex:1}.provider-info h2{font-size:17px;margin:0 0 6px}.provider-info p{font-size:13px;margin:0 0 8px;color:var(--muted)}.status-label{font-size:11px;color:var(--green)}.section-title{display:flex;justify-content:space-between;align-items:center;margin-top:35px;margin-bottom:15px}.section-title h2{font-size:16px;margin:0}.section-title span{font-size:12px;color:var(--muted)}.info-box{padding:22px 25px;background:#edf2ef;border:1px solid var(--line);border-radius:8px;margin-top:26px;font-size:13px;line-height:1.7}.info-box p{margin:7px 0 0;color:var(--muted)}.no-lists{padding:30px;text-align:center;border:1px dashed #ccd9cf;border-radius:8px;font-size:13px;color:var(--muted)}.list-actions{display:flex;gap:6px}.settings-card{max-width:760px;background:white;border:1px solid var(--line);border-radius:10px;padding:32px}.settings-card>div{margin-bottom:28px}.settings-card label{font-size:15px;font-weight:600}.settings-card p{font-size:13px;color:var(--muted);line-height:1.7;margin:7px 0 15px}.factor-field{display:flex;align-items:center;gap:15px;font-size:13px;color:#6b8072}.factor-field input{width:130px}.rule-explanation{background:#f5f8f5;padding:20px;border-radius:7px;font-size:13px}.rule-explanation p{margin-bottom:0}.settings-card>span{font-size:12px;color:var(--green);padding-left:12px}input:not([type=checkbox]),textarea{color:var(--ink)}.settings-card input,#import-form input{border:1px solid #d7e2d9;border-radius:5px;padding:11px 13px;background:#fdfefd}dialog{border:1px solid var(--line);box-shadow:0 25px 100px #0b2b3b33;border-radius:13px;padding:28px;max-width:630px;width:calc(100% - 32px);color:var(--ink);max-height:90vh}dialog::backdrop{background:#0f2d3a66;backdrop-filter:blur(2px)}.dialog-heading{display:flex;align-items:flex-start;justify-content:space-between}.dialog-heading h2{font-size:23px;margin:0}.dialog-heading .eyebrow{font-size:9px;margin-bottom:7px}.icon-button{width:30px;height:30px;border:1px solid var(--line);border-radius:6px;font-size:20px;line-height:20px;background:white;color:#73877b}dialog>p{font-size:14px;line-height:1.7;color:var(--muted);margin-top:15px}.setup-steps{counter-reset:steps;list-style:none;padding:0;margin-top:25px}.setup-steps li{position:relative;padding-left:42px;margin-bottom:26px;font-size:14px}.setup-steps li:before{counter-increment:steps;content:counter(steps);position:absolute;left:0;top:-3px;width:28px;height:28px;border:1px solid #d3e4d8;border-radius:50%;display:grid;place-items:center;font-size:12px;color:var(--green);background:#edf6ef}.setup-steps p{font-size:13px;line-height:1.75;color:var(--muted);margin:6px 0 10px}code{font-size:12px;background:#f1f5f1;border-radius:3px;padding:2px 4px;color:#617c68}.dialog-foot{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding-top:20px;margin-top:20px;gap:15px}.dialog-foot>span{font-size:11px;color:#8a9b8e;line-height:1.6}#import-form{margin-top:25px}#import-form label{display:block;font-size:12px;font-weight:600;margin:15px 0 7px}#import-form input{width:100%;font-size:13px}.import-row{display:grid;grid-template-columns:1fr 1.6fr;gap:16px}.form-error{color:#af5042;font-size:13px;line-height:1.7}#import-preview{font-size:12px;color:var(--green);padding-top:10px}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);border-radius:7px;padding:13px 22px;color:white;background:var(--navy);box-shadow:0 5px 20px #0002;font-size:13px;z-index:100;max-width:90%;line-height:1.5}
@media(min-width:1500px){.main-content{padding-top:46px}.search-card{grid-template-columns:minmax(0,1fr) 310px}td{padding:22px 20px}}@media(max-width:1150px){.shell{grid-template-columns:205px minmax(0,1fr)}.sidebar{padding:28px 13px}.brand{font-size:22px;margin-bottom:45px}.brand span{font-size:8px}.nav{font-size:12px;padding:12px 10px}.topbar{padding:0 25px}.main-content{padding:28px 25px 0}.search-card{grid-template-columns:minmax(0,1fr) 240px}.search-main{padding:23px}.search-options{padding:23px 18px}.private-badge{display:none}.result-actions input{width:145px}.product-title{font-size:12px}}@media(max-width:900px){.shell{grid-template-columns:1fr}.sidebar{position:relative;height:auto;display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:13px 20px;gap:16px}.brand{margin:0;font-size:20px;gap:8px}.brand img{width:33px;height:33px}.brand span{display:none}.workspace-label,.sidebar-note,.sidebar-bottom{display:none}.sidebar nav{display:flex;gap:5px}.nav{margin:0;white-space:nowrap;font-size:11px;padding:10px}.nav>span{display:none}.nav b{margin-left:6px}.topbar{height:60px}.main-content{padding-top:28px}h1{font-size:27px}.page-heading p{font-size:13px}.results-header p{max-width:300px}}@media(max-width:640px){.sidebar{padding:12px}.brand{font-size:18px}.brand img{width:28px;height:28px}.sidebar nav{gap:0}.nav{padding:10px 7px;font-size:10px}.nav b{display:none}.topbar{padding:0 17px;font-size:10px;height:52px}.connection-pill{font-size:10px;padding:7px 9px}.connection-pill span:last-child{display:none}.main-content{padding:25px 17px 0}.page-heading{align-items:flex-start;flex-direction:column;margin-bottom:22px}.eyebrow{font-size:9px}h1{font-size:25px;max-width:310px}.page-heading p{line-height:1.7}.search-card{grid-template-columns:1fr}.search-main{padding:20px 20px 14px}.search-options{border-left:0;border-top:1px solid var(--line);padding:18px 20px}.source-option{font-size:13px}.factor-note{margin-bottom:15px}.search-bottom{font-size:10px}.results-header{align-items:flex-start;flex-direction:column;margin-top:26px;gap:13px}.result-actions{width:100%}.result-actions input{flex:1;width:0}.empty-state{padding:33px 15px}.empty-state p br{display:none}.empty-state>div:last-child{flex-direction:column;align-items:center;gap:5px}.table-footer{flex-direction:column;gap:4px}.provider-card{flex-wrap:wrap;padding:20px;gap:14px}.provider-info{min-width:190px}.provider-info p{font-size:12px;line-height:1.7}.provider-logo{width:42px;height:42px;font-size:13px}.section-title{align-items:flex-start;gap:10px;flex-direction:column}.settings-card{padding:23px}.import-row{grid-template-columns:1fr;gap:0}dialog{padding:23px}.dialog-foot{flex-wrap:wrap}.dialog-heading h2{font-size:21px}footer>span:last-child{display:none}.price{font-size:13px}td{padding:15px 13px}.table-wrap{margin-right:-17px;border-top-right-radius:0;border-bottom-right-radius:0}}

/* Readable labels on dense tables and narrow screens. */
.workspace-label,.brand span,.eyebrow,.field-label,.source-option small,.factor-note>span,.search-bottom,kbd,.count-badge,.results-header p,.result-actions input,.result-actions .secondary,.product-meta,.base-price,.stock-pill,.provider-cell,.table-footer,.status-label,.section-title span,footer,.dialog-foot>span,.dialog-heading .eyebrow,.private-badge{font-size:12px}
th{font-size:12px}.product-title{font-size:14px}.primary,.secondary,.text-button,.nav{font-size:14px}.hint,.source-option,.results-header p{font-size:13px}.brand span{font-size:9px}.workspace-label{font-size:10px}
@media(max-width:640px){.nav{font-size:12px}.brand{font-size:16px}.brand img{width:25px;height:25px}.sidebar{gap:5px}.topbar{font-size:12px}.connection-pill{font-size:12px}.slash{margin:0 5px}.search-bottom{flex-wrap:wrap;gap:8px}.table-footer{font-size:12px}.result-actions .secondary{font-size:12px}.product-title{font-size:13px}.primary,.secondary{font-size:13px}}
