.crm-wa-mobile-switch {display:none}
/* CRM 10.38.33 — all visual overrides are restricted to mobile screens.
   Desktop mouse/trackpad at 781px+ retains the shipped layout; touch tablets up to 1024px adapt. */
@media screen and (max-width:780px), screen and (max-width:1024px) and (pointer:coarse) {
 html {scroll-padding-bottom:90px; -webkit-text-size-adjust:100%}
 body {min-width:320px}
 body .app-shell, body .app-content, body .page-content {min-width:0;max-width:100%}
 body .app-content .page-content {padding:14px 12px calc(88px + env(safe-area-inset-bottom))!important}
 body .sidebar {position:fixed;top:0;left:0;z-index:901;width:min(290px,86vw);height:100dvh;max-height:100dvh;transform:translateX(-105%);padding-bottom:calc(24px + env(safe-area-inset-bottom))}
 body .sidebar.mobile-open {transform:translateX(0)}
 body .mobile-menu-button {display:grid}
 body .mobile-menu-overlay {position:fixed;inset:0;display:block;z-index:900;background:#0008}
 body .topbar {padding:env(safe-area-inset-top) 12px 0;min-height:56px;height:auto}
 body .topbar-detached-menu {position:relative!important;inset:auto!important;margin:8px 12px 0!important}
 body .app-content :is(h1,h2,h3,p,strong,small,label,span) {overflow-wrap:anywhere}
 body .app-content :is(h1) {font-size:26px!important;line-height:1.18!important}
 body .app-content :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea), body :is(.auth-page,.appointment-modal,.premium-client-modal,.ctr-cover-modal,.marketing-modal,.wa2-modal) :is(input:not([type=checkbox]):not([type=radio]),select,textarea) {font-size:16px!important;max-width:100%;min-width:0;min-height:44px}
 body .app-content :is(button,.primary-button,.secondary-button), body :is(.sidebar,.appointment-modal,.premium-client-modal,.ctr-cover-modal,.marketing-modal,.wa2-modal) button {min-height:44px;white-space:normal;line-height:1.3}
 body .app-content :is(button,a,input,select,textarea):focus-visible {outline:2px solid #a8742c;outline-offset:3px}
 body .app-content :is(input[type=checkbox],input[type=radio]) {width:20px;height:20px;flex-shrink:0}
 body .app-content :is(img,video) {max-width:100%}
 body .app-content :is(.dashboard,[class$="-page"],[class$="-shell"]) {max-width:100%;min-width:0}
 body .app-content :is(.dashboard-hero,.clients-premium-hero,.clients-premium-hero-actions,.clients-command-bar-header,.clients-command-bar-controls,.clients-view-bar,.clients-view-controls,.clients-ops-summary,.ctr-hero,.orc-hero,.reports-hero,.funil-hero,.fin-hero,.fin-hero-actions,.agenda-v315-hero,.agenda-v315-hero-actions,.agenda-workspace-toolbar,.agenda-view-header,.premium-calendar-header,.clients-toolbar,.ctr-toolbar,.orc-toolbar,.reports-toolbar,.boletos-toolbar,.marketing-calendar-toolbar,.marketing-hero,.page-header) {display:flex!important;flex-wrap:wrap!important;gap:10px!important;min-width:0!important;max-width:100%;height:auto!important}
 body .app-content :is(.clients-search,.clients-filter,.clients-sort-control,.ctr-search,.ctr-select-wrap,.orc-search,.orc-select-wrap,.fin-search,.agenda-data-period-label) {min-width:0!important;max-width:100%;flex:1 1 180px;min-height:44px;height:auto}
 body .app-content :is(.daily-main-grid,.daily-bottom-grid,.dashboard-grid,.clients-grid,.client-card-row-data,.client-profile-general-grid,.premium-client-layout,.premium-form-grid,.timeline-form-grid,.agenda-v31-layout,.premium-agenda-layout,.agenda-smart-grid,.appointment-form-grid,.appointment-information,.agenda-compact-info-grid,.ctr-editor-layout,.ctr-editor-grid,.ctr-detail-grid,.ctr-client-step-grid,.ctr-commercial-grid,.ctr-event-summary-grid,.ctr-payments-grid,.ctr-payment-inline-grid,.ctr-step1-address-grid,.ctr-step1-personal-grid,.ctr-step1-link-grid,.ctr-review-grid,.ctr-signature-grid,.ctr-smart-modal-grid,.ctr-library-grid,.ctr-template-admin-cover-layout,.ctr-template-admin-clause-grid,.ctr-cover-modal-editor,.orc-editor-grid,.orc-detail-grid,.orc-review-grid,.orc-summary-grid,.fin-overview-grid,.reports-grid,.config-layout,.config-form-grid,.marketing-form-grid,.marketing-settings-grid,.marketing-intelligence-grid,.marketing-entity-form,.boletos-page .boleto-form) {grid-template-columns:minmax(0,1fr)!important;min-width:0!important}
 body .app-content :is(.stats-grid,.daily-kpis,.clients-kpi-grid,.ctr-kpi-grid,.orc-kpi-grid,.report-kpis,.funil-kpis,.agenda-summary-grid,.fin-overview-kpis,.boletos-kpis,.marketing-stats-grid,.ctr-card-grid,.orc-card-grid,.marketing-card-grid,.ctr-service-spotlight-grid,.ctr-payment-card-grid,.ctr-production-grid,.ctr-checklist-grid,.ctr-acompanhamento-grid,.ctr-custom-service-grid,.ctr-brand-upload-grid,.ctr-clause-application-grid,.ctr-clause-condition-grid,.ctr-preview-contract-grid,.ctr-snippet-grid,.ctr-template-admin-flags-grid,.orc-template-grid) {display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,155px),1fr))!important;gap:10px!important;min-width:0!important}
 body .app-content :is(.ctr-grid-col-span,.orc-grid-col-span,.premium-field-wide,.premium-field-full,.timeline-form-field-wide,.agenda-span-all,.wide) {grid-column:1/-1!important;min-width:0}
 body .daily-dashboard {display:flex!important;flex-direction:column;gap:12px}
 body .daily-dashboard .daily-hero {order:0;padding:16px!important}
 body .daily-dashboard :is(.daily-main-grid,.daily-bottom-grid) {display:contents!important}
 body .daily-dashboard .agenda-panel {order:1}
 body .daily-dashboard .attention-panel {order:2}
 body .daily-dashboard .quick-actions {order:3;flex-wrap:wrap}
 body .daily-dashboard .production-summary {order:4}
 body .daily-dashboard .funnel-summary {order:5}
 body .daily-dashboard .daily-kpis {order:6}
 body .daily-dashboard .finance-panel {order:7}
 body .daily-agenda-list>div {grid-template-columns:52px minmax(0,1fr)!important}
 body .daily-agenda-list>div>button {grid-column:2;justify-self:start}
 body .daily-agenda-list :is(strong,small), body .attention-row span {white-space:normal!important}
 body .client-card-row-premium {display:flex!important;flex-direction:column;align-items:stretch;gap:12px}
 body .client-card-row-actions {flex-wrap:wrap}
 body :is(.premium-client-navigation,.client-profile-tabs,.ctr-stepper,.ctr-library-tabs,.fin-tabs,.marketing-tabs,.agenda-operational-tabs,.wa2-compose-tabs) {max-width:100%;overflow-x:auto!important;flex-wrap:nowrap;overscroll-behavior-x:contain}
 body :is(.premium-client-navigation,.client-profile-tabs,.ctr-stepper,.fin-tabs,.marketing-tabs)>* {flex-shrink:0}
 body .premium-client-navigation {position:static!important;display:flex!important;gap:6px}
 body .ctr-editor-preview {position:static!important;max-width:100%;min-width:0}
 body .ctr-editor-preview-wrap {max-width:100%;overflow-x:auto}
 body .ctr-pdf-preview-frame {width:100%!important;min-width:0!important;height:65dvh!important}
 body .app-content :is(.fin-table-wrap,.boletos-table-wrap,.clientes-table-wrapper,[class*="table-wrap"],.funil-board,.agenda-week-board) {width:100%;max-width:100%;min-width:0!important;overflow-x:auto!important;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
 body .app-content table {max-width:none}
 body .app-content :is(th,td) {white-space:normal}
 body .funil-board {display:flex!important;gap:12px!important;scroll-snap-type:x proximity}
 body .funil-column {flex:0 0 min(82vw,320px);min-width:0;scroll-snap-align:start}
 body .agenda-v31-layout {--agenda-shared-height:auto!important;display:grid!important}
 body .agenda-workspace-toolbar {flex-direction:column;align-items:stretch}
 body .agenda-view-switcher {display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));width:100%;gap:4px}
 body .agenda-view-switcher button {min-width:0!important;padding:8px 3px!important;font-size:12px!important}
 body .agenda-data-navigation {display:flex;flex-wrap:wrap;width:100%;gap:6px}
 body .agenda-data-period-label {order:-1;flex:1 1 100%;padding:10px!important;white-space:normal!important;text-align:center}
 body .agenda-week-head,body .agenda-week-body {min-width:900px!important;grid-template-columns:50px repeat(7,minmax(120px,1fr))!important}
 body .agenda-week-board {max-height:65dvh!important}
 body .agenda-week-event-card {touch-action:pan-x pan-y}
 body .premium-calendar {padding:0!important;min-width:0}
 body .premium-calendar-grid,body .premium-calendar-weekdays {grid-template-columns:repeat(7,minmax(0,1fr))!important;width:100%}
 body .premium-calendar-day {padding:4px 2px!important;min-height:76px!important}
 body .calendar-event {padding:3px 1px!important;font-size:9px!important}
 body .calendar-day-number {width:26px!important;height:26px!important}
 body .agenda-lista-item {grid-template-columns:48px minmax(0,1fr)!important;gap:8px}
 body .agenda-lista-meta {grid-column:2;display:grid!important;grid-template-columns:1fr!important}
 body .agenda-lista-meta span,body .agenda-lista-principal span {white-space:normal!important;max-width:100%}
 body .agenda-dia-scroll {max-width:100%;overflow:auto}
 body .agenda-detail-actions {grid-template-columns:1fr!important}
 body .selected-date-panel.agenda-v31-details {position:fixed!important;top:0!important;right:0!important;width:min(100vw,480px)!important;height:100dvh!important;max-height:100dvh!important;z-index:1401;transform:translateX(104%);padding-bottom:env(safe-area-inset-bottom)!important}
 body .selected-date-panel.agenda-v31-details.drawer-open {transform:translateX(0)!important}
 body .agenda-close-drawer {display:flex!important}
 body :is(.appointment-modal-backdrop,.premium-client-backdrop,.ctr-cover-modal-backdrop,.ctr-signature-overlay,.marketing-modal-backdrop,.wa2-modal-bg,.boleto-modal-layer,.fin-drawer-layer,.client-profile-backdrop) {padding:8px!important;padding-top:max(8px,env(safe-area-inset-top))!important;padding-bottom:max(8px,env(safe-area-inset-bottom))!important}
 body :is(.appointment-modal,.premium-client-modal,.ctr-cover-modal,.ctr-signature-modal,.marketing-modal,.wa2-modal,.boleto-modal,.fin-drawer,.client-profile-drawer) {width:100%!important;min-width:0!important;max-width:100%!important;max-height:calc(var(--crm-viewport-height,100dvh) - 16px)!important;border-radius:12px!important;overflow-y:auto!important;overscroll-behavior:contain}
 body :is(.appointment-modal-header,.premium-client-header,.ctr-cover-modal header,.marketing-modal header,.wa2-modal-head) {padding:14px!important;gap:8px;flex-wrap:wrap}
 body :is(.appointment-form-body,.premium-client-body,.ctr-cover-modal-body,.client-profile-content) {min-height:0;padding:14px!important;overflow-y:auto}
 body :is(.appointment-modal-footer,.premium-client-footer,.premium-client-footer-actions,.ctr-brand-modal-actions,.wa2-modal-actions,.fin-drawer-actions) {display:flex!important;flex-wrap:wrap;gap:8px;padding:12px!important;position:static!important;flex-shrink:0}
 body :is(.appointment-modal-footer,.premium-client-footer-actions,.wa2-modal-actions)>button {flex:1 1 120px;min-height:44px}
 body .auth-page {padding:16px;min-height:100dvh}
 body .auth-card {width:100%;max-width:440px;padding:24px 18px}
 body .auth-card :is(input,button) {min-height:44px;font-size:16px}
 /* WhatsApp keeps all three existing panes; a mobile switch selects the pane without unmounting it. */
 html body .wa2-page {height:auto!important;min-height:0!important;overflow:visible!important;padding:0!important}
 html body .wa2-shell.premium-shell {display:flex!important;flex-direction:column!important;width:100%!important;min-width:0!important;height:auto!important;overflow:visible!important}
 html body :is(.wa2-list,.wa2-chat,.wa2-side) {width:100%!important;min-width:0!important;max-width:100%!important;max-height:none!important;height:auto!important}
 html body .wa2-conversations {max-height:60dvh!important;overflow-y:auto!important}
 html body .wa2-chat {min-height:480px!important}
 html body .wa2-messages {min-height:200px!important;max-height:50dvh!important;overflow:auto!important}
 html body .wa2-compose {position:static!important;padding:12px!important;min-width:0}
 html body .wa2-compose textarea {font-size:16px!important;min-height:72px!important}
 html body .wa2-send {min-width:64px!important;min-height:44px!important;font-size:14px!important}
 html body .wa2-filters {grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}
 html body .wa2-filters>button,html body .wa2-more-filters>summary {font-size:12px!important;min-height:44px!important;white-space:normal!important}
 html body .wa2-kpis {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
 html body :is(.wa2-header,.wa2-actions,.wa2-chat-head,.wa2-chat-notice,.wa2-compose-tools) {flex-wrap:wrap!important;height:auto!important;min-width:0!important}
 html body .wa2-chat-notice span {white-space:normal!important;max-width:100%!important}
 html body .wa2-msg {max-width:92%!important;overflow-wrap:anywhere}
 body .crm-wa-mobile-switch {display:flex;gap:6px;margin:10px 0}
 body .crm-wa-mobile-switch button {flex:1;border:1px solid #d8dce0;border-radius:9px;background:#fff;min-height:44px}
 body .crm-wa-mobile-switch button[aria-pressed=true] {background:#171717;color:white}
 body .wa2-shell[data-mobile-pane=conversations] :is(.wa2-chat,.wa2-side),body .wa2-shell[data-mobile-pane=chat] :is(.wa2-list,.wa2-side),body .wa2-shell[data-mobile-pane=details] :is(.wa2-list,.wa2-chat) {display:none!important}
 body .crm-mobile-nav {position:fixed;inset:auto 0 0;z-index:880;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;background:#fff;border-top:1px solid #ddd;box-shadow:0 -4px 20px #0000000c;padding:6px max(5px,env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(5px,env(safe-area-inset-left))}
 body .crm-mobile-tab {display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:52px;padding:5px 1px;color:#656565;background:transparent;border:0;border-radius:10px;font-size:11px;font-weight:600;text-decoration:none;line-height:1.2}
 body .crm-mobile-tab.active {color:#171717;background:#eee7db}
 body .crm-mobile-tab.disabled {opacity:.4}
 body .crm-mobile-tab.crm-mobile-new svg {background:#171717;color:#e9d6ae;border-radius:50%;width:28px;height:28px;padding:4px}
 body .crm-mobile-sheet {position:fixed;inset:auto 0 0;margin:0 auto;width:min(100%,600px);max-width:100%;max-height:calc(88dvh - env(safe-area-inset-top));padding:18px 16px calc(20px + env(safe-area-inset-bottom));border:0;border-radius:20px 20px 0 0;background:#fff;color:#171717;overflow:auto;overscroll-behavior:contain}
 body .crm-mobile-sheet::backdrop {background:#0008}
 body .crm-mobile-sheet header {display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}
 body .crm-mobile-sheet h2 {font-size:20px;margin:0}
 body .crm-mobile-sheet header button {width:44px;height:44px;border:0;border-radius:50%;font-size:26px;background:#f2f2f2}
 body .crm-mobile-sheet-links {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 body .crm-mobile-sheet-links a {display:flex;align-items:center;min-height:52px;padding:12px;border:1px solid #e3e3e3;border-radius:10px;font-size:14px;overflow-wrap:anywhere;text-decoration:none}
 body .crm-mobile-sheet-links a.active {border-color:#ad8d55;background:#faf6ed}
 body .crm-mobile-logout {width:100%;min-height:44px;margin-top:16px;background:#fafafa;border:1px solid #ddd;border-radius:9px}
 body .crm-mobile-notice {position:fixed;bottom:84px;left:12px;right:12px;z-index:889;background:#171717;color:#fff;padding:12px;border-radius:10px;display:flex;gap:10px;align-items:center;font-size:14px}
 body .crm-mobile-notice button {background:transparent;color:white;border:0;font-size:24px}
 html.crm-mobile-keyboard .crm-mobile-nav {display:none}
 html.crm-mobile-keyboard .app-content .page-content {padding-bottom:16px!important}
 /* Public signature: keep consent and signature canvas behavior unchanged. */
 body .ctr-public-sign-form :is(input,select,textarea),body .sign .grid input {font-size:16px!important;min-height:44px}
 body .ctr-public-summary-grid,body .ctr-public-sign-form {grid-template-columns:minmax(0,1fr)!important}
 body .sign .consent input {width:22px;height:22px;flex-shrink:0}
 body .sign .padbox button {min-height:44px}
 body .sign .consent :is(strong,small) {font-size:13px;line-height:1.5}
 body .contract .field strong,body .contract .clause {overflow-wrap:anywhere}
 body .wrap .topin {flex-wrap:wrap}
}
@media screen and (max-width:374px) {
 body .app-content .page-content {padding-left:8px!important;padding-right:8px!important}
 body .crm-mobile-sheet-links {grid-template-columns:1fr}
 body .daily-kpis,body .clients-kpi-grid {grid-template-columns:1fr!important}
}
@media print {.crm-mobile-nav,.crm-mobile-sheet,.crm-wa-mobile-switch,.crm-mobile-notice {display:none!important}}
@media screen and (max-width:780px), screen and (max-width:1024px) and (pointer:coarse) {
 body .ctr-page .ctr-editor-header {display:flex!important;flex-wrap:wrap!important;align-items:flex-start!important;gap:10px!important}
 body .ctr-page .ctr-editor-header>div {flex:1 1 100%;min-width:0!important}
 body .ctr-page .ctr-editor-header>button {flex:1 1 110px}
 body .ctr-page .ctr-editor-header p {display:block!important;font-size:13px!important;line-height:1.5}
 body .ctr-page .ctr-editor-header h2 {font-size:23px!important}
 body .ctr-page .ctr-editor-header button {min-height:44px!important;font-size:13px!important;white-space:normal}
 body .ctr-editor-action-bar {position:static!important;inset:auto!important;transform:none!important;width:100%!important;flex-wrap:wrap!important;gap:10px!important;margin-top:16px}
 body .ctr-editor-action-bar>div {display:flex;flex-wrap:wrap;gap:8px;min-width:0;max-width:100%}
 body .ctr-editor-action-bar button {min-height:44px!important;font-size:13px!important}
 body .ctr-stepper-mobile {font-size:13px!important}
 body .ctr-page :is(.ctr-premium-top-grid,.ctr-premium-bottom-grid,.ctr-premium-service-grid,.ctr-premium-service-grid-three,.ctr-step1-client-row,.ctr-smart-editor-variable-row) {grid-template-columns:minmax(0,1fr)!important;min-width:0}
 body .ctr-page :is(.ctr-short-field,.ctr-narrow-field) {width:100%!important;max-width:100%!important}
 body .auto-page {width:100%;min-width:0!important;grid-template-columns:minmax(0,1fr)!important}
 body .auto-page>* {min-width:0!important;max-width:100%}
 body :is(.auto-hero,.auto-card-head,.auto-filters) {flex-wrap:wrap!important;gap:10px}
 body .auto-tabs {overflow-x:auto;max-width:100%;min-width:0}
 body .auto-tabs button {flex-shrink:0}
 body .auto-metrics {grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body .auto-metrics article {padding:10px;flex-wrap:wrap;min-width:0}
 body .auto-page :is(input,select,textarea) {min-width:0;max-width:100%}
 body #awr-fab {position:static!important;display:block;margin:10px 12px 90px;width:calc(100% - 24px);z-index:auto!important}
 body :is(.awr-back,.shared-modal-backdrop) {padding:8px!important;z-index:1600}
 body :is(.awr-modal,.shared-modal) {width:100%!important;min-width:0!important;max-height:calc(var(--crm-viewport-height,100dvh) - 16px)!important;overflow:auto}
 body .awr-grid {grid-template-columns:1fr}
 body .awr-phone {flex-wrap:wrap}
 body :is(.awr-body,.awr-head,.shared-modal-body,.shared-modal-header) {padding:14px!important}
 body .awr-field input,body .awr-field select,body .shared-modal :is(input,select,textarea) {font-size:16px!important;min-height:44px!important}
 body .ctr-cover-modal-backdrop {z-index:1600!important}
 body .app-content :is(.daily-panel,.client-card,.ctr-editor-form,.fin-overview-panel,.orc-editor-grid) :is(small,label) {font-size:12px!important;line-height:1.45}
 body .daily-panel :is(.funnel-mini-grid,.production-mini-grid) {grid-template-columns:1fr!important}
}
@media screen and (max-width:780px), screen and (max-width:1024px) and (pointer:coarse) {
 html.crm-mobile-active:has(.wa2-page),html.crm-mobile-active:has(.wa2-page) body,html.crm-mobile-active:has(.wa2-page) #root {overflow:visible!important;height:auto!important;max-height:none!important}
 html body .wa2-page {max-height:none!important}
 html body .wa2-topbar {display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:12px!important}
 html body .wa2-brandline {width:100%!important;min-width:0!important;gap:10px!important}
 html body .wa2-brandline>div {min-width:0!important}
 html body .wa2-wa-logo {flex-shrink:0}
 html body .wa2-title-row {display:flex!important;flex-wrap:wrap!important;gap:6px!important}
 html body .wa2-title-row h1 {flex:1 1 100%!important;min-width:0!important;font-size:24px!important}
 html body .wa2-brandline p {font-size:12px!important;line-height:1.5!important}
 html body .wa2-notice-banner {width:100%!important;min-width:0!important;max-width:100%!important}
 html body .wa2-kpis article {min-width:0!important;flex-wrap:wrap!important}
 html body .wa2-kpis :is(span,strong,small) {white-space:normal!important;overflow-wrap:anywhere!important}
 html body .wa2-side {display:flex!important}
 html body .wa2-side :is(p,button,a) {font-size:13px!important}
 html body .wa2-shell[data-mobile-pane=conversations] :is(.wa2-chat,.wa2-side),html body .wa2-shell[data-mobile-pane=chat] :is(.wa2-list,.wa2-side),html body .wa2-shell[data-mobile-pane=details] :is(.wa2-list,.wa2-chat) {display:none!important}
}
@media screen and (max-width:780px), screen and (max-width:1024px) and (pointer:coarse) {
 body .marketing-module-nav {display:flex!important;flex-wrap:wrap!important;gap:6px;max-width:100%;min-width:0!important}
 body .marketing-module-nav a {flex:1 1 120px;min-width:0;min-height:44px;white-space:normal!important}
}
@media screen and (max-width:780px), screen and (max-width:1024px) and (pointer:coarse) {
 body .marketing-page {grid-template-columns:minmax(0,1fr)!important;width:100%;min-width:0!important}
 body .marketing-page>* {min-width:0!important;max-width:100%}
 body .marketing-approval-flow {flex-wrap:wrap!important;gap:8px}
 body .marketing-hero-actions {flex-wrap:wrap!important;max-width:100%}
}
@media screen and (max-width:780px), screen and (max-width:1024px) and (pointer:coarse) {
 body .portal-public {width:100%;min-width:0;padding:24px 14px}
 body .portal-public.login {grid-template-columns:minmax(0,1fr)}
 body .portal-login-card {min-width:0;width:100%;max-width:440px;padding:24px 18px}
 body .portal-login-card input {width:100%;min-width:0;font-size:20px;min-height:44px}
 body .portal-public>header {flex-wrap:wrap}
 body .portal-item,body .portal-next-payment {grid-template-columns:minmax(0,1fr)!important;gap:10px}
 body .portal-item>* {min-width:0;overflow-wrap:anywhere}
 body .gal-public {min-width:0;max-width:100%}
 body .gal-public :is(button,select,input) {min-height:44px;font-size:16px}
 body .gal-public header {flex-wrap:wrap;min-width:0}
 body .gal-checkout {max-width:100%;flex-wrap:wrap;gap:10px}
 body .gal-photo-grid {grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr))!important}
}
