@charset "UTF-8";
:root{--ink:#222426;--muted:#7a7e83;--line:#e8e9e7;--paper:#f6f7f4;--yellow:#e1c500;--yellow-light:#fff9d7;--sidebar:#222324;--green:#227f5d;--red:#a74e40;--radius:13px;font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--paper);font-size:14px;font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}button,a{touch-action:manipulation}button:focus-visible,a:focus-visible,summary:focus-visible,tr:focus-visible{outline:3px solid #bca600;outline-offset:3px}input:focus,select:focus{outline:none;border-color:#a28f00;box-shadow:0 0 0 3px #e1c50025}a{color:inherit;text-decoration:none}strong{font-weight:650}h1,h2,h3,p{margin-top:0}h1{font-size:30px;letter-spacing:-1.1px;font-weight:650;margin-bottom:10px;line-height:1.2}h2{font-size:17px;font-weight:650;letter-spacing:-.35px;margin-bottom:8px}h3{font-size:17px}p{line-height:1.6}svg{flex-shrink:0}.icon{width:19px;height:19px;vertical-align:middle}.muted{color:var(--muted)}.small{font-size:12px}.mono,.reference{font-family:"Cascadia Code",Consolas,monospace;letter-spacing:-.2px}.nowrap{white-space:nowrap}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.8px;color:#96998f;margin-bottom:13px}.wordmark{font-size:28px;font-weight:900;letter-spacing:2.4px;color:#fff;line-height:1}.wordmark span{color:var(--yellow);font-size:36px}.wordmark.dark{color:var(--ink)}.initial-loader{min-height:100vh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:24px;background:#f6f7f4}.initial-loader p{color:var(--muted)}.initial-loader .wordmark{color:var(--ink)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #dfe1dc;border-radius:7px;background:#fff;color:var(--ink);padding:11px 16px;font-size:12px;font-weight:650;white-space:nowrap;transition:background .15s,border-color .15s}.btn:hover{background:#f2f3ee;border-color:#cdd0c6}.btn.primary{background:var(--yellow);border-color:var(--yellow);color:#25240f}.btn.primary:hover{background:#d4ba00;border-color:#d4ba00}.btn.small{padding:8px 11px;font-size:11px}.btn .icon{width:16px;height:16px}.btn.full{width:100%;padding:14px;justify-content:space-between;font-size:14px}.icon-btn{display:inline-flex;align-items:center;justify-content:center;padding:8px;border:0;background:transparent;color:#787d7e;border-radius:7px}.icon-btn:hover{color:var(--ink);background:#e9ebe5}.text-btn{display:inline-flex;align-items:center;gap:7px;border:0;background:transparent;padding:4px;color:#626854;font-size:12px;font-weight:600;white-space:nowrap}.text-btn:hover{color:#393f23;text-decoration:underline}.text-btn .icon{width:15px;height:15px}.tag-yellow{display:inline-block;background:var(--yellow);color:#242514;font-size:10px;font-weight:750;letter-spacing:2.5px;padding:9px 12px}
/* Access */
.auth{display:grid;grid-template-columns:1.05fr 1fr;min-height:100vh;background:white}.auth-brand{position:relative;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;background:#222324;padding:56px 64px;color:white;min-height:100vh}.auth-brand:before{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 105% 35%,#63643b24,transparent 65%);pointer-events:none}.auth-brand .wordmark{z-index:1}.auth-message{position:relative;padding:70px 0}.auth-message h1{font-size:clamp(40px,4.7vw,72px);line-height:1.13;letter-spacing:-3px;margin:27px 0 24px;font-weight:600}.auth-message p{color:#a0a19f;line-height:1.9;font-size:16px}.auth-brand footer{display:flex;justify-content:space-between;font-size:9px;letter-spacing:1.8px;color:#91938e;gap:20px;z-index:1}.auth-brand footer span{color:#d4d6cc}.auth-lines{height:86px;display:flex;align-items:center;gap:10px;margin-top:56px;opacity:.75}.auth-lines span{display:block;background:var(--yellow);width:7px;border-radius:3px;height:25%}.auth-lines span:nth-child(2){height:48%}.auth-lines span:nth-child(3){height:78%}.auth-lines span:nth-child(4){height:100%}.auth-lines span:nth-child(5){height:62%}.auth-lines span:nth-child(6){height:42%}.auth-lines span:nth-child(7){height:73%}.auth-lines span:nth-child(8){height:27%}.auth-panel{padding:56px;display:flex;align-items:center;justify-content:center;position:relative}.auth-form{width:100%;max-width:370px}.auth-kicker{font-size:10px;font-weight:700;letter-spacing:2px;color:#979b92;display:flex;align-items:center;gap:8px;margin-bottom:30px}.auth-kicker .icon{width:16px}.auth-form h2{font-size:29px;letter-spacing:-1px;font-weight:650}.auth-form>.muted{margin-bottom:34px}.form-stack{display:flex;flex-direction:column;gap:20px}.form-stack label{font-size:12px;font-weight:600;display:flex;flex-direction:column;gap:8px}.form-stack input,.form-stack select{width:100%;border:1px solid #dfe2da;border-radius:7px;background:#fff;padding:12px 13px;color:var(--ink);min-width:0}.form-stack input::placeholder{color:#a7aaa4;font-weight:400}.form-stack input:disabled,.form-stack select:disabled{background:#f4f5f1;color:#8e9288}.password-wrap{position:relative}.password-wrap input{padding-right:45px}.password-wrap .icon-btn{position:absolute;right:5px;top:5px}.form-error{margin:0;color:#a53f36;font-size:12px;line-height:1.5;min-height:0}.form-error:empty{display:none}.auth-note{display:flex;gap:9px;color:#959b8e;font-size:11px;align-items:center;padding-top:28px;margin-top:28px;border-top:1px solid var(--line)}.auth-note .icon{width:15px}.auth-help{margin-top:16px;max-width:300px;font-size:11px}.auth-foot{position:absolute;bottom:30px;color:#abb0a5;letter-spacing:2px;font-size:9px}.checkbox-label{flex-direction:row!important;align-items:center;gap:10px!important}.checkbox-label input{width:17px;height:17px;accent-color:#a18f00}.required-password{max-width:560px;margin:0 auto;padding:50px 24px}.required-password>.wordmark{display:block;text-align:center;margin:0 0 36px}.required-password .text-btn{margin-top:20px}.required-password h1{margin-bottom:16px}
/* Workspace */
.app{min-height:100vh}.sidebar{width:239px;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;background:var(--sidebar);color:#bcbfba;z-index:30;padding:32px 15px 0}.brand{display:block;padding:3px 18px 36px}.brand .wordmark{font-size:24px;letter-spacing:2.7px}.brand-sub{display:block;color:#848780;font-size:9px;letter-spacing:2.4px;margin-top:14px;padding-left:2px}.workspace-label{font-size:8px;letter-spacing:1.8px;font-weight:700;color:#6e736b;padding:0 18px 16px}.sidebar nav{display:flex;flex-direction:column;gap:5px}.nav-item{display:flex;align-items:center;text-align:left;gap:12px;color:#a6aba2;background:transparent;border:0;border-radius:7px;width:100%;padding:12px 15px;font-size:12px;font-weight:500;min-height:44px}.nav-item>.icon{width:17px;height:17px;color:#838a7e}.nav-item span{flex:1}.nav-item:hover{background:#ffffff08;color:white}.nav-item.selected{color:#f4f5eb;background:#35372b}.nav-item.selected>.icon{color:var(--yellow)}.nav-item.selected:before{content:"";position:absolute;left:0;width:3px;height:22px;border-radius:0 2px 2px 0;background:var(--yellow)}.nav-count{font-weight:500;font-size:10px;color:#80897b}.nav-item.selected .nav-count{color:#d9daaa}.nav-count.attention{border-radius:5px;background:#41382d;color:#d6b780;padding:3px 6px}.sidebar-bottom{margin-top:auto;padding-top:24px}.sidebar-bottom>.nav-item{margin-bottom:20px}.local-indicator{display:flex;align-items:center;gap:7px;border-top:1px solid #353833;padding:17px 15px;color:#7f8877;font-size:10px}.local-indicator>i,.copy-date>i{height:5px;width:5px;border-radius:100%;background:#90a17d;display:inline-block}.local-indicator>.small{margin-left:auto;font-size:9px;color:#687160}.profile{display:flex;align-items:center;gap:11px;background:#1c1e1b;border:0;color:white;width:calc(100% + 30px);margin-left:-15px;padding:20px 22px;text-align:left}.profile>span:nth-child(2){flex:1;min-width:0}.profile strong{display:block;font-size:11px;overflow:hidden;text-overflow:ellipsis}.profile small{display:block;font-size:10px;color:#858e7d;margin-top:5px}.profile>.icon{width:14px;color:#636c5c}.avatar{width:34px;height:34px;background:#454a37;color:#d0d5b1;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;font-weight:650;font-size:11px;flex-shrink:0}.avatar.light{background:#f0f1e8;color:#797d61}.avatar.large{width:64px;height:64px;font-size:22px;background:#f1edce;color:#8e7f17;border-radius:17px}.main-wrap{margin-left:239px;display:flex;flex-direction:column;min-height:100vh}.topbar{height:78px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 36px;background:#fff;border-bottom:1px solid var(--line)}.breadcrumb{display:flex;align-items:center;gap:12px;font-size:11px;color:#969b91;white-space:nowrap}.breadcrumb>.icon{width:12px;height:12px;color:#b8bdb0}.breadcrumb strong{font-size:11px;font-weight:550;color:#43483d}.top-actions{display:flex;align-items:center;gap:16px}.copy-date{font-size:10px;color:#90978a;display:flex;gap:7px;align-items:center}.top-actions>.icon-btn{margin-left:4px}.mobile-menu{display:none}.main-wrap>main{padding:34px 36px 28px;width:100%;max-width:1840px;margin:0 auto;flex:1}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:29px;min-height:85px}.page-heading .eyebrow{font-size:9px;margin-bottom:13px}.page-heading .muted{font-size:12px;margin-bottom:0}.heading-actions{display:flex;align-items:center;gap:8px}.main-footer{display:flex;justify-content:space-between;gap:20px;padding:18px 36px 25px;color:#a0a79a;font-size:9px;letter-spacing:.3px}.main-footer b{color:#b7ac63;margin:0 6px}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:24px}.stat-card{background:#fff;padding:21px 22px;border:1px solid var(--line);border-radius:var(--radius);text-align:left;color:var(--ink);transition:transform .15s,border-color .15s}.stat-card:hover{border-color:#b9b99b;transform:translateY(-2px)}.stat-card>div{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#727967;font-size:11px;font-weight:500}.stat-card>div>.icon{width:17px;height:17px;color:#a8ae9c}.stat-card>strong{display:block;font-size:37px;line-height:1;letter-spacing:-1.9px;font-weight:650;margin:23px 0 12px}.stat-card>small{font-size:10px;color:#a0a58f;line-height:1.5}.stat-card.accent{background:#f7f2cf;border-color:#ece3ac}.stat-card.accent>div{color:#8e8136}.stat-card.accent>div>.icon{color:#ae9a35}.stat-card.accent>small{color:#9b925e}.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.overview-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:23px;margin-bottom:24px}.section-heading{padding:24px 25px 20px;display:flex;align-items:center;justify-content:space-between;gap:15px}.section-heading h2{font-size:15px;margin-bottom:7px}.section-heading p{font-size:10px;color:#9ca18f;margin:0}.section-heading>.icon{color:#b7baaa;width:19px}.tiny-label{font-size:8px;letter-spacing:1.4px;font-weight:650;color:#a5ab99;white-space:nowrap}.fair-list{padding:0 25px 13px}.fair-row{display:flex;width:100%;border:0;background:none;align-items:center;text-align:left;gap:15px;padding:15px 0;border-top:1px solid #f0f1eb;color:var(--ink)}.fair-number{font-size:10px;color:#afb39f;font-family:Consolas,monospace;align-self:flex-start;margin-top:2px}.fair-info{flex:1;min-width:0}.fair-info strong{display:block;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fair-info>span{display:block;font-size:9px;color:#a0a792;margin-top:5px}.fair-info progress{height:3px;margin-top:12px;width:100%;display:block;border:0;border-radius:2px;background:#f1f2e9}.fair-info progress::-webkit-progress-bar{background:#f1f2e9;border-radius:3px}.fair-info progress::-webkit-progress-value{background:#d7c83e;border-radius:3px}.fair-value{font-size:15px;display:flex;align-items:center;gap:10px;min-width:35px;justify-content:flex-end}.fair-value>.icon{width:12px;color:#bcc1ad}.fair-row:hover .fair-info strong{color:#8e7e12}.attention-row{display:flex;align-items:center;gap:12px;width:calc(100% - 50px);margin:0 25px;background:none;border:0;border-bottom:1px solid #eff0e9;padding:23px 0;text-align:left;color:var(--ink)}.attention-row>span:nth-child(2){flex:1}.attention-row strong{display:block;font-size:11px}.attention-row small{display:block;color:#a2a794;font-size:9px;margin-top:6px}.attention-row b{font-weight:600;font-size:19px;color:#5e6454}.attention-row>.icon{width:12px;color:#b2b9a4}.attention-dot{width:7px;height:7px;display:block;border-radius:100%;flex-shrink:0}.yellow{background:#d6c341}.orange{background:#c9986c}.gray{background:#a5ae99}.source-note{display:flex;align-items:center;gap:8px;padding:20px 25px;font-size:9px;color:#9da58f;line-height:1.6}.source-note>.icon{width:13px;height:13px}.warning-text{color:#ab7b39!important}.info-banner,.warning-banner{display:flex;align-items:flex-start;gap:12px;font-size:12px;line-height:1.6;padding:15px 19px;background:#f2f3ea;border:1px solid #e7eadb;border-radius:8px;color:#7b816b;margin-bottom:20px}.info-banner>.icon,.warning-banner>.icon{width:17px;margin-top:1px}.warning-banner{background:#fff6e9;border-color:#eedfc9;color:#9f7846}.sync-bar{display:flex;align-items:center;gap:14px;padding:16px 20px;background:#f8f3d1;border:1px solid #ece1a4;border-radius:8px;margin-bottom:24px;color:#91812a}.sync-bar>div{flex:1}.sync-bar strong{font-size:12px}.sync-bar>span{font-size:11px}.sync-bar progress{height:4px;width:100%;display:block;margin-top:9px;accent-color:#b29b16}.busy .icon,.sync-bar>.icon{animation:rotate 2s linear infinite}@keyframes rotate{to{transform:rotate(360deg)}}
/* Data tables and filters */
.table-toolbar{padding:22px 24px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid #eff0e9}.search-box{display:flex;align-items:center;gap:10px;border:1px solid #e4e7dd;background:#fff;border-radius:7px;padding:0 12px;min-width:200px;max-width:470px;width:100%;height:41px}.search-box .icon{width:16px;color:#969f89}.search-box input{width:100%;border:0;background:transparent;outline:none!important;box-shadow:none!important;min-width:0;color:#454d3b;font-size:11px}.search-box:focus-within{border-color:#ad9c3e;box-shadow:0 0 0 3px #e1c50016}.search-box input::placeholder{color:#a8af9c}.segmented{display:flex;background:#f1f3ec;border-radius:6px;padding:4px;gap:3px;flex-shrink:0}.segmented button{background:none;border:0;padding:8px 12px;font-size:10px;color:#8e9880;white-space:nowrap;border-radius:4px}.segmented button.on{background:white;box-shadow:0 1px 4px #27291a10;color:#464e38;font-weight:650}.segmented b{font-size:9px;font-weight:500;margin-left:5px;color:#b0b89f}.filters-grid{display:grid;grid-template-columns:2fr repeat(3,1fr);gap:14px;padding:20px 24px;border-bottom:1px solid #eff0e9}.filter{display:flex;flex-direction:column;gap:8px;min-width:0}.filter>span{font-size:9px;color:#8f9b80;font-weight:550}.filter select{width:100%;padding:9px 9px;font-size:10px;border:1px solid #e3e7d9;background:white;border-radius:5px;color:#59654a;min-width:0;cursor:pointer}.disc-filters{grid-template-columns:1fr 1.4fr 1.1fr 1.5fr 1.2fr}.results-line{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 24px;font-size:10px;color:#a0a98e}.results-line>span>strong{font-weight:600;color:#59674a}.results-line>div{display:flex;align-items:center;gap:18px}.sort-label{display:flex;align-items:center;gap:8px;font-size:10px;color:#a4ad91}.sort-label select{border:0;font-size:10px;color:#788665;background:transparent;max-width:160px}.results-line .text-btn{font-size:10px;color:#989b6c}.table-scroll{width:100%;overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:11px}thead{background:#f8f9f5}th{padding:13px 20px;border-bottom:1px solid #e8edde;font-size:9px;letter-spacing:.5px;font-weight:600;color:#939e81;white-space:nowrap}td{padding:18px 20px;border-bottom:1px solid #eff1e9;vertical-align:middle;color:#6c775c;font-size:11px}tr:last-child td{border-bottom:0}tr.clickable{cursor:pointer}tr.clickable:hover{background:#fafbf7}tr.clickable:hover .reference{color:#a39329}td>.icon{width:13px;color:#b9c0ab}td:last-child>.icon{width:14px}.reference{display:block;font-size:11px;color:#4b583c;font-weight:650;line-height:1.5}.cell-title{display:block;color:#576448;font-weight:550;font-size:11px;line-height:1.5}.cell-sub{display:block;color:#a0aa8f;font-size:9px;margin-top:5px;line-height:1.6}.client-name{max-width:210px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.stand{font-family:Consolas,monospace;border:1px solid #e8ebdf;border-radius:4px;font-size:10px;padding:4px 6px;display:inline-block;color:#687852;background:#fafbf6}.material-cell{max-width:280px;min-width:150px}.material-cell>span:first-child{display:block;max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.5;font-size:10px}.badge{display:inline-flex;align-items:center;gap:6px;padding:5px 8px;border-radius:4px;font-size:9px;font-weight:550;white-space:nowrap;background:#f3f4ee;color:#859374}.badge>i{width:4px;height:4px;border-radius:100%;background:currentColor}.b-ACCEPTED,.b-CLOSED,.b-FOK,.b-DELIVERED{background:#edf6ec;color:#6b9561}.b-PENDING,.b-PEN,.b-NOT_CONFIRMED{background:#fbf5d7;color:#b19b3a}.b-CANCELED{background:#f1f2ee;color:#a0a590}.b-DISCONFORMITY,.b-OPEN,.b-FKO{background:#fbf0e9;color:#b08a60}.b-MODIFIED,.b-PRO{background:#eef3f7;color:#7392ab}.b-DISCONFORMITY_MODIFIED{background:#f5eef6;color:#9e81a2}.pagination{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 24px;border-top:1px solid var(--line);color:#a0aa91;font-size:10px}.pagination>div{display:flex;align-items:center;gap:13px}.pagination label{display:flex;align-items:center;gap:7px;margin-right:8px;font-size:9px}.pagination select{border:1px solid #e2e7d8;padding:5px;border-radius:4px;font-size:10px;color:#768561;background:#fff}.pagination .btn{font-size:9px;padding:7px 10px;border-color:#e6ebde;color:#8b9879}.page-number{font-size:10px;color:#8d9b7b}.empty-state{display:flex;flex-direction:column;gap:10px;align-items:center;justify-content:center;padding:48px 20px;text-align:center}.empty-state>.icon{width:26px;height:26px;color:#b8c3a7}.empty-state strong{font-size:12px;color:#7d8e6a}.empty-state p{font-size:11px;color:#a0ad90;margin:0}.empty{padding:25px;color:var(--muted);font-size:12px}.message-preview{max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.contact-cell span{display:block;font-size:10px;line-height:1.8}.own-provider{display:block;color:#a1973a;font-size:8px;letter-spacing:1px;margin-top:6px}.file-icon{width:34px;height:37px;border:1px solid #e9ecde;border-radius:7px;display:inline-flex;align-items:center;justify-content:center;margin-right:12px;background:#fbfcf7;color:#9aab80;vertical-align:middle}.file-info{display:inline-block;vertical-align:middle}.role-cards{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:24px}.role-cards>div{display:flex;gap:16px;align-items:center;padding:21px 25px;border:1px solid #e3e7d9;background:#f2f4ea;border-radius:10px}.role-cards>.icon,.role-cards>div>.icon{color:#a6ac78}.role-cards strong{font-size:12px;color:#65754e;display:block}.role-cards small{font-size:10px;color:#98a283;display:block;margin-top:6px;line-height:1.6}.role-pill{display:inline-flex;font-size:10px;padding:5px 9px;background:#f0f2e8;color:#8e9c73;border-radius:4px}.row-actions{display:flex;gap:15px;align-items:center}.row-actions .text-btn{font-size:10px}.row-actions .btn{font-size:10px}td>.avatar{margin-right:10px}.account-grid{display:grid;grid-template-columns:300px minmax(300px,500px);gap:24px;align-items:start}.account-card{padding:35px 25px;text-align:center}.account-card h2{margin-top:22px}.account-card>.small{margin-top:25px}.form-panel{padding:30px}.form-panel>.muted{font-size:12px;margin-bottom:25px}.loading-panel{padding:45px;text-align:center;font-size:12px;color:var(--muted)}
/* Details and forms */
dialog{color:var(--ink)}.modal{border:0;border-radius:16px;padding:0;width:calc(100% - 40px);max-width:510px;max-height:90vh;background:#fff;box-shadow:0 30px 120px #0003}.modal.wide{max-width:1030px}dialog::backdrop{background:#171a16a6;backdrop-filter:blur(3px)}.modal-header{display:flex;justify-content:space-between;align-items:flex-start;padding:27px 30px 22px;border-bottom:1px solid var(--line);gap:20px;position:sticky;top:0;z-index:2;background:#fff}.modal-header .eyebrow{font-size:8px;margin-bottom:10px}.modal-header h2{font-size:23px;letter-spacing:-.8px;margin-bottom:7px}.modal-header .muted{font-size:11px;line-height:1.6;margin:0}.modal-header>.icon-btn{margin-right:-8px}.modal-body{padding:25px 30px 30px}.modal-body .form-stack{gap:18px}.modal-body .form-stack>.btn{align-self:flex-start;padding:12px 18px}.order-hero{display:flex;align-items:center;gap:30px;background:#f7f8f2;padding:24px;border-radius:9px;margin-bottom:22px}.order-hero>div:first-child{flex:1}.order-hero .eyebrow{font-size:8px;margin-bottom:10px;display:block}.order-hero h3{margin:0 0 7px;font-size:20px;font-weight:600;letter-spacing:-.5px}.order-hero p{font-size:11px;color:#a0aa8f;margin:0}.stand-block{border-left:1px solid #e4e8da;padding-left:24px}.stand-block>span{font-size:8px;font-weight:600;letter-spacing:1px;color:#a3ae91;display:block;margin-bottom:8px}.stand-block strong{font-size:25px;font-weight:550;color:#6a7758;font-family:Consolas,monospace}.detail-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin:28px 0 34px}.detail-grid>div>span{font-size:9px;color:#9ca98b;display:block;margin-bottom:9px}.detail-grid strong{font-size:10px;font-weight:550;line-height:1.8;display:block;word-break:break-word}.detail-grid small{font-size:9px;color:#98a889;display:block;word-break:break-word;margin-top:4px}.detail-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;gap:16px}.detail-heading h3{font-size:14px;margin:0}.detail-heading h3 span{font-size:10px;color:#b1baa3;font-weight:400;margin-left:10px}.lines-table th{font-size:8px}.lines-table td{padding:19px 13px}.lines-table th:first-child,.lines-table td:first-child{padding-left:16px;min-width:240px}.lines-table{border:1px solid #edf0e4;border-radius:7px;overflow:hidden}.qty{font-weight:650;font-size:16px;color:#708259}.line-info{margin-top:10px}.line-info summary{font-size:9px;color:#99a77c;cursor:pointer}.line-info p{font-size:10px;max-width:440px;white-space:pre-wrap;word-break:break-word;padding:13px 15px;background:#f8faf2;border-radius:5px;margin-bottom:0;color:#8c9a74;line-height:1.8}.detail-section-title{font-size:14px;margin-top:30px;margin-bottom:17px}.linked-discs{border:1px solid #edf0e4;border-radius:7px}.linked-discs button{display:flex;align-items:center;gap:16px;padding:15px 17px;width:100%;text-align:left;background:none;border:0;border-bottom:1px solid #edf0e4;color:#8c9c74;font-size:10px}.linked-discs button:last-child{border-bottom:0}.linked-discs button>span:first-child{flex:1}.linked-discs .icon{width:13px}.history{padding-left:5px}.history>div{position:relative;display:flex;align-items:center;gap:15px;padding:10px 0 10px 22px;border-left:1px solid #dfe5d2;font-size:10px;flex-wrap:wrap}.history i{position:absolute;left:-4px;top:14px;width:7px;height:7px;border-radius:50%;background:#bdc5a9}.history strong{color:#7d8d65}.history span{color:#a5b193}.history small{width:100%;font-size:9px;color:#a5b193;line-height:1.7}.detail-foot{display:flex;align-items:center;justify-content:space-between;gap:18px;border-top:1px solid #edf0e4;margin-top:30px;padding-top:20px;color:#a3af93;font-size:9px;line-height:1.8}.detail-foot>a{color:#8d9c67;font-weight:600;white-space:nowrap}.conversation-meta{display:flex;align-items:center;gap:16px;flex-wrap:wrap;font-size:11px;color:#98a684;padding-bottom:23px;border-bottom:1px solid var(--line)}.conversation{display:flex;flex-direction:column;gap:24px;padding:28px 0 6px}.message{max-width:85%;padding:20px;background:#f5f7ef;border:1px solid #ecf0e2;border-radius:0 12px 12px 12px;align-self:flex-start}.message.own{align-self:flex-end;background:#faf7e4;border-color:#eee8c4;border-radius:12px 0 12px 12px}.message-meta{display:flex;align-items:center;gap:10px}.message-meta>.avatar{width:29px;height:29px;font-size:9px}.message-meta strong{font-size:10px;display:block;color:#88966b}.message-meta span:not(.avatar){display:block;font-size:9px;color:#acb69a;margin-top:5px}.message p{white-space:pre-wrap;word-break:break-word;font-size:12px;margin:16px 0 0;line-height:1.8;color:#77895c}#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%) translateY(20px);opacity:0;pointer-events:none;z-index:100;background:#2c3225;color:#f0f2e7;padding:15px 23px;box-shadow:0 8px 30px #0002;border-radius:9px;font-size:12px;max-width:90vw;transition:.2s;line-height:1.6}#toast.visible{opacity:1;transform:translateX(-50%) translateY(0)}#toast.error{background:#854b3e}
@media(min-width:1600px){.main-wrap>main{padding:42px 48px}.topbar{padding:0 48px}.stats-grid{gap:22px}.stat-card{padding:25px 27px}.stat-card>strong{font-size:43px}.stat-card>small{font-size:11px}.overview-grid{gap:26px}.fair-row{padding:19px 0}.attention-row{padding:28px 0}td{padding:20px 23px}}
@media(max-width:1250px){.sidebar{width:210px;padding-left:10px;padding-right:10px}.main-wrap{margin-left:210px}.profile{width:calc(100% + 20px);margin-left:-10px;padding-left:20px}.brand{padding-left:15px}.main-wrap>main{padding:28px 24px}.topbar{padding:0 24px}.top-actions{gap:10px}.stat-card{padding:19px 16px}.stat-card>div{font-size:10px}.stat-card>small{font-size:9px}.overview-grid{grid-template-columns:1.05fr 1fr;gap:18px}.table-toolbar{flex-wrap:wrap;gap:15px}.table-toolbar .search-box{max-width:none;flex:1}.table-toolbar .segmented{margin-left:auto}th,td{padding-left:14px;padding-right:14px}.filters-grid{grid-template-columns:repeat(4,minmax(0,1fr));padding:18px;gap:12px}.disc-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.material-cell{max-width:190px}.material-cell>span:first-child{max-width:170px}.client-name{max-width:160px}.row-actions{flex-wrap:wrap;gap:6px}.copy-date{display:none}}
@media(max-width:1000px){.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stat-card>strong{font-size:36px;margin:18px 0 10px}.overview-grid{grid-template-columns:1fr}.page-heading h1{font-size:26px}.role-cards{grid-template-columns:1fr}.account-grid{grid-template-columns:1fr}.detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.auth-brand{padding:42px 38px}.auth-panel{padding:40px 30px}.auth-message h1{font-size:48px}.auth-brand footer{font-size:8px;letter-spacing:1px;flex-wrap:wrap}.auth-brand footer span{display:none}}
@media(max-width:760px){.sidebar{transform:translateX(-100%);transition:transform .2s;width:240px;box-shadow:10px 0 50px #0003}.sidebar.mobile-open{transform:translateX(0)}.main-wrap{margin-left:0}.mobile-menu{display:inline-flex}.topbar{height:67px;padding:0 15px;gap:8px}.top-actions{gap:6px}.top-actions>.btn{font-size:10px;padding:8px}.top-actions>.icon-btn{padding:5px}.breadcrumb{gap:7px;font-size:10px}.breadcrumb strong{display:none}.breadcrumb>.icon{display:none}.main-wrap>main{padding:25px 16px}.page-heading{align-items:flex-start;gap:15px;margin-bottom:24px;flex-direction:column}.page-heading h1{font-size:27px}.page-heading .muted{font-size:11px}.heading-actions{align-self:flex-start}.stats-grid{gap:12px}.stat-card{padding:18px 15px}.stat-card>div{font-size:9px}.stat-card>div>.icon{width:14px}.stat-card>strong{font-size:32px}.stat-card>small{font-size:9px}.section-heading{padding:21px 19px}.section-heading p{font-size:9px}.fair-list{padding:0 19px 12px}.attention-row{width:calc(100% - 38px);margin:0 19px}.source-note{padding:18px 19px}.table-toolbar{padding:17px;display:flex}.search-box{max-width:none;width:100%;flex:auto!important}.segmented{width:100%;margin:0!important}.segmented button{flex:1}.filters-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:16px;gap:12px}.results-line{padding:14px 16px;align-items:flex-start}.results-line>div{gap:8px;flex-direction:column;align-items:flex-end}.sort-label{font-size:9px}.results-line .text-btn{font-size:9px}.pagination{padding:16px;gap:12px;font-size:9px;flex-wrap:wrap}.pagination>div{gap:8px;margin-left:auto}.pagination label{margin-right:0}.pagination .btn{font-size:9px;padding:7px 8px}.main-footer{padding:18px 17px;font-size:8px;flex-wrap:wrap}.main-footer>span:last-child{display:none}th{font-size:8px;padding:11px 13px}td{padding:15px 13px;font-size:10px}.client-name{max-width:140px}.material-cell{max-width:170px}.material-cell>span:first-child{max-width:145px}.contact-cell{min-width:210px}.cell-title{font-size:10px}.modal{width:calc(100% - 20px);max-height:94vh;border-radius:12px}.modal-header{padding:22px 20px 17px}.modal-header h2{font-size:21px}.modal-body{padding:20px}.order-hero{padding:18px;gap:16px;flex-wrap:wrap}.order-hero h3{font-size:17px}.order-hero>div:first-child{flex-basis:60%}.stand-block{padding-left:16px}.stand-block strong{font-size:21px}.detail-grid{gap:20px 16px;margin:23px 0}.detail-heading{align-items:flex-start}.detail-heading h3 span{display:block;margin-left:0;margin-top:7px}.detail-foot{flex-direction:column;align-items:flex-start;gap:13px}.message{max-width:100%;padding:17px}.message-meta strong{font-size:9px}.auth{grid-template-columns:1fr}.auth-brand{min-height:auto;padding:28px 28px 31px}.auth-brand .wordmark{font-size:23px}.auth-message{padding:35px 0 0}.auth-message h1{font-size:38px;letter-spacing:-1.8px;margin:20px 0 0}.auth-message p,.auth-lines,.auth-brand footer{display:none}.tag-yellow{font-size:8px;padding:6px 9px}.auth-panel{padding:37px 28px 75px;min-height:65vh;align-items:flex-start}.auth-form{max-width:420px}.auth-kicker{margin-bottom:20px}.auth-form h2{font-size:25px}.auth-form>.muted{margin-bottom:28px;font-size:12px}.auth-foot{bottom:22px}.auth-note{margin-top:22px;padding-top:22px}.form-stack{gap:17px}.role-cards>div{padding:18px}.account-grid{gap:18px}.form-panel{padding:23px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Legibilidad del espacio de trabajo */
:root{--muted:#747b6f}.nav-item{font-size:13px}.brand-sub{font-size:10px}.workspace-label{font-size:9px}.topbar .breadcrumb,.topbar .breadcrumb strong{font-size:12px}table{font-size:12px}th{font-size:10px;color:#7b8770}td{font-size:12px;color:#65715a}.cell-title{font-size:12px;color:#4e5b43}.cell-sub{font-size:10px;color:#7d8972}.reference{font-size:12px}.badge{font-size:10px}.material-cell>span:first-child{font-size:11px}.stat-card>small{font-size:11px}.section-heading p,.source-note{font-size:11px}.fair-info strong,.attention-row strong{font-size:12px}.fair-info>span,.attention-row small{font-size:10px}.fair-value{font-size:17px}.b-ACCEPTED,.b-CLOSED,.b-FOK,.b-DELIVERED{color:#4c8043}.b-PENDING,.b-PEN,.b-NOT_CONFIRMED{color:#8e7720}.b-DISCONFORMITY,.b-OPEN,.b-FKO{color:#996c3e}.b-CANCELED{color:#7a846c}.page-heading .muted{font-size:13px}.filter>span{font-size:10px;color:#7b876b}.filter select{font-size:11px}.message p{color:#60734c}.message-meta strong{color:#718255}.detail-grid strong{font-size:12px}.detail-grid>div>span{font-size:10px}.line-info summary{font-size:11px}.line-info p{font-size:12px}.form-stack label{font-size:13px}
@media(max-width:760px){.nav-item{font-size:13px}.cell-sub{font-size:10px}.cell-title{font-size:11px}.stat-card>small{font-size:10px}.filter select{font-size:11px}.page-heading .muted{font-size:12px}.detail-grid strong{font-size:11px}th{font-size:10px}td{font-size:11px}}
/* Selector de idioma */
.language-picker{display:inline-flex;align-items:center;border:1px solid #e2e5dc;border-radius:6px;padding:3px;gap:2px;flex-shrink:0;background:#f8f9f5}.language-picker button{border:0;background:transparent;padding:6px 8px;border-radius:4px;font-size:10px;font-weight:700;letter-spacing:.6px;color:#8c9481;min-width:33px;cursor:pointer}.language-picker button.active{background:#e5cf34;color:#383718;box-shadow:0 1px 3px #0000000d}.language-picker button:hover:not(.active){background:#e9ecdf;color:#555f47}.auth-language{position:absolute;right:35px;top:30px}.required-language{display:flex;width:max-content;margin:0 0 25px auto}.top-actions .language-picker{margin-right:2px}@media(max-width:760px){.auth-language{top:18px;right:25px}.auth-panel{padding-top:67px}.top-actions{gap:5px}.top-actions .language-picker{padding:2px}.top-actions .language-picker button{font-size:9px;min-width:27px;padding:6px}.top-actions>.btn{font-size:9px;padding:8px 7px}.top-actions>.btn .icon{width:13px}.breadcrumb{font-size:10px}}
/* Equivalencias Fira / KARVE */
.eq-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:23px}.eq-stats>div{border:1px solid var(--line);border-radius:10px;background:#fff;padding:19px 22px;display:flex;align-items:center;justify-content:space-between;gap:14px}.eq-stats span{font-size:11px;color:#7d876e}.eq-stats strong{font-size:28px;font-weight:600;letter-spacing:-1px}.eq-stats>div:first-child{background:#f7f2cf;border-color:#e7dea8}.eq-filter-bar{display:flex;gap:18px;align-items:end;padding:18px 24px;border-bottom:1px solid var(--line)}.eq-filter-bar label{display:flex;flex-direction:column;gap:7px;font-size:10px;color:#8a957a;min-width:150px}.eq-filter-bar select{padding:9px;border:1px solid #e2e7d8;border-radius:5px;color:#58684a;background:white;font-size:11px}.eq-filter-bar>span{margin-left:auto;color:#929e80;font-size:11px;padding-bottom:9px}.eq-copy-date{font-size:10px;color:#9ba88b;white-space:nowrap}.eq-table td:first-child{max-width:300px}.eq-table .cell-title{margin-top:5px;max-width:290px}.eq-component{font-size:10px;display:flex;flex-direction:column;gap:6px;margin-bottom:10px;line-height:1.8}.eq-component:last-child{margin-bottom:0}.eq-component>strong{color:#929e7e;font-size:9px}.eq-sku{display:inline-block;color:#677951;font-family:Consolas,monospace;font-size:10px}.eq-sku small{font-family:Inter,'Segoe UI',sans-serif;color:#a0ad8f;font-size:9px}.eq-proposal-label{font-size:11px;color:#a59544}.eq-orders-link{display:flex;font-size:10px;margin-top:8px}.eq-approved{background:#edf6ec;color:#4c8043}.eq-pending{background:#fbf5d7;color:#8e7720}.eq-manual{background:#f1f2ee;color:#78836c}.eq-review{background:#fbf0e9;color:#996c3e}.eq-article{display:flex;justify-content:space-between;align-items:center;gap:25px;background:#f8f9f3;padding:21px;border-radius:8px;margin-bottom:13px}.eq-article h3{font-size:17px;margin-bottom:9px;line-height:1.5}.eq-article .eyebrow{display:block;font-size:8px;margin-bottom:10px}.eq-article .mono{font-size:12px}.eq-descriptions{font-size:11px;color:#8f9d7c;margin:17px 0 22px}.eq-descriptions summary{cursor:pointer;font-weight:550}.eq-descriptions ul{padding-left:20px;max-height:180px;overflow:auto;font-size:11px;color:#7f8f6b;line-height:1.9}.eq-form input,.eq-form select,.eq-form textarea{border:1px solid #dfe5d4;border-radius:5px;background:#fff;padding:9px 10px;color:#536443;font-size:11px;min-width:0;width:100%}.eq-form input:focus,.eq-form select:focus,.eq-form textarea:focus{outline:none;border-color:#a99b39;box-shadow:0 0 0 3px #e1c50020}.eq-form-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:15px;align-items:end;margin-bottom:17px}.eq-form-grid label{display:flex;flex-direction:column;font-size:11px;color:#798a63;gap:8px}.eq-form-grid .checkbox-label{padding:9px 0;font-size:10px}.eq-form-grid input[type=checkbox]{width:15px;height:15px}.eq-explanation{font-size:11px;line-height:1.8;color:#9ca98a;background:#fafbf7;padding:12px 15px;border-radius:6px;margin-bottom:26px}.eq-edit-table th{font-size:9px}.eq-edit-table td{padding:15px 10px;vertical-align:top}.eq-edit-table th:first-child,.eq-edit-table td:first-child{min-width:145px;width:21%}.eq-edit-table th:nth-child(2),.eq-edit-table td:nth-child(2){min-width:290px;width:48%}.eq-edit-table td:nth-child(3){min-width:85px;width:12%}.eq-edit-table .cell-title{font-size:10px;margin-top:9px;max-width:400px}.eq-edit-table .cell-sub{font-size:9px}.eq-row-buttons{white-space:nowrap}.eq-row-buttons .icon-btn{padding:5px;font-size:16px}.eq-row-buttons .icon{width:13px;height:13px}.eq-stock{font-size:10px;color:#7f9167}.eq-warehouses{font-size:9px;color:#9ba98b;margin-top:9px}.eq-warehouses summary{cursor:pointer}.eq-warehouses>div{display:flex;justify-content:space-between;gap:15px;line-height:1.8;margin-top:8px;font-size:9px}.eq-warehouses p{font-size:9px;line-height:1.6;margin-top:12px;color:#a7b096}.eq-proposal-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:30px;margin-bottom:15px}.eq-proposal-heading h3,.eq-catalog-search h3{font-size:13px;margin-bottom:0}.eq-proposals{border:1px solid #ebe6c9;background:#fffdf1;border-radius:7px;padding:5px 14px}.eq-proposals>div{display:grid;grid-template-columns:minmax(125px,1fr) minmax(180px,2fr) auto;align-items:center;gap:15px;padding:13px 0;border-bottom:1px solid #eeead7;font-size:10px;color:#859168}.eq-proposals>div:last-child{border-bottom:0}.eq-proposals small{display:block;font-size:9px;margin-top:5px;line-height:1.6;color:#a1aa86}.eq-proposals strong{font-family:Consolas,monospace;font-weight:550;color:#7f8856}.eq-proposals>p{padding:12px 0;margin-bottom:0;line-height:1.8}.eq-catalog-search{background:#f8faf3;padding:20px;border-radius:8px;margin-top:26px}.eq-catalog-search>div:first-of-type{display:grid;grid-template-columns:1fr 2fr;gap:15px;margin-top:17px}.eq-catalog-search label{display:flex;flex-direction:column;gap:7px;color:#82936d;font-size:10px}.eq-search-results{margin-top:18px}.eq-search-results>div{display:flex;align-items:center;gap:15px;padding:12px 0;border-top:1px solid #e8eddf;font-size:11px}.eq-search-results>div>span:first-child{flex:1}.eq-search-results strong,.eq-search-results small{display:block}.eq-search-results small{font-size:10px;color:#98a884;margin-top:6px;line-height:1.5}.eq-notes-label{display:flex;flex-direction:column;gap:10px;font-size:11px;color:#7c8e64;margin-top:26px}.eq-notes-label textarea{resize:vertical;line-height:1.8}.eq-save-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:23px}.eq-save-bar>span{font-size:10px;color:#9ca98d}.eq-editor-footer{display:flex;justify-content:space-between;align-items:center;gap:20px;border-top:1px solid var(--line);padding-top:21px;margin-top:26px}.eq-editor-footer>span{font-size:9px;line-height:1.8;color:#a3af92}.eq-read-items{display:grid;grid-template-columns:1fr 1fr;gap:15px}.eq-read-items>section{border:1px solid #e4e9dc;border-radius:7px;padding:18px}.eq-read-items .reference{margin:11px 0}.eq-original-notes{white-space:pre-wrap;font-size:12px;line-height:1.8;margin:24px 0}.eq-history-list{margin-top:20px}.eq-history-list>div{border-top:1px solid #e8eddf;padding:15px 0;display:flex;gap:12px;flex-wrap:wrap;font-size:11px;color:#8c9b77}.eq-history-list small{display:block;flex-basis:100%;font-size:10px;line-height:1.7}.eq-order-links{border:1px solid #e8eddf;border-radius:7px;overflow:hidden;margin-bottom:12px}.eq-order-links button{display:flex;gap:17px;align-items:center;background:#fff;border:0;border-bottom:1px solid #edf1e6;width:100%;padding:17px;text-align:left;font-size:11px;color:#8b9d71}.eq-order-links button:last-child{border-bottom:0}.eq-order-links button:hover{background:#fafcf5}.eq-order-links button>span:first-child{flex:1}.eq-order-links .reference{margin-bottom:5px}.eq-order-links .icon{width:13px}.eq-form>.form-error{margin-top:20px}
@media(max-width:1000px){.eq-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.eq-stats>div{padding:17px}.eq-form-grid{grid-template-columns:1fr 1fr}.eq-form-grid>.checkbox-label{grid-column:1/-1}.eq-copy-date{white-space:normal;font-size:9px}.eq-table td:first-child{min-width:220px}}
@media(max-width:760px){.eq-stats{gap:12px}.eq-stats span{font-size:10px}.eq-stats strong{font-size:23px}.eq-filter-bar{padding:15px;gap:12px;flex-wrap:wrap}.eq-filter-bar label{min-width:120px;flex:1}.eq-filter-bar>span{flex-basis:100%;margin-left:0;padding-top:5px;padding-bottom:0}.eq-form-grid{grid-template-columns:1fr}.eq-form-grid>.checkbox-label{grid-column:auto}.eq-proposal-heading{align-items:flex-start;flex-direction:column}.eq-proposals>div{grid-template-columns:1fr auto;gap:10px}.eq-proposals>div>span:nth-child(2){grid-column:1/-1;grid-row:2}.eq-proposals>div>button{grid-column:2;grid-row:1}.eq-catalog-search{padding:15px}.eq-catalog-search>div:first-of-type{grid-template-columns:1fr}.eq-save-bar{align-items:flex-start;flex-direction:column}.eq-editor-footer{align-items:flex-start;flex-direction:column}.eq-read-items{grid-template-columns:1fr}.eq-search-results>div{gap:9px}.eq-search-results>div>span:nth-child(2){max-width:100px}.eq-edit-table td:nth-child(2){min-width:250px}}

.order-date-range{display:inline-flex;align-items:center;gap:7px;margin-left:8px;padding:3px 8px;border-radius:6px;background:#eef2e8;font-size:12px;color:#354a2b}.results-line{flex-wrap:wrap}.order-date-range .text-btn{font-size:12px}.orders-panel .filters-grid>[data-action=recent-order-dates]{align-self:end;min-height:34px}
.nav-item:disabled{opacity:.4;cursor:not-allowed}.settings-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px}.settings-card{padding:22px;text-align:left;display:grid;grid-template-columns:24px 1fr 20px;gap:12px;align-items:center;color:var(--text);cursor:pointer}.settings-card span{grid-column:2;line-height:1.5}.settings-card>.icon:last-child{grid-column:3;grid-row:1/3}.settings-back{margin-bottom:12px}.mail-explanation{padding:14px 18px;margin-bottom:14px;font-size:13px;line-height:1.6}.mail-explanation summary{cursor:pointer}.mail-explanation p{margin:8px 0}.mail-explanation ol{padding-left:22px}
