@media(max-width:767px){

    
    .rms-mobile-dashboard, .rms-mobile-dashboard * { box-sizing: border-box; }
    [data-testid="stMainBlockContainer"] > [data-testid="stVerticalBlock"] {
      gap: 0 !important;
    }
    [data-testid="stVerticalBlock"]:has(
      > [data-testid="stLayoutWrapper"] > .st-key-rms_mobile_header
    ) {
      gap: .26rem !important;
    }
    [data-testid="stVerticalBlock"]:has(
      > [data-testid="stLayoutWrapper"] > .st-key-rms_mobile_header
    ) > :has(
      ~ [data-testid="stLayoutWrapper"] > .st-key-rms_mobile_header
    ) {
      position: absolute !important;
    }
    .rms-mobile-dashboard {
      width: 100%;
      min-width: 0;
      overflow-x: clip;
      color: var(--rmsm-text, #182230);
      background: transparent;
    }
    .rms-mobile-hotel-name {
      min-width: 0;
      padding: .22rem 0;
      overflow: hidden;
      color: var(--rmsm-header-text, #101828);
      font-size: .86rem;
      font-weight: 740;
      line-height: 1.25;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .rms-mobile-update {
      min-width: 7rem;
      margin: 0;
      padding-right: 0;
      color: var(--rmsm-muted, #667085);
      font-size: .69rem;
      font-weight: 620;
      line-height: 1.2;
      text-align: right;
      white-space: nowrap;
    }
    .rms-mobile-divider {
      height: 5.5px;
      border: 0;
      background: transparent;
    }
    .rms-mobile-section {
      min-width: 0;
      margin: 0 .72rem;
      padding: .68rem .68rem .72rem;
      overflow: hidden;
      border: 1px solid var(--rmsm-card-border, #dfe3e8);
      border-radius: 13px;
      background: var(--rmsm-card, #fff);
      box-shadow: 0 3px 10px rgba(16, 24, 40, .11);
    }
    .rms-mobile-section-title {
      display: flex;
      align-items: center;
      margin: 0 0 .34rem;
      color: var(--rmsm-heading, #475467);
      font-size: .64rem;
      font-weight: 600;
      line-height: 1.15;
      letter-spacing: .07em;
      text-transform: uppercase;
    }
    .rms-mobile-section-title::before {
      content: "";
      width: 7px;
      height: 7px;
      margin-right: .45rem;
      flex: 0 0 7px;
      border-radius: 2px;
      background: #e5484d;
    }
    .rms-mobile-section-title--accent::before {
      width: 1.38rem;
      height: 1.38rem;
      margin-right: .48rem;
      flex-basis: 1.38rem;
      border-radius: 6px;
      background-color: var(--rmsm-section-accent);
      background-image: var(--rmsm-section-icon);
      background-position: center;
      background-repeat: no-repeat;
      background-size: .86rem .86rem;
      box-shadow: 0 2px 5px color-mix(in srgb, var(--rmsm-section-accent) 28%, transparent);
      forced-color-adjust: none;
    }
    .rms-mobile-section-title--alerts {
      --rmsm-section-accent: var(--rms-section-alerts, #f79009);
      /* Ostrzeżenie — odróżnione od przypomnienia w Dzienniku RM. */
      --rmsm-section-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m21.73 18-8-14a2 2 0 0 0-3.46 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3'/%3E%3Cpath d='M12 9v4'/%3E%3Cpath d='M12 17h.01'/%3E%3C/svg%3E");
    }
    .rms-mobile-section-title--events {
      --rmsm-section-accent: var(--rms-section-events, #079455);
      --rmsm-section-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M16 3v4M8 3v4M3 10h18'/%3E%3Cpath d='m9 15 2 2 4-4'/%3E%3C/svg%3E");
    }
    .rms-mobile-section-title--daily {
      --rmsm-section-accent: var(--rms-section-daily, #7f56d9);
      /* Ten sam znak grid_view, którego używa Pulpit dzienny w sidebarze. */
      --rmsm-section-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Crect x='3' y='3' width='7' height='7' rx='1'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1'/%3E%3C/svg%3E");
    }
    .rms-mobile-section-title--comparative {
      --rmsm-section-accent: var(--rms-section-comparative, #0ba5ec);
      --rmsm-section-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3v18h18'/%3E%3Cpath d='m7 16 4-5 4 3 5-7'/%3E%3C/svg%3E");
    }
    .rms-mobile-section-title--sales {
      --rmsm-section-accent: var(--rms-section-sales, #6172f3);
      --rmsm-section-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3v18h18'/%3E%3Cpath d='M7 16v-4M12 16V8M17 16V5'/%3E%3C/svg%3E");
    }
    .rms-mobile-section-title--rooms {
      --rmsm-section-accent: var(--rms-section-rooms, #0e9384);
      --rmsm-section-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 20v-8a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v8'/%3E%3Cpath d='M4 10V6a2 2 0 0 1 2-2h5a2 2 0 0 1 2 2v4M13 10V7h5a2 2 0 0 1 2 2v1M2 17h20'/%3E%3C/svg%3E");
    }
    .rms-mobile-section--kpi {
      padding-top: .55rem;
      border-left: 3px solid var(--rms-section-kpi, #2e90fa);
    }
    .rms-mobile-kpi-carousel {
      display: grid;
      grid-auto-flow: column;
      grid-auto-columns: calc((100% - .8rem) / 3);
      width: 100%;
      min-width: 0;
      gap: .4rem;
      padding: 0 0 .14rem;
      overflow-x: auto;
      overscroll-behavior-inline: contain;
      scroll-snap-type: x mandatory;
      touch-action: pan-x pan-y;
      scrollbar-width: none;
      -webkit-overflow-scrolling: touch;
    }
    .rms-mobile-kpi-carousel::-webkit-scrollbar { display: none; }
    .rms-mobile-kpi-card {
      position: relative;
      min-width: 0;
      min-height: 6.2rem;
      padding: .58rem .6rem .52rem;
      border: 1px solid var(--rmsm-border-strong, #d0d5dd);
      border-radius: 10px;
      background: var(--rmsm-kpi-surface, #f4f5f7);
      box-shadow: none;
      scroll-snap-align: start;
    }
    .rms-mobile-kpi-card:has(.rms-mobile-kpi-hitbox:focus-visible) {
      outline: 2px solid var(--rms-section-kpi, #2e90fa);
      outline-offset: 1px;
    }
    .rms-mobile-kpi-hitbox {
      position: absolute;
      inset: 0;
      z-index: 2;
      width: 100%;
      height: 100%;
      margin: 0;
      padding: 0;
      border: 0;
      border-radius: inherit;
      background: transparent;
      color: transparent;
      cursor: pointer;
      appearance: none;
      -webkit-appearance: none;
    }
    .rms-mobile-kpi-label {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: .24rem;
      color: var(--rmsm-heading, #475467);
      overflow: hidden;
      font-size: .62rem;
      font-weight: 720;
      letter-spacing: .025em;
      line-height: 1.15;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .rms-mobile-kpi-info {
      flex: 0 0 auto;
      color: var(--rmsm-muted, #667085);
      font-size: .72rem;
      font-weight: 800;
      line-height: 1;
    }
    .rms-mobile-kpi-value {
      margin-top: .58rem;
      color: var(--rmsm-text, #101828);
      font-size: clamp(1.18rem, 5.1vw, 1.45rem);
      font-weight: 760;
      line-height: 1;
      font-variant-numeric: tabular-nums;
      white-space: nowrap;
    }
    .rms-mobile-kpi-value.compact-wide {
      font-size: clamp(.88rem, 3.8vw, 1.08rem);
      letter-spacing: -.035em;
    }
    .rms-mobile-kpi-delta {
      margin-top: .42rem;
      color: #067647;
      min-height: 1.5rem;
      overflow: visible;
      font-size: .65rem;
      font-weight: 650;
      line-height: 1.2;
      white-space: normal;
      overflow-wrap: anywhere;
    }
    .rms-mobile-kpi-delta.down { color: #b42318; }
    .rms-mobile-kpi-delta.flat { color: var(--rmsm-muted, #667085); }
    .rms-mobile-kpi-state {
      margin-top: .5rem;
      color: var(--rmsm-muted, #667085);
      font-size: .66rem;
      line-height: 1.25;
    }
    html:root body .rms-mobile-kpi-tooltip[popover] {
      position: fixed;
      inset: 50% auto auto 50%;
      transform: translate(-50%, -50%);
      width: calc(100vw - 2rem);
      max-width: 360px;
      max-height: min(19rem, 58vh);
      margin: 0 !important;
      padding: .85rem 1rem !important;
      overflow: auto;
      z-index: 2147483000;
      box-sizing: border-box;
      border: 1px solid #ead9ad !important;
      border-radius: 8px !important;
      background: #fff8e8 !important;
      background-color: #fff8e8 !important;
      color: #183b69 !important;
      box-shadow: 0 10px 28px rgba(16, 24, 40, .2) !important;
      font-family: inherit;
      font-size: .875rem;
      line-height: 1.5;
      color-scheme: only light;
      forced-color-adjust: none;
      white-space: pre-line;
    }
    html:root body .rms-mobile-kpi-tooltip[popover] * {
      color: #183b69 !important;
    }
    html:root body .rms-mobile-kpi-tooltip[popover]::backdrop {
      background: transparent;
    }
    .rms-mobile-kpi-tooltip-title {
      display: flex;
      align-items: center;
      gap: .3rem;
      margin-bottom: .35rem;
      font-weight: 800;
    }
    .rms-mobile-section--compact { padding-top: .45rem; padding-bottom: .48rem; }
    .st-key-rms_mobile_events_card {
      box-sizing: border-box;
      border-left: 3px solid #079455 !important;
      width: auto !important;
      max-width: calc(100% - 1.44rem) !important;
      min-width: 0;
      margin: 0 .72rem;
      padding: .36rem .68rem .48rem;
      overflow: clip;
      border: 1px solid var(--rmsm-card-border, #dfe3e8);
      border-radius: 13px;
      background: var(--rmsm-card, #fff);
      box-shadow: 0 3px 10px rgba(16, 24, 40, .11);
    }
    .st-key-rms_mobile_events_card > div { gap: 0 !important; }
    .st-key-rms_mobile_events_card [data-testid="stHorizontalBlock"] {
      display: grid !important;
      grid-template-columns: minmax(0, 1fr) max-content !important;
      width: 100% !important;
      gap: .35rem !important;
      align-items: center !important;
    }
    .st-key-rms_mobile_events_card [data-testid="stHorizontalBlock"] > [data-testid="stColumn"] {
      width: auto !important;
      min-width: 0 !important;
      flex: none !important;
    }
    .st-key-rms_mobile_events_card [data-testid="stHorizontalBlock"] > [data-testid="stColumn"]:last-child {
      justify-self: end !important;
    }
    .st-key-rms_mobile_events_card .rms-mobile-section-title { margin: 0; }
    .st-key-rms_mobile_events_card .rms-mobile-event-list { margin-top: .28rem; }
    .st-key-rms_mobile_events_card [data-testid="stButton"] {
      display: flex;
      justify-content: flex-end;
    }
    .st-key-rms_mobile_events_card [data-testid="stButton"] button {
      min-height: 1.72rem !important;
      height: 1.72rem !important;
      padding: .12rem .48rem !important;
      border: 1px solid var(--rmsm-border-strong, #d0d5dd) !important;
      border-radius: 7px !important;
      background: var(--rmsm-surface, #fff) !important;
      color: var(--rmsm-link, #175cd3) !important;
      -webkit-text-fill-color: var(--rmsm-link, #175cd3) !important;
      box-shadow: none !important;
      appearance: none !important;
      -webkit-appearance: none !important;
      color-scheme: var(--rmsm-color-scheme, only light) !important;
      forced-color-adjust: none !important;
      font-size: .65rem !important;
      font-weight: 680 !important;
      white-space: nowrap !important;
    }
    .st-key-rms_mobile_events_card [data-testid="stButton"] button:hover:not(:disabled) {
      background: var(--rmsm-subtle, #f8fafc) !important;
      border-color: var(--rmsm-link, #175cd3) !important;
    }
    .rms-mobile-signal-empty {
      display: flex;
      min-height: 1.8rem;
      align-items: center;
      gap: .42rem;
      color: var(--rmsm-heading, #475467);
      font-size: .69rem;
      font-weight: 620;
      line-height: 1.25;
    }
    .rms-mobile-signal-empty .check { color: #067647; font-weight: 800; }
    .rms-mobile-signal-empty.is-muted { color: var(--rmsm-muted, #667085); font-weight: 560; }
    .rms-mobile-alert-list, .rms-mobile-event-list {
      display: grid;
      min-width: 0;
      gap: .18rem;
    }
    .rms-mobile-alert-row {
      display: grid;
      grid-template-columns: 1.2rem minmax(0, 1fr);
      min-width: 0;
      padding: .28rem .1rem;
      border-bottom: 1px solid var(--rmsm-border, #f2f4f7);
    }
    .rms-mobile-alert-row:last-child { border-bottom: 0; }
    .rms-mobile-alert-marker {
      display: grid;
      width: .86rem;
      height: .86rem;
      margin-top: .11rem;
      place-items: center;
      border-radius: 50%;
      background: #fef0c7;
      color: #b54708;
      font-size: .58rem;
      font-weight: 820;
      line-height: 1;
    }
    .rms-mobile-alert-row.high .rms-mobile-alert-marker,
    .rms-mobile-alert-row.critical .rms-mobile-alert-marker {
      background: #fee4e2;
      color: #b42318;
    }
    .rms-mobile-alert-row.info .rms-mobile-alert-marker {
      background: #d1e9ff;
      color: #175cd3;
    }
    .rms-mobile-alert-copy { min-width: 0; }
    .rms-mobile-alert-date {
      color: var(--rmsm-text, #344054);
      font-size: .63rem;
      font-weight: 740;
      line-height: 1.15;
    }
    .rms-mobile-alert-title {
      display: -webkit-box;
      margin-top: .08rem;
      overflow: hidden;
      color: var(--rmsm-heading, #475467);
      font-size: .68rem;
      font-weight: 570;
      line-height: 1.22;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
    }
    .st-key-rms_mobile_alerts_card {
      box-sizing: border-box;
      border-left: 3px solid #f79009 !important;
      width: auto !important;
      max-width: calc(100% - 1.44rem) !important;
      min-width: 0;
      margin: 0 .72rem;
      padding: .45rem .7rem .35rem;
      overflow: clip;
      border: 1px solid var(--rmsm-card-border, #dfe3e8);
      border-radius: 13px;
      background: var(--rmsm-card, #fff);
      box-shadow: 0 3px 10px rgba(16, 24, 40, .11);
      color: var(--rmsm-text, #344054);
      color-scheme: var(--rmsm-color-scheme, only light);
      forced-color-adjust: none;
    }
    .st-key-rms_mobile_alerts_card .rms-mobile-section {
      width: 100%;
      margin: 0;
      padding: 0;
      overflow: visible;
      border: 0;
      border-radius: 0;
      background: transparent;
      box-shadow: none;
    }
    .st-key-rms_mobile_alerts_card .rms-mobile-section-title {
      margin: 0 0 .22rem;
    }
    .st-key-rms_mobile_alerts_header > div { gap: 0 !important; }
    .st-key-rms_mobile_alerts_header [data-testid="stHorizontalBlock"] {
      display: grid !important;
      grid-template-columns: minmax(0, 1fr) auto !important;
      width: 100% !important;
      gap: .35rem !important;
      align-items: center !important;
    }
    .st-key-rms_mobile_alerts_header [data-testid="stColumn"] {
      width: auto !important;
      min-width: 0 !important;
      flex: none !important;
    }
    .st-key-rms_mobile_alerts_header [data-testid="stColumn"]:last-child {
      justify-self: end !important;
    }
    .st-key-rms_mobile_alerts_header .rms-mobile-section-title { margin: 0; }
    .st-key-rms_mobile_alerts_header button[data-testid="stPopoverButton"],
    .st-key-rms_mobile_alerts_header [data-testid="stButton"] button {
      min-height: 1.72rem !important;
      height: 1.72rem !important;
      padding: .12rem .48rem !important;
      border: 1px solid var(--rmsm-border-strong, #d0d5dd) !important;
      border-radius: 7px !important;
      background: var(--rmsm-surface, #fff) !important;
      color: var(--rmsm-link, #175cd3) !important;
      -webkit-text-fill-color: var(--rmsm-link, #175cd3) !important;
      box-shadow: none !important;
      font-size: .65rem !important;
      font-weight: 680 !important;
      white-space: nowrap !important;
    }
    .rms-mobile-alert-history-kind {
      margin: .34rem 2px .22rem;
      color: var(--rmsm-muted, #667085);
      font-size: .64rem;
      font-weight: 760;
      line-height: 1.2;
      letter-spacing: .02em;
      text-transform: uppercase;
    }
    .rms-mobile-alert-history-card {
      min-width: 0;
      min-height: 38px;
      padding: .52rem .62rem;
      overflow: hidden;
      border: 1px solid var(--rmsm-border-strong, #d0d5dd);
      border-radius: 8px;
      background: var(--rmsm-surface, #fff);
      color: var(--rmsm-text, #344054);
      font-size: .72rem;
      font-weight: 650;
      line-height: 1.25;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .rms-mobile-alert-history-card.high {
      border-color: oklch(76% 0.1 25);
      background: var(--rms-tone-red-soft-bg, #fecdca);
      color: var(--rms-tone-red-soft-text, #912018);
    }
    .rms-mobile-alert-history-card.critical {
      border-color: oklch(68% 0.13 25);
      background: var(--rms-tone-red-strong-bg, #fda29b);
      color: var(--rms-tone-red-strong-text, #7a271a);
    }
    .rms-mobile-alert-history-card.medium {
      border-color: oklch(80% 0.09 95);
      background: var(--rms-tone-yellow-bg, #fef0c7);
      color: var(--rms-tone-yellow-text, #7a2e0e);
    }
    .rms-mobile-alert-history-card.info {
      border-color: oklch(80% 0.06 250);
      background: var(--rms-tone-blue-soft-bg, #d1e9ff);
      color: var(--rms-tone-blue-soft-text, #1849a9);
    }
    .rms-mobile-alert-history-meta {
      margin: .22rem 2px .5rem;
      color: var(--rmsm-muted, #667085);
      font-size: .64rem;
      line-height: 1.25;
    }
    [class*="st-key-rms_mobile_alert_history_menu_"] [data-testid="stButton"] button {
      display: grid !important;
      width: 38px !important;
      min-width: 38px !important;
      height: 38px !important;
      min-height: 38px !important;
      padding: 0 !important;
      place-items: center !important;
      border: 1px solid var(--rmsm-border-strong, #d0d5dd) !important;
      border-radius: 8px !important;
      background: var(--rmsm-surface, #fff) !important;
      color: var(--rmsm-heading, #475467) !important;
      -webkit-text-fill-color: var(--rmsm-heading, #475467) !important;
      box-shadow: 0 1px 2px rgba(16,24,40,.05) !important;
    }
    [class*="st-key-rms_mobile_alert_history_menu_"] [data-testid="stButton"] button p {
      margin: 0 !important;
      font-size: .92rem !important;
      font-weight: 800 !important;
      line-height: 1 !important;
      letter-spacing: .08em !important;
    }
    [class*="st-key-rms_mobile_alert_history_context_menu_"] {
      margin: -.16rem 0 .55rem !important;
      padding: .38rem !important;
      border: 1px solid var(--rmsm-border, #e4e7ec) !important;
      border-radius: 10px !important;
      background: var(--rmsm-subtle, #f9fafb) !important;
    }
    [class*="st-key-rms_mobile_alert_history_context_menu_"] [data-testid="stButton"] button {
      min-height: 34px !important;
      border-color: var(--rmsm-border-strong, #d0d5dd) !important;
      border-radius: 8px !important;
      background: var(--rmsm-surface, #fff) !important;
      color: var(--rmsm-heading, #475467) !important;
      -webkit-text-fill-color: var(--rmsm-heading, #475467) !important;
      box-shadow: none !important;
    }
    [class*="st-key-rms_mobile_alert_center_tabs_"] {
      width: calc(100% - .75rem) !important;
      max-width: none !important;
      margin-top: -1.45rem !important;
      margin-left: 0 !important;
    }
    [class*="st-key-rms_mobile_alert_center_tabs_"] [data-testid="stHorizontalBlock"] {
      display: grid !important;
      grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
      width: 100% !important;
      gap: 0 !important;
    }
    [class*="st-key-rms_mobile_alert_center_tabs_"] [data-testid="stColumn"] {
      width: auto !important;
      min-width: 0 !important;
      flex: none !important;
    }
    [class*="st-key-rms_mobile_alert_center_tab_"] [data-testid="stButton"] button {
      width: 100% !important;
      min-width: 0 !important;
      min-height: 32px !important;
      padding: .34rem .18rem !important;
      border-color: var(--rmsm-border-strong, #d0d5dd) !important;
      border-radius: 0 !important;
      background: var(--rmsm-surface, #fff) !important;
      color: var(--rmsm-heading, #475467) !important;
      -webkit-text-fill-color: var(--rmsm-heading, #475467) !important;
      font-family: inherit !important;
      font-size: .72rem !important;
      font-weight: 650 !important;
      line-height: 1.1 !important;
      letter-spacing: 0 !important;
      box-shadow: none !important;
    }
    [class*="st-key-rms_mobile_alert_center_tab_"] [data-testid="stButton"] button *,
    [class*="st-key-rms_mobile_alert_center_tab_"] [data-testid="stButton"] button p {
      margin: 0 !important;
      overflow: visible !important;
      color: inherit !important;
      -webkit-text-fill-color: inherit !important;
      font-family: inherit !important;
      font-size: .72rem !important;
      font-weight: 650 !important;
      line-height: 1.1 !important;
      letter-spacing: 0 !important;
      text-overflow: clip !important;
      white-space: nowrap !important;
    }
    [class*="st-key-rms_mobile_alert_center_tab_active_"] [data-testid="stButton"] button { border-radius: 8px 0 0 8px !important; }
    [class*="st-key-rms_mobile_alert_center_tab_history_"] [data-testid="stButton"] button { border-radius: 0 8px 8px 0 !important; }
    [class*="st-key-rms_mobile_alert_center_tab_"] [data-testid="stButton"] button[kind="primary"],
    [class*="st-key-rms_mobile_alert_center_tab_"] [data-testid="stButton"] button[kind="primary"]:hover:not(:disabled) {
      position: relative !important;
      z-index: 1 !important;
      border-color: #2f6df0 !important;
      border-radius: 8px !important;
      background: #2f6df0 !important;
      color: #fff !important;
      -webkit-text-fill-color: #fff !important;
    }
    [class*="st-key-rms_mobile_alert_center_tab_"] [data-testid="stButton"] button[kind="primary"] * {
      color: #fff !important;
      -webkit-text-fill-color: #fff !important;
    }
    [class*="st-key-rms_mobile_alert_center_tab_"] [data-testid="stButton"] button:focus { outline: none !important; box-shadow: none !important; }
    [class*="st-key-rms_mobile_alert_center_tab_"] [data-testid="stButton"] button:focus-visible {
      position: relative;
      z-index: 2;
      outline: 2px solid color-mix(in srgb, var(--rmsm-link, #175cd3) 32%, transparent) !important;
      outline-offset: 2px !important;
    }
    [class*="st-key-rms_mobile_alert_center_content_"] {
      max-height: calc(80dvh - 9.5rem) !important;
      margin-top: .45rem;
      padding-right: .12rem;
      overflow-x: hidden !important;
      overflow-y: auto !important;
      scrollbar-gutter: stable;
    }
    [class*="st-key-rms_mobile_alert_center_record_"] [data-testid="stButton"] button {
      width: 100% !important;
      min-height: 38px !important;
      padding: .52rem .62rem !important;
      justify-content: flex-start !important;
      overflow: hidden !important;
      border: 1px solid var(--rmsm-border-strong, #d0d5dd) !important;
      border-radius: 8px !important;
      background: var(--rmsm-surface, #fff) !important;
      color: var(--rmsm-text, #344054) !important;
      -webkit-text-fill-color: var(--rmsm-text, #344054) !important;
      box-shadow: none !important;
      text-align: left !important;
    }
    [class*="st-key-rms_mobile_alert_row_"] .stButton > div:has(> .stTooltipIcon),
    [data-testid="stDialog"]:has(.rms-mobile-alert-center-dialog-anchor) .stButton > div:has(> .stTooltipIcon) {
      display: block !important;
      visibility: visible !important;
      opacity: 1 !important;
      width: 100% !important;
      height: auto !important;
    }
    [class*="st-key-rms_mobile_alert_row_"] .stButton > div:has(> .stTooltipIcon) + div,
    [data-testid="stDialog"]:has(.rms-mobile-alert-center-dialog-anchor) .stButton > div:has(> .stTooltipIcon) + div {
      display: none !important;
    }
    [class*="st-key-rms_mobile_alert_row_"] .stTooltipIcon,
    [class*="st-key-rms_mobile_alert_row_"] [data-testid="stTooltipHoverTarget"],
    [data-testid="stDialog"]:has(.rms-mobile-alert-center-dialog-anchor) .stTooltipIcon,
    [data-testid="stDialog"]:has(.rms-mobile-alert-center-dialog-anchor) [data-testid="stTooltipHoverTarget"] {
      display: flex !important;
      visibility: visible !important;
      opacity: 1 !important;
      position: static !important;
      width: 100% !important;
      height: auto !important;
      flex: 1 1 auto !important;
      margin: 0 !important;
    }
    [class*="st-key-rms_mobile_alert_center_record_"] [data-testid="stHorizontalBlock"] {
      display: grid !important;
      grid-template-columns: minmax(0, 1fr) 38px !important;
      width: 100% !important;
      min-width: 0 !important;
      gap: .35rem !important;
      align-items: start !important;
    }
    [class*="st-key-rms_mobile_alert_center_record_"] [data-testid="stColumn"] {
      width: auto !important;
      min-width: 0 !important;
      flex: none !important;
    }
    [class*="st-key-rms_alert_tile_"]:has([class*="st-key-rms_mobile_alert_action_menu_"]) {
      position: relative !important;
      overflow: visible !important;
    }
    [class*="st-key-rms_mobile_alert_action_menu_"] {
      position: relative !important;
      z-index: 8 !important;
      box-sizing: border-box !important;
      width: 100% !important;
      margin-top: .35rem;
      padding: 6px;
      border: 1px solid var(--rmsm-border-strong, #d0d5dd);
      border-radius: 12px;
      background: var(--rmsm-surface, #fff);
      box-shadow: 0 10px 24px rgba(16, 24, 40, .20);
    }
    [class*="st-key-rms_mobile_alert_action_menu_"] > [data-testid="stVerticalBlock"] {
      gap: 4px !important;
    }
    [class*="st-key-rms_mobile_alert_action_menu_"] [data-testid="stButton"] button {
      height: 32px !important;
      min-height: 32px !important;
      max-height: 32px !important;
    }
    [class*="st-key-rms_mobile_alert_center_record_high_"] [data-testid="stButton"] button {
      border-color: oklch(76% 0.1 25) !important;
      background: var(--rms-tone-red-soft-bg, #fecdca) !important;
      color: var(--rms-tone-red-soft-text, #912018) !important;
      -webkit-text-fill-color: var(--rms-tone-red-soft-text, #912018) !important;
    }
    [class*="st-key-rms_mobile_alert_center_record_critical_"] [data-testid="stButton"] button {
      border-color: oklch(68% 0.13 25) !important;
      background: var(--rms-tone-red-strong-bg, #fda29b) !important;
      color: var(--rms-tone-red-strong-text, #7a271a) !important;
      -webkit-text-fill-color: var(--rms-tone-red-strong-text, #7a271a) !important;
    }
    [class*="st-key-rms_mobile_alert_center_record_medium_"] [data-testid="stButton"] button {
      border-color: oklch(80% 0.09 95) !important;
      background: var(--rms-tone-yellow-bg, #fef0c7) !important;
      color: var(--rms-tone-yellow-text, #7a2e0e) !important;
      -webkit-text-fill-color: var(--rms-tone-yellow-text, #7a2e0e) !important;
    }
    html:root:root body [class*="st-key-rms_alert_tile_"] [data-testid="stHorizontalBlock"] {
      display: grid !important;
      grid-template-columns: minmax(0, 1fr) 38px !important;
      width: 100% !important;
      min-width: 0 !important;
      gap: .35rem !important;
      align-items: center !important;
    }
    html:root:root body [class*="st-key-rms_alert_tile_"] [data-testid="stColumn"] {
      width: auto !important;
      min-width: 0 !important;
      flex: none !important;
    }
    html:root:root body [class*="st-key-rms_alert_tile_"] [data-testid="stButton"] button p {
      display: -webkit-box !important;
      overflow: hidden !important;
      white-space: normal !important;
      text-overflow: ellipsis !important;
      text-align: left !important;
      line-height: 1.22 !important;
      -webkit-box-orient: vertical !important;
      -webkit-line-clamp: 2 !important;
    }
    html:root:root body [class*="st-key-rms_alert_tile_high_"] [data-testid="stButton"] button {
      border-color: oklch(76% 0.1 25) !important;
      background: var(--rms-tone-red-soft-bg, #fecdca) !important;
      color: var(--rms-tone-red-soft-text, #912018) !important;
      -webkit-text-fill-color: var(--rms-tone-red-soft-text, #912018) !important;
    }
    html:root:root body [class*="st-key-rms_alert_tile_critical_"] [data-testid="stButton"] button {
      border-color: oklch(68% 0.13 25) !important;
      background: var(--rms-tone-red-strong-bg, #fda29b) !important;
      color: var(--rms-tone-red-strong-text, #7a271a) !important;
      -webkit-text-fill-color: var(--rms-tone-red-strong-text, #7a271a) !important;
    }
    html:root:root body [class*="st-key-rms_alert_tile_medium_"] [data-testid="stButton"] button {
      border-color: oklch(80% 0.09 95) !important;
      background: var(--rms-tone-yellow-bg, #fef0c7) !important;
      color: var(--rms-tone-yellow-text, #7a2e0e) !important;
      -webkit-text-fill-color: var(--rms-tone-yellow-text, #7a2e0e) !important;
    }
    html:root:root body [class*="st-key-rms_alert_tile_info_"] [data-testid="stButton"] button {
      border-color: oklch(80% 0.06 250) !important;
      background: var(--rms-tone-blue-soft-bg, #d1e9ff) !important;
      color: var(--rms-tone-blue-soft-text, #1849a9) !important;
      -webkit-text-fill-color: var(--rms-tone-blue-soft-text, #1849a9) !important;
    }
    html:root:root body [class*="st-key-rms_alert_tile_high_"] [data-testid="stButton"] button :is(p, strong),
    html:root:root body [class*="st-key-rms_alert_tile_high_"] [data-testid="stButton"] button p strong {
      color: var(--rms-tone-red-soft-text, #912018) !important;
      -webkit-text-fill-color: var(--rms-tone-red-soft-text, #912018) !important;
    }
    html:root:root body [class*="st-key-rms_alert_tile_critical_"] [data-testid="stButton"] button :is(p, strong),
    html:root:root body [class*="st-key-rms_alert_tile_critical_"] [data-testid="stButton"] button p strong {
      color: var(--rms-tone-red-strong-text, #7a271a) !important;
      -webkit-text-fill-color: var(--rms-tone-red-strong-text, #7a271a) !important;
    }
    html:root:root body [class*="st-key-rms_alert_tile_medium_"] [data-testid="stButton"] button :is(p, strong),
    html:root:root body [class*="st-key-rms_alert_tile_medium_"] [data-testid="stButton"] button p strong {
      color: var(--rms-tone-yellow-text, #7a2e0e) !important;
      -webkit-text-fill-color: var(--rms-tone-yellow-text, #7a2e0e) !important;
    }
    html:root:root body [class*="st-key-rms_alert_tile_info_"] [data-testid="stButton"] button :is(p, strong),
    html:root:root body [class*="st-key-rms_alert_tile_info_"] [data-testid="stButton"] button p strong {
      color: var(--rms-tone-blue-soft-text, #1849a9) !important;
      -webkit-text-fill-color: var(--rms-tone-blue-soft-text, #1849a9) !important;
    }
    html:root:root body [class*="st-key-rms_alert_tile_"]
    [class*="st-key-rms_mobile_alert_actions_center_"] [data-testid="stButton"] button {
      display: grid !important;
      width: 38px !important;
      min-width: 38px !important;
      height: 38px !important;
      min-height: 38px !important;
      padding: 0 !important;
      place-items: center !important;
      justify-content: center !important;
      align-items: center !important;
      border-color: var(--rmsm-border-strong, #d0d5dd) !important;
      border-radius: 8px !important;
      background: var(--rmsm-surface, #fff) !important;
      color: var(--rmsm-heading, #475467) !important;
      -webkit-text-fill-color: var(--rmsm-heading, #475467) !important;
      box-shadow: 0 1px 2px rgba(16,24,40,.05) !important;
    }
    html:root:root body [class*="st-key-rms_alert_tile_"]
    [class*="st-key-rms_mobile_alert_actions_center_"] [data-testid="stButton"] button p {
      width: 100% !important;
      margin: 0 !important;
      color: var(--rmsm-heading, #475467) !important;
      -webkit-text-fill-color: var(--rmsm-heading, #475467) !important;
      font-size: .92rem !important;
      font-weight: 800 !important;
      line-height: 1 !important;
      letter-spacing: 0 !important;
      text-align: center !important;
      -webkit-line-clamp: unset !important;
    }
    html:root:root body [class*="st-key-rms_alert_tile_"]
    [class*="st-key-rms_mobile_alert_action_menu_"] [data-testid="stButton"] button {
      border-color: var(--rmsm-border-strong, #d0d5dd) !important;
      background: var(--rmsm-surface, #fff) !important;
      color: var(--rmsm-heading, #475467) !important;
      -webkit-text-fill-color: var(--rmsm-heading, #475467) !important;
      box-shadow: 0 1px 2px rgba(16,24,40,.05) !important;
    }
    html:root:root body [class*="st-key-rms_alert_tile_"]
    [class*="st-key-rms_mobile_alert_action_menu_"] [data-testid="stButton"] button p {
      color: var(--rmsm-heading, #475467) !important;
      -webkit-text-fill-color: var(--rmsm-heading, #475467) !important;
    }
    html:root:root body [class*="st-key-rms_alert_tile_"]
    [class*="st-key-rms_mobile_alert_history_menu_"] [data-testid="stButton"] button {
      display: grid !important;
      place-items: center !important;
      justify-content: center !important;
      align-items: center !important;
      border-color: var(--rmsm-border-strong, #d0d5dd) !important;
      background: var(--rmsm-surface, #fff) !important;
      color: var(--rmsm-heading, #475467) !important;
      -webkit-text-fill-color: var(--rmsm-heading, #475467) !important;
    }
    html:root:root body [class*="st-key-rms_alert_tile_"]
    [class*="st-key-rms_mobile_alert_history_menu_"] [data-testid="stButton"] button > div {
      display: grid !important;
      width: 100% !important;
      height: 100% !important;
      place-items: center !important;
    }
    html:root:root body [class*="st-key-rms_alert_tile_"]
    [class*="st-key-rms_mobile_alert_history_menu_"] [data-testid="stButton"] button p {
      width: 100% !important;
      margin: 0 !important;
      color: var(--rmsm-heading, #475467) !important;
      -webkit-text-fill-color: var(--rmsm-heading, #475467) !important;
      line-height: 1 !important;
      letter-spacing: 0 !important;
      text-align: center !important;
    }
    @media(max-width:767px) {
      html[data-rms-mobile-theme-effective] body [data-testid="stDialog"] {
        background: rgba(15, 23, 42, .32) !important;
        backdrop-filter: blur(1px) !important;
      }
      html[data-rms-mobile-theme-effective] body [data-testid="stDialog"] > div:not([role="dialog"]) {
        background: transparent !important;
        backdrop-filter: none !important;
      }
      html[data-rms-mobile-theme-effective] body [role="dialog"] {
        background: var(--rmsm-surface, #fff) !important;
      }
      [role="dialog"]:has(.rms-mobile-alert-center-dialog-anchor) {
        box-sizing: border-box !important;
        width: calc(100vw - 24px) !important;
        min-width: 0 !important;
        max-width: calc(100vw - 24px) !important;
        max-height: 80dvh !important;
        margin: auto 12px 12px !important;
        overflow: hidden !important;
        border-radius: 16px 16px 10px 10px !important;
      }
      [data-testid="stDialog"]:has(.rms-mobile-alert-center-dialog-anchor)
      [data-testid="stDialogContent"] {
        padding-inline: .7rem !important;
        overflow: hidden !important;
      }
      html:has([class*="st-key-rms_mobile_alert_row_"] [data-testid="stTooltipHoverTarget"]:is(:hover, :focus-within))
      [data-testid="stTooltipContent"],
      html:has(.rms-mobile-alert-center-dialog-anchor)
      [data-testid="stTooltipContent"] {
        opacity: 1 !important;
      }
    }
    [class*="st-key-rms_mobile_alert_history_row_"] {
      min-width: 0 !important;
      margin-bottom: .28rem;
    }
    [class*="st-key-rms_mobile_alert_history_row_"] [data-testid="stHorizontalBlock"] {
      display: grid !important;
      grid-template-columns: minmax(0, 1fr) 38px !important;
      width: 100% !important;
      min-width: 0 !important;
      gap: .35rem !important;
      align-items: start !important;
    }
    [class*="st-key-rms_mobile_alert_history_row_"] [data-testid="stColumn"] {
      width: auto !important;
      min-width: 0 !important;
      flex: none !important;
    }
    [class*="st-key-rms_mobile_alert_history_open_"] button {
      width: 100% !important;
      min-height: 42px !important;
      padding: .42rem .55rem !important;
      justify-content: flex-start !important;
      border: 1px solid var(--rmsm-border-strong, #d0d5dd) !important;
      border-radius: 8px !important;
      background: var(--rmsm-surface, #fff) !important;
      color: var(--rmsm-text, #344054) !important;
      -webkit-text-fill-color: var(--rmsm-text, #344054) !important;
      box-shadow: none !important;
      text-align: left !important;
    }
    [class*="st-key-rms_mobile_alert_history_open_"] button p {
      overflow: hidden !important;
      color: var(--rmsm-text, #344054) !important;
      -webkit-text-fill-color: var(--rmsm-text, #344054) !important;
      font-size: .69rem !important;
      line-height: 1.25 !important;
      text-align: left !important;
      white-space: normal !important;
    }
    [class*="st-key-rms_mobile_alert_history_row_high_"] [class*="st-key-rms_mobile_alert_history_open_"] button {
      border-color: oklch(76% 0.1 25) !important;
      background: var(--rms-tone-red-soft-bg, #fecdca) !important;
      color: var(--rms-tone-red-soft-text, #912018) !important;
      -webkit-text-fill-color: var(--rms-tone-red-soft-text, #912018) !important;
    }
    [class*="st-key-rms_mobile_alert_history_row_critical_"] [class*="st-key-rms_mobile_alert_history_open_"] button {
      border-color: oklch(68% 0.13 25) !important;
      background: var(--rms-tone-red-strong-bg, #fda29b) !important;
      color: var(--rms-tone-red-strong-text, #7a271a) !important;
      -webkit-text-fill-color: var(--rms-tone-red-strong-text, #7a271a) !important;
    }
    [class*="st-key-rms_mobile_alert_history_row_medium_"] [class*="st-key-rms_mobile_alert_history_open_"] button {
      border-color: oklch(80% 0.09 95) !important;
      background: var(--rms-tone-yellow-bg, #fef0c7) !important;
      color: var(--rms-tone-yellow-text, #7a2e0e) !important;
      -webkit-text-fill-color: var(--rms-tone-yellow-text, #7a2e0e) !important;
    }
    [class*="st-key-rms_mobile_alert_history_row_info_"] [class*="st-key-rms_mobile_alert_history_open_"] button {
      border-color: oklch(80% 0.06 250) !important;
      background: var(--rms-tone-blue-soft-bg, #d1e9ff) !important;
      color: var(--rms-tone-blue-soft-text, #1849a9) !important;
      -webkit-text-fill-color: var(--rms-tone-blue-soft-text, #1849a9) !important;
    }
    [class*="st-key-rms_mobile_alert_history_row_high_"] [class*="st-key-rms_mobile_alert_history_open_"] button p,
    [class*="st-key-rms_mobile_alert_history_row_high_"] [class*="st-key-rms_mobile_alert_history_open_"] button p strong {
      color: var(--rms-tone-red-soft-text, #912018) !important;
      -webkit-text-fill-color: var(--rms-tone-red-soft-text, #912018) !important;
    }
    [class*="st-key-rms_mobile_alert_history_row_critical_"] [class*="st-key-rms_mobile_alert_history_open_"] button p,
    [class*="st-key-rms_mobile_alert_history_row_critical_"] [class*="st-key-rms_mobile_alert_history_open_"] button p strong {
      color: var(--rms-tone-red-strong-text, #7a271a) !important;
      -webkit-text-fill-color: var(--rms-tone-red-strong-text, #7a271a) !important;
    }
    [class*="st-key-rms_mobile_alert_history_row_medium_"] [class*="st-key-rms_mobile_alert_history_open_"] button p,
    [class*="st-key-rms_mobile_alert_history_row_medium_"] [class*="st-key-rms_mobile_alert_history_open_"] button p strong {
      color: var(--rms-tone-yellow-text, #7a2e0e) !important;
      -webkit-text-fill-color: var(--rms-tone-yellow-text, #7a2e0e) !important;
    }
    [class*="st-key-rms_mobile_alert_history_row_info_"] [class*="st-key-rms_mobile_alert_history_open_"] button p,
    [class*="st-key-rms_mobile_alert_history_row_info_"] [class*="st-key-rms_mobile_alert_history_open_"] button p strong {
      color: var(--rms-tone-blue-soft-text, #1849a9) !important;
      -webkit-text-fill-color: var(--rms-tone-blue-soft-text, #1849a9) !important;
    }
    [class*="st-key-rms_mobile_alert_history_manage_"] button {
      display: grid !important;
      width: 38px !important;
      min-width: 38px !important;
      height: 38px !important;
      min-height: 38px !important;
      padding: 0 !important;
      place-items: center !important;
      border: 1px solid var(--rmsm-border-strong, #d0d5dd) !important;
      border-radius: 8px !important;
      background: var(--rmsm-surface, #fff) !important;
      color: var(--rmsm-heading, #475467) !important;
      -webkit-text-fill-color: var(--rmsm-heading, #475467) !important;
      box-shadow: none !important;
    }
    [class*="st-key-rms_mobile_alert_history_manage_"] button p {
      margin: 0 !important;
      text-align: center !important;
      font-size: .92rem !important;
      font-weight: 800 !important;
      letter-spacing: .08em !important;
      line-height: 1 !important;
    }
    [class*="st-key-rms_mobile_alert_history_manage_"] button:disabled {
      background: var(--rmsm-subtle, #f2f4f7) !important;
      border-color: var(--rmsm-border-strong, #d0d5dd) !important;
      color: var(--rmsm-muted, #98a2b3) !important;
      -webkit-text-fill-color: var(--rmsm-muted, #98a2b3) !important;
      opacity: 1 !important;
      cursor: not-allowed !important;
    }
    [class*="st-key-rms_mobile_alert_history_row_"] [data-testid="stCaptionContainer"] {
      margin: .12rem .12rem 0 !important;
    }
    .st-key-rms_mobile_alerts_card [data-testid="stExpander"] details {
      background: var(--rmsm-surface, #fff) !important;
      color: var(--rmsm-text, #344054) !important;
      border-color: var(--rmsm-border-strong, #d0d5dd) !important;
      color-scheme: var(--rmsm-color-scheme, only light) !important;
      forced-color-adjust: none !important;
    }
    .st-key-rms_mobile_alerts_card [data-testid="stExpander"] summary {
      background: var(--rmsm-surface, #fff) !important;
      color: var(--rmsm-heading, #475467) !important;
      -webkit-text-fill-color: var(--rmsm-heading, #475467) !important;
    }
    .st-key-rms_mobile_alerts_card [data-testid="stExpander"] summary {
      min-height: 32px !important;
      padding: .12rem .5rem !important;
    }
    .st-key-rms_mobile_alerts_card [data-testid="stExpander"] summary:hover {
      background: var(--rmsm-subtle, #f8fafc) !important;
    }
    .st-key-rms_mobile_alerts_card [data-testid="stExpander"] summary p {
      font-size: .72rem !important;
      line-height: 1.1 !important;
    }
    .st-key-rms_mobile_alerts_card [data-testid="stExpander"] summary p,
    .st-key-rms_mobile_alerts_card [data-testid="stExpander"] summary svg,
    .st-key-rms_mobile_alerts_card [data-testid="stExpander"] summary [data-testid="stIconMaterial"] {
      color: var(--rmsm-heading, #475467) !important;
      -webkit-text-fill-color: var(--rmsm-heading, #475467) !important;
      fill: currentColor !important;
    }
    [class*="st-key-rms_mobile_alert_row_"] {
      min-width: 0;
      border-bottom: 1px solid var(--rmsm-border, #f2f4f7);
    }
    [class*="st-key-rms_mobile_alert_row_"] [data-testid="stHorizontalBlock"] {
      display: grid !important;
      grid-template-columns: 1.1rem minmax(0, 1fr) 40px !important;
      width: 100% !important;
      min-width: 0 !important;
      align-items: center !important;
      gap: .4rem !important;
    }
    [class*="st-key-rms_mobile_alert_row_"] [data-testid="stColumn"] {
      min-width: 0 !important;
      width: auto !important;
      flex: none !important;
    }
    [class*="st-key-rms_mobile_alert_row_"] [data-testid="stColumn"]:last-child {
      width: 40px !important;
      justify-self: end !important;
      overflow: visible !important;
    }
    [class*="st-key-rms_mobile_alert_row_"] [data-testid="stButton"] button {
      min-height: 44px !important;
      padding: .3rem .18rem !important;
      border: 0 !important;
      background: transparent !important;
      color: var(--rmsm-heading, #475467) !important;
      -webkit-text-fill-color: var(--rmsm-heading, #475467) !important;
      box-shadow: none !important;
      appearance: none !important;
      -webkit-appearance: none !important;
      color-scheme: var(--rmsm-color-scheme, only light) !important;
      forced-color-adjust: none !important;
      justify-content: flex-start !important;
    }
    [class*="st-key-rms_mobile_alert_row_"] [data-testid="stButton"] button p {
      min-width: 0 !important;
      overflow: hidden !important;
      text-align: left !important;
      text-overflow: ellipsis !important;
      white-space: normal !important;
      font-size: .68rem !important;
      font-weight: 570 !important;
      line-height: 1.22 !important;
      display: -webkit-box !important;
      -webkit-box-orient: vertical !important;
      -webkit-line-clamp: 2 !important;
    }
    [class*="st-key-rms_mobile_alert_row_"] [data-testid="stButton"] button strong {
      color: var(--rmsm-text, #344054) !important;
      -webkit-text-fill-color: var(--rmsm-text, #344054) !important;
      font-size: .63rem !important;
      font-weight: 740 !important;
    }
    [class*="st-key-rms_mobile_alert_row_"][class*="_read_"] {
      opacity: .82;
    }
    [class*="st-key-rms_mobile_alert_row_high_"] .rms-mobile-alert-marker,
    [class*="st-key-rms_mobile_alert_row_critical_"] .rms-mobile-alert-marker {
      background: #fee4e2;
      color: #b42318;
    }
    [class*="st-key-rms_mobile_alert_row_info_"] .rms-mobile-alert-marker {
      background: #d1e9ff;
      color: #175cd3;
    }
    [class*="st-key-rms_mobile_alert_actions_"] [data-testid="stPopover"] button[data-testid="stPopoverButton"] {
      position: relative !important;
      display: grid !important;
      width: 40px !important;
      min-width: 40px !important;
      height: 40px !important;
      min-height: 40px !important;
      padding: 0 !important;
      place-items: center !important;
      border: 1px solid var(--rmsm-border-strong, #d0d5dd) !important;
      border-radius: 8px !important;
      background: var(--rmsm-surface, #fff) !important;
      color: var(--rmsm-heading, #475467) !important;
      -webkit-text-fill-color: var(--rmsm-heading, #475467) !important;
      box-shadow: none !important;
      appearance: none !important;
      -webkit-appearance: none !important;
      color-scheme: var(--rmsm-color-scheme, only light) !important;
      forced-color-adjust: none !important;
      justify-content: center !important;
    }
    [class*="st-key-rms_mobile_alert_actions_"] [data-testid="stPopover"] button[data-testid="stPopoverButton"] > div {
      display: grid !important;
      width: 100% !important;
      height: 100% !important;
      place-items: center !important;
    }
    [class*="st-key-rms_mobile_alert_actions_"] [data-testid="stPopover"] button[data-testid="stPopoverButton"] p {
      overflow: visible !important;
      text-align: center !important;
      font-size: 1rem !important;
      font-weight: 760 !important;
      position: absolute !important;
      inset: 0 !important;
      display: grid !important;
      place-items: center !important;
      line-height: 1 !important;
      margin: 0 !important;
      -webkit-line-clamp: unset !important;
    }
    [class*="st-key-rms_mobile_alert_actions_"] button[data-testid="stPopoverButton"] > div > :last-child:not(:first-child) {
      display: none !important;
    }
    .rms-mobile-event-row {
      display: grid;
      grid-template-columns: auto minmax(0, 1fr);
      min-width: 0;
      gap: .4rem;
      padding: .19rem .1rem;
      color: var(--rmsm-heading, #475467);
      font-size: .68rem;
      line-height: 1.2;
    }
    .rms-mobile-event-period { color: var(--rmsm-text, #344054); font-weight: 740; white-space: nowrap; }
    .rms-mobile-event-name {
      min-width: 0;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .rms-mobile-more { margin-top: .16rem; }
    .rms-mobile-more > summary {
      width: fit-content;
      margin-left: auto;
      color: #175cd3;
      cursor: pointer;
      font-size: .66rem;
      font-weight: 680;
      list-style: none;
    }
    .rms-mobile-more > summary::-webkit-details-marker { display: none; }
    .rms-mobile-more[open] > summary { margin-bottom: .2rem; }
    [data-testid="stBottom"] {
      border-top: 1px solid var(--rmsm-border-strong, #d0d5dd) !important;
      background: var(--rmsm-surface, #fff) !important;
      backdrop-filter: blur(10px);
    }
    [data-testid="stBottom"] > div,
    [data-testid="stBottomBlockContainer"] {
      background: var(--rmsm-surface, #fff) !important;
    }
    [data-testid="stBottomBlockContainer"] {
      width: 100% !important;
      max-width: 100% !important;
      margin: 0 !important;
      padding: .3rem .65rem calc(.3rem + env(safe-area-inset-bottom)) !important;
    }
    [data-testid="stBottom"] [data-testid="stHorizontalBlock"] {
      display: grid !important;
      grid-template-columns: minmax(0, 1fr) !important;
      gap: 0 !important;
      align-items: center !important;
    }
    [data-testid="stBottom"] [data-testid="stColumn"] {
      width: auto !important;
      min-width: 0 !important;
      flex: initial !important;
    }
    [data-testid="stVerticalBlockBorderWrapper"]:has(.rms-mobile-header-anchor) {
      padding: 0;
      border-bottom: 1px solid var(--rmsm-border, #e4e7ec);
      background: var(--rmsm-surface, #fff);
    }
    .st-key-rms_mobile_header {
      box-sizing: border-box;
      width: 100%;
      gap: 0 !important;
      padding: 0 .72rem .44rem;
      background: var(--rmsm-surface, #fff);
    }
    .st-key-rms_mobile_header
      > [data-testid="stElementContainer"]:has(.rms-mobile-header-anchor) {
      position: absolute !important;
    }
    .st-key-rms_mobile_daily_matrix {
      border-left: 3px solid #7f56d9 !important;
    }
    .st-key-rms_mobile_comparative_card {
      border-left: 3px solid var(--rms-section-comparative, #0ba5ec) !important;
    }
    .st-key-rms_mobile_sales_card {
      border-left: 3px solid var(--rms-section-sales, #6172f3) !important;
    }
    .st-key-rms_mobile_room_matrix {
      border-left: 3px solid var(--rms-section-rooms, #0e9384) !important;
    }
    .st-key-rms_mobile_daily_matrix,
    .st-key-rms_mobile_comparative_card,
    .st-key-rms_mobile_sales_card,
    .st-key-rms_mobile_room_matrix {
      box-sizing: border-box;
      width: calc(100% - 1.44rem) !important;
      flex: 0 0 calc(100% - 1.44rem) !important;
      min-width: 0;
      margin: 0 .72rem;
      overflow: hidden;
      border: 1px solid var(--rmsm-card-border, #dfe3e8);
      border-radius: 13px;
      background: var(--rmsm-card, #fff);
      box-shadow: 0 3px 10px rgba(16, 24, 40, .11);
    }
    .st-key-rms_mobile_daily_matrix > [data-testid="stVerticalBlockBorderWrapper"],
    .st-key-rms_mobile_comparative_card > [data-testid="stVerticalBlockBorderWrapper"],
    .st-key-rms_mobile_sales_card > [data-testid="stVerticalBlockBorderWrapper"],
    .st-key-rms_mobile_room_matrix > [data-testid="stVerticalBlockBorderWrapper"] {
      border: 0 !important;
      border-radius: inherit !important;
      background: transparent !important;
    }
    .st-key-rms_mobile_daily_matrix [data-testid="stElementContainer"],
    .st-key-rms_mobile_comparative_card [data-testid="stElementContainer"],
    .st-key-rms_mobile_sales_card [data-testid="stElementContainer"],
    .st-key-rms_mobile_room_matrix [data-testid="stElementContainer"] {
      min-width: 0;
    }
    [data-testid="stVerticalBlockBorderWrapper"]:has(.rms-mobile-header-anchor)
      [data-baseweb="select"] > div {
      min-height: 1.95rem;
      padding-left: 0;
      border: 0;
      background: transparent;
      box-shadow: none;
      font-size: .86rem;
      font-weight: 740;
      color: var(--rmsm-header-text, #101828);
      -webkit-text-fill-color: var(--rmsm-header-text, #101828);
    }
    [data-testid="stVerticalBlockBorderWrapper"]:has(.rms-mobile-header-anchor)
      [data-baseweb="select"] [role="combobox"] {
      min-width: 0;
      color: var(--rmsm-header-text, #101828);
      -webkit-text-fill-color: var(--rmsm-header-text, #101828);
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .st-key-rms_mobile_header .stSelectbox [role="group"] {
      min-height: 1.95rem;
      border-color: var(--rmsm-border, #e4e7ec);
      background: var(--rmsm-surface, #fff);
      color: var(--rmsm-header-text, #101828);
    }
    .st-key-rms_mobile_header .stSelectbox [role="combobox"] {
      color: var(--rmsm-header-text, #101828);
      -webkit-text-fill-color: var(--rmsm-header-text, #101828);
    }
    .st-key-rms_mobile_header .st-key-rms_sidebar_hotel [data-testid="stMenuButtonButton"] {
      display: flex !important;
      align-items: center !important;
      flex-wrap: nowrap !important;
      width: 100% !important;
      min-width: 0 !important;
      height: 36px !important;
      min-height: 36px !important;
      max-height: 36px !important;
      padding: 0 .5rem !important;
      overflow: hidden !important;
      appearance: none !important;
      -webkit-appearance: none !important;
      forced-color-adjust: none !important;
      position: relative !important;
      top: .26rem !important;
      transform: none !important;
    }
    .st-key-rms_mobile_header .st-key-rms_sidebar_hotel [data-testid="stMenuButtonButton"] > div {
      min-width: 0 !important;
      overflow: hidden !important;
      flex-wrap: nowrap !important;
    }
    .st-key-rms_mobile_header .st-key-rms_sidebar_hotel [data-testid="stMenuButtonButton"] p {
      display: block !important;
      min-width: 0 !important;
      max-width: 100% !important;
      margin: 0 !important;
      overflow: hidden !important;
      color: var(--rmsm-header-text, #101828) !important;
      -webkit-text-fill-color: var(--rmsm-header-text, #101828) !important;
      font-size: .86rem !important;
      line-height: 1.15 !important;
      text-overflow: ellipsis !important;
      white-space: nowrap !important;
      word-break: normal !important;
      overflow-wrap: normal !important;
    }
    .st-key-rms_mobile_header .st-key-rms_sidebar_hotel [data-testid="stIconMaterial"],
    .st-key-rms_mobile_header .st-key-rms_sidebar_hotel [data-testid="stMenuButtonButton"] svg {
      flex: 0 0 auto !important;
    }
    .st-key-rms_mobile_batch_picker {
      width: 100%;
      min-width: 0;
    }
    .st-key-rms_mobile_batch_picker [data-testid="stPopover"] button,
    .st-key-rms_mobile_batch_picker > div > button {
      width: 100%;
      min-width: 4.25rem;
      height: 36px;
      min-height: 36px;
      max-height: 36px;
      padding: 0 .5rem;
      border: 1px solid var(--rmsm-border-strong, #d0d5dd);
      border-radius: 8px;
      background: var(--rmsm-surface, #fff);
      color: var(--rmsm-header-text, #101828);
      font-size: .86rem;
      font-weight: 760;
      line-height: 1;
      white-space: nowrap;
    }
    .st-key-rms_mobile_batch_picker button p {
      width: max-content !important;
      min-width: max-content !important;
      margin: 0 !important;
      white-space: nowrap !important;
      word-break: normal !important;
      overflow-wrap: normal !important;
      color: var(--rmsm-header-text, #101828) !important;
      font-size: .9rem !important;
      font-weight: 760 !important;
    }
    .st-key-rms_mobile_header [data-testid="stHorizontalBlock"] {
      display: grid !important;
      grid-template-columns: 36px minmax(0, 1fr) 4.75rem 36px !important;
      gap: .35rem !important;
      align-items: center !important;
    }
    .st-key-rms_mobile_header:has(.rms-mobile-header--compact)
      [data-testid="stHorizontalBlock"] {
      grid-template-columns: 36px minmax(0, 1fr) 36px !important;
    }
    .st-key-rms_mobile_header [data-testid="stHorizontalBlock"] > [data-testid="stColumn"] {
      width: auto !important;
      min-width: 0 !important;
      flex: initial !important;
    }
    .st-key-rms_mobile_header .st-key-rms_sidebar_account [data-testid="stPopover"] button {
      position: relative !important;
      width: 36px !important;
      min-width: 36px !important;
      height: 36px !important;
      min-height: 36px !important;
      padding: 0 !important;
      display: inline-flex !important;
      align-items: center !important;
      justify-content: center !important;
      gap: 0 !important;
      overflow: hidden !important;
      forced-color-adjust: none !important;
      border: 1px solid var(--rmsm-border-strong, #d0d5dd) !important;
      border-radius: 8px !important;
      background: var(--rmsm-surface, #fff) !important;
      color: var(--rmsm-heading, #475467) !important;
      -webkit-text-fill-color: var(--rmsm-heading, #475467) !important;
      box-shadow: none !important;
      appearance: none !important;
      -webkit-appearance: none !important;
      color-scheme: var(--rmsm-color-scheme, only light) !important;
      position: relative !important;
      top: .26rem !important;
      transform: none !important;
    }
    .st-key-rms_mobile_header .st-key-rms_sidebar_account [data-testid="stPopover"] button p {
      display: none !important;
    }
    .st-key-rms_mobile_header .st-key-rms_sidebar_account [data-testid="stPopover"] button > div {
      display: grid !important;
      width: 100% !important;
      height: 100% !important;
      place-items: center !important;
      gap: 0 !important;
    }
    .st-key-rms_mobile_header .st-key-rms_sidebar_account [data-testid="stPopover"] button:hover {
      background: var(--rmsm-subtle, #f8fafc) !important;
    }
    .st-key-rms_mobile_header .st-key-rms_sidebar_account [data-testid="stIconMaterial"],
    .st-key-rms_mobile_header .st-key-rms_sidebar_account [data-testid="stPopover"] button svg {
      color: var(--rmsm-heading, #475467) !important;
      -webkit-text-fill-color: var(--rmsm-heading, #475467) !important;
      fill: currentColor !important;
      opacity: 1 !important;
    }
    .st-key-rms_mobile_header .st-key-rms_sidebar_account [data-testid="stPopoverButton"] > div > :last-child:not(:first-child) {
      display: none !important;
    }
    .st-key-rms_mobile_header .st-key-rms_sidebar_account [data-testid="stIconMaterial"] {
      position: absolute !important;
      inset: 50% auto auto 50% !important;
      width: 20px !important;
      height: 20px !important;
      margin: 0 !important;
      font-size: 20px !important;
      line-height: 20px !important;
      transform: translate(-50%, -50%) !important;
    }
    @media (max-width: 340px) {
      .rms-mobile-kpi-carousel { grid-auto-columns: calc((100% - .4rem) / 2.35); }
      .rms-mobile-kpi-card { min-height: 6.2rem; padding-inline: .52rem; }
    }
    
    
}
#mobile-dashboard{display:none}
#mobile-shell{display:none}
@media(max-width:767px){
 html,body{margin:0!important;padding:0!important;background:var(--rmsm-page,#f1f4f7)!important;color-scheme:var(--rmsm-color-scheme,only light);forced-color-adjust:none}
 body:has(#mobile-dashboard:not([hidden]))>main,body:has(#mobile-dashboard:not([hidden]))>#sidebar{display:none!important}
 #mobile-dashboard:not([hidden]){display:block;padding:50px 0 78px;min-width:0;width:100%;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Inter,Arial,sans-serif;color:var(--rmsm-text,#344054)}
 #mobile-dashboard *{box-sizing:border-box}
 #mobile-header{display:grid;grid-template-columns:36px minmax(0,1fr) 76px 36px;gap:6px;padding:4px 12px 10px;background:var(--rmsm-surface,#fff);height:50px;align-items:start}
 #mobile-header button,#mobile-hotel{height:36px;min-height:36px;min-width:0;border:1px solid var(--rmsm-border-strong,#d0d5dd);border-radius:9px;background:var(--rmsm-surface,#fff);color:var(--rmsm-header-text,#101828);box-shadow:0 1px 3px #10182814}
 #mobile-account{padding:0;width:36px;font-size:23px;font-weight:500;color:var(--rmsm-heading,#475467)!important}
 #mobile-hotel-wrap{position:relative;min-width:0}#mobile-hotel-wrap>.material-icon{position:absolute;left:28px;top:10px;font-size:15px;pointer-events:none;color:var(--rmsm-header-text,#101828)}
 #mobile-hotel{width:100%;font:500 12px -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;padding:0 22px 0 49px;text-overflow:ellipsis;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23344054' stroke-width='1.5'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 22px center}
 #mobile-kpi{padding-top:11px;margin-bottom:13.8px}
 .mobile-context,.mobile-component{width:calc(100% - 1.44rem)!important;position:relative;min-width:0;margin:0 .72rem 13.8px;border:1px solid var(--rmsm-card-border,#dfe3e8);border-left:3px solid var(--mobile-accent);border-radius:13px;background:var(--rmsm-card,#fff);box-shadow:0 3px 10px #1018281c;overflow:visible}
 .mobile-context{padding:0 .75rem}.mobile-context-heading{display:flex;align-items:center;justify-content:space-between;min-height:44px;gap:8px}.mobile-context h2{gap:0;margin:0;letter-spacing:0;font-size:11px;font-weight:700;color:var(--rmsm-header-text,#101828)}
 .mobile-context button{font:400 12px -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;padding:4px 8px;min-height:27px;border:1px solid var(--rmsm-border-strong,#d0d5dd);border-radius:9px;background:var(--rmsm-surface,#fff);color:#2f6df0;box-shadow:0 1px 3px #10182814}
 .mobile-context-content{font-size:11px;color:var(--rmsm-muted,#667085);margin-top:0;padding-bottom:10px}.mobile-context-content p{margin:0;line-height:1.45}.mobile-alerts{--mobile-accent:#f79009}.mobile-notifications{--mobile-accent:#2f6df0}.mobile-events{--mobile-accent:#079455}
 .mobile-notifications h2::before{display:none}.mobile-notifications h2>.material-icon{width:22px;height:22px;border-radius:6px;margin-right:8px;display:grid;place-items:center;font-size:17px;background:#2f6df0;color:var(--rmsm-header-text,#101828);box-shadow:0 2px 5px #2f6df048}
 .mobile-card-hitbox{position:absolute;inset:0;opacity:0!important;width:100%;height:100%}
 .mobile-daily{--mobile-accent:#7f56d9;padding:0}.mobile-analysis{--mobile-accent:#0ba5ec}.mobile-sales{--mobile-accent:#6172f3}.mobile-rooms{--mobile-accent:#0e9384;padding:0}
 #mobile-navigation{position:fixed;bottom:0;left:0;width:100%;z-index:9999;background:var(--rmsm-surface,#fff);padding:.3rem .65rem calc(.3rem + env(safe-area-inset-bottom))}
 #mobile-account-dialog{width:calc(100% - 24px);max-height:75vh;overflow:auto;border:1px solid var(--rmsm-border-strong);border-radius:13px;background:var(--rmsm-surface);color:var(--rmsm-text);padding:20px}#mobile-account-dialog::backdrop{background:#10182855}.mobile-close{float:right}
 #mobile-dashboard button,#mobile-dashboard select,dialog,dialog input,dialog select,dialog button{forced-color-adjust:none;color-scheme:var(--rmsm-color-scheme,only light)}
 #details-dialog{max-width:calc(100vw - 24px);max-height:85dvh;background:var(--rmsm-surface,#fff);color:var(--rmsm-text,#344054)}
 #details-dialog button,#details-dialog input,#details-dialog select{background:var(--rmsm-surface,#fff);color:var(--rmsm-text,#344054);border-color:var(--rmsm-border-strong,#d0d5dd)}
}

@media(max-width:767px){
 .context-controls-dialog{inset:auto 0 0!important;width:100%!important;max-width:none;max-height:86dvh!important;margin:0;padding:0;border:1px solid var(--rmsm-border-strong);border-width:1px 0 0;border-radius:18px 18px 0 0;background:var(--rmsm-surface);color:var(--rmsm-text);box-shadow:0 -12px 34px #1018282e;color-scheme:var(--rmsm-color-scheme,only light);forced-color-adjust:none}
 .context-controls-dialog::backdrop{background:#10182855}
 .context-panel-header{position:sticky;top:0;z-index:4;min-height:58px;padding:10px 12px;background:var(--rmsm-surface)}
 .context-panel-header::before{content:'';position:absolute;left:calc(50% - 20px);top:5px;width:40px;height:4px;border-radius:3px;background:var(--rmsm-border-strong)}
 .context-panel-icon{width:32px;height:32px;flex-basis:32px;margin-top:3px}
 .context-panel-heading{gap:6px}
 .context-controls-dialog .context-panel-heading h2{font-size:15px}
 .context-panel-header-actions{gap:2px}
 .context-panel-header-actions .button-primary{max-width:125px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .context-panel-header-actions .button-link{display:none}
 .context-panel-body{max-height:calc(86dvh - 72px);padding:0 12px calc(14px + env(safe-area-inset-bottom))}
 .context-actions{margin:0 -12px 2px;padding:0 12px;gap:15px}
 .context-panel-row{grid-template-columns:50px minmax(0,1fr) auto;gap:9px;min-height:72px;padding:10px 0}
 .context-date-chip{width:48px;min-height:50px}
 .context-date-chip strong{font-size:15px}
 .context-row-content>strong{font-size:12.5px}
 .context-row-content>p{-webkit-line-clamp:2;font-size:11.5px;line-height:16px}
 .context-row-actions>.button-link{display:none}
 .context-action-popover{max-width:calc(100vw - 20px)}
 .mobile-context[data-mobile-context]{cursor:pointer}.mobile-context[data-mobile-context]:focus-visible{outline:2px solid #316bf4;outline-offset:2px}.mobile-context[data-mobile-context] .mobile-context-heading{grid-template-columns:minmax(0,1fr)}
 .context-settings-grid,.context-switches{grid-template-columns:1fr}
 .context-form-actions{position:sticky;bottom:0;padding-bottom:calc(4px + env(safe-area-inset-bottom));background:var(--rmsm-surface)}
 .context-controls-dialog h2,.context-controls-dialog p,.context-controls-dialog label{color:var(--rmsm-text)}
 .context-controls-dialog button,.context-controls-dialog select,.context-controls-dialog input{background:var(--rmsm-surface);color:var(--rmsm-text);border-color:var(--rmsm-border-strong);color-scheme:var(--rmsm-color-scheme,only light);forced-color-adjust:none}
 .context-controls-dialog .button-primary{background:#2f6df0;color:#fff;border-color:#2f6df0}
 .context-controls-dialog .context-panel-icon{color:#e47700}
 .context-controls-dialog[data-kind=notifications] .context-panel-icon{color:#2168e9}
 .context-controls-dialog[data-kind=events] .context-panel-icon{color:#087a5b}
}

@media(max-width:767px){
 #mobile-shell{display:block}#mobile-shell *{box-sizing:border-box}
 #mobile-header{position:absolute;top:0;left:0;width:100%;z-index:10001}
 body[data-module-route] #mobile-header{position:fixed;transform:translateY(calc(-1px * var(--mobile-header-scroll,0)));}
 body[data-module-route] #module-host{margin-top:calc(50px - 1px * var(--mobile-header-scroll,0));height:calc(100dvh - 50px + 1px * var(--mobile-header-scroll,0))!important;}
 body[data-module-route] #mobile-navigation{display:none}
 body[data-module-route][data-mobile-fallback-nav] #mobile-navigation{display:block}
 body[data-module-route][data-mobile-fallback-nav] #module-host{height:calc(100dvh - 50px + 1px * var(--mobile-header-scroll,0) - 54px - env(safe-area-inset-bottom))!important}
 #add-note-floating{bottom:calc(66px + env(safe-area-inset-bottom))!important}
 #mobile-navigation{z-index:10002}
 #mobile-account-dialog{inset:70px 12px auto;margin:0;width:calc(100% - 24px)}
}

@media(max-width:767px){.context-controls-dialog{bottom:calc(54px + env(safe-area-inset-bottom))!important;max-height:calc(100dvh - 110px)!important}.context-panel-body{max-height:calc(100dvh - 185px)}}

/* Keep error recovery above month navigation and the note action. */
@media(max-width:767px){#notice-error{bottom:calc(120px + env(safe-area-inset-bottom));max-height:calc(100dvh - 190px - env(safe-area-inset-bottom));overflow-y:auto}}

@media(max-width:380px){.mobile-context{padding-inline:.5rem}}
@media(max-width:340px){.mobile-context{padding-inline:.62rem}}
