:root{--bg:#f5f7f8;--surface:#fff;--surface-soft:#f8faf9;--border:#dfe6e5;--border-strong:#cbd7d4;--text:#17211f;--muted:#65726f;--muted-2:#8a9693;--teal:#0f766e;--teal-soft:#e6f4f1;--blue:#2563eb;--blue-soft:#eaf1ff;--amber:#b45309;--amber-soft:#fff4df;--red:#dc2626;--red-soft:#feecec;--green:#15803d;--green-soft:#e8f6ed;--shadow:0 12px 30px #1825220f;color:var(--text);background:var(--bg);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Microsoft YaHei,sans-serif}*{box-sizing:border-box}body{background:var(--bg);min-width:320px;min-height:100vh;margin:0}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.62}.app-shell{grid-template-columns:264px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{border-right:1px solid var(--border);z-index:20;background:#fbfcfc;flex-direction:column;gap:22px;height:100vh;padding:22px 16px;display:flex;position:sticky;top:0}.brand{align-items:center;gap:12px;padding:0 8px 8px;display:flex}.brand-logo{object-fit:cover;border-radius:8px;flex:none;width:40px;height:40px;box-shadow:0 0 0 1px #b0272a2e}.brand strong,.brand span{display:block}.brand strong{font-size:15px}.brand span{color:var(--muted);margin-top:3px;font-size:12px}.nav-list{gap:4px;display:grid}.nav-item{color:#34413e;text-align:left;background:0 0;border:1px solid #0000;border-radius:8px;align-items:center;gap:10px;width:100%;min-height:40px;padding:0 12px;display:flex}.nav-item:hover{background:#edf3f2}.nav-item.active{background:var(--teal-soft);color:#0b5d55;border-color:#c9ded9;font-weight:700}.sidebar-footer{border:1px solid var(--border);background:var(--surface);border-radius:8px;margin-top:auto;padding:14px}.mini-stat{color:var(--muted);justify-content:space-between;align-items:center;font-size:13px;display:flex}.mini-stat strong{color:var(--text)}.progress-track{background:#e6ecea;border-radius:999px;height:6px;margin-top:10px;overflow:hidden}.progress-track div{border-radius:inherit;background:var(--teal);height:100%}.main-shell,.content,.main-column,.side-column,.panel,.module-layout,.module-grid,.module-hero,.split-grid{min-width:0}.topbar{z-index:10;border-bottom:1px solid var(--border);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#f5f7f8eb;justify-content:space-between;align-items:center;gap:20px;padding:20px 26px;display:flex;position:sticky;top:0}.eyebrow{color:var(--muted);margin:0 0 4px;font-size:12px;font-weight:700}.topbar h1,.module-hero h2{letter-spacing:0;margin:0;font-size:24px}.topbar-actions{align-items:center;gap:10px;min-width:0;display:flex}.search-box{border:1px solid var(--border);background:var(--surface);width:min(360px,34vw);height:40px;color:var(--muted);border-radius:8px;flex:auto;align-items:center;gap:8px;padding:0 12px;display:flex}.search-box input{width:100%;min-width:0;color:var(--text);background:0 0;border:0;outline:0}.icon-button,.compact-button,.text-button,.primary-button,.secondary-button{border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:8px;justify-content:center;align-items:center;gap:7px;display:inline-flex}.icon-button{width:40px;height:40px;position:relative}.icon-button.small{width:32px;height:32px}.notification-dot{background:var(--red);border-radius:50%;width:7px;height:7px;position:absolute;top:9px;right:9px}.user-chip{border:1px solid var(--border);background:var(--surface);cursor:pointer;border-radius:8px;align-items:center;gap:8px;height:40px;padding:0 12px;font-size:14px;display:flex}.user-chip:hover{border-color:var(--border-strong);background:#f6faf9}.content{padding:24px 26px 34px}.kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:16px;display:grid}.panel{border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow);border-radius:8px}.kpi-card{gap:8px;padding:18px;display:grid}.kpi-card span,.module-card span,.task-head span,.finance-row span,.detail-title span,.detail-line span{color:var(--muted);font-size:13px}.kpi-card strong{font-size:25px}.dashboard-grid{grid-template-columns:minmax(0,1fr) 360px;align-items:start;gap:16px;display:grid}.stack{gap:16px;display:grid}.panel-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;min-height:54px;padding:0 16px;display:flex}.panel-header h2{margin:0;font-size:15px}.text-button{height:32px;color:var(--teal);background:0 0;border-color:#0000;padding:0 8px;font-size:13px;font-weight:700}.pipeline{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;padding:16px;display:grid}.pipeline-step{border:1px solid var(--border);background:var(--surface-soft);border-radius:8px;gap:6px;min-height:104px;padding:14px;display:grid;position:relative}.pipeline-icon{background:var(--teal-soft);width:34px;height:34px;color:var(--teal);border-radius:8px;place-items:center;display:grid}.pipeline-step strong{font-size:22px}.pipeline-step span{color:var(--muted);font-size:13px}.pipeline-arrow{color:var(--muted-2);z-index:1;position:absolute;top:18px;right:-14px}.segmented{border:1px solid var(--border);background:var(--surface-soft);border-radius:8px;padding:3px;display:inline-flex}.segmented button{min-width:58px;height:30px;color:var(--muted);background:0 0;border:0;border-radius:6px;font-size:13px}.segmented .selected{background:var(--surface);color:var(--text);font-weight:700;box-shadow:0 1px 3px #0f172a14}.table-wrap{max-width:100%;overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:14px}th,td{border-bottom:1px solid var(--border);text-align:left;white-space:nowrap;padding:13px 16px}th{color:var(--muted);background:#fbfcfc;font-size:12px;font-weight:800}td strong,td span{display:block}td span{color:var(--muted);margin-top:3px;font-size:12px}tbody tr:hover{background:#f7fbfa}.selected-row{background:#f0f7f5}.link-button{color:var(--teal);background:0 0;border:0;padding:0;font-weight:800}.split-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.finance-list,.status-list,.approval-list{gap:10px;padding:14px;display:grid}.finance-row,.status-item,.detail-line{border:1px solid var(--border);background:var(--surface-soft);border-radius:8px;justify-content:space-between;align-items:center;gap:12px;padding:12px;display:flex}.finance-row strong{margin-top:4px;display:block}.status-item{justify-content:flex-start}.status-item strong,.status-item span{display:block}.status-item span{color:var(--muted);margin-top:4px;font-size:13px}.status-icon{border-radius:8px;flex:none;place-items:center;width:34px;height:34px;display:grid}.status-icon.green{background:var(--green-soft);color:var(--green)}.status-icon.amber{background:var(--amber-soft);color:var(--amber)}.status-icon.red{background:var(--red-soft);color:var(--red)}.task-card{gap:10px;padding:14px;display:grid}.task-head{border:1px solid var(--border);background:var(--surface-soft);border-radius:8px;justify-content:space-between;align-items:center;gap:12px;padding:12px;display:flex}.task-head strong{margin-top:4px;font-size:18px;display:block}.primary-button,.secondary-button,.compact-button{min-height:38px;padding:0 12px;font-weight:700}.primary-button{background:var(--teal);color:#fff;border-color:#0d645d}.primary-button:hover{background:#0b5d55}.secondary-button:hover,.compact-button:hover,.icon-button:hover{border-color:var(--border-strong);background:#f6faf9}.approval-item{border:1px solid var(--border);border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px;display:grid}.approval-item h3{margin:8px 0 4px;font-size:14px}.approval-item p,.muted{color:var(--muted);margin:0;font-size:13px}.empty-state{width:100%;color:var(--muted);align-items:flex-start;gap:10px;padding:18px;display:flex}.empty-state svg{color:var(--muted-2);flex:none;margin-top:2px}.empty-state strong,.empty-state span{display:block}.empty-state strong{color:var(--text);font-size:14px}.empty-state span{color:var(--muted);white-space:normal;margin-top:4px;font-size:13px}.module-card-empty{grid-column:1/-1;padding:0}.detail-card{gap:10px;padding:14px;display:grid}.detail-title{justify-content:space-between;align-items:start;gap:12px;display:flex}.detail-title strong{margin-top:4px;display:block}.detail-line strong{text-align:right;white-space:normal;overflow-wrap:anywhere;min-width:0;font-size:13px}.badge{white-space:nowrap;border-radius:999px;align-items:center;width:fit-content;min-height:24px;padding:0 8px;font-size:12px;font-weight:800;display:inline-flex}.badge.green{background:var(--green-soft);color:var(--green)}.badge.amber{background:var(--amber-soft);color:var(--amber)}.badge.blue{background:var(--blue-soft);color:var(--blue)}.badge.red{background:var(--red-soft);color:var(--red)}.badge.gray{color:#5d6966;background:#eef2f1}.module-layout{gap:16px;display:grid}.module-hero{border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow);border-radius:8px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;padding:18px;display:grid}.module-icon{background:var(--teal-soft);width:48px;height:48px;color:var(--teal);border-radius:8px;place-items:center;display:grid}.module-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.module-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.module-card{gap:8px;padding:16px;display:grid}.module-card-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.module-card strong{font-size:24px}.module-card p{color:var(--text);margin:0;font-size:14px}.module-card small{color:var(--muted)}.module-card-active{background:#f3fbf8;border-color:#a8d4cc}.customer-toolbar,.product-filter-group,.row-actions,.import-actions,.modal-actions{align-items:center;gap:8px;display:flex}.customer-toolbar{flex-wrap:wrap;justify-content:flex-end}.customer-toolbar input,.customer-toolbar select{border:1px solid var(--border);background:var(--surface);min-height:36px;color:var(--text);border-radius:8px;outline:0;padding:0 10px}.customer-toolbar input{width:min(220px,100%)}.customer-filter-panel{border:1px solid var(--border);background:var(--surface-soft);border-radius:8px;grid-template-columns:minmax(280px,1.8fr) repeat(4,minmax(138px,1fr));gap:12px;margin:14px 16px 0;padding:14px;display:grid}.customer-filter-panel label{min-width:0;color:var(--muted);align-content:start;gap:6px;font-size:12px;font-weight:700;display:grid}.customer-filter-panel input,.customer-filter-panel select{border:1px solid var(--border);background:var(--surface);width:100%;min-width:0;height:38px;color:var(--text);border-radius:8px;outline:0;padding:0 10px}.customer-filter-panel input:focus,.customer-filter-panel select:focus{border-color:#78b9ad;box-shadow:0 0 0 3px #0f766e1a}.customer-filter-input{border:1px solid var(--border);background:var(--surface);height:38px;color:var(--muted);border-radius:8px;align-items:center;gap:8px;padding-left:10px;display:flex}.customer-filter-input:focus-within{border-color:#78b9ad;box-shadow:0 0 0 3px #0f766e1a}.customer-filter-input input{height:36px;box-shadow:none;border:0;padding-left:0}.customer-filter-input input:focus{box-shadow:none}.customer-filter-reset{align-self:end;height:38px}.customer-filter-summary{color:var(--muted);justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;font-size:13px;display:flex}.customer-filter-summary strong{color:var(--text)}.customer-list-controls{color:var(--muted);justify-content:flex-end;align-items:center;gap:12px;padding:0 16px 12px;font-size:13px;display:flex}.customer-list-controls>span{margin-right:auto}.customer-list-controls label,.customer-pagination{align-items:center;gap:8px;display:inline-flex}.customer-list-controls select{border:1px solid var(--border);background:var(--surface);min-width:82px;height:34px;color:var(--text);border-radius:7px;padding:0 8px}.customer-pagination strong{min-width:68px;color:var(--text);text-align:center;font-size:12px}.customer-action-cell{z-index:2;background:var(--surface);min-width:196px;position:sticky;right:0;box-shadow:-8px 0 12px -12px #0f172a59}.customer-table thead .customer-action-cell{z-index:4;background:#fbfcfd}.customer-table tbody tr:hover .customer-action-cell{background:#f7fbfa}.customer-table tbody tr.selected-row .customer-action-cell{background:#f0f7f5}.customer-tags{flex-wrap:wrap;gap:4px;margin-top:5px;display:flex}.customer-tag{background:var(--teal-soft);width:fit-content;min-height:21px;color:var(--teal);border-radius:999px;align-items:center;margin:0;padding:0 7px;font-size:11px;font-weight:700;display:inline-flex}.customer-tag.is-empty{color:var(--muted);background:#eef2f1;font-weight:500}.field-help{color:var(--muted);font-size:12px;font-weight:400}@media (width<=1180px){.customer-filter-panel{grid-template-columns:repeat(3,minmax(0,1fr))}.customer-filter-search{grid-column:span 2}}@media (width<=680px){.customer-filter-panel{grid-template-columns:1fr;margin-left:12px;margin-right:12px}.customer-filter-search{grid-column:auto}.customer-filter-summary{flex-direction:column;align-items:flex-start}.customer-list-controls{flex-wrap:wrap;justify-content:flex-start;align-items:flex-start;gap:8px;padding:0 12px 12px}.customer-list-controls>span{width:100%;margin-right:0}.customer-action-cell{min-width:154px}}.product-filter-group{flex-wrap:wrap;justify-content:flex-end}.product-filter-group select{border:1px solid var(--border);background:var(--surface);min-height:36px;color:var(--text);border-radius:8px;outline:0;padding:0 10px}.product-thumb-button{cursor:pointer;background:0 0;border:0;padding:0;display:inline-flex}.product-thumb{border:1px solid var(--border);object-fit:cover;background:var(--surface-soft);width:58px;height:44px;color:var(--muted);border-radius:8px;place-items:center;font-size:12px;font-weight:800;display:grid}.product-image-upload{grid-template-columns:minmax(0,.75fr) minmax(0,1fr);align-items:stretch;gap:12px;display:grid}.product-image-preview{border:1px solid var(--border);background:var(--surface-soft);border-radius:8px;grid-template-columns:96px minmax(0,1fr);align-items:center;gap:12px;min-height:96px;padding:10px;display:grid}.product-image-preview img{object-fit:cover;border:1px solid var(--border);background:var(--surface);border-radius:8px;width:96px;height:76px}.product-image-preview strong,.product-image-preview span{display:block}.product-image-preview span{color:var(--muted);margin:4px 0 8px;font-size:12px}.product-empty-image{border:1px dashed var(--border-strong);min-height:76px;color:var(--muted);background:var(--surface);border-radius:8px;place-items:center;font-size:13px;font-weight:800;display:grid}.product-detail-grid{grid-template-columns:minmax(220px,.8fr) minmax(0,1fr);gap:16px;padding:16px;display:grid}.product-detail-image{border:1px solid var(--border);background:var(--surface-soft);border-radius:8px;place-items:center;min-height:280px;display:grid;overflow:hidden}.product-detail-image img{object-fit:contain;background:#fff;width:100%;height:100%;max-height:420px}.account-admin{gap:16px;padding:16px;display:grid}.account-metrics{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.account-admin .notice-bar{margin:0}.account-admin-grid{grid-template-columns:minmax(320px,.72fr) minmax(0,1.28fr);align-items:start;gap:16px;display:grid}.account-form{padding:14px}.account-permissions{color:var(--muted);gap:9px;font-size:13px;font-weight:700;display:grid}.role-helper{color:#0b5d55;background:#f1faf7;border:1px solid #c9ded9;border-radius:8px;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;padding:10px 12px;font-size:13px;display:grid}.role-helper span{color:#3c6f68;font-weight:600}.permission-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.account-permissions>div{border:1px solid var(--border);background:var(--surface-soft);border-radius:8px;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 10px;padding:10px;display:grid}.report-metrics{grid-template-columns:repeat(6,minmax(0,1fr))}.report-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.report-bars{gap:12px;padding:16px;display:grid}.report-bar-row{min-height:30px;color:var(--muted);grid-template-columns:120px minmax(120px,1fr) 64px;align-items:center;gap:10px;font-size:13px;display:grid}.report-bar-row>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--text);font-weight:700;overflow:hidden}.report-bar-row>strong{text-align:right;color:var(--text)}.report-bar-track{background:#edf3f2;border-radius:999px;height:12px;overflow:hidden}.report-bar-track>div{border-radius:inherit;background:linear-gradient(90deg,#0f766e,#54b8a7);height:100%}.notice-bar,.error-bar,.preview-box{border-radius:8px;margin:14px 16px 0;padding:11px 12px;font-size:13px}.notice-bar{color:#0b5d55;background:#f1faf7;border:1px solid #c9ded9}.error-bar{background:var(--red-soft);color:var(--red);border:1px solid #fecaca}.preview-box{border:1px solid var(--border);background:var(--surface-soft);gap:4px;display:grid}.preview-box span{color:var(--muted)}.modal-backdrop{z-index:50;background:#10181661;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.modal-panel{border:1px solid var(--border);background:var(--surface);border-radius:8px;width:min(720px,100%);max-height:min(760px,100vh - 48px);overflow:auto;box-shadow:0 24px 60px #0f172a33}.modal-panel.wide{width:min(1180px,100%)}.modal-header{z-index:1;border-bottom:1px solid var(--border);background:var(--surface);justify-content:space-between;align-items:center;gap:12px;padding:14px 16px;display:flex;position:sticky;top:0}.modal-header h2{margin:0;font-size:16px}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:16px;display:grid}.form-grid label,.assign-box label,.paste-area,.checkbox-line{color:var(--muted);gap:7px;font-size:13px;font-weight:700;display:grid}.form-grid input,.form-grid select,.form-grid textarea,.assign-box input,.assign-box select,.paste-area textarea{border:1px solid var(--border);background:var(--surface);width:100%;min-height:38px;color:var(--text);border-radius:8px;outline:0;padding:0 10px}.paste-area textarea{resize:vertical;min-height:112px;padding:10px}.form-grid textarea{resize:vertical;min-height:96px;padding:10px}.form-grid input:focus,.form-grid select:focus,.form-grid textarea:focus,.assign-box input:focus,.assign-box select:focus,.paste-area textarea:focus{border-color:#8bc5bb;box-shadow:0 0 0 3px #0f766e1f}.full-width{grid-column:1/-1}.modal-actions{justify-content:flex-end}.row-actions{flex-wrap:nowrap}.customer-follow-form{gap:14px;padding:16px;display:grid}.customer-follow-form label{color:var(--muted);gap:7px;font-size:13px;font-weight:700;display:grid}.customer-follow-form textarea,.customer-follow-form select{border:1px solid var(--border);background:var(--surface);width:100%;color:var(--text);border-radius:8px;outline:0}.customer-follow-form textarea{resize:vertical;min-height:96px;padding:10px}.customer-follow-form select{width:min(340px,100%);min-height:38px;padding:0 10px}.customer-follow-form textarea:focus,.customer-follow-form select:focus{border-color:#8bc5bb;box-shadow:0 0 0 3px #0f766e1f}.customer-follow-error{margin:0}.customer-follow-history{border-top:1px solid var(--border);padding:16px}.customer-follow-history h3{margin:0 0 10px;font-size:14px}.customer-follow-history>p{color:var(--muted);margin:0;font-size:13px}.customer-follow-list{gap:10px;display:grid}.customer-follow-list article{border:1px solid var(--border);background:var(--surface-soft);border-radius:8px;padding:12px}.customer-follow-list article>div{justify-content:space-between;align-items:center;gap:12px;display:flex}.customer-follow-list article strong{font-size:12px}.customer-follow-list article p{color:var(--text);white-space:pre-wrap;margin:8px 0 0;font-size:13px;line-height:1.55}.import-box,.assign-box{gap:14px;padding:16px;display:grid}.assign-box{grid-template-columns:repeat(2,minmax(0,1fr))}.assign-box .modal-actions{grid-column:1/-1}.attendance-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.attendance-console{grid-template-columns:minmax(160px,1fr) minmax(160px,1fr) minmax(220px,1.2fr) auto;align-items:end;gap:12px;padding:16px;display:grid}.attendance-console label{color:var(--muted);gap:7px;font-size:13px;font-weight:700;display:grid}.attendance-console input,.attendance-console select{border:1px solid var(--border);background:var(--surface);width:100%;min-height:38px;color:var(--text);border-radius:8px;outline:0;padding:0 10px}.attendance-console input:focus,.attendance-console select:focus{border-color:#8bc5bb;box-shadow:0 0 0 3px #0f766e1f}.attendance-console-actions{justify-content:flex-end;gap:8px;display:flex}.attendance-grid{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:16px;display:grid}.inquiry-stage-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;padding:16px;display:grid}.inquiry-stage{border:1px solid var(--border);background:var(--surface-soft);border-radius:8px;gap:10px;min-height:86px;padding:13px;display:grid}.inquiry-stage strong{font-size:24px}.inquiry-work-grid{grid-template-columns:minmax(0,1fr);align-items:start;gap:16px;display:grid}.inquiry-work-grid table{table-layout:auto}.inquiry-work-grid th,.inquiry-work-grid td{padding:11px 10px}.inquiry-work-grid td:nth-child(4){white-space:normal;word-break:break-word;width:40%;min-width:300px}.inquiry-work-grid td:nth-child(4) strong{white-space:normal;font-weight:600;line-height:1.55;display:block}.inquiry-work-grid td:nth-child(2),.inquiry-work-grid td:nth-child(9){white-space:normal;word-break:break-word;max-width:190px}.inquiry-work-grid td:nth-child(9){min-width:140px}.inquiry-work-grid td:nth-child(10){min-width:260px}.inquiry-work-grid .row-actions{flex-wrap:wrap;gap:5px;max-width:310px}.inquiry-work-grid .row-actions .compact-button,.inquiry-work-grid .row-actions a.compact-button{min-height:29px;padding:0 8px;font-size:12px;text-decoration:none}.whatsapp-button{color:#06381c!important;background:#25d366!important;border-color:#1da851!important}.whatsapp-button:hover{background:#1ebe5a!important;border-color:#158a41!important}.ai-button{color:#4c2fa8!important;background:#f3efff!important;border-color:#c7b9f0!important}.ai-button:hover{background:#e9e1ff!important;border-color:#a992e8!important}.import-file-zone{border:1.5px dashed var(--teal);background:#eef4f3;border-radius:10px;padding:18px}.import-file-title{color:var(--teal);margin:0 0 6px;font-weight:800}.import-file-button{background:var(--teal);color:#fff;cursor:pointer;border-radius:8px;width:fit-content;margin-top:12px;padding:9px 18px;font-size:14px;font-weight:700;display:inline-flex}.import-divider{color:var(--muted-2);align-items:center;font-size:12px;display:flex}.import-divider:before,.import-divider:after{content:"";border-bottom:1px solid var(--border);flex:1}.import-divider span{padding:0 12px}.import-textarea{resize:vertical;border:1px solid var(--border);background:var(--surface);width:100%;min-height:120px;color:var(--text);font:inherit;border-radius:8px;outline:none;padding:12px;line-height:1.55}.import-textarea:focus{border-color:#8bc5bb;box-shadow:0 0 0 3px #0f766e1f}.webhook-guide{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start}.webhook-guide>.muted,.webhook-guide>.modal-actions{grid-column:1/-1}.webhook-guide h3{margin:0 0 10px;font-size:15px}.webhook-info{gap:8px;display:grid}.webhook-row{border:1px solid var(--border);background:var(--surface-soft);border-radius:8px;gap:5px;min-width:0;padding:10px;font-size:12px;display:grid}.webhook-row code{overflow-wrap:anywhere;color:var(--teal)}.wa-chat-meta{color:#4b5563;flex-wrap:wrap;gap:18px;font-size:14px;display:flex}.wa-window-open,.wa-window-closed{border-radius:8px;padding:10px 13px;font-size:13px;font-weight:700}.wa-window-open{color:#0f6b3c;background:#e7f8ef}.wa-window-closed{color:#92400e;background:#fff4e5}.modal-panel.wa-chat-modal{width:min(1080px,100%);max-height:min(860px,100vh - 48px)}.wa-chat-dialog{grid-template-rows:auto auto minmax(330px,1fr) auto auto auto;min-height:620px}.wa-chat-log{border:1px solid var(--border);background:#f7faf9;border-radius:10px;flex-direction:column;gap:9px;min-height:330px;max-height:470px;padding:16px;display:flex;overflow-y:auto}.wa-bubble{white-space:pre-wrap;word-break:break-word;border-radius:10px;max-width:78%;padding:10px 13px;font-size:14px;line-height:1.55}.wa-in{border:1px solid var(--border);background:#fff;align-self:flex-start}.wa-out{background:#d9fdd3;border:1px solid #b6e8ad;align-self:flex-end}.wa-reply-input{min-height:110px}.ai-loading{color:#4c2fa8;text-align:center;background:#f3efff;border-radius:10px;padding:14px;font-size:13px;font-weight:700}.ai-report{border:1px solid var(--border);white-space:pre-wrap;word-break:break-word;background:#fbfaff;border-radius:10px;max-height:430px;padding:14px 16px;font-size:13px;line-height:1.75;overflow-y:auto}.fulfillment-stage-grid{grid-template-columns:repeat(7,minmax(0,1fr))}.fulfillment-work-grid{grid-template-columns:minmax(0,1.45fr) minmax(330px,.65fr);align-items:start;gap:16px;display:grid}.supply-work-grid,.customs-work-grid,.finance-work-grid,.training-work-grid{grid-template-columns:minmax(0,1.35fr) minmax(340px,.75fr);align-items:start;gap:16px;display:grid}.checkbox-line{color:var(--text);align-items:center;gap:8px;font-weight:700;display:flex}.checkbox-line input{width:16px;height:16px}.mobile-only,.mobile-tabbar,.scrim{display:none}.quote-center{gap:16px;min-width:0;display:grid}.quote-hero{box-shadow:none}.quote-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;display:grid}.quote-metrics article{gap:7px;padding:16px;display:grid}.quote-metrics span,.quote-metrics small{color:var(--muted);font-size:12px}.quote-metrics strong{overflow-wrap:anywhere;font-size:22px}.quote-notice{margin:0}.quote-empty{min-height:110px;color:var(--muted);justify-content:center;align-items:center;gap:10px;display:flex}.quote-empty strong,.quote-empty span{white-space:normal;display:block}.quote-empty span{margin-top:4px}.quote-editor-head{border:1px solid var(--border);background:var(--surface);border-radius:8px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;padding:14px 16px;display:grid}.quote-editor-head>div:nth-child(2) span,.quote-editor-head>div:nth-child(2) strong{display:block}.quote-editor-head>div:nth-child(2) span{color:var(--muted);font-size:12px}.quote-editor-head>div:nth-child(2) strong{margin-top:3px;font-size:17px}.quote-editor-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.quote-save-feedback{min-height:44px;color:var(--teal);background:#edf9f6;border:1px solid #b9ddd5;border-radius:8px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px;padding:9px 12px;font-size:13px;display:grid}.quote-save-feedback.error{background:var(--red-soft);color:var(--red);border-color:#f4bcbc}.quote-save-feedback .icon-button{color:currentColor}.quote-stepper{border:1px solid var(--border);background:var(--surface);border-radius:8px;grid-template-columns:repeat(4,minmax(0,1fr));display:grid;overflow:hidden}.quote-stepper button{border:0;border-right:1px solid var(--border);min-height:48px;color:var(--muted);background:0 0;justify-content:center;align-items:center;gap:9px;font-weight:700;display:flex}.quote-stepper button:last-child{border-right:0}.quote-stepper button span{background:#eef2f1;border-radius:50%;place-items:center;width:24px;height:24px;font-size:12px;display:grid}.quote-stepper button.active{color:var(--teal);background:#f1faf7}.quote-stepper button.active span{background:var(--teal);color:#fff}.quote-editor-grid{grid-template-columns:minmax(0,1fr) 300px;align-items:start;gap:16px;display:grid}.quote-editor-main,.quote-party-grid{gap:16px;min-width:0;display:grid}.quote-party-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.quote-form-section{border:1px solid var(--border);background:var(--surface);border-radius:8px;min-width:0;overflow:hidden}.quote-section-head{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:14px;min-height:60px;padding:12px 16px;display:flex}.quote-section-head h3,.quote-section-head p{margin:0}.quote-section-head h3{font-size:15px}.quote-section-head p{color:var(--muted);margin-top:4px;font-size:12px}.quote-crm-link{border-bottom:1px solid var(--border);background:#f4faf8;gap:10px;padding:14px 16px;display:grid}.quote-crm-customer-picker{gap:7px;display:grid;position:relative}.quote-crm-picker-label{color:var(--muted);font-size:12px;font-weight:700}.quote-crm-search-trigger,.quote-crm-selected-customer{background:var(--surface);width:100%;min-width:0;min-height:44px;color:var(--text);border:1px solid #8bc5bb;border-radius:7px;align-items:center;gap:10px;padding:0 12px;display:flex}.quote-crm-search-trigger{font:inherit;text-align:left;cursor:pointer;font-weight:700}.quote-crm-search-trigger:hover,.quote-crm-search-trigger:focus-visible{border-color:var(--primary);background:#fbfffe;outline:0;box-shadow:0 0 0 3px #0f766e1a}.quote-crm-search-trigger>span{color:var(--muted);margin-left:auto;font-size:11px;font-weight:600}.quote-crm-selected-customer{color:var(--primary);background:#fbfffe;border-color:#9acfc5;justify-content:space-between}.quote-crm-selected-customer>div{gap:2px;min-width:0;display:grid}.quote-crm-selected-customer strong,.quote-crm-selected-customer span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.quote-crm-selected-customer strong{color:var(--text);font-size:13px}.quote-crm-selected-customer span{color:var(--muted);font-size:11px}.quote-crm-search-panel{z-index:12;background:var(--surface);border:1px solid #a8cbc4;border-radius:8px;position:absolute;top:calc(100% + 6px);left:0;right:0;overflow:hidden;box-shadow:0 16px 36px #0f252029}.quote-crm-search-head{border-bottom:1px solid var(--border);grid-template-columns:minmax(0,1fr) 34px;gap:8px;padding:10px;display:grid}.quote-crm-search-input{min-height:38px;color:var(--muted);border:1px solid #8bc5bb;border-radius:7px;grid-template-columns:20px minmax(0,1fr) 28px;align-items:center;padding:0 8px;display:grid}.quote-crm-search-input:focus-within{border-color:var(--primary);box-shadow:0 0 0 3px #0f766e1a}.quote-crm-search-input input{width:100%;min-width:0;height:36px;color:var(--text);font:inherit;background:0 0;border:0;outline:0;padding:0 4px}.quote-crm-search-input>button{width:28px;height:28px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:6px;place-items:center;padding:0;display:grid}.quote-crm-search-input>button:hover{background:var(--surface-soft);color:var(--text)}.quote-crm-search-summary{color:var(--muted);padding:8px 12px;font-size:11px}.quote-crm-customer-results{border-top:1px solid var(--border);max-height:310px;overflow-y:auto}.quote-crm-customer-results>button{border:0;border-bottom:1px solid var(--border);background:var(--surface);width:100%;color:var(--text);font:inherit;text-align:left;cursor:pointer;grid-template-columns:34px minmax(0,1fr) minmax(72px,auto);align-items:center;gap:10px;padding:10px 12px;display:grid}.quote-crm-customer-results>button:last-child{border-bottom:0}.quote-crm-customer-results>button:hover,.quote-crm-customer-results>button:focus-visible{background:#eff9f6;outline:0}.quote-crm-customer-avatar{background:var(--teal-soft);width:32px;height:32px;color:var(--teal);border-radius:50%;place-items:center;font-size:12px;font-weight:800;display:grid}.quote-crm-customer-copy{gap:3px;min-width:0;display:grid}.quote-crm-customer-copy strong,.quote-crm-customer-copy small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.quote-crm-customer-copy strong{font-size:13px}.quote-crm-customer-copy small,.quote-crm-customer-region{color:var(--muted);font-size:11px}.quote-crm-customer-region{text-overflow:ellipsis;white-space:nowrap;max-width:130px;overflow:hidden}.quote-crm-no-results{min-height:116px;color:var(--muted);text-align:center;align-content:center;place-items:center;gap:5px;padding:18px;display:grid}.quote-crm-no-results strong{color:var(--text);font-size:13px}.quote-crm-no-results span{font-size:11px}.quote-crm-link-status{color:var(--muted);justify-content:space-between;align-items:center;gap:12px;display:flex}.quote-crm-link-status>div{gap:3px;min-width:0;display:grid}.quote-crm-link-status strong{color:#9a6700;font-size:13px}.quote-crm-link-status.linked strong{color:var(--primary)}.quote-crm-link-status span{font-size:12px;line-height:1.45}.quote-crm-sync-button{color:var(--primary);font:inherit;cursor:pointer;background:0 0;border:0;flex:none;padding:0;font-size:12px;font-weight:700}.quote-fields-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;padding:16px;display:grid}.quote-fields-grid label{gap:7px;min-width:0;display:grid}.quote-fields-grid label.wide{grid-column:1/-1}.quote-fields-grid label>span{color:var(--muted);font-size:12px;font-weight:700}.quote-current-status{border:1px solid var(--border);background:var(--surface-soft);border-radius:7px;align-items:center;min-height:38px;padding:0 10px;display:flex}.quote-workflow-band{border-top:1px solid var(--border);background:#fbfcfc;padding:16px}.quote-workflow-head{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.quote-workflow-head h4,.quote-workflow-head p,.quote-approval-timeline h4,.quote-approval-record p,.quote-workflow-empty{margin:0}.quote-workflow-head h4,.quote-approval-timeline h4{font-size:13px}.quote-workflow-head p{color:var(--muted);margin-top:4px;font-size:12px}.quote-workflow-fields{grid-template-columns:minmax(160px,.45fr) minmax(240px,1fr);gap:12px;margin-top:14px;display:grid}.quote-workflow-fields label{gap:6px;display:grid}.quote-workflow-fields label>span{color:var(--muted);font-size:11px;font-weight:700}.quote-workflow-fields input{border:1px solid var(--border);background:var(--surface);border-radius:7px;outline:0;width:100%;min-width:0;min-height:38px;padding:0 10px}.quote-workflow-fields input:focus{border-color:#8bc5bb;box-shadow:0 0 0 3px #0f766e1a}.quote-workflow-actions{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.secondary-button.danger{color:var(--red);border-color:#f1bcbc}.secondary-button.danger:hover{background:var(--red-soft)}.quote-approval-timeline{border-top:1px solid var(--border);margin-top:18px;padding-top:14px}.quote-approval-record{border-bottom:1px solid var(--border);grid-template-columns:12px minmax(0,1fr) minmax(130px,auto);align-items:start;gap:10px;padding:12px 0;display:grid;position:relative}.quote-approval-record:last-child{border-bottom:0}.quote-approval-dot{background:var(--teal);border-radius:50%;width:9px;height:9px;margin-top:4px}.quote-approval-dot.red{background:var(--red)}.quote-approval-record strong,.quote-approval-record time{font-size:11px;display:block}.quote-approval-record p,.quote-approval-record time,.quote-workflow-empty{color:var(--muted);margin-top:4px;font-size:11px;line-height:1.45}.quote-approval-record>div:last-child{text-align:right}.quote-fields-grid input,.quote-fields-grid select,.quote-fields-grid textarea,.quote-product-editor input,.quote-product-editor select{border:1px solid var(--border);background:var(--surface);width:100%;min-width:0;min-height:38px;color:var(--text);font:inherit;border-radius:7px;outline:0;padding:0 10px}.quote-fields-grid textarea{resize:vertical;min-height:88px;padding:10px}.quote-fields-grid input:focus,.quote-fields-grid select:focus,.quote-fields-grid textarea:focus,.quote-product-editor input:focus,.quote-product-editor select:focus{border-color:#8bc5bb;box-shadow:0 0 0 3px #0f766e1a}.number-input{min-width:78px;position:relative}.number-input span{color:var(--muted);pointer-events:none;font-size:10px;position:absolute;top:50%;right:9px;transform:translateY(-50%)}.number-input:has(span) input{padding-right:36px}.quote-product-editor-list{background:var(--surface-soft);gap:12px;padding:16px;display:grid}.quote-product-editor{border:1px solid var(--border);background:var(--surface);border-radius:8px;overflow:hidden}.quote-product-editor-head{grid-template-columns:30px 64px minmax(0,1fr) 32px;align-items:center;gap:12px;padding:14px;display:grid}.quote-product-index{background:var(--teal-soft);width:28px;height:28px;color:var(--teal);border-radius:50%;place-items:center;font-size:12px;font-weight:800;display:grid}.quote-product-image{border:1px solid var(--border);object-fit:cover;background:var(--surface-soft);border-radius:8px;width:64px;height:64px}.quote-product-image-control{width:64px;height:64px;position:relative}.quote-product-image-button{color:var(--muted-2);cursor:pointer;place-items:center;padding:0;transition:border-color .16s,background .16s,color .16s;display:grid;overflow:hidden}.quote-product-image-button:hover{border-color:var(--teal);background:var(--teal-soft);color:var(--teal)}.quote-product-image-button:focus-visible{outline:2px solid color-mix(in srgb, var(--teal) 35%, transparent);outline-offset:2px}.quote-product-image-button img{object-fit:cover;width:100%;height:100%}.quote-product-image.quote-image-placeholder{color:var(--muted-2);place-items:center;gap:2px;font-size:10px;font-weight:800;display:grid}.quote-product-image.quote-image-placeholder span{font-size:10px;line-height:1}.quote-product-file-input{display:none}.quote-product-image-remove{border:1px solid var(--border);background:var(--surface);width:22px;height:22px;color:var(--muted);cursor:pointer;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;top:-7px;right:-7px;box-shadow:0 2px 8px #0f172a1f}.quote-product-image-remove:hover{border-color:var(--red);color:var(--red)}.quote-product-identity{grid-template-columns:minmax(240px,1.6fr) minmax(130px,.65fr);gap:12px;min-width:0;display:grid}.quote-product-editor label,.quote-product-amount{gap:6px;min-width:0;display:grid}.quote-product-editor label>span,.quote-product-amount>span{color:var(--muted);font-size:11px;font-weight:700}.quote-product-values{border-top:1px solid var(--border);background:#fbfcfc;grid-template-columns:repeat(5,minmax(112px,1fr));gap:13px;padding:14px;display:grid}.quote-product-amount{align-content:start}.quote-product-amount strong{min-height:38px;color:var(--teal);overflow-wrap:anywhere;background:#f1faf7;border:1px solid #c9ded9;border-radius:7px;align-items:center;padding:0 10px;font-size:14px;display:flex}.quote-summary{border:1px solid var(--border);background:var(--surface);border-radius:8px;gap:0;display:grid;position:sticky;top:98px;overflow:hidden}.quote-summary-head{border-bottom:1px solid var(--border);min-height:54px;color:var(--teal);align-items:center;gap:8px;padding:0 14px;display:flex}.quote-summary-line,.quote-total{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:10px;min-height:40px;margin:0 14px;font-size:12px;display:flex}.quote-summary-line span,.quote-total span{color:var(--muted)}.quote-summary-line strong{text-align:right;overflow-wrap:anywhere}.quote-total{border-bottom:0;min-height:64px}.quote-total strong{color:var(--teal);text-align:right;overflow-wrap:anywhere;font-size:21px}.quote-profit-box{background:#f1faf7;border:1px solid #c9ded9;border-radius:8px;gap:5px;margin:6px 14px 12px;padding:12px;display:grid}.quote-profit-box span,.quote-profit-box small{color:#3c6f68;font-size:11px}.quote-profit-box strong{color:#0b5d55;font-size:19px}.quote-submit{margin:14px}.quote-doc-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:16px;display:grid}.quote-doc-grid button{border:1px solid var(--border);background:var(--surface-soft);min-height:110px;color:var(--teal);text-align:left;border-radius:8px;justify-items:start;gap:7px;padding:14px;display:grid}.quote-doc-grid button:hover{background:#f1faf7;border-color:#8bc5bb}.quote-doc-grid button strong{color:var(--text)}.quote-doc-grid button span{color:var(--muted);font-size:11px}.quote-overlay,.quote-preview-overlay{z-index:70;background:#1018167a;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.quote-picker{background:var(--surface);border-radius:8px;width:min(900px,100%);max-height:min(720px,100vh - 48px);overflow:auto}.quote-picker>header{z-index:1;border-bottom:1px solid var(--border);background:var(--surface);justify-content:space-between;align-items:center;gap:12px;padding:14px 16px;display:flex;position:sticky;top:0}.quote-picker h3,.quote-picker p{margin:0}.quote-picker p{color:var(--muted);margin-top:4px;font-size:12px}.quote-picker-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:16px;display:grid}.quote-picker-grid>button{border:1px solid var(--border);background:var(--surface);min-width:0;color:var(--text);text-align:left;border-radius:8px;gap:7px;padding:12px;display:grid}.quote-picker-grid>button:hover{background:#f1faf7;border-color:#8bc5bb}.quote-picker-grid img,.quote-picker-image{aspect-ratio:16/8;object-fit:contain;background:var(--surface-soft);border-radius:6px;width:100%}.quote-picker-image{color:var(--muted-2);place-items:center;font-size:11px;font-weight:800;display:grid}.quote-picker-grid span{color:var(--muted);font-size:11px}.quote-picker-grid b{color:var(--teal)}.quote-picker-empty{color:var(--muted);text-align:center;grid-column:1/-1;padding:30px}.quote-preview-overlay{background:#e7eceb;place-items:start center;overflow:auto}.quote-preview-toolbar{z-index:2;border:1px solid var(--border);width:min(980px,100%);min-height:62px;box-shadow:var(--shadow);background:#fffffff5;border-radius:8px;justify-content:space-between;align-items:center;gap:16px;padding:10px 14px;display:flex;position:sticky;top:0}.quote-preview-toolbar>div,.quote-preview-toolbar>div:last-child{align-items:center;gap:9px;display:flex}.quote-preview-toolbar span{color:var(--muted);font-size:12px}.quote-document{color:#15201e;background:#fff;width:min(980px,100%);min-height:1280px;margin-top:14px;padding:48px;box-shadow:0 16px 44px #0f172a1f}.quote-document-header,.quote-document-meta,.quote-document-terms,.quote-document-footer{gap:20px;display:grid}.quote-document-header{border-bottom:3px solid var(--teal);grid-template-columns:minmax(0,1fr) auto;align-items:start;padding-bottom:24px}.quote-document-header h1,.quote-document-header p{text-align:right;margin:0}.quote-document-header h1{color:var(--teal);letter-spacing:0;font-size:29px}.quote-document-bilingual .quote-document-header h1{max-width:430px;font-size:23px}.quote-document-header p{color:var(--muted);margin-top:6px}.quote-document-brand{align-items:center;gap:12px;display:flex}.quote-document-brand>span{color:#fff;background:#b0272a;border-radius:8px;place-items:center;width:48px;height:48px;font-size:27px;font-weight:900;display:grid}.quote-document-brand strong,.quote-document-brand small{display:block}.quote-document-brand strong{font-size:20px}.quote-document-brand small{color:var(--muted);margin-top:4px}.quote-document-meta{grid-template-columns:repeat(2,minmax(0,1fr)) 210px;margin:28px 0 18px}.quote-document-meta section{border:1px solid #d9e1df;padding:14px}.quote-document-meta section>span{color:var(--teal);margin-bottom:8px;font-size:11px;font-weight:800;display:block}.quote-document-meta p{color:#5c6865;margin:5px 0 0;font-size:11px;line-height:1.5}.quote-document-terms{background:#f0f6f4;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:12px;font-size:11px}.quote-document-table{table-layout:fixed;margin-top:18px;font-size:11px}.quote-document-table th,.quote-document-table td{white-space:normal;border:1px solid #d9e1df;padding:10px 8px}.quote-document-table th{background:var(--teal);color:#fff}.quote-document-table th:first-child{width:40px}.quote-document-table th:nth-child(2){width:33%}.quote-document-product{align-items:center;gap:8px;display:flex}.quote-document-product img{object-fit:contain;width:46px;height:38px}.quote-document-product strong,.quote-document-product span{display:block}.quote-document-product span{color:var(--muted);font-size:9px}.quote-document-footer{grid-template-columns:minmax(0,1fr) 300px;margin-top:20px}.quote-contract-clauses,.quote-document-declaration{background:#fbfcfc;border:1px solid #d9e1df;margin-top:20px;padding:14px 16px}.quote-contract-clauses h3,.quote-document-declaration strong{color:var(--teal);margin:0;font-size:12px}.quote-contract-clauses ol{margin:10px 0 0;padding-left:20px}.quote-contract-clauses li,.quote-document-declaration p{color:#52605d;margin:5px 0;font-size:10px;line-height:1.55}.quote-document-footer h3{color:var(--teal);margin:0 0 6px;font-size:12px}.quote-document-footer p{color:#52605d;white-space:pre-wrap;margin:0 0 16px;font-size:10px;line-height:1.6}.quote-document-totals{background:#f6f8f7;padding:13px}.quote-document-totals p{border-bottom:1px solid #dde4e2;justify-content:space-between;gap:12px;margin:0;padding:8px 0;display:flex}.quote-document-totals p.grand{color:var(--teal);font-size:14px}.quote-document-signature{color:var(--muted);text-align:center;justify-content:flex-end;gap:40px;margin-top:72px;font-size:10px;display:flex}.quote-document-signature.dual{justify-content:space-between}.quote-document-signature>div{gap:38px;min-width:240px;display:grid}.quote-document-signature span,.quote-document-signature strong{display:block}.quote-document-signature strong{min-width:240px;color:var(--text);border-top:1px solid #596360;padding-top:8px;font-weight:700}@media (width<=1120px){.quote-editor-grid{grid-template-columns:minmax(0,1fr) 260px}.quote-party-grid,.quote-product-identity{grid-template-columns:1fr}.quote-product-values{grid-template-columns:repeat(3,minmax(112px,1fr))}}@media (width<=860px){.quote-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.quote-editor-grid{grid-template-columns:1fr}.quote-summary{position:static}.quote-doc-grid,.quote-picker-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.quote-document{min-width:820px}}@media (width<=620px){.quote-crm-link-status{flex-direction:column;align-items:flex-start}.quote-editor-head{grid-template-columns:1fr auto}.quote-editor-head>div:nth-child(2){order:-1;grid-column:1/-1}.quote-editor-actions{justify-content:flex-start}.quote-stepper{grid-template-columns:repeat(4,minmax(132px,1fr));overflow-x:auto}.quote-fields-grid,.quote-doc-grid,.quote-picker-grid,.quote-metrics,.quote-workflow-fields{grid-template-columns:1fr}.quote-approval-record{grid-template-columns:12px minmax(0,1fr)}.quote-approval-record>div:last-child{text-align:left;grid-column:2}.quote-product-editor-head{grid-template-columns:52px minmax(0,1fr) 32px;align-items:start;gap:9px;padding:12px}.quote-product-index{display:none}.quote-product-image,.quote-product-image-control{width:52px;height:52px}.quote-product-values{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;padding:12px}.quote-fields-grid label.wide{grid-column:auto}.quote-section-head{flex-direction:column;align-items:flex-start}.quote-overlay,.quote-preview-overlay{padding:0}.quote-picker{border-radius:12px 12px 0 0;align-self:end;width:100%;max-height:92dvh}.quote-preview-toolbar{border-radius:0}}@media print{body *{visibility:hidden!important}.quote-preview-overlay,.quote-preview-overlay .quote-document,.quote-preview-overlay .quote-document *{visibility:visible!important}.quote-preview-overlay{background:#fff;padding:0;display:block;position:absolute;inset:0;overflow:visible}.quote-preview-toolbar{display:none}.quote-document{width:100%;min-height:0;box-shadow:none;margin:0;padding:28px}}@media (width<=1100px),(pointer:coarse) and (width<=1180px){html,body{width:100%;overflow-x:hidden}body{background:#f3f6f5}.app-shell{min-height:100dvh;display:block}.sidebar{width:min(84vw,324px);height:100dvh;padding:calc(18px + env(safe-area-inset-top)) 16px 18px;z-index:40;transition:transform .18s;position:fixed;inset:0 auto 0 0;overflow-y:auto;transform:translate(-110%);box-shadow:18px 0 46px #0e181529}.sidebar.is-open{transform:translate(0)}.brand{padding-bottom:14px}.nav-list{gap:8px}.nav-item{min-height:46px;padding:0 14px;font-size:15px}.sidebar-footer{margin-top:18px}.scrim{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);z-index:30;background:#0c18156b;border:0;display:block;position:fixed;inset:0}.main-shell{width:100%}.topbar{padding:calc(12px + env(safe-area-inset-top)) 14px 12px;background:#f8faf9f5;border-bottom:1px solid #cbd7d4b3;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:10px;display:grid}.topbar>div:first-of-type{min-width:0}.eyebrow{margin-bottom:2px;font-size:11px;line-height:1.25}.topbar h1,.module-hero h2{white-space:nowrap;text-overflow:ellipsis;font-size:22px;line-height:1.18;overflow:hidden}.mobile-only{display:inline-flex}.topbar-actions{grid-column:1/-1;grid-template-columns:minmax(0,1fr) 42px auto;gap:8px;width:100%;display:grid}.search-box{border-radius:8px;width:100%;height:42px}.icon-button{width:42px;height:42px}.user-chip{justify-content:center;min-width:72px;height:42px;padding:0 10px;display:inline-flex}.content{padding:14px 14px calc(92px + env(safe-area-inset-bottom))}.kpi-grid,.module-grid,.account-metrics,.report-metrics,.attendance-metrics,.inquiry-stage-grid,.fulfillment-stage-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.dashboard-grid,.split-grid,.attendance-grid,.inquiry-work-grid,.fulfillment-work-grid,.supply-work-grid,.customs-work-grid,.finance-work-grid,.training-work-grid,.report-grid,.account-admin-grid{grid-template-columns:1fr;gap:12px}.side-column{grid-template-columns:1fr}.panel{border-radius:8px;box-shadow:0 8px 22px #1825220d}.panel-header{min-height:50px;padding:0 14px}.panel-header h2{font-size:16px}.kpi-card,.module-card{padding:14px}.kpi-card strong,.module-card strong{font-size:22px;line-height:1.1}.pipeline{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:12px}.pipeline-step{min-height:88px;padding:12px}.pipeline-arrow{display:none}.table-wrap{-webkit-overflow-scrolling:touch;border-radius:0 0 8px 8px;overflow-x:auto}table{min-width:720px}th,td{padding:12px 14px}.module-hero{grid-template-columns:42px minmax(0,1fr);gap:12px;padding:14px}.module-icon{width:42px;height:42px}.module-actions{grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,1fr));justify-content:stretch;display:grid}.module-actions .primary-button,.module-actions .secondary-button{white-space:nowrap;width:100%;min-width:0;padding:0 8px;font-size:13px}.finance-list,.status-list,.approval-list{padding:12px}.finance-row,.status-item,.detail-line,.task-head{border-radius:8px}.modal-backdrop{align-items:end;padding:0}.modal-panel{border-radius:14px 14px 0 0;width:100%;max-height:min(88dvh,820px)}.modal-panel.wide{width:100%}.form-grid,.assign-box,.product-image-upload,.product-image-preview,.product-detail-grid,.attendance-console{grid-template-columns:1fr}.mobile-tabbar{z-index:25;padding:8px 10px calc(8px + env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);-webkit-overflow-scrolling:touch;background:#fbfcfcf5;border-top:1px solid #cbd7d4d1;gap:6px;display:flex;position:fixed;bottom:0;left:0;right:0;overflow-x:auto}.mobile-tabbar button{color:#4d5a57;white-space:nowrap;background:0 0;border:1px solid #0000;border-radius:8px;place-items:center;gap:3px;min-width:76px;min-height:52px;padding:5px 8px;font-size:12px;display:grid}.mobile-tabbar button.active{background:var(--teal-soft);color:#0b5d55;border-color:#b9dbd3;font-weight:800}}@media (width<=1180px){.dashboard-grid{grid-template-columns:1fr}.side-column,.pipeline{grid-template-columns:repeat(3,minmax(0,1fr))}.pipeline-arrow{display:none}}@media (width<=960px){.app-shell{grid-template-columns:1fr}.sidebar{transition:transform .16s;position:fixed;transform:translate(-105%)}.sidebar.is-open{transform:translate(0)}.mobile-only{display:inline-flex}.scrim{z-index:15;background:#0c181557;border:0;display:block;position:fixed;inset:0}.topbar{flex-wrap:wrap;align-items:flex-start}.topbar-actions{width:100%}.search-box{width:auto}.kpi-grid,.module-grid,.account-admin-grid,.report-metrics,.report-grid,.attendance-metrics,.attendance-grid,.inquiry-stage-grid,.inquiry-work-grid,.fulfillment-stage-grid,.fulfillment-work-grid,.supply-work-grid,.customs-work-grid,.finance-work-grid,.training-work-grid,.side-column,.attendance-console{grid-template-columns:repeat(2,minmax(0,1fr))}.attendance-console-actions{grid-column:1/-1;justify-content:flex-start}.module-hero{grid-template-columns:auto 1fr}.module-actions{grid-column:1/-1;justify-content:flex-start}.inquiry-work-grid,.webhook-guide{grid-template-columns:1fr}.webhook-guide>.muted,.webhook-guide>.modal-actions{grid-column:auto}}@media (width<=680px){.topbar,.content{padding-left:16px;padding-right:16px}.topbar h1{font-size:21px}.kpi-grid,.split-grid,.module-grid,.account-admin-grid,.report-metrics,.report-grid,.attendance-metrics,.attendance-grid,.inquiry-stage-grid,.inquiry-work-grid,.fulfillment-stage-grid,.fulfillment-work-grid,.supply-work-grid,.customs-work-grid,.finance-work-grid,.training-work-grid,.side-column{grid-template-columns:1fr}.pipeline{grid-template-columns:repeat(2,minmax(0,1fr))}.user-chip{display:none}.module-actions .primary-button,.module-actions .secondary-button{flex:150px}.form-grid,.assign-box,.account-permissions>div,.role-helper{grid-template-columns:1fr}.role-helper .compact-button{justify-self:flex-start}.report-bar-row{grid-template-columns:1fr;align-items:stretch}.report-bar-row>strong{text-align:left}.product-image-upload,.product-image-preview,.product-detail-grid{grid-template-columns:1fr}.product-detail-image{min-height:220px}.assign-box .modal-actions{grid-column:auto}.row-actions{flex-direction:column;align-items:stretch}.attendance-console{grid-template-columns:1fr}.attendance-console-actions{flex-wrap:wrap}.attendance-console-actions .primary-button,.attendance-console-actions .secondary-button{flex:90px}.wa-chat-dialog{grid-template-rows:auto;min-height:auto}.wa-chat-log{min-height:260px;max-height:42dvh}}@media (width<=520px){.topbar{grid-template-columns:40px minmax(0,1fr) 40px;padding-left:12px;padding-right:12px}.topbar-actions{grid-template-columns:minmax(0,1fr) 40px}.user-chip{display:none}.search-box{height:40px}.content{padding:12px 12px calc(92px + env(safe-area-inset-bottom))}.kpi-grid,.module-grid,.attendance-metrics,.report-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.module-actions{grid-template-columns:1fr}.pipeline{grid-template-columns:repeat(2,minmax(0,1fr))}.finance-row,.detail-line{flex-direction:column;align-items:flex-start}.detail-line strong{text-align:left}.mobile-tabbar button{min-width:70px}}@media (width<=360px){.kpi-grid,.module-grid,.pipeline,.attendance-metrics,.report-metrics{grid-template-columns:1fr}}.auth-shell{background:var(--teal);place-items:center;min-height:100vh;padding:24px;display:grid}.auth-panel{background:#fff;border:1px solid #d7e3e0;border-radius:8px;width:min(100%,420px);padding:32px;box-shadow:0 18px 50px #072b272e}.auth-brand{align-items:center;gap:12px;margin-bottom:32px;display:flex}.auth-logo{background:var(--teal-soft);width:44px;height:44px;color:var(--teal);border:1px solid #b8d8d2;border-radius:8px;place-items:center;font-size:20px;font-weight:900;display:grid}.auth-brand strong,.auth-brand span{display:block}.auth-brand strong{color:#142421;font-size:16px}.auth-brand span{color:#6b7976;margin-top:2px;font-size:12px}.auth-heading{margin-bottom:24px}.auth-kicker{color:var(--teal);font-size:12px;font-weight:800}.auth-heading h1{color:#132420;margin:8px 0 6px;font-size:28px}.auth-heading p{color:#6a7774;margin:0;font-size:14px}.auth-form{gap:18px;display:grid}.auth-field{color:#263b37;gap:8px;font-size:13px;font-weight:700;display:grid}.auth-input-wrap{color:#667773;background:#fbfcfc;border:1px solid #cfdcda;border-radius:6px;align-items:center;gap:10px;height:48px;padding:0 13px;display:flex}.auth-input-wrap:focus-within{border-color:var(--teal);box-shadow:0 0 0 3px #0f7f721f}.auth-input-wrap input{color:#172723;min-width:0;font:inherit;background:0 0;border:0;outline:0;flex:1;font-weight:500}.auth-error{color:#a93429;background:#fff3f1;border:1px solid #efc2bd;border-radius:6px;padding:10px 12px;font-size:13px}.auth-submit{background:var(--teal);color:#fff;cursor:pointer;border:0;border-radius:6px;justify-content:center;align-items:center;gap:8px;height:48px;font-size:15px;font-weight:800;display:inline-flex}.auth-submit:hover{background:#0b6c61}.auth-submit:disabled{opacity:.65;cursor:wait}.auth-help{text-align:center;color:#788682;margin:20px 0 0;font-size:12px}.auth-loading{background:var(--teal);color:#fff;place-items:center;min-height:100vh;font-size:15px;font-weight:700;display:grid}.sidebar-user{background:#fff;border:1px solid #d7e1df;border-radius:8px;grid-template-columns:36px minmax(0,1fr) 34px;align-items:center;gap:9px;padding:10px;display:grid}.sidebar-user-avatar{color:#0f7f72;background:#e8f4f1;border-radius:6px;place-items:center;width:36px;height:36px;display:grid}.sidebar-user-copy{min-width:0}.sidebar-user-copy strong,.sidebar-user-copy span{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.sidebar-user-copy strong{color:#172723;font-size:13px}.sidebar-user-copy span{color:#788682;margin-top:2px;font-size:11px}.sidebar-logout{color:#5e6d69;cursor:pointer;background:#fff;border:1px solid #d7e1df;border-radius:6px;place-items:center;width:34px;height:34px;display:grid}.sidebar-logout:hover{color:#ae382d;background:#fff4f2;border-color:#efb9b2}@media (width<=520px){.auth-shell{padding:16px}.auth-panel{padding:24px 20px}.auth-heading h1{font-size:24px}}@media (width<=760px){html,body,#root,.app-shell,.main-shell{width:100%;min-width:0;max-width:100%}html,body{overflow-x:hidden}body.mobile-nav-open{touch-action:none;overflow:hidden}.app-shell{min-height:100dvh;display:block}.sidebar{z-index:90;width:min(82vw,304px);height:100dvh;padding:calc(14px + env(safe-area-inset-top)) 14px calc(14px + env(safe-area-inset-bottom));overscroll-behavior:contain;background:#fbfcfc;position:fixed;inset:0 auto 0 0;overflow-y:auto;transform:translate(-110%);box-shadow:16px 0 42px #0d231e33}.sidebar.is-open{transform:translate(0,0)}.sidebar .brand{grid-template-columns:40px minmax(0,1fr) 38px;align-items:center;gap:10px;min-height:52px;padding:0 0 12px;display:grid}.sidebar .brand>div{min-width:0}.sidebar .brand strong,.sidebar .brand span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.sidebar-close{border:1px solid var(--border);width:38px;height:38px;color:var(--text);background:#fff;border-radius:9px;place-items:center;padding:0;display:inline-grid}.nav-list{gap:4px}.nav-item{border-radius:9px;min-height:44px;padding:0 12px;font-size:14px}.sidebar-footer{margin-top:14px}.scrim{z-index:80;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#09191580;border:0;width:100%;height:100%;padding:0;display:block;position:fixed;inset:0}.main-shell{overflow:visible}.topbar{z-index:30;min-height:calc(62px + env(safe-area-inset-top));padding:calc(10px + env(safe-area-inset-top)) 12px 10px;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#fafcfbf7;border-bottom:1px solid #cbd7d4c7;grid-template-columns:40px minmax(0,1fr) 40px;align-items:center;gap:10px;display:grid;position:sticky;top:0}.topbar>div:first-of-type{min-width:0}.topbar .eyebrow,.topbar .search-box,.topbar .user-chip{display:none}.topbar h1{max-width:100%;color:var(--text);text-overflow:ellipsis;white-space:nowrap;writing-mode:horizontal-tb;margin:0;font-size:19px;line-height:1.2;overflow:hidden}.topbar .icon-button{border-radius:9px;width:40px;height:40px;padding:0}.topbar-actions{grid-column:auto;justify-content:flex-end;gap:0;width:auto;min-width:0;display:flex}.content{width:100%;min-width:0;max-width:100%;padding:12px 12px calc(78px + env(safe-area-inset-bottom))}.content>*,.dashboard-grid>*,.split-grid>*,.inquiry-work-grid>*,.fulfillment-work-grid>*,.supply-work-grid>*,.customs-work-grid>*,.finance-work-grid>*,.training-work-grid>*,.report-grid>*{min-width:0;max-width:100%}.dashboard-grid,.split-grid,.attendance-grid,.inquiry-work-grid,.fulfillment-work-grid,.supply-work-grid,.customs-work-grid,.finance-work-grid,.training-work-grid,.report-grid,.account-admin-grid,.side-column{grid-template-columns:minmax(0,1fr);gap:10px}.kpi-grid,.module-grid,.account-metrics,.report-metrics,.attendance-metrics,.inquiry-stage-grid,.fulfillment-stage-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.panel{border-radius:10px;width:100%;min-width:0;max-width:100%;overflow:hidden;box-shadow:0 5px 16px #1825220b}.panel-header{flex-wrap:wrap;gap:8px;min-height:48px;padding:9px 12px}.panel-header h2{min-width:0;font-size:15px;line-height:1.3}.kpi-card,.module-card{min-width:0;min-height:96px;padding:12px}.kpi-card strong,.module-card strong{font-size:21px}.module-hero{border-radius:10px;grid-template-columns:40px minmax(0,1fr);gap:10px;width:100%;min-width:0;padding:12px}.module-icon{width:40px;height:40px}.module-hero h2{text-overflow:ellipsis;white-space:nowrap;writing-mode:horizontal-tb;max-width:100%;font-size:20px;line-height:1.2;overflow:hidden}.module-hero p{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.module-actions{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%;display:grid}.module-actions .primary-button,.module-actions .secondary-button{text-overflow:ellipsis;white-space:nowrap;width:100%;min-width:0;min-height:40px;padding:0 9px;font-size:13px;overflow:hidden}.notice-bar,.error-bar,.preview-box{margin:10px 12px 0}.pipeline{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px}.pipeline-step{min-width:0;min-height:80px;padding:10px}.table-wrap{overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;border-radius:0 0 10px 10px;width:100%;min-width:0;max-width:100%;overflow-x:auto}.table-wrap table{width:max-content;min-width:680px}th,td{padding:10px 11px}.row-actions{flex-flow:wrap;align-items:center;min-width:108px}.form-grid,.assign-box,.attendance-console,.product-image-upload,.product-image-preview,.product-detail-grid,.quote-fields-grid,.quote-doc-grid,.quote-picker-grid,.quote-metrics{grid-template-columns:minmax(0,1fr)}.modal-backdrop{z-index:110;align-items:end;padding:0}.modal-panel,.modal-panel.wide,.modal-panel.wa-chat-modal{border-bottom:0;border-left:0;border-right:0;border-radius:16px 16px 0 0;width:100%;max-width:100%;max-height:92dvh}.modal-header{padding:13px 14px}.wa-chat-dialog{grid-template-rows:auto;min-height:0}.wa-chat-log{min-height:220px;max-height:40dvh;padding:12px}.wa-bubble{max-width:88%}.mobile-tabbar{z-index:40;width:100%;padding:6px 6px calc(6px + env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#fdfefef7;border-top:1px solid #cbd7d4db;gap:2px;display:flex;position:fixed;bottom:0;left:0;right:0;overflow:hidden;box-shadow:0 -8px 22px #1326210f}.mobile-tabbar button{color:#687571;white-space:nowrap;background:0 0;border:0;border-radius:9px;flex:1 1 0;place-items:center;gap:2px;width:auto;min-width:0;min-height:50px;padding:5px 2px;font-size:11px;line-height:1.1;display:grid}.mobile-tabbar button.active{background:var(--teal-soft);color:var(--teal);border:0;font-weight:800}}@media (width<=360px){.kpi-grid,.module-grid,.account-metrics,.report-metrics,.attendance-metrics,.inquiry-stage-grid,.fulfillment-stage-grid,.pipeline{grid-template-columns:minmax(0,1fr)}}
