*{box-sizing:border-box}:root{--mw-color-text:#111827;--mw-color-muted:#64748b;--mw-color-bg:#f3f6f8;--mw-color-surface:#fff;--mw-color-soft:#f8fafc;--mw-color-border:#e3e8ef;--mw-color-border-soft:#eef2f6;--mw-color-primary:#0f766e;--mw-color-primary-hover:#0d9488;--mw-color-primary-soft:#e7f5f2;--mw-color-primary-border:#99d8cf;--mw-color-sider:#001529;--mw-color-sider-deep:#000c17;--mw-color-sider-selected:#1677ff;--mw-radius:6px;--mw-radius-panel:8px;--mw-shadow-subtle:0 1px 2px #0f172a0f;--mw-shadow-panel:0 12px 32px #0f172a12}html,body,#root{min-width:0;min-height:100%;margin:0}body{color:var(--mw-color-text);background:var(--mw-color-bg);font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif}.centered-screen{justify-content:center;align-items:center;min-height:100vh;display:flex}.auth-layout{background:#eef2f7;min-height:100vh}.login-page{background:linear-gradient(135deg,#0f766e0f,#0000 36%),linear-gradient(315deg,#2563eb12,#0000 34%),#eef2f7;justify-content:center;align-items:center;min-height:100vh;padding:32px;display:flex}.login-shell{background:var(--mw-color-surface);border:1px solid #e2e8f0e0;border-radius:12px;grid-template-columns:minmax(320px,460px) minmax(420px,1fr);width:min(1040px,100%);min-height:640px;display:grid;overflow:hidden;box-shadow:0 24px 70px #0f172a24}.login-visual-panel{color:#fff;background:linear-gradient(160deg,#0f766eeb,#0f172af5),#0f766e;flex-direction:column;justify-content:space-between;min-width:0;padding:42px;display:flex}.login-visual-copy{max-width:360px}.login-eyebrow{color:var(--mw-color-primary);letter-spacing:0;font-size:12px;font-weight:700}.login-visual-panel .login-eyebrow{color:#99f6e4}.login-visual-copy h1{color:#fff;margin:14px 0 10px;font-size:34px;line-height:1.16}.login-visual-copy .ant-typography{color:#e2e8f0e0;font-size:15px}.login-assurance-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.login-assurance-grid div{background:#ffffff14;border:1px solid #ffffff29;border-radius:8px;min-width:0;padding:12px}.login-assurance-grid span,.login-assurance-grid strong{display:block}.login-assurance-grid span{color:#e2e8f0b8;font-size:12px}.login-assurance-grid strong{color:#fff;text-overflow:ellipsis;white-space:nowrap;margin-top:4px;font-size:15px;overflow:hidden}.login-card{width:100%;box-shadow:none;border:0;border-radius:0}.login-card .ant-card-body{flex-direction:column;min-height:640px;padding:42px 44px 28px;display:flex}.login-heading{flex-direction:column;align-items:flex-start;margin-bottom:20px;display:flex}.login-heading h2{margin:6px 0 4px;font-size:28px;line-height:1.2}.login-brand{margin-bottom:22px}.login-error{margin-bottom:16px}.login-tabs .ant-tabs-nav{margin-bottom:20px}.login-tabs .ant-tabs-tab{padding-top:10px;padding-bottom:10px}.login-tabs .ant-tabs-tab-btn span{align-items:center;gap:6px;display:inline-flex}.login-form .ant-form-item{margin-bottom:16px}.login-form .ant-input-affix-wrapper,.login-form .ant-input,.login-form .ant-btn{min-height:40px}.login-code-button{min-width:112px}.login-qr-panel{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:16px;min-height:356px;padding:16px 0 4px;display:flex}.login-qr-frame{border:1px solid var(--mw-color-border);width:220px;height:220px;box-shadow:var(--mw-shadow-subtle);background:#fff;border-radius:12px;place-items:center;display:grid}.login-qr-copy{flex-direction:column;gap:4px;max-width:300px;display:flex}.login-qr-actions{justify-content:center}.login-footer-note{border-top:1px solid var(--mw-color-border-soft);text-align:center;margin-top:auto;padding-top:18px}@media (width<=920px){.login-page{padding:20px}.login-shell{grid-template-columns:1fr;min-height:0}.login-visual-panel{gap:24px;padding:28px}.login-visual-copy h1{font-size:28px}.login-card .ant-card-body{min-height:0;padding:30px 28px 24px}}@media (width<=560px){.login-page{padding:12px}.login-shell{border-radius:10px}.login-visual-panel{padding:22px}.login-assurance-grid{grid-template-columns:1fr}.login-heading h2{font-size:24px}.login-card .ant-card-body{padding:24px 18px 20px}.login-tabs .ant-tabs-tab{margin:0 10px 0 0}.login-code-button{min-width:98px;padding-left:10px;padding-right:10px}.login-qr-frame{width:200px;height:200px}}.admin-shell{background:var(--mw-color-bg);min-height:100vh}.admin-sider{background:var(--mw-color-sider);border-right:1px solid #ffffff14;height:100vh;position:sticky;top:0;overflow:auto}.admin-sider--light{border-right:1px solid var(--mw-color-border);background:#fff}.admin-sider .ant-layout-sider-children{flex-direction:column;display:flex}.admin-sider .ant-menu{background:0 0;border-inline-end:0;flex:1;padding:8px}.admin-sider--light .ant-menu-light{background:#fff}.admin-sider .ant-menu-dark .ant-menu-item,.admin-sider .ant-menu-dark .ant-menu-submenu-title,.admin-sider .ant-menu-light .ant-menu-item,.admin-sider .ant-menu-light .ant-menu-submenu-title{border-radius:var(--mw-radius);width:auto;margin-inline:0}.admin-sider .ant-menu-dark .ant-menu-item-selected{background:var(--mw-color-sider-selected);box-shadow:none;font-weight:600}.admin-sider .ant-menu-light .ant-menu-item-selected{background:var(--mw-color-primary-soft);color:var(--mw-color-primary);font-weight:600}.admin-shell--menu-selection-block .admin-sider .ant-menu .ant-menu-item-selected{border-radius:var(--mw-radius)}.admin-shell--menu-selection-line .admin-sider .ant-menu .ant-menu-item,.admin-shell--menu-selection-line .admin-sider .ant-menu .ant-menu-submenu-title{position:relative;overflow:hidden}.admin-shell--menu-selection-line .admin-sider .ant-menu .ant-menu-item-selected{border-radius:var(--mw-radius);box-shadow:none;background:0 0}.admin-shell--menu-selection-line .admin-sider--dark .ant-menu-dark .ant-menu-item-selected{background:#ffffff14}.admin-shell--menu-selection-line .admin-sider--light .ant-menu-light .ant-menu-item-selected{background:var(--mw-color-soft)}.admin-shell--menu-selection-line .admin-sider .ant-menu .ant-menu-item-selected:before{background:var(--mw-color-primary);content:"";border-radius:0 3px 3px 0;width:3px;position:absolute;top:8px;bottom:8px;left:0}.admin-shell--menu-selection-rounded .admin-sider .ant-menu .ant-menu-item,.admin-shell--menu-selection-rounded .admin-sider .ant-menu .ant-menu-submenu-title{border-radius:999px;width:calc(100% - 8px);margin-inline:4px}.admin-shell--menu-selection-rounded .admin-sider .ant-menu .ant-menu-item-selected{box-shadow:none;border-radius:999px}.admin-shell--menu-selection-rounded .admin-sider--dark .ant-menu-dark .ant-menu-item-selected{background:var(--mw-color-primary)}.admin-shell--menu-selection-rounded .admin-sider--light .ant-menu-light .ant-menu-item-selected{background:var(--mw-color-primary-soft);color:var(--mw-color-primary)}.brand{background:var(--mw-color-sider-deep);color:#fff;border-bottom:1px solid #ffffff14;align-items:center;gap:10px;height:60px;padding:0 16px;display:flex}.admin-sider--light .brand{border-bottom-color:var(--mw-color-border-soft);color:var(--mw-color-text);background:#fff}.brand-logo{align-items:center;gap:10px;min-width:0;display:inline-flex}.brand-logo-mark{flex:none;width:30px;height:30px;display:block}.brand-logo-copy{flex-direction:column;gap:2px;min-width:0;line-height:1.1;display:flex}.brand-logo-name{color:#0f172a;font-size:15px;font-weight:600}.brand-logo-subtitle{color:#64748b;text-transform:uppercase;font-size:11px;font-weight:700}.brand-logo--dark .brand-logo-name{color:#fff}.brand-logo--dark .brand-logo-subtitle{color:#cbd5e1}.brand-logo--large{gap:12px}.brand-logo--large .brand-logo-mark{width:44px;height:44px}.brand-logo--large .brand-logo-name{font-size:22px;font-weight:700}.brand-logo--collapsed{justify-content:center}.admin-header{z-index:10;border-bottom:1px solid var(--mw-color-border);height:60px;box-shadow:var(--mw-shadow-subtle);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffffeb;justify-content:space-between;align-items:center;padding:0 24px;display:flex;position:sticky;top:0}.global-search{width:320px}.global-search.ant-input-affix-wrapper,.global-search .ant-input-affix-wrapper{background:var(--mw-color-soft)}.report-download-center-drawer .ant-drawer-body{padding:16px}.report-download-center-summary{margin-bottom:12px}.appearance-settings{flex-direction:column;gap:4px;display:flex}.appearance-settings-section{flex-direction:column;gap:12px;display:flex}.appearance-menu-theme-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.appearance-menu-theme-option{border:1px solid var(--mw-color-border);min-width:0;height:72px;color:var(--mw-color-primary);cursor:pointer;background:#fff;border-radius:8px;justify-content:stretch;align-items:stretch;padding:0;display:flex;position:relative}.appearance-menu-theme-option.is-selected{border-color:var(--mw-color-primary);box-shadow:0 0 0 2px var(--mw-color-primary-soft)}.appearance-menu-theme-option>.anticon{font-size:12px;position:absolute;top:8px;right:8px}.appearance-menu-preview{border-radius:7px;grid-template-columns:28px 1fr;gap:8px;width:100%;padding:10px;display:grid}.appearance-menu-preview:before{content:"";border-radius:5px;grid-row:1/4;display:block}.appearance-menu-preview i{border-radius:4px;height:8px;display:block}.appearance-menu-preview--light{background:#f8fafc}.appearance-menu-preview--light:before,.appearance-menu-preview--light i{background:#fff;border:1px solid #e5e7eb}.appearance-menu-preview--light i:first-child{background:var(--mw-color-primary-soft);border-color:var(--mw-color-primary-border)}.appearance-menu-preview--dark{background:#f8fafc}.appearance-menu-preview--dark:before{background:#001529}.appearance-menu-preview--dark i{background:#cbd5e1}.appearance-menu-preview--dark i:first-child{background:var(--mw-color-primary)}.appearance-color-grid{grid-template-columns:repeat(5,28px);gap:10px;display:grid}.appearance-color-swatch{color:#fff;cursor:pointer;border:1px solid #0f172a1f;border-radius:6px;place-items:center;width:28px;height:28px;display:grid}.appearance-color-swatch .anticon{filter:drop-shadow(0 1px 1px #0f172a4d);font-size:13px}.menu-label-with-badge{justify-content:space-between;align-items:center;gap:8px;width:100%;min-width:0;display:inline-flex}.menu-label-with-badge>span:first-child{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.user-menu{cursor:pointer;min-width:0}.account-profile-hero{align-items:flex-start;gap:16px;padding:4px 0 20px;display:flex}.account-profile-main{flex:1;min-width:0}.account-profile-main .ant-typography{margin:0}.account-role-list{flex-wrap:wrap;gap:6px;margin-top:10px;display:flex}.account-profile-content{width:100%}.account-activity{flex-direction:column;gap:12px;display:flex}.account-activity-toolbar{justify-content:space-between;align-items:center;gap:12px;display:flex}.account-activity .ant-list-item{padding-inline:0}.account-password-form{padding-top:8px}.employee-detail{flex-direction:column;gap:20px;display:flex}.employee-detail-hero{align-items:flex-start;gap:16px;padding-bottom:4px;display:flex}.employee-detail-main{flex:1;min-width:0}.employee-detail-main .ant-typography{margin:0}.employee-detail-tags{flex-wrap:wrap;gap:6px;margin-top:10px;display:flex}.employee-detail-section{flex-direction:column;gap:10px;min-width:0;display:flex}.employee-detail-skill-list{flex-wrap:wrap;align-items:center;gap:6px;min-height:28px;display:flex}.employee-detail-paragraph{white-space:pre-wrap;margin:0}.employee-editor-modal .ant-modal-body{max-height:min(68vh,680px);padding-top:8px;overflow-y:auto}.employee-editor-tabs .ant-tabs-nav{margin-bottom:20px}.employee-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px;display:grid}.employee-form-field--wide{grid-column:1/-1}.employee-form-stack{flex-direction:column;display:flex}@media (width<=760px){.employee-form-grid{grid-template-columns:1fr}.employee-form-field--wide{grid-column:auto}}.admin-content{min-width:0;padding:24px}@media (width<=900px){.admin-header{flex-wrap:wrap;gap:8px;height:auto;min-height:56px;padding:10px 12px}.admin-header>.ant-space:first-child{flex:240px;min-width:0}.global-search{width:min(320px,100vw - 340px);min-width:180px}.admin-content{padding:12px}}.page-stack{flex-direction:column;gap:20px;width:100%;max-width:none;margin:0;display:flex}.page-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px 24px;padding:4px 2px 0;display:flex}.page-header>div:first-child{min-width:0}.page-header>.ant-space{flex-wrap:wrap;justify-content:flex-end}.page-header h3,.panel-title h5{margin:0}.metric-card,.panel{border:1px solid var(--mw-color-border);border-radius:var(--mw-radius-panel);background:var(--mw-color-surface);box-shadow:var(--mw-shadow-subtle)}.metric-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;display:grid}.metric-card{flex-direction:column;justify-content:space-between;gap:14px;min-width:0;min-height:118px;padding:20px;transition:border-color .2s,box-shadow .2s,transform .2s;display:flex;position:relative;overflow:hidden}.metric-card:hover{border-color:var(--metric-card-accent,var(--mw-color-primary));box-shadow:var(--mw-shadow-panel);transform:translateY(-1px)}.metric-card-main{justify-content:space-between;align-items:flex-start;gap:12px;min-width:0;display:flex}.metric-card-content{min-width:0}.metric-card-icon{background:var(--metric-card-soft,var(--mw-color-primary-soft));width:36px;height:36px;color:var(--metric-card-accent,var(--mw-color-primary));border-radius:8px;flex:none;place-items:center;font-size:18px;display:grid}.metric-card-footer,.metric-card .ant-statistic-title{color:var(--mw-color-muted);font-size:13px}.metric-card .ant-statistic-content{color:var(--mw-color-text);font-weight:650}.metric-card>.ant-typography{margin:0}.metric-card--primary{--metric-card-accent:var(--mw-color-primary);--metric-card-soft:var(--mw-color-primary-soft)}.metric-card--blue{--metric-card-accent:#2563eb;--metric-card-soft:#eff6ff}.metric-card--green{--metric-card-accent:#16a34a;--metric-card-soft:#f0fdf4}.metric-card--orange{--metric-card-accent:#d97706;--metric-card-soft:#fff7ed}.metric-card--red{--metric-card-accent:#dc2626;--metric-card-soft:#fef2f2}.metric-card--purple{--metric-card-accent:#7c3aed;--metric-card-soft:#f5f3ff}.admin-shell--card-font-prominent .metric-card{padding:22px}.admin-shell--card-font-prominent .metric-card .ant-statistic-title{color:#475569;font-size:13px;font-weight:600}.admin-shell--card-font-prominent .metric-card .ant-statistic-content{font-size:26px;font-weight:700}.admin-shell--card-font-compact .metric-grid{gap:12px}.admin-shell--card-font-compact .metric-card{padding:16px}.admin-shell--card-font-compact .metric-card .ant-statistic-title{font-size:12px}.admin-shell--card-font-compact .metric-card .ant-statistic-content{font-size:20px;font-weight:600}.panel{padding:18px}.panel-title{border-bottom:1px solid var(--mw-color-border-soft);margin-bottom:16px;padding-bottom:12px}.panel .ant-table-wrapper{min-width:0}.panel .ant-table{color:#334155}.panel .ant-table-thead>tr>th{border-bottom-color:var(--mw-color-border);font-weight:600}.panel .ant-table-tbody>tr>td{border-bottom-color:var(--mw-color-border-soft)}.order-table .ant-table-cell{vertical-align:top}.order-table .ant-table-cell-fix-left,.order-table .ant-table-cell-fix-right{background:#fff}.order-table .ant-table-thead .ant-table-cell-fix-left,.order-table .ant-table-thead .ant-table-cell-fix-right{background:#f8fafc}.receipt-table .receipt-order-column{padding-right:28px}.receipt-table .receipt-customer-column{border-left:1px solid #f1f5f9;padding-left:22px}.receipt-order-link{text-overflow:ellipsis;white-space:nowrap;max-width:100%;display:block;overflow:hidden}.order-table-main-cell,.order-table-customer-cell,.order-table-follow-up-cell,.order-table-review-cell{flex-direction:column;gap:2px;min-width:0;display:flex}.order-table-code{word-break:break-all;max-width:100%}.order-table-lines{flex-wrap:wrap;gap:6px;min-width:0;display:flex}.order-table-line-tag.ant-tag{overflow-wrap:anywhere;white-space:normal;max-width:100%;margin-inline-end:0}.order-table-actions{flex-wrap:wrap;gap:8px;min-width:0;display:flex}.panel-empty{place-items:center;min-height:360px;display:grid}.data-placeholder-panel{text-align:center}.data-placeholder-tags{flex-wrap:wrap;justify-content:center;gap:8px;max-width:680px;display:flex}.data-placeholder-tags .ant-tag{margin-inline-end:0}.report-chart{min-width:0;min-height:260px}.report-chart-empty{place-items:center;min-height:260px;display:grid}.report-detail-collapse{background:0 0}.report-detail-collapse .ant-collapse-item{border-radius:var(--mw-radius);background:var(--mw-color-soft)}.report-detail-collapse .ant-collapse-content{background:#fff}.report-overview-risk-list,.report-overview-reminders{flex-direction:column;gap:10px;display:flex}.report-overview-risk-item,.report-overview-reminder{border:1px solid var(--mw-color-border-soft);border-radius:var(--mw-radius);width:100%;color:var(--mw-color-text);text-align:left;cursor:pointer;background:#fff;justify-content:space-between;align-items:center;gap:12px;padding:12px;transition:border-color .2s,box-shadow .2s,transform .2s;display:flex}.report-overview-risk-item:hover,.report-overview-reminder:hover{border-color:var(--mw-color-primary-border);box-shadow:var(--mw-shadow-subtle);transform:translateY(-1px)}.report-overview-risk-item>span{background:var(--mw-color-primary-soft);width:34px;height:34px;color:var(--mw-color-primary);border-radius:8px;flex:none;place-items:center;display:grid}.report-overview-risk-item--danger>span{color:#d97706;background:#fff7ed}.report-overview-risk-item>div{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.report-overview-risk-item strong{color:var(--mw-color-text);font-size:18px}.report-overview-risk-item small{color:var(--mw-color-muted)}.report-overview-progress{align-items:center;gap:18px;display:flex}.report-overview-progress>div:last-child{flex-direction:column;gap:6px;min-width:0;display:flex}.report-overview-progress strong{color:var(--mw-color-text);font-size:24px}.report-overview-status-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:18px;display:grid}.report-overview-status-item{border-radius:var(--mw-radius);background:var(--mw-color-soft);justify-content:space-between;align-items:center;gap:8px;padding:10px;display:flex}.report-overview-shortcuts{flex-wrap:wrap;gap:10px;display:flex}.finance-report-health-list,.customer-report-health-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.finance-report-health-item,.customer-report-health-item{border:1px solid var(--mw-color-border-soft);border-radius:var(--mw-radius);background:var(--mw-color-soft);flex-direction:column;gap:4px;min-width:0;padding:12px;display:flex}.finance-report-health-item strong,.customer-report-health-item strong{color:var(--mw-color-text);font-size:22px;line-height:1.2}.finance-report-health-item small,.customer-report-health-item small{color:var(--mw-color-muted)}.finance-report-health-item--danger,.customer-report-health-item--danger{background:#fff7ed;border-color:#fed7aa}.finance-report-health-item--danger strong,.customer-report-health-item--danger strong{color:#c2410c}.finance-report-shortcuts,.customer-report-shortcuts{flex-wrap:wrap;gap:10px;display:flex}.quick-actions{width:100%}.quick-actions.ant-space-vertical{align-items:stretch}.quick-actions>.ant-space-item{width:100%}.cashier-source-select.ant-select{width:100%;min-width:0}.cashier-store-select.ant-select{min-width:min(260px,100%)}.quick-action-badge,.quick-action-badge .ant-btn{width:100%}.cashier-workbench{grid-template-columns:minmax(280px,340px) minmax(0,1fr);align-items:start;gap:16px;display:grid}.cashier-page{--cashier-source:var(--mw-color-primary);--cashier-source-soft:var(--mw-color-primary-soft);--cashier-order:#1677ff;--cashier-order-soft:#e6f4ff;--cashier-pay:#0f766e;--cashier-pay-soft:#e7f5f2;--cashier-warn:#d97706;--cashier-warn-soft:#fff7ed}.cashier-page-header{border:1px solid var(--mw-color-border);border-radius:var(--mw-radius-panel);background:var(--mw-color-surface);box-shadow:var(--mw-shadow-subtle);padding:16px 20px;position:relative;overflow:hidden}.cashier-page-header h3{color:var(--mw-color-text)}.cashier-context-panel,.cashier-order-panel,.cashier-payment-panel{min-width:0;transition:border-color .2s,box-shadow .2s;position:relative}.cashier-context-panel,.cashier-order-panel{border-color:var(--mw-color-border);background:var(--mw-color-surface)}.cashier-context-panel:hover,.cashier-order-panel:hover{box-shadow:var(--mw-shadow-subtle);border-color:#d0d7e2}.cashier-step-heading{align-items:flex-start;gap:10px;margin-bottom:16px;display:flex}.cashier-step-heading>span{background:var(--mw-color-primary-soft);width:28px;height:28px;color:var(--mw-color-primary);border-radius:6px;flex:none;place-items:center;font-size:13px;font-weight:600;display:grid}.cashier-context-panel .cashier-step-heading>span{background:var(--cashier-source-soft);color:var(--cashier-source)}.cashier-order-panel .cashier-step-heading>span{background:var(--cashier-order-soft);color:var(--cashier-order)}.cashier-payment-panel .cashier-step-heading>span{background:var(--cashier-pay-soft);color:var(--cashier-pay);box-shadow:none}.cashier-step-heading h5{margin:0 0 2px}.cashier-step-heading>div{min-width:0}.cashier-result{border-color:var(--mw-color-border);background:var(--mw-color-surface);justify-content:space-between;align-items:center;gap:16px;display:flex}.cashier-result h5{margin:4px 0 0}.cashier-flow-section{border-top:1px solid var(--mw-color-border-soft);flex-direction:column;gap:12px;margin-top:0;padding-top:16px;display:flex}.cashier-section-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.cashier-discount-input{flex:0 0 180px;width:180px}.cashier-content-picker{flex-direction:column;gap:10px;min-width:0;display:flex}.cashier-content-picker .ant-segmented{max-width:100%;overflow-x:auto}.cashier-content-filters{grid-template-columns:minmax(220px,1fr) 180px;gap:10px;display:grid}.cashier-item-grid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:8px;display:grid}.cashier-item-option{min-width:0;min-height:116px;color:inherit;cursor:pointer;font:inherit;text-align:left;box-shadow:none;background:#fff;border:1px solid #e5e7eb;border-radius:6px;flex-direction:column;align-items:flex-start;gap:5px;padding:10px 12px;transition:border-color .18s,box-shadow .18s,background .18s;display:flex}.cashier-item-option:hover{border-color:var(--cashier-order);box-shadow:var(--mw-shadow-subtle);background:#f8fbff}.cashier-item-option span{color:#475569;background:#f1f5f9;border-radius:999px;padding:2px 6px;font-size:12px}.cashier-item-option strong{-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:40px;font-size:14px;line-height:20px;display:-webkit-box;overflow:hidden}.cashier-item-option small{color:#64748b;text-overflow:ellipsis;white-space:nowrap;width:100%;font-size:12px;overflow:hidden}.cashier-item-option em{color:var(--cashier-order);margin-top:auto;font-size:15px;font-style:normal;font-weight:600}.cashier-member-card{border-top:1px solid var(--mw-color-border-soft);flex-direction:column;gap:10px;margin-top:16px;padding-top:16px;display:flex}.cashier-member-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.cashier-member-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.cashier-member-grid>div{border:1px solid var(--mw-color-border-soft);background:var(--mw-color-soft);border-radius:6px;flex-direction:column;gap:4px;min-width:0;padding:10px;display:flex}.cashier-member-grid strong{font-size:16px}.cashier-cart-panel{border-top:1px solid var(--mw-color-border-soft);flex-direction:column;gap:12px;margin-top:16px;padding-top:16px;display:flex}.cashier-cart-panel .ant-table-wrapper{min-width:0}.cashier-cart-panel .ant-table .ant-select,.cashier-cart-panel .ant-table .ant-input-number{width:100%}.cashier-asset-section{flex-direction:column;gap:10px;display:flex}.cashier-asset-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.cashier-asset-option{min-width:0;color:inherit;cursor:pointer;font:inherit;text-align:left;background:#fff;border:1px solid #e5e7eb;border-radius:6px;flex-direction:column;gap:4px;padding:10px;display:flex}.cashier-asset-option:hover{border-color:var(--cashier-source);background:#f8fafc}.cashier-asset-option:disabled{cursor:not-allowed;opacity:.62}.cashier-asset-option-selected{border-color:var(--cashier-source);background:var(--mw-color-primary-soft)}.cashier-asset-option span,.cashier-asset-option small{color:#64748b;font-size:12px}.cashier-asset-option strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.cashier-asset-list{flex-direction:column;gap:10px;display:flex}.cashier-asset-line{background:#fff;border:1px solid #eef2f7;border-radius:6px;grid-template-columns:minmax(180px,1fr) 140px 110px 40px;align-items:center;gap:8px;padding:10px;display:grid}.cashier-asset-line>div:first-child{flex-direction:column;gap:2px;min-width:0;display:flex}.cashier-asset-line>div:first-child .ant-typography{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.cashier-context-panel .cashier-asset-line{grid-template-columns:1fr;align-items:stretch}.cashier-context-panel .cashier-asset-line .ant-input-number{width:100%}.cashier-payment-panel{border-color:var(--mw-color-border);background:var(--mw-color-surface);box-shadow:var(--mw-shadow-subtle);grid-column:1/-1}.cashier-payment-list{flex-direction:column;gap:10px;display:flex}.cashier-payment-line{border:1px solid var(--mw-color-border-soft);background:var(--mw-color-soft);border-radius:6px;grid-template-columns:1fr;gap:8px;padding:10px;display:grid}.cashier-payment-line .ant-select,.cashier-payment-line .ant-input,.cashier-payment-line .ant-input-number,.cashier-payment-line .ant-space-compact{width:100%}.cashier-payment-line .ant-space-compact .ant-btn:first-child{flex:1}.total-row{justify-content:space-between;align-items:center;gap:16px;display:flex}.cashier-receivable-card,.cashier-settlement-card{border:1px solid var(--mw-color-border-soft);background:var(--mw-color-soft);border-radius:8px;flex-direction:column;gap:10px;padding:12px;display:flex}.total-row-strong{border-top:1px solid var(--mw-color-border-soft);padding-top:10px;font-size:18px}.cashier-receivable-card .total-row-strong .ant-typography:last-child{color:var(--cashier-pay);font-size:24px;line-height:1.15}.cashier-submit-button{border-color:var(--mw-color-primary);background:var(--mw-color-primary);width:100%;height:46px;box-shadow:none;font-weight:700}.cashier-submit-button:not(:disabled):hover{border-color:var(--mw-color-primary-hover);background:var(--mw-color-primary-hover)}@media (width>=1360px){.cashier-workbench{grid-template-columns:minmax(280px,320px) minmax(420px,1fr) minmax(320px,340px)}.cashier-payment-panel{grid-column:auto;position:sticky;top:76px}}@media (width<=1100px){.cashier-workbench{grid-template-columns:1fr}.cashier-payment-panel{position:static}.cashier-content-filters{grid-template-columns:1fr}.cashier-section-heading{flex-direction:column;align-items:stretch}.cashier-discount-input{flex-basis:auto;width:100%}}.table-toolbar{border-bottom:1px solid var(--mw-color-border-soft);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin:-2px 0 16px;padding-bottom:14px;display:flex}.table-toolbar>.ant-space{flex-wrap:wrap;row-gap:8px;min-width:0;max-width:100%}.table-search{width:280px}.table-search.ant-input-affix-wrapper,.toolbar-select.ant-select .ant-select-selector,.toolbar-select.ant-input,.toolbar-select.ant-picker{background:var(--mw-color-soft)}.summary-strip{border:1px solid var(--mw-color-border-soft);border-radius:var(--mw-radius);background:var(--mw-color-soft);grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:0;margin-bottom:16px;display:grid;overflow:hidden}.summary-item{border-right:1px solid var(--mw-color-border-soft);flex-direction:column;gap:4px;min-width:0;padding:10px 12px;display:flex}.summary-item:last-child{border-right:0}.summary-item strong,.summary-item .ant-typography strong,.summary-item>.ant-typography:last-child{font-size:18px;font-weight:600;line-height:1.4}.summary-item>strong{color:var(--mw-color-text)}.receivable-customer-strip{background:#fff;border:1px solid #eef2f7;border-radius:6px;flex-direction:column;gap:10px;margin-bottom:16px;padding:12px;display:flex}.receivable-due-banner,.receivable-filter-banner{background:#fffaf0;border:1px solid #f4d47c;border-radius:6px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px;padding:12px;display:flex}.receivable-filter-banner{border-color:var(--mw-color-primary-border);background:var(--mw-color-primary-soft)}.follow-up-bulk-bar{border:1px solid var(--mw-color-primary-border);background:var(--mw-color-primary-soft);border-radius:6px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px;padding:12px;display:flex}.follow-up-bulk-bar>div:first-child,.receivable-due-banner>div,.receivable-filter-banner>div{flex-direction:column;gap:2px;min-width:0;display:flex}.receivable-customer-heading{justify-content:space-between;align-items:center;gap:16px;display:flex}.receivable-customer-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;display:grid}.receivable-customer-card{background:#f8fafc;border:1px solid #eef2f7;border-radius:6px;flex-direction:column;gap:4px;min-width:0;padding:10px;display:flex}.receivable-customer-card>div{justify-content:space-between;align-items:center;gap:8px;min-width:0;display:flex}.receivable-customer-card .ant-typography{min-width:0}.customer-detail{flex-direction:column;gap:16px;display:flex}.customer-detail-heading{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.customer-detail-heading h4{margin:0}.customer-detail-metrics{border:1px solid #eef2f7;border-radius:6px;grid-template-columns:repeat(4,minmax(0,1fr));display:grid;overflow:hidden}.customer-detail-metrics>div{background:#f8fafc;border-right:1px solid #eef2f7;padding:12px}.customer-detail-metrics>div:last-child{border-right:0}.customer-receivable-summary{background:#fff;border:1px solid #eef2f7;border-radius:6px;grid-template-columns:repeat(4,minmax(0,1fr));display:grid;overflow:hidden}.customer-receivable-summary>div{background:#fffaf0;border-right:1px solid #eef2f7;flex-direction:column;gap:4px;min-width:0;padding:10px 12px;display:flex}.customer-receivable-summary>div:last-child{border-right:0}.customer-detail-tab,.customer-detail-section,.customer-detail-activity{flex-direction:column;gap:12px;display:flex}.customer-detail-section{border-bottom:1px solid #eef2f7;padding-bottom:16px}.customer-detail-section:last-child{border-bottom:0;padding-bottom:0}.customer-detail-section h5{margin:0}.customer-detail-info-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.customer-detail-info-grid>div{border:1px solid #eef2f7;border-radius:6px;flex-direction:column;gap:4px;min-width:0;padding:10px;display:flex}.customer-detail-tags{flex-wrap:wrap;gap:8px;display:flex}.customer-detail-note{color:#334155;margin-bottom:0}.customer-detail-activity-item{border:1px solid #eef2f7;border-radius:6px;grid-template-columns:32px minmax(0,1fr);align-items:start;gap:10px;padding:10px;display:grid}.customer-detail-activity-item>span:first-child{background:var(--mw-color-primary-soft);width:32px;height:32px;color:var(--mw-color-primary);border-radius:6px;place-items:center;display:grid}.customer-detail-activity-item>div{flex-direction:column;gap:2px;min-width:0;display:flex}.customer-receivable-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.customer-follow-up-list{flex-direction:column;gap:8px;display:flex}.customer-follow-up-item{background:#f8fafc;border:1px solid #eef2f7;border-radius:6px;grid-template-columns:32px minmax(0,1fr);align-items:start;gap:10px;padding:10px;display:grid}.customer-follow-up-item>span:first-child{color:#d48806;background:#fff7e6;border-radius:6px;place-items:center;width:32px;height:32px;display:grid}.customer-follow-up-item>div{flex-direction:column;gap:4px;min-width:0;display:flex}@media (width<=1100px){.customer-detail-metrics,.customer-detail-info-grid,.customer-receivable-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}.toolbar-select{width:160px}.toolbar-switch{height:32px}.full-width,.form-number,.order-amend-modal .ant-table .ant-select,.order-amend-modal .ant-table .ant-input,.order-amend-modal .ant-table .ant-input-number{width:100%}.order-amend-discount-input{width:180px}@media (width<=720px){.table-toolbar{flex-direction:column;align-items:stretch}.table-toolbar>.ant-space,.table-toolbar .table-search,.table-toolbar .toolbar-select{width:100%}.table-toolbar .ant-segmented{max-width:100%;overflow-x:auto}.order-amend-discount-input{width:100%}}.status-action-select{width:110px}.audit-json{color:#334155;white-space:pre-wrap;word-break:break-word;background:#f8fafc;border:1px solid #e5e7eb;border-radius:6px;max-height:260px;margin:8px 0 0;padding:12px;font-size:12px;line-height:1.6;overflow:auto}.dashboard-page{gap:18px}.dashboard-hero{border:1px solid var(--mw-color-border);border-radius:var(--mw-radius-panel);background:linear-gradient(135deg, #fffffff5, #f8fafcf0), linear-gradient(135deg, var(--mw-color-primary-soft), #fff);box-shadow:var(--mw-shadow-subtle);grid-template-columns:minmax(0,1.3fr) minmax(300px,auto);align-items:stretch;gap:18px;padding:22px;display:grid}.dashboard-hero-main{align-items:flex-start;gap:16px;min-width:0;display:flex}.dashboard-hero-avatar{background:var(--mw-color-primary);color:#fff;border-radius:8px;flex:none;place-items:center;width:54px;height:54px;font-size:24px;display:grid;box-shadow:0 10px 24px #0f172a1f}.dashboard-hero-main h2{margin:2px 0}.dashboard-hero-main .ant-typography{margin-bottom:0}.dashboard-hero-toolbar{justify-content:flex-end;align-items:flex-start;display:flex}.dashboard-hero-stats{border:1px solid var(--mw-color-border-soft);background:#fff;border-radius:8px;grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,1fr));display:grid;overflow:hidden}.dashboard-hero-stat{border-right:1px solid var(--mw-color-border-soft);flex-direction:column;gap:4px;min-width:0;padding:14px 16px;display:flex}.dashboard-hero-stat:last-child{border-right:0}.dashboard-hero-stat span{color:var(--mw-color-muted);font-size:13px}.dashboard-hero-stat strong{color:var(--mw-color-text);font-size:22px;line-height:1.1}.dashboard-hero-stat--green strong{color:#16a34a}.dashboard-hero-stat--red strong{color:#dc2626}.dashboard-metric-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;display:grid}.dashboard-metric-card{flex-direction:column;justify-content:space-between;gap:18px;min-width:0;padding:18px;transition:border-color .2s,box-shadow .2s,transform .2s;display:flex}.dashboard-metric-card:hover{border-color:var(--dashboard-card-accent,var(--mw-color-primary));box-shadow:var(--mw-shadow-panel);transform:translateY(-1px)}.dashboard-metric-card-heading{justify-content:space-between;align-items:flex-start;gap:12px;min-width:0;display:flex}.dashboard-metric-card-heading>div{flex-direction:column;gap:6px;min-width:0;display:flex}.dashboard-metric-card-heading strong{color:var(--mw-color-text);font-size:26px;line-height:1.1}.dashboard-metric-card-heading span:last-child{color:var(--mw-color-muted);font-size:13px}.dashboard-metric-card-heading>span{background:var(--dashboard-card-soft,var(--mw-color-primary-soft));width:38px;height:38px;color:var(--dashboard-card-accent,var(--mw-color-primary));border-radius:8px;flex:none;place-items:center;font-size:20px;display:grid}.dashboard-metric-card-footer{min-height:22px;color:var(--mw-color-muted);font-size:13px}.dashboard-metric-card-footer strong{color:var(--mw-color-text)}.dashboard-metric-card--primary{--dashboard-card-accent:var(--mw-color-primary);--dashboard-card-soft:var(--mw-color-primary-soft)}.dashboard-metric-card--blue{--dashboard-card-accent:#2563eb;--dashboard-card-soft:#eff6ff}.dashboard-metric-card--green{--dashboard-card-accent:#16a34a;--dashboard-card-soft:#f0fdf4}.dashboard-metric-card--orange{--dashboard-card-accent:#d97706;--dashboard-card-soft:#fff7ed}.dashboard-metric-card--red{--dashboard-card-accent:#dc2626;--dashboard-card-soft:#fef2f2}.dashboard-metric-card--purple{--dashboard-card-accent:#7c3aed;--dashboard-card-soft:#f5f3ff}.dashboard-trend-delta-up,.dashboard-trend-delta-down{align-items:center;gap:4px;display:inline-flex}.dashboard-trend-delta-up{color:#16a34a}.dashboard-trend-delta-down{color:#dc2626}.dashboard-main-grid,.dashboard-secondary-grid{grid-template-columns:minmax(0,1.65fr) minmax(320px,.85fr);align-items:start;gap:16px;display:grid}.dashboard-secondary-grid{grid-template-columns:minmax(320px,1fr) minmax(320px,1fr) minmax(280px,.75fr)}.dashboard-panel-header{border-bottom:1px solid var(--mw-color-border-soft);justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:16px;padding-bottom:12px;display:flex}.dashboard-panel-header h5{margin:0 0 2px}.dashboard-panel-header>div:first-child{min-width:0}.dashboard-trend-summary{border:1px solid var(--mw-color-border-soft);border-radius:8px;grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:16px;display:grid;overflow:hidden}.dashboard-trend-summary>div{border-right:1px solid var(--mw-color-border-soft);background:#fbfdff;flex-direction:column;gap:4px;min-width:0;padding:12px 14px;display:flex}.dashboard-trend-summary>div:last-child{border-right:0}.dashboard-trend-summary strong{color:var(--mw-color-text);text-overflow:ellipsis;white-space:nowrap;font-size:18px;overflow:hidden}.dashboard-chart-card{grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);align-items:stretch;gap:18px;display:grid}.dashboard-sparkline{border:1px solid var(--mw-color-border-soft);background:linear-gradient(#fff,#f8fafc);border-radius:8px;grid-template-columns:repeat(7,minmax(0,1fr));align-items:end;gap:12px;min-height:250px;padding:18px 18px 12px;display:grid}.dashboard-sparkline-column{flex-direction:column;justify-content:flex-end;align-items:center;gap:8px;min-width:0;height:100%;display:flex}.dashboard-sparkline-column small{color:var(--mw-color-muted);font-variant-numeric:tabular-nums;font-size:12px}.dashboard-sparkline-bar{background:linear-gradient(180deg, var(--mw-color-primary-hover), var(--mw-color-primary));border-radius:8px 8px 2px 2px;width:100%;max-width:34px;display:block}.dashboard-sparkline-bar-negative{background:linear-gradient(#f87171,#dc2626)}.dashboard-trend-list--compact{justify-content:center;padding:12px 0}.dashboard-progress-ring{align-items:center;gap:18px;margin-bottom:18px;display:flex}.dashboard-progress-ring>div:last-child{flex-direction:column;gap:4px;min-width:0;display:flex}.dashboard-progress-ring strong{color:var(--mw-color-text);font-size:24px}.dashboard-status-list,.dashboard-reminder-list{flex-direction:column;gap:12px;display:flex}.dashboard-status-item{flex-direction:column;gap:6px;display:flex}.dashboard-status-item>div:first-child{justify-content:space-between;align-items:center;gap:10px;display:flex}.dashboard-status-item span{color:var(--mw-color-muted);font-size:13px}.dashboard-reminder{border:1px solid var(--mw-color-border-soft);width:100%;min-width:0;color:inherit;cursor:pointer;font:inherit;text-align:left;background:#fff;border-radius:8px;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px;display:grid}.dashboard-reminder:hover{border-color:var(--mw-color-primary-border);background:var(--mw-color-primary-soft)}.dashboard-reminder>span:first-child{color:#2563eb;background:#eff6ff;border-radius:8px;place-items:center;width:36px;height:36px;display:grid}.dashboard-reminder--warning>span:first-child{color:#d97706;background:#fff7ed}.dashboard-reminder--danger>span:first-child{color:#dc2626;background:#fef2f2}.dashboard-reminder>div{flex-direction:column;gap:2px;min-width:0;display:flex}.dashboard-reminder strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.dashboard-risk-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.dashboard-risk-item{border:1px solid var(--mw-color-border-soft);background:#fbfdff;border-radius:8px;grid-template-columns:36px minmax(0,1fr);gap:10px;min-width:0;padding:12px;display:grid}.dashboard-risk-item>span:first-child{background:var(--mw-color-primary-soft);width:36px;height:36px;color:var(--mw-color-primary);border-radius:8px;place-items:center;display:grid}.dashboard-risk-item--danger>span:first-child{color:#dc2626;background:#fef2f2}.dashboard-risk-item>div{flex-direction:column;gap:2px;min-width:0;display:flex}.dashboard-risk-item strong{color:var(--mw-color-text);font-size:18px}.dashboard-risk-item small{color:var(--mw-color-muted);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.dashboard-shortcut-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.dashboard-shortcut-grid .ant-badge{display:block}.dashboard-shortcut{border:1px solid var(--mw-color-border-soft);width:100%;min-width:0;color:inherit;cursor:pointer;font:inherit;text-align:left;background:#fff;border-radius:8px;flex-direction:column;align-items:flex-start;gap:10px;padding:12px;display:flex}.dashboard-shortcut:hover{border-color:var(--mw-color-primary-border);background:var(--mw-color-primary-soft)}.dashboard-shortcut span{background:var(--mw-color-primary-soft);width:32px;height:32px;color:var(--mw-color-primary);border-radius:8px;place-items:center;display:grid}.dashboard-shortcut strong{font-size:13px}.dashboard-stock-panel .ant-table-cell{vertical-align:top}@media (width<=1200px){.dashboard-hero,.dashboard-main-grid,.dashboard-secondary-grid,.dashboard-chart-card{grid-template-columns:1fr}.dashboard-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-hero-toolbar{justify-content:flex-start}}.dashboard-trend-list{flex-direction:column;gap:12px;display:flex}.dashboard-trend-row{grid-template-columns:52px minmax(160px,1fr) 112px 64px;align-items:center;gap:12px;display:grid}.dashboard-trend-date{color:#64748b;font-variant-numeric:tabular-nums;font-size:12px}.dashboard-trend-track{background:#eef2f7;border-radius:999px;height:10px;overflow:hidden}.dashboard-trend-bar{background:var(--mw-color-primary);border-radius:999px;height:100%}.dashboard-trend-bar-negative{background:#ff4d4f}.dashboard-trend-value{color:#111827;font-variant-numeric:tabular-nums;text-align:right;font-size:13px}@media (width<=900px){.dashboard-hero,.dashboard-main-grid,.dashboard-secondary-grid,.dashboard-chart-card,.dashboard-hero-stats,.dashboard-trend-summary,.dashboard-metric-grid{grid-template-columns:1fr}.dashboard-hero-stat,.dashboard-trend-summary>div{border-right:0;border-bottom:1px solid var(--mw-color-border-soft)}.dashboard-hero-stat:last-child,.dashboard-trend-summary>div:last-child{border-bottom:0}.dashboard-hero-toolbar{justify-content:flex-start}.metric-grid{grid-template-columns:1fr}.dashboard-trend-row{grid-template-columns:48px minmax(120px,1fr) 104px}.dashboard-trend-row .ant-tag{display:none}}.appointment-workbench{grid-template-columns:minmax(0,1fr) 300px;align-items:start;gap:16px;display:grid}.appointment-board-main{flex-direction:column;gap:16px;min-width:0;display:flex}.appointment-board-toolbar{margin-bottom:0}.appointment-board-sidebar{border-left:1px solid #e5e7eb;max-height:calc(100vh - 112px);padding-left:16px;position:sticky;top:72px;overflow:auto}.appointment-side-section{border-bottom:1px solid #eef2f7;margin-bottom:14px;padding-bottom:14px}.appointment-side-section:last-child{border-bottom:0;margin-bottom:0;padding-bottom:0}.appointment-calendar-header,.appointment-side-title,.appointment-reminder-heading{justify-content:space-between;align-items:center;gap:8px;display:flex}.appointment-calendar-weekdays,.appointment-calendar-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;display:grid}.appointment-calendar-weekdays{color:#94a3b8;text-align:center;margin:12px 0 6px;font-size:12px}.appointment-calendar-day{color:#334155;cursor:pointer;height:34px;font:inherit;background:0 0;border:1px solid #0000;border-radius:6px;place-items:center;display:grid;position:relative}.appointment-calendar-day:hover{background:#f8fafc}.appointment-calendar-day-muted{color:#cbd5e1}.appointment-calendar-day.is-today{border-color:var(--mw-color-primary-border);color:var(--mw-color-primary);font-weight:600}.appointment-calendar-day.is-selected{border-color:var(--mw-color-primary);background:var(--mw-color-primary);color:#fff;font-weight:600}.appointment-calendar-day i{color:#4338ca;background:#eef2ff;border-radius:999px;min-width:12px;height:12px;padding:0 3px;font-size:9px;font-style:normal;line-height:12px;position:absolute;bottom:4px;right:5px}.appointment-calendar-day.is-selected i{background:#ffffffeb}.appointment-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.appointment-summary-grid>div{border:1px solid #eef2f7;border-radius:6px;flex-direction:column;gap:4px;min-width:0;padding:8px;display:flex}.appointment-summary-grid strong{color:#111827;font-size:18px}.appointment-reminder-group{margin-top:12px}.appointment-reminder-empty{padding:8px 0;font-size:12px;display:block}.appointment-reminder-list{flex-direction:column;gap:8px;margin-top:8px;display:flex}.appointment-reminder-item{cursor:pointer;border:1px solid #eef2f7;border-radius:6px;justify-content:space-between;align-items:center;gap:8px;padding:8px;display:flex}.appointment-reminder-item:hover{border-color:var(--mw-color-primary-border);background:#f8fafc}.appointment-reminder-main{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.appointment-reminder-main span{color:var(--mw-color-primary);font-size:12px;font-weight:600}.appointment-reminder-main strong,.appointment-reminder-main .ant-typography{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.appointment-detail{flex-direction:column;gap:18px;display:flex}.appointment-detail-heading{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.appointment-detail-heading h5{margin:0 0 4px}.appointment-detail-section{border-bottom:1px solid #eef2f7;flex-direction:column;gap:10px;padding-bottom:16px;display:flex}.appointment-detail-section:last-child{border-bottom:0;padding-bottom:0}.appointment-detail-grid{gap:10px;display:grid}.appointment-detail-row{grid-template-columns:84px minmax(0,1fr);align-items:start;gap:12px;font-size:13px;display:grid}.appointment-detail-row span:last-child{overflow-wrap:anywhere;min-width:0}.appointment-detail-statuses{flex-wrap:wrap;gap:8px;display:flex}.appointment-detail-note{color:#334155;margin-bottom:0}.appointment-change-log-list{flex-direction:column;gap:10px;display:flex}.appointment-change-log-item{background:#f8fafc;border:1px solid #eef2f7;border-radius:8px;flex-direction:column;gap:6px;padding:10px 12px;display:flex}.appointment-change-log-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.appointment-change-log-line,.appointment-change-log-reason{font-size:12px;line-height:1.5}.appointment-change-log-reason{color:#b42318}.appointment-board-shell{scrollbar-gutter:stable;background:#fff;border:1px solid #e5e7eb;border-radius:8px;height:clamp(460px,100vh - 300px,680px);overflow:auto}.appointment-board-shell::-webkit-scrollbar{width:10px;height:10px}.appointment-board-shell::-webkit-scrollbar-thumb{background:#cbd5e1;border:2px solid #fff;border-radius:999px}.appointment-board-shell::-webkit-scrollbar-track{background:#f8fafc}.appointment-board-grid{min-width:960px;display:grid}.appointment-board-header-row{z-index:6;background:#fff;border-bottom:1px solid #e5e7eb;position:sticky;top:0;box-shadow:0 1px 4px #0f172a0f}.appointment-board-corner,.appointment-board-resource-header{border-right:1px solid #e5e7eb;min-height:56px;padding:8px 12px}.appointment-board-corner{z-index:7;color:#6b7280;background:#fff;align-items:center;font-size:12px;display:flex;position:sticky;left:0}.appointment-board-resource-header{background:#fff;flex-direction:column;justify-content:center;gap:2px;display:flex}.appointment-board-resource-title-row{justify-content:space-between;align-items:center;gap:8px;min-width:0;display:flex}.appointment-board-resource-title-row .ant-typography{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.appointment-board-resource-count{color:#4338ca;background:#eef2ff;border-radius:999px;place-items:center;min-width:20px;height:20px;font-size:12px;font-weight:600;display:inline-grid}.appointment-board-body{align-items:start;position:relative}.appointment-board-time-scale,.appointment-board-resource-column{background:linear-gradient(#f1f5f9 1px,#0000 1px) 0 0/100% 40px,#fff;border-right:1px solid #e5e7eb;position:relative}.appointment-board-time-scale{z-index:4;background:linear-gradient(#e5e7eb 1px,#0000 1px) 0 0/100% 40px,#fafafa;position:sticky;left:0;box-shadow:1px 0 #e5e7eb}.appointment-board-time-label{color:#6b7280;font-size:11px;line-height:1;position:absolute;right:12px;transform:translateY(8px)}.appointment-board-slot-line{background:#f3f4f6;height:1px;position:absolute;left:0;right:0}.appointment-board-slot-target{z-index:1;cursor:pointer;background:0 0;border:0;padding:0;position:absolute;left:0;right:0}.appointment-board-slot-target:hover{background:var(--mw-color-primary-soft)}.appointment-board-slot-target:disabled{cursor:not-allowed}.appointment-board-slot-target.is-unavailable:hover{background:0 0}.appointment-board-slot-target:focus-visible{outline:2px solid var(--mw-color-primary);outline-offset:-2px;background:var(--mw-color-primary-soft)}.appointment-board-unavailable{z-index:2;color:#64748b;pointer-events:none;background:repeating-linear-gradient(-45deg,#94a3b824 0 8px,#f1f5f994 8px 16px);border-block:1px dashed #cbd5e1;place-items:center;min-height:28px;font-size:12px;font-weight:600;display:grid;position:absolute;left:0;right:0}.appointment-board-unavailable span{text-overflow:ellipsis;white-space:nowrap;background:#ffffffd1;border-radius:999px;max-width:calc(100% - 16px);padding:2px 8px;overflow:hidden}.appointment-board-current-time{z-index:5;pointer-events:none;border-top:1px solid #ef4444;height:0;position:absolute;left:0;right:0}.appointment-board-current-time:after{content:"";background:#ef4444;border-radius:999px;width:8px;height:8px;position:absolute;top:-4px;left:72px}.appointment-board-current-time-label{color:#fff;text-align:center;background:#ef4444;border-radius:999px;min-width:44px;font-size:11px;font-weight:600;line-height:18px;display:inline-block;position:sticky;left:8px;transform:translateY(-50%)}.appointment-board-event{z-index:3;color:#111827;cursor:pointer;min-height:38px;font:inherit;text-align:left;border:1px solid #0000;border-radius:6px;flex-direction:column;justify-content:center;align-items:flex-start;padding:6px 56px 6px 8px;transition:box-shadow .16s,transform .16s;display:flex;position:absolute;left:8px;right:8px;overflow:hidden}.appointment-board-event:focus-visible{outline:2px solid var(--mw-color-primary);outline-offset:2px}.appointment-board-event:hover{transform:translateY(-1px);box-shadow:0 8px 20px #0f172a1f}.appointment-board-event-action{opacity:0;background:#ffffffe0;height:22px;padding:0 6px;font-size:11px;transition:opacity .16s;position:absolute;top:5px;right:5px}.appointment-board-event:hover .appointment-board-event-action,.appointment-board-event:focus-within .appointment-board-event-action{opacity:1}.appointment-board-event-time,.appointment-board-event-meta{color:#4b5563;text-overflow:ellipsis;white-space:nowrap;width:100%;font-size:12px;overflow:hidden}.appointment-board-event-title{text-overflow:ellipsis;white-space:nowrap;width:100%;font-size:13px;font-weight:600;overflow:hidden}.board-event-pending{background:#fff7d6;border-color:#f4d47c}.board-event-confirmed{background:#dbeafe;border-color:#93c5fd}.board-event-arrived{background:#ede9fe;border-color:#c4b5fd}.board-event-completed{background:#dcfce7;border-color:#86efac}.board-event-cancelled{background:#f3f4f6;border-color:#d1d5db}.board-event-no-show{background:#fee2e2;border-color:#fca5a5}.appointment-board-loading{place-items:center;min-height:360px;display:grid}.member-asset-editor-modal .ant-modal-body,.commission-rule-editor-modal .ant-modal-body,.expense-editor-modal .ant-modal-body,.customer-editor-modal .ant-modal-body,.item-editor-modal .ant-modal-body,.settings-config-editor-modal .ant-modal-body{max-height:min(72vh,720px);padding-top:8px;overflow-y:auto}.sectioned-editor-form{flex-direction:column;gap:14px;display:flex}.sectioned-editor-section{background:#f8fafc;border:1px solid #e5e7eb;border-radius:8px;padding:14px 16px 2px}.sectioned-editor-section-header{flex-direction:column;gap:2px;margin-bottom:12px;display:flex}.sectioned-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px;display:grid}.sectioned-form-field--wide{grid-column:1/-1}.customer-birthday-editor{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:12px 12px 0}.customer-birthday-row{grid-template-columns:minmax(180px,1fr) minmax(220px,1.15fr) auto;align-items:end;gap:0 12px;display:grid}.customer-birthday-row--meta{grid-template-columns:minmax(180px,.95fr) minmax(220px,1fr) auto}.customer-birthday-row--lunar{grid-template-columns:minmax(120px,.9fr) minmax(110px,.8fr) minmax(110px,.8fr) minmax(180px,1fr)}.customer-birthday-row--solar{grid-template-columns:minmax(180px,.8fr) minmax(260px,1fr)}.customer-birthday-editor .ant-form-item{margin-bottom:12px}.customer-birthday-action{white-space:nowrap;align-items:center;min-height:32px;margin-bottom:12px;display:flex}.customer-birthday-preview{align-items:center;min-height:32px;margin-bottom:12px;display:flex}.appointment-editor-modal .ant-modal-body{max-height:min(72vh,720px);padding-top:8px;overflow-y:auto}.appointment-editor-form{flex-direction:column;gap:14px;display:flex}.appointment-editor-section{background:#f8fafc;border:1px solid #e5e7eb;border-radius:8px;padding:14px 16px 2px}.appointment-editor-section-header{flex-direction:column;gap:2px;margin-bottom:12px;display:flex}.appointment-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px;display:grid}.appointment-form-field--wide{grid-column:1/-1}@media (width<=720px){.sectioned-form-grid{grid-template-columns:1fr}.sectioned-form-field--wide{grid-column:auto}.customer-birthday-editor{padding:12px 12px 4px}.customer-birthday-row,.customer-birthday-row--lunar{grid-template-columns:1fr}.customer-birthday-action{align-items:stretch}.customer-birthday-action .ant-btn{width:100%}.appointment-form-grid{grid-template-columns:1fr}.appointment-form-field--wide{grid-column:auto}}.role-editor-modal .ant-modal-body{max-height:min(76vh,760px);padding-top:8px;overflow-y:auto}.role-editor-form{flex-direction:column;gap:16px;display:flex}.role-basic-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px;display:grid}.role-basic-field--wide{grid-column:1/-1}.role-permission-card{background:#f8fafc;border:1px solid #e5e7eb;border-radius:8px;padding:16px}.role-permission-topbar{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:12px;display:flex}.permission-search{margin-bottom:12px}.role-permission-form-item{margin-bottom:0}.permission-groups{width:100%;display:block}.role-permission-workspace{grid-template-columns:190px minmax(0,1fr);gap:12px;min-height:360px;display:grid}.role-permission-sidebar{flex-direction:column;gap:6px;max-height:min(48vh,460px);padding-right:4px;display:flex;overflow-y:auto}.role-permission-module-button{color:#475569;cursor:pointer;width:100%;font:inherit;text-align:left;background:#fff;border:1px solid #e5e7eb;border-radius:8px;justify-content:space-between;align-items:center;gap:8px;padding:9px 10px;transition:border-color .2s,background .2s,color .2s;display:flex}.role-permission-module-button span:first-child{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-weight:500;overflow:hidden}.role-permission-module-button span:last-child{color:#94a3b8;flex:none;font-size:12px}.role-permission-module-button:hover,.role-permission-module-button--active{border-color:var(--admin-primary-color);background:color-mix(in srgb, var(--admin-primary-color) 10%, #fff);color:var(--admin-primary-color)}.role-permission-module-button--active span:last-child{color:var(--admin-primary-color)}.role-permission-panel{background:#fff;border:1px solid #e5e7eb;border-radius:8px;min-width:0;max-height:min(48vh,460px);padding:14px;overflow-y:auto}.permission-module-header{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.permission-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px;display:grid}.permission-list .ant-checkbox-wrapper{background:#f8fafc;border-radius:6px;align-items:flex-start;min-width:0;margin-inline-start:0;padding:7px 10px;display:flex}.permission-list .ant-checkbox-wrapper>span:last-child{flex-direction:column;gap:2px;min-width:0;line-height:1.35;display:flex}.permission-list .ant-checkbox-wrapper>span:last-child span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.role-permission-empty{color:#94a3b8;place-items:center;min-height:220px;display:grid}@media (width<=720px){.role-basic-grid{grid-template-columns:1fr}.role-basic-field--wide{grid-column:auto}.role-permission-topbar,.permission-module-header{flex-direction:column;align-items:stretch}.role-permission-workspace{grid-template-columns:1fr}.role-permission-sidebar{flex-direction:row;max-height:none;padding-bottom:4px;padding-right:0;overflow:auto hidden}.role-permission-module-button{min-width:128px}.role-permission-panel{max-height:none}.permission-list{grid-template-columns:1fr}}.order-detail-drawer .ant-drawer-body{background:#f5f7fb;padding:0}.order-detail-shell{flex-direction:column;gap:12px;padding:16px;display:flex}.order-detail-page .page-header h3{margin:0}.order-detail-layout{grid-template-columns:minmax(0,1fr) 420px;align-items:start;gap:16px;display:grid}.order-detail-main-column,.order-detail-side-column{flex-direction:column;gap:16px;min-width:0;display:flex}.order-detail-side-column{position:sticky;top:76px}.order-detail-panel-title{justify-content:space-between;align-items:center;gap:16px;display:flex}.order-detail-side-panel{flex-direction:column;gap:12px;display:flex}.order-follow-up-panel{background:#fff;border:1px solid #e5e7eb;border-radius:8px;flex-direction:column;gap:10px;padding:14px;display:flex}.order-follow-up-heading{justify-content:space-between;align-items:center;gap:16px;display:flex}.order-follow-up-list{flex-direction:column;gap:8px;display:flex}.order-follow-up-item{background:#f8fafc;border:1px solid #eef2f7;border-radius:6px;grid-template-columns:32px minmax(0,1fr);align-items:start;gap:10px;padding:10px;display:grid}.order-follow-up-item>span:first-child{background:var(--mw-color-primary-soft);width:32px;height:32px;color:var(--mw-color-primary);border-radius:6px;place-items:center;display:grid}.order-follow-up-item>div{flex-direction:column;gap:4px;min-width:0;display:flex}.order-follow-up-tags{flex-wrap:wrap;gap:6px;display:flex}.order-receipt{color:#111827;background:#fff;border:1px solid #e5e7eb;border-radius:8px;flex-direction:column;gap:16px;padding:18px;display:flex}.receipt-header{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.receipt-header>div,.receipt-store-contact,.receipt-meta-grid>div,.receipt-line-main,.receipt-line-side,.receipt-payment-row>div,.receipt-note,.receipt-balance-alert,.receipt-signature-grid>div,.receipt-footer{flex-direction:column;gap:2px;display:flex}.receipt-store-name{font-size:16px}.receipt-store-contact{margin-top:4px}.receipt-status{color:#1d4ed8;background:#eef2ff;border-radius:999px;justify-content:center;align-items:center;min-width:64px;height:26px;padding:0 10px;font-size:12px;font-weight:600;display:inline-flex}.receipt-order-no{color:#334155;background:#f8fafc;border-radius:6px;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:13px;display:flex}.receipt-order-no small{color:#64748b;font-family:inherit}.receipt-meta-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.receipt-section{flex-direction:column;gap:10px;display:flex}.receipt-section-title{color:#111827;font-size:14px;font-weight:600}.receipt-lines,.receipt-payments,.receipt-asset-transactions,.receipt-total-box{flex-direction:column;display:flex}.receipt-line,.receipt-payment-row,.receipt-asset-row,.receipt-total-row{align-items:flex-start;gap:12px;display:grid}.receipt-line,.receipt-payment-row,.receipt-asset-row{border-top:1px solid #eef2f7;grid-template-columns:minmax(0,1fr) 128px;padding:10px 0}.receipt-line-side,.receipt-payment-row>.ant-typography,.receipt-asset-change{text-align:right;align-items:flex-end}.receipt-asset-row>div:first-child,.receipt-asset-change{flex-direction:column;gap:2px;display:flex}.receipt-total-box{background:#f8fafc;border-radius:6px;gap:8px;padding:12px}.receipt-total-row{grid-template-columns:1fr auto}.receipt-note{border-top:1px solid #eef2f7;padding-top:12px}.receipt-balance-alert{background:#fffbeb;border:1px solid #fde68a;border-radius:6px;padding:10px 12px}.receipt-signature-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding-top:10px;display:grid}.receipt-signature-grid span{color:#64748b;font-size:12px}.receipt-signature-grid i{border-bottom:1px solid #94a3b8;height:32px;display:block}.receipt-footer{text-align:center;border-top:1px dashed #cbd5e1;padding-top:8px}.refund-quota-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:-8px 0 16px;display:grid}.refund-quota-button{color:#111827;cursor:pointer;text-align:left;background:#fff;border:1px solid #e5e7eb;border-radius:6px;flex-direction:column;justify-content:center;align-items:flex-start;gap:3px;min-height:78px;padding:10px 12px;display:flex}.refund-quota-button strong{font-size:16px}.refund-quota-button small{color:#6b7280;font-size:12px}.refund-quota-button:hover:not(:disabled),.refund-quota-button-active{border-color:var(--mw-color-primary);background:var(--mw-color-primary-soft)}.refund-quota-button:disabled{color:#9ca3af;cursor:not-allowed;background:#f8fafc;border-color:#eef2f7}.refund-quota-button:disabled small{color:#9ca3af}.refund-asset-hint{margin:-4px 0 16px!important}.receipt-print-root{display:none}@media print{@page{size:80mm auto;margin:6mm}html,body,#root{background:#fff;min-width:0}body *{visibility:hidden!important}.receipt-print-root,.receipt-print-root *{visibility:visible!important}.receipt-print-root{color:#000;background:#fff;width:68mm;position:absolute;top:0;left:0;display:block!important}.receipt-print-root .order-receipt{border:0;border-radius:0;gap:10px;padding:0;font-size:11px}.receipt-print-root .receipt-header,.receipt-print-root .receipt-meta-grid{gap:6px}.receipt-print-root .receipt-meta-grid{grid-template-columns:1fr}.receipt-print-root .receipt-order-no,.receipt-print-root .receipt-balance-alert,.receipt-print-root .receipt-total-box{background:#fff;border:0;border-radius:0;padding:6px 0}.receipt-print-root .receipt-order-no{display:block}.receipt-print-root .receipt-line,.receipt-print-root .receipt-payment-row,.receipt-print-root .receipt-asset-row{grid-template-columns:minmax(0,1fr) 72px;gap:8px;padding:7px 0}.receipt-print-root .receipt-status{color:#000;background:0 0;min-width:auto;height:auto;padding:0}.receipt-print-root .receipt-signature-grid{gap:8px;padding-top:4px}.receipt-print-root .receipt-signature-grid i{height:24px}.receipt-print-root .receipt-footer{padding-top:6px}.receipt-print-root .ant-typography{color:#000!important}}
