/* Mobile workspace, intentionally isolated from desktop and print layouts. */
body:not(.mw-mobile) :is(.mw-home,.mw-modal-brand,.mw-filter-toolbar,.mw-native-filter-tabs,.mw-stock-tabs,.mw-settings-tabs,.mw-detail-back,.mw-import-options,.mw-receipt-step,.mw-receipt-next) { display: none !important; }
@media screen and (max-width: 800px) {
  body.mw-mobile {
    --mw-ink: #102042;
    --mw-muted: #72819a;
    --mw-teal: #00888c;
    --mw-line: #e4ecf3;
    --mw-bg: #f3f8fb;
    --mw-nav: calc(64px + env(safe-area-inset-bottom, 0px));
    --mw-head: calc(54px + env(safe-area-inset-top, 0px));
    margin: 0;
    color: var(--mw-ink);
    background: var(--mw-bg);
    font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
    -webkit-tap-highlight-color: transparent;
    overscroll-behavior-y: auto;
  }
  .mw-mobile *, .mw-mobile *::before, .mw-mobile *::after { box-sizing: border-box; }
  .mw-mobile .erp-app { display: block; min-height: 100svh; padding-top: var(--mw-head); background: linear-gradient(165deg, #f8fbfd, #f1f7fa); }
  .mw-mobile .erp-app > .topbar, .mw-mobile .erp-sidebar, .mw-mobile .sb-drawer-shade, .mw-mobile .sb-mobile-trigger { display: none !important; }
  .mw-mobile .shell { display: block; min-height: 0; }
  .mw-mobile #main { padding: 12px 12px calc(var(--mw-nav) + 20px); min-width: 0; width: 100%; min-height: calc(100svh - var(--mw-head)); }
  .mw-mobile .main::before, .mw-mobile .main::after { display: none; }
  .mw-mobile :is(button,input,select,textarea) { font-family: inherit; }
  .mw-mobile :is(input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]),select,textarea) { max-width: 100%; min-width: 0; font-size: 16px; border-radius: 7px; border: 1px solid #dce5ef; box-shadow: none; background-color: #fff; color: #18304e; }
  .mw-mobile input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]), .mw-mobile select { min-height: 40px; padding: 8px 10px; }
  .mw-mobile textarea { min-height: 80px; padding: 10px; resize: vertical; }
  .mw-mobile :is(input,select,textarea):focus { outline: 0; border-color: #15979b; box-shadow: 0 0 0 3px #00888c12; }
  .mw-mobile :is(input[type=checkbox],input[type=radio]) { width: 19px; height: 19px; min-height: 0; accent-color: var(--mw-teal); }
  .mw-mobile :focus-visible { outline: 2px solid #00888c; outline-offset: 3px; }
  .mw-mobile :is(.btn,.icon-btn,button) { touch-action: manipulation; }
  .mw-mobile .btn { min-height: 38px; height: auto; padding: 8px 12px; font-size: 12px; border: 1px solid #dce6ef; border-radius: 7px; gap: 6px; }
  .mw-mobile .btn.primary, .mw-mobile .primary, .mw-mobile .cr-primary { color: #fff; border: 1px solid #00858a; background: linear-gradient(120deg,#009398,#007c80); box-shadow: 0 2px 4px #007c8010; }
  .mw-mobile .btn .icon { width: 18px; height: 18px; flex-basis: 18px; }
  .mw-mobile .icon-btn { min-width: 36px; min-height: 36px; border-radius: 7px; border: 1px solid var(--mw-line); background: #fff; }
  .mw-mobile :is(h1,h2,h3,p) { overflow-wrap: anywhere; }
  .mw-mobile :is(.ops-page,.document-page,.partners-page,.payment-status-page,.inventory-page,.purchase-orders-page,.cashflow-page,.expense-management-page,.profit-page,.activity-page,.settings-page,.quotation-page,.schedule-page,.crm-page,.cws-page) { max-width: none; min-width: 0; width: 100%; margin: 0; padding: 0; gap: 12px; }
  .mw-mobile :is(.ops-title-row,.page-head,.page-header,.document-page-title,.crm-page-header,.cws-page-head,.sw-page-head,.settings-title-row) { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 12px; padding: 0; }
  .mw-mobile :is(.ops-title-row,.page-head,.page-header,.crm-page-header,.cws-page-head,.sw-page-head,.settings-title-row) h1 { margin: 0; font-size: 23px; line-height: 1.35; letter-spacing: -.055em; color: var(--mw-ink); font-weight: 850; }
  .mw-mobile :is(.ops-title-row,.page-head,.page-header,.crm-page-header,.cws-page-head,.sw-page-head,.settings-title-row) p { font-size: 11px; margin: 5px 0 0; line-height: 1.5; color: var(--mw-muted); }
  .mw-mobile :is(.ops-layout,.document-layout,.partners-layout,.payment-status-layout,.cash-flow-layout,.profit-layout,.expense-management-layout,.activity-layout,.crm-layout,.cws-top-layout,.sw-calendar-layout,.sw-mine-layout,.sw-team-layout,.quotation-layout) { display: grid !important; grid-template-columns: minmax(0,1fr) !important; gap: 12px; min-width: 0; }
  .mw-mobile :is(.ops-main,.ops-side,.ops-aside,.crm-list,.cws-list,.sw-rail,.activity-rail,.expense-management-main) { min-width: 0; width: 100%; }
  .mw-mobile :is(.surface,.ops-card,.sw-card,.cws-card,.metric,.crm-stat,.ops-stat-card,.profit-kpi-card,.cash-account-card,.settings-card,.issuer-company-card) { border: 1px solid var(--mw-line); border-radius: 11px; background: #fff; box-shadow: 0 2px 5px #25436304; }
  .mw-mobile .surface { padding: 12px; overflow: visible; }
  .mw-mobile :is(.surface-head,.ops-card-head,.sw-card-head) { gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 10px; }
  .mw-mobile :is(.surface-head,.ops-card-head,.sw-card-head) h2 { font-size: 15px; letter-spacing: -.035em; margin: 0; }
  .mw-mobile :is(.ops-stat-grid,.dashboard-kpi-grid,.crm-stats,.cws-metrics,.sw-metrics,.profit-kpi-grid,.metrics-grid,.cash-summary-grid,.metric-grid) { display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 8px !important; width: 100%; margin-bottom: 12px; min-width: 0; }
  .mw-mobile :is(.ops-stat-card,.metric,.crm-stat,.cws-metric,.sw-metric,.profit-kpi-card) { min-width: 0; min-height: 74px; padding: 11px 12px; border-radius: 10px; }
  .mw-mobile :is(.ops-stat-card,.metric,.crm-stat,.cws-metric,.sw-metric,.profit-kpi-card) :is(h3,p,span,small) { font-size: 11px; line-height: 1.45; }
  .mw-mobile :is(.ops-stat-card,.metric,.crm-stat,.cws-metric,.sw-metric,.profit-kpi-card) :is(strong,b) { font-size: clamp(15px,4.5vw,21px); line-height: 1.3; overflow-wrap: anywhere; }
  .mw-mobile :is(.ops-stat-card,.metric,.crm-stat,.cws-metric,.sw-metric) .icon { width: 25px; height: 25px; }
  .mw-mobile :is(.ops-title-actions,.page-actions,.crm-actions,.cws-page-actions,.schedule-page-actions,.sw-page-actions) { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
  .mw-mobile :is(.tabs,.cash-flow-tabs,.crm-tabs,.cws-tabs,.sw-tabs,.profit-tabs,.quotation-tabs,.schedule-tabs) { display: flex; min-width: 0; width: 100%; overflow-x: auto; gap: 5px; scrollbar-width: none; }
  .mw-mobile :is(.tabs,.cash-flow-tabs,.crm-tabs,.cws-tabs,.sw-tabs,.profit-tabs,.quotation-tabs,.schedule-tabs) > button { flex: 0 0 auto; white-space: nowrap; min-height: 34px; font-size: 11px; border-radius: 7px; padding: 7px 11px; }
  .mw-mobile :is(.tabs,.cash-flow-tabs,.crm-tabs,.cws-tabs,.sw-tabs,.profit-tabs,.quotation-tabs,.schedule-tabs) > button.active { color: #fff; background: var(--mw-teal); border-color: var(--mw-teal); }
  .mw-mobile :is(.form-grid,.settings-form-grid,.schedule-form-grid,.cr-fields,.crm-form-grid) { grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 12px 10px !important; min-width: 0; }
  .mw-mobile :is(.form-grid,.settings-form-grid,.schedule-form-grid,.cr-fields,.crm-form-grid) > :is(.col-12,.col-8,.col-9,.span-2,fieldset,.form-actions,.modal-actions,section) { grid-column: 1 / -1; min-width: 0; }
  .mw-mobile :is(.form-grid,.settings-form-grid) > :is(.col-2,.col-3,.col-4,.col-6) { grid-column: auto; min-width: 0; }
  .mw-mobile :is(.form-grid,.settings-form-grid) > label:has(textarea), .mw-mobile :is(.form-grid,.settings-form-grid) > label:has(input[type=email]) { grid-column: 1 / -1; }
  .mw-mobile label > span { color: #334865; font-size: 12px; }
  .mw-mobile :is(.form-actions,.modal-actions,.schedule-form-footer) { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
  .mw-mobile :is(.form-actions,.modal-actions,.schedule-form-footer) > .btn { flex: 1; }
  .mw-mobile .field { min-width: 0; }
  .mw-mobile .empty { min-height: 72px; padding: 22px 12px; font-size: 12px; }
  .mw-mobile .ops-side { margin-top: 8px; }
  .mw-mobile .ops-side .surface { margin-bottom: 10px; }
  .mw-mobile .page-meta, .mw-mobile .counter { font-size: 10px; }

  /* Compact authenticated application header and native-safe bottom navigation. */
  .mw-header { position: fixed; z-index: 240; inset: 0 0 auto; min-height: var(--mw-head); padding: calc(9px + env(safe-area-inset-top,0px)) 12px 9px; display: flex; align-items: center; gap: 7px; background: #ffffffef; border-bottom: 1px solid #e6edf4; backdrop-filter: blur(18px); }
  .mw-header button { border: 0; cursor: pointer; }
  .mw-brand { display: inline-flex; align-items: center; gap: 6px; min-width: 0; margin-right: auto; background: transparent; padding: 0; color: #0b2852; white-space: nowrap; }
  .mw-brand > svg { width: 21px; height: 24px; color: #00898c; flex: 0 0 21px; }
  .mw-brand strong { font-size: 13px; font-weight: 850; letter-spacing: -.045em; }
  .mw-company { min-width: 0; max-width: 132px; padding: 6px 9px; display: flex; align-items: center; gap: 6px; border-radius: 18px; background: #edf4f9; color: #263c5c; font-size: 10px; }
  .mw-company > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .mw-icon-button { width: 36px; height: 36px; min-width: 36px; display: inline-grid; place-items: center; padding: 7px; border: 1px solid #dce6ef; border-radius: 8px; background: #fff; color: #284064; position: relative; }
  .mw-icon-button svg { width: 20px; height: 20px; }
  .mw-header .mw-icon-button { background: transparent; border: 0; width: 29px; min-width: 29px; padding: 4px; }
  .mw-notification-dot { position: absolute; right: 3px; top: 4px; width: 6px; height: 6px; border-radius: 50%; background: #f34757; border: 1px solid #fff; }
  .mw-bottom-nav { position: fixed; z-index: 250; inset: auto 0 0; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 0; min-height: var(--mw-nav); padding: 7px 8px calc(6px + env(safe-area-inset-bottom,0px)); background: #ffffffed; border-top: 1px solid #e3ebf2; backdrop-filter: blur(16px); box-shadow: 0 -3px 16px #163c5f03; }
  .mw-bottom-item { display: flex; flex-direction: column; align-items: center; gap: 4px; min-height: 45px; border: 0; padding: 1px 0; background: transparent; color: #70809a; font-size: 10px; cursor: pointer; }
  .mw-bottom-item svg { width: 21px; height: 21px; }
  .mw-bottom-item.active { color: #00868a; font-weight: 800; }
  .mw-bottom-item.active svg { fill: #00868a0a; stroke-width: 2.2; }
  .mw-has-modal .mw-bottom-nav { display: none; }
  .mw-mobile [hidden] { display: none !important; }
  .mw-mobile .mw-desktop-decoration { display: none !important; }

  /* Native data tables become interactive cards; original rows, controls and events remain intact. */
  .mw-mobile .table-wrap:has(> .mw-card-table), .mw-mobile .crm-table-scroll, .mw-mobile .purchase-detail-line-wrap, .mw-mobile .sales-grid-wrap:has(.mw-card-table) { overflow: visible !important; width: 100% !important; min-width: 0 !important; max-height: none !important; border: 0; background: transparent; }
  .mw-mobile table.mw-card-table { display: block; border: 0; min-width: 0 !important; width: 100% !important; table-layout: auto; border-collapse: separate; background: transparent; }
  .mw-mobile table.mw-card-table > :is(colgroup,thead) { display: none; }
  .mw-mobile table.mw-card-table > tbody { display: grid; gap: 10px; width: 100%; }
  .mw-mobile table.mw-card-table tr.mw-card-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px 12px; position: relative; padding: 13px 12px; border: 1px solid var(--mw-line); border-radius: 10px; background: #fff; width: 100%; min-height: 0; box-shadow: 0 2px 7px #17365204; }
  .mw-mobile table.mw-card-table :is(td,th) { display: block; width: auto !important; min-width: 0 !important; max-width: none; padding: 0; border: 0; white-space: normal; overflow: visible; text-align: left; background: transparent; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
  .mw-mobile table.mw-card-table tr.mw-card-row > td::before { content: attr(data-mw-label); display: block; color: var(--mw-muted); font-size: 10px; line-height: 1.35; font-weight: 500; margin-bottom: 3px; }
  .mw-mobile table.mw-card-table tr.mw-card-row > td:has(.actions,.customer-action-group,.payment-row-actions) { grid-column: 1 / -1; }
  .mw-mobile table.mw-card-table tr.mw-card-row > td:has(.actions,.customer-action-group,.payment-row-actions)::before { display: none; }
  .mw-mobile table.mw-card-table .num { font-variant-numeric: tabular-nums; font-weight: 650; }
  .mw-mobile table.mw-card-table td > :is(input,select) { width: 100%; min-width: 0; }
  .mw-mobile table.mw-card-table .actions { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
  .mw-mobile table.mw-card-table .actions .btn { flex: 1 1 auto; }
  .mw-mobile table.mw-card-table > tfoot { display: block; margin-top: 10px; }
  .mw-mobile table.mw-card-table > tfoot > tr { display: flex; gap: 10px; justify-content: flex-end; padding: 10px; border-radius: 8px; background: #eef5fb; }
  .mw-mobile table.mw-card-table .mw-table-empty { display: block; padding: 20px 10px; text-align: center; color: #7f8da1; }
  .mw-mobile :is(.status,.badge,.status-badge,.customer-status-badge,.crm-badge,.collection-status-badge) { font-size: 10px; padding: 3px 7px; border-radius: 7px; max-width: 100%; line-height: 1.4; }

  /* Statement cards, partners, collection and stock match their mobile information hierarchy. */
  .mw-mobile .mw-doc-table tr.mw-card-row { grid-template-columns: minmax(0,1fr) minmax(90px,auto); gap: 4px 10px; padding-top: 34px; }
  .mw-mobile .mw-doc-table tr > td::before { display: none !important; }
  .mw-mobile .mw-doc-table .document-date-cell { position: absolute; top: 11px; right: 31px; font-size: 10px; color: #7b8ba2; }
  .mw-mobile .mw-doc-table .document-date-sub { display: none; }
  .mw-mobile .mw-doc-table .document-no-cell { grid-column: 1; grid-row: 1; font-size: 11px; }
  .mw-mobile .mw-doc-table .document-no-cell button { font-size: 11px; color: #153357; }
  .mw-mobile .mw-doc-table .document-customer-cell { grid-column: 1; grid-row: 2; font-size: 15px; font-weight: 800; }
  .mw-mobile .mw-doc-table .document-customer-cell button { color: #132846; font-size: 15px; font-weight: 800; }
  .mw-mobile .mw-doc-table .document-product-cell { grid-column: 1; grid-row: 3; font-size: 11px; color: #6c7d95; }
  .mw-mobile .mw-doc-table tr > td[data-mw-cell="4"] { position: absolute; top: 10px; left: 12px; }
  .mw-mobile .mw-doc-table tr > td[data-mw-cell="5"] { grid-column: 2; grid-row: 2; font-size: 16px; font-weight: 850; text-align: right; }
  .mw-mobile .mw-doc-table tr > td[data-mw-cell="6"] { grid-column: 2; grid-row: 3; color: #f04452; font-size: 11px; text-align: right; }
  .mw-mobile .mw-doc-table tr > td[data-mw-cell="6"]::before { display: inline !important; content: attr(data-mw-label); margin-right: 5px; color: inherit; }
  .mw-mobile .mw-doc-table .document-profit-cell { grid-column: 1 / -1; border-top: 1px solid #eef3f7; margin-top: 6px; padding-top: 7px; color: #008675; text-align: right; font-size: 11px; }
  .mw-mobile .mw-doc-table .document-profit-cell::before { display: inline !important; content: attr(data-mw-label); float: left; color: #72829b; }
  .mw-mobile .mw-doc-table .document-action-cell { position: absolute; top: 5px; right: 5px; width: 23px !important; }
  .mw-mobile .mw-doc-table .document-more-btn { width: 22px; height: 28px; min-width: 0; min-height: 0; }
  .mw-mobile .mw-partner-table tr.mw-card-row { grid-template-columns: minmax(0,1fr) auto; padding-left: 16px; gap: 7px 10px; }
  .mw-mobile .mw-partner-table tr > td[data-mw-cell="0"] { grid-column: 1; display: flex; gap: 10px; align-items: center; font-size: 15px; font-weight: 800; }
  .mw-mobile .mw-partner-table tr > td[data-mw-cell="0"]::before { display: none; }
  .mw-mobile .mw-partner-table tr > td[data-mw-cell="1"] { grid-column: 2; grid-row: 1; align-self: center; }
  .mw-mobile .mw-partner-table tr > td[data-mw-cell="1"]::before { display: none; }
  .mw-mobile .mw-partner-table tr > td:is([data-mw-cell="2"],[data-mw-cell="3"],[data-mw-cell="4"],[data-mw-cell="6"]) { font-size: 10px; }
  .mw-mobile .mw-partner-table tr > td[data-mw-cell="5"] { grid-column: 1 / -1; }
  .mw-mobile .mw-partner-table tr > td[data-mw-cell="5"]::before { display: none; }
  .mw-mobile .mw-partner-table tr > td[data-mw-cell="8"] { color: #ef3f50; }
  .mw-mobile .mw-partner-table tr > td[data-mw-cell="9"] { color: #0c2144; font-weight: 800; }
  .mw-mobile .mw-partner-table tr > td[data-mw-cell="10"] { position: absolute; top: 62px; right: 12px; }
  .mw-mobile .mw-partner-table tr > td[data-mw-cell="10"]::before { display: none; }
  .mw-mobile .customer-action-group { display: flex; width: 100%; gap: 7px; justify-content: space-between; border-top: 1px solid #edf2f7; padding-top: 8px; }
  .mw-mobile .customer-action-btn { min-height: 34px; flex: 1; border: 1px solid #dce6ef; border-radius: 6px; }
  .mw-avatar { width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: 50%; color: #3c78cf; background: linear-gradient(140deg,#e1edff,#c4dbff); font-size: 22px; font-weight: 700; flex-shrink: 0; }
  .mw-mobile .mw-payment-table tr.mw-card-row { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px 8px; }
  .mw-mobile .mw-payment-table tr > td:is([data-mw-cell="0"],[data-mw-cell="1"]) { grid-column: span 2; font-weight: 800; font-size: 13px; }
  .mw-mobile .mw-payment-table tr > td:is([data-mw-cell="0"],[data-mw-cell="1"])::before { display: none; }
  .mw-mobile .mw-payment-table tr > td[data-mw-cell="2"] { grid-column: 3; grid-row: 1; color: #7b8ba2; font-size: 10px; }
  .mw-mobile .mw-payment-table tr > td[data-mw-cell="2"]::before { display: none; }
  .mw-mobile .mw-payment-table tr > td:is([data-mw-cell="3"],[data-mw-cell="4"],[data-mw-cell="5"]) { grid-row: 3; font-weight: 800; }
  .mw-mobile .mw-payment-table tr > td[data-mw-cell="5"] { color: #f03f52; }
  .mw-mobile .mw-payment-table tr > td:is([data-mw-cell="6"],[data-mw-cell="7"],[data-mw-cell="8"]) { display: none; }
  .mw-mobile .mw-payment-table tr > td[data-mw-cell="9"] { grid-column: span 2; color: #7b8ba2; font-size: 10px; }
  .mw-mobile .mw-payment-table tr > td[data-mw-cell="9"] small { display: none; }
  .mw-mobile .mw-payment-table tr > td[data-mw-cell="10"] { font-size: 10px; }
  .mw-mobile .mw-payment-table tr > td[data-mw-cell="11"] { grid-column: 1 / -1; }
  .mw-mobile .mw-payment-table .payment-row-actions { display: flex; width: 100%; gap: 6px; }
  .mw-mobile .mw-payment-table .payment-row-actions > button { flex: 1; background: #00878c; color: #fff; }
  .mw-mobile .mw-stock-table tr.mw-card-row { padding-left: 80px; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .mw-mobile .mw-stock-table tr > td[data-mw-cell="1"] { grid-column: 1 / -1; grid-row: 2; font-size: 14px; font-weight: 800; }
  .mw-mobile .mw-stock-table tr > td[data-mw-cell="1"]::before { display: none; }
  .mw-product-thumb { position: absolute; top: 14px; left: 12px; width: 54px; height: 62px; display: grid; place-items: center; border-radius: 8px; background: #f1f5f7; color: #a1b3c4; }
  .mw-product-thumb img { width: 100%; height: 100%; object-fit: contain; border-radius: 8px; }
  .mw-product-thumb svg { width: 28px; height: 28px; }
  .mw-mobile .mw-stock-table tr > td[data-mw-cell="0"] { grid-column: 1; font-size: 10px; color: #73859d; }
  .mw-mobile .mw-stock-table tr > td[data-mw-cell="0"]::before { display: none; }
  .mw-mobile .mw-stock-table tr > td[data-mw-cell="6"] { position: absolute; top: 12px; right: 10px; }
  .mw-mobile .mw-stock-table tr > td[data-mw-cell="6"]::before { display: none; }
  .mw-mobile .mw-stock-table tr > td[data-mw-cell="7"] { grid-column: 1 / -1; }
  .mw-mobile .mw-stock-table tr[data-mw-stock="shortage"] > td[data-mw-cell="5"], .mw-mobile .mw-stock-table tr[data-mw-stock="out"] > td[data-mw-cell="5"] { color: #f13e53; }
  .mw-mobile .mw-po-table tr.mw-card-row { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .mw-mobile .mw-po-table .purchase-order-number { grid-column: 1; font-size: 14px; font-weight: 800; }

  /* Influencer CRM and collaboration forms retain all original actions, photos and approvals. */
  .mw-mobile .crm-page { padding: 0; }
  .mw-mobile .crm-detail { display: none; }
  .mw-mobile .crm-layout.mw-show-crm-detail > .crm-detail { display: block; }
  .mw-mobile .crm-layout.mw-show-crm-detail > :not(.crm-detail) { display: none; }
  .mw-mobile .crm-page-breadcrumb,.mw-mobile .crm-breadcrumb,.mw-mobile .cws-breadcrumb,.mw-mobile .sw-breadcrumb { display: none; }
  .mw-mobile .crm-stat-grid,.mw-mobile .crm-kpis { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .mw-mobile .crm-list { padding: 10px; }
  .mw-mobile .crm-list-toolbar { gap: 8px; font-size: 10px; }
  .mw-mobile .crm-list-toolbar select { min-height: 34px; font-size: 12px; }
  .mw-mobile .mw-crm-table tr.mw-card-row { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; padding: 12px; }
  .mw-mobile .mw-crm-table tr > td[data-mw-cell="0"] { position: absolute; top: 14px; right: 10px; }
  .mw-mobile .mw-crm-table tr > td[data-mw-cell="0"]::before { display: none; }
  .mw-mobile .mw-crm-table tr > td[data-mw-cell="1"] { grid-column: 1 / -1; font-size: 14px; padding-right: 22px; }
  .mw-mobile .mw-crm-table tr > td[data-mw-cell="1"]::before { display: none; }
  .mw-mobile .mw-crm-table tr > td[data-mw-cell="2"] { grid-column: 1 / 3; font-size: 10px; }
  .mw-mobile .mw-crm-table tr > td[data-mw-cell="3"] { grid-column: 3; grid-row: 2; font-size: 10px; }
  .mw-mobile .mw-crm-table tr > td:is([data-mw-cell="2"],[data-mw-cell="3"])::before { display: none; }
  .mw-mobile .mw-crm-table tr > td:is([data-mw-cell="4"],[data-mw-cell="5"],[data-mw-cell="6"]) { grid-row: 3; background: #f4f8fb; padding: 7px; border-radius: 5px; font-size: 11px; }
  .mw-mobile .mw-crm-table tr > td[data-mw-cell="7"] { grid-column: 1 / -1; }
  .mw-mobile .mw-crm-table tr > td[data-mw-cell="8"] { grid-column: 1 / -1; display: flex; justify-content: flex-end; gap: 8px; }
  .mw-mobile .mw-crm-table tr > td[data-mw-cell="8"]::before { display: none; }
  .mw-mobile .crm-profile { gap: 10px; }
  .mw-mobile .crm-avatar { width: 44px; height: 44px; font-size: 17px; }
  .mw-mobile .crm-detail .crm-avatar { width: 58px; height: 58px; font-size: 23px; }
  .mw-mobile .crm-detail :is(.crm-metrics,.crm-tabs) { width: 100%; }
  .mw-mobile .crm-modal { width: 100%; }
  .mw-mobile .crm-form-grid { grid-template-columns: 1fr !important; }
  .mw-mobile .crm-detail dl { display: grid; grid-template-columns: minmax(100px,.8fr) minmax(0,1.2fr); }
  .mw-detail-back { display: inline-flex; gap: 8px; align-items: center; padding: 0 0 12px; color: #18304e; background: transparent; border: 0; font-weight: 750; }
  .mw-detail-back svg { width: 19px; height: 19px; }
  .mw-mobile .bulk-map-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .mw-mobile .bulk-preview-scroll { overflow: auto; max-width: 100%; }
  .mw-mobile .bulk-stat-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .mw-mobile .bulk-stat-grid strong { font-size: 20px; }
  .mw-mobile .bulk-header { padding: 12px; }
  .mw-mobile .bulk-modal footer { position: sticky; bottom: 0; background: #fff; padding: 12px 0; }
  .mw-mobile .influencer-profile-fieldset { padding: 10px; border-radius: 9px; }

  /* Full-screen form sheets with native inputs and fixed, touch-friendly actions. */
  .mw-mobile :is(.modal-backdrop,.schedule-modal-backdrop,.customer-receipts-overlay,.cws-modal-layer,.sw-dialog-backdrop) { padding: 0 !important; inset: 0; align-items: stretch; justify-content: stretch; overflow-y: auto; background: #f5f9fc; overscroll-behavior: contain; }
  .mw-mobile .mw-modal { width: 100% !important; max-width: none !important; min-width: 0 !important; height: auto !important; min-height: 100svh; max-height: none !important; border: 0 !important; border-radius: 0 !important; padding: 0 12px calc(16px + env(safe-area-inset-bottom,0px)) !important; box-shadow: none; background: linear-gradient(170deg,#fff,#f4f9fc); overflow: visible !important; resize: none !important; transform: none !important; }
  .mw-mobile .mw-modal-brand { display: flex; align-items: center; gap: 7px; min-height: 52px; margin: 0 -12px 0; padding: calc(9px + env(safe-area-inset-top,0px)) 12px 10px; background: #fff; border-bottom: 1px solid #e9f0f6; color: #0b2852; position: sticky; top: 0; z-index: 20; }
  .mw-modal-brand > svg { width: 22px; height: 24px; color: #00898c; }
  .mw-modal-brand strong { font-size: 13px; letter-spacing: -.04em; white-space: nowrap; }
  .mw-modal-brand > span { margin-left: auto; padding: 5px 8px; border-radius: 12px; background: #edf4f9; font-size: 10px; color: #36506e; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .mw-mobile .mw-modal :is(.modal-head,.schedule-form-title,.sales-window-bar) { background: transparent; color: var(--mw-ink); padding: 14px 0 12px; margin: 0; min-height: 48px; border: 0; border-radius: 0; }
  .mw-mobile .mw-modal :is(.modal-head,.schedule-form-title,.sales-window-bar) h2 { font-size: 19px; color: var(--mw-ink); font-weight: 800; margin: 0; }
  .mw-mobile .sales-window-bar { display: flex; gap: 10px; }
  .mw-mobile .sales-window-actions { margin-left: auto; }
  .mw-mobile .sales-window-title { min-width: 0; }
  .mw-mobile .sales-title-row,.mw-mobile .sales-star { display: none; }
  .mw-mobile .sales-number-row { padding: 8px 0; background: transparent; }
  .mw-mobile .sales-info-panel { display: grid; grid-template-columns: minmax(0,1fr) !important; gap: 11px; padding: 12px; border-radius: 10px; border: 1px solid var(--mw-line); background: #fff; }
  .mw-mobile .sales-field { display: grid !important; grid-template-columns: minmax(76px,.38fr) minmax(0,1fr) !important; align-items: center; gap: 9px; padding: 0; border: 0; }
  .mw-mobile .sales-field > span { font-size: 11px; color: #334865; }
  .mw-mobile .sales-field :is(input,select,textarea) { min-height: 36px; font-size: 14px; padding: 7px 9px; }
  .mw-mobile .sales-section-title { grid-column: 1 / -1; margin: 6px -5px 0; padding: 8px; background: #f0f6fa; font-size: 12px; color: #213b5a; border-radius: 5px; }
  .mw-mobile .sales-wide-field { grid-column: 1 / -1; }
  .mw-mobile .sales-date-control { display: grid; grid-template-columns: 1.1fr .8fr .8fr auto; gap: 5px; min-width: 0; }
  .mw-mobile .sales-date-control input { min-width: 0; width: 100%; padding: 6px 3px; font-size: 12px; }
  .mw-mobile .sales-field-action { display: flex; min-width: 0; gap: 5px; }
  .mw-mobile .sales-field-action select { width: 100%; }
  .mw-mobile .bank-account-choice { display: flex; flex-wrap: wrap; gap: 5px; }
  .mw-mobile .bank-account-option { font-size: 11px; display: inline-flex; min-width: 0; width: auto; padding: 6px; align-items: center; gap: 4px; }
  .mw-mobile .sales-grid-actions { display: flex; flex-wrap: wrap; padding: 10px 0; gap: 8px; }
  .mw-mobile .sales-file-hint { font-size: 10px; }
  .mw-mobile .sales-grid-actions .btn { flex: 1 1 45%; }
  .mw-mobile .mw-line-table tr.mw-card-row { grid-template-columns: repeat(2,minmax(0,1fr)); border: 1px solid #e1eaf2; background: linear-gradient(145deg,#fff,#f6f9fc); padding: 14px 10px; }
  .mw-mobile .mw-line-table tr.mw-card-row::before { content: attr(data-mw-line); position: absolute; top: 9px; left: 10px; width: 22px; height: 22px; border-radius: 7px; background: #38536d; color: #fff; text-align: center; line-height: 22px; font-size: 11px; font-weight: 800; }
  .mw-mobile .sales-entry-grid.mw-line-table tr > td[data-mw-cell="0"] { position: absolute; top: 7px; right: 8px; }
  .mw-mobile .sales-entry-grid.mw-line-table tr > td:is([data-mw-cell="0"],[data-mw-cell="1"])::before { display: none; }
  .mw-mobile .sales-entry-grid.mw-line-table tr > td[data-mw-cell="1"] { display: none; }
  .mw-mobile .sales-entry-grid.mw-line-table tr > td[data-mw-cell="2"] { grid-column: 1 / -1; margin-top: 30px; }
  .mw-mobile .sales-entry-grid.mw-line-table tr > td[data-mw-cell="3"] { grid-column: 1 / -1; }
  .mw-mobile .mw-line-table td :is(input,select) { min-height: 35px; height: 35px; font-size: 14px; padding: 5px 8px; }
  .mw-mobile .mw-line-table .sales-remark-cell { grid-column: 1 / -1; }
  .mw-mobile .purchase-detail-line-table.mw-line-table tr > td[data-mw-cell="0"] { visibility: hidden; min-height: 23px; }
  .mw-mobile .purchase-detail-line-table.mw-line-table tr > td[data-mw-cell="1"] { grid-column: 1 / -1; }
  .mw-mobile .purchase-detail-line-table.mw-line-table tr > td[data-mw-cell="2"] { grid-column: 1 / -1; font-weight: 800; }
  .mw-mobile .purchase-detail-line-table.mw-line-table tr > td[data-mw-cell="11"] { position: absolute; top: 8px; right: 8px; }
  .mw-mobile .purchase-detail-editor { padding: 0; min-width: 0; border: 0; }
  .mw-mobile .purchase-detail-editor-head p { font-size: 10px; line-height: 1.5; }
  .mw-mobile .purchase-detail-line-totals { display: grid; grid-template-columns: 1fr; gap: 7px; }
  .mw-mobile :is(.purchase-order-detail-modal,.document-view-modal) { min-width: 0 !important; width: 100% !important; }
  .mw-mobile .purchase-order-modal [class*="purchase-detail"] { min-width: 0; max-width: 100%; }
  .mw-mobile .document-view-preview { overflow: auto; background: #fff; max-width: 100%; }
  .mw-mobile .document-view-actions { display: flex; flex-wrap: wrap; gap: 7px; }
  .mw-mobile .document-view-actions .btn { flex: 1 1 40%; }
  .mw-mobile .document-view-languages { display: flex; width: 100%; gap: 5px; }
  .mw-mobile .mw-product-extra { margin-top: 12px; }
  .mw-mobile [data-mw-photo-preview] img { max-width: 140px; max-height: 120px; border-radius: 9px; object-fit: contain; }
  .mw-mobile .influencer-photo-preview img { object-fit: cover; }

  /* Step navigation never clones or replaces inputs or persistence handlers. */
  .mw-mobile form.mw-wizard { display: block !important; width: 100%; padding: 0; }
  .mw-stepper { display: flex; gap: 0; margin: 0 0 16px; padding: 4px 4px 8px; width: 100%; }
  .mw-stepper button { flex: 1 1 0; position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; border: 0; background: transparent; color: #8c9bb0; font-size: 10px; padding: 4px; }
  .mw-stepper button::after { content: ""; height: 1px; background: #d9e3ee; position: absolute; top: 17px; left: calc(50% + 17px); right: calc(-50% + 17px); }
  .mw-stepper button:last-child::after { display: none; }
  .mw-stepper b { display: grid; place-items: center; width: 26px; height: 26px; background: #e8eff5; color: #8495aa; border-radius: 50%; font-size: 12px; z-index: 1; }
  .mw-stepper button.active { color: #007e83; font-weight: 750; }
  .mw-stepper button.active b { background: #00888c; color: #fff; }
  .mw-stepper button.complete b { background: #c7efea; color: #008177; }
  .mw-stepper button.complete::after { background: #00989a; }
  .mw-mobile .mw-wizard-step { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px 10px; margin: 0 0 12px; }
  .mw-mobile .mw-wizard-step > :is(section,div,fieldset,.col-12,.col-8,.span-2) { grid-column: 1 / -1; min-width: 0; }
  .mw-mobile .mw-wizard-step > label { display: grid; gap: 6px; min-width: 0; }
  .mw-mobile .mw-wizard-step > label:has(textarea) { grid-column: 1 / -1; }
  .mw-mobile .mw-original-submit, .mw-mobile .mw-unwrapped-grid { display: none !important; }
  .mw-wizard-footer { position: sticky; bottom: calc(-1px - env(safe-area-inset-bottom,0px)); z-index: 15; display: flex; align-items: center; gap: 8px; padding: 12px 0 calc(12px + env(safe-area-inset-bottom,0px)); background: #f6f9fcef; backdrop-filter: blur(12px); margin: 0; border-top: 1px solid #e4ecf3; }
  .mw-wizard-footer button { min-height: 45px; border-radius: 7px; flex: 1; border: 1px solid #dbe5ef; background: #eef3f8; color: #2e4565; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; font-weight: 750; }
  .mw-wizard-footer button.primary { flex: 1.4; color: #fff; background: linear-gradient(120deg,#009398,#007c80); }
  .mw-wizard-footer button:disabled { opacity: .4; }
  .mw-wizard-footer svg { width: 16px; height: 16px; }
  .mw-document-review { padding: 10px 12px; border: 1px solid #e2eaf3; border-radius: 10px; background: #fff; }
  .mw-document-review h3, .mw-review-options h3 { margin: 0 0 10px; padding: 8px 7px; background: #eef4f9; border-radius: 4px; font-size: 13px; color: #1a3558; }
  .mw-document-review dl { display: grid; gap: 8px; margin: 10px 0 18px; }
  .mw-document-review dl > div { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; }
  .mw-document-review dt { color: #70809a; }
  .mw-document-review dd { margin: 0; font-weight: 750; text-align: right; overflow-wrap: anywhere; }
  .mw-document-review .mw-review-total { color: #ef3f52; font-size: 15px; border-top: 1px solid #e7eef4; padding: 10px 0 0; }
  .mw-review-lines { display: grid; gap: 8px; margin-bottom: 15px; }
  .mw-review-lines article { display: grid; grid-template-columns: 23px minmax(0,1fr) auto; gap: 7px; font-size: 11px; padding: 8px; background: #f6f9fc; border-radius: 5px; }
  .mw-review-lines article > b { grid-row: span 2; }
  .mw-review-lines article > strong { grid-column: 2 / -1; }
  .mw-review-options { padding: 12px; border: 1px solid #e2eaf3; border-radius: 10px; background: #fff; display: flex; flex-wrap: wrap; gap: 10px; }
  .mw-review-options h3 { flex: 1 0 100%; }
  .mw-review-options button { min-height: 36px; padding: 7px 12px; color: #284361; background: #edf4f9; border: 1px solid #dbe5ef; border-radius: 7px; }
  .mw-import-options { width: 100%; padding: 12px; background: #f2f7fb; border-radius: 9px; border: 1px solid #e3ecf4; }
  .mw-import-options h3 { font-size: 13px; margin: 0 0 6px; }
  .mw-import-options p, .mw-import-options small { color: #7989a0; font-size: 10px; line-height: 1.5; }
  .mw-import-options > div { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; margin: 10px 0; }
  .mw-import-options button { padding: 10px 5px; min-height: 66px; border: 1px solid #dce6f0; border-radius: 7px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; background: #fff; color: #213a60; font-size: 11px; }
  .mw-import-options svg { width: 25px; height: 25px; color: #147dec; }

  /* Consolidated collection: genuine foreign-currency input and oldest-first editable allocation. */
  .mw-mobile .cr-panel > header { padding: 14px 0; }
  .mw-mobile .cr-panel > header h2 { font-size: 19px; }
  .mw-mobile .cr-fields { display: grid; grid-template-columns: 1fr !important; }
  .mw-mobile .cr-fields label { min-width: 0; }
  .mw-mobile .cr-fields input, .mw-mobile .cr-fields select { width: 100%; }
  .mw-mobile .cr-summary { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; border-radius: 9px; background: #edf6fa; padding: 12px; }
  .mw-mobile .cr-summary strong { font-size: 15px; }
  .mw-mobile .cr-table-wrap { overflow: visible; }
  .mw-mobile .cr-table-wrap .mw-card-table tr.mw-card-row { gap: 8px; }
  .mw-mobile .cr-table-wrap .mw-card-table td:first-child { grid-column: 1 / -1; font-weight: 800; }
  .mw-mobile .cr-table-wrap .mw-card-table td:nth-child(4) { grid-column: 1 / -1; }
  .mw-mobile .cr-history-item { padding: 12px; border-radius: 10px; }
  .mw-mobile .cr-form > footer { position: sticky; bottom: 0; background: #fff; gap: 8px; padding: 12px 0; }
  .mw-mobile .cr-form > footer button { min-height: 43px; border-radius: 7px; }
  .mw-mobile .cr-form[data-mw-receipt-step="0"] > .mw-receipt-allocation { display: none; }
  .mw-mobile .cr-form[data-mw-receipt-step="1"] > :is(fieldset,.cr-fields,.cr-help,.mw-receipt-next) { display: none; }
  .mw-mobile .cr-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
  .mw-mobile .cr-form[data-mw-receipt-step="1"] > fieldset { display: contents; }
  .mw-mobile .cr-form[data-mw-receipt-step="1"] > fieldset > .cr-fields { display: none; }
  .mw-mobile .cr-form[data-mw-receipt-step="0"] .mw-receipt-allocation { display: none; }
  .mw-receipt-next { display: flex; justify-content: center; align-items: center; gap: 12px; width: 100%; min-height: 44px; margin: 15px 0; border-radius: 7px; font-size: 13px; font-weight: 750; }
  .mw-receipt-next svg { width: 17px; height: 17px; }

  /* Calendar month dots, personal timetable and team cards. */
  .mw-mobile .sw-page { padding: 0; }
  .mw-mobile .sw-page-head { display: flex; flex-wrap: wrap; }
  .mw-mobile .sw-metrics { grid-template-columns: repeat(2,minmax(0,1fr)) !important; order: 2; }
  .mw-mobile .sw-card { padding: 12px; }
  .mw-mobile .sw-calendar { padding: 0; border: 0; }
  .mw-mobile .sw-calendar-controls,.mw-mobile .sw-controls { flex-wrap: wrap; gap: 7px; padding: 10px 0; }
  .mw-mobile .sw-calendar-controls h2,.mw-mobile .sw-controls h2 { font-size: 16px; }
  .mw-mobile .sw-month { min-width: 0; width: 100%; }
  .mw-mobile .sw-month-grid { min-width: 0; width: 100%; display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); }
  .mw-mobile .sw-day { min-height: 53px; height: 58px; padding: 4px 2px; border: 0; overflow: hidden; font-size: 11px; }
  .mw-mobile .sw-day > header { font-size: 12px; justify-content: center; }
  .mw-mobile .sw-month .sw-event { font-size: 0; display: inline-flex; min-width: 5px; min-height: 5px; width: 5px; height: 5px; padding: 0; margin: 1px; border: 0; border-radius: 50%; overflow: hidden; color: transparent; }
  .mw-mobile .sw-month .sw-event::before { display: none; }
  .mw-mobile .sw-weekday { font-size: 11px; padding: 8px 2px; }
  .mw-mobile .sw-week-strip { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 4px; }
  .mw-mobile .sw-week-strip button { min-width: 0; padding: 8px 2px; font-size: 11px; }
  .mw-mobile .sw-rail { display: grid; gap: 12px; }
  .mw-mobile .sw-person-grid { min-width: 0; display: block; overflow: visible; }
  .mw-mobile .sw-person-row { display: block; margin-bottom: 12px; padding: 12px; border: 1px solid #e0eaf2; border-radius: 10px; background: #fff; }
  .mw-mobile .sw-person-label { margin-bottom: 10px; }
  .mw-mobile .sw-person-days { min-height: 80px; overflow: auto; }
  .mw-mobile .sw-person-grid > .sw-week-header { display: none; }
  .mw-mobile .sw-timetable-grid { min-width: 0; }
  .mw-mobile .sw-timetable { overflow: hidden; }
  .mw-mobile .sw-board { display: grid; grid-template-columns: 1fr; min-width: 0; }
  .mw-mobile .sw-team-controls { padding: 10px; }
  .mw-mobile .sw-filter-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .mw-mobile .sw-day-number { font-size: 12px; width: 26px; height: 26px; }
  .mw-mobile .sw-agenda-row { padding: 11px 7px; gap: 10px; border-radius: 7px; font-size: 12px; }
  .mw-mobile .schedule-form { padding: 0; }
  .mw-mobile .schedule-form-grid.two { grid-template-columns: minmax(0,1fr) !important; }
  .mw-mobile .schedule-form-grid.two > * { grid-column: 1 / -1; }
  .mw-mobile .schedule-recurrence-fields { min-width: 0; padding: 12px; }
  .mw-mobile .schedule-weekday-picks { display: flex; flex-wrap: wrap; gap: 5px; }

  /* Campaign preparation, stock reservation, sales/shipping and settlement use existing services. */
  .mw-mobile .cws-top { grid-template-columns: minmax(0,1fr); }
  .mw-mobile .cws-top-layout,.mw-mobile .cws-layout,.mw-mobile .campaign-detail-layout { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .mw-mobile .cws-gantt { min-width: 0; overflow: auto; }
  .mw-mobile .cws-gantt-grid { min-width: 500px; }
  .mw-mobile .cws-table-scroll { overflow: visible; }
  .mw-mobile .cws-metric { padding: 10px; min-height: 74px; }
  .mw-mobile .cws-metric strong { font-size: 18px; }
  .mw-mobile .cws-metric span { font-size: 10px; }
  .mw-mobile .cws-table tr.mw-card-row { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .mw-mobile .cws-table tr > td:first-child { grid-column: 1 / -1; }
  .mw-mobile .cws-stock-footer { display: grid; grid-template-columns: 1fr; gap: 8px; }
  .mw-mobile .campaign-detail-tabs { overflow: auto; display: flex; gap: 5px; width: 100%; }
  .mw-mobile .campaign-detail-tabs button { white-space: nowrap; min-height: 35px; font-size: 12px; }
  .mw-mobile .campaign-detail-hero,.mw-mobile .campaign-detail-card { padding: 12px; }
  .mw-mobile .campaign-workflow-stages { overflow-x: auto; width: 100%; }
  .mw-mobile .campaign-stage { min-width: 60px; }
  .mw-mobile .campaign-kpi-grid,.mw-mobile .campaign-finance-grid,.mw-mobile .settlement-summary-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .mw-mobile .campaign-settlement-form .form-grid { grid-template-columns: 1fr !important; }

  /* Cash, loans, shareholder ledgers, profit, expense and account/approval management. */
  .mw-mobile .cash-flow-tabs { padding: 5px; background: #edf3f8; border-radius: 8px; margin-bottom: 12px; }
  .mw-mobile .cash-flow-tabs button { padding: 8px 13px; }
  .mw-mobile .cash-account-grid,.mw-mobile .cash-opening-grid,.mw-mobile .loan-summary-grid,.mw-mobile .shareholder-finance-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 10px; }
  .mw-mobile .cash-current-balance-card { grid-column: 1 / -1; background: #fff; padding: 16px; }
  .mw-mobile .cash-current-balance-card strong { font-size: 28px; }
  .mw-mobile .cash-account-card { min-width: 0; padding: 14px; }
  .mw-mobile .cash-account-card .amount { font-size: 21px; }
  .mw-mobile .cash-account-card .surface-head { display: flex; }
  .mw-mobile .cash-transfer-preview { grid-template-columns: minmax(0,1fr); }
  .mw-mobile .loan-detail-grid,.mw-mobile .loan-preview-grid,.mw-mobile .loan-terms-grid { grid-template-columns: minmax(0,1fr) !important; }
  .mw-mobile .profit-summary-grid,.mw-mobile .profit-insight-grid,.mw-mobile .profit-chart-grid { grid-template-columns: minmax(0,1fr) !important; }
  .mw-mobile .profit-summary-panel { padding: 12px; }
  .mw-mobile .profit-kpi-value { font-size: 22px; }
  .mw-mobile .profit-modern-chart { min-width: 0; overflow-x: auto; }
  .mw-mobile .profit-modern-summary-table { min-width: 0 !important; }
  .mw-mobile .expense-management-form-card,.mw-mobile .expense-management-list-card { min-width: 0; width: 100%; }
  .mw-mobile #expense-form { padding: 0; }
  .mw-mobile #expense-form .form-actions { position: sticky; bottom: 0; background: #fff; padding: 12px 0; }
  .mw-mobile .shareholder-finance-actions { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 5px; }
  .mw-mobile .shareholder-finance-actions button { font-size: 10px; padding: 8px 5px; }
  .mw-mobile .shareholder-finance-modal .form-grid { grid-template-columns: minmax(0,1fr) !important; }
  .mw-mobile .shareholder-finance-modal .form-grid > * { grid-column: 1 / -1 !important; }
  .mw-mobile .shareholder-allocation-list { padding: 10px; border-radius: 8px; }
  .mw-mobile .settings-form-modern { display: block; }
  .mw-mobile .settings-account-wrap { width: 100%; }
  .mw-mobile .settings-card { margin-bottom: 12px; padding: 12px; }
  .mw-mobile .issuer-company-grid,.mw-mobile .settings-main-grid,.mw-mobile .settings-company-grid { grid-template-columns: minmax(0,1fr) !important; gap: 12px; }
  .mw-mobile .issuer-company-card { min-width: 0; padding: 12px; }
  .mw-settings-tabs { display: flex; width: 100%; gap: 5px; margin: 0 0 14px; overflow-x: auto; }
  .mw-settings-tabs button { display: flex; flex: 1 0 65px; flex-direction: column; align-items: center; gap: 7px; border: 1px solid #dfe8f1; border-radius: 7px; background: #f2f7fa; color: #526b88; padding: 10px 5px; font-size: 10px; max-width: 120px; }
  .mw-settings-tabs svg { width: 21px; height: 21px; }
  .mw-settings-tabs button.active { background: #00888c; color: #fff; border-color: #00888c; }
  .mw-mobile .billing-payment-actions { display: flex; flex-wrap: wrap; gap: 7px; }
  .mw-mobile .tenant-billing-card { padding: 12px; width: 100%; }
  .mw-mobile .tenant-billing-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .mw-mobile .tenant-billing-fields > * { min-width: 0; }
  .mw-mobile .activity-stats-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .mw-mobile .activity-ratio-layout { grid-template-columns: minmax(0,1fr); }
  .mw-mobile .activity-security-card { margin-top: 10px; }
  .mw-mobile .quotation-upload-zone { min-height: 110px; }
  .mw-mobile .quotation-pending-grid,.mw-mobile .quotation-brand-row { display: grid; grid-template-columns: minmax(0,1fr); gap: 10px; }
  .mw-mobile .quotation-file-preview-modal { padding: 12px; }
  .mw-mobile .quotation-file-preview-modal iframe { width: 100%; min-height: 55svh; }
  .mw-mobile .quotation-preview-table-wrap { overflow: auto; }
  .mw-mobile .document-save-feedback { bottom: calc(var(--mw-nav) + 10px); z-index: 14000; }

  /* Home uses current scoped ERP metrics, never demonstration totals. */
  .mw-home { display: block; }
  .mw-home-heading { margin: 4px 0 14px; }
  .mw-home-heading h1 { margin: 0 0 5px; color: #102243; font-size: 21px; font-weight: 850; letter-spacing: -.045em; }
  .mw-home-heading time { color: #7a8aa1; font-size: 11px; }
  .mw-home-kpis { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .mw-kpi { min-width: 0; min-height: 90px; text-align: left; border: 1px solid #e7eef5; border-radius: 10px; padding: 12px 10px; position: relative; background: #fff; color: #13264b; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
  .mw-kpi > span { font-size: 11px; font-weight: 650; }
  .mw-kpi > strong { font-size: clamp(18px,4.9vw,24px); font-weight: 850; letter-spacing: -.04em; line-height: 1.3; }
  .mw-kpi > svg { position: absolute; right: 9px; top: 9px; width: 24px; height: 24px; padding: 3px; border-radius: 6px; background: #edf5ff; color: #1686ed; }
  .mw-kpi.teal > svg { color: #039e86; background: #e5f8f2; }
  .mw-kpi.red > svg { color: #ef4356; background: #fff0f1; }
  .mw-kpi small { color: #8b99ad; font-size: 9px; }
  .mw-kpi small b { color: #039c88; font-weight: 750; margin-left: 3px; }
  .mw-section-label { display: flex; align-items: center; gap: 7px; color: #233b59; font-size: 13px; font-weight: 800; margin: 18px 0 10px; line-height: 1.4; }
  .mw-section-label::before { content: ""; height: 13px; width: 3px; background: #00888c; border-radius: 2px; }
  .mw-section-label svg { width: 18px; height: 18px; }
  .mw-attention-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; }
  .mw-attention-grid button { display: flex; gap: 7px; align-items: center; min-width: 0; border: 0; padding: 11px 8px; border-radius: 8px; background: #fff0f1; color: #ec4159; text-align: left; }
  .mw-attention-grid button.orange { color: #e5821a; background: #fff3df; }
  .mw-attention-grid svg { width: 22px; height: 22px; flex-shrink: 0; }
  .mw-attention-grid span { display: grid; gap: 4px; font-size: 10px; }
  .mw-attention-grid strong { font-size: 16px; }
  .mw-trend { background: #fff; padding: 13px 12px; border: 1px solid #e7eef5; border-radius: 10px; margin-top: 13px; }
  .mw-trend h2 { font-size: 13px; margin: 0 0 12px; font-weight: 800; }
  .mw-trend-chart { display: flex; align-items: stretch; gap: 10px; height: 125px; padding: 6px 3px 0; border-bottom: 1px solid #e2ebf2; background: repeating-linear-gradient(to top,transparent 0 32px,#edf2f7 33px 34px); }
  .mw-trend-column { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; align-items: center; justify-content: flex-end; }
  .mw-trend-column > div { flex: 1; width: 100%; display: flex; align-items: flex-end; justify-content: center; gap: 3px; }
  .mw-trend-column i { display: block; width: 12px; max-width: 40%; background: linear-gradient(#137ff0,#80beff); border-radius: 3px 3px 0 0; }
  .mw-trend-column i.net { background: linear-gradient(#009f91,#99dbca); }
  .mw-trend-column small { font-size: 9px; color: #8190a4; white-space: nowrap; margin-bottom: 4px; }
  .mw-quick-actions { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 7px; margin-bottom: 15px; }
  .mw-quick-actions button { min-width: 0; padding: 11px 3px; background: #fff; border: 1px solid #e5edf4; border-radius: 10px; display: flex; flex-direction: column; align-items: center; gap: 9px; font-size: 10px; color: #243c5d; }
  .mw-quick-actions button > span { width: 36px; height: 36px; display: grid; place-items: center; color: #1686ed; background: #eef6ff; border-radius: 50%; }
  .mw-quick-actions button:nth-child(2) > span { color: #008d91; background: #e5f8f5; }
  .mw-quick-actions button:nth-child(3) > span { color: #7751e8; background: #f0ebff; }
  .mw-quick-actions button:nth-child(4) > span { color: #f04e64; background: #fff0f3; }
  .mw-quick-actions svg { width: 21px; height: 21px; }
  .mw-mobile .mw-dashboard-source > :is(.dashboard-hero,.dashboard-kpi-grid) { display: none; }
  .mw-mobile .mw-dashboard-source > .dashboard-layout { display: block; }
  .mw-mobile .mw-dashboard-source > .dashboard-layout > :not(.mw-home-agenda) { display: none; }
  .mw-mobile .mw-home-agenda { padding: 12px; }
  .mw-mobile .mw-home-agenda .surface-head h2 { font-size: 13px; }

  /* Search, menus, filter and company selection are real routed views and bottom sheets. */
  .mw-layer { position: fixed; z-index: 18000; inset: 0; background: #17304d65; display: flex; align-items: stretch; justify-content: stretch; overscroll-behavior: contain; }
  .mw-sheet { width: 100%; min-width: 0; height: 100svh; display: flex; flex-direction: column; background: linear-gradient(150deg,#fff,#eff6fa); overflow: hidden; }
  .mw-layer-bottom { align-items: flex-end; }
  .mw-layer-bottom .mw-sheet { height: auto; max-height: 92svh; border-radius: 22px 22px 0 0; background: #fff; padding-bottom: env(safe-area-inset-bottom,0px); }
  .mw-sheet-handle { display: none; }
  .mw-layer-bottom .mw-sheet-handle { display: block; width: 40px; height: 4px; border-radius: 4px; margin: 8px auto 1px; background: #c9d5e2; flex: 0 0 4px; }
  .mw-layer-head { display: flex; align-items: center; gap: 8px; min-height: 56px; padding: calc(10px + env(safe-area-inset-top,0px)) 12px 10px; background: #fff; border-bottom: 1px solid #e6eef5; flex-shrink: 0; }
  .mw-layer-bottom .mw-layer-head { padding-top: 7px; border: 0; }
  .mw-layer-head h2 { margin: 0; font-size: 19px; font-weight: 850; letter-spacing: -.04em; color: #102243; }
  .mw-layer-head .mw-icon-button { border: 0; background: transparent; }
  .mw-layer-body { min-height: 0; flex: 1; overflow-y: auto; padding: 14px 12px 22px; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
  .mw-search { display: flex; align-items: center; gap: 8px; min-height: 40px; width: 100%; padding: 0 10px; border: 1px solid #dfe8f1; border-radius: 8px; background: #fff; color: #7e91aa; }
  .mw-search svg { width: 18px; height: 18px; flex: 0 0 18px; }
  .mw-mobile .mw-search input { width: 100%; min-width: 0; height: 38px; min-height: 38px; padding: 5px 0; border: 0; outline: 0; background: transparent; font-size: 13px; box-shadow: none; }
  .mw-search input::placeholder { color: #8d9ab0; }
  .mw-menu-group { margin-top: 16px; }
  .mw-menu-group h3 { display: flex; gap: 6px; font-size: 12px; margin: 0 0 8px; color: #294765; }
  .mw-menu-group h3::before { content: ""; width: 3px; background: #008b8e; border-radius: 2px; }
  .mw-menu-group > div { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
  .mw-menu-item { display: flex; align-items: center; gap: 8px; text-align: left; min-height: 58px; min-width: 0; border: 1px solid #e2ebf3; border-radius: 9px; background: #fff; padding: 10px 8px; color: #233a60; font-size: 12px; font-weight: 700; }
  .mw-menu-item > svg:first-child { width: 28px; height: 28px; padding: 5px; border-radius: 6px; background: #e8f7f5; color: #008b8e; flex: 0 0 28px; }
  .mw-menu-item > span { flex: 1; min-width: 0; }
  .mw-menu-item > svg:last-child { width: 13px; height: 13px; color: #8b9eb5; flex: 0 0 13px; }
  .mw-menu-group:nth-of-type(2n) .mw-menu-item > svg:first-child { background: #edf4ff; color: #2488f3; }
  .mw-menu-group:nth-of-type(3n) .mw-menu-item > svg:first-child { background: #f1ebff; color: #8e62e9; }
  .mw-search-count { font-size: 11px; color: #7f90a7; padding: 13px 0 5px; }
  .mw-search-group { margin: 10px 0 17px; }
  .mw-search-group h3 { color: #243f60; border-left: 3px solid #008b8e; padding-left: 7px; font-size: 12px; }
  .mw-search-result { display: flex; align-items: center; gap: 8px; width: 100%; min-width: 0; min-height: 48px; padding: 10px 7px; text-align: left; border: 0; border-bottom: 1px solid #e6eef5; background: #fff; color: #29425f; font-size: 12px; }
  .mw-search-result > span { flex: 1; min-width: 0; }
  .mw-search-result strong,.mw-search-result small { display: block; }
  .mw-search-result strong { font-size: 12px; color: #152e4f; }
  .mw-search-result small { margin-top: 4px; color: #8b9ab0; font-size: 10px; line-height: 1.5; }
  .mw-search-result > b { font-size: 11px; white-space: nowrap; }
  .mw-search-result > svg { width: 19px; height: 19px; flex-shrink: 0; }
  .mw-search-result > svg:last-child { width: 13px; height: 13px; color: #8b9eb5; }
  .mw-company-option { width: 100%; display: flex; align-items: center; text-align: left; gap: 12px; padding: 13px 11px; border: 1px solid #e1eaf2; border-radius: 10px; background: #fff; margin-bottom: 10px; color: #28405c; font-size: 13px; }
  .mw-company-option.active { border-color: #cce7e7; background: linear-gradient(120deg,#eefaf9,#f6fbfd); }
  .mw-company-option > span:nth-child(2) { flex: 1; min-width: 0; overflow-wrap: anywhere; }
  .mw-company-option > strong { font-size: 10px; color: #008c8f; flex-shrink: 0; }
  .mw-company-option > svg { width: 15px; height: 15px; color: #8197af; }
  .mw-company-symbol { width: 36px; height: 36px; border-radius: 8px; background: #e8f2f8; display: grid; place-items: center; flex: 0 0 36px; }
  .mw-company-symbol svg { width: 24px; height: 24px; }
  .mw-language-options { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 7px; }
  .mw-language-options button { min-height: 36px; padding: 6px 4px; font-size: 11px; border: 1px solid #dce6ef; border-radius: 7px; background: #fff; color: #526883; }
  .mw-language-options button.active { color: #fff; border-color: #00858a; background: #00888c; }
  .mw-profile-link { display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 22px; padding: 14px 12px; border: 0; border-radius: 10px; background: #edf5fa; color: #29425e; text-align: left; font-weight: 750; font-size: 13px; }
  .mw-profile-link svg:first-child { width: 29px; height: 29px; padding: 4px; border-radius: 50%; background: #d5eaf8; color: #328cc8; }
  .mw-profile-link svg:last-child { margin-left: auto; width: 14px; height: 14px; }
  .mw-profile-link > span { flex: 1; }
  .mw-filter-toolbar { display: flex; gap: 7px; margin-bottom: 10px; min-width: 0; }
  .mw-filter-source { display: none !important; }
  .mw-filter-in-sheet { display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 14px 10px; padding: 0 !important; margin: 0 !important; width: 100%; border: 0 !important; box-shadow: none !important; }
  .mw-filter-in-sheet > * { width: auto !important; min-width: 0 !important; }
  .mw-filter-in-sheet > :is(.actions,.form-actions) { grid-column: 1 / -1; }
  .mw-filter-in-sheet label > span { font-size: 11px; }
  .mw-mobile .mw-filter-in-sheet select, .mw-mobile .mw-filter-in-sheet input { width: 100%; min-height: 40px; font-size: 14px; }
  .mw-sheet-actions { display: flex; gap: 8px; padding: 15px 0 0; margin-top: 12px; border-top: 1px solid #e6edf4; }
  .mw-sheet-actions button { flex: 1; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid #dce6ef; border-radius: 8px; background: #f4f8fb; color: #405979; font-size: 13px; font-weight: 750; }
  .mw-sheet-actions svg { width: 17px; height: 17px; }
  .mw-segments { display: flex; gap: 5px; width: 100%; min-width: 0; overflow-x: auto; padding: 3px 0; margin: 0 0 10px; scrollbar-width: none; }
  .mw-segments button { flex: 0 0 auto; min-height: 33px; padding: 7px 11px; border: 1px solid #dfe8f1; border-radius: 15px; background: #fff; color: #506783; font-size: 11px; white-space: nowrap; }
  .mw-segments button.active { background: #00888c; color: #fff; border-color: #00888c; }
  .mw-note { color: #7487a0; font-size: 11px; line-height: 1.7; padding: 10px 12px; background: #eff7fd; border: 1px solid #ddebf8; border-radius: 8px; }
  .mw-empty { font-size: 12px; color: #8697ac; text-align: center; padding: 24px 12px; }
  .mw-notices { display: grid; gap: 11px; }
  .mw-notice { display: flex; gap: 10px; border: 1px solid #e0eaf3; border-left: 3px solid #00989b; border-radius: 9px; padding: 13px 10px; background: #fff; }
  .mw-notice.read { opacity: .65; }
  .mw-notice > div { flex: 1; min-width: 0; }
  .mw-notice strong { font-size: 13px; line-height: 1.5; color: #173455; }
  .mw-notice p { margin: 5px 0; color: #7589a2; line-height: 1.6; font-size: 11px; }
  .mw-notice small { font-size: 10px; color: #90a0b5; }
  .mw-notice footer { display: flex; justify-content: flex-end; gap: 7px; margin-top: 8px; }
  .mw-notice footer button { min-height: 31px; padding: 6px 11px; border: 1px solid #dce6ef; border-radius: 7px; background: #f5f8fc; color: #58708e; font-size: 10px; }
  .mw-notice footer button:last-child { background: #00888c; color: #fff; border-color: #00888c; }
  .mw-round-icon { width: 32px; height: 32px; display: grid; place-items: center; flex: 0 0 32px; border-radius: 50%; background: #e4f6f2; color: #008f89; }
  .mw-round-icon svg { width: 19px; height: 19px; }
  body.mw-mobile.mw-layer-open { overflow: hidden; }
}
@media screen and (max-width: 360px) {
  .mw-mobile .mw-header-search { display: none; }
  .mw-mobile .mw-company { max-width: 104px; font-size: 9px; }
  .mw-mobile .mw-brand strong { font-size: 12px; }
  .mw-mobile .mw-header { gap: 4px; padding-left: 10px; padding-right: 10px; }
  .mw-mobile #main { padding-left: 9px; padding-right: 9px; }
  .mw-mobile .mw-kpi > strong { font-size: 18px; }
  .mw-mobile .mw-menu-group > div { gap: 5px; }
  .mw-mobile .mw-menu-item { font-size: 11px; gap: 5px; padding: 8px 6px; }
}
@media (prefers-reduced-motion: reduce) { .mw-mobile * { scroll-behavior: auto !important; animation: none !important; transition-duration: 0s !important; } }
@media print {
  #mw-header,#mw-bottom-nav,#mw-layer,.mw-modal-brand,.mw-wizard-footer,.mw-home { display: none !important; }
  body.mw-mobile .mw-wizard-step[hidden] { display: block !important; }
}

@media screen and (max-width:800px) { .mw-mobile .mw-campaign-review {padding:12px;border:1px solid #e2eaf3;border-radius:10px;background:#fff} .mw-mobile .mw-campaign-review h3 {font-size:14px} .mw-mobile .mw-campaign-review dl>div {display:grid;grid-template-columns:1fr 1.3fr;gap:10px;font-size:12px;margin:8px 0} .mw-mobile .mw-campaign-review dt {color:#7e90a6} .mw-mobile .mw-campaign-review dd {margin:0;overflow-wrap:anywhere} }

@media screen and (max-width:800px) { .mw-mobile .mw-dashboard-source > :is(.dashboard-hero,.dashboard-kpi-grid) { display:none !important; } .mw-mobile .cr-form[data-mw-receipt-step="1"] .mw-receipt-next {display:none;} .mw-mobile .mw-card-table td {min-height:0 !important;} }

@media screen and (max-width:800px) {
  .mw-mobile :is(.modal-backdrop,.schedule-modal-backdrop,.customer-receipts-overlay,.cws-modal-layer,.sw-dialog-backdrop) {z-index:12000 !important;}
  .mw-mobile .mw-line-table tr.mw-card-row {display:grid !important;grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:10px 12px !important;}
  .mw-mobile .mw-line-table tr.mw-card-row > td {grid-column:auto; min-height:0 !important;}
  .mw-mobile .sales-entry-grid.mw-line-table tr > td:is([data-mw-cell="2"],[data-mw-cell="3"]) {grid-column:1 / -1 !important;}
  .mw-mobile .sales-entry-grid.mw-line-table tr > td:last-child {grid-column:1 / -1 !important;}
  .mw-mobile .mw-line-table input {font-size:14px !important;height:36px !important;min-height:36px !important;}
  .mw-mobile .sales-entry-grid .sales-money-input {display:flex;align-items:center;gap:4px;}
  .mw-mobile .sales-entry-grid .sales-money-input > span {font-size:11px;color:#7c8fa7;}
  .mw-mobile .mw-line-table td::before {font-size:10px;}
  .mw-mobile .mw-line-table .mw-card-row[hidden] {display:none !important;}
  .mw-mobile .mw-mobile-cost-copy {flex-basis:100%;}
}

@media screen and (max-width:800px) { .mw-mobile .cr-form[data-mw-receipt-step="1"] > fieldset {display:block !important;} }

@media screen and (max-width:800px) {
 .mw-mobile .sales-window-actions .icon {color:#294565 !important;}
 .mw-mobile .issuer-toggle {display:flex;gap:5px;width:100%;padding:4px;background:#edf4f9;border:1px solid #dfe8f1;border-radius:7px;}
 .mw-mobile .issuer-toggle-button {flex:1;min-height:35px;padding:7px;border:0;border-radius:5px;background:transparent;color:#5d7391;font-size:11px;}
 .mw-mobile .issuer-toggle-button.active {color:#fff;background:#00888c;}
 .mw-mobile .sales-date-control.mw-date-native {display:block !important;}
 .mw-mobile .sales-date-control.mw-date-native > :not(.mw-native-doc-date) {display:none !important;}
 .mw-mobile .sales-date-control.mw-date-native .mw-native-doc-date {display:block;width:100%;height:38px;font-size:14px;}
 .mw-mobile .sw-calendar-scroll,.mw-mobile .sw-month {min-width:0 !important;overflow:visible !important;width:100%;}
 .mw-mobile .sw-week-head {display:grid;grid-template-columns:repeat(7,minmax(0,1fr));}
 .mw-mobile .sw-week-head > span {min-width:0;padding:8px 2px;text-align:center;font-size:10px;}
 .mw-mobile .sw-month-cell {min-height:54px !important;height:58px;padding:4px 2px;border:0;display:flex;flex-direction:column;align-items:center;overflow:hidden;}
 .mw-mobile .sw-cell-events {display:flex;gap:3px;justify-content:center;max-width:100%;height:9px;overflow:hidden;}
 .mw-mobile .sw-cell-events > button {min-width:5px;max-width:5px;min-height:5px;height:5px;width:5px;margin:0;padding:0;border:0;border-radius:50%;font-size:0;overflow:hidden;background:var(--sw-color,#3b82f6);}
 .mw-mobile .sw-cell-events > button > :not(i) {display:none;}
 .mw-mobile .mw-logout {width:100%;margin-top:12px;color:#7b8fa7;background:#f5f8fb;display:flex;align-items:center;justify-content:center;gap:9px;}
 .mw-mobile .mw-logout svg {width:16px;height:16px;}
}

@media(max-width:800px){body.mw-mobile .documents-page .ops-title-row [data-action="toggle-document-filter-panel"]{display:none!important}}

@media(max-width:800px){body.mw-mobile .mw-line-trend svg{display:block;width:100%;height:auto;max-height:180px}body.mw-mobile .mw-chart-legend{display:flex;justify-content:center;gap:15px;color:#71839b;font-size:10px}body.mw-mobile .mw-chart-legend span{display:flex;align-items:center;gap:4px}body.mw-mobile .mw-chart-legend i{width:6px;height:6px;border-radius:50%}}


/* Screen-specific mobile composition. Native actions and form controls are retained. */
body:not(.mw-mobile) :is(.mw-action-overflow,.mw-v2-document,.mw-document-downloads,.mw-document-footer,.mw-settings-language,.mw-action-caption,.mw-event-time,.mw-person-empty){display:none!important}
@media screen and (max-width:800px){
 body.mw-mobile{font-weight:400;line-height:1.5;word-break:normal}
 body.mw-mobile.mw-has-modal{overflow:hidden}
 body.mw-mobile #main{padding:12px 12px calc(var(--mw-nav) + 20px)}
 body.mw-mobile #main :is(.mw-page-heading,.surface-head,.settings-card-head,.sw-card-head){flex-direction:row!important;align-items:center!important;justify-content:space-between!important;text-align:left!important;gap:8px;min-width:0}
 body.mw-mobile #main .mw-page-heading{display:flex!important;align-items:flex-start!important;flex-wrap:nowrap!important;margin-bottom:14px!important}
 body.mw-mobile #main .mw-page-heading>div:first-child{flex:1 1 auto;min-width:0;width:auto!important;text-align:left!important}
 body.mw-mobile #main .mw-page-heading h1{font-size:22px!important;line-height:1.3!important;letter-spacing:-.04em;margin:0!important;word-break:keep-all;overflow-wrap:break-word}
 body.mw-mobile #main .mw-page-heading p{display:none!important}
 body.mw-mobile #main .mw-page-heading>.toolbar,
 body.mw-mobile #main .mw-page-heading>:is(.page-actions,.crm-actions,.cws-page-actions,.sw-page-actions){display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-end!important;flex-wrap:nowrap!important;width:auto!important;flex:0 1 auto;gap:6px;margin:0!important}
 body.mw-mobile #main .mw-page-heading .mw-header-secondary{display:none!important}
 body.mw-mobile #main .mw-page-heading .mw-header-primary{display:inline-flex!important;min-width:0;min-height:36px!important;padding:7px 10px!important;max-width:150px;font-size:11px!important;line-height:1.35!important;white-space:normal!important}
 body.mw-mobile #main .mw-page-heading .mw-action-overflow{display:grid;flex:0 0 32px;width:32px;min-width:32px;height:36px;font-weight:800;font-size:18px}
 body.mw-mobile #main :is(h2,h3){word-break:keep-all;overflow-wrap:break-word}
 body.mw-mobile #main :is(.surface-head,.settings-card-head,.sw-card-head) h2{font-size:15px!important;line-height:1.4!important;margin:0!important}
 body.mw-mobile #main .mw-compact-pager{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-end!important;flex-wrap:wrap!important;gap:5px!important;width:auto!important;min-width:0!important;margin:0!important;padding:5px 0!important}
 body.mw-mobile #main .mw-compact-pager>:is(div,span,label,button){width:auto!important;min-width:0!important;flex:0 0 auto!important;margin:0!important;font-size:10px!important}
 body.mw-mobile #main .mw-compact-pager>label{display:flex!important;align-items:center!important;gap:4px!important}
 body.mw-mobile #main .mw-compact-pager>label>span{display:none!important}
 body.mw-mobile #main .mw-compact-pager select{width:55px!important;min-height:30px!important;height:30px!important;font-size:11px!important;padding:3px 6px!important}
 body.mw-mobile #main .mw-compact-pager button{min-height:30px!important;padding:4px 7px!important;min-width:30px!important;line-height:1.2!important}
 body.mw-mobile #main :is(.document-list-header,.partners-list-header,.payment-status-list-header){display:flex!important;flex-direction:row!important;align-items:center;flex-wrap:wrap;gap:7px;margin-bottom:8px}
 body.mw-mobile #main :is(.document-list-header,.partners-list-header,.payment-status-list-header)>h2{margin-right:auto!important}
 body.mw-mobile #main .document-list-header .mw-compact-pager{margin-left:auto!important}
 body.mw-mobile #main .ops-stat-card{display:flex!important;align-items:center;gap:9px!important;min-height:76px!important;min-width:0!important;padding:12px!important;overflow:visible!important}
 body.mw-mobile #main .ops-stat-card>div:last-child{min-width:0;flex:1}
 body.mw-mobile #main .ops-stat-card :is(p,small){font-size:10px!important;line-height:1.45!important;margin:0 0 4px!important;word-break:keep-all}
 body.mw-mobile #main .ops-stat-card strong{display:block;font-size:18px!important;line-height:1.35!important;white-space:normal!important;overflow-wrap:break-word;font-variant-numeric:tabular-nums}
 body.mw-mobile #main .ops-stat-card .mw-desktop-trend{display:none!important}
 body.mw-mobile #main .ops-stat-card .ops-stat-icon{width:30px;height:32px;min-width:30px;padding:6px;flex:0 0 30px}
 body.mw-mobile #main .ops-stat-card .ops-stat-icon .icon{width:18px;height:18px}
 body.mw-mobile #main .documents-page .ops-stat-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
 body.mw-mobile #main .documents-page .ops-stat-card{display:block!important;padding:10px 7px!important;min-height:68px!important;background:#fff}
 body.mw-mobile #main .documents-page .ops-stat-card:nth-child(2){background:#eef6ff}
 body.mw-mobile #main .documents-page .ops-stat-card:nth-child(3){background:#fff0f1}
 body.mw-mobile #main .documents-page .ops-stat-card:nth-child(4){background:#ecf9f2}
 body.mw-mobile #main .documents-page .ops-stat-card .ops-stat-icon{display:none!important}
 body.mw-mobile #main .documents-page .ops-stat-card p{font-size:9px!important;white-space:normal!important}
 body.mw-mobile #main .documents-page .ops-stat-card strong{font-size:14px!important;letter-spacing:-.04em}
 body.mw-mobile #main .purchase-orders-page .ops-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.mw-mobile #main .purchase-orders-page .ops-stat-card:first-child,
 body.mw-mobile #main .purchase-orders-page .ops-stat-card:last-child{display:none!important}
 body.mw-mobile #main .purchase-orders-page .ops-stat-card:nth-child(6){grid-column:1/-1}
 body.mw-mobile #main :is(.ops-side,.ops-aside){margin-top:0}
 body.mw-mobile #main :is(.documents-page,.partners-page,.payment-status-page) .ops-side{display:none!important}
 body.mw-mobile #main :is(.ops-card,.surface):has(>.mw-card-table),
 body.mw-mobile #main :is(.ops-card,.surface):has(>.table-wrap>.mw-card-table){padding:10px!important}
 body.mw-mobile #main :is(.table-wrap,.crm-table-scroll):has(.mw-card-table){padding:0!important;margin:0!important;overflow:visible!important;max-width:100%}
 body.mw-mobile #app table.mw-card-table{display:block!important;width:100%!important;min-width:0!important;max-width:none!important;border:0!important;table-layout:auto!important}
 body.mw-mobile #app table.mw-card-table>thead,
 body.mw-mobile #app table.mw-card-table>colgroup{display:none!important}
 body.mw-mobile #app table.mw-card-table>tbody{display:grid!important;gap:10px!important;width:100%!important}
 body.mw-mobile #app table.mw-card-table tr.mw-card-row{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;padding:13px 12px;min-width:0!important;min-height:0!important;width:100%!important;position:relative;border:1px solid #e4ecf3;border-radius:10px;background:#fff}
 body.mw-mobile #app table.mw-card-table tr.mw-card-row>td{display:block;position:static;float:none!important;min-width:0!important;width:auto!important;max-width:none!important;padding:0!important;margin:0;white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important;line-height:1.5!important;font-size:12px!important;box-shadow:none!important;transform:none!important}
 body.mw-mobile #app table.mw-card-table tr.mw-card-row>td::before{font-size:10px!important;font-weight:400!important;line-height:1.4!important;letter-spacing:0!important}
 body.mw-mobile #app #main table.mw-doc-table tr.mw-card-row{grid-template-columns:minmax(0,1fr) minmax(0,.85fr)!important;grid-template-areas:"status date" "number number" "customer total" "product due" "profit profit";gap:6px 12px!important;padding:12px!important}
 body.mw-mobile #app #main table.mw-doc-table tr.mw-card-row>td{position:static!important;grid-row:auto!important;grid-column:auto!important;min-height:0!important}
 body.mw-mobile #app #main table.mw-doc-table tr.mw-card-row>td::before{display:none!important}
 body.mw-mobile #app #main table.mw-doc-table tr.mw-card-row>.document-no-cell{grid-area:number!important;font-size:12px!important}
 body.mw-mobile #app #main table.mw-doc-table tr.mw-card-row>.document-date-cell{grid-area:date!important;text-align:right!important;margin-right:22px!important;font-size:10px!important;color:#7889a1}
 body.mw-mobile #app #main table.mw-doc-table tr.mw-card-row>.document-customer-cell{grid-area:customer!important;font-size:14px!important;font-weight:750}
 body.mw-mobile #app #main table.mw-doc-table tr.mw-card-row>.document-product-cell{grid-area:product!important;color:#71829a;font-size:11px!important}
 body.mw-mobile #app #main table.mw-doc-table tr.mw-card-row>td[data-mw-cell="4"]{grid-area:status!important}
 body.mw-mobile #app #main table.mw-doc-table tr.mw-card-row>td[data-mw-cell="5"]{grid-area:total!important;text-align:right!important;font-size:16px!important;font-weight:800}
 body.mw-mobile #app #main table.mw-doc-table tr.mw-card-row>td[data-mw-cell="6"]{grid-area:due!important;text-align:right!important;font-size:11px!important;color:#f04452}
 body.mw-mobile #app #main table.mw-doc-table tr.mw-card-row>td[data-mw-cell="6"]::before{content:attr(data-mw-label);display:inline!important;margin-right:5px;color:inherit}
 body.mw-mobile #app #main table.mw-doc-table tr.mw-card-row>.document-profit-cell{grid-area:profit!important;display:flex!important;align-items:center;justify-content:space-between;gap:8px;padding-top:8px!important;border-top:1px solid #edf2f7;margin-top:2px!important;font-size:11px!important;color:#008675}
 body.mw-mobile #app #main table.mw-doc-table tr.mw-card-row>.document-profit-cell::before{content:attr(data-mw-label);display:block!important;float:none!important;margin:0;color:#72829b}
 body.mw-mobile #app #main table.mw-doc-table tr.mw-card-row>.document-action-cell{position:absolute!important;inset:7px 5px auto auto!important;width:24px!important;height:28px}
 body.mw-mobile #app #main table.mw-doc-table :is(.link-button,.document-more-btn){display:inline!important;min-height:0!important;height:auto!important;min-width:0!important;width:auto!important;padding:0!important;margin:0!important;border:0!important;line-height:1.4!important;font-size:inherit!important;white-space:normal!important;text-align:left!important}
 body.mw-mobile #app #main table.mw-doc-table .document-more-btn{display:grid!important;place-items:center;width:24px!important;height:28px!important}
 body.mw-mobile #app #main .document-status-badge{display:inline-flex!important;align-items:center;padding:3px 7px!important;min-width:0!important;width:auto!important;min-height:0!important;height:auto!important;font-size:10px!important;line-height:1.4!important;border:0;border-radius:6px}
 body.mw-mobile #app #main table.mw-partner-table tr.mw-card-row{grid-template-columns:minmax(0,1fr) auto!important;grid-template-areas:"name type" "country status" "date date" "due due" "profit profit" "actions actions";padding:13px!important;gap:5px 10px!important}
 body.mw-mobile #app #main table.mw-partner-table tr.mw-card-row>td{position:static!important;grid-column:auto!important;grid-row:auto!important;font-size:12px!important}
 body.mw-mobile #app #main table.mw-partner-table tr.mw-card-row>td[data-mw-cell="0"]{grid-area:name!important;display:flex!important;gap:9px;align-items:center;font-size:15px!important}
 body.mw-mobile #app #main table.mw-partner-table .customer-name-button{min-width:0!important;width:auto!important;max-width:none!important;flex:1;min-height:0!important;padding:0!important;line-height:1.4!important;font-size:15px!important;text-align:left!important;overflow-wrap:break-word!important;word-break:normal!important}
 body.mw-mobile #app #main table.mw-partner-table tr.mw-card-row>td[data-mw-cell="1"]{grid-area:type!important;align-self:center}
 body.mw-mobile #app #main table.mw-partner-table tr.mw-card-row>td:is([data-mw-cell="2"],[data-mw-cell="3"],[data-mw-cell="4"],[data-mw-cell="6"]){display:none!important}
 body.mw-mobile #app #main table.mw-partner-table tr.mw-card-row>td[data-mw-cell="5"]{grid-area:country!important;padding-left:49px!important}
 body.mw-mobile #app #main table.mw-partner-table tr.mw-card-row>td[data-mw-cell="7"]{grid-area:date!important}
 body.mw-mobile #app #main table.mw-partner-table tr.mw-card-row>td[data-mw-cell="8"]{grid-area:due!important;color:#f04452}
 body.mw-mobile #app #main table.mw-partner-table tr.mw-card-row>td[data-mw-cell="9"]{grid-area:profit!important;font-weight:700}
 body.mw-mobile #app #main table.mw-partner-table tr.mw-card-row>td[data-mw-cell="10"]{grid-area:status!important;justify-self:end}
 body.mw-mobile #app #main table.mw-partner-table tr.mw-card-row>td[data-mw-cell="11"]{grid-area:actions!important;margin-top:5px!important}
 body.mw-mobile #app #main table.mw-partner-table tr.mw-card-row>td:is([data-mw-cell="0"],[data-mw-cell="1"],[data-mw-cell="5"],[data-mw-cell="10"],[data-mw-cell="11"])::before{display:none!important}
 body.mw-mobile #app #main table.mw-partner-table tr.mw-card-row>td:is([data-mw-cell="7"],[data-mw-cell="8"],[data-mw-cell="9"]){display:flex!important;justify-content:space-between;gap:10px}
 body.mw-mobile #app #main table.mw-partner-table tr.mw-card-row>td:is([data-mw-cell="7"],[data-mw-cell="8"],[data-mw-cell="9"])::before{margin:0!important}
 body.mw-mobile #app #main .customer-action-group{display:flex!important;gap:6px!important;flex-wrap:nowrap!important;padding-top:8px!important}
 body.mw-mobile #app #main .customer-action-btn{display:inline-flex!important;align-items:center;justify-content:center;flex:1 1 0!important;min-width:0!important;min-height:32px!important;padding:5px!important;gap:4px;font-size:11px!important}
 body.mw-mobile #app #main .customer-action-btn:has(.mw-action-caption) .icon{display:none!important}
 body.mw-mobile #app #main .customer-action-btn:last-child{flex:0 0 32px!important}
 body.mw-mobile #app #main .mw-avatar{width:40px;height:40px;font-size:21px;flex:0 0 40px}
 body.mw-mobile #app #main table.mw-stock-table tr.mw-card-row{padding-left:79px!important}
 body.mw-mobile #app #main table.mw-stock-table tr.mw-card-row>td[data-mw-cell="1"]{grid-column:1/-1!important;font-size:14px!important;font-weight:750}
 body.mw-mobile #app #main table.mw-stock-table tr.mw-card-row>td[data-mw-cell="6"]{position:absolute!important;right:10px;top:12px;max-width:105px!important}
 body.mw-mobile #app #main .mw-product-thumb{position:absolute!important;left:12px;top:15px;width:52px;height:62px}
 body.mw-mobile #app #main table.mw-payment-table tr.mw-card-row{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 body.mw-mobile #app #main table.mw-crm-table tr.mw-card-row{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 body.mw-mobile #app #main table.mw-crm-table tr.mw-card-row>td[data-mw-cell="0"]{position:absolute!important;top:13px;right:10px}
 body.mw-mobile #app #main table.mw-crm-table tr.mw-card-row>td[data-mw-cell="1"]{grid-column:1/-1!important;padding-right:25px!important}
 body.mw-mobile #app #main .crm-profile{display:flex!important;align-items:center;gap:9px!important}
 body.mw-mobile #app #main .crm-profile>div{min-width:0}
 body.mw-mobile #app #main .crm-profile :is(strong,small){max-width:none;white-space:normal;word-break:normal;overflow-wrap:break-word}
 body.mw-mobile #app .mw-modal .mw-detail-heading{display:flex!important;flex-direction:row!important;justify-content:space-between!important;align-items:flex-start!important;gap:12px!important;padding:14px 0!important;margin:0!important;text-align:left!important}
 body.mw-mobile #app .mw-modal .mw-detail-heading>:first-child{min-width:0}
 body.mw-mobile #app .mw-modal .mw-detail-heading :is(h2,h3){font-size:19px!important;line-height:1.4!important;text-align:left!important;margin:0!important;word-break:keep-all;overflow-wrap:break-word}
 body.mw-mobile #app .mw-modal .mw-detail-heading p{font-size:11px!important;line-height:1.5!important;margin:4px 0 0!important}
 body.mw-mobile #app .mw-modal .mw-detail-heading>.icon-btn{margin:0!important;flex:0 0 34px;min-width:34px;width:34px;height:34px;min-height:34px;padding:6px!important}
 body.mw-mobile #app .mw-modal .icon-btn svg{width:19px;height:19px}
 body.mw-mobile #app .mw-detail-form{min-width:0}
 body.mw-mobile #app .mw-detail-form:is(.form-grid,.schedule-form-grid),body.mw-mobile #app .mw-detail-form :is(.form-grid,.schedule-form-grid){display:grid;grid-template-columns:minmax(0,1fr)!important;gap:12px!important;min-width:0!important}
 body.mw-mobile #app .mw-detail-form :is(.mw-aligned-field,.mw-stacked-field,.mw-complex-field){grid-column:1/-1!important;min-width:0!important;width:100%!important;max-width:none!important;margin:0!important}
 body.mw-mobile #app .mw-detail-form .mw-aligned-field{display:grid!important;grid-template-columns:minmax(84px,.37fr) minmax(0,1fr)!important;align-items:center!important;gap:9px!important}
 body.mw-mobile #app .mw-detail-form .mw-aligned-field>span:first-child{font-size:11px!important;line-height:1.5!important;word-break:keep-all;overflow-wrap:break-word;max-width:100%;margin:0!important}
 body.mw-mobile #app .mw-detail-form .mw-stacked-field{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:6px!important}
 body.mw-mobile #app .mw-detail-form .mw-choice-field{display:flex!important;align-items:center!important;flex-wrap:wrap;gap:7px!important;grid-column:auto;min-width:0;line-height:1.5}
 body.mw-mobile #app .mw-detail-form .mw-choice-field input{flex:0 0 18px;margin:0!important}
 body.mw-mobile #app .mw-detail-form .mw-choice-field span{font-size:12px!important}
 body.mw-mobile #app .mw-detail-form :is(input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea){width:100%!important;max-width:100%!important;min-width:0!important;font-weight:450!important;font-size:14px!important;line-height:1.5!important}
 body.mw-mobile #app .mw-detail-form input:disabled{color:#74869d}
 body.mw-mobile #app .mw-detail-form .mw-aligned-field>:is(div,section){min-width:0!important}
 body.mw-mobile #app .mw-detail-form .form-actions,
 body.mw-mobile #app .mw-detail-form .modal-actions{grid-column:1/-1!important;display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;gap:8px!important;position:sticky;bottom:0;z-index:18;background:#f6f9fc;padding:12px 0!important;margin-top:10px!important;border-top:1px solid #e4ecf3}
 body.mw-mobile #app .mw-detail-form :is(.form-actions,.modal-actions)>.btn{min-width:0!important;width:auto!important;flex:1 1 0!important;min-height:42px!important}
 body.mw-mobile #app form.mw-wizard .mw-wizard-step{grid-template-columns:minmax(0,1fr)!important;gap:12px!important}
 body.mw-mobile #app .sales-info-panel{padding:12px!important;gap:12px!important;border-radius:10px!important}
 body.mw-mobile #app .sales-field{grid-template-columns:minmax(83px,.36fr) minmax(0,1fr)!important;gap:9px!important}
 body.mw-mobile #app .sales-field>span{font-size:11px!important;line-height:1.5!important;font-weight:600}
 body.mw-mobile #app .sales-field :is(input,select,textarea){font-size:14px!important;font-weight:450!important;line-height:1.5}
 body.mw-mobile #app .sales-window-bar{align-items:center!important;flex-wrap:nowrap!important}
 body.mw-mobile #app .sales-window-actions .sales-window-save{display:none!important}
 body.mw-mobile #app .sales-window-title h2{font-size:19px!important}
 body.mw-mobile #app .mw-wizard-step>[hidden]{display:none!important}
 body.mw-mobile #app #product-form{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
 body.mw-mobile #app #product-form>.mw-aligned-field{display:grid!important;grid-template-columns:1fr!important;grid-column:1/-1!important;gap:6px!important}
 body.mw-mobile #app #product-form>label:has([name=price],[name=cost],[name=stock],[name=minStock]){grid-column:auto!important}
 body.mw-mobile #app #product-form>:is(.mw-product-extra,.form-actions){grid-column:1/-1!important}
 body.mw-mobile #app #product-form .mw-product-extra{margin:0!important}
 body.mw-mobile #app #product-form .mw-product-extra label{grid-column:1/-1!important}
 body.mw-mobile #app .mw-filter-toolbar{align-items:stretch!important;width:100%!important}
 body.mw-mobile #app .mw-filter-toolbar>.mw-search{padding:0 10px!important;min-width:0;flex:1}
 body.mw-mobile #app .mw-search input{border:0!important;background:transparent!important;box-shadow:none!important;font-size:13px!important;font-weight:400!important;min-width:0!important;width:100%!important;line-height:1.5!important}
 body.mw-mobile #app .mw-search input::placeholder{font-weight:400!important}
 body.mw-mobile #app .mw-filter-in-sheet{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important}
 body.mw-mobile #app .mw-filter-in-sheet :is(.ops-filter-fields,.crm-filter-fields,.cws-filter-fields,.sw-filter-grid,.quotation-filter-grid,.expense-filter-grid){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;min-width:0;width:100%}
 body.mw-mobile #app .mw-filter-in-sheet label{display:grid!important;grid-template-columns:1fr!important;gap:5px!important;margin:0!important}
 body.mw-mobile #app .mw-filter-in-sheet :is(input,select){width:100%!important;min-width:0!important;font-size:14px!important;font-weight:400!important}
 body.mw-mobile #main .sw-people-scroll,body.mw-mobile #main .sw-people-grid{min-width:0!important;width:100%!important;max-width:100%;overflow:visible!important}
 body.mw-mobile #main .mw-people-cards{display:grid!important;gap:10px!important;border:0!important}
 body.mw-mobile #main .mw-people-cards>.sw-people-head{display:none!important}
 body.mw-mobile #main .mw-people-cards .sw-person-row{display:block!important;min-width:0!important;margin:0!important;padding:12px!important;border:1px solid #e4ecf3;border-radius:10px;background:#fff}
 body.mw-mobile #main .mw-people-cards .sw-person-label{display:block!important;min-width:0!important;padding:0!important;margin:0 0 7px!important;border:0!important}
 body.mw-mobile #main .mw-person-toggle{display:flex;align-items:center;gap:9px;width:100%;min-width:0;padding:0;border:0;background:transparent;color:#18304e;text-align:left}
 body.mw-mobile #main .mw-person-toggle>div{flex:1;min-width:0}
 body.mw-mobile #main .mw-person-toggle>svg:last-child{width:15px;height:15px;color:#7b8fa8;transform:rotate(90deg)}
 body.mw-mobile #main .mw-person-closed .mw-person-toggle>svg:last-child{transform:rotate(0)}
 body.mw-mobile #main .mw-person-toggle strong{font-size:14px}
 body.mw-mobile #main .mw-person-toggle small{font-size:10px;color:#7b8fa8}
 body.mw-mobile #main .mw-people-cards .sw-person-days{display:grid!important;grid-template-columns:minmax(0,1fr)!important;position:static!important;min-height:0!important;height:auto!important;overflow:visible!important;gap:7px!important;border:0!important;background:none!important}
 body.mw-mobile #main .mw-people-cards .sw-drop-day{display:none!important}
 body.mw-mobile #main .mw-people-cards .sw-person-event{grid-column:1!important;grid-row:auto!important;position:static!important;min-width:0!important;width:100%!important;padding:0!important}
 body.mw-mobile #main .mw-people-cards .sw-person-event button{width:100%!important;min-width:0!important;max-width:none!important;min-height:32px;height:auto!important;white-space:normal!important;font-size:12px!important;text-align:left}
 body.mw-mobile #main .mw-people-cards .mw-event-time{display:block;padding:3px 8px;color:#7b8fa8;font-size:10px}
 body.mw-mobile #main .mw-person-empty{margin:3px 0;color:#7b8fa8;font-size:11px}
 body.mw-mobile #main .mw-person-closed .sw-person-days{display:none!important}
 body.mw-mobile #main .sw-timetable-scroll{max-width:100%;overflow:auto}
 body.mw-mobile #main .sw-timetable{min-width:0!important}
 body.mw-mobile #main .sw-timeline-event{min-width:0;overflow:visible}
 body.mw-mobile #main .sw-month-cell .sw-cell-events{height:auto!important;min-height:8px;flex-wrap:wrap!important;max-width:100%;gap:2px!important}
 body.mw-mobile #main .sw-month-cell{height:51px!important;min-height:51px!important}
 body.mw-mobile #main .sw-month .sw-event::after{display:none!important}
 body.mw-mobile #main .cws-top-layout:has(.cws-gantt){display:none!important}
 body.mw-mobile #main .cws-gantt{display:none!important}
 body.mw-mobile #main .cws-table-scroll{overflow:visible!important}
 body.mw-mobile #main .cws-card{min-width:0!important;max-width:100%;padding:12px!important}
 body.mw-mobile #main .cws-tabs{display:flex!important;overflow-x:auto!important;white-space:nowrap!important;flex-wrap:nowrap!important}
 body.mw-mobile #main .cws-tabs button{color:#59718c!important;border-radius:16px!important;padding:6px 10px!important;font-size:11px!important;flex:0 0 auto}
 body.mw-mobile #main .cws-tabs button.active{color:#fff!important;background:#00888c!important}
 body.mw-mobile #main .mw-settings-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;overflow:visible}
 body.mw-mobile #main .mw-settings-tabs button{width:100%;min-width:0;max-width:none;min-height:67px;font-size:10px;line-height:1.4;word-break:keep-all;padding:9px 3px;gap:6px}
 body.mw-mobile #main .settings-field-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px 9px!important}
 body.mw-mobile #main .settings-field-grid label{display:grid!important;grid-template-columns:1fr!important;gap:6px!important;min-width:0!important;grid-column:auto!important}
 body.mw-mobile #main .settings-field-grid .span-3,body.mw-mobile #main .settings-field-grid label:has([name=address],[name=currency]){grid-column:1/-1!important}
 body.mw-mobile #main .settings-field-grid :is(input,select){width:100%;min-width:0;font-size:13px!important;font-weight:400!important}
 body.mw-mobile #main .settings-card-head{margin-bottom:14px!important}
 body.mw-mobile #main .settings-card-head p{display:none}
 body.mw-mobile #main .mw-settings-language h2{font-size:17px;margin:0 0 14px}
 body.mw-mobile #main .mw-settings-language .mw-language-options{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.mw-mobile #app .document-view-modal .modal-head .document-view-actions,
 body.mw-mobile #app .document-view-modal .document-view-zoom{display:none!important}
 body.mw-mobile #app .document-view-modal .modal-head{align-items:center!important}
 body.mw-mobile #app .document-view-modal #document-view-title{font-size:19px!important}
 body.mw-mobile #app .document-view-modal .modal-head .page-meta{display:none!important}
 body.mw-mobile #app .mw-v2-document{display:block}
 body.mw-mobile #app .mw-document-hero{padding:13px 12px;border:1px solid #e4ecf3;border-radius:10px;background:#fff;margin-bottom:12px}
 body.mw-mobile #app .mw-document-number{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px}
 body.mw-mobile #app .mw-document-number>span{font-size:10px;background:#eaf7f4;color:#008675;padding:3px 7px;border-radius:6px}
 body.mw-mobile #app .mw-document-buyer{display:flex;gap:10px;align-items:flex-start;margin:13px 0 8px}
 body.mw-mobile #app .mw-document-buyer>svg{width:25px;height:25px;flex:0 0 25px;color:#2a4869}
 body.mw-mobile #app .mw-document-buyer>div{min-width:0;flex:1}
 body.mw-mobile #app .mw-document-buyer strong{font-size:15px;display:block;line-height:1.4;word-break:normal;overflow-wrap:break-word}
 body.mw-mobile #app .mw-document-buyer small{display:block;font-size:10px;color:#7c8da3;line-height:1.6}
 body.mw-mobile #app .mw-document-hero>time{display:block;text-align:right;font-size:10px;color:#7c8da3}
 body.mw-mobile #app .mw-document-balances{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;background:#f0f6fa;padding:12px 7px;margin-top:11px;border-radius:8px}
 body.mw-mobile #app .mw-document-balances>div{min-width:0;text-align:center;border-right:1px solid #e0e9f1}
 body.mw-mobile #app .mw-document-balances>div:last-child{border:0}
 body.mw-mobile #app .mw-document-balances span{display:block;color:#7a8ca3;font-size:10px;margin-bottom:4px}
 body.mw-mobile #app .mw-document-balances strong{font-size:13px;white-space:normal;overflow-wrap:break-word;line-height:1.4}
 body.mw-mobile #app .mw-document-balances>div:nth-child(2){color:#008875}
 body.mw-mobile #app .mw-document-balances>div:nth-child(3){color:#ed4254}
 body.mw-mobile #app .mw-document-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;background:#edf3f8;padding:4px;border-radius:8px;margin-bottom:12px}
 body.mw-mobile #app .mw-document-tabs>button{border:0;border-radius:6px;background:transparent;color:#72859e;font-size:12px;padding:8px}
 body.mw-mobile #app .mw-document-tabs>button.active{background:#00888c;color:#fff}
 body.mw-mobile #app .mw-document-items{display:grid;gap:8px}
 body.mw-mobile #app .mw-document-items>article{display:grid;grid-template-columns:23px minmax(0,1fr) auto;gap:8px;align-items:start;background:#fff;padding:11px 9px;border:1px solid #e4ecf3;border-radius:8px;font-size:12px}
 body.mw-mobile #app .mw-document-items>article>b{display:grid;place-items:center;width:22px;height:22px;border-radius:5px;background:#405a77;color:#fff;font-size:11px}
 body.mw-mobile #app .mw-document-items>article>div{min-width:0}
 body.mw-mobile #app .mw-document-items strong{font-size:12px;line-height:1.5;word-break:normal;overflow-wrap:break-word}
 body.mw-mobile #app .mw-document-items small{display:block;font-size:10px;color:#71859e;margin-top:5px}
 body.mw-mobile #app .mw-document-receipts>article{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;padding:12px;border:1px solid #e4ecf3;border-radius:8px;margin-bottom:8px;font-size:12px}
 body.mw-mobile #app .mw-document-preview-label{font-size:13px!important;margin:16px 0 9px!important}
 body.mw-mobile #app .document-view-modal .document-view-print{width:100%!important;min-width:0!important;overflow:auto!important;padding:0!important;margin:0!important;height:230px!important;max-height:40svh;background:#fff;border:1px solid #e4ecf3;border-radius:6px}
 body.mw-mobile #app .document-view-modal .document-view-print-stage{transform:none!important;zoom:var(--mw-preview-scale,0.4);padding:0!important;margin:0!important;min-height:0!important}
 body.mw-mobile #app .document-view-modal[data-mw-document="items"] .mw-document-receipts,
 body.mw-mobile #app .document-view-modal[data-mw-document="receipts"] :is(.mw-document-items,.mw-document-preview-label,.document-view-print),
 body.mw-mobile #app .document-view-modal[data-mw-document="preview"] :is(.mw-document-items,.mw-document-receipts){display:none!important}
 body.mw-mobile #app .mw-document-downloads{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:12px 0}
 body.mw-mobile #app .mw-document-downloads button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:56px;min-width:0;border:1px solid #dfe8f1;border-radius:7px;background:#fff;color:#284566;font-size:10px}
 body.mw-mobile #app .mw-document-downloads svg{width:19px;height:19px}
 body.mw-mobile #app .mw-document-footer{position:sticky;bottom:0;display:flex;gap:8px;padding:12px 0;background:#f5f9fc;border-top:1px solid #e4ecf3;z-index:25}
 body.mw-mobile #app .mw-document-footer>button{display:flex;align-items:center;justify-content:center;flex:1;min-width:0;min-height:43px;border:1px solid #dce6ef;border-radius:7px;background:#fff;color:#284566;font-size:12px;font-weight:650}
 body.mw-mobile #app .mw-document-footer>button.primary{color:#fff;background:#00888c}
 body.mw-mobile #app .mw-document-footer>.mw-icon-button{flex:0 0 36px}
 body.mw-mobile #app .mw-command-list{display:grid;gap:7px}
 body.mw-mobile #app .mw-command-list>button{display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;padding:12px;background:#f6f9fc;border:1px solid #e4ecf3;border-radius:8px;color:#294563;font-size:13px;line-height:1.5}
 body.mw-mobile #app .mw-command-list>button>svg{width:15px;height:15px;flex:0 0 15px}
 body.mw-mobile #main :is(.cash-flow-hero-stats,.cash-flow-summary-grid,.cashflow-summary-grid,.cash-flow-summary,.cash-summary-grid,.loan-summary-grid){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
 body.mw-mobile #main .cashflow-shell .toolbar .btn{min-width:0!important}
 body.mw-mobile #main .cash-flow-tabs{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important}
 body.mw-mobile #main :is(.cash-flow-hero-stats,.cash-flow-summary-grid,.cashflow-summary-grid)>*{min-width:0;padding:12px!important}
 body.mw-mobile #main .shareholder-finance-actions{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important}
 body.mw-mobile #app .mw-sheet :is(input,select,textarea){font-weight:400!important}
 body.mw-mobile #app :is(.tenant-billing-card,.billing-payment-fields,.tenant-billing-fields){min-width:0!important;max-width:100%}
 body.mw-mobile #app .tenant-billing-fields{grid-template-columns:minmax(0,1fr)!important}
}
@media screen and (max-width:360px){
 body.mw-mobile #main .mw-page-heading h1{font-size:20px!important}
 body.mw-mobile #app .mw-detail-form .mw-aligned-field{grid-template-columns:minmax(76px,.34fr) minmax(0,1fr)!important;gap:7px!important}
 body.mw-mobile #app #main table.mw-doc-table tr.mw-card-row>td[data-mw-cell="5"]{font-size:14px!important}
 body.mw-mobile #app .mw-document-items>article{grid-template-columns:21px minmax(0,1fr);gap:6px}
 body.mw-mobile #app .mw-document-items>article>strong{grid-column:2;text-align:right}
}


@media screen and (max-width:800px){
 body.mw-mobile #main .mw-page-heading>div:first-child{flex:1 1 40%!important;min-width:0!important}
 body.mw-mobile #main .mw-page-heading>:last-child:not(:first-child){display:flex!important;flex-direction:row!important;align-items:center!important;gap:6px!important;flex:0 1 auto!important;min-width:0!important;width:auto!important;max-width:60%!important}
 body.mw-mobile #main .mw-compact-pager .document-page-buttons{display:flex!important;flex-direction:row!important;align-items:center!important;gap:5px!important;width:auto!important}
 body.mw-mobile #main .mw-compact-pager .document-page-buttons>*{width:auto!important;min-width:0!important;flex:0 0 auto!important;font-size:10px!important;margin:0!important}
 body.mw-mobile #main .mw-compact-pager .document-page-current{min-height:30px!important;padding:5px 7px!important;line-height:20px!important}
 body.mw-mobile #main .partners-table-head{display:none!important}
 body.mw-mobile #main .partners-list-toolbar{display:none!important}
 body.mw-mobile #main .partners-list-surface{padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
 body.mw-mobile #main .partners-list-footer{padding:8px 0!important}
 body.mw-mobile #main .mw-mobile-metrics{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px!important;margin-bottom:14px!important}
 body.mw-mobile #app #main table.mw-doc-table tr.mw-card-row>td[data-mw-cell="4"]{display:flex!important;align-items:center!important;justify-content:flex-start!important}
 body.mw-mobile #app #main .document-status-badge{margin:0!important}
 body.mw-mobile #main .mw-settings-footer{display:flex;position:sticky;bottom:var(--mw-nav);z-index:5;margin-top:16px;padding-top:10px;background:#fff}
 body.mw-mobile #main .mw-settings-footer .btn{width:100%!important;min-height:43px!important;justify-content:center!important}
 body.mw-mobile .mw-native-overlay{position:fixed!important;inset:0!important;z-index:12000!important;display:flex!important;align-items:stretch!important;justify-content:stretch!important;overflow-y:auto!important;padding:0!important;background:#f5f9fc!important}
 body.mw-mobile .finance-ui-dialog.mw-modal{height:auto!important;min-height:100svh!important;max-height:none!important;display:block!important;margin:0!important;position:relative!important;top:auto!important;left:auto!important}
 body.mw-mobile #app .finance-ui-dialog-body{padding:0!important;max-height:none!important;overflow:visible!important}
 body.mw-mobile #app .finance-ui-dialog-head{display:flex!important;align-items:center!important;justify-content:space-between!important;padding:14px 0!important;border:0!important}
 body.mw-mobile #app .finance-ui-dialog-head h2{font-size:19px!important}
 body.mw-mobile #app .expense-form-card{padding:0!important;border:0!important;background:transparent!important}
 body.mw-mobile #app .expense-form-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important}
}
body:not(.mw-mobile) .mw-settings-footer{display:none!important}


@media screen and (max-width:800px){
 body.mw-mobile .finance-ui-dialog.mw-modal{position:fixed!important;inset:0!important;width:100%!important;min-width:0!important;height:100svh!important;max-height:100svh!important;overflow-y:auto!important;padding:0 12px 16px!important;z-index:12500!important}
 body.mw-mobile .finance-ui-dialog .finance-ui-dialog-body{padding:0!important;max-height:none!important;overflow:visible!important}
 body.mw-mobile .finance-ui-dialog .finance-ui-dialog-head{display:flex!important;flex-direction:row!important;align-items:center;justify-content:space-between;padding:14px 0!important;gap:10px}
 body.mw-mobile .finance-ui-dialog .finance-ui-dialog-head h2{font-size:19px!important;margin:0!important}
 body.mw-mobile .finance-ui-dialog .expense-form-card{padding:0!important;background:transparent!important;border:0!important}
 body.mw-mobile .finance-ui-dialog .expense-form-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important}
 body.mw-mobile .finance-ui-dialog .mw-aligned-field{display:grid!important;grid-template-columns:95px minmax(0,1fr)!important;gap:9px;align-items:center;min-width:0}
 body.mw-mobile .finance-ui-dialog .mw-stacked-field{display:grid!important;grid-template-columns:1fr!important;gap:6px}
 body.mw-mobile .finance-ui-dialog label>span{font-size:11px!important;line-height:1.5}
 body.mw-mobile .finance-ui-dialog :is(input,select,textarea){min-width:0!important;width:100%;font-size:14px!important;font-weight:400!important}
 body.mw-mobile .finance-ui-dialog .form-actions{display:flex!important;flex-direction:row!important;gap:8px;position:sticky;bottom:0;padding:12px 0!important;background:#f6f9fc}
 body.mw-mobile .finance-ui-dialog .form-actions>button{flex:1;min-width:0!important}
}


@media screen and (max-width:800px){
 body.mw-mobile .finance-ui-overlay{position:fixed!important;inset:0!important;overflow-y:auto!important;padding:0!important;align-items:stretch!important;z-index:12000!important;background:#f5f9fc!important}
 body.mw-mobile .finance-ui-dialog{position:relative!important;inset:auto!important;width:100%!important;max-width:100%!important;min-width:0!important;height:auto!important;min-height:100svh!important;max-height:none!important;overflow:visible!important;margin:0!important;padding:12px!important;border:0!important;border-radius:0!important;background:linear-gradient(170deg,#fff,#f4f9fc)!important}
 body.mw-mobile .finance-ui-dialog::before{content:"HYUNTAEK ERP";display:block;margin:-12px -12px 0;padding:16px 12px;background:#fff;border-bottom:1px solid #e4ecf3;font-size:13px;font-weight:750;color:#123052}
 body.mw-mobile .finance-ui-dialog .expense-form-grid>label{display:grid!important;grid-template-columns:95px minmax(0,1fr)!important;gap:9px!important;align-items:center!important;grid-column:1/-1!important;min-width:0!important;margin:0!important}
 body.mw-mobile .finance-ui-dialog .expense-form-grid>label:has(textarea,input[type=file]){grid-template-columns:1fr!important;gap:6px!important}
 body.mw-mobile .finance-ui-dialog .expense-form-grid>label:has(input[type=checkbox]){display:flex!important;flex-wrap:wrap;gap:7px}
}


@media screen and (max-width:800px){
 body.mw-mobile #main .crm-list{padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
 body.mw-mobile #main .crm-stats{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
 body.mw-mobile #main .crm-stat{display:block!important;position:relative;min-height:74px!important;padding:9px 7px!important}
 body.mw-mobile #main .crm-stat svg,body.mw-mobile #main .crm-stat-icon{display:none!important}
 body.mw-mobile #main .crm-stat :is(span,p,small){font-size:9px!important;line-height:1.4!important;word-break:keep-all}
 body.mw-mobile #main .crm-stat strong{font-size:18px!important;line-height:1.4!important}
 body.mw-mobile #main .crm-tools{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px!important;padding:0!important;margin-bottom:10px!important;min-width:0!important}
 body.mw-mobile #main .crm-search{grid-column:1/-1!important;display:flex!important;align-items:center!important;gap:8px!important;padding:0 10px!important;min-width:0!important;min-height:40px!important;border:1px solid #dfe8f1!important;border-radius:8px;background:#fff}
 body.mw-mobile #main .crm-search svg{position:static!important;transform:none!important;width:18px!important;height:18px!important;flex:0 0 18px!important}
 body.mw-mobile #main .crm-search input{min-width:0!important;width:100%!important;padding:8px 0!important;font-size:13px!important;font-weight:400!important;line-height:1.5!important;border:0!important;box-shadow:none!important;background:transparent!important}
 body.mw-mobile #main .crm-tools>select{min-width:0!important;width:100%!important;padding:7px 5px!important;font-size:10px!important;font-weight:400!important;min-height:35px!important}
 body.mw-mobile #main .crm-tools>button{grid-column:1/-1!important;justify-self:end!important;width:auto!important;font-size:10px!important;min-height:28px!important;padding:4px 7px!important;border:0!important;background:transparent!important}
 body.mw-mobile #main .crm-list-toolbar{display:flex!important;align-items:center!important;flex-wrap:nowrap!important;gap:7px!important;margin-bottom:10px}
 body.mw-mobile #main .crm-list-toolbar select{flex:1;min-width:0!important;width:auto!important;font-size:12px!important;min-height:34px!important}
 body.mw-mobile #main .crm-list-toolbar span{flex:0 0 auto!important;width:auto!important;font-size:11px!important;white-space:nowrap!important}
 body.mw-mobile #main .crm-page :is(.crm-stat-note,.crm-stat-caption){font-size:10px!important}
 body.mw-mobile #main .cws-search{display:flex!important;gap:8px!important;align-items:center}
 body.mw-mobile #main .cws-search input{min-width:0!important;font-weight:400!important}
 body.mw-mobile #app .finance-ui-dialog .surface-head{display:flex!important;flex-direction:row!important;justify-content:space-between!important;text-align:left!important}
}


@media screen and (max-width:800px){
 body.mw-mobile #main :is(.crm-stats,.crm-stat-grid){display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
 body.mw-mobile #app table.mw-card-table tr.mw-card-row{height:auto!important;grid-auto-rows:auto!important}
 body.mw-mobile #app table.mw-card-table tr.mw-card-row>td{height:auto!important}
 body.mw-mobile #app #main table.mw-crm-table tr.mw-card-row::before,
 body.mw-mobile #app #main table.mw-crm-table tr.mw-card-row::after{display:none!important}
 body.mw-mobile #app #main table.mw-crm-table tr.mw-card-row>td:is([data-mw-cell="0"],[data-mw-cell="1"],[data-mw-cell="2"],[data-mw-cell="3"],[data-mw-cell="8"])::before{display:none!important}
 body.mw-mobile #app #main table.mw-crm-table tr.mw-card-row>td[data-mw-cell="2"]{grid-column:1/3!important;grid-row:2!important;font-size:10px!important}
 body.mw-mobile #app #main table.mw-crm-table tr.mw-card-row>td[data-mw-cell="3"]{grid-column:3!important;grid-row:2!important;font-size:10px!important}
 body.mw-mobile #app #main table.mw-crm-table tr.mw-card-row>td:is([data-mw-cell="4"],[data-mw-cell="5"],[data-mw-cell="6"]){grid-row:3!important;background:#f3f7fa!important;padding:7px!important;border-radius:5px}
 body.mw-mobile #app #main table.mw-crm-table tr.mw-card-row>td[data-mw-cell="7"]{grid-column:1/-1!important}
 body.mw-mobile #app #main table.mw-crm-table tr.mw-card-row>td[data-mw-cell="8"]{grid-column:1/-1!important;display:flex!important;gap:7px;justify-content:flex-end}
 body.mw-mobile #main .mw-people-cards .sw-person-days{grid-auto-rows:auto!important;grid-template-rows:none!important;row-gap:8px!important}
 body.mw-mobile #main .mw-people-cards .sw-person-event{height:auto!important;min-height:0!important;overflow:visible!important}
 body.mw-mobile #main .mw-people-cards .mw-event-time{position:static!important;margin:3px 0 0!important;padding-top:0!important;line-height:1.4}
}


@media screen and (max-width:800px){
 body.mw-mobile .bulk-modal .bulk-table-scroll{overflow:auto!important;max-width:100%!important;max-height:280px;border:1px solid #e4ecf3;border-radius:8px}
 body.mw-mobile .bulk-modal .bulk-table-scroll table{display:table!important;min-width:500px!important;width:100%!important;table-layout:auto!important;border-collapse:collapse!important}
 body.mw-mobile .bulk-modal .bulk-table-scroll :is(th,td){font-size:10px!important;white-space:normal!important;word-break:normal!important;padding:7px!important;min-width:60px}
 body.mw-mobile .bulk-modal .bulk-map-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;min-width:0!important}
 body.mw-mobile .bulk-modal .bulk-map-grid label{display:grid!important;grid-template-columns:1fr!important;min-width:0!important;gap:5px}
 body.mw-mobile .bulk-modal .bulk-map-grid select{width:100%!important;min-width:0!important;font-size:12px!important;font-weight:400!important}
 body.mw-mobile .bulk-modal .bulk-actions{position:sticky;bottom:0;background:#f6f9fc;padding:12px 0;display:flex;gap:8px}
 body.mw-mobile .bulk-modal .bulk-actions>*{min-width:0!important;flex:1}
 body.mw-mobile .mw-document-applied{background:#eef8f5}
 body.mw-mobile .inventory-barcode-scan-trigger{display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 40px!important;width:40px!important;min-width:40px!important;padding:7px!important;color:#284566!important}
 body.mw-mobile .inventory-barcode-scan-trigger svg{display:block!important;width:20px!important;height:20px!important}
}


body:not(.mw-mobile) .mw-quote-upload{display:none!important}
@media screen and (max-width:800px){
 body.mw-mobile #main .quotation-search-surface:not(.mw-quote-brand-in-sheet){display:none!important}
 body.mw-mobile #main .quotation-upload-surface:not(:has(.quotation-pending-item)){display:none!important}
 body.mw-mobile #main .quotation-upload-zone{display:none!important}
 body.mw-mobile #main .quotation-list-surface{padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
 body.mw-mobile #main .quotation-list-surface>.surface-head:not(:has(button)){display:none!important}
 body.mw-mobile #main .mw-quote-upload{display:flex!important;position:sticky;bottom:calc(var(--mw-nav) + 8px);z-index:20;width:100%;align-items:center;justify-content:center;gap:7px;min-height:43px;margin-top:14px}
 body.mw-mobile #main .mw-quote-upload svg{width:19px;height:19px}
 body.mw-mobile #app .mw-quote-brand-in-sheet{display:block!important;padding:0!important;margin:0 0 15px!important;border:0!important;background:#fff;box-shadow:none!important}
 body.mw-mobile #app .mw-quote-brand-in-sheet .quotation-brand-row{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px!important}
 body.mw-mobile #app .mw-quote-brand-in-sheet input{width:100%!important;font-weight:400!important}
 body.mw-mobile #app #main table.mw-quotation-table tr.mw-card-row{display:grid!important;grid-template-columns:43px minmax(0,1fr) auto!important;grid-template-areas:"format name select" "format brand status" "category category version" "date date size" "note note note" "actions actions actions";gap:7px 9px!important;padding:13px!important}
 body.mw-mobile #app #main table.mw-quotation-table tr.mw-card-row>td{position:static!important;grid-column:auto!important;grid-row:auto!important;min-width:0!important;font-size:11px!important;overflow-wrap:break-word}
 body.mw-mobile #app #main table.mw-quotation-table tr.mw-card-row>td::before{display:none!important}
 body.mw-mobile #app #main table.mw-quotation-table tr.mw-card-row>td[data-mw-cell="0"]{grid-area:select!important;justify-self:end}
 body.mw-mobile #app #main table.mw-quotation-table tr.mw-card-row>td[data-mw-cell="1"]{grid-area:status!important}
 body.mw-mobile #app #main table.mw-quotation-table tr.mw-card-row>td[data-mw-cell="2"]{grid-area:name!important;font-weight:700}
 body.mw-mobile #app #main table.mw-quotation-table tr.mw-card-row>td[data-mw-cell="2"]>.muted{display:none!important}
 body.mw-mobile #app #main table.mw-quotation-table tr.mw-card-row>td[data-mw-cell="3"]{grid-area:brand!important;color:#397ac0}
 body.mw-mobile #app #main table.mw-quotation-table tr.mw-card-row>td[data-mw-cell="4"]{grid-area:category!important}
 body.mw-mobile #app #main table.mw-quotation-table tr.mw-card-row>td[data-mw-cell="5"]{grid-area:version!important;text-align:right}
 body.mw-mobile #app #main table.mw-quotation-table tr.mw-card-row>td[data-mw-cell="6"]{grid-area:format!important}
 body.mw-mobile #app #main table.mw-quotation-table tr.mw-card-row>td[data-mw-cell="7"]{grid-area:size!important;text-align:right}
 body.mw-mobile #app #main table.mw-quotation-table tr.mw-card-row>td[data-mw-cell="8"]{grid-area:date!important;color:#7a8ca3}
 body.mw-mobile #app #main table.mw-quotation-table tr.mw-card-row>td:is([data-mw-cell="9"],[data-mw-cell="11"]){display:none!important}
 body.mw-mobile #app #main table.mw-quotation-table tr.mw-card-row>td[data-mw-cell="10"]{grid-area:note!important;color:#7a8ca3}
 body.mw-mobile #app #main table.mw-quotation-table tr.mw-card-row>td[data-mw-cell="10"]:empty{display:none!important}
 body.mw-mobile #app #main table.mw-quotation-table tr.mw-card-row>td[data-mw-cell="12"]{grid-area:actions!important}
 body.mw-mobile #app #main table.mw-quotation-table .link-button{font-size:12px!important;min-height:0!important;padding:0!important;line-height:1.5!important;white-space:normal!important;text-align:left!important}
 body.mw-mobile #app #main table.mw-quotation-table .actions{display:flex!important;flex-wrap:wrap!important;gap:5px!important;margin-top:3px}
 body.mw-mobile #app #main table.mw-quotation-table .actions .icon-btn{display:inline-flex!important;align-items:center;justify-content:center;min-width:30px!important;width:auto!important;min-height:32px!important;gap:4px;padding:5px!important;font-size:10px}
 body.mw-mobile #app #main table.mw-quotation-table .actions .icon-btn:nth-child(-n+2){flex:1}
 body.mw-mobile #app #main table.mw-quotation-table .actions .icon{width:15px;height:15px}
 body.mw-mobile .finance-ui-dialog .expense-form-card>.surface-head{display:none!important}
}
@supports(-webkit-touch-callout:none){@media(max-width:800px){body.mw-mobile :is(input,select,textarea){font-size:16px!important;-webkit-text-size-adjust:100%}}}


@media screen and (max-width:800px){
 body.mw-mobile #main .mw-quote-upload{position:fixed!important;inset:auto 12px calc(var(--mw-nav) + 8px)!important;width:calc(100% - 24px)!important;margin:0!important}
 body.mw-mobile[data-mw-route="quotationFiles"] #main{padding-bottom:calc(var(--mw-nav) + 82px)!important}
 body.mw-mobile #main .mw-file-type{display:grid;place-items:center;width:42px;height:50px;border-radius:6px;background:#2081e9;color:#fff;font-size:10px;font-weight:750;letter-spacing:.03em}
 body.mw-mobile #main .mw-file-type[data-format="PDF"]{background:linear-gradient(130deg,#ff575e,#e52937)}
 body.mw-mobile #main .mw-file-type[data-format="XLSX"],body.mw-mobile #main .mw-file-type[data-format="XLS"]{background:linear-gradient(130deg,#20bba0,#008c72)}
 body.mw-mobile #app .mw-modal{padding-bottom:calc(84px + env(safe-area-inset-bottom,0px))!important}
 body.mw-mobile #app .mw-modal :is(.mw-wizard-footer,.mw-document-footer,.form-actions:not(.mw-original-actions)){position:fixed!important;inset:auto 12px 0!important;width:calc(100% - 24px)!important;z-index:40!important;margin:0!important;padding:12px 0 calc(12px + env(safe-area-inset-bottom,0px))!important;background:#f6f9fc!important;border-top:1px solid #e4ecf3!important}
 body.mw-mobile #app .mw-modal :is(.form-actions,.mw-wizard-footer,.mw-document-footer)>button{min-height:43px!important}
}

@media(max-width:800px){body.mw-mobile #app .mw-document-tabs:has(>button:nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}}

@media screen and (max-width:800px) {
  body.mw-mobile #app #main .cfm-root {display:flex;flex-direction:column;gap:12px;padding:0 0 66px;min-width:0;color:var(--mw-ink);}
  body.mw-mobile #app #main .cfm-root * {min-width:0;}
  body.mw-mobile #app #main .cfm-root :is(h1,h2,h3,p,dl,dd) {margin:0;}
  body.mw-mobile #app #main .cfm-root h1 {font-size:21px;line-height:1.3;font-weight:800;}
  body.mw-mobile #app #main .cfm-root h2 {font-size:14px;line-height:1.4;font-weight:750;}
  body.mw-mobile #app #main :is(.cfm-root,.cfm-dialog) .btn {display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:36px;padding:7px 11px;font-size:12px;line-height:1.4;white-space:normal;overflow-wrap:anywhere;border-radius:7px;}
  body.mw-mobile #app #main :is(.cfm-root,.cfm-dialog) .primary {background:linear-gradient(115deg,#007c81,#008f91);color:#fff;border-color:#008489;}
  body.mw-mobile #app #main :is(.cfm-root,.cfm-dialog) button svg {width:17px;height:17px;flex-shrink:0;}
  body.mw-mobile #app #main .cfm-segments {display:flex;width:100%;padding:3px;border:1px solid #e2eaf2;background:#edf4f9;border-radius:8px;gap:2px;}
  body.mw-mobile #app #main .cfm-segments>button {flex:1;min-width:0;min-height:34px;border:0;border-radius:6px;background:transparent;color:#42597a;font:inherit;font-size:12px;line-height:1.35;padding:6px;overflow-wrap:anywhere;}
  body.mw-mobile #app #main .cfm-segments>button.active {color:#fff;background:linear-gradient(110deg,#007f84,#009294);box-shadow:0 2px 5px #006a7115;}
  body.mw-mobile #app #main .cfm-view-tabs {display:flex;align-items:center;border-bottom:1px solid #e4edf4;gap:6px;}
  body.mw-mobile #app #main .cfm-view-tabs>button {min-height:38px;flex:1;border:0;background:transparent;border-bottom:2px solid transparent;font-size:13px;color:#536681;padding:8px 6px;}
  body.mw-mobile #app #main .cfm-view-tabs>button.active {color:#007f84;border-bottom-color:#008c90;font-weight:750;}
  body.mw-mobile #app #main .cfm-more {position:relative;margin-left:auto;}
  body.mw-mobile #app #main .cfm-more>summary {font-size:12px;list-style:none;cursor:pointer;padding:10px 6px;color:#405776;}
  body.mw-mobile #app #main .cfm-more>summary::-webkit-details-marker {display:none;}
  body.mw-mobile #app #main .cfm-more>div {position:absolute;right:0;top:100%;z-index:220;display:grid;gap:4px;width:180px;padding:7px;background:#fff;border:1px solid #dfe8f0;border-radius:10px;box-shadow:0 10px 30px #13385c20;}
  body.mw-mobile #app #main .cfm-card {background:#fff;border:1px solid #e3ebf3;border-radius:11px;padding:14px;box-shadow:0 2px 8px #1e456108;}
  body.mw-mobile #app #main .cfm-balance {background:linear-gradient(135deg,#f4fbff,#fff);padding:16px 14px;}
  body.mw-mobile #app #main .cfm-balance-label {display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px;font-size:12px;line-height:1.5;}
  body.mw-mobile #app #main .cfm-balance-label small {color:#71819a;font-size:10px;font-weight:400;}
  body.mw-mobile #app #main .cfm-balance-value {display:block;margin:8px 0 14px;font-size:clamp(26px,7.7vw,35px);line-height:1.2;letter-spacing:-.045em;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;}
  body.mw-mobile #app #main .cfm-assets {display:grid;grid-template-columns:1fr 1fr;gap:8px;}
  body.mw-mobile #app #main .cfm-assets>div {display:flex;flex-direction:column;gap:4px;padding:11px;background:#f2f7fc;border:1px solid #e8f0f6;border-radius:8px;font-size:12px;}
  body.mw-mobile #app #main .cfm-assets strong {font-size:clamp(15px,4.6vw,20px);line-height:1.3;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;}
  body.mw-mobile #app #main .cfm-assets small {font-size:10px;color:#7c8ca3;}
  body.mw-mobile #app #main .cfm-account-totals {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;}
  body.mw-mobile #app #main .cfm-account-totals>div {display:flex;flex-direction:column;justify-content:center;gap:5px;min-height:76px;background:#eef5fc;padding:11px 9px;border-radius:8px;overflow-wrap:anywhere;}
  body.mw-mobile #app #main .cfm-account-totals span {font-size:11px;line-height:1.4;}
  body.mw-mobile #app #main .cfm-account-totals strong {font-size:14px;line-height:1.35;letter-spacing:-.035em;}
  body.mw-mobile #app #main .cfm-account-totals small {font-size:10px;color:#73839b;}
  body.mw-mobile #app #main .cfm-card-head {display:flex;align-items:center;justify-content:space-between;gap:8px;}
  body.mw-mobile #app #main .cfm-chart select {width:auto;max-width:120px;min-height:30px;font-size:12px;padding:4px 6px;border:0;background:#f5f8fb;}
  body.mw-mobile #app #main .cfm-chart svg {width:100%;height:auto;display:block;overflow:visible;}
  body.mw-mobile #app #main .cfm-chart svg text {font-size:10px;fill:#6d7d98;font-family:inherit;}
  body.mw-mobile #app #main .cfm-legend {display:flex;gap:15px;margin:12px 0 3px;font-size:11px;color:#62728d;}
  body.mw-mobile #app #main .cfm-legend span {display:flex;align-items:center;gap:5px;}
  body.mw-mobile #app #main .cfm-legend span::before {content:"";width:8px;height:8px;background:#438fff;border-radius:50%;}
  body.mw-mobile #app #main .cfm-legend .cfm-out-dot::before {background:#fa91aa;}
  body.mw-mobile #app #main .cfm-empty-note {font-size:11px;text-align:center;color:#7789a0;}
  body.mw-mobile #app #main .cfm-bottom-actions {position:fixed;z-index:230;bottom:var(--mw-nav);left:0;right:0;display:grid;grid-template-columns:1fr 1fr;gap:9px;padding:10px 12px;background:#f6fbfced;border-top:1px solid #e4edf3;backdrop-filter:blur(12px);}
  body.mw-mobile #app #main .cfm-bottom-actions .btn {min-height:42px;font-size:13px;}
  body.mw-mobile #app #main .cfm-page-head {display:flex;align-items:center;gap:7px;min-height:42px;}
  body.mw-mobile #app #main .cfm-page-head h1 {flex:1;}
  body.mw-mobile #app #main .cfm-page-head>.btn {flex:0 1 auto;max-width:45%;font-size:11px;padding:7px;}
  body.mw-mobile #app #main .cfm-back {border:0;background:transparent;color:#16304d;padding:0 6px 3px 0;font-size:30px;line-height:1;min-height:35px;flex-shrink:0;}
  body.mw-mobile #app #main .cfm-account-tabs {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-bottom:1px solid #e3edf5;gap:3px;}
  body.mw-mobile #app #main .cfm-account-tabs button {font-size:11px;line-height:1.45;padding:8px 3px;border:0;border-bottom:2px solid transparent;background:transparent;color:#697b95;}
  body.mw-mobile #app #main .cfm-account-tabs button.active {color:#00858a;font-weight:750;border-bottom-color:#00888c;}
  body.mw-mobile #app #main .cfm-account-list {display:grid;gap:11px;}
  body.mw-mobile #app #main .cfm-account-head {display:flex;align-items:center;gap:9px;margin-bottom:12px;}
  body.mw-mobile #app #main .cfm-account-head h2 {flex:1;overflow-wrap:anywhere;}
  body.mw-mobile #app #main .cfm-account-head h2 small {font-size:11px;font-weight:400;}
  body.mw-mobile #app #main .cfm-account-head .btn {min-height:28px;padding:3px 8px;background:#eef4f9;color:#3b5376;border:0;}
  body.mw-mobile #app #main .cfm-account-symbol {display:grid;place-items:center;width:31px;height:31px;border-radius:8px;background:#5683ed;color:#fff;flex:0 0 auto;}
  body.mw-mobile #app #main .cfm-account-symbol svg {width:20px;height:20px;}
  body.mw-mobile #app #main .cfm-account-symbol.cash {background:#ecb141;}
  body.mw-mobile #app #main .cfm-account-symbol.foreign {background:#0669bb;}
  body.mw-mobile #app #main :is(.cfm-account,.cfm-opening-preview) dl {display:grid;gap:8px;font-size:12px;}
  body.mw-mobile #app #main :is(.cfm-account,.cfm-opening-preview) dl>div {display:grid;grid-template-columns:minmax(68px,.6fr) minmax(0,1.4fr);gap:8px;align-items:start;}
  body.mw-mobile #app #main :is(.cfm-account,.cfm-opening-preview) dt {color:#7b88a0;}
  body.mw-mobile #app #main .cfm-account dd {overflow-wrap:anywhere;font-variant-numeric:tabular-nums;}
  body.mw-mobile #app #main .cfm-current dd {display:flex;flex-wrap:wrap;align-items:baseline;gap:5px;}
  body.mw-mobile #app #main .cfm-current strong {font-size:23px;line-height:1.25;letter-spacing:-.035em;}
  body.mw-mobile #app #main .cfm-current small {font-size:11px;color:#75869f;}
  body.mw-mobile #app #main .cfm-status {display:inline-block;border-radius:7px;background:#dff7eb;color:#00916b;padding:3px 8px;font-size:11px;}
  body.mw-mobile #app #main .cfm-status.inactive {background:#edf0f4;color:#748195;}
  body.mw-mobile #app #main .cfm-transaction-filters {display:grid;grid-template-columns:1fr 1fr;gap:8px;}
  body.mw-mobile #app #main .cfm-date-range {display:grid;grid-template-columns:minmax(0,1fr) 12px minmax(0,1fr);align-items:center;gap:4px;grid-column:1/-1;padding:3px 4px;background:#f4f8fc;border:1px solid #e4ecf5;border-radius:8px;}
  body.mw-mobile #app #main .cfm-date-range input {width:100%;font-size:13px;padding:6px 4px;border:0;background:transparent;min-height:34px;}
  body.mw-mobile #app #main .cfm-date-range>span {font-size:12px;color:#73829c;text-align:center;}
  body.mw-mobile #app #main .cfm-transaction-filters>select {font-size:13px;min-height:36px;padding:7px 9px;}
  body.mw-mobile #app #main .cfm-search {grid-column:1/-1;display:flex;align-items:center;border:1px solid #dfe9f1;background:#f8fbfd;border-radius:8px;padding:0 9px;gap:7px;}
  body.mw-mobile #app #main .cfm-search svg {width:17px;height:17px;color:#7186a4;flex:0 0 auto;}
  body.mw-mobile #app #main .cfm-search input {width:100%;border:0;background:transparent;padding:9px 0;font-size:13px;min-height:38px;}
  body.mw-mobile #app #main .cfm-transaction-list {display:grid;gap:10px;}
  body.mw-mobile #app #main .cfm-transaction {padding:11px 10px 0;}
  body.mw-mobile #app #main .cfm-transaction-top {display:flex;align-items:center;flex-wrap:wrap;gap:5px 9px;font-size:10px;}
  body.mw-mobile #app #main .cfm-transaction-top time {font-size:11px;}
  body.mw-mobile #app #main .cfm-transaction-top .link-button {font-size:10px;color:#78879c;overflow-wrap:anywhere;}
  body.mw-mobile #app #main .cfm-category {margin-left:auto;display:inline-block;font-size:10px;line-height:1.4;padding:3px 7px;border-radius:6px;max-width:40%;overflow-wrap:anywhere;background:#e9f4ff;color:#2172cf;}
  body.mw-mobile #app #main .cfm-category.income {background:#e1f8ec;color:#0c986d;}
  body.mw-mobile #app #main .cfm-category.expense {background:#ffe9ed;color:#ef5371;}
  body.mw-mobile #app #main .cfm-transaction-party {display:flex;align-items:flex-start;gap:8px;font-size:11px;margin-top:10px;line-height:1.5;overflow-wrap:anywhere;}
  body.mw-mobile #app #main .cfm-transaction-party>span {display:flex;align-items:center;gap:4px;}
  body.mw-mobile #app #main .cfm-transaction-party svg {width:13px;height:13px;flex:0 0 auto;}
  body.mw-mobile #app #main .cfm-transaction-party .link-button {font-size:11px;}
  body.mw-mobile #app #main .cfm-transaction-value {display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:8px;margin:8px 0 11px;}
  body.mw-mobile #app #main .cfm-transaction-value p {font-size:12px;line-height:1.5;overflow-wrap:anywhere;}
  body.mw-mobile #app #main .cfm-transaction-value .btn {font-size:12px;background:transparent;padding:0;border:0;min-height:0;text-align:left;justify-content:flex-start;}
  body.mw-mobile #app #main .cfm-transaction-value>strong {font-size:16px;letter-spacing:-.03em;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;max-width:49vw;}
  body.mw-mobile #app #main .cfm-running-balances {border-top:1px solid #e8eff6;background:#f3f8fd;margin:0 -10px;padding:8px 9px;border-radius:0 0 10px 10px;}
  body.mw-mobile #app #main .cfm-running-balances>summary {display:flex;align-items:center;flex-wrap:wrap;gap:4px;font-size:10px;color:#73839b;list-style:none;cursor:pointer;}
  body.mw-mobile #app #main .cfm-running-balances>summary::-webkit-details-marker {display:none;}
  body.mw-mobile #app #main .cfm-running-balances>summary small {font-size:10px;line-height:1.6;flex:1;text-align:right;color:#536b89;}
  body.mw-mobile #app #main .cfm-running-balances>div {display:grid;gap:7px;font-size:11px;padding-top:10px;}
  body.mw-mobile #app #main .cfm-pager {display:flex;align-items:center;justify-content:flex-end;gap:7px;font-size:11px;}
  body.mw-mobile #app #main .cfm-pager>small {margin-right:auto;color:#74859d;}
  body.mw-mobile #app #main .cfm-pager .btn {font-size:11px;min-height:30px;padding:4px 8px;}
  body.mw-mobile #app #main .cfm-root .positive {color:#008d86;}
  body.mw-mobile #app #main .cfm-root .negative {color:#f34a6c;}
  body.mw-mobile #app #main .cfm-backdrop .cfm-dialog {min-height:100dvh!important;background:linear-gradient(160deg,#fff,#f3f8fc)!important;}
  body.mw-mobile #app #main .cfm-dialog .cfm-dialog-head {display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;padding:15px 0!important;min-height:56px!important;}
  body.mw-mobile #app #main .cfm-dialog .cfm-dialog-head h2 {font-size:20px!important;font-weight:800;}
  body.mw-mobile #app #main .cfm-dialog .cfm-dialog-head .cfm-back {width:26px;flex:0 0 26px;}
  body.mw-mobile #app #main .cfm-form {display:flex!important;flex-direction:column!important;gap:15px!important;padding:0 0 calc(86px + env(safe-area-inset-bottom,0px))!important;}
  body.mw-mobile #app #main .cfm-form [hidden] {display:none!important;}
  body.mw-mobile #app #main .cfm-fields {display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:13px!important;}
  body.mw-mobile #app #main .cfm-fields>label,
  body.mw-mobile #app #main .cfm-form .cfm-field {display:grid!important;grid-template-columns:minmax(82px,.65fr) minmax(0,1.35fr)!important;align-items:start!important;gap:10px!important;grid-column:1/-1!important;min-width:0!important;width:100%!important;padding:0!important;margin:0!important;font-size:12px!important;}
  body.mw-mobile #app #main .cfm-fields>label>span:first-child,
  body.mw-mobile #app #main .cfm-field>span:first-child {display:block!important;position:static!important;margin:0!important;padding:10px 0!important;color:#38506f;font-size:12px!important;line-height:1.5!important;overflow-wrap:anywhere;}
  body.mw-mobile #app #main .cfm-fields :is(input,select,textarea) {width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;font-size:16px!important;min-height:39px!important;padding:8px 9px!important;}
  body.mw-mobile #app #main .cfm-form .cfm-required {color:#f04465;font-size:12px;}
  body.mw-mobile #app #main .cfm-form h3 {font-size:13px;margin:16px 0 12px;}
  body.mw-mobile #app #main .cfm-form .cfm-info {font-size:11px!important;line-height:1.65!important;color:#527299;background:#eaf4ff;border:1px solid #dbeafa;border-radius:8px;padding:11px 12px;margin:0;}
  body.mw-mobile #app #main .cfm-form .cfm-readonly>span:last-child,
  body.mw-mobile #app #main .cfm-form .cfm-readonly>output {display:block;min-height:39px;padding:10px;background:#eff4f8;border-radius:6px;font-size:13px;text-align:right;font-variant-numeric:tabular-nums;}
  body.mw-mobile #app #main .cfm-form .cfm-transfer-directions {gap:0;flex-wrap:wrap;padding:2px;}
  body.mw-mobile #app #main .cfm-form .cfm-transfer-directions>button {font-size:10px;padding:6px 3px;min-height:33px;}
  body.mw-mobile #app #main .cfm-memo {font-size:12px;border:1px solid #e4edf4;border-radius:8px;padding:10px;background:#f6fafe;}
  body.mw-mobile #app #main .cfm-memo>summary {cursor:pointer;line-height:1.6;}
  body.mw-mobile #app #main .cfm-memo textarea {width:100%;margin-top:10px;font-size:16px;}
  body.mw-mobile #app #main .cfm-transfer-preview {padding:12px!important;background:#f7fbfe!important;}
  body.mw-mobile #app #main .cfm-transfer-preview h3 {margin:0 0 12px;}
  body.mw-mobile #app #main .cfm-preview-account {padding:9px 0;border-bottom:1px solid #e1eaf2;font-size:11px;}
  body.mw-mobile #app #main .cfm-preview-account:last-child {border:0;}
  body.mw-mobile #app #main .cfm-preview-account>div {display:grid;grid-template-columns:1fr 18px 1fr;gap:5px;align-items:center;text-align:center;margin-top:7px;}
  body.mw-mobile #app #main .cfm-preview-account small {display:flex;flex-direction:column;gap:3px;font-size:10px;color:#7b8ba1;}
  body.mw-mobile #app #main .cfm-preview-account strong {font-size:14px;color:#112c48;line-height:1.5;overflow-wrap:anywhere;}
  body.mw-mobile #app #main .cfm-opening-preview {padding:13px!important;background:#f7fbfe!important;}
  body.mw-mobile #app #main .cfm-opening-preview h3 {margin:0 0 12px;}
  body.mw-mobile #app #main .cfm-opening-preview dl {font-size:11px;}
  body.mw-mobile #app #main .cfm-opening-preview dd {text-align:right;}
  body.mw-mobile #app #main .cfm-preview-total {padding-top:13px;margin-top:8px;border-top:1px solid #e2ebf3;align-items:center!important;}
  body.mw-mobile #app #main .cfm-preview-total dt {font-weight:700;color:#173152;}
  body.mw-mobile #app #main .cfm-preview-total dd {font-size:18px;font-weight:800;color:#00848b;overflow-wrap:anywhere;}
  body.mw-mobile #app #main .cfm-form-actions {position:fixed!important;inset:auto 0 0!important;z-index:14020;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;padding:11px 12px calc(11px + env(safe-area-inset-bottom,0px))!important;border-top:1px solid #e5edf5;background:#f6fbfdf2;gap:9px!important;margin:0!important;}
  body.mw-mobile #app #main .cfm-form-actions .btn {width:100%!important;min-height:42px!important;font-size:14px;}
  body.mw-mobile #app #main .cfm-opening-details {font-size:13px;}
  body.mw-mobile #app #main .cfm-opening-details>summary {padding:12px 0;font-weight:700;}
  body.mw-mobile #app #main .cfm-account-editor .cash-opening-row {display:grid!important;grid-template-columns:1fr!important;padding:12px!important;gap:12px!important;background:#fff!important;border-radius:10px!important;}
  body.mw-mobile #app #main .cfm-account-editor .cash-opening-field {display:grid!important;grid-template-columns:minmax(85px,.65fr) minmax(0,1.35fr)!important;gap:8px!important;align-items:start!important;grid-column:1/-1!important;}
  body.mw-mobile #app #main .cfm-account-editor .cash-opening-field>span {font-size:12px!important;padding:9px 0;overflow-wrap:anywhere;}
  body.mw-mobile #app #main .cfm-account-editor .cash-opening-row :is(input:not([type=hidden]),select) {width:100%!important;font-size:16px!important;}
  body.mw-mobile #app #main .cfm-form-actions>.btn:first-child {background:#e6edf4;color:#25435f;border-color:#dfe8f1;}
}


.crm-list-channel { display:none !important; }
@media screen and (max-width:800px) {
  body.mw-mobile #app #main .crm-table .crm-profile-actions {
    display:flex !important; width:100%; min-width:0; flex-wrap:wrap; align-items:center; gap:7px;
  }
  body.mw-mobile #app #main .crm-table .crm-list-channel {
    display:inline-flex !important; align-items:center; justify-content:center; gap:5px;
    margin-right:auto; min-height:38px; max-width:100%; padding:8px 10px;
    border:1px solid #9bcfd0; border-radius:7px; background:#f0faf9; color:#007e83;
    font-size:12px; line-height:1.4; white-space:normal; overflow-wrap:anywhere; text-decoration:none;
  }
  body.mw-mobile #app #main .crm-table .crm-list-channel svg { width:15px; height:15px; flex:0 0 auto; }
  body.mw-mobile #app #main .crm-table .crm-list-channel:disabled { opacity:.45; cursor:default; }
}

.expense-payment-fields { display:contents; }
.expense-form-content { min-width:0; }
.expense-management-page .expense-filter-grid { grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr)); }

@media screen and (max-width:800px) {
  body.mw-mobile #app #main .cfm-backdrop {
    display:block!important; position:fixed!important; inset:0!important; overflow:hidden!important;
    padding:0!important; backdrop-filter:none!important; animation:none!important;
  }
  body.mw-mobile #app #main .cfm-backdrop .cfm-dialog.mw-modal {
    display:flex!important; flex-direction:column!important; position:relative!important;
    height:var(--mw-viewport-height,100dvh)!important; min-height:0!important;
    max-height:var(--mw-viewport-height,100dvh)!important; overflow:hidden!important;
    padding:0 12px!important; animation:none!important; transform:none!important;
  }
  body.mw-mobile #app #main .cfm-dialog>.mw-modal-brand,
  body.mw-mobile #app #main .cfm-dialog>.cfm-dialog-head { flex:0 0 auto!important; position:static!important; }
  body.mw-mobile #app #main .cfm-dialog>.cfm-form {
    display:flex!important; flex-direction:column!important; flex:1 1 auto!important;
    min-height:0!important; overflow:hidden!important; padding:0!important; gap:0!important;
  }
  body.mw-mobile #app #main .cfm-form>.cfm-form-content {
    display:flex; flex-direction:column; flex:1 1 auto; min-height:0;
    overflow-y:auto; overflow-x:hidden; overscroll-behavior:contain;
    gap:14px; padding:0 0 20px; scroll-padding:12px 0 20px;
  }
  body.mw-mobile #app #main .cfm-form .cfm-field[hidden],
  body.mw-mobile #app #main .cfm-form .cfm-form-content [hidden] { display:none!important; }
  body.mw-mobile #app #main .cfm-form>.cfm-form-actions {
    position:static!important; inset:auto!important; flex:0 0 auto!important;
    margin:0!important; padding:12px 0 calc(12px + env(safe-area-inset-bottom,0px))!important;
    background:#f5f9fc!important;
  }

  body.mw-mobile:has(#finance-ui-expense-modal:not([hidden])) { overflow:hidden; }
  body.mw-mobile:has(#finance-ui-expense-modal:not([hidden])) .mw-bottom-nav { display:none!important; }
  body.mw-mobile #finance-ui-expense-modal {
    padding:0!important; overflow:hidden!important; place-items:stretch!important;
    background:#f6fafe!important; backdrop-filter:none!important;
  }
  body.mw-mobile #finance-ui-expense-modal .finance-ui-dialog {
    display:flex!important; flex-direction:column!important; position:relative!important;
    inset:auto!important; width:100%!important; margin:0!important; padding:0 12px!important;
    height:var(--mw-viewport-height,100dvh)!important; min-height:0!important;
    max-height:var(--mw-viewport-height,100dvh)!important; overflow:hidden!important;
    border:0!important; border-radius:0!important;
  }
  body.mw-mobile #finance-ui-expense-modal .finance-ui-dialog::before {
    flex:0 0 auto; position:static; margin:0 -12px; padding:15px 12px;
  }
  body.mw-mobile #finance-ui-expense-modal .finance-ui-dialog-head {
    flex:0 0 auto!important; min-height:58px; padding:12px 0!important;
    align-items:center!important; background:transparent!important; gap:10px;
  }
  body.mw-mobile #finance-ui-expense-modal .finance-ui-dialog-head h2 { font-size:20px!important; }
  body.mw-mobile #finance-ui-expense-modal .finance-ui-dialog-meta { display:none; }
  body.mw-mobile #finance-ui-expense-modal .finance-ui-dialog-close {
    flex:0 0 34px; width:34px; height:34px; padding:0; font-size:25px; border-radius:8px;
  }
  body.mw-mobile #finance-ui-expense-modal .finance-ui-dialog-body,
  body.mw-mobile #finance-ui-expense-modal .expense-form-card {
    display:flex!important; flex-direction:column!important; flex:1 1 auto!important;
    min-height:0!important; overflow:hidden!important; padding:0!important; margin:0!important;
  }
  body.mw-mobile #finance-ui-expense-modal #expense-form {
    display:flex!important; flex-direction:column!important; flex:1 1 auto!important;
    min-height:0!important; overflow:hidden!important; margin:0!important;
  }
  body.mw-mobile #finance-ui-expense-modal .expense-form-content {
    flex:1 1 auto; min-height:0; overflow-y:auto; overflow-x:hidden;
    padding:4px 0 20px; overscroll-behavior:contain; scroll-padding:12px 0 20px;
  }
  body.mw-mobile #finance-ui-expense-modal .expense-form-grid,
  body.mw-mobile #finance-ui-expense-modal .expense-card-grid {
    display:grid!important; grid-template-columns:minmax(0,1fr)!important; gap:12px!important;
  }
  body.mw-mobile #finance-ui-expense-modal :is(.expense-form-grid,.expense-payment-fields,.expense-card-grid)>label {
    display:grid!important; grid-template-columns:90px minmax(0,1fr)!important;
    gap:9px!important; align-items:start!important; margin:0!important; min-width:0!important;
    grid-column:1/-1!important;
  }
  body.mw-mobile #finance-ui-expense-modal :is(.expense-form-grid,.expense-payment-fields,.expense-card-grid)>label>span {
    font-size:12px!important; line-height:1.5!important; padding-top:10px; color:#435976;
  }
  body.mw-mobile #finance-ui-expense-modal :is(.expense-form-grid,.expense-payment-fields,.expense-card-grid)>label:has(textarea,input[type=file]) {
    grid-template-columns:minmax(0,1fr)!important;
  }
  body.mw-mobile #finance-ui-expense-modal :is(input,select,textarea) {
    font-size:16px!important; width:100%; max-width:100%; min-width:0!important;
    min-height:41px; padding:9px 10px;
  }
  body.mw-mobile #finance-ui-expense-modal .expense-card-fields { grid-column:1/-1; padding:10px; min-width:0; }
  body.mw-mobile #finance-ui-expense-modal .expense-card-heading { display:grid; gap:5px; margin-bottom:12px; }
  body.mw-mobile #finance-ui-expense-modal .expense-card-heading span { font-size:11px; line-height:1.5; }
  body.mw-mobile #finance-ui-expense-modal .expense-field-error { grid-column:2; font-size:11px; color:#dc3f59; }
  body.mw-mobile #finance-ui-expense-modal #expense-form>.form-actions {
    position:static!important; inset:auto!important; display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    flex:0 0 auto!important; gap:9px!important; margin:0!important;
    padding:12px 0 calc(12px + env(safe-area-inset-bottom,0px))!important;
    border-top:1px solid #e1ebf3; background:#f6f9fc;
  }
  body.mw-mobile #finance-ui-expense-modal .form-actions>button { min-height:43px; width:100%; margin:0; font-size:14px; }
  body.mw-mobile #finance-ui-expense-modal [hidden] { display:none!important; }

  body.mw-mobile #app #main .expense-management-page { gap:12px!important; }
  body.mw-mobile #app #main .expense-management-page>.ops-title-row {
    display:grid!important; grid-template-columns:minmax(0,1fr) auto!important; gap:8px;
    padding:0!important; margin:0!important; min-height:44px!important; align-items:center!important;
  }
  body.mw-mobile #app #main .expense-management-page .ops-title-row h1 { font-size:22px!important; line-height:1.3; }
  body.mw-mobile #app #main .expense-management-page .ops-title-row p { display:none; }
  body.mw-mobile #app #main .expense-management-page .ops-title-row>.toolbar {
    display:flex!important; width:auto!important; min-width:108px!important; margin:0!important;
    padding:0!important; flex-wrap:nowrap!important;
  }
  body.mw-mobile #app #main .expense-management-page .mw-expense-proxy {
    display:inline-flex!important; flex:0 0 auto; width:auto!important; min-width:108px!important;
    white-space:nowrap!important; word-break:keep-all!important; padding:9px 11px!important;
    min-height:38px!important; gap:5px; font-size:12px!important;
  }
  body.mw-mobile #app #main .expense-management-layout { display:block!important; margin:0!important; }
  body.mw-mobile #app #main .expense-management-layout .expense-main { display:grid!important; gap:12px; min-width:0; }
  body.mw-mobile #app #main .expense-management-layout .expense-side { display:none!important; }
  body.mw-mobile #app #main .expense-management-page .expense-stat-grid {
    display:grid!important; grid-template-columns:repeat(6,minmax(0,1fr))!important; gap:8px!important;
    margin:0!important; width:100%!important;
  }
  body.mw-mobile #app #main .expense-stat-grid>.ops-stat-card {
    grid-column:span 2; display:block!important; min-width:0; min-height:0!important;
    padding:10px 9px!important; border:1px solid #e7eff5!important; border-radius:9px!important;
    background:#f0f6fb!important; box-shadow:none!important;
  }
  body.mw-mobile #app #main .expense-stat-grid>.ops-stat-card:nth-child(-n+2) { grid-column:span 3; padding:13px 11px!important; }
  body.mw-mobile #app #main .expense-stat-grid>.ops-stat-card:nth-child(2) { background:#eaf8f4!important; }
  body.mw-mobile #app #main .expense-stat-grid>.ops-stat-card:nth-child(3) { background:#fff5e8!important; }
  body.mw-mobile #app #main .expense-stat-grid>.ops-stat-card:nth-child(4) { background:#eef5ff!important; }
  body.mw-mobile #app #main .expense-stat-grid .ops-stat-icon { display:none!important; }
  body.mw-mobile #app #main .expense-stat-grid :is(p,span) { font-size:10px!important; line-height:1.5!important; margin:0!important; }
  body.mw-mobile #app #main .expense-stat-grid strong { display:block; font-size:16px!important; line-height:1.4!important; overflow-wrap:anywhere; letter-spacing:-.035em; }
  body.mw-mobile #app #main .expense-stat-grid>.ops-stat-card:nth-child(-n+2) strong { font-size:21px!important; }
  body.mw-mobile #app #main .expense-stat-grid small { display:none!important; }
  body.mw-mobile #app #main .expense-filter-card { padding:10px!important; margin:0!important; }
  body.mw-mobile #app #main .expense-filter-grid { display:grid!important; grid-template-columns:1fr 1fr!important; gap:8px!important; }
  body.mw-mobile #app #main .expense-filter-grid>label { min-width:0; margin:0; gap:4px; }
  body.mw-mobile #app #main .expense-filter-grid>label>span {
    position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%);
  }
  body.mw-mobile #app #main .expense-filter-grid>label:first-child,
  body.mw-mobile #app #main .expense-filter-grid>.expense-search { grid-column:1/-1; }
  body.mw-mobile #app #main .expense-filter-grid .date-inline { display:grid; grid-template-columns:minmax(0,1fr) 12px minmax(0,1fr); gap:3px; }
  body.mw-mobile #app #main .expense-filter-grid :is(input,select) { font-size:13px!important; min-height:36px!important; padding:7px 8px!important; }
  body.mw-mobile #app #main .expense-filter-actions { gap:6px; margin-top:8px; }
  body.mw-mobile #app #main .expense-filter-actions .btn { min-height:30px; font-size:11px; padding:5px 8px; }
  body.mw-mobile #app #main .expense-list-card { border:0!important; background:transparent!important; padding:0!important; box-shadow:none!important; }
  body.mw-mobile #app #main .expense-list-card>.surface-head { margin:0 0 8px; padding:0; }
  body.mw-mobile #app #main .expense-list-card>.surface-head h2 { font-size:14px; }
  body.mw-mobile #app #main .expense-mobile-list { display:grid; gap:10px; }
  body.mw-mobile #app #main .expense-mobile-card { min-width:0; padding:12px; border:1px solid #e0eaf2; border-radius:10px; background:#fff; box-shadow:0 2px 6px #23455c05; }
  body.mw-mobile #app #main .expense-mobile-card-head { display:grid; grid-template-columns:42px minmax(0,1fr) auto; gap:8px; align-items:start; }
  body.mw-mobile #app #main .expense-mobile-card-head>time { font-size:13px; font-weight:750; line-height:1.6; }
  body.mw-mobile #app #main .expense-mobile-open { display:grid; gap:4px; padding:0; border:0; background:transparent; text-align:left; color:#163050; min-width:0; }
  body.mw-mobile #app #main .expense-mobile-open strong { font-size:13px; line-height:1.5; overflow-wrap:anywhere; }
  body.mw-mobile #app #main .expense-mobile-open small { font-size:11px; line-height:1.4; color:#7b8ba1; }
  body.mw-mobile #app #main .expense-mobile-card-head>.badge { max-width:80px; font-size:10px; white-space:normal; }
  body.mw-mobile #app #main .expense-mobile-amounts { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; margin:12px 0 8px; }
  body.mw-mobile #app #main .expense-mobile-amounts>span { display:grid; gap:3px; font-size:10px; color:#7789a0; }
  body.mw-mobile #app #main .expense-mobile-amounts strong { font-size:12px; line-height:1.5; color:#223c58; overflow-wrap:anywhere; }
  body.mw-mobile #app #main .expense-mobile-amounts>span:last-child strong { font-size:14px; color:#008b82; }
  body.mw-mobile #app #main .expense-mobile-card>footer { display:flex; flex-wrap:wrap; align-items:center; gap:7px; border-top:1px solid #eaf0f6; padding-top:8px; }
  body.mw-mobile #app #main .expense-mobile-card>footer>span { display:flex; gap:3px; align-items:center; font-size:10px; line-height:1.5; color:#71839d; }
  body.mw-mobile #app #main .expense-mobile-card>footer svg { width:14px; height:14px; }
  body.mw-mobile #app #main .expense-mobile-card>footer .icon-btn { min-width:30px; min-height:30px; width:30px; height:30px; padding:6px; }
  body.mw-mobile #app #main .expense-mobile-card>footer .icon-btn:first-of-type { margin-left:auto; }
  body.mw-mobile #app #main .expense-filter-grid .date-inline>span {display:block!important;min-width:0;width:12px;text-align:center;font-size:11px;}
  body.mw-mobile #app #main .expense-filter-grid .date-inline>input {width:100%!important;min-width:0!important;}
  body.mw-mobile #app #main .expense-filter-actions {display:flex!important;flex-wrap:nowrap!important;flex-direction:row!important;}
  body.mw-mobile #app #main .expense-filter-actions>.btn {display:inline-flex!important;flex:1 1 0;width:auto!important;min-width:0!important;justify-content:center;align-items:center;gap:4px;white-space:nowrap;font-size:11px!important;}
  body.mw-mobile #app #main .expense-filter-actions .btn svg {width:14px!important;height:14px!important;flex:0 0 14px!important;}
  body.mw-mobile #app #main .expense-management-page .mw-expense-proxy>svg {width:16px!important;height:16px!important;flex:0 0 16px!important;}
  body.mw-mobile #app #main .expense-management-page [hidden] {display:none!important;}
  body.mw-mobile #app #main .cfm-form>.cfm-form-actions {width:100%!important;min-width:0!important;box-sizing:border-box!important;}
}

/* Keep the mobile statement identical to the print document and reserve its controls. */
@media screen and (max-width:800px){
 body.mw-mobile:has(.document-view-backdrop){overflow:hidden!important}
 body.mw-mobile #app .document-view-backdrop{position:fixed!important;inset:0!important;z-index:12000!important;display:flex!important;align-items:stretch!important;justify-content:stretch!important;width:100%!important;height:var(--mw-viewport-height,100svh)!important;min-height:0!important;padding:0!important;margin:0!important;overflow:hidden!important;backdrop-filter:none!important;filter:none!important;transform:none!important;background:#f4f8fb!important}
 body.mw-mobile #app .document-view-modal.mw-modal{position:relative!important;inset:auto!important;display:flex!important;flex-direction:column!important;gap:0!important;width:100%!important;min-width:0!important;max-width:none!important;height:var(--mw-viewport-height,100svh)!important;min-height:0!important;max-height:var(--mw-viewport-height,100svh)!important;padding:0!important;margin:0!important;overflow:hidden!important;transform:none!important;border:0!important;border-radius:0!important}
 body.mw-mobile #app .document-view-modal>.mw-modal-brand{position:static!important;flex:0 0 auto!important;min-height:52px!important;margin:0!important;padding:calc(10px + env(safe-area-inset-top,0px)) 12px 10px!important}
 body.mw-mobile #app .document-view-modal>.modal-head{position:static!important;display:grid!important;grid-template-columns:minmax(0,1fr) 36px!important;align-items:center!important;flex:0 0 auto!important;gap:10px!important;min-height:64px!important;margin:0!important;padding:12px!important;border-bottom:1px solid #e4ecf3!important;background:#fff!important}
 body.mw-mobile #app .document-view-modal>.modal-head>div:first-child{position:static!important;display:block!important;min-width:0!important;width:auto!important;margin:0!important;padding:0!important}
 body.mw-mobile #app .document-view-modal #document-view-title{position:static!important;display:block!important;inset:auto!important;text-align:left!important;font-size:19px!important;line-height:1.4!important;margin:0!important;padding:0!important;transform:none!important}
 body.mw-mobile #app .document-view-modal>.modal-head .page-meta{position:static!important;display:block!important;inset:auto!important;font-size:11px!important;line-height:1.5!important;margin:3px 0 0!important;color:#71859e!important;overflow-wrap:anywhere!important}
 body.mw-mobile #app .document-view-modal>.modal-head>.icon-btn{position:static!important;inset:auto!important;display:grid!important;place-items:center!important;width:36px!important;min-width:36px!important;height:36px!important;min-height:36px!important;margin:0!important;padding:8px!important;justify-self:end!important}
 body.mw-mobile #app .document-view-modal>.modal-head :is(.document-view-actions,.document-view-zoom),
 body.mw-mobile #app .document-view-modal[data-mw-document=print]>.document-view-print{display:none!important}
 body.mw-mobile #app .document-view-modal>.mw-document-body{display:block!important;position:relative!important;flex:1 1 auto!important;min-height:0!important;min-width:0!important;width:100%!important;padding:12px!important;margin:0!important;overflow:auto!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch}
 body.mw-mobile #app .mw-document-preview-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin:0 0 10px;min-height:36px;font-size:12px}
 body.mw-mobile #app .mw-document-preview-toolbar>div{display:flex;align-items:center;gap:5px;min-width:0}
 body.mw-mobile #app .mw-document-preview-toolbar button{display:grid;place-items:center;min-width:32px;min-height:34px;padding:6px 8px;border:1px solid #dce6ef;border-radius:7px;background:#fff;color:#284566;font-size:12px;white-space:nowrap}
 body.mw-mobile #app .mw-document-preview-toolbar button:disabled{opacity:.4}
 body.mw-mobile #app [data-mw-document-scale]{min-width:35px;text-align:center;font-size:11px;font-variant-numeric:tabular-nums}
 body.mw-mobile #app .mw-document-loading{font-size:12px;color:#71859e;margin:10px 0}
 body.mw-mobile #app .mw-document-viewport{display:block;position:relative;min-width:0;max-width:100%;width:100%;overflow:auto;background:#fff;border:1px solid #dce6ef;border-radius:6px;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
 body.mw-mobile #app .mw-document-paper{position:relative;margin:0 auto;overflow:hidden;background:#fff;flex:none}
 body.mw-mobile #app .mw-document-frame{position:absolute;inset:0 auto auto 0;display:block;min-width:0!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;background:#fff;transform-origin:top left}
 body.mw-mobile #app .document-view-modal .mw-document-downloads{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:12px 0}
 body.mw-mobile #app .document-view-modal .mw-document-downloads>button{min-width:0;font-size:11px;min-height:52px}
 body.mw-mobile #app .document-view-modal details.mw-document-receipts{margin:12px 0 0;border:1px solid #e4ecf3;border-radius:8px;padding:10px;background:#fff}
 body.mw-mobile #app .document-view-modal details.mw-document-receipts>summary{cursor:pointer;font-size:12px;font-weight:650;color:#294563;min-height:28px;line-height:28px}
 body.mw-mobile #app .document-view-modal details.mw-document-receipts>article{margin-top:8px;margin-bottom:0;font-size:12px}
 body.mw-mobile #app .document-view-modal.mw-modal[data-mw-document=print]>.mw-document-footer{position:static!important;inset:auto!important;display:flex!important;flex:0 0 auto!important;flex-wrap:nowrap!important;width:100%!important;min-width:0!important;margin:0!important;padding:10px 12px calc(10px + env(safe-area-inset-bottom,0px))!important;background:#fff!important;border-top:1px solid #e4ecf3!important;z-index:1!important}
 body.mw-mobile #app .document-view-modal.mw-modal[data-mw-document=print]>.mw-document-footer>button{flex:1 1 0!important;min-width:0!important;width:auto!important;min-height:44px!important;font-size:13px!important;line-height:1.4!important;white-space:normal!important}
 body.mw-mobile #app .document-view-modal.mw-modal[data-mw-document=print]>.mw-document-footer>.mw-icon-button{flex:0 0 36px!important}
}

/* Mobile reference layouts. Desktop business views and print styles stay unchanged. */
.mref-mobile-only{display:none}
@media screen and (max-width:800px){
 body.mw-mobile .mref-mobile-only{display:block}
 body.mw-mobile [data-mw-flow-backdrop]{position:fixed!important;inset:0!important;display:flex!important;align-items:stretch!important;justify-content:stretch!important;height:var(--mw-viewport-height,100svh)!important;min-height:0!important;padding:0!important;margin:0!important;overflow:hidden!important;backdrop-filter:none!important;filter:none!important;transform:none!important;background:#f6f9fc!important;z-index:12500!important}
 body.mw-mobile #app .mw-modal[data-mw-flow]{position:relative!important;inset:auto!important;display:flex!important;flex-direction:column!important;gap:0!important;height:var(--mw-viewport-height,100svh)!important;min-height:0!important;max-height:var(--mw-viewport-height,100svh)!important;width:100%!important;min-width:0!important;max-width:none!important;padding:0!important;margin:0!important;overflow:hidden!important;border:0!important;border-radius:0!important;resize:none!important;transform:none!important}
 body.mw-mobile #app .mw-modal[data-mw-flow]>.mw-modal-brand{position:static!important;flex:0 0 auto!important;margin:0!important;padding:10px 12px!important;min-height:50px!important}
 body.mw-mobile #app .mw-modal[data-mw-flow]>:is(.modal-head,.surface-head,.bulk-header),body.mw-mobile #app .mw-modal[data-mw-flow] .mw-flow-form>.schedule-form-title{position:static!important;display:flex!important;flex:0 0 auto!important;align-items:center!important;justify-content:space-between!important;flex-wrap:nowrap!important;gap:10px!important;min-height:54px!important;padding:10px 12px!important;margin:0!important;border:0!important;border-bottom:1px solid #e4ecf3!important;background:#fff!important;transform:none!important}
 body.mw-mobile #app .mw-modal[data-mw-flow] :is(.modal-head,.surface-head,.schedule-form-title,.bulk-header)>:first-child{position:static!important;min-width:0!important;flex:1 1 auto!important}
 body.mw-mobile #app .mw-modal[data-mw-flow] :is(.modal-head,.surface-head,.schedule-form-title,.bulk-header) :is(h1,h2){position:static!important;inset:auto!important;display:block!important;width:auto!important;margin:0!important;padding:0!important;font-size:18px!important;line-height:1.4!important;letter-spacing:-.035em!important;text-align:left!important;transform:none!important}
 body.mw-mobile #app .mw-modal[data-mw-flow] :is(.modal-head,.schedule-form-title,.bulk-header) :is(p,.schedule-eyebrow){position:static!important;display:block!important;margin:3px 0 0!important;font-size:10px!important;line-height:1.5!important;max-width:100%!important;overflow-wrap:anywhere!important}
 body.mw-mobile #app .mw-modal[data-mw-flow] :is(.modal-head,.schedule-form-title,.surface-head,.bulk-header)>:is(button,.icon-btn){position:static!important;inset:auto!important;flex:0 0 36px!important;display:grid!important;place-items:center!important;min-width:36px!important;width:36px!important;min-height:36px!important;height:36px!important;padding:7px!important;margin:0!important;font-size:22px!important}
 body.mw-mobile #app .mw-modal[data-mw-flow] .purchase-order-close-button>span{display:none!important}
 body.mw-mobile #app .mw-modal[data-mw-flow] .mw-flow-form{position:relative!important;display:flex!important;flex-direction:column!important;flex:1 1 auto!important;min-height:0!important;height:auto!important;max-height:none!important;min-width:0!important;width:100%!important;gap:0!important;overflow:hidden!important;margin:0!important;padding:0!important}
 body.mw-mobile #app .mw-modal[data-mw-flow] .mw-flow-form>.mw-stepper{position:static!important;inset:auto!important;display:flex!important;align-items:center!important;justify-content:space-around!important;flex:0 0 auto!important;gap:6px!important;min-height:64px!important;margin:0!important;padding:10px 12px!important;border-bottom:1px solid #e4ecf3!important;background:#fff!important}
 body.mw-mobile #app .mw-modal[data-mw-flow] .mw-stepper>button{flex:1 1 0!important;min-width:0!important;max-width:33.333%!important;min-height:40px!important;padding:0!important;font-size:11px!important;white-space:normal!important;line-height:1.4!important}
 body.mw-mobile #app .mw-modal[data-mw-flow] .mw-flow-form>:is(.mw-flow-body,.mw-wizard-step){flex:1 1 auto!important;min-height:0!important;min-width:0!important;overflow:auto!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch;padding:12px!important;margin:0!important;scroll-padding-block:12px!important}
 body.mw-mobile #app .mw-modal[data-mw-flow] .mw-flow-form>.mw-wizard-step{display:grid!important;grid-template-columns:minmax(0,1fr)!important;align-content:start!important;gap:12px!important}
 body.mw-mobile #app .mw-modal[data-mw-flow] .mw-flow-form>.mw-wizard-step[hidden],body.mw-mobile #app .mw-modal[data-mw-flow] .mw-original-actions{display:none!important}
 body.mw-mobile #app .mw-modal[data-mw-flow] .mw-flow-form>:is(.mw-wizard-footer,.form-actions,.modal-actions,.schedule-form-footer),body.mw-mobile #app .mw-modal[data-mw-flow]>.bulk-footer{position:static!important;inset:auto!important;display:flex!important;flex:0 0 auto!important;align-items:stretch!important;flex-wrap:nowrap!important;width:100%!important;min-width:0!important;margin:0!important;padding:10px 12px calc(10px + env(safe-area-inset-bottom,0px))!important;gap:8px!important;background:#fff!important;border-top:1px solid #e4ecf3!important;z-index:1!important}
 body.mw-mobile #app .mw-modal[data-mw-flow] :is(.mw-wizard-footer,.form-actions,.modal-actions,.schedule-form-footer)>button{flex:1 1 0!important;min-width:0!important;min-height:43px!important;width:auto!important;padding:10px 8px!important;font-size:13px!important;line-height:1.4!important;white-space:normal!important;justify-content:center!important}
 body.mw-mobile #app .mw-modal[data-mw-flow] :is(.mw-aligned-field,label.field):not(.mw-choice-field):not(.mw-stacked-field){display:grid!important;grid-template-columns:88px minmax(0,1fr)!important;align-items:center!important;gap:8px!important;min-width:0!important;width:100%!important;margin:0!important;grid-column:1/-1!important}
 body.mw-mobile #app .mw-modal[data-mw-flow] .mref-with-help>.field-help,body.mw-mobile #app .mw-modal[data-mw-flow] label>.field-help{grid-column:1/-1!important;width:100%!important;max-width:none!important;line-height:1.6!important;font-size:11px!important;margin:0!important;overflow-wrap:break-word!important;word-break:normal!important}
 body.mw-mobile #app .mw-modal[data-mw-flow] label>span:first-child{font-size:12px!important;line-height:1.45!important;color:#3e526b!important;min-width:0!important;word-break:keep-all!important}
 body.mw-mobile #app .mw-modal[data-mw-flow] :is(input:not([type=checkbox]):not([type=radio]),select,textarea){font-size:16px!important;min-width:0!important;max-width:100%!important;width:100%!important;border-radius:7px!important}
 body.mw-mobile #app .mw-modal[data-mw-flow] :is(.schedule-form-grid,.form-grid):not(.mw-wizard){grid-template-columns:minmax(0,1fr)!important;gap:10px!important}
 body.mw-mobile #app .mref-step-heading{grid-column:1/-1;margin:3px 0 0;padding:8px 10px;background:linear-gradient(100deg,#eaf2f7,#f7fafc);font-size:13px;font-weight:750}
 body.mw-mobile #app .mw-flow-form .mref-segment-source{display:none!important}
 body.mw-mobile #app .mref-option-segments{display:flex;flex-wrap:wrap;gap:5px;min-width:0}
 body.mw-mobile #app .mref-option-segments>button{flex:1 1 42px;min-width:0;min-height:34px;padding:5px 7px;font-size:11px;line-height:1.4;border:1px solid #dce6ef;border-radius:6px;color:#405570;background:#fff}
 body.mw-mobile #app .mref-option-segments>button.active{color:#fff;border-color:#00888c;background:#00888c}
 body.mw-mobile #app #purchase-order-form .purchase-detail-editor{width:100%!important;min-width:0!important;padding:0!important;margin:0!important}
 body.mw-mobile #app #purchase-order-form .purchase-detail-editor-head{display:block!important;padding:0!important;border:0!important}
 body.mw-mobile #app #purchase-order-form .purchase-detail-editor-head>div:first-child{display:none!important}
 body.mw-mobile #app #purchase-order-form .purchase-detail-editor-actions{display:flex!important;gap:8px!important;position:static!important;inset:auto!important;width:100%!important;margin:0 0 12px!important;padding:0!important;background:transparent!important;border:0!important;flex-wrap:nowrap!important}
 body.mw-mobile #app #purchase-order-form .purchase-detail-editor-actions>:is(label,button){display:flex!important;align-items:center!important;justify-content:center!important;flex:1 1 0!important;min-width:0!important;min-height:38px!important;font-size:11px!important}
 body.mw-mobile #app #purchase-order-form :is(.purchase-detail-line-wrap,.purchase-detail-line-table){width:100%!important;max-width:100%!important;min-width:0!important;border:0!important;overflow:visible!important;background:transparent!important}
 body.mw-mobile #app #purchase-order-form .purchase-detail-line-table{display:block!important}
 body.mw-mobile #app #purchase-order-form .purchase-detail-line-table>thead{display:none!important}
 body.mw-mobile #app #purchase-order-form .purchase-detail-line-table>tbody{display:grid!important;gap:12px!important}
 body.mw-mobile #app #purchase-order-form .purchase-detail-line-table>tbody>tr{position:relative!important;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:9px!important;padding:12px!important;margin:0!important;background:#f0f6fa!important;border:1px solid #e1eaf3!important;border-radius:9px!important}
 body.mw-mobile #app #purchase-order-form .purchase-detail-line-table tr>td{display:block!important;min-width:0!important;width:auto!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;font-size:11px!important;text-align:left!important}
 body.mw-mobile #app #purchase-order-form .purchase-detail-line-table tr>td::before{display:block;content:attr(data-mref-label);font-size:10px;color:#73859a;margin-bottom:4px}
 body.mw-mobile #app #purchase-order-form .purchase-detail-line-table tr>td:nth-child(1){position:absolute!important;top:14px!important;left:12px!important;width:22px!important;height:22px;display:grid!important;place-items:center;background:#bde7ed!important;border-radius:50%;font-weight:750}
 body.mw-mobile #app #purchase-order-form .purchase-detail-line-table tr>td:nth-child(1)::before,body.mw-mobile #app #purchase-order-form .purchase-detail-line-table tr>td:nth-child(3)::before,body.mw-mobile #app #purchase-order-form .purchase-detail-line-table tr>td:last-child::before{display:none}
 body.mw-mobile #app #purchase-order-form .purchase-detail-line-table tr>td:nth-child(3){order:-1;grid-column:1/-1;margin:0 28px 0 28px!important}
 body.mw-mobile #app #purchase-order-form .purchase-detail-line-table tr>td:nth-child(3)>input{background:transparent!important;border:0!important;font-weight:750!important;padding:3px!important;min-height:26px!important}
 body.mw-mobile #app #purchase-order-form .purchase-detail-line-table tr>td:is(:nth-child(2),:nth-child(11)){grid-column:1/-1}
 body.mw-mobile #app #purchase-order-form .purchase-detail-line-table tr>td:is(:nth-child(8),:nth-child(9),:nth-child(10)){display:none!important}
 body.mw-mobile #app #purchase-order-form .purchase-detail-line-table tr>td:last-child{position:absolute!important;top:10px!important;right:8px!important}
 body.mw-mobile #app #purchase-order-form .purchase-detail-line-table tr>td:last-child button{min-width:28px!important;min-height:28px!important;width:28px!important;height:28px!important;padding:4px!important}
 body.mw-mobile #app #purchase-order-form .purchase-detail-line-table input{min-height:34px!important;width:100%!important;max-width:100%!important;font-size:14px!important;padding:6px 8px!important;background:#fff!important}
 body.mw-mobile #app #purchase-order-form .purchase-detail-totals{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px!important;padding:12px!important;margin-top:12px!important;border:1px solid #e4ecf3!important;border-radius:8px!important;background:#fff!important}
 body.mw-mobile #app #purchase-order-form .purchase-detail-totals>span{display:flex;justify-content:space-between;gap:12px;font-size:12px}
 body.mw-mobile #app #purchase-order-form .purchase-detail-totals .grand{padding-top:10px;border-top:1px solid #dce6ef;font-weight:750;color:#00888c}
 body.mw-mobile .mref-page-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 12px}
 body.mw-mobile .mref-page-head h1{font-size:22px;line-height:1.35;margin:0;font-weight:850;letter-spacing:-.04em}
 body.mw-mobile .mref-page-head p{font-size:11px;line-height:1.6;color:#73859c;margin:4px 0}
 body.mw-mobile .mref-page-head .btn{white-space:nowrap;flex:0 0 auto;min-width:0;font-size:11px;padding:8px 10px}
 body.mw-mobile .mref-page-head svg{width:16px;height:16px}
 body.mw-mobile .mref-summary-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin:10px 0 12px!important}
 body.mw-mobile .mref-summary-grid>button{display:flex;align-items:center;gap:10px;min-width:0;min-height:72px;padding:10px;border:1px solid #e3edf5;border-radius:9px;background:#f2f8fc;color:#172d50;text-align:left}
 body.mw-mobile .mref-summary-grid>button:nth-child(2){background:#edfaf6}
 body.mw-mobile .mref-summary-grid>button:nth-child(3){background:#fff7eb}
 body.mw-mobile .mref-summary-grid>button:nth-child(4){background:#fff2f3}
 body.mw-mobile .mref-summary-grid>button>svg{width:24px;height:24px;flex:0 0 24px;color:#00888c}
 body.mw-mobile .mref-summary-grid>button>span{font-size:10px;min-width:0;flex:1}
 body.mw-mobile .mref-summary-grid strong{display:block;font-size:17px;line-height:1.4;overflow-wrap:anywhere;margin-top:4px}
 body.mw-mobile .mref-summary-grid small{display:block;margin-top:3px;font-size:10px}
 body.mw-mobile .mref-status-tabs{display:flex;gap:5px;overflow:auto;padding:0 0 8px;margin:0 0 4px}
 body.mw-mobile .mref-status-tabs>button{flex:0 0 auto;min-height:30px;padding:5px 9px;border:0;border-radius:15px;background:#eaf1f7;font-size:10px;color:#455b79;white-space:nowrap}
 body.mw-mobile .mref-status-tabs>button.active{background:#00888c;color:#fff}
 body.mw-mobile .mref-campaign-filters{display:grid;grid-template-columns:1fr 1fr;gap:8px}
 body.mw-mobile .mref-campaign-filters>.cws-search{grid-column:1/-1;margin:0!important;max-width:none!important;width:100%!important}
 body.mw-mobile .mref-campaign-card{padding:12px;background:#fff;border:1px solid #e1eaf3;border-radius:10px;margin:0 0 12px}
 body.mw-mobile .mref-campaign-card>header{display:flex;align-items:center;gap:7px;flex-wrap:wrap;font-size:11px}
 body.mw-mobile .mref-campaign-card>header>strong{min-width:0;flex:1;line-height:1.5;overflow-wrap:anywhere}
 body.mw-mobile .mref-campaign-card>header>span:last-child{margin-left:auto;font-size:10px}
 body.mw-mobile .mref-campaign-identity{display:flex!important;align-items:center;gap:9px;width:100%;margin:10px 0;padding:0!important;background:transparent!important;border:0!important;text-align:left}
 body.mw-mobile .mref-product-photo{display:grid;place-items:center;flex:0 0 48px;width:48px;height:52px;background:#f0f5f8;border-radius:7px;overflow:hidden}
 body.mw-mobile .mref-product-photo>:is(img,svg){max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain}
 body.mw-mobile .mref-campaign-identity>span:nth-child(2){flex:1;min-width:0}
 body.mw-mobile .mref-campaign-identity strong{display:block;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
 body.mw-mobile .mref-campaign-identity :is(small,time){display:block;margin-top:4px;color:#73859c;font-size:10px}
 body.mw-mobile .mref-campaign-progress{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
 body.mw-mobile .mref-campaign-progress>button{display:block;min-width:0;border:0;border-radius:6px;background:#f1f6fb;padding:7px;font-size:10px;text-align:left;color:#516985}
 body.mw-mobile .mref-campaign-progress strong{display:block;margin-top:4px;font-size:12px;color:#183451}
 body.mw-mobile progress{display:block;width:100%;height:5px;accent-color:#00888c}
 body.mw-mobile .mref-campaign-amounts{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:7px}
 body.mw-mobile .mref-campaign-amounts>div{padding:8px;background:#f0f6fb;border-radius:6px;min-width:0}
 body.mw-mobile .mref-campaign-amounts span{display:block;font-size:10px;color:#788aa2}
 body.mw-mobile .mref-campaign-amounts strong{display:block;font-size:13px;margin-top:5px;overflow-wrap:anywhere}
 body.mw-mobile .mref-pager{display:flex;justify-content:center;align-items:center;gap:12px;padding:10px;font-size:12px}
 body.mw-mobile .mref-empty{font-size:12px;text-align:center;color:#71839b;padding:18px}
 body.mw-mobile #app .mref-campaign-detail.mw-modal{position:fixed!important;inset:0!important;display:flex!important;flex-direction:column!important;height:var(--mw-viewport-height,100svh)!important;min-height:0!important;max-height:var(--mw-viewport-height,100svh)!important;width:100%!important;max-width:none!important;padding:0!important;overflow:hidden!important;border-radius:0!important;transform:none!important}
 body.mw-mobile #app .mref-campaign-detail>.mw-modal-brand{position:static!important;flex:0 0 auto!important;margin:0!important;padding:10px 12px!important}
 body.mw-mobile #app .mref-detail-head{position:static!important;display:grid!important;grid-template-columns:minmax(0,1fr) 34px!important;align-items:center;gap:4px 8px;flex:0 0 auto;padding:10px 12px!important;margin:0!important;background:#fff!important}
 body.mw-mobile #app .mref-detail-head h1{font-size:16px!important;line-height:1.5!important;position:static!important;margin:0!important;overflow-wrap:anywhere}
 body.mw-mobile #app .mref-detail-head>small{grid-column:1/-1;font-size:10px;color:#73869e}
 body.mw-mobile #app .mref-detail-tabs{display:flex;flex:0 0 auto;margin:0 12px 10px;padding:3px;background:#eaf1f7;border-radius:7px}
 body.mw-mobile #app .mref-detail-tabs>button{flex:1;min-width:0;border:0;background:transparent;color:#536d8b;border-radius:5px;font-size:12px;padding:8px}
 body.mw-mobile #app .mref-detail-tabs>button.active{background:#00888c;color:#fff}
 body.mw-mobile #app .mref-detail-scroll{flex:1;min-height:0;overflow:auto;padding:0 12px 12px;overscroll-behavior:contain}
 body.mw-mobile #app .mref-detail-scroll [hidden]{display:none!important}
 body.mw-mobile .mref-detail-card{background:#fff;border:1px solid #e3ebf3;border-radius:9px;padding:11px;margin-bottom:10px;min-width:0}
 body.mw-mobile .mref-detail-card h2,body.mw-mobile .mref-detail-card h3{font-size:13px;line-height:1.45;margin:0 0 10px;text-align:left}
 body.mw-mobile .mref-detail-card>header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}
 body.mw-mobile .mref-detail-card>header h2{margin:0}
 body.mw-mobile .mref-detail-card .btn{min-height:30px;font-size:10px;padding:5px 7px}
 body.mw-mobile .mref-stage-track{display:flex;overflow:auto;gap:6px;padding:6px 0}
 body.mw-mobile .mref-stage-track>span{flex:0 0 48px;max-width:58px;text-align:center;font-size:9px;line-height:1.5;color:#8b9bb1}
 body.mw-mobile .mref-stage-track b{display:grid;place-items:center;margin:0 auto 6px;width:19px;height:19px;border-radius:50%;background:#ccd8e5;color:#fff}
 body.mw-mobile .mref-stage-track .complete b{background:#00888c}
 body.mw-mobile .mref-checklist-row{display:flex;gap:8px;align-items:center;text-align:left;width:100%;padding:9px 0;border:0;background:transparent;color:#264461;font-size:11px}
 body.mw-mobile .mref-checklist-row>span{flex:0 0 17px;width:17px;height:17px;border:1px solid #b6c8da;border-radius:4px;color:#fff;text-align:center}
 body.mw-mobile .mref-checklist-row>span.checked{background:#00888c;border-color:#00888c}
 body.mw-mobile .mref-checklist-row>strong{min-width:0;flex:1;line-height:1.5}
 body.mw-mobile .mref-checklist-row>time{font-size:9px;color:#7890a8;white-space:nowrap}
 body.mw-mobile .mref-detail-values{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:10px 0}
 body.mw-mobile .mref-detail-values>div{min-width:0;padding:9px;background:#f1f7fb;border-radius:6px}
 body.mw-mobile .mref-detail-values span{display:block;font-size:10px;color:#768ba2}
 body.mw-mobile .mref-detail-values strong{display:block;font-size:14px;margin-top:5px;overflow-wrap:anywhere}
 body.mw-mobile .mref-reservation{margin:9px 0;border:1px solid #e3ebf3;border-radius:7px;padding:9px}
 body.mw-mobile .mref-reservation>strong{font-size:12px}.mref-reservation>small{display:block;color:#788aa1;font-size:10px;margin-top:4px}
 body.mw-mobile .mref-document-link{display:grid;grid-template-columns:55px minmax(0,1fr) 12px;gap:5px;align-items:center;width:100%;padding:10px 0;background:transparent;border:0;border-bottom:1px solid #e9f0f7;text-align:left;font-size:11px;color:#36516f}
 body.mw-mobile .mref-document-link strong{overflow-wrap:anywhere}.mref-document-link time{grid-column:2;font-size:10px;color:#8292a9}.mref-document-link b{grid-column:3;grid-row:1}
 body.mw-mobile .mref-definition{display:grid;grid-template-columns:minmax(80px,.6fr) minmax(0,1fr);gap:9px;font-size:11px;margin:10px 0 0;line-height:1.5}
 body.mw-mobile .mref-definition dt{color:#7588a1}.mref-definition dd{margin:0;text-align:right;overflow-wrap:anywhere;font-weight:650}
 body.mw-mobile #app .mref-detail-actions{position:static!important;display:flex;flex:0 0 auto;gap:7px;padding:10px 12px calc(10px + env(safe-area-inset-bottom,0px));border-top:1px solid #e3ebf3;background:#fff}
 body.mw-mobile #app .mref-detail-actions>button{flex:1;min-width:0;font-size:12px}
 body.mw-mobile .mref-payment-card,body.mw-mobile .mref-partner-card{border:1px solid #e2eaf3;border-radius:9px;background:#fff;padding:12px;margin-bottom:10px;min-width:0}
 body.mw-mobile .mref-payment-card>header{display:flex;align-items:center;justify-content:space-between;font-size:10px;margin-bottom:8px}
 body.mw-mobile .mref-payment-card time{color:#8290a6}
 body.mw-mobile .mref-card-title{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:13px}
 body.mw-mobile .mref-card-title>strong{flex:1;min-width:0;overflow-wrap:anywhere}
 body.mw-mobile .mref-card-title>button{font-size:11px;max-width:60%;min-width:0;overflow-wrap:anywhere;text-align:right}
 body.mw-mobile .mref-payment-card>p{font-size:11px;margin:7px 0;color:#647991;overflow-wrap:anywhere}
 body.mw-mobile .mref-three-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:9px 0}
 body.mw-mobile .mref-three-values>div{min-width:0}.mref-three-values span{display:block;color:#8290a5;font-size:10px}.mref-three-values strong{display:block;font-size:13px;margin-top:4px;overflow-wrap:anywhere}
 body.mw-mobile .mref-three-values>div:last-child{color:#ed4055}
 body.mw-mobile .mref-payment-card>footer,body.mw-mobile .mref-partner-card>footer{display:flex;gap:6px;margin-top:9px}
 body.mw-mobile .mref-payment-card>footer>button{flex:1;min-width:0;font-size:11px;padding:7px 5px}
 body.mw-mobile .mref-payment-list>header{display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:11px;margin-bottom:10px}
 body.mw-mobile .mref-payment-list>header :is(.document-page-buttons,.document-list-controls){display:flex;gap:5px;min-width:0;font-size:10px}
 body.mw-mobile .mref-payment-list>header select{max-width:65px!important;min-height:30px!important;font-size:12px!important}
 body.mw-mobile .mref-related-views{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:12px}
 body.mw-mobile .mref-related-views>button{font-size:10px;min-width:0;padding:6px}
 body.mw-mobile .mref-payment-document{padding:12px;margin-bottom:12px;border:1px solid #e2eaf3;border-radius:9px;background:#fff}
 body.mw-mobile .mref-payment-document>header{display:flex;justify-content:space-between;gap:8px;font-size:12px}
 body.mw-mobile .mref-payment-document dl{display:grid;grid-template-columns:70px minmax(0,1fr);gap:8px;margin:12px 0 0;font-size:12px}.mref-payment-document dt{color:#8090a5}.mref-payment-document dd{margin:0;text-align:right;overflow-wrap:anywhere}
 body.mw-mobile .mref-due{color:#ed4055}
 body.mw-mobile .mref-partner-card>header{display:flex;align-items:flex-start;gap:7px;font-size:10px;flex-wrap:wrap}
 body.mw-mobile .mref-partner-avatar{display:grid;place-items:center;width:40px;height:40px;flex:0 0 40px;border-radius:50%;color:#6b87b1;background:#dce9ff;font-size:19px}
 body.mw-mobile .mref-partner-card>header>.link-button{min-width:0;flex:1;text-align:left}.mref-partner-card>header strong{font-size:14px}.mref-partner-card>header small{display:block;font-size:10px;margin-top:7px;color:#657d99}
 body.mw-mobile .mref-partner-card dl{display:grid;grid-template-columns:85px minmax(0,1fr);gap:6px;margin:12px 0;font-size:11px}.mref-partner-card dt{color:#8290a6}.mref-partner-card dd{margin:0;font-weight:650}
 body.mw-mobile .mref-partner-card>footer>button{flex:1;min-width:0;padding:6px 4px;font-size:11px;min-height:32px}
 body.mw-mobile #app #main .influencer-crm .crm-page-head{display:flex!important;align-items:center!important;flex-wrap:nowrap!important;gap:8px!important;margin-bottom:12px!important}
 body.mw-mobile #app #main .influencer-crm .crm-page-head h1{font-size:21px!important;white-space:nowrap!important}
 body.mw-mobile #app #main .influencer-crm .crm-page-head p,body.mw-mobile #app #main .influencer-crm :is(.crm-breadcrumb,.crm-content-basis){display:none!important}
 body.mw-mobile #app #main .influencer-crm .crm-head-actions{display:flex!important;gap:5px!important;width:auto!important;max-width:65%!important;min-width:0!important;flex-wrap:wrap!important;justify-content:flex-end!important}
 body.mw-mobile #app #main .influencer-crm .crm-head-actions>button{display:inline-flex!important;align-items:center!important;white-space:nowrap!important;min-width:0!important;min-height:30px!important;padding:5px!important;font-size:9px!important;flex:0 1 auto!important}
 body.mw-mobile #app #main .influencer-crm .crm-head-actions>button svg{display:none!important}
 body.mw-mobile #app #main .influencer-crm .crm-head-actions>[data-crm-action=bulk-template]{display:none!important}
 body.mw-mobile #app #main .influencer-crm .crm-stat-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important;margin-bottom:10px!important}
 body.mw-mobile #app #main .influencer-crm .crm-stat{padding:8px 7px!important;min-height:78px!important;min-width:0!important;border:0!important;display:block!important;text-align:left!important;background:#fff!important}
 body.mw-mobile #app #main .influencer-crm .crm-stat .crm-stat-icon{display:none!important}
 body.mw-mobile #app #main .influencer-crm .crm-stat>span>span{font-size:9px!important;line-height:1.5!important;display:block!important}
 body.mw-mobile #app #main .influencer-crm .crm-stat strong{font-size:20px!important;margin-top:5px!important}
 body.mw-mobile #app #main .influencer-crm .crm-list{padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
 body.mw-mobile #app #main .influencer-crm .crm-type-tabs{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:5px!important;margin:0 0 10px!important}
 body.mw-mobile #app #main .influencer-crm .crm-type-tabs>button{min-width:0!important;font-size:11px!important;border-radius:16px!important;min-height:30px!important;padding:5px!important}
 body.mw-mobile #app #main .influencer-crm .crm-tools{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important;margin-bottom:10px!important}
 body.mw-mobile #app #main .influencer-crm .crm-tools>select{grid-row:1;min-width:0!important;min-height:32px!important;font-size:10px!important;padding:4px!important;width:100%!important}
 body.mw-mobile #app #main .influencer-crm .crm-tools>.crm-search{grid-row:2;grid-column:1/-1;width:100%!important;max-width:none!important;min-width:0!important}
 body.mw-mobile #app #main .influencer-crm .crm-tools>.crm-text-button{grid-row:3;grid-column:4;padding:2px!important;min-height:23px!important;font-size:9px!important}
 body.mw-mobile #app #main .influencer-crm .crm-tools>.crm-text-button svg{width:13px!important;height:13px!important}
 body.mw-mobile #app #main .influencer-crm .crm-list-toolbar{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;font-size:10px!important;margin:0 0 10px!important}
 body.mw-mobile #app #main .influencer-crm .crm-list-toolbar>select{width:auto!important;max-width:160px!important;font-size:11px!important;min-height:30px!important}
 body.mw-mobile #app #main .influencer-crm .crm-table-scroll{display:none!important}
 body.mw-mobile #app #main .crm-mobile-cards{display:grid!important;gap:10px!important}
 body.mw-mobile #app #main .crm-mobile-card{min-width:0;padding:10px;border:1px solid #e2eaf3;border-radius:10px;background:#fff;box-shadow:0 2px 7px #18385a04}
 body.mw-mobile #app #main .crm-mobile-person{display:flex!important;align-items:center!important;gap:9px!important;width:100%!important;padding:0!important;border:0!important;background:transparent!important;text-align:left!important;min-width:0!important}
 body.mw-mobile #app #main .crm-mobile-person>.crm-avatar{flex:0 0 40px!important;width:40px!important;height:40px!important;font-size:17px!important}
 body.mw-mobile #app #main .crm-mobile-person>span:nth-child(2){flex:1;min-width:0}
 body.mw-mobile #app #main .crm-mobile-person strong{display:block;font-size:14px;line-height:1.45;overflow-wrap:anywhere}
 body.mw-mobile #app #main .crm-mobile-person>span:nth-child(2)>span{display:flex;flex-wrap:wrap;gap:4px;margin-top:3px}
 body.mw-mobile #app #main .crm-mobile-person .crm-badge{font-size:9px;padding:3px 6px;min-width:0}
 body.mw-mobile #app #main .crm-mobile-person small{display:flex;align-items:center;gap:8px;margin-top:5px;font-size:10px;color:#7b8aa1;flex-wrap:wrap}
 body.mw-mobile #app #main .crm-mobile-person small>.crm-channel-label{border-right:1px solid #e1e8f1;padding-right:7px}
 body.mw-mobile #app #main .crm-mobile-person>b{font-size:19px;font-weight:400}
 body.mw-mobile #app #main .crm-mobile-numbers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:9px;padding:8px;background:#f1f6fa;border-radius:6px}
 body.mw-mobile #app #main .crm-mobile-numbers>div{min-width:0;border-right:1px solid #e2e9f2}.crm-mobile-numbers>div:last-child{border:0!important}
 body.mw-mobile #app #main .crm-mobile-numbers span{display:block;font-size:9px;color:#8291a5}.crm-mobile-numbers strong{display:block;font-size:11px;line-height:1.5;margin-top:3px;overflow-wrap:anywhere}
 body.mw-mobile #app #main .crm-mobile-card .crm-profile-actions{display:flex!important;justify-content:flex-end!important;gap:5px;margin-top:9px;flex-wrap:wrap}
 body.mw-mobile #app #main .crm-mobile-card .crm-profile-actions>:is(a,button){display:inline-flex!important;align-items:center!important;justify-content:center!important;font-size:10px!important;min-height:30px!important;padding:5px 7px!important;white-space:nowrap!important}
 body.mw-mobile #app #main .crm-mobile-card .crm-list-channel{margin-right:auto!important}
 body.mw-mobile #app #main .influencer-crm .crm-pagination{font-size:10px!important;display:flex!important;flex-wrap:wrap!important;padding:10px 0!important;gap:7px!important}
 body.mw-mobile #app .influencer-profile-form .influencer-profile-fieldset{padding:9px!important;margin:0 0 10px!important;min-width:0!important;border:1px solid #e2eaf3!important;border-radius:8px!important}
 body.mw-mobile #app .influencer-profile-form .influencer-profile-fieldset>legend{font-size:12px!important;font-weight:700!important;padding:0 4px!important}
 body.mw-mobile #app .influencer-profile-form .influencer-profile-fieldset>p{font-size:10px!important;line-height:1.6!important}
 body.mw-mobile #app .influencer-profile-form .influencer-type-options{display:flex!important;gap:6px!important;flex-wrap:wrap!important}
 body.mw-mobile #app .influencer-profile-form .influencer-type-options>label{flex:1;display:flex!important;align-items:center!important;gap:5px!important;font-size:11px!important}
 body.mw-mobile #app .influencer-profile-form [data-crm-platform-preview]{grid-column:2;font-size:11px;margin-top:-3px}
 body.mw-mobile #app .bulk-modal[data-mw-flow]>.bulk-body{flex:1 1 auto!important;min-height:0!important;overflow:auto!important;padding:12px!important}
 body.mw-mobile #app .bulk-modal[data-mw-flow] .bulk-counts{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important;margin:12px 0!important}
 body.mw-mobile #app .bulk-modal[data-mw-flow] .bulk-counts>div:first-child{display:none!important}
 body.mw-mobile #app .bulk-modal[data-mw-flow] .bulk-counts>div{min-width:0!important;padding:8px!important;font-size:10px!important}
 body.mw-mobile #app .bulk-modal[data-mw-flow] .bulk-counts strong{font-size:18px!important}
 body.mw-mobile #app .bulk-modal[data-mw-flow] .bulk-upload{display:flex!important;flex-wrap:wrap!important;gap:8px!important}
 body.mw-mobile #app .bulk-modal[data-mw-flow] .bulk-upload>:is(button,label){flex:1;min-width:0!important;font-size:11px!important;justify-content:center!important}
 body.mw-mobile #app .bulk-modal[data-mw-flow] .bulk-upload>span{flex:1 0 100%;font-size:10px}
 body.mw-mobile #app .bulk-modal[data-mw-flow] .bulk-table-scroll{overflow:auto!important;max-width:100%!important;max-height:none!important}
 body.mw-mobile #app .bulk-modal[data-mw-flow] .bulk-table-scroll table{display:table!important;min-width:500px!important;table-layout:auto!important;font-size:10px!important}
 body.mw-mobile #app .bulk-modal[data-mw-flow] .bulk-table-scroll :is(th,td){display:table-cell!important;padding:6px!important;font-size:10px!important;line-height:1.5!important}
 body.mw-mobile #app .bulk-modal[data-mw-flow]>.bulk-footer{flex-wrap:wrap!important;font-size:11px!important}
 body.mw-mobile .customer-receipts-overlay{position:fixed!important;inset:0!important;z-index:16000!important;display:flex!important;align-items:stretch!important;justify-content:stretch!important;width:100%!important;height:var(--mw-viewport-height,100svh)!important;padding:0!important;margin:0!important;background:#f4f8fb!important;overflow:hidden!important}
 body.mw-mobile .customer-receipts-overlay>.cr-mobile-panel.mw-modal{position:relative!important;display:flex!important;flex-direction:column!important;min-height:0!important;height:var(--mw-viewport-height,100svh)!important;max-height:var(--mw-viewport-height,100svh)!important;width:100%!important;min-width:0!important;max-width:none!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;overflow:hidden!important}
 body.mw-mobile .cr-mobile-panel>.mw-modal-brand{position:static!important;flex:0 0 auto!important;padding:10px 12px!important;margin:0!important}
 body.mw-mobile .cr-mobile-panel>header{position:static!important;display:flex!important;align-items:center!important;justify-content:space-between!important;flex:0 0 auto!important;padding:10px 12px!important;margin:0!important;background:#fff!important;border:0!important}
 body.mw-mobile .cr-mobile-panel>header>h2{margin:0!important;font-size:18px!important;line-height:1.4!important}
 body.mw-mobile .cr-mobile-panel>header>button{width:34px;min-height:34px;font-size:24px;padding:0;background:transparent;border:0;color:#254261}
 body.mw-mobile .cr-mobile-stepper{display:flex;align-items:center;flex:0 0 auto;gap:10px;padding:10px 12px;font-size:12px;background:#fff}
 body.mw-mobile .cr-mobile-stepper>span{padding:5px 8px;background:#edf3f8;border-radius:7px;color:#7890a7;font-weight:650}
 body.mw-mobile .cr-mobile-stepper>span:is(.active,.complete){color:#fff;background:#00888c}
 body.mw-mobile .cr-mobile-stepper>i{height:1px;flex:1;background:#dce7f2}
 body.mw-mobile .cr-mobile-panel>.cr-error{flex:0 0 auto;margin:0;padding:8px 12px;font-size:11px;line-height:1.5;color:#e64252;background:#fff0f2}
 body.mw-mobile .cr-mobile-panel>[hidden],body.mw-mobile .cr-mobile-form [hidden]{display:none!important}
 body.mw-mobile .cr-mobile-panel>.cr-mobile-form{display:flex!important;flex-direction:column!important;flex:1 1 auto!important;min-height:0!important;overflow:hidden!important;padding:0!important;margin:0!important}
 body.mw-mobile .cr-mobile-scroll{min-height:0;flex:1;overflow:auto;padding:12px;overscroll-behavior:contain}
 body.mw-mobile .cr-mobile-scroll>fieldset{display:block!important;padding:0!important;margin:0!important;min-width:0!important;border:0!important}
 body.mw-mobile .cr-mobile-fields .mref-detail-card>label{display:grid;grid-template-columns:86px minmax(0,1fr);gap:8px;align-items:center;margin:10px 0;font-size:12px}
 body.mw-mobile .cr-mobile-fields label>span{font-size:12px;color:#405772;line-height:1.5}
 body.mw-mobile .cr-mobile-fields :is(input,select,textarea){font-size:16px!important;width:100%!important;min-width:0!important;max-width:100%!important}
 body.mw-mobile .cr-mobile-fields textarea{min-height:80px!important}
 body.mw-mobile .cr-mobile-converted{display:flex;justify-content:space-between;gap:10px;padding:9px;background:#f0f5fa;border-radius:6px;font-size:11px;margin:10px 0}
 body.mw-mobile .cr-mobile-form>.cr-mobile-scroll .cr-summary{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px;padding:12px;margin:12px 0;background:#eef6f8;border-radius:7px;font-size:12px}
 body.mw-mobile .cr-mobile-form .cr-summary>div{display:flex;justify-content:space-between;gap:8px;min-width:0}.cr-mobile-form .cr-summary>div:last-child{color:#00888c;font-weight:750}
 body.mw-mobile .cr-mobile-form .cr-section-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:12px 0;font-size:12px}
 body.mw-mobile .cr-mobile-form .cr-section-head h3{font-size:12px;margin:0}.cr-mobile-form .cr-section-head button{font-size:11px;padding:7px;background:#e3f1fd;color:#2678c9;border:1px solid #cde2f8;border-radius:6px}
 body.mw-mobile .cr-mobile-form .cr-table-wrap{max-width:100%!important;overflow:visible!important;border:0!important}
 body.mw-mobile .cr-mobile-form .cr-table-wrap table{display:block!important;width:100%!important;min-width:0!important;border:0!important}
 body.mw-mobile .cr-mobile-form .cr-table-wrap thead{display:none!important}
 body.mw-mobile .cr-mobile-form .cr-table-wrap tbody{display:grid!important;gap:10px!important;counter-reset:allocation}
 body.mw-mobile .cr-mobile-form .cr-table-wrap tr{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:8px!important;border:1px solid #dfe9f3!important;padding:10px!important;border-radius:8px!important;background:#fff!important;counter-increment:allocation;min-width:0!important}
 body.mw-mobile .cr-mobile-form .cr-table-wrap td{display:block!important;min-width:0!important;width:auto!important;padding:0!important;border:0!important;font-size:11px!important;background:transparent!important}
 body.mw-mobile .cr-mobile-form .cr-table-wrap td::before{font-size:10px;color:#7b8fa7;display:block;margin-bottom:5px}
 body.mw-mobile .cr-mobile-form .cr-table-wrap td:nth-child(1){font-weight:750;color:#224262}
 body.mw-mobile .cr-mobile-form .cr-table-wrap td:nth-child(1)::before{display:inline-block;content:counter(allocation);padding:2px 6px;border-radius:50%;background:#dbeeff;color:#158bc0;margin:0 5px 0 0}
 body.mw-mobile .cr-mobile-form .cr-table-wrap td:nth-child(2){text-align:right;color:#e84858}
 body.mw-mobile .cr-mobile-form .cr-table-wrap td:nth-child(3)::before{content:'미수 금액'}
 body.mw-mobile .cr-mobile-form .cr-table-wrap td:nth-child(4)::before{content:'이번 배분 금액'}
 body.mw-mobile .cr-mobile-form .cr-table-wrap td:nth-child(5){grid-column:1/-1;display:flex!important;justify-content:space-between;color:#00888c;padding-top:7px!important;border-top:1px solid #e8eff6!important}
 body.mw-mobile .cr-mobile-form .cr-table-wrap td:nth-child(5)::before{content:'배분 후 잔액'}
 body.mw-mobile .cr-mobile-form .cr-table-wrap input{font-size:16px!important;min-height:34px!important;width:100%!important;max-width:100%!important;padding:6px!important}
 body.mw-mobile .cr-mobile-panel .cr-mobile-form>footer{position:static!important;inset:auto!important;display:flex!important;flex:0 0 auto!important;gap:8px!important;margin:0!important;padding:10px 12px calc(10px + env(safe-area-inset-bottom,0px))!important;background:#fff!important;border-top:1px solid #dfe9f3!important;z-index:1!important}
 body.mw-mobile .cr-mobile-form>footer>button{flex:1;min-width:0;min-height:43px;border:1px solid #dce6ef;border-radius:7px;background:#eef3f8;color:#334e6d;font-size:12px;padding:9px 7px;line-height:1.5}
 body.mw-mobile .cr-mobile-form>footer>button.cr-primary{background:#00888c;color:#fff;border-color:#00888c}
 body.mw-mobile .cr-mobile-form .cr-history{padding:10px;margin-top:12px;border:1px solid #dfe9f3;border-radius:8px;background:#fff}
 body.mw-mobile .cr-mobile-form .cr-history>summary{font-size:12px;font-weight:750}
 body.mw-mobile .cr-receipt-detail{padding:10px 0;border-bottom:1px solid #e4edf5;font-size:11px}
 body.mw-mobile .cr-receipt-detail>summary{display:grid;grid-template-columns:1fr auto;gap:7px;cursor:pointer}.cr-receipt-detail>summary>time{color:#8290a6;font-size:10px}.cr-receipt-detail>summary>b{grid-column:1/-1;color:#00888c}
 body.mw-mobile .cr-receipt-detail .mref-detail-card{margin-top:12px;padding:8px}
 body.mw-mobile .cr-history-allocation{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;padding:8px 0;border-bottom:1px solid #e3ebf3}.cr-history-allocation>strong{overflow-wrap:anywhere}.cr-history-allocation>span{font-size:10px;color:#8290a6}.cr-history-allocation>b{grid-column:1/-1;text-align:right;color:#00888c}
 body.mw-mobile .cr-mobile-form .cr-history-actions{display:flex;gap:6px;margin-top:10px}.cr-mobile-form .cr-history-actions>button{flex:1;min-width:0;font-size:11px;line-height:1.5;padding:7px 5px;border:1px solid #dce6ef;border-radius:6px;background:#fff}.cr-mobile-form .cr-history-actions>.cr-danger{color:#e74252;border-color:#f0bcc3}
}

@media screen and (max-width:800px){body.mw-mobile .mref-payment-after{display:flex!important;align-items:center;justify-content:space-between;gap:12px;padding:12px;margin:12px 0;background:#e9f5f3;border-radius:8px;font-size:12px}.mref-payment-after strong{font-size:16px;color:#00888c}body.mw-mobile .cr-saved-notice{padding:12px;background:#e5f6ef;border-radius:8px;font-size:13px;color:#128764;font-weight:700}}

/* Wizard actions occupy their own bottom row; only the active step scrolls. */
@media screen and (max-width:800px) {
  body.mw-mobile [data-mw-flow-backdrop]:has([data-mw-wizard-frame]) {
    position:fixed!important; inset:var(--mw-viewport-top,0px) 0 auto!important;
    height:var(--mw-viewport-height,100dvh)!important; min-height:0!important;
    overflow:hidden!important; padding:0!important; overscroll-behavior:none;
  }
  body.mw-mobile #app .mw-modal[data-mw-wizard-frame],
  body.mw-mobile .mw-modal[data-mw-wizard-frame] {
    display:flex!important; flex-direction:column!important; gap:0!important;
    position:relative!important; inset:auto!important; width:100%!important;
    height:var(--mw-viewport-height,100dvh)!important; min-height:0!important;
    max-height:var(--mw-viewport-height,100dvh)!important; overflow:hidden!important;
    margin:0!important; padding:0!important; transform:none!important;
  }
  body.mw-mobile #app [data-mw-wizard-frame]>.mw-modal-brand,
  body.mw-mobile [data-mw-wizard-frame]>.mw-modal-brand {
    position:static!important; flex:0 0 auto!important; margin:0!important;
    padding:calc(10px + env(safe-area-inset-top,0px)) 12px 10px!important;
  }
  body.mw-mobile #app [data-mw-wizard-frame] :is(.mw-wizard-host,form.mw-wizard),
  body.mw-mobile [data-mw-wizard-frame] :is(.mw-wizard-host,form.mw-wizard) {
    display:flex!important; flex-direction:column!important; flex:1 1 0!important;
    width:100%!important; min-width:0!important; min-height:0!important;
    height:auto!important; max-height:none!important; gap:0!important;
    margin:0!important; padding:0!important; overflow:hidden!important;
  }
  body.mw-mobile #app [data-mw-wizard-frame] form.mw-wizard>:is(.schedule-form-title,.mw-stepper),
  body.mw-mobile [data-mw-wizard-frame] form.mw-wizard>:is(.schedule-form-title,.mw-stepper) {
    position:static!important; inset:auto!important; flex:0 0 auto!important;
    margin:0!important; transform:none!important;
  }
  body.mw-mobile #app [data-mw-wizard-frame] form.mw-wizard>.mw-wizard-step,
  body.mw-mobile [data-mw-wizard-frame] form.mw-wizard>.mw-wizard-step {
    display:grid!important; flex:1 1 0!important; min-height:0!important;
    min-width:0!important; align-content:start!important; overflow-y:auto!important;
    overflow-x:hidden!important; padding:12px!important; margin:0!important;
    overscroll-behavior:contain!important; scroll-padding-block:16px!important;
    -webkit-overflow-scrolling:touch;
  }
  body.mw-mobile #app [data-mw-wizard-frame] form.mw-wizard>.mw-wizard-step[hidden],
  body.mw-mobile [data-mw-wizard-frame] form.mw-wizard>.mw-wizard-step[hidden] {
    display:none!important;
  }
  body.mw-mobile #app .mw-modal[data-mw-wizard-frame] form.mw-wizard>.mw-wizard-footer,
  body.mw-mobile .mw-modal[data-mw-wizard-frame] form.mw-wizard>.mw-wizard-footer {
    position:static!important; inset:auto!important; flex:0 0 auto!important;
    display:flex!important; align-items:stretch!important; gap:8px!important;
    width:100%!important; min-width:0!important; margin:0!important;
    padding:10px 12px calc(10px + env(safe-area-inset-bottom,0px))!important;
    background:#fff!important; border-top:1px solid #e4ecf3!important;
    transform:none!important; z-index:2!important;
  }
  body.mw-mobile #app [data-mw-wizard-frame] .mw-wizard-footer>button,
  body.mw-mobile [data-mw-wizard-frame] .mw-wizard-footer>button {
    flex:1 1 0!important; min-width:0!important; min-height:44px!important;
    width:auto!important; margin:0!important; white-space:nowrap!important;
  }
}
