/* InstaClean Cyprus: shared identity and components across all six application pages. */
:root {
 --ic-brand:var(--ic-premium-blue-end);--ic-brand-start:var(--ic-premium-blue-start);--ic-wordmark-color:var(--ic-brand);
 --ic-brand-gradient:linear-gradient(135deg,var(--ic-brand-start),var(--ic-brand));
 --ic-ink:#23465e;--ic-muted:#4c667a;--ic-line:#d8e4ed;
 --ic-surface:#fff;--ic-shell:#f8fafc;--ic-soft:#edf5fa;
 --ic-calendar-blue:#e6f0f8;--ic-calendar-blue-ink:#245c7c;--ic-calendar-blue-edge:#cddfeb;
 --ic-section-heading-bg:linear-gradient(110deg,#f8fbfd 0%,#f0f6fa 100%);
 --ic-section-heading-ink:#285571;--ic-section-heading-edge:#dce7ef;
 --ic-section-heading-light:inset 0 1px 0 #fff;
 --ic-service-heading-bg:linear-gradient(110deg,#f3f7fa 0%,#e8f1f7 100%);
 --ic-service-heading-ink:#284b63;
 --ic-service-heading-edge:#dce5ec;
 --ic-service-heading-light:inset 0 1px 0 #ffffffc9;
 --ic-group-heading-bg:#f3f5f7;
 --ic-group-heading-ink:#465360;
 --ic-group-heading-edge:#d8e0e6;
 --ic-pending-icon-start:#a86e19;
 --ic-pending-icon-end:#805119;
 --ic-pending-icon-glow:#b7791f20;
 --ic-shadow:0 4px 16px #1457800c;--ic-focus:#1685b2;
 --ic-completed-start:#68747f;--ic-completed-end:#465360;
 --ic-completed-accent:#68747f;--ic-completed-ink:#465360;
 --ic-completed-surface:#f3f5f7;--ic-completed-edge:#cbd2d8;
 --ic-awaiting-surface:#fff8eb;--ic-awaiting-edge:#f1e3c7;--ic-awaiting-ink:#856124;
 --ic-completed-glow:#52606d20;--ic-completed-shadow:0 6px 22px #52606d14;
 --ic-completed-gradient:linear-gradient(135deg,var(--ic-completed-start),var(--ic-completed-end));
 --green:var(--ic-brand);--g:var(--ic-brand);--ink:var(--ic-ink);
 --muted:var(--ic-muted);--line:var(--ic-line);
 --ic-font:'DM Sans',Arial,sans-serif;
}
/* Cancel a form without making it compete with the darker destructive action. */
button.button-cancel[type=button],.service-form-actions .button.button-cancel,.service-remove-actions button.button-cancel{border:1px solid #e7c7cc;background:#fff7f8;color:#9f4d58;box-shadow:none;transform:none}
button.button-cancel[type=button]:hover,.service-form-actions .button.button-cancel:hover,.service-remove-actions button.button-cancel:hover,.owner-close-job:hover{border-color:#d6a3ad;background:#fff0f2;color:#8a3e4b;box-shadow:0 3px 8px #9f4d5812;transform:none}
button.button-cancel:focus-visible{outline:2px solid #b35e68;outline-offset:3px}
/* A role identifies the account type; the medal above it represents membership tier. */
.corporate-page .member-role-badge,
.corporate-page .request-host-portrait>span.member-role-badge{display:inline-flex;align-items:center;justify-content:center;gap:6px;align-self:center;box-sizing:border-box;width:fit-content;max-width:100%;min-height:28px;margin:3px 0;padding:5px 10px;border:1px solid var(--ic-brand);border-radius:16px;background:var(--ic-brand-gradient);color:#fff;font:inherit;font-size:11px;font-weight:600;line-height:1.4;letter-spacing:0;text-align:center;box-shadow:inset 0 1px 0 #ffffff35,0 2px 5px #00558f16;white-space:normal}
.member-role-badge>svg{display:block;width:15px;height:15px;flex:none;color:#fff}
.member-role-badge>span{min-width:0}
.member-badge-stack{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;align-self:center;width:fit-content;max-width:100%;margin:0;padding:0}
.corporate-page .member-badge-stack>.member-tenure-badge,
.corporate-page .member-badge-stack>.member-role-badge{margin:0}
body {font-family:var(--ic-font)}
.demo-banner {
 background:#fff2cf;border-bottom:1px solid #eadba7;color:#68531f;
 padding:8px 16px;text-align:center;font:600 11px/1.5 var(--ic-font);position:relative;z-index:9;
}
button,input,textarea,select {font-family:inherit}
:is(button,a,input,textarea,select,summary):focus-visible {
 outline:2px solid var(--ic-focus);outline-offset:3px;
}

/* Original logo artwork stays intact. The descriptor sits beneath the clean wordmark. */
:is(.header,.sidebar)>.brand,.corporate-brand {
 display:flex;flex-direction:column;align-items:flex-end;gap:0;width:180px;flex-shrink:0;
}
:is(.header,.sidebar)>.brand>img,.corporate-brand>img,.footer-main>.brand>img {
 display:block;width:100%;height:auto;object-fit:contain;filter:none;
}
:is(.header,.sidebar)>.brand>:is(small,.cyprus-tag),.corporate-brand>small {
 align-self:flex-end;margin:-18px 6px 0 0;padding:0;
 font:700 7px/1.4 var(--ic-font);letter-spacing:3px;color:var(--ic-wordmark-color);
}
.corporate-footer .corporate-brand,.footer-main>.brand {width:155px;gap:0;align-items:flex-end}
.corporate-footer .corporate-brand>small,.footer-main>.brand>.cyprus-tag {
 align-self:flex-end;margin:-15px 5px 0 0;padding:0;
 font:700 6px/1.4 var(--ic-font);letter-spacing:3px;color:var(--ic-wordmark-color);
}
.auth-art>.brand {align-items:flex-end;gap:0}
.auth-art>.brand>small {
 align-self:flex-end;margin:-20px 6px 0 0;
 font:700 7px/1.4 var(--ic-font);letter-spacing:3px;color:var(--ic-wordmark-color);
}
.corporate-home .brand:hover .brand-logo {opacity:1}
/* Keep the original broom emblem and render the correctly cased wordmark as scalable text. */
.brand-art {display:block;position:relative;flex-shrink:0;width:100%;line-height:0}
.brand-art>img,.brand-art>img.brand-logo,.corporate-brand .brand-art>img,
.auth-art .brand-art>img,.phone-brand .brand-art>img {
 display:block;width:100%;height:auto;object-fit:contain;
}
.auth-art .brand-art {width:200px;max-width:100%}
.phone-brand .brand-art {width:146px;max-width:100%}
.brand-art>img {clip-path:inset(0 65% 0 0)}
.brand-art>.brand-wordmark {
 position:absolute;left:35.5%;top:40%;width:61.5%;height:auto;
 display:block;overflow:visible;color:var(--ic-wordmark-color);pointer-events:none;
}
.brand-wordmark text {
 font-family:var(--ic-font);font-size:240px;font-weight:700;font-style:normal;
 fill:currentColor;
}
/* Reversed identity on the administrator sign-in's blue background. */
.corporate-admin .auth-art>.brand {
 --ic-wordmark-color:#fff;background:transparent;padding:0;border:0;border-radius:0;
 box-shadow:none;color:#fff;
}
.corporate-admin .auth-art .brand-art>img {
 filter:grayscale(1) invert(1) brightness(3);mix-blend-mode:screen;
}
@supports(background-clip:text) {
 :is(.header,.sidebar)>.brand>:is(small,.cyprus-tag),
 .corporate-brand>small,.footer-main>.brand>.cyprus-tag,.auth-art>.brand>small {
  background:var(--ic-wordmark-color);background-clip:text;-webkit-background-clip:text;
  color:transparent;
 }
}

/* Shared controls: no brightness filter, movement or changing geometry on hover. */
.button {
 min-height:44px;border-radius:10px;line-height:1.5;font-weight:600;background:var(--ic-button-gradient);color:var(--ic-button-ink);
 box-shadow:inset 0 1px 0 #ffffff30,0 3px 10px #007db514;
 transition:box-shadow .18s ease,border-color .18s ease,background-color .18s ease;
 filter:none;transform:none;
;border-color:var(--ic-button-border)}
.corporate-home .button.dark {background:var(--ic-button-gradient);color:var(--ic-button-ink);border-color:var(--ic-button-border)}
.button.secondary {
 background:#fff;color:var(--ic-brand);border-color:#c8dce9;box-shadow:none;
}
.button:disabled {cursor:not-allowed;box-shadow:none}
.button:hover,.button:focus-visible {filter:none;transform:none}
.button.secondary:hover {background:#f1f7fb;border-color:#8fb7ce}
.corporate-admin .nav-button.active {background:var(--ic-brand-gradient);color:#fff}
.corporate-admin :is(.sidebar,.topbar) {background:var(--ic-shell);border-color:var(--ic-line)}
.corporate-admin :is(.page-title p,.nav-label,.sidebar-bottom,.metric span,.metric small,.ops-note) {
 color:var(--ic-muted);
}
.corporate-admin :is(.metric span,.metric small,.ops-note) {font-size:12px;line-height:1.6}
.corporate-admin th {background:var(--ic-shell);color:#405e74;font-size:12px;font-weight:600}
.corporate-admin :is(.analytics-period,.chart-title p,.chart-unit,.chart-foot,.chart-legend li,.chart-currency,.status-donut span) {
 color:var(--ic-muted);font-size:11px;line-height:1.6;
}
.corporate-admin .chart-note {color:var(--ic-muted);font-size:11px!important}
.corporate-admin .panel {border-color:var(--ic-line);border-radius:14px;box-shadow:var(--ic-shadow)}
.corporate-page .service-passport-stats dt {font-size:12px;color:#415e73;line-height:1.6}
.corporate-page .member-rating-count {font-size:12px;color:#415e73}
.member-form :is(p,.auth-switch,.auth-toggle),.auth-form p,.field small {
 color:var(--ic-muted);line-height:1.7;
}
.corporate-admin .auth-form>.eyebrow {
 display:inline-flex;align-items:center;max-width:100%;box-sizing:border-box;
 margin:0 0 20px;padding:10px 15px;border:1px solid var(--ic-brand);border-radius:10px;
 background:var(--ic-brand-gradient);color:#fff;font-size:11px;font-weight:650;
 letter-spacing:1.2px;line-height:1.5;box-shadow:inset 0 1px 0 #ffffff35,0 3px 10px #00558f14;
}
.corporate-admin .auth-form>.eyebrow+h2 {margin-top:0}
.field small {font-size:12px}
:where(.member-form,.member-security,.booking-request-panel,.ops-tools,.chat-compose,.auth-form) :is(input:not([type=checkbox]):not([type=radio]),textarea,select) {
 border-color:#cbdce8;border-radius:10px;color:var(--ic-ink);background:#fff;min-height:44px;
}
input::placeholder,textarea::placeholder {color:#637d8f;opacity:1}

/* Segmented language choices share the brand colour while retaining their existing layout. */
:is(.member-language,.admin-language,.language-switch) {
 border-color:var(--ic-line);box-shadow:0 2px 8px #14578008;
}
:is(.member-language,.admin-language,.language-switch) button[aria-pressed=true] {
 background:var(--ic-brand-gradient);color:#fff;
}
dialog {border-color:var(--ic-line);border-radius:16px;box-shadow:0 18px 60px #123f6026}
dialog::backdrop {background:#123f6059;backdrop-filter:blur(3px)}
:is(.service-form-close,.appointment-dialog-close,.rm-dialog-close,.dialog-close) {
 border-radius:9px;border-color:var(--ic-line);background:#fff;color:var(--ic-brand);
}

/* Message text and timestamps remain readable; conversation permissions are unchanged. */
:is(.chat-bubble,.inline-message) p {color:#294b63;line-height:1.8}
.chat-bubble time {font-size:11px;color:var(--ic-muted)}
.chat-bubble.mine {background:#eaf4fc;border-color:#cbdfea}
.chat-page :is(.chat-request-note,.chat-compose) {border-color:var(--ic-line);border-radius:12px}
.corporate-home :is(.fine-print,.hero-note,.availability-note,.mockup-note,.footer-bottom) {
 color:var(--ic-muted);font-size:12px;line-height:1.7;
}
.corporate-home .app-section :is(.availability-note,.app-region) {color:#e0f2fc}

/* Marketing cards use a complete stationary surface, rather than a floating text shadow. */
.corporate-home .steps {gap:24px}
.corporate-home :is(.steps article,.needs-list article) {
 border:1px solid #dce7ee;border-radius:12px;background:#fff;padding:22px;
 box-shadow:0 2px 6px #14578005;transform:none;
 transition:border-color .2s ease,box-shadow .2s ease;
}
.corporate-home .steps .line-icon {top:18px;right:22px;color:#286386}
.corporate-home .steps article h3 {margin-top:26px}
.corporate-home .steps article p {margin-bottom:0}
.corporate-home .needs-list article {margin-bottom:12px;gap:16px}
.corporate-home .needs-list article:first-child {padding-top:22px}
.corporate-home .needs-list article>div {min-width:0}
.corporate-home .needs-list article h3 {line-height:1.5}
.corporate-home .needs-list article p {color:var(--ic-muted)}
.corporate-home .needs-list article>a {
 width:34px;height:34px;border-radius:9px;background:var(--ic-soft);color:var(--ic-brand);
 border-color:#cfdfeb;box-shadow:none;transform:none;
 transition:background-color .18s ease,border-color .18s ease,box-shadow .18s ease;
}
.corporate-home :is(.steps article,.needs-list article):focus-within {
 border-color:#b3cbd9;background:#fff;box-shadow:0 6px 22px #14578012;
}
.corporate-home .entry-cleaner {border:0}
.corporate-home .entry-links .button {
 height:48px;min-height:48px;padding:12px 15px;gap:12px;line-height:1.4;
}
.corporate-home .entry-links .button>span {font-size:20px;line-height:1}
.corporate-home .mobile-menu a[href^="/account?role="] {
 display:flex;align-items:center;min-height:44px;padding:12px 16px;
 background:var(--ic-brand-gradient);color:#fff;border-radius:10px;
 border:1px solid var(--ic-brand);margin:5px 0;font-weight:600;
}

@media(hover:hover) and (pointer:fine) {
 .button:not(:disabled):hover {box-shadow:inset 0 0 0 1px #ffffff30,0 5px 16px #00558f22;filter:none;transform:none}
 .button.secondary:not(:disabled):hover {box-shadow:0 4px 12px #14578010}
 
 .corporate-home .needs-list article>a:hover {
  transform:none;background:#e5f1f8;border-color:#91b8d0;box-shadow:0 2px 7px #1457800d;
 }
}
@media(max-width:760px) {
 .corporate-home :is(.steps article,.needs-list article),
 .corporate-home .needs-list article:first-child {padding:18px}
 .corporate-home .steps .line-icon {top:14px;right:18px}
 .corporate-home .needs-list article {gap:12px}
 .header>.brand,.corporate-header .corporate-brand {width:150px}
 .header>.brand>.cyprus-tag,.corporate-header .corporate-brand>small {
  font-size:6px;letter-spacing:2.8px;margin:-15px 5px 0 0;
 }
}
@media(prefers-reduced-motion:reduce) {
 .button,:is(.member-language,.admin-language,.language-switch) {transition:none}
 .corporate-home :is(.steps article,.needs-list article,.needs-list article>a) {transition:none}
 .button:hover {transform:none}
}

/* Open FAQ headings retain the same blue as their hover state. */
.corporate-home .faqs summary:hover,
.corporate-home .faqs details[open]>summary {color:#0084b4}


/* FAQ answers use readable body text instead of faint small-print styling. */
.corporate-home .faqs details>p {
 color:#526b7c;font-size:14px;font-weight:400;line-height:1.85;
}


/* Homepage supporting copy follows the approved, soft readable FAQ tone. */
.corporate-home {--ic-home-copy:#526b7c}
.corporate-home :is(.intro,.section-heading>p,.steps article p,.needs-list article p,
 .life-section>p:not(.eyebrow),.faq-section>div>p:not(.eyebrow),.footer-main>p) {
 color:var(--ic-home-copy);font-weight:400;line-height:1.85;
}
.corporate-home :is(.steps article p,.needs-list article p) {font-size:14px}
.corporate-home :is(.hero-note,.fine-print,.footer-bottom) {color:var(--ic-home-copy)}
.corporate-home :is(.step-number,.needs-list article>span) {color:var(--ic-home-copy);font-size:12px}
.corporate-home .footer-main>p {font-size:12px}
.corporate-home .app-copy>p:not(.eyebrow) {color:#e0f2fc}
.corporate-home .app-section .availability-note {font-size:12px}
.corporate-home .app-section .app-region {font-size:10px}
.corporate-home .store-button small {font-size:10px}

/* Description belongs to the same service sheet, with its own quiet white surface. */
.service-request-card .service-description-wide {
 margin:20px 26px 22px;padding:0;min-height:190px;box-sizing:border-box;background:#fff;
 border:1px solid var(--ic-line);border-radius:12px;
 box-shadow:none;
}
.service-request-card .service-description-wide>h4 {
 display:flex;align-items:center;min-height:62px;box-sizing:border-box;
 margin:0;padding:18px 22px;border-radius:11px 11px 0 0;
 border-bottom:1px solid #cddfeb;
 font-size:14px;font-weight:600;line-height:1.5;letter-spacing:-.1px;
}
.service-request-card .service-description-wide .service-scope {
 margin:0;padding:20px 22px 30px;max-width:none;
}
/* One heading treatment ties all three parts of the service form together. */
#member-app .annual-availability .annual-grid button.selected {background:var(--ic-calendar-blue)}
.service-request-card :is(.service-description-wide,.service-availability-calendar,.service-request-price) {
 border-color:#dce5ec;border-radius:12px;box-shadow:none;
}
.service-request-card :is(.service-description-wide>h4,.service-availability-calendar>header,.service-request-price-heading) {
 min-height:62px;box-sizing:border-box;padding:18px 22px;
 background:var(--ic-service-heading-bg);color:var(--ic-service-heading-ink);border-bottom-color:var(--ic-service-heading-edge);
 box-shadow:var(--ic-service-heading-light);
}
.service-request-card :is(.service-availability-calendar>header,.service-request-price-heading)>h4 {
 color:var(--ic-service-heading-ink);font-size:14px;font-weight:600;line-height:1.5;letter-spacing:-.1px;
}
@media(max-width:700px) {
 .service-request-card :is(.service-description-wide>h4,.service-availability-calendar>header,.service-request-price-heading) {padding:16px 18px}
}
.service-request-card .service-availability-calendar>header>.service-calendar-local-time,
.service-request-card .service-request-price-heading>.service-invoice-icon {
 color:#3f657e;border-color:#d8e4ed;
 background:#fff;box-shadow:none;
}
.service-request-card .service-private-earnings {
 background:linear-gradient(135deg,var(--status-start),var(--status-end));
 border:1px solid var(--status-end);color:#fff;
 box-shadow:inset 0 1px 0 #ffffff35,0 3px 10px var(--status-glow);
}
.service-request-card .service-request-price .service-request-price-note,
.service-request-card .service-calendar-note {
 color:#526b7c;font-size:12px;line-height:1.75;font-weight:400;
}
.service-request-card .service-request-fee {gap:7px;margin-top:14px;color:#526b7c}
.service-request-card .service-request-fee-rate {gap:6px;font-size:13px;line-height:1.5;color:#345b75}
.service-request-card .service-request-fee-rate>b {font-weight:650}
.service-request-card .service-request-fee>.service-fee-label {
 font-size:13px;font-weight:600;line-height:1.6;color:#345b75;
}
.service-request-card .service-request-fee .service-fee-note {display:block}
.service-request-card .service-request-fee .fee-allocation-note {
 margin-top:7px;font-size:12px;font-weight:400;line-height:1.75;color:#526b7c;
}
.service-request-card .service-request-fee>strong {
 font-size:18px;font-weight:650;line-height:1.5;color:#345b75;
}
.service-request-card .service-request-fee .service-commission-unit {
 font-size:12px;font-weight:400;color:#526b7c;margin-left:4px;
}
.service-request-card .service-billing-selection>.service-billing-date {
 margin:3px 0 8px;font-size:12px;font-weight:500;letter-spacing:0;color:#526b7c;
}
.service-request-card .service-billing-selection>.service-billing-time {
 display:flex;align-items:center;gap:9px;padding:10px 12px;box-sizing:border-box;
 background:linear-gradient(110deg,#f3faf6,#edf7f1);border:1px solid #badfce;border-radius:8px;
 box-shadow:inset 0 1px 0 #ffffffb3;
 font-size:13px;line-height:1.5;letter-spacing:0;color:#21644c;
}
.service-billing-time>svg {display:block;flex:0 0 16px;width:16px;height:16px}
.service-billing-time>strong {font-size:14px;font-weight:650;color:#21644c;font-variant-numeric:tabular-nums}
.service-billing-time>.service-billing-duration {
 display:inline-flex;align-items:center;justify-content:center;margin-left:auto;
 padding:3px 8px;border:1px solid #c4ded0;border-radius:6px;background:#fff;
 font-size:12px;font-weight:600;color:#21644c;white-space:nowrap;
}
@media(max-width:400px) {.service-request-card .service-billing-selection>.service-billing-time {gap:7px;padding:9px}}
.service-request-card .private-net-label {color:#fff}
.service-request-card .service-private-earnings>.service-cleaner-net-value {color:#fff;border-left-color:#ffffff45}
.service-request-card .private-net-icon {
 background:#ffffff20;color:#fff;border-color:#ffffff45;box-shadow:inset 0 1px 0 #ffffff18;
}

@media(max-width:760px) {
 .service-request-card .service-description-wide {margin:16px 20px 18px;padding:0;min-height:180px}
 .service-request-card .service-description-wide>h4 {padding-inline:18px}
 .service-request-card .service-description-wide .service-scope {padding:20px 18px 26px}
}

/* Shared action arrows move independently of their label and button surface. */
:root {--ic-arrow-distance:3px;--ic-arrow-duration:.22s}
.action-arrow {
 display:inline-block;flex-shrink:0;line-height:1;vertical-align:middle;
 transform:translate(0,0);transition:transform var(--ic-arrow-duration) ease;
}
.button:is(:hover,:focus-visible) span:not(.action-arrow),
.store-button:is(:hover,:focus-visible) .store-arrow:not(.action-arrow) {transform:none}
:is(a,button,[role="button"]):focus-visible .action-arrow,
.overview-metric-trigger:focus-visible::after {
 transform:translate(var(--ic-arrow-x,var(--ic-arrow-distance)),var(--ic-arrow-y,calc(-1 * var(--ic-arrow-distance))));
}
.overview-metric-trigger::after {transition:transform var(--ic-arrow-duration) ease}
@media(hover:hover) and (pointer:fine) {
 :is(a,button,[role="button"]):not(:disabled):not([aria-disabled="true"]):hover .action-arrow,
 .overview-metric-trigger:not(:disabled):hover::after {
  transform:translate(var(--ic-arrow-x,var(--ic-arrow-distance)),var(--ic-arrow-y,calc(-1 * var(--ic-arrow-distance))));
 }
}
:is(button:disabled,[aria-disabled="true"]) .action-arrow {transform:none}
@media(prefers-reduced-motion:reduce) {
 .action-arrow,.overview-metric-trigger::after {transition:none}
 :is(a,button,[role="button"]):is(:hover,:focus-visible) .action-arrow,
 .overview-metric-trigger:is(:hover,:focus-visible)::after {transform:none}
}

.action-arrow-back {--ic-arrow-x:-3px;--ic-arrow-y:0px}
.action-arrow-next {--ic-arrow-x:3px;--ic-arrow-y:0px}

/* Request accordions share one header system; only the status palette changes. */
.request-inbox-surface .request-new-group {
 --status-start:#f3f5f7;--status-end:#f3f5f7;--status-ink:#465360;--status-edge:#d8e0e6;--status-glow:#52606d12;
 --group-accent:var(--status-ink);--group-hover-border:var(--status-edge);--group-hover-shadow:0 4px 16px var(--status-glow);
 border-color:var(--status-edge);
}
.request-inbox-surface .request-approved-group {--status-start:#f3f5f7;--status-end:#f3f5f7;--status-ink:#465360;--status-edge:#d8e0e6;--status-glow:#52606d12}
.request-inbox-surface .request-completed-group {--status-start:#f3f5f7;--status-end:#f3f5f7;--status-ink:#465360;--status-edge:#d8e0e6;--status-glow:#52606d12}
.request-inbox-surface .request-cancelled-group {--status-start:#f3f5f7;--status-end:#f3f5f7;--status-ink:#465360;--status-edge:#d8e0e6;--status-glow:#52606d12}
.request-inbox-surface .request-new-group>summary,
.request-inbox-surface .request-new-group[open]>summary {
 background:linear-gradient(135deg,var(--status-start),var(--status-end));
 color:#fff;border-bottom-color:var(--status-end);box-shadow:inset 0 1px 0 #ffffff35;
}
.request-inbox-surface .request-new-group>summary>.request-new-chevron,
.request-inbox-surface .request-new-group[open]>summary>.request-new-chevron {
 background:#ffffff20;border-color:#ffffff45;color:#fff;box-shadow:inset 0 1px 0 #ffffff18;
}
.request-inbox-surface .request-new-group>summary>b {
 background:#fff;border-color:#fff;color:var(--status-ink);box-shadow:0 2px 6px #243f5714;
}
.request-inbox-surface .request-new-group>summary:focus-visible {outline-color:#fff;outline-offset:-4px}
@media(hover:hover) and (pointer:fine) {
 .request-inbox-surface .request-new-group>summary:hover,
 .request-inbox-surface .request-new-group[open]>summary:hover {
  background:linear-gradient(135deg,var(--status-start),var(--status-end));
  box-shadow:inset 0 0 0 1px #ffffff30,inset 0 1px 0 #ffffff35;
 }
 .request-inbox-surface .request-new-group>summary:hover .request-new-chevron {
  background:#ffffff20;border-color:#ffffff80;color:#fff;
 }
}

/* All request groups share the same calm grey surface. */
.request-inbox-surface :is(.request-pending-group,.request-approved-group,.request-completed-group,.request-cancelled-group)>summary,
.request-inbox-surface :is(.request-pending-group,.request-approved-group,.request-completed-group,.request-cancelled-group)[open]>summary {
 background:var(--ic-group-heading-bg);color:var(--ic-group-heading-ink);border-bottom-color:var(--ic-group-heading-edge);
}
.request-inbox-surface :is(.request-pending-group,.request-approved-group,.request-completed-group,.request-cancelled-group)>summary>.request-group-heading-icon,
.request-inbox-surface :is(.request-pending-group,.request-approved-group,.request-completed-group,.request-cancelled-group)>summary>b,
.request-inbox-surface :is(.request-pending-group,.request-approved-group,.request-completed-group,.request-cancelled-group)>summary>.request-new-chevron,
.request-inbox-surface :is(.request-pending-group,.request-approved-group,.request-completed-group,.request-cancelled-group)[open]>summary>.request-new-chevron {
 background:#fff;border-color:#d8e0e6;color:#627586;box-shadow:0 2px 6px #52606d12;
}
.request-inbox-surface :is(.request-pending-group,.request-approved-group,.request-completed-group,.request-cancelled-group)>summary>b {color:#465360}
.request-inbox-surface :is(.request-pending-group,.request-approved-group,.request-completed-group,.request-cancelled-group)>summary:focus-visible {outline-color:#627586}
@media(hover:hover) and (pointer:fine) {
 .request-inbox-surface :is(.request-pending-group,.request-approved-group,.request-completed-group,.request-cancelled-group)>summary:hover,
 .request-inbox-surface :is(.request-pending-group,.request-approved-group,.request-completed-group,.request-cancelled-group)[open]>summary:hover {
  background:#f3f5f7;color:#465360;box-shadow:inset 0 0 0 1px #d8e0e6;
 }
 .request-inbox-surface :is(.request-pending-group,.request-approved-group,.request-completed-group,.request-cancelled-group)>summary:hover .request-new-chevron {
  background:#fff;border-color:#d8e0e6;color:#627586;
 }
}

/* Status colour belongs to the compact icon tile, leaving the grey headers calm. */
.request-pending-group {--group-icon-start:var(--ic-pending-icon-start);--group-icon-end:var(--ic-pending-icon-end);--group-icon-glow:var(--ic-pending-icon-glow)}
.request-approved-group {--group-icon-start:#288568;--group-icon-end:#206049;--group-icon-glow:#28856826}
.request-completed-group {--group-icon-start:#278b88;--group-icon-end:#216b70;--group-icon-glow:#278b8826}
.request-cancelled-group {--group-icon-start:#7b8792;--group-icon-end:#5e6b77;--group-icon-glow:#64748b1c}
.request-declined-group {--group-icon-start:#b35e68;--group-icon-end:#8c3e4c;--group-icon-glow:#b35e6826}
.request-inbox-surface :is(.request-pending-group,.request-approved-group,.request-completed-group,.request-cancelled-group)>summary>.request-group-heading-icon {
 background:linear-gradient(135deg,var(--group-icon-start),var(--group-icon-end));
 color:#fff;border-color:var(--group-icon-end);
 box-shadow:inset 0 1px 0 #ffffff45,0 3px 8px var(--group-icon-glow);
}

/* Starting membership badge: placed below the name, separate from ratings and service status. */
.member-tenure-badge {
 --status-start:#9a6344;--status-end:#71462f;--status-glow:#80503624;
 display:inline-flex;align-items:center;justify-content:center;gap:7px;
 max-width:100%;box-sizing:border-box;padding:4px 10px 4px 7px;margin:2px 0;
 border:1px solid var(--status-end);border-radius:999px;
 background:linear-gradient(135deg,var(--status-start),var(--status-end));color:#fff;
 font-size:11px;font-weight:600;line-height:1.5;letter-spacing:0;white-space:nowrap;
 box-shadow:inset 0 1px 0 #ffffff35,0 3px 10px var(--status-glow);
 transition:border-color .18s ease,box-shadow .18s ease;
}
.member-tenure-badge[data-tier=silver] {--status-start:#eef1f3;--status-end:#b4bec7;--status-glow:#6477871c;border-color:#9facb7;background:linear-gradient(135deg,#eef1f3,#cbd2d8 52%,#b4bec7);color:#344657;box-shadow:inset 0 1px 0 #ffffffa6,0 3px 10px var(--status-glow)}
.member-tenure-badge[data-tier=gold] {--status-start:#e8dfc3;--status-end:#c2ad72;--status-glow:#8b77351c;border-color:#b69e60;background:linear-gradient(135deg,#e8dfc3,#d3c392 52%,#c2ad72);color:#514320;box-shadow:inset 0 1px 0 #ffffff8c,0 3px 10px var(--status-glow)}
.member-tenure-badge[data-tier=platinum] {--status-start:#396985;--status-end:#24445f;--status-glow:#2e547224}
.member-tenure-badge>svg {display:block;flex:0 0 22px;width:22px;height:24px}
.member-medal-ribbon {fill:#ffffff25;stroke:#ffffffa6}
.member-medal-face {fill:#ffffff18;stroke:#ffffffd9}
.member-medal-ring {stroke:#ffffff80}
.member-medal-star {fill:#fff}
.member-tenure-badge[data-tier=silver] .member-medal-ribbon{fill:#65798616;stroke:#657986bd}
.member-tenure-badge[data-tier=silver] .member-medal-face{fill:#ffffff40;stroke:#657986}
.member-tenure-badge[data-tier=silver] .member-medal-ring{stroke:#82939e}
.member-tenure-badge[data-tier=silver] .member-medal-star{fill:#4b6071}
.member-tenure-badge[data-tier=gold] .member-medal-ribbon{fill:#8b763b16;stroke:#8b763bbd}
.member-tenure-badge[data-tier=gold] .member-medal-face{fill:#ffffff40;stroke:#7d6a38}
.member-tenure-badge[data-tier=gold] .member-medal-ring{stroke:#968146}
.member-tenure-badge[data-tier=gold] .member-medal-star{fill:#685429}
.member-tenure-badge>span {color:inherit;font:inherit}
.meet-portrait>.member-tenure-badge {margin:0 0 8px}
.request-host-person>.member-tenure-badge,
.rm-summary-identity .member-tenure-badge,
.rm-profile-identity .member-tenure-badge {display:inline-flex;margin:2px 0 7px;font-size:11px}

@media(max-width:600px) {
 .member-tenure-badge {font-size:11px;gap:6px;padding:3px 9px 3px 6px}
}
@media(prefers-reduced-motion:reduce) {.member-tenure-badge {transition:none}}

/* Profile and appointment forms keep the discovery page visible behind a shared dialog. */
.member-flow-dialog {
 position:fixed;inset:0;margin:auto;padding:0;width:min(1080px,calc(100vw - 48px));
 max-width:none;max-height:calc(100dvh - 48px);box-sizing:border-box;
 border:1px solid var(--ic-line);border-radius:16px;background:#fff;color:var(--ic-ink);
 box-shadow:0 24px 80px #173b5938;overflow:hidden;
}
.member-flow-dialog:not([open]) {display:none}
.member-flow-dialog[open] {display:flex;flex-direction:column}
.member-flow-booking {width:min(980px,calc(100vw - 48px))}
.member-flow-header {
 display:flex;align-items:center;justify-content:space-between;gap:20px;
 padding:20px 26px;background:var(--ic-shell);border-bottom:1px solid var(--ic-line);flex-shrink:0;
}
.member-flow-header p {margin:0 0 5px;color:var(--ic-muted);font-size:11px;line-height:1.6}
.member-flow-header h2 {margin:0;color:var(--ic-ink);font-size:21px;font-weight:600;line-height:1.4}
.member-flow-close {
 display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;padding:0;
 border:1px solid var(--ic-line);border-radius:9px;background:#fff;color:var(--ic-brand);cursor:pointer;
 transition:border-color .18s ease,box-shadow .18s ease;
}
.member-flow-close svg {display:block;width:18px;height:18px;flex-shrink:0}
.member-flow-close:hover {border-color:#a5bfd1;box-shadow:0 3px 9px #14578012}
.member-flow-body {padding:26px;overflow-y:auto;overscroll-behavior:contain;min-height:0;min-width:0}
.member-flow-body>:is(.back-link,.pp-back) {display:none}
.member-flow-body .pp-heading {display:none}
.member-flow-body .person-page {margin:0;padding:0;border:0;background:#fff;box-shadow:none;min-width:0}
.member-flow-profile .meet-member .pp-layout {grid-template-columns:minmax(280px,.9fr) minmax(0,1.1fr);gap:28px}
.member-flow-profile .meet-member .pp-identity {padding:22px 18px;gap:16px;box-shadow:var(--ic-shadow);border-radius:14px}
.member-flow-profile .meet-member .pp-facts dt {color:#4c667a;font-weight:600}
.member-flow-body :is(.booking-request-panel,.monthly-booking) {margin:0;padding:0;border:0;box-shadow:none;background:#fff}
.member-flow-body :is(.booking-request-panel,.monthly-booking) h1 {font-size:25px;line-height:1.4;letter-spacing:-.5px}
.member-flow-body :is(.booking-request-panel,.monthly-booking)>header>.eyebrow,
.member-flow-body .monthly-booking>.eyebrow {display:none}
.member-flow-body :is(form,.grid,.field,.monthly-booking-layout)>* {min-width:0}
@media(max-width:850px) {
 .member-flow-profile .meet-member .pp-layout {grid-template-columns:minmax(0,1fr);gap:24px}
 .member-flow-profile .meet-left,.member-flow-profile .meet-member .pp-content>.pp-section:first-child {grid-column:1;grid-row:auto}
 .member-flow-profile .meet-member .pp-identity {max-width:none}
 .member-flow-body .monthly-booking-layout {grid-template-columns:minmax(0,1fr)}
}
@media(max-width:600px) {
 .member-flow-dialog,.member-flow-booking {width:calc(100vw - 24px);max-height:calc(100dvh - 24px);border-radius:13px}
 .member-flow-header {padding:17px 18px;gap:12px}
 .member-flow-header h2 {font-size:18px}
 .member-flow-body {padding:18px}
 .member-flow-body .grid {grid-template-columns:minmax(0,1fr)}
 .member-flow-profile .meet-member .pp-bookings {grid-template-columns:minmax(0,1fr)}
 .member-flow-body :is(.booking-request-panel,.monthly-booking) h1 {font-size:21px}
}
@media(prefers-reduced-motion:reduce) {.member-flow-close {transition:none}}

/* Cleaner request discovery uses the same white sheets and blue hierarchy as owner discovery. */
.cleaner-job-board {padding:0;border:0;background:transparent;box-shadow:none}
.cleaner-job-board .job-board-heading {margin:0 0 26px;display:block}
.cleaner-job-board .job-board-heading .eyebrow {margin:0 0 12px;color:#526b7c;font-size:10px;font-weight:600;letter-spacing:1.5px}
.cleaner-job-board .job-board-heading h1 {margin:0 0 16px;color:var(--ic-ink);font-size:32px;line-height:1.3;letter-spacing:-.7px}
.cleaner-job-board .job-board-heading p:not(.eyebrow) {font-size:13px;line-height:1.85;color:#526b7c;margin:0}
.cleaner-job-board .marketplace-steps {margin-bottom:25px}
.corporate-page .cleaner-job-board .marketplace-steps li {padding:0}
.cleaner-job-board .marketplace-steps li>button {display:flex;align-items:center;gap:12px;width:100%;height:100%;min-height:64px;box-sizing:border-box;padding:14px 16px;border:0;border-radius:inherit;background:transparent;color:inherit;font:inherit;line-height:inherit;text-align:left;cursor:pointer}
.cleaner-job-board .marketplace-steps li>button>span {min-width:0;overflow-wrap:anywhere}
.cleaner-job-board .marketplace-steps li>button:focus-visible {outline:2px solid #8eb6d0;outline-offset:3px}
.job-results-heading {
 display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;
 margin:30px 0 20px;padding:18px 22px;min-height:68px;box-sizing:border-box;
 border:1px solid var(--status-end,#206049);border-radius:12px;background:linear-gradient(135deg,var(--status-start,#288568),var(--status-end,#206049));color:#fff;
 box-shadow:inset 0 1px 0 #ffffff35,0 4px 14px var(--status-glow,#28856820);
}
.job-results-heading h2 {display:flex;align-items:center;gap:12px;flex:1;min-width:0;font-size:18px;font-weight:600;line-height:1.5;color:#fff;margin:0}
.job-results-icon {display:grid;place-items:center;width:34px;height:36px;flex:none;border:1px solid #ffffff45;border-radius:10px;background:#ffffff20;color:#fff;box-shadow:inset 0 1px 0 #ffffff25}
.job-results-icon>svg {display:block}
.job-results-heading h2>span:last-child {min-width:0;overflow-wrap:anywhere}
.job-results-heading>span {
 padding:6px 10px;border:1px solid #ffffffb3;border-radius:8px;background:#fff;
 color:var(--status-ink,#21644c);font-size:11px;font-weight:600;line-height:1.5;white-space:nowrap;
 box-shadow:0 2px 5px var(--status-glow,#28856820);
}
.cleaner-job-board .job-cards {margin:0;gap:25px}
.cleaner-job-board .cleaner-job-card {padding:0;border:1px solid var(--ic-line);border-radius:14px;overflow:hidden;box-shadow:var(--ic-shadow);background:#fff;transition:border-color .2s ease,box-shadow .2s ease}
.cleaner-job-card .job-offer-heading {display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:12px;padding:18px 22px;flex-wrap:nowrap;background:var(--ic-brand-gradient);border-bottom:1px solid var(--ic-brand);color:#fff;box-shadow:inset 0 1px 0 #ffffff35}
.cleaner-job-card .job-offer-heading h2 {margin:0;font-size:18px;font-weight:600;line-height:1.5;color:#fff;overflow-wrap:anywhere}
.job-offer-icon {display:grid;place-items:center;width:34px;height:34px;border-radius:9px;border:1px solid #ffffffb3;background:#fff;color:#075b91;box-shadow:0 2px 5px #003c661a}
.job-offer-icon>svg,.job-location>svg,.job-owner-card>p>svg,.job-appointment-plan>h3>svg {display:block;flex:none}
.job-location {display:flex;align-items:center;gap:6px;padding:7px 10px;border:1px solid #ffffffb3;border-radius:8px;background:#fff;color:#075b91;font-size:11px;font-weight:600;line-height:1.5}
.job-location>svg {width:14px;height:14px}
.job-card-content {display:grid;grid-template-columns:minmax(330px,1fr) minmax(0,1.4fr);align-items:stretch;gap:28px;padding:24px}
.job-owner-card,.job-needs {padding:20px;border:1px solid var(--ic-line);border-radius:14px;background:#fff;box-shadow:0 3px 12px #243f5708;min-width:0}
.cleaner-job-card .job-owner-heading {display:flex;align-items:center;gap:10px;margin:0 0 18px;font-size:14px;font-weight:600;line-height:1.5;color:var(--ic-ink)}
.job-owner-heading>span {display:grid;place-items:center;width:30px;height:32px;flex:none;border:1px solid #d2e2ee;border-radius:9px;background:#edf4fa;color:#386783;box-shadow:inset 0 1px 0 #fff,0 2px 6px #315f7c0a}
.job-needs>.job-owner-heading>span {border-color:#d7e5d9;background:#eef5ef;color:#486f58;box-shadow:inset 0 1px 0 #fff,0 2px 6px #486f580a}
.job-owner-heading svg {display:block;width:17px;height:17px}
.job-owner-passport {display:grid;grid-template-columns:minmax(0,1fr);gap:18px}
.job-owner-identity {display:grid;grid-template-columns:88px minmax(0,1fr);align-items:center;text-align:left;gap:16px;min-width:0}
.job-owner-summary {display:grid;gap:9px;min-width:0}
.job-owner-avatar {display:grid;place-items:center;flex:none;box-sizing:border-box;width:88px;height:88px;padding:4px;overflow:hidden;border:1px solid #dbe5ed;border-radius:50%;background:#f7fafc;color:#075b91;font-size:30px;font-weight:600;box-shadow:0 4px 10px #2049610a}
.job-owner-avatar>img {display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}
.cleaner-job-card .job-owner-identity h4 {font-size:18px;font-weight:650;line-height:1.45;margin:0;color:#24485f;overflow-wrap:anywhere}
.job-owner-role {font-size:11px;font-weight:500;line-height:1.5;color:var(--ic-brand)}
.job-owner-identity .member-badge-stack {display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start;align-items:center;align-self:auto;gap:6px;width:auto;min-width:0}
.job-owner-identity .member-tenure-badge {white-space:nowrap;text-align:left;flex:none}
.job-owner-identity .member-tenure-badge>span {min-width:0}
.cleaner-job-card .job-owner-facts {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:0;padding:16px 0 0;border:0;border-top:1px solid #e3e9ef;min-width:0}
.job-owner-facts>div {padding:0;border:0;min-width:0}
.cleaner-job-card .job-owner-facts dt {display:flex;align-items:center;gap:6px;margin:0 0 8px;font-size:11px;font-weight:600;color:#4c667a;line-height:1.5}
.job-owner-facts dt>svg {display:block;width:14px;height:14px;flex:none;color:#075b91}
.cleaner-job-card .job-owner-facts dd {margin:0;padding-left:20px;box-sizing:border-box;font-size:13px;font-weight:600;color:#24485f;line-height:1.6;overflow-wrap:anywhere}
.cleaner-job-card .job-owner-footer {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px 16px;margin-top:16px;padding:15px 0 0;border-top:1px solid #e3e9ef;background:transparent}
.job-owner-footer .job-request-state {font-size:12px;white-space:normal}
.cleaner-job-card .job-application-date {display:grid;gap:3px;margin:0;font-size:11px;line-height:1.5;color:#607687;text-align:right}
.job-application-date>strong {font-size:12px;font-weight:600;color:#345b75}
.job-request-state {display:inline-flex;align-items:center;gap:7px;margin:0;padding:5px 9px;border:1px solid #d0e3d7;border-radius:7px;background:#f0f7f2;color:#34725c;font-size:11px;font-weight:600;line-height:1.5}
.job-request-state>i {width:6px;height:6px;flex:none;border-radius:50%;background:currentColor}
.job-request-state.applied {background:#edf5fa;border-color:#cddfeb;color:#245c7c}
.cleaner-job-card .job-needs>p {margin:0;font-size:13px;line-height:1.85;color:#526b7c;white-space:pre-wrap;overflow-wrap:anywhere}
.job-appointment-plan {margin:0 24px 24px;border:1px solid var(--ic-line);border-radius:11px;overflow:hidden;background:#fff}
.job-appointment-plan>h3 {display:flex;align-items:center;gap:9px;margin:0;padding:14px 18px;background:var(--ic-section-heading-bg);border-bottom:1px solid var(--ic-section-heading-edge);color:var(--ic-section-heading-ink);font-size:13px;font-weight:600;line-height:1.5}
.cleaner-job-card .job-appointment-plan dl {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;padding:0;margin:0;border:0}
.job-appointment-plan dl>div {padding:18px 20px;min-width:0}
.job-appointment-plan dl>div+div {border-left:1px solid #e1e9ef}
.cleaner-job-card .job-appointment-plan dt {display:flex;align-items:center;gap:7px;font-size:12px;font-weight:600;line-height:1.5;color:#345b75;margin-bottom:10px}
.cleaner-job-card .job-appointment-plan dd {display:flex;flex-direction:column;gap:5px;margin:0;line-height:1.6}
.job-appointment-plan dd>strong {font-size:14px;font-weight:600;color:#23465e;overflow-wrap:anywhere}
.job-appointment-plan dd>span {font-size:13px;color:#526b7c}
.job-total-duration {background:#f7fafc}
.job-total-duration dt>svg {width:15px;height:15px;flex:none}
.job-appointment-plan .job-total-duration dd>strong {font-size:20px;color:#075b91;line-height:1.35}
.job-appointment-plan .job-total-duration dd>span {font-size:11px}
.cleaner-job-card .job-card-actions {padding:17px 24px;border-top:1px solid #e1e9ef;background:#fafcfd;gap:18px}
.cleaner-job-card .job-card-actions>p {margin:0;font-size:12px;line-height:1.75;color:#526b7c;white-space:normal;flex:1;min-width:180px}
.cleaner-job-card .job-card-actions .button {display:inline-flex;align-items:center;gap:9px;margin:0;flex-shrink:0;font-size:12px}
.cleaner-job-board .job-cards>p {margin:0;padding:28px 24px;border:1px solid var(--ic-line);border-radius:12px;background:#fff;color:#526b7c;font-size:13px;line-height:1.8}
@media(hover:hover) and (pointer:fine) {}
@media(max-width:1100px) {
 .cleaner-job-card>.job-card-content {grid-template-columns:minmax(0,1fr)}
}
@media(max-width:800px) {
 .job-card-content {grid-template-columns:minmax(0,1fr);gap:22px;padding:20px}
 .job-appointment-plan {margin-inline:20px}
 .cleaner-job-card .job-offer-heading {grid-template-columns:30px minmax(0,1fr);padding:17px 20px;gap:10px}
 .job-offer-icon {width:30px;height:32px;border-radius:8px}
 .job-location {grid-column:2;justify-self:start}
 .cleaner-job-card .job-offer-heading h2 {font-size:17px}
 .cleaner-job-card .job-card-actions {padding:16px 20px}
}
@media(max-width:550px) {
 .job-owner-card,.job-needs {padding:16px}
 .job-owner-identity {grid-template-columns:64px minmax(0,1fr);gap:12px}
 .job-owner-avatar {width:64px;height:64px;padding:3px;font-size:24px}
 .job-owner-summary {display:contents}
 .cleaner-job-card .job-owner-identity h4 {grid-column:2;font-size:17px}
 .job-owner-identity .member-badge-stack {grid-column:1/-1}
 .cleaner-job-card .job-owner-facts {gap:12px}
 .cleaner-job-card .job-owner-facts dd {padding-left:0}
 .job-owner-footer .job-request-state {max-width:100%;box-sizing:border-box}
 .cleaner-job-card .job-application-date {display:flex;flex-wrap:wrap;gap:4px 8px;align-items:baseline;text-align:left;width:100%}
 .cleaner-job-board .job-board-heading h1 {font-size:26px}
 .job-results-heading {margin-top:25px;gap:9px;padding:16px 18px}
 .job-results-heading h2 {font-size:18px}
 .cleaner-job-card .job-appointment-plan dl {grid-template-columns:repeat(2,minmax(0,1fr))}
 .job-appointment-plan dl>div {padding:16px 13px}
 .job-appointment-plan dl>.job-total-duration {grid-column:1/-1;border-left:0;border-top:1px solid #e1e9ef}
 .job-appointment-plan .job-total-duration dd {flex-direction:row;align-items:center;justify-content:space-between;gap:14px}
 .cleaner-job-card .job-card-actions {display:flex;flex-direction:column;align-items:stretch}
 .cleaner-job-card .job-card-actions .button {width:100%;justify-content:center}
}
@media(prefers-reduced-motion:reduce) {.cleaner-job-board .cleaner-job-card {transition:none}}

/* Segmented discovery bar: area, date and service share one calm rounded surface. */
.job-search-workspace {margin:25px 0 0}
.job-segmented-search {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.9fr) minmax(0,1.2fr) 56px;align-items:center;gap:0;margin:0;padding:8px;border:1px solid #d2e1eb;border-radius:999px;background:#fff;box-shadow:0 6px 20px #173f5d0e,inset 0 1px 0 #fff}
.job-search-segment {display:flex;flex-direction:column;justify-content:center;gap:5px;position:relative;min-width:0;min-height:64px;box-sizing:border-box;margin:0;padding:12px 24px;border-radius:999px;transition:background-color .18s ease,box-shadow .18s ease}
.job-search-segment:not(:nth-child(3))::after {content:"";position:absolute;right:0;top:18px;bottom:18px;width:1px;background:#dce6ee}
.job-search-segment>span:first-child,.job-date-segment button>span:first-child {color:#294f6b;font-size:12px;font-weight:600;line-height:1.5}
.job-segmented-search .job-search-segment input {width:100%;min-width:0;min-height:0;height:21px;max-width:none;box-sizing:border-box;padding:0;margin:0;border:0;border-radius:0;background:transparent;color:#23465e;box-shadow:none;font-size:13px;line-height:1.6;outline:0}
.job-segmented-search input::placeholder {color:#617b8d;opacity:1}
.job-search-segment:focus-within {background:#f4f8fc;box-shadow:inset 0 0 0 1px #b6d1e3}
.job-date-segment {padding:0}
.job-date-segment>button {display:flex;flex-direction:column;justify-content:center;gap:5px;min-width:0;width:100%;min-height:64px;margin:0;padding:12px 24px;border:0;border-radius:999px;background:transparent;text-align:left;cursor:pointer}
.job-date-segment [data-job-date-label] {display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#617b8d;font-size:13px;font-weight:400;line-height:1.6}
.job-date-segment [data-job-date-label].has-value {color:#23465e}
.job-date-segment>button:focus-visible {outline:2px solid #8eb6d0;outline-offset:-3px}
.job-service-segment>label {display:flex;flex-direction:column;gap:5px;min-width:0;margin:0;cursor:text}
.job-service-segment>label>span:first-child {font-size:12px;font-weight:600;line-height:1.5;color:#294f6b}
.job-service-input {display:flex;align-items:center;gap:9px;min-width:0}
.job-service-input>svg {display:block;flex:none;color:#526b7c;transition:transform .18s ease}
.job-service-input:has([aria-expanded=true])>svg {transform:rotate(180deg)}
.job-service-popover {position:fixed;inset:auto;box-sizing:border-box;max-width:calc(100vw - 32px);max-height:min(460px,calc(100dvh - 32px));overflow-y:auto;overscroll-behavior:contain;margin:0;padding:10px;border:1px solid #cfdfeb;border-radius:17px;background:#fff;color:#23465e;font-family:var(--ic-font);box-shadow:0 18px 55px #173f5d26}
.job-service-popover::backdrop {background:transparent}
.job-service-popover [role=group]+[role=group] {margin-top:6px;padding-top:5px;border-top:1px solid #e4ecf2}
.job-service-popover h4 {margin:8px 9px 7px;font-size:10px;font-weight:600;line-height:1.5;letter-spacing:.65px;color:#617b8d}
.job-service-popover [role=option] {display:grid;grid-template-columns:32px minmax(0,1fr) 16px;align-items:center;gap:10px;box-sizing:border-box;width:100%;margin:0;padding:9px;border:1px solid transparent;border-radius:10px;background:#fff;color:#345b75;text-align:left;cursor:pointer;font-family:inherit;font-size:12px;font-weight:500;line-height:1.5}
.job-service-option-icon {display:grid;place-items:center;width:32px;height:34px;border:1px solid var(--ic-brand);border-radius:9px;background:var(--ic-brand-gradient);color:#fff;box-shadow:inset 0 1px 0 #ffffff40,0 3px 8px #00558f1a;transition:box-shadow .18s ease}
.job-service-option-icon>svg {display:block}
.job-service-option-check {opacity:0;color:#075b91}
.job-service-popover [aria-selected=true] {border-color:#bad5e7;background:#eaf4fb;color:#075b91;font-weight:600}
.job-service-popover [aria-selected=true] .job-service-option-check {opacity:1}
.job-service-popover [role=option].is-active {background:#edf5fa;border-color:#bad5e7}
.job-service-no-match {padding:12px 10px;margin:0;color:#526b7c;font-size:12px;line-height:1.8}
@media(hover:hover) and (pointer:fine) {.job-service-popover [role=option]:hover {background:#edf5fa;border-color:#c9dfea}}
@media(prefers-reduced-motion:reduce) {.job-service-input>svg {transition:none}}
.job-segmented-submit {display:grid;place-items:center;width:56px;height:56px;flex:none;padding:0;border:1px solid #075b91;border-radius:50%;background:var(--ic-button-gradient);color:var(--ic-button-ink);cursor:pointer;box-shadow:inset 0 1px 0 #ffffff35,0 3px 9px #00558f20;transition:box-shadow .18s ease;border-color:var(--ic-button-border)}
.job-segmented-submit>svg {display:block}
.job-segmented-submit>span {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.job-segmented-submit:disabled {opacity:.65;cursor:wait}
.job-search-tools {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px 18px;margin:13px 9px 0}
.job-search-tools>p {margin:0;min-width:0;color:#526b7c;font-size:12px;line-height:1.75;overflow-wrap:anywhere}
.job-search-tools>div {display:flex;gap:7px}
.job-search-tools button {padding:7px 12px;min-height:34px;border:1px solid #d8e4ed;border-radius:999px;background:#fff;color:#345b75;font-size:11px;font-weight:500;cursor:pointer}
.job-date-popover {position:fixed;inset:auto;box-sizing:border-box;max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);overflow:auto;margin:0;padding:18px;border:1px solid #cfdfeb;border-radius:18px;background:#fff;color:#23465e;box-shadow:0 18px 55px #173f5d26;font-family:var(--ic-font)}
.job-date-popover::backdrop {background:transparent}
.job-date-popover>header {display:grid;grid-template-columns:32px minmax(0,1fr) 32px;align-items:center;gap:8px;margin-bottom:17px}
.job-date-popover>header>strong {text-align:center;font-size:14px;font-weight:600;line-height:1.5}
.job-date-popover button {display:grid;place-items:center;box-sizing:border-box;margin:0;padding:0;border:0;border-radius:50%;background:transparent;color:#345b75;cursor:pointer}
.job-date-popover>header>button {width:32px;height:32px}
.job-date-week,.job-date-days {display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;text-align:center}
.job-date-week {margin-bottom:8px;font-size:10px;line-height:1.5;color:#617b8d}
.job-date-days button {width:100%;height:36px;font-size:12px;line-height:1.5}
.job-date-days button[aria-pressed=true] {background:#075b91;color:#fff;font-weight:600;box-shadow:0 2px 6px #075b9120}
.job-date-popover button:disabled {color:#becbd4;cursor:default}
.job-date-popover>footer {display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:15px;padding-top:13px;border-top:1px solid #e1e9ef;font-size:11px;line-height:1.5;color:#526b7c}
.job-date-popover>footer>button {padding:5px 0;border-radius:4px;color:#075b91;font-size:11px;font-weight:600;text-decoration:underline;text-underline-offset:3px}
@media(hover:hover) and (pointer:fine) {
 .job-search-segment:hover {background:#f4f8fb}
 .job-search-segment:focus-within:hover {background:#f4f8fc}
 .job-segmented-submit:hover {box-shadow:inset 0 1px 0 #ffffff50,0 5px 16px #00558f28}
 .job-date-popover button:not(:disabled):not([aria-pressed=true]):hover,.job-search-tools button:hover {background:#edf5fa}
}
@media(max-width:760px) {
 .job-segmented-search {grid-template-columns:minmax(0,1fr) 52px;padding:8px;border-radius:22px}
 .job-search-segment {padding:13px 16px;border-radius:14px;min-height:68px}
 .job-search-segment:nth-child(-n+2) {grid-column:1/-1}
 .job-search-segment:not(:nth-child(3))::after {width:auto;height:1px;left:16px;right:16px;top:auto;bottom:0}
 .job-date-segment {padding:0}
 .job-date-segment>button {padding:13px 16px;min-height:68px;border-radius:14px}
 .job-segmented-submit {width:46px;height:46px}
 .job-search-tools {margin-inline:3px}
}
@media(prefers-reduced-motion:reduce) {.job-search-segment,.job-segmented-submit {transition:none}}

/* Reserved hours have a clear blue identity while free hours keep their green cue. */
.day-booking>.day-slot-header {
 display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:12px;
 padding:17px 16px;border-left:3px solid #5b91b6;border-bottom-color:#bdd3e4;
 background:linear-gradient(110deg,#eaf4fb 0%,#d2e7f6 100%);
 box-shadow:inset 0 1px 0 #ffffffbf;
}
.day-reserved-icon {
 display:grid;place-items:center;width:36px;height:38px;box-sizing:border-box;
 border:1px solid #bad3e5;border-radius:10px;background:#ffffffde;color:#075b91;
 box-shadow:inset 0 1px 0 #fff,0 3px 8px #1457800d;
}
.day-reserved-icon>svg {display:block;flex:none}
.day-booking>.day-slot-header>div {min-width:0;gap:5px}
.day-booking>.day-slot-header>div>span {color:#345b75;font-weight:600;font-size:12px;line-height:1.5}
#member-app .day-booking>.day-slot-header strong {color:#174e76;font-size:20px;font-weight:650;line-height:1.4;letter-spacing:.1px}
.day-booking>.day-slot-header>.day-duration {
 padding:5px 9px;background:#ffffffdc;border-color:#bad3e5;color:#245c7c;font-size:11px;font-weight:600;
}
@media(max-width:600px) {
 .day-booking>.day-slot-header {grid-template-columns:30px minmax(0,1fr) auto;gap:9px;padding:14px 12px}
 .day-reserved-icon {width:30px;height:34px;border-radius:8px}
 .day-reserved-icon>svg {width:18px;height:18px}
 #member-app .day-booking>.day-slot-header strong {font-size:17px}
 .day-booking>.day-slot-header>div>span {font-size:11px}
 .day-booking>.day-slot-header>.day-duration {padding:4px 7px;font-size:10px}
}

/* Availability is a readable list first; time fields open only for an explicit action. */
.daily-service-schedule .service-schedule-list {max-height:none;overflow:visible;margin-bottom:12px}
.daily-service-schedule .service-schedule-list>div {padding:8px;border-left-width:1px;gap:7px}
.daily-service-schedule .service-schedule-list>div.is-editing {border-color:#85aec7;background:#f4f8fc}
.daily-service-schedule .service-schedule-list .slot-edit-time {
 flex:1;width:auto;justify-content:space-between;gap:8px;padding:6px 2px;border:0;border-radius:6px;
}
.schedule-slot-info {display:flex;flex-direction:column;gap:2px;min-width:0}
.schedule-slot-info .schedule-slot-time {font-size:13px;line-height:1.5}
.schedule-slot-info .schedule-slot-hours {font-size:11px;font-weight:400;color:#526b7c}
.schedule-slot-edit-label {font-size:11px;font-weight:600;color:#075b91;white-space:nowrap}
.daily-service-schedule .service-schedule-list button[data-slot-remove] {width:32px;height:34px;flex-basis:32px}
.schedule-slot-editor {margin-top:12px;padding:14px;border:1px solid #c5dbe9;border-radius:10px;background:#fff;box-shadow:0 3px 12px #14578008}
.daily-service-schedule .schedule-slot-editor[hidden],
.daily-service-schedule button[data-new-slot][hidden] {display:none}
.schedule-slot-editor>h5 {margin:0 0 14px;font-size:13px;font-weight:600;color:#234f70}
.schedule-time-fields {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.schedule-time-fields .field {margin:0;min-width:0;gap:6px}
.schedule-time-fields .field>span {font-size:11px;font-weight:500;line-height:1.5;color:#415e73}
.daily-service-schedule .schedule-time-fields input {width:100%;min-width:0;box-sizing:border-box;font-size:14px;padding:10px 7px;border-radius:8px}
.schedule-slot-editor [data-slot-feedback] {margin:10px 0 14px;font-size:11px;line-height:1.65;color:#415e73}
.schedule-slot-editor [data-slot-feedback][data-invalid=true] {color:#984b56}
.schedule-slot-editor-actions {display:flex;flex-wrap:wrap;gap:8px}
.daily-service-schedule .schedule-slot-editor-actions .button {flex:1;min-width:0;width:auto;justify-content:center;font-size:11px;padding:10px 9px;min-height:38px;line-height:1.5}
.daily-service-schedule button[data-new-slot] {margin-top:0;min-height:40px;width:100%;justify-content:center}
.schedule-slots-empty,.schedule-save-hint {font-size:11px;line-height:1.75;color:#526b7c}
.schedule-slots-empty {margin:0 0 12px}
.schedule-save-hint {margin:12px 0 0}
@media(pointer:coarse) {
 .daily-service-schedule .service-schedule-list button[data-slot-remove] {width:42px;height:42px;flex-basis:42px}
 .daily-service-schedule .schedule-slot-editor-actions .button {min-height:44px}
}

/* Shared sidebar interaction: ELT-inspired quiet highlight and a small leading dot. */
body:has(.portal-tabs) .portal-tabs>button,
.corporate-admin .admin-nav>.nav-button {
 position:relative;padding-left:25px;padding-right:17px;transform:none;
 transition:background-color .2s ease,color .2s ease,border-color .2s ease;
}
body:has(.portal-tabs) .portal-tabs>button:not(.active)::before,
.corporate-admin .admin-nav>.nav-button:not(.active)::before {
 content:"";position:absolute;left:10px;top:calc(50% - 2.5px);bottom:auto;
 width:0;height:5px;border-radius:50%;background:var(--ic-brand-start);
 opacity:0;transform:none;transition:width .2s ease,opacity .2s ease;
}
body:has(.portal-tabs) .portal-tabs>button::after,
body:has(.portal-tabs) .portal-tabs>button.active::after {content:none}
body:has(.portal-tabs) .portal-tabs>button[data-view="requests"] {padding-right:17px}
body:has(.portal-tabs) .portal-tabs>button.active {
 background:#eaf1f6;border-color:#d5e1ea;color:var(--ic-brand);box-shadow:none;
}
body:has(.portal-tabs) .portal-tabs>button:not(.active):focus-visible,
.corporate-admin .admin-nav>.nav-button:not(.active):focus-visible {
 background:var(--ic-soft);border-color:transparent;color:var(--ic-brand);box-shadow:none;
}
body:has(.portal-tabs) .portal-tabs>button:not(.active):focus-visible::before,
.corporate-admin .admin-nav>.nav-button:not(.active):focus-visible::before {width:5px;opacity:1}
body:has(.portal-tabs) .portal-tabs>button:focus-visible,
.corporate-admin .admin-nav>.nav-button:focus-visible {outline:2px solid var(--ic-focus);outline-offset:3px}
@media(hover:hover) and (pointer:fine) {
 body:has(.portal-tabs) .portal-tabs>button:not(.active):hover,
 .corporate-admin .admin-nav>.nav-button:not(.active):hover {
  background:var(--ic-soft);border-color:transparent;color:var(--ic-brand);box-shadow:none;transform:none;
 }
 body:has(.portal-tabs) .portal-tabs>button:not(.active):hover::before,
 .corporate-admin .admin-nav>.nav-button:not(.active):hover::before {width:5px;opacity:1}
}
@media(max-width:760px) {
 body:has(.portal-tabs) .portal-tabs>button,
 .corporate-admin .admin-nav>.nav-button {padding-left:23px;padding-right:14px}
 body:has(.portal-tabs) .portal-tabs>button[data-view="requests"] {padding-right:14px}
 body:has(.portal-tabs) .portal-tabs>button:not(.active)::before,
 .corporate-admin .admin-nav>.nav-button:not(.active)::before {left:9px}
}
@media(prefers-reduced-motion:reduce) {
 body:has(.portal-tabs) .portal-tabs>button,
 body:has(.portal-tabs) .portal-tabs>button:not(.active)::before,
 .corporate-admin .admin-nav>.nav-button,
 .corporate-admin .admin-nav>.nav-button:not(.active)::before {transition:none}
}

/* Sidebar identity is a label, not an action or navigation item. */
@media(min-width:761px) {
 body:has(.portal-tabs) .portal-tabs .member-panel-heading {
  display:flex;align-items:center;gap:10px;margin:0 0 12px;padding:8px 10px 18px;
  border-bottom:1px solid #dce6ee;color:#234f70;font-size:11px;
  font-weight:650;line-height:1.65;letter-spacing:.55px;
 }
 .member-panel-heading>span:last-child {min-width:0}
 .member-panel-icon {
  display:grid;place-items:center;flex:0 0 34px;width:34px;height:36px;
  border:1px solid #0a6c9d;border-radius:10px;background:var(--ic-brand-gradient);color:#fff;
  box-shadow:inset 0 1px 0 #ffffff35,0 3px 9px #00558f14;
 }
 .member-panel-icon>svg {display:block;width:20px;height:20px;flex:none}
}

/* A calm discovery sequence: a brand-blue current step and soft, readable next steps. */
.corporate-page .marketplace-steps {
 display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;
 margin:0 0 28px;padding:0;border:0;
}
.corporate-page .marketplace-steps li {
 min-width:0;min-height:64px;display:flex;align-items:center;gap:12px;
 padding:14px 16px;border:1px solid #d8e5ee;border-radius:11px;
 background:linear-gradient(135deg,#fff,#f1f6fa);color:#36566e;font-size:12px;font-weight:600;line-height:1.5;
 box-shadow:inset 0 1px 0 #fff,0 3px 10px #14578008;transform:none;
 transition:border-color .18s ease,box-shadow .18s ease;
}
.corporate-page .marketplace-steps li[aria-current="step"] {
 background:var(--ic-brand-gradient);color:#fff;border-color:#086a9c;
 box-shadow:inset 0 1px 0 #ffffff35,0 4px 12px #00558f20;
}
.corporate-page .marketplace-steps b {
 display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;
 border:1px solid #cfdfeb;border-radius:10px;background:#e9f2f8;color:#075b91;
 font-size:12px;font-weight:700;box-shadow:inset 0 1px 0 #fff;
}
.corporate-page .marketplace-steps li[aria-current="step"] b {
 background:#ffffff20;border-color:#ffffff50;color:#fff;box-shadow:inset 0 1px 0 #ffffff18;
}
.corporate-page .marketplace-steps li>span {min-width:0;overflow-wrap:anywhere}
@media(hover:hover) and (pointer:fine) {
 .corporate-page .marketplace-steps li:hover {
  border-color:#a8c5d8;box-shadow:inset 0 1px 0 #fff,0 5px 16px #14578012;
 }
 .corporate-page .marketplace-steps li[aria-current="step"]:hover {
  border-color:#74b9d7;box-shadow:inset 0 1px 0 #ffffff45,0 5px 16px #00558f28;
 }
}
@media(max-width:900px) {
 .corporate-page .marketplace-steps {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:480px) {
 .corporate-page .marketplace-steps {gap:10px}
 .corporate-page .marketplace-steps li {padding:12px 10px;gap:9px;font-size:11px}
 .corporate-page .marketplace-steps b {flex-basis:28px;width:28px;height:28px;font-size:11px}
}
@media(prefers-reduced-motion:reduce) {
 .corporate-page .marketplace-steps li {transition:none}
}

/* Request participants share the service preview's professional passport system. */
.request-inbox-surface .rq-member-introduction {padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
.request-inbox-surface .rq-member-introduction>h3 {margin:0 0 16px;padding:0;border:0;font-size:16px;line-height:1.5;font-weight:600;letter-spacing:0;color:#29465b}
.request-inbox-surface .rq-member-introduction>h3::before {display:none}
.rq-passport-layout {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px;align-items:stretch}
.request-inbox-surface .rq-member-passport {grid-template-columns:minmax(0,1fr) 110px;gap:20px;padding:24px;border:1px solid #e0e7ec;border-radius:20px;background:#fff;box-shadow:0 7px 24px #243f5710;min-width:0;min-height:285px;box-sizing:border-box}
.rq-member-passport .service-provider-avatar {width:86px;height:86px;flex-basis:86px;padding:4px;border:1px solid #dbe5ed;background:#f7fafc;box-sizing:border-box;box-shadow:0 4px 10px #2049610a}
.rq-member-passport .service-provider-avatar img {border-radius:50%;display:block}
.request-inbox-surface .rq-member-passport .person-link {display:block;margin:0;padding:0;border:0;background:none;font-size:19px;font-weight:650;line-height:1.35;color:#24485f;text-align:center;overflow-wrap:anywhere;text-decoration:none}
.request-inbox-surface .rq-member-passport .person-link:hover {color:var(--ic-brand);background:none;box-shadow:none;transform:none;text-decoration:underline;text-underline-offset:4px}
.rq-member-passport .member-tenure-badge {white-space:normal;text-align:center}
.rq-member-passport .service-passport-stats {display:block;margin:0;padding:0 0 0 18px;border:0;border-left:1px solid #e3e9ef;min-width:0}
.rq-member-passport .service-passport-stats>div {padding:16px 0;border-bottom:1px solid #e5ebf0}
.rq-member-passport .service-passport-stats>div:first-child {padding-top:0}
.rq-member-passport .service-passport-stats>div:last-child {padding-bottom:0;border-bottom:0}
.rq-member-passport .service-passport-stats dd {margin:0;font-size:23px;line-height:1.1;font-weight:650;color:#2b506b}
.rq-member-passport .service-passport-stats dt {margin:7px 0 0;font-size:11px;font-weight:500;line-height:1.6;color:#415e73}
.rq-member-context {display:flex;flex-direction:column;justify-content:center;min-width:0;padding:24px;border:1px solid var(--ic-line);border-radius:12px;background:#fff;box-shadow:0 2px 8px #14578008}
.request-inbox-surface .rq-member-context dl {display:grid;grid-template-columns:1fr 1fr;gap:22px 20px;margin:0;padding:0;border:0}
.request-inbox-surface .rq-member-context dl>div:nth-child(3) {grid-column:1/-1;padding-top:18px;border-top:1px solid #e3e9ef}
.rq-member-context dl>div {min-width:0}
.rq-member-context dl>div:first-child {grid-column:1/-1;padding-bottom:20px;border-bottom:1px solid #e5ebf0}
.request-inbox-surface .rq-member-context dt,
.owner-job-address :is(.owner-address-location,.owner-address-created) dt {margin:0 0 9px;font-size:12px;font-weight:700;line-height:1.5;color:#34546b}
.request-inbox-surface .rq-member-context dd,
.owner-job-address :is(.owner-address-location,.owner-address-created) dd {margin:0;font-size:14px;font-weight:500;line-height:1.65;color:var(--ic-ink);overflow-wrap:anywhere}
.request-inbox-surface .rq-member-context .rq-work-history {margin:22px 0 0;align-self:flex-start}
.request-inbox-surface .rq-member-context dt{display:flex;align-items:center;gap:8px}
.rq-member-context .rq-context-icon{display:grid;place-items:center;box-sizing:border-box;flex:0 0 25px;width:25px;height:25px;border:1px solid #d6e5ef;border-radius:7px;background:linear-gradient(135deg,#f4f9fc,#eaf3f9);color:var(--ic-brand);box-shadow:inset 0 1px 0 #fff}
.rq-context-icon svg{display:block;width:16px;height:16px;flex:none}
.request-inbox-surface .rq-member-context dd{padding-left:33px}
@media(max-width:1000px) {.rq-passport-layout {grid-template-columns:minmax(0,1fr);gap:22px}.rq-member-context {padding:22px}}
@media(max-width:550px) {
 .request-inbox-surface .rq-member-passport {grid-template-columns:minmax(0,1fr) 90px;padding:20px 14px;gap:12px;min-height:0;border-radius:16px}
 .request-inbox-surface .rq-member-passport .person-link {font-size:16px}
 .rq-member-passport .service-passport-stats {padding-left:12px}
 .rq-member-passport .service-passport-stats dd {font-size:21px}
 .rq-member-context {padding:20px 16px}
 .request-inbox-surface .rq-member-context dl {gap:20px 14px}
 .request-inbox-surface .rq-member-context .rq-work-history {width:100%;justify-content:center;align-self:stretch}
}
@media(prefers-reduced-motion:reduce) {.request-inbox-surface .rq-member-passport,.rq-member-context {transition:none}}

/* The selected service and its price use the same white passport surfaces. */
.request-inbox-surface .rq-card .rq-invoice {
 border:0;border-radius:0;background:transparent;
 box-shadow:none;overflow:visible;margin-bottom:0;
}
.request-inbox-surface .rq-card .rq-invoice-heading {padding:24px;border-bottom:1px solid #e3e9ef;background:#fff;gap:20px}
.request-inbox-surface .rq-card .rq-invoice-heading .rq-label,
.request-inbox-surface .rq-card .rq-invoice .rq-main>.rq-label {
 margin:0 0 12px;font-size:16px;line-height:1.5;font-weight:600;letter-spacing:0;color:#29465b;
}
.request-inbox-surface .rq-card .rq-invoice-heading .rq-label::before,
.request-inbox-surface .rq-card .rq-invoice .rq-main>.rq-label::before {display:none}
.request-inbox-surface .rq-card .rq-invoice-heading h2 {font-size:19px;font-weight:600;line-height:1.5;letter-spacing:0;color:#24485f;margin:0}
.request-inbox-surface .rq-card .rq-invoice-caption {border:1px solid var(--ic-calendar-blue-edge);border-radius:8px;background:var(--ic-calendar-blue);color:var(--ic-calendar-blue-ink);padding:8px 11px;font-size:11px;font-weight:500;line-height:1.5}
.request-inbox-surface .rq-card .rq-invoice .rq-main {padding:24px 0;border-top:1px solid #e3e9ef}
.request-inbox-surface .rq-card .rq-invoice .rq-description {margin:0;font-size:13px;line-height:1.85;font-weight:400;color:#52697b}
.request-inbox-surface .rq-card .rq-invoice .rq-booking-frame .rq-appointment-row {margin:0;padding:24px 0;gap:24px;align-items:stretch}
.request-inbox-surface .rq-card .rq-schedule {align-self:start}
.request-inbox-surface .rq-card .rq-booking-frame .rq-time-plan {
 height:100%;box-sizing:border-box;padding:20px 22px;border:1px solid #e0e7ec;border-radius:12px;
 background:#fff;box-shadow:0 2px 8px #14578008;
}
.request-inbox-surface .rq-card .rq-time-plan-heading {margin:-20px -22px 0;padding:16px 20px;background:var(--ic-section-heading-bg);color:var(--ic-section-heading-ink);border-bottom:1px solid var(--ic-section-heading-edge);border-radius:11px 11px 0 0;font-size:14px;font-weight:600;gap:12px}
.request-inbox-surface .rq-card .rq-duration {background:#fff;border:1px solid #d8e4ed;color:#415e73;border-radius:7px;padding:6px 9px}
.request-inbox-surface .rq-card .rq-time-track {padding:24px 0}
.request-inbox-surface .rq-card .rq-time-point>.rq-label {color:#415e73;font-size:12px;font-weight:600;line-height:1.6}
.request-inbox-surface .rq-card .rq-time-point>strong {font-size:28px;font-weight:600;color:var(--ic-brand);letter-spacing:0}
.request-inbox-surface .rq-card .rq-time-point>span:last-child {font-size:12px;color:#52697b}
.request-inbox-surface .rq-card .rq-time-connector i,
.request-inbox-surface .rq-card .rq-time-connector b {background:#fff}
.request-inbox-surface .rq-card .rq-plan-meta dt {color:#415e73;font-size:12px;font-weight:600;line-height:1.6}
.request-inbox-surface .rq-card .rq-plan-meta dd {color:#24485f;font-size:13px;line-height:1.65}
.request-inbox-surface .rq-card .rq-invoice .rq-booking-frame .rq-price {
 padding:20px 22px;border:1px solid #e0e7ec;border-radius:12px;background:#fff;
 box-shadow:0 2px 8px #14578008;overflow:hidden;min-width:0;
}
.request-inbox-surface .rq-card .rq-invoice .rq-price>span:first-child {
 display:block;margin:-20px -22px 20px;padding:16px 20px;
 background:var(--ic-section-heading-bg);border-bottom:1px solid var(--ic-section-heading-edge);
 box-shadow:var(--ic-section-heading-light);color:var(--ic-section-heading-ink);font-size:14px;line-height:1.5;font-weight:600;
}
.request-inbox-surface .rq-card .rq-invoice .rq-price>strong {display:block;margin:0 0 18px;color:var(--ic-brand);font-size:30px;font-weight:650;line-height:1.3;letter-spacing:0;font-variant-numeric:tabular-nums}
.request-inbox-surface .rq-card .rq-price .rq-fee-addition dt {font-size:12px;font-weight:500;line-height:1.7;color:#415e73}
.request-inbox-surface .rq-card .rq-price .rq-fee-addition dd {font-size:17px;font-weight:600;line-height:1.5;color:#34596f;letter-spacing:0}
.request-inbox-surface .rq-card .rq-price .rq-fee-addition dl>div+div {margin-top:18px;padding-top:16px;border-top:1px solid #e3e9ef}
.request-inbox-surface .rq-card .rq-invoice .rq-booking-frame .rq-invoice-total {padding:20px 0;border-top:1px solid #e3e9ef;background:#fff;gap:18px}
.request-inbox-surface .rq-card .rq-invoice-total>div>span {font-size:12px;font-weight:500;color:#415e73}
.request-inbox-surface .rq-card .rq-invoice-total strong {font-size:25px;font-weight:650;line-height:1.4;color:var(--ic-brand);letter-spacing:0}
@media(hover:hover) and (pointer:fine) {
 /* The appointment plan belongs to the sheet; only its outer card gets this glow. */
 
 #member-app .request-inbox-surface .rq-card .rq-invoice:hover {box-shadow:none}
}
@media(max-width:1000px) {
 .request-inbox-surface .rq-card .rq-invoice .rq-booking-frame .rq-appointment-row {grid-template-columns:minmax(0,1fr)}
}
@media(max-width:600px) {
 .request-inbox-surface .rq-card .rq-invoice-heading {padding:20px 16px}
 .request-inbox-surface .rq-card .rq-invoice .rq-main {padding:20px 0}
 .request-inbox-surface .rq-card .rq-invoice-heading {flex-direction:column;align-items:flex-start;gap:14px}
 .request-inbox-surface .rq-card .rq-invoice-heading h2 {font-size:17px}
 .request-inbox-surface .rq-card .rq-invoice .rq-booking-frame .rq-appointment-row {margin:0;padding:20px 0;gap:20px}
 .request-inbox-surface .rq-card .rq-booking-frame .rq-time-plan,
 .request-inbox-surface .rq-card .rq-invoice .rq-booking-frame .rq-price {padding:18px 16px}
 .request-inbox-surface .rq-card .rq-time-plan-heading,
 .request-inbox-surface .rq-card .rq-invoice .rq-price>span:first-child {margin:-18px -16px 0;padding:15px 16px}
 .request-inbox-surface .rq-card .rq-invoice .rq-price>span:first-child {margin-bottom:18px}
 .request-inbox-surface .rq-card .rq-invoice .rq-booking-frame .rq-invoice-total {margin:0;padding:18px 0;flex-wrap:wrap}
 .request-inbox-surface .rq-card .rq-time-point>strong {font-size:25px}
}
@media(prefers-reduced-motion:reduce) {
 .request-inbox-surface .rq-card .rq-invoice,
 .request-inbox-surface .rq-card .rq-booking-frame .rq-time-plan,
 .request-inbox-surface .rq-card .rq-invoice .rq-booking-frame .rq-price {transition:none}
}
.request-inbox-surface .rq-card .rq-time-plan-heading,
.request-inbox-surface .rq-card .rq-invoice .rq-price>span:first-child {min-height:72px;box-sizing:border-box}
.request-inbox-surface .rq-card .rq-invoice .rq-price>span:first-child {display:flex;align-items:center}

/* Approved entries in history popups use the corporate success green. */
.work-history-dialog .rq-status.rq-accepted,
.request-member-dialog .rm-history-status[data-status=accepted] {
 color:#21644c;background:#edf7f1;border:1px solid #badfce;
 box-shadow:0 2px 6px #2060490a;
}
.work-history-dialog .rq-status.rq-accepted::before {background:#288568;color:#fff}
.work-history-dialog .wh-status-icon[data-status=accepted] {
 color:#21644c;background:#edf7f1;border:1px solid #badfce;
}

/* Recorded appointment pricing reuses the published-service invoice components. */
.request-inbox-surface .rq-card .rq-invoice .rq-booking-frame .rq-appointment-row {grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}
.rq-pricing-column {--status-start:#288568;--status-end:#206049;--status-glow:#28856818;align-self:start;min-width:0}
.request-inbox-surface .rq-pricing-column .rq-service-price {padding:0;border:1px solid #e0e7ec;border-radius:12px;background:#fff;overflow:hidden;box-shadow:0 2px 8px #14578008}
.request-inbox-surface .rq-pricing-column .service-request-price-heading {min-height:72px;box-sizing:border-box;padding:16px 20px}
.request-inbox-surface .rq-pricing-column .service-request-price-body {padding:22px 20px}
.request-inbox-surface .rq-pricing-column .service-request-total {margin:0;border-bottom:0;border-left-width:1px;gap:14px}
.request-inbox-surface .rq-pricing-column .service-request-price-note {padding:12px 20px}
.request-inbox-surface .rq-pricing-column .service-billing-note {margin:14px 0 18px}
.request-inbox-surface .rq-pricing-column .service-request-fee {padding-top:18px;border-top:1px solid #e3e9ef}
.request-inbox-surface .rq-pricing-column .service-private-net-note {padding:10px 6px}
@media(max-width:1000px) {.request-inbox-surface .rq-card .rq-invoice .rq-booking-frame .rq-appointment-row {grid-template-columns:minmax(0,1fr)}}
@media(max-width:600px) {
 .request-inbox-surface .rq-pricing-column .service-request-price-body {padding:20px 16px}
 .request-inbox-surface .rq-pricing-column .service-request-price-heading {padding:16px;min-height:64px}
 .request-inbox-surface .rq-pricing-column .service-request-total {padding:16px}
}

/* One continuous request sheet, from the blue service title to its privacy footer. */
.request-inbox-surface .rq-card[data-status] {
 border:1px solid #cddde8;border-radius:14px;overflow:hidden;background:#fff;
 box-shadow:0 5px 18px #254b650c;
}
.rq-card-actions {display:flex;align-items:center;justify-content:flex-end;gap:14px;flex-wrap:wrap;min-width:0}
.rq-footer-approval {display:inline-flex;align-items:center;gap:8px;padding:9px 12px;border:1px solid #badfce;border-radius:8px;background:#edf7f1;color:#21644c;font-size:12px;font-weight:600;line-height:1.5;white-space:nowrap}
.rq-footer-approval>span:first-child {display:grid;place-items:center;flex:none}
.rq-footer-approval svg {display:block;width:17px;height:17px}
.rq-footer-approval[data-status=completed]{border-color:#216b70;background:linear-gradient(135deg,#278b88,#216b70);color:#fff}
.rq-footer-approval[data-status=cancelled]{border-color:#d6dee4;background:linear-gradient(135deg,#f4f6f8,#e9edf1);color:#4d5b68}
@media(max-width:600px) {
 .request-inbox-surface .rq-card .rq-card-bottom {flex-direction:column;align-items:stretch;gap:14px}
 .rq-card-actions {justify-content:space-between;gap:10px}
 .rq-card-actions>.button {flex:1;justify-content:center}
}
.request-inbox-surface .rq-card .rq-requested-service-heading {
 display:flex;align-items:center;justify-content:space-between;gap:20px;
 margin:0;padding:21px 26px;background:var(--ic-brand-gradient);
 border:0;border-bottom:1px solid var(--ic-brand);border-radius:0;color:#fff;box-shadow:inset 0 1px 0 #ffffff35;
}
.rq-requested-service-heading>div {min-width:0}
.request-inbox-surface .rq-card .rq-requested-service-heading p {margin:0 0 7px;font-size:11px;font-weight:500;line-height:1.5;letter-spacing:.02em;color:#e0f0f8}
.request-inbox-surface .rq-card .rq-requested-service-heading h2 {margin:0;font-size:19px;font-weight:600;line-height:1.5;letter-spacing:0;color:#fff;overflow-wrap:anywhere}
.rq-requested-service-heading .rq-requested-unit {padding:7px 12px;border:1px solid #ffffff55;border-radius:7px;background:#ffffff15;color:#fff;font-size:12px;font-weight:500;line-height:1.5;white-space:nowrap}
.request-inbox-surface .rq-member-context dl>div:first-child {grid-column:auto;padding-bottom:0;border-bottom:0}
@media(max-width:600px) {
 .request-inbox-surface .rq-card .rq-requested-service-heading {padding:18px 20px;align-items:flex-start;flex-wrap:wrap;gap:14px}
 .request-inbox-surface .rq-card .rq-requested-service-heading h2 {font-size:17px}
 .rq-requested-service-heading .rq-requested-unit {font-size:11px;padding:5px 9px}
}

/* Decorative service and inbox icons follow the same white identity tiles. */
.request-inbox-surface .rq-card .rq-requested-service-heading h2 {display:flex;align-items:center;gap:12px}
.rq-requested-service-heading h2>span:last-child {min-width:0;overflow-wrap:anywhere}
.rq-service-heading-icon {display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;box-sizing:border-box;border:1px solid #ffffffbd;border-radius:9px;background:#fff;color:var(--ic-brand);box-shadow:0 2px 6px #003c661a}
.rq-service-heading-icon>svg {display:block;width:21px;height:21px;flex:none}
.rq-requested-service-heading .rq-requested-unit {background:#fff;border-color:#fff;color:var(--ic-brand);box-shadow:0 2px 5px #003c6615}
.request-inbox-surface .request-new-group>summary::before {display:none}
.request-group-heading-icon {display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;box-sizing:border-box;border:1px solid var(--status-edge,#e6d6b8);border-radius:9px;background:#fff;color:var(--status-ink,#805119);box-shadow:0 2px 6px #243f5712}
.request-group-heading-icon>svg {display:block;width:20px;height:20px;flex:none}
.request-payment-status {display:flex;align-items:center;gap:14px;padding:16px 18px;margin-top:20px;border:1px solid #e6c9cc;border-radius:12px;background:#fdf5f5;color:#94454c}
.request-payment-status[data-paid=true] {border-color:#badfce;background:#edf7f1;color:#21644c}
.request-payment-icon {display:grid;place-items:center;width:36px;height:38px;flex:0 0 36px;border:1px solid currentColor;border-radius:9px;background:#fff}
.request-payment-icon>svg {width:20px;height:20px;display:block}
.request-payment-status>div {display:grid;grid-template-columns:1fr auto;align-items:center;gap:5px 18px;flex:1;min-width:0}
.request-payment-status>div>span {font-size:12px;font-weight:600;line-height:1.5}
.request-payment-status strong {font-size:14px;font-weight:700;line-height:1.5}
.request-payment-status p {grid-column:1/-1;margin:0;color:#526b7c;font-size:12px;line-height:1.7}
.request-detail-surface>.request-page-header>.pending-appointment-banner {background:#fcf7ee;border-color:#ecd2a7;color:#805119}
.request-detail-surface .pending-appointment-banner .approval-banner-icon {background:#fff;color:#a86e19;border:1px solid #ecd2a7;box-shadow:none}
.request-detail-surface .pending-appointment-banner .approval-banner-copy>p,
.request-detail-surface .pending-appointment-banner .approval-banner-copy>h2 {color:#805119}
.request-detail-surface .pending-appointment-banner .approval-banner-copy>span {color:#74664f}
.request-detail-surface .pending-appointment-banner .approval-banner-access {background:#fff;border-color:#ecd2a7;color:#805119}
.request-detail-surface .pending-appointment-banner .approval-access-dot {background:#a86e19}
@media(max-width:550px) {.request-payment-status {padding:14px;gap:11px}.request-payment-status>div {grid-template-columns:1fr;gap:4px}.request-payment-status p {grid-column:auto}}
@media(max-width:600px) {
 .request-inbox-surface .rq-card .rq-requested-service-heading h2 {gap:10px}
 .rq-service-heading-icon,.request-group-heading-icon {width:30px;height:30px;flex-basis:30px;border-radius:8px}
 .rq-service-heading-icon>svg,.request-group-heading-icon>svg {width:19px;height:19px}
}

/* Completed appointments have one semantic grey palette across member and admin views. */
.portal-area>.metrics .metric[data-request-filter=completed] {border-top-color:var(--ic-completed-accent)}
.portal-area>.metrics .metric[data-request-filter=completed]>strong,
.cleaner-analytics .ca-complete-number>strong,
.cleaner-analytics .ca-completion .ca-footer>strong {color:var(--ic-completed-ink)}
.cleaner-analytics .ca-completion .ca-icon {background:var(--ic-completed-surface);color:var(--ic-completed-ink)}
.cleaner-analytics .ca-segments .filled {background:var(--ic-completed-gradient)}
#member-app .ca-completion,#member-app .rq-card[data-status=completed] {
 --card-hover-border:var(--ic-completed-edge);--card-hover-shadow:var(--ic-completed-shadow);
}
@media(hover:hover) and (pointer:fine) {
 
}
.member-stat-row[data-status=completed] progress {accent-color:var(--ic-completed-accent)}
.member-stat-row[data-status=completed] progress::-webkit-progress-value {background:var(--ic-completed-accent)}
.member-stat-row[data-status=completed] progress::-moz-progress-bar {background:var(--ic-completed-accent)}
.rq-status.rq-completed,
.orp-status[data-status=completed],
.rm-history-status[data-status=completed],
.wh-status-icon[data-status=completed],
.day-booking[data-status=completed] .day-booking-status,
.badge[data-booking-status=completed],
.pp-history .badge {
 background:var(--ic-completed-surface);color:var(--ic-completed-ink);border:1px solid var(--ic-completed-edge);
}
.pp-history-icon {background:var(--ic-completed-surface);color:var(--ic-completed-ink)}
.rq-card .completed-appointment-banner,
.request-detail-surface>.request-page-header>.completed-appointment-banner {
 --appointment-accent:var(--ic-completed-accent);
 background:var(--ic-completed-surface);border-color:var(--ic-completed-edge);color:var(--ic-completed-ink);
}
.completed-appointment-banner .approval-banner-copy>h2,
.completed-appointment-banner .approval-banner-copy>span,
.completed-appointment-banner .approval-banner-access,
.completed-card-note {color:var(--ic-completed-ink)}
.completed-appointment-banner .approval-banner-access {background:#fff;border-color:var(--ic-completed-edge)}
.completed-appointment-banner .approval-access-dot {background:var(--ic-completed-accent)}
#member-app .day-booking[data-status=completed]>.day-slot-header {
 background:var(--ic-completed-surface);border-color:var(--ic-completed-edge);
}
#member-app .day-booking[data-status=completed] .day-slot-header strong,
#member-app .day-booking[data-status=completed] .day-slot-header>div>span {color:var(--ic-completed-ink)}
.day-booking[data-status=completed] .day-reserved-icon,
.day-booking[data-status=completed] .day-duration {background:#fff;color:var(--ic-completed-ink);border-color:var(--ic-completed-edge)}
.review-stage[data-booking-status=completed] {background:var(--ic-completed-surface);color:var(--ic-completed-ink);border-color:var(--ic-completed-edge)}

/* Security forms share the service cards' blue heading and white form surface. */
.member-security .security-grid .panel.security-card {padding:0;overflow:hidden;border:1px solid var(--ic-line);border-radius:14px;background:var(--ic-surface);box-shadow:var(--ic-shadow)}
.member-security .security-card-heading {display:flex;align-items:center;gap:13px;min-height:80px;box-sizing:border-box;padding:20px 24px;background:var(--ic-group-heading-bg);color:var(--ic-group-heading-ink);border-bottom:1px solid var(--ic-group-heading-edge);box-shadow:none}
.member-security .security-card-heading h2 {margin:0;font-size:19px;font-weight:600;line-height:1.5;color:var(--ic-group-heading-ink)}
.member-security #change-email{--security-icon-start:#268398;--security-icon-end:#1d6078;--security-icon-glow:#237d9420}
.member-security #password{--security-icon-start:#288568;--security-icon-end:#206049;--security-icon-glow:#28856820}
.security-heading-icon {display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;box-sizing:border-box;border:1px solid var(--security-icon-end,var(--ic-brand));border-radius:10px;background:linear-gradient(135deg,var(--security-icon-start,var(--ic-brand-start)),var(--security-icon-end,var(--ic-brand)));color:#fff;box-shadow:inset 0 1px 0 #ffffff45,0 3px 8px var(--security-icon-glow,#007db51c)}
.security-heading-icon>svg {display:block;flex:none}
.security-card-body {padding:24px}
.member-security .security-card-body>p {color:var(--ic-muted);font-size:12px;line-height:1.8}
.security-card-body>p:first-child {margin-top:0}
.member-security .email-change-security-note {padding:13px 15px;border:1px solid var(--ic-line);border-radius:9px;background:var(--ic-shell);color:var(--ic-ink);line-height:1.8}
.member-email-change-dialog {width:min(520px,calc(100vw - 32px))}
.member-email-change-dialog::backdrop {background:#16344970;backdrop-filter:blur(3px)}
.email-change-backdrop {position:fixed;inset:0;background:#16344970;z-index:10000}
.member-email-change-dialog.email-change-fallback {z-index:10001;top:50%;bottom:auto;transform:translateY(-50%)}
.member-email-change-dialog .member-flow-body {flex:1 1 auto}
.email-change-target {display:flex;align-items:center;gap:13px;padding:16px;border:1px solid var(--ic-line);border-radius:11px;background:var(--ic-shell);--security-icon-start:#268398;--security-icon-end:#1d6078}
.email-change-target>div {min-width:0}
.email-change-target span:not(.security-heading-icon) {display:block;font-size:12px;color:var(--ic-muted);line-height:1.6}
.email-change-target strong {display:block;margin-top:3px;font-size:14px;line-height:1.6;overflow-wrap:anywhere;color:var(--ic-ink)}
.email-change-description {font-size:13px;line-height:1.8;color:var(--ic-ink);margin:19px 0}
.member-email-change-dialog input[name=code] {box-sizing:border-box;width:100%;min-height:54px;font-size:24px;letter-spacing:.3em;font-variant-numeric:tabular-nums;text-align:center}
.email-change-help,.email-change-resend {font-size:12px;line-height:1.8;color:var(--ic-muted)}
.email-change-actions {display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}
.email-change-actions .button {flex:1 1 auto;justify-content:center;min-height:44px;font-size:13px}
.member-email-change-dialog .email-change-cancel {background:linear-gradient(135deg,#fff8f8,#f8e9eb);border:1px solid #e7bdc5;color:#a3384b;box-shadow:inset 0 1px 0 #fff}
.member-email-change-dialog .email-change-cancel:hover {background:#f6e4e8;border-color:#d49aa7;color:#8e2c3e;transform:none}
.email-change-resend {display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;border-top:1px solid var(--ic-line);padding-top:16px;margin-top:20px}
.email-change-resend button {padding:6px 0;border:0;background:none;color:var(--ic-brand);font-size:12px;font-weight:600;cursor:pointer}
.email-change-resend button:disabled {color:var(--ic-muted);cursor:default}
@media(max-width:600px){.member-email-change-dialog{width:calc(100vw - 24px)}.member-email-change-dialog .member-flow-header h2{font-size:17px}}
.member-security .security-current {background:var(--ic-shell);border-color:var(--ic-line)}
.member-security .security-current span {color:var(--ic-muted);font-weight:600}
.member-security .security-current strong {color:var(--ic-ink)}
.member-security .security-card .button {background:var(--ic-button-gradient);color:var(--ic-button-ink);border:1px solid var(--ic-brand);box-shadow:inset 0 1px 0 #ffffff35,0 3px 10px #00558f14;border-color:var(--ic-button-border)}
@media(max-width:760px) {
 .member-security .security-card-heading {padding:18px 20px;gap:11px;min-height:76px}
 .member-security .security-card-heading h2 {font-size:17px}
 .security-card-body {padding:20px}
}

/* Keep appointment and payment states aligned within the detail dialog. */
@media(max-width:759px) {
 .appointment-detail-dialog .request-page-header>.request-payment-status {margin:20px -20px 0}
}
@media(min-width:760px) {
 .appointment-detail-dialog .request-page-header:has(>.approval-banner) {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:stretch}
 .appointment-detail-dialog .request-page-header>.request-page-heading {grid-column:1/-1}
 .appointment-detail-dialog .request-page-header>.approval-banner,
 .appointment-detail-dialog .request-page-header>.request-payment-status {display:grid;grid-template-columns:40px minmax(0,1fr);align-content:start;align-items:start;gap:12px;margin:0;padding:18px;min-width:0;box-sizing:border-box;border-radius:12px}
 .appointment-detail-dialog .request-page-header>.approval-banner .approval-banner-icon {width:38px;height:38px;box-sizing:border-box}
 .appointment-detail-dialog .request-page-header>.approval-banner .approval-banner-copy {min-width:0}
 .appointment-detail-dialog .request-page-header>.approval-banner .approval-banner-access {grid-column:2;justify-self:start;margin:0;max-width:100%;box-sizing:border-box}
 .appointment-detail-dialog .request-payment-status>div {display:grid;grid-template-columns:1fr;gap:5px}
 .appointment-detail-dialog .request-payment-status p {grid-column:1}
}

/* Cancelled bookings must never inherit the green approval surface. */
.request-detail-surface>.request-page-header>.cancelled-appointment-banner{--appointment-accent:#a54e5d;background:#fdf5f6;border:1px solid #e7c5ca;color:#8c3e4c;box-shadow:none}
.cancelled-appointment-banner .approval-banner-icon{flex:0 0 38px;width:38px;height:38px;display:grid;place-items:center;box-sizing:border-box;background:#fff;color:#a54e5d;border:1px solid #dfb6be;border-radius:10px;box-shadow:0 2px 6px #b35e680d;line-height:0;font-size:0}
.cancelled-appointment-banner .approval-banner-icon>svg{display:block;flex:none;width:20px;height:20px}
.request-detail-surface .cancelled-appointment-banner .approval-banner-copy>h2{color:#8c3e4c;font-size:18px;line-height:1.4;letter-spacing:-.2px;margin:0 0 6px;font-weight:650}
.request-detail-surface .cancelled-appointment-banner .approval-banner-copy>span{color:#795a63;font-size:12px;line-height:1.7}
.request-inbox-surface .rq-card[data-status=cancelled]>.cancelled-appointment-banner{background:#fdf5f6;border-bottom-color:#e7c5ca;color:#8c3e4c}
.request-inbox-surface .cancelled-appointment-banner .approval-banner-icon{color:#a54e5d;border-color:#dfb6be;background:#fff;font-size:0;line-height:0}
.request-inbox-surface .cancelled-appointment-banner .approval-banner-copy>h2{color:#8c3e4c}
.request-inbox-surface .cancelled-appointment-banner .approval-banner-copy>span{color:#795a63}
/* Closed appointment and payment cards share one internal information hierarchy. */
body.corporate-page .appointment-detail-dialog:is([data-booking-status=cancelled],[data-booking-status=declined]) .request-page-header{padding-bottom:0}
body.corporate-page .appointment-detail-dialog:is([data-booking-status=cancelled],[data-booking-status=declined]) .request-page-header>.cancelled-appointment-banner,
body.corporate-page .appointment-detail-dialog:is([data-booking-status=cancelled],[data-booking-status=declined]) .request-page-header>.request-payment-status{display:grid;grid-template-columns:38px minmax(0,1fr);align-items:start;align-content:start;gap:12px;padding:18px;margin:0;box-sizing:border-box;border-radius:0}
body.corporate-page .appointment-detail-dialog:is([data-booking-status=cancelled],[data-booking-status=declined]) .approval-banner-copy,
body.corporate-page .appointment-detail-dialog:is([data-booking-status=cancelled],[data-booking-status=declined]) .request-payment-status>div{display:grid;grid-template-columns:minmax(0,1fr);align-items:start;align-content:start;gap:5px;min-width:0}
body.corporate-page .appointment-detail-dialog:is([data-booking-status=cancelled],[data-booking-status=declined]) .approval-banner-copy>.approval-status-label,
body.corporate-page .appointment-detail-dialog:is([data-booking-status=cancelled],[data-booking-status=declined]) .request-payment-status>div>span{margin:0;font-size:11px;font-weight:600;line-height:1.5;letter-spacing:0}
body.corporate-page .appointment-detail-dialog:is([data-booking-status=cancelled],[data-booking-status=declined]) .approval-banner-copy>h2,
body.corporate-page .appointment-detail-dialog:is([data-booking-status=cancelled],[data-booking-status=declined]) .request-payment-status>div>strong{margin:0;font-size:16px;font-weight:650;line-height:1.5;letter-spacing:-.2px}
body.corporate-page .appointment-detail-dialog:is([data-booking-status=cancelled],[data-booking-status=declined]) .approval-banner-copy>span,
body.corporate-page .appointment-detail-dialog:is([data-booking-status=cancelled],[data-booking-status=declined]) .request-payment-status>div>p{margin:0;font-size:12px;font-weight:400;line-height:1.7;grid-column:1}
body.corporate-page .appointment-detail-dialog:is([data-booking-status=cancelled],[data-booking-status=declined]) :is(.approval-banner-icon,.request-payment-icon){width:38px;height:38px;box-sizing:border-box}
@media(max-width:759px){body.corporate-page .appointment-detail-dialog:is([data-booking-status=cancelled],[data-booking-status=declined]) .request-page-header{display:grid;grid-template-columns:minmax(0,1fr);gap:0}body.corporate-page .appointment-detail-dialog:is([data-booking-status=cancelled],[data-booking-status=declined]) .request-page-heading{grid-column:1/-1}}
body.corporate-page .appointment-detail-dialog:is([data-booking-status=cancelled],[data-booking-status=declined]) .approval-banner-copy>.approval-status-label,
body.corporate-page .appointment-detail-dialog:is([data-booking-status=cancelled],[data-booking-status=declined]) .request-payment-status[data-paid=false]>div>span{color:#795a63}
body.corporate-page .appointment-detail-dialog:is([data-booking-status=cancelled],[data-booking-status=declined]) .approval-banner-copy>span,
body.corporate-page .appointment-detail-dialog:is([data-booking-status=cancelled],[data-booking-status=declined]) .request-payment-status>div>p{color:#60707d}

/* Both member overviews share the same inset light and soft shadow as security icons. */
.overview-symbol{--overview-icon-start:#268398;--overview-icon-end:#1d6078;--overview-icon-glow:#237d9420;display:grid;place-items:center;box-sizing:border-box;line-height:0}
.overview-symbol[data-overview-tone=info]{--overview-icon-start:#397e9f;--overview-icon-end:#285689;--overview-icon-glow:#28568920}
.overview-symbol[data-overview-tone=finance]{--overview-icon-start:#288568;--overview-icon-end:#206049;--overview-icon-glow:#28856820}
.overview-symbol[data-overview-tone=pending]{--overview-icon-start:#aa8149;--overview-icon-end:#805e32;--overview-icon-glow:#805e3220}
.overview-symbol[data-overview-tone=complete]{--overview-icon-start:#78828b;--overview-icon-end:#52616b;--overview-icon-glow:#52616b20}
.portal-area :is(.owner-card-heading>span.overview-symbol,.owner-action-strip .owner-icon.overview-symbol,.ca-icon.overview-symbol,.ce-upcoming-icon.overview-symbol){border:1px solid var(--overview-icon-end);border-radius:10px;background:linear-gradient(135deg,var(--overview-icon-start),var(--overview-icon-end));color:#fff;box-shadow:inset 0 1px 0 #ffffff45,0 3px 8px var(--overview-icon-glow)}
.overview-symbol>svg{display:block;flex:none;width:20px;height:20px}

/* Expected earnings use a quiet blue-grey icon matching the report surface. */
.portal-area .ce-upcoming .ce-upcoming-icon.overview-symbol{background:linear-gradient(145deg,#fff,#eaf1f6);border:1px solid #d5e1e9;color:#55768c;box-shadow:inset 0 1px 0 #fff,0 2px 5px #355b750a}

/* One approved emblem, including older full-wordmark layouts. The lettering stays live text/SVG. */
.brand-art{aspect-ratio:1957/778}
.brand-art>img,.brand-art>img.brand-logo,.corporate-brand .brand-art>img,.auth-art .brand-art>img,.phone-brand .brand-art>img{position:absolute;left:0;top:50%;display:block;width:33.5%;height:auto;aspect-ratio:1;object-fit:contain;clip-path:none;transform:translateY(-50%);border:1px solid #dce7ef;border-radius:23%;background:#fff;padding:0;box-shadow:0 2px 8px #245b8908;filter:none;mix-blend-mode:normal}
.corporate-admin .auth-art .brand-art>img{filter:none;mix-blend-mode:normal}

/* A service sheet pairs the professional with its scope; schedules and rates share the same columns. */
:is(.service-request-card,.admin-offering-preview) .service-preview-lead.service-preview-text{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:28px;margin:0;padding:24px 26px 20px}
.service-preview-lead.service-preview-text>.service-professional{display:flex;flex-direction:column;align-self:stretch;min-width:0}
.service-preview-lead.service-preview-text>.service-professional>h4,.service-preview-lead.service-preview-text>.service-offer-description>h4{display:flex;align-items:center;box-sizing:border-box;min-height:62px;margin:0;padding:18px 22px;background:var(--ic-service-heading-bg,linear-gradient(115deg,#f2f6fa,#edf3f7));color:var(--ic-service-heading-ink,#36586e);font-size:14px;font-weight:600;line-height:1.5;border:1px solid #dce5ec;border-radius:12px 12px 0 0}
.service-preview-lead.service-preview-text>.service-professional>.service-passport{flex:1;min-width:0;padding:24px;border:1px solid #dce5ec;border-top:0;border-radius:0 0 12px 12px;background:#fff;box-shadow:none}
:is(.service-request-card,.admin-offering-preview) .service-preview-lead.service-preview-text>.service-offer-description{display:flex;flex-direction:column;align-self:stretch;box-sizing:border-box;min-width:0;min-height:0;margin:0;padding:0;border:1px solid #dce5ec;border-radius:12px;background:#fff;overflow:hidden;box-shadow:none}
.service-preview-lead.service-preview-text>.service-offer-description>h4{border:0;border-bottom:1px solid #dce5ec;border-radius:0}
:is(.service-request-card,.admin-offering-preview) .service-preview-lead.service-preview-text>.service-offer-description>.service-scope{flex:1;min-height:0;max-width:none;margin:0;padding:22px;white-space:pre-wrap;overflow-wrap:anywhere;color:#52697b;font-size:14px;line-height:1.85}
:is(.service-request-card,.admin-offering-preview) .service-preview-text+.service-calendar-price-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:28px;padding:0 26px 24px}
@media(max-width:1000px){:is(.service-request-card,.admin-offering-preview) .service-preview-lead.service-preview-text{grid-template-columns:minmax(0,1fr);gap:20px;padding:20px 20px 18px}:is(.service-request-card,.admin-offering-preview) .service-preview-text+.service-calendar-price-row{grid-template-columns:minmax(0,1fr);gap:20px;padding:0 20px 20px}}
@media(max-width:540px){.service-preview-lead.service-preview-text>.service-professional>h4,.service-preview-lead.service-preview-text>.service-offer-description>h4{min-height:56px;padding:16px 18px}.service-preview-lead.service-preview-text>.service-professional>.service-passport{padding:18px 14px}:is(.service-request-card,.admin-offering-preview) .service-preview-lead.service-preview-text>.service-offer-description>.service-scope{padding:18px}}

/* One continuous service introduction: identity first, full-width scope immediately beneath. */
:is(.service-request-card,.admin-offering-preview) .service-preview-lead.service-preview-text.service-preview-editorial{display:block;margin:0;padding:24px 26px 20px}
.service-preview-lead.service-preview-editorial>.service-professional{position:relative;display:block;min-width:0;align-self:auto;margin:0;border:1px solid #dce5ec;border-bottom:0;border-radius:12px 12px 0 0;background:#fff;overflow:hidden;box-shadow:none}
.service-preview-lead.service-preview-editorial>.service-professional>h4{position:absolute;width:1px;height:1px;min-height:0;padding:0;margin:-1px;border:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
:is(.service-request-card,.admin-offering-preview) .service-preview-lead.service-preview-editorial>.service-offer-description{display:block;align-self:auto;min-height:0;margin:0;padding:17px 22px 19px;border:1px solid #dce5ec;border-top-color:#e7edf1;border-radius:0 0 12px 12px;background:#fff;box-shadow:none}
.service-preview-lead.service-preview-editorial>.service-offer-description>h4{display:block;min-height:0;padding:0;margin:0 0 7px;border:0;border-radius:0;background:none;color:#36586e;font-size:13px;font-weight:650;line-height:1.6}
:is(.service-request-card,.admin-offering-preview) .service-preview-lead.service-preview-editorial>.service-offer-description>.service-scope{min-height:0;max-width:none;margin:0;padding:0;white-space:pre-wrap;overflow-wrap:anywhere;color:#52697b;font-size:14px;line-height:1.85}
.service-professional-summary{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:24px;min-width:0;padding:20px 22px}
.service-summary-person{display:grid;grid-template-columns:100px minmax(0,1fr);align-items:center;gap:22px;min-width:0}
.service-summary-avatar{display:grid;place-items:center;box-sizing:border-box;width:100px;height:100px;padding:3px;border:1px solid #dce5ec;border-radius:50%;background:#f6f8fa;color:#36586e;font-size:30px;font-weight:600;overflow:hidden}
.service-summary-avatar>img{display:block;box-sizing:border-box;width:100%;height:100%;border:0;border-radius:50%;object-fit:cover;object-position:center}
.service-summary-identity{min-width:0}
.service-summary-name{display:flex;align-items:center;flex-wrap:wrap;gap:7px 12px}
.service-summary-name>strong{min-width:0;color:#2d4c61;font-size:18px;font-weight:650;line-height:1.4;overflow-wrap:anywhere}
.service-summary-name>.member-tenure-badge{flex:none;font-size:10px;min-height:28px;padding:4px 9px;gap:5px;box-shadow:0 2px 5px #394b5a12}
.service-summary-name>.member-tenure-badge>svg{width:17px;height:19px}
.service-summary-region{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin:6px 0;color:#647888;font-size:12px;line-height:1.6}
.service-summary-identity>.member-rating{margin:0;padding:0;border:0;font-size:11px;line-height:1.6;flex-wrap:wrap;justify-content:flex-start}
.service-summary-facts{display:flex;align-items:center;gap:28px;margin:0;padding:2px 0 2px 26px;border:0;border-left:1px solid #e5ebf0}
.service-summary-facts>div{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:84px}
.service-summary-facts dt{order:1;margin:0;color:#6a7d8b;font-size:12px;font-weight:400;line-height:1.6}
.service-summary-facts dd{order:0;margin:0;color:#36586e;font-size:20px;font-weight:650;line-height:1.3;font-variant-numeric:tabular-nums}
@media(max-width:1000px){:is(.service-request-card,.admin-offering-preview) .service-preview-lead.service-preview-text.service-preview-editorial{padding:20px 20px 18px}}
@media(max-width:700px){.service-professional-summary{grid-template-columns:minmax(0,1fr);gap:16px;padding:18px}.service-summary-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:14px 0 0;border:0;border-top:1px solid #e7edf1}.service-summary-facts>div{min-width:0}.service-summary-facts dd{font-size:18px}:is(.service-request-card,.admin-offering-preview) .service-preview-lead.service-preview-editorial>.service-offer-description{padding:16px 18px 18px}}
@media(max-width:540px){.service-summary-person{grid-template-columns:80px minmax(0,1fr);align-items:start;gap:14px}.service-summary-avatar{width:80px;height:80px}.service-summary-name>strong{font-size:16px}}

/* Professional names open the existing public profile dialog; only the booking action stays below. */
.service-summary-name>button.service-summary-profile-name{display:inline;min-width:0;max-width:100%;min-height:0;margin:0;padding:0;border:0;border-radius:3px;background:none;color:#315d7a;font-family:inherit;font-size:18px;font-weight:650;line-height:1.4;text-align:left;text-decoration:none;overflow-wrap:anywhere;box-shadow:none;cursor:pointer}
.service-summary-name>button.service-summary-profile-name:hover{color:#244b68;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}
.service-summary-name>button.service-summary-profile-name:focus-visible{outline:2px solid #7da6c2;outline-offset:4px}
.service-request-card.homeowner-service-card .service-record-footer.service-booking-footer{justify-content:flex-end}
@media(max-width:540px){.service-summary-name>button.service-summary-profile-name{font-size:16px}}
@media(max-width:540px){.service-summary-identity>.member-rating[data-rating-count="0"]>svg,.service-summary-identity>.member-rating[data-rating-count="0"]>.member-rating-score{display:none}}

/* Inbox participant and appointment facts use matching, aligned card headings. */
.request-inbox-surface .rq-passport-panel,.request-inbox-surface .rq-member-context{display:flex;flex-direction:column;justify-content:flex-start;min-width:0;padding:0;border:1px solid #dce5eb;border-radius:12px;background:#fff;box-shadow:0 2px 8px #14578008;overflow:hidden}
.request-inbox-surface .rq-summary-card-heading{display:flex;align-items:center;box-sizing:border-box;min-height:58px;margin:0;padding:17px 24px;border-bottom:1px solid #dfe7ed;background:var(--ic-section-heading-bg,#f3f7fa);color:var(--ic-section-heading-ink,#345b75);font-size:14px;font-weight:600;line-height:23px;letter-spacing:0}
.request-inbox-surface .rq-passport-panel>.rq-member-passport{flex:1;margin:0;border:0;border-radius:0;box-shadow:none;min-height:285px}
.request-inbox-surface .rq-member-context>.rq-context-body{display:flex;flex:1;align-items:center;min-width:0;padding:24px}
.request-inbox-surface .rq-context-body>dl{width:100%}
/* Equal-width time columns are centred around the connector's grid column. */
.request-inbox-surface .rq-time-track>.rq-time-point>*{justify-self:center;text-align:center;max-width:100%}
.request-inbox-surface .rq-time-track>.rq-time-connector{justify-self:stretch}

/* Compact shared inbox sheet; pricing retains its existing component and styles. */
.request-inbox-surface .rq-sheet-compact .rq-passport-layout{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:24px}
.request-inbox-surface .rq-sheet-compact .rq-summary-card-heading{min-height:56px;padding:15px 20px;font-size:14px;line-height:25px}
.request-inbox-surface .rq-sheet-compact .rq-member-passport{display:flex;flex-direction:column;justify-content:center;gap:18px;min-height:0;padding:20px;grid-template-columns:none}
.request-inbox-surface .rq-sheet-compact .rq-member-passport .service-passport-person{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:18px;min-width:0;width:100%;text-align:left}
.request-inbox-surface .rq-sheet-compact .service-provider-avatar{display:grid;place-items:center;flex:0 0 86px;width:86px;height:86px;padding:3px;border:1px solid #dce5eb;background:#f6f8fa;box-shadow:none;border-radius:50%;overflow:hidden;font-size:26px;color:#40647b}
.request-inbox-surface .rq-sheet-compact .service-provider-avatar img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}
.request-inbox-surface .rq-sheet-compact .rq-compact-identity{min-width:0;flex:1}
.request-inbox-surface .rq-sheet-compact .rq-compact-name{display:flex;align-items:center;flex-wrap:wrap;gap:8px 10px;min-width:0}
.request-inbox-surface .rq-sheet-compact .rq-member-passport .person-link{font-size:18px;line-height:1.4;text-align:left}
.request-inbox-surface .rq-sheet-compact .rq-compact-name>.member-tenure-badge{margin:0;flex:none}
.request-inbox-surface .rq-sheet-compact .rq-compact-role{display:flex;align-items:center;flex-wrap:wrap;gap:7px 10px;margin-top:8px}
.request-inbox-surface .rq-sheet-compact .rq-compact-role>.member-role-badge{margin:0;min-height:27px;padding:4px 9px;font-size:11px}
.request-inbox-surface .rq-sheet-compact .rq-compact-role>.service-passport-location{margin:0;font-size:12px;line-height:20px;color:#5c7180}
.request-inbox-surface .rq-sheet-compact .passport-member-rating{display:block;margin:10px 0 0;padding:0;border:0;text-align:left;font-size:12px}
.request-inbox-surface .rq-sheet-compact .rq-member-passport .service-passport-stats{display:block;align-self:stretch;width:auto;margin:0;padding:12px 0 0;border:0;border-top:1px solid #e5ebef}
.request-inbox-surface .rq-sheet-compact .service-passport-stats>div{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0;padding:0;border:0}
.request-inbox-surface .rq-sheet-compact .service-passport-stats dd{order:2;font-size:18px;line-height:24px;margin:0}
.request-inbox-surface .rq-sheet-compact .service-passport-stats dt{order:1;font-size:12px;line-height:20px;margin:0;color:#5c7180}
.request-inbox-surface .rq-sheet-compact .rq-member-context>.rq-context-body{padding:8px 20px;align-items:stretch}
.request-inbox-surface .rq-sheet-compact .rq-context-body>dl{display:flex;flex-direction:column;gap:0;justify-content:center}
.request-inbox-surface .rq-sheet-compact .rq-context-body>dl>div{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:13px 0;border:0;border-bottom:1px solid #e7ecef}
.request-inbox-surface .rq-sheet-compact .rq-context-body>dl>div:last-child{border-bottom:0}
.request-inbox-surface .rq-sheet-compact .rq-context-body dt{flex:1;margin:0;font-size:12px;font-weight:500;line-height:20px}
.request-inbox-surface .rq-sheet-compact .rq-context-body dd{max-width:55%;padding:0;font-size:13px;font-weight:600;line-height:21px;text-align:right}
.request-inbox-surface .rq-sheet-compact .rq-schedule{display:flex;flex-direction:column;gap:18px;min-width:0}
.request-inbox-surface .rq-sheet-compact .rq-invoice .rq-main.rq-cleaning-brief{margin:0;padding:0;border:1px solid #e0e7ec;border-radius:12px;background:#fff;overflow:hidden}
.request-inbox-surface .rq-sheet-compact .rq-cleaning-brief>.rq-description{padding:16px 20px;font-size:13px;line-height:1.8;color:#496173;overflow-wrap:anywhere;white-space:pre-line}
.request-inbox-surface .rq-sheet-compact .rq-invoice .rq-booking-frame .rq-appointment-row{padding-top:4px;border-top:0}
.request-inbox-surface .rq-sheet-compact .rq-booking-frame .rq-time-plan{height:auto;padding:0;overflow:hidden}
.request-inbox-surface .rq-sheet-compact .rq-time-plan-heading{margin:0;min-height:56px;padding:13px 20px;border-radius:0;font-size:14px;line-height:25px;flex-direction:row;align-items:center;flex-wrap:wrap}
.request-inbox-surface .rq-sheet-compact .rq-duration{padding:4px 8px;gap:6px;font-size:10px}
.request-inbox-surface .rq-sheet-compact .rq-duration strong{font-size:14px}
.request-inbox-surface .rq-sheet-compact .rq-plan-date{display:flex;align-items:center;justify-content:flex-start;text-align:left;gap:8px;padding:16px 20px 0;color:#486679;font-size:13px;font-weight:500;line-height:22px}
.request-inbox-surface .rq-sheet-compact .rq-plan-date>svg{grid-column:1;justify-self:end;display:block;width:17px;height:17px;color:#648298}
.request-inbox-surface .rq-sheet-compact .rq-plan-date>span{grid-column:2;min-width:0}
.request-inbox-surface .rq-sheet-compact .rq-time-track{grid-template-rows:auto auto;padding:16px 20px 22px;column-gap:12px;row-gap:7px}
.request-inbox-surface .rq-sheet-compact .rq-time-point>.rq-label{margin:0;font-size:12px;font-weight:500;line-height:20px;color:#637886}
.request-inbox-surface .rq-sheet-compact .rq-time-point>strong{font-size:30px;font-weight:600;line-height:1.25;color:#2f5e7e}
.request-inbox-surface .rq-sheet-compact .rq-time-connector{display:grid;place-items:center;justify-content:center}
.request-inbox-surface .rq-sheet-compact .rq-time-connector::before{content:none}
.request-inbox-surface .rq-sheet-compact .rq-time-connector b{background:none;color:#7895a7}
.request-host:not(.request-host-compact) .request-host-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:550px){
 .request-inbox-surface .rq-sheet-compact .rq-passport-layout{gap:16px}
 .request-inbox-surface .rq-sheet-compact .rq-summary-card-heading{padding:13px 16px;min-height:52px;font-size:13px}
 .request-inbox-surface .rq-sheet-compact .rq-member-passport{padding:18px 16px;gap:16px}
 .request-inbox-surface .rq-sheet-compact .rq-member-passport .service-passport-person{gap:12px;align-items:flex-start}
 .request-inbox-surface .rq-sheet-compact .service-provider-avatar{flex-basis:68px;width:68px;height:68px}
 .request-inbox-surface .rq-sheet-compact .rq-member-passport .person-link{font-size:17px}
 .request-inbox-surface .rq-sheet-compact .rq-member-context>.rq-context-body{padding:6px 16px}
 .request-inbox-surface .rq-sheet-compact .rq-context-body>dl>div{flex-direction:column;align-items:flex-start;gap:6px;padding:12px 0}
 .request-inbox-surface .rq-sheet-compact .rq-context-body dd{max-width:100%;padding-left:33px;font-size:13px;text-align:left}
 .request-inbox-surface .rq-sheet-compact .rq-cleaning-brief>.rq-description{padding:15px 16px}
 .request-inbox-surface .rq-sheet-compact .rq-time-plan-heading{padding:13px 16px;min-height:56px;font-size:13px}
 .request-inbox-surface .rq-sheet-compact .rq-plan-date{padding:15px 16px 0;font-size:12px}
 .request-inbox-surface .rq-sheet-compact .rq-time-track{padding:16px 16px 20px}
 .request-inbox-surface .rq-sheet-compact .rq-time-point>strong{font-size:27px}
}
@media(max-width:550px){.request-inbox-surface .rq-summary-card-heading{padding:15px 16px;min-height:54px;font-size:13px}.request-inbox-surface .rq-member-context>.rq-context-body{padding:20px 16px}.request-inbox-surface .rq-passport-panel>.rq-member-passport{min-height:0}}

@media(max-width:1000px){.request-inbox-surface .rq-sheet-compact .rq-passport-layout{grid-template-columns:minmax(0,1fr)}}

/* District location chip matches the appointment participant identity. */
.request-inbox-surface .rq-sheet-compact .rq-compact-role>.service-passport-location{display:inline-flex;align-items:center;gap:7px;margin:0;min-height:22px;color:#345b75;font-size:12px;font-weight:600;line-height:20px;text-align:left}
.request-inbox-surface .rq-sheet-compact .rq-compact-location-icon{display:grid;place-items:center;flex:0 0 22px;width:22px;height:22px;box-sizing:border-box;border:1px solid #d0dee8;border-radius:6px;background:#f1f6fa;color:#3b6582}
.request-inbox-surface .rq-sheet-compact .rq-compact-location-icon>svg{display:block;flex:none;width:14px;height:14px}
.request-inbox-surface .rq-sheet-compact .service-provider-avatar{flex-basis:104px;width:104px;height:104px}
@media(max-width:550px){.request-inbox-surface .rq-sheet-compact .service-provider-avatar{flex-basis:80px;width:80px;height:80px}}
.request-inbox-surface .rq-sheet-compact .rq-pricing-column .service-request-total{background:#f1f3f5;border:0;border-top:1px solid #dce2e8;box-shadow:none}
.request-inbox-surface .rq-sheet-compact .service-request-total>strong{color:#244c70;border-left-color:#dce2e8}
.request-inbox-surface .rq-sheet-compact .service-request-total .service-total-label{color:#405467}

.request-inbox-surface .rq-sheet-compact .rq-time-track>.rq-time-point:first-child>*{justify-self:start;text-align:left}
.request-inbox-surface .rq-sheet-compact .rq-time-track>.rq-time-point:last-child>*{justify-self:end;text-align:right}
/* Reuse the published cleaning-need plan inside the inbox's narrower column. */
.request-inbox-surface .rq-sheet-compact .rq-schedule>.owner-publication-plan{container-type:inline-size;margin:0;border:1px solid #e0e7ec;border-radius:12px;background:#fff;overflow:hidden;box-shadow:0 2px 8px #14578008}
.request-inbox-surface .rq-sheet-compact .owner-publication-plan>header{min-height:56px;box-sizing:border-box;padding:13px 20px;gap:12px;flex-wrap:wrap}
.request-inbox-surface .rq-sheet-compact .owner-publication-plan>header h3{font-weight:600;font-size:14px}
.request-inbox-surface .rq-sheet-compact .owner-publication-plan .owner-plan-body{padding:20px;gap:20px;grid-template-columns:minmax(160px,.8fr) minmax(0,2fr)}
.request-inbox-surface .rq-sheet-compact .owner-publication-plan .owner-plan-window{padding-left:20px}
.request-inbox-surface .rq-sheet-compact .owner-publication-plan .owner-plan-duration{padding:5px 8px}
@container (max-width:540px){
 .request-inbox-surface .rq-sheet-compact .owner-publication-plan .owner-plan-body{grid-template-columns:minmax(0,1fr);gap:18px}
 .request-inbox-surface .rq-sheet-compact .owner-publication-plan .owner-plan-window{padding:18px 0 0;border-left:0;border-top:1px solid #e1e9ef}
}
@media(max-width:550px){
 .request-inbox-surface .rq-sheet-compact .owner-publication-plan>header{padding:13px 16px}
 .request-inbox-surface .rq-sheet-compact .owner-publication-plan>header h3{font-size:13px}
 .request-inbox-surface .rq-sheet-compact .owner-publication-plan .owner-plan-body{padding:18px 16px}
}
/* Payment status stays with the recorded pricing and collection total. */
.request-inbox-surface .rq-sheet-compact .rq-invoice-payment{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 12px;padding:14px 20px;border-top:1px solid #e3e9ef;background:#fff;color:#536b7d;font-size:12px;font-weight:500;line-height:20px}
.request-inbox-surface .rq-sheet-compact .rq-invoice-payment-badge{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;margin-left:auto;padding:4px 9px;border:1px solid #ecd2d6;border-radius:7px;background:linear-gradient(135deg,#fcf7f8,#f5e7ea);color:#8b4e5a;font-size:11px;font-weight:600;line-height:20px;text-align:center}
.request-inbox-surface .rq-sheet-compact .rq-invoice-payment[data-payment-state=paid]>.rq-invoice-payment-badge{border-color:#cfdfd6;background:linear-gradient(135deg,#f3f8f5,#e7f1eb);color:#3e7157}
.request-inbox-surface .rq-sheet-compact .rq-invoice-payment[data-payment-state=pending]>.rq-invoice-payment-badge{border-color:#e7dcc8;background:linear-gradient(135deg,#fcfaf4,#f4edde);color:#85683e}
@media(max-width:550px){.request-inbox-surface .rq-sheet-compact .rq-invoice-payment{padding:13px 16px}}

/* Keep the recorded-amount note continuous with the payment status row. */
.request-inbox-surface .rq-sheet-compact .rq-service-price>.service-request-price-note{border-top:0}

/* Service management collection totals match the shared neutral invoice surface. */
#member-app[data-member-role="cleaner"] .service-listings .service-request-total{background:#f1f3f5;border:0;border-top:1px solid #dce2e8;box-shadow:none}
#member-app[data-member-role="cleaner"] .service-listings .service-request-total>strong{color:#244c70;border-left-color:#dce2e8}
#member-app[data-member-role="cleaner"] .service-listings .service-request-total .service-total-label>span:last-child{color:#405467}

/* Cancelled inbox forms use the same neutral palette as their filter and heading. */
.corporate-page #member-app[data-member-role] .request-inbox-surface .rq-card[data-status=cancelled]{--ic-card-hover-edge:#c4cbd2;--ic-card-hover-glow:#68748017}

/* Cancelled appointment dialogs share the inbox neutral status palette. */
.appointment-detail-dialog[data-booking-status=cancelled] .request-page-header>.cancelled-appointment-banner{--appointment-accent:#5e6b77;background:linear-gradient(135deg,#f4f6f8,#e9edf1);border-color:#d6dee4;color:#4d5b68;box-shadow:none}
.appointment-detail-dialog[data-booking-status=cancelled] .cancelled-appointment-banner .approval-banner-icon{color:#5e6b77;border-color:#d6dee4;background:#fff;box-shadow:0 2px 6px #6874800d}
.appointment-detail-dialog[data-booking-status=cancelled] .cancelled-appointment-banner .approval-banner-copy>h2{color:#4d5b68}
.appointment-detail-dialog[data-booking-status=cancelled] .cancelled-appointment-banner .approval-banner-copy>:is(.approval-status-label,span){color:#60717e}
.corporate-page #member-app[data-member-role] dialog.appointment-detail-dialog[data-booking-status=cancelled]{--ic-card-hover-edge:#c4cbd2;--ic-card-hover-glow:#68748017}

/* Closed request decisions align with the existing footer action row. */
.rq-footer-approval[data-status=declined]{border-color:#e7c5ca;background:linear-gradient(135deg,#fdf2f3,#f6e7ea);color:#8c3e4c}

/* Declined requests share the closed-request layout, keeping the decision red palette. */
body.corporate-page .appointment-detail-dialog[data-booking-status=declined] .request-page-header>.declined-appointment-banner{--appointment-accent:#8c3e4c;background:linear-gradient(135deg,#fdf2f3,#f6e7ea);border-color:#e7c5ca;color:#8c3e4c;box-shadow:none}
.appointment-detail-dialog[data-booking-status=declined] .declined-appointment-banner .approval-banner-icon{color:#8c3e4c;border-color:#e7c5ca;background:#fff;box-shadow:0 2px 6px #b35e680d}
.appointment-detail-dialog[data-booking-status=declined] .declined-appointment-banner .approval-banner-copy>h2{color:#8c3e4c}
.corporate-page #member-app[data-member-role] :is(dialog.appointment-detail-dialog[data-booking-status=declined],.request-inbox-surface .rq-card[data-status=declined]){--ic-card-hover-edge:#d2a0a9;--ic-card-hover-glow:#b35e6818}

/* Stage labels share the footer action row and wrap safely on narrow screens. */
.rq-footer-approval{max-width:100%;box-sizing:border-box}
.rq-footer-approval>span:last-child{min-width:0;white-space:normal}
.rq-footer-approval[data-status=pending]{border-color:#e7d6b5;background:linear-gradient(135deg,#fcf8ee,#f5ecd9);color:#805119}

/* Approved footer states match the shared approved request filter. */
.rq-footer-approval:is([data-status=accepted],[data-status=awaiting_confirmation]){border-color:#206049;background:linear-gradient(135deg,#288568,#206049);color:#fff}

/* Shared request footer: status and action keep the same height and type scale. */
.rq-card-actions{align-items:stretch}
.rq-card-actions>:is(.rq-footer-approval,.button){display:inline-flex;align-items:center;justify-content:center;min-height:44px;box-sizing:border-box;padding:11px 16px;border-radius:10px;font-size:12px;font-weight:600;line-height:18px}
@media(max-width:1000px){.rq-card-bottom{flex-direction:column;align-items:stretch}.rq-card-actions{width:100%}}
@media(max-width:600px){.rq-card-actions>:is(.rq-footer-approval,.button){flex:1 1 100%;width:100%}}

/* Pricing and private earnings are separate cards, not one enclosing invoice. */
.corporate-page #member-app .request-inbox-surface .rq-pricing-column.service-request-card{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible;gap:16px}
.request-inbox-surface .rq-pricing-column>.service-private-earnings-wrap{margin:0;min-width:0}
.request-inbox-surface .rq-pricing-column>.service-private-earnings-wrap>.service-private-net-note{padding:10px 4px}

/* A clean white icon surface on private net earnings cards. */
.service-request-card .service-private-earnings .private-net-icon{background:#fff;color:#356c57;border-color:#fff;box-shadow:0 2px 6px rgba(25,63,47,.08)}
