:root{--ink:#182c3a;--red:#b71c2c;--muted:#60717e;--line:#dce5e9;--bg:#f3f6f8;--green:#267654;font:16px/1.5 Arial,Helvetica,sans-serif;color:var(--ink);background:var(--bg)}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}button,a,input,select,textarea{outline-offset:3px}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--red)}.skip{position:fixed;left:10px;top:-90px;padding:10px;background:white;z-index:100}.skip:focus{top:10px}.utility{background:var(--ink);color:white;min-height:34px;display:flex;gap:16px;align-items:center;justify-content:space-between;padding:6px 26px;font-size:12px;flex-wrap:wrap}.socials{display:flex;gap:13px;align-items:center}.socials a,.socials span{min-width:22px;text-align:center;text-decoration:none}.brand-header{background:white;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px 26px;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;min-width:0}.brand img{width:100px;max-width:100%;height:auto;flex-shrink:0}.brand strong{font-size:22px;white-space:nowrap}.brand small{display:block;color:var(--muted);font-size:11px}.header-actions{display:flex;align-items:center;gap:10px}.language{display:flex;padding:3px;border-radius:9px;background:var(--bg)}.language button{border:0;background:transparent;border-radius:7px;min-width:44px;min-height:40px;color:var(--ink)}.language .selected{background:var(--ink);color:white}.menu-button{display:none}.layout{display:grid;grid-template-columns:228px minmax(0,1fr);min-height:calc(100vh - 120px)}.sidebar{background:white;border-right:1px solid var(--line);padding:22px 15px;position:sticky;top:107px;align-self:start;height:calc(100dvh - 107px);overflow:auto}.sidebar .eyebrow{margin:0 12px 14px}.nav{display:grid;gap:5px}.nav button{min-height:44px;display:flex;align-items:center;gap:10px;border:0;background:none;border-radius:8px;text-align:left;padding:10px 12px;font-size:14px;color:var(--muted);width:100%}.nav button.selected{background:#faeeee;color:var(--red);font-weight:700}.nav .symbol{font-size:18px;width:24px;text-align:center}.sidebar-footer{border-top:1px solid var(--line);margin-top:20px;padding:15px 10px;font-size:12px;display:grid;gap:12px}.page{min-width:0}.main{padding:34px clamp(18px,3vw,45px) 70px;max-width:1600px;margin:auto;min-height:75vh}.title-row{display:flex;gap:20px;align-items:flex-start;justify-content:space-between;margin-bottom:24px}.eyebrow{font-size:11px;font-weight:700;color:var(--red);text-transform:uppercase;letter-spacing:1.6px;margin-bottom:8px}h1{font-size:clamp(27px,3vw,38px);line-height:1.15;margin:0 0 10px}h2{font-size:21px;line-height:1.3;margin:0 0 15px}h3{margin:0 0 10px;font-size:17px}p{margin:0 0 15px}.subtle,.title-row p{color:var(--muted);font-size:14px;max-width:760px}.primary,.secondary,.danger,.icon-button{min-height:44px;border-radius:8px;padding:10px 17px;font-weight:700;font-size:14px;display:inline-flex;align-items:center;justify-content:center;gap:9px;text-decoration:none;border:1px solid transparent}.primary{background:var(--ink);color:white}.primary.red{background:var(--red)}.secondary,.icon-button{background:white;border-color:var(--line);color:var(--ink)}.danger{background:#fff3f3;border-color:#f1c4c9;color:var(--red)}.actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.card{background:white;border:1px solid var(--line);border-radius:14px;padding:24px;margin-bottom:20px}.notice{padding:12px 16px;border:1px solid #d8e6ed;background:#edf5f8;border-radius:8px;font-size:13px;margin-bottom:18px;color:#35586e}.notice.warning{background:#fff8ec;border-color:#ecd7ab;color:#795613}.notice.error,.form-error{background:#fff3f3;color:#9b2433;border-color:#edc7cc}.notice.success{background:#edf8f2;color:#226044;border-color:#c8e7d4}.grid-two{display:grid;grid-template-columns:1fr 1fr;gap:20px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:22px}.stat{padding:20px;border:1px solid var(--line);border-radius:12px;background:white}.stat span{font-size:12px;color:var(--muted);display:block}.stat strong{display:block;font-size:29px;margin-top:7px;overflow-wrap:anywhere}.search-row{display:flex;gap:12px;align-items:center;margin-bottom:20px;flex-wrap:wrap}.search-row input{flex:1;min-width:160px}.products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.product{border:1px solid var(--line);border-radius:13px;background:white;overflow:hidden;display:flex;flex-direction:column}.product-photo{aspect-ratio:1.2;background:white;padding:20px;display:flex;align-items:center;justify-content:center}.product-photo img{width:100%;height:100%;object-fit:contain;max-height:230px}.missing-photo{color:var(--muted);font-size:13px}.product-body{padding:18px;border-top:1px solid #edf1f3;display:flex;flex:1;flex-direction:column;gap:9px}.product-body h2{font-size:17px;margin:0}.product-body small{color:var(--muted);font-size:11px;overflow-wrap:anywhere}.product-price{font-size:20px;font-weight:700}.stock{font-size:11px;color:var(--green)}.stock.out{color:#a15122}.product-body .secondary{margin-top:auto}.data-note{font-size:12px;color:var(--muted);margin:12px 0}.table-wrap{overflow:auto;max-width:100%;background:white;border:1px solid var(--line);border-radius:12px}table{width:100%;border-collapse:collapse;font-size:13px;text-align:left}th{background:#eef2f5;font-size:11px;text-transform:uppercase;letter-spacing:.5px;color:var(--muted)}th,td{padding:14px 16px;border-bottom:1px solid var(--line);vertical-align:top}td{overflow-wrap:anywhere;max-width:400px}td small{display:block;color:var(--muted)}tr:last-child td{border-bottom:0}.badge{display:inline-block;padding:4px 9px;background:#f1f4f6;border-radius:20px;font-size:11px;white-space:nowrap}.badge.accepted,.badge.done{color:#226044;background:#e4f3eb}.badge.draft,.badge.open{color:#845a16;background:#fff5df}.empty{padding:36px 22px;background:white;border:1px dashed var(--line);border-radius:12px;color:var(--muted);text-align:center}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.field{min-width:0}.field.full,.full{grid-column:1/-1}label{display:block;font-size:13px;font-weight:700;margin:0 0 6px}input,select,textarea{width:100%;min-width:0;background:white;border:1px solid #bdcbd4;border-radius:7px;padding:11px 12px;color:var(--ink);min-height:44px}input[type=checkbox]{width:20px;min-width:20px;min-height:20px;accent-color:var(--red)}textarea{resize:vertical;min-height:95px}.check{display:flex;align-items:flex-start;gap:10px;font-size:13px;line-height:1.5;font-weight:400;padding:12px;border:1px solid var(--line);background:#f7f9fa;border-radius:8px}.check input{margin-top:1px}.password{display:flex;gap:6px}.password input{flex:1}.password button{width:48px;flex-shrink:0}.login{max-width:470px;margin:20px auto}.login .brand{margin-bottom:25px}.login .field{margin-bottom:18px}.form-error:empty{display:none}.form-error{padding:12px;border-radius:8px;font-size:13px;margin-top:12px}.form-actions{display:flex;gap:10px;margin-top:18px;flex-wrap:wrap}.quote-lines{display:grid;gap:10px;margin:15px 0}.quote-line{display:grid;grid-template-columns:minmax(140px,1fr) 85px 115px 44px;gap:9px;align-items:end;padding:12px;border:1px solid var(--line);border-radius:8px}.quote-line .field label{font-size:11px}.quote-line button{min-height:44px;border:1px solid var(--line);background:white;border-radius:7px}.totals{padding:16px;border:1px solid var(--line);border-radius:8px;background:#f7f9fa;text-align:right;margin:16px 0}.totals strong{font-size:22px}.footer{padding:22px 30px;background:white;border-top:1px solid var(--line);font-size:12px;color:var(--muted);display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap}.footer a{margin-right:12px}.chat-launch{position:fixed;bottom:24px;right:24px;background:var(--ink);color:white;border:0;border-radius:30px;padding:14px 20px;min-height:52px;font-weight:700;z-index:50;box-shadow:0 8px 30px #182c3a22}.chat-window{position:fixed;right:22px;bottom:20px;width:430px;max-width:calc(100vw - 30px);height:620px;max-height:calc(100dvh - 30px);background:white;border:2px solid var(--ink);border-radius:18px;display:flex;flex-direction:column;z-index:60;box-shadow:0 10px 60px #182c3a30;overflow:hidden}.chat-header{display:flex;align-items:center;gap:10px;background:var(--ink);color:white;padding:15px}.chat-header img{width:65px;height:auto;max-height:40px;object-fit:contain}.chat-header strong{font-size:15px}.chat-header small{display:block;font-size:11px;color:#cbd8e0}.chat-header button{margin-left:auto;border:1px solid #77909f;background:none;border-radius:8px;color:white;width:40px;height:40px;flex-shrink:0}.chat-log{flex:1;overflow:auto;padding:18px;display:flex;flex-direction:column;gap:12px;overscroll-behavior:contain}.bubble{padding:13px;border:1px solid var(--line);border-radius:14px;font-size:14px;white-space:pre-line;max-width:100%;overflow-wrap:anywhere}.bubble.user{background:var(--ink);color:white;align-self:flex-end;border:0;max-width:88%}.bubble .product{margin-top:10px;white-space:normal}.bubble .product-photo{height:110px;aspect-ratio:auto}.bubble .product-body{padding:10px}.bubble .product-body h2{font-size:13px}.bubble .product-price{font-size:15px}.chat-compose{padding:12px;border-top:1px solid var(--line);background:#f7f9fa}.chat-compose textarea{min-height:66px;max-height:120px;font-size:14px}.chat-status{padding:0 14px;font-size:11px;color:var(--muted)}.chat-controls{display:flex;justify-content:space-between;margin-top:8px;gap:8px}.list{display:grid;gap:12px}.list-item{border:1px solid var(--line);padding:18px;background:white;border-radius:10px}.list-item p{font-size:13px;color:var(--muted);white-space:pre-line}.modal-backdrop{position:fixed;inset:0;background:#182c3a77;z-index:80;display:grid;place-items:center;padding:20px}.modal{max-height:85dvh;overflow:auto;width:540px;max-width:100%;padding:25px;border-radius:14px;background:white}.toolbar-button{border:0;background:none;min-height:44px;padding:8px;font-size:13px;color:var(--red)}.loading{color:var(--muted);padding:24px}.avatar-mark{font-size:24px}.mobile-overlay{display:none}.knowledge-text{white-space:pre-line}.pill-group{display:flex;flex-wrap:wrap;gap:7px}.pill-group .check{padding:8px 10px}.user-name{font-size:12px;color:var(--muted);max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(min-width:1500px){.products{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1100px){.layout{grid-template-columns:205px minmax(0,1fr)}.products{grid-template-columns:repeat(2,minmax(0,1fr))}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-two{grid-template-columns:1fr}.brand small{max-width:190px}}
@media(max-width:767px){.utility{padding:7px 15px;gap:5px;font-size:10px}.utility>span{width:100%}.brand-header{padding:10px 12px;gap:8px}.brand img{width:70px}.brand strong{font-size:18px}.brand small{font-size:9px;max-width:145px}.brand{gap:7px}.header-actions{gap:5px}.user-name{display:none}.header-actions>.secondary{padding:8px 10px;font-size:12px}.language button{min-width:36px;min-height:40px;font-size:12px}.layout{display:block}.menu-button{display:inline-flex;width:40px;min-height:44px;border:1px solid var(--line);border-radius:7px;background:white;align-items:center;justify-content:center;font-size:22px;flex-shrink:0}.sidebar{display:none;position:fixed;left:0;top:0;height:100dvh;width:260px;z-index:90;box-shadow:10px 0 50px #182c3a30}.sidebar.open{display:block}.mobile-overlay.open{display:block;position:fixed;inset:0;z-index:85;background:#182c3a66}.sidebar-footer{margin-bottom:15px}.main{padding:25px 15px 80px}.title-row{gap:12px;flex-wrap:wrap;margin-bottom:18px}.card{padding:18px}.form-grid{grid-template-columns:1fr}.stats{gap:10px}.stat{padding:15px}.stat strong{font-size:23px}.stat span{font-size:10px}.quote-line{grid-template-columns:minmax(120px,1fr) 65px 40px;gap:6px;padding:8px}.quote-line .unit-price{grid-column:1/3;grid-row:2}.quote-line>.remove-line{grid-column:3;grid-row:1}.quote-line select,.quote-line input{padding:9px 7px;font-size:12px}.chat-window{right:10px;bottom:10px;max-width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}.chat-header{padding:12px;gap:8px}.chat-header img{width:58px}.chat-header strong{font-size:14px}.chat-launch{right:15px;bottom:17px}.footer{padding:20px 15px}.header-actions .login-label{display:none}}
@media(max-width:374px){.products{grid-template-columns:1fr}.brand img{width:58px}.brand small{max-width:110px}.brand strong{font-size:17px}.brand-header{gap:5px}.language button{min-width:32px}.header-actions>.secondary{padding:7px}.product-photo{aspect-ratio:1.35}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

.assistant-open{color:var(--red)}@media(max-width:450px){.brand-header .brand img{width:48px}.brand-header .brand small{display:none}.brand-header .brand strong{font-size:17px}.brand-header .brand{gap:6px}.assistant-open{width:36px;padding:7px}.assistant-label{display:none}.language button{min-width:32px}}
body .fl-mascot .fl-mascot-character{pointer-events:none!important}
