:root{--ink:#172a2b;--muted:#758080;--paper:#f6f8f7;--green:#10776a;--green-light:#e9f3ef;--line:#e3e9e6;--orange:#e5894e;--white:#fff;font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;color:var(--ink);background:var(--paper);font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}a{color:var(--green);text-decoration:none}button{border:0;background:none;color:inherit}input,textarea,select{border:1px solid var(--line);border-radius:8px;background:white;padding:12px 14px;color:var(--ink);min-width:0}input:focus,textarea:focus,select:focus{outline:2px solid #4c9b89;outline-offset:2px}button:focus-visible,a:focus-visible{outline:3px solid #64ac99;outline-offset:4px}textarea{resize:vertical}label{display:block;font-weight:600;font-size:13px;margin:20px 0}label input{display:block;width:100%;margin-top:8px}h1,h2,h3,p{margin-top:0}h1{font-size:36px;letter-spacing:-1.4px;font-weight:600;line-height:1.15;margin-bottom:12px}h2{font-size:24px;letter-spacing:-.7px;font-weight:600}h3{font-size:16px;line-height:1.4}p{line-height:1.65}.muted{color:var(--muted)}.accent{color:var(--green)}.eyebrow{font-size:10px;letter-spacing:1.7px;font-weight:700;color:var(--green);margin-bottom:16px}.logo{font-size:27px;font-weight:850;letter-spacing:-1.1px;color:var(--ink);display:block;white-space:nowrap}.logo span{color:var(--green)}.logo small{font-size:9px;letter-spacing:2.2px;display:block;margin-top:7px;color:var(--muted);font-weight:600}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:12px;border-radius:7px;padding:12px 18px;min-height:42px;font-weight:600;font-size:13px}.primary{background:var(--green);color:white}.primary:hover{background:#075f55}.secondary{background:white;border:1px solid var(--line)}.secondary:hover{background:var(--green-light)}.wide{width:100%}.text-button{color:var(--green);font-weight:600;padding:8px 0}.icon-button{font-size:22px;padding:7px;line-height:1}.hint{font-size:12px;color:var(--muted);line-height:1.6}.panel{border:1px solid var(--line);background:white;border-radius:12px;padding:24px}.sidebar{width:240px;position:fixed;inset:0 auto 0 0;background:white;border-right:1px solid var(--line);padding:32px 20px 16px;display:flex;flex-direction:column;z-index:15}.sidebar>.logo{padding-left:16px}.side-label{font-size:9px;font-weight:700;letter-spacing:1.5px;color:#99a29f;margin:48px 16px 14px}nav{display:grid;gap:6px}.nav{display:flex;align-items:center;text-align:left;gap:12px;border-radius:7px;padding:14px 13px;color:#64716f;font-size:12px;font-weight:600}.nav span{font-size:21px;font-weight:400;width:22px;text-align:center}.nav b{margin-left:auto;font-size:10px;background:#dcebe4;padding:3px 6px;border-radius:4px}.nav b:empty{display:none}.nav.active{color:var(--green);background:var(--green-light)}.side-note{margin:auto 8px 24px;border:1px solid var(--line);padding:18px 14px;border-radius:9px;font-size:11px}.side-note strong{display:block;margin:9px 0}.side-note p{font-size:11px;color:var(--muted);margin-bottom:12px}.side-note a{font-size:12px;font-weight:600}.online-dot{height:7px;width:7px;background:#51a583;border-radius:50%}.profile{display:flex;align-items:center;gap:10px;border-top:1px solid var(--line);padding-top:18px}.avatar{display:flex;align-items:center;justify-content:center;width:34px;height:34px;flex-shrink:0;background:#e6efeb;color:var(--green);border-radius:50%;font-weight:700}.profile strong{font-size:11px;display:block;max-width:120px;overflow:hidden;text-overflow:ellipsis}.profile small{display:block;color:var(--muted);font-size:10px;margin-top:5px;max-width:120px;overflow:hidden;text-overflow:ellipsis}.profile form{margin-left:auto}.workspace{margin-left:240px}.topbar{height:72px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 42px;font-size:11px;color:#87918d}.slash{margin:0 14px;color:#c6ceca}.connection{color:#568573;font-size:10px}.topbar>div{display:flex;gap:20px;align-items:center}.demo-tag{font-size:9px;letter-spacing:1px;padding:5px 8px;border:1px solid #e6cb98;color:#9e731e;border-radius:4px}.page{max-width:1600px;padding:40px 42px 100px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}.page-heading p{font-size:12px;margin-bottom:0}.page-heading .eyebrow{margin-bottom:12px}.catalog-banner{height:210px;border-radius:12px;background:#e6eeea;display:flex;justify-content:space-between;padding:30px 34px;overflow:hidden;position:relative;margin-bottom:30px}.tag{font-size:8px;letter-spacing:1.5px;font-weight:700;color:#43816b}.catalog-banner h2{font-size:26px;line-height:1.2;margin:13px 0 10px;letter-spacing:-.6px}.catalog-banner p{font-size:11px;color:#6e8278;line-height:1.6}.banner-mark{width:35%;position:relative;display:flex;justify-content:center;align-items:center}.banner-mark>span{position:absolute;bottom:-8px;font-size:7px;letter-spacing:2px;color:#739687}.camera-drawing{height:86px;width:150px;transform:rotate(-22deg);border-radius:28px 18px 18px 28px;background:linear-gradient(150deg,#fff,#d2dfd8);box-shadow:12px 27px 24px #71938236;position:relative;border:1px solid #becfc4}.camera-drawing i{position:absolute;right:-15px;top:5px;height:75px;width:44px;border-radius:50%;background:#38534a;border:9px solid #edf1ed;box-shadow:0 0 0 1px #b1c1b7}.camera-drawing i:after{content:'';position:absolute;inset:10px 2px;border-radius:50%;background:radial-gradient(circle at 40% 30%,#80a8b9,#142d35 50%);border:3px solid #2d4346}.camera-drawing b{position:absolute;width:18px;height:51px;background:#c0d0c6;left:25px;bottom:-35px;border-radius:4px;transform:rotate(20deg)}.catalog-toolbar{display:flex;gap:12px}.search-input{display:flex;align-items:center;gap:12px;background:white;border:1px solid var(--line);border-radius:8px;flex:1;padding:0 16px}.search-input>span{font-size:25px;color:#7c8b85}.search-input input{width:100%;border:0;padding:15px 0;font-size:12px;outline-offset:0}.search-input kbd{font-size:12px;color:#a7b1ac;border:1px solid var(--line);padding:2px 5px;border-radius:4px}.catalog-toolbar select{font-size:11px;max-width:175px}.catalog-meta{display:flex;justify-content:space-between;margin:22px 0 16px;font-size:10px;color:var(--muted)}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.product-card{background:white;border:1px solid var(--line);border-radius:10px;padding:20px;display:flex;flex-direction:column;min-height:295px;transition:border-color .15s,box-shadow .15s}.product-card:hover{border-color:#b2ccbf;box-shadow:0 5px 20px #1d493c06}.product-top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:17px}.brand{font-size:10px;font-weight:800;letter-spacing:.5px;color:#576d63}.category-symbol{width:44px;height:38px;display:flex;align-items:center;justify-content:center;color:#9eafa6;background:#f2f6f3;border-radius:7px;font-size:23px}.product-card h3{font-size:13px;font-weight:700;word-break:break-word;margin-bottom:7px}.product-card .description{color:#7d8782;font-size:10px;line-height:1.6;min-height:34px;margin-bottom:15px}.availability{font-size:10px;display:flex;align-items:center;gap:6px;color:#4c8669;line-height:1.5}.availability:before{content:'';width:5px;height:5px;border-radius:50%;background:currentColor;flex-shrink:0}.availability.unknown{color:#9a8564}.product-price{margin-top:auto;border-top:1px solid #f0f3f1;padding-top:16px;display:flex;align-items:end;justify-content:space-between;gap:10px}.price-label{font-size:9px;color:var(--muted);display:block;margin-bottom:5px}.price-value{font-size:18px;font-weight:650;letter-spacing:-.6px}.price-note{font-size:9px;color:#8c9690;margin-top:5px}.add-product{border:1px solid var(--line);border-radius:6px;width:36px;height:36px;color:var(--green);font-size:22px}.add-product:hover{color:white;background:var(--green)}.catalog-bottom{margin:24px 0;display:flex;align-items:center;gap:8px;font-size:11px;color:var(--muted)}.pagination{display:flex;align-items:center;gap:15px;justify-content:center;margin-top:22px;font-size:12px}.footer{display:flex;justify-content:space-between;border-top:1px solid var(--line);margin-top:40px;padding-top:22px;color:#9ba49f;font-size:9px}.tabs{display:flex;gap:6px;margin-bottom:24px;flex-wrap:wrap}.tabs button{padding:10px 15px;font-size:11px;border-radius:6px;color:var(--muted)}.tabs button.active{background:white;color:var(--ink);box-shadow:0 1px 5px #162d2110;border:1px solid var(--line)}.order-row{background:white;border:1px solid var(--line);border-radius:10px;padding:20px 24px;display:flex;align-items:center;gap:20px;margin-bottom:12px;text-align:left;width:100%}.order-number{color:#96a69d;font-size:11px}.order-row h3{font-size:14px;margin:4px 0 6px}.order-row p{font-size:11px;color:var(--muted);margin:0}.order-row>div:first-child{flex:1}.order-row>.arrow{font-size:22px;color:var(--green)}.status{display:inline-block;border-radius:5px;padding:6px 9px;background:#f1f3f2;color:#7d8882;font-size:10px;white-space:nowrap}.status.requested{background:#fff3df;color:#a27526}.status.quoted{background:#e6f1eb;color:#2d8564}.status.accepted{background:#e4eef5;color:#417c9c}.empty-state{text-align:center;border:1px dashed #cddbd3;border-radius:12px;padding:55px 25px;color:var(--muted);grid-column:1/-1}.empty-state h2{color:var(--ink);font-size:20px}.empty-state p{font-size:12px}.order-top{margin-bottom:25px}.order-title-row{display:flex;justify-content:space-between;gap:20px;align-items:center;margin:18px 0}.order-title-row h1{margin:0;font-size:30px}.order-title-row input{font-size:22px;font-weight:600;width:min(100%,500px)}.order-meta{font-size:11px;color:var(--muted)}.order-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:22px 0}.order-columns{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:22px;align-items:start}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}th{color:#929c96;font-weight:500;font-size:10px;padding:14px 12px;border-bottom:1px solid var(--line)}td{padding:17px 12px;border-bottom:1px solid #f0f3f1}td small{display:block;font-size:10px;color:var(--muted);margin-top:5px;max-width:250px}.qty-input{width:74px;padding:8px;font-size:12px}.price-input{width:115px;padding:8px}.delivery-input{min-width:180px;width:100%;padding:8px}.quote-panel{margin-top:22px}.quote-panel h2{font-size:19px}.quote-summary{display:flex;justify-content:space-between;align-items:center;margin:20px 0;padding-top:18px;border-top:1px solid var(--line)}.quote-summary strong{font-size:25px}.quote-note{white-space:pre-wrap;font-size:12px}.quote-form label{margin:14px 0}.quote-form textarea{width:100%}.quote-history{margin-top:20px;font-size:12px}.quote-history summary{cursor:pointer;color:var(--green);padding:10px 0}.chat-panel{padding:0;overflow:hidden;display:flex;flex-direction:column}.chat-heading{padding:18px;display:flex;align-items:center;gap:10px;border-bottom:1px solid var(--line)}.chat-heading strong{font-size:12px;display:block}.chat-heading small{font-size:9px;color:var(--muted);display:block;margin-top:5px}.chat-messages{height:360px;overflow:auto;padding:18px;display:flex;flex-direction:column;gap:14px}.message{max-width:92%;align-self:flex-start;background:#f1f4f2;border-radius:9px 9px 9px 0;padding:12px;font-size:12px}.message.own{align-self:flex-end;background:#e4f0e9;border-radius:9px 9px 0 9px}.message p{white-space:pre-wrap;overflow-wrap:anywhere;margin:5px 0;line-height:1.6}.message strong{font-size:10px}.message time{font-size:8px;color:#93a297;display:block;text-align:right}.message-form{padding:14px;border-top:1px solid var(--line);display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}.message-form textarea{width:100%;font-size:12px}.message-form button{padding:9px 15px;font-size:11px}.messages-layout{display:flex;gap:20px}.messages-layout>.chat-panel{flex:1;max-width:850px}.messages-layout>#conversationList{width:260px;padding:10px}.conversation{display:block;width:100%;text-align:left;padding:15px;border-radius:8px;border-bottom:1px solid var(--line);font-size:12px}.conversation.active{background:var(--green-light)}.active-order-bar{position:fixed;bottom:22px;left:282px;right:42px;max-width:1276px;background:#193e34;color:white;border:1px solid #456156;padding:15px 20px;border-radius:10px;display:flex;justify-content:space-between;align-items:center;box-shadow:0 8px 30px #163c3420;z-index:20}.active-order-bar small{font-size:9px;display:block;color:#a2c1b2;margin-bottom:5px}.active-order-bar strong{font-size:12px}.active-order-bar button{background:#fff;color:#245344;font-size:11px;border-radius:6px;padding:10px 16px}.company-card{display:flex;align-items:center;gap:20px;margin-bottom:12px;flex-wrap:wrap}.company-card>div{flex:1}.company-card h3{margin-bottom:7px}.company-card p{margin-bottom:0;font-size:12px;color:var(--muted)}dialog{border:1px solid var(--line);border-radius:14px;padding:28px;width:480px;max-width:calc(100% - 32px);box-shadow:0 20px 80px #102a2722;color:var(--ink)}dialog::backdrop{background:#1b302e55;backdrop-filter:blur(3px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.dialog-head h2{margin:0}.dialog-head+p{font-size:12px}dialog textarea{width:100%;margin-bottom:20px}dialog .order-row{padding:14px;font-size:12px}.toast{position:fixed;bottom:90px;left:50%;transform:translateX(-50%);background:#183b32;color:#fff;padding:14px 24px;border-radius:9px;z-index:100;font-size:12px;box-shadow:0 5px 30px #172b2922;max-width:90vw}.toast.error{background:#8c3e35;color:white}.auth-page{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:#fff}.auth-brand{background:#e5ede7;padding:55px 60px;display:flex;flex-direction:column;justify-content:space-between;min-height:100vh}.auth-brand h1{font-size:48px;line-height:1.15;letter-spacing:-2px}.auth-brand p{color:#718477;font-size:13px}.auth-brand>.muted{font-size:10px}.auth-features{display:grid;gap:20px;font-size:11px;color:#5a7563;margin-top:45px}.auth-card{width:390px;max-width:calc(100% - 48px);margin:auto;padding:48px 0}.auth-card h2{font-size:27px}.auth-card>p{font-size:12px}.auth-footer{margin-top:25px;font-size:12px}.error{background:#fff0ec;color:#9e4c36;padding:12px;border-radius:7px;font-size:12px;margin:18px 0}.demo-panel{border-top:1px solid var(--line);padding-top:20px;margin-top:25px}.demo-panel strong{font-size:12px}.demo-panel form{margin-top:10px}.center-page{min-height:100vh;display:grid;place-items:center;padding:25px}.narrow{max-width:540px}.narrow h1{margin-top:25px;font-size:27px}.narrow form{margin-top:12px}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0)}[hidden]{display:none!important}.loading{color:var(--muted);padding:30px;text-align:center}.bulk-line{grid-column:1/-1;font-size:12px;color:var(--green);margin:20px 0 0}.inline-banner{background:#edf4ef;color:#56745f;padding:16px 20px;border-radius:8px;font-size:12px;line-height:1.7;margin-bottom:22px}.recovery-box{word-break:break-all;padding:15px;background:#edf4ef;font-size:12px}.button-row{display:flex;gap:10px;flex-wrap:wrap}
@media(min-width:1500px){.product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:1150px){.sidebar{width:210px;padding-left:14px;padding-right:14px}.workspace{margin-left:210px}.page{padding:30px 26px 100px}.topbar{padding:0 26px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.order-columns{grid-template-columns:1fr}.order-columns>.chat-panel{max-width:none}.active-order-bar{left:236px;right:26px}.banner-mark{width:30%}.auth-brand{padding:45px 35px}.auth-brand h1{font-size:39px}}@media(max-width:760px){.sidebar{position:static;width:100%;height:auto;padding:18px;border-right:0;border-bottom:1px solid var(--line);display:block}.sidebar>.logo{padding:0;font-size:24px}.sidebar>.logo small{display:inline;margin-left:12px;font-size:8px}.side-label,.side-note,.profile{display:none}nav{display:flex;gap:5px;margin-top:18px;overflow-x:auto}.nav{font-size:10px;padding:10px;white-space:nowrap}.nav span{display:none}.workspace{margin:0}.topbar{height:48px;padding:0 20px;font-size:10px}.page{padding:25px 18px 100px}h1{font-size:28px;letter-spacing:-.9px}.eyebrow{font-size:8px;letter-spacing:1.1px}.page-heading{align-items:flex-start;flex-wrap:wrap;gap:15px;margin-bottom:22px}.page-heading .primary{font-size:11px;min-height:36px;padding:10px 14px}.page-heading p{font-size:11px}.catalog-banner{padding:24px;height:190px;margin-bottom:22px}.catalog-banner h2{font-size:24px}.catalog-banner p{font-size:10px}.banner-mark{display:none}.catalog-toolbar{flex-wrap:wrap;gap:8px}.search-input{flex-basis:100%}.catalog-toolbar select{flex:1;max-width:none;font-size:11px;padding:10px}.catalog-toolbar .secondary{font-size:11px;padding:10px 14px}.product-grid{gap:10px}.product-card{padding:14px;min-height:280px}.product-card h3{font-size:11px}.product-card .description{font-size:9px;min-height:44px}.product-top{margin-bottom:13px}.brand{font-size:8px}.category-symbol{width:33px;height:30px;font-size:18px}.price-value{font-size:16px}.price-note{font-size:8px}.availability{font-size:9px}.add-product{height:30px;width:30px;flex-shrink:0}.product-price{gap:5px}.footer{font-size:8px;gap:20px;line-height:1.7}.active-order-bar{left:12px;right:12px;bottom:12px;padding:13px;gap:12px}.order-row{padding:16px;gap:10px}.order-row h3{font-size:12px}.order-row p{font-size:10px}.order-row .status{font-size:9px}.order-title-row{flex-wrap:wrap}.order-title-row h1{font-size:24px}.panel{padding:18px}.chat-panel{padding:0}.messages-layout{flex-direction:column}.messages-layout>#conversationList{width:auto;max-height:180px;overflow:auto}.auth-page{display:block}.auth-brand{min-height:0;padding:25px}.auth-brand>div:not(.logo),.auth-brand>.muted{display:none}.auth-card{padding:40px 0}.company-card{gap:12px}.company-card .secondary{font-size:10px}.quote-summary strong{font-size:21px}.auth-brand .logo small{display:inline;margin-left:10px}.chat-messages{height:300px}.page>.view .order-top .text-button{font-size:12px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;scroll-behavior:auto!important}}

.mobile-logout{display:none}@media(max-width:760px){.mobile-logout{display:block}.mobile-logout button{font-size:10px;padding:0}.topbar>div{gap:12px}}

/* Search-first workspace: products appear only after a query. */
.search-order-selector{display:flex;align-items:center;gap:14px;margin:18px 0 28px}.search-order-selector label{margin:0;color:var(--muted);font-size:12px;font-weight:500}.search-order-selector select{max-width:380px;flex:1;font-size:12px}.search-start{padding:52px 0 70px;text-align:center;color:var(--muted)}.search-start p{font-size:16px;color:#526b60;margin-bottom:9px}.search-start span{font-size:12px}.search-table{background:white;border:1px solid var(--line);border-radius:10px}.search-table th{padding:14px 16px}.search-table td{padding:16px;vertical-align:middle;font-size:12px}.search-table td:first-child{min-width:155px}.search-table td:nth-child(2){min-width:190px;line-height:1.6}.search-table .availability{min-width:130px}.result-price{white-space:nowrap}.result-add{font-size:11px;min-height:34px;padding:8px 12px}.search-results .bulk-line{margin:24px 0 12px}.search-results .hint{margin:15px 0}.catalog-toolbar .search-input input{font-size:14px;padding:18px 0}
@media(max-width:760px){.search-order-selector{align-items:flex-start;flex-direction:column;gap:8px}.search-order-selector select{width:100%;max-width:none}.search-table td,.search-table th{padding:12px;font-size:11px}.search-start{padding:35px 10px 55px}.search-start p{font-size:14px}.search-start span{font-size:11px}.search-order-selector label{font-size:11px}.catalog-toolbar .search-input input{font-size:12px}}
