/* Ham-Melk v185 · page adaptations. Mobile is the default layout.
   Component identities, form fields, endpoints, suite colors and report data stay intact. */
@media screen {
  /* Dashboard: actions, metrics and work queue have a deliberate reading order. */
  body.hm185-app .app-shell .page-content .hm185-dashboard{display:grid;gap:16px;min-width:0}
  body.hm185-app .app-shell .page-content .hm185-dashboard>section{margin:0!important}
  body.hm185-app .hm185-banner{border:1px solid var(--ui-line);border-radius:13px;background:white;overflow:hidden}
  body.hm185-app .hm185-banner>summary{display:flex;justify-content:space-between;align-items:center;padding:8px 13px;min-height:44px;cursor:pointer;font-size:12px;color:var(--ui-muted)}
  body.hm185-app .hm185-banner-caption{font-size:11px}
  body.hm185-app .hm185-banner .razavi-greeting-v41{margin:0!important;border-radius:0!important}
  body.hm185-app .app-shell .page-content .home-command-v44{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:2px 0!important;background:none!important;border:0!important}
  body.hm185-app .app-shell .page-content .home-command-v44 h1{font-size:max(24px,calc(24px * var(--ds-title-scale,1)))!important;font-weight:800!important;margin:2px 0;color:var(--ui-ink)}
  body.hm185-app .app-shell .page-content .home-command-v44 p{font-size:13px!important;color:var(--ui-muted);font-weight:400;margin:0}
  body.hm185-app .app-shell .page-content .home-command-v44 .button{flex:0 0 auto;font-size:12px!important;min-height:44px!important}
  body.hm185-app .app-shell .page-content .quick-work-v44{padding:0!important;background:none!important;border:0!important;box-shadow:none!important}
  body.hm185-app .app-shell .page-content .compact-section-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 10px!important}
  body.hm185-app .app-shell .page-content .compact-section-head h2{font-size:16px!important;margin:0!important}
  body.hm185-app .app-shell .page-content .compact-section-head>span{font-size:11px!important;color:var(--ui-muted);font-weight:400}
  body.hm185-app .app-shell .page-content .quick-action-grid-v44{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  body.hm185-app .app-shell .page-content .quick-action-grid-v44>a{display:grid!important;grid-template-columns:36px minmax(0,1fr);column-gap:9px;row-gap:2px;align-content:center;align-items:center;min-height:0!important;height:auto!important;padding:13px!important;background:#fff!important;border:1px solid var(--ui-line)!important;border-radius:15px!important;box-shadow:var(--ui-shadow)!important;text-align:right!important;transform:none!important}
  body.hm185-app .app-shell .page-content .quick-action-grid-v44>a>span{grid-row:1/3;display:grid;place-items:center;width:36px;height:40px;background:var(--ui-primary-soft);border-radius:11px;color:var(--ui-primary);font-size:21px!important;margin:0!important}
  body.hm185-app .app-shell .page-content .quick-action-grid-v44 b{font-size:14px!important;font-weight:700!important;line-height:1.7}
  body.hm185-app .app-shell .page-content .quick-action-grid-v44 small{font-size:11px!important;color:var(--ui-muted);font-weight:400!important;line-height:1.7}
  body.hm185-app .app-shell .page-content :is(.dashboard-kpis-v44,.owner-summary-v26,.bank-overview,.charge-summary-v46,.acct-v48-kpis,.account-summary-grid,.smart-accounting-stats-v52){display:grid;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;margin:0 0 16px!important;min-width:0}
  body.hm185-app .app-shell .page-content :is(.owner-summary-v26,.bank-overview,.charge-summary-v46,.acct-v48-kpis,.account-summary-grid,.smart-accounting-stats-v52)>article,
  body.hm185-app .app-shell .page-content .dashboard-kpi{min-width:0;padding:14px!important;border-radius:14px!important;border:1px solid var(--ui-line)!important;box-shadow:none!important;background:#fff!important;min-height:0!important;height:auto!important;gap:10px}
  body.hm185-app .app-shell .page-content .dashboard-kpi{align-items:center}
  body.hm185-app .app-shell .page-content .dashboard-kpi .kpi-icon{display:none}
  body.hm185-app .app-shell .page-content :is(.owner-summary-v26,.bank-overview,.charge-summary-v46,.acct-v48-kpis,.account-summary-grid,.smart-accounting-stats-v52)>article>span,
  body.hm185-app .app-shell .page-content .dashboard-kpi small{font-size:max(12px,calc(12px * var(--ds-meta-scale,1)))!important;color:var(--ui-muted);font-weight:500!important;line-height:1.7}
  body.hm185-app .app-shell .page-content :is(.owner-summary-v26,.bank-overview,.charge-summary-v46,.acct-v48-kpis,.account-summary-grid,.smart-accounting-stats-v52)>article>strong,
  body.hm185-app .app-shell .page-content .dashboard-kpi strong{font-size:max(22px,calc(22px * var(--ds-title-scale,1)))!important;line-height:1.5!important;font-weight:800!important;color:var(--ui-ink);overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
  body.hm185-app .app-shell .page-content :is(.acct-v48-kpis,.charge-summary-v46,.smart-accounting-stats-v52)>article>strong{font-size:max(18px,calc(18px * var(--ds-title-scale,1)))!important}
  body.hm185-app .app-shell .page-content .dashboard-kpi p{font-size:11px!important;font-weight:400!important;margin:0;color:var(--ui-muted)}
  body.hm185-app .app-shell .page-content .hm143-center{background:#fff!important;border:1px solid var(--ui-line)!important;border-radius:16px!important;padding:16px!important;box-shadow:var(--ui-shadow)!important}
  body.hm185-app .app-shell .page-content .hm143-center__head{flex-wrap:wrap;gap:8px;margin-bottom:12px}
  body.hm185-app .app-shell .page-content .hm143-center__head h2{font-size:17px!important;margin:0!important}
  body.hm185-app .app-shell .page-content .hm143-center__head p{font-size:12px!important;font-weight:400!important;color:var(--ui-muted)}
  body.hm185-app .hm143-center__eyebrow{font-size:11px;color:var(--ui-muted)}
  body.hm185-app .hm143-center__badge{font-size:12px;padding:5px 9px;background:#f2f6fd;color:var(--ui-primary);border:0}
  body.hm185-app .app-shell .page-content .hm143-center__grid{grid-template-columns:minmax(0,1fr)!important;gap:8px}
  body.hm185-app .app-shell .page-content .hm143-center__item{padding:11px 12px!important;min-height:0!important;height:auto!important;border-radius:12px!important;box-shadow:none!important;border:1px solid #e4eaf2;background:#f9fbfe;align-items:center}
  body.hm185-app .app-shell .page-content .hm143-center__item>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:1px 12px;flex:1;min-width:0}
  body.hm185-app .app-shell .page-content .hm143-center__item small{font-size:13px!important;font-weight:600!important}
  body.hm185-app .app-shell .page-content .hm143-center__item strong{grid-column:2;grid-row:1/3;font-size:24px!important;align-self:center}
  body.hm185-app .app-shell .page-content .hm143-center__item em{font-size:11px!important;font-weight:400!important}
  body.hm185-app .hm143-center__item--attention{border-inline-start:3px solid #cb923c!important}
  body.hm185-app .hm148-financial-status{padding:12px 0 0;margin-top:12px;background:none;border:0;border-top:1px solid var(--ui-line);border-radius:0;gap:10px}
  body.hm185-app .hm148-financial-status__amount small{font-size:12px!important;font-weight:400!important}
  body.hm185-app .hm148-financial-status__amount strong{font-size:19px!important}
  body.hm185-app .hm148-financial-status__actions{flex-wrap:wrap;gap:8px}
  body.hm185-app .hm148-financial-status__actions a{display:inline-flex;align-items:center;min-height:44px;font-size:12px!important;background:#f4f7fc;border:0;border-radius:9px}
  body.hm185-app .app-shell .page-content .timeline-row{min-width:0;padding:14px 0!important;grid-template-columns:112px 8px minmax(0,1fr)!important;gap:10px;border-bottom:1px solid #eef2f6}
  body.hm185-app .app-shell .page-content .timeline-copy b{font-size:14px!important;line-height:1.7;overflow-wrap:anywhere}
  body.hm185-app .app-shell .page-content :is(.timeline-copy small,.timeline-date small){font-size:12px!important}
  body.hm185-app .app-shell .page-content .timeline-date b{font-size:13px!important}
  body.hm185-app .app-shell .page-content .owner-home-v44{display:grid;gap:16px}
  body.hm185-app .app-shell .page-content .owner-home-v44>*{margin:0!important;min-width:0}
  body.hm185-app .app-shell .page-content .owner-focus-v44{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px;padding:20px!important;background:#f1f6ff!important;border:1px solid #ceddf5!important;border-radius:18px!important}
  body.hm185-app .app-shell .page-content .owner-focus-v44 h1{font-size:23px!important;color:#19365e;line-height:1.6}
  body.hm185-app .app-shell .page-content .owner-focus-v44 .owner-next-v44 b{font-size:22px!important}
  body.hm185-app .app-shell .page-content .owner-primary-actions-v44{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  body.hm185-app .app-shell .page-content .owner-action-card-v81{padding:16px!important;min-height:0!important;height:auto!important;border-radius:15px!important;box-shadow:none!important}
  body.hm185-app .app-shell .page-content .owner-action-card-v81:first-child{grid-column:1/-1;min-height:0!important;height:auto!important;background:var(--ui-primary)!important;border-color:var(--ui-primary)!important;color:#fff!important}
  body.hm185-app .app-shell .page-content .owner-action-card-v81:first-child :is(b,small,.icon){color:inherit!important}
  body.hm185-app .app-shell .page-content .owner-action-card-v81 b{font-size:16px!important}
  body.hm185-app .app-shell .page-content .owner-action-card-v81 small{font-size:12px!important;font-weight:400!important}
  body.hm185-app .app-shell .page-content .hm148-owner-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px}
  body.hm185-app .app-shell .page-content .hm148-owner-summary__item{padding:14px;border-radius:13px;background:#fff;min-width:0;border:1px solid var(--ui-line)}
  body.hm185-app .app-shell .page-content .owner-secondary-links-v44{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  body.hm185-app .app-shell .page-content .owner-shortcut-v81{min-height:58px;padding:10px!important;font-size:13px!important;background:#fff;border:1px solid var(--ui-line);border-radius:12px}
  /* Owners and users: compact rows keep every existing detail and operation. */
  body.hm185-app .app-shell .page-content .owner-list-toolbar-v26{display:block!important;padding:0 0 16px!important;margin-bottom:14px}
  body.hm185-app .app-shell .page-content .owner-toolbar-controls-v26{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;width:100%;max-width:100%!important;gap:10px!important;margin-top:12px}
  body.hm185-app .owner-toolbar-controls-v26 :is(.hm185-view-switch,.owner-search-v26){grid-column:1/-1}
  body.hm185-app .app-shell .page-content .owner-search-v26{width:100%!important;max-width:100%!important;min-width:0!important;border:1px solid #c7d4e4!important;border-radius:12px;background:#f9fbfd}
  body.hm185-app .app-shell .page-content .owner-search-v26 input{background:transparent;border:0!important}
  body.hm185-app .app-shell .page-content .owner-card-grid-v26{grid-template-columns:minmax(0,1fr)!important;gap:12px!important}
  body.hm185-app .app-shell .page-content .owner-card-v26{padding:14px!important;gap:12px!important}
  body.hm185-app .app-shell .page-content .owner-name-v26 h3{font-size:17px!important;line-height:1.7}
  body.hm185-app .app-shell .page-content .owner-name-v26 p{font-size:13px!important;font-weight:400!important;direction:ltr;text-align:right}
  body.hm185-app .app-shell .page-content .owner-avatar-v26{width:44px;height:44px;border-radius:13px;background:#edf3ff;color:var(--ui-primary)}
  body.hm185-app .app-shell .page-content .owner-card-head-v26{align-items:center;gap:10px!important}
  body.hm185-app .app-shell .page-content .owner-usage-v26{background:#f5f8fc;border:0;border-radius:11px;padding:8px 0}
  body.hm185-app .app-shell .page-content .owner-usage-v26 small{font-size:11px!important;font-weight:400!important}
  body.hm185-app .app-shell .page-content .owner-usage-v26 b{font-size:18px!important}
  body.hm185-app .app-shell .page-content .owner-actions-v26{display:flex!important;flex-wrap:wrap!important;gap:8px!important}
  body.hm185-app .app-shell .page-content .owner-actions-v26>*{flex:1 1 auto;min-width:0}
  body.hm185-app .app-shell .page-content .owner-actions-v26 .button{font-size:13px!important;min-height:44px!important;padding:8px 10px!important}
  body.hm185-app .app-shell .page-content .owner-detail-v26>summary{min-height:44px;display:flex;align-items:center;font-size:13px}
  body.hm185-app .app-shell .page-content #ownerGrid[data-owner-view=compact] .owner-card-v26{gap:9px!important}
  body.hm185-app .app-shell .page-content #ownerGrid[data-owner-view=compact] .owner-usage-v26{padding:4px 0}
  body.hm185-app .app-shell .page-content #ownerGrid[data-owner-view=compact] .owner-detail-v26{background:none;border:0;padding:0}
  body.hm185-app .app-shell .page-content #ownerGrid[data-owner-view=compact] .owner-warning-row-v26{gap:5px}
  body.hm185-app .owner-form-shell .owner-tabs{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto;gap:6px;padding:4px 0 12px!important;max-width:100%;overscroll-behavior-x:contain}
  body.hm185-app .owner-form-shell .owner-tab{min-height:48px;min-width:130px;flex:0 0 auto;padding:8px 10px!important;font-size:12px!important;border-radius:10px!important}
  body.hm185-app .owner-form-shell .owner-tab.active{background:#edf3ff!important;color:var(--ui-primary)!important;border-color:#bdd0ed!important}
  body.hm185-app .owner-form-shell .owner-tab-panel{padding:16px!important}
  body.hm185-app .owner-form-shell .owner-wizard-actions{gap:10px;flex-wrap:wrap}
  body.hm185-app .owner-form-shell .wizard-actions-main{display:flex;gap:8px;flex:1;justify-content:flex-end}
  /* Finance and reports: summary before filters, no financial columns removed. */
  body.hm185-app .app-shell .page-content .acct-v48-actions{gap:8px}
  body.hm185-app .app-shell .page-content .acct-v48-filter-fields{grid-template-columns:minmax(0,1fr)!important;gap:12px}
  body.hm185-app .app-shell .page-content .acct-v48-kpis{margin-block:16px!important}
  body.hm185-app .app-shell .page-content .acct-v48-dashboard{grid-template-columns:minmax(0,1fr)!important;gap:14px}
  body.hm185-app .app-shell .page-content :is(.acct-v48-kpis,.charge-summary-v46) .is-alert{border-top:3px solid #b77a2f!important}
  body.hm185-app .app-shell .page-content :is(.acct-v48-kpis,.charge-summary-v46) .is-positive{border-top:3px solid #2c866a!important}
  body.hm185-app .app-shell .page-content .acct-v48-chart-card header{gap:12px;flex-wrap:wrap}
  body.hm185-app .app-shell .page-content .acct-v48-chart-card h2{font-size:16px!important}
  body.hm185-app .app-shell .page-content .acct-v48-chart-card p{font-size:12px!important;font-weight:400!important}
  body.hm185-app .app-shell .page-content .acct-v48-table{min-width:620px}
  body.hm185-app .app-shell .page-content .charge-toolbar-v46{display:flex;flex-wrap:wrap;gap:12px}
  body.hm185-app .app-shell .page-content .charge-search-v46{width:100%;flex:1 1 100%;max-width:none!important}
  body.hm185-app .app-shell .page-content .charge-account-row-v46{border-radius:13px;border:1px solid var(--ui-line);background:#fff;padding:14px!important;margin-bottom:10px;min-width:0}
  body.hm185-app .app-shell .page-content .receipt-stepper-v68{display:flex;gap:7px;padding:6px!important;overflow:auto;min-width:0}
  body.hm185-app .app-shell .page-content .receipt-stepper-v68>*{min-width:0;flex:1;min-height:56px;padding:8px!important;border-radius:10px}
  body.hm185-app .app-shell .page-content .receipt-wizard-step-v68{padding:16px!important;border-radius:14px}
  body.hm185-app .app-shell .page-content .receipt-review-v68{gap:10px;grid-template-columns:minmax(0,1fr)}
  body.hm185-app .app-shell .page-content .bank-grid-modern{grid-template-columns:minmax(0,1fr)!important;gap:14px}
  body.hm185-app .app-shell .page-content .bank-card-modern{padding:16px!important}
  body.hm185-app .app-shell .page-content .bank-balance-card{background:#f4f7fc;border:0;border-radius:12px}
  body.hm185-app .app-shell .page-content .bank-card-actions{flex-wrap:wrap;gap:8px}
  body.hm185-app .app-shell .page-content .bank-card-actions .button{flex:1}
  /* Stays: keep status-specific actions and the existing staged validation. */
  body.hm185-app .app-shell .page-content :is(.stay155-kpis,.stay155-ready-grid){grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  body.hm185-app .app-shell .page-content .stay-v58-open-card{padding:16px!important;border:1px solid var(--ui-line);border-inline-start:4px solid #25866c;border-radius:15px;box-shadow:var(--ui-shadow)}
  body.hm185-app .app-shell .page-content .stay-v58-visit-title{flex-wrap:wrap;gap:8px}
  body.hm185-app .app-shell .page-content .stay-v58-visit-title h3{font-size:17px!important}
  body.hm185-app .app-shell .page-content .stay155-new-entry-toggle{min-height:64px;padding:14px!important}
  body.hm185-app .app-shell .page-content .stay155-new-entry-toggle small{font-size:12px!important;font-weight:400!important}
  body.hm185-app .app-shell .page-content .stay-v58-modes{display:flex;gap:8px;flex-wrap:wrap}
  body.hm185-app .app-shell .page-content .stay-v58-mode{min-height:48px;flex:1;font-size:14px!important;border-radius:10px}
  body.hm185-app .app-shell .page-content .stay155-checkout-now .button{width:100%}
  body.hm185-app .app-shell .page-content .stay155-manual-exit>summary{min-height:44px;display:flex;align-items:center}
  body.hm185-app .app-shell .page-content .stay155-ready-card{background:#fff;border:1px solid var(--ui-line);border-radius:13px;gap:10px;min-width:0}
  /* Calendar and periods: preserve day geometry and route-specific scrolling. */
  body.hm185-app .app-shell .page-content .calendar-command-center{border-radius:16px!important;background:#fff;border-color:var(--ui-line);padding:14px!important;box-shadow:var(--ui-shadow)}
  body.hm185-app .app-shell .page-content .calendar-command-heading h1{font-size:22px!important}
  body.hm185-app .app-shell .page-content .calendar-command-heading p{font-size:12px!important;font-weight:400!important}
  body.hm185-app .app-shell .page-content .calendar-command-top{gap:14px}
  body.hm185-app .app-shell .page-content .calendar-command-bar{gap:12px;padding:12px 0 0;min-width:0;flex-wrap:wrap}
  body.hm185-app .app-shell .page-content .calendar-nav-button{min-height:48px!important;border-radius:10px;font-size:13px!important;padding:8px 10px}
  body.hm185-app .app-shell .page-content .calendar-mini-stats{display:flex;gap:12px;padding:8px 0;flex-wrap:wrap}
  body.hm185-app .app-shell .page-content .calendar-mini-stats small{font-size:12px!important}
  body.hm185-app .app-shell .page-content .hm157-calendar-mobile-hint{background:#edf3ff;border:0;padding:12px;border-radius:12px;font-size:12px}
  body.hm185-app .app-shell .page-content .hm157-calendar-mobile-hint a{font-size:13px}
  body.hm185-app .app-shell .page-content .calendar-board{border:1px solid var(--ui-line);border-radius:14px;overflow:hidden;background:white}
  body.hm185-app .app-shell .page-content .pmv117-hero{border:1px solid var(--ui-line);background:#fff!important;border-radius:16px!important;box-shadow:none!important;padding:16px!important;min-width:0}
  body.hm185-app .app-shell .page-content .pmv117-hero-content h1{font-size:22px!important}
  body.hm185-app .app-shell .page-content .pmv117-hero-content p{font-size:12px!important;font-weight:400!important;color:var(--ui-muted)}
  body.hm185-app .app-shell .page-content .pmv117-hero-actions{gap:8px;flex-wrap:wrap}
  body.hm185-app .app-shell .page-content .pmv117-hero-actions .button{font-size:13px!important}
  body.hm185-app .app-shell .page-content .pmv117-stats{gap:8px}
  body.hm185-app .app-shell .page-content .pmv117-stats>a,body.hm185-app .app-shell .page-content .pmv117-stats>article{border-radius:12px;background:#fff;border-color:var(--ui-line)}
  body.hm185-app .app-shell .page-content .cycle99-item{background:#fff!important;border:1px solid var(--ui-line)!important;border-radius:14px!important;padding:15px!important}
  body.hm185-app .app-shell .page-content .cycle85-active{border-inline-start:4px solid var(--ui-primary)!important}
  body.hm185-app .app-shell .page-content .cycle99-actions{gap:8px;flex-wrap:wrap}
  /* Settings and profile: flat hierarchy, visible search and no intrinsic-size overflow. */
  body.hm185-app .hm185-settings-search{flex-direction:column;margin-bottom:18px;gap:8px}
  body.hm185-app .hm185-settings-search label{font-size:19px;font-weight:700}
  body.hm185-app .hm185-settings-search p{font-size:12px;color:var(--ui-muted);margin:0;min-height:20px}
  body.hm185-app .app-shell .page-content .settings-clean-grid{grid-template-columns:minmax(0,1fr)!important;gap:0!important}
  body.hm185-app .app-shell .page-content .settings-clean-item{display:flex;align-items:center;gap:12px;padding:14px 2px!important;border:0!important;border-bottom:1px solid #edf1f6!important;border-radius:0!important;min-height:48px!important;height:auto!important;background:transparent!important}
  body.hm185-app .app-shell .page-content .settings-clean-item:last-child{border-bottom:0!important}
  body.hm185-app .app-shell .page-content .settings-clean-icon{width:42px;height:42px;flex:0 0 42px;border-radius:12px;background:#eef4ff;color:var(--ui-primary)}
  body.hm185-app .app-shell .page-content .settings-clean-copy{min-width:0;flex:1}
  body.hm185-app .app-shell .page-content .settings-clean-copy strong{font-size:15px!important;font-weight:700!important}
  body.hm185-app .app-shell .page-content .settings-clean-copy small{font-size:12px!important;font-weight:400!important;line-height:1.8}
  body.hm185-app .app-shell .page-content .section-hub-grid{grid-template-columns:minmax(0,1fr)!important;gap:12px}
  body.hm185-app .app-shell .page-content .section-hub-card{padding:18px!important;min-height:0!important;height:auto!important}
  body.hm185-app .app-shell .page-content .section-hub-card strong{font-size:17px!important}
  body.hm185-app .app-shell .page-content .section-hub-card small{font-size:13px!important;font-weight:400!important}
  body.hm185-app .app-shell .page-content :is(.design-settings-grid,.app-status-grid-v42){grid-template-columns:minmax(0,1fr)!important;gap:12px}
  body.hm185-app .app-shell .page-content .app-status-grid-v42 b{font-size:13px!important;overflow-wrap:anywhere}
  body.hm185-app .app-shell .page-content .banner-admin-v71{grid-template-columns:minmax(0,1fr)!important;min-width:0;max-width:100%}
  body.hm185-app .app-shell .page-content .banner-preview-frame{min-width:0;max-width:100%;overflow:hidden}
  body.hm185-app .app-shell .page-content .account-hero{border-radius:17px!important;background:#fff!important;border:1px solid var(--ui-line);box-shadow:none;padding:18px!important;gap:16px}
  body.hm185-app .app-shell .page-content .account-hero h1{font-size:21px!important}
  body.hm185-app .app-shell .page-content .account-avatar{width:58px;height:58px;border-radius:17px!important;background:#edf3ff;color:var(--ui-primary)}
  body.hm185-app .app-shell .page-content .account-card{border:1px solid var(--ui-line);border-radius:16px!important;padding:16px!important;box-shadow:none!important}
  /* Messages and records: state remains explicit, not conveyed by color alone. */
  body.hm185-app .app-shell .page-content .message-card{padding:16px!important;border:1px solid var(--ui-line)!important;border-radius:15px!important;box-shadow:none!important;background:#fff!important;gap:12px}
  body.hm185-app .app-shell .page-content .message-card.unread{border-inline-start:4px solid var(--ui-primary)!important;background:#fafdff!important}
  body.hm185-app .app-shell .page-content .message-card.priority-urgent{border-inline-start-color:var(--ui-danger)!important}
  body.hm185-app .app-shell .page-content .message-card-copy{min-width:0}
  body.hm185-app .app-shell .page-content .message-card-copy h3{font-size:17px!important}
  body.hm185-app .app-shell .page-content .message-card-copy p{font-size:14px!important;font-weight:400!important;line-height:1.95;overflow-wrap:anywhere}
  body.hm185-app .app-shell .page-content .message-card-meta{gap:7px;flex-wrap:wrap}
  body.hm185-app .app-shell .page-content .message-card-meta>*{font-size:11px!important}
  body.hm185-app .app-shell .page-content .history-record{padding:16px!important}
  body.hm185-app .app-shell .page-content .history-record-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px}
  body.hm185-app .app-shell .page-content .history-record-facts small{font-size:12px!important;font-weight:400!important}
  body.hm185-app .app-shell .page-content .history-record-facts b{font-size:13px!important}
  body.hm185-app .app-shell .page-content .history-details summary{min-height:44px;display:flex;align-items:center}
  body.hm185-app .app-shell .page-content .dm-shell{border:1px solid var(--ui-line);border-radius:16px!important;box-shadow:none!important;min-width:0}
  body.hm185-app .app-shell .page-content .dm-sidebar{background:#fff;border-color:var(--ui-line);min-width:0}
  body.hm185-app .app-shell .page-content .dm-contact{min-height:76px;border-radius:12px;padding:12px!important}
  body.hm185-app .app-shell .page-content .dm-contact.is-current{background:#edf3ff}
  body.hm185-app .app-shell .page-content .dm-history{background:#f4f7fb;padding:16px!important;overscroll-behavior:contain}
  body.hm185-app .app-shell .page-content .dm-bubble{max-width:88%;border-radius:15px;padding:12px 14px;box-shadow:none}
  body.hm185-app .app-shell .page-content .dm-bubble.mine{background:#e7f0ff;color:#18345e}
  body.hm185-app .app-shell .page-content .dm-composer{padding:10px!important;background:#fff;gap:8px;min-width:0}
  body.hm185-app .app-shell .page-content .dm-composer textarea{min-height:48px!important;border-radius:12px!important}
  body.hm185-app .app-shell .page-content .dm-send{min-height:48px!important;padding:8px 14px!important;background:var(--ui-primary);border-radius:12px;font-family:inherit}
  body.hm185-app .hm185-dm-back{display:none}
  body.hm185-app .app-shell .page-content .dm-actions{gap:6px;flex-wrap:wrap}
  body.hm185-app .app-shell .page-content .dm-actions button{min-height:44px;padding:8px;font-family:inherit;font-size:12px}
  /* Login uses the same touch sizes, without loading any remote font. */
  body.hm185-app .login-v4{background:var(--ui-bg);font-family:var(--app-font-family)}
  body.hm185-app .login-v4__card{border-radius:20px;box-shadow:0 10px 38px #273c5410;border:1px solid var(--ui-line)}
  body.hm185-app .login-v4__form input{min-height:50px;font-size:16px;font-family:inherit;border-radius:12px}
  body.hm185-app .login-v4__form button{min-height:48px;font-family:inherit}
}
@media screen and (max-width:900px){
  body.hm185-app .app-shell .page-content :is(.stay155-ready-grid,.stay-v58-dates-grid,.stay-v58-counts-grid,.cycle99-form,.cycle99-edit-form,.bank-form-body,.calendar-filters){grid-template-columns:minmax(0,1fr)!important}
  body.hm185-app .app-shell .page-content .calendar-command-top{flex-direction:column;align-items:stretch!important}
  body.hm185-app .app-shell .page-content .calendar-command-actions{width:100%;display:flex;flex-direction:column;align-items:stretch!important;gap:10px}
  body.hm185-app .app-shell .page-content .calendar-month-nav{width:100%;display:flex;gap:6px;justify-content:space-between}
  body.hm185-app .app-shell .page-content .calendar-month-nav>a{flex:1;text-align:center}
  body.hm185-app .app-shell .page-content .calendar-create-actions{display:flex;flex-wrap:wrap;gap:8px}
  body.hm185-app .app-shell .page-content .calendar-create-actions>.button{flex:1}
  body.hm185-app .app-shell .page-content .dm-shell{height:auto!important;min-height:0;display:block!important}
  body.hm185-app .app-shell .page-content .dm-shell .dm-sidebar{width:100%;max-height:none!important;border:0}
  body.hm185-app .app-shell .page-content .dm-shell.hm185-dm-selected .dm-sidebar{display:none!important}
  body.hm185-app .app-shell .page-content .dm-shell:not(.hm185-dm-selected) .dm-main{display:none!important}
  body.hm185-app .app-shell .page-content .dm-shell.hm185-dm-selected .dm-main{display:flex;flex-direction:column;height:calc(var(--hm185-vh,100dvh) - 188px)!important;min-height:340px!important}
  body.hm185-app .app-shell .page-content .dm-header{flex-wrap:wrap;gap:10px;padding:12px!important;min-width:0}
  body.hm185-app .app-shell .page-content .dm-header>div{min-width:0}
  body.hm185-app .hm185-dm-back{display:inline-flex;align-items:center;min-height:44px;padding:6px 10px;background:#edf3ff;color:var(--ui-primary);border-radius:10px;font-size:12px;text-decoration:none}
  body.hm185-app .app-shell .page-content .dm-header .dm-actions{width:100%;justify-content:flex-start}
  body.hm185-app.hm185-keyboard .app-shell .page-content .dm-shell.hm185-dm-selected .dm-main{height:calc(var(--hm185-vh,100dvh) - 104px)!important;min-height:230px!important}
  body.hm185-app .dm-modal-card{width:calc(100vw - 20px)!important;max-width:520px;max-height:calc(var(--hm185-vh,100dvh) - 32px);overflow:auto;border-radius:16px;padding:16px}
  body.hm185-app .app-shell .page-content .settings-sticky-actions{position:static!important;display:flex;flex-wrap:wrap;gap:8px;padding:14px 0!important;background:transparent;border:0;box-shadow:none}
  body.hm185-app .app-shell .page-content .settings-sticky-actions .button{flex:1}
}
@media screen and (max-width:359px){
  body.hm185-app .app-shell .page-content .home-command-v44{flex-wrap:wrap}
  body.hm185-app .app-shell .page-content .quick-action-grid-v44>a{grid-template-columns:28px minmax(0,1fr);padding:10px!important;column-gap:7px}
  body.hm185-app .app-shell .page-content .quick-action-grid-v44>a>span{width:28px}
  body.hm185-app .app-shell .page-content .quick-action-grid-v44 b{font-size:13px!important}
  body.hm185-app .app-shell .page-content .owner-head-badges-v26{max-width:85px;flex-wrap:wrap}
  body.hm185-app .app-shell .page-content .owner-actions-v26 .button{font-size:12px!important}
  body.hm185-app .app-shell .page-content .owner-card-head-v26{flex-wrap:wrap}
  body.hm185-app .app-shell .page-content .owner-name-v26{flex:1}
  body.hm185-app .app-shell .page-content .dm-composer{gap:5px;padding:8px!important}
}
@media screen and (min-width:701px){
  body.hm185-app .app-shell .page-content .quick-action-grid-v44{grid-template-columns:repeat(4,minmax(0,1fr))!important}
  body.hm185-app .app-shell .page-content .owner-primary-actions-v44{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.hm185-app .app-shell .page-content .owner-action-card-v81:first-child{grid-column:auto}
}
@media screen and (min-width:1101px){
  body.hm185-app .app-shell .page-content :is(.dashboard-kpis-v44,.owner-summary-v26,.bank-overview,.charge-summary-v46,.acct-v48-kpis,.account-summary-grid,.smart-accounting-stats-v52){grid-template-columns:repeat(4,minmax(0,1fr))!important}
  body.hm185-app .app-shell .page-content .hm143-center__grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.hm185-app .app-shell .page-content :is(.section-hub-grid,.bank-grid-modern,.settings-clean-grid,.acct-v48-dashboard){grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.hm185-app .app-shell .page-content .owner-card-grid-v26[data-owner-view=cards]{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.hm185-app .app-shell .page-content .owner-card-grid-v26[data-owner-view=compact] .owner-card-v26{display:grid;grid-template-columns:minmax(230px,1fr) minmax(200px,.8fr);align-items:center;gap:10px 20px!important}
  body.hm185-app .app-shell .page-content .owner-card-grid-v26[data-owner-view=compact] .owner-actions-v26{grid-column:2;justify-content:flex-end}
  body.hm185-app .app-shell .page-content .owner-card-grid-v26[data-owner-view=compact] .owner-actions-v26>*{flex:0 1 auto}
  body.hm185-app .app-shell .page-content .owner-toolbar-controls-v26{grid-template-columns:auto minmax(180px,1fr) minmax(130px,.6fr) minmax(130px,.6fr)!important}
  body.hm185-app .owner-toolbar-controls-v26 :is(.hm185-view-switch,.owner-search-v26){grid-column:auto}
  body.hm185-app .app-shell .page-content .acct-v48-filter-fields{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.hm185-app .app-shell .page-content :is(.design-settings-grid,.app-status-grid-v42){grid-template-columns:repeat(3,minmax(0,1fr))!important}
}

/* Final mobile review: compact summaries, usable search and stable composer. */
@media screen {
 body.hm185-app .app-shell .page-content :is(.button.primary,button.primary){background:var(--ui-primary)!important;border-color:var(--ui-primary)!important;color:#fff!important}
 body.hm185-app .app-shell .page-content .owner-search-v26{display:flex!important;align-items:center;gap:8px;padding:0 10px!important;min-height:48px!important}
 body.hm185-app .app-shell .page-content .owner-search-v26 input{flex:1;width:100%!important;min-width:0;padding:8px 0!important;margin:0!important;min-height:46px!important}
 body.hm185-app .app-shell .page-content .owner-search-v26>span{flex:0 0 auto;line-height:1}
 body.hm185-app .app-shell .page-content .stay155-manual-exit{min-width:0;max-width:100%;width:100%}
 body.hm185-app .app-shell .page-content .stay155-manual-exit .stay-v58-checkout{display:grid!important;grid-template-columns:minmax(0,1fr)!important;min-width:0;width:100%;gap:10px}
 body.hm185-app .app-shell .page-content .stay155-manual-exit .stay-v58-checkout>*{min-width:0;width:100%;max-width:100%}
}
@media screen and (max-width:900px){
 body.hm185-app .app-shell .page-content .owner-heading .actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px;width:100%}
 body.hm185-app .app-shell .page-content .owner-heading #newOwnerBtn{grid-column:1/-1;grid-row:1}
 body.hm185-app .app-shell .page-content .owner-summary-v26>article{min-height:0!important;height:auto!important;padding:12px!important;gap:3px}
 body.hm185-app .app-shell .page-content .owner-summary-v26>article>small{font-size:12px!important;font-weight:400!important;line-height:1.6}
}
@media screen and (max-width:900px){
 body.hm185-app .app-shell .page-content .charge-toolbar-v46{display:flex!important;flex-direction:column;align-items:stretch!important;min-width:0!important;width:100%!important}
 body.hm185-app .app-shell .page-content .charge-search-v46{display:flex!important;align-items:center;min-width:0!important;width:100%!important;max-width:100%!important}
 body.hm185-app .app-shell .page-content #chargeOwnerSearch{min-width:0!important;width:100%!important;flex:1 1 0}
 body.hm185-app .app-shell .page-content .charge-filter-v46{width:100%!important;max-width:100%!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px}
 body.hm185-app .app-shell .page-content .charge-filter-v46 button{min-width:0!important;min-height:44px;white-space:normal}
 /* Exactly one scrolling panel; wizard actions stay outside its scrollport. */
 body.hm185-app .app-shell #ownerModal .owner-modal-card{overflow:hidden!important;padding:0!important;display:flex!important;flex-direction:column!important}
 body.hm185-app .app-shell #ownerModal .owner-modal-card>header{position:static!important;padding:12px 16px!important}
 body.hm185-app .app-shell #ownerModal .owner-modal-card>header h2{font-size:20px!important;line-height:1.6!important}
 body.hm185-app .app-shell #ownerModal .owner-modal-card>header p{font-size:13px!important;line-height:1.7!important}
 body.hm185-app .app-shell #ownerModal #newOwnerForm{display:flex!important;flex-direction:column!important;overflow:hidden!important;padding:0!important;min-height:0!important;flex:1!important}
 body.hm185-app .app-shell #ownerModal .owner-form-shell{display:flex!important;flex-direction:column!important;overflow:hidden!important;padding:0!important;margin:0!important;min-height:0!important;flex:1!important}
 body.hm185-app .app-shell #ownerModal .owner-tabs{flex:0 0 auto!important;position:static!important;margin:0!important;padding:8px!important;max-width:100%;border-bottom:1px solid var(--ui-line)}
 body.hm185-app .app-shell #ownerModal .owner-wizard-content{flex:1!important;min-height:0!important;max-height:none!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;padding:0!important}
 body.hm185-app .app-shell #ownerModal .owner-tab-panel.active{flex:1!important;min-height:0!important;overflow-y:auto!important;overscroll-behavior:contain;padding:16px!important;scroll-padding-block:12px}
 body.hm185-app .app-shell #ownerModal .owner-wizard-actions{position:static!important;inset:auto!important;flex:0 0 auto!important;display:flex!important;width:100%!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 var(--ui-line)!important;box-shadow:none!important}
 body.hm185-app .app-shell #ownerModal .wizard-actions-main{flex:1;min-width:0;justify-content:flex-end;gap:8px!important}
 body.hm185-app .app-shell #ownerModal .wizard-cancel{display:inline-flex!important;padding-inline:10px!important}
 body.hm185-app .app-shell #ownerModal .wizard-progress{font-size:11px!important;white-space:nowrap}
 body.hm185-app .app-shell #ownerModal .wizard-next,body.hm185-app .app-shell #ownerModal .wizard-submit{background:var(--ui-primary)!important;color:white!important;border-color:var(--ui-primary)!important;min-height:48px!important;padding:8px 12px!important}
}
@media screen and (max-width:359px){body.hm185-app .app-shell #ownerModal .wizard-progress{display:none}}
@media screen and (max-width:900px){
 body.hm185-app .app-shell .page-content .charge-toolbar-v46{display:grid!important;grid-template-columns:minmax(0,1fr)!important;justify-content:stretch!important}
 body.hm185-app .app-shell .page-content .charge-search-v46{flex:initial!important}
}
@media screen and (max-width:900px){
 body.hm185-app .app-shell #ownerModal #newOwnerForm .owner-wizard-actions{display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;align-items:center!important}
 body.hm185-app .app-shell #ownerModal #newOwnerForm .wizard-cancel{grid-column:1;width:auto!important;min-width:70px!important;order:0!important}
 body.hm185-app .app-shell #ownerModal #newOwnerForm .wizard-actions-main{grid-column:2;display:flex!important;flex-direction:row!important;order:0!important;min-width:0;width:auto!important}
 body.hm185-app .app-shell #ownerModal #newOwnerForm :is(.wizard-next,.wizard-submit){background:var(--ui-primary)!important;color:#fff!important;border-color:var(--ui-primary)!important}
 body.hm185-app .app-shell .owner-fields label.required-field::before{position:absolute;inset-inline-end:2px;top:0;margin:0}
}
