/* Calendar and break panel, from the snapshot stylesheet. */

.cleaning-occ button {
  border: 0;
  background: transparent;
  cursor: pointer;
  color: inherit;
  font: inherit;
  font-weight: 700;
  text-align: left;
}
.cleaning-occ span,
.cleaning-occ em {
  display: block;
}
.cleaning-occ em {
  margin-top: 4px;
  font-style: normal;
  font-weight: 700;
}
.cleaning-occ.checkout {
  background: var(--lilac);
}
.cleaning-occ.turnover {
  background: var(--pink);
}
.cleaning-occ.arrival {
  background: var(--gold);
}
.cleaning-occ.stayover {
  background: var(--stayover);
}
.cleaning-occ.vacant {
  background: var(--vacant);
}

.cleaning-break {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.cleaning-break button {
  min-height: 32px;
  padding: 4px 12px;
  border: 0;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  background: var(--olive);
  color: var(--ink);
}
.cleaning-break button[data-break="end"] {
  background: var(--mark-blue);
}
.cleaning-break button:disabled {
  opacity: 0.45;
}

.today-pin {
  position: relative;
  z-index: 2;
  background: var(--paper);
  padding-bottom: 8px;
}

.start-today {
  margin-bottom: 0;
}

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

.start-head h2 {
  margin: 0;
}

.board-counts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.board-count {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 700;
}

.board-count.is-gap {
  background: var(--gap-bg);
  border-color: var(--gap-line);
}

.corner-legend {
  display: flex;
  gap: 8px;
  margin: 8px 0 0;
}

.staff-pool-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 10px 0 0;
}

.staff-pool-label {
  margin: 0;
  background: var(--ink-soft);
  color: var(--card);
  font-weight: 700;
  border-radius: 999px;
  padding: 8px 14px;
}

.staff-pool {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.staff-pool [data-drag-staff] {
  border: 1px solid var(--ink-soft);
  background: var(--card);
  border-radius: 999px;
  padding: 6px 12px;
  font: inherit;
  font-weight: 700;
}

.house-board h3 {
  margin: 16px 0 8px;
  font-size: 16px;
  font-weight: 600;
}

.tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 10px;
}

.unit-tile {
  position: relative;
  overflow: hidden;
  min-height: 118px;
  border-radius: 16px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--ink-soft);
}

.unit-tile.is-out {
  background: var(--tile-out);
}

.unit-tile.is-clean {
  background: var(--tile-clean);
}

.unit-tile.is-gap {
  outline: 2px solid var(--tile-gap);
}

.stay-badges {
  display: flex;
  align-items: flex-start;
  margin-bottom: 8px;
}

.stay-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  min-width: 46px;
  padding: 4px 6px 5px;
  border: 0;
  border-radius: 10px;
  color: var(--card);
  line-height: 1;
  font: inherit;
  cursor: pointer;
}

.stay-badge.is-out {
  background: var(--stay-out);
}

.stay-badges .stay-badge.is-in {
  margin-left: auto;
  align-items: flex-end;
}

.stay-badge.is-in {
  background: var(--stay-in);
}

.stay-badge strong {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.stay-badge em {
  font-style: normal;
  font-size: 11px;
  font-weight: 650;
}

.stay-badge em.given-hint,
[data-guest-profile] [data-guest-first]::placeholder {
  color: var(--muted);
  font-weight: 500;
}

.calendar-stay {
  display: grid;
  gap: 16px;
  align-items: start;
}

@media (min-width: 960px) {
  .calendar-stay:has([data-guest-profile]) {
    grid-template-columns: minmax(0, 1fr) 280px;
  }
}

.tile-name {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink-soft);
}

.tile-quiet {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink-soft);
}

.unit-tile.is-drop {
  outline: 2px dashed var(--ink-soft);
  outline-offset: -3px;
}

.tile-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  border: 0;
  padding: 1px 0;
  width: 100%;
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  text-align: left;
  color: var(--ink-soft);
  cursor: pointer;
}

.tile-choice {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.crew-person {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-weight: 800;
}

.crew-remove {
  border: 0;
  background: var(--card);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  cursor: pointer;
}

.tile-top {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.tile-bag {
  display: inline-flex;
  margin-top: 1px;
}

.tile-status {
  margin: 4px 0 0;
  font-size: 12px;
  font-weight: 700;
}

.today-houses {
  margin-top: 4px;
}

.start-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}

.start-list li {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  gap: 2px 16px;
  align-items: baseline;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.start-list li.start-empty {
  display: block;
  color: var(--muted);
  border-top: 0;
  padding-top: 8px;
}

.start-date {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--muted);
}

.start-meta {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.tile-guest-line {
  height: 0;
  margin: 5px 0;
  border: 0;
  border-top: 2px dashed color-mix(in srgb, var(--ink-soft) 55%, transparent);
}

.tile-line {
  height: 0;
  margin: 4px 0;
  border: 0;
  border-top: 1px solid color-mix(in srgb, var(--ink-soft) 35%, transparent);
}

.tile-row.is-out .stay-icon,
.tile-row.is-out .tile-kind {
  color: var(--stay-out);
}

.tile-row.is-in .stay-icon,
.tile-row.is-in .tile-kind {
  color: var(--stay-in);
}

.stay-badge .stay-icon,
.tile-row .stay-icon {
  width: 28px;
  height: 18px;
  flex: none;
}

.tile-row .broom-icon {
  width: 14px;
  height: 14px;
  flex: none;
}

.corner-legend .stay-badge {
  min-width: 0;
  padding: 4px 6px;
  cursor: default;
}

.staff-tools {
  margin: 0 0 12px;
}

.coming-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 8px 10px;
  font-size: 14px;
}

.ask-actions {
  display: flex;
  gap: 6px;
}

.ask-actions button,
.hours-line button {
  min-height: 32px;
  padding: 4px 12px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.ask-actions .yes,
.hours-line [data-shift="start"],
.hours-line [data-break-toggle] {
  background: var(--olive);
}

.ask-actions .no,
.hours-line [data-shift="stop"] {
  background: var(--mark-blue);
}

.day-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 14px 0;
}

.day-unit {
  background: var(--tile-out);
  border: 0;
  border-radius: 12px;
  color: var(--ink-soft);
}

.day-unit.is-done {
  background: var(--tile-clean);
  opacity: 1;
}

.day-row {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  font: inherit;
  padding: 6px 10px;
  cursor: pointer;
  color: var(--ink-soft);
}

.day-order {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  background: color-mix(in srgb, var(--card) 55%, transparent);
  flex: none;
  color: var(--ink-soft);
}

.day-unit.is-first .day-order {
  background: var(--mark-blue);
  color: var(--ink-soft);
}

.day-name {
  font-weight: 700;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.day-problem {
  margin: 0 10px 6px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}

.day-meta {
  color: var(--ink-soft);
  font-size: 12px;
  white-space: nowrap;
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.day-start {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: var(--mark-blue);
  border-radius: 999px;
  padding: 4px 8px;
  flex: none;
}

.day-detail {
  padding: 0 14px 14px;
}

.staff-actions {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

.staff-actions button {
  min-height: 64px;
  border-radius: 16px;
  border: 0;
  font: inherit;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  color: var(--ink);
}

.staff-actions .done {
  background: var(--olive);
}

.staff-actions .stop {
  background: var(--ink-soft);
  color: var(--card);
}

.staff-actions .problem {
  background: var(--mark-blue);
}

.staff-actions .finish {
  grid-column: 1 / -1;
  background: var(--tile-clean);
  color: var(--ink-soft);
}

@media (max-width: 640px) {
  .staff-actions {
    grid-template-columns: 1fr;
  }

  .day-name {
    white-space: normal;
  }
}

.own-days {
  margin: 8px 0;
}
.hours-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 14px;
}

.hours-line p {
  margin: 0;
}

.ask-table .reason {
  margin: 0 0 8px;
  font-size: 13px;
}

.ask-table table {
  font-size: 14px;
}

.ask-table td,
.ask-table th {
  padding: 6px 8px;
  vertical-align: middle;
}

.reason-note {
  margin-top: 8px;
  font-size: 14px;
}
.cleaner-lines td {
  padding: 4px 0;
  border-bottom: 0;
}

.cleaner-line {
  display: flex;
  gap: 10px;
  align-items: baseline;
  flex-wrap: wrap;
}

.cleaner-name {
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--ink-soft);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}

.cleaner-jobs {
  color: var(--ink-soft);
}

.own-days .btn {
  min-height: 32px;
  padding: 4px 8px;
}
.holiday-card .reason {
  margin-bottom: 4px;
}
.cln-hint {
  color: var(--muted);
}
.cln-owned-scroll {
  max-width: 100%;
  overflow-x: auto;
}
.cln-book-controls {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 12px;
}
.cln-book-sort {
  position: relative;
}
.cln-book-sort > summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  list-style: none;
}
.cln-book-sort > summary::-webkit-details-marker {
  display: none;
}
.cln-book-sort > summary::after {
  content: "";
  width: 0;
  height: 0;
  border-top: 5px solid var(--ink);
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
}
.cln-book-sort-menu {
  position: absolute;
  z-index: 3;
  left: 0;
  top: calc(100% + 4px);
  min-width: 11rem;
  display: flex;
  flex-direction: column;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  box-shadow: var(--shadow);
}
.cln-book-sort-menu button {
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  padding: 8px 10px;
  font: inherit;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
}
.cln-book-sort-menu button:hover {
  background: var(--paper);
}
.cln-book-scroll {
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  padding: 0 12px 12px;
}

/* The bookings grid shares the row with Team today. Columns must be allowed
   to shrink, and the table stays inside the left card. */
[data-bookings] {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}

/* The page column, the same measure the rest of the phone layout uses. */
@container shell (max-width: 720px) {
  [data-bookings] {
    grid-template-columns: 1fr;
  }
}

[data-bookings] > .card,
[data-bookings] > div,
[data-bookings-view] .book-fold,
.cln-book-house,
.cln-book-room {
  min-width: 0;
  max-width: 100%;
}

[data-bookings-view] {
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
}

[data-bookings-view],
.cln-book-scroll {
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}

[data-bookings-view]::-webkit-scrollbar,
.cln-book-scroll::-webkit-scrollbar {
  height: 8px;
}

[data-bookings-view]::-webkit-scrollbar-thumb,
.cln-book-scroll::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 8px;
}

@media (min-width: 721px) {
  [data-bookings-view] > table,
  .cln-book-scroll table {
    width: 100%;
    table-layout: fixed;
  }

  [data-bookings-view] th,
  [data-bookings-view] td,
  .cln-book-scroll th,
  .cln-book-scroll td {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  [data-bookings-view] thead th:nth-child(1),
  .cln-book-scroll thead th:nth-child(1) {
    width: 18%;
  }

  [data-bookings-view] thead th:nth-child(2),
  .cln-book-scroll thead th:nth-child(2) {
    width: 16%;
  }

  [data-bookings-view] thead th:nth-child(3),
  .cln-book-scroll thead th:nth-child(3) {
    width: 16%;
  }

  [data-bookings-view] thead th:nth-child(4),
  .cln-book-scroll thead th:nth-child(4) {
    width: 32%;
  }

  [data-bookings-view] thead th:nth-child(5),
  .cln-book-scroll thead th:nth-child(5) {
    width: 18%;
  }

  [data-bookings-view] td:nth-child(4),
  [data-bookings-view] th:nth-child(4),
  .cln-book-scroll td:nth-child(4),
  .cln-book-scroll th:nth-child(4) {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
  }
}

[data-bookings-view] .house-head {
  min-width: 0;
  max-width: 100%;
  flex-wrap: wrap;
}
.problem-shot {
  display: block;
  max-width: 160px;
  border-radius: 12px;
}

.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.booking-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(20, 24, 28, 0.55);
  cursor: pointer;
}

.booking-modal-panel {
  position: relative;
  z-index: 1;
  width: min(640px, 100%);
  max-height: min(860px, calc(100% - 48px));
  overflow: auto;
  padding: 36px 20px 16px;
  border-radius: 16px;
  background: var(--card);
  box-shadow: 0 16px 48px rgba(20, 24, 28, 0.24);
}

.booking-modal-x {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 900px) {
  .booking-modal {
    padding: 0;
    align-items: stretch;
  }
  .booking-modal-panel {
    width: 100%;
    max-height: none;
    height: 100%;
    border-radius: 0;
  }
}

@media (max-width: 720px) and (orientation: portrait) {
  [data-bookings] {
    min-width: 0;
  }

  [data-bookings] > .card {
    min-width: 0;
    max-width: 100%;
  }

  [data-bookings] .card h2 {
    font-size: 16px;
    line-height: 1.15;
    margin-bottom: 8px;
  }

  [data-bookings] .notes {
    padding: 6px 8px;
    font-size: 12px;
    line-height: 1.3;
  }

  [data-bookings] .notes strong {
    font-size: 12px;
    font-weight: 600;
  }

  [data-bookings] .reason {
    font-size: 11px;
    line-height: 1.3;
  }

  [data-bookings] .alert {
    margin-bottom: 6px;
    padding: 6px 8px;
    border-radius: 10px;
    font-size: 11px;
    line-height: 1.3;
  }

  [data-bookings] .task {
    grid-template-columns: 32px 1fr;
    gap: 8px;
    padding: 8px 0;
  }

  [data-bookings] .symbol {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    font-size: 13px;
  }

  [data-bookings] .task strong {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
  }

  [data-bookings] .task .notes {
    margin-top: 4px;
    padding: 4px 8px;
    font-size: 11px;
  }

  .cln-book-controls {
    gap: 6px;
    margin: 0 0 8px;
    max-width: 100%;
  }

  .cln-book-controls .house-tabs {
    align-items: center;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    gap: 6px;
  }

  .cln-book-controls .house-tab {
    flex: 0 0 auto;
    max-width: none;
    width: auto;
    height: auto;
    white-space: nowrap;
    word-break: normal;
  }

  .cln-book-sort > summary {
    min-height: 0;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
  }

  [data-bookings-view],
  .cln-owned-scroll {
    max-width: 100%;
    overflow-x: auto;
  }

  [data-bookings-view] > table,
  .cln-book-scroll table,
  .cln-owned-scroll table {
    width: max-content;
    min-width: 100%;
    table-layout: auto;
    font-size: 11px;
  }

  [data-bookings-view] th,
  [data-bookings-view] td,
  .cln-book-scroll th,
  .cln-book-scroll td,
  .cln-owned-scroll th,
  .cln-owned-scroll td {
    white-space: nowrap;
    font-size: 11px;
    line-height: 1.2;
    padding: 6px 8px;
    vertical-align: middle;
  }

  [data-bookings-view] thead th,
  .cln-book-scroll thead th,
  .cln-owned-scroll thead th {
    font-size: 10px;
  }

  [data-bookings-view] th[colspan] {
    font-size: 12px;
    padding-top: 8px;
  }

  [data-bookings-view] th[colspan] .house-head {
    position: sticky;
    left: 0;
    width: max-content;
    max-width: 100%;
  }

  [data-bookings-view] tbody td:nth-child(1),
  [data-bookings-view] thead th:nth-child(1),
  .cln-book-scroll tbody td:nth-child(1),
  .cln-book-scroll thead th:nth-child(1) {
    min-width: 3.2rem;
  }

  [data-bookings-view] tbody td:nth-child(2),
  [data-bookings-view] thead th:nth-child(2),
  .cln-book-scroll tbody td:nth-child(2),
  .cln-book-scroll thead th:nth-child(2) {
    min-width: 6.5rem;
  }

  [data-bookings-view] tbody td:nth-child(3),
  [data-bookings-view] thead th:nth-child(3),
  .cln-book-scroll tbody td:nth-child(3),
  .cln-book-scroll thead th:nth-child(3) {
    min-width: 6.5rem;
  }

  [data-bookings-view] tbody td:nth-child(4),
  [data-bookings-view] thead th:nth-child(4),
  .cln-book-scroll tbody td:nth-child(4),
  .cln-book-scroll thead th:nth-child(4) {
    min-width: 11rem;
  }

  [data-bookings-view] tbody td:nth-child(5),
  [data-bookings-view] thead th:nth-child(5),
  .cln-book-scroll tbody td:nth-child(5),
  .cln-book-scroll thead th:nth-child(5) {
    min-width: 5rem;
  }

  .cln-book-controls .house-tabs {
    flex-wrap: wrap;
    overflow: visible;
  }

  .cln-book-controls .house-tab,
  .cln-book-controls .cln-book-sort > summary {
    padding: 0 3px;
    border-radius: 3px;
    font-size: 8px;
    font-weight: 400;
    line-height: 1.25;
  }

  .cln-book-controls .house-tab.active {
    background: var(--paper);
    border-color: var(--ink);
    color: var(--ink);
  }
}

body:has(.app-shell[data-shell="cleaner"]) {
  background: var(--paper);
}

.app-shell[data-shell="cleaner"] {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 390px;
  max-width: 100%;
  height: 844px;
  max-height: calc(100dvh - 32px);
  margin: 16px auto;
  padding: 0;
  overflow: hidden;
  box-sizing: border-box;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
}

.app-shell[data-shell="cleaner"] .topbar {
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  margin: 0;
  padding: 14px 16px 8px;
}

.app-shell[data-shell="cleaner"] .top-actions {
  flex-wrap: wrap;
  gap: 6px;
  width: 100%;
}

.app-shell[data-shell="cleaner"] .shell-body {
  flex: 1 1 auto;
  min-height: 0;
  gap: 0;
  overflow: auto;
  padding-bottom: 76px;
}

.app-shell[data-shell="cleaner"] .cln-clock {
  display: block;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
}

@media (max-width: 420px) {
  body:has(.app-shell[data-shell="cleaner"]) {
    background: var(--card);
  }

  .app-shell[data-shell="cleaner"] {
    width: 100%;
    height: 100dvh;
    max-height: none;
    margin: 0;
    border: 0;
    border-radius: 0;
  }
}

.app-shell[data-shell="cleaner"] .brand.greet {
  color: var(--mark-blue);
}

.app-shell[data-shell="cleaner"] .profile-mark {
  border-color: var(--mark-blue);
  color: var(--mark-blue);
}

.app-shell[data-shell="cleaner"] .profile-mark .mark-svg * {
  fill: var(--mark-blue);
  stroke: var(--mark-blue);
}

.app-shell[data-shell="cleaner"] .cln-clock-face {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 8px 16px 56px;
  background: var(--card);
  color: var(--ink);
  text-align: center;
}

.app-shell[data-shell="cleaner"] .cln-clock-ring {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 4px;
  width: 220px;
  height: 220px;
  border: 14px solid var(--mark-blue);
  border-radius: 50%;
}

.app-shell[data-shell="cleaner"] .cln-clock-dot {
  position: absolute;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--mark-blue);
}

.app-shell[data-shell="cleaner"] .cln-clock-kicker {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: none;
}

.app-shell[data-shell="cleaner"] .cln-clock-time {
  margin: 0;
  color: var(--ink);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.app-shell[data-shell="cleaner"] .cln-clock-goal {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.2;
}

.app-shell[data-shell="cleaner"] .cln-clock-pause {
  margin-top: 4px;
  font-variant-numeric: tabular-nums;
}

.app-shell[data-shell="cleaner"] .cln-clock.is-break .cln-clock-pause {
  color: var(--ink);
  font-weight: 600;
}

.app-shell[data-shell="cleaner"] .cln-pause-time {
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.app-shell[data-shell="cleaner"] .cln-sheet {
  margin: -28px 16px 16px;
  padding: 20px 16px 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
}

.app-shell[data-shell="cleaner"] .cln-sheet-name {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
}

.app-shell[data-shell="cleaner"] .cln-places {
  display: block;
  margin: 16px 0 8px;
  overflow: visible;
}

.app-shell[data-shell="cleaner"] .cln-places-label {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.app-shell[data-shell="cleaner"] .cln-places ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.app-shell[data-shell="cleaner"] .cln-places li {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--mark-yellow);
  background: var(--mark-yellow);
  color: var(--ink);
  font-size: 8px;
  font-weight: 400;
  line-height: 1.25;
}

.app-shell[data-shell="cleaner"] .cln-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 32px;
  margin: 8px 0 0;
  padding: 8px 0;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 8px;
  font-weight: 400;
  line-height: 1.25;
  text-align: left;
}

.app-shell[data-shell="cleaner"] .cln-row-label,
.app-shell[data-shell="cleaner"] .cln-row > span:first-child {
  flex: 1 1 auto;
}

.app-shell[data-shell="cleaner"] .cln-pill {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--mark-blue);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
}

.app-shell[data-shell="cleaner"] .cln-chevron,
.app-shell[data-shell="cleaner"] .cln-resume {
  margin-left: auto;
  color: var(--muted);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
}

.app-shell[data-shell="cleaner"] .cln-resume {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.app-shell[data-shell="cleaner"] .cln-row-actions {
  display: flex;
  margin-left: auto;
}

.app-shell[data-shell="cleaner"] .cln-row-actions button,
.app-shell[data-shell="cleaner"] .cln-clock .cleaning-break button {
  min-height: 40px;
  padding: 8px 16px;
  border: 0;
  border-radius: 999px;
  background: var(--mark-blue);
  color: var(--ink);
  font-size: 8px;
  font-weight: 400;
  line-height: 1.25;
}

.app-shell[data-shell="cleaner"] .cln-clock .cleaning-break {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px 0 4px;
}

.app-shell[data-shell="cleaner"] .cln-row-actions button:disabled,
.app-shell[data-shell="cleaner"] .cln-clock .cleaning-break button:disabled {
  display: none;
}

.app-shell[data-shell="cleaner"] .cln-tabs {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: flex;
  gap: 0;
  margin: 0;
  padding: 6px 8px 10px;
  background: var(--card);
  border-top: 1px solid var(--line);
}

.app-shell[data-shell="cleaner"] .cln-tabs button {
  flex: 1 1 0;
  min-height: 44px;
  padding: 8px 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
}

.app-shell[data-shell="cleaner"] .cln-tabs button.is-on {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.cln-room-switch {
  display: flex;
  gap: 8px;
  margin: 0 0 12px;
}

.cln-all-rooms {
  margin: 0;
  padding-left: 18px;
}

.cln-deep-item,
.prp-picks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.prp-slot {
  position: relative;
  display: grid;
  gap: 6px;
  width: 100%;
}

.prp-slot input[type="file"],
.prp-picks label.btn input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.prp-shot {
  width: 28px;
  height: 28px;
  object-fit: cover;
  border-radius: 4px;
  background: var(--paper);
}

.prp-month {
  margin: 6px 0 0;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
}

.prp-inv,
.cln-deep-log,
.cln-deep-plan {
  width: 100%;
  border-collapse: collapse;
}

.prp-inv th,
.prp-inv td,
.cln-deep-log th,
.cln-deep-log td,
.cln-deep-plan th,
.cln-deep-plan td {
  padding: 2px 8px 2px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
  font-size: 13px;
  font-weight: 400;
}

.cln-deep,
.prp-stock {
  display: grid;
  gap: 4px;
  min-width: 0;
  overflow-x: auto;
}

.app-shell .cln-deep-plan {
  width: max-content;
  min-width: 100%;
  table-layout: auto;
}

.cln-deep-plan th {
  text-transform: none;
  letter-spacing: 0;
}

.cln-deep-plan th:not(:first-child),
.cln-deep-plan td:not(:first-child) {
  text-align: center;
}

.cln-deep-plan th[colspan] {
  background: transparent;
  color: var(--ink);
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  padding-top: 8px;
}

.cln-deep-plan .chip,
.cln-deep-plan tr.is-open .chip,
.cln-deep-plan .chip:has(input:checked) {
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.cln-deep-plan .chip input {
  margin: 0;
}

.cln-deep-plan .cln-deep-role {
  color: var(--muted);
  line-height: 1.2;
}

.cln-deep-plan .cln-deep-role[hidden] {
  display: none;
}

@media (max-width: 720px) and (orientation: portrait) {
  .app-shell[data-shell="host"] .prp-month {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
  }

  .app-shell[data-shell="host"] .prp-inv th,
  .app-shell[data-shell="host"] .prp-inv td,
  .app-shell[data-shell="host"] .cln-deep-log th,
  .app-shell[data-shell="host"] .cln-deep-log td,
  .app-shell[data-shell="host"] .cln-deep-plan th,
  .app-shell[data-shell="host"] .cln-deep-plan td,
  .app-shell[data-shell="host"] .prp-stock .reason,
  .app-shell[data-shell="host"] .cln-deep .reason {
    font-size: 8px;
    font-weight: 400;
    line-height: 1.25;
  }
}
