/* Shared dashboard presentation. Theme tokens, service accents and native controls remain authoritative. */
html .dashboard-body .dashboard-shell{gap:24px;padding:20px 24px;margin:0 auto;max-width:var(--workspace-max-width,1640px)}
html .dashboard-body .dashboard-shell>.dashboard-header{min-height:100px;padding:16px 4px 22px;border:0;border-bottom:1px solid var(--ui-border);border-radius:0;background:transparent;box-shadow:none;gap:16px}
html .dashboard-body .dashboard-header::before,html .dashboard-body .dashboard-header::after{display:none}
html .dashboard-body .workspace-page-heading{min-width:0}
html .dashboard-body .workspace-page-heading .site-brand-title{font-size:.65rem;letter-spacing:.06em;margin:0 0 8px;color:var(--ui-muted)}
html .dashboard-body .workspace-page-heading h1{font-size:clamp(1.45rem,2.1vw,1.95rem);line-height:1.25;letter-spacing:-.025em;margin:0}
html .dashboard-body .workspace-page-heading>p:not(.eyebrow){font-size:.88rem;line-height:1.6;max-width:80ch;margin:8px 0 0;color:var(--ui-muted)}
html .dashboard-body .dashboard-header .workspace-platform-context{padding:10px 12px;background:transparent;border-radius:6px}
html .dashboard-body.workspace-two-level .dashboard-shell>.workspace-main{gap:28px;padding:28px;align-content:start;background:var(--ui-surface);border:1px solid var(--ui-border);border-radius:10px;min-width:0}
html .dashboard-body .workspace-main>.content-section,html .dashboard-body .workspace-main>.workspace-service-overview>.content-section{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;margin:0}
html .dashboard-body .workspace-main>.content-section+.content-section,html .dashboard-body .workspace-service-overview>.content-section+.content-section{padding-top:28px;border-top:1px solid var(--ui-border)}
html .dashboard-body .workspace-main .content-section .content-section:not(.danger-zone){box-shadow:none;background:transparent;border-radius:0;border-left:0;border-right:0}
html .dashboard-body .workspace-main .section-heading{align-items:flex-start;gap:16px;margin-bottom:22px}
html .dashboard-body .workspace-main .section-heading h2,html .dashboard-body .workspace-main>.content-section>h2{font-size:1.24rem;line-height:1.35;letter-spacing:-.02em;margin:0 0 8px}
html .dashboard-body .workspace-main .section-heading h3,html .dashboard-body .workspace-main .form-panel-heading h3{font-size:1.02rem;line-height:1.4;letter-spacing:-.015em;margin:0}
html .dashboard-body .workspace-main .section-intro{font-size:.87rem;line-height:1.65;color:var(--ui-muted);margin:0;max-width:85ch}
html .dashboard-body .workspace-main .eyebrow{font-size:.65rem;letter-spacing:.08em;color:var(--ui-muted);margin-bottom:8px}
html .dashboard-body .workspace-main .small-note{font-size:.79rem;line-height:1.65;color:var(--ui-muted)}
/* Page destinations look like tabs; favourites remain visible and separate from the link. */
html .dashboard-body .workspace-main>.workspace-section-nav{background:transparent;border:0;border-radius:0;padding:0 0 20px;margin:0;border-bottom:1px solid var(--ui-border);gap:10px}
html .dashboard-body .workspace-section-nav .workspace-section-link{background:transparent;border-radius:0}
html .dashboard-body .workspace-section-nav a{padding:10px 8px 10px 10px;border-radius:5px;font-size:.82rem;font-weight:550}
html .dashboard-body .workspace-section-nav .workspace-task-label{font-size:.7rem;flex-basis:116px;font-weight:500}
html .dashboard-body .workspace-section-nav .workspace-task-group[data-workspace-task=settings]{padding-top:8px}
html .dashboard-body .workspace-section-nav .workspace-section-title{font-size:.82rem!important}
html .dashboard-body .workspace-section-nav .workspace-section-hint{font-size:.76rem;max-width:90ch}
/* One quiet surface for records, consistent row rhythm and an explicit hover/focus. */
html .dashboard-body .workspace-main .workspace-list-row{background:transparent;border:0;border-bottom:1px solid var(--ui-border);border-radius:0;padding:14px 12px;min-height:62px;gap:12px}
html .dashboard-body .workspace-main .workspace-list-row:hover,html .dashboard-body .workspace-main .workspace-list-row:focus-visible{background:var(--ui-raised);border-bottom-color:var(--ui-border);box-shadow:none}
html .dashboard-body .workspace-main .workspace-list-row:focus-visible{outline:2px solid var(--accent,var(--ui-accent));outline-offset:-2px}
html .dashboard-body .workspace-main .workspace-list-row strong{font-size:.86rem;font-weight:650;line-height:1.45}
html .dashboard-body .workspace-main .workspace-list-row small{font-size:.73rem;line-height:1.45;margin-top:3px}
html .dashboard-body .workspace-main .list-sort-header{padding:10px 12px;margin-bottom:6px;border-radius:0;background:transparent;gap:8px}
html .dashboard-body .workspace-main .list-sort-header>span{font-size:.62rem;letter-spacing:.06em;color:var(--ui-muted)}
html .dashboard-body .workspace-main .list-sort-header button{font-size:.68rem;min-height:30px;color:var(--ui-muted)}
html .dashboard-body .workspace-main .list-sort-header button[aria-pressed=true]{color:var(--accent,var(--ui-accent))}
html .dashboard-body .workspace-main .dashboard-table{font-size:.84rem}
html .dashboard-body .workspace-main .dashboard-table th{background:transparent;font-size:.7rem;font-weight:600;letter-spacing:.02em;color:var(--ui-muted);padding:12px}
html .dashboard-body .workspace-main .dashboard-table td{padding:14px 12px;line-height:1.5}
html .dashboard-body .workspace-main .dashboard-table tbody tr:hover{background:var(--ui-raised)}
html .dashboard-body .workspace-main .status-pill{font-size:.65rem;letter-spacing:.02em;border-radius:5px;padding:5px 8px;line-height:1.4}
/* Controls keep their genuine submitter, permission state and service colour. */
html .dashboard-body .button{font-weight:650;letter-spacing:0;border-radius:6px;min-height:38px;line-height:1.4;padding:10px 16px;text-transform:none}
html .dashboard-body .button.compact{font-size:.75rem;min-height:32px;padding:7px 10px}
html .dashboard-body .button.secondary{background:transparent;box-shadow:none}
html .dashboard-body .button.secondary:hover:not(:disabled){background:var(--ui-raised)}
html .dashboard-body .button:disabled{cursor:not-allowed}
html .dashboard-body .button:focus-visible{outline:2px solid var(--accent,var(--ui-accent));outline-offset:3px}
html .dashboard-body :is(.button-row,.form-actions,.topbar-actions){gap:10px}
html .dashboard-body .workspace-main .form-panel{border-radius:8px;box-shadow:none}
html .dashboard-body .workspace-main .form-panel .form-panel{background:transparent}
html .dashboard-body .workspace-main .dashboard-form label{line-height:1.5;font-weight:550}
html .dashboard-body .workspace-main .dashboard-form label>small,html .dashboard-body .workspace-main .field-help{font-size:.76rem;line-height:1.6;font-weight:400;color:var(--ui-muted)}
html .dashboard-body .workspace-main .dashboard-form :is(input:not([type=checkbox]):not([type=radio]):not([type=color]):not([type=hidden]):not([type=submit]),select,textarea){border-radius:6px;font-size:.87rem;line-height:1.5;min-height:42px}
html .dashboard-body .workspace-main .form-panel-heading{margin-bottom:22px;padding-bottom:14px}
html .dashboard-body .workspace-main .list-tools-panel{border-radius:6px;background:transparent;box-shadow:none;margin-bottom:20px}
html .dashboard-body .workspace-main .list-tools-panel>summary{padding:12px 14px}
html .dashboard-body .workspace-main .list-tools-panel>summary strong{font-size:.84rem}
html .dashboard-body .workspace-main .list-tools-panel>summary small{font-size:.72rem}
html .dashboard-body .workspace-main .workspace-bulk-toolbar{border-radius:6px;background:var(--ui-deep);padding:12px 14px}
/* Figures, previews and feedback carry the emphasis instead of decorative containers. */
html .dashboard-body .workspace-main :is(.stat-card,.dashboard-grid>article){border-radius:8px;box-shadow:none;background:var(--ui-deep);padding:18px;border:1px solid var(--ui-border)}
html .dashboard-body .workspace-main :is(.stat-card,.dashboard-grid>article) strong{font-size:1.85rem;font-weight:650;font-variant-numeric:tabular-nums;letter-spacing:-.03em;line-height:1.25}
html .dashboard-body .workspace-main .home-review-card{border-radius:8px;box-shadow:none}
html .dashboard-body .workspace-main .home-review-card:hover{transform:none}
html .dashboard-body .workspace-main .workspace-welcome{padding:0 0 22px;background:transparent;border:0;border-bottom:1px solid var(--ui-border);border-radius:0}
html .dashboard-body .workspace-main .workspace-welcome::before,html .dashboard-body .workspace-main .workspace-welcome::after{display:none}
html .dashboard-body .workspace-main .notice,html .dashboard-body .workspace-main .flash-message{border-radius:6px;line-height:1.6}
html .dashboard-body .workspace-main .workspace-detail-card>.section-heading{margin-bottom:14px}
html .dashboard-body .workspace-drawer{border-radius:8px}
html .dashboard-body .workspace-drawer>header{padding:18px 22px}
html .dashboard-body .workspace-drawer header h2{font-size:1.35rem;line-height:1.35}
html .dashboard-body .workspace-drawer-body{padding:24px}
@media(max-width:1100px){html .dashboard-body.workspace-two-level .dashboard-shell>.workspace-main{padding:22px;gap:24px}}
@media(max-width:900px){html .dashboard-body .dashboard-shell{padding:12px;width:100%}html .dashboard-body .dashboard-shell>.dashboard-header{padding:8px 4px 18px;min-height:0}html .dashboard-body.workspace-two-level .dashboard-shell>.workspace-main{padding:20px;gap:24px}html .dashboard-body .workspace-main .workspace-list-row{padding:14px 10px}html .dashboard-body .workspace-section-nav .workspace-task-label{flex-basis:100%}}
@media(max-width:560px){html .dashboard-body .dashboard-shell{padding:10px;gap:16px}html .dashboard-body.workspace-two-level .dashboard-shell>.workspace-main{padding:16px 12px;border-radius:7px;gap:22px}html .dashboard-body .workspace-main .workspace-list-row{padding:14px 6px;gap:10px}html .dashboard-body .workspace-main .list-sort-header{padding:8px 4px;gap:6px}html .dashboard-body .button.compact{min-height:36px}html .dashboard-body .workspace-main .section-heading{flex-wrap:wrap;margin-bottom:18px}html .dashboard-body .workspace-drawer{border-radius:0}html .dashboard-body .workspace-drawer-body{padding:18px 16px}html .dashboard-body .workspace-main>.content-section+.content-section{padding-top:22px}}
@media(prefers-reduced-motion:reduce){html .dashboard-body .workspace-main .workspace-list-row,html .dashboard-body .workspace-main .home-review-card{transition:none}}
/* Record identity is a heading, not another large decorative card. */
html .dashboard-body .workspace-main .detail-header{background:transparent;box-shadow:none;border:0;border-bottom:1px solid var(--ui-border);border-radius:0;padding:0 0 24px;margin:0}
html .dashboard-body .workspace-main .detail-header h2{font-size:1.45rem;line-height:1.35;letter-spacing:-.02em}
html .dashboard-body .workspace-main .detail-header .list-row-actions{margin-bottom:16px}
html .dashboard-body .workspace-main .detail-header .back-link{display:inline-block;font-size:.8rem;margin-bottom:12px}
@media(max-width:560px){html .dashboard-body .workspace-main .detail-header{padding-bottom:20px}html .dashboard-body .workspace-main .detail-header h2{font-size:1.25rem}}
/* The shared assistant uses the robot artwork from its service placard. */
.bot-portrait{background-image:url('../images/services/system-bot.png')!important;background-size:300% auto!important;background-position:50% 78%!important;background-repeat:no-repeat!important;display:inline-block}
html .dashboard-body .team-assistant-row{background:color-mix(in srgb,var(--ui-bot,var(--ui-accent)) 7%,var(--ui-deep));border-left:3px solid var(--ui-bot,var(--ui-accent))}
/* External editor steps retain independent native forms and their own confirmations. */
.guided-editor-workspace{display:grid;grid-template-columns:minmax(0,1fr);gap:0;min-width:0;align-content:start}
.guided-editor-workspace>form{min-width:0}
.guided-editor-workspace>form[hidden]{display:none!important}
.guided-editor-workspace>.guided-editor-panel[hidden]{display:none!important}
.guided-editor-workspace>.guided-editor-heading,.guided-editor-workspace>.guided-editor-nav,.guided-editor-workspace>.guided-editor-state,.guided-editor-workspace>.guided-editor-footer{grid-column:1/-1}
.guided-editor-workspace>.guided-editor-panel{margin:0}
.guided-editor-workspace #property-objects .form-grid{grid-template-columns:minmax(0,1fr)}
.guided-editor-workspace>form>.guided-editor-heading{display:none}

/* Admin uses the same quiet record and form hierarchy as the client workspace. */
html .platform-admin-body .admin-topbar{min-height:100px;gap:20px;background:transparent;align-items:center;padding-block:22px;border-color:var(--ui-border)}
html .platform-admin-body .admin-topbar h1{font-size:clamp(1.5rem,2.2vw,2rem);line-height:1.25;letter-spacing:-.025em}
html .platform-admin-body .admin-content{gap:28px;padding-block:28px}
html .platform-admin-body .admin-sidebar{background:var(--ui-sidebar);gap:24px}
html .platform-admin-body .admin-content .content-section{border-radius:10px;box-shadow:none;padding:24px;border-color:var(--ui-border)}
html .platform-admin-body .content-section .content-section{margin-top:24px;background:var(--ui-deep)}
html .platform-admin-body .section-heading{align-items:flex-start;gap:16px;margin-bottom:22px}
html .platform-admin-body .section-heading h2{font-size:1.3rem;line-height:1.35;letter-spacing:-.02em;margin:0 0 8px}
html .platform-admin-body .section-intro{font-size:.88rem;line-height:1.7;color:var(--ui-muted);margin:0;max-width:80ch}
html .platform-admin-body .dashboard-form{row-gap:20px;min-width:0}
html .platform-admin-body .dashboard-form label{line-height:1.5;gap:8px;font-weight:550;min-width:0}
html .platform-admin-body .dashboard-form :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=color]),select,textarea){box-sizing:border-box;max-width:100%;min-width:0;min-height:42px;border-radius:7px;line-height:1.5;font:inherit}
html .platform-admin-body :is(.field-help,.small-note){line-height:1.65;font-size:.78rem;color:var(--ui-muted)}
html .platform-admin-body .form-actions{gap:10px;margin-top:24px;padding-top:20px;border-top:1px solid var(--ui-border)}
html .platform-admin-body .button{font-weight:650;border-radius:7px;min-height:40px;line-height:1.4;padding:10px 16px;letter-spacing:0;text-transform:none;box-shadow:none}
html .platform-admin-body .button.compact{font-size:.76rem;min-height:34px;padding:8px 11px}
html .platform-admin-body .button.secondary{background:transparent;color:var(--ui-text);border-color:var(--ui-border)}
html .platform-admin-body .button.secondary:hover:not(:disabled){background:var(--ui-raised);border-color:var(--ui-muted)}
html .platform-admin-body .button.danger{background:color-mix(in srgb,var(--ui-danger) 10%,var(--ui-surface));color:var(--ui-danger);border-color:color-mix(in srgb,var(--ui-danger) 50%,var(--ui-border))}
html .platform-admin-body .button.danger:hover:not(:disabled){background:color-mix(in srgb,var(--ui-danger) 18%,var(--ui-surface))}
html .platform-admin-body :is(a,button,input,select,textarea,summary):focus-visible{outline:2px solid var(--accent,var(--ui-accent));outline-offset:3px}
html .platform-admin-body .workspace-list-row{background:transparent;border-radius:0;border:0;border-bottom:1px solid var(--ui-border);min-height:64px;padding:14px 12px;gap:14px}
html .platform-admin-body .workspace-list-row:hover{background:var(--ui-raised)}
html .platform-admin-body .workspace-list-row strong{font-size:.87rem;line-height:1.5;font-weight:650}
html .platform-admin-body .workspace-list-row small{font-size:.74rem;line-height:1.5;margin-top:3px;color:var(--ui-muted)}
html .platform-admin-body .workspace-list-row .list-row-actions{display:flex;flex-wrap:wrap;gap:8px}
html .platform-admin-body .list-sort-header{padding:10px 12px;margin-block:20px 8px;gap:8px}
html .platform-admin-body .list-sort-header button{min-height:34px;font-size:.7rem}
html .platform-admin-body .status-pill{font-size:.66rem;font-weight:650;letter-spacing:.015em;border-radius:5px;padding:5px 8px}
html .platform-admin-body .workspace-settings-body{gap:24px}
html .platform-admin-body .workspace-settings-body> :is(.button-row,.content-section){margin-top:12px}
html .platform-admin-body .workspace-drawer-body{padding:24px}
html .platform-admin-body .workspace-bulk-toolbar{background:var(--ui-deep);border-radius:8px;padding:14px;gap:12px}
html .platform-admin-body :is(.notice,.form-error,.flash-message,.empty-state){line-height:1.7;overflow-wrap:anywhere;border-radius:8px}
@media(max-width:820px){html .platform-admin-body .admin-topbar{padding:20px;flex-wrap:wrap}html .platform-admin-body .admin-content{padding:18px;gap:22px}html .platform-admin-body .admin-topbar-actions{flex-wrap:wrap}html .platform-admin-body .admin-navigation{scrollbar-width:thin;scroll-padding-inline:12px}}
@media(max-width:560px){html .platform-admin-body .admin-content{padding:12px;gap:20px}html .platform-admin-body .admin-content .content-section{padding:18px 14px}html .platform-admin-body .section-heading{flex-wrap:wrap}html .platform-admin-body .workspace-list-row{padding:14px 8px;gap:10px}html .platform-admin-body .workspace-drawer-body{padding:18px 16px}html .platform-admin-body .button.compact{min-height:38px}html .platform-admin-body .form-actions{flex-wrap:wrap}}

/* Shared seven-day agenda: actual rental records, scoped by the current platform. */
html .dashboard-body .home-renewals{padding-block:24px;border-block:1px solid var(--ui-border);min-width:0}
html .dashboard-body .home-renewals .home-panel-heading{gap:16px;align-items:flex-start;margin-bottom:12px}
html .dashboard-body .home-renewals h2{margin:0 0 8px;font-size:1.2rem}
html .dashboard-body .home-renewal-list{display:grid;min-width:0}
html .dashboard-body .home-renewal-list .workspace-list-row{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) minmax(155px,.8fr) auto}
html .dashboard-body .home-renewal-list .workspace-list-row>span{min-width:0}
html .dashboard-body .home-renewal-list :is(strong,small){display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html .dashboard-body .home-renewal-list time{font-variant-numeric:tabular-nums;font-size:.84rem}
html .dashboard-body .home-renewals .empty-state{margin-block:16px 0}
@media(max-width:650px){html .dashboard-body .home-renewal-list .workspace-list-row{grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:10px 16px}html .dashboard-body .home-renewal-list .workspace-list-row>span:nth-child(2){grid-column:1;grid-row:2}html .dashboard-body .home-renewal-list .workspace-list-row>span:nth-child(3){grid-column:2;grid-row:1}html .dashboard-body .home-renewal-list .workspace-list-row>a{grid-column:2;grid-row:2}html .dashboard-body .home-renewal-list time{font-size:.75rem}}

/* Reserve the selection gutter after the desktop and mobile row padding rules. */
html .dashboard-body .workspace-main .workspace-list-row.workspace-bulk-selectable:not(:where([data-bulk-gutter="outside"])),
html .platform-admin-body .workspace-list-row.workspace-bulk-selectable:not(:where([data-bulk-gutter="outside"])) {
    padding-inline-start: 40px;
}
