: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}a.whatsapp-button,.whatsapp-button{align-items:center;gap:4px;text-decoration:none;display:inline-flex;color:#06381c!important;background:#25d366!important;border-color:#1da851!important}a.whatsapp-button:hover,.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}.ai-loading{color:#4c2fa8;text-align:center;background:#f3efff;border-radius:10px;margin:12px 0;padding:14px;font-size:13px;font-weight:600}.ai-report{border:1px solid var(--border);white-space:pre-wrap;word-break:break-word;background:#fbfaff;border-radius:10px;max-height:420px;margin:12px 0;padding:14px 16px;font-size:13px;line-height:1.75;overflow-y:auto}.danger-button{color:#b42318!important;border-color:#e5b4b4!important}.danger-button:hover{background:#fdeceb!important;border-color:#d3625a!important}.owner-select{border:1px solid var(--border);background:#fff;border-radius:8px;max-width:110px;min-height:32px;padding:2px 6px;font-size:13px}.wa-chat-meta{color:#4b5563;flex-wrap:wrap;gap:16px;font-size:13px;display:flex}.wa-window-open{color:#0f6b3c;background:#e7f8ef;border-radius:8px;margin:10px 0;padding:8px 12px;font-size:13px;font-weight:600}.wa-window-closed{color:#92400e;background:#fff4e5;border-radius:8px;margin:10px 0;padding:8px 12px;font-size:13px;font-weight:600}.wa-chat-log{border:1px solid var(--border);background:#f7faf9;border-radius:10px;flex-direction:column;gap:6px;max-height:260px;margin-bottom:10px;padding:10px;display:flex;overflow-y:auto}.wa-bubble{word-break:break-word;white-space:pre-wrap;border-radius:10px;max-width:85%;padding:7px 10px;font-size:13px;line-height:1.5}.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}.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%)}.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;top:0;bottom:0;left:0;right: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}.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:240px}.inquiry-work-grid .row-actions{flex-wrap:wrap;gap:5px;max-width:270px}.inquiry-work-grid .row-actions .compact-button,.inquiry-work-grid .row-actions a.compact-button{min-height:29px;padding:0 8px;font-size:12px}.inquiry-work-grid td:nth-child(5),.inquiry-work-grid td:nth-child(7),.inquiry-work-grid td:nth-child(8){white-space:nowrap;width:1%}.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}@media (max-width:1100px),(pointer:coarse) and (max-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;top:0;bottom:0;left:0;right:auto;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;top:0;bottom:0;left:0;right: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 (max-width:1180px){.dashboard-grid{grid-template-columns:1fr}.side-column,.pipeline{grid-template-columns:repeat(3,minmax(0,1fr))}.pipeline-arrow{display:none}}@media (max-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;top:0;bottom:0;left:0;right: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}}@media (max-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}}@media (max-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 (max-width:360px){.kpi-grid,.module-grid,.pipeline,.attendance-metrics,.report-metrics{grid-template-columns:1fr}}.login-page{background:linear-gradient(135deg,#0f766e 0%,#134e48 100%);justify-content:center;align-items:center;min-height:100dvh;padding:24px;display:flex}.login-card{background:#fff;border-radius:18px;width:100%;max-width:400px;padding:36px 30px 30px;box-shadow:0 24px 60px #08181547}.login-brand{align-items:center;gap:12px;margin-bottom:24px;display:flex}.login-brand img{border-radius:12px;width:46px;height:46px}.login-brand strong{color:#17211f;font-size:17px;display:block}.login-brand span{color:#65726f;font-size:12px}.login-title{color:#17211f;margin:0 0 6px;font-size:24px}.login-sub{color:#65726f;margin:0 0 24px;font-size:13px}.login-form{flex-direction:column;gap:14px;display:flex}.login-field{color:#65726f;background:#f8faf9;border:1px solid #dfe6e5;border-radius:10px;align-items:center;gap:10px;height:48px;padding:0 14px;transition:border-color .14s;display:flex}.login-field:focus-within{border-color:#0f766e}.login-field input{color:#17211f;background:0 0;border:0;outline:0;flex:1;font-size:15px}.login-error{color:#dc2626;background:#feecec;border-radius:8px;padding:10px 12px;font-size:13px}.login-submit{color:#fff;letter-spacing:2px;cursor:pointer;background:#0f766e;border:0;border-radius:10px;justify-content:center;align-items:center;gap:8px;height:48px;margin-top:4px;font-size:16px;font-weight:600;display:flex}.login-submit:disabled{opacity:.7}.login-foot{text-align:center;color:#8a9693;margin:20px 0 0;font-size:12px}.auth-loading{color:#65726f;flex-direction:column;justify-content:center;align-items:center;gap:14px;min-height:100dvh;display:flex}.auth-spinner{border:3px solid #dfe6e5;border-top-color:#0f766e;border-radius:50%;width:34px;height:34px;animation:.8s linear infinite auth-spin}@keyframes auth-spin{to{transform:rotate(360deg)}}.current-user{background:#f8faf9;border:1px solid #dfe6e5;border-radius:12px;justify-content:space-between;align-items:center;gap:10px;padding:12px 14px;display:flex}.current-user-info{min-width:0}.current-user-info strong{color:#17211f;white-space:nowrap;text-overflow:ellipsis;font-size:14px;display:block;overflow:hidden}.current-user-info span{color:#65726f;white-space:nowrap;text-overflow:ellipsis;font-size:12px;display:block;overflow:hidden}.logout-button{color:#65726f;cursor:pointer;background:#fff;border:1px solid #cbd7d4;border-radius:8px;flex-shrink:0;align-items:center;gap:5px;padding:7px 11px;font-size:13px;display:inline-flex}.logout-button:hover{color:#dc2626;border-color:#dc2626}.follow-history{border-top:1px solid #dfe6e5;margin-top:20px;padding-top:16px}.follow-history h4{color:#17211f;margin:0 0 12px;font-size:14px}.follow-empty{color:#65726f;margin:0;font-size:13px}.follow-list{flex-direction:column;gap:10px;max-height:260px;margin:0;padding:0;list-style:none;display:flex;overflow-y:auto}.follow-item{background:#f8faf9;border:1px solid #dfe6e5;border-radius:10px;padding:10px 12px}.follow-item-head{justify-content:space-between;align-items:center;gap:8px;margin-bottom:4px;display:flex}.follow-time{color:#65726f;font-size:12px;font-weight:600}.follow-badge{color:#0f766e;background:#d9f2ee;border-radius:6px;padding:2px 8px;font-size:11px}.follow-note{color:#17211f;white-space:pre-wrap;margin:4px 0;font-size:14px;line-height:1.5}.follow-by{color:#8a9693;font-size:12px}.form-grid textarea{resize:vertical;color:#17211f;background:#fff;border:1px solid #dfe6e5;border-radius:8px;width:100%;padding:10px 12px;font-family:inherit;font-size:14px}.form-grid textarea:focus{border-color:#0f766e;outline:0}.modal-note{color:#8a9693;background:#f8faf9;border-radius:8px;padding:8px 12px;font-size:12px}.pagination-bar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:14px 4px 4px;display:flex}.pagination-info{color:#65726f;font-size:13px}.pagination-controls{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.page-size-select{color:#65726f;align-items:center;gap:6px;font-size:13px;display:inline-flex}.page-size-select select{color:#17211f;background:#fff;border:1px solid #dfe6e5;border-radius:7px;padding:5px 8px;font-size:13px}.page-button{color:#17211f;cursor:pointer;background:#fff;border:1px solid #cbd7d4;border-radius:8px;padding:6px 14px;font-size:13px;transition:all .14s}.page-button:hover:not(:disabled){color:#0f766e;border-color:#0f766e}.page-button:disabled{opacity:.45;cursor:not-allowed}.page-current{color:#fff;background:#0f766e;border-radius:8px;justify-content:center;align-items:center;min-width:30px;height:30px;font-size:13px;font-weight:600;display:inline-flex}.grade-basis{color:#8a9693;margin-top:3px;font-size:11px;display:block}.filter-panel{background:#f8faf9;border:1px solid #dfe6e5;border-radius:12px;flex-wrap:wrap;align-items:flex-end;gap:14px;margin-bottom:12px;padding:14px 16px;display:flex}.filter-item{flex-direction:column;gap:5px;min-width:120px;display:flex}.filter-item label{color:#65726f;font-size:12px;font-weight:600}.filter-item select{color:#17211f;cursor:pointer;background:#fff;border:1px solid #dfe6e5;border-radius:8px;padding:7px 10px;font-size:13px}.filter-item select:focus{border-color:#0f766e;outline:0}.filter-clear{color:#dc2626;cursor:pointer;background:#fff;border:1px solid #dc2626;border-radius:8px;align-self:flex-end;height:34px;padding:7px 14px;font-size:13px}.filter-clear:hover{background:#feecec}@media (max-width:680px){.filter-panel{gap:10px;padding:12px}.filter-item{flex:1;min-width:calc(50% - 5px)}}.import-textarea{resize:vertical;color:#17211f;background:#fff;border:1px solid #dfe6e5;border-radius:10px;width:100%;margin:10px 0;padding:12px;font-family:monospace;font-size:13px}.import-textarea:focus{border-color:#0f766e;outline:0}.webhook-info{background:#f8faf9;border:1px solid #dfe6e5;border-radius:12px;flex-direction:column;gap:10px;margin:14px 0;padding:14px;display:flex}.webhook-row{flex-direction:column;gap:4px;display:flex}.webhook-row strong{color:#65726f;font-size:12px}.webhook-row code{color:#0f766e;word-break:break-all;background:#eef4f3;border-radius:6px;padding:8px 10px;font-family:monospace;font-size:12px}.webhook-row span{color:#17211f;font-size:13px}.import-file-zone{background:#eef4f3;border:1.5px dashed #0f766e;border-radius:12px;margin-bottom:14px;padding:16px}.import-file-title{color:#0f766e;margin:0 0 6px;font-size:14px;font-weight:600}.import-file-button{color:#fff;cursor:pointer;background:#0f766e;border-radius:8px;margin-top:10px;padding:9px 20px;font-size:14px;font-weight:600;display:inline-block}.import-file-button:hover{background:#0c5f58}.import-divider{text-align:center;color:#8a9693;align-items:center;margin:16px 0;font-size:12px;display:flex}.import-divider:before,.import-divider:after{content:"";border-bottom:1px solid #dfe6e5;flex:1}.import-divider span{padding:0 12px}.compact-primary{color:#fff!important;background:#0f766e!important;border-color:#0f766e!important}.compact-primary:hover{background:#0c5f58!important}.audit-summary{color:#65726f;background:#f8faf9;border-radius:10px;flex-wrap:wrap;gap:16px;margin-bottom:14px;padding:12px;font-size:13px;display:flex}.audit-summary strong{color:#0f766e}.pipeline-track{justify-content:space-between;align-items:center;gap:4px;margin:14px 0 20px;padding-bottom:4px;display:flex;overflow-x:auto}.pipeline-node{flex-direction:column;flex:1;align-items:center;gap:5px;min-width:56px;display:flex;position:relative}.pipeline-node:not(:last-child):after{content:"";z-index:0;background:#dfe6e5;width:100%;height:2px;position:absolute;top:7px;left:50%}.pipeline-node.done:not(:last-child):after{background:#0f766e}.pipeline-dot{z-index:1;background:#dfe6e5;border-radius:50%;width:14px;height:14px}.pipeline-node.done .pipeline-dot{background:#0f766e}.pipeline-node.current .pipeline-dot{background:#0f766e;box-shadow:0 0 0 4px #0f766e33}.pipeline-label{color:#65726f;white-space:nowrap;font-size:11px}.pipeline-node.current .pipeline-label{color:#0f766e;font-weight:600}.audit-title{color:#17211f;margin:16px 0 10px;font-size:14px}.audit-list{flex-direction:column;gap:8px;max-height:280px;margin:0;padding:0;list-style:none;display:flex;overflow-y:auto}.audit-item{background:#fff;border:1px solid #dfe6e5;border-radius:10px;padding:10px 12px}.audit-item-head{justify-content:space-between;align-items:center;gap:8px;margin-bottom:3px;display:flex}.audit-action{color:#17211f;font-size:14px;font-weight:500}.audit-time{color:#8a9693;white-space:nowrap;font-size:12px}.audit-operator{color:#0f766e;font-size:12px}.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-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;top:0;bottom:0;left:0;right: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 (max-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 (max-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 (max-width:620px){.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;top:0;bottom:0;left:0;right:0;overflow:visible}.quote-preview-toolbar{display:none}.quote-document{width:100%;min-height:0;box-shadow:none;margin:0;padding:28px}}
