:root{--bg:#f5f7fb;--panel:#fff;--panel-soft:#f8fafc;--text:#101828;--muted:#667085;--line:#e4e7ec;--brand:#2563eb;--brand-strong:#1d4ed8;--brand-soft:#eff6ff;--success:#067647;--warning:#b54708;--danger:#b42318;--radius:18px;--shadow:0 1px 2px rgba(16,24,40,.05),0 12px 30px rgba(16,24,40,.04)}*{box-sizing:border-box}body,html{min-height:100%}body{margin:0;background:var(--bg);color:var(--text);font-family:Arial,Helvetica,sans-serif}a{color:inherit;text-decoration:none}button,input,select{font:inherit}.app-shell{display:grid;grid-template-columns:280px minmax(0,1fr);min-height:100vh}.sidebar{display:flex;flex-direction:column;gap:24px;background:#101828;color:#fff;padding:24px}.sidebar-brand{display:flex;align-items:center;gap:12px}.sidebar-brand-logo{width:48px;height:48px;border-radius:14px;object-fit:cover;flex:0 0 auto}.sidebar-title{font-size:22px;font-weight:800;letter-spacing:-.02em}.sidebar-subtitle{color:#98a2b3;font-size:13px;line-height:1.5}.sidebar-nav{display:grid;grid-gap:8px;gap:8px}.sidebar-link{display:flex;align-items:center;justify-content:space-between;color:#d0d5dd;padding:12px 14px;border-radius:12px;transition:.14s ease}.sidebar-link.active,.sidebar-link:hover{background:hsla(0,0%,100%,.1);color:#fff}.sidebar-footer{margin-top:auto;color:#98a2b3;font-size:12px;line-height:1.5}.main{min-width:0;padding:28px}.page-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:24px}.page-eyebrow{color:var(--brand);font-size:13px;font-weight:700;letter-spacing:.08em;margin:0 0 8px;text-transform:uppercase}.page-title{font-size:clamp(28px,4vw,40px);line-height:1.12;letter-spacing:-.04em;margin:0 0 8px}.page-subtitle{color:var(--muted);line-height:1.6;margin:0}.hero-panel{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,.6fr);grid-gap:18px;gap:18px;margin-bottom:18px}.grid{display:grid;grid-gap:16px;gap:16px}.grid.cards{grid-template-columns:repeat(4,minmax(0,1fr))}.card{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);padding:18px;box-shadow:var(--shadow)}.card-label{color:var(--muted);font-size:13px;margin-bottom:8px}.card-value{font-size:30px;font-weight:800;letter-spacing:-.03em}.card-hint{color:var(--muted);font-size:13px;line-height:1.5;margin:10px 0 0}.panel-title{font-size:18px;font-weight:750;margin:0 0 12px}.action-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.badge{border-radius:999px;background:var(--brand-soft);color:var(--brand-strong);font-size:12px;padding:6px 10px}.badge,.button{display:inline-flex;align-items:center;font-weight:700}.button{justify-content:center;border:1px solid var(--line);border-radius:12px;background:var(--panel);color:var(--text);cursor:pointer;min-height:40px;padding:10px 14px}.button.primary{background:var(--brand);border-color:var(--brand);color:#fff}.button.danger{background:#fff5f5;border-color:rgba(180,35,24,.24);color:var(--danger)}.button.danger:hover:not(:disabled){background:#fee4e2;border-color:rgba(180,35,24,.36);color:var(--danger)}.filter-bar{display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid var(--line);border-radius:16px;background:var(--panel);box-shadow:var(--shadow);margin-bottom:18px;padding:14px 16px}.filter-list{display:flex;flex-wrap:wrap;gap:8px}.filter-chip{display:inline-flex;align-items:center;gap:4px;border:1px solid var(--line);border-radius:999px;background:var(--panel-soft);color:var(--muted);font-size:13px;padding:7px 10px}.filter-chip b{color:var(--text)}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse}td,th{text-align:left;padding:12px;border-bottom:1px solid var(--line);white-space:nowrap}th{color:var(--muted);font-size:12px;text-transform:uppercase;letter-spacing:.04em}.align-right{text-align:right}.align-center{text-align:center}.empty-inline{border:1px dashed var(--line);border-radius:14px;padding:18px}.empty-inline,.empty-state{color:var(--muted);text-align:center}.empty-state{display:grid;justify-items:center;border:1px dashed var(--line);border-radius:var(--radius);background:var(--panel);padding:40px 20px}.empty-state-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:999px;background:var(--brand-soft);color:var(--brand-strong);font-weight:800;margin-bottom:12px}.empty-state h2{color:var(--text);font-size:18px;margin:0 0 8px}.empty-state p{max-width:520px;margin:0}.status-dot{display:inline-block;width:8px;height:8px;border-radius:999px;background:var(--success);margin-right:8px}.metric-row{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid var(--line);border-radius:14px;background:var(--panel-soft);padding:12px}.metric-row span{color:var(--muted);font-size:13px}.metric-row strong{font-size:16px}.action-card{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;border:1px solid var(--line);border-radius:16px;background:var(--panel-soft);padding:16px}.action-card h3{font-size:16px;margin:10px 0 6px}.action-card strong{white-space:nowrap;color:var(--brand-strong);font-size:13px}.mcp-session-card-actions{display:flex;flex:0 0 auto;flex-wrap:wrap;justify-content:flex-end;gap:10px;min-width:min(100%,360px)}.mcp-session-card-actions .button{flex:1 1 112px}.order-summary-row{gap:14px}.order-summary-row button:last-child,.order-summary-row>.button{margin-left:14px;min-width:52px}.loading-page{display:grid;grid-gap:18px;gap:18px}.skeleton-card,.skeleton-line,.skeleton-pill{position:relative;overflow:hidden;background:linear-gradient(90deg,#eef2f7,#f8fafc 45%,#eef2f7);background-size:220% 100%;animation:skeleton-pulse 1.2s ease-in-out infinite}.skeleton-card{min-height:108px}.skeleton-card-tall{min-height:168px}.skeleton-line{border-radius:999px;height:14px}.skeleton-eyebrow{width:76px}.skeleton-title{width:min(240px,70vw);height:32px}.skeleton-subtitle{width:min(420px,82vw)}.skeleton-pill{display:inline-flex;width:112px;height:40px;border-radius:999px}@keyframes skeleton-pulse{0%{background-position:120% 0}to{background-position:-120% 0}}.report-popup-grid{grid-gap:10px;gap:10px}.report-field-panel,.report-quick-panel{border:1px solid var(--line);border-radius:16px;background:var(--panel);padding:10px;box-shadow:var(--shadow)}.report-section-head strong{font-size:15px}.report-section-head small{font-size:12px}.report-quick-group{grid-gap:6px;gap:6px}.report-quick-group>strong{font-size:14px;line-height:1.25}.report-chip{gap:5px;border:1px solid var(--line);border-radius:10px;background:var(--panel-soft);font-size:13px;font-weight:700;line-height:1.2}.report-chip input{width:13px;height:13px;margin:0}.report-chip.selected{border-color:rgba(37,99,235,.42);background:var(--brand-soft);color:var(--brand-strong);box-shadow:inset 0 0 0 1px rgba(37,99,235,.08)}.report-chip input:disabled,.report-chip:disabled{cursor:not-allowed;opacity:.56}.report-used-product-group{grid-template-columns:72px minmax(0,1fr);align-items:start;grid-gap:8px;gap:8px;border:1px solid rgba(228,231,236,.72);border-radius:12px;background:var(--panel-soft);padding:8px}.report-used-product-group>span{color:var(--brand-strong);font-size:13px;font-weight:800;line-height:1.25;padding-top:7px}.report-field-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.report-field{gap:4px}.report-field textarea{min-height:42px;max-height:82px;padding:8px 10px;font-size:14px;line-height:1.35;resize:vertical}@media (max-width:1100px){.hero-panel{grid-template-columns:1fr}.grid.cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:980px){.app-shell{grid-template-columns:1fr}.sidebar{position:static}.filter-bar{align-items:flex-start;flex-direction:column}}@media (max-width:640px){.grid.cards{grid-template-columns:1fr}.main{padding:18px}.page-header{display:block}.action-card{display:grid}.mcp-session-card-actions{justify-content:stretch;min-width:0}}.sheet-backdrop{z-index:1000;align-items:flex-end;justify-content:center;background:rgba(16,24,40,.54);padding:16px;touch-action:none}.bottom-sheet,.sheet-backdrop{display:flex;overscroll-behavior:contain}.bottom-sheet{width:min(760px,100%);max-height:min(88dvh,760px);flex-direction:column;color:var(--text);border:1px solid var(--line);border-radius:24px 24px 18px 18px;box-shadow:0 -24px 70px rgba(16,24,40,.28);touch-action:auto;outline:none}.sheet-handle{flex:0 0 auto;align-self:center;border-radius:999px;background:var(--line);margin:10px 0 4px}.sheet-header{gap:16px;flex:0 0 auto;padding:14px 20px 12px;border-bottom:1px solid var(--line)}.sheet-header h2{font-size:20px;letter-spacing:-.02em;line-height:1.2;margin:0}.sheet-header p{line-height:1.5;margin:6px 0 0}.sheet-close{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;flex:0 0 auto;color:var(--muted);cursor:pointer;font-size:24px;line-height:1;transition:background .14s ease,border-color .14s ease,color .14s ease,transform .14s ease,box-shadow .14s ease}.sheet-close:hover{background:var(--brand-soft);border-color:rgba(37,99,235,.28);color:var(--brand-strong)}.sheet-close:active{transform:scale(.94)}.sheet-close:focus-visible{outline:none;box-shadow:0 0 0 4px rgba(37,99,235,.18)}.sheet-body{flex:1 1 auto;overflow-y:auto;padding:18px 20px 20px;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y}.sheet-footer{position:-webkit-sticky;position:sticky;bottom:0;z-index:1;flex:0 0 auto;padding:14px 20px calc(14px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:var(--panel);box-shadow:0 -12px 24px rgba(16,24,40,.06)}.sheet-action-grid{display:flex;flex-wrap:wrap}.sheet-action-grid .button,.sheet-action-grid a.button{flex:1 1 160px}.button{gap:8px;text-align:center;transition:background .14s ease,border-color .14s ease,color .14s ease,transform .12s ease,box-shadow .14s ease,opacity .14s ease}.button:hover:not(:disabled){background:var(--panel-soft);border-color:#cbd5e1;box-shadow:0 8px 18px rgba(16,24,40,.08);transform:translateY(-1px)}.button:active:not(:disabled){box-shadow:none;transform:translateY(0) scale(.98)}.button:focus-visible{outline:none;box-shadow:0 0 0 4px rgba(37,99,235,.18)}.button:disabled,.button[aria-disabled=true]{cursor:not-allowed;opacity:.56;pointer-events:none}.button.primary:hover:not(:disabled){background:var(--brand-strong);border-color:var(--brand-strong)}@media (max-width:640px){.sheet-backdrop{padding:0}.bottom-sheet{width:100%;max-height:92dvh;border-right:0;border-bottom:0;border-left:0;border-radius:22px 22px 0 0}.sheet-body,.sheet-footer,.sheet-header{padding-right:16px;padding-left:16px}.sheet-body{padding-top:12px;padding-bottom:12px}.report-popup-grid{gap:8px}.report-field-panel,.report-quick-panel{padding:9px;border-radius:14px;box-shadow:none}.report-chip-grid{gap:5px}.report-chip{min-height:30px;border-radius:9px;font-size:12.5px;padding:5px 8px}.report-used-product-groups{gap:7px}.report-used-product-group{grid-template-columns:58px minmax(0,1fr);gap:6px;padding:7px}.report-used-product-group>span{font-size:12.5px;padding-top:6px}.report-field-grid{grid-template-columns:1fr;gap:7px}.report-field textarea{min-height:40px}.report-section-head small{font-size:11.5px}}html{-webkit-text-size-adjust:100%}body{overscroll-behavior-y:none}.nav-icon{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:999px;background:hsla(0,0%,100%,.08);font-size:13px;line-height:1}.sidebar-link{gap:10px;justify-content:flex-start}.utility-link{margin-top:auto}.bottom-nav,.mobile-settings-link,.mobile-table-cards{display:none}.settings-grid{display:grid;grid-gap:16px;gap:16px;max-width:900px}.settings-card{display:grid;grid-gap:18px;gap:18px}.settings-actions{display:flex;flex-wrap:wrap;gap:10px}.settings-hint{color:var(--muted);font-size:13px;line-height:1.5;margin:10px 0 0}.sheet-backdrop{position:fixed;inset:0;z-index:80;display:grid;align-items:end;background:rgba(16,24,40,.34)}.bottom-sheet{display:grid;grid-gap:14px;gap:14px;border-radius:26px 26px 0 0;background:var(--panel);box-shadow:0 -20px 60px rgba(16,24,40,.24);max-height:86dvh;overflow:hidden;padding:10px 16px 16px}.sheet-handle{justify-self:center;width:44px;height:5px;border-radius:99px;background:#d0d5dd}.sheet-header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.sheet-header h2{font-size:18px;margin:0 0 4px}.sheet-header p{color:var(--muted);font-size:13px;line-height:1.45;margin:0}.sheet-close{display:grid;place-items:center;border:1px solid var(--line);border-radius:999px;background:var(--panel-soft);color:var(--text);width:36px;height:36px;font-size:22px}.sheet-body{min-height:0;overflow:auto}.sheet-footer{display:grid;grid-gap:10px;gap:10px}@media (max-width:820px){:root{--brand:#6d5dfc;--brand-strong:#4f46e5;--brand-soft:#eef2ff;--accent:#06b6d4;--accent-soft:#ecfeff;--radius:18px;--shadow:0 1px 2px rgba(16,24,40,.04),0 12px 30px rgba(16,24,40,.06)}body,html{height:100%;overflow:hidden}body{background:radial-gradient(circle at top left,rgba(109,93,252,.14),transparent 30%),#f7f8fb}.app-shell{display:block;height:100dvh;min-height:100dvh;overflow:hidden}.sidebar{display:none}.mobile-settings-link{position:fixed;top:max(10px,env(safe-area-inset-top));right:12px;z-index:60;display:grid;place-items:center;width:38px;height:38px;border:1px solid rgba(228,231,236,.92);border-radius:999px;background:hsla(0,0%,100%,.92);box-shadow:0 10px 24px rgba(16,24,40,.12);color:var(--text);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.mobile-settings-link.active{background:linear-gradient(135deg,var(--brand),var(--accent));color:#fff}.main{height:100dvh;min-height:0;overflow-y:auto;padding:calc(14px + env(safe-area-inset-top)) 12px calc(84px + env(safe-area-inset-bottom));-webkit-overflow-scrolling:touch}.page-header{display:grid;grid-gap:10px;gap:10px;margin-bottom:14px;padding-right:42px}.page-eyebrow{color:var(--brand-strong);font-size:11px;margin-bottom:5px}.page-title{font-size:25px;line-height:1.12;letter-spacing:-.03em;margin-bottom:6px}.page-subtitle{font-size:13px;line-height:1.45}.filter-bar{border-radius:20px;gap:10px;margin-bottom:12px;padding:12px}.filter-list{display:flex;flex-wrap:nowrap;gap:8px;max-width:100%;overflow-x:auto;padding-bottom:2px;scrollbar-width:none}.filter-list::-webkit-scrollbar{display:none}.filter-chip{flex:0 0 auto;font-size:12px;min-height:34px;padding:8px 11px}.grid{gap:12px}.grid.cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.card{border-radius:22px;border-color:rgba(228,231,236,.9);padding:14px}.card:first-of-type{position:relative}.card:first-of-type:before{content:"";position:absolute;top:12px;right:12px;width:7px;height:34px;border-radius:99px;background:linear-gradient(180deg,var(--brand),var(--accent))}.card-hint,.card-label{font-size:12px}.card-value{font-size:24px}.hero-panel{gap:12px;margin-bottom:12px}.panel-title{font-size:16px;margin-bottom:10px}.desktop-table{display:none}.mobile-table-cards{display:grid;grid-gap:10px;gap:10px}.mobile-row-card{display:grid;grid-gap:8px;gap:8px;border:1px solid rgba(228,231,236,.9);border-radius:18px;background:linear-gradient(180deg,#fff,#f8fafc);padding:13px}.mobile-row-field{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding-top:8px}.mobile-row-field.primary{display:grid;border-top:0;padding-top:0}.mobile-row-field span{color:var(--muted);flex:0 0 auto;font-size:12px}.mobile-row-field strong{color:var(--text);font-size:13px;font-weight:750;line-height:1.35;text-align:right}.mobile-row-field.primary strong{font-size:16px;text-align:left}.metric-row{border-radius:16px;padding:11px}.action-card{border-radius:18px;gap:10px;padding:13px}.badge{background:linear-gradient(135deg,var(--brand-soft),var(--accent-soft));color:var(--brand-strong);min-height:30px;padding:6px 9px}.button.primary{background:linear-gradient(135deg,var(--brand),var(--accent));border-color:transparent;box-shadow:0 10px 22px rgba(79,70,229,.22)}.settings-grid{gap:12px}.settings-card{gap:14px}.settings-actions{display:grid}.settings-actions .button{min-height:46px;width:100%}.bottom-nav{position:fixed;right:8px;bottom:max(4px,calc(env(safe-area-inset-bottom) - 24px));left:8px;z-index:50;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));grid-gap:4px;gap:4px;border:1px solid rgba(228,231,236,.96);border-radius:22px;background:hsla(0,0%,100%,.95);box-shadow:0 14px 32px rgba(16,24,40,.18);padding:5px;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.bottom-nav-link{display:grid;justify-items:center;grid-gap:3px;gap:3px;border-radius:15px;color:#475467;font-size:10px;font-weight:850;min-height:48px;padding:5px 2px}.bottom-nav-link .nav-icon{background:#f2f4f7;color:#344054;box-shadow:inset 0 0 0 1px rgba(16,24,40,.04);font-size:14px}.bottom-nav-link:first-child .nav-icon{background:#eef2ff;color:#4f46e5}.bottom-nav-link:nth-child(2) .nav-icon{background:#ecfeff;color:#0891b2}.bottom-nav-link:nth-child(3) .nav-icon{background:#f0fdf4;color:#16a34a}.bottom-nav-link:nth-child(4) .nav-icon{background:#fff7ed;color:#ea580c}.bottom-nav-link:nth-child(5) .nav-icon{background:#fdf2f8;color:#db2777}.bottom-nav-link:nth-child(6) .nav-icon{background:#eff6ff;color:#2563eb}.bottom-nav-link:nth-child(7) .nav-icon{background:#f5f3ff;color:#7c3aed}.bottom-nav-link.active{background:linear-gradient(135deg,rgba(109,93,252,.14),rgba(6,182,212,.14));color:var(--brand-strong)}.bottom-nav-link.active .nav-icon{background:linear-gradient(135deg,var(--brand),var(--accent));color:#fff;box-shadow:0 8px 18px rgba(79,70,229,.24)}.bottom-nav-link .nav-label{overflow:hidden;max-width:100%;text-overflow:ellipsis;white-space:nowrap}}@media (max-width:420px){.main{padding-right:10px;padding-left:10px}.grid.cards{grid-template-columns:1fr 1fr}.card{padding:12px}.bottom-nav{right:6px;left:6px;bottom:max(3px,calc(env(safe-area-inset-bottom) - 26px));border-radius:20px;padding:5px}.bottom-nav-link{min-height:46px;font-size:9px}}.bottom-sheet-workspace{height:100%!important;max-height:100%!important;min-height:0!important;box-sizing:border-box}.bottom-sheet-workspace .sheet-header{min-height:52px!important;box-sizing:border-box;padding:max(6px,env(safe-area-inset-top)) 10px 6px!important}.bottom-sheet-workspace .sheet-body{display:flex;min-height:0;box-sizing:border-box;overflow:hidden!important;padding:6px!important}.bottom-sheet-workspace .sheet-footer{flex:0 0 auto;box-sizing:border-box;padding:6px 8px max(6px,env(safe-area-inset-bottom))!important}@media (max-width:420px){.bottom-sheet-workspace .sheet-header{min-height:48px!important;padding-right:8px!important;padding-left:8px!important}.bottom-sheet-workspace .sheet-body{padding:4px!important}.bottom-sheet-workspace .sheet-footer{padding-right:6px!important;padding-left:6px!important}}@media (max-width:900px) and (max-height:420px){.bottom-sheet-workspace .sheet-header{min-height:34px!important;padding:2px 8px!important}.bottom-sheet-workspace .sheet-header h2{font-size:14px;line-height:1.05}.bottom-sheet-workspace .sheet-header p{display:none}.bottom-sheet-workspace .sheet-close{width:34px;min-height:34px}.bottom-sheet-workspace .sheet-body{padding:2px!important}.bottom-sheet-workspace [data-mobile-panel]>div:nth-child(2)>section>div:first-child{display:none}.bottom-sheet-workspace .sheet-footer{min-height:38px;padding:2px 6px!important}.bottom-sheet-workspace .sheet-footer button{min-height:34px!important}}.button.compact{min-height:34px;padding:7px 10px}.sheet-action-grid{display:grid;grid-gap:10px;gap:10px}.field-sheet-content,.order-sheet-content,.plan-sheet-content,.route-sheet-content,.visit-sheet-content{display:grid;grid-gap:12px;gap:12px}.field-focus-card,.order-total-card,.plan-focus-card,.route-focus-card,.visit-focus-card{display:grid;grid-gap:5px;gap:5px;border:1px solid rgba(228,231,236,.92);border-radius:20px;background:linear-gradient(135deg,var(--brand-soft),var(--accent-soft));padding:16px}.field-focus-card{background:linear-gradient(135deg,#fff7ed,#ecfeff)}.plan-focus-card{background:linear-gradient(135deg,#f5f3ff,#ecfeff)}.visit-focus-card{background:linear-gradient(135deg,#ecfeff,#f0fdf4)}.route-focus-card{background:linear-gradient(135deg,#eff6ff,#ecfeff)}.field-focus-card small,.field-focus-card span,.order-total-card small,.order-total-card span,.plan-focus-card small,.plan-focus-card span,.route-focus-card small,.route-focus-card span,.visit-focus-card small,.visit-focus-card span{color:var(--muted);font-size:13px}.field-focus-card strong,.order-total-card strong,.plan-focus-card strong,.route-focus-card strong,.visit-focus-card strong{color:var(--brand-strong);font-size:28px;letter-spacing:-.04em}.field-focus-card strong{color:#ea580c}.plan-focus-card strong{color:#7c3aed}.visit-focus-card strong{color:#0891b2}.route-focus-card strong{color:#2563eb}.sheet-note-card{border:1px solid var(--line);border-radius:18px;background:var(--panel-soft);padding:13px}.sheet-note-card h3{font-size:15px;margin:0 0 6px}.sheet-note-card p{color:var(--muted);font-size:13px;line-height:1.5;margin:0}@media (max-width:820px){.sheet-action-grid .button{min-height:46px;width:100%}.field-focus-card,.order-total-card,.plan-focus-card,.route-focus-card,.visit-focus-card{padding:15px}.field-focus-card strong,.order-total-card strong,.plan-focus-card strong,.route-focus-card strong,.visit-focus-card strong{font-size:26px}}.outlet-sheet-content{display:grid;grid-gap:12px;gap:12px}.outlet-focus-card{display:grid;grid-gap:5px;gap:5px;border:1px solid rgba(228,231,236,.92);border-radius:20px;background:linear-gradient(135deg,#f0fdf4,#eef2ff);padding:16px}.outlet-focus-card small,.outlet-focus-card span{color:var(--muted);font-size:13px}.outlet-focus-card strong{color:#16a34a;font-size:28px;letter-spacing:-.04em}@media (max-width:820px){.outlet-focus-card{padding:15px}.outlet-focus-card strong{font-size:26px}}:root{--shadow:0 1px 2px rgba(16,24,40,.05),0 18px 44px rgba(16,24,40,.08);--shadow-deep:0 26px 80px rgba(15,23,42,.18);--ring-soft:inset 0 1px 0 hsla(0,0%,100%,.72)}body{background:radial-gradient(circle at 12% 0,rgba(124,58,237,.1),transparent 28%),radial-gradient(circle at 88% 12%,rgba(6,182,212,.12),transparent 30%),var(--bg)}.sidebar{background:linear-gradient(180deg,hsla(0,0%,100%,.08),transparent 24%),radial-gradient(circle at 30% 0,rgba(37,99,235,.35),transparent 35%),#101828;box-shadow:18px 0 54px rgba(15,23,42,.2)}.sidebar-title{text-shadow:0 2px 18px hsla(0,0%,100%,.18)}.action-card,.card,.dashboard-module-card,.dashboard-route-card,.dashboard-today-card,.filter-bar,.mcp-line-card,.mcp-session-hero,.mobile-row-card,.settings-card{position:relative;overflow:hidden;box-shadow:var(--shadow),var(--ring-soft)}.action-card:before,.card:before,.dashboard-module-card:before,.dashboard-route-card:before,.dashboard-today-card:before,.mcp-line-card:before,.mcp-session-hero:before,.mobile-row-card:before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(135deg,hsla(0,0%,100%,.82),transparent 34%);opacity:.55}.action-card,.bottom-nav a,.button,.card,.dashboard-module-card,.dashboard-route-card,.dashboard-today-card,.mcp-line-card,.mcp-session-hero,.mobile-row-card,.sidebar-link{transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease,background .16s ease,opacity .16s ease}@media (hover:hover){.action-card:hover,.card:hover,.dashboard-module-card:hover,.dashboard-route-card:hover,.dashboard-today-card:hover,.mcp-line-card:hover,.mobile-row-card:hover{transform:translateY(-1px);box-shadow:var(--shadow-deep),var(--ring-soft)}.button:hover:not(:disabled){transform:translateY(-1px);box-shadow:inset 0 1px 0 hsla(0,0%,100%,.78),0 14px 30px rgba(16,24,40,.12)}}.button{box-shadow:inset 0 1px 0 hsla(0,0%,100%,.72),0 8px 22px rgba(16,24,40,.06);-webkit-tap-highlight-color:transparent;-webkit-user-select:none;-moz-user-select:none;user-select:none}.button:active:not(:disabled){transform:translateY(1px) scale(.985);box-shadow:inset 0 1px 0 hsla(0,0%,100%,.7),0 4px 14px rgba(16,24,40,.1)}.bottom-nav a:focus-visible,.button:focus-visible,.dashboard-module-card:focus-visible,.sheet-close:focus-visible,.sidebar-link:focus-visible{outline:3px solid rgba(37,99,235,.28);outline-offset:3px}.button:disabled{cursor:not-allowed;opacity:.58;transform:none}.button.primary{background:linear-gradient(135deg,var(--brand),#6d5dfc 52%,#06b6d4);border-color:transparent;box-shadow:inset 0 1px 0 hsla(0,0%,100%,.28),0 14px 34px rgba(37,99,235,.28)}.badge{box-shadow:inset 0 1px 0 hsla(0,0%,100%,.65),0 8px 18px rgba(37,99,235,.08)}.card-value,.page-title,.panel-title{text-wrap:balance}.bottom-sheet{background:linear-gradient(180deg,hsla(0,0%,100%,.96),rgba(248,250,252,.96)),var(--panel);box-shadow:0 -34px 92px rgba(15,23,42,.3),inset 0 1px 0 hsla(0,0%,100%,.82)}.sheet-handle{background:linear-gradient(90deg,#d0d5dd,#fff,#d0d5dd)}.field-focus-card,.outlet-focus-card,.route-focus-card,.visit-focus-card{box-shadow:0 18px 42px rgba(15,23,42,.14),inset 0 1px 0 hsla(0,0%,100%,.58)}.dashboard-today-card{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;grid-gap:16px;gap:16px;border:1px solid rgba(99,102,241,.2);border-radius:24px;background:linear-gradient(135deg,#101828,#344054 58%,#0e7490);color:#fff;margin-bottom:12px;padding:18px}.dashboard-today-main{min-width:0}.dashboard-today-card p,.dashboard-today-card span{color:hsla(0,0%,100%,.76);font-size:13px;margin:0}.dashboard-today-card h2{font-size:clamp(30px,8vw,48px);line-height:1;letter-spacing:-.05em;margin:6px 0}.dashboard-today-pills{display:grid;grid-gap:7px;gap:7px;min-width:96px}.dashboard-today-pills strong{border-radius:999px;background:hsla(0,0%,100%,.16);font-size:12px;padding:7px 10px;text-align:center;white-space:nowrap}.dashboard-module-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:10px;gap:10px;margin:0 0 12px}.dashboard-module-card{display:grid;grid-template-columns:auto minmax(0,1fr);grid-gap:9px;gap:9px;align-items:center;border:1px solid rgba(228,231,236,.9);border-radius:18px;background:hsla(0,0%,100%,.96);color:var(--text);min-height:88px;padding:12px;text-decoration:none}.dashboard-module-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:14px;background:linear-gradient(135deg,var(--brand-soft),var(--accent-soft));color:var(--brand-strong);font-size:16px;font-weight:900}.dashboard-module-card h3{font-size:15px;line-height:1.05;margin:0 0 3px}.dashboard-module-card p{color:var(--muted);font-size:12px;line-height:1.25;margin:0}.dashboard-module-card strong{grid-column:1/-1;justify-self:start;border-radius:999px;background:#f8fafc;color:var(--brand-strong);font-size:11px;padding:5px 8px}.dashboard-kpi-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:10px;gap:10px}.dashboard-section,.mcp-lines-section{display:grid;grid-gap:10px;gap:10px;margin-top:16px}.dashboard-section-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.dashboard-section-head h2{font-size:18px;margin:0}.dashboard-section-head span{color:var(--muted);font-size:12px;font-weight:800}.dashboard-action-list,.dashboard-route-list,.mcp-line-list{display:grid;grid-gap:10px;gap:10px}.dashboard-route-card{border:1px solid var(--line);border-radius:20px;background:hsla(0,0%,100%,.96);padding:14px}.dashboard-route-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.dashboard-route-head h3{font-size:15px;line-height:1.18;margin:0 0 3px}.dashboard-route-head small{color:var(--muted);font-size:12px}.dashboard-priority,.dashboard-status,.mcp-line-status{border-radius:999px;flex:0 0 auto;font-size:11px;font-weight:900;padding:5px 8px}.mcp-line-status.visited,.priority-low,.status-good{background:#e7f9eb;color:#167c32}.mcp-line-status.pending,.priority-medium,.status-watch{background:#fff6df;color:#9a5a00}.mcp-line-status.cancelled,.mcp-line-status.skipped,.priority-high,.status-risk{background:#fff0ed;color:#c63b2e}.dashboard-route-progress{height:7px;overflow:hidden;border-radius:999px;background:#edf2f7;margin-top:11px}.dashboard-route-progress span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--brand),var(--accent))}.dashboard-route-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:7px;gap:7px;margin-top:10px}.dashboard-route-metrics span{border:1px solid rgba(228,231,236,.86);border-radius:14px;background:#fbfffd;padding:8px 6px;text-align:center}.dashboard-route-metrics b{display:block;font-size:16px;line-height:1}.dashboard-route-metrics small{color:var(--muted);display:block;font-size:10px;font-weight:800;margin-top:4px}.dashboard-action-card{align-items:center;grid-template-columns:minmax(0,1fr) auto}.dashboard-action-card h3{font-size:15px;line-height:1.18;margin:8px 0 4px}.dashboard-action-card p{color:var(--muted);font-size:13px;line-height:1.35;margin:0}.dashboard-action-card strong{color:var(--brand-strong);font-size:13px;white-space:nowrap}.dashboard-insight-strip{display:grid;grid-gap:8px;gap:8px;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:16px}.mcp-session-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;grid-gap:14px;gap:14px;border:1px solid rgba(99,102,241,.2);border-radius:24px;background:linear-gradient(135deg,#008b7c,#06b6d4);color:#fff;margin-bottom:12px;padding:16px}.mcp-session-hero h2{font-size:24px;line-height:1.08;margin:4px 0}.mcp-session-hero p,.mcp-session-hero span{color:hsla(0,0%,100%,.78);font-size:13px;margin:0}.mcp-session-hero strong{border-radius:999px;background:hsla(0,0%,100%,.18);font-size:12px;padding:7px 10px}.mcp-status-chips{gap:7px;overflow-x:auto;padding-bottom:2px;scrollbar-width:none}.mcp-status-chips::-webkit-scrollbar{display:none}.mcp-status-chips button{flex:0 0 auto;border:1px solid rgba(228,231,236,.92);background:#fff;color:#475467;font-weight:850;min-height:34px;padding:7px 11px}.mcp-status-chips button.active{border-color:transparent;background:#101828;color:#fff}.mcp-status-chips b{margin-left:6px}.mcp-line-card{display:grid;grid-template-columns:38px minmax(0,1fr);grid-gap:10px;gap:10px;align-items:start;border:1px solid var(--line);border-radius:18px;background:hsla(0,0%,100%,.96);padding:11px}.mcp-line-order{display:grid;place-items:center;border-radius:14px;background:#f2f4f7;color:#344054;font-size:12px;font-weight:900;min-height:38px}.mcp-line-main{display:grid;grid-gap:7px;gap:7px;min-width:0}.mcp-line-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.mcp-line-head h3{font-size:15px;line-height:1.15;margin:0 0 2px}.mcp-line-head small{color:var(--muted);font-size:11px}.mcp-line-meta{display:flex;flex-wrap:wrap;gap:6px}.mcp-line-meta span{border-radius:999px;background:#f8fafc;color:#475467;font-size:11px;font-weight:800;padding:4px 7px}.mcp-line-actions{display:grid;grid-column:1/-1;grid-template-columns:1.2fr repeat(4,.8fr);grid-gap:6px;gap:6px}.mcp-line-actions .button{border-radius:10px;font-size:11px;font-weight:900;min-height:32px;padding:0 7px}.operational-list-card{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;grid-gap:9px;gap:9px;border:1px solid rgba(228,231,236,.9);background:hsla(0,0%,100%,.96);box-shadow:var(--shadow),var(--ring-soft);min-height:78px;overflow:hidden;padding:9px;position:relative}.operational-list-leading{display:grid;place-items:center;align-self:stretch;background:#f2f4f7;color:#344054;font-size:11px;font-weight:900}.operational-list-body{display:grid;grid-gap:4px;gap:4px;min-width:0}.operational-list-head{display:flex;align-items:flex-start;justify-content:space-between;min-width:0}.operational-list-title-wrap{min-width:0}.operational-list-title-wrap>span{color:var(--muted);display:block;font-weight:850;margin-bottom:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.operational-list-title-wrap h3{line-height:1.12;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.operational-list-badge{flex:0 0 auto}.operational-list-card p{color:var(--muted);display:-webkit-box;line-height:1.25;margin:0;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1}.operational-list-meta{display:flex;gap:5px;min-width:0;overflow:hidden}.operational-list-meta small{flex:0 1 auto;border-radius:999px;background:#f8fafc;color:#475467;font-weight:850;overflow:hidden;padding:3px 6px;text-overflow:ellipsis;white-space:nowrap}.operational-list-actions{display:grid;grid-template-columns:56px;grid-gap:5px}.operational-list-actions .button{border-radius:10px;min-height:27px;padding:0 6px}@media (max-width:820px){body{background:radial-gradient(circle at 0 0,rgba(109,93,252,.16),transparent 34%),radial-gradient(circle at 100% 0,rgba(6,182,212,.14),transparent 30%)}.action-card,.card,.dashboard-module-card,.dashboard-route-card,.filter-bar,.mcp-line-card,.mobile-row-card,.operational-list-card{border-color:rgba(228,231,236,.78);background:hsla(0,0%,100%,.92);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.bottom-nav{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);box-shadow:0 -18px 44px rgba(15,23,42,.12),inset 0 1px 0 hsla(0,0%,100%,.76)}.bottom-nav a.active{background:linear-gradient(135deg,var(--brand),#06b6d4);color:#fff;box-shadow:0 12px 28px rgba(79,70,229,.28)}.dashboard-today-card{border-radius:22px;gap:10px;grid-template-columns:1fr;margin-bottom:10px;padding:14px}.dashboard-today-pills{display:flex;gap:6px;min-width:0;overflow-x:auto;scrollbar-width:none}.dashboard-today-pills::-webkit-scrollbar{display:none}.dashboard-today-pills strong{flex:0 0 auto;font-size:11px}.dashboard-module-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:10px}.dashboard-module-card{min-height:78px;padding:10px}.dashboard-module-icon{width:30px;height:30px;border-radius:12px;font-size:14px}.dashboard-module-card h3{font-size:14px}.dashboard-module-card p{font-size:11px}.dashboard-module-card strong{font-size:10px;padding:4px 7px}.dashboard-kpi-strip{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.dashboard-kpi-strip .card,.mcp-day-kpis .card{border-radius:18px;min-height:88px;padding:12px}.dashboard-kpi-strip .card-label,.mcp-day-kpis .card-label{font-size:11px}.dashboard-kpi-strip .card-value,.mcp-day-kpis .card-value{font-size:22px}.dashboard-kpi-strip .card-hint,.mcp-day-kpis .card-hint{font-size:11px;margin-top:6px}.dashboard-section,.mcp-lines-section{margin-top:13px}.dashboard-section-head h2{font-size:16px}.dashboard-action-card{border-radius:18px;padding:12px}.dashboard-action-card p{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}.dashboard-insight-strip{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:13px}.mcp-session-hero{border-radius:22px;padding:14px}.mcp-session-hero h2{font-size:20px}.mcp-line-card{grid-template-columns:32px minmax(0,1fr);gap:8px;padding:9px}.mcp-line-order{border-radius:12px;font-size:11px;min-height:32px}.mcp-line-head h3{font-size:14px}.mcp-line-status{font-size:10px;padding:4px 7px}.mcp-line-actions{grid-column:1/-1;grid-template-columns:1.2fr repeat(4,.8fr);gap:5px}.mcp-line-actions .button{min-height:30px;min-width:0;padding:0 5px}.operational-list-card{grid-template-columns:32px minmax(0,1fr) 54px;gap:7px;min-height:74px;padding:8px}.operational-list-leading{border-radius:11px;font-size:10px;min-height:32px}.operational-list-title-wrap h3{font-size:13px}.operational-list-actions{grid-template-columns:1fr}.operational-list-actions .button{min-height:26px;padding:0 4px}}.dashboard-command-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:10px;gap:10px;margin:0 0 12px}.dashboard-command-card{display:grid;align-content:space-between;grid-gap:10px;gap:10px;border:1px solid rgba(228,231,236,.92);border-radius:20px;background:hsla(0,0%,100%,.96);color:var(--text);min-height:168px;padding:14px;text-decoration:none;box-shadow:var(--shadow),var(--ring-soft);overflow:hidden;position:relative;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}.dashboard-command-card:before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(135deg,hsla(0,0%,100%,.82),transparent 38%);opacity:.62}.dashboard-command-card>*{position:relative;z-index:1}.dashboard-command-card.command-good{border-color:rgba(22,124,50,.18)}.dashboard-command-card.command-watch{border-color:rgba(154,90,0,.22);background:linear-gradient(135deg,#fff,#fffaf0)}.dashboard-command-card.command-risk{border-color:rgba(198,59,46,.22);background:linear-gradient(135deg,#fff,#fff7f5)}.dashboard-command-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.dashboard-command-head>span{color:var(--muted);font-size:11px;font-weight:900;letter-spacing:.05em;line-height:1.2;text-transform:uppercase}.dashboard-command-main{display:grid;grid-gap:5px;gap:5px;min-width:0}.dashboard-command-main h3{font-size:15px;line-height:1.18;margin:0;text-wrap:balance}.dashboard-command-main b{display:block;font-size:clamp(24px,4vw,34px);letter-spacing:-.05em;line-height:1}.dashboard-command-main p{color:var(--muted);font-size:12px;line-height:1.35;margin:0}.dashboard-command-meta{display:flex;flex-wrap:wrap;gap:5px}.dashboard-command-meta small{border:1px solid rgba(228,231,236,.86);border-radius:999px;background:rgba(248,250,252,.94);color:#475467;font-size:10.5px;font-weight:800;line-height:1;padding:5px 7px}.dashboard-command-cta{justify-self:start;border-radius:999px;background:var(--brand-soft);color:var(--brand-strong);font-size:11px;padding:6px 9px}.dashboard-alert-list{display:grid;grid-gap:9px;gap:9px}.dashboard-alert-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;grid-gap:12px;gap:12px;border:1px solid var(--line);border-radius:16px;background:hsla(0,0%,100%,.96);padding:12px;text-decoration:none;box-shadow:var(--shadow),var(--ring-soft);transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}.dashboard-alert-card h3{font-size:15px;line-height:1.18;margin:0 0 3px}.dashboard-alert-card p{color:var(--muted);font-size:12.5px;line-height:1.35;margin:0}.dashboard-alert-card>strong{border-radius:999px;background:var(--brand-soft);color:var(--brand-strong);font-size:11px;padding:6px 9px;white-space:nowrap}@media (hover:hover){.dashboard-alert-card:hover,.dashboard-command-card:hover{transform:translateY(-1px);box-shadow:var(--shadow-deep),var(--ring-soft)}}@media (max-width:1100px){.dashboard-command-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:640px){.dashboard-command-grid{grid-template-columns:1fr}.dashboard-command-card{min-height:0;padding:12px}.dashboard-alert-card{grid-template-columns:1fr;gap:8px}.dashboard-alert-card>strong{justify-self:start}}.mcp-gate-banner{display:grid;grid-gap:4px;gap:4px;border:1px solid rgba(14,116,144,.22);border-radius:18px;background:linear-gradient(135deg,rgba(16,24,40,.92),rgba(14,116,144,.9));color:#fff;margin-bottom:10px;padding:12px 14px;box-shadow:0 16px 34px rgba(15,23,42,.16)}.mcp-gate-banner strong{font-size:15px;letter-spacing:-.02em}.mcp-gate-banner span{color:hsla(0,0%,100%,.78);font-size:12px;line-height:1.35}.operational-list-card{grid-template-columns:34px minmax(0,1fr);align-items:start;gap:8px 9px;border-radius:16px;min-height:0;padding:8px}.operational-list-leading{align-self:start;width:34px;height:34px;min-height:34px;border-radius:12px}.operational-list-body{gap:3px}.operational-list-head{align-items:center;gap:8px}.operational-list-title-wrap>span{font-size:10px;line-height:1.1;margin-bottom:1px}.operational-list-title-wrap h3{font-size:14px;line-height:1.08}.operational-list-card p{font-size:11px;line-height:1.18}.operational-list-meta{gap:4px;margin-top:1px}.operational-list-meta small{font-size:10px;line-height:1;padding:4px 6px}.operational-list-actions{display:flex;grid-column:2;grid-row:2;gap:5px;justify-content:flex-start;min-width:0;overflow-x:auto;scrollbar-width:none}.operational-list-actions::-webkit-scrollbar{display:none}.operational-list-actions .button{flex:0 0 auto;border-radius:999px;font-size:10px;font-weight:900;min-height:24px;min-width:48px;padding:0 8px}.operational-list-actions .button.primary{min-width:58px}@media (max-width:820px){.mcp-gate-banner{border-radius:16px;margin-bottom:8px;padding:11px 12px}.mcp-gate-banner strong{font-size:13px}.mcp-gate-banner span{font-size:11px}.operational-list-card{grid-template-columns:32px minmax(0,1fr);gap:6px 8px;border-radius:15px;min-height:0;padding:7px}.operational-list-leading{width:32px;height:32px;min-height:32px;border-radius:11px;font-size:10px}.operational-list-title-wrap>span{font-size:9.5px}.operational-list-title-wrap h3{font-size:13px}.operational-list-badge .badge,.operational-list-badge .dashboard-status,.operational-list-badge .mcp-line-status,.operational-list-badge strong{font-size:9.5px;padding:3px 6px}.operational-list-card p{font-size:10.5px}.operational-list-meta small{font-size:9.5px;padding:3px 6px}.operational-list-actions{grid-column:2;grid-row:2;gap:4px}.operational-list-actions .button{min-height:23px;min-width:43px;padding:0 7px}.operational-list-actions .button.primary{min-width:54px}}.bottom-sheet:has(.sheet-footer .sheet-action-grid>.button:nth-child(2):last-child) .sheet-body{padding-top:12px}.bottom-sheet:has(.sheet-footer .sheet-action-grid>.button:nth-child(2):last-child) .sheet-body>.visit-sheet-content>.visit-focus-card:first-child{display:none}.bottom-sheet:has(.sheet-footer .sheet-action-grid>.button:nth-child(2):last-child) .visit-sheet-content,.bottom-sheet:has(.sheet-footer .sheet-action-grid>.button:nth-child(2):last-child) .visit-sheet-content>.grid{display:grid;grid-gap:12px;gap:12px}.bottom-sheet:has(.sheet-footer .sheet-action-grid>.button:nth-child(2):last-child) .visit-focus-card{padding:12px;border-radius:16px;box-shadow:none}.bottom-sheet:has(.sheet-footer .sheet-action-grid>.button:nth-child(2):last-child) .visit-focus-card>span{display:inline-flex;margin-bottom:8px;color:var(--muted);font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}.form-field{display:grid;grid-gap:6px;gap:6px}.form-field small{color:var(--muted);font-size:12px;font-weight:700}.form-field input,.form-field select,.form-field textarea{width:100%;min-height:42px;border:1px solid var(--line);border-radius:12px;background:var(--panel);color:var(--text);padding:10px 12px;outline:none;transition:border-color .14s ease,box-shadow .14s ease,background .14s ease}.form-field textarea{min-height:82px;resize:vertical}.form-field input:focus,.form-field select:focus,.form-field textarea:focus{border-color:var(--brand);box-shadow:0 0 0 4px rgba(37,99,235,.14)}.form-field input:disabled,.form-field select:disabled,.form-field textarea:disabled{cursor:not-allowed;opacity:.62}.bottom-sheet:has(.sheet-footer .sheet-action-grid>.button:nth-child(2):last-child) .sheet-footer{padding-top:10px}.order-builder{display:grid;grid-gap:12px;gap:12px}.order-step{display:flex;align-items:center;gap:8px;color:var(--text);font-size:13px}.order-step span{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:999px;background:var(--brand-soft);color:var(--brand-strong);font-size:12px;font-weight:800}.order-picker-head,.order-search-row{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-gap:8px;gap:8px;align-items:end}.product-card-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:8px;gap:8px}.product-card,.variant-chip{display:grid;grid-gap:4px;gap:4px;min-width:0;border:1px solid var(--line);border-radius:14px;background:var(--panel);color:var(--text);cursor:pointer;padding:10px;text-align:left}.product-card strong,.variant-chip strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.product-card small,.product-card span,.variant-chip span{overflow:hidden;color:var(--muted);font-size:11.5px;text-overflow:ellipsis;white-space:nowrap}.catalog-chip.active,.product-card.active,.variant-chip.active{border-color:var(--brand);background:var(--brand-soft);box-shadow:0 0 0 3px rgba(37,99,235,.12)}.variant-grid{display:flex;flex-wrap:wrap;gap:8px}.variant-chip{min-width:min(180px,100%)}.order-edit-grid{grid-template-columns:minmax(86px,.7fr) minmax(92px,.7fr) minmax(110px,.8fr) auto;align-items:end}.order-edit-grid,.order-summary-list{display:grid;grid-gap:8px;gap:8px}.order-summary-row{display:grid;grid-template-columns:minmax(0,1.2fr) auto auto auto;grid-gap:8px;gap:8px;align-items:center;border:1px solid var(--line);border-radius:14px;background:var(--panel-soft);padding:8px}.order-summary-row div{display:grid;min-width:0;grid-gap:2px;gap:2px}.order-summary-row small,.order-summary-row strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.order-summary-row small,.order-summary-row span{color:var(--muted);font-size:12px}.order-summary-row .button{min-height:30px;padding:5px 9px}.order-footer-total,.order-total-row{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid #fedf89;border-radius:14px;background:#fffbeb;color:#92400e;font-weight:800;padding:10px 12px}.order-footer-total{grid-column:1/-1}.sheet-backdrop:has(.order-action-content){align-items:stretch!important;padding:6px!important}.bottom-sheet:has(.order-action-content){width:min(860px,calc(100vw - 10px))!important;max-height:calc(100dvh - 12px)!important;min-height:calc(100dvh - 12px)!important;border-radius:18px!important}.bottom-sheet:has(.order-action-content) .sheet-handle{height:4px!important;margin:6px 0 2px!important}.bottom-sheet:has(.order-action-content) .sheet-header{align-items:center!important;min-height:52px!important;padding:9px 14px!important}.bottom-sheet:has(.order-action-content) .sheet-header h2{font-size:18px!important}.bottom-sheet:has(.order-action-content) .sheet-header p{margin-top:2px!important;font-size:12px!important;line-height:1.2!important}.bottom-sheet:has(.order-action-content) .sheet-close{width:34px!important;height:34px!important}.bottom-sheet:has(.order-action-content) .sheet-body{padding:8px 10px!important}.bottom-sheet:has(.order-action-content) .sheet-footer{padding:8px 10px calc(8px + env(safe-area-inset-bottom))!important}.order-action-content>.visit-focus-card:first-child{display:none!important}.order-action-content{gap:8px!important}.order-builder-compact{gap:8px}.order-edit-grid.compact .form-field input,.order-note-field textarea,.order-picker-head .form-field input{min-height:36px;padding:7px 10px;border-radius:10px}.order-note-field textarea{min-height:44px}.order-edit-grid.compact .button,.order-search-button{min-height:36px;padding:7px 12px;border-radius:10px}.catalog-strip{display:flex;gap:6px;overflow-x:auto;padding:1px 1px 4px;scrollbar-width:thin}.catalog-chip{flex:0 0 auto;border:1px solid var(--line);border-radius:999px;background:var(--panel-soft);color:var(--text);cursor:pointer;font-size:12px;font-weight:750;min-height:30px;padding:5px 10px}.order-main-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(220px,.8fr);grid-gap:8px;gap:8px;min-height:0}.order-product-pane,.order-variant-pane{display:grid;align-content:start;grid-gap:6px;gap:6px;min-width:0}.order-section-title{display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--muted);font-size:12px}.order-section-title strong{color:var(--text)}.product-card-list.compact{grid-template-columns:repeat(2,minmax(0,1fr));max-height:38dvh;overflow:auto;padding-right:2px}.product-card-list.compact .product-card,.variant-grid.compact .variant-chip{border-radius:11px;padding:7px 8px}.variant-grid.compact{display:grid;grid-template-columns:minmax(0,1fr);max-height:38dvh;overflow:auto;padding-right:2px}.order-edit-grid.compact{grid-template-columns:76px 82px minmax(96px,1fr) auto}.order-summary-list.compact{max-height:18dvh;overflow:auto}.order-summary-list.compact .order-summary-row{border-radius:11px;padding:6px 8px}.order-sheet-footer{gap:6px!important}.order-sheet-footer .button,.order-sheet-footer .order-footer-total{min-height:38px;padding:7px 12px;border-radius:11px}.order-message{font-size:12px;line-height:1.35}@media (min-width:720px){.bottom-sheet:has(.sheet-footer .sheet-action-grid>.button:nth-child(2):last-child) .visit-focus-card{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:10px 12px;gap:10px 12px}.bottom-sheet:has(.sheet-footer .sheet-action-grid>.button:nth-child(2):last-child) .visit-focus-card>.button,.bottom-sheet:has(.sheet-footer .sheet-action-grid>.button:nth-child(2):last-child) .visit-focus-card>span{grid-column:1/-1}}@media (max-width:640px){.form-field input,.form-field select,.form-field textarea{min-height:44px;font-size:16px}.bottom-sheet:has(.sheet-footer .sheet-action-grid>.button:nth-child(2):last-child) .sheet-action-grid{gap:8px}.order-edit-grid,.order-search-row,.order-summary-row,.product-card-list{grid-template-columns:minmax(0,1fr)}.variant-chip{min-width:calc(50% - 4px)}.bottom-sheet:has(.order-action-content){width:100%!important;max-height:100dvh!important;min-height:100dvh!important;border-radius:14px 14px 0 0!important}.bottom-sheet:has(.order-action-content) .sheet-body{padding:7px 8px!important}.order-picker-head{grid-template-columns:minmax(0,1fr) 64px}.order-main-grid,.product-card-list.compact{grid-template-columns:minmax(0,1fr)}.product-card-list.compact{max-height:25dvh}.variant-grid.compact{grid-template-columns:repeat(2,minmax(0,1fr));max-height:17dvh}.order-edit-grid.compact{grid-template-columns:68px 74px minmax(82px,1fr) 74px}.order-summary-list.compact{max-height:15dvh}}.bottom-sheet:has(.sheet-footer .sheet-action-grid>.button:nth-child(2):last-child) .sheet-body>.visit-sheet-content>.visit-focus-card:first-child:last-child{display:grid}.order-builder-compact .catalog-strip{position:relative;flex-wrap:wrap;max-height:38px;overflow:hidden;border:1px solid var(--line);border-radius:13px;background:var(--panel-soft);padding:6px 6px 6px 142px;transition:max-height .16s ease,box-shadow .16s ease,background .16s ease}.order-builder-compact .catalog-strip:before{content:"NL trà sữa · chọn loại";position:absolute;left:8px;top:7px;display:inline-flex;align-items:center;min-height:24px;border-radius:999px;background:linear-gradient(135deg,#ecfeff,#eef2ff);color:var(--brand-strong);font-size:11px;font-weight:850;padding:3px 8px;pointer-events:none;white-space:nowrap}.order-builder-compact .catalog-strip:focus-within,.order-builder-compact .catalog-strip:hover{max-height:176px;overflow:auto;background:#fff;box-shadow:0 10px 24px rgba(16,24,40,.08)}.order-builder-compact .catalog-chip{min-height:24px;padding:3px 8px;font-size:11px}.order-builder-compact .catalog-chip:first-child{border-color:#fed7aa;background:#fff7ed;color:#9a3412}.order-builder-compact .catalog-chip:nth-child(10),.order-builder-compact .catalog-chip:nth-child(2),.order-builder-compact .catalog-chip:nth-child(3),.order-builder-compact .catalog-chip:nth-child(4),.order-builder-compact .catalog-chip:nth-child(5),.order-builder-compact .catalog-chip:nth-child(6),.order-builder-compact .catalog-chip:nth-child(7),.order-builder-compact .catalog-chip:nth-child(8),.order-builder-compact .catalog-chip:nth-child(9){border-color:#bbf7d0;background:#f0fdf4;color:#166534}@media (max-width:640px){.order-builder-compact .catalog-strip{padding-left:6px;padding-top:35px;max-height:68px}.order-builder-compact .catalog-strip:before{left:7px;top:6px}.order-builder-compact .catalog-strip:focus-within,.order-builder-compact .catalog-strip:hover{max-height:178px}}.order-builder-compact .order-summary-list.compact{display:grid;grid-gap:5px;gap:5px;max-height:22dvh;overflow:auto;padding-right:2px}.order-builder-compact .order-summary-list.compact .order-summary-row{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"info total" "qty total";grid-gap:2px 8px;gap:2px 8px;align-items:center;min-height:46px;border-radius:10px;background:#fff;padding:6px 40px 6px 8px}.order-builder-compact .order-summary-list.compact .order-summary-row div{grid-area:info;min-width:0}.order-builder-compact .order-summary-list.compact .order-summary-row strong{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12.5px;line-height:1.15}.order-builder-compact .order-summary-list.compact .order-summary-row small{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10.5px;line-height:1.15}.order-builder-compact .order-summary-list.compact .order-summary-row span{grid-area:qty;overflow:hidden;color:var(--muted);font-size:11px;line-height:1.15;text-overflow:ellipsis;white-space:nowrap}.order-builder-compact .order-summary-list.compact .order-summary-row b{grid-area:total;color:var(--text);font-size:12.5px;white-space:nowrap}.order-builder-compact .order-summary-list.compact .order-summary-row .button{position:absolute;top:6px;right:6px;display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;min-height:0;border:1px solid #fecaca;border-radius:999px;background:#fef2f2;color:#dc2626;font-size:0;padding:0}.order-builder-compact .order-summary-list.compact .order-summary-row .button:before{content:"×";font-size:18px;font-weight:900;line-height:1}.order-builder-compact .order-summary-list.compact .order-summary-row .button:focus-visible,.order-builder-compact .order-summary-list.compact .order-summary-row .button:hover{border-color:#ef4444;background:#fee2e2;color:#b91c1c}.order-builder-compact .order-note-field textarea{min-height:38px}.order-builder-compact>.order-total-row{display:none}@media (max-width:640px){.order-builder-compact .order-summary-list.compact{max-height:20dvh}.order-builder-compact .order-summary-list.compact .order-summary-row{min-height:44px;padding:6px 38px 6px 8px}.order-builder-compact .order-summary-list.compact .order-summary-row .button{width:25px;height:25px}}@media (max-width:640px){.bottom-sheet:has(.order-action-content) .sheet-body{display:flex!important;min-height:0!important;overflow:hidden!important}.order-action-content{display:flex!important;flex:1 1 auto!important;height:100%!important;min-height:0!important;overflow:hidden!important}.order-action-content>.visit-focus-card:first-child{display:none!important}.order-builder-compact{display:grid!important;flex:1 1 auto!important;grid-template-rows:auto auto minmax(0,1fr) auto auto!important;grid-gap:6px!important;gap:6px!important;height:100%!important;min-height:0!important;overflow:hidden!important}.order-picker-head{grid-template-columns:minmax(0,1fr) 58px!important;gap:6px!important}.order-picker-head .form-field small{display:none}.order-picker-head .form-field input,.order-search-button{min-height:34px!important;padding:6px 9px!important}.order-builder-compact .catalog-strip{flex-wrap:nowrap!important;max-height:38px!important;min-height:38px!important;overflow-x:auto!important;overflow-y:hidden!important;padding:5px!important;border-radius:12px!important}.order-builder-compact .catalog-strip:before{display:none!important}.order-builder-compact .catalog-strip:focus-within,.order-builder-compact .catalog-strip:hover{max-height:38px!important;overflow-x:auto!important;overflow-y:hidden!important;box-shadow:none!important}.order-builder-compact .catalog-chip{min-height:27px!important;padding:4px 9px!important;white-space:nowrap}.order-main-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr) auto!important;grid-gap:5px!important;gap:5px!important;min-height:0!important;overflow:hidden!important}.order-section-title{min-height:17px;font-size:11px!important}.order-product-pane,.order-variant-pane{min-height:0!important;overflow:hidden!important}.product-card-list.compact{grid-template-columns:minmax(0,1fr)!important;height:100%!important;min-height:0!important;max-height:none!important;overflow:auto!important}.product-card-list.compact .product-card{min-height:50px!important;padding:7px 10px!important}.product-card-list.compact .product-card strong{font-size:12.5px!important}.product-card-list.compact .product-card small,.product-card-list.compact .product-card span{font-size:10.5px!important}.variant-grid.compact{display:flex!important;flex-wrap:nowrap!important;gap:6px!important;max-height:58px!important;min-height:58px!important;overflow-x:auto!important;overflow-y:hidden!important}.variant-grid.compact .variant-chip{flex:0 0 148px;min-width:148px!important;min-height:52px!important;padding:7px 8px!important}.variant-grid.compact .variant-chip strong{font-size:12px!important}.variant-grid.compact .variant-chip span{font-size:10.5px!important}.order-edit-grid.compact{display:grid!important;grid-template-columns:54px 66px minmax(0,1fr) 64px!important;grid-gap:6px!important;gap:6px!important;min-height:51px!important;padding:5px!important;border:1px solid var(--line)!important;border-radius:13px!important;background:#fff!important;box-shadow:0 8px 20px rgba(16,24,40,.08)!important}.order-edit-grid.compact .form-field small{display:block!important;font-size:10px!important;line-height:1!important}.order-edit-grid.compact .button,.order-edit-grid.compact .form-field input{min-height:31px!important;padding:5px 7px!important;font-size:14px!important}.order-summary-list.compact{display:flex!important;gap:6px!important;max-height:46px!important;min-height:0!important;overflow-x:auto!important;overflow-y:hidden!important;padding:0 2px 1px 0!important}.order-summary-list.compact>small{align-self:center;white-space:nowrap}.order-summary-list.compact .order-summary-row{flex:0 0 172px;width:172px;min-height:44px!important;padding:5px 30px 5px 8px!important}.order-summary-list.compact .order-summary-row strong{font-size:11px!important}.order-summary-list.compact .order-summary-row small,.order-summary-list.compact .order-summary-row span{font-size:9px!important}.order-summary-list.compact .order-summary-row b{font-size:10.5px!important}.order-summary-list.compact .order-summary-row .button{top:5px!important;right:5px!important;width:22px!important;height:22px!important}.order-summary-list.compact .order-summary-row .button:before{font-size:16px!important}.order-note-field{display:none!important}.order-message{margin:0!important}}.order-builder-compact .catalog-strip{border:1px solid #bbf7d0!important;background:#f8fffb!important}.order-product-pane .order-section-title strong:before{content:"2. Loại sản phẩm / hãng";font-size:12px}.order-product-pane .order-section-title strong{font-size:0}.order-variant-pane .order-section-title strong:before{content:"3. Vị / quy cách - tick chọn";font-size:12px}.order-variant-pane .order-section-title strong{font-size:0}.product-card-list.compact .product-card{border-radius:14px!important;padding:10px 12px!important}.product-card-list.compact .product-card strong{font-size:14px!important;line-height:1.2!important}.product-card-list.compact .product-card small,.product-card-list.compact .product-card span{font-size:12px!important;line-height:1.25!important}.variant-grid.compact .variant-chip{position:relative;border-color:#cbd5e1!important;background:#fff!important;padding-left:34px!important}.variant-grid.compact .variant-chip:before{content:"□";position:absolute;left:10px;top:50%;transform:translateY(-50%);color:#64748b;font-size:18px;font-weight:900;line-height:1}.variant-grid.compact .variant-chip.active{border-color:#22c55e!important;background:#f0fdf4!important;box-shadow:0 0 0 3px rgba(34,197,94,.14)!important}.variant-grid.compact .variant-chip.active:before{content:"☑";color:#16a34a}.variant-grid.compact .variant-chip strong{color:#0f172a}@media (max-width:640px){.order-builder-compact{grid-template-rows:auto auto minmax(0,1fr) auto auto!important}.order-builder-compact .catalog-strip{display:flex!important;flex-wrap:nowrap!important;max-height:42px!important;min-height:42px!important;gap:6px!important;overflow-x:auto!important;overflow-y:hidden!important;padding:6px!important}.order-builder-compact .catalog-strip:before{display:none!important}.order-builder-compact .catalog-chip{min-height:30px!important;padding:5px 10px!important;font-size:12px!important}.order-main-grid{grid-template-rows:minmax(0,1fr) auto!important;gap:7px!important}.product-card-list.compact .product-card{min-height:64px!important;padding:9px 11px!important}.product-card-list.compact .product-card strong{font-size:13px!important;white-space:normal!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.product-card-list.compact .product-card small,.product-card-list.compact .product-card span{font-size:11px!important;white-space:nowrap!important}.variant-grid.compact{min-height:74px!important;max-height:74px!important}.variant-grid.compact .variant-chip{flex-basis:164px!important;min-width:164px!important;min-height:66px!important;padding:8px 8px 8px 32px!important}.variant-grid.compact .variant-chip strong{font-size:12.5px!important;white-space:normal!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.variant-grid.compact .variant-chip span{font-size:10.5px!important}.order-edit-grid.compact{min-height:55px!important;border-color:#bfdbfe!important;background:#eff6ff!important}.mcp-order-picker-body{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr) 94px!important;gap:6px!important;padding:7px!important}.mcp-order-picker-panel .product-card-list.compact{gap:5px!important}.mcp-order-picker-panel .product-card{min-height:46px!important;border-radius:12px!important;padding:7px 42px 7px 9px!important}.mcp-order-picker-panel .product-card strong{font-size:12.5px!important;line-height:1.18!important}.mcp-order-picker-panel .product-card small,.mcp-order-picker-panel .product-card span{font-size:10px!important;line-height:1.15!important}.mcp-picker-variants{min-height:0!important}.mcp-picker-variants .order-section-title{min-height:18px!important}.mcp-order-picker-panel .variant-grid.compact{display:flex!important;gap:6px!important;max-height:none!important;overflow-x:auto!important;overflow-y:hidden!important}.mcp-picker-variant{flex:0 0 178px!important;min-height:46px!important;border-radius:12px!important;padding:6px!important}.mcp-picker-variant b{font-size:12px!important}.mcp-picker-variant small{font-size:10px!important}.mcp-picker-qty button{width:25px!important;height:25px!important}.mcp-picker-qty span{min-width:24px!important}.mcp-order-picker-foot{padding:7px 8px!important}.mcp-order-picker-foot .button{min-height:38px!important;padding:7px 11px!important;font-size:12.5px!important}}.order-builder-report-style{display:grid;grid-gap:8px;gap:8px}.mcp-order-open-picker{min-height:38px;border-radius:12px;font-size:14px;font-weight:900}.order-builder-report-style .order-summary-list.report-style{display:grid;grid-gap:6px;gap:6px;max-height:44dvh;overflow:auto}.order-builder-report-style .order-summary-row{display:grid;grid-template-columns:minmax(0,1fr)60px auto 28px;grid-template-areas:"info qty total del" "price qty total del";grid-gap:3px 7px;gap:3px 7px;align-items:center;border:1px solid var(--line);border-radius:12px;background:#fff;padding:7px}.order-builder-report-style .order-summary-row div{grid-area:info;min-width:0}.order-builder-report-style .order-summary-row small,.order-builder-report-style .order-summary-row strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.order-builder-report-style .order-summary-row strong{font-size:13px;line-height:1.15}.order-builder-report-style .order-summary-row small{font-size:10.5px}.order-builder-report-style .order-summary-row label{grid-area:qty;display:grid;grid-gap:2px;gap:2px}.order-builder-report-style .order-summary-row label small{color:var(--muted);font-size:9px;font-weight:800}.order-builder-report-style .order-summary-row input{width:100%;min-height:30px;border:1px solid var(--line);border-radius:9px;padding:4px 6px;font-size:13px}.order-builder-report-style .order-summary-row span{grid-area:price;color:var(--muted);font-size:10.5px;white-space:nowrap}.order-builder-report-style .order-summary-row b{grid-area:total;font-size:12.5px;white-space:nowrap}.order-builder-report-style .order-summary-row .button{grid-area:del;display:inline-flex;align-items:center;justify-content:center;width:27px;min-height:27px;border-color:#fecaca;border-radius:999px;background:#fef2f2;color:#dc2626;font-size:0;padding:0}.order-builder-report-style .order-summary-row .button:before{content:"×";font-size:17px;font-weight:900}.mcp-order-picker-panel{position:fixed;left:50%;bottom:calc(10px + env(safe-area-inset-bottom));z-index:95;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto auto;width:min(760px,calc(100vw - 18px));max-height:min(82dvh,720px);overflow:hidden;border:1px solid #dbeafe;border-radius:22px;background:#fff;box-shadow:0 24px 70px rgba(15,23,42,.3);transform:translateX(-50%)}.mcp-order-picker-panel:before{content:"";position:fixed;inset:-100vh -100vw;z-index:-1;background:rgba(15,23,42,.42)}.mcp-order-picker-head{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #e5e7eb;padding:10px 12px}.mcp-order-picker-head strong{font-size:18px}.mcp-order-picker-tools{display:grid;grid-gap:8px;gap:8px;border-bottom:1px solid #e5e7eb;background:#fbfdff;padding:9px 12px}.mcp-order-picker-tools .order-picker-head{display:grid;grid-template-columns:minmax(0,1fr)70px;grid-gap:8px;gap:8px;padding:0;border:0}.mcp-order-picker-tools .form-field small{display:none}.mcp-order-picker-tools input{min-height:38px}.mcp-order-picker-filters{display:flex;gap:7px;overflow-x:auto;padding-bottom:2px}.mcp-order-picker-filters button{flex:0 0 auto;min-height:32px;border:1px solid #bbf7d0;border-radius:999px;background:#f0fdf4;color:#166534;font-size:12px;font-weight:900;padding:5px 11px}.mcp-order-picker-filters button.active{border-color:#22c55e;background:#16a34a;color:#fff}.mcp-order-picker-body{display:grid;grid-template-columns:minmax(0,1fr);grid-gap:8px;gap:8px;min-height:0;overflow:hidden;padding:9px 12px}.mcp-order-picker-body.inline-product-picker{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr)!important}.mcp-picker-products{display:grid;grid-template-rows:auto minmax(0,1fr);grid-gap:7px;gap:7px;min-height:0}.mcp-order-picker-panel .order-section-title{display:flex;align-items:center;justify-content:space-between;min-height:22px;color:#0f172a;font-size:12px}.mcp-order-picker-panel .product-card-list.compact{display:grid;grid-template-columns:minmax(0,1fr);grid-gap:6px;gap:6px;max-height:none!important;overflow:auto!important}.mcp-picker-product-row{display:grid;grid-gap:6px;gap:6px}.mcp-order-picker-panel .product-card{position:relative;width:100%;min-height:50px;border:1px solid #e5e7eb;border-radius:13px;background:#fff;padding:8px 88px 8px 10px;text-align:left}.mcp-order-picker-panel .product-card:after{display:none!important}.mcp-order-picker-panel .product-card.active{border-color:#7057ff;background:#eef2ff;box-shadow:0 0 0 2px rgba(112,87,255,.12)}.mcp-order-picker-panel .product-card.selected{border-color:#22c55e;background:#f0fdf4;box-shadow:0 0 0 2px rgba(34,197,94,.12)}.mcp-order-picker-panel .product-card strong{display:block;overflow:hidden;color:#0f172a;font-size:13px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.mcp-order-picker-panel .product-card small,.mcp-order-picker-panel .product-card span{display:block;overflow:hidden;color:var(--muted);font-size:10.5px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.mcp-picker-product-badge{position:absolute;right:9px;top:50%;display:inline-flex;align-items:center;justify-content:center;max-width:76px;min-height:24px;border-radius:999px;background:linear-gradient(135deg,#7057ff,#10b5d8);color:#fff;font-size:10.5px;font-style:normal;font-weight:900;line-height:1;padding:4px 8px;transform:translateY(-50%)}.product-card.selected .mcp-picker-product-badge{background:#16a34a}.mcp-picker-inline-variants{display:grid;grid-gap:6px;gap:6px;border:1px solid #bbf7d0;border-radius:14px;background:#f8fffb;padding:7px 8px}.mcp-picker-inline-variants .variant-grid.compact{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));grid-gap:6px;gap:6px;max-height:150px!important;overflow:auto!important}.mcp-picker-variant{display:grid;grid-template-columns:minmax(0,1fr)auto;grid-gap:7px;gap:7px;align-items:center;border:1px solid #e5e7eb;border-radius:12px;background:#fff;padding:6px}.mcp-picker-variant.selected{border-color:#22c55e;background:#f0fdf4}.mcp-picker-variant>button{min-width:0;border:0;background:transparent;color:var(--text);text-align:left}.mcp-picker-variant b,.mcp-picker-variant small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mcp-picker-variant b{font-size:12px}.mcp-picker-variant small{color:var(--muted);font-size:10px}.mcp-picker-qty{display:flex;align-items:center;overflow:hidden;border:1px solid #cbd5e1;border-radius:11px;background:#fff}.mcp-picker-qty button{width:25px;height:25px;border:0;background:#f8fafc;color:#2563eb;font-weight:950}.mcp-picker-qty span{min-width:24px;text-align:center;font-weight:900}.mcp-picker-selected-strip{display:flex;gap:6px;overflow-x:auto;border-top:1px solid #e5e7eb;background:#fff;padding:6px 10px;min-height:38px}.mcp-picker-selected-strip small{color:var(--muted);font-size:12px;font-weight:800}.mcp-picker-selected-strip span{flex:0 0 auto;display:inline-flex;align-items:center;gap:5px;max-width:210px;overflow:hidden;border:1px solid #dbeafe;border-radius:999px;background:#eff6ff;color:#1e3a8a;font-size:10.5px;font-weight:800;padding:4px 7px;white-space:nowrap;text-overflow:ellipsis}.mcp-picker-selected-strip button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:19px;height:19px;border:0;border-radius:999px;background:#fee2e2;color:#dc2626;font-size:14px;font-weight:950}.mcp-order-picker-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #e5e7eb;background:#fff;padding:9px 12px}.mcp-order-picker-foot span{color:var(--muted);font-weight:850}@media(max-width:640px){.bottom-sheet:has(.order-action-content){align-items:stretch!important;padding:4px!important}.bottom-sheet:has(.order-action-content) .bottom-sheet-panel,.bottom-sheet:has(.order-action-content) .sheet-panel{width:100vw!important;max-width:100vw!important;height:calc(100dvh - 8px)!important;max-height:calc(100dvh - 8px)!important;border-radius:18px 18px 0 0!important}.bottom-sheet:has(.order-action-content) .sheet-body{overflow:hidden!important;padding:8px 10px!important}.bottom-sheet:has(.order-action-content) .sheet-header{padding:12px 14px 8px!important}.bottom-sheet:has(.order-action-content) .sheet-footer{padding:8px 10px calc(8px + env(safe-area-inset-bottom))!important}.order-action-content{min-height:0!important}.order-action-content .visit-focus-card{padding:8px 10px!important;border-radius:13px!important}.order-builder-report-style{grid-template-rows:auto minmax(0,1fr) auto auto!important;min-height:calc(100dvh - 260px)!important;gap:7px!important}.mcp-order-open-picker{min-height:38px!important;border-radius:12px!important;font-size:14px!important}.order-builder-report-style .order-summary-list.report-style{max-height:none!important;min-height:0!important;overflow:auto!important;gap:5px!important}.order-builder-report-style .order-summary-row{grid-template-columns:minmax(0,1fr)56px 30px!important;grid-template-areas:"info qty del" "price total del"!important;gap:3px 6px!important;padding:6px 7px!important;border-radius:12px!important}.order-builder-report-style .order-summary-row strong{font-size:12.5px!important}.order-builder-report-style .order-summary-row small{font-size:10px!important}.order-builder-report-style .order-summary-row input{min-height:28px!important;font-size:13px!important}.order-builder-report-style .order-summary-row span{font-size:10px!important}.order-builder-report-style .order-summary-row b{font-size:12px!important}.order-builder-report-style .order-summary-row .button{width:26px!important;min-height:26px!important}.order-note-field textarea{min-height:44px!important;max-height:54px!important}.order-total-row{min-height:42px!important;padding:8px 10px!important;border-radius:12px!important}.mcp-order-picker-panel{top:calc(8px + env(safe-area-inset-top));bottom:calc(8px + env(safe-area-inset-bottom));width:calc(100vw - 14px);max-height:none;border-radius:18px}.mcp-order-picker-head{padding:8px 10px}.mcp-order-picker-head strong{font-size:17px}.mcp-order-picker-tools{padding:7px 8px}.mcp-order-picker-tools .order-picker-head{grid-template-columns:minmax(0,1fr)60px}.mcp-order-picker-tools input{min-height:34px;font-size:14px}.mcp-order-picker-filters{gap:5px}.mcp-order-picker-filters button{min-height:28px;padding:4px 9px;font-size:11px}.mcp-order-picker-body{display:block!important;overflow:auto!important;padding:7px!important}.mcp-picker-products{display:grid!important;grid-template-rows:auto minmax(0,1fr);height:100%;grid-gap:6px;gap:6px}.mcp-order-picker-panel .product-card-list.compact{gap:5px}.mcp-order-picker-panel .product-card{min-height:46px;border-radius:12px;padding:7px 82px 7px 9px}.mcp-order-picker-panel .product-card strong{font-size:12.5px}.mcp-order-picker-panel .product-card small,.mcp-order-picker-panel .product-card span{font-size:10px}.mcp-picker-product-badge{right:7px;max-width:72px;min-height:23px;font-size:10px;padding:3px 7px}.mcp-picker-inline-variants{padding:6px}.mcp-picker-inline-variants .variant-grid.compact{display:flex!important;gap:6px;max-height:72px!important;overflow-x:auto!important;overflow-y:hidden!important}.mcp-picker-inline-variants .mcp-picker-variant{flex:0 0 180px!important;min-height:48px!important}.mcp-picker-selected-strip{padding:5px 8px;min-height:34px}.mcp-picker-selected-strip span{max-width:150px;font-size:10px}.mcp-order-picker-foot{padding:7px 8px}.mcp-order-picker-foot .button{min-height:38px;padding:7px 11px;font-size:12.5px}}.report-popup-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.85fr);grid-gap:12px;gap:12px;min-height:0}.report-field-panel,.report-quick-panel{display:grid;align-content:start;grid-gap:10px;gap:10px;min-width:0}.report-section-head{display:grid;grid-gap:2px;gap:2px}.report-section-head strong{color:var(--text);font-size:14px}.report-section-head small{color:var(--muted);line-height:1.35}.report-quick-group{display:grid;grid-gap:7px;gap:7px;border:1px solid rgba(228,231,236,.82);border-radius:14px;background:rgba(248,250,252,.78);padding:9px}.report-quick-group>strong,.report-used-product-group>span{color:var(--brand-strong);font-size:12px;font-weight:900}.report-chip-grid{display:flex;flex-wrap:wrap;gap:6px}.report-chip{display:inline-flex;align-items:center;justify-content:center;min-height:32px;border:1px solid rgba(148,163,184,.34);border-radius:999px;background:#fff;color:var(--text);cursor:pointer;font-size:12px;font-weight:850;line-height:1.15;padding:6px 10px;text-align:center;-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}.report-chip.selected,.report-chip[aria-pressed=true]{border-color:rgba(22,163,74,.42);background:#dcfce7;color:#166534;box-shadow:0 0 0 2px rgba(22,163,74,.08)}.report-chip:disabled{cursor:not-allowed;opacity:.62}.report-used-product-groups{display:grid;grid-gap:8px;gap:8px}.report-used-product-group{display:grid;grid-gap:6px;gap:6px}.report-field-grid{display:grid;grid-gap:8px;gap:8px}.report-field textarea{min-height:64px}.report-selected-summary{display:grid;grid-gap:3px;gap:3px;border:1px solid rgba(22,163,74,.22);border-radius:13px;background:#f0fdf4;color:#166534;padding:8px 10px}.report-selected-summary strong{font-size:12px;font-weight:950}.report-selected-summary span{font-size:12px;line-height:1.35}@media (max-width:720px){.report-popup-grid{grid-template-columns:minmax(0,1fr)}.report-chip-grid{flex-wrap:nowrap;overflow-x:auto;padding-bottom:2px;-webkit-overflow-scrolling:touch}.report-chip{flex:0 0 auto}}.mcp-sessions-page .page-header{margin-bottom:14px}.mcp-session-filter{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) auto;align-items:end;grid-gap:8px;gap:8px;margin-bottom:12px;padding:10px;border-radius:16px}.mcp-session-filter .form-field{gap:4px}.mcp-session-filter .form-field small{font-size:11px}.mcp-session-filter .form-field input,.mcp-session-filter .form-field select{min-height:36px;border-radius:11px;padding:7px 10px}.mcp-session-filter .button{min-height:36px;padding:7px 12px;border-radius:11px;white-space:nowrap}.mcp-session-kpis{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:12px}.mcp-session-kpis .card{min-height:74px;border-radius:14px;padding:10px 12px}.mcp-session-kpis .card-label{font-size:11.5px;margin-bottom:4px}.mcp-session-kpis .card-value{font-size:22px;line-height:1}.mcp-session-kpis .card-hint{font-size:11.5px;margin-top:6px;line-height:1.25}.mcp-session-list{gap:10px}@media (max-width:980px){.mcp-session-filter{grid-template-columns:repeat(2,minmax(0,1fr))}.mcp-session-filter .button{grid-column:1/-1}.mcp-session-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:640px){.mcp-sessions-page .page-title{font-size:24px}.mcp-sessions-page .page-subtitle{font-size:13px;line-height:1.45}.mcp-session-filter{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:9px}.mcp-session-filter .button,.mcp-session-filter .form-field input,.mcp-session-filter .form-field select{min-height:34px;font-size:14px}.mcp-session-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.mcp-session-kpis .card{min-height:66px;padding:9px 11px}.mcp-session-kpis .card-value{font-size:21px}}.mcp-session-filter{gap:7px;margin-bottom:10px;padding:9px;border-radius:15px}.mcp-session-filter .form-field{gap:3px}.mcp-session-filter .form-field small{font-size:10.5px}.mcp-session-filter .form-field input,.mcp-session-filter .form-field select{min-height:34px;border-radius:10px;padding:6px 9px;font-size:14px}.mcp-session-filter .button{min-height:34px;padding:6px 12px;border-radius:10px}.mcp-sessions-page .mcp-session-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-gap:6px;gap:6px;margin-bottom:10px}.mcp-sessions-page .mcp-session-kpis .card{min-width:0;min-height:54px;border-radius:12px;padding:7px 6px 6px 8px;border-left-width:4px}.mcp-sessions-page .mcp-session-kpis .card:first-child{background:linear-gradient(135deg,#fff,#eff6ff);border-color:#bfdbfe #bfdbfe #bfdbfe #38bdf8}.mcp-sessions-page .mcp-session-kpis .card:nth-child(2){background:linear-gradient(135deg,#fff,#ecfeff);border-color:#a5f3fc #a5f3fc #a5f3fc #06b6d4}.mcp-sessions-page .mcp-session-kpis .card:nth-child(3){background:linear-gradient(135deg,#fff,#f0fdf4);border-color:#bbf7d0 #bbf7d0 #bbf7d0 #22c55e}.mcp-sessions-page .mcp-session-kpis .card:nth-child(4){background:linear-gradient(135deg,#fff,#fff7ed);border-color:#fed7aa #fed7aa #fed7aa #f97316}.mcp-sessions-page .mcp-session-kpis .card:nth-child(5){background:linear-gradient(135deg,#fff,#fef2f2);border-color:#fecaca #fecaca #fecaca #ef4444}.mcp-sessions-page .mcp-session-kpis .card-label{font-size:9.5px;line-height:1.1;margin-bottom:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mcp-sessions-page .mcp-session-kpis .card-value{font-size:17px;line-height:1;white-space:nowrap}.mcp-sessions-page .mcp-session-kpis .card-hint{font-size:9px;margin-top:4px;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}@media(max-width:640px){.mcp-session-filter{gap:6px;padding:8px;margin-bottom:9px}.mcp-session-filter .button,.mcp-session-filter .form-field input,.mcp-session-filter .form-field select{min-height:32px}.mcp-sessions-page .mcp-session-kpis{grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}.mcp-sessions-page .mcp-session-kpis .card{min-height:48px;padding:6px 4px 5px 6px;border-radius:10px}.mcp-sessions-page .mcp-session-kpis .card-label{font-size:8.5px}.mcp-sessions-page .mcp-session-kpis .card-value{font-size:14.5px}.mcp-sessions-page .mcp-session-kpis .card-hint{display:none}}@media(max-width:360px){.mcp-sessions-page .mcp-session-kpis{gap:4px}.mcp-sessions-page .mcp-session-kpis .card{min-height:44px;padding:5px 3px}.mcp-sessions-page .mcp-session-kpis .card-label{font-size:8px}.mcp-sessions-page .mcp-session-kpis .card-value{font-size:13.5px}}.mcp-gate-banner,.mcp-session-compact-head{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid var(--line);border-radius:14px;background:var(--panel);box-shadow:0 1px 2px rgba(16,24,40,.04);margin-bottom:10px;padding:10px 12px}.mcp-gate-banner strong,.mcp-session-compact-head strong{font-size:15px}.mcp-gate-banner span,.mcp-session-compact-head span{color:var(--muted);font-size:12px;line-height:1.35;text-align:right}.mcp-status-chips{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 10px}.mcp-status-chips button{display:inline-flex;align-items:center;gap:5px;min-height:30px;border:1px solid var(--line);border-radius:999px;background:var(--panel);color:var(--muted);cursor:pointer;font-size:12px;font-weight:800;padding:5px 9px}.mcp-status-chips button.active{border-color:rgba(37,99,235,.28);background:var(--brand-soft);color:var(--brand-strong)}.mcp-status-chips b{color:inherit}.mcp-line-list{display:grid;grid-gap:8px;gap:8px}.filter-bar{gap:10px;margin-bottom:12px;padding:10px 12px}.filter-bar .form-field input,.filter-bar .form-field select{min-height:34px;padding:7px 9px}.grid.cards{gap:10px;margin-bottom:12px}.grid.cards .card{border-radius:14px;padding:12px}.grid.cards .card-label{font-size:12px;margin-bottom:4px}.grid.cards .card-value{font-size:22px}.grid.cards .card-hint{font-size:12px;line-height:1.35;margin-top:5px}@media (max-width:640px){.mcp-gate-banner,.mcp-session-compact-head{display:grid}.mcp-gate-banner span,.mcp-session-compact-head span{text-align:left}}