:root {
  --ink: #172033;
  --muted: #64748b;
  --soft: #f5f8fb;
  --line: rgba(15, 23, 42, 0.1);
  --surface: #ffffff;
  --primary: #0f9f7a;
  --primary-dark: #08745c;
  --blue: #2563eb;
  --amber: #d97706;
  --danger: #dc2626;
  --shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
}

@media (max-width: 860px) {
  .admin-layout .lobby-header {
    position: sticky;
    top: 0;
    z-index: 70;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 64px;
    padding: 10px 12px 10px 54px;
  }

  .admin-layout .header-left {
    position: static;
    flex: 0 0 0;
    width: 0;
    min-width: 0;
    height: 0;
    overflow: visible;
  }

  .admin-layout .admin-mobile-menu {
    position: fixed;
    top: 72px;
    left: 0;
    z-index: 90;
    display: block;
    width: 0;
    height: 0;
  }

  .admin-layout .admin-mobile-menu summary {
    position: fixed;
    top: 82px;
    left: -2px;
    z-index: 94;
    width: 38px;
    height: 64px;
    color: #fff;
    background: linear-gradient(135deg, #064e3b, #0f9f7a);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-left: 0;
    border-radius: 0 18px 18px 0;
    box-shadow: 0 16px 38px rgba(6, 78, 59, 0.28);
    transform: translateX(0);
    transition:
      left 260ms cubic-bezier(.2, .8, .2, 1),
      width 260ms cubic-bezier(.2, .8, .2, 1),
      border-radius 260ms ease,
      background 180ms ease,
      box-shadow 180ms ease;
  }

  .admin-layout .admin-mobile-menu summary::after {
    position: absolute;
    right: 5px;
    color: rgba(255, 255, 255, 0.96);
    content: "›";
    font-size: 24px;
    font-weight: 1000;
    line-height: 1;
    transform: translateY(-1px);
  }

  .admin-layout .admin-mobile-menu summary .app-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    opacity: 0.92;
  }

  .admin-layout .admin-mobile-menu[open] summary {
    left: min(82vw, 318px);
    width: 42px;
    height: 54px;
    background: #064e3b;
    border-radius: 0 15px 15px 0;
    box-shadow: 0 14px 34px rgba(6, 78, 59, 0.34);
  }

  .admin-layout .admin-mobile-menu[open] summary::after {
    content: "‹";
    right: 7px;
  }

  .admin-layout .admin-mobile-menu[open] summary .app-icon {
    display: none;
  }

  .admin-layout .admin-mobile-menu::before {
    position: fixed;
    inset: 64px 0 0;
    z-index: 91;
    display: block;
    content: "";
    background: rgba(15, 23, 42, 0);
    opacity: 0;
    pointer-events: none;
    transition: opacity 260ms ease, background 260ms ease;
  }

  .admin-layout .admin-mobile-menu[open]::before {
    background: rgba(15, 23, 42, 0.36);
    opacity: 1;
    pointer-events: auto;
  }

  .admin-layout .admin-mobile-menu .menu-panel {
    position: fixed;
    top: 64px;
    bottom: 0;
    left: 0;
    z-index: 92;
    display: grid;
    align-content: start;
    width: min(82vw, 320px);
    min-width: 0;
    padding: 18px 12px max(18px, env(safe-area-inset-bottom));
    overflow-y: auto;
    color: #0f172a;
    background:
      linear-gradient(145deg, rgba(236, 253, 245, 0.98), rgba(239, 246, 255, 0.98)),
      #fff;
    border: 0;
    border-right: 1px solid rgba(15, 159, 122, 0.18);
    border-radius: 0 24px 0 0;
    box-shadow: 26px 0 70px rgba(15, 23, 42, 0.28);
    transform: translateX(-104%);
    transition: transform 300ms cubic-bezier(.2, .8, .2, 1);
  }

  .admin-layout .admin-mobile-menu[open] .menu-panel {
    transform: translateX(0);
  }

  .admin-layout .admin-mobile-menu .menu-panel::before {
    display: block;
    position: static;
    margin: 0 0 12px;
    padding: 0 4px;
    color: #064e3b;
    content: "MUNDO";
    font-size: 20px;
    font-weight: 1000;
    letter-spacing: 0;
  }

  .admin-layout .admin-mobile-menu .mobile-menu-account {
    display: grid;
    gap: 10px;
    margin-bottom: 10px;
    padding: 12px;
    color: #0f172a;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(15, 159, 122, 0.16);
    border-radius: 16px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
  }

  .admin-layout .admin-mobile-menu .menu-panel a {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 48px;
    margin-top: 6px;
    padding: 0 14px;
    color: #1e293b;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: 14px;
    font-size: 15px;
    font-weight: 950;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05);
  }

  .admin-layout .admin-mobile-menu .menu-panel a.active {
    color: #fff;
    background: linear-gradient(135deg, #0f9f7a, #2563eb);
    border-color: transparent;
    box-shadow: 0 16px 34px rgba(15, 159, 122, 0.24);
  }

  .admin-layout .mobile-menu-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .admin-layout .admin-mobile-menu .mobile-menu-actions .notification-toggle,
  .admin-layout .admin-mobile-menu .mobile-menu-actions .logout-link {
    justify-content: center;
    min-height: 40px;
    padding: 0 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 1000;
  }

  .admin-layout .admin-mobile-menu .mobile-menu-actions .logout-link {
    color: #0f172a;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.1);
  }

  .admin-layout .lobby-header > .user-pill {
    margin-left: 0;
    color: #fff;
  }
}

@media (min-width: 861px) {
  body.admin-layout .prometi-header-row .header-year-picker {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: 1fr 1fr !important;
    gap: 7px !important;
    align-items: stretch !important;
    width: min(230px, 100%) !important;
    height: 112px !important;
    min-height: 112px !important;
  }

  body.admin-layout .prometi-header-row .header-year-picker:not(:has(.header-vat-remaining)) {
    grid-template-rows: 1fr !important;
  }

  body.admin-layout .prometi-header-row .year-picker-control,
  body.admin-layout .prometi-header-row .header-vat-remaining {
    min-height: 0 !important;
    height: auto !important;
    border-radius: 12px !important;
  }

  body.admin-layout .prometi-header-row .year-picker-control {
    background:
      linear-gradient(135deg, rgba(15, 159, 122, 0.98), rgba(12, 148, 112, 0.98)),
      #0f9f7a !important;
  }

  body.admin-layout .prometi-header-row .header-vat-remaining {
    display: grid !important;
    align-content: center !important;
    justify-items: center !important;
    gap: 3px !important;
    padding: 8px !important;
    color: #fff !important;
    background: rgba(255, 255, 255, 0.16) !important;
    border: 1px solid rgba(255, 255, 255, 0.24) !important;
  }

  body.admin-layout .prometi-header-row .header-vat-remaining small,
  body.admin-layout .prometi-header-row .header-vat-remaining em,
  body.admin-layout .prometi-header-row .header-vat-remaining strong {
    color: #fff !important;
    text-align: center !important;
  }

  body.admin-layout .prometi-header-row .header-year-picker select {
    min-height: 0 !important;
    height: 100% !important;
    font-size: 16px !important;
  }
}

.excel-row .status-cell.status-deposit {
  color: #4338ca !important;
  background: #ede9fe !important;
}

.excel-row .status-cell.status-deposit .web-deposit-pill {
  color: #064e3b !important;
  background: #dcfce7 !important;
}

@media (max-width: 860px) {
  .turnover-modal-backdrop:has(.seller-form-modal) {
    padding: 0 !important;
    overflow: hidden !important;
  }

  .turnover-edit-modal.seller-form-modal {
    box-sizing: border-box !important;
    gap: 6px !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    overflow: hidden !important;
    border-radius: 0 !important;
  }

  .turnover-edit-modal.seller-form-modal .modal-seller-head {
    padding: 7px 9px !important;
    border-radius: 0 !important;
  }

  .turnover-edit-modal.seller-form-modal .seller-summary-icon {
    width: 32px !important;
    height: 32px !important;
    flex-basis: 32px !important;
  }

  .turnover-edit-modal.seller-form-modal .seller-summary-head h1 {
    font-size: 18px !important;
  }

  .turnover-edit-modal.seller-form-modal .modal-live-total strong {
    font-size: 14px !important;
  }

  .turnover-edit-modal.seller-form-modal .close-section {
    gap: 6px !important;
    margin-inline: 7px !important;
    padding: 7px !important;
  }

  .turnover-edit-modal.seller-form-modal .wide-field,
  .turnover-edit-modal.seller-form-modal .form-actions-row {
    margin-inline: 7px !important;
  }

  .turnover-edit-modal.seller-form-modal .two-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .turnover-edit-modal.seller-form-modal .shift-close-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px !important;
  }

  .turnover-edit-modal.seller-form-modal .shift-close-grid fieldset {
    grid-template-columns: 1fr !important;
    gap: 5px !important;
    padding: 7px !important;
  }

  .turnover-edit-modal.seller-form-modal .close-section-title {
    gap: 6px !important;
  }

  .turnover-edit-modal.seller-form-modal .close-section-title strong {
    font-size: 12px !important;
  }

  .turnover-edit-modal.seller-form-modal .close-section-title p,
  .turnover-edit-modal.seller-form-modal .shift-close-grid legend,
  .turnover-edit-modal.seller-form-modal .close-field-grid label,
  .turnover-edit-modal.seller-form-modal .shift-close-grid label,
  .turnover-edit-modal.seller-form-modal .wide-field {
    font-size: 9px !important;
  }

  .turnover-edit-modal.seller-form-modal .money-field {
    min-height: 33px !important;
    border-radius: 10px !important;
  }

  .turnover-edit-modal.seller-form-modal .money-field input {
    min-height: 31px !important;
    font-size: 14px !important;
  }

  .turnover-edit-modal.seller-form-modal .wide-field textarea {
    min-height: 38px !important;
    max-height: 38px !important;
    padding: 7px 9px !important;
    font-size: 12px !important;
  }

  .turnover-edit-modal.seller-form-modal .form-actions-row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px !important;
    margin-bottom: 7px !important;
  }

  .turnover-edit-modal.seller-form-modal .secondary-action,
  .turnover-edit-modal.seller-form-modal .primary-action {
    min-height: 38px !important;
    padding-inline: 6px !important;
    font-size: 10px !important;
  }
}

/* mobile prometi side final override */
@media (max-width: 860px) {
  .admin-layout .lobby-header {
    position: sticky;
    top: 0;
    z-index: 80;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
    padding: 10px 12px;
  }

  .admin-layout .header-left,
  .admin-layout .admin-mobile-menu {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    height: auto;
    overflow: visible;
  }

  .admin-layout .admin-mobile-menu summary,
  .admin-layout .admin-mobile-menu[open] summary {
    position: relative;
    top: auto;
    left: auto;
    width: 42px;
    height: 42px;
    margin: 0;
    border-radius: 13px;
    transform: none;
  }

  .admin-layout .admin-mobile-menu summary::after,
  .admin-layout .admin-mobile-menu[open] summary::after {
    display: none;
    content: none;
  }

  .admin-layout .admin-mobile-menu summary .app-icon,
  .admin-layout .admin-mobile-menu[open] summary .app-icon {
    display: block;
    width: 22px;
    height: 22px;
    margin: 0;
  }

  .admin-layout .admin-mobile-menu .menu-panel {
    position: fixed;
    top: 64px;
    bottom: auto;
    left: 0;
    z-index: 93;
    width: min(88vw, 360px);
    max-height: 292px;
    padding: 16px 12px 10px;
    overflow-y: auto;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    transform: translateX(-106%);
    transition: transform 300ms cubic-bezier(.2, .8, .2, 1);
  }

  .admin-layout .admin-mobile-menu[open] .menu-panel {
    transform: translateX(0);
  }

  .admin-layout .prometi-header-row {
    position: fixed;
    top: 64px;
    bottom: 0;
    left: 0;
    z-index: 92;
    display: grid;
    grid-template-columns: 1fr;
    align-content: start;
    width: min(88vw, 360px);
    padding: 304px 12px max(18px, env(safe-area-inset-bottom));
    overflow-y: auto;
    color: #fff;
    background:
      linear-gradient(135deg, rgba(15, 159, 122, 0.98), rgba(37, 99, 235, 0.94)),
      #0f9f7a;
    border: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0 24px 0 0;
    box-shadow: 26px 0 70px rgba(15, 23, 42, 0.28);
    transform: translateX(-106%);
    transition: transform 300ms cubic-bezier(.2, .8, .2, 1);
  }

  .admin-layout.mobile-menu-open .prometi-header-row,
  .admin-layout .lobby-header:has(.admin-mobile-menu[open]) .prometi-header-row {
    transform: translateX(0);
  }

  .admin-layout .prometi-header-row .header-year-picker,
  .admin-layout .prometi-header-row .header-right-metrics,
  .admin-layout .prometi-header-row .header-polog-card,
  .admin-layout .prometi-header-row .header-promet-total {
    justify-self: stretch;
    width: 100%;
  }

  .admin-layout .prometi-header-row .header-right-metrics {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .admin-layout .prometi-header-row .header-polog-card,
  .admin-layout .prometi-header-row .header-total-main,
  .admin-layout .prometi-header-row .header-total-split span {
    background: rgba(255, 255, 255, 0.82);
    border-color: rgba(15, 23, 42, 0.08);
  }

  .admin-layout .prometi-header-row .header-polog-card strong,
  .admin-layout .prometi-header-row .header-total-split strong {
    color: #0f172a;
  }

  .admin-layout .lobby-header > .user-pill {
    flex: 0 1 auto;
    margin-left: auto;
    color: #fff;
  }
}

@media (max-width: 860px) {
  .admin-layout .lobby-header {
    position: sticky;
    top: 0;
    z-index: 80;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
    padding: 10px 12px;
  }

  .admin-layout .header-left {
    position: relative;
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
    height: auto;
    overflow: visible;
  }

  .admin-layout .admin-mobile-menu {
    position: relative;
    top: auto;
    left: auto;
    z-index: 91;
    display: block;
    width: auto;
    height: auto;
  }

  .admin-layout .admin-mobile-menu summary,
  .admin-layout .admin-mobile-menu[open] summary {
    position: relative;
    top: auto;
    left: auto;
    z-index: 96;
    width: 42px;
    height: 42px;
    margin: 0;
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 13px;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.14);
    transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
  }

  .admin-layout .admin-mobile-menu[open] summary {
    background: rgba(6, 78, 59, 0.88);
    box-shadow: 0 14px 34px rgba(6, 78, 59, 0.28);
    transform: scale(0.98);
  }

  .admin-layout .admin-mobile-menu summary::after,
  .admin-layout .admin-mobile-menu[open] summary::after {
    display: none;
    content: none;
  }

  .admin-layout .admin-mobile-menu summary .app-icon,
  .admin-layout .admin-mobile-menu[open] summary .app-icon {
    display: block;
    width: 22px;
    height: 22px;
    margin: 0;
    opacity: 1;
  }

  .admin-layout .admin-mobile-menu::before {
    position: fixed;
    inset: 64px 0 0;
    z-index: 88;
    display: block;
    content: "";
    background: rgba(15, 23, 42, 0);
    opacity: 0;
    pointer-events: none;
    transition: opacity 260ms ease, background 260ms ease;
  }

  .admin-layout .admin-mobile-menu[open]::before {
    background: rgba(15, 23, 42, 0.34);
    opacity: 1;
    pointer-events: auto;
  }

  .admin-layout .admin-mobile-menu .menu-panel {
    position: fixed;
    top: 64px;
    bottom: auto;
    left: 0;
    z-index: 93;
    display: grid;
    align-content: start;
    width: min(88vw, 360px);
    min-width: 0;
    max-height: 292px;
    padding: 16px 12px 10px;
    overflow-y: auto;
    color: #0f172a;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    transform: translateX(-106%);
    transition: transform 300ms cubic-bezier(.2, .8, .2, 1);
  }

  .admin-layout .admin-mobile-menu[open] .menu-panel {
    transform: translateX(0);
  }

  .admin-layout .admin-mobile-menu .menu-panel::before {
    display: block;
    position: static;
    margin: 0 0 10px;
    padding: 0 4px;
    color: #064e3b;
    content: "MUNDO";
    font-size: 20px;
    font-weight: 1000;
  }

  .admin-layout .prometi-header-row {
    position: fixed;
    top: 64px;
    bottom: 0;
    left: 0;
    z-index: 92;
    display: grid;
    grid-template-columns: 1fr;
    align-content: start;
    width: min(88vw, 360px);
    padding: 304px 12px max(18px, env(safe-area-inset-bottom));
    overflow-y: auto;
    color: #0f172a;
    background:
      linear-gradient(145deg, rgba(236, 253, 245, 0.98), rgba(239, 246, 255, 0.98)),
      #fff;
    border: 0;
    border-right: 1px solid rgba(15, 159, 122, 0.18);
    border-radius: 0 24px 0 0;
    box-shadow: 26px 0 70px rgba(15, 23, 42, 0.28);
    transform: translateX(-106%);
    transition: transform 300ms cubic-bezier(.2, .8, .2, 1);
  }

  .admin-layout .lobby-header:has(.admin-mobile-menu[open]) .prometi-header-row {
    transform: translateX(0);
  }

  .admin-layout .prometi-header-row .header-year-picker,
  .admin-layout .prometi-header-row .header-right-metrics,
  .admin-layout .prometi-header-row .header-polog-card,
  .admin-layout .prometi-header-row .header-promet-total {
    justify-self: stretch;
    width: 100%;
  }

  .admin-layout .prometi-header-row .header-year-picker {
    gap: 8px;
    margin-bottom: 12px;
  }

  .admin-layout .prometi-header-row .header-year-picker label,
  .admin-layout .prometi-header-row .header-total-main small,
  .admin-layout .prometi-header-row .header-total-split small,
  .admin-layout .prometi-header-row .header-polog-card small {
    color: #047857;
  }

  .admin-layout .prometi-header-row .header-right-metrics {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .admin-layout .prometi-header-row .header-polog-card {
    min-height: 0;
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(15, 159, 122, 0.18);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  }

  .admin-layout .prometi-header-row .header-polog-card strong,
  .admin-layout .prometi-header-row .header-total-split strong {
    color: #0f172a;
  }

  .admin-layout .prometi-header-row .header-total-main,
  .admin-layout .prometi-header-row .header-total-split span {
    background: rgba(255, 255, 255, 0.82);
    border-color: rgba(15, 23, 42, 0.08);
  }

  .admin-layout .prometi-header-row .header-total-main strong {
    color: #064e3b;
    font-size: 24px;
  }

  .admin-layout .prometi-header-row .header-vat-remaining {
    margin-top: 0;
  }

  .admin-layout .lobby-header > .user-pill {
    flex: 0 1 auto;
    margin-left: auto;
    color: #fff;
  }
}

@media (max-width: 860px) {
  .admin-layout .lobby-header {
    position: sticky;
    top: 0;
    z-index: 70;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 64px;
    padding: 10px 12px 10px 54px;
  }

  .admin-layout .header-left {
    position: static;
    flex: 0 0 0;
    width: 0;
    min-width: 0;
    height: 0;
    overflow: visible;
  }

  .admin-layout .admin-mobile-menu {
    position: fixed;
    top: 72px;
    left: 0;
    z-index: 90;
    display: block;
    width: 0;
    height: 0;
  }

  .admin-layout .admin-mobile-menu summary {
    position: fixed;
    top: 82px;
    left: -2px;
    z-index: 94;
    width: 38px;
    height: 64px;
    color: #fff;
    background: linear-gradient(135deg, #064e3b, #0f9f7a);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-left: 0;
    border-radius: 0 18px 18px 0;
    box-shadow: 0 16px 38px rgba(6, 78, 59, 0.28);
    transform: translateX(0);
    transition:
      left 260ms cubic-bezier(.2, .8, .2, 1),
      width 260ms cubic-bezier(.2, .8, .2, 1),
      border-radius 260ms ease,
      background 180ms ease,
      box-shadow 180ms ease;
  }

  .admin-layout .admin-mobile-menu summary::after {
    position: absolute;
    right: 5px;
    color: rgba(255, 255, 255, 0.96);
    content: "›";
    font-size: 24px;
    font-weight: 1000;
    line-height: 1;
    transform: translateY(-1px);
  }

  .admin-layout .admin-mobile-menu summary .app-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    opacity: 0.92;
  }

  .admin-layout .admin-mobile-menu[open] summary {
    left: min(82vw, 318px);
    width: 42px;
    height: 54px;
    background: #064e3b;
    border-radius: 0 15px 15px 0;
    box-shadow: 0 14px 34px rgba(6, 78, 59, 0.34);
  }

  .admin-layout .admin-mobile-menu[open] summary::after {
    content: "‹";
    right: 7px;
  }

  .admin-layout .admin-mobile-menu[open] summary .app-icon {
    display: none;
  }

  .admin-layout .admin-mobile-menu::before {
    position: fixed;
    inset: 64px 0 0;
    z-index: 91;
    display: block;
    content: "";
    background: rgba(15, 23, 42, 0);
    opacity: 0;
    pointer-events: none;
    transition: opacity 260ms ease, background 260ms ease;
  }

  .admin-layout .admin-mobile-menu[open]::before {
    background: rgba(15, 23, 42, 0.36);
    opacity: 1;
    pointer-events: auto;
  }

  .admin-layout .admin-mobile-menu .menu-panel {
    position: fixed;
    top: 64px;
    bottom: 0;
    left: 0;
    z-index: 92;
    display: grid;
    align-content: start;
    width: min(82vw, 320px);
    min-width: 0;
    padding: 18px 12px max(18px, env(safe-area-inset-bottom));
    overflow-y: auto;
    color: #0f172a;
    background:
      linear-gradient(145deg, rgba(236, 253, 245, 0.98), rgba(239, 246, 255, 0.98)),
      #fff;
    border: 0;
    border-right: 1px solid rgba(15, 159, 122, 0.18);
    border-radius: 0 24px 0 0;
    box-shadow: 26px 0 70px rgba(15, 23, 42, 0.28);
    transform: translateX(-104%);
    transition: transform 300ms cubic-bezier(.2, .8, .2, 1);
  }

  .admin-layout .admin-mobile-menu[open] .menu-panel {
    transform: translateX(0);
  }

  .admin-layout .admin-mobile-menu .menu-panel::before {
    display: block;
    position: static;
    margin: 0 0 12px;
    padding: 0 4px;
    color: #064e3b;
    content: "MUNDO";
    font-size: 20px;
    font-weight: 1000;
    letter-spacing: 0;
  }

  .admin-layout .admin-mobile-menu .mobile-menu-account {
    display: grid;
    gap: 10px;
    margin-bottom: 10px;
    padding: 12px;
    color: #0f172a;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(15, 159, 122, 0.16);
    border-radius: 16px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
  }

  .admin-layout .admin-mobile-menu .menu-panel a {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 48px;
    margin-top: 6px;
    padding: 0 14px;
    color: #1e293b;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: 14px;
    font-size: 15px;
    font-weight: 950;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05);
  }

  .admin-layout .admin-mobile-menu .menu-panel a.active {
    color: #fff;
    background: linear-gradient(135deg, #0f9f7a, #2563eb);
    border-color: transparent;
    box-shadow: 0 16px 34px rgba(15, 159, 122, 0.24);
  }

  .admin-layout .mobile-menu-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .admin-layout .admin-mobile-menu .mobile-menu-actions .notification-toggle,
  .admin-layout .admin-mobile-menu .mobile-menu-actions .logout-link {
    justify-content: center;
    min-height: 40px;
    padding: 0 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 1000;
  }

  .admin-layout .admin-mobile-menu .mobile-menu-actions .logout-link {
    color: #0f172a;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.1);
  }

  .admin-layout .lobby-header > .user-pill {
    margin-left: 0;
    color: #fff;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #0f172a;
}

a {
  color: inherit;
  text-decoration: none;
}

.mundo-login-page {
  height: 100vh;
  height: 100svh;
  min-height: 520px;
  overflow: hidden;
  padding: clamp(10px, 1.6vw, 22px);
  background:
    linear-gradient(135deg, rgba(15, 159, 122, 0.94), rgba(37, 99, 235, 0.9) 48%, rgba(245, 158, 11, 0.86)),
    #0f172a;
}

.mundo-frame {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  height: calc(100vh - clamp(20px, 3.2vw, 44px));
  height: calc(100svh - clamp(20px, 3.2vw, 44px));
  min-height: 500px;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(15, 159, 122, 0.13), transparent 36%),
    linear-gradient(240deg, rgba(37, 99, 235, 0.13), transparent 34%),
    #fff;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: clamp(18px, 2vw, 28px);
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.28);
}

.mundo-frame::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(15, 159, 122, 0.07) 1px, transparent 1px),
    linear-gradient(180deg, rgba(37, 99, 235, 0.06) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.62), transparent 72%);
  pointer-events: none;
}

.mundo-brand {
  position: relative;
  z-index: 2;
  align-self: start;
  width: fit-content;
  margin: clamp(16px, 2.1vw, 28px) 0 0 clamp(18px, 2.4vw, 34px);
  padding: 9px 14px;
  color: #053b31;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 159, 122, 0.18);
  border-radius: 16px;
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 900;
  letter-spacing: 0;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(16px);
}

.mundo-center {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 0;
  padding: clamp(14px, 2vw, 30px) 20px clamp(18px, 2.4vw, 34px);
}

.mundo-copy {
  display: grid;
  justify-items: center;
  width: min(100%, 520px);
  text-align: center;
}

.mundo-hero-art {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 360px);
  height: clamp(150px, 28vh, 230px);
  margin-bottom: clamp(8px, 1.8vh, 16px);
}

.mundo-hero-art svg {
  display: block;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 24px 34px rgba(15, 23, 42, 0.16));
}

.mundo-copy h1 {
  margin: 0 0 clamp(20px, 3.2vh, 30px);
  color: #0f172a;
  font-size: clamp(30px, 5.2vh, 48px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0;
}

.mundo-copy h1 span {
  display: block;
  color: #0f9f7a;
}

.mundo-copy h1 strong {
  color: #0f172a;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: #f59e0b;
  text-decoration-thickness: 4px;
  text-underline-offset: 6px;
}

.mundo-auth-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: min(100%, 500px);
  height: clamp(48px, 6.2vh, 56px);
  padding: 0 22px;
  color: #0f172a;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 16px;
  box-sizing: border-box;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.12);
  transition: transform 160ms ease, opacity 160ms ease, box-shadow 160ms ease;
}

.mundo-auth-button + .mundo-auth-button {
  margin-top: 10px;
}

.mundo-auth-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.16);
}

.mundo-auth-button.disabled {
  opacity: 0.46;
  pointer-events: none;
}

.mundo-google-button,
.mundo-apple-button {
  color: #0f172a;
  background: #fff;
}

.mundo-google-button {
  border-color: rgba(15, 159, 122, 0.32);
}

.mundo-apple-button {
  color: #fff;
  background: linear-gradient(135deg, #111827, #0f172a);
  border-color: rgba(15, 23, 42, 0.48);
}

.google-icon,
.apple-icon {
  flex: 0 0 22px;
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: currentColor;
  background: transparent;
  border-radius: 50%;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
}

.apple-icon {
  width: 22px;
  height: 22px;
  font-size: 0;
}

.mundo-notice,
.mundo-setup-note {
  width: min(100%, 520px);
  margin: -16px 0 18px;
  color: #6d6d6d;
  font-size: 13px;
  line-height: 1.45;
}

.mundo-notice {
  padding: 12px 14px;
  color: #8a1f1f;
  background: #fff1f1;
  border: 1px solid #ffd6d6;
  border-radius: 12px;
}

.mundo-setup-note {
  margin: 14px 0 0;
}

.pwa-install-panel {
  position: fixed;
  right: max(14px, env(safe-area-inset-right));
  bottom: max(14px, env(safe-area-inset-bottom));
  z-index: 120;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100vw - 28px);
  padding: 7px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.2);
  backdrop-filter: blur(16px);
}

.pwa-install-panel[hidden],
.pwa-help-modal[hidden] {
  display: none;
}

.pwa-install-button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  color: #0f172a;
  background: transparent;
  border: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.pwa-install-mark {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  color: #fff;
  background: linear-gradient(135deg, #064e3b, #0f9f7a);
  border-radius: 12px;
  font-weight: 1000;
}

.pwa-install-button span:last-child {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.pwa-install-button strong {
  font-size: 13px;
  line-height: 1;
}

.pwa-install-button small {
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.pwa-install-close,
.pwa-help-close {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  color: #64748b;
  background: #f1f5f9;
  border: 0;
  border-radius: 50%;
  font: inherit;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.pwa-help-modal {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(15, 23, 42, 0.46);
}

.pwa-help-card {
  position: relative;
  display: grid;
  justify-items: start;
  gap: 14px;
  width: min(100%, 410px);
  padding: 22px;
  color: #0f172a;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 28px 90px rgba(15, 23, 42, 0.32);
}

.pwa-help-card h2,
.pwa-help-card p,
.pwa-help-card ol {
  margin: 0;
}

.pwa-help-card h2 {
  font-size: 24px;
  line-height: 1;
}

.pwa-help-card p {
  color: #475569;
  font-weight: 750;
  line-height: 1.45;
}

.pwa-help-card ol {
  display: grid;
  gap: 8px;
  padding-left: 22px;
  color: #0f172a;
  font-weight: 850;
}

.pwa-help-close {
  position: absolute;
  top: 12px;
  right: 12px;
}

.mundo-footer {
  position: relative;
  z-index: 2;
  align-self: end;
  justify-self: center;
  width: fit-content;
  max-width: min(560px, calc(100% - 32px));
  margin: 0 16px clamp(14px, 2vw, 24px);
  padding: 9px 13px;
  color: #475569;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  backdrop-filter: blur(16px);
}

.message-screen {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 24px;
}

.compact {
  margin: 0;
}

.dashboard-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 6%, rgba(15, 159, 122, 0.12), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #eef5f3 100%);
}

.dashboard-page:has(.hamburger-menu[open]) {
  overflow: hidden;
}

.sidebar-state {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.app-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 15;
  display: grid;
  align-content: start;
  width: 220px;
  padding: 18px 12px;
  background: linear-gradient(180deg, #ffffff 0%, #f3fbf8 100%);
  border-right: 1px solid var(--line);
  box-shadow: 10px 0 40px rgba(15, 23, 42, 0.05);
  transition: transform 180ms ease;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  min-height: 46px;
  padding-right: 48px;
  font-size: 24px;
  font-weight: 900;
}

.sidebar-toggle {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--blue));
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(15, 159, 122, 0.22);
}

.sidebar-toggle .app-icon {
  width: 22px;
  height: 22px;
}

.close-sidebar {
  position: absolute;
  top: 28px;
  right: 18px;
}

.show-sidebar {
  display: none;
}

.sidebar-nav {
  display: grid;
  gap: 8px;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 14px;
  color: #334155;
  border-radius: 12px;
  font-weight: 900;
}

.sidebar-nav a:hover {
  color: var(--primary-dark);
  background: rgba(15, 159, 122, 0.1);
}

.sidebar-nav a.active,
.menu-panel a.active {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--blue));
  box-shadow: 0 12px 30px rgba(15, 159, 122, 0.24);
}

.app-icon {
  flex: 0 0 19px;
  width: 19px;
  height: 19px;
}

.lobby-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-left: 0;
  padding: 12px clamp(10px, 1.4vw, 22px);
  border-bottom: 1px solid var(--line);
  background: rgba(248, 251, 255, 0.86);
  backdrop-filter: blur(18px);
  transition: margin-left 180ms ease;
}

.lobby-header .brand-row {
  position: static;
}

.admin-layout .lobby-header {
  flex-wrap: wrap;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(15, 159, 122, 0.98), rgba(37, 99, 235, 0.94)),
    var(--primary);
  border-bottom-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.16);
}

.header-left {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.header-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.admin-mobile-menu {
  display: none;
}

.mobile-menu-account {
  display: none;
}

.header-nav a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 13px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  font-weight: 900;
}

.header-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.22);
}

.header-nav a.active {
  color: var(--primary-dark);
  background: #fff;
  border-color: transparent;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
}

.prometi-header-row {
  display: grid;
  flex: 0 0 100%;
  grid-template-columns: minmax(128px, 1fr) minmax(660px, 920px);
  gap: 12px;
  align-items: center;
  width: 100%;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.header-year-picker {
  display: grid;
  gap: 7px;
  justify-self: start;
  width: min(190px, 100%);
}

.header-right-metrics {
  display: grid;
  grid-template-columns: minmax(300px, 380px) minmax(320px, 520px);
  gap: 12px;
  justify-self: end;
  align-items: stretch;
  width: min(920px, 100%);
  margin-left: auto;
}

.header-year-picker label {
  color: rgba(255, 255, 255, 0.74);
  text-align: center;
}

.header-year-picker select {
  width: 100%;
  color: #064e3b;
  background: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  padding-right: 34px;
  padding-left: 34px;
  text-align: center;
  text-align-last: center;
  font-weight: 950;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.12);
}

.header-year-picker select option {
  color: #064e3b;
  background: #fff;
  text-align: center;
}

.deposit-action-button,
.deposit-due {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  border-radius: 9px;
}

.deposit-action-button {
  gap: 6px;
  padding: 0 9px;
  color: #022c22 !important;
  background: #d9f99d !important;
  border: 1px solid rgba(217, 249, 157, 0.72) !important;
  font: inherit;
  font-size: 12px;
  font-weight: 950;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.12);
}

.deposit-action-button .app-icon {
  width: 15px;
  height: 15px;
}

.deposit-action-button.is-locked {
  color: #475569 !important;
  background: #e5e7eb !important;
  border-color: #cbd5e1 !important;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
}

.deposit-action-button.is-locked .app-icon {
  color: #64748b;
}

.deposit-due {
  display: grid;
  gap: 1px;
  place-items: center;
  padding: 4px 8px;
  color: #0f172a !important;
  background: #fff !important;
  border: 1px solid transparent !important;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.12);
}

.deposit-due small {
  color: #14532d !important;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.deposit-due strong {
  color: #0f172a !important;
  font-size: 14px;
  line-height: 1.05;
  text-align: center;
}

.deposit-due.is-zero {
  background: #fff !important;
  border-color: transparent !important;
}

.deposit-due.is-positive {
  background: #fff !important;
  border-color: transparent !important;
}

.deposit-due.is-negative {
  background: rgba(153, 27, 27, 0.9);
  border-color: rgba(254, 202, 202, 0.62);
}

.header-polog-card {
  display: grid;
  gap: 7px;
  min-height: 112px;
  padding: 10px 12px;
  border: 1px solid rgba(167, 243, 208, 0.38);
  border-radius: 12px;
  background: transparent;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.12);
}

.polog-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.polog-actions-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 6px;
  align-items: stretch;
  min-height: 62px;
}

.polog-left-stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 6px;
  min-width: 0;
}

.header-polog-card small {
  color: rgba(236, 253, 245, 0.86);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.header-polog-card strong {
  color: #fff;
  font-size: 13px;
  line-height: 1.12;
  text-align: right;
}

.header-polog-card .polog-status-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 0;
  font-size: 11px;
  font-weight: 850;
  line-height: 1.15;
  white-space: nowrap;
}

.header-polog-card.is-ok .polog-status-text {
  justify-self: stretch;
  padding: 5px 8px;
  color: #166534;
  background: #dcfce7;
  border: 1px solid #86efac;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 950;
  text-transform: uppercase;
}

.header-polog-card.has-issues {
  background: transparent;
  border: 2px solid #ff0000;
}

.header-polog-card.has-issues .polog-status-text {
  justify-self: stretch;
  padding: 5px 8px;
  color: #fff;
  background: #ff0000;
  border: 1px solid #ff0000;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 950;
  text-transform: uppercase;
}

.header-archive-card {
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  background: #fff;
  border-color: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.12);
}

.archive-icon-wrap {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: #064e3b;
  background: #d9f99d;
  border-radius: 12px;
}

.archive-icon-wrap .app-icon {
  width: 24px;
  height: 24px;
}

.header-archive-card small {
  color: #64748b;
}

.header-archive-card strong {
  display: block;
  color: #0f172a;
  text-align: left;
  font-size: 18px;
}

.header-archive-card p {
  margin: 5px 0 0;
  color: #475569;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
}

.polog-error-icon,
.polog-ok-icon {
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  color: #fff;
  background: #dc2626;
  font-style: normal;
  font-size: 12px;
  font-weight: 950;
  line-height: 1;
}

.polog-error-icon {
  width: auto;
  height: auto;
  color: #fff;
  background: transparent;
  font-size: 12px;
}

.polog-ok-icon {
  width: auto;
  height: auto;
  color: #166534;
  background: transparent;
  font-size: 12px;
}

.header-promet-total {
  display: grid;
  justify-self: end;
  width: min(520px, 100%);
  gap: 8px;
}

.header-total-main,
.header-total-split span {
  display: grid;
  gap: 3px;
  place-items: center;
  min-height: 52px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
}

.header-total-main {
  background: #fff;
}

.header-vat-remaining {
  display: grid;
  place-items: center;
  gap: 3px;
  min-height: 0;
  padding: 7px 9px;
  color: #064e3b;
  background: #ecfdf5;
  border: 1px solid rgba(167, 243, 208, 0.95);
  border-radius: 10px;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.10);
}

.header-vat-remaining small {
  color: #047857;
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.header-vat-remaining strong {
  color: #0f172a;
  font-size: 15px;
  font-weight: 950;
  line-height: 1;
  text-align: center;
}

.header-vat-remaining em {
  grid-column: 1 / -1;
  color: #047857;
  font-style: normal;
  font-size: 10px;
  font-weight: 850;
  text-align: right;
}

.header-vat-remaining.is-reached {
  color: #991b1b;
  background: #fff1f2;
  border-color: #fecdd3;
}

.header-vat-remaining.is-reached small,
.header-vat-remaining.is-reached em {
  color: #be123c;
}

.header-total-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.header-total-main small,
.header-total-split small {
  text-align: center;
  color: rgba(255, 255, 255, 0.74);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.header-total-main small {
  color: #047857;
}

.header-total-main strong {
  color: #064e3b;
  font-size: 26px;
  line-height: 1;
  text-align: center;
}

.header-total-split strong {
  color: #fff;
  font-size: 17px;
  line-height: 1.1;
  text-align: center;
}

.hamburger-menu {
  position: relative;
  z-index: 5;
}

.hamburger-menu[open]::before {
  position: fixed;
  inset: 0;
  z-index: 8;
  display: none;
  content: "";
  background: rgba(0, 0, 0, 0.34);
}

.hamburger-menu summary {
  position: relative;
  z-index: 10;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--blue));
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  list-style: none;
  box-shadow: 0 12px 28px rgba(15, 159, 122, 0.22);
}

.hamburger-menu summary::-webkit-details-marker {
  display: none;
}

.hamburger-menu[open] summary {
  background: var(--primary-dark);
}

.hamburger-menu summary .app-icon {
  width: 23px;
  height: 23px;
}

.menu-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 11;
  display: grid;
  min-width: 220px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.menu-panel a {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 14px;
  border-radius: 10px;
  font-weight: 900;
}

.menu-panel a:hover {
  color: var(--primary-dark);
  background: rgba(15, 159, 122, 0.1);
}

.user-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  color: var(--muted);
}

.user-pill img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
}

.user-pill a {
  color: var(--ink);
  font-weight: 800;
}

.notification-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 0 12px;
  color: #064e3b;
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  font: inherit;
  font-size: 13px;
  font-weight: 1000;
  cursor: pointer;
}

.notification-toggle .app-icon {
  width: 17px;
  height: 17px;
}

.notification-toggle.is-enabled {
  justify-content: center;
  width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 0;
  color: #fff;
  background: linear-gradient(135deg, #047857, #0f9f7a);
  border-color: rgba(255, 255, 255, 0.28);
  border-radius: 50%;
}

.notification-toggle.is-enabled span {
  display: none;
}

.notification-toggle.is-enabled .app-icon {
  width: 19px;
  height: 19px;
}

.notification-toggle.is-denied {
  color: #991b1b;
  background: #fef2f2;
  border-color: #fecaca;
}

.admin-layout .user-pill,
.admin-layout .user-pill a {
  color: #fff;
}

.admin-layout .role-pill {
  color: #064e3b;
  background: #dcfce7;
}

.logout-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.logout-link .app-icon {
  width: 17px;
  height: 17px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--blue));
  border-radius: 12px;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(15, 159, 122, 0.22);
}

.role-pill {
  padding: 7px 10px;
  color: #fff;
  background: var(--blue);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.lobby-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-left: 0;
  padding: clamp(8px, 1.1vw, 16px);
  transition: margin-left 180ms ease;
}

.prometi-grid {
  gap: 0;
  padding: 0;
}

.seller-layout .lobby-header,
.seller-layout .lobby-grid {
  margin-left: 0;
}

.seller-layout .lobby-header {
  position: sticky;
  top: 0;
  z-index: 50;
  flex-wrap: wrap;
  justify-content: flex-end;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(5, 46, 22, 0.98), rgba(6, 95, 70, 0.95)),
    #064e3b;
  border-bottom-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 14px 36px rgba(5, 46, 22, 0.18);
}

.seller-layout .lobby-grid {
  grid-template-columns: 1fr;
}

.seller-summary-page .lobby-grid {
  padding: 0;
}

.seller-layout .user-pill,
.seller-layout .user-pill a {
  color: #fff;
}

.seller-layout .role-pill {
  color: #064e3b;
  background: #bbf7d0;
}

.seller-layout .header-close-row {
  flex: 0 0 100%;
  width: 100%;
}

.table-card {
  min-height: 210px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.table-card.featured {
  grid-column: 1 / -1;
  min-height: 280px;
  background:
    linear-gradient(135deg, rgba(15, 159, 122, 0.94), rgba(37, 99, 235, 0.92)),
    #0f9f7a;
  color: #fff;
  border: 0;
}

.table-card.featured h1 {
  margin: 0 0 14px;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1;
}

.table-card.featured p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
}

.dashboard-tile {
  display: grid;
  gap: 12px;
  align-content: start;
  border-top: 4px solid rgba(15, 159, 122, 0.55);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.dashboard-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
}

.dashboard-tile h2,
.dashboard-tile p {
  margin: 0;
}

.dashboard-analytics {
  display: grid;
  grid-column: 1 / -1;
  gap: 12px;
}

.analytics-hero,
.analytics-card,
.analytics-kpis article,
.analytics-alert {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.analytics-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 150px;
  padding: 18px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(6, 78, 59, 0.96), rgba(15, 159, 122, 0.90)),
    #064e3b;
  border: 0;
}

.analytics-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(34px, 4.5vw, 58px);
  line-height: 1;
}

.analytics-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  font-weight: 800;
}

.analytics-year-picker {
  display: grid;
  gap: 8px;
  width: min(190px, 100%);
}

.analytics-year-picker label {
  color: rgba(255, 255, 255, 0.76);
  font-size: 11px;
  font-weight: 950;
  text-align: center;
  text-transform: uppercase;
}

.analytics-year-picker select {
  width: 100%;
  padding: 13px 34px;
  color: #064e3b;
  background: #fff;
  border: 0;
  border-radius: 12px;
  font: inherit;
  font-size: 18px;
  font-weight: 950;
  text-align: center;
  text-align-last: center;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.18);
}

.analytics-year-picker select option {
  color: #064e3b;
  background: #fff;
}

.analytics-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.analytics-kpis article {
  display: grid;
  gap: 8px;
  min-height: 118px;
  padding: 14px;
}

.analytics-kpis small,
.analytics-card small {
  color: #64748b;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.analytics-kpis strong {
  color: #0f172a;
  font-size: clamp(22px, 2.3vw, 34px);
  font-weight: 950;
  line-height: 1;
}

.analytics-kpis span {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.analytics-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.75fr);
  gap: 12px;
}

.analytics-grid-equal {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.analytics-card {
  padding: 14px;
}

.analytics-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.analytics-card-head h2,
.analytics-card-head p {
  margin: 0;
}

.analytics-card-head h2 {
  color: #0f172a;
  font-size: 28px;
  font-weight: 950;
  line-height: 1;
}

.trend-pill,
.analytics-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;
  text-decoration: none;
  white-space: nowrap;
}

.trend-pill.is-up {
  color: #065f46;
  background: #d1fae5;
}

.trend-pill.is-down {
  color: #991b1b;
  background: #fee2e2;
}

.analytics-link {
  color: #064e3b;
  background: #d9f99d;
}

.month-bars {
  display: grid;
  gap: 8px;
}

.month-bar-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 140px;
  gap: 10px;
  align-items: center;
}

.month-bar-row > span {
  color: #334155;
  font-size: 11px;
  font-weight: 950;
}

.month-bar-track {
  height: 15px;
  overflow: hidden;
  background: #ecfdf5;
  border-radius: 999px;
}

.month-bar-track i {
  display: block;
  height: 100%;
  min-width: 3px;
  background: linear-gradient(90deg, #0f9f7a, #38bdf8);
  border-radius: inherit;
}

.month-bar-row strong {
  display: grid;
  gap: 2px;
  color: #0f172a;
  font-size: 12px;
  font-weight: 950;
  text-align: right;
}

.month-bar-row strong em {
  color: #047857;
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
}

.insight-card {
  display: grid;
  align-content: start;
  gap: 12px;
}

.insight-number {
  display: grid;
  gap: 6px;
  padding: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}

.insight-number strong {
  color: #0f172a;
  font-size: 34px;
  font-weight: 950;
  line-height: 1;
}

.insight-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.insight-split span,
.best-month-box {
  display: grid;
  gap: 5px;
  padding: 12px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}

.insight-split strong,
.best-month-box strong {
  color: #0f172a;
  font-size: 18px;
  font-weight: 950;
}

.insight-split .positive strong {
  color: #047857;
}

.insight-split .negative strong {
  color: #be123c;
}

.best-month-box span {
  color: #047857;
  font-size: 20px;
  font-weight: 950;
}

.share-list,
.growth-list {
  display: grid;
  gap: 8px;
}

.share-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 62px;
  gap: 10px;
  align-items: center;
}

.share-row > span {
  color: #334155;
  font-size: 11px;
  font-weight: 950;
}

.share-track {
  height: 22px;
  overflow: hidden;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
}

.share-track i {
  display: block;
  height: 100%;
  min-width: 3px;
  background: linear-gradient(90deg, #0f9f7a, #84cc16);
  border-radius: inherit;
}

.share-row strong {
  color: #064e3b;
  font-size: 13px;
  font-weight: 950;
  text-align: right;
}

.growth-row {
  display: grid;
  grid-template-columns: minmax(100px, 1fr) 118px 62px;
  gap: 10px;
  align-items: center;
  min-height: 38px;
  padding: 8px 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
}

.growth-row span {
  color: #0f172a;
  font-size: 13px;
  font-weight: 900;
}

.growth-row strong {
  justify-self: end;
  color: #64748b;
  font-size: 14px;
  font-weight: 950;
}

.growth-row em {
  justify-self: end;
  padding: 5px 8px;
  color: #64748b;
  background: #e2e8f0;
  border-radius: 999px;
  font-size: 10px;
  font-style: normal;
  font-weight: 950;
  text-transform: uppercase;
}

.growth-row.is-up {
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.growth-row.is-up strong,
.growth-row.is-up em {
  color: #047857;
}

.growth-row.is-up em {
  background: #d1fae5;
}

.growth-row.is-down {
  background: #fff1f2;
  border-color: #fecdd3;
}

.growth-row.is-down strong,
.growth-row.is-down em {
  color: #be123c;
}

.growth-row.is-down em {
  background: #ffe4e6;
}

.year-color-chart-card {
  overflow: hidden;
}

.year-color-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.year-color-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 10px;
  color: #0f172a;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;
}

.year-color-legend i {
  width: 10px;
  height: 10px;
  background: var(--year-color);
  border-radius: 999px;
}

.year-color-chart {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(82px, 1fr));
  gap: 12px;
  align-items: end;
  min-height: 260px;
  padding: 12px;
  background: linear-gradient(180deg, #f8fafc, #fff);
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}

.year-color-month {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 8px;
  min-height: 220px;
}

.year-color-month > strong {
  order: 2;
  color: #334155;
  font-size: 11px;
  font-weight: 950;
  text-align: center;
}

.year-color-bars {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 5px;
  min-height: 190px;
  padding: 10px 7px 0;
  border-bottom: 2px solid #cbd5e1;
}

.year-color-bars span {
  position: relative;
  display: grid;
  align-items: end;
  width: 16px;
  height: 180px;
}

.year-color-bars span > i {
  display: block;
  height: var(--bar-height);
  background: var(--year-color);
  border-radius: 8px 8px 3px 3px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
}

.year-color-bars span.is-empty > i {
  background: transparent;
  box-shadow: none;
}

.year-color-bars span > em {
  position: absolute;
  right: 50%;
  bottom: calc(var(--bar-height) + 6px);
  transform: translateX(50%) rotate(-90deg);
  color: #64748b;
  font-size: 9px;
  font-style: normal;
  font-weight: 950;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
}

.year-color-bars span:hover > em {
  opacity: 1;
}

.year-compare-card {
  overflow: hidden;
}

.year-compare-table {
  display: grid;
  overflow-x: auto;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}

.year-compare-head,
.year-compare-row {
  display: grid;
  grid-template-columns: 118px repeat(var(--year-count, 4), minmax(118px, 1fr));
  min-width: 620px;
}

.year-compare-head span,
.year-compare-row span {
  display: grid;
  align-items: center;
  min-height: 38px;
  padding: 8px 10px;
  border-right: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  color: #334155;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.year-compare-head span {
  color: #064e3b;
  background: #ecfdf5;
  font-weight: 950;
}

.year-compare-row span:first-child {
  color: #0f172a;
  font-weight: 950;
}

.year-compare-row span:not(:first-child) {
  justify-items: end;
}

.year-compare-row .selected-year-cell {
  color: #064e3b;
  background: #f0fdf4;
  font-weight: 950;
}

.analytics-alert {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  color: #92400e;
  background: #fffbeb;
  text-decoration: none;
  font-weight: 950;
}

.analytics-alert .app-icon {
  width: 20px;
  height: 20px;
}

.success-note {
  display: inline-flex;
  margin: 0 0 14px;
  padding: 10px 12px;
  color: #0f5132;
  background: #dcfce7;
  border-radius: 10px;
  font-weight: 900;
}

.error-note {
  display: inline-flex;
  margin: 0 0 14px;
  padding: 10px 12px;
  color: #991b1b;
  background: #fee2e2;
  border: 1px solid #fecaca;
  border-radius: 10px;
  font-weight: 900;
}

.tile-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: #fff;
  border-radius: 14px;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.12);
}

.tile-icon .app-icon {
  width: 23px;
  height: 23px;
}

.tile-icon-blue {
  background: linear-gradient(135deg, var(--blue), #38bdf8);
}

.tile-icon-green {
  background: linear-gradient(135deg, var(--primary), #22c55e);
}

.tile-icon-amber {
  background: linear-gradient(135deg, var(--amber), #facc15);
}

.day-close-card h2 {
  margin-top: 0;
}

.day-close-card.seller-only {
  grid-column: 1 / -1;
  min-height: 320px;
}

.seller-close-card {
  max-width: 920px;
  margin: 0 auto;
  overflow: hidden;
}

.seller-close-card.has-status-header {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding: 0;
  border-right: 0;
  border-left: 0;
  border-radius: 0;
}

.seller-close-card.is-summary {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding: 0;
  border-right: 0;
  border-left: 0;
  border-radius: 0;
}

.seller-close-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 10px;
}

.seller-close-icon,
.close-section-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #22c55e);
  box-shadow: 0 14px 34px rgba(15, 159, 122, 0.22);
}

.seller-close-icon {
  width: 62px;
  height: 62px;
  border-radius: 18px;
}

.seller-close-icon .app-icon {
  width: 28px;
  height: 28px;
}

.seller-close-copy {
  max-width: 680px;
  color: #475569;
  font-weight: 750;
}

.day-close-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 22px;
}

.day-close-form label {
  display: grid;
  gap: 7px;
  color: #475569;
  font-size: 13px;
  font-weight: 900;
}

.day-close-form input,
.day-close-form select,
.day-close-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--ink);
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  font-weight: 700;
}

.day-close-form textarea {
  resize: vertical;
}

.money-field {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  color: var(--ink);
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.money-field:focus-within {
  background: #fff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 159, 122, 0.12);
}

.day-close-form .money-field input {
  min-height: 42px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  outline: 0;
  font-weight: 850;
}

.money-field span {
  flex: 0 0 auto;
  color: #0f172a;
  font-size: 15px;
  font-weight: 1000;
}

.money-keypad {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  align-items: end;
  background: rgba(15, 23, 42, 0.24);
}

.money-keypad[hidden] {
  display: none;
}

.money-keypad-panel {
  width: min(430px, calc(100% - 18px));
  margin: 0 auto 9px;
  padding: 12px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 22px;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.28);
}

.money-keypad-display {
  margin-bottom: 10px;
  padding: 14px 16px;
  color: #0f172a;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  font-size: 28px;
  font-weight: 1000;
  text-align: right;
}

.money-keypad-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.money-keypad button {
  min-height: 58px;
  color: #0f172a;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 16px;
  font: inherit;
  font-size: 22px;
  font-weight: 1000;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.money-keypad button:active {
  transform: translateY(1px);
  box-shadow: none;
}

.money-keypad .cent-key {
  color: #064e3b;
  background: #dcfce7;
}

.money-keypad .done-key {
  grid-column: span 2;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.close-date-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 14px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(5, 46, 22, 0.96), rgba(6, 95, 70, 0.94)),
    #064e3b;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  font-weight: 950;
  box-shadow: 0 18px 44px rgba(5, 46, 22, 0.22);
}

.lobby-header .close-date-row {
  grid-template-columns: minmax(140px, 50%) auto;
  position: static;
  z-index: auto;
  margin-top: 8px;
  padding: 8px 0 0;
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0;
  box-shadow: none;
}

.lobby-header .date-segments,
.lobby-header .flatpickr-wrap {
  width: min(100%, 268px);
}

.close-date-control {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.close-date-control > span {
  white-space: nowrap;
}

.close-date-row input {
  max-width: 210px;
  background: #fff;
}

.live-total {
  justify-self: end;
  color: #bbf7d0;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 1000;
  line-height: 1;
  white-space: nowrap;
}

.date-segments,
.flatpickr-wrap {
  position: relative;
  width: min(320px, 100%);
  color: #0f172a;
}

.date-segments {
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: 46px;
  padding: 4px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.02);
}

.date-segment-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  color: var(--primary-dark);
  background: #ecfdf5;
  border-radius: 10px;
}

.date-segment-icon .app-icon {
  width: 16px;
  height: 16px;
  stroke-width: 2.6;
}

.date-segment {
  flex: 1 1 0;
  cursor: pointer;
}

.date-segment input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.date-segment span {
  display: grid;
  place-items: center;
  min-height: 34px;
  padding: 4px 8px;
  color: #475569;
  background: transparent;
  border-radius: 10px;
  line-height: 1;
  transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.date-segment strong {
  color: inherit;
  font-size: 13px;
  font-weight: 1000;
}

.date-segment small {
  margin-top: 3px;
  color: inherit;
  font-size: 11px;
  font-weight: 900;
  opacity: 0.78;
}

.date-segment input:checked + span {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 8px 18px rgba(15, 159, 122, 0.22);
}

.date-segment:focus-within span {
  box-shadow: 0 0 0 3px rgba(15, 159, 122, 0.18);
}

.flatpickr-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.flatpickr-wrap .app-icon {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  color: var(--primary-dark);
}

.flatpickr-wrap input,
.flatpickr-wrap .flatpickr-input,
.flatpickr-wrap .form-control {
  width: 100%;
  min-height: 48px;
  padding: 0;
  color: #0f172a;
  background: transparent;
  border: 0;
  outline: 0;
  font: inherit;
  font-size: 16px;
  font-weight: 950;
  cursor: pointer;
}

.flatpickr-calendar {
  overflow: hidden;
  width: 318px;
  padding: 10px;
  color: #0f172a;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 18px;
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.22);
  font-family: inherit;
}

.flatpickr-months {
  align-items: center;
  margin-bottom: 8px;
}

.flatpickr-months .flatpickr-month {
  height: 42px;
}

.flatpickr-current-month {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding-top: 5px;
  font-size: 15px;
  font-weight: 1000;
}

.flatpickr-current-month .flatpickr-monthDropdown-months,
.flatpickr-current-month input.cur-year {
  font: inherit;
  font-weight: 1000;
}

.flatpickr-weekdays {
  height: 32px;
}

span.flatpickr-weekday {
  color: #64748b;
  font-size: 12px;
  font-weight: 1000;
  text-transform: uppercase;
}

.flatpickr-day {
  height: 38px;
  max-width: 38px;
  margin: 2px;
  color: #0f172a;
  border: 0;
  border-radius: 12px;
  line-height: 38px;
  font-weight: 850;
}

.flatpickr-day:hover,
.flatpickr-day:focus {
  color: #064e3b;
  background: #dcfce7;
}

.flatpickr-day.today {
  color: var(--primary-dark);
  background: #ecfdf5;
  border: 0;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected:hover {
  color: #fff;
  background: var(--primary);
  border: 0;
  box-shadow: 0 10px 24px rgba(15, 159, 122, 0.28);
}

.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay {
  color: #cbd5e1;
}

.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
  top: 10px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  color: #0f172a;
  border-radius: 12px;
}

.flatpickr-months .flatpickr-prev-month:hover,
.flatpickr-months .flatpickr-next-month:hover {
  background: #f1f5f9;
}

.close-section {
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.06);
}

.close-register-section {
  background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.close-black-section {
  background: linear-gradient(180deg, #ffffff, #fff7ed);
  border-color: #fed7aa;
}

.close-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.close-section-title p {
  margin: 0 0 3px;
  color: #64748b;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.close-section-title strong {
  color: var(--ink);
  font-size: 18px;
}

.close-section-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
}

.close-section-icon .app-icon {
  width: 22px;
  height: 22px;
}

.dark-icon {
  color: #facc15;
  background: #111827;
  font-size: 19px;
  font-weight: 1000;
}

.close-field-grid {
  display: grid;
  gap: 14px;
}

.two-cols {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.shift-close-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.shift-close-grid fieldset {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 14px;
  border: 1px solid #fdba74;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
}

.shift-close-grid legend {
  padding: 0 8px;
  color: #111827;
  font-size: 14px;
  font-weight: 1000;
}

.wide-field {
  grid-column: 1 / -1;
}

.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  grid-column: 1 / -1;
  min-height: 48px;
  color: #065f46;
  background: linear-gradient(135deg, #d1fae5, #bbf7d0);
  border: 1px solid #86efac;
  border-radius: 10px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(16, 185, 129, 0.14);
}

.form-actions-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  grid-column: 1 / -1;
}

.form-actions-row .primary-action {
  grid-column: auto;
}

.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 18px;
  color: #065f46;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  font: inherit;
  font-weight: 1000;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(16, 185, 129, 0.10);
}

.secondary-action .app-icon {
  width: 19px;
  height: 19px;
}

.cancel-change-action {
  color: #991b1b;
  background: #fee2e2;
  border-color: #fecaca;
  box-shadow: 0 12px 28px rgba(239, 68, 68, 0.12);
}

.cancel-change-action:hover,
.cancel-change-action:focus-visible {
  color: #7f1d1d;
  background: #fecaca;
  border-color: #fca5a5;
}

.seller-summary-card {
  display: grid;
  gap: 16px;
  width: 100%;
}

.seller-summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  padding: 20px clamp(14px, 3vw, 30px);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(5, 46, 22, 0.98), rgba(6, 95, 70, 0.95)),
    #064e3b;
  border-radius: 0;
  box-shadow: 0 20px 50px rgba(5, 46, 22, 0.22);
}

.seller-summary-title {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 14px;
}

.seller-summary-head p,
.seller-summary-head h1 {
  margin: 0;
}

.seller-summary-head p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.seller-summary-head h1 {
  font-size: clamp(32px, 8vw, 54px);
  line-height: 1;
}

.seller-summary-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 62px;
  height: 62px;
  aspect-ratio: 1 / 1;
  color: #064e3b;
  background: #fff;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(6, 78, 59, 0.18);
}

.seller-summary-icon .app-icon {
  width: 30px;
  height: 30px;
  stroke-width: 3;
}

.seller-summary-head-warning {
  background:
    linear-gradient(135deg, rgba(180, 83, 9, 0.98), rgba(245, 158, 11, 0.96)),
    #d97706;
  box-shadow: 0 20px 50px rgba(180, 83, 9, 0.22);
}

.seller-summary-icon-warning {
  color: #fff;
  background: #f59e0b;
  border: 4px solid rgba(255, 255, 255, 0.78);
  font-size: 34px;
  font-weight: 1000;
  line-height: 1;
  box-shadow: 0 14px 34px rgba(146, 64, 14, 0.24);
}

.summary-day-nav {
  display: grid;
  flex: 0 0 auto;
  gap: 7px;
}

.summary-day-nav a,
.summary-day-nav span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #064e3b;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(6, 78, 59, 0.14);
}

.summary-day-nav span {
  opacity: 0.35;
}

.summary-day-nav .app-icon {
  width: 22px;
  height: 22px;
  stroke-width: 3;
}

.seller-summary-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: #0f172a;
  border-radius: 16px;
}

.seller-summary-total small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 1000;
  text-transform: uppercase;
}

.seller-summary-total strong {
  color: #bbf7d0;
  font-size: clamp(24px, 6vw, 38px);
  line-height: 1;
}

.seller-summary-breakdown {
  margin-inline: clamp(8px, 1.1vw, 16px);
  display: grid;
  gap: 12px;
}

.summary-block {
  display: grid;
  gap: 10px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.black-block {
  background: #fff;
  border-color: var(--line);
}

.summary-block-head {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #0f172a;
}

.black-block .summary-block-head {
  color: #0f172a;
}

.summary-block-head span {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #22c55e);
  border-radius: 11px;
  font-size: 15px;
  font-weight: 1000;
}

.black-block .summary-block-head span {
  color: #0f172a;
  background: #facc15;
}

.summary-block-head .app-icon {
  width: 18px;
  height: 18px;
}

.summary-block-head strong {
  font-size: 18px;
  line-height: 1;
}

.summary-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.summary-mini-grid span {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: 7px;
  row-gap: 3px;
  min-width: 0;
  padding: 10px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 13px;
}

.black-block .summary-mini-grid span {
  background: #f8fafc;
  border-color: var(--line);
}

.summary-mini-grid em {
  grid-row: span 2;
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: #0f766e;
  background: #ccfbf1;
  border-radius: 50%;
  font-style: normal;
  font-size: 13px;
  font-weight: 1000;
}

.black-block .summary-mini-grid em {
  color: #0f172a;
  background: #fde68a;
}

.summary-mini-grid .app-icon {
  width: 15px;
  height: 15px;
}

.summary-mini-grid small {
  min-width: 0;
  color: #64748b;
  font-size: 10px;
  font-weight: 1000;
  line-height: 1;
  text-transform: uppercase;
}

.black-block .summary-mini-grid small {
  color: #64748b;
}

.summary-mini-grid strong {
  min-width: 0;
  color: #0f172a;
  font-size: clamp(14px, 3.7vw, 18px);
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.black-block .summary-mini-grid strong {
  color: #0f172a;
}

.summary-subtotal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 12px;
  color: #064e3b;
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
  border-radius: 13px;
}

.black-block .summary-subtotal {
  color: #78350f;
  background: #fef3c7;
  border-color: #facc15;
}

.summary-subtotal small {
  font-size: 11px;
  font-weight: 1000;
  line-height: 1;
  text-transform: uppercase;
}

.summary-subtotal strong {
  color: inherit;
  font-size: clamp(18px, 5vw, 26px);
  line-height: 1;
}

.seller-summary-grid {
  margin-inline: clamp(8px, 1.1vw, 16px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.seller-summary-grid span,
.seller-summary-note {
  display: grid;
  gap: 6px;
  padding: 14px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.seller-summary-grid small,
.seller-summary-note small {
  color: #64748b;
  font-size: 12px;
  font-weight: 1000;
  text-transform: uppercase;
}

.seller-summary-grid strong {
  color: #0f172a;
  font-size: 20px;
  line-height: 1;
}

.seller-summary-note p {
  margin: 0;
  color: #0f172a;
  font-weight: 800;
}

.seller-summary-actions {
  margin-inline: clamp(8px, 1.1vw, 16px);
  display: flex;
  justify-content: stretch;
}

.seller-summary-actions .secondary-action {
  width: 100%;
}

.latest-closes-page {
  grid-column: 1 / -1;
  display: grid;
  gap: 16px;
}

.latest-closes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.latest-close-card {
  padding-bottom: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}

.latest-close-card .seller-summary-head {
  border-radius: 0;
}

.seller-summary-head p.latest-close-seller-line {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  line-height: 1.2;
  text-transform: none;
}

.latest-close-seller-line strong {
  color: #fff;
  font-weight: 1000;
}

.latest-close-card .seller-summary-actions {
  gap: 10px;
}

.latest-close-card .seller-summary-actions .secondary-action {
  flex: 1;
}

.turnover-card {
  grid-column: 1 / -1;
  padding: 0;
  overflow: hidden;
}

.prometi-sticky {
  position: sticky;
  top: 14px;
  z-index: 8;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(420px, 1.4fr);
  gap: 14px;
  align-items: center;
  margin: -2px -2px 12px;
  padding: 12px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.9)),
    #0f172a;
  border-radius: 16px;
  box-shadow: 0 22px 70px rgba(15, 23, 42, 0.18);
}

.prometi-sticky .eyebrow {
  color: rgba(255, 255, 255, 0.7);
}

.prometi-sticky h2 {
  margin: 4px 0 0;
  font-size: clamp(26px, 3.2vw, 44px);
  line-height: 1;
}

.rate-note {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 750;
}

.year-picker {
  display: grid;
  gap: 6px;
  min-width: 140px;
}

.year-picker label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.year-picker select {
  min-height: 44px;
  padding: 0 38px 0 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  font: inherit;
  font-weight: 900;
}

.prometi-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.prometi-metrics span {
  display: grid;
  gap: 4px;
  min-height: 70px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
}

.prometi-metrics small {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.prometi-metrics strong {
  color: #fff;
  font-size: 18px;
}

.prometi-metrics .total-black {
  background: #000;
  border-color: rgba(255, 255, 255, 0.18);
}

.prometi-title {
  margin-top: 6px;
}

.section-title {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 10px;
}

.section-title h2 {
  margin: 0;
}

.metric-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.metric-row span {
  display: grid;
  gap: 3px;
  min-width: 132px;
  padding: 12px 14px;
  color: var(--muted);
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 12px;
  font-weight: 800;
}

.metric-row strong {
  color: var(--ink);
  font-size: 16px;
}

.muted {
  color: var(--muted);
}

.turnover-table {
  display: grid;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.prometi-grid .turnover-card,
.prometi-grid .turnover-table {
  border-right: 0;
  border-left: 0;
  border-radius: 0;
}

.prometi-grid .turnover-card {
  box-shadow: none;
}

.turnover-head,
.turnover-row {
  display: grid;
  grid-template-columns: 110px minmax(190px, 1fr) 100px 132px 132px 86px 132px;
  min-width: 884px;
}

.excel-head,
.excel-row {
  display: grid;
  grid-template-columns: 104px 135px 104px 94px 94px 110px 104px 90px 90px 90px 90px 62px 98px 108px;
  min-width: 1373px;
}

.archived-year-table .excel-head,
.archived-year-table .excel-row {
  grid-template-columns: 104px 135px 104px 94px 94px 110px 104px 90px 90px 90px 90px 62px 98px;
  min-width: 1265px;
}

.excel-head span,
.excel-row span {
  display: grid;
  align-items: center;
  min-height: 42px;
  padding: 6px 5px;
  border-right: 1px solid rgba(15, 23, 42, 0.18);
  border-bottom: 1px solid rgba(15, 23, 42, 0.18);
  font-size: 12px;
  line-height: 1.05;
  text-align: center;
  white-space: nowrap;
}

.excel-head span {
  font-weight: 800;
}

.excel-row span {
  font-weight: 500;
}

.excel-head span:last-child,
.excel-row span:last-child {
  border-right: 0;
}

.excel-head-combined {
  grid-template-rows: 46px 58px;
}

.excel-head-combined span {
  min-height: 0;
}

.excel-head-combined .date-head-main,
.excel-head-combined .day-total-head-main {
  grid-row: 1;
  min-height: 46px;
  color: #111827;
  background: #d9eaf7;
  font-size: 12px;
  font-weight: 950;
}

.excel-head-combined .date-head-main {
  grid-column: 1;
  grid-row: 1 / span 2;
  place-items: center;
  min-height: 104px;
  padding: 0;
  border-top: 1px solid rgba(15, 23, 42, 0.18);
}

.excel-head-combined .day-total-head-main {
  grid-column: 2;
}

.excel-head-combined .inkas-group {
  grid-column: 3 / span 4;
  grid-row: 1;
  color: #1f4e2b;
  background: #e2efda;
}

.excel-head-combined .black-group {
  grid-column: 7 / span 5;
  grid-row: 1;
  color: #9a4b00;
  background: #fff2cc;
}

.excel-head-combined .weekday-merged-head {
  grid-column: 12;
  grid-row: 1 / span 2;
  place-items: center;
  min-height: 104px;
  padding: 0;
  border-left: 1px solid rgba(15, 23, 42, 0.18);
  border-top: 1px solid rgba(15, 23, 42, 0.18);
  color: #9a4b00;
  background: #fff2cc;
  font-size: 12px;
  font-weight: 950;
}

.excel-head-combined .status-merged-head {
  grid-column: 13;
  grid-row: 1 / span 2;
  place-items: center;
  min-height: 104px;
  padding: 0;
  border-left: 1px solid rgba(15, 23, 42, 0.18);
  border-top: 1px solid rgba(15, 23, 42, 0.18);
  color: #3730a3;
  background: #e0e7ff;
  font-size: 12px;
  font-weight: 950;
}

.excel-head-combined .actions-merged-head {
  grid-column: 14;
  grid-row: 1 / span 2;
  place-items: center;
  min-height: 104px;
  padding: 0;
  border-left: 1px solid rgba(15, 23, 42, 0.18);
  border-top: 1px solid rgba(15, 23, 42, 0.18);
  color: #0f766e;
  background: #ccfbf1;
  font-size: 11px;
  font-weight: 950;
}

.excel-head-combined span:nth-child(7) {
  grid-column: 2;
  grid-row: 2;
  background: #ddebf7;
}

.excel-head-combined span:nth-child(8) {
  grid-column: 3;
}

.excel-head-combined span:nth-child(9) {
  grid-column: 4;
}

.excel-head-combined span:nth-child(10) {
  grid-column: 5;
}

.excel-head-combined span:nth-child(11) {
  grid-column: 6;
}

.excel-head-combined span:nth-child(n+8):nth-child(-n+11) {
  grid-row: 2;
  color: #1f4e2b;
  background: #e2efda;
}

.excel-head-combined span:nth-child(12) {
  grid-column: 7;
}

.excel-head-combined span:nth-child(n+12):nth-child(-n+14) {
  grid-row: 2;
  color: #9a4b00;
  background: #fff2cc;
}

.excel-head-combined .shift-subhead {
  gap: 2px;
  align-content: center;
  justify-items: center;
  min-height: 58px;
  padding: 7px 0 0;
}

.excel-head-combined span:nth-child(13) {
  grid-column: 8 / span 2;
}

.excel-head-combined span:nth-child(14) {
  grid-column: 10 / span 2;
}

.excel-head-combined .shift-subhead strong,
.excel-head-combined .shift-subhead em {
  display: block;
  font-style: normal;
  line-height: 1.05;
}

.excel-head-combined .shift-subhead strong {
  width: 100%;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(154, 75, 0, 0.28);
}

.excel-head-combined .shift-subhead em {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  min-height: 24px;
  font-size: 16px;
}

.excel-head-combined .shift-subhead b {
  display: grid;
  align-items: center;
  min-height: 24px;
  font-weight: 950;
}

.excel-head-combined .shift-subhead b + b {
  border-left: 1px solid rgba(154, 75, 0, 0.28);
}

.excel-row .date-cell {
  background: #fff;
}

.excel-row .day-total-cell {
  background: #ddebf7;
  font-weight: 950;
}

.excel-row .inkas-total-cell,
.excel-row .inkas-cell {
  background: #e2efda;
}

.excel-row .inkas-total-cell {
  color: #375623;
}

.excel-row .black-total-cell,
.excel-row .black-cell,
.excel-row .weekday-cell {
  background: #fff2cc;
}

.excel-row .status-cell {
  color: #3730a3;
  background: #e0e7ff;
  font-size: 9px;
  font-weight: 950;
  line-height: 1.05;
}

.excel-row .action-cell {
  display: grid;
  grid-template-columns: 28px 28px 28px;
  align-items: center;
  justify-content: start;
  gap: 7px;
  background: #fff;
  padding: 4px 0 4px 6px;
  overflow: visible;
}

.circle-action {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
}

.circle-action .app-icon {
  width: 15px;
  height: 15px;
}

.edit-action {
  color: #065f46;
  background: #dcfce7;
  border-color: #bbf7d0;
}

.delete-action {
  color: #991b1b;
  background: #fee2e2;
  border-color: #fecaca;
}

.deposit-delete-action {
  color: #991b1b;
  background: #fff1f2;
  border-color: #fecdd3;
}

.inline-hidden-form {
  display: none;
}

.edit-save-button,
.edit-cancel-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;
  text-decoration: none;
  cursor: pointer;
}

.edit-save-button {
  color: #fff;
  background: #0f9f7a;
}

.edit-cancel-button {
  color: #334155;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.14);
}

.edit-save-button .app-icon,
.edit-cancel-button .app-icon {
  width: 15px;
  height: 15px;
}

.turnover-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(8px);
}

.turnover-edit-modal {
  display: grid;
  gap: 14px;
  width: min(760px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  padding: 18px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 20px;
  background: #f8fafc;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.28);
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.modal-head p {
  margin: 0 0 4px;
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.modal-head strong {
  color: #0f172a;
  font-size: 24px;
  font-weight: 950;
}

.modal-close {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  color: #334155;
  background: #fff;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.modal-close .app-icon {
  width: 18px;
  height: 18px;
}

.modal-date-field {
  display: grid;
  gap: 6px;
  color: #334155;
  font-size: 12px;
  font-weight: 900;
}

.turnover-edit-modal input:not([data-money-input]),
.turnover-edit-modal textarea {
  width: 100%;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 12px;
  padding: 12px 14px;
  color: #0f172a;
  font: inherit;
  background: #fff;
}

.turnover-edit-modal .close-section {
  margin: 0;
}

.turnover-edit-modal.seller-form-modal {
  width: min(920px, 100%);
  padding: 0;
  background: #fff;
  border-radius: 20px;
}

.turnover-edit-modal.seller-form-modal .modal-seller-head {
  border-radius: 20px 20px 0 0;
  box-shadow: none;
}

.modal-live-total {
  display: grid;
  justify-items: end;
  gap: 3px;
  padding: 8px 10px;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
}

.modal-live-total small {
  color: rgba(255, 255, 255, 0.8);
  font-size: 10px;
  font-weight: 1000;
  text-transform: uppercase;
}

.modal-live-total strong {
  color: #fff7ed;
  font-size: 24px;
  line-height: 1;
}

.turnover-edit-modal.seller-form-modal .close-section,
.turnover-edit-modal.seller-form-modal .wide-field,
.turnover-edit-modal.seller-form-modal .form-actions-row {
  margin-inline: 18px;
}

.turnover-edit-modal.seller-form-modal .form-actions-row {
  margin-bottom: 18px;
}

.turnover-edit-modal.seller-form-modal .money-field input {
  min-height: 42px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  outline: 0;
  font-weight: 850;
}

.turnover-edit-modal .close-field-grid label,
.turnover-edit-modal .shift-close-grid label,
.turnover-edit-modal .wide-field {
  display: grid;
  gap: 6px;
  color: #334155;
  font-size: 12px;
  font-weight: 900;
}

.turnover-edit-modal .shift-close-grid fieldset {
  background: #fff;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.excel-row .black-total-cell {
  color: #c65911;
}

.excel-row.closed-row span {
  color: #808080;
  background: #e7e6e6;
}

.excel-row.closed-row .action-cell {
  background: #fff;
}

.excel-row.closed-row .action-cell .edit-action {
  color: #0f766e;
  background: #d8f5ee;
  border-color: #a7e7d8;
}

.excel-row.closed-row .action-cell .delete-action {
  color: #b42332;
  background: #ffe1e7;
  border-color: #ffc3cf;
}

.excel-row.duplicate-row span {
  color: #b91c1c;
  background: #fff1f2;
  border-top: 2px solid #dc2626;
  border-bottom: 2px solid #dc2626;
  font-weight: 950;
}

.excel-row.duplicate-row span:first-child {
  border-left: 2px solid #dc2626;
}

.excel-row.duplicate-row span:last-child {
  border-right: 2px solid #dc2626;
}

.excel-row.duplicate-row .status-duplicate {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #fff;
  background: #dc2626;
}

.excel-row.duplicate-row .status-duplicate .app-icon {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
}

.excel-row .status-deposit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #4338ca;
  background: #ede9fe;
}

.excel-row .status-deposit .app-icon {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
}

.web-deposit-pill {
  display: inline-block;
  padding: 1px 4px;
  color: #064e3b;
  background: #dcfce7;
  border: 0;
  border-radius: 5px;
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
  vertical-align: middle;
  white-space: nowrap;
  box-shadow: none;
}

.month-gap-row {
  min-width: 1373px;
  height: 12px;
  background: #fff;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.archived-year-table .month-gap-row {
  min-width: 1265px;
}

.excel-row.month-total-row span {
  min-height: 48px;
  color: #111827;
  background: #d9eaf7;
  border-top: 4px solid #111827;
  font-weight: 500;
}

.excel-row.month-total-row .month-total-label {
  padding-right: 6px;
  padding-left: 6px;
  font-size: 10px;
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
}

.excel-row.month-total-row span:nth-child(2) {
  font-size: 15px;
  font-weight: 950;
}

.excel-row.month-total-row span:nth-child(n+3):nth-child(-n+6) {
  color: #1f4e2b;
  background: #c6e0b4;
}

.excel-row.month-total-row span:nth-child(3) {
  font-size: 15px;
  font-weight: 950;
}

.excel-row.month-total-row span:nth-child(n+7):nth-child(-n+11) {
  color: #9a4b00;
  background: #fff2cc;
}

.excel-row.month-total-row span:nth-child(7) {
  background: #fff2cc;
  font-size: 15px;
  font-weight: 950;
}

.excel-row.month-total-row span:nth-child(12) {
  color: #9a4b00;
  background: #fff2cc;
}

.excel-row.month-total-row span:nth-child(13),
.excel-row.month-total-row span:nth-child(14) {
  background: transparent;
  border: 0;
}

@media (min-width: 861px) {
  .turnover-table {
    background: #f8fafc;
    border-color: #e2e8f0;
  }

  .excel-head,
  .excel-row {
    column-gap: 2px;
  }

  .excel-head span,
  .excel-row span {
    min-height: 40px;
    padding: 7px 6px;
    border-right: 0;
    border-bottom: 2px solid #fff;
    font-size: 11px;
    line-height: 1.08;
  }

  .excel-head span {
    letter-spacing: 0.02em;
    text-transform: uppercase;
  }

  .excel-head-combined {
    grid-template-rows: 44px 54px;
  }

  .excel-head-combined .date-head-main,
  .excel-head-combined .day-total-head-main {
    min-height: 44px;
    color: #1e3a8a;
    background: #dbeafe;
  }

  .excel-head-combined .date-head-main {
    min-height: 98px;
  }

  .excel-head-combined span:nth-child(7),
  .excel-row .day-total-cell {
    background: #e0f2fe;
  }

  .excel-head-combined .inkas-group,
  .excel-head-combined span:nth-child(n+8):nth-child(-n+11),
  .excel-row .inkas-total-cell,
  .excel-row .inkas-cell {
    color: #166534;
    background: #dcfce7;
  }

  .excel-head-combined .black-group,
  .excel-head-combined span:nth-child(n+12):nth-child(-n+14),
  .excel-row .black-total-cell,
  .excel-row .black-cell,
  .excel-row .weekday-cell {
    color: #92400e;
    background: #fef3c7;
  }

  .excel-head-combined .weekday-merged-head {
    min-height: 98px;
    color: #92400e;
    background: #fef3c7;
  }

  .excel-head-combined .status-merged-head,
  .excel-row .status-cell {
    color: #4338ca;
    background: #ede9fe;
  }

  .excel-row .status-cell.status-deposit {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1px;
    color: #4338ca;
    background: #ede9fe;
  }

  .excel-row .status-cell.status-deposit .web-deposit-pill {
    display: inline-block;
    vertical-align: middle;
    white-space: nowrap;
  }

  .excel-head-combined .actions-merged-head {
    color: #0f766e;
    background: #ccfbf1;
  }

  .excel-head-combined .inkas-group,
  .excel-head-combined .black-group,
  .excel-head-combined .weekday-merged-head,
  .excel-head-combined .status-merged-head,
  .excel-head-combined .actions-merged-head,
  .excel-row .inkas-total-cell,
  .excel-row .black-total-cell,
  .excel-row .weekday-cell,
  .excel-row .status-cell,
  .excel-row .action-cell {
    border-left: 2px solid #fff;
  }

  .excel-row:not(.month-total-row):not(.closed-row):hover span {
    filter: saturate(1.08) brightness(0.985);
  }

  .excel-row .date-cell {
    color: #0f172a;
    background: #fff;
    font-weight: 850;
  }

  .excel-row .day-total-cell,
  .excel-row .black-total-cell {
    font-size: 12px;
  }

  .excel-row .action-cell {
    grid-template-columns: repeat(3, 30px);
    justify-content: center;
    gap: 6px;
    padding: 5px 6px;
    background: #f0fdfa;
  }

  .excel-row .circle-action {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
    transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease;
  }

  .excel-row .circle-action:hover,
  .excel-row .circle-action:focus-visible {
    filter: saturate(1.08) brightness(0.98);
    transform: translateY(-1px);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72), 0 8px 16px rgba(15, 23, 42, 0.10);
  }

  .excel-row .circle-action .app-icon {
    width: 15px;
    height: 15px;
  }

  .excel-row.month-total-row span {
    min-height: 50px;
    border-top: 3px solid #111827;
  }

  .excel-row.month-total-row span:nth-child(n+3):nth-child(-n+6) {
    color: #14532d;
    background: #bbf7d0;
  }

  .excel-row.month-total-row span:nth-child(n+7):nth-child(-n+12) {
    color: #92400e;
    background: #fde68a;
  }
}

.empty-excel-row span {
  grid-column: 1 / -1;
  min-height: 64px;
  color: var(--muted);
  background: #fff;
  text-align: left;
}

.mobile-turnover-list {
  display: none;
}

.mobile-turnover-empty {
  padding: 16px;
  color: #64748b;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  font-weight: 850;
}

.mobile-month-total-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: center;
  padding: 12px;
  color: #0f172a;
  background:
    linear-gradient(135deg, rgba(236, 253, 245, 0.96), rgba(255, 255, 255, 0.98)),
    #fff;
  border: 1px solid #99f6e4;
  border-left: 0;
  border-radius: 16px;
  box-shadow: inset 0 0 0 1px rgba(15, 159, 122, 0.08), 0 8px 22px rgba(15, 23, 42, 0.05);
}

.mobile-month-breakdown,
.mobile-month-total {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.mobile-month-breakdown em,
.mobile-month-total small {
  color: #64748b;
  font-size: 9px;
  font-style: normal;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.mobile-month-breakdown,
.mobile-month-total {
  justify-items: center;
  padding: 7px 8px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
}

.mobile-month-breakdown strong,
.mobile-month-total strong {
  color: #0f172a;
  font-size: 12px;
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
}

.mobile-month-total {
  grid-column: 1 / -1;
  width: min(100%, 240px);
  justify-self: center;
  background: #064e3b;
  border-color: #064e3b;
}

.mobile-month-total small {
  color: rgba(255, 255, 255, 0.78);
}

.mobile-month-total strong {
  color: #bbf7d0;
  font-size: 14px;
}

.mobile-turnover-day {
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.mobile-turnover-day > summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 36px;
  gap: 10px;
  align-items: center;
  padding: 12px;
  color: #0f172a;
  background: #fff;
  border-left: 5px solid #10b981;
  cursor: pointer;
  list-style: none;
}

.mobile-turnover-day.has-deposit > summary {
  grid-template-columns: minmax(0, 1fr) 62px auto 36px;
}

.mobile-turnover-day[open] > summary {
  background: #ecfdf5;
  border-left-color: #0f9f7a;
}

.mobile-turnover-static {
  background: #f1f5f9;
  border-left: 5px solid #cbd5e1;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.04);
}

.mobile-turnover-static-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  background: #f1f5f9;
}

.mobile-turnover-static.has-deposit .mobile-turnover-static-row {
  grid-template-columns: minmax(0, 1fr) 62px auto;
}

.mobile-turnover-static .mobile-turnover-date strong {
  color: #475569;
}

.mobile-turnover-static .mobile-turnover-date small {
  color: #94a3b8;
}

.mobile-turnover-day > summary::-webkit-details-marker {
  display: none;
}

.mobile-turnover-date,
.mobile-turnover-total {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.mobile-turnover-date strong {
  color: #0f172a;
  font-size: 17px;
  font-weight: 950;
}

.mobile-turnover-date small,
.mobile-turnover-total small {
  color: #64748b;
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.mobile-turnover-total {
  justify-items: end;
  padding: 7px 9px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
}

.mobile-turnover-total strong {
  color: #064e3b;
  font-size: 16px;
  font-weight: 950;
  white-space: nowrap;
}

.mobile-turnover-arrow {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #064e3b;
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  transition: transform 180ms ease;
}

.mobile-turnover-arrow .app-icon {
  width: 18px;
  height: 18px;
}

.mobile-turnover-day[open] .mobile-turnover-arrow {
  transform: rotate(180deg);
}

.mobile-turnover-deposit {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  justify-content: center;
  column-gap: 6px;
  row-gap: 2px;
  min-width: 0;
  max-width: 132px;
  padding: 6px 8px;
  color: #065f46;
  background: #dcfce7;
  border: 1px solid #86efac;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.mobile-turnover-deposit span {
  display: block;
  color: #047857;
  font-size: 9px;
  line-height: 1;
  white-space: nowrap;
}

.mobile-turnover-deposit .app-icon {
  grid-row: 1 / span 2;
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
}

.mobile-turnover-deposit strong {
  color: #064e3b;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}

.mobile-turnover-deposit.is-compact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 62px;
  height: 32px;
  max-width: none;
  padding: 0;
  border-radius: 999px;
}

.mobile-turnover-deposit.is-compact span {
  display: block;
  font-size: 9px;
  font-weight: 1000;
  line-height: 1;
}

.mobile-turnover-deposit.is-compact .app-icon {
  grid-row: auto;
  width: 14px;
  height: 14px;
}

.mobile-turnover-body {
  display: grid;
  gap: 10px;
  padding: 10px;
  background: #f8fafc;
}

.mobile-close-summary {
  margin-inline: 0;
  gap: 10px;
}

.mobile-close-summary .summary-block {
  position: relative;
  box-shadow: none;
}

.mobile-close-summary .summary-block-head {
  justify-content: center;
  min-height: 22px;
  padding-inline: 8px;
  text-align: center;
}

.mobile-close-summary .summary-block-head span {
  display: none;
}

.mobile-close-summary .summary-block-head strong {
  font-size: 11px;
  font-weight: 1000;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.mobile-close-summary .seller-summary-total {
  margin: 0;
}

.mobile-close-summary .summary-mini-grid span {
  position: relative;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  text-align: center;
  padding: 22px 8px 10px;
}

.mobile-close-summary .summary-mini-grid em {
  position: absolute;
  top: -12px;
  left: 10px;
  width: 24px;
  height: 24px;
  font-size: 12px;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.16);
  border: 2px solid #fff;
}

.mobile-close-summary .summary-mini-grid small {
  text-align: center;
}

.mobile-close-summary .summary-mini-grid strong {
  white-space: nowrap;
  overflow-wrap: normal;
  font-size: clamp(12px, 3.3vw, 15px);
  text-align: center;
}

.mobile-turnover-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 34px;
  padding: 7px 10px;
  color: #3730a3;
  background: #e0e7ff;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.mobile-turnover-status .app-icon {
  width: 14px;
  height: 14px;
}

.mobile-turnover-status.status-deposit {
  color: #065f46;
  background: #bbf7d0;
}

.mobile-turnover-status.status-deposit strong {
  color: #064e3b;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}

.mobile-turnover-status.status-closed {
  min-height: 47px;
  padding-inline: 10px;
  color: #475569;
  background: #e2e8f0;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
}

.mobile-turnover-status.status-duplicate {
  color: #fff;
  background: #dc2626;
}

.mobile-summary-block {
  display: grid;
  gap: 9px;
  padding: 10px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  background: #fff;
}

.mobile-summary-block.is-inkas {
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.mobile-summary-block.is-black {
  background: #fffbeb;
  border-color: #fde68a;
}

.mobile-summary-head {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
}

.mobile-summary-head span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #fff;
  background: #0f9f7a;
  border-radius: 11px;
}

.mobile-summary-block.is-black .mobile-summary-head span {
  background: #111827;
}

.mobile-summary-head .app-icon {
  width: 18px;
  height: 18px;
}

.mobile-summary-head strong {
  color: #0f172a;
  font-size: 16px;
  font-weight: 950;
}

.mobile-summary-head em {
  color: #0f172a;
  font-style: normal;
  font-size: 15px;
  font-weight: 950;
  white-space: nowrap;
}

.mobile-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.mobile-summary-grid.two-shifts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mobile-summary-grid span {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 8px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 11px;
}

.mobile-summary-grid small {
  color: #64748b;
  font-size: 9px;
  font-weight: 950;
  text-transform: uppercase;
}

.mobile-summary-grid strong {
  color: #0f172a;
  font-size: 13px;
  font-weight: 950;
  white-space: nowrap;
}

.mobile-day-total {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 11px 12px;
  color: #fff;
  background: #0f172a;
  border-radius: 14px;
}

.mobile-day-total small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.mobile-day-total strong {
  color: #fff;
  font-size: 18px;
  font-weight: 950;
}

.mobile-turnover-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.mobile-action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 42px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 950;
  text-decoration: none;
}

.mobile-action-button .app-icon {
  width: 16px;
  height: 16px;
}

.turnover-head {
  color: #475569;
  background: #ecfdf5;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.turnover-head span,
.turnover-row span {
  padding: 12px;
  border-bottom: 1px solid var(--line);
}

.turnover-row:last-child span {
  border-bottom: 0;
}

.turnover-row small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.users-card {
  grid-column: 1 / -1;
}

.users-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.user-row {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 140px 150px minmax(240px, auto);
  gap: 12px;
  align-items: center;
  padding: 14px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.user-row strong,
.user-row span {
  display: block;
}

.user-identity {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.user-identity strong,
.user-identity span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-identity span {
  color: var(--muted);
  font-size: 13px;
}

.access-status,
.access-role {
  display: grid;
  place-items: center;
}

.access-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.user-row select,
.user-row button,
.role-display,
.super-admin-lock {
  height: 40px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  line-height: 1;
}

.user-row select,
.role-display,
.status-pill {
  width: 100%;
  text-align: center;
}

.user-row select {
  display: block;
  color: var(--ink);
  background: #fff;
  line-height: 40px;
  appearance: none;
  text-align-last: center;
}

.role-display,
.super-admin-lock {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  position: relative;
  color: var(--primary-dark);
  background: #fff;
  line-height: 1;
}

.pill-text {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 100%;
  line-height: 1;
  text-align: center;
  transform: translate(-50%, -50%);
}

.super-admin-lock {
  min-width: 170px;
  color: #666;
  background: transparent;
  border-style: dashed;
}

.user-row button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #fff;
  background: var(--primary);
  cursor: pointer;
}

.user-row .danger-action {
  color: #fff;
  background: var(--danger);
}

.user-row button:disabled,
.user-row select:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.status-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  position: relative;
  height: 40px;
  min-height: 40px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
}

.status-pending {
  color: #92400e;
  background: #fef3c7;
}

.status-approved {
  color: #047857;
  background: #d1fae5;
}

.status-rejected {
  color: #991b1b;
  background: #fee2e2;
}

.access-state {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 24px;
}

.access-card {
  display: grid;
  justify-items: center;
  width: min(100%, 520px);
  padding: 34px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.access-card h1 {
  margin: 22px 0 10px;
  font-size: clamp(30px, 4vw, 46px);
}

.access-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.access-user {
  display: grid;
  gap: 4px;
  margin: 24px 0;
  padding: 14px 18px;
  background: #f8fafc;
  border-radius: 12px;
}

.access-user span {
  color: var(--muted);
}

.quiet-link {
  color: var(--primary-dark);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-height: 640px) {
  .mundo-login-page {
    min-height: 460px;
    padding: 6px;
  }

  .mundo-frame {
    height: calc(100vh - 12px);
    height: calc(100svh - 12px);
    min-height: 448px;
  }

  .mundo-brand {
    margin-top: 10px;
    font-size: 22px;
  }

  .mundo-hero-art {
    height: 132px;
    margin-bottom: 8px;
  }

  .mundo-auth-button {
    height: 46px;
    border-radius: 14px;
    font-size: 15px;
  }

  .mundo-footer {
    margin-bottom: 8px;
    font-size: 10px;
  }
}

@media (max-width: 860px) {
  .turnover-modal-backdrop {
    padding: 0;
    place-items: stretch;
  }

  .app-sidebar {
    display: none;
  }

  .lobby-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-left: 0;
    padding: 8px;
  }

  .analytics-hero {
    display: grid;
    min-height: 0;
  }

  .analytics-year-picker {
    width: 100%;
  }

  .analytics-kpis,
  .analytics-grid,
  .analytics-grid-equal,
  .insight-split {
    grid-template-columns: 1fr;
  }

  .month-bar-row {
    grid-template-columns: 38px minmax(0, 1fr) 112px;
    gap: 8px;
  }

  .month-bar-row strong {
    font-size: 11px;
  }

  .share-row {
    grid-template-columns: 38px minmax(0, 1fr) 58px;
    gap: 8px;
  }

  .growth-row {
    grid-template-columns: minmax(86px, 1fr) 78px 56px;
    gap: 7px;
    padding: 8px;
  }

  .growth-row span {
    font-size: 12px;
  }

  .growth-row strong {
    font-size: 12px;
  }

  .year-color-legend {
    justify-content: flex-start;
  }

  .year-color-chart {
    grid-template-columns: repeat(auto-fit, minmax(64px, 1fr));
    gap: 8px;
    min-height: 220px;
    padding: 10px;
  }

  .year-color-month {
    min-height: 190px;
  }

  .year-color-bars {
    min-height: 160px;
    gap: 4px;
    padding-inline: 4px;
  }

  .year-color-bars span {
    width: 12px;
    height: 150px;
  }

  .mundo-login-page {
    min-height: 500px;
    padding: 8px;
  }

  .mundo-frame {
    height: calc(100vh - 16px);
    height: calc(100svh - 16px);
    min-height: 484px;
    border-radius: 20px;
  }

  .mundo-brand {
    margin: 12px 0 0 12px;
    padding: 7px 11px;
    font-size: 24px;
  }

  .mundo-center {
    padding: 10px 14px 12px;
  }

  .mundo-hero-art {
    height: clamp(132px, 27vh, 190px);
    margin-bottom: 10px;
  }

  .mundo-footer {
    max-width: calc(100% - 24px);
    margin-bottom: 10px;
    padding: 8px 11px;
    font-size: 11px;
  }

  .user-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .access-status,
  .access-role {
    place-items: stretch;
  }

  .access-actions {
    justify-content: stretch;
  }

  .access-actions button,
  .access-actions .super-admin-lock {
    flex: 1 1 150px;
  }

  .lobby-header {
    position: sticky;
    top: 0;
    z-index: 20;
    align-items: center;
    margin-left: 0;
    padding: 12px 14px;
    background: rgba(246, 246, 247, 0.96);
    backdrop-filter: blur(14px);
  }

  .seller-layout .lobby-header {
    z-index: 50;
    color: #fff;
    background:
      linear-gradient(135deg, rgba(5, 46, 22, 0.98), rgba(6, 95, 70, 0.95)),
      #064e3b;
    border-bottom-color: rgba(255, 255, 255, 0.18);
  }

  .header-left {
    display: flex;
    min-width: 0;
    align-items: center;
    width: 100%;
  }

  .admin-layout .header-left {
    flex: 0 0 auto;
    width: auto;
  }

  .admin-layout .header-nav {
    display: none;
  }

  .admin-mobile-menu {
    display: block;
  }

  .seller-layout .header-nav {
    width: 100%;
    gap: 6px;
  }

  .header-nav a {
    flex: 1 1 145px;
    justify-content: center;
    min-height: 40px;
    padding: 0 10px;
    font-size: 13px;
  }

  .latest-closes-grid {
    grid-template-columns: 1fr;
  }

  .prometi-header-row {
    grid-template-columns: 1fr;
  }

  .header-year-picker,
  .header-right-metrics,
  .header-polog-card,
  .header-promet-total {
    justify-self: stretch;
    width: 100%;
  }

  .header-right-metrics {
    grid-template-columns: 1fr;
  }

  .header-total-main strong {
    font-size: 24px;
  }

  .show-sidebar {
    display: none;
  }

  .sidebar-state:checked ~ .lobby-header .hamburger-menu {
    display: block;
  }

  .lobby-header .brand-row {
    min-width: 0;
    gap: 8px;
  }

  .lobby-header .brand-row > span:last-child {
    max-width: 118px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .brand-mark,
  .hamburger-menu summary {
    width: 42px;
    height: 42px;
    border-radius: 11px;
  }

  .hamburger-menu[open]::before {
    display: block;
    background: rgba(0, 0, 0, 0.42);
  }

  .hamburger-menu[open] summary {
    position: fixed;
    top: 12px;
    left: 14px;
    z-index: 12;
  }

  .menu-panel {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    align-content: start;
    width: min(82vw, 330px);
    min-width: 0;
    padding: 84px 14px 18px;
    border-width: 0 1px 0 0;
    border-radius: 0;
    box-shadow: 24px 0 70px rgba(0, 0, 0, 0.22);
  }

  .menu-panel::before {
    position: absolute;
    top: 24px;
    left: 18px;
    color: #111;
    font-size: 24px;
    font-weight: 900;
    content: "Mundo";
  }

  .menu-panel a {
    padding: 16px;
    font-size: 17px;
  }

  .admin-mobile-menu[open]::before {
    display: none;
  }

  .admin-mobile-menu[open] summary {
    position: relative;
    top: auto;
    left: auto;
    z-index: 12;
  }

  .admin-mobile-menu .menu-panel {
    position: absolute;
    top: calc(100% + 10px);
    bottom: auto;
    left: 0;
    width: min(86vw, 310px);
    min-width: 0;
    padding: 8px;
    border-width: 1px;
    border-radius: 16px;
    box-shadow: 0 20px 55px rgba(15, 23, 42, 0.24);
  }

  .admin-mobile-menu .menu-panel::before {
    display: none;
  }

  .admin-mobile-menu .menu-panel a {
    padding: 13px 14px;
    color: #334155;
    font-size: 15px;
  }

  .admin-mobile-menu .mobile-menu-account {
    display: grid;
    gap: 10px;
    margin-bottom: 8px;
    padding: 12px;
    color: #0f172a;
    background: linear-gradient(135deg, #ecfdf5, #eff6ff);
    border: 1px solid rgba(15, 159, 122, 0.16);
    border-radius: 14px;
  }

  .mobile-menu-userline {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
  }

  .mobile-menu-userline img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
  }

  .mobile-menu-userline div {
    display: grid;
    gap: 3px;
    min-width: 0;
  }

  .mobile-menu-userline strong {
    min-width: 0;
    overflow: hidden;
    color: #0f172a;
    font-size: 15px;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-menu-userline span {
    justify-self: start;
    padding: 4px 8px;
    color: #064e3b;
    background: #d1fae5;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 1000;
    line-height: 1;
  }

  .mobile-menu-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .admin-mobile-menu .mobile-menu-actions .notification-toggle,
  .admin-mobile-menu .mobile-menu-actions .logout-link {
    justify-content: center;
    min-height: 38px;
    padding: 0 10px;
    border-radius: 11px;
    font-size: 12px;
    font-weight: 1000;
  }

  .admin-mobile-menu .mobile-menu-actions .logout-link {
    color: #0f172a;
    background: #fff;
    border: 1px solid var(--line);
    text-decoration: none;
  }

  .admin-layout .lobby-header > .user-pill .role-pill,
  .admin-layout .lobby-header > .user-pill .notification-toggle,
  .admin-layout .lobby-header > .user-pill .logout-link {
    display: none;
  }

  .user-pill {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
    font-size: 13px;
  }

  .user-pill img {
    width: 28px;
    height: 28px;
  }

  .role-pill {
    padding: 6px 9px;
    font-size: 11px;
  }

  .table-card {
    min-height: 0;
    padding: 12px;
    border-radius: 10px;
  }

  .table-card h2 {
    font-size: 28px;
    line-height: 1.05;
  }

  .day-close-form {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .turnover-edit-modal.seller-form-modal {
    align-content: start;
    gap: 7px;
    width: 100vw;
    max-width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    overflow: hidden;
    border: 0;
    border-radius: 0;
  }

  .turnover-edit-modal.seller-form-modal .modal-seller-head {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 7px;
    padding: 8px 10px;
    border-radius: 0;
  }

  .turnover-edit-modal.seller-form-modal .seller-summary-title {
    min-width: 0;
    gap: 7px;
  }

  .turnover-edit-modal.seller-form-modal .seller-summary-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 11px;
    font-size: 16px;
  }

  .turnover-edit-modal.seller-form-modal .seller-summary-head p {
    font-size: 10px;
    line-height: 1;
    white-space: nowrap;
  }

  .turnover-edit-modal.seller-form-modal .seller-summary-head h1 {
    overflow: hidden;
    font-size: 19px;
    line-height: 1.02;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .turnover-edit-modal.seller-form-modal .modal-live-total {
    min-width: 82px;
    padding: 6px 7px;
    border-radius: 11px;
  }

  .turnover-edit-modal.seller-form-modal .modal-live-total small {
    font-size: 8px;
  }

  .turnover-edit-modal.seller-form-modal .modal-live-total strong {
    font-size: 15px;
    white-space: nowrap;
  }

  .turnover-edit-modal.seller-form-modal .close-section,
  .turnover-edit-modal.seller-form-modal .wide-field,
  .turnover-edit-modal.seller-form-modal .form-actions-row {
    margin-inline: 8px;
  }

  .turnover-edit-modal.seller-form-modal .close-section {
    gap: 7px;
    padding: 8px;
    border-radius: 12px;
  }

  .turnover-edit-modal.seller-form-modal .close-section-title {
    gap: 7px;
  }

  .turnover-edit-modal.seller-form-modal .close-section-title p {
    font-size: 9px;
  }

  .turnover-edit-modal.seller-form-modal .close-section-title strong {
    font-size: 13px;
  }

  .turnover-edit-modal.seller-form-modal .close-section-icon {
    width: 30px;
    height: 30px;
    border-radius: 10px;
  }

  .turnover-edit-modal.seller-form-modal .close-field-grid,
  .turnover-edit-modal.seller-form-modal .shift-close-grid {
    gap: 7px;
  }

  .turnover-edit-modal.seller-form-modal .shift-close-grid fieldset {
    gap: 6px;
    padding: 8px;
    border-radius: 12px;
  }

  .turnover-edit-modal.seller-form-modal .shift-close-grid legend {
    margin-bottom: 3px;
    font-size: 10px;
  }

  .turnover-edit-modal.seller-form-modal .close-field-grid label,
  .turnover-edit-modal.seller-form-modal .shift-close-grid label,
  .turnover-edit-modal.seller-form-modal .wide-field {
    gap: 4px;
    font-size: 10px;
  }

  .turnover-edit-modal.seller-form-modal .money-field {
    min-height: 36px;
    border-radius: 11px;
  }

  .turnover-edit-modal.seller-form-modal .money-field input {
    min-height: 34px;
    font-size: 16px;
  }

  .turnover-edit-modal.seller-form-modal .wide-field textarea {
    min-height: 44px;
    max-height: 44px;
    padding: 8px 10px;
    border-radius: 11px;
    font-size: 13px;
  }

  .turnover-edit-modal.seller-form-modal .form-actions-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin-bottom: 8px;
  }

  .turnover-edit-modal.seller-form-modal .secondary-action,
  .turnover-edit-modal.seller-form-modal .primary-action {
    min-height: 40px;
    padding-inline: 8px;
    font-size: 11px;
    line-height: 1.05;
  }

  .turnover-edit-modal.seller-form-modal .secondary-action .app-icon,
  .turnover-edit-modal.seller-form-modal .primary-action .app-icon {
    width: 16px;
    height: 16px;
  }

  .day-close-form input,
  .day-close-form select,
  .day-close-form textarea {
    min-height: 48px;
    font-size: 16px;
  }

  .primary-action {
    min-height: 52px;
  }

  .seller-summary-head {
    align-items: stretch;
    margin: 0;
    padding: 14px;
    border-radius: 0;
  }

  .seller-summary-icon {
    width: 50px;
    height: 50px;
  }

  .summary-day-nav {
    gap: 6px;
  }

  .summary-day-nav a,
  .summary-day-nav span {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .seller-summary-card {
    gap: 10px;
  }

  .seller-summary-breakdown {
    gap: 9px;
    margin-inline: 8px;
  }

  .summary-block {
    gap: 8px;
    padding: 10px;
    border-radius: 14px;
  }

  .summary-block-head span {
    width: 29px;
    height: 29px;
    border-radius: 10px;
  }

  .summary-block-head strong {
    font-size: 16px;
  }

  .summary-mini-grid {
    gap: 7px;
  }

  .summary-mini-grid span {
    padding: 8px;
  }

  .summary-mini-grid em {
    width: 25px;
    height: 25px;
  }

  .summary-mini-grid strong {
    font-size: 14px;
  }

  .summary-subtotal,
  .seller-summary-total {
    padding: 10px 11px;
    border-radius: 12px;
  }

  .seller-summary-grid {
    grid-template-columns: 1fr;
  }

  .seller-close-card {
    max-width: none;
  }

  .seller-close-head {
    align-items: flex-start;
  }

  .seller-close-icon {
    width: 52px;
    height: 52px;
    border-radius: 15px;
  }

  .close-date-row,
  .two-cols,
  .shift-close-grid,
  .shift-close-grid fieldset {
    grid-template-columns: 1fr;
  }

  .close-date-row {
    display: grid;
    border-width: 0 0 1px;
    border-radius: 0;
  }

  .lobby-header .close-date-row {
    grid-template-columns: minmax(130px, 50%) auto;
    margin: 8px 0 0;
    padding: 8px 0 0;
    border-width: 1px 0 0;
  }

  .close-date-control {
    display: grid;
    gap: 8px;
  }

  .close-date-row input {
    max-width: none;
  }

  .live-total {
    justify-self: end;
    font-size: clamp(20px, 6vw, 28px);
  }

  .date-segments,
  .flatpickr-wrap {
    width: 100%;
  }

  .lobby-header .date-segments,
  .lobby-header .flatpickr-wrap {
    width: 100%;
  }

  .date-segment-icon {
    width: 32px;
    height: 32px;
  }

  .date-segment span {
    min-height: 32px;
    padding-inline: 6px;
  }

  .flatpickr-calendar {
    width: min(318px, calc(100vw - 28px));
  }

  .section-title {
    display: grid;
  }

  .prometi-sticky {
    top: 70px;
    grid-template-columns: 1fr;
    margin: 0 0 18px;
    padding: 14px;
  }

  .prometi-metrics {
    grid-template-columns: 1fr;
  }

  .metric-row {
    justify-content: stretch;
  }

  .metric-row span {
    min-width: 0;
  }
}

@media (max-width: 860px) {
  .admin-layout .lobby-header {
    position: sticky;
    top: 0;
    z-index: 70;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 64px;
    padding: 10px 12px 10px 54px;
  }

  .admin-layout .header-left {
    position: static;
    flex: 0 0 0;
    width: 0;
    min-width: 0;
    height: 0;
    overflow: visible;
  }

  .admin-layout .admin-mobile-menu {
    position: fixed;
    top: 72px;
    left: 0;
    z-index: 90;
    display: block;
    width: 0;
    height: 0;
  }

  .admin-layout .admin-mobile-menu summary {
    position: fixed;
    top: 82px;
    left: -2px;
    z-index: 94;
    width: 38px;
    height: 64px;
    color: #fff;
    background: linear-gradient(135deg, #064e3b, #0f9f7a);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-left: 0;
    border-radius: 0 18px 18px 0;
    box-shadow: 0 16px 38px rgba(6, 78, 59, 0.28);
    transform: translateX(0);
    transition:
      left 260ms cubic-bezier(.2, .8, .2, 1),
      width 260ms cubic-bezier(.2, .8, .2, 1),
      border-radius 260ms ease,
      background 180ms ease,
      box-shadow 180ms ease;
  }

  .admin-layout .admin-mobile-menu summary::after {
    position: absolute;
    right: 5px;
    color: rgba(255, 255, 255, 0.96);
    content: "›";
    font-size: 24px;
    font-weight: 1000;
    line-height: 1;
    transform: translateY(-1px);
  }

  .admin-layout .admin-mobile-menu summary .app-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    opacity: 0.92;
  }

  .admin-layout .admin-mobile-menu[open] summary {
    left: min(82vw, 318px);
    width: 42px;
    height: 54px;
    background: #064e3b;
    border-radius: 0 15px 15px 0;
    box-shadow: 0 14px 34px rgba(6, 78, 59, 0.34);
  }

  .admin-layout .admin-mobile-menu[open] summary::after {
    content: "‹";
    right: 7px;
  }

  .admin-layout .admin-mobile-menu[open] summary .app-icon {
    display: none;
  }

  .admin-layout .admin-mobile-menu::before {
    position: fixed;
    inset: 64px 0 0;
    z-index: 91;
    display: block;
    content: "";
    background: rgba(15, 23, 42, 0);
    opacity: 0;
    pointer-events: none;
    transition: opacity 260ms ease, background 260ms ease;
  }

  .admin-layout .admin-mobile-menu[open]::before {
    background: rgba(15, 23, 42, 0.36);
    opacity: 1;
    pointer-events: auto;
  }

  .admin-layout .admin-mobile-menu .menu-panel {
    position: fixed;
    top: 64px;
    bottom: 0;
    left: 0;
    z-index: 92;
    display: grid;
    align-content: start;
    width: min(82vw, 320px);
    min-width: 0;
    padding: 18px 12px max(18px, env(safe-area-inset-bottom));
    overflow-y: auto;
    color: #0f172a;
    background:
      linear-gradient(145deg, rgba(236, 253, 245, 0.98), rgba(239, 246, 255, 0.98)),
      #fff;
    border: 0;
    border-right: 1px solid rgba(15, 159, 122, 0.18);
    border-radius: 0 24px 0 0;
    box-shadow: 26px 0 70px rgba(15, 23, 42, 0.28);
    transform: translateX(-104%);
    transition: transform 300ms cubic-bezier(.2, .8, .2, 1);
  }

  .admin-layout .admin-mobile-menu[open] .menu-panel {
    transform: translateX(0);
  }

  .admin-layout .admin-mobile-menu .menu-panel::before {
    display: block;
    position: static;
    margin: 0 0 12px;
    padding: 0 4px;
    color: #064e3b;
    content: "MUNDO";
    font-size: 20px;
    font-weight: 1000;
    letter-spacing: 0;
  }

  .admin-layout .admin-mobile-menu .mobile-menu-account {
    display: grid;
    gap: 10px;
    margin-bottom: 10px;
    padding: 12px;
    color: #0f172a;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(15, 159, 122, 0.16);
    border-radius: 16px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
  }

  .admin-layout .admin-mobile-menu .menu-panel a {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 48px;
    margin-top: 6px;
    padding: 0 14px;
    color: #1e293b;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: 14px;
    font-size: 15px;
    font-weight: 950;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05);
  }

  .admin-layout .admin-mobile-menu .menu-panel a.active {
    color: #fff;
    background: linear-gradient(135deg, #0f9f7a, #2563eb);
    border-color: transparent;
    box-shadow: 0 16px 34px rgba(15, 159, 122, 0.24);
  }

  .admin-layout .mobile-menu-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .admin-layout .admin-mobile-menu .mobile-menu-actions .notification-toggle,
  .admin-layout .admin-mobile-menu .mobile-menu-actions .logout-link {
    justify-content: center;
    min-height: 40px;
    padding: 0 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 1000;
  }

  .admin-layout .admin-mobile-menu .mobile-menu-actions .logout-link {
    color: #0f172a;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.1);
  }

  .admin-layout .lobby-header > .user-pill {
    margin-left: 0;
    color: #fff;
  }
}

/* mobile prometi side final override */
@media (max-width: 860px) {
  .admin-layout .lobby-header {
    position: sticky;
    top: 0;
    z-index: 80;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
    padding: 10px 12px;
  }

  .admin-layout .header-left,
  .admin-layout .admin-mobile-menu {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    height: auto;
    overflow: visible;
  }

  .admin-layout .admin-mobile-menu summary,
  .admin-layout .admin-mobile-menu[open] summary {
    position: relative;
    top: auto;
    left: auto;
    z-index: 96;
    width: 42px;
    height: 42px;
    margin: 0;
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 13px;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.14);
    transform: none;
    transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
  }

  .admin-layout .admin-mobile-menu[open] summary {
    background: rgba(6, 78, 59, 0.88);
    box-shadow: 0 14px 34px rgba(6, 78, 59, 0.28);
    transform: scale(0.98);
  }

  .admin-layout .admin-mobile-menu summary::after,
  .admin-layout .admin-mobile-menu[open] summary::after {
    display: none;
    content: none;
  }

  .admin-layout .admin-mobile-menu summary .app-icon,
  .admin-layout .admin-mobile-menu[open] summary .app-icon {
    display: block;
    width: 22px;
    height: 22px;
    margin: 0;
    opacity: 1;
  }

  .admin-layout .admin-mobile-menu::before {
    position: fixed;
    inset: 64px 0 0;
    z-index: 88;
    display: block;
    content: "";
    background: rgba(15, 23, 42, 0);
    opacity: 0;
    pointer-events: none;
    transition: opacity 260ms ease, background 260ms ease;
  }

  .admin-layout .admin-mobile-menu[open]::before {
    background: rgba(15, 23, 42, 0.34);
    opacity: 1;
    pointer-events: auto;
  }

  .admin-layout .admin-mobile-menu .menu-panel {
    position: fixed;
    top: 64px;
    bottom: auto;
    left: 0;
    z-index: 93;
    display: grid;
    align-content: start;
    width: min(88vw, 360px);
    min-width: 0;
    max-height: 292px;
    padding: 16px 12px 10px;
    overflow-y: auto;
    color: #0f172a;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    transform: translateX(-106%);
    transition: transform 300ms cubic-bezier(.2, .8, .2, 1);
  }

  .admin-layout .admin-mobile-menu[open] .menu-panel {
    transform: translateX(0);
  }

  .admin-layout .admin-mobile-menu .menu-panel::before {
    display: block;
    position: static;
    margin: 0 0 10px;
    padding: 0 4px;
    color: #064e3b;
    content: "MUNDO";
    font-size: 20px;
    font-weight: 1000;
  }

  .admin-layout .prometi-header-row {
    position: fixed;
    top: 64px;
    bottom: 0;
    left: 0;
    z-index: 92;
    display: grid;
    grid-template-columns: 1fr;
    align-content: start;
    width: min(88vw, 360px);
    padding: 304px 12px max(18px, env(safe-area-inset-bottom));
    overflow-y: auto;
    color: #0f172a;
    background: linear-gradient(145deg, rgba(236, 253, 245, 0.98), rgba(239, 246, 255, 0.98)), #fff;
    border: 0;
    border-right: 1px solid rgba(15, 159, 122, 0.18);
    border-radius: 0 24px 0 0;
    box-shadow: 26px 0 70px rgba(15, 23, 42, 0.28);
    transform: translateX(-106%);
    transition: transform 300ms cubic-bezier(.2, .8, .2, 1);
  }

  .admin-layout.mobile-menu-open .prometi-header-row,
  .admin-layout .lobby-header:has(.admin-mobile-menu[open]) .prometi-header-row {
    transform: translateX(0);
  }

  .admin-layout .prometi-header-row .header-year-picker,
  .admin-layout .prometi-header-row .header-right-metrics,
  .admin-layout .prometi-header-row .header-polog-card,
  .admin-layout .prometi-header-row .header-promet-total {
    justify-self: stretch;
    width: 100%;
  }

  .admin-layout .prometi-header-row .header-right-metrics {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .admin-layout .prometi-header-row .header-polog-card,
  .admin-layout .prometi-header-row .header-total-main,
  .admin-layout .prometi-header-row .header-total-split span {
    background: rgba(255, 255, 255, 0.82);
    border-color: rgba(15, 23, 42, 0.08);
  }

  .admin-layout .prometi-header-row .header-polog-card strong,
  .admin-layout .prometi-header-row .header-total-split strong {
    color: #0f172a;
  }

  .admin-layout .lobby-header > .user-pill {
    flex: 0 1 auto;
    margin-left: auto;
    color: #fff;
  }
}


/* final separated mobile menu and prometi side */
.prometi-side-panel {
  display: contents;
}

.prometi-side-panel > summary {
  display: none;
}

@media (max-width: 860px) {
  .admin-layout .lobby-header {
    position: sticky;
    top: 0;
    z-index: 80;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
    padding: 10px 12px;
  }

  .admin-layout .header-left {
    position: relative;
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
    height: auto;
    overflow: visible;
  }

  .admin-layout .admin-mobile-menu {
    position: relative;
    top: auto;
    left: auto;
    z-index: 95;
    display: block;
    width: auto;
    height: auto;
    overflow: visible;
  }

  .admin-layout .admin-mobile-menu summary,
  .admin-layout .admin-mobile-menu[open] summary {
    position: relative;
    top: auto;
    left: auto;
    z-index: 96;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin: 0;
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 13px;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.14);
    transform: none;
  }

  .admin-layout .admin-mobile-menu summary::after,
  .admin-layout .admin-mobile-menu[open] summary::after {
    display: none;
    content: none;
  }

  .admin-layout .admin-mobile-menu summary .app-icon,
  .admin-layout .admin-mobile-menu[open] summary .app-icon {
    display: block;
    width: 22px;
    height: 22px;
    margin: 0;
    opacity: 1;
  }

  .admin-layout .admin-mobile-menu[open]::before {
    display: none;
  }

  .admin-layout .admin-mobile-menu .menu-panel {
    position: absolute;
    top: calc(100% + 10px);
    bottom: auto;
    left: 0;
    z-index: 97;
    display: grid;
    align-content: start;
    width: min(86vw, 310px);
    min-width: 0;
    max-height: calc(100vh - 90px);
    padding: 8px;
    overflow-y: auto;
    color: #0f172a;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 16px;
    box-shadow: 0 20px 55px rgba(15, 23, 42, 0.24);
    transform: none;
  }

  .admin-layout .admin-mobile-menu .menu-panel::before {
    display: none;
  }

  .admin-layout .admin-mobile-menu .menu-panel a {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 44px;
    margin-top: 0;
    padding: 0 13px;
    color: #334155;
    background: transparent;
    border: 0;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 900;
    box-shadow: none;
  }

  .admin-layout .admin-mobile-menu .menu-panel a.active {
    color: #fff;
    background: linear-gradient(135deg, #0f9f7a, #2563eb);
    box-shadow: 0 12px 28px rgba(15, 159, 122, 0.22);
  }

  .admin-layout .lobby-header > .user-pill {
    flex: 0 1 auto;
    margin-left: auto;
    color: #fff;
  }

  .prometi-side-panel {
    display: block;
  }

  .prometi-side-panel > summary {
    position: fixed;
    top: 214px;
    left: -14px;
    z-index: 87;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    width: 54px;
    height: 54px;
    padding: 0;
    color: #fff;
    background:
      linear-gradient(135deg, rgba(15, 159, 122, 0.98), rgba(37, 99, 235, 0.94)),
      #0f9f7a;
    border: 0;
    border-radius: 14px;
    box-shadow: 8px 14px 26px rgba(6, 78, 59, 0.16);
    cursor: pointer;
    list-style: none;
    transition: left 300ms cubic-bezier(.2, .8, .2, 1), background 180ms ease, box-shadow 180ms ease;
  }

  .prometi-side-panel > summary::-webkit-details-marker {
    display: none;
  }

  .prometi-side-panel > summary::after {
    content: none;
    font-size: 27px;
    font-weight: 1000;
    line-height: 1;
    transform: translateX(13px);
  }

  .prometi-side-panel > summary span {
    display: none;
  }

  .prometi-side-panel > summary .app-icon {
    display: block;
    width: 21px;
    height: 21px;
    transform: translateX(7px);
  }

  .prometi-side-panel[open] > summary {
    left: calc(min(92vw, 390px) - 30px);
    top: 214px;
    width: 54px;
    height: 54px;
    background:
      linear-gradient(135deg, rgba(15, 159, 122, 0.98), rgba(37, 99, 235, 0.94)),
      #0f9f7a;
    color: #fff;
    border: 0;
    border-radius: 14px;
    box-shadow: none;
  }

  .prometi-side-panel[open] > summary::after {
    content: '\2039';
    transform: translateX(13px);
  }

  .prometi-side-panel[open] > summary .app-icon {
    display: none;
  }

  .prometi-side-panel::before {
    position: fixed;
    inset: 64px 0 0;
    z-index: 86;
    display: block;
    content: '';
    background: rgba(15, 23, 42, 0);
    opacity: 0;
    pointer-events: none;
    transition: opacity 260ms ease, background 260ms ease;
  }

  .prometi-side-panel[open]::before {
    background: rgba(15, 23, 42, 0.34);
    opacity: 1;
    pointer-events: auto;
  }

  .prometi-side-panel .prometi-header-row {
    position: fixed;
    top: 64px;
    left: 0;
    z-index: 88;
    display: grid;
    grid-template-columns: 1fr;
    align-content: start;
    width: min(92vw, 390px);
    max-height: calc(100vh - 76px);
    padding: 12px;
    overflow: visible;
    color: #0f172a;
    background: linear-gradient(145deg, rgba(236, 253, 245, 0.98), rgba(239, 246, 255, 0.98)), #fff;
    border: 0;
    border-top: 1px solid rgba(15, 159, 122, 0.18);
    border-right: 1px solid rgba(15, 159, 122, 0.18);
    border-bottom: 1px solid rgba(15, 159, 122, 0.18);
    border-radius: 0 20px 20px 0;
    box-shadow: 26px 0 70px rgba(15, 23, 42, 0.28);
    transform: translateX(-106%);
    transition: transform 300ms cubic-bezier(.2, .8, .2, 1);
  }

  .prometi-side-panel[open] .prometi-header-row {
    transform: translateX(0);
  }

  .admin-layout.mobile-menu-open .prometi-side-panel:not([open]) .prometi-header-row,
  .admin-layout .lobby-header:has(.admin-mobile-menu[open]) .prometi-side-panel:not([open]) .prometi-header-row {
    transform: translateX(-106%);
  }

  .prometi-side-panel .header-year-picker,
  .prometi-side-panel .header-right-metrics,
  .prometi-side-panel .header-polog-card,
  .prometi-side-panel .header-promet-total {
    box-sizing: border-box;
    justify-self: stretch;
    width: 100%;
    max-width: none;
    min-width: 0;
    margin-left: 0;
    margin-right: 0;
  }

  .prometi-side-panel .header-year-picker {
    grid-template-columns: minmax(92px, 0.72fr) minmax(120px, 1fr);
    align-items: stretch;
    gap: 8px;
    margin-bottom: 8px;
  }

  .prometi-side-panel .header-year-picker label {
    color: rgba(255, 255, 255, 0.82);
    align-self: center;
    text-align: left;
  }

  .prometi-side-panel .header-year-picker select {
    width: 100%;
    max-width: none;
    color: #064e3b;
    background: #fff;
  }

  .prometi-side-panel .header-vat-remaining {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 0;
    padding: 6px 8px;
    background: rgba(236, 253, 245, 0.96);
  }

  .prometi-side-panel .header-right-metrics {
    grid-template-columns: 1fr;
    gap: 8px;
    justify-self: stretch;
    align-items: stretch;
  }

  .prometi-side-panel .header-polog-card {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: stretch;
    gap: 8px;
    min-height: 0;
    padding: 10px;
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.24);
  }

  .prometi-side-panel .polog-title-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3px;
    align-content: center;
  }

  .prometi-side-panel .header-polog-card strong {
    color: #fff;
    text-align: left;
  }

  .prometi-side-panel .polog-actions-row {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 5px;
  }

  .prometi-side-panel .polog-left-stack {
    grid-template-rows: none;
    grid-auto-rows: minmax(32px, auto);
    gap: 5px;
  }

  .prometi-side-panel .deposit-due {
    min-height: 40px;
    padding: 4px 8px;
  }

  .prometi-side-panel .header-promet-total {
    display: grid;
    justify-self: stretch;
    width: 100%;
  }

  .prometi-side-panel .header-total-split {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }

  .prometi-side-panel .header-total-main,
  .prometi-side-panel .header-total-split span {
    min-height: 42px;
    padding: 7px 9px;
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.24);
  }

  .prometi-side-panel .header-total-main strong {
    color: #fff;
    font-size: 20px;
  }

  .prometi-side-panel .header-year-picker label,
  .prometi-side-panel .header-total-main small,
  .prometi-side-panel .header-total-split small,
  .prometi-side-panel .header-polog-card small {
    color: rgba(255, 255, 255, 0.8);
  }

  .prometi-side-panel .header-polog-card,
  .prometi-side-panel .header-total-main,
  .prometi-side-panel .header-total-split span {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.24);
  }

  .prometi-side-panel .header-polog-card strong,
  .prometi-side-panel .header-total-split strong {
    color: #fff;
  }

  .prometi-side-panel .header-total-main strong {
    color: #fff;
    font-size: 24px;
  }
}

/* hard override: prometi mobile side panel uses the same solid theme as the admin header */
@media (max-width: 860px) {
  body.admin-layout .lobby-header .prometi-side-panel .prometi-header-row {
    bottom: auto !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
    min-height: 0 !important;
    height: auto !important;
    max-height: calc(100dvh - 76px) !important;
    padding: 12px !important;
    overflow: visible !important;
    color: #fff !important;
    background:
      linear-gradient(135deg, rgba(15, 159, 122, 0.98), rgba(37, 99, 235, 0.94)),
      #0f9f7a !important;
    border-right: 1px solid rgba(255, 255, 255, 0.22) !important;
    box-shadow: 26px 0 70px rgba(15, 23, 42, 0.32) !important;
  }

  body.admin-layout .lobby-header .prometi-side-panel .prometi-header-row * {
    box-sizing: border-box;
    max-width: 100%;
  }

  body.admin-layout .lobby-header .prometi-side-panel .header-year-picker,
  body.admin-layout .lobby-header .prometi-side-panel .header-right-metrics,
  body.admin-layout .lobby-header .prometi-side-panel .header-polog-card,
  body.admin-layout .lobby-header .prometi-side-panel .header-promet-total {
    flex: 0 0 auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  body.admin-layout .lobby-header .prometi-side-panel .header-right-metrics {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  body.admin-layout .lobby-header .prometi-side-panel .header-polog-card {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    padding: 10px !important;
  }

  body.admin-layout .lobby-header .prometi-side-panel .polog-title-row {
    display: grid !important;
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr) !important;
    align-items: center !important;
    gap: 8px !important;
  }

  body.admin-layout .lobby-header .prometi-side-panel .polog-actions-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 7px !important;
    align-items: stretch !important;
    min-height: 84px !important;
  }

  body.admin-layout .lobby-header .prometi-side-panel .polog-left-stack {
    display: grid !important;
    grid-template-rows: 1fr 1fr !important;
    gap: 7px !important;
    min-height: 84px !important;
  }

  body.admin-layout .lobby-header .prometi-side-panel .deposit-action-button,
  body.admin-layout .lobby-header .prometi-side-panel .polog-status-text,
  body.admin-layout .lobby-header .prometi-side-panel .deposit-due {
    width: 100% !important;
    min-height: 0 !important;
    height: 100% !important;
    border-radius: 10px !important;
  }

  body.admin-layout .lobby-header .prometi-side-panel .deposit-due {
    display: grid !important;
    place-items: center !important;
    align-content: center !important;
    padding: 8px !important;
    background: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.72) !important;
  }

  body.admin-layout .lobby-header .prometi-side-panel .deposit-due small {
    color: #14532d !important;
    font-size: 10px !important;
    font-weight: 950 !important;
    text-transform: uppercase !important;
  }

  body.admin-layout .lobby-header .prometi-side-panel .deposit-due strong {
    color: #0f172a !important;
    font-size: 16px !important;
    font-weight: 950 !important;
  }

  body.admin-layout .lobby-header .prometi-side-panel .header-polog-card,
  body.admin-layout .lobby-header .prometi-side-panel .header-total-main,
  body.admin-layout .lobby-header .prometi-side-panel .header-total-split span {
    background: rgba(255, 255, 255, 0.16) !important;
    border-color: rgba(255, 255, 255, 0.24) !important;
  }

  body.admin-layout .lobby-header .prometi-side-panel .header-year-picker label,
  body.admin-layout .lobby-header .prometi-side-panel .header-total-main small,
  body.admin-layout .lobby-header .prometi-side-panel .header-total-split small,
  body.admin-layout .lobby-header .prometi-side-panel .header-polog-card small {
    color: rgba(255, 255, 255, 0.82) !important;
  }

  body.admin-layout .lobby-header .prometi-side-panel .header-polog-card strong,
  body.admin-layout .lobby-header .prometi-side-panel .header-total-main strong,
  body.admin-layout .lobby-header .prometi-side-panel .header-total-split strong {
    color: #fff !important;
  }

  body.admin-layout .lobby-header .prometi-side-panel .header-polog-card .deposit-due {
    background: #fff !important;
    border-color: rgba(255, 255, 255, 0.72) !important;
  }

  body.admin-layout .lobby-header .prometi-side-panel .header-polog-card .deposit-due small {
    color: #14532d !important;
  }

  body.admin-layout .lobby-header .prometi-side-panel .header-polog-card .deposit-due strong {
    color: #0f172a !important;
  }
}

.year-picker-label {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.header-year-picker {
  grid-template-columns: 1fr !important;
  align-items: stretch !important;
  gap: 8px !important;
  overflow: visible;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.year-picker-control {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  min-height: 112px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(15, 159, 122, 0.98), rgba(37, 99, 235, 0.94)),
    #0f9f7a;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 12px;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.12);
}

.year-picker-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 100%;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0;
  box-shadow: none;
}

.year-picker-icon .app-icon {
  width: 19px;
  height: 19px;
}

.header-year-picker .header-vat-remaining {
  grid-column: auto;
  min-height: 112px;
  align-content: center;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(15, 159, 122, 0.98), rgba(37, 99, 235, 0.94)),
    #0f9f7a;
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.12);
}

.header-year-picker .header-vat-remaining small,
.header-year-picker .header-vat-remaining em {
  color: rgba(255, 255, 255, 0.82) !important;
}

.header-year-picker .header-vat-remaining strong {
  color: #fff !important;
}

.header-year-picker select {
  height: 100%;
  min-height: 112px;
  padding-left: 14px !important;
  color: #fff !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-size: 20px;
  font-weight: 950;
}

.header-year-picker select option {
  color: #064e3b !important;
  background: #fff !important;
}

@media (max-width: 1024px), (display-mode: standalone) {
  .prometi-grid .turnover-table {
    display: none;
  }

  .mobile-turnover-list {
    display: grid;
    gap: 10px;
    width: 100%;
    padding: 8px 8px 18px;
  }

  .prometi-grid .turnover-card {
    padding: 0;
    background: transparent;
    border: 0;
  }

  .mobile-turnover-actions {
    grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  }
}

@media (max-width: 420px) {
  .mobile-turnover-day > summary {
    grid-template-columns: minmax(0, 1fr) auto 32px;
    gap: 8px;
    padding: 10px;
  }

  .mobile-turnover-date strong {
    font-size: 15px;
  }

  .mobile-turnover-total strong {
    font-size: 14px;
  }

  .mobile-summary-grid,
  .mobile-summary-grid.two-shifts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mobile-summary-grid strong {
    font-size: 12px;
  }
}

@media (max-width: 860px) {
  body.admin-layout .lobby-header .prometi-side-panel .header-year-picker {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    grid-template-rows: 1fr !important;
    gap: 7px !important;
    align-items: stretch !important;
    height: 58px !important;
    min-height: 58px !important;
    margin: 0 !important;
  }

  body.admin-layout .lobby-header .prometi-side-panel .header-year-picker:not(:has(.header-vat-remaining)) {
    grid-template-columns: 1fr !important;
    grid-template-rows: 1fr !important;
  }

  body.admin-layout .lobby-header .prometi-side-panel .year-picker-control,
  body.admin-layout .lobby-header .prometi-side-panel .header-vat-remaining {
    min-height: 0 !important;
    height: auto !important;
    border-radius: 12px !important;
  }

  body.admin-layout .lobby-header .prometi-side-panel .year-picker-control {
    background:
      linear-gradient(135deg, rgba(15, 159, 122, 0.98), rgba(12, 148, 112, 0.98)),
      #0f9f7a !important;
  }

  body.admin-layout .lobby-header .prometi-side-panel .header-vat-remaining {
    grid-column: auto !important;
    display: grid !important;
    place-items: center !important;
    gap: 3px !important;
    padding: 10px 8px !important;
    color: #064e3b !important;
    background: #ecfdf5 !important;
    border: 1px solid rgba(167, 243, 208, 0.95) !important;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.10) !important;
  }

  body.admin-layout .lobby-header .prometi-side-panel .header-vat-remaining small {
    color: #047857 !important;
    text-align: center !important;
  }

  body.admin-layout .lobby-header .prometi-side-panel .header-vat-remaining strong {
    color: #0f172a !important;
    text-align: center !important;
  }

  body.admin-layout .lobby-header .prometi-side-panel .header-vat-remaining.is-reached {
    color: #991b1b !important;
    background: #fff1f2 !important;
    border-color: #fecdd3 !important;
  }

  body.admin-layout .lobby-header .prometi-side-panel .header-vat-remaining.is-reached small {
    color: #be123c !important;
  }

  body.admin-layout .lobby-header .prometi-side-panel .header-year-picker select {
    min-height: 0 !important;
    height: 100% !important;
    font-size: 16px !important;
  }
}

@media (min-width: 861px) {
  body.admin-layout .prometi-header-row .header-year-picker,
  body.admin-layout .lobby-header .prometi-side-panel .header-year-picker {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: 3fr 7fr !important;
    gap: 7px !important;
    box-sizing: border-box !important;
    height: 134px !important;
    min-height: 134px !important;
    align-items: stretch !important;
  }

  body.admin-layout .prometi-header-row .header-polog-card,
  body.admin-layout .lobby-header .prometi-side-panel .header-polog-card {
    box-sizing: border-box !important;
    height: 134px !important;
    min-height: 134px !important;
  }

  body.admin-layout .prometi-header-row .header-year-picker:not(:has(.header-vat-remaining)),
  body.admin-layout .lobby-header .prometi-side-panel .header-year-picker:not(:has(.header-vat-remaining)) {
    grid-template-rows: 1fr !important;
  }

  body.admin-layout .prometi-header-row .year-picker-control,
  body.admin-layout .lobby-header .prometi-side-panel .year-picker-control {
    min-height: 0 !important;
    height: auto !important;
  }

  body.admin-layout .prometi-header-row .header-year-picker select,
  body.admin-layout .lobby-header .prometi-side-panel .header-year-picker select {
    min-height: 0 !important;
    height: 100% !important;
  }

  body.admin-layout .prometi-header-row .header-vat-remaining,
  body.admin-layout .lobby-header .prometi-side-panel .header-vat-remaining {
    min-height: 0 !important;
    height: auto !important;
    display: grid !important;
    place-items: center !important;
    gap: 3px !important;
    padding: 7px 9px !important;
    color: #064e3b !important;
    background: #ecfdf5 !important;
    border: 1px solid rgba(167, 243, 208, 0.95) !important;
    border-radius: 10px !important;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.10) !important;
  }

  body.admin-layout .prometi-header-row .header-vat-remaining small,
  body.admin-layout .prometi-header-row .header-vat-remaining em,
  body.admin-layout .lobby-header .prometi-side-panel .header-vat-remaining small,
  body.admin-layout .lobby-header .prometi-side-panel .header-vat-remaining em {
    color: #047857 !important;
    text-align: center !important;
  }

  body.admin-layout .prometi-header-row .header-vat-remaining strong,
  body.admin-layout .lobby-header .prometi-side-panel .header-vat-remaining strong {
    color: #0f172a !important;
    text-align: center !important;
  }

  body.admin-layout .prometi-header-row .header-vat-remaining.is-reached,
  body.admin-layout .lobby-header .prometi-side-panel .header-vat-remaining.is-reached {
    color: #991b1b !important;
    background: #fff1f2 !important;
    border-color: #fecdd3 !important;
  }

  body.admin-layout .prometi-header-row .header-vat-remaining.is-reached small,
  body.admin-layout .prometi-header-row .header-vat-remaining.is-reached em,
  body.admin-layout .lobby-header .prometi-side-panel .header-vat-remaining.is-reached small,
  body.admin-layout .lobby-header .prometi-side-panel .header-vat-remaining.is-reached em {
    color: #be123c !important;
  }
}

/* Final override: polog status in web table must keep purple cell, only text badge is green. */
.excel-row .status-cell.status-deposit {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #4338ca !important;
  background: #ede9fe !important;
}

.excel-row .status-cell.status-deposit .web-deposit-pill {
  display: inline-block !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 4px 7px !important;
  border: 0 !important;
  color: #064e3b !important;
  background: #dcfce7 !important;
  border-radius: 5px !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}
