html {
  scrollbar-gutter: stable;
}

.shipcashbox-body {
  min-height: 100dvh;
  min-height: var(--cashbox-vvh, 100dvh);
  background:
    radial-gradient(circle at 14% 10%, rgba(58, 125, 170, 0.16), transparent 34%),
    radial-gradient(circle at 86% 2%, rgba(211, 138, 44, 0.14), transparent 30%),
    linear-gradient(145deg, #f9f6ee 0%, #eef4f7 54%, #f7f2e8 100%);
}

body.navdesk-theme-night.shipcashbox-body {
  background:
    radial-gradient(circle at 12% 8%, rgba(76, 150, 194, 0.18), transparent 34%),
    radial-gradient(circle at 86% 0%, rgba(211, 138, 44, 0.12), transparent 32%),
    linear-gradient(145deg, #071014 0%, #0b1721 56%, #10151b 100%);
}

.shipcashbox-page {
  display: grid;
  gap: 18px;
  padding-bottom: max(24px, env(safe-area-inset-bottom));
}

.shipcashbox-body.shipcashbox-has-active-group .shipcashbox-page {
  gap: 12px;
}

.shipcashbox-page.navdesk-page {
  gap: 22px;
}

.shipcashbox-mobile-masthead {
  display: none;
}

.shipcashbox-appbar {
  position: sticky;
  top: max(12px, env(safe-area-inset-top));
  z-index: 32;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 74px;
  padding: 12px 14px;
  border: 1px solid rgba(16, 36, 58, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 42px rgba(16, 36, 58, 0.11);
  backdrop-filter: blur(18px);
}

.shipcashbox-appbar__brand,
.shipcashbox-appbar__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.shipcashbox-mode-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid rgba(16, 36, 58, 0.1);
  border-radius: 999px;
  background: rgba(16, 36, 58, 0.06);
  color: #28465d;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.shipcashbox-session-personal .shipcashbox-mode-chip {
  border-color: rgba(45, 125, 90, 0.18);
  background: rgba(45, 125, 90, 0.09);
  color: #2e7d5a;
}

.shipcashbox-viewer-participant .shipcashbox-mode-chip {
  border-color: rgba(45, 91, 125, 0.18);
  background: rgba(45, 91, 125, 0.09);
  color: #2d5b7d;
}

.shipcashbox-appbar__brand > div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.shipcashbox-appbar__brand strong,
.shipcashbox-appbar__brand span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shipcashbox-appbar__brand strong {
  color: var(--color-brand);
  font-size: clamp(1.08rem, 2vw, 1.34rem);
  line-height: 1.08;
}

.shipcashbox-appbar__brand span {
  color: var(--color-muted);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shipcashbox-appbar__mark {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: linear-gradient(145deg, #10243a, #245575);
  color: #f7ead0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 12px 22px rgba(16, 36, 58, 0.18);
  font-weight: 900;
  letter-spacing: 0.02em;
}

.shipcashbox-start-button {
  --site-menu-button-height: 40px;
  padding: 0 14px !important;
  border-color: rgba(16, 36, 58, 0.12) !important;
  background: rgba(255, 255, 255, 0.56) !important;
  color: var(--color-brand) !important;
  font-size: 0.86rem !important;
  font-weight: 850 !important;
}

.shipcashbox-start-button:hover,
.shipcashbox-start-button:focus-visible {
  border-color: rgba(16, 36, 58, 0.22) !important;
  background: rgba(255, 255, 255, 0.86) !important;
  transform: translateY(-1px);
}

.shipcashbox-card--service-reset {
  border-color: rgba(180, 147, 95, 0.24);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(246, 238, 222, 0.72)),
    rgba(255, 255, 255, 0.72);
}

.shipcashbox-external-link {
  white-space: nowrap;
}

.shipcashbox-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.shipcashbox-menu-button {
  flex: 0 0 auto;
}

.shipcashbox-app-menu .management-modal-nav {
  grid-template-columns: 1fr;
}

.shipcashbox-app-menu .management-modal-nav a,
.shipcashbox-app-menu .management-modal-nav__button {
  min-height: 48px;
}

.shipcashbox-app-menu__group {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.shipcashbox-app-menu__group-dot {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #24a55a;
  box-shadow: 0 0 0 4px rgba(36, 165, 90, 0.16);
}

.shipcashbox-app-menu__settings {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
}

.shipcashbox-app-menu__theme {
  flex: 0 0 auto;
}

.shipcashbox-app-menu__account {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.shipcashbox-app-menu .site-menu-language {
  margin-top: 14px;
}

.shipcashbox-app-menu .site-menu-language__list {
  max-height: min(280px, 34dvh);
  overflow-y: auto;
}

html.shipcashbox-modal-open,
body.shipcashbox-modal-open {
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}

body.shipcashbox-modal-open {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
}

.shipcashbox-workspace-section {
  display: block;
}

.shipcashbox-workspace-card {
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(245, 250, 252, 0.72)),
    rgba(255, 255, 255, 0.78);
  border-color: rgba(16, 36, 58, 0.12);
  box-shadow: 0 22px 52px rgba(16, 36, 58, 0.10);
  backdrop-filter: blur(14px);
}

.shipcashbox-body.shipcashbox-has-active-group .shipcashbox-hero,
.shipcashbox-body.shipcashbox-has-active-group .footer--site {
  display: none;
}

.shipcashbox-body:not(.shipcashbox-has-active-group) .shipcashbox-hero {
  display: none;
}

.shipcashbox-body.shipcashbox-has-active-group .shipcashbox-workspace-card {
  min-height: calc(var(--cashbox-vvh, 100dvh) - 126px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  padding: 10px;
}

.shipcashbox-body.shipcashbox-has-active-group .shipcashbox-shell,
.shipcashbox-body.shipcashbox-has-active-group .shipcashbox-panel,
.shipcashbox-body.shipcashbox-has-active-group .shipcashbox-panel > .shipcashbox-stack {
  min-height: inherit;
}

.shipcashbox-body.shipcashbox-has-active-group .shipcashbox-panel > .shipcashbox-stack {
  gap: 8px;
}

.shipcashbox-hero,
.shipcashbox-panel,
.shipcashbox-modal__card {
  border-radius: 18px;
}

.shipcashbox-hero__head,
.shipcashbox-shell,
.shipcashbox-panel {
  display: grid;
  gap: 14px;
}

.shipcashbox-statusline {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.shipcashbox-statusline--workspace {
  display: none;
  justify-content: flex-end;
}

.shipcashbox-statusline__item,
.shipcashbox-pill,
.shipcashbox-archive__status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(16, 36, 58, 0.12);
  background: rgba(16, 36, 58, 0.04);
  color: var(--color-brand);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
}

.shipcashbox-pill--metric {
  display: inline-grid;
  gap: 4px;
  justify-items: end;
  min-height: 44px;
  padding: 8px 14px;
}

.shipcashbox-pill--wide {
  justify-content: flex-start;
  width: fit-content;
  max-width: 100%;
  word-break: break-word;
  line-height: 1.3;
}

.shipcashbox-pill--metric span {
  font-size: 0.74rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-muted);
}

.shipcashbox-pill--metric strong {
  font-size: 1rem;
  line-height: 1.1;
  color: var(--color-brand);
}

.shipcashbox-flash {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(16, 36, 58, 0.12);
  background: rgba(16, 36, 58, 0.05);
  color: var(--color-brand);
}

.shipcashbox-grid {
  display: grid;
  gap: 14px;
}

.shipcashbox-grid--treasurer {
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  align-items: start;
}

.shipcashbox-stack {
  display: grid;
  gap: 14px;
}

.shipcashbox-entry-screen {
  display: grid;
  gap: 14px;
}

.shipcashbox-entry-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  padding: clamp(18px, 4vw, 34px);
  overflow: hidden;
  border: 1px solid rgba(16, 36, 58, 0.10);
  border-radius: 24px;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.82), transparent 34%),
    radial-gradient(circle at 86% 18%, rgba(47, 110, 168, 0.18), transparent 28%),
    linear-gradient(135deg, #f7f1e3, #e5eef0 62%, #d9e5e7);
  box-shadow: 0 22px 52px rgba(16, 36, 58, 0.10);
}

.shipcashbox-entry-hero__copy {
  display: grid;
  gap: 8px;
  max-width: 760px;
}

.shipcashbox-entry-hero__copy p,
.shipcashbox-entry-card .section-heading__eyebrow {
  margin: 0;
  color: rgba(16, 36, 58, 0.56);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.shipcashbox-entry-hero__copy h2 {
  margin: 0;
  color: var(--color-brand);
  font-size: clamp(2rem, 6vw, 4.6rem);
  letter-spacing: -0.075em;
  line-height: 0.92;
}

.shipcashbox-entry-hero__copy span {
  max-width: 56ch;
  color: rgba(16, 36, 58, 0.68);
  font-size: clamp(0.94rem, 2vw, 1.1rem);
  font-weight: 750;
  line-height: 1.38;
}

.shipcashbox-entry-sign {
  display: inline-grid;
  place-items: center;
  width: 0.88em;
  height: 0.88em;
  margin: 0 0.08em;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.86em;
  font-weight: 900;
  line-height: 1;
  vertical-align: -0.03em;
}

.shipcashbox-entry-sign--plus {
  color: #176d47;
  background: rgba(72, 187, 120, 0.13);
}

.shipcashbox-entry-sign--minus {
  color: #9f3a2f;
  background: rgba(226, 84, 72, 0.12);
}

.shipcashbox-entry-hero__meter {
  display: grid;
  grid-template-columns: repeat(3, 46px);
  gap: 7px;
}

.shipcashbox-entry-hero__meter span {
  display: grid;
  place-items: center;
  height: 46px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.62);
  color: rgba(16, 36, 58, 0.64);
  font-weight: 950;
}

.shipcashbox-entry-grid {
  display: grid;
  grid-template-columns: minmax(210px, 0.8fr) minmax(210px, 0.8fr) minmax(320px, 1.4fr);
  gap: 12px;
  align-items: stretch;
}

.shipcashbox-entry-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(16, 36, 58, 0.09);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(247, 250, 251, 0.82)),
    rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 28px rgba(16, 36, 58, 0.06);
}

.shipcashbox-entry-card--primary {
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.78), transparent 32%),
    linear-gradient(145deg, #10243a, #31526b);
  color: #fff;
}

.shipcashbox-entry-card--primary .section-heading__eyebrow,
.shipcashbox-entry-card--primary p {
  color: rgba(255, 255, 255, 0.72);
}

.shipcashbox-entry-card--equalizer {
  background:
    radial-gradient(circle at 14% 0%, rgba(255, 255, 255, 0.86), transparent 34%),
    linear-gradient(145deg, rgba(245, 239, 226, 0.96), rgba(230, 241, 237, 0.86));
}

.shipcashbox-entry-card__index {
  width: fit-content;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(16, 36, 58, 0.07);
  color: rgba(16, 36, 58, 0.58);
  font-size: 0.68rem;
  font-weight: 950;
  line-height: 1;
}

.shipcashbox-entry-card--primary .shipcashbox-entry-card__index {
  background: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.78);
}

.shipcashbox-entry-card h2 {
  margin: 2px 0 0;
  color: var(--color-brand);
  font-size: clamp(1.18rem, 2.6vw, 1.54rem);
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.shipcashbox-entry-card--primary h2 {
  color: #fff;
}

.shipcashbox-entry-card p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.9rem;
  line-height: 1.42;
}

.shipcashbox-equalizer {
  display: grid;
  gap: 10px;
}

.shipcashbox-equalizer textarea {
  min-height: 132px;
  resize: vertical;
  font-family: inherit;
  line-height: 1.45;
}

.shipcashbox-equalizer-output {
  display: grid;
  gap: 10px;
}

.shipcashbox-equalizer-page {
  width: min(100%, 1120px);
  margin: 0 auto;
}

.shipcashbox-entry-hero--compact {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.shipcashbox-equalizer-board {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: 12px;
  align-items: start;
}

.shipcashbox-equalizer-board__input,
.shipcashbox-equalizer-board__result {
  display: grid;
  gap: 14px;
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(16, 36, 58, 0.09);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(247, 250, 251, 0.84)),
    rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 28px rgba(16, 36, 58, 0.06);
}

.shipcashbox-equalizer-board__input textarea {
  min-height: 260px;
}

.shipcashbox-equalizer-history {
  display: grid;
  gap: 8px;
}

.shipcashbox-equalizer-saved {
  display: grid;
  gap: 9px;
  padding: 11px 12px;
  border: 1px solid rgba(16, 36, 58, 0.07);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.62);
}

.shipcashbox-equalizer-saved__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.shipcashbox-equalizer-saved__head div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.shipcashbox-equalizer-saved strong,
.shipcashbox-equalizer-saved b {
  overflow: hidden;
  color: var(--color-brand);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shipcashbox-equalizer-saved span {
  color: var(--color-muted);
  font-size: 0.76rem;
  line-height: 1.2;
}

.shipcashbox-equalizer-saved__transfers {
  display: grid;
  gap: 5px;
  padding-top: 8px;
  border-top: 1px solid rgba(16, 36, 58, 0.06);
}

.shipcashbox-equalizer-saved__transfers span {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.shipcashbox-equalizer-saved__transfers b {
  flex: 0 0 auto;
  color: var(--color-brand);
}

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

.shipcashbox-equalizer-summary span,
.shipcashbox-equalizer-empty,
.shipcashbox-equalizer-error {
  display: grid;
  gap: 3px;
  padding: 9px 10px;
  border-radius: 14px;
  background: rgba(16, 36, 58, 0.06);
  color: var(--color-muted);
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1.15;
}

.shipcashbox-equalizer-summary b {
  color: var(--color-brand);
  font-size: 0.92rem;
  line-height: 1;
}

.shipcashbox-equalizer-error {
  border: 1px solid rgba(169, 66, 45, 0.16);
  background: rgba(169, 66, 45, 0.08);
  color: #a9422d;
}

.shipcashbox-equalizer-grid {
  display: grid;
  gap: 10px;
}

.shipcashbox-equalizer-grid h3 {
  margin: 0 0 6px;
  color: var(--color-brand);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shipcashbox-equalizer-transfers,
.shipcashbox-equalizer-people {
  display: grid;
  gap: 6px;
}

.shipcashbox-equalizer-transfer,
.shipcashbox-equalizer-person {
  display: grid;
  gap: 7px;
  align-items: center;
  padding: 8px 9px;
  border: 1px solid rgba(16, 36, 58, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
}

.shipcashbox-equalizer-transfer {
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto;
}

.shipcashbox-equalizer-transfer b,
.shipcashbox-equalizer-person span {
  overflow: hidden;
  color: var(--color-brand);
  font-size: 0.84rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shipcashbox-equalizer-transfer b:first-child {
  text-align: right;
}

.shipcashbox-equalizer-transfer strong {
  color: #2e7d5a;
  font-size: 0.86rem;
  white-space: nowrap;
}

.shipcashbox-equalizer-person {
  grid-template-columns: minmax(0, 1fr) auto auto;
}

.shipcashbox-equalizer-person span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.shipcashbox-equalizer-person i {
  font-style: normal;
}

.shipcashbox-equalizer-person strong,
.shipcashbox-equalizer-person em {
  color: var(--color-brand);
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.shipcashbox-equalizer-person--positive em {
  color: #2e7d5a;
}

.shipcashbox-equalizer-person--negative em {
  color: #a9422d;
}

.shipcashbox-body.shipcashbox-viewer-guest {
  background:
    radial-gradient(circle at 88% 8%, rgba(185, 145, 82, 0.14), transparent 24rem),
    radial-gradient(circle at 0% 78%, rgba(104, 149, 161, 0.16), transparent 22rem),
    #162026;
}

.shipcashbox-body.shipcashbox-viewer-guest::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.34;
  background-image:
    repeating-radial-gradient(ellipse at 12% 18%, transparent 0 11px, rgba(215, 199, 158, 0.24) 12px 13px, transparent 14px 25px),
    repeating-radial-gradient(ellipse at 92% 48%, transparent 0 14px, rgba(215, 199, 158, 0.18) 15px 16px, transparent 17px 31px);
  background-size: 360px 320px, 420px 380px;
  pointer-events: none;
}

.shipcashbox-body.shipcashbox-viewer-guest .shipcashbox-appbar,
.shipcashbox-body.shipcashbox-viewer-guest .shipcashbox-mobile-masthead,
.shipcashbox-body.shipcashbox-viewer-guest #cashboxSiteHero,
.shipcashbox-body.shipcashbox-viewer-guest .footer--site {
  display: none;
}

.shipcashbox-body.shipcashbox-viewer-guest .shipcashbox-page {
  min-height: var(--cashbox-vvh, 100dvh);
  align-content: center;
  padding-top: max(16px, env(safe-area-inset-top));
  padding-bottom: max(18px, env(safe-area-inset-bottom));
}

.shipcashbox-body.shipcashbox-viewer-guest .shipcashbox-workspace-card {
  max-width: 540px;
  margin: 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.shipcashbox-body.shipcashbox-viewer-guest .shipcashbox-shell {
  gap: 10px;
}

.shipcashbox-body.shipcashbox-viewer-guest .shipcashbox-flash {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: #f6f0df;
}

.shipcashbox-viewer-guest .shipcashbox-entry-screen {
  gap: 10px;
}

.shipcashbox-viewer-guest .shipcashbox-entry-hero {
  display: block;
  padding: 0 10px 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #f6f0df;
  text-align: center;
  box-shadow: none;
}

.shipcashbox-viewer-guest .shipcashbox-entry-hero__copy {
  justify-items: center;
  max-width: none;
}

.shipcashbox-viewer-guest .shipcashbox-entry-hero__copy p {
  color: rgba(246, 240, 223, 0.78);
  font-size: 0.74rem;
  letter-spacing: 0.02em;
  text-transform: none;
}

.shipcashbox-viewer-guest .shipcashbox-entry-hero__copy h2 {
  max-width: 14ch;
  color: #fff8e8;
  font-size: clamp(1.8rem, 8vw, 2.85rem);
  letter-spacing: -0.045em;
  line-height: 0.96;
}

.shipcashbox-viewer-guest .shipcashbox-entry-hero__copy span {
  max-width: 38ch;
  color: rgba(246, 240, 223, 0.74);
  font-size: 0.76rem;
  line-height: 1.25;
}

.shipcashbox-viewer-guest .shipcashbox-entry-grid {
  grid-template-columns: 1fr;
  gap: 10px;
}

.shipcashbox-viewer-guest .shipcashbox-entry-card {
  display: grid;
  grid-template-columns: minmax(128px, 0.86fr) minmax(0, 1.14fr);
  gap: 0;
  min-height: 166px;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 15px;
  background: #f7f3e9;
  color: #162026;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24);
}

.shipcashbox-viewer-guest .shipcashbox-entry-card--crew,
.shipcashbox-viewer-guest .shipcashbox-entry-card--equalizer {
  grid-template-columns: minmax(0, 1.05fr) minmax(132px, 0.95fr);
}

.shipcashbox-viewer-guest .shipcashbox-entry-card__copy {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 15px;
}

.shipcashbox-viewer-guest .shipcashbox-entry-card h2 {
  color: #18252d;
  font-size: 1.05rem;
  letter-spacing: -0.025em;
  line-height: 1.06;
}

.shipcashbox-viewer-guest .shipcashbox-entry-card p {
  color: rgba(22, 32, 38, 0.76);
  font-size: 0.72rem;
  line-height: 1.28;
}

.shipcashbox-viewer-guest .shipcashbox-entry-card .shipcashbox-field--entry {
  gap: 4px;
  margin: 0;
}

.shipcashbox-viewer-guest .shipcashbox-entry-card .shipcashbox-field--entry span {
  color: rgba(22, 32, 38, 0.62);
  font-size: 0.64rem;
}

.shipcashbox-viewer-guest .shipcashbox-entry-card .shipcashbox-field--entry input {
  min-height: 32px;
  border-color: rgba(22, 32, 38, 0.12);
  background: rgba(255, 255, 255, 0.72);
  color: #17232e;
  font-size: 0.9rem;
  font-weight: 800;
}

.shipcashbox-viewer-guest .shipcashbox-entry-card .btn {
  min-height: 34px;
  width: fit-content;
  padding: 0 13px;
  border: 0;
  border-radius: 7px;
  background: #b4935f;
  color: #fff9ea;
  font-size: 0.7rem;
  box-shadow: none;
}

.shipcashbox-viewer-guest .shipcashbox-entry-card__media {
  position: relative;
  min-height: 166px;
  overflow: hidden;
  background: linear-gradient(145deg, #3b2a20, #b79361);
}

.shipcashbox-viewer-guest .shipcashbox-entry-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transform: scale(1.025);
}

.shipcashbox-entry-illustration {
  position: absolute;
  inset: 0;
  display: block;
}

.shipcashbox-entry-illustration::before,
.shipcashbox-entry-illustration::after {
  content: "";
  position: absolute;
  display: block;
}

.shipcashbox-entry-illustration--journal {
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 238, 194, 0.56), transparent 14%),
    linear-gradient(145deg, #2f2019, #9d7445);
}

.shipcashbox-entry-illustration--journal::before {
  left: 28%;
  top: 22%;
  width: 46%;
  height: 56%;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.14), transparent 14%),
    #7a4e2f;
  box-shadow: 0 16px 22px rgba(0, 0, 0, 0.32);
  transform: rotate(-10deg);
}

.shipcashbox-entry-illustration--journal::after {
  left: 16%;
  bottom: 18%;
  width: 66%;
  height: 7px;
  border-radius: 999px;
  background: #1b1715;
  box-shadow: 18px -18px 0 -2px rgba(255, 232, 180, 0.74);
  transform: rotate(-14deg);
}

.shipcashbox-entry-illustration--crew {
  background:
    radial-gradient(circle at 52% 30%, rgba(246, 240, 223, 0.35), transparent 13%),
    linear-gradient(145deg, #142a38, #c2aa7d);
}

.shipcashbox-entry-illustration--crew::before {
  left: 14%;
  top: 26%;
  width: 72%;
  height: 44%;
  border-radius: 16px 16px 9px 9px;
  background:
    radial-gradient(circle at 22% 30%, #f5d8b8 0 9px, transparent 10px),
    radial-gradient(circle at 50% 26%, #f5d8b8 0 9px, transparent 10px),
    radial-gradient(circle at 78% 30%, #f5d8b8 0 9px, transparent 10px),
    linear-gradient(90deg, #192a38 0 30%, #233b4e 30% 65%, #192a38 65%);
  box-shadow: 0 15px 20px rgba(0, 0, 0, 0.28);
}

.shipcashbox-entry-illustration--crew::after {
  left: 10%;
  right: 10%;
  bottom: 20%;
  height: 26%;
  border-radius: 10px;
  background:
    linear-gradient(90deg, transparent 0 22%, rgba(255, 255, 255, 0.45) 22% 24%, transparent 24% 52%, rgba(255, 255, 255, 0.35) 52% 54%, transparent 54%),
    #b9915c;
  transform: perspective(120px) rotateX(12deg);
}

.shipcashbox-entry-illustration--calc {
  background:
    radial-gradient(circle at 20% 12%, rgba(255, 238, 194, 0.50), transparent 16%),
    linear-gradient(145deg, #2a201c, #b88852);
}

.shipcashbox-entry-illustration--calc::before {
  left: 24%;
  top: 16%;
  width: 50%;
  height: 70%;
  border-radius: 12px;
  background:
    linear-gradient(#d7d1c4 0 22%, transparent 22%),
    repeating-linear-gradient(90deg, #26333b 0 12px, #d2bd8f 12px 20px);
  box-shadow: 0 16px 22px rgba(0, 0, 0, 0.34);
  transform: rotate(-8deg);
}

.shipcashbox-entry-illustration--calc::after {
  right: 11%;
  top: 14%;
  width: 38%;
  height: 20%;
  border-radius: 999px;
  border: 2px solid rgba(255, 245, 220, 0.48);
  border-left-color: transparent;
  transform: rotate(28deg);
}

.shipcashbox-viewer-guest .shipcashbox-entry-invite {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) minmax(180px, 0.72fr) auto minmax(150px, 0.55fr);
  gap: 10px;
  align-items: end;
  padding: 12px;
  border: 1px solid rgba(247, 234, 208, 0.18);
  border-radius: 17px;
  background:
    linear-gradient(135deg, rgba(247, 234, 208, 0.12), rgba(255, 255, 255, 0.04)),
    rgba(12, 23, 35, 0.72);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.20);
}

.shipcashbox-viewer-guest .shipcashbox-entry-invite__copy {
  display: grid;
  gap: 4px;
  align-self: center;
}

.shipcashbox-viewer-guest .shipcashbox-entry-invite__copy strong {
  color: #fff3d6;
  font-size: 0.94rem;
  letter-spacing: -0.018em;
}

.shipcashbox-viewer-guest .shipcashbox-entry-invite__copy span {
  max-width: 44ch;
  color: rgba(246, 240, 223, 0.68);
  font-size: 0.68rem;
  line-height: 1.28;
}

.shipcashbox-viewer-guest .shipcashbox-entry-invite .shipcashbox-field span {
  color: rgba(246, 240, 223, 0.78);
}

.shipcashbox-viewer-guest .shipcashbox-entry-invite input {
  min-height: 36px;
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.10);
  color: #fff8e8;
  font-size: 1.04rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-align: center;
}

.shipcashbox-viewer-guest .shipcashbox-entry-invite .btn {
  min-height: 42px;
  padding: 0 18px;
  border-color: rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: linear-gradient(135deg, #ffe0a3, #f0b54b);
  color: #17232e;
  font-weight: 850;
  box-shadow: 0 12px 24px rgba(240, 181, 75, 0.24);
}

.shipcashbox-viewer-guest .shipcashbox-entry-invite .btn:hover,
.shipcashbox-viewer-guest .shipcashbox-entry-invite .btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(240, 181, 75, 0.34);
}

.shipcashbox-entry-rights {
  align-self: stretch;
  display: flex;
  align-items: center;
  min-height: 42px;
  padding-left: 12px;
  border-left: 1px solid rgba(247, 234, 208, 0.14);
  color: rgba(246, 240, 223, 0.50);
  font-size: 0.62rem;
  font-weight: 750;
  line-height: 1.25;
}

.shipcashbox-viewer-guest .shipcashbox-equalizer {
  gap: 7px;
}

.shipcashbox-viewer-guest .shipcashbox-equalizer textarea {
  min-height: 88px;
  font-size: 0.78rem;
}

.shipcashbox-viewer-guest .shipcashbox-equalizer-output {
  max-height: 220px;
  overflow: auto;
}

@media (min-width: 900px) {
  .shipcashbox-body.shipcashbox-viewer-guest .shipcashbox-workspace-card {
    width: min(1040px, calc(100vw - 56px));
    max-width: none;
  }

  .shipcashbox-viewer-guest .shipcashbox-entry-screen {
    gap: 14px;
  }

  .shipcashbox-viewer-guest .shipcashbox-entry-hero {
    padding-bottom: 0;
  }

  .shipcashbox-viewer-guest .shipcashbox-entry-hero__copy h2 {
    max-width: none;
    font-size: clamp(2.2rem, 4vw, 3.35rem);
  }

  .shipcashbox-viewer-guest .shipcashbox-entry-hero__copy span {
    max-width: 56ch;
  }

  .shipcashbox-viewer-guest .shipcashbox-entry-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 12px;
    align-items: stretch;
  }

  .shipcashbox-viewer-guest .shipcashbox-entry-card--journal {
    grid-row: span 2;
    grid-template-columns: 1fr;
    min-height: 386px;
  }

  .shipcashbox-viewer-guest .shipcashbox-entry-card--journal .shipcashbox-entry-card__media {
    min-height: 196px;
  }

  .shipcashbox-viewer-guest .shipcashbox-entry-card--journal .shipcashbox-entry-card__copy {
    align-content: start;
    padding: 20px;
  }

  .shipcashbox-viewer-guest .shipcashbox-entry-card--journal h2 {
    font-size: clamp(1.36rem, 2.3vw, 1.84rem);
  }

  .shipcashbox-viewer-guest .shipcashbox-entry-card--crew,
  .shipcashbox-viewer-guest .shipcashbox-entry-card--equalizer {
    grid-template-columns: minmax(0, 1.08fr) minmax(148px, 0.84fr);
    min-height: 187px;
  }

  .shipcashbox-viewer-guest .shipcashbox-entry-card--crew .shipcashbox-entry-card__media,
  .shipcashbox-viewer-guest .shipcashbox-entry-card--equalizer .shipcashbox-entry-card__media {
    min-height: 187px;
  }

  .shipcashbox-viewer-guest .shipcashbox-entry-card--equalizer .shipcashbox-entry-card__copy {
    gap: 7px;
  }

  .shipcashbox-viewer-guest .shipcashbox-entry-card--equalizer textarea {
    min-height: 66px;
  }

  .shipcashbox-viewer-guest .shipcashbox-entry-invite {
    width: 100%;
    margin: 0 auto;
  }
}

.shipcashbox-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(16, 36, 58, 0.09);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 251, 0.86)),
    rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 30px rgba(16, 36, 58, 0.06);
}

.shipcashbox-card__head,
.shipcashbox-card__row,
.shipcashbox-list__row,
.shipcashbox-archive__row,
.shipcashbox-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.shipcashbox-card__head {
  align-items: flex-start;
}

.shipcashbox-workhead {
  align-items: center;
}

.shipcashbox-work-title {
  margin: 0;
  font-size: clamp(1.28rem, 2.8vw, 1.72rem);
  line-height: 1.08;
}

.shipcashbox-body.shipcashbox-has-active-group .shipcashbox-workhead {
  align-items: center;
  gap: 8px;
  padding-bottom: 2px;
}

.shipcashbox-body.shipcashbox-has-active-group .shipcashbox-workhead .section-heading__eyebrow {
  margin: 0 0 2px;
  color: var(--color-muted);
  font-size: 0.66rem;
}

.shipcashbox-body.shipcashbox-has-active-group .shipcashbox-work-title {
  font-size: clamp(1.08rem, 2vw, 1.32rem);
}

.shipcashbox-body.shipcashbox-has-active-group .shipcashbox-workhead .shipcashbox-inline-actions .btn {
  min-height: 36px;
  padding: 0 12px;
  font-size: 0.82rem;
}

.shipcashbox-work-meta {
  margin: 5px 0 0;
  color: var(--color-muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.shipcashbox-card--window {
  display: grid;
  gap: 14px;
  background: rgba(16, 36, 58, 0.03);
}

.shipcashbox-card--window .shipcashbox-card__head {
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(16, 36, 58, 0.08);
}

.shipcashbox-card--window .shipcashbox-card__head .section-heading__eyebrow {
  margin-bottom: 2px;
  font-size: 0.64rem;
}

.shipcashbox-card--window .shipcashbox-card__head h2 {
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.12;
}

.shipcashbox-card--sticky {
  position: sticky;
  top: 88px;
}

.shipcashbox-body.shipcashbox-has-active-group .shipcashbox-card--sticky,
.shipcashbox-body.shipcashbox-has-active-group .shipcashbox-card--notebook {
  position: static;
}

.shipcashbox-card--notebook {
  display: grid;
  grid-template-rows: auto minmax(260px, 1fr) auto auto;
  gap: 12px;
}

.shipcashbox-body.shipcashbox-has-active-group .shipcashbox-card--notebook {
  min-height: calc(var(--cashbox-vvh, 100dvh) - 152px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
}

.shipcashbox-card--notebook .shipcashbox-field--notebook textarea {
  min-height: clamp(280px, 48vh, 680px);
}

.shipcashbox-notebook-shell {
  position: relative;
  min-height: 0;
  display: grid;
}

.shipcashbox-notebook-textarea {
  width: 100%;
  min-height: clamp(280px, 46vh, 680px);
  padding: 16px 58px 86px 18px;
  border-radius: 18px;
  border: 1px solid var(--color-line);
  background: #fff;
  color: var(--color-brand);
  font: inherit;
  line-height: 1.55;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  resize: vertical;
}

.shipcashbox-body.shipcashbox-has-active-group .shipcashbox-notebook-textarea {
  min-height: 100%;
  max-height: none;
  resize: none;
}

.shipcashbox-notebook-textarea:focus {
  outline: none;
  border-color: rgba(27, 55, 88, 0.35);
  box-shadow: 0 0 0 3px rgba(27, 55, 88, 0.08);
}

.shipcashbox-notebook-proof-rail {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: visible;
  border-radius: 18px;
  pointer-events: none;
}

.shipcashbox-notebook-proof-rail[hidden] {
  display: none;
}

.shipcashbox-notebook-proof-clip {
  position: absolute;
  right: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 0;
  background: transparent;
  color: #1a73e8;
  font-size: 0.98rem;
  line-height: 1;
  text-decoration: none;
  pointer-events: auto;
  cursor: default;
}

.shipcashbox-notebook-proof-clip:hover,
.shipcashbox-notebook-proof-clip:focus-visible {
  outline: none;
}

.shipcashbox-notebook-proof-clip__icon {
  display: inline-block;
  filter: saturate(1.1);
}

.shipcashbox-notebook-proof-menu {
  position: absolute;
  top: 50%;
  right: 26px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(26, 115, 232, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 12px 26px rgba(16, 36, 58, 0.14);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) translateX(4px);
  transition: opacity 120ms ease, transform 120ms ease, visibility 120ms ease;
  visibility: hidden;
  white-space: nowrap;
}

.shipcashbox-notebook-proof-clip:hover .shipcashbox-notebook-proof-menu,
.shipcashbox-notebook-proof-clip:focus-within .shipcashbox-notebook-proof-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%);
  visibility: visible;
}

.shipcashbox-notebook-proof-menu a,
.shipcashbox-notebook-proof-menu button {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #1a73e8;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.shipcashbox-notebook-proof-menu button {
  color: #a9422d;
}

.shipcashbox-notebook-proof-menu a:hover,
.shipcashbox-notebook-proof-menu a:focus-visible,
.shipcashbox-notebook-proof-menu button:hover,
.shipcashbox-notebook-proof-menu button:focus-visible {
  background: rgba(16, 36, 58, 0.06);
  outline: none;
}

.shipcashbox-line-assistant {
  position: absolute;
  right: 18px;
  bottom: 16px;
  left: 18px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 48px;
  padding: 8px 9px 8px 14px;
  border: 1px solid rgba(76, 124, 96, 0.20);
  border-radius: 16px;
  background: rgba(244, 248, 240, 0.92);
  color: var(--color-brand);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74), 0 16px 30px rgba(16, 36, 58, 0.12);
  backdrop-filter: blur(10px);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.shipcashbox-line-assistant[hidden] {
  display: none;
}

.shipcashbox-line-assistant.is-committed {
  border-color: rgba(76, 124, 96, 0.16);
  background: rgba(242, 245, 239, 0.94);
}

.shipcashbox-line-assistant.is-idle {
  visibility: hidden;
  pointer-events: none;
}

.shipcashbox-line-assistant.is-flashing {
  border-color: rgba(59, 140, 87, 0.36);
  background: rgba(222, 242, 226, 0.96);
  transform: translateY(-1px);
}

.shipcashbox-line-assistant__copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.shipcashbox-line-assistant__eyebrow {
  color: rgba(76, 124, 96, 0.88);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.shipcashbox-line-assistant__copy strong {
  min-width: 0;
  overflow: hidden;
  color: var(--color-brand);
  font-size: 0.92rem;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shipcashbox-line-assistant__button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(76, 124, 96, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #2f6847;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.shipcashbox-line-assistant__proof[hidden] {
  display: none;
}

.shipcashbox-line-assistant__proof {
  border-color: rgba(26, 115, 232, 0.18);
  background: rgba(232, 240, 254, 0.92);
  color: #1a73e8;
}

.shipcashbox-line-assistant__button:hover,
.shipcashbox-line-assistant__button:focus-visible {
  border-color: rgba(47, 104, 71, 0.42);
  background: #fff;
  outline: none;
}

.shipcashbox-line-assistant.is-committed .shipcashbox-line-assistant__button {
  color: rgba(47, 104, 71, 0.72);
}

.shipcashbox-line-assistant.is-committed .shipcashbox-line-assistant__copy strong {
  color: rgba(16, 36, 58, 0.76);
}

.shipcashbox-notebook-footer {
  position: sticky;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(16, 36, 58, 0.08);
  background: rgba(250, 248, 242, 0.96);
  backdrop-filter: blur(10px);
}

.shipcashbox-notebook-footer__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 1px;
}

.shipcashbox-notebook-action {
  min-height: 38px;
  padding: 0 15px;
  border-radius: 999px;
  box-shadow: none;
  font-size: 0.9rem;
  line-height: 1;
}

.shipcashbox-notebook-action--save {
  border-color: rgba(16, 36, 58, 0.12);
  background: rgba(255, 255, 255, 0.72);
  color: var(--color-brand);
}

.shipcashbox-notebook-action--submit {
  border-color: rgba(16, 36, 58, 0.14);
  background: linear-gradient(135deg, rgba(16, 36, 58, 0.94), rgba(31, 69, 96, 0.92));
  color: #fff;
}

.shipcashbox-notebook-action--attach {
  display: inline-grid;
  place-items: center;
  width: 38px;
  min-width: 38px;
  padding: 0;
  border-color: rgba(16, 36, 58, 0.10);
  background: rgba(255, 255, 255, 0.64);
  color: var(--color-brand);
  font-size: 1rem;
}

.shipcashbox-notebook-footer__actions .btn[aria-busy="true"] {
  opacity: 0.78;
  cursor: progress;
}

.shipcashbox-notebook-footer__status {
  min-width: min(32ch, 42vw);
  margin: 0;
  color: var(--color-muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.shipcashbox-notebook-footer__metric {
  display: grid;
  justify-items: end;
  gap: 4px;
  margin-left: auto;
}

.shipcashbox-notebook-footer__metric span {
  color: var(--color-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.shipcashbox-notebook-footer__metric strong {
  font-size: 1.12rem;
  line-height: 1.1;
}

.shipcashbox-submitted-records {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(16, 36, 58, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.58);
}

.shipcashbox-submitted-records__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--color-brand);
}

.shipcashbox-submitted-records__head span {
  color: var(--color-muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.shipcashbox-submitted-records__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px;
}

.shipcashbox-submitted-record {
  min-width: 0;
}

.shipcashbox-submitted-record__button {
  width: 100%;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(16, 36, 58, 0.12);
  border-radius: 14px;
  background: rgba(250, 248, 242, 0.88);
  color: var(--color-brand);
  text-align: left;
  cursor: pointer;
}

.shipcashbox-submitted-record__button:hover,
.shipcashbox-submitted-record__button:focus-visible {
  border-color: rgba(27, 55, 88, 0.28);
  box-shadow: 0 10px 22px rgba(16, 36, 58, 0.10);
  outline: none;
}

.shipcashbox-submitted-record__button span {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.shipcashbox-submitted-record__button small {
  color: var(--color-muted);
  font-size: 0.74rem;
  font-weight: 800;
}

.shipcashbox-submitted-record__sum {
  flex: 0 0 auto;
  font-weight: 900;
}

.shipcashbox-lock {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  border-radius: 18px;
  background: rgba(245, 240, 232, 0.72);
  backdrop-filter: blur(10px);
}

.shipcashbox-lock__card {
  display: grid;
  justify-items: center;
  gap: 10px;
  max-width: 320px;
  text-align: center;
}

.shipcashbox-lock__card p {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.45;
}

.shipcashbox-lock__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(16, 36, 58, 0.12);
  border-radius: 999px;
  background: #fff;
  color: var(--color-brand);
  font: inherit;
  font-size: 1.45rem;
  cursor: pointer;
}

.shipcashbox-form,
.shipcashbox-form__grid,
.shipcashbox-log,
.shipcashbox-summary,
.shipcashbox-participants,
.shipcashbox-archive {
  display: grid;
  gap: 12px;
}

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

.shipcashbox-card--start {
  align-content: start;
}

.shipcashbox-field {
  display: grid;
  gap: 6px;
}

.shipcashbox-field--compact {
  align-content: start;
}

.shipcashbox-field--notebook textarea {
  min-height: clamp(320px, 52vh, 760px);
}

.shipcashbox-titleline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.shipcashbox-help {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.shipcashbox-info-hint {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 1px solid rgba(16, 36, 58, 0.16);
  color: var(--color-muted);
  font-size: 0.82rem;
  line-height: 1;
  background: transparent;
  cursor: pointer;
}

.shipcashbox-info-hint:focus-visible {
  outline: 2px solid rgba(16, 36, 58, 0.22);
  outline-offset: 2px;
}

.shipcashbox-help-popover {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 12;
  width: min(280px, calc(100vw - 48px));
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(16, 36, 58, 0.12);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 32px rgba(16, 36, 58, 0.14);
  color: var(--color-brand);
  font-size: 0.88rem;
  line-height: 1.45;
}

.shipcashbox-help-popover[hidden] {
  display: none;
}

.shipcashbox-field span,
.shipcashbox-note,
.shipcashbox-entry__meta,
.shipcashbox-archive__meta,
.shipcashbox-qr__link,
.shipcashbox-empty {
  color: var(--color-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.shipcashbox-field input,
.shipcashbox-field textarea,
.shipcashbox-field select {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--color-line);
  background: #fff;
  color: var(--color-brand);
  font: inherit;
}

.shipcashbox-field textarea {
  min-height: 180px;
  resize: vertical;
}

.shipcashbox-field input:focus,
.shipcashbox-field textarea:focus,
.shipcashbox-field select:focus {
  outline: none;
  border-color: rgba(27, 55, 88, 0.35);
  box-shadow: 0 0 0 3px rgba(27, 55, 88, 0.08);
}

.shipcashbox-actions,
.shipcashbox-inline-actions,
.shipcashbox-share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.shipcashbox-actions > .shipcashbox-share-actions {
  display: contents;
}

.shipcashbox-actions--lead {
  justify-content: flex-start;
  margin-top: 2px;
}

.shipcashbox-actions--exit {
  justify-content: flex-end;
  margin-top: 6px;
}

.shipcashbox-actions--team {
  justify-content: flex-end;
}

.shipcashbox-inline-actions,
.shipcashbox-share-actions {
  align-items: flex-start;
}

.shipcashbox-inline-actions--participant {
  justify-content: space-between;
}

.shipcashbox-inline-actions .btn,
.shipcashbox-share-actions .btn {
  flex: 0 0 auto;
}

.shipcashbox-command-deck {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(16, 36, 58, 0.10);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(252, 250, 244, 0.98), rgba(235, 244, 245, 0.86)),
    #fff;
  box-shadow: 0 16px 36px rgba(16, 36, 58, 0.08);
}

.shipcashbox-personal-quiet {
  display: grid;
  grid-template-columns: minmax(190px, 0.85fr) minmax(0, 1.15fr);
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(16, 36, 58, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 10px 24px rgba(16, 36, 58, 0.05);
}

.shipcashbox-personal-quiet__balance {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(130px, 0.7fr);
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(250, 248, 242, 0.96), rgba(236, 243, 238, 0.88));
}

.shipcashbox-personal-quiet__balance--positive {
  background: linear-gradient(135deg, rgba(242, 249, 239, 0.98), rgba(224, 240, 229, 0.92));
}

.shipcashbox-personal-quiet__balance--negative {
  background: linear-gradient(135deg, rgba(255, 244, 239, 0.98), rgba(248, 225, 216, 0.90));
}

.shipcashbox-personal-quiet__balance span,
.shipcashbox-personal-quiet__stats span span {
  display: block;
  color: var(--color-muted);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
}

.shipcashbox-personal-quiet__balance strong {
  display: block;
  margin-top: 3px;
  color: var(--color-brand);
  font-size: clamp(1.32rem, 3.2vw, 2.15rem);
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.shipcashbox-personal-quiet__balance p {
  margin: 0;
  color: rgba(16, 36, 58, 0.66);
  font-size: 0.78rem;
  font-weight: 750;
  line-height: 1.25;
}

.shipcashbox-personal-quiet__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.shipcashbox-personal-quiet__stats > span {
  display: grid;
  align-content: center;
  min-width: 0;
  min-height: 62px;
  padding: 9px 10px;
  border: 1px solid rgba(16, 36, 58, 0.06);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.58);
}

.shipcashbox-personal-quiet__stats strong {
  overflow: hidden;
  margin-top: 4px;
  color: var(--color-brand);
  font-size: 0.95rem;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shipcashbox-command-deck__hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: stretch;
  padding: 12px;
  border-radius: 17px;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.72), transparent 42%),
    linear-gradient(135deg, #10243a, #27445c);
  color: #fff;
}

.shipcashbox-command-deck__hero--positive {
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.68), transparent 42%),
    linear-gradient(135deg, #183f33, #2e7d5a);
}

.shipcashbox-command-deck__hero--negative {
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.66), transparent 42%),
    linear-gradient(135deg, #5a2a22, #a94b34);
}

.shipcashbox-command-deck__hero p,
.shipcashbox-command-deck__hero span {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.15;
  text-transform: uppercase;
}

.shipcashbox-command-deck__hero strong {
  display: block;
  margin: 5px 0 2px;
  font-size: clamp(1.8rem, 5vw, 3rem);
  letter-spacing: -0.055em;
  line-height: 0.92;
}

.shipcashbox-command-deck__primary,
.shipcashbox-command-metrics button,
.shipcashbox-settlement-flow__more {
  border: 0;
  font: inherit;
  cursor: pointer;
}

.shipcashbox-command-deck__primary {
  display: grid;
  align-content: center;
  justify-items: center;
  min-width: 82px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
  text-align: center;
}

.shipcashbox-command-deck__primary b {
  font-size: 1.28rem;
  line-height: 1;
}

.shipcashbox-command-deck__primary span {
  max-width: 96px;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.66rem;
}

.shipcashbox-command-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.shipcashbox-command-metrics button {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 10px 11px;
  border: 1px solid rgba(16, 36, 58, 0.08);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--color-brand);
  text-align: left;
}

.shipcashbox-command-metrics span,
.shipcashbox-command-strip__spent span {
  overflow: hidden;
  color: var(--color-muted);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  line-height: 1.12;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.shipcashbox-command-metrics strong,
.shipcashbox-command-strip__spent strong {
  overflow: hidden;
  color: var(--color-brand);
  font-size: 0.96rem;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shipcashbox-command-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.shipcashbox-command-strip__crew {
  display: flex;
  min-width: 0;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.shipcashbox-command-strip__crew::-webkit-scrollbar {
  display: none;
}

.shipcashbox-command-avatar {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
  max-width: 146px;
  padding: 5px 8px 5px 5px;
  border: 1px solid rgba(16, 36, 58, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--color-brand);
}

.shipcashbox-command-avatar b {
  overflow: hidden;
  font-size: 0.76rem;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shipcashbox-command-avatar--more {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  padding: 0 9px;
  font-size: 0.78rem;
  font-weight: 900;
}

.shipcashbox-command-strip__spent {
  display: grid;
  justify-items: end;
  min-width: 92px;
}

.debt-avatar {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #dfe8f5;
  color: #10243a;
  font-size: 0.58rem;
  font-weight: 950;
  line-height: 1;
}

.debt-avatar--0 { background: #dfe5ff; }
.debt-avatar--1 { background: #e0f0ef; }
.debt-avatar--2 { background: #ffe6ba; }
.debt-avatar--3 { background: #e8e2ff; }
.debt-avatar--4 { background: #d9f1f4; }
.debt-avatar--5 { background: #f5dddf; }
.debt-avatar--6 { background: #e8edda; }
.debt-avatar--7 { background: #e6e0d7; }

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

.shipcashbox-metrics--compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.shipcashbox-metrics--team {
  max-width: 420px;
}

.shipcashbox-metric {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(16, 36, 58, 0.08);
  background: rgba(16, 36, 58, 0.04);
}

.shipcashbox-metric strong,
.shipcashbox-summary-card strong {
  font-size: 1.05rem;
  color: var(--color-brand);
}

.shipcashbox-summary-card,
.shipcashbox-entry,
.shipcashbox-chart__row,
.shipcashbox-log__group,
.shipcashbox-archive__row {
  display: grid;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(16, 36, 58, 0.08);
  background: rgba(16, 36, 58, 0.03);
}

.shipcashbox-archive__row--selectable {
  position: relative;
  min-height: 116px;
  cursor: pointer;
}

.shipcashbox-archive__row--selectable:hover {
  border-color: rgba(27, 55, 88, 0.22);
  box-shadow: 0 16px 30px rgba(16, 36, 58, 0.08);
}

.shipcashbox-archive__cover {
  position: absolute;
  inset: 0;
  border: 0;
  border-radius: inherit;
  background: transparent;
  cursor: pointer;
}

.shipcashbox-archive__cover:focus-visible {
  outline: 3px solid rgba(27, 55, 88, 0.22);
  outline-offset: 3px;
}

.shipcashbox-chart,
.shipcashbox-chart__metrics {
  display: grid;
  gap: 10px;
}

.shipcashbox-balance-rows {
  display: grid;
  gap: 6px;
}

.shipcashbox-balance-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 14px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(16, 36, 58, 0.07);
}

.shipcashbox-balance-row:last-child {
  border-bottom: 0;
}

.shipcashbox-balance-row span {
  color: var(--color-muted);
  font-size: 0.82rem;
  line-height: 1.25;
}

.shipcashbox-balance-row strong {
  justify-self: end;
  text-align: right;
  white-space: nowrap;
  font-size: 0.94rem;
}

.shipcashbox-balance-row--balance {
  padding-top: 8px;
}

.shipcashbox-balance-row--balance span,
.shipcashbox-balance-row--balance strong {
  color: var(--color-brand);
}

.shipcashbox-personal-report {
  display: grid;
  gap: 7px;
  margin-top: 14px;
}

.shipcashbox-personal-report-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid rgba(16, 36, 58, 0.08);
  border-radius: 13px;
  background: rgba(16, 36, 58, 0.025);
}

.shipcashbox-personal-report-row span {
  min-width: 0;
  overflow: hidden;
  color: var(--color-ink);
  font-size: 0.88rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shipcashbox-personal-report-row strong {
  font-size: 0.9rem;
  white-space: nowrap;
}

.shipcashbox-personal-report-row--income strong {
  color: #237a52;
}

.shipcashbox-personal-report-row--expense strong {
  color: #9a5038;
}

.shipcashbox-window-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.shipcashbox-chart__row {
  grid-template-columns: minmax(140px, 180px) minmax(0, 1fr);
  align-items: start;
}

.shipcashbox-chart__name {
  font-weight: 700;
  line-height: 1.3;
}

.shipcashbox-chart__metric {
  display: grid;
  gap: 6px;
}

.shipcashbox-chart__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.92rem;
  line-height: 1.3;
}

.shipcashbox-chart__meta span {
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.shipcashbox-chart__track {
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(16, 36, 58, 0.08);
}

.shipcashbox-chart__fill {
  display: block;
  height: 100%;
  border-radius: 999px;
}

.shipcashbox-chart__fill--contribution {
  background: #2f6ea8;
}

.shipcashbox-chart__fill--expense {
  background: #d38a2c;
}

.shipcashbox-chart__fill--personal {
  background: #d38a2c;
}

.shipcashbox-chart__fill--cashbox {
  background: #7856a5;
}

.shipcashbox-chart__fill--positive {
  background: #2e7d5a;
}

.shipcashbox-chart__fill--negative {
  background: #b85b3f;
}

.shipcashbox-chart__fill--neutral {
  background: #7c8b99;
}

.shipcashbox-list,
.shipcashbox-lines,
.shipcashbox-log__entries {
  display: grid;
  gap: 8px;
}

.shipcashbox-settlement-flow {
  display: grid;
  gap: 8px;
}

.shipcashbox-settlement-board {
  display: grid;
  gap: 12px;
}

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

.shipcashbox-settlement-summary article,
.shipcashbox-single-settlement,
.shipcashbox-settlement-board__list {
  border: 1px solid rgba(16, 36, 58, 0.08);
  border-radius: 17px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(247, 250, 251, 0.72)),
    rgba(255, 255, 255, 0.78);
}

.shipcashbox-settlement-summary article {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 11px 12px;
}

.shipcashbox-settlement-summary span,
.shipcashbox-single-settlement__head span,
.shipcashbox-single-settlement__totals span,
.shipcashbox-single-settlement__line span,
.shipcashbox-settlement-board__list > strong {
  color: var(--color-muted);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.15;
  text-transform: uppercase;
}

.shipcashbox-settlement-summary strong {
  overflow: hidden;
  color: var(--color-brand);
  font-size: clamp(1rem, 3vw, 1.32rem);
  letter-spacing: -0.035em;
  line-height: 1.02;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shipcashbox-single-settlement,
.shipcashbox-settlement-board__list {
  display: grid;
  gap: 10px;
  padding: 12px;
}

.shipcashbox-single-settlement--locked {
  border-color: rgba(16, 36, 58, 0.06);
  background:
    linear-gradient(145deg, rgba(248, 250, 251, 0.86), rgba(242, 246, 248, 0.72)),
    rgba(255, 255, 255, 0.7);
}

.shipcashbox-single-settlement__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(170px, 0.5fr);
  gap: 12px;
  align-items: end;
}

.shipcashbox-single-settlement__head > div {
  display: grid;
  gap: 4px;
}

.shipcashbox-single-settlement__head strong {
  color: var(--color-brand);
  font-size: 1rem;
  letter-spacing: -0.018em;
  line-height: 1.15;
}

.shipcashbox-single-settlement__select {
  margin: 0;
}

.shipcashbox-single-settlement__select select {
  min-height: 40px;
  padding: 8px 11px;
  border-radius: 13px;
}

.shipcashbox-single-settlement__result {
  display: grid;
  gap: 8px;
}

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

.shipcashbox-single-settlement__totals article {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 10px;
  border-radius: 14px;
  background: rgba(16, 36, 58, 0.045);
}

.shipcashbox-single-settlement__totals strong {
  overflow: hidden;
  color: var(--color-brand);
  font-size: 1.04rem;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shipcashbox-single-settlement__net--positive {
  background: rgba(46, 125, 90, 0.10) !important;
}

.shipcashbox-single-settlement__net--positive strong {
  color: #2e7d5a;
}

.shipcashbox-single-settlement__net--negative {
  background: rgba(184, 91, 63, 0.10) !important;
}

.shipcashbox-single-settlement__net--negative strong {
  color: #a94b34;
}

.shipcashbox-single-settlement__lines {
  display: grid;
  gap: 6px;
}

.shipcashbox-single-settlement__line {
  display: grid;
  grid-template-columns: minmax(62px, 0.36fr) minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.68);
}

.shipcashbox-single-settlement__line strong {
  overflow: hidden;
  color: var(--color-brand);
  font-size: 0.9rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shipcashbox-single-settlement__line b {
  color: var(--color-brand);
  font-size: 0.9rem;
  white-space: nowrap;
}

.shipcashbox-single-settlement__empty {
  padding: 10px;
  border-radius: 13px;
  background: rgba(46, 125, 90, 0.09);
  color: #2e7d5a;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.35;
}

.shipcashbox-single-settlement__actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.shipcashbox-single-settlement__actions .shipcashbox-note {
  margin: 0;
  font-size: 0.82rem;
}

.shipcashbox-single-settlement__actions .btn[aria-busy="true"],
.shipcashbox-rotation-card .btn[aria-busy="true"] {
  pointer-events: none;
}

.shipcashbox-rotation-card .btn:disabled,
.shipcashbox-single-settlement .btn:disabled {
  opacity: 0.72;
  cursor: not-allowed;
}

.shipcashbox-settlement-events {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(46, 125, 90, 0.14);
  border-radius: 17px;
  background: rgba(46, 125, 90, 0.07);
}

.shipcashbox-settlement-events > strong {
  color: #2e7d5a;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shipcashbox-settlement-events__list {
  display: grid;
  gap: 6px;
  max-height: min(38vh, 340px);
  overflow: auto;
  overscroll-behavior: contain;
  padding-right: 3px;
  scrollbar-width: thin;
}

.shipcashbox-close-audit {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(16, 36, 58, 0.08);
  border-radius: 17px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(247, 250, 251, 0.76)),
    rgba(255, 255, 255, 0.78);
}

.shipcashbox-close-audit--ready {
  border-color: rgba(46, 125, 90, 0.18);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(237, 247, 242, 0.82)),
    rgba(255, 255, 255, 0.82);
}

.shipcashbox-close-audit--warning {
  border-color: rgba(184, 91, 63, 0.18);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 246, 239, 0.84)),
    rgba(255, 255, 255, 0.82);
}

.shipcashbox-close-audit__head {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.shipcashbox-close-audit__head > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.shipcashbox-close-audit__head span,
.shipcashbox-close-audit__grid span {
  color: var(--color-muted);
  font-size: 0.66rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shipcashbox-close-audit__head strong {
  color: var(--color-brand);
  font-size: 1rem;
  letter-spacing: -0.018em;
}

.shipcashbox-close-audit__head b {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(16, 36, 58, 0.08);
  color: var(--color-brand);
  font-size: 0.72rem;
  font-weight: 950;
  white-space: nowrap;
}

.shipcashbox-close-audit--ready .shipcashbox-close-audit__head b {
  background: rgba(46, 125, 90, 0.12);
  color: #2e7d5a;
}

.shipcashbox-close-audit--warning .shipcashbox-close-audit__head b {
  background: rgba(184, 91, 63, 0.12);
  color: #a94b34;
}

.shipcashbox-close-audit__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 7px;
}

.shipcashbox-close-audit__grid article {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 9px;
  border-radius: 13px;
  background: rgba(16, 36, 58, 0.045);
}

.shipcashbox-close-audit__grid strong {
  overflow: hidden;
  color: var(--color-brand);
  font-size: 1rem;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shipcashbox-close-audit__warnings {
  display: grid;
  gap: 5px;
  max-height: 96px;
  margin: 0;
  overflow: auto;
  padding: 0 3px 0 18px;
  color: var(--color-brand);
  font-size: 0.82rem;
  font-weight: 760;
  line-height: 1.35;
}

.shipcashbox-close-audit p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.82rem;
  font-weight: 720;
  line-height: 1.35;
}

.shipcashbox-rotation-board {
  gap: 10px;
}

.shipcashbox-rotation-card {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(16, 36, 58, 0.08);
  border-radius: 17px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(247, 250, 251, 0.72)),
    rgba(255, 255, 255, 0.78);
}

.shipcashbox-rotation-card__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(170px, 0.48fr);
  gap: 12px;
  align-items: end;
}

.shipcashbox-rotation-card__head > div,
.shipcashbox-rotation-card > div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.shipcashbox-rotation-card strong {
  color: var(--color-brand);
  font-size: 1rem;
  letter-spacing: -0.018em;
  line-height: 1.15;
}

.shipcashbox-rotation-card span {
  color: var(--color-muted);
  font-size: 0.82rem;
  font-weight: 750;
  line-height: 1.32;
}

.shipcashbox-settlement-event {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.74);
}

.shipcashbox-settlement-event div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.shipcashbox-settlement-event b,
.shipcashbox-settlement-event strong {
  overflow: hidden;
  color: var(--color-brand);
  font-size: 0.88rem;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shipcashbox-settlement-event span {
  color: var(--color-muted);
  font-size: 0.72rem;
  line-height: 1.2;
}

.shipcashbox-settlement-flow--compact {
  gap: 6px;
}

.shipcashbox-settlement-flow__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(130px, 0.44fr);
  gap: 10px;
  align-items: center;
  padding: 9px 10px;
  border: 1px solid rgba(16, 36, 58, 0.08);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.66);
}

.shipcashbox-settlement-flow--compact .shipcashbox-settlement-flow__row {
  padding: 7px 8px;
  border-radius: 13px;
}

.shipcashbox-settlement-flow__people {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-width: 0;
}

.shipcashbox-settlement-flow__people strong {
  overflow: hidden;
  color: var(--color-brand);
  font-size: 0.86rem;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shipcashbox-settlement-flow--compact .shipcashbox-settlement-flow__people strong {
  font-size: 0.78rem;
}

.shipcashbox-settlement-flow__people strong:first-child {
  text-align: right;
}

.shipcashbox-settlement-flow__people span {
  color: rgba(16, 36, 58, 0.42);
  font-weight: 950;
}

.shipcashbox-settlement-flow__amount {
  position: relative;
  min-height: 28px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(16, 36, 58, 0.06);
}

.shipcashbox-settlement-flow__amount span {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: inherit;
  background: rgba(47, 110, 168, 0.32);
}

.shipcashbox-settlement-flow__row--positive .shipcashbox-settlement-flow__amount span {
  background: rgba(46, 125, 90, 0.34);
}

.shipcashbox-settlement-flow__row--warning .shipcashbox-settlement-flow__amount span {
  background: rgba(211, 138, 44, 0.36);
}

.shipcashbox-settlement-flow__amount b {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 28px;
  padding: 0 9px;
  color: var(--color-brand);
  font-size: 0.82rem;
  line-height: 1;
  white-space: nowrap;
}

.shipcashbox-settlement-flow__more,
.shipcashbox-settlement-flow__empty {
  min-height: 38px;
  border-radius: 14px;
  background: rgba(16, 36, 58, 0.05);
  color: var(--color-brand);
  font-weight: 900;
}

.shipcashbox-settlement-flow__empty {
  display: grid;
  gap: 3px;
  padding: 12px;
}

.shipcashbox-settlement-flow__empty span {
  color: var(--color-muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.shipcashbox-attachments {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 220px));
  gap: 12px;
}

.shipcashbox-attachment {
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(16, 36, 58, 0.08);
  background: rgba(16, 36, 58, 0.03);
}

.shipcashbox-attachment__media {
  display: block;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(16, 36, 58, 0.08);
  background: rgba(255, 255, 255, 0.92);
  aspect-ratio: 4 / 3;
}

.shipcashbox-attachment__media--document {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 8px;
  padding: 14px;
  color: var(--color-brand);
  text-decoration: none;
}

.shipcashbox-attachment__media--document span {
  color: var(--color-muted);
  font-size: 0.88rem;
  line-height: 1.4;
  word-break: break-word;
}

.shipcashbox-attachment__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(16, 36, 58, 0.08);
  color: var(--color-brand);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
}

.shipcashbox-attachment__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.shipcashbox-attachment__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.shipcashbox-receipt-links {
  display: grid;
  gap: 4px;
  margin-top: -6px;
  margin-bottom: 4px;
}

.shipcashbox-receipt-link-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 2px 2px 2px 20px;
  border-bottom: 0;
}

.shipcashbox-receipt-link-row:last-child {
  border-bottom: 0;
}

.shipcashbox-receipt-link {
  flex: 1 1 auto;
  display: block;
  min-width: 0;
  color: #1a73e8;
  font-size: 0.94rem;
  font-weight: 850;
  line-height: 1.35;
  text-decoration: none;
}

.shipcashbox-receipt-link:hover,
.shipcashbox-receipt-link:focus-visible {
  text-decoration: underline;
  outline: none;
}

.shipcashbox-receipt-link__text {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shipcashbox-receipt-link__delete {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(16, 36, 58, 0.46);
  font: inherit;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.shipcashbox-receipt-link__delete:hover,
.shipcashbox-receipt-link__delete:focus-visible {
  color: #a9422d;
  outline: none;
}

.shipcashbox-modal__card--scan {
  grid-template-rows: auto auto minmax(0, 1fr);
  width: min(1180px, calc(100vw - 24px));
  max-width: calc(100vw - 32px);
  max-height: min(820px, calc(100dvh - 32px));
  overflow: hidden;
}

.shipcashbox-scan-review {
  display: grid;
  grid-template-columns: minmax(520px, 1.75fr) minmax(280px, 0.75fr);
  gap: clamp(14px, 2vw, 22px);
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.shipcashbox-scan-review__queue {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(76, 124, 96, 0.16);
  border-radius: 16px;
  background: rgba(244, 248, 240, 0.78);
}

.shipcashbox-scan-review__queue[hidden] {
  display: none;
}

.shipcashbox-scan-review__queue-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--color-muted);
  font-size: 0.8rem;
}

.shipcashbox-scan-review__queue-line strong {
  color: var(--color-brand);
}

.shipcashbox-scan-review__queue-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-height: 72px;
  overflow: auto;
}

.shipcashbox-scan-review__queue-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: min(240px, 100%);
  padding: 5px 8px;
  border: 1px solid rgba(76, 124, 96, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: rgba(16, 36, 58, 0.74);
  font-size: 0.76rem;
  font-weight: 850;
  line-height: 1;
}

.shipcashbox-scan-review__queue-chip span {
  color: #3b8c57;
  font-weight: 950;
}

.shipcashbox-scan-review__proof {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 10px;
  min-width: 0;
  min-height: 100%;
  margin: 0;
}

.shipcashbox-scan-review__viewport {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border-radius: 18px;
  background:
    radial-gradient(circle at 35% 20%, rgba(255, 255, 255, 0.18), transparent 34%),
    #101820;
  touch-action: none;
  user-select: none;
}

.shipcashbox-scan-review__proof img {
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: min(58vh, 560px);
  border-radius: 18px;
  border: 1px solid rgba(16, 36, 58, 0.10);
  background: rgba(255, 255, 255, 0.82);
  object-fit: contain;
  cursor: grab;
  transform: translate3d(var(--scan-pan-x, 0px), var(--scan-pan-y, 0px), 0) scale(var(--scan-zoom, 1));
  transform-origin: center center;
  transition: transform 80ms linear;
  user-select: none;
  -webkit-user-drag: none;
}

.shipcashbox-scan-review__proof img.is-dragging {
  cursor: grabbing;
  transition: none;
}

.shipcashbox-scan-review__zoom {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(16, 24, 32, 0.72);
  backdrop-filter: blur(8px);
}

.shipcashbox-scan-review__zoom button {
  min-width: 34px;
  height: 30px;
  padding: 0 9px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-brand);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.shipcashbox-scan-review__zoom button:hover,
.shipcashbox-scan-review__zoom button:focus-visible {
  background: #fff;
  outline: none;
}

.shipcashbox-scan-review__proof figcaption {
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(76, 124, 96, 0.08);
  color: var(--color-brand);
  font-size: 0.84rem;
}

.shipcashbox-scan-review__proof figcaption span {
  color: #2f6847;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.shipcashbox-scan-review__proof figcaption strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.shipcashbox-scan-review__form {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 2px;
  -webkit-overflow-scrolling: touch;
}

.shipcashbox-scan-review__status {
  min-height: 1.25em;
  margin: 0;
  color: #2f6847;
  font-size: 0.86rem;
  font-weight: 800;
}

.shipcashbox-scan-review__status.is-error {
  color: #a9422d;
}

.shipcashbox-scan-review__candidates {
  display: grid;
  gap: 10px;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid rgba(76, 124, 96, 0.16);
  background: rgba(244, 248, 240, 0.72);
}

.shipcashbox-scan-review__candidates[hidden] {
  display: none;
}

.shipcashbox-scan-review__candidate-group {
  display: grid;
  gap: 7px;
}

.shipcashbox-scan-review__candidate-group strong {
  color: rgba(16, 36, 58, 0.74);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shipcashbox-scan-review__candidate-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.shipcashbox-scan-review__candidate {
  min-height: 32px;
  padding: 0 11px;
  border: 1px solid rgba(76, 124, 96, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--color-brand);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
}

.shipcashbox-scan-review__candidate:hover,
.shipcashbox-scan-review__candidate:focus-visible {
  border-color: rgba(47, 104, 71, 0.42);
  background: #fff;
  outline: none;
}

.shipcashbox-scan-review__actions {
  position: sticky;
  bottom: 0;
  z-index: 2;
  margin-top: 2px;
  padding-top: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(250, 248, 242, 0.96) 32%);
}

.shipcashbox-list__row {
  padding: 10px 0;
  border-bottom: 1px solid rgba(16, 36, 58, 0.08);
}

.shipcashbox-list__row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.shipcashbox-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(16, 36, 58, 0.04);
}

.shipcashbox-line__participants {
  color: var(--color-muted);
  font-size: 0.9rem;
}

.shipcashbox-participant-row {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(16, 36, 58, 0.08);
  background: rgba(16, 36, 58, 0.03);
}

.shipcashbox-participant-row--draft {
  border-style: dashed;
  background: rgba(47, 110, 168, 0.05);
}

.shipcashbox-participant-row__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.shipcashbox-participant-row__top--editor {
  grid-template-columns: minmax(0, 1fr) minmax(190px, 0.8fr) minmax(150px, 180px);
  align-items: start;
}

.shipcashbox-participant-row__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.shipcashbox-participant-row__hint {
  margin: 0;
}

.shipcashbox-teambar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
}

.shipcashbox-teambar__copy {
  display: grid;
  gap: 10px;
}

.shipcashbox-teambar .shipcashbox-note {
  margin: 0;
  max-width: 72ch;
}

.shipcashbox-window-menu,
.shipcashbox-modal__body {
  display: grid;
  gap: 14px;
}

.shipcashbox-window-menu {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.shipcashbox-modal__body {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

.shipcashbox-sheet-actions {
  display: grid;
  gap: 10px;
}

.shipcashbox-guide {
  display: grid;
  gap: 10px;
}

.shipcashbox-guide p {
  margin: 0;
  color: var(--color-brand);
  line-height: 1.5;
}

.shipcashbox-window-link {
  display: grid;
  gap: 6px;
  width: 100%;
  padding: 16px 18px;
  border: 1px solid rgba(16, 36, 58, 0.08);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(16, 36, 58, 0.04));
  color: var(--color-brand);
  text-align: left;
  font: inherit;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(16, 36, 58, 0.05);
}

.shipcashbox-window-link span {
  color: var(--color-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.shipcashbox-window-link:hover,
.shipcashbox-window-link:focus-visible {
  border-color: rgba(27, 55, 88, 0.24);
  background: rgba(16, 36, 58, 0.05);
  outline: none;
}

.shipcashbox-choice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  color: var(--color-brand);
  font-size: 0.94rem;
}

.shipcashbox-choice input {
  margin: 0;
}

.shipcashbox-choice.is-hidden {
  display: none;
}

.shipcashbox-top-link {
  min-height: 38px;
}

.shipcashbox-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 16px;
  overflow: hidden;
  overscroll-behavior: contain;
}

.shipcashbox-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 19, 31, 0.52);
}

.shipcashbox-modal__card {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(100%, 460px);
  max-height: calc(100dvh - 32px);
  padding: 20px;
  gap: 16px;
  overflow: hidden;
}

.shipcashbox-modal__card--workspace {
  width: min(100%, 1040px);
  height: min(860px, calc(100dvh - 32px));
}

.shipcashbox-modal--workscreen .shipcashbox-modal__card--workspace {
  width: min(100%, 1120px);
}

.shipcashbox-modal--workscreen .shipcashbox-modal__head {
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(16, 36, 58, 0.08);
}

.shipcashbox-modal--workscreen .shipcashbox-modal__head .section-heading__eyebrow {
  display: none;
}

.shipcashbox-modal--workscreen .shipcashbox-modal__head h2 {
  margin: 0;
  font-size: clamp(1.05rem, 1.9vw, 1.28rem);
  line-height: 1.15;
}

.shipcashbox-modal--workscreen .shipcashbox-modal__head > div:first-child {
  min-width: 0;
}

.shipcashbox-modal--workscreen .shipcashbox-modal__head .shipcashbox-inline-actions {
  align-items: center;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  gap: 8px;
}

.shipcashbox-modal--workscreen .shipcashbox-modal__head .btn {
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.84rem;
}

.shipcashbox-exit {
  display: grid;
  gap: 12px;
  align-content: start;
}

.shipcashbox-qr {
  width: min(100%, 260px);
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 16px;
  border: 1px solid rgba(16, 36, 58, 0.08);
  background: #fff;
}

.shipcashbox-install {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 16px;
  border: 1px dashed rgba(16, 36, 58, 0.18);
  background: rgba(16, 36, 58, 0.03);
}

.shipcashbox-install[hidden] {
  display: none;
}

body.navdesk-theme-night .shipcashbox-card,
body.navdesk-theme-night .shipcashbox-entry-card,
body.navdesk-theme-night .shipcashbox-equalizer-transfer,
body.navdesk-theme-night .shipcashbox-equalizer-person,
body.navdesk-theme-night .shipcashbox-summary-card,
body.navdesk-theme-night .shipcashbox-entry,
body.navdesk-theme-night .shipcashbox-log__group,
body.navdesk-theme-night .shipcashbox-archive__row,
body.navdesk-theme-night .shipcashbox-participant-row,
body.navdesk-theme-night .shipcashbox-attachment,
body.navdesk-theme-night .shipcashbox-line,
body.navdesk-theme-night .shipcashbox-settlement-flow__row,
body.navdesk-theme-night .shipcashbox-command-metrics button,
body.navdesk-theme-night .shipcashbox-command-avatar,
body.navdesk-theme-night .shipcashbox-metric,
body.navdesk-theme-night .shipcashbox-flash,
body.navdesk-theme-night .shipcashbox-pill,
body.navdesk-theme-night .shipcashbox-statusline__item,
body.navdesk-theme-night .shipcashbox-install,
body.navdesk-theme-night .shipcashbox-modal__card,
body.navdesk-theme-night .shipcashbox-window-link,
body.navdesk-theme-night .shipcashbox-submitted-records,
body.navdesk-theme-night .shipcashbox-submitted-record__button {
  background:
    linear-gradient(145deg, rgba(22, 35, 47, 0.94), rgba(11, 18, 26, 0.9)),
    rgba(20, 30, 40, 0.92);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

body.navdesk-theme-night .shipcashbox-command-deck {
  background:
    linear-gradient(135deg, rgba(22, 35, 47, 0.96), rgba(11, 18, 26, 0.92)),
    #101820;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

body.navdesk-theme-night .shipcashbox-personal-quiet {
  background: rgba(20, 30, 40, 0.82);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

body.navdesk-theme-night .shipcashbox-personal-quiet__balance,
body.navdesk-theme-night .shipcashbox-personal-quiet__balance--positive,
body.navdesk-theme-night .shipcashbox-personal-quiet__balance--negative,
body.navdesk-theme-night .shipcashbox-personal-quiet__stats > span {
  background:
    linear-gradient(145deg, rgba(22, 35, 47, 0.94), rgba(11, 18, 26, 0.9)),
    rgba(20, 30, 40, 0.92);
  border-color: rgba(255, 255, 255, 0.08);
}

body.navdesk-theme-night .shipcashbox-personal-quiet__balance strong,
body.navdesk-theme-night .shipcashbox-personal-quiet__stats strong {
  color: #f3f6fa;
}

body.navdesk-theme-night .shipcashbox-personal-quiet__balance p {
  color: rgba(243, 246, 250, 0.66);
}

body.navdesk-theme-night .shipcashbox-entry-hero {
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.13), transparent 34%),
    radial-gradient(circle at 86% 18%, rgba(111, 155, 185, 0.18), transparent 28%),
    linear-gradient(135deg, #10243a, #071014);
  border-color: rgba(255, 255, 255, 0.08);
}

body.navdesk-theme-night .shipcashbox-entry-hero__copy h2,
body.navdesk-theme-night .shipcashbox-entry-card h2,
body.navdesk-theme-night .shipcashbox-equalizer-grid h3,
body.navdesk-theme-night .shipcashbox-equalizer-summary b,
body.navdesk-theme-night .shipcashbox-equalizer-transfer b,
body.navdesk-theme-night .shipcashbox-equalizer-person span,
body.navdesk-theme-night .shipcashbox-equalizer-person strong,
body.navdesk-theme-night .shipcashbox-equalizer-person em {
  color: #f3f6fa;
}

body.navdesk-theme-night .shipcashbox-entry-hero__copy span,
body.navdesk-theme-night .shipcashbox-entry-card p {
  color: rgba(243, 246, 250, 0.68);
}

body.navdesk-theme-night .shipcashbox-equalizer-summary span,
body.navdesk-theme-night .shipcashbox-equalizer-empty {
  background: rgba(255, 255, 255, 0.08);
}

body.navdesk-theme-night .shipcashbox-equalizer-board__input,
body.navdesk-theme-night .shipcashbox-equalizer-board__result,
body.navdesk-theme-night .shipcashbox-equalizer-saved {
  background:
    linear-gradient(145deg, rgba(22, 35, 47, 0.94), rgba(11, 18, 26, 0.9)),
    rgba(20, 30, 40, 0.92);
  border-color: rgba(255, 255, 255, 0.08);
}

body.navdesk-theme-night .shipcashbox-equalizer-saved strong,
body.navdesk-theme-night .shipcashbox-equalizer-saved b {
  color: #f3f6fa;
}

body.navdesk-theme-night .shipcashbox-settlement-flow__amount,
body.navdesk-theme-night .shipcashbox-settlement-flow__more,
body.navdesk-theme-night .shipcashbox-settlement-flow__empty {
  background: rgba(255, 255, 255, 0.08);
}

body.navdesk-theme-night .shipcashbox-appbar {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(11, 18, 26, 0.72);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
}

body.navdesk-theme-night .shipcashbox-appbar__brand strong {
  color: #f3f6fa;
}

body.navdesk-theme-night .shipcashbox-appbar__mark {
  background: linear-gradient(145deg, #e2bd76, #8b5f2c);
  color: #08131f;
}

body.navdesk-theme-night .shipcashbox-mode-chip {
  border-color: rgba(226, 189, 118, 0.2);
  background: rgba(226, 189, 118, 0.1);
  color: #f0d9ad;
}

body.navdesk-theme-night .shipcashbox-info-hint {
  border-color: rgba(255, 255, 255, 0.14);
}

body.navdesk-theme-night .shipcashbox-help-popover {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(12, 18, 26, 0.98);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.35);
  color: #f3f6fa;
}

body.navdesk-theme-night .shipcashbox-field input,
body.navdesk-theme-night .shipcashbox-field textarea,
body.navdesk-theme-night .shipcashbox-field select,
body.navdesk-theme-night .shipcashbox-notebook-textarea {
  background: rgba(11, 18, 26, 0.92);
  border-color: rgba(255, 255, 255, 0.08);
  color: #f3f6fa;
}

body.navdesk-theme-night .shipcashbox-notebook-footer,
body.navdesk-theme-night .shipcashbox-lock__button {
  background: rgba(11, 18, 26, 0.94);
  border-color: rgba(255, 255, 255, 0.08);
}

body.navdesk-theme-night .shipcashbox-line-assistant {
  border-color: rgba(113, 156, 126, 0.2);
  background: rgba(28, 45, 36, 0.72);
}

body.navdesk-theme-night .shipcashbox-line-assistant__copy strong {
  color: #f3f6fa;
}

body.navdesk-theme-night .shipcashbox-line-assistant__button {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(113, 156, 126, 0.26);
  color: #c7decf;
}

body.navdesk-theme-night .shipcashbox-line-assistant__proof {
  border-color: rgba(138, 180, 248, 0.22);
  background: rgba(138, 180, 248, 0.10);
  color: #8ab4f8;
}

body.navdesk-theme-night .shipcashbox-notebook-action--save,
body.navdesk-theme-night .shipcashbox-notebook-action--attach {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.10);
  color: #f3f6fa;
}

body.navdesk-theme-night .shipcashbox-notebook-action--submit {
  background: linear-gradient(135deg, rgba(222, 232, 220, 0.18), rgba(88, 128, 106, 0.28));
  border-color: rgba(168, 194, 175, 0.18);
  color: #f3f6fa;
}

body.navdesk-theme-night .shipcashbox-notebook-proof-clip {
  color: #8ab4f8;
}

body.navdesk-theme-night .shipcashbox-notebook-proof-menu {
  border-color: rgba(138, 180, 248, 0.18);
  background: rgba(11, 18, 26, 0.98);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.34);
}

body.navdesk-theme-night .shipcashbox-notebook-proof-menu a {
  color: #8ab4f8;
}

body.navdesk-theme-night .shipcashbox-notebook-proof-menu button {
  color: #e8a094;
}

body.navdesk-theme-night .shipcashbox-notebook-proof-menu a:hover,
body.navdesk-theme-night .shipcashbox-notebook-proof-menu a:focus-visible,
body.navdesk-theme-night .shipcashbox-notebook-proof-menu button:hover,
body.navdesk-theme-night .shipcashbox-notebook-proof-menu button:focus-visible {
  background: rgba(255, 255, 255, 0.08);
}

body.navdesk-theme-night .shipcashbox-attachment__media {
  background: rgba(11, 18, 26, 0.94);
  border-color: rgba(255, 255, 255, 0.08);
}

body.navdesk-theme-night .shipcashbox-attachment__badge {
  background: rgba(255, 255, 255, 0.08);
  color: #f3f6fa;
}

body.navdesk-theme-night .shipcashbox-receipt-link-row {
  border-color: rgba(255, 255, 255, 0.08);
}

body.navdesk-theme-night .shipcashbox-receipt-link {
  color: #8ab4f8;
}

body.navdesk-theme-night .shipcashbox-receipt-link__delete {
  color: rgba(243, 246, 250, 0.58);
}

body.navdesk-theme-night .shipcashbox-scan-review__proof img {
  background: rgba(11, 18, 26, 0.94);
  border-color: rgba(255, 255, 255, 0.08);
}

body.navdesk-theme-night .shipcashbox-scan-review__proof figcaption {
  background: rgba(113, 156, 126, 0.10);
  color: #f3f6fa;
}

body.navdesk-theme-night .shipcashbox-scan-review__proof figcaption span,
body.navdesk-theme-night .shipcashbox-scan-review__status {
  color: #c7decf;
}

body.navdesk-theme-night .shipcashbox-scan-review__status.is-error {
  color: #f0a38d;
}

body.navdesk-theme-night .shipcashbox-scan-review__candidates {
  background: rgba(113, 156, 126, 0.10);
  border-color: rgba(113, 156, 126, 0.18);
}

body.navdesk-theme-night .shipcashbox-scan-review__candidate-group strong {
  color: rgba(243, 246, 250, 0.72);
}

body.navdesk-theme-night .shipcashbox-scan-review__candidate {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(113, 156, 126, 0.26);
  color: #f3f6fa;
}

body.navdesk-theme-night .shipcashbox-scan-review__candidate:hover,
body.navdesk-theme-night .shipcashbox-scan-review__candidate:focus-visible {
  background: rgba(255, 255, 255, 0.13);
}

body.navdesk-theme-night .shipcashbox-lock {
  background: rgba(11, 18, 26, 0.72);
}

body.navdesk-theme-night .shipcashbox-chart__track {
  background: rgba(255, 255, 255, 0.08);
}

body.navdesk-theme-night .shipcashbox-qr {
  background: #fff;
}

/* Ship journal day/night polish: keep both modes intentional instead of mixed inherited surfaces. */
body.navdesk-theme-day.shipcashbox-viewer-guest .shipcashbox-entry-hero {
  color: #10243a;
}

body.navdesk-theme-day.shipcashbox-viewer-guest .shipcashbox-entry-hero__copy p {
  color: rgba(27, 55, 88, 0.58);
}

body.navdesk-theme-day.shipcashbox-viewer-guest .shipcashbox-entry-hero__copy h2 {
  color: #10243a;
}

body.navdesk-theme-day.shipcashbox-viewer-guest .shipcashbox-entry-hero__copy span {
  color: rgba(27, 55, 88, 0.72);
}

body.navdesk-theme-day.shipcashbox-viewer-guest .shipcashbox-entry-card {
  border-color: rgba(16, 36, 58, 0.10);
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.9), transparent 36%),
    linear-gradient(145deg, rgba(255, 253, 246, 0.98), rgba(238, 245, 247, 0.9));
  box-shadow: 0 18px 36px rgba(16, 36, 58, 0.12);
}

body.navdesk-theme-day.shipcashbox-viewer-guest .shipcashbox-entry-card--journal {
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.92), transparent 36%),
    linear-gradient(145deg, #fff7e5, #e7f0ec 58%, #d9e7e9);
}

body.navdesk-theme-day.shipcashbox-viewer-guest .shipcashbox-entry-card--crew {
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.88), transparent 34%),
    linear-gradient(145deg, #eef5f8, #f9f2e4);
}

body.navdesk-theme-day.shipcashbox-viewer-guest .shipcashbox-entry-card--equalizer {
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.92), transparent 34%),
    linear-gradient(145deg, #f7eedf, #e8f2ea);
}

body.navdesk-theme-day.shipcashbox-viewer-guest .shipcashbox-entry-invite {
  border-color: rgba(16, 36, 58, 0.12);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(237, 244, 245, 0.72)),
    rgba(255, 255, 255, 0.78);
  color: #10243a;
  box-shadow: 0 14px 30px rgba(16, 36, 58, 0.10);
}

body.navdesk-theme-day.shipcashbox-viewer-guest .shipcashbox-entry-invite__copy strong {
  color: #10243a;
}

body.navdesk-theme-day.shipcashbox-viewer-guest .shipcashbox-entry-invite__copy span,
body.navdesk-theme-day.shipcashbox-viewer-guest .shipcashbox-entry-invite .shipcashbox-field span {
  color: rgba(27, 55, 88, 0.66);
}

body.navdesk-theme-day.shipcashbox-viewer-guest .shipcashbox-entry-invite input {
  border-color: rgba(16, 36, 58, 0.14);
  background: rgba(255, 255, 255, 0.86);
  color: #10243a;
}

body.navdesk-theme-day .shipcashbox-entry-rights {
  color: rgba(27, 55, 88, 0.58);
  border-left-color: rgba(16, 36, 58, 0.10);
}

body.navdesk-theme-night.shipcashbox-viewer-guest .shipcashbox-entry-card {
  border-color: rgba(226, 189, 118, 0.18);
  background:
    radial-gradient(circle at 8% 0%, rgba(226, 189, 118, 0.18), transparent 34%),
    linear-gradient(145deg, rgba(20, 31, 41, 0.98), rgba(8, 14, 20, 0.95));
  color: #f3f6fa;
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.36);
}

body.navdesk-theme-night.shipcashbox-viewer-guest .shipcashbox-entry-card h2 {
  color: #fff6df !important;
}

body.navdesk-theme-night.shipcashbox-viewer-guest .shipcashbox-entry-card p {
  color: rgba(243, 246, 250, 0.68) !important;
}

body.navdesk-theme-night.shipcashbox-viewer-guest .shipcashbox-entry-card .shipcashbox-field--entry span {
  color: rgba(243, 246, 250, 0.62) !important;
}

body.navdesk-theme-night.shipcashbox-viewer-guest .shipcashbox-entry-card .shipcashbox-field--entry input {
  border-color: rgba(226, 189, 118, 0.20);
  background: rgba(4, 10, 16, 0.68);
  color: #fff6df;
}

body.navdesk-theme-night.shipcashbox-viewer-guest .shipcashbox-entry-card .btn {
  background: linear-gradient(135deg, #e2bd76, #b57a33) !important;
  color: #08131f !important;
}

body.navdesk-theme-night .shipcashbox-entry-rights {
  color: rgba(243, 246, 250, 0.50) !important;
}

body.navdesk-theme-night .shipcashbox-start-button,
body.navdesk-theme-night .shipcashbox-menu-button {
  border-color: rgba(226, 189, 118, 0.18) !important;
  background: rgba(255, 255, 255, 0.06) !important;
  color: #f0d9ad !important;
}

body.navdesk-theme-night .shipcashbox-start-button:hover,
body.navdesk-theme-night .shipcashbox-start-button:focus-visible,
body.navdesk-theme-night .shipcashbox-menu-button:hover,
body.navdesk-theme-night .shipcashbox-menu-button:focus-visible {
  background: rgba(226, 189, 118, 0.12) !important;
  border-color: rgba(226, 189, 118, 0.28) !important;
}

body.navdesk-theme-night .shipcashbox-menu-button .site-menu-button__icon span {
  background: #f0d9ad !important;
}

body.navdesk-theme-day .shipcashbox-app-menu .management-modal__dialog {
  border: 1px solid rgba(16, 36, 58, 0.10);
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.9), transparent 34%),
    linear-gradient(145deg, rgba(255, 252, 244, 0.98), rgba(240, 247, 248, 0.96));
  box-shadow: 0 24px 70px rgba(16, 36, 58, 0.20);
}

body.navdesk-theme-night .shipcashbox-app-menu .management-modal__dialog {
  border: 1px solid rgba(226, 189, 118, 0.16);
  background:
    radial-gradient(circle at 0% 0%, rgba(226, 189, 118, 0.12), transparent 32%),
    linear-gradient(145deg, rgba(20, 31, 41, 0.98), rgba(7, 13, 19, 0.98));
  color: #f3f6fa;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.52);
}

body.navdesk-theme-night .shipcashbox-app-menu .management-modal__header h3,
body.navdesk-theme-night .shipcashbox-app-menu .site-menu-settings__label {
  color: #fff6df !important;
}

body.navdesk-theme-night .shipcashbox-app-menu .management-modal-nav a,
body.navdesk-theme-night .shipcashbox-app-menu .management-modal-nav__button,
body.navdesk-theme-night .shipcashbox-app-menu .site-menu-settings,
body.navdesk-theme-night .shipcashbox-app-menu .site-menu-language,
body.navdesk-theme-night .shipcashbox-app-menu .site-menu-account {
  border-color: rgba(226, 189, 118, 0.14);
  background: rgba(255, 255, 255, 0.055);
  color: rgba(243, 246, 250, 0.86) !important;
}

body.navdesk-theme-night .shipcashbox-app-menu .management-modal-nav a:hover,
body.navdesk-theme-night .shipcashbox-app-menu .management-modal-nav a:focus-visible,
body.navdesk-theme-night .shipcashbox-app-menu .management-modal-nav__button:hover,
body.navdesk-theme-night .shipcashbox-app-menu .management-modal-nav__button:focus-visible {
  border-color: rgba(226, 189, 118, 0.28);
  background: rgba(226, 189, 118, 0.12);
  color: #fff6df !important;
}

body.navdesk-theme-day .shipcashbox-app-menu__theme {
  background: rgba(16, 36, 58, 0.06);
}

body.navdesk-theme-night .shipcashbox-app-menu__theme {
  border-color: rgba(226, 189, 118, 0.18);
  background: rgba(4, 10, 16, 0.54);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 12px 28px rgba(0, 0, 0, 0.28);
}

body.navdesk-theme-night .shipcashbox-app-menu__theme .navdesk-theme-switch__btn {
  color: rgba(243, 246, 250, 0.70) !important;
}

body.navdesk-theme-night .shipcashbox-app-menu__theme .navdesk-theme-switch__btn.is-active {
  background: linear-gradient(135deg, #e2bd76, #9c6b31) !important;
  color: #08131f !important;
  box-shadow: 0 8px 18px rgba(226, 189, 118, 0.20);
}

body.navdesk-theme-night .shipcashbox-field span,
body.navdesk-theme-night .shipcashbox-note,
body.navdesk-theme-night .shipcashbox-entry__meta,
body.navdesk-theme-night .shipcashbox-archive__meta,
body.navdesk-theme-night .shipcashbox-empty,
body.navdesk-theme-night .shipcashbox-window-link span,
body.navdesk-theme-night .shipcashbox-appbar__brand span {
  color: rgba(243, 246, 250, 0.62) !important;
}

body.navdesk-theme-night .shipcashbox-field input:focus,
body.navdesk-theme-night .shipcashbox-field textarea:focus,
body.navdesk-theme-night .shipcashbox-field select:focus,
body.navdesk-theme-night .shipcashbox-notebook-textarea:focus {
  border-color: rgba(226, 189, 118, 0.34);
  box-shadow: 0 0 0 3px rgba(226, 189, 118, 0.12);
}

body.navdesk-theme-night .shipcashbox-modal__backdrop {
  background: rgba(3, 8, 13, 0.72);
  backdrop-filter: blur(6px);
}

body.navdesk-theme-night .shipcashbox-modal__head {
  border-bottom-color: rgba(226, 189, 118, 0.12);
}

@media (max-width: 1100px) {
  .shipcashbox-grid--treasurer {
    grid-template-columns: 1fr;
  }

  .shipcashbox-card--sticky {
    position: static;
  }
}

@media (max-width: 1380px) {
  .shipcashbox-grid--treasurer .shipcashbox-participant-row__top {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .shipcashbox-inline-actions--participant {
    justify-content: flex-start;
  }
}

@media (max-width: 760px), (max-height: 720px) and (max-width: 980px) {
  .shipcashbox-modal__card--scan {
    width: min(680px, calc(100vw - 20px));
    max-width: calc(100vw - 20px);
  }

  .shipcashbox-scan-review {
    grid-template-columns: 1fr;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .shipcashbox-scan-review__proof {
    grid-template-columns: minmax(128px, 0.62fr) minmax(0, 1fr);
    grid-template-rows: auto;
    align-items: stretch;
  }

  .shipcashbox-scan-review__proof img {
    max-height: min(32vh, 230px);
  }

  .shipcashbox-scan-review__form {
    overflow: visible;
  }
}

@media (max-width: 860px) {
  .shipcashbox-page {
    gap: 10px;
    padding-bottom: max(14px, env(safe-area-inset-bottom));
  }

  .navdesk-shipcashbox-page {
    margin-top: 0;
  }

  .shipcashbox-body .site-shell {
    padding-top: 10px;
  }

  .shipcashbox-appbar,
  .shipcashbox-body .navdesk-header-card,
  .shipcashbox-body .shipcashbox-hero,
  .shipcashbox-body .footer--site {
    display: none;
  }

  .shipcashbox-mobile-masthead {
    position: sticky;
    top: max(8px, env(safe-area-inset-top));
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    min-height: 42px;
    padding: 10px 12px;
    box-sizing: border-box;
    border: 1px solid rgba(16, 36, 58, 0.1);
    border-radius: 16px;
    background: rgba(250, 248, 242, 0.96);
    box-shadow: 0 14px 28px rgba(16, 36, 58, 0.08);
    color: var(--color-brand);
    backdrop-filter: blur(12px);
  }

  .shipcashbox-mobile-masthead span,
  .shipcashbox-mobile-masthead strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.1;
  }

  .shipcashbox-mobile-masthead span {
    font-weight: 800;
  }

  .shipcashbox-mobile-masthead > strong {
    color: var(--color-muted);
    font-size: 0.74rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .shipcashbox-mode-chip--mobile {
    min-height: 26px;
    padding: 0 8px;
    font-size: 0.58rem;
    letter-spacing: 0.05em;
  }

  @media (max-width: 430px) {
    .shipcashbox-mobile-masthead > strong {
      display: none;
    }
  }

  .shipcashbox-menu-button--mobile {
    --site-menu-button-height: 34px;
    --site-menu-button-icon: 15px;
    flex: 0 0 auto;
    padding: 0 10px !important;
    border-radius: 999px !important;
    font-size: 0.82rem !important;
  }

  .shipcashbox-start-button--mobile {
    --site-menu-button-height: 34px;
    flex: 0 0 auto;
    padding: 0 10px !important;
    border-radius: 999px !important;
    font-size: 0.8rem !important;
  }

  .shipcashbox-menu-button--mobile .site-menu-button__icon {
    width: 15px !important;
    height: 15px !important;
  }

  .shipcashbox-command-deck {
    gap: 7px;
    padding: 8px;
    border-radius: 16px;
  }

  .shipcashbox-personal-quiet {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 6px;
    border-radius: 15px;
    box-shadow: none;
  }

  .shipcashbox-personal-quiet__balance {
    grid-template-columns: 1fr;
    gap: 3px;
    padding: 8px 10px;
    border-radius: 13px;
  }

  .shipcashbox-personal-quiet__balance strong {
    font-size: clamp(1.18rem, 7vw, 1.72rem);
  }

  .shipcashbox-personal-quiet__balance p {
    font-size: 0.72rem;
  }

  .shipcashbox-personal-quiet__stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
  }

  .shipcashbox-personal-quiet__stats > span {
    min-height: 45px;
    padding: 6px;
    border-radius: 11px;
  }

  .shipcashbox-personal-quiet__balance span,
  .shipcashbox-personal-quiet__stats span span {
    font-size: 0.55rem;
    letter-spacing: 0.05em;
  }

  .shipcashbox-personal-quiet__stats strong {
    font-size: 0.72rem;
  }

  .shipcashbox-command-deck__hero {
    gap: 8px;
    padding: 9px;
    border-radius: 14px;
  }

  .shipcashbox-command-deck__hero strong {
    margin: 3px 0 1px;
    font-size: clamp(1.38rem, 8vw, 2.08rem);
  }

  .shipcashbox-command-deck__primary {
    min-width: 62px;
    padding: 6px 7px;
    border-radius: 12px;
  }

  .shipcashbox-command-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .shipcashbox-command-metrics button {
    min-height: 48px;
    padding: 7px 8px;
    border-radius: 12px;
  }

  .shipcashbox-command-metrics span,
  .shipcashbox-command-strip__spent span {
    font-size: 0.62rem;
  }

  .shipcashbox-command-metrics strong,
  .shipcashbox-command-strip__spent strong {
    font-size: 0.82rem;
  }

  .shipcashbox-command-strip {
    grid-template-columns: 1fr;
  }

  .shipcashbox-command-strip__spent {
    display: none;
  }

  .shipcashbox-command-avatar {
    max-width: 128px;
  }

  .shipcashbox-settlement-flow__row {
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 8px;
    border-radius: 13px;
  }

  .shipcashbox-settlement-flow__people strong {
    font-size: 0.78rem;
  }

  .shipcashbox-settlement-flow__amount {
    min-height: 24px;
  }

  .shipcashbox-settlement-flow__amount b {
    min-height: 24px;
    font-size: 0.76rem;
  }

  .shipcashbox-close-audit__head {
    align-items: start;
    flex-direction: column;
  }

  .shipcashbox-close-audit__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .shipcashbox-close-audit__grid article {
    padding: 8px;
  }

  .shipcashbox-close-audit__warnings {
    max-height: 84px;
    font-size: 0.76rem;
  }

  .shipcashbox-workspace-section {
    margin-top: 0;
  }

  .shipcashbox-workspace-card,
  .shipcashbox-card {
    padding: 12px;
    border-radius: 16px;
  }

  .shipcashbox-entry-hero {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px;
    border-radius: 20px;
  }

  .shipcashbox-viewer-guest .shipcashbox-page {
    padding-right: 12px;
    padding-left: 12px;
  }

  .shipcashbox-viewer-guest .shipcashbox-entry-hero {
    padding: 0 4px 3px;
  }

  .shipcashbox-entry-hero__copy h2 {
    font-size: clamp(2rem, 12vw, 3.2rem);
  }

  .shipcashbox-entry-hero__meter {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .shipcashbox-entry-grid {
    grid-template-columns: 1fr;
  }

  .shipcashbox-viewer-guest .shipcashbox-entry-card,
  .shipcashbox-viewer-guest .shipcashbox-entry-card--crew,
  .shipcashbox-viewer-guest .shipcashbox-entry-card--equalizer {
    grid-template-columns: minmax(112px, 0.84fr) minmax(0, 1.16fr);
    min-height: 144px;
  }

  .shipcashbox-viewer-guest .shipcashbox-entry-card--crew .shipcashbox-entry-card__copy,
  .shipcashbox-viewer-guest .shipcashbox-entry-card--equalizer .shipcashbox-entry-card__copy {
    order: 1;
  }

  .shipcashbox-viewer-guest .shipcashbox-entry-card--crew .shipcashbox-entry-card__media,
  .shipcashbox-viewer-guest .shipcashbox-entry-card--equalizer .shipcashbox-entry-card__media {
    order: 0;
  }

  .shipcashbox-viewer-guest .shipcashbox-entry-card__copy {
    padding: 12px;
  }

  .shipcashbox-viewer-guest .shipcashbox-entry-card h2 {
    font-size: 0.98rem;
  }

  .shipcashbox-viewer-guest .shipcashbox-entry-card p {
    font-size: 0.68rem;
  }

  .shipcashbox-viewer-guest .shipcashbox-entry-card__media {
    min-height: 144px;
  }

  .shipcashbox-entry-card {
    padding: 13px;
    border-radius: 17px;
  }

  .shipcashbox-viewer-guest .shipcashbox-entry-card {
    padding: 0;
    border-radius: 15px;
  }

  .shipcashbox-viewer-guest .shipcashbox-entry-invite {
    grid-template-columns: 1fr;
  }

  .shipcashbox-entry-rights {
    min-height: 0;
    padding: 8px 0 0;
    border-left: 0;
    border-top: 1px solid rgba(247, 234, 208, 0.14);
    justify-content: center;
    font-size: 0.58rem;
    text-align: center;
  }

  .shipcashbox-equalizer-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
  }

  .shipcashbox-equalizer-summary span {
    padding: 8px;
    font-size: 0.64rem;
  }

  .shipcashbox-entry-hero--compact {
    grid-template-columns: 1fr;
  }

  .shipcashbox-equalizer-board {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .shipcashbox-equalizer-board__input,
  .shipcashbox-equalizer-board__result {
    padding: 12px;
    border-radius: 16px;
  }

  .shipcashbox-equalizer-board__input textarea {
    min-height: 220px;
  }

  .shipcashbox-equalizer-saved {
    gap: 6px;
  }

  .shipcashbox-equalizer-saved__head {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .shipcashbox-equalizer-transfer {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  }

  .shipcashbox-equalizer-transfer strong {
    grid-column: 1 / -1;
    justify-self: center;
  }

  .shipcashbox-equalizer-person {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .shipcashbox-equalizer-person em {
    grid-column: 1 / -1;
    justify-self: end;
  }

  .shipcashbox-workspace-card {
    padding: 10px;
  }

  .shipcashbox-settlement-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .shipcashbox-settlement-summary article,
  .shipcashbox-single-settlement,
  .shipcashbox-settlement-board__list {
    border-radius: 14px;
  }

  .shipcashbox-settlement-summary article,
  .shipcashbox-single-settlement,
  .shipcashbox-settlement-board__list {
    padding: 9px;
  }

  .shipcashbox-single-settlement__head {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .shipcashbox-rotation-card__head {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .shipcashbox-rotation-card {
    padding: 9px;
    border-radius: 14px;
  }

  .shipcashbox-single-settlement__totals {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .shipcashbox-single-settlement__line {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .shipcashbox-single-settlement__line span {
    grid-column: 1 / -1;
  }

  .shipcashbox-single-settlement__actions,
  .shipcashbox-settlement-event {
    grid-template-columns: 1fr;
  }

  .shipcashbox-single-settlement__actions .btn {
    width: 100%;
  }

  .shipcashbox-settlement-event strong {
    white-space: normal;
  }

  .shipcashbox-body.shipcashbox-has-active-group .shipcashbox-workspace-card {
    min-height: calc(var(--cashbox-vvh, 100svh) - 64px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    padding: 7px;
  }

  .shipcashbox-body.shipcashbox-has-active-group .shipcashbox-card--notebook {
    min-height: calc(var(--cashbox-vvh, 100svh) - 86px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    grid-template-rows: auto minmax(180px, 1fr) auto auto;
  }

  .shipcashbox-shell,
  .shipcashbox-grid,
  .shipcashbox-stack {
    gap: 10px;
  }

  .shipcashbox-statusline--workspace {
    display: none;
    flex-wrap: nowrap;
    gap: 6px;
    justify-content: flex-end;
  }

  .shipcashbox-statusline__item,
  .shipcashbox-pill,
  .shipcashbox-archive__status {
    min-height: 28px;
    padding: 5px 9px;
    font-size: 0.76rem;
  }

  .shipcashbox-card h2 {
    font-size: clamp(1.05rem, 5.2vw, 1.38rem);
    line-height: 1.12;
  }

  .shipcashbox-work-title {
    font-size: clamp(1rem, 4.8vw, 1.22rem);
  }

  .shipcashbox-work-meta {
    max-width: 25ch;
    font-size: 0.76rem;
  }

  .shipcashbox-modal {
    place-items: stretch;
    padding: max(8px, env(safe-area-inset-top)) 8px max(8px, env(safe-area-inset-bottom));
  }

  .shipcashbox-modal__card {
    width: 100%;
    max-height: calc(100dvh - 16px);
    padding: 12px;
    border-radius: 16px;
  }

  .shipcashbox-modal__card--workspace {
    height: calc(100dvh - 16px);
  }

  .shipcashbox-modal__head {
    position: sticky;
    top: 0;
    z-index: 2;
    padding-bottom: 8px;
    background: rgba(250, 248, 242, 0.98);
  }

  .shipcashbox-modal--workscreen .shipcashbox-modal__head {
    align-items: center;
    flex-direction: row;
    gap: 8px;
    min-height: 44px;
    padding-bottom: 8px;
  }

  .shipcashbox-modal--workscreen .shipcashbox-modal__head h2 {
    overflow: hidden;
    font-size: 1rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .shipcashbox-modal--workscreen .shipcashbox-modal__head .shipcashbox-inline-actions {
    gap: 6px;
  }

  .shipcashbox-modal--workscreen .shipcashbox-modal__head .btn {
    min-height: 34px;
    padding: 0 9px;
    font-size: 0.78rem;
  }

  .shipcashbox-modal__body {
    padding-right: 2px;
    padding-bottom: max(2px, env(safe-area-inset-bottom));
  }

  .shipcashbox-teambar {
    grid-template-columns: 1fr;
  }

  .shipcashbox-actions--team {
    justify-content: stretch;
  }

  .shipcashbox-actions--team .btn {
    flex: 1 1 150px;
  }

  .shipcashbox-participant-row__top--editor,
  .shipcashbox-participant-row__top {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .shipcashbox-participant-row__stats {
    display: grid;
    grid-template-columns: 1fr;
  }

  .shipcashbox-note {
    font-size: 0.88rem;
  }

  .section-heading__eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
  }

  .shipcashbox-form__grid,
  .shipcashbox-metrics,
  .shipcashbox-chart__row {
    grid-template-columns: 1fr;
  }

  .shipcashbox-window-actions {
    grid-template-columns: 1fr;
  }

  .shipcashbox-metrics--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shipcashbox-metric {
    padding: 12px;
    border-radius: 15px;
  }

  .shipcashbox-field--notebook textarea {
    min-height: 46svh;
  }

  .shipcashbox-notebook-textarea {
    min-height: min(44svh, calc(var(--cashbox-vvh, 100svh) - 210px));
    height: 100%;
    padding: 13px 14px 78px;
    border-radius: 15px;
    font-size: 1rem;
    line-height: 1.5;
    scroll-margin: 96px 0 max(160px, calc(var(--cashbox-keyboard-offset, 0px) + 24px));
  }

  body.shipcashbox-notebook-focused .shipcashbox-mobile-masthead {
    display: none;
  }

  body.shipcashbox-notebook-focused .shipcashbox-card--notebook,
  body.shipcashbox-body.shipcashbox-has-active-group.shipcashbox-notebook-focused .shipcashbox-card--notebook {
    gap: 8px;
    min-height: 0;
    height: calc(var(--cashbox-vvh, 100svh) - 22px - env(safe-area-inset-bottom));
    overflow: hidden;
  }

  body.shipcashbox-notebook-focused .shipcashbox-card--notebook .shipcashbox-workhead {
    align-items: flex-start;
  }

  body.shipcashbox-notebook-focused .shipcashbox-card--notebook .shipcashbox-work-meta,
  body.shipcashbox-notebook-focused .shipcashbox-card--notebook .shipcashbox-metrics,
  body.shipcashbox-notebook-focused .shipcashbox-card--notebook .shipcashbox-stack,
  body.shipcashbox-notebook-focused .shipcashbox-card--notebook .shipcashbox-submitted-records {
    display: none;
  }

  body.shipcashbox-notebook-focused .shipcashbox-command-deck {
    display: none;
  }

  body.shipcashbox-notebook-focused .shipcashbox-card--notebook .shipcashbox-inline-actions .shipcashbox-pill--metric,
  body.shipcashbox-notebook-focused .shipcashbox-card--notebook .shipcashbox-inline-actions .btn:not(#openWorkspaceMenuButton) {
    display: none;
  }

  body.shipcashbox-notebook-focused .shipcashbox-notebook-textarea,
  body.shipcashbox-body.shipcashbox-has-active-group.shipcashbox-notebook-focused .shipcashbox-notebook-textarea {
    min-height: 0;
    max-height: none;
    height: 100%;
    resize: none;
  }

  .shipcashbox-line-assistant {
    right: 9px;
    bottom: 9px;
    left: 9px;
    min-height: 42px;
    padding: 6px 7px 6px 11px;
    border-radius: 13px;
  }

  .shipcashbox-line-assistant__copy strong {
    font-size: 0.82rem;
  }

  .shipcashbox-line-assistant__button {
    min-height: 31px;
    padding: 0 11px;
    font-size: 0.78rem;
  }

  .shipcashbox-notebook-textarea {
    padding-right: 48px;
  }

  .shipcashbox-notebook-proof-clip {
    right: 11px;
    width: 24px;
    height: 22px;
    font-size: 0.9rem;
  }

  .shipcashbox-notebook-proof-menu {
    right: 24px;
  }

  body.shipcashbox-notebook-focused .shipcashbox-notebook-footer {
    border-color: rgba(16, 36, 58, 0.06);
    background: rgba(250, 248, 242, 0.76);
    box-shadow: none;
  }

  body.shipcashbox-notebook-focused #attachReceiptButton,
  body.shipcashbox-notebook-focused .shipcashbox-notebook-footer__metric {
    display: none;
  }

  .shipcashbox-card__head,
  .shipcashbox-card__row,
  .shipcashbox-list__row,
  .shipcashbox-archive__row {
    align-items: flex-start;
    flex-direction: column;
  }

  .shipcashbox-notebook-footer,
  .shipcashbox-notebook-footer__metric {
    align-items: flex-start;
    justify-items: start;
  }

  .shipcashbox-notebook-footer {
    position: static;
    padding: 10px;
    display: grid;
    grid-template-columns: 1fr;
  }

  .shipcashbox-notebook-footer__status {
    min-width: 0;
    font-size: 0.78rem;
  }

  .shipcashbox-actions,
  .shipcashbox-share-actions,
  .shipcashbox-inline-actions,
  .shipcashbox-notebook-footer__actions {
    gap: 8px;
  }

  .shipcashbox-actions .btn,
  .shipcashbox-share-actions .btn,
  .shipcashbox-inline-actions .btn,
  .shipcashbox-notebook-footer__actions .btn {
    min-height: 42px;
  }

  .shipcashbox-modal__card--scan {
    width: 100%;
    max-width: none;
    height: calc(100dvh - 16px);
    max-height: calc(100dvh - 16px);
    padding: 12px;
  }

  .shipcashbox-scan-review {
    grid-template-columns: 1fr;
    gap: 12px;
    overflow-y: auto;
    padding-right: 1px;
  }

  .shipcashbox-scan-review__proof {
    grid-template-columns: minmax(92px, 0.46fr) minmax(0, 1fr);
    grid-template-rows: auto;
    gap: 9px;
  }

  .shipcashbox-scan-review__proof img {
    max-height: min(26vh, 180px);
    border-radius: 14px;
  }

  .shipcashbox-scan-review__proof figcaption {
    padding: 8px 10px;
    border-radius: 12px;
    font-size: 0.78rem;
  }

  .shipcashbox-scan-review__form {
    gap: 10px;
    overflow: visible;
  }

  .shipcashbox-scan-review__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 0;
    padding-top: 10px;
  }

  .shipcashbox-scan-review__actions .btn {
    width: 100%;
  }

  .shipcashbox-receipt-link-row {
    align-items: flex-start;
    padding-left: 12px;
  }

  .shipcashbox-receipt-link {
    font-size: 0.9rem;
  }

  .shipcashbox-receipt-link__delete {
    padding-top: 2px;
  }

  .shipcashbox-window-menu {
    grid-template-columns: 1fr;
  }

  body.navdesk-theme-night .shipcashbox-mobile-masthead {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(11, 18, 26, 0.95);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.32);
    color: #f3f6fa;
  }

  body.navdesk-theme-night .shipcashbox-modal__head {
    background: rgba(20, 30, 40, 0.98);
  }
}

@media (max-width: 860px) and (orientation: landscape), (max-height: 520px) and (max-width: 960px) {
  .shipcashbox-mobile-masthead {
    position: static;
    min-height: 34px;
    padding: 7px 10px;
    border-radius: 13px;
  }

  .shipcashbox-body.shipcashbox-has-active-group .shipcashbox-card--notebook {
    min-height: calc(var(--cashbox-vvh, 100svh) - 74px - env(safe-area-inset-bottom));
  }

  body.shipcashbox-body.shipcashbox-has-active-group.shipcashbox-notebook-focused .shipcashbox-card--notebook {
    min-height: 0;
  }

  body.shipcashbox-notebook-focused .shipcashbox-notebook-textarea,
  body.shipcashbox-body.shipcashbox-has-active-group.shipcashbox-notebook-focused .shipcashbox-notebook-textarea {
    min-height: 0;
    max-height: none;
  }
}

@media (max-width: 430px) {
  .shipcashbox-modal__card--scan {
    padding: 10px;
  }

  .shipcashbox-scan-review__proof {
    grid-template-columns: 1fr;
  }

  .shipcashbox-scan-review__proof img {
    max-height: min(24vh, 160px);
  }

  .shipcashbox-scan-review__proof figcaption {
    font-size: 0.74rem;
  }

  .shipcashbox-scan-review__candidate {
    min-height: 34px;
    font-size: 0.78rem;
  }
}

/* Scan modal hard override: keep the review usable after the generic modal card rules. */
.shipcashbox-modal__card.shipcashbox-modal__card--scan {
  box-sizing: border-box;
  grid-template-rows: auto auto minmax(0, 1fr);
  width: min(1180px, calc(100vw - 24px));
  max-width: calc(100vw - 24px);
  height: min(860px, calc(100dvh - 24px));
  max-height: min(860px, calc(100dvh - 24px));
  overflow: hidden;
}

.shipcashbox-modal__card--scan .shipcashbox-scan-review {
  min-width: 0;
  min-height: 0;
  max-height: 100%;
  overflow: hidden;
}

.shipcashbox-modal__card--scan .shipcashbox-scan-review__form {
  min-width: 0;
  min-height: 0;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-gutter: stable;
}

.shipcashbox-modal__card--scan .shipcashbox-scan-review__proof,
.shipcashbox-modal__card--scan .shipcashbox-scan-review__viewport,
.shipcashbox-modal__card--scan .shipcashbox-scan-review__proof img {
  min-width: 0;
  min-height: 0;
}

.shipcashbox-modal__card--scan .shipcashbox-scan-review__proof {
  height: 100%;
}

.shipcashbox-modal__card--scan .shipcashbox-scan-review__viewport {
  height: 100%;
}

.shipcashbox-modal__card--scan .shipcashbox-scan-review__proof img {
  max-height: none;
}

@media (max-width: 760px), (max-height: 720px) and (max-width: 980px) {
  .shipcashbox-modal__card.shipcashbox-modal__card--scan {
    width: min(760px, calc(100vw - 12px));
    max-width: calc(100vw - 12px);
    height: calc(100dvh - 12px);
    max-height: calc(100dvh - 12px);
    padding: 12px;
  }

  .shipcashbox-modal__card--scan .shipcashbox-scan-review {
    grid-template-columns: 1fr;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .shipcashbox-modal__card--scan .shipcashbox-scan-review__proof {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    height: auto;
  }

  .shipcashbox-modal__card--scan .shipcashbox-scan-review__viewport {
    height: min(54vh, 520px);
    min-height: 300px;
  }

  .shipcashbox-modal__card--scan .shipcashbox-scan-review__form {
    overflow: visible;
    padding-right: 0;
  }
}

@media (max-width: 430px) {
  .shipcashbox-modal__card.shipcashbox-modal__card--scan {
    width: calc(100vw - 12px);
    max-width: calc(100vw - 12px);
    height: calc(100dvh - 12px);
    max-height: calc(100dvh - 12px);
    padding: 10px;
  }

  .shipcashbox-modal__card--scan .shipcashbox-scan-review__viewport {
    height: min(52vh, 430px);
    min-height: 280px;
  }
}

/* Night main screen hard polish. Keep this after responsive rules so the entry hall is truly night. */
body.navdesk-theme-night.shipcashbox-body {
  background:
    radial-gradient(circle at 50% 6%, rgba(226, 189, 118, 0.10), transparent 26%),
    radial-gradient(circle at 16% 20%, rgba(65, 126, 158, 0.18), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(137, 95, 52, 0.16), transparent 30%),
    linear-gradient(145deg, #071116 0%, #111c21 52%, #172322 100%);
}

body.navdesk-theme-night.shipcashbox-viewer-guest .shipcashbox-workspace-card {
  max-width: min(1180px, calc(100vw - 48px));
}

body.navdesk-theme-night.shipcashbox-viewer-guest .shipcashbox-entry-screen {
  gap: 16px;
}

body.navdesk-theme-night.shipcashbox-viewer-guest .shipcashbox-entry-hero {
  position: relative;
  padding: 4px 10px 2px;
  color: #f7ead0;
}

body.navdesk-theme-night.shipcashbox-viewer-guest .shipcashbox-entry-hero__copy p {
  color: rgba(226, 189, 118, 0.78) !important;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.navdesk-theme-night.shipcashbox-viewer-guest .shipcashbox-entry-hero__copy h2 {
  color: #f8e8c7 !important;
  text-shadow: 0 12px 36px rgba(0, 0, 0, 0.42);
}

body.navdesk-theme-night.shipcashbox-viewer-guest .shipcashbox-entry-hero__copy span {
  color: rgba(248, 232, 199, 0.72) !important;
}

body.navdesk-theme-night.shipcashbox-viewer-guest .shipcashbox-entry-grid {
  gap: 14px;
}

body.navdesk-theme-night.shipcashbox-viewer-guest .shipcashbox-entry-card {
  border: 1px solid rgba(226, 189, 118, 0.20);
  background:
    radial-gradient(circle at 0% 0%, rgba(226, 189, 118, 0.14), transparent 32%),
    linear-gradient(145deg, rgba(22, 34, 42, 0.98), rgba(8, 15, 21, 0.96)) !important;
  color: #f7ead0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 24px 48px rgba(0, 0, 0, 0.42);
}

body.navdesk-theme-night.shipcashbox-viewer-guest .shipcashbox-entry-card--journal {
  background:
    radial-gradient(circle at 12% 0%, rgba(226, 189, 118, 0.22), transparent 34%),
    linear-gradient(145deg, rgba(28, 40, 45, 0.98), rgba(11, 18, 24, 0.98)) !important;
}

body.navdesk-theme-night.shipcashbox-viewer-guest .shipcashbox-entry-card--crew,
body.navdesk-theme-night.shipcashbox-viewer-guest .shipcashbox-entry-card--equalizer {
  background:
    radial-gradient(circle at 100% 0%, rgba(226, 189, 118, 0.16), transparent 30%),
    linear-gradient(145deg, rgba(21, 33, 42, 0.98), rgba(9, 16, 23, 0.96)) !important;
}

body.navdesk-theme-night.shipcashbox-viewer-guest .shipcashbox-entry-card__media {
  background:
    radial-gradient(circle at 50% 20%, rgba(226, 189, 118, 0.18), transparent 32%),
    linear-gradient(145deg, #0c171f, #251a12);
}

body.navdesk-theme-night.shipcashbox-viewer-guest .shipcashbox-entry-card__media img {
  filter: brightness(0.72) contrast(1.08) saturate(0.9);
  opacity: 0.92;
}

body.navdesk-theme-night.shipcashbox-viewer-guest .shipcashbox-entry-card h2 {
  color: #fff0cf !important;
}

body.navdesk-theme-night.shipcashbox-viewer-guest .shipcashbox-entry-card p {
  color: rgba(248, 232, 199, 0.72) !important;
}

body.navdesk-theme-night.shipcashbox-viewer-guest .shipcashbox-entry-card .btn {
  background: linear-gradient(135deg, #e6c27a, #a86d2a) !important;
  color: #071116 !important;
  box-shadow: 0 12px 24px rgba(226, 189, 118, 0.18);
}

body.navdesk-theme-night.shipcashbox-viewer-guest .shipcashbox-entry-card .shipcashbox-field--entry span {
  color: rgba(248, 232, 199, 0.64) !important;
}

body.navdesk-theme-night.shipcashbox-viewer-guest .shipcashbox-entry-card .shipcashbox-field--entry input {
  border-color: rgba(226, 189, 118, 0.24);
  background: rgba(4, 10, 14, 0.72);
  color: #fff0cf;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

body.navdesk-theme-night.shipcashbox-viewer-guest .shipcashbox-entry-invite {
  border: 1px solid rgba(226, 189, 118, 0.18);
  background:
    radial-gradient(circle at 12% 0%, rgba(226, 189, 118, 0.14), transparent 34%),
    linear-gradient(145deg, rgba(22, 34, 42, 0.96), rgba(9, 16, 23, 0.94)) !important;
  color: #f7ead0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 20px 40px rgba(0, 0, 0, 0.34);
}

body.navdesk-theme-night.shipcashbox-viewer-guest .shipcashbox-entry-invite__copy strong {
  color: #fff0cf !important;
}

body.navdesk-theme-night.shipcashbox-viewer-guest .shipcashbox-entry-invite__copy span,
body.navdesk-theme-night.shipcashbox-viewer-guest .shipcashbox-entry-invite .shipcashbox-field span {
  color: rgba(248, 232, 199, 0.66) !important;
}

body.navdesk-theme-night.shipcashbox-viewer-guest .shipcashbox-entry-invite input {
  border-color: rgba(226, 189, 118, 0.24);
  background: rgba(4, 10, 14, 0.76);
  color: #fff0cf;
}

body.navdesk-theme-night.shipcashbox-viewer-guest .shipcashbox-entry-invite .btn {
  background: linear-gradient(135deg, #ffd681, #d89538) !important;
  color: #071116 !important;
}

body.navdesk-theme-night.shipcashbox-viewer-guest .shipcashbox-entry-rights {
  border-left-color: rgba(226, 189, 118, 0.16);
  color: rgba(248, 232, 199, 0.52) !important;
}

@media (max-width: 860px) {
  body.navdesk-theme-night.shipcashbox-viewer-guest .shipcashbox-workspace-card {
    max-width: none;
  }

  body.navdesk-theme-night.shipcashbox-viewer-guest .shipcashbox-entry-card {
    min-height: 144px;
  }

  body.navdesk-theme-night.shipcashbox-viewer-guest .shipcashbox-entry-rights {
    border-left: 0;
    border-top: 1px solid rgba(226, 189, 118, 0.16);
  }
}

/* Main entry desktop composition polish. This deliberately wins over previous entry-hall rules. */
body.navdesk-theme-day.shipcashbox-body {
  background:
    radial-gradient(circle at 18% 8%, rgba(58, 125, 170, 0.13), transparent 32%),
    radial-gradient(circle at 84% 10%, rgba(211, 138, 44, 0.11), transparent 30%),
    linear-gradient(145deg, #f7f4ec 0%, #eef4f7 58%, #f8f0df 100%) !important;
}

body.navdesk-theme-night.shipcashbox-body {
  background:
    radial-gradient(circle at 50% 6%, rgba(226, 189, 118, 0.10), transparent 26%),
    radial-gradient(circle at 16% 20%, rgba(65, 126, 158, 0.18), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(137, 95, 52, 0.16), transparent 30%),
    linear-gradient(145deg, #071116 0%, #111c21 52%, #172322 100%) !important;
}

body.shipcashbox-viewer-guest .site-shell {
  width: min(1360px, calc(100vw - 48px));
  margin-inline: auto;
  padding-top: clamp(14px, 2.4vh, 28px);
  padding-bottom: clamp(18px, 3vh, 36px);
}

body.shipcashbox-viewer-guest .shipcashbox-appbar,
body.shipcashbox-viewer-guest .shipcashbox-mobile-masthead,
body.shipcashbox-viewer-guest #cashboxSiteHero,
body.shipcashbox-viewer-guest .footer--site {
  display: none !important;
}

body.shipcashbox-viewer-guest .shipcashbox-page {
  min-height: auto;
  align-content: start;
  padding-top: 0;
  padding-bottom: 0;
}

body.shipcashbox-viewer-guest .shipcashbox-workspace-card {
  width: 100%;
  max-width: none;
}

body.shipcashbox-viewer-guest .shipcashbox-entry-screen {
  gap: 14px;
  width: min(100%, 1120px);
  margin-inline: auto;
}

body.shipcashbox-viewer-guest .shipcashbox-entry-hero {
  display: grid;
  min-height: 0;
  padding: clamp(16px, 2.2vw, 24px) clamp(22px, 3vw, 34px);
  border: 1px solid rgba(16, 36, 58, 0.10);
  border-radius: 24px;
  text-align: left;
  box-shadow: 0 16px 34px rgba(16, 36, 58, 0.09);
}

body.shipcashbox-viewer-guest .shipcashbox-entry-hero__copy {
  justify-items: start;
  gap: 4px;
  max-width: min(760px, 72vw);
}

body.shipcashbox-viewer-guest .shipcashbox-entry-hero__copy p {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body.shipcashbox-viewer-guest .shipcashbox-entry-hero__copy h2 {
  max-width: 12ch;
  font-size: clamp(1.9rem, 3.6vw, 3.35rem);
  letter-spacing: -0.055em;
  line-height: 0.92;
  text-wrap: balance;
}

body.shipcashbox-viewer-guest .shipcashbox-entry-hero__copy span {
  max-width: 58ch;
  font-size: clamp(0.84rem, 1vw, 0.96rem);
  line-height: 1.32;
}

body.navdesk-theme-day.shipcashbox-viewer-guest .shipcashbox-entry-hero {
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.86), transparent 34%),
    radial-gradient(circle at 88% 8%, rgba(211, 138, 44, 0.12), transparent 28%),
    linear-gradient(135deg, #fff8e7, #e7f0ef 68%, #dbe8ea) !important;
  border-color: rgba(16, 36, 58, 0.10);
}

body.navdesk-theme-day.shipcashbox-viewer-guest .shipcashbox-entry-hero__copy p {
  color: rgba(154, 100, 42, 0.78) !important;
}

body.navdesk-theme-day.shipcashbox-viewer-guest .shipcashbox-entry-hero__copy h2 {
  color: #10243a !important;
  text-shadow: none;
}

body.navdesk-theme-day.shipcashbox-viewer-guest .shipcashbox-entry-hero__copy span {
  color: rgba(16, 36, 58, 0.72) !important;
}

body.navdesk-theme-night.shipcashbox-viewer-guest .shipcashbox-entry-hero {
  background:
    radial-gradient(circle at 12% 0%, rgba(226, 189, 118, 0.16), transparent 32%),
    radial-gradient(circle at 88% 0%, rgba(65, 126, 158, 0.14), transparent 34%),
    linear-gradient(135deg, rgba(24, 38, 48, 0.98), rgba(7, 15, 22, 0.98)) !important;
  border-color: rgba(226, 189, 118, 0.18);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24);
}

body.navdesk-theme-night.shipcashbox-viewer-guest .shipcashbox-entry-hero__copy p {
  color: rgba(226, 189, 118, 0.82) !important;
}

body.navdesk-theme-night.shipcashbox-viewer-guest .shipcashbox-entry-hero__copy h2 {
  color: #fff0cf !important;
  text-shadow: 0 16px 38px rgba(0, 0, 0, 0.42);
}

body.navdesk-theme-night.shipcashbox-viewer-guest .shipcashbox-entry-hero__copy span {
  color: rgba(248, 232, 199, 0.72) !important;
}

body.shipcashbox-viewer-guest .shipcashbox-entry-grid {
  grid-template-columns: minmax(500px, 1.18fr) minmax(380px, 0.92fr);
  gap: 20px;
  align-items: stretch;
}

body.shipcashbox-viewer-guest .shipcashbox-entry-card {
  border-radius: 24px;
}

body.shipcashbox-viewer-guest .shipcashbox-entry-card--journal {
  grid-row: span 2;
  grid-template-columns: 1fr;
}

body.shipcashbox-viewer-guest .shipcashbox-entry-card--journal .shipcashbox-entry-card__media {
  min-height: clamp(320px, 38vw, 520px);
}

body.shipcashbox-viewer-guest .shipcashbox-entry-card--journal .shipcashbox-entry-card__copy {
  padding: clamp(22px, 3vw, 34px);
}

body.shipcashbox-viewer-guest .shipcashbox-entry-card--journal h2 {
  font-size: clamp(2rem, 3vw, 3rem);
}

body.shipcashbox-viewer-guest .shipcashbox-entry-card--crew,
body.shipcashbox-viewer-guest .shipcashbox-entry-card--equalizer {
  grid-template-columns: minmax(0, 1fr) minmax(190px, 0.78fr);
  min-height: 236px;
}

body.shipcashbox-viewer-guest .shipcashbox-entry-card--crew .shipcashbox-entry-card__copy,
body.shipcashbox-viewer-guest .shipcashbox-entry-card--equalizer .shipcashbox-entry-card__copy {
  padding: clamp(20px, 2.6vw, 30px);
}

body.shipcashbox-viewer-guest .shipcashbox-entry-card--crew .shipcashbox-entry-card__media,
body.shipcashbox-viewer-guest .shipcashbox-entry-card--equalizer .shipcashbox-entry-card__media {
  min-height: 236px;
}

body.shipcashbox-viewer-guest .shipcashbox-entry-card h2 {
  font-size: clamp(1.25rem, 2vw, 1.85rem);
}

body.shipcashbox-viewer-guest .shipcashbox-entry-card p {
  font-size: clamp(0.86rem, 1.05vw, 1rem);
}

body.shipcashbox-viewer-guest .shipcashbox-entry-card .btn {
  margin-top: 4px;
}

body.shipcashbox-viewer-guest .shipcashbox-entry-invite {
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.1fr) minmax(170px, 0.52fr);
  gap: 22px;
  padding: 22px 26px;
  border-radius: 24px;
}

body.shipcashbox-viewer-guest .shipcashbox-entry-invite__copy strong {
  font-size: 1.1rem;
}

body.shipcashbox-viewer-guest .shipcashbox-entry-invite__copy span {
  font-size: 0.82rem;
}

body.shipcashbox-viewer-guest .shipcashbox-entry-invite input {
  min-height: 54px;
  font-size: 1.18rem;
}

body.shipcashbox-viewer-guest .shipcashbox-entry-invite .btn {
  min-height: 54px;
  font-size: 0.98rem;
}

/* Reuse the real Nav Desk header on the Ship Cashbox entry screen. */
#cashboxGuestTopbar {
  display: none;
}

body.shipcashbox-viewer-guest #cashboxGuestTopbar {
  display: block;
  width: min(1120px, calc(100vw - 48px));
  max-width: 100%;
  margin-inline: auto;
}

body.shipcashbox-viewer-guest #cashboxGuestTopbar .topbar.topbar--site-menu {
  display: grid !important;
  grid-template-columns: minmax(280px, 360px) auto;
  align-items: center !important;
  gap: clamp(14px, 2vw, 24px) !important;
  padding: 16px 20px !important;
}

body.shipcashbox-viewer-guest #cashboxGuestTopbar .topbar.topbar--site-menu .brand,
body.shipcashbox-viewer-guest #cashboxGuestTopbar .topbar.topbar--site-menu .brand.brand--image {
  width: 100% !important;
  max-width: 360px !important;
  min-width: 280px !important;
  flex: 0 0 auto !important;
}

body.shipcashbox-viewer-guest #cashboxGuestTopbar .topbar.topbar--site-menu .brand__picture--home {
  width: 100% !important;
  min-width: 0 !important;
  overflow: hidden !important;
}

body.shipcashbox-viewer-guest #cashboxGuestTopbar .topbar.topbar--site-menu .brand__logo-image.navdesk-logo,
body.navdesk-theme-night.shipcashbox-viewer-guest #cashboxGuestTopbar .topbar.topbar--site-menu .brand__logo-image.navdesk-logo {
  width: 100% !important;
  height: 74px !important;
  max-width: 360px !important;
  max-height: 74px !important;
  object-fit: contain !important;
  object-position: left center !important;
}

body.navdesk-theme-night.shipcashbox-viewer-guest #cashboxGuestTopbar .topbar.topbar--site-menu .brand__logo-image.navdesk-logo {
  content: url('/brand/logo-vetus-nauta-night-clean.png?v=20260603-logo-clean-css-fit-01') !important;
  width: 119.1% !important;
  max-width: none !important;
  margin-left: -2.9% !important;
}

body.shipcashbox-viewer-guest #cashboxGuestTopbar .topbar.topbar--site-menu .topbar__actions {
  width: auto !important;
  min-width: max-content !important;
  margin-left: auto !important;
  justify-content: flex-end !important;
  justify-self: end !important;
  gap: 12px !important;
}

@media (max-width: 980px) {
  body.shipcashbox-viewer-guest .site-shell {
    width: min(100%, calc(100vw - 24px));
  }

  body.shipcashbox-viewer-guest #cashboxGuestTopbar {
    width: 100%;
  }

  body.shipcashbox-viewer-guest #cashboxGuestTopbar .topbar.topbar--site-menu {
    grid-template-columns: minmax(220px, 1fr) auto;
    padding: 12px 14px !important;
  }

  body.shipcashbox-viewer-guest #cashboxGuestTopbar .topbar.topbar--site-menu .brand,
  body.shipcashbox-viewer-guest #cashboxGuestTopbar .topbar.topbar--site-menu .brand.brand--image {
    max-width: 300px !important;
    min-width: 220px !important;
  }

  body.shipcashbox-viewer-guest #cashboxGuestTopbar .topbar.topbar--site-menu .brand__logo-image.navdesk-logo,
  body.navdesk-theme-night.shipcashbox-viewer-guest #cashboxGuestTopbar .topbar.topbar--site-menu .brand__logo-image.navdesk-logo {
    height: 62px !important;
    max-width: 300px !important;
    max-height: 62px !important;
  }

  body.shipcashbox-viewer-guest #cashboxGuestTopbar .topbar.topbar--site-menu .topbar__actions {
    gap: 10px !important;
  }
}

@media (max-width: 720px) {
  body.shipcashbox-viewer-guest #cashboxGuestTopbar .topbar.topbar--site-menu {
    grid-template-columns: 1fr;
    justify-items: center !important;
    gap: 12px !important;
  }

  body.shipcashbox-viewer-guest #cashboxGuestTopbar .topbar.topbar--site-menu .brand,
  body.shipcashbox-viewer-guest #cashboxGuestTopbar .topbar.topbar--site-menu .brand.brand--image {
    min-width: 0 !important;
    width: min(100%, 300px) !important;
    max-width: 300px !important;
    justify-self: center !important;
  }

  body.shipcashbox-viewer-guest #cashboxGuestTopbar .topbar.topbar--site-menu .brand__picture--home {
    justify-content: center !important;
  }

  body.shipcashbox-viewer-guest #cashboxGuestTopbar .topbar.topbar--site-menu .brand__logo-image.navdesk-logo,
  body.navdesk-theme-night.shipcashbox-viewer-guest #cashboxGuestTopbar .topbar.topbar--site-menu .brand__logo-image.navdesk-logo {
    width: min(100%, 300px) !important;
    height: 62px !important;
    max-width: 300px !important;
    max-height: 62px !important;
    object-position: center !important;
    margin: 0 auto !important;
  }

  body.shipcashbox-viewer-guest #cashboxGuestTopbar .topbar.topbar--site-menu .topbar__actions {
    justify-self: center !important;
    margin-left: 0 !important;
  }
}

@media (max-width: 520px) {
  body.shipcashbox-viewer-guest #cashboxGuestTopbar .topbar.topbar--site-menu .brand,
  body.shipcashbox-viewer-guest #cashboxGuestTopbar .topbar.topbar--site-menu .brand.brand--image {
    width: min(100%, 252px) !important;
    max-width: 252px !important;
  }

  body.shipcashbox-viewer-guest #cashboxGuestTopbar .topbar.topbar--site-menu .brand__logo-image.navdesk-logo,
  body.navdesk-theme-night.shipcashbox-viewer-guest #cashboxGuestTopbar .topbar.topbar--site-menu .brand__logo-image.navdesk-logo {
    width: min(100%, 252px) !important;
    height: 54px !important;
    max-width: 252px !important;
    max-height: 54px !important;
  }

  body.shipcashbox-viewer-guest .shipcashbox-entry-hero {
    padding: 14px 16px;
    border-radius: 22px;
    text-align: center;
  }

  body.shipcashbox-viewer-guest .shipcashbox-entry-hero__copy {
    justify-items: center;
    max-width: none;
  }

  body.shipcashbox-viewer-guest .shipcashbox-entry-hero__copy h2 {
    max-width: 10ch;
    font-size: clamp(1.7rem, 8.8vw, 2.7rem);
  }

  body.shipcashbox-viewer-guest .shipcashbox-entry-grid {
    grid-template-columns: 1fr;
  }

  body.shipcashbox-viewer-guest .shipcashbox-entry-card--journal,
  body.shipcashbox-viewer-guest .shipcashbox-entry-card--crew,
  body.shipcashbox-viewer-guest .shipcashbox-entry-card--equalizer {
    grid-template-columns: minmax(128px, 0.86fr) minmax(0, 1.14fr);
    min-height: 156px;
  }

  body.shipcashbox-viewer-guest .shipcashbox-entry-card--journal .shipcashbox-entry-card__media,
  body.shipcashbox-viewer-guest .shipcashbox-entry-card--crew .shipcashbox-entry-card__media,
  body.shipcashbox-viewer-guest .shipcashbox-entry-card--equalizer .shipcashbox-entry-card__media {
    min-height: 156px;
  }

  body.shipcashbox-viewer-guest .shipcashbox-entry-card--journal .shipcashbox-entry-card__copy,
  body.shipcashbox-viewer-guest .shipcashbox-entry-card--crew .shipcashbox-entry-card__copy,
  body.shipcashbox-viewer-guest .shipcashbox-entry-card--equalizer .shipcashbox-entry-card__copy {
    padding: 14px;
  }

  body.shipcashbox-viewer-guest .shipcashbox-entry-invite {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* Final guest-entry parity pass: night mode should switch tone, not layout. */
body.navdesk-theme-night.shipcashbox-viewer-guest .shipcashbox-entry-screen {
  gap: 14px;
}

body.navdesk-theme-night.shipcashbox-viewer-guest .shipcashbox-entry-hero {
  padding: clamp(16px, 2.2vw, 24px) clamp(22px, 3vw, 34px);
  border-width: 1px;
  border-style: solid;
  border-radius: 24px;
  box-shadow: 0 16px 34px rgba(4, 10, 16, 0.18);
}

body.navdesk-theme-night.shipcashbox-viewer-guest .shipcashbox-entry-hero__copy p {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body.navdesk-theme-night.shipcashbox-viewer-guest .shipcashbox-entry-hero__copy h2 {
  text-shadow: none;
}

body.navdesk-theme-night.shipcashbox-viewer-guest .shipcashbox-entry-card {
  border-width: 1px;
  border-style: solid;
  border-color: rgba(226, 189, 118, 0.16);
  background:
    radial-gradient(circle at 0% 0%, rgba(226, 189, 118, 0.14), transparent 34%),
    linear-gradient(145deg, rgba(20, 31, 40, 0.98), rgba(8, 14, 20, 0.95));
  box-shadow: 0 18px 36px rgba(4, 10, 16, 0.24);
}

body.navdesk-theme-night.shipcashbox-viewer-guest .shipcashbox-entry-card--journal {
  background:
    radial-gradient(circle at 0% 0%, rgba(226, 189, 118, 0.16), transparent 34%),
    linear-gradient(145deg, rgba(24, 36, 42, 0.98), rgba(10, 17, 23, 0.96));
}

body.navdesk-theme-night.shipcashbox-viewer-guest .shipcashbox-entry-card__media img {
  filter: brightness(0.86) contrast(1.02) saturate(0.94);
  opacity: 0.96;
}

@media (max-width: 520px) {
  body.navdesk-theme-night.shipcashbox-viewer-guest .shipcashbox-entry-hero {
    padding: 14px 16px;
    border-radius: 22px;
    text-align: center;
  }

  body.navdesk-theme-night.shipcashbox-viewer-guest .shipcashbox-entry-card--journal,
  body.navdesk-theme-night.shipcashbox-viewer-guest .shipcashbox-entry-card--crew,
  body.navdesk-theme-night.shipcashbox-viewer-guest .shipcashbox-entry-card--equalizer {
    min-height: 156px;
  }

  body.navdesk-theme-night.shipcashbox-viewer-guest .shipcashbox-entry-card--journal .shipcashbox-entry-card__media,
  body.navdesk-theme-night.shipcashbox-viewer-guest .shipcashbox-entry-card--crew .shipcashbox-entry-card__media,
  body.navdesk-theme-night.shipcashbox-viewer-guest .shipcashbox-entry-card--equalizer .shipcashbox-entry-card__media {
    min-height: 156px;
  }

  body.navdesk-theme-night.shipcashbox-viewer-guest .shipcashbox-entry-card--journal .shipcashbox-entry-card__copy,
  body.navdesk-theme-night.shipcashbox-viewer-guest .shipcashbox-entry-card--crew .shipcashbox-entry-card__copy,
  body.navdesk-theme-night.shipcashbox-viewer-guest .shipcashbox-entry-card--equalizer .shipcashbox-entry-card__copy {
    padding: 14px;
  }
}

/* Final guest landing tightening pass. */
body.shipcashbox-viewer-guest .site-shell {
  width: min(1240px, calc(100vw - 36px));
  padding-top: clamp(6px, 1vh, 10px);
  padding-bottom: clamp(14px, 2vh, 24px);
}

body.shipcashbox-viewer-guest .shipcashbox-page,
body.shipcashbox-viewer-guest .navdesk-page {
  gap: 0;
}

body.shipcashbox-viewer-guest .shipcashbox-workspace-section.section {
  padding-top: 0;
  padding-bottom: 0;
}

body.shipcashbox-viewer-guest .shipcashbox-workspace-card {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

body.shipcashbox-viewer-guest .shipcashbox-shell {
  gap: 0;
}

body.shipcashbox-viewer-guest .shipcashbox-statusline--workspace {
  display: none !important;
  margin: 0;
}

body.shipcashbox-viewer-guest .shipcashbox-entry-screen {
  width: min(100%, 1040px);
  gap: 6px;
  background: transparent;
}

body.shipcashbox-viewer-guest .shipcashbox-entry-hero {
  width: 100%;
  margin-right: 0;
  padding: 10px 18px 12px;
}

body.shipcashbox-viewer-guest .shipcashbox-entry-hero__copy {
  max-width: 56ch;
}

body.shipcashbox-viewer-guest .shipcashbox-entry-hero__copy p {
  font-size: 0.68rem;
}

body.shipcashbox-viewer-guest .shipcashbox-entry-hero__copy h2 {
  max-width: 14ch;
  font-size: clamp(1.48rem, 2.3vw, 2.05rem);
  line-height: 0.94;
}

body.shipcashbox-viewer-guest .shipcashbox-entry-hero__copy span {
  max-width: 54ch;
  font-size: clamp(0.74rem, 0.86vw, 0.82rem);
  line-height: 1.22;
}

body.shipcashbox-viewer-guest .shipcashbox-entry-grid {
  grid-template-columns: minmax(320px, 0.62fr) minmax(440px, 1.18fr);
  gap: 6px;
  background: transparent;
}

body.shipcashbox-viewer-guest .shipcashbox-entry-card--journal .shipcashbox-entry-card__media {
  min-height: clamp(260px, 28vw, 360px);
}

body.shipcashbox-viewer-guest .shipcashbox-entry-card--journal .shipcashbox-entry-card__copy {
  padding: 18px 20px 20px;
}

body.shipcashbox-viewer-guest .shipcashbox-entry-card--journal h2 {
  font-size: clamp(1.55rem, 2.2vw, 2.05rem);
}

body.shipcashbox-viewer-guest .shipcashbox-entry-card p {
  font-size: clamp(0.8rem, 0.94vw, 0.92rem);
}

body.shipcashbox-viewer-guest .shipcashbox-entry-card--crew,
body.shipcashbox-viewer-guest .shipcashbox-entry-card--equalizer {
  min-height: 236px;
}

body.shipcashbox-viewer-guest .shipcashbox-entry-card--crew .shipcashbox-entry-card__copy,
body.shipcashbox-viewer-guest .shipcashbox-entry-card--equalizer .shipcashbox-entry-card__copy {
  padding: clamp(20px, 2.6vw, 30px);
}

body.shipcashbox-viewer-guest .shipcashbox-entry-card--crew .shipcashbox-entry-card__media,
body.shipcashbox-viewer-guest .shipcashbox-entry-card--equalizer .shipcashbox-entry-card__media {
  min-height: 236px;
}

body.shipcashbox-viewer-guest #cashboxGuestTopbar {
  width: min(1040px, 100%);
}

body.shipcashbox-viewer-guest #cashboxGuestTopbar .topbar.topbar--site-menu {
  grid-template-columns: minmax(220px, 300px) auto;
  gap: 14px !important;
  padding: 12px 16px !important;
}

body.shipcashbox-viewer-guest #cashboxGuestTopbar .topbar.topbar--site-menu .brand,
body.shipcashbox-viewer-guest #cashboxGuestTopbar .topbar.topbar--site-menu .brand.brand--image {
  max-width: 300px !important;
  min-width: 220px !important;
}

body.shipcashbox-viewer-guest #cashboxGuestTopbar .topbar.topbar--site-menu .brand__logo-image.navdesk-logo,
body.navdesk-theme-night.shipcashbox-viewer-guest #cashboxGuestTopbar .topbar.topbar--site-menu .brand__logo-image.navdesk-logo {
  height: 66px !important;
  max-width: 300px !important;
  max-height: 66px !important;
}

body.shipcashbox-viewer-guest #cashboxGuestTopbar .topbar.topbar--site-menu .topbar__actions {
  gap: 10px !important;
}

body.navdesk-theme-night.shipcashbox-viewer-guest .shipcashbox-workspace-card,
body.navdesk-theme-night.shipcashbox-viewer-guest .shipcashbox-entry-screen {
  background: transparent;
}

body.navdesk-theme-night.shipcashbox-viewer-guest .shipcashbox-entry-screen {
  gap: 6px;
}

body.navdesk-theme-night.shipcashbox-viewer-guest .shipcashbox-entry-grid {
  grid-template-columns: minmax(320px, 0.62fr) minmax(440px, 1.18fr);
  gap: 6px;
  background: transparent;
}

body.navdesk-theme-night.shipcashbox-viewer-guest .shipcashbox-entry-card--journal .shipcashbox-entry-card__media {
  min-height: clamp(260px, 28vw, 360px);
}

body.navdesk-theme-night.shipcashbox-viewer-guest .shipcashbox-entry-card--journal .shipcashbox-entry-card__copy {
  padding: 18px 20px 20px;
}

body.navdesk-theme-night.shipcashbox-viewer-guest .shipcashbox-entry-card--crew,
body.navdesk-theme-night.shipcashbox-viewer-guest .shipcashbox-entry-card--equalizer {
  min-height: 236px;
}

body.navdesk-theme-night.shipcashbox-viewer-guest .shipcashbox-entry-card--crew .shipcashbox-entry-card__copy,
body.navdesk-theme-night.shipcashbox-viewer-guest .shipcashbox-entry-card--equalizer .shipcashbox-entry-card__copy {
  padding: clamp(20px, 2.6vw, 30px);
}

body.navdesk-theme-night.shipcashbox-viewer-guest .shipcashbox-entry-card--crew .shipcashbox-entry-card__media,
body.navdesk-theme-night.shipcashbox-viewer-guest .shipcashbox-entry-card--equalizer .shipcashbox-entry-card__media {
  min-height: 236px;
}

body.navdesk-theme-night.shipcashbox-viewer-guest .shipcashbox-entry-card {
  box-shadow: 0 16px 30px rgba(4, 10, 16, 0.22);
}

body.navdesk-theme-night.shipcashbox-viewer-guest .shipcashbox-entry-card--journal {
  background:
    radial-gradient(circle at 0% 0%, rgba(226, 189, 118, 0.12), transparent 34%),
    linear-gradient(145deg, rgba(22, 33, 39, 0.98), rgba(9, 15, 21, 0.96));
}

@media (max-width: 980px) {
  body.shipcashbox-viewer-guest #cashboxGuestTopbar,
  body.shipcashbox-viewer-guest .shipcashbox-entry-screen {
    width: 100%;
  }

  body.shipcashbox-viewer-guest #cashboxGuestTopbar .topbar.topbar--site-menu {
    grid-template-columns: minmax(210px, 1fr) auto;
    padding: 10px 14px !important;
  }

  body.shipcashbox-viewer-guest #cashboxGuestTopbar .topbar.topbar--site-menu .brand__logo-image.navdesk-logo,
  body.navdesk-theme-night.shipcashbox-viewer-guest #cashboxGuestTopbar .topbar.topbar--site-menu .brand__logo-image.navdesk-logo {
    height: 58px !important;
    max-width: 280px !important;
    max-height: 58px !important;
  }

  body.shipcashbox-viewer-guest .shipcashbox-entry-grid {
    grid-template-columns: minmax(280px, 0.72fr) minmax(320px, 1fr);
    gap: 6px;
  }

  body.shipcashbox-viewer-guest .shipcashbox-entry-hero {
    width: 100%;
  }
}

@media (max-width: 720px) {
  body.shipcashbox-viewer-guest .site-shell {
    width: min(100%, calc(100vw - 20px));
  }

  body.shipcashbox-viewer-guest .shipcashbox-entry-hero {
    width: 100%;
  }
}

/* Final guest shell override. This must beat the old compact guest rules above. */
body.shipcashbox-body.shipcashbox-viewer-guest .shipcashbox-page {
  min-height: auto;
  align-content: start;
  gap: 0;
  padding-top: 0;
  padding-bottom: 0;
}

body.shipcashbox-body.shipcashbox-viewer-guest .shipcashbox-workspace-section {
  margin-top: 0;
  padding-top: 0;
  padding-bottom: 0;
}

body.shipcashbox-body.shipcashbox-viewer-guest .shipcashbox-workspace-card {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

body.shipcashbox-body.shipcashbox-viewer-guest .shipcashbox-shell,
body.shipcashbox-body.shipcashbox-viewer-guest .shipcashbox-panel {
  gap: 0;
}

body.shipcashbox-body.shipcashbox-viewer-guest .shipcashbox-entry-screen {
  width: min(100%, 1040px);
  gap: 6px;
  margin-inline: auto;
  background: transparent;
}

body.shipcashbox-body.shipcashbox-viewer-guest .shipcashbox-entry-grid {
  grid-template-columns: minmax(320px, 0.62fr) minmax(440px, 1.18fr);
  gap: 6px;
  background: transparent;
}

body.navdesk-theme-night.shipcashbox-body.shipcashbox-viewer-guest .shipcashbox-page {
  min-height: auto;
  align-content: start;
  gap: 0;
  padding-top: 0;
  padding-bottom: 0;
}

body.navdesk-theme-night.shipcashbox-body.shipcashbox-viewer-guest .shipcashbox-workspace-card,
body.navdesk-theme-night.shipcashbox-body.shipcashbox-viewer-guest .shipcashbox-entry-screen,
body.navdesk-theme-night.shipcashbox-body.shipcashbox-viewer-guest .shipcashbox-entry-grid {
  background: transparent;
}

body.navdesk-theme-night.shipcashbox-body.shipcashbox-viewer-guest .shipcashbox-entry-screen {
  width: min(100%, 1040px);
  gap: 6px;
  margin-inline: auto;
}

body.navdesk-theme-night.shipcashbox-body.shipcashbox-viewer-guest .shipcashbox-entry-grid {
  grid-template-columns: minmax(320px, 0.62fr) minmax(440px, 1.18fr);
  gap: 6px;
}

/* Start page final contract: one layout for day and night, colors only differ by theme. */
body.shipcashbox-body.shipcashbox-viewer-guest {
  background:
    radial-gradient(circle at 16% 8%, rgba(72, 125, 150, 0.12), transparent 30rem),
    radial-gradient(circle at 88% 6%, rgba(196, 156, 92, 0.10), transparent 28rem),
    #eef2f1;
}

body.navdesk-theme-night.shipcashbox-body.shipcashbox-viewer-guest {
  background:
    radial-gradient(circle at 16% 8%, rgba(72, 125, 150, 0.12), transparent 30rem),
    radial-gradient(circle at 88% 6%, rgba(196, 156, 92, 0.08), transparent 28rem),
    #101719 !important;
}

body.shipcashbox-body.shipcashbox-viewer-guest::before {
  display: none;
}

body.shipcashbox-body.shipcashbox-viewer-guest .site-shell {
  width: min(1040px, calc(100vw - 32px));
  padding-top: 8px;
  padding-bottom: 20px;
}

body.shipcashbox-body.shipcashbox-viewer-guest #cashboxGuestTopbar {
  width: 100%;
  margin-inline: auto;
}

body.shipcashbox-body.shipcashbox-viewer-guest #cashboxGuestTopbar .topbar.topbar--site-menu {
  margin-bottom: 4px !important;
}

body.shipcashbox-body.shipcashbox-viewer-guest .navdesk-page,
body.shipcashbox-body.shipcashbox-viewer-guest .shipcashbox-page,
body.shipcashbox-body.shipcashbox-viewer-guest .shipcashbox-workspace-section,
body.shipcashbox-body.shipcashbox-viewer-guest .shipcashbox-workspace-card,
body.shipcashbox-body.shipcashbox-viewer-guest .shipcashbox-shell,
body.shipcashbox-body.shipcashbox-viewer-guest .shipcashbox-panel,
body.shipcashbox-body.shipcashbox-viewer-guest .shipcashbox-entry-screen {
  align-content: start;
  gap: 0;
  min-height: 0;
  margin-top: 0;
  padding-top: 0;
  background: transparent;
  box-shadow: none;
}

body.shipcashbox-body.shipcashbox-viewer-guest .shipcashbox-entry-screen {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 4px;
  margin-inline: auto;
}

body.shipcashbox-body.shipcashbox-viewer-guest .shipcashbox-entry-hero {
  width: 100%;
  min-height: 104px;
  margin: 0;
  padding: 12px 20px;
  border-width: 1px;
  border-style: solid;
  border-radius: 14px;
  display: grid;
  align-items: center;
  box-shadow: none;
}

body.shipcashbox-body.shipcashbox-viewer-guest .shipcashbox-entry-hero__copy {
  max-width: 680px;
  gap: 2px;
  justify-items: start;
}

body.shipcashbox-body.shipcashbox-viewer-guest .shipcashbox-entry-hero__copy p {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  line-height: 1.1;
  text-transform: uppercase;
}

body.shipcashbox-body.shipcashbox-viewer-guest .shipcashbox-entry-hero__copy h2 {
  max-width: 17ch;
  margin: 0;
  font-size: 1.95rem;
  letter-spacing: 0;
  line-height: 0.96;
  text-shadow: none;
}

body.shipcashbox-body.shipcashbox-viewer-guest .shipcashbox-entry-hero__copy span {
  max-width: 64ch;
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.18;
}

body.shipcashbox-body.shipcashbox-viewer-guest .shipcashbox-entry-grid {
  display: grid;
  grid-template-columns: minmax(318px, 0.64fr) minmax(0, 1.16fr);
  gap: 4px;
  align-items: stretch;
  background: transparent;
}

body.shipcashbox-body.shipcashbox-viewer-guest .shipcashbox-entry-card,
body.shipcashbox-body.shipcashbox-viewer-guest .shipcashbox-entry-invite {
  border-width: 1px;
  border-style: solid;
  border-radius: 14px;
  box-shadow: none;
}

body.shipcashbox-body.shipcashbox-viewer-guest .shipcashbox-entry-card--journal {
  grid-row: span 2;
  grid-template-columns: 1fr;
}

body.shipcashbox-body.shipcashbox-viewer-guest .shipcashbox-entry-card--journal .shipcashbox-entry-card__media {
  min-height: 328px;
}

body.shipcashbox-body.shipcashbox-viewer-guest .shipcashbox-entry-card--crew,
body.shipcashbox-body.shipcashbox-viewer-guest .shipcashbox-entry-card--equalizer {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.78fr);
  min-height: 220px;
}

body.shipcashbox-body.shipcashbox-viewer-guest .shipcashbox-entry-card--crew .shipcashbox-entry-card__media,
body.shipcashbox-body.shipcashbox-viewer-guest .shipcashbox-entry-card--equalizer .shipcashbox-entry-card__media {
  min-height: 220px;
}

body.shipcashbox-body.shipcashbox-viewer-guest .shipcashbox-entry-card__copy {
  gap: 8px;
}

body.shipcashbox-body.shipcashbox-viewer-guest .shipcashbox-entry-card--journal .shipcashbox-entry-card__copy,
body.shipcashbox-body.shipcashbox-viewer-guest .shipcashbox-entry-card--crew .shipcashbox-entry-card__copy,
body.shipcashbox-body.shipcashbox-viewer-guest .shipcashbox-entry-card--equalizer .shipcashbox-entry-card__copy {
  padding: 20px;
}

body.shipcashbox-body.shipcashbox-viewer-guest .shipcashbox-entry-card h2 {
  margin: 0;
  font-size: 1.45rem;
  letter-spacing: 0;
  line-height: 1.04;
}

body.shipcashbox-body.shipcashbox-viewer-guest .shipcashbox-entry-card--journal h2 {
  font-size: 1.7rem;
}

body.shipcashbox-body.shipcashbox-viewer-guest .shipcashbox-entry-card p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.28;
}

body.shipcashbox-body.shipcashbox-viewer-guest .shipcashbox-entry-card .btn {
  min-height: 34px;
  margin-top: 2px;
}

body.shipcashbox-body.shipcashbox-viewer-guest .shipcashbox-entry-invite {
  grid-template-columns: minmax(230px, 0.8fr) minmax(300px, 1.1fr) minmax(170px, 0.5fr);
  gap: 14px;
  padding: 18px 22px;
}

body.shipcashbox-body.shipcashbox-viewer-guest .shipcashbox-entry-invite input,
body.shipcashbox-body.shipcashbox-viewer-guest .shipcashbox-entry-invite .btn {
  min-height: 48px;
}

body.navdesk-theme-day.shipcashbox-body.shipcashbox-viewer-guest .shipcashbox-entry-hero,
body.navdesk-theme-day.shipcashbox-body.shipcashbox-viewer-guest .shipcashbox-entry-card,
body.navdesk-theme-day.shipcashbox-body.shipcashbox-viewer-guest .shipcashbox-entry-invite {
  border-color: rgba(16, 36, 58, 0.12);
  background:
    linear-gradient(145deg, rgba(249, 251, 249, 0.98), rgba(233, 240, 239, 0.94)),
    #f4f7f5 !important;
}

body.navdesk-theme-day.shipcashbox-body.shipcashbox-viewer-guest .shipcashbox-entry-card--journal {
  background:
    linear-gradient(145deg, rgba(239, 246, 244, 0.98), rgba(219, 234, 233, 0.96)),
    #e7f1f0 !important;
}

body.navdesk-theme-night.shipcashbox-body.shipcashbox-viewer-guest .shipcashbox-entry-hero,
body.navdesk-theme-night.shipcashbox-body.shipcashbox-viewer-guest .shipcashbox-entry-card,
body.navdesk-theme-night.shipcashbox-body.shipcashbox-viewer-guest .shipcashbox-entry-invite {
  border-color: rgba(226, 189, 118, 0.16);
  background:
    linear-gradient(145deg, rgba(17, 27, 32, 0.98), rgba(10, 17, 22, 0.96)),
    #10181d !important;
}

body.navdesk-theme-night.shipcashbox-body.shipcashbox-viewer-guest .shipcashbox-entry-card--journal {
  background:
    linear-gradient(145deg, rgba(18, 29, 34, 0.98), rgba(10, 17, 22, 0.96)),
    #10181d !important;
}

body.navdesk-theme-night.shipcashbox-body.shipcashbox-viewer-guest .shipcashbox-entry-card__media img {
  filter: brightness(0.86) contrast(1.02) saturate(0.94);
  opacity: 0.96;
}

body.navdesk-theme-day.shipcashbox-body.shipcashbox-viewer-guest .shipcashbox-entry-hero__copy h2,
body.navdesk-theme-day.shipcashbox-body.shipcashbox-viewer-guest .shipcashbox-entry-card h2,
body.navdesk-theme-day.shipcashbox-body.shipcashbox-viewer-guest .shipcashbox-entry-invite__copy strong {
  color: #10243a !important;
}

body.navdesk-theme-night.shipcashbox-body.shipcashbox-viewer-guest .shipcashbox-entry-hero__copy h2,
body.navdesk-theme-night.shipcashbox-body.shipcashbox-viewer-guest .shipcashbox-entry-card h2,
body.navdesk-theme-night.shipcashbox-body.shipcashbox-viewer-guest .shipcashbox-entry-invite__copy strong {
  color: #fff0cf !important;
  text-shadow: none;
}

@media (max-width: 860px) {
  body.shipcashbox-body.shipcashbox-viewer-guest .shipcashbox-entry-grid {
    grid-template-columns: 1fr;
  }

  body.shipcashbox-body.shipcashbox-viewer-guest .shipcashbox-entry-card--journal,
  body.shipcashbox-body.shipcashbox-viewer-guest .shipcashbox-entry-card--crew,
  body.shipcashbox-body.shipcashbox-viewer-guest .shipcashbox-entry-card--equalizer {
    grid-row: auto;
    grid-template-columns: minmax(128px, 0.86fr) minmax(0, 1.14fr);
    min-height: 156px;
  }

  body.shipcashbox-body.shipcashbox-viewer-guest .shipcashbox-entry-card--journal .shipcashbox-entry-card__media,
  body.shipcashbox-body.shipcashbox-viewer-guest .shipcashbox-entry-card--crew .shipcashbox-entry-card__media,
  body.shipcashbox-body.shipcashbox-viewer-guest .shipcashbox-entry-card--equalizer .shipcashbox-entry-card__media {
    min-height: 156px;
  }

  body.shipcashbox-body.shipcashbox-viewer-guest .shipcashbox-entry-invite {
    grid-template-columns: 1fr;
  }
}
