.ems-page-head{align-items:flex-start}
.ems-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:18px}
.ems-tab{min-height:58px;border:1px solid #e2ded5;border-radius:11px;background:#fff;color:#777;padding:0 16px;display:flex;align-items:center;gap:11px;font:800 11px Manrope;cursor:pointer;text-align:left;position:relative}
.ems-tab>span{width:28px;height:28px;border-radius:7px;background:var(--deep);display:grid;place-items:center;font-size:9px;color:#777;flex:0 0 28px}
.ems-tab small{margin-left:auto;font-size:7px;text-transform:uppercase;letter-spacing:.08em;color:#aaa}
.ems-tab.active{background:var(--ink);border-color:var(--ink);color:#fff}
.ems-tab.active>span{background:var(--yellow);color:#111}
.ems-tab.locked{cursor:pointer;background:#faf9f5;color:#aaa}
.ems-metric-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:16px}
.ems-metric{min-height:130px;background:#fff;border:1px solid #e6e2d9;border-radius:13px;padding:17px;text-align:left;position:relative;cursor:pointer;font-family:Manrope;color:var(--ink);transition:.18s}
.ems-metric:hover{transform:translateY(-2px);border-color:#bbb;box-shadow:0 12px 30px rgba(17,17,17,.08)}
.ems-metric-icon{position:absolute;right:14px;top:14px;width:32px;height:32px;border-radius:8px;background:var(--deep);display:grid;place-items:center;font-weight:900}
.ems-metric small,.ems-metric strong,.ems-metric em{display:block}
.ems-metric small{font-size:9px;color:#888;font-weight:800;margin-top:2px}
.ems-metric strong{font-size:27px;margin-top:24px}
.ems-metric em{font-size:8px;color:#888;font-style:normal;margin-top:4px}
.ems-dashboard-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);gap:15px;align-items:start}
.ems-dashboard-side{display:grid;gap:15px}
.ems-followup-panel .panel-head h2,.ems-dashboard-side .panel-head h2{margin:5px 0 0;font-size:16px}
.ems-followup-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.ems-followup-group{border:1px solid #e8e4db;border-radius:10px;overflow:hidden;background:#fff}
.ems-followup-group:last-child{grid-column:1/-1}
.ems-followup-head{width:100%;border:0;background:var(--deep);display:flex;align-items:center;justify-content:space-between;padding:10px 12px;font:800 9px Manrope;cursor:pointer;text-transform:uppercase;letter-spacing:.05em}
.ems-followup-head strong{width:22px;height:22px;border-radius:99px;background:#fff;display:grid;place-items:center;font-size:8px}
.ems-followup-group>div{padding:0 11px}
.ems-followup-group>div>p{font-size:9px;color:#aaa;padding:9px 0;margin:0}
.ems-followup-item{width:100%;border:0;border-top:1px solid #eee;background:#fff;display:grid;grid-template-columns:1fr auto;gap:8px;text-align:left;padding:10px 0;font-family:Manrope;cursor:pointer}
.ems-followup-item:first-child{border-top:0}
.ems-followup-item strong,.ems-followup-item small{display:block}
.ems-followup-item strong{font-size:10px}.ems-followup-item small{font-size:8px;color:#888;margin-top:3px}.ems-followup-item time{font-size:8px;color:#a45600;font-weight:800}
.ems-status-summary{display:flex;flex-direction:column}
.ems-status-summary button{border:0;border-top:1px solid #eee;background:#fff;padding:9px 0;display:grid;grid-template-columns:1fr 25px;align-items:center;text-align:left;font:700 9px Manrope;cursor:pointer;position:relative;overflow:hidden}
.ems-status-summary button:first-child{border-top:0;padding-top:0}
.ems-status-summary button span{display:flex;align-items:center;gap:7px;z-index:1}.ems-status-summary button strong{font-size:9px;z-index:1}.ems-status-summary button em{position:absolute;bottom:0;left:0;height:2px;background:var(--yellow)}
.ems-status-dot{width:8px;height:8px;border-radius:50%;background:#aaa;display:inline-block;flex:0 0 8px}
.status-new-enquiry{background:#111}.status-requirement-pending{background:#d28a00}.status-quotation-pending{background:#8255a5}.status-quotation-sent{background:#356d9d}.status-follow-up{background:#1b7a73}.status-negotiation{background:#bd6a2d}.status-confirmed{background:var(--green)}.status-lost-cancelled{background:var(--red)}
.ems-recent-list{display:flex;flex-direction:column}
.ems-recent-list button{border:0;border-top:1px solid #eee;background:#fff;display:grid;grid-template-columns:8px 1fr auto;gap:9px;align-items:center;padding:10px 0;text-align:left;font-family:Manrope;cursor:pointer}
.ems-recent-list button:first-child{border-top:0;padding-top:0}.ems-recent-list strong,.ems-recent-list small{display:block}.ems-recent-list strong{font-size:10px}.ems-recent-list small{font-size:8px;color:#888;margin-top:3px}.ems-recent-list time{font-size:8px;color:#999}
.ems-priority-dot{width:7px;height:7px;border-radius:50%;display:block}.priority-normal{background:#ece9df;color:#67645e}.priority-high{background:#fff0c8;color:#8a5b00}.priority-urgent{background:#f8dedb;color:#9c2f26}
.ems-pipeline-toolbar{background:#fff;border:1px solid #e6e2d9;border-radius:12px;padding:17px;margin-bottom:10px}
.ems-pipeline-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.ems-pipeline-title h2{font-size:17px;margin:5px 0 0}
.ems-view-switch{display:flex;border:1px solid var(--line);border-radius:8px;overflow:hidden}.ems-view-switch button{height:35px;border:0;background:#fff;padding:0 13px;font:800 9px Manrope;cursor:pointer}.ems-view-switch button.active{background:#111;color:#fff}
.ems-filters{margin:0}.ems-filters .field-control{min-width:115px;height:36px}.ems-filters .search-control{min-width:260px}
.ems-active-filter{margin-top:11px;padding:8px 10px;border-radius:7px;background:#fff7df;font-size:9px;color:#6d5400}.ems-active-filter button{border:0;background:transparent;text-decoration:underline;font:800 8px Manrope;cursor:pointer;margin-left:8px}
.ems-result-count{font-size:9px;color:#888;margin:10px 2px}.ems-result-count strong{color:#111}
.ems-kanban{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(265px,285px);gap:11px;overflow-x:auto;padding:2px 2px 14px;min-height:530px;scroll-snap-type:x proximity}
.ems-kanban-column{background:#f2efe6;border:1px solid #e1ddd2;border-radius:12px;min-height:500px;overflow:hidden;scroll-snap-align:start;transition:.15s}
.ems-kanban-column.drag-over{border-color:var(--yellow);box-shadow:inset 0 0 0 2px var(--yellow);background:#fff8df}
.ems-kanban-column>header{height:49px;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 13px;border-bottom:1px solid #e6e2d9;font-size:9px;font-weight:800}.ems-kanban-column>header span{display:flex;align-items:center;gap:7px}.ems-kanban-column>header strong{width:24px;height:24px;border-radius:99px;background:var(--deep);display:grid;place-items:center;font-size:8px}
.ems-kanban-cards{padding:9px;display:flex;flex-direction:column;gap:9px;min-height:440px}
.ems-column-empty{margin:40px 10px;text-align:center;font-size:8px;color:#aaa;border:1px dashed #d1ccc0;border-radius:8px;padding:20px 8px}
.ems-enquiry-card{background:#fff;border:1px solid #dedbd3;border-radius:10px;padding:12px;box-shadow:0 6px 18px rgba(17,17,17,.04);cursor:grab;transition:.15s}
.ems-enquiry-card:hover{border-color:#aaa;box-shadow:0 9px 24px rgba(17,17,17,.08)}.ems-enquiry-card.dragging{opacity:.42;transform:rotate(1deg)}
.ems-card-top{display:flex;align-items:center;justify-content:space-between}.ems-enquiry-id{font-size:8px;font-weight:900;letter-spacing:.06em;color:#777}.ems-priority{display:inline-flex;border-radius:99px;padding:4px 7px;font-size:7px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}
.ems-enquiry-card h3{font-size:13px;margin:11px 0 2px}.ems-company{font-size:8px;color:#888;margin:0 0 10px}.ems-project{display:block;font-size:10px}.ems-requirement{font-size:8px;line-height:1.5;color:#666;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:5px 0 10px}
.ems-card-tags{display:flex;gap:5px;flex-wrap:wrap}.ems-card-tags span{background:var(--deep);border-radius:5px;padding:4px 6px;font-size:7px;font-weight:800;color:#666}
.ems-latest{background:#fff8e5;border-left:3px solid var(--yellow);padding:7px 8px;font-size:8px;line-height:1.45;margin:9px 0}.ems-latest small{display:block;font-size:6px;text-transform:uppercase;letter-spacing:.08em;font-weight:900;color:#8a6500;margin-bottom:3px}
.ems-approval-badge,.ems-lost-reason{display:block;margin-top:8px;border-radius:6px;padding:6px 7px;font-size:7px;font-weight:800}.ems-approval-badge{background:#fff0c8;color:#7d5200}.ems-lost-reason{background:#f8dedb;color:#8c2a22}
.ems-card-foot{border-top:1px solid #eee;margin-top:10px;padding-top:8px;display:flex;justify-content:space-between;gap:8px;font-size:7px;font-weight:800;color:#777}
.ems-due{display:inline-flex;border-radius:5px;padding:4px 6px;font-size:7px;font-weight:900;white-space:nowrap}.due-overdue{background:#f8dedb;color:#9c2f26}.due-today{background:#fff0c8;color:#815800}.due-tomorrow{background:#e7f1ff;color:#285f91}.due-upcoming{background:#e5f4ec;color:#1f6f4b}.due-unscheduled{background:#eee;color:#777}.due-closed{background:#e7e7e7;color:#666}
.ems-card-actions{display:grid;grid-template-columns:1fr auto;gap:6px;margin-top:8px}.ems-card-actions a,.ems-card-actions button{height:28px;border:1px solid #ddd;border-radius:6px;background:#fff;color:#111;text-decoration:none;display:flex;align-items:center;justify-content:center;font:800 7px Manrope;cursor:pointer}.ems-card-actions a{background:#eef7f1;color:#1f6f4b;border-color:#d8e9dd}.ems-card-actions button:hover{background:#111;color:#fff}
.ems-table-wrap{height:min(56vh,520px);max-height:520px;overflow:auto;scrollbar-gutter:stable both-edges}.ems-table{min-width:1250px}.ems-table th{position:sticky;top:0;z-index:3}.ems-table td{cursor:default}.ems-table td strong,.ems-table td small{display:block}.ems-table td small{font-size:9px;color:#78808d;margin-top:4px}.ems-status-select{height:34px;border:1px solid #d6d9e0;border-radius:6px;background:#fff;padding:0 8px;font:700 11px Manrope}
.ems-no-results{margin-top:12px}
.ems-customer-toolbar{background:#111;color:#fff;border-radius:14px;padding:20px;display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:12px}.ems-customer-toolbar h2{margin:5px 0;font-size:20px}.ems-customer-toolbar p{margin:0;color:#aaa;font-size:9px}.ems-customer-toolbar .actions{align-items:center}.ems-customer-toolbar input{width:290px;background:#fff}
.ems-customer-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:12px}.ems-customer-stats article{background:#fff;border:1px solid #e5e1d8;border-radius:10px;padding:14px}.ems-customer-stats small,.ems-customer-stats strong{display:block}.ems-customer-stats small{font-size:8px;color:#888;font-weight:800}.ems-customer-stats strong{font-size:21px;margin-top:7px}
.ems-customer-panel{padding:0;overflow:hidden}.ems-customer-table{min-width:1020px}.ems-customer-table td strong,.ems-customer-table td small{display:block}.ems-customer-table td small{font-size:7px;color:#888;margin-top:3px}.ems-row-actions{display:flex;gap:4px}.ems-row-actions button,.ems-text-button{border:1px solid #ddd;background:#fff;border-radius:5px;padding:6px 8px;font:800 7px Manrope;cursor:pointer}.ems-row-actions button:last-child{background:#fff5d8;border-color:#f2d582}.ems-customer-empty{margin:15px}
.ems-enquiry-form-body{display:grid;gap:13px;max-height:72vh}.ems-form-section{border:1px solid #e2ded5;border-radius:11px;padding:14px;background:#fff}.ems-form-section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.ems-form-section-head>div{display:flex;align-items:center;gap:9px}.ems-form-section-head small{width:27px;height:27px;border-radius:6px;background:#111;color:#fff;display:grid;place-items:center;font-size:7px;font-weight:900}.ems-form-section-head h3{margin:0;font-size:13px}.ems-form-section-head button{border:0;background:#ffb000;border-radius:6px;padding:8px 10px;font:800 8px Manrope;cursor:pointer}.ems-section-help{margin:-5px 0 12px;font-size:8px;color:#777}.ems-enquiry-items{display:grid;gap:10px}.ems-item-editor{border:1px solid #e5e1d8;background:#faf9f5;border-radius:9px;overflow:hidden}.ems-item-editor>header{height:42px;background:#f1eee5;padding:0 11px;display:flex;align-items:center;justify-content:space-between}.ems-item-editor>header>span{display:flex;align-items:center;gap:8px}.ems-item-editor>header b{width:24px;height:24px;border-radius:5px;background:#111;color:#fff;display:grid;place-items:center;font-size:9px}.ems-item-editor>header strong{font-size:9px}.ems-item-editor>header button{border:0;background:transparent;color:#9d3229;font:800 7px Manrope;cursor:pointer}.ems-item-editor>.form-grid{padding:12px}.ems-product-picker{display:grid;grid-template-columns:1fr 210px;gap:8px 12px}.ems-product-picker>label{grid-column:1/-1}.ems-product-selected{border:1px solid #dedad0;border-radius:7px;background:#fff;display:flex;align-items:center;gap:9px;padding:7px;min-height:53px}.ems-product-selected strong,.ems-product-selected small{display:block}.ems-product-selected strong{font-size:9px}.ems-product-selected small{font-size:7px;color:#888;margin-top:3px}.ems-product-thumb{width:34px;height:34px;border-radius:6px;background:#eee9de;display:grid;place-items:center;overflow:hidden;flex:0 0 34px}.ems-product-thumb.small{width:24px;height:24px;flex-basis:24px}.ems-product-thumb.large{width:52px;height:52px;flex-basis:52px}.ems-product-thumb img{width:100%;height:100%;object-fit:cover}.ems-product-thumb i{font-style:normal;font-size:12px;font-weight:900;color:#8d8679}.ems-phase-note{border-left:4px solid #ffb000;background:#fff6da;padding:11px 12px;border-radius:0 7px 7px 0}.ems-phase-note strong,.ems-phase-note span{display:block}.ems-phase-note strong{font-size:9px}.ems-phase-note span{font-size:8px;color:#786025;margin-top:4px;line-height:1.5}.ems-form-status{margin-right:auto;font-size:8px;color:#888}
.ems-detail-drawer{display:grid;gap:16px}.ems-detail-drawer section{border-bottom:1px solid #eee;padding-bottom:14px}.ems-detail-drawer section h3{margin:6px 0 2px;font-size:16px}.ems-detail-drawer section>p{margin:0;font-size:9px;color:#777;line-height:1.6}.ems-detail-status{display:flex;align-items:center;justify-content:space-between}.ems-detail-status>span:last-child{display:flex;align-items:center;gap:6px;font-size:8px;font-weight:800}.ems-detail-section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:9px}.ems-detail-section-head strong{width:24px;height:24px;border-radius:99px;background:#111;color:#fff;display:grid;place-items:center;font-size:8px}.ems-detail-products{display:grid;gap:7px}.ems-detail-products article{border:1px solid #e5e1d8;border-radius:8px;padding:8px;display:flex;gap:9px}.ems-detail-products article>div{min-width:0}.ems-detail-products strong,.ems-detail-products small{display:block}.ems-detail-products strong{font-size:9px}.ems-detail-products small{font-size:7px;color:#888;margin-top:3px}.ems-detail-products p{font-size:7px;color:#666;margin:5px 0 0}.ems-detail-products em{display:block;background:#f4f1e8;border-radius:4px;padding:5px 6px;margin-top:5px;font-size:7px;font-style:normal;color:#666}.ems-history-list p{display:flex;justify-content:space-between;gap:10px;border-top:1px solid #eee;padding:8px 0;margin:0}.ems-history-list p:first-child{border-top:0}.ems-history-list strong,.ems-history-list span{font-size:8px}.ems-history-list span{color:#888}.ems-muted{font-size:8px!important;color:#999!important}.ems-customer-enquiries{display:grid;gap:6px}.ems-customer-enquiries button{border:1px solid #e4e0d7;background:#fff;border-radius:7px;padding:8px;text-align:left;display:flex;align-items:center;justify-content:space-between;font-family:Manrope;cursor:pointer}.ems-customer-enquiries strong,.ems-customer-enquiries small{display:block}.ems-customer-enquiries strong{font-size:9px}.ems-customer-enquiries small{font-size:7px;color:#888;margin-top:3px}.ems-customer-enquiries em{font-size:7px;font-style:normal;background:#f1eee5;border-radius:4px;padding:4px 5px}.ems-detail-drawer .drawer-actions a{display:flex;align-items:center;justify-content:center;text-decoration:none}
.ems-quotation-head{background:#fff;border:1px solid #e5e1d8;border-radius:12px;padding:18px;display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:11px}.ems-quotation-head h2{font-size:18px;margin:5px 0}.ems-quotation-head p{font-size:9px;color:#777;margin:0}.ems-quotation-head input{width:310px}.ems-quotation-table{min-width:1000px}.ems-quotation-table td strong,.ems-quotation-table td small{display:block}.ems-quotation-table td small{font-size:7px;color:#888;margin-top:3px}.ems-quote-status{display:inline-flex;border-radius:99px;padding:5px 7px;background:#eee;color:#777;font-size:7px;font-weight:900}.ems-quote-status.started{background:#fff0c8;color:#805700}
dialog.ems-quotation-dialog{width:min(1180px,96vw)}.ems-quotation-body{padding:18px;display:grid;gap:13px}.ems-quote-customer{display:grid;grid-template-columns:1fr 1fr 180px 160px;gap:10px;background:#f4f1e8;border-radius:9px;padding:11px}.ems-quote-customer>div small,.ems-quote-customer>div strong,.ems-quote-customer>div span{display:block}.ems-quote-customer>div small,.ems-quote-customer label{font-size:7px;text-transform:uppercase;letter-spacing:.08em;font-weight:800;color:#777}.ems-quote-customer>div strong{font-size:10px;margin-top:4px}.ems-quote-customer>div span{font-size:7px;color:#888;margin-top:3px}.ems-quote-customer label{display:flex;flex-direction:column;gap:4px}.ems-quote-customer select,.ems-quote-customer input{height:34px;border:1px solid #d8d3c8;border-radius:6px;background:#fff;padding:0 7px;font:700 8px Manrope}.ems-quote-table-wrap{overflow:auto;border:1px solid #dedad0;border-radius:9px}.ems-quote-table{width:100%;border-collapse:collapse;min-width:1060px}.ems-quote-table th{background:#111;color:#bbb;text-align:left;padding:9px;font-size:7px;text-transform:uppercase;letter-spacing:.06em}.ems-quote-table th small{font-size:6px;color:#ffb000}.ems-quote-table td{padding:8px;border-top:1px solid #eee;font-size:8px;vertical-align:middle}.ems-quote-product{display:flex;align-items:center;gap:7px;min-width:165px}.ems-quote-product strong,.ems-quote-product small{display:block}.ems-quote-product strong{font-size:8px}.ems-quote-product small{font-size:6px;color:#888;margin-top:3px}.ems-b2b-price{min-width:105px;border:1px solid #e3dfd5;border-radius:6px;padding:7px;background:#fff}.ems-b2b-price small,.ems-b2b-price strong,.ems-b2b-price em{display:block}.ems-b2b-price small{font-size:6px;color:#888;text-transform:uppercase;font-weight:800}.ems-b2b-price strong{font-size:9px;margin-top:3px}.ems-b2b-price em{font-size:6px;color:#a45b52;font-style:normal;margin-top:3px}.ems-b2b-price.recommended{border:2px solid #ffb000;background:#fff8df}.ems-b2b-price.recommended small{color:#8b6100}.ems-quote-price-input{width:110px;height:34px;border:1px solid #aaa;border-radius:6px;padding:0 8px;font:800 9px Manrope}.ems-quote-summary{display:grid;grid-template-columns:1fr 360px;gap:14px}.ems-quote-summary>label{font-size:7px;text-transform:uppercase;letter-spacing:.08em;font-weight:800;color:#777;display:flex;flex-direction:column;gap:5px}.ems-quote-summary textarea{min-height:85px;border:1px solid #ddd;border-radius:7px;padding:9px;font:500 9px Manrope;resize:vertical}.ems-quote-summary>div{background:#111;color:#fff;border-radius:9px;padding:11px 14px;display:grid;gap:7px}.ems-quote-summary>div>span{display:flex;justify-content:space-between;font-size:8px;color:#aaa}.ems-quote-summary>div>span strong{color:#fff}.ems-quote-summary .total{border-top:1px solid #333;padding-top:9px;align-items:end}.ems-quote-summary .total strong{font-size:18px;color:#ffb000;margin-left:auto}.ems-quote-summary .total small{display:block;font-size:6px;color:#777;margin-left:4px}.ems-operational-control{display:flex;align-items:center;gap:10px;border:1px dashed #d2cdc1;border-radius:7px;padding:9px}.ems-operational-control button{height:32px;border:0;border-radius:5px;background:#e9e6de;color:#999;font:800 7px Manrope}.ems-operational-control span{font-size:7px;color:#999}
.ems-followup-history{display:grid;gap:7px}.ems-followup-history article{border:1px solid #e3dfd5;border-radius:7px;padding:9px;background:#fff}.ems-followup-history header,.ems-followup-history footer{display:flex;align-items:center;justify-content:space-between;gap:7px}.ems-followup-history header strong{font-size:8px}.ems-followup-history header time{font-size:7px;color:#888}.ems-followup-history article p{font-size:8px!important;color:#444!important;margin:7px 0!important}.ems-followup-history footer{justify-content:flex-start;flex-wrap:wrap}.ems-followup-history footer span{font-size:6px;background:#f2efe7;border-radius:4px;padding:4px 5px;color:#777}.ems-inline-actions{display:flex;gap:6px;margin-top:9px}.ems-inline-actions button{border:1px solid #ddd;background:#fff;border-radius:6px;padding:7px 9px;font:800 7px Manrope;cursor:pointer}.ems-inline-actions button.voice{background:#111;color:#ffb000;border-color:#111}.ems-approval-panel{background:#f3f0e8;border:1px solid #dfdad0!important;border-radius:8px;padding:11px!important}.ems-approval-panel.pending{background:#fff6d9;border-color:#efd27c!important}.ems-approval-panel.approved{background:#e8f5ee;border-color:#b9dec9!important}.ems-approval-panel>strong,.ems-approval-panel>p{display:block}.ems-approval-panel>strong{font-size:11px;margin-top:6px}.ems-approval-panel>p{font-size:8px!important;margin:4px 0 9px!important}.ems-approval-panel button{border:0;background:#111;color:#fff;border-radius:6px;min-height:32px;padding:0 10px;font:800 7px Manrope;cursor:pointer}.ems-auto-capture{margin-top:14px;background:#f4f1e8;border-radius:7px;padding:9px;display:grid;grid-template-columns:auto 1fr;gap:5px 10px;font-size:8px}.ems-auto-capture span{color:#888}.ems-voice-body{display:grid;gap:12px}.ems-voice-wave{height:55px;background:#111;border-radius:8px;display:flex;align-items:center;justify-content:center;gap:5px}.ems-voice-wave i{display:block;width:4px;border-radius:9px;background:#ffb000}.ems-voice-wave i:nth-child(1),.ems-voice-wave i:nth-child(9){height:10px}.ems-voice-wave i:nth-child(2),.ems-voice-wave i:nth-child(8){height:22px}.ems-voice-wave i:nth-child(3),.ems-voice-wave i:nth-child(7){height:34px}.ems-voice-wave i:nth-child(4),.ems-voice-wave i:nth-child(6){height:18px}.ems-voice-wave i:nth-child(5){height:42px}.ems-simulation-note{border-left:4px solid #ffb000;background:#fff7df;padding:9px}.ems-simulation-note strong,.ems-simulation-note span{display:block}.ems-simulation-note strong{font-size:8px}.ems-simulation-note span{font-size:7px;line-height:1.5;color:#766025;margin-top:3px}.ems-voice-body section{border:1px solid #e5e1d8;border-radius:8px;padding:11px}.ems-voice-body blockquote{margin:8px 0 0;font-size:10px;line-height:1.7}.ems-voice-body section>p{font-size:9px;line-height:1.6;margin:8px 0 0}.ems-proposal-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:9px}.ems-approval-review>p{font-size:10px;line-height:1.6;margin-top:0}.ems-readiness-list{display:grid;gap:7px}.ems-readiness-list>span{display:grid;grid-template-columns:25px 1fr auto;align-items:center;gap:8px;border:1px solid #e1ddd4;border-radius:7px;padding:8px}.ems-readiness-list b{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:#eee}.ems-readiness-list i{font-style:normal;font-size:8px;color:#777}.ems-readiness-list strong{font-size:8px}.ems-readiness-list .ready b{background:#dff2e7;color:#1f6f4b}.ems-readiness-list .missing b{background:#f8dedb;color:#9c2f26}.ems-readiness-list .warning b{background:#fff0c8;color:#815800}.ems-blocking-note,.ems-handoff-note{margin-top:11px;border-radius:7px;padding:9px;font-size:8px;line-height:1.5}.ems-blocking-note{background:#f8dedb;color:#8f3028}.ems-handoff-note{background:#e7f3ec;color:#1f6f4b}.ems-oms-banner{background:#111;color:#fff;border-radius:8px;padding:12px}.ems-oms-banner span,.ems-oms-banner strong{display:block}.ems-oms-banner span{font-size:7px;color:#ffb000;text-transform:uppercase;font-weight:900}.ems-oms-banner strong{font-size:12px;margin-top:4px}.ems-oms-products{display:grid;gap:6px}.ems-oms-products article{border-top:1px solid #eee;padding:8px 0;display:grid;grid-template-columns:1fr auto auto;gap:9px;align-items:center}.ems-oms-products article:first-child{border-top:0}.ems-oms-products strong,.ems-oms-products small{display:block}.ems-oms-products strong{font-size:8px}.ems-oms-products small{font-size:6px;color:#888;margin-top:3px}.ems-oms-products span,.ems-oms-products b{font-size:8px}.ems-oms-total{background:#fff5d8;border-radius:8px;padding:11px;display:flex;align-items:center;justify-content:space-between;font-size:8px}.ems-oms-total strong{font-size:17px}

@media(max-width:1200px){.ems-metric-grid{grid-template-columns:repeat(3,1fr)}.ems-dashboard-grid{grid-template-columns:1fr}.ems-dashboard-side{grid-template-columns:1fr 1fr}}
@media(max-width:760px){
  dialog:has(#emsEnquiryForm)>form{max-height:calc(100vh - 24px)}.ems-enquiry-form-body{padding:14px}.ems-enquiry-form-body+.dialog-actions{display:grid;grid-template-columns:1fr 1fr;padding:12px 14px}.ems-enquiry-form-body+.dialog-actions .ems-form-status{display:none}
  .mobile-nav{grid-template-columns:repeat(5,1fr)}
  .ems-tabs{display:flex;overflow-x:auto;gap:6px}.ems-tab{min-width:145px;padding:0 10px;font-size:9px}.ems-tab.locked{display:none}
  .ems-metric-grid{grid-template-columns:repeat(2,1fr);gap:8px}.ems-metric{min-height:112px;padding:13px}.ems-metric:last-child{grid-column:1/-1}.ems-metric strong{font-size:22px;margin-top:20px}
  .ems-dashboard-side{grid-template-columns:1fr}.ems-followup-groups{grid-template-columns:1fr}.ems-followup-group:last-child{grid-column:auto}
  .ems-pipeline-toolbar{padding:13px}.ems-pipeline-title{align-items:flex-start}.ems-filters{display:grid;grid-template-columns:1fr 1fr}.ems-filters .search-control{grid-column:1/-1;min-width:0;width:100%}.ems-filters .field-control,.ems-filters .button{width:100%;min-width:0}
  .ems-kanban{grid-auto-columns:82vw;min-height:480px}.ems-kanban-column{min-height:455px}.ems-kanban-cards{min-height:395px}
  .ems-table-wrap{margin-left:-14px;margin-right:-14px;border-radius:0}.ems-page-head .actions{display:grid;grid-template-columns:1fr 1fr}
  .ems-customer-toolbar{display:block;padding:15px}.ems-customer-toolbar .actions{display:grid;grid-template-columns:1fr;margin-top:12px}.ems-customer-toolbar input{width:100%}.ems-customer-stats{grid-template-columns:1fr 1fr}.ems-customer-stats article:last-child{grid-column:1/-1}.ems-customer-panel{margin-left:-14px;margin-right:-14px;border-radius:0}.ems-product-picker{grid-template-columns:1fr}.ems-item-editor>.form-grid{grid-template-columns:1fr}.ems-enquiry-form-body{max-height:68vh}.ems-form-status{display:none}
  .ems-quotation-head{display:block}.ems-quotation-head input{width:100%;margin-top:12px}.ems-quote-customer{grid-template-columns:1fr 1fr}.ems-quote-summary{grid-template-columns:1fr}.ems-operational-control{align-items:flex-start;flex-direction:column}dialog.ems-quotation-dialog{width:96vw}
  .ems-proposal-grid{grid-template-columns:1fr}.ems-readiness-list>span{grid-template-columns:25px 1fr}.ems-readiness-list>span strong{grid-column:2}.ems-oms-products article{grid-template-columns:1fr auto}.ems-oms-products article>b{grid-column:2}
}

.ems-contact-cell{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:240px}.ems-contact-cell>span{min-width:0}.ems-whatsapp-button{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:0 10px;border-radius:7px;background:#e6f7ed;color:#087443;border:1px solid #bfe7ce;text-decoration:none;font-size:9px;font-weight:900;white-space:nowrap}.ems-whatsapp-button:hover{background:#087443;color:#fff}
dialog:has(#emsEnquiryForm){width:min(980px,96vw);overflow:hidden}dialog:has(#emsEnquiryForm)>form{display:grid;grid-template-rows:auto minmax(0,1fr) auto;max-height:90vh}.ems-enquiry-form-body{max-height:none;overflow:auto;padding-bottom:28px}.ems-enquiry-form-body .ems-form-section,.ems-enquiry-form-body .ems-item-editor{min-width:0}.ems-enquiry-form-body+.dialog-actions{position:static;background:#fff;border-top:1px solid #e5e8ee;padding-top:14px;z-index:5}.ems-product-selected,.ems-product-selected span{min-width:0}.ems-product-selected strong,.ems-product-selected small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:760px){dialog:has(#emsEnquiryForm)>form{max-height:calc(100vh - 24px)}.ems-enquiry-form-body{padding:14px 14px 28px}.ems-enquiry-form-body+.dialog-actions{display:grid;grid-template-columns:1fr 1fr;padding:12px 14px}.ems-enquiry-form-body+.dialog-actions .ems-form-status{display:none}}
