.shell.is-dashboard-view {
  background: var(--crm-bg);
  color: var(--crm-ink);
  font-family: var(--crm-font);
}
.shell.is-dashboard-view > .main > .content {
  padding: 22px clamp(14px,2.55vw,28px) 26px;
  overflow: auto;
  background: radial-gradient(ellipse at 12% 0,#e5dffd,transparent 62%),
    radial-gradient(ellipse at 100% 8%,#d3f2f7,transparent 59%),var(--crm-bg);
}
.shell.is-dashboard-view .topbar {
  height: 40px;
  min-height: 40px;
  flex-basis: 40px;
  background: linear-gradient(105deg,#f5f3ff,#f1fbff);
  border-bottom-color: var(--crm-border);
}
.shell.is-dashboard-view .topbar .breadcrumb { color: #374966; font-size: 14px; font-weight: 650; }
.shell.is-dashboard-view > .sidebar { background: linear-gradient(170deg,#fff,#f8f9ff); border-color: var(--crm-border); }
.shell.is-dashboard-view .nav-item.is-active { background: #eee8ff; color: var(--crm-indigo); }
.shell.is-dashboard-view :is(.co-shell-avatar,.co-rail-user) { background: var(--crm-gradient); color: #fff; }

.rental-dashboard { min-width: 0; color: var(--crm-ink); font-size: 14px; line-height: 1.4; }
.rental-dashboard :is(h1,h2,h3,p,ul,ol) { margin: 0; }
.rental-dashboard :is(ul,ol) { list-style: none; padding: 0; }
.rental-dashboard .icon { width: 16px; height: 16px; flex: none; }
.rental-dashboard :is(button,a,summary):focus-visible { outline: 2px solid var(--crm-indigo); outline-offset: 2px; }
.rental-dashboard .home-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 16px; margin-bottom: 16px; }
.rental-dashboard h1 { color: var(--crm-ink); font-size: clamp(25px,3vw,30px); font-weight: 750; letter-spacing: -.035em; line-height: 1.12; }
.rental-dashboard .home-date { color: #415578; font-size: 13px; margin-top: 6px; }
.rental-dashboard .home-with-icon { display: inline-flex; align-items: center; gap: 7px; }
.rental-dashboard :is(.home-primary,.home-secondary) {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 37px; padding: 6px 11px; border: 1px solid var(--crm-border); border-radius: 9px;
  background: #fbfdff; color: #324362; font-size: 13px; font-weight: 650;
  transition: background-color var(--crm-motion),border-color var(--crm-motion),box-shadow var(--crm-motion);
}
.rental-dashboard .home-primary {
  min-height: 42px; padding-inline: 13px; background: var(--crm-gradient); border-color: transparent; color: #fff;
  box-shadow: 0 4px 12px #5533cb35;
}
.rental-dashboard .home-primary:hover { box-shadow: 0 5px 14px #5533cb55; filter: brightness(1.07); }
.rental-dashboard .home-secondary:hover { color: #4b36bb; background: #f7f4ff; border-color: #c8b8f0; }
.rental-dashboard .home-access {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; margin-bottom: 14px;
  padding: 8px 12px; border: 1px solid #efd9ab; border-radius: 9px; background: #fff4dd; color: #6d4813;
}
.rental-dashboard .home-access .home-secondary { margin-inline-start: auto; }

.rental-dashboard .home-columns { display: grid; grid-template-columns: minmax(0,1.78fr) minmax(280px,1fr); align-items: start; gap: 13px; }
.rental-dashboard .home-panel {
  min-width: 0; overflow: hidden; border: 1px solid transparent; border-radius: var(--crm-radius);
  background: linear-gradient(120deg,var(--crm-surface),#f8fdff) padding-box,
    linear-gradient(135deg,#cbbcef,#b4dfec 74%,var(--crm-border)) border-box;
  box-shadow: var(--crm-shadow);
}
.rental-dashboard .home-panel-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 13px 13px 11px; }
.rental-dashboard .home-panel h2 { color: var(--crm-ink); font-size: 18px; letter-spacing: -.025em; font-weight: 700; line-height: 1.2; }
.rental-dashboard .home-heading-icon { display: inline-flex; color: var(--crm-indigo); }
.rental-dashboard .home-periods { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 13px 8px; }
.rental-dashboard .home-period {
  min-height: 34px; padding: 5px 9px; border: 1px solid transparent; border-radius: 8px;
  background: transparent; color: #4a5c7b; font-size: 13px; font-weight: 650;
  transition: background-color var(--crm-motion),box-shadow var(--crm-motion);
}
.rental-dashboard .home-period:hover { background: #f1edff; color: #4835bb; }
.rental-dashboard .home-period[aria-pressed="true"] { color: #fff; border-color: transparent; background: var(--crm-gradient); box-shadow: 0 3px 8px #6840d23a; }
.rental-dashboard .home-schedule { border-top: 1px solid #dce5f2; }
.rental-dashboard .home-day {
  padding: 7px 13px; background: #f2f3fb; border-bottom: 1px solid #dce5f2;
  color: #384c73; font-size: 13px; font-weight: 680;
}
.rental-dashboard :is(.home-slot + .home-slot,.home-issue + .home-issue,.home-day:not(:first-child)) { border-top: 1px solid #e0e7f3; }
.rental-dashboard :is(.home-slot-link,.home-issue-link) {
  display: grid; align-items: center; width: 100%; min-height: 58px; gap: 9px;
  padding: 7px 13px; border: 0; background-color: transparent; color: var(--crm-ink); text-align: left;
  overflow-wrap: anywhere; transition: background-color var(--crm-motion);
}
.rental-dashboard .home-slot-link { grid-template-columns: 64px minmax(0,1fr) 16px; }
.rental-dashboard :is(.home-slot-link,.home-issue-link):hover { background-color: #f1efff; }
.rental-dashboard :is(.home-slot-link,.home-issue-link):focus-visible { outline-offset: -2px; }
.rental-dashboard .home-slot-time { font-size: 15px; font-weight: 740; font-variant-numeric: tabular-nums; }
.rental-dashboard .home-untimed { color: #526485; font-size: 12px; font-weight: 630; }
.rental-dashboard .home-slot-copy { min-width: 0; display: grid; gap: 4px; padding-inline-start: 10px; border-inline-start: 1px solid #dfdbee; }
.rental-dashboard .home-slot-title { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; }
.rental-dashboard .home-slot-title strong { font-size: 13px; font-weight: 720; }
.rental-dashboard .home-small { color: var(--crm-muted); font-size: 12px; }
.rental-dashboard .home-arrow { display: inline-flex; color: var(--crm-indigo); }
.rental-dashboard .home-pills { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 5px; }
.rental-dashboard .home-chip {
  display: inline-flex; align-items: center; gap: 4px; width: fit-content; max-width: 100%; min-height: 20px;
  padding: 2px 6px; border-radius: 6px; color: #374b69; background: #edf0f9; font-size: 11px; font-weight: 680; line-height: 1.15;
}
.rental-dashboard .home-chip[data-tone="transport"] { color: #204e81; background: #e4f1fc; }
.rental-dashboard .home-chip[data-tone="setup"] { color: #52338e; background: #eee7ff; }
.rental-dashboard .home-chip[data-tone="event"] { color: #15595b; background: #dcf3f2; }
.rental-dashboard .home-chip[data-tone="return"] { color: #35585b; background: #e8f1f2; }
.rental-dashboard .home-chip[data-tone="pending"] { color: #785016; background: #fff1d2; }
.rental-dashboard .home-footer { display: flex; justify-content: flex-end; padding: 8px 13px; border-top: 1px solid #e0e7f3; }
.rental-dashboard .home-text-link { display: inline-flex; align-items: center; gap: 5px; min-height: 32px; padding: 3px 5px; border-radius: 7px; color: #4839bd; font-size: 13px; font-weight: 680; }
.rental-dashboard .home-text-link:hover { background: #eee8ff; }

.rental-dashboard .home-attention-head { min-height: 61px; }
.rental-dashboard .home-count {
  display: grid; place-items: center; min-width: 23px; height: 23px; padding-inline: 4px;
  border-radius: 7px; background: #ffefd7; color: #815318; font-size: 12px; font-weight: 700;
}
.rental-dashboard .home-issues { border-top: 1px solid #dce5f2; }
.rental-dashboard .home-issue-link { grid-template-columns: 32px minmax(0,1fr) 16px; min-height: 69px; }
.rental-dashboard .home-issue-symbol {
  display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid #f6e6c4; border-radius: 8px;
  background: #fff2d9; color: #86500d;
}
.rental-dashboard .home-issue-copy { display: grid; min-width: 0; gap: 3px; color: #293956; }
.rental-dashboard .home-issue-copy strong { font-size: 13px; font-weight: 720; }
.rental-dashboard .home-issue[data-tone="urgent"] .home-issue-link:not(:hover) { background: #fff6f7; }
.rental-dashboard .home-issue[data-tone="urgent"] .home-issue-symbol { border-color: #f6d5df; background: #fee9ee; color: #aa294e; }
.rental-dashboard .home-issue[data-tone="urgent"] .home-issue-copy strong { color: #a6284a; }
.rental-dashboard .home-issue[data-tone="team"] .home-issue-symbol { border-color: #e6ddff; background: #f0eaff; color: #5a3cb0; }
.rental-dashboard .home-empty { padding: 15px 13px; color: var(--crm-muted); font-size: 13px; }
.rental-dashboard .home-more { border-top: 1px solid #e0e7f3; }
.rental-dashboard .home-more > summary { margin: 4px 8px; cursor: pointer; }
.rental-dashboard .home-more > summary::-webkit-details-marker { display: none; }
.rental-dashboard .home-more > summary::after {
  content: ""; width: 6px; height: 6px; margin-inline-start: 3px; border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor; transform: rotate(45deg) translateY(-2px);
}
.rental-dashboard .home-more[open] > summary::after { transform: rotate(225deg) translateY(-2px); }

@media (min-width: 741px) {
  .shell.is-dashboard-view.nav-collapsed { grid-template-columns: 64px minmax(0,1fr); }
  .shell.is-dashboard-view.nav-collapsed > .sidebar { width: 64px; padding-inline: 8px; }
  .shell.is-dashboard-view.nav-collapsed > .sidebar .nav-item { width: 44px; min-height: 42px; padding: 8px; }
  .shell.is-dashboard-view.nav-collapsed > .sidebar .nav-item .icon { width: 20px; height: 20px; }
}
@media (max-width: 780px) {
  .rental-dashboard .home-columns { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 740px) {
  .shell.is-dashboard-view > .main > .content { padding: 14px; overflow: visible; }
  .shell.is-dashboard-view .topbar { height: 34px; min-height: 34px; padding-inline: 14px; }
}
@media (max-width: 540px) {
  .rental-dashboard .home-slot-link { grid-template-columns: 57px minmax(0,1fr) 16px; gap: 6px; }
  .rental-dashboard .home-slot-copy { padding-inline-start: 7px; }
}
@media (pointer: coarse) {
  .rental-dashboard :is(.home-primary,.home-secondary,.home-period,.home-text-link) { min-height: 44px; }
}
