/* Expanded runtime CSS entrypoint. Keep this file import-free for WebView route transitions. */

.customer-cabinet-page-shell .response-workspace { display: grid; gap: 16px; min-width: 0; }
.customer-cabinet-page-shell .response-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); overflow-x: auto; }
.customer-cabinet-page-shell .response-tabs [role="tab"] { border-radius: 10px 10px 0 0; min-height: 42px; padding-inline: 16px; white-space: nowrap; }
.customer-cabinet-page-shell .response-tabs [role="tab"][data-active="true"] { background: var(--muted); box-shadow: inset 0 -2px var(--primary); }
.customer-cabinet-page-shell .response-tabs [role="tab"] span { min-width: 22px; padding: 2px 7px; border-radius: 999px; background: var(--background); font-variant-numeric: tabular-nums; }
.customer-cabinet-page-shell .response-workspace .resp-head { display: grid; gap: 12px; }
.customer-cabinet-page-shell .response-filters { display: flex; align-items: end; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; border: 0; }
.customer-cabinet-page-shell .response-filter-trigger, .customer-cabinet-page-shell .response-stage-trigger { min-width: 148px; background: var(--card); }
.customer-cabinet-page-shell .response-number-filter { display: grid; gap: 4px; font-size: 12px; font-weight: 700; color: var(--foreground); }
.customer-cabinet-page-shell .response-number-filter input { box-sizing: border-box; width: 128px; height: var(--ui-control-height); border: 1px solid var(--border); border-radius: 8px; background: var(--card); color: var(--foreground); padding: 0 10px; font: inherit; font-variant-numeric: tabular-nums; }
.customer-cabinet-page-shell .response-workspace .resp-tools { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.customer-cabinet-page-shell .resp-sort-options { display: flex; gap: 8px; border: 0; padding: 0; margin: 0; }
.customer-cabinet-page-shell .resp-sort-options [data-active="true"] { background: var(--muted); border-color: var(--foreground); }
.customer-cabinet-page-shell .view-toggle [data-slot="button"] { min-width: 104px; }
.customer-cabinet-page-shell .response-empty { min-height: 180px; }
.customer-cabinet-page-shell .response-compact-list { border: 1px solid var(--border); border-radius: 16px; overflow: hidden; background: var(--card); }
.customer-cabinet-page-shell .response-compact-row { display: grid; grid-template-columns: minmax(220px, 1.3fr) minmax(115px, .55fr) minmax(105px, .45fr) minmax(180px, 1fr) minmax(150px, .7fr) auto; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.customer-cabinet-page-shell .response-compact-row:last-child { border-bottom: 0; }
.customer-cabinet-page-shell .response-compact-person { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 0; border: 0; background: transparent; color: var(--foreground); text-align: left; cursor: pointer; }
.customer-cabinet-page-shell .response-compact-person > span:last-child { display: grid; min-width: 0; gap: 2px; }
.customer-cabinet-page-shell .response-compact-person b, .customer-cabinet-page-shell .response-compact-person small { overflow-wrap: anywhere; }
.customer-cabinet-page-shell .response-compact-person small { color: var(--foreground); }
.customer-cabinet-page-shell .response-compact-price { font-size: 16px; font-weight: 800; font-variant-numeric: tabular-nums; }
.customer-cabinet-page-shell .response-contacts { display: grid; gap: 4px; min-width: 0; }
.customer-cabinet-page-shell .response-contacts a { display: inline-flex; align-items: center; gap: 6px; width: fit-content; max-width: 100%; color: var(--foreground); text-decoration: underline; text-underline-offset: 3px; }
.customer-cabinet-page-shell .response-contacts a svg { width: 15px; height: 15px; flex: none; }
.customer-cabinet-page-shell .response-contacts a span { overflow-wrap: anywhere; }
.customer-cabinet-page-shell .response-no-contacts { color: var(--foreground); font-size: 13px; }
.customer-cabinet-page-shell .response-row-actions { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.customer-cabinet-page-shell .rc-management-actions { display: grid; gap: 8px; }
.customer-cabinet-page-shell .rc-management-actions [data-slot="button"] { grid-template-columns: 1rem minmax(0, 1fr); }
.customer-cabinet-page-shell .response-table-tools { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.customer-cabinet-page-shell .response-bulk-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.customer-cabinet-page-shell .response-columns { position: relative; }
.customer-cabinet-page-shell .response-columns summary { cursor: pointer; font-weight: 700; list-style: none; }
.customer-cabinet-page-shell .response-columns > div { position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; display: grid; gap: 8px; min-width: 170px; padding: 12px; border: 1px solid var(--border); border-radius: 12px; background: var(--card); box-shadow: 0 10px 24px rgba(0,0,0,.12); }
.customer-cabinet-page-shell .response-column-option { display: flex; align-items: center; gap: 8px; }
.customer-cabinet-page-shell .response-data-table th button { border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; }
.customer-cabinet-page-shell .response-select-column { width: 42px; min-width: 42px; }
.customer-cabinet-page-shell .response-data-table .response-stage-trigger { min-width: 142px; }

/* customer-cabinet-desktop/01-customer-cabinet-desktop.css */
/* Source: 5. Стройбан - Кабинет заказчика (десктоп).html
   Extracted from v3 mock on 2026-07-13. */

/* кабинет заказчика: единый формат с кабинетом рабочего */

.customer-cabinet-page-shell { --customer-cabinet-chrome-height: var(--sb-chrome-header-height); --customer-cabinet-layout-top-gap: 56px; min-height: 100dvh; font-size: 16px; color: var(--foreground); background: var(--background); }

.customer-cabinet-page-shell .wrap { max-width: none; margin: 0; padding: 0 32px 0 calc(264px + 32px); }

.customer-cabinet-page-shell a { color: inherit; text-decoration: none; }

/* big tappable buttons everywhere in cabinet */

.customer-cabinet-page-shell .sb-btn { height: 2.875rem; font-size: 15px; }

.customer-cabinet-page-shell .sb-btn--lg { height: 3.25rem; font-size: 16px; }

/* ===== header (общий с остальными страницами) ===== */

.customer-cabinet-page-shell .sb-header { position: sticky; top: 0; z-index: 40; }

.customer-cabinet-page-shell .hdr-inner { display: flex; align-items: center; gap: 28px; width: 100%; max-width: 1344px; margin: 0 auto; padding: 0 24px; }

.customer-cabinet-page-shell .sb-logo { cursor: pointer; }

.customer-cabinet-page-shell .hdr-user { display: flex; align-items: center; gap: 10px; padding: 4px 10px 4px 4px; border: 1px solid var(--border); border-radius: 999px; cursor: pointer; }

.customer-cabinet-page-shell .hdr-user:hover { background: var(--muted); }

.customer-cabinet-page-shell .hdr-user .av { width: 30px; height: 30px; border-radius: 50%; background: #111; color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 12px; }

.customer-cabinet-page-shell .hdr-user .nm { font-size: 14px; font-weight: 600; }

.customer-cabinet-page-shell .hdr-user i, .customer-cabinet-page-shell .hdr-user svg.lucide { width: 16px; height: 16px; color: var(--muted-foreground); }

/* ===== layout — sidebar fixed to viewport left ===== */

.customer-cabinet-page-shell .wrap { max-width: none; margin: 0; padding: 0 32px 0 calc(264px + 32px); }

.customer-cabinet-page-shell .layout { display: block; min-height: calc(100dvh - var(--customer-cabinet-chrome-height)); padding: calc(var(--customer-cabinet-chrome-height) + var(--customer-cabinet-layout-top-gap)) 0 80px; background: var(--background); }

.customer-cabinet-page-shell .sb-chrome-footer { padding-left: 264px; }

@media (min-width: 1025px){
    .customer-cabinet-page-shell [data-slot="page-container"][data-active-screen="messages"] { padding: 0 0 0 264px; }
    .customer-cabinet-page-shell .layout[data-active-screen="messages"] { min-height: 100dvh; padding: var(--customer-cabinet-chrome-height) 0 0; }
  }

@media (max-width: 1024px){
    .customer-cabinet-page-shell .cab-nav { position: static !important; width: auto; top: auto; bottom: auto; flex-direction: row; flex-wrap: wrap; border-radius: 14px; margin-top: 16px; box-shadow: none; }
    .customer-cabinet-page-shell .wrap { max-width: none; margin: 0; padding: 0 16px; }
    .customer-cabinet-page-shell .sb-chrome-footer { padding-left: 0; }
  }

/* cabinet nav — единый формат с кабинетом рабочего */

.customer-cabinet-page-shell .cab-nav { position: fixed; top: var(--customer-cabinet-chrome-height); left: 0; bottom: 0; width: 264px; z-index: 30; display: flex; flex-direction: column; gap: 4px; background: #1f1f22; border: none; border-radius: 0; padding: 16px 12px; overflow-y: auto; box-shadow: 2px 0 14px oklch(0.145 0 0 / 0.1); }

.customer-cabinet-page-shell .cab-nav .nav-item { position: relative; display: flex; width: 100%; min-width: 0; align-items: center; justify-content: flex-start; gap: 14px; min-height: 54px; padding: 0 16px; border-radius: 12px; font-size: 16px; font-weight: 600; text-align: left; color: var(--on-surface-inverse); cursor: pointer; border: 2px solid transparent; }

.customer-cabinet-page-shell .cab-nav .nav-item:hover { background: #2c2c30; color: #fff; }

.customer-cabinet-page-shell .cab-nav .nav-item.is-active { background: var(--primary); color: #111; }

.customer-cabinet-page-shell .cab-nav .nav-item i, .customer-cabinet-page-shell .cab-nav .nav-item svg.lucide { width: 22px; height: 22px; flex: none; }

.customer-cabinet-page-shell .cab-nav .nav-item__label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* A forthcoming item shares its row with the "скоро" pill, and the 264px menu cut the name to
   "Просто см…" and "Безопасна…". Two lines hold both names whole. */
.customer-cabinet-page-shell .cab-nav .nav-item.is-soon .nav-item__label { overflow: visible; text-overflow: clip; white-space: normal; line-height: 1.2; }

.customer-cabinet-page-shell .cab-nav .nav-item .count { margin-left: auto; font-size: 13px; font-weight: 700; background: var(--primary); color: #000; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; display: grid; place-items: center; font-variant-numeric: tabular-nums; }

.customer-cabinet-page-shell .cab-nav .nav-item .count.muted { background: #2c2c30; color: var(--on-surface-inverse); }

.customer-cabinet-page-shell .cab-nav .nav-item.is-active .count { background: #111; color: #fff; }

.customer-cabinet-page-shell .cab-nav .nav-sep { height: 1px; background: #34343a; margin: 10px 8px; }

.customer-cabinet-page-shell .cab-nav .nav-item .soon { flex: none; margin-left: auto; font-size: 11px; font-weight: 700; line-height: 1; color: var(--on-surface-inverse); background: #2c2c30; padding: 5px 9px; border-radius: 999px; white-space: nowrap; }

/* What is not open yet is said by the «скоро» chip, by the grey icon and by a lighter weight,
 * never by the colour of the words. The menu is dark (#1f1f22), so the label is the menu's own
 * white, as its open neighbours are: 16:1. Given the page's black on 12.10 -- the contrast was
 * reckoned against white -- it read black on near-black, 1.2:1, the least readable line on the
 * screen. */
.customer-cabinet-page-shell .cab-nav .nav-item.is-soon:not(.is-active) { color: var(--on-surface-inverse); font-weight: 500; }
.customer-cabinet-page-shell .cab-nav .nav-item.is-soon:not(.is-active) i, .customer-cabinet-page-shell .cab-nav .nav-item.is-soon:not(.is-active) svg { color: #9a9a9a; }

@media (max-width: 1180px){
    body.sb .customer-cabinet-page-shell .customer-desktop-nav, body.sb .customer-cabinet-page-shell .cab-nav, .customer-cabinet-page-shell .customer-desktop-nav, .customer-cabinet-page-shell .cab-nav { display: none !important; }
  }

.customer-cabinet-page-shell main { display: flex; flex-direction: column; gap: 18px; min-width: 0; }

/* ===== page head ===== */

.customer-cabinet-page-shell .phead { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; }

.customer-cabinet-page-shell .phead h1 { font-size: 27px; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 5px; }

.customer-cabinet-page-shell .phead .sub { font-size: 14.5px; color: var(--foreground); margin: 0; max-width: 58ch; }

.customer-cabinet-page-shell .phead--with-action { align-items: center; }

.customer-cabinet-page-shell .phead--with-action > div { min-width: 0; }

.customer-cabinet-page-shell .ord-draft-publish { background: var(--selected); color: var(--on-selected); }

.customer-cabinet-page-shell .ord-draft-publish:hover { background: color-mix(in oklch, var(--selected) 86%, var(--on-selected)); }

/* ===== orders summary strip ===== */

.customer-cabinet-page-shell .ord-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }

.customer-cabinet-page-shell .ord-filters button { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 12px; border: 2px solid var(--border); background: var(--card); font-family: inherit; font-size: 15px; font-weight: 600; color: var(--foreground); cursor: pointer; }

.customer-cabinet-page-shell .ord-filters button span { font-size: 13px; color: var(--foreground); font-variant-numeric: tabular-nums; }

.customer-cabinet-page-shell .ord-filters button[data-active="true"] { background: var(--selected); color: var(--on-selected); border-color: var(--selected); }

.customer-cabinet-page-shell .ord-filters button[data-active="true"] span { color: var(--on-selected); }

.customer-cabinet-page-shell .osum { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }

@media (max-width: 640px){ .customer-cabinet-page-shell .osum { grid-template-columns: 1fr 1fr; } }

.customer-cabinet-page-shell .osum-tile { padding: 16px 18px; }

.customer-cabinet-page-shell .osum-tile .v { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums; display: flex; align-items: center; gap: 8px; }

.customer-cabinet-page-shell .osum-tile .v i, .customer-cabinet-page-shell .osum-tile .v svg.lucide { width: 20px; height: 20px; color: var(--muted-foreground); }

.customer-cabinet-page-shell .osum-tile.accent .v i, .customer-cabinet-page-shell .osum-tile.accent .v svg.lucide { color: var(--primary-hover); }

.customer-cabinet-page-shell .osum-tile .l { font-size: 13px; color: var(--foreground); margin-top: 7px; }

/* ===== order list ===== */

.customer-cabinet-page-shell .ordlist { display: flex; flex-direction: column; gap: 14px; }

.customer-cabinet-page-shell .ordcard { position: relative; background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 20px 24px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, auto); gap: 18px 24px; align-items: center; box-shadow: var(--shadow-xs); }

@media (max-width: 1024px){ .customer-cabinet-page-shell .ordcard { grid-template-columns: 1fr; padding: 18px; } .customer-cabinet-page-shell .ord-kebab-wrap { position: absolute; top: 12px; right: 12px; align-self: auto; } }

.customer-cabinet-page-shell .ordcard.is-draft { background: var(--surface-subtle); border-style: dashed; }

.customer-cabinet-page-shell .ordcard.is-empty { min-height: 132px; display: flex; align-items: center; justify-content: center; cursor: default; }

.customer-cabinet-page-shell .ordcard.is-empty:hover { border-color: var(--border); box-shadow: var(--shadow-xs); }

.customer-cabinet-page-shell .ordcard.is-empty .ord-main { align-items: center; text-align: center; }

.customer-cabinet-page-shell .ordcard.is-empty .ord-badges { justify-content: center; }

.customer-cabinet-page-shell .ordcard.is-empty .ord-meta { align-items: center; }

.customer-cabinet-page-shell .ord-main { min-width: 0; display: flex; flex-direction: column; gap: 9px; }

.customer-cabinet-page-shell .ord-tl { display: flex; align-items: flex-start; gap: 18px; flex-wrap: wrap; }

.customer-cabinet-page-shell .ord-tl h3 { margin: 0; }

.customer-cabinet-page-shell .ord-badges { display: flex; align-items: center; gap: 9px; margin-bottom: 0; flex-wrap: wrap; }

.customer-cabinet-page-shell .ord-badges .sb-badge { height: 24px; padding: 0 10px; font-size: 12.5px; }

.sb-badge.ord-b-yellow { background: var(--primary); color: #111; border-color: transparent; }

.sb-badge.ord-b-black { background: var(--selected); color: var(--on-selected); border-color: transparent; }

.sb-badge.ord-promotion-badge { background: var(--primary); color: #111; border-color: transparent; }

.customer-cabinet-page-shell .ord-posted { font-size: 12.5px; color: var(--foreground); }

.customer-cabinet-page-shell .ordcard h3 { font-size: 17px; font-weight: 700; margin: 0; line-height: 1.25; }

.customer-cabinet-page-shell .ord-titleline { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 0; }

.customer-cabinet-page-shell .ord-titleline h3 { flex: 1 1 auto; min-width: 0; }

.customer-cabinet-page-shell .ord-titleline .ord-meta { flex: 0 0 auto; }

.customer-cabinet-page-shell .ord-footer { display: flex; align-items: center; gap: 12px 28px; flex-wrap: wrap; padding-top: 12px; border-top: 1px solid var(--border); }

/* customer-cabinet-desktop/02-customer-cabinet-desktop.css */
.customer-cabinet-page-shell .ord-footer .ord-cta { margin-left: auto; }

.customer-cabinet-page-shell .ord-cat { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--foreground); white-space: nowrap; }

.customer-cabinet-page-shell .ord-cat i, .customer-cabinet-page-shell .ord-cat svg { width: 18px; height: 18px; color: var(--muted-foreground); }

.customer-cabinet-page-shell .ord-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; font-size: 13.5px; color: var(--foreground); }

.customer-cabinet-page-shell .ordcard .ord-meta { flex-direction: row; flex-wrap: wrap; gap: 8px 14px; }

.customer-cabinet-page-shell .ord-meta .m { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }

.customer-cabinet-page-shell .ord-meta .m i, .customer-cabinet-page-shell .ord-meta .m svg { width: 18px; height: 18px; }

.customer-cabinet-page-shell .ord-meta .m b { color: var(--foreground); font-weight: 600; font-variant-numeric: tabular-nums; }

.customer-cabinet-page-shell .ord-right { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; min-width: 200px; }

@media (max-width: 1024px){ .customer-cabinet-page-shell .ord-right { align-items: flex-start; min-width: 0; } }

.customer-cabinet-page-shell .ord-cta { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }

.customer-cabinet-page-shell .ord-promote-action { width: 100%; justify-content: center; }

.customer-cabinet-page-shell .ord-price { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }

.customer-cabinet-page-shell .ord-price-l { font-size: 12px; color: var(--foreground); font-weight: 600; }

.customer-cabinet-page-shell .ord-price b { display: inline-flex; align-items: center; gap: 7px; font-size: 16px; font-weight: 700; color: var(--foreground); font-variant-numeric: tabular-nums; white-space: nowrap; }

.customer-cabinet-page-shell .ord-price i, .customer-cabinet-page-shell .ord-price svg { width: 18px; height: 18px; color: var(--muted-foreground); }

.customer-cabinet-page-shell .ord-budget-edit { cursor: pointer; border-radius: 8px; margin: -2px -6px; padding: 2px 6px; transition: background .12s ease; }

.customer-cabinet-page-shell .ord-budget-edit:hover { background: var(--muted); }

.customer-cabinet-page-shell .ord-budget-edit .pen { width: 13px !important; height: 13px !important; opacity: 0; transition: opacity .12s ease; }

.customer-cabinet-page-shell .ord-budget-edit:hover .pen { opacity: .7; }

.customer-cabinet-page-shell .budget-input { width: 100%; max-width: 220px; height: 34px; padding: 0 10px; font-size: 14px; font-weight: 700; border: 1px solid var(--selected); border-radius: 8px; background: var(--card); color: var(--foreground); font-variant-numeric: tabular-nums; outline: none; }

.customer-cabinet-page-shell .ord-status { display: flex; align-items: center; min-width: 0; }

.customer-cabinet-page-shell .ord-cta [data-slot="button"] { height: 2.875rem; font-size: 15px; }

.customer-cabinet-page-shell .ord-note { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--foreground); }

.customer-cabinet-page-shell .ord-note i, .customer-cabinet-page-shell .ord-note svg { width: 15px; height: 15px; }

@media (max-width: 768px){ .customer-cabinet-page-shell .ord-footer .ord-cta { margin-left: 0; } .customer-cabinet-page-shell .ord-titleline { gap: 6px 12px; } }

.customer-cabinet-page-shell .ord-resp { display: flex; align-items: center; gap: 12px; }

.customer-cabinet-page-shell .ord-respline { display: flex; align-items: center; gap: 18px; }

.customer-cabinet-page-shell .resp-stack { display: inline-flex; flex-direction: row-reverse; align-items: center; }

.customer-cabinet-page-shell .resp-stack .ravt { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--card); color: #fff; display: grid; place-items: center; font-size: 11px; font-weight: 700; margin-left: -10px; flex: none; }

.customer-cabinet-page-shell .resp-stack .ravt:last-child { margin-left: 0; }

.customer-cabinet-page-shell .resp-stack .ravt.more { background: var(--muted); color: var(--foreground); }

.customer-cabinet-page-shell .ord-resp .rtext { font-size: 14.5px; color: var(--foreground); line-height: 1.3; white-space: nowrap; }

.customer-cabinet-page-shell .ord-resp .rtext b { display: inline; color: var(--foreground); font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; }

/* Same: "новых" sits on .ordcard next to --foreground text, at 1.65:1. Weight already sets it
   apart from the line above it. */
.customer-cabinet-page-shell .ord-resp .rtext .new { display: block; margin-top: 2px; color: var(--foreground); font-weight: 600; }

.customer-cabinet-page-shell .ord-cta { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 9px; justify-self: stretch; }

.customer-cabinet-page-shell .ord-right > .ord-cta { width: 100%; min-width: 220px; align-items: stretch; flex-direction: column; flex-wrap: nowrap; }

.customer-cabinet-page-shell .ord-right > .ord-cta [data-slot="button"] { width: 100%; justify-content: center; }

.customer-cabinet-page-shell .ord-hired { display: inline-flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--foreground); text-decoration: none; border: 1px solid var(--border); border-radius: 12px; padding: 7px 10px; background: var(--card); transition: background .12s ease, border-color .12s ease; max-width: 100%; }

.customer-cabinet-page-shell a.ord-hired:hover { background: var(--muted); border-color: var(--foreground); }

.customer-cabinet-page-shell .ord-hired .hav { width: 34px; height: 34px; border-radius: 50%; color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 700; flex: none; }

.customer-cabinet-page-shell .ord-hired .rtext { display: flex; flex-direction: column; gap: 1px; line-height: 1.2; min-width: 0; }

.customer-cabinet-page-shell .ord-hired .hlbl { font-size: 11px; color: var(--foreground); font-weight: 600; }

.customer-cabinet-page-shell .ord-hired b { font-size: 13.5px; font-weight: 700; color: var(--foreground); line-height: 1.15; }

.customer-cabinet-page-shell a.ord-hired:hover b { text-decoration: underline; }

.customer-cabinet-page-shell .ord-hired .go { width: 16px !important; height: 16px !important; color: var(--foreground); margin-left: auto; flex: none; }

.customer-cabinet-page-shell .ord-kebab-wrap { position: relative; align-self: center; justify-self: end; margin-left: 0; z-index: 5; }

.customer-cabinet-page-shell .ord-kebab { width: 32px; height: 32px; border-radius: 8px; border: 1px solid transparent; background: transparent; color: var(--foreground); display: grid; place-items: center; cursor: pointer; transition: background .12s ease, border-color .12s ease, color .12s ease; }

.customer-cabinet-page-shell .ord-kebab:hover { background: var(--muted); border-color: var(--border); color: var(--foreground); }

.customer-cabinet-page-shell .ord-kebab i, .customer-cabinet-page-shell .ord-kebab svg { width: 18px; height: 18px; }

.customer-cabinet-page-shell .ord-menu { position: absolute; top: 38px; right: 0; min-width: 206px; background: var(--card); border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 12px 32px rgba(0,0,0,.14); padding: 6px; display: none; flex-direction: column; gap: 2px; }

.customer-cabinet-page-shell .ord-menu.open { display: flex; }

.customer-cabinet-page-shell .ord-menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border: none; background: transparent; border-radius: 8px; font: inherit; font-size: 14px; color: var(--foreground); cursor: pointer; text-align: left; }

.customer-cabinet-page-shell .ord-menu button:hover { background: var(--muted); }

.customer-cabinet-page-shell .ord-menu button i, .customer-cabinet-page-shell .ord-menu button svg { width: 17px; height: 17px; color: var(--muted-foreground); flex: none; }

.customer-cabinet-page-shell .ord-menu button.danger { color: var(--destructive); }

.customer-cabinet-page-shell .ord-menu button.danger i, .customer-cabinet-page-shell .ord-menu button.danger svg { color: var(--destructive); }

.customer-cabinet-page-shell .omenu-sep { height: 1px; background: var(--border); margin: 4px 2px; }

.customer-cabinet-page-shell .ord-newdot { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 10px; height: 10px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 26%, transparent); }

.customer-cabinet-page-shell .ordcard.has-new { padding-left: 44px; }

.customer-cabinet-page-shell .ord-newdot ~ * { }

/* ===== order detail ===== */

.customer-cabinet-page-shell .back-link { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; color: var(--foreground); cursor: pointer; padding: 0; background: none; border: none; font-family: inherit; align-self: flex-start; }

.customer-cabinet-page-shell .back-link:hover { color: var(--foreground); }

.customer-cabinet-page-shell .back-link i, .customer-cabinet-page-shell .back-link svg.lucide { width: 16px; height: 16px; }

.customer-cabinet-page-shell .od-hero { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }

.customer-cabinet-page-shell .od-hero h1 { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; margin: 8px 0 10px; max-width: 24ch; line-height: 1.15; }

.customer-cabinet-page-shell .od-lead { font-size: 15.5px; color: var(--foreground); margin: 0 0 14px; max-width: 62ch; line-height: 1.5; text-wrap: pretty; }

.customer-cabinet-page-shell .od-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.customer-cabinet-page-shell .od-meta .chip { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; background: var(--card); border: 1px solid var(--border); border-radius: 9px; font-size: 13.5px; font-weight: 600; color: var(--foreground); }

.customer-cabinet-page-shell .od-meta .chip i, .customer-cabinet-page-shell .od-meta .chip svg { width: 16px; height: 16px; color: var(--muted-foreground); }

.customer-cabinet-page-shell .od-hero-actions { display: flex; align-items: center; gap: 10px; flex: none; }

.customer-cabinet-page-shell .order-detail { display: flex; flex-direction: column; gap: 18px; min-width: 0; }

.customer-cabinet-page-shell .od-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 300px); align-items: center; gap: 24px; background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 28px 32px; box-shadow: var(--shadow-xs); }

.customer-cabinet-page-shell .od-head h1 { font-size: 28px; font-weight: 800; letter-spacing: -.02em; line-height: 1.12; margin: 10px 0 0; max-width: 28ch; text-wrap: balance; }

.customer-cabinet-page-shell .od-head-actions { display: flex; flex-direction: column; align-items: stretch; gap: 12px; min-width: 0; }

.customer-cabinet-page-shell .od-head-actions > [data-slot="button"] { width: 100%; flex: none; justify-content: center; }

.customer-cabinet-page-shell .od-promotion-action { display: flex; align-items: stretch; flex-direction: column; gap: 8px; min-width: 0; }

.customer-cabinet-page-shell .od-promotion-action span { color: var(--foreground); font-size: 12.5px; font-weight: 600; }

.customer-cabinet-page-shell .od-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }

.customer-cabinet-page-shell .od-summary .cell { min-width: 0; background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 15px 16px; box-shadow: var(--shadow-xs); }

.customer-cabinet-page-shell .od-summary .l { font-size: 12.5px; font-weight: 600; color: var(--foreground); margin-bottom: 5px; }

.customer-cabinet-page-shell .od-summary .v { font-size: 16px; font-weight: 700; color: var(--foreground); line-height: 1.25; overflow-wrap: anywhere; }

.customer-cabinet-page-shell p.od-desc { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 20px 22px; box-shadow: var(--shadow-xs); font-size: 16px; line-height: 1.62; margin: 0; color: var(--foreground); text-wrap: pretty; }

.customer-cabinet-page-shell .od-media { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 24px 28px 28px; box-shadow: var(--shadow-xs); }

.customer-cabinet-page-shell .od-media__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 18px; }

.customer-cabinet-page-shell .od-media__head h2 { margin: 0; font-size: 18px; font-weight: 800; letter-spacing: -.01em; }

.customer-cabinet-page-shell .od-media__head span { font-size: 13px; color: var(--foreground); font-weight: 600; }

/* The rest of what the order form asked, as a list: label on the left, answer on the right. */
.customer-cabinet-page-shell .od-props { display: grid; gap: 14px; background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 20px 22px; box-shadow: var(--shadow-xs); }
.customer-cabinet-page-shell .od-props h2 { margin: 0; font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
.customer-cabinet-page-shell .od-props dl { display: grid; gap: 0; margin: 0; }
.customer-cabinet-page-shell .od-prop { display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 1fr); gap: 16px; padding: 10px 0; border-top: 1px solid var(--border); }
.customer-cabinet-page-shell .od-prop:first-child { border-top: 0; padding-top: 0; }
.customer-cabinet-page-shell .od-prop:last-child { padding-bottom: 0; }
.customer-cabinet-page-shell .od-prop dt { font-size: 14px; line-height: 1.4; color: var(--foreground); }
.customer-cabinet-page-shell .od-prop dd { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--foreground); overflow-wrap: anywhere; }
.customer-cabinet-page-shell .od-props-options { display: flex; flex-wrap: wrap; gap: 8px; }
.customer-cabinet-page-shell .od-props-tasks { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.customer-cabinet-page-shell .od-props-tasks li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 15px; line-height: 1.45; }
.customer-cabinet-page-shell .od-props-tasks li i, .customer-cabinet-page-shell .od-props-tasks li svg { width: 18px; height: 18px; margin-top: 2px; color: var(--success); }

@media (max-width: 1024px){ .customer-cabinet-page-shell .od-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

@media (max-width: 768px){ .customer-cabinet-page-shell .od-head { grid-template-columns: 1fr; padding: 22px; } .customer-cabinet-page-shell .od-head h1 { font-size: 24px; } .customer-cabinet-page-shell .od-head-actions { align-items: stretch; } .customer-cabinet-page-shell .od-summary { grid-template-columns: 1fr; } .customer-cabinet-page-shell p.od-desc { padding: 16px; font-size: 15px; } }

.customer-cabinet-page-shell .od-grid { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 26px; align-items: start; }

@media (max-width: 1024px){ .customer-cabinet-page-shell .od-grid { grid-template-columns: 1fr; } }

.customer-cabinet-page-shell .od-main { display: flex; flex-direction: column; gap: 24px; min-width: 0; }

.customer-cabinet-page-shell .od-block > h2 { font-size: 18px; font-weight: 700; margin: 0 0 10px; }

.customer-cabinet-page-shell .od-desc { font-size: 15.5px; line-height: 1.65; color: var(--foreground); margin: 0; text-wrap: pretty; }

.customer-cabinet-page-shell .od-aside { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 14px; }

@media (max-width: 1024px){ .customer-cabinet-page-shell .od-aside { position: static; } }

.customer-cabinet-page-shell .od-facts { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 20px; box-shadow: var(--shadow-xs); }

/* customer-cabinet-desktop/03-customer-cabinet-desktop.css */
.customer-cabinet-page-shell .od-facts .budget-l { font-size: 13px; color: var(--foreground); }

.customer-cabinet-page-shell .od-facts .budget-v { font-size: 23px; font-weight: 800; letter-spacing: -0.02em; margin: 3px 0 0; font-variant-numeric: tabular-nums; line-height: 1.2; }

.customer-cabinet-page-shell .od-facts .fdiv { height: 1px; background: var(--border); margin: 16px -20px; }

.customer-cabinet-page-shell .od-frow { display: flex; align-items: flex-start; gap: 12px; }

.customer-cabinet-page-shell .od-frow + .od-frow { margin-top: 15px; }

.customer-cabinet-page-shell .od-frow i.fi, .customer-cabinet-page-shell .od-frow svg.fi { width: 18px; height: 18px; color: var(--foreground); flex: none; margin-top: 1px; }

.customer-cabinet-page-shell .od-frow .fmain { min-width: 0; }

.customer-cabinet-page-shell .od-frow .fl { font-size: 12.5px; color: var(--foreground); }

.customer-cabinet-page-shell .od-frow .fv { font-size: 14.5px; font-weight: 600; margin-top: 2px; }

.customer-cabinet-page-shell .od-pay { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }

.customer-cabinet-page-shell .od-pay .p { display: inline-flex; align-items: center; height: 26px; padding: 0 9px; border-radius: 7px; background: var(--muted); border: 1px solid var(--border); font-size: 12.5px; font-weight: 600; }

/* order-detail: hero right (budget + actions) */

.customer-cabinet-page-shell .od-hero-l { min-width: 0; }

.customer-cabinet-page-shell .od-hero-r { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; flex: none; }

.customer-cabinet-page-shell .od-budget { text-align: right; }

.customer-cabinet-page-shell .od-budget .budget-l { font-size: 13px; color: var(--foreground); }

.customer-cabinet-page-shell .od-budget .budget-v { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; margin-top: 3px; font-variant-numeric: tabular-nums; line-height: 1.15; }

.customer-cabinet-page-shell .od-views { display: inline-flex; align-items: center; gap: 5px; }

.customer-cabinet-page-shell .od-views i, .customer-cabinet-page-shell .od-views svg { width: 14px; height: 14px; }

@media (max-width: 768px){ .customer-cabinet-page-shell .od-hero-r { align-items: flex-start; width: 100%; } .customer-cabinet-page-shell .od-budget { text-align: left; } }

/* order-detail: tabs */

.customer-cabinet-page-shell .od-tabs { display: flex; align-items: flex-end; gap: 28px; border-bottom: 2px solid oklch(0.84 0 0); margin: 6px 0 24px; flex-wrap: wrap; }

.customer-cabinet-page-shell .od-tab { position: relative; display: inline-flex; align-items: center; gap: 9px; height: 46px; padding: 0 2px; margin-bottom: -2px; border: none; background: none; cursor: pointer; font-family: inherit; font-size: 15.5px; font-weight: 600; color: var(--foreground); border-bottom: 2px solid transparent; white-space: nowrap; transition: color .12s ease; }

.customer-cabinet-page-shell .od-tab:hover { color: var(--foreground); }

.customer-cabinet-page-shell .od-tab[data-active="true"] { color: var(--foreground); border-bottom-color: var(--selected); }

.customer-cabinet-page-shell .od-tab .cnt { font-size: 12.5px; font-weight: 700; color: var(--foreground); background: var(--muted); border-radius: 999px; padding: 1px 8px; font-variant-numeric: tabular-nums; }

.customer-cabinet-page-shell .od-tab[data-active="true"] .cnt { background: var(--primary); color: #111; }

.customer-cabinet-page-shell .od-panel { display: none; }

.customer-cabinet-page-shell .od-panel[data-active="true"] { display: block; }

.customer-cabinet-page-shell .od-detailwrap { display: flex; flex-direction: column; gap: 24px; }

.customer-cabinet-page-shell .od-facts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px 30px; background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 24px; box-shadow: var(--shadow-xs); }

.customer-cabinet-page-shell .od-facts-grid .od-frow + .od-frow { margin-top: 0; }

/* order detail — список деталей (в стиле Профи) */

.customer-cabinet-page-shell .od-detail2 { display: flex; flex-direction: column; gap: 24px; }

.customer-cabinet-page-shell .od-list { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 2px 22px; box-shadow: var(--shadow-xs); }

.customer-cabinet-page-shell .od-li { display: flex; align-items: center; gap: 16px; padding: 17px 0; border-top: 1px solid var(--border); cursor: pointer; }

.customer-cabinet-page-shell .od-li:first-child { border-top: none; }

.customer-cabinet-page-shell .od-li-main { flex: 1; min-width: 0; }

.customer-cabinet-page-shell .od-li-l { font-size: 13px; color: var(--foreground); margin-bottom: 5px; }

.customer-cabinet-page-shell .od-li-v { font-size: 16px; color: var(--foreground); font-weight: 500; line-height: 1.45; text-wrap: pretty; }

.customer-cabinet-page-shell .od-li-chev { width: 18px; height: 18px; color: var(--muted-foreground); flex: none; opacity: .55; transition: opacity .12s ease, transform .12s ease; }

.customer-cabinet-page-shell .od-li:hover .od-li-chev { opacity: 1; transform: translateX(2px); }

.customer-cabinet-page-shell .od-files2-l { font-size: 13px; color: var(--foreground); margin-bottom: 10px; }

.customer-cabinet-page-shell .od-addfile { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 18px 20px; border: 1.5px dashed var(--border); border-radius: 14px; background: var(--card); font-family: inherit; font-size: 15px; font-weight: 500; color: var(--foreground); cursor: pointer; transition: border-color .12s ease, background .12s ease; }

.customer-cabinet-page-shell .od-addfile:hover { border-color: var(--selected); background: var(--muted); }

.customer-cabinet-page-shell .od-addfile i, .customer-cabinet-page-shell .od-addfile svg { width: 20px; height: 20px; color: var(--muted-foreground); }

.customer-cabinet-page-shell .od-filechips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }

.customer-cabinet-page-shell .od-filechip { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; background: var(--muted); border: 1px solid var(--border); border-radius: 8px; padding: 6px 10px; }

.customer-cabinet-page-shell .od-filechip i, .customer-cabinet-page-shell .od-filechip svg { width: 14px; height: 14px; color: var(--muted-foreground); }

.customer-cabinet-page-shell .od-visib-head { font-size: 13px; color: var(--foreground); margin-bottom: 10px; }

.customer-cabinet-page-shell .od-custcard { background: var(--card); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-xs); overflow: hidden; }

.customer-cabinet-page-shell .od-custcard-top { display: flex; align-items: center; gap: 14px; padding: 16px 18px; }

.customer-cabinet-page-shell .ocust-av { width: 46px; height: 46px; border-radius: 50%; background: #111; color: #fff; display: grid; place-items: center; font-size: 15px; font-weight: 700; flex: none; }

.customer-cabinet-page-shell .ocust-name { font-size: 16px; font-weight: 700; }

.customer-cabinet-page-shell .ocust-sub { font-size: 13px; color: var(--foreground); margin-top: 2px; }

.customer-cabinet-page-shell .od-verified { display: flex; align-items: center; gap: 8px; padding: 13px 18px; border-top: 1px solid var(--border); font-size: 14px; font-weight: 600; color: var(--success); }

.customer-cabinet-page-shell .od-verified i, .customer-cabinet-page-shell .od-verified svg { width: 17px; height: 17px; }

.customer-cabinet-page-shell .od-detailfoot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid var(--border); }

.customer-cabinet-page-shell .od-foot-acts { display: flex; gap: 10px; flex-wrap: wrap; }

.customer-cabinet-page-shell .od-foot-meta { display: flex; gap: 30px; }

.customer-cabinet-page-shell .od-foot-meta .fm-l { font-size: 12px; color: var(--foreground); }

.customer-cabinet-page-shell .od-foot-meta .fm-v { font-size: 14px; font-weight: 600; margin-top: 3px; font-variant-numeric: tabular-nums; }

.customer-cabinet-page-shell .ib { margin-bottom: 20px; }

.customer-cabinet-page-shell .resp-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 16px 24px; margin-top: 10px; padding: 6px 0 18px; min-width: 0; }

.customer-cabinet-page-shell .resp-head h2 { font-size: 19px; font-weight: 700; margin: 0; }

.customer-cabinet-page-shell .resp-head h2 span { color: var(--foreground); font-weight: 500; }

.customer-cabinet-page-shell .resp-tools { display: flex; align-items: center; justify-content: flex-end; gap: 12px; min-width: 0; max-width: 100%; flex-wrap: wrap; }

.customer-cabinet-page-shell .resp-filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 0; flex: 1 1 auto; }

.customer-cabinet-page-shell .resp-filters button { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--card); font-family: inherit; font-size: 13.5px; font-weight: 600; color: var(--foreground); cursor: pointer; }

.customer-cabinet-page-shell .resp-filters button span { font-size: 12px; color: var(--foreground); font-variant-numeric: tabular-nums; }

.customer-cabinet-page-shell .resp-filters button i, .customer-cabinet-page-shell .resp-filters button svg { width: 14px; height: 14px; }

.customer-cabinet-page-shell .resp-filters button:hover { background: var(--muted); }

.customer-cabinet-page-shell .resp-filters button[data-active="true"] { background: var(--selected); color: var(--on-selected); border-color: var(--selected); }

.customer-cabinet-page-shell .resp-filters button[data-active="true"] span { color: var(--on-selected); }

.customer-cabinet-page-shell .rc-statetag { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--muted); color: var(--foreground); }

.customer-cabinet-page-shell .rc-statetag.arch { background: var(--surface-strong); color: var(--foreground); }

.customer-cabinet-page-shell .rc-statetag.decl { background: oklch(0.577 0.245 27.325 / 0.12); color: color-mix(in oklab, var(--destructive) 78%, var(--foreground)); }

.customer-cabinet-page-shell .rc-secbtn.is-fav { color: var(--primary-hover); border-color: var(--primary); }

.customer-cabinet-page-shell .sortmini { display: inline-flex; align-items: center; gap: 8px; min-width: 0; font-size: 13.5px; color: var(--foreground); }

.customer-cabinet-page-shell .sortmini .resp-sort-trigger { height: 2.5rem; min-width: 170px; padding: 0 12px 0 13px; font-family: inherit; font-size: 14px; font-weight: 600; color: var(--foreground); background-color: var(--card); border-radius: calc(var(--radius) - 2px); cursor: pointer; transition: border-color .12s ease, box-shadow .12s ease; }

.customer-cabinet-page-shell .sortmini .resp-sort-trigger:hover { border-color: var(--foreground); }

.customer-cabinet-page-shell .resp-sort-content { z-index: 1000; min-width: 170px; font-family: inherit; }

.customer-cabinet-page-shell .view-toggle { display: inline-flex; flex: none; border: 1px solid var(--border); border-radius: calc(var(--radius) - 2px); overflow: hidden; }

.customer-cabinet-page-shell .view-toggle [data-slot="button"] { height: 36px; min-width: 116px; padding: 0 12px; border: none; background: var(--card); display: inline-flex; align-items: center; justify-content: center; gap: 7px; cursor: pointer; color: var(--foreground); font-family: inherit; font-size: 13px; font-weight: 600; }

.customer-cabinet-page-shell .view-toggle [data-slot="button"] + [data-slot="button"] { border-left: 1px solid var(--border); }

.customer-cabinet-page-shell .view-toggle [data-slot="button"][data-active="true"] { background: var(--muted); color: var(--foreground); }

.customer-cabinet-page-shell .view-toggle i, .customer-cabinet-page-shell .view-toggle svg.lucide { width: 16px; height: 16px; }

/* responses as cards */

.customer-cabinet-page-shell .resp-cards { display: flex; flex-direction: column; gap: 14px; }

.customer-cabinet-page-shell .rcard { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 24px 28px; box-shadow: var(--shadow-xs); display: grid; grid-template-columns: minmax(22rem, 1fr) minmax(15rem, 16rem) minmax(16rem, 17rem); gap: 0; align-items: stretch; }

/* customer-cabinet-desktop/04-customer-cabinet-desktop.css */
.customer-cabinet-page-shell .rc-main { min-width: 0; display: grid; gap: 10px; }

.customer-cabinet-page-shell .rc-top { display: flex; align-items: center; gap: 14px; min-width: 0; }

.customer-cabinet-page-shell .rc-av { width: 48px; height: 48px; border-radius: 12px; color: #fff; display: grid; place-items: center; font-size: 16px; font-weight: 700; flex: none; }

.customer-cabinet-page-shell .rc-person { min-width: 0; display: grid; gap: 6px; }

.customer-cabinet-page-shell .rc-name-row { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }

.customer-cabinet-page-shell .rc-name { min-width: 0; font-size: 18px; font-weight: 800; line-height: 1.1; }

.customer-cabinet-page-shell .rc-ver { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: var(--success); background: oklch(0.62 0.17 149 / 0.12); padding: 3px 9px; border-radius: 999px; }

.customer-cabinet-page-shell .rc-ver i, .customer-cabinet-page-shell .rc-ver svg { width: 13px; height: 13px; }

.customer-cabinet-page-shell .rc-newtag { justify-self: start; width: fit-content; font-size: 11px; font-weight: 800; color: #111; background: var(--primary); padding: 3px 9px; border-radius: 999px; }

.customer-cabinet-page-shell .rc-trust { display: flex; align-items: center; flex-wrap: wrap; gap: 7px 12px; color: var(--foreground); font-size: 13.5px; line-height: 1.35; }

.customer-cabinet-page-shell .rc-trust-item { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }

.customer-cabinet-page-shell .rc-trust-item i, .customer-cabinet-page-shell .rc-trust-item svg { width: 15px; height: 15px; color: var(--muted-foreground); flex: none; }

.customer-cabinet-page-shell .rc-trust-item .star { color: #E0A800; display: inline-flex; align-items: center; }

.customer-cabinet-page-shell .rc-trust-item .star i, .customer-cabinet-page-shell .rc-trust-item .star svg { color: #E0A800; fill: currentColor; }

.customer-cabinet-page-shell .rc-trust-item b { color: var(--foreground); font-weight: 700; font-variant-numeric: tabular-nums; }

.customer-cabinet-page-shell .rc-msg { max-width: 62ch; font-size: 14px; line-height: 1.45; color: var(--foreground); margin: 0; text-wrap: pretty; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.customer-cabinet-page-shell .rc-alert { display: inline-flex; align-items: center; gap: 6px; width: fit-content; max-width: 100%; padding: 6px 9px; border-radius: 10px; background: color-mix(in oklch, var(--muted) 72%, var(--card)); color: var(--foreground); font-size: 12.5px; font-weight: 700; line-height: 1.25; }

.customer-cabinet-page-shell .rc-alert i, .customer-cabinet-page-shell .rc-alert svg { width: 14px; height: 14px; flex: none; color: var(--muted-foreground); }

.customer-cabinet-page-shell .rc-offer { min-width: 0; display: grid; grid-template-columns: minmax(9rem, max-content) minmax(4.75rem, 1fr); gap: 10px 20px; align-content: center; padding: 4px 24px; border-left: 1px solid var(--border); }

.customer-cabinet-page-shell .rc-offer-item { display: grid; gap: 3px; min-width: 0; }

.customer-cabinet-page-shell .rc-offer-item span { color: var(--foreground); font-size: 11.5px; font-weight: 700; }

.customer-cabinet-page-shell .rc-price { font-size: 22px; font-weight: 850; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; line-height: 1.08; white-space: nowrap; }

.customer-cabinet-page-shell .rc-term { font-size: 15px; color: var(--foreground); font-weight: 800; white-space: nowrap; }

.customer-cabinet-page-shell .rc-note { font-size: 12.5px; color: var(--foreground); line-height: 1.3; }

.customer-cabinet-page-shell .rc-offer .rc-note { grid-column: 1 / -1; }

.customer-cabinet-page-shell .rc-actions { display: grid; grid-template-columns: minmax(0, 1fr); grid-auto-rows: minmax(2.875rem, auto); align-self: stretch; align-content: center; gap: 10px; min-width: 0; padding: 8px 0 8px 24px; border-left: 1px solid var(--border); }

.customer-cabinet-page-shell .rc-actions [data-slot="button"] { box-sizing: border-box; display: grid; grid-template-columns: 1rem minmax(0, 1fr); align-items: center; justify-content: start; width: 100%; min-width: 0; min-height: 2.875rem; height: auto; padding-block: 10px; column-gap: 8px; font-size: 15px; line-height: 1.25; text-align: left; white-space: normal; }

.customer-cabinet-page-shell .rc-actions [data-slot="button"] > i, .customer-cabinet-page-shell .rc-actions [data-slot="button"] > [data-slot="icon-anchor"] > i, .customer-cabinet-page-shell .rc-actions [data-slot="button"] > svg, .customer-cabinet-page-shell .rc-actions [data-slot="button"] > [data-slot="icon-anchor"] > svg { grid-column: 1; width: 16px; height: 16px; }

.customer-cabinet-page-shell .rc-actions .rc-action-label { grid-column: 2; min-width: 0; overflow: visible; overflow-wrap: anywhere; }

.customer-cabinet-page-shell .rc-actions .rc-profile { grid-template-columns: minmax(0, 1fr); }

.customer-cabinet-page-shell .rc-actions .rc-profile .rc-action-label { grid-column: 1; }

.customer-cabinet-page-shell .rc-actions [data-slot="button"]:disabled { cursor: not-allowed; }

.customer-cabinet-page-shell .rc-profile { color: var(--foreground); }

@media (max-width: 1024px){
    .customer-cabinet-page-shell .rcard { grid-template-columns: 1fr; gap: 14px; }
    .customer-cabinet-page-shell .rc-offer, .customer-cabinet-page-shell .rc-actions { border-left: none; padding-left: 0; padding-right: 0; border-top: 1px solid var(--border); padding-top: 14px; }
    .customer-cabinet-page-shell .rc-offer { grid-template-columns: repeat(2, minmax(0, max-content)) 1fr; align-items: baseline; gap: 8px 12px; }
    .customer-cabinet-page-shell .rc-note { grid-column: span 3; }
  }

.customer-cabinet-page-shell .rc-kebab-wrap { position: relative; flex: none; margin: -4px -6px 0 0; }

.customer-cabinet-page-shell .rc-kebab { width: 32px; height: 32px; border-radius: 8px; border: 1px solid transparent; background: transparent; color: var(--foreground); display: grid; place-items: center; cursor: pointer; transition: background .12s ease, border-color .12s ease, color .12s ease; }

.customer-cabinet-page-shell .rc-kebab:hover { background: var(--muted); border-color: var(--border); color: var(--foreground); }

.customer-cabinet-page-shell .rc-kebab i, .customer-cabinet-page-shell .rc-kebab svg { width: 18px; height: 18px; }

.customer-cabinet-page-shell .rc-menu { position: absolute; top: 36px; right: 0; min-width: 190px; background: var(--card); border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 12px 32px rgba(0,0,0,.14); padding: 6px; display: none; flex-direction: column; gap: 2px; z-index: 6; }

.customer-cabinet-page-shell .rc-menu.open { display: flex; }

.customer-cabinet-page-shell .rc-menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border: none; background: transparent; border-radius: 8px; font: inherit; font-size: 14px; color: var(--foreground); cursor: pointer; text-align: left; }

.customer-cabinet-page-shell .rc-menu button:hover { background: var(--muted); }

.customer-cabinet-page-shell .rc-menu button i, .customer-cabinet-page-shell .rc-menu button svg { width: 17px; height: 17px; color: var(--muted-foreground); flex: none; }

.customer-cabinet-page-shell .rc-menu button.danger { color: var(--destructive); }

.customer-cabinet-page-shell .rc-menu button.danger i, .customer-cabinet-page-shell .rc-menu button.danger svg { color: var(--destructive); }

.customer-cabinet-page-shell .rc-menu-sep { height: 1px; background: var(--border); margin: 4px 2px; }

@media (max-width: 560px){ .customer-cabinet-page-shell .rc-offer { grid-template-columns: 1fr; } .customer-cabinet-page-shell .rc-note { grid-column: auto; } }

/* responses as comparison table */

.customer-cabinet-page-shell .cmp-wrap { border: 1px solid var(--border); border-radius: 16px; overflow: hidden; background: var(--card); box-shadow: var(--shadow-xs); }

.customer-cabinet-page-shell .cmp { width: 100%; border-collapse: collapse; font-size: 14px; }

.customer-cabinet-page-shell .cmp th, .customer-cabinet-page-shell .cmp td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: middle; }

.customer-cabinet-page-shell .cmp thead th { background: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--foreground); }

.customer-cabinet-page-shell .cmp tbody tr:last-child td { border-bottom: none; }

.customer-cabinet-page-shell .cmp tbody tr:hover { background: var(--muted); }

.customer-cabinet-page-shell .cmp .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }

.customer-cabinet-page-shell .cmp .c-brig { display: flex; align-items: center; gap: 11px; min-width: 0; }

.customer-cabinet-page-shell .cmp .c-brig .cav { width: 38px; height: 38px; border-radius: 10px; color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 700; flex: none; }

.customer-cabinet-page-shell .cmp .c-brig .cn { font-weight: 700; font-size: 14.5px; display: flex; align-items: center; gap: 6px; }

.customer-cabinet-page-shell .cmp .c-brig .cn i, .customer-cabinet-page-shell .cmp .c-brig .cn svg.lucide { width: 13px; height: 13px; color: var(--primary-hover); }

.customer-cabinet-page-shell .cmp .c-brig .cs { font-size: 12.5px; color: var(--foreground); }

.customer-cabinet-page-shell .cmp .c-rating { display: inline-flex; align-items: center; gap: 5px; }

.customer-cabinet-page-shell .cmp .c-rating .star { color: #E0A800; display: inline-flex; }

.customer-cabinet-page-shell .cmp .c-rating .star i, .customer-cabinet-page-shell .cmp .c-rating .star svg.lucide { width: 13px; height: 13px; }

.customer-cabinet-page-shell .cmp .c-rating b { font-weight: 700; }

.customer-cabinet-page-shell .cmp .c-rating span { color: var(--foreground); font-size: 12.5px; }

.customer-cabinet-page-shell .cmp .c-price { font-weight: 800; font-size: 16px; }

.customer-cabinet-page-shell .cmp .best { position: relative; }

.customer-cabinet-page-shell .cmp .best-tag { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; color: var(--success); }

.customer-cabinet-page-shell .cmp .best-tag i, .customer-cabinet-page-shell .cmp .best-tag svg.lucide { width: 12px; height: 12px; }

.customer-cabinet-page-shell .cmp .c-act { white-space: nowrap; }

.customer-cabinet-page-shell .cmp .c-act [data-slot="button"] { height: 34px; font-size: 13px; padding: 0 14px; }

.customer-cabinet-page-shell .cmp-note { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--foreground); padding: 12px 16px; background: var(--muted); }

.customer-cabinet-page-shell .cmp-note i, .customer-cabinet-page-shell .cmp-note svg.lucide { width: 15px; height: 15px; }

/* inwork banner on detail */

.customer-cabinet-page-shell .inwork-banner { display: flex; align-items: center; gap: 14px; background: oklch(0.62 0.17 149 / 0.09); border: 1px solid oklch(0.62 0.17 149 / 0.3); border-radius: 14px; padding: 16px 18px; }

.customer-cabinet-page-shell .inwork-banner .ib-av { width: 44px; height: 44px; border-radius: 11px; color: #fff; display: grid; place-items: center; font-weight: 700; flex: none; }

.customer-cabinet-page-shell .inwork-banner .ib-main { flex: 1; min-width: 0; }

.customer-cabinet-page-shell .inwork-banner .ib-main .t { font-size: 15px; font-weight: 700; }

.customer-cabinet-page-shell .inwork-banner .ib-main .s { font-size: 13px; color: var(--foreground); margin-top: 2px; }

.customer-cabinet-page-shell .inwork-banner i.lead { width: 22px; height: 22px; color: var(--success); flex: none; }

/* ===== profile ===== */

.customer-cabinet-page-shell .phero { background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 24px; display: flex; gap: 20px; align-items: center; flex-wrap: wrap; box-shadow: var(--shadow-xs); }

.customer-cabinet-page-shell .phero .pic { width: 92px; height: 92px; border-radius: 50%; background: #111; color: #fff; flex: none; display: grid; place-items: center; font-size: 30px; font-weight: 800; }

.customer-cabinet-page-shell .phero-main { flex: 1; min-width: 220px; }

.customer-cabinet-page-shell .phero-name { display: flex; align-items: center; gap: 11px; flex-wrap: wrap; }

.customer-cabinet-page-shell .phero-name h1 { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; margin: 0; }

.customer-cabinet-page-shell .ver-badge { display: inline-flex; align-items: center; gap: 5px; background: oklch(0.62 0.17 149 / 0.12); color: var(--success); font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }

.customer-cabinet-page-shell .ver-badge i, .customer-cabinet-page-shell .ver-badge svg.lucide { width: 14px; height: 14px; }
/*
  A phone that is not confirmed is a warning, and it was drawn as the confirmation: `.ver-badge`
  is green and nothing restyled `.is-warning`, so "Телефон не подтверждён" wore the colour of
  "Телефон подтверждён". The warning tint with black text -- the token's own foreground.
*/
.customer-cabinet-page-shell .ver-badge.is-warning { background: oklch(0.78 0.16 76 / 0.22); color: var(--foreground); }

.customer-cabinet-page-shell .phero-meta { display: flex; align-items: center; gap: 7px 18px; flex-wrap: wrap; font-size: 14px; color: var(--foreground); margin-top: 7px; }

.customer-cabinet-page-shell .phero-meta .m { display: inline-flex; align-items: center; gap: 6px; }

.customer-cabinet-page-shell .phero-meta .m i, .customer-cabinet-page-shell .phero-meta .m svg.lucide { width: 15px; height: 15px; }

/* customer-cabinet-desktop/05-customer-cabinet-desktop.css */
.customer-cabinet-page-shell .phero-act { display: flex; gap: 9px; }

.customer-cabinet-page-shell .pstats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }

@media (max-width: 640px){ .customer-cabinet-page-shell .pstats { grid-template-columns: 1fr 1fr; } }

.customer-cabinet-page-shell .pstat { position: relative; display: flex; min-height: 96px; height: auto !important; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 16px 18px; border: 1px solid var(--border); text-align: left; color: var(--foreground); font: inherit; cursor: pointer; appearance: none; transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease, background 0.16s ease; }

.customer-cabinet-page-shell .pstat:hover { border-color: oklch(0.82 0.14 83); box-shadow: 0 8px 24px oklch(0 0 0 / 0.08); transform: translateY(-1px); }

.customer-cabinet-page-shell .pstat:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }

.customer-cabinet-page-shell .pstat.is-empty { color: var(--foreground); background: var(--surface-subtle); }

.customer-cabinet-page-shell .pstat.is-empty:hover { border-color: var(--border); box-shadow: var(--shadow-xs); transform: none; }

.customer-cabinet-page-shell .pstat-copy { min-width: 0; display: grid; gap: 7px; align-content: start; }

.customer-cabinet-page-shell .pstat-arrow { width: 17px; height: 17px; flex: none; margin-top: 2px; color: var(--muted-foreground); }

.customer-cabinet-page-shell .pstat .v { display: block; font-size: 25px; font-weight: 800; letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums; }

.customer-cabinet-page-shell .pstat .l { display: block; font-size: 13px; color: var(--foreground); line-height: 1.25; overflow-wrap: anywhere; }

.customer-cabinet-page-shell .cabinet-section-card { padding: 22px 24px; }

.customer-cabinet-page-shell .cabinet-section-card-header { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; }

.customer-cabinet-page-shell .cabinet-section-card-header h2 { font-size: 18px; font-weight: 700; margin: 0; }

.customer-cabinet-page-shell .cabinet-section-card-action { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: var(--foreground); cursor: pointer; padding: 7px 12px; border-radius: 9px; border: 1px solid var(--border); background: var(--card); }

.customer-cabinet-page-shell .cabinet-section-card-action:hover { background: var(--muted); }

.customer-cabinet-page-shell .cabinet-section-card-action i, .customer-cabinet-page-shell .cabinet-section-card-action svg.lucide { width: 16px; height: 16px; }

.customer-cabinet-page-shell .about-text { font-size: 15px; line-height: 1.6; color: var(--foreground); margin: 0; }

.customer-cabinet-page-shell .obj-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

@media (max-width: 600px){ .customer-cabinet-page-shell .obj-grid { grid-template-columns: 1fr; } }

.customer-cabinet-page-shell .obj { display: flex; align-items: center; gap: 12px; }

.customer-cabinet-page-shell .obj .oi { width: 42px; height: 42px; border-radius: 11px; background: var(--muted); display: grid; place-items: center; flex: none; }

.customer-cabinet-page-shell .obj .oi i, .customer-cabinet-page-shell .obj .oi svg.lucide { width: 20px; height: 20px; color: var(--foreground); }

.customer-cabinet-page-shell .obj .ol { font-size: 12.5px; color: var(--foreground); }

.customer-cabinet-page-shell .obj .ov { font-size: 15px; font-weight: 600; margin-top: 2px; }

.customer-cabinet-page-shell .profile-editor { display: grid; gap: 18px; }

.customer-cabinet-page-shell .profile-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 920px; }

.customer-cabinet-page-shell .profile-form-wide { grid-column: 1 / -1; }

.customer-cabinet-page-shell .profile-form label { display: grid; gap: 7px; min-width: 0; font-size: 13px; font-weight: 700; color: var(--foreground); }

.customer-cabinet-page-shell .profile-form [data-slot="input"] { width: 100%; height: 46px; padding: 0 13px; border: 1px solid var(--input); border-radius: 10px; background: var(--card); color: var(--foreground); font: inherit; font-size: 14.5px; outline: none; box-shadow: var(--shadow-xs); }

.customer-cabinet-page-shell .profile-form [data-slot="input"]::placeholder { color: var(--muted-foreground); }

.customer-cabinet-page-shell .profile-form [data-slot="input"]:focus { border-color: var(--selected); box-shadow: 0 0 0 3px color-mix(in srgb, #111 10%, transparent); }

.customer-cabinet-page-shell .profile-avatar-upload { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 16px; border: 1px solid var(--border); border-radius: 14px; background: var(--muted); }

.customer-cabinet-page-shell .profile-avatar-preview { width: 88px; height: 88px; padding: 0; border: 0; border-radius: 50%; overflow: hidden; background: #111; color: #fff; display: grid; place-items: center; font: inherit; font-size: 28px; font-weight: 800; cursor: pointer; box-shadow: var(--shadow-xs); }

.customer-cabinet-page-shell .profile-avatar-preview img { width: 100%; height: 100%; object-fit: cover; }

.customer-cabinet-page-shell .profile-avatar-preview:disabled { cursor: not-allowed; opacity: .65; }

.customer-cabinet-page-shell .profile-avatar-copy { min-width: 0; display: grid; gap: 3px; font-size: 13px; color: var(--foreground); }

.customer-cabinet-page-shell .profile-avatar-copy b { font-size: 15px; color: var(--foreground); }

.customer-cabinet-page-shell .profile-avatar-copy em { color: var(--destructive); font-style: normal; font-weight: 600; }

.customer-cabinet-page-shell .profile-avatar-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 14px; border: 1px solid var(--border); border-radius: 10px; background: var(--card); color: var(--foreground); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; white-space: nowrap; box-shadow: var(--shadow-xs); }

.customer-cabinet-page-shell .profile-avatar-button:hover { background: var(--background); }

.customer-cabinet-page-shell .profile-avatar-button:disabled { cursor: not-allowed; opacity: .65; }

.customer-cabinet-page-shell .profile-avatar-button i, .customer-cabinet-page-shell .profile-avatar-button svg { width: 17px; height: 17px; }

.customer-cabinet-page-shell .profile-avatar-input { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; opacity: 0; overflow: hidden; clip: rect(0 0 0 0); }

.customer-cabinet-page-shell .profile-form-note { display: inline-flex; align-items: center; gap: 9px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--muted); color: var(--foreground); font-size: 14px; font-weight: 600; }

.customer-cabinet-page-shell .profile-form-note i, .customer-cabinet-page-shell .profile-form-note svg { width: 18px; height: 18px; color: var(--primary-hover); flex: none; }

.customer-cabinet-page-shell .profile-form-error { margin: 0; color: var(--destructive); font-size: 14px; font-weight: 700; }

.customer-cabinet-page-shell .profile-form-actions { display: flex; align-items: center; gap: 10px; }

@media (max-width: 768px) {
    .customer-cabinet-page-shell .profile-form { grid-template-columns: 1fr; max-width: none; }
    .customer-cabinet-page-shell .profile-avatar-upload { grid-template-columns: 72px minmax(0, 1fr); align-items: start; }
    .customer-cabinet-page-shell .profile-avatar-preview { width: 72px; height: 72px; font-size: 23px; }
    .customer-cabinet-page-shell .profile-avatar-button { grid-column: 2; justify-self: start; }
    .customer-cabinet-page-shell .profile-form-actions [data-slot="button"] { width: 100%; }
  }

/* ===== favourites ===== */

.customer-cabinet-page-shell .fav-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }

@media (max-width: 768px){ .customer-cabinet-page-shell .fav-grid { grid-template-columns: 1fr; } }

.customer-cabinet-page-shell .fav { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 18px 20px; box-shadow: var(--shadow-xs); }

.customer-cabinet-page-shell .fav-top { display: flex; align-items: center; gap: 13px; }

.customer-cabinet-page-shell .fav-av { width: 50px; height: 50px; border-radius: 13px; color: #fff; display: grid; place-items: center; font-size: 16px; font-weight: 700; flex: none; }

.customer-cabinet-page-shell .fav-name { font-size: 16px; font-weight: 700; display: flex; align-items: center; gap: 6px; }

.customer-cabinet-page-shell .fav-name i, .customer-cabinet-page-shell .fav-name svg.lucide { width: 15px; height: 15px; color: var(--primary-hover); }

.customer-cabinet-page-shell .fav-spec { font-size: 13px; color: var(--foreground); margin-top: 2px; }

/* `flex: none`: beside a long speciality the rating shrank to 26px on a phone and «4,6» was drawn over «(6)». */
.customer-cabinet-page-shell .fav-rating { display: inline-flex; flex: none; align-items: center; gap: 5px; font-size: 13px; color: var(--foreground); margin-left: auto; white-space: nowrap; }

.customer-cabinet-page-shell .fav-rating .star { color: #E0A800; display: inline-flex; flex: none; }

.customer-cabinet-page-shell .fav-rating .star i, .customer-cabinet-page-shell .fav-rating .star svg.lucide { width: 14px; height: 14px; }

.customer-cabinet-page-shell .fav-rating b { color: var(--foreground); font-weight: 700; }

.customer-cabinet-page-shell .fav-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); }

.customer-cabinet-page-shell .fav-from { font-size: 13px; color: var(--foreground); }

.customer-cabinet-page-shell .fav-from b { color: var(--foreground); font-weight: 700; font-variant-numeric: tabular-nums; }

.customer-cabinet-page-shell .fav-acts { display: flex; gap: 8px; }

.customer-cabinet-page-shell .fav-invited { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }

.customer-cabinet-page-shell .fav-invited li { display: flex; align-items: flex-start; gap: 8px; min-width: 0; font-size: 13px; line-height: 1.4; color: var(--foreground); }

.customer-cabinet-page-shell .fav-invited li i, .customer-cabinet-page-shell .fav-invited li svg { width: 14px; height: 14px; flex: 0 0 auto; margin-top: 2px; }

.customer-cabinet-page-shell .fav-invited-order { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }

.customer-cabinet-page-shell .fav-invited-status { flex: 0 0 auto; font-weight: 600; }

.customer-cabinet-page-shell .od-invitations { margin: 0; padding: 18px 22px; border: 1px solid var(--border); border-radius: 16px; background: var(--card); box-shadow: var(--shadow-xs); }

.customer-cabinet-page-shell .od-invitations-title { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 15px; line-height: 1.3; font-weight: 700; color: var(--foreground); }

.customer-cabinet-page-shell .od-invitations-title i, .customer-cabinet-page-shell .od-invitations-title svg { width: 16px; height: 16px; flex: 0 0 auto; }

.customer-cabinet-page-shell .od-invitations-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }

.customer-cabinet-page-shell .od-invitations-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; font-size: 14px; line-height: 1.4; color: var(--foreground); }

.customer-cabinet-page-shell .od-invitation-name { min-width: 0; overflow-wrap: anywhere; }

.customer-cabinet-page-shell .od-invitation-status { flex: 0 0 auto; font-weight: 600; }

.customer-cabinet-page-shell .od-invitation-state { display: flex; flex: 0 1 auto; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 6px 10px; min-width: 0; }

/* ===== my reviews ===== */

.customer-cabinet-page-shell .myrev { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 18px 20px; box-shadow: var(--shadow-xs); }

.customer-cabinet-page-shell .myrev-top { display: flex; align-items: center; gap: 12px; }

.customer-cabinet-page-shell .myrev-av { width: 42px; height: 42px; border-radius: 11px; color: #fff; display: grid; place-items: center; font-size: 14px; font-weight: 700; flex: none; }

.customer-cabinet-page-shell .myrev-to { font-size: 15.5px; font-weight: 700; }

.customer-cabinet-page-shell .myrev-order { font-size: 12.5px; color: var(--foreground); margin-top: 1px; }

.customer-cabinet-page-shell .myrev-stars { display: inline-flex; gap: 2px; color: #E0A800; margin-left: auto; }

.customer-cabinet-page-shell .myrev-stars i, .customer-cabinet-page-shell .myrev-stars svg.lucide { width: 16px; height: 16px; }

.customer-cabinet-page-shell .myrev-date { font-size: 12.5px; color: var(--foreground); }

.customer-cabinet-page-shell .myrev-text { font-size: 14.5px; line-height: 1.55; margin: 12px 0 0; }

/* Telegram-style messenger */

.customer-cabinet-page-shell .tg { display: grid; grid-template-columns: 340px 1fr; height: calc(100vh - 128px); background: var(--card); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }

@media (max-width: 767px){ .customer-cabinet-page-shell .tg { grid-template-columns: 1fr; } .customer-cabinet-page-shell .tg-conv { display: none; } }

.customer-cabinet-page-shell .tg-list { border-right: 1px solid var(--border); display: flex; flex-direction: column; min-height: 0; }

.customer-cabinet-page-shell .tg-search { padding: 12px; border-bottom: 1px solid var(--border); }

.customer-cabinet-page-shell .tg-search .sb-input-group { width: 100%; height: 2.5rem; }

.customer-cabinet-page-shell .tg-chats { flex: 1; overflow-y: auto; }

.customer-cabinet-page-shell .tg-chat { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 14px; border: none; background: none; cursor: pointer; font-family: inherit; text-align: left; border-bottom: 1px solid var(--border); }

.customer-cabinet-page-shell .tg-chat:hover, .customer-cabinet-page-shell .tg-chat.on { background: var(--muted); }

.customer-cabinet-page-shell .tg-av { width: 48px; height: 48px; border-radius: 50%; background: #111; color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 16px; flex: none; position: relative; }

/* customer-cabinet-desktop/06-customer-cabinet-desktop.css */
.customer-cabinet-page-shell .tg-on { position: absolute; right: 0; bottom: 0; width: 12px; height: 12px; border-radius: 50%; background: #4ade80; border: 2px solid var(--card); }

.customer-cabinet-page-shell .tg-cm { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }

.customer-cabinet-page-shell .tg-cn { font-size: 15px; font-weight: 600; }

.customer-cabinet-page-shell .tg-cl { font-size: 13px; color: var(--foreground); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.customer-cabinet-page-shell .tg-cr { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: none; }

.customer-cabinet-page-shell .tg-ct { font-size: 12px; color: var(--foreground); }

.customer-cabinet-page-shell .tg-unread { background: var(--primary); color: #000; font-size: 11px; font-weight: 700; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; display: grid; place-items: center; }

.customer-cabinet-page-shell .tg-conv { display: flex; flex-direction: column; min-height: 0; background: var(--muted); }

.customer-cabinet-page-shell .tg-conv-head { display: flex; align-items: center; gap: 12px; padding: 10px 16px; background: var(--card); border-bottom: 1px solid var(--border); }

.customer-cabinet-page-shell .tg-conv-head .tg-av { width: 42px; height: 42px; font-size: 14px; }

.customer-cabinet-page-shell .tg-ch-tx { flex: 1; min-width: 0; }

.customer-cabinet-page-shell .tg-ch-n { font-size: 15px; font-weight: 700; }

.customer-cabinet-page-shell .tg-ch-s { font-size: 12px; color: var(--foreground); }

.customer-cabinet-page-shell .tg-ic { width: 40px; height: 40px; border-radius: 50%; border: none; background: none; display: grid; place-items: center; cursor: pointer; color: var(--foreground); flex: none; }

.customer-cabinet-page-shell .tg-ic:hover { background: var(--muted); }

.customer-cabinet-page-shell .tg-ic i, .customer-cabinet-page-shell .tg-ic svg { width: 20px; height: 20px; }

.customer-cabinet-page-shell .tg-scroll { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 6px; }

.customer-cabinet-page-shell .tg-day { align-self: center; background: color-mix(in oklch, var(--foreground) 14%, transparent); color: #fff; font-size: 12px; font-weight: 600; padding: 3px 12px; border-radius: 999px; margin-bottom: 6px; }

.customer-cabinet-page-shell .tg-msg { display: flex; }

.customer-cabinet-page-shell .tg-msg.out { justify-content: flex-end; }

.customer-cabinet-page-shell .tg-bub { position: relative; max-width: 78%; padding: 8px 12px 8px; border-radius: 14px; font-size: 15px; line-height: 1.4; box-shadow: var(--shadow-xs); }

.customer-cabinet-page-shell .tg-msg.in .tg-bub { background: var(--card); border-bottom-left-radius: 5px; }

.customer-cabinet-page-shell .tg-msg.out .tg-bub { background: var(--surface-accent-subtle); border-bottom-right-radius: 5px; }

.customer-cabinet-page-shell .tg-time { font-size: 11px; color: var(--foreground); margin-left: 10px; float: right; position: relative; top: 6px; }

.customer-cabinet-page-shell .tg-input { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: var(--card); border-top: 1px solid var(--border); }

.customer-cabinet-page-shell .tg-input input { flex: 1; border: none; outline: none; background: var(--muted); border-radius: 999px; height: 42px; padding: 0 16px; font-family: inherit; font-size: 15px; }

.customer-cabinet-page-shell .tg-send { width: 44px; height: 44px; border-radius: 50%; border: none; background: var(--primary); color: #000; display: grid; place-items: center; cursor: pointer; flex: none; }

.customer-cabinet-page-shell .tg-send:hover { background: var(--primary-hover); }

.customer-cabinet-page-shell .settings-card { padding: 22px 24px; }

.customer-cabinet-page-shell .settings-list { display: flex; flex-direction: column; gap: 0; }

.customer-cabinet-page-shell .settings-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto auto; align-items: center; gap: 14px; padding: 15px 0; border-top: 1px solid var(--border); }

.customer-cabinet-page-shell .settings-row:first-child { border-top: 0; padding-top: 0; }

.customer-cabinet-page-shell .settings-row:last-child { padding-bottom: 0; }

.customer-cabinet-page-shell .settings-row--stacked { grid-template-columns: 44px minmax(0, 1fr) auto; }

.customer-cabinet-page-shell .settings-icon { width: 38px; height: 38px; border-radius: 10px; background: var(--muted); color: var(--foreground); display: grid; place-items: center; flex: none; }

.customer-cabinet-page-shell .settings-icon i, .customer-cabinet-page-shell .settings-icon svg { width: 20px; height: 20px; }

.customer-cabinet-page-shell .settings-copy { min-width: 0; display: flex; flex-direction: column; gap: 3px; }

.customer-cabinet-page-shell .settings-title { color: var(--foreground); font-size: 15px; font-weight: 800; line-height: 1.25; overflow-wrap: anywhere; }

.customer-cabinet-page-shell .settings-sub { color: var(--foreground); font-size: 13px; line-height: 1.35; }

.customer-cabinet-page-shell .settings-state { justify-self: end; display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border-radius: 999px; background: var(--muted); color: var(--foreground); font-size: 12.5px; font-weight: 800; white-space: nowrap; }

.customer-cabinet-page-shell .settings-state.is-success { background: var(--surface-success-subtle); color: var(--text-success); }

.customer-cabinet-page-shell .settings-state.is-muted { color: var(--foreground); }

.customer-cabinet-page-shell .settings-state.is-danger { background: var(--surface-danger-subtle); color: color-mix(in oklab, var(--destructive) 78%, var(--foreground)); }

.customer-cabinet-page-shell .settings-action { justify-self: end; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 38px; padding: 0 14px; border: 1px solid var(--border); border-radius: 10px; background: var(--card); color: var(--foreground); font: inherit; font-size: 13.5px; font-weight: 800; cursor: pointer; box-shadow: var(--shadow-xs); white-space: nowrap; }

.customer-cabinet-page-shell .settings-action:hover { background: var(--muted); }

.customer-cabinet-page-shell .settings-action:disabled { opacity: .55; cursor: not-allowed; }

.customer-cabinet-page-shell .settings-action i, .customer-cabinet-page-shell .settings-action svg { width: 16px; height: 16px; }

.customer-cabinet-page-shell .notifications-read-all { flex: none; }

.customer-cabinet-page-shell .settings-switch { justify-self: end; width: 54px; height: 30px; border: 1px solid var(--border); border-radius: 999px; background: var(--muted); padding: 2px; display: inline-flex; align-items: center; cursor: pointer; transition: background-color .15s ease, border-color .15s ease; flex: none; }

.customer-cabinet-page-shell .settings-switch span { width: 24px; height: 24px; border-radius: 50%; background: var(--card); box-shadow: var(--shadow-xs); transform: translateX(0); transition: transform .15s ease; }

.customer-cabinet-page-shell .settings-switch.is-on { background: oklch(0.62 0.17 149 / 0.22); border-color: oklch(0.62 0.17 149 / 0.55); }

.customer-cabinet-page-shell .settings-switch.is-on span { background: oklch(0.62 0.17 149); transform: translateX(24px); }

.customer-cabinet-page-shell .settings-segmented { justify-self: end; display: inline-grid; grid-template-columns: repeat(3, minmax(96px, 1fr)); align-items: center; min-width: 304px; padding: 4px; gap: 2px; border-radius: 12px; background: var(--muted); border: 1px solid var(--border); }

.customer-cabinet-page-shell .settings-segmented button { box-sizing: border-box; min-width: 0; height: 36px; padding: 0 12px; border: none; border-radius: 9px; background: transparent; color: var(--foreground); font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; white-space: nowrap; }

.customer-cabinet-page-shell .settings-segmented button.is-active { background: var(--card); color: var(--foreground); box-shadow: var(--shadow-xs); }

.customer-cabinet-page-shell .settings-segmented button:disabled { cursor: not-allowed; opacity: .7; }

.customer-cabinet-page-shell .settings-actions { display: flex; align-items: center; gap: 10px; }

.customer-cabinet-page-shell .settings-danger { color: var(--destructive); }

.customer-cabinet-page-shell .notification-filter { display: inline-flex; align-items: center; align-self: flex-start; padding: 4px; gap: 2px; border: 1px solid var(--border); border-radius: 12px; background: var(--muted); }

.customer-cabinet-page-shell .notification-filter [data-slot="button"] { min-height: 34px; padding: 0 12px; border: 0; border-radius: 9px; background: transparent; color: var(--foreground); font: inherit; font-size: 13.5px; font-weight: 800; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; }

.customer-cabinet-page-shell .notification-filter [data-slot="button"].is-active { background: var(--card); color: var(--foreground); box-shadow: var(--shadow-xs); }

.customer-cabinet-page-shell .notification-filter [data-slot="button"] span { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: oklch(0.577 0.245 27.325); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; line-height: 1; }
/* ^ white on #ef4444 read 3.76:1; this red, the one of the «Срочно» badge, reads 4.77:1 and is fixed in both themes. */

.customer-cabinet-page-shell .notifications-card { padding: 0; overflow: hidden; }

.customer-cabinet-page-shell .notifications-list { display: flex; flex-direction: column; }

.customer-cabinet-page-shell .notification-date-group { display: flex; flex-direction: column; }

.customer-cabinet-page-shell .notification-date-group + .notification-date-group { border-top: 1px solid var(--border); }

.customer-cabinet-page-shell .notification-date-label { padding: 10px 16px 7px; color: var(--foreground); background: var(--surface-subtle); font-size: 12px; font-weight: 800; text-transform: uppercase; }

.customer-cabinet-page-shell .notification-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; border-top: 1px solid var(--border); background: var(--card); }

.customer-cabinet-page-shell .notification-date-label + .notification-row { border-top: 0; }

.customer-cabinet-page-shell .notification-row:first-child { border-top: 0; }

.customer-cabinet-page-shell .notification-row.is-unread { background: var(--surface-accent-subtle); box-shadow: inset 3px 0 0 var(--primary); }

.customer-cabinet-page-shell .notification-row.is-response.is-unread { box-shadow: inset 3px 0 0 var(--primary); }

.customer-cabinet-page-shell .notification-row.is-order.is-unread { box-shadow: inset 3px 0 0 #38bdf8; }

.customer-cabinet-page-shell .notification-row.is-support.is-unread { box-shadow: inset 3px 0 0 #a78bfa; }

.customer-cabinet-page-shell .notification-row.is-review.is-unread { box-shadow: inset 3px 0 0 #22c55e; }

.customer-cabinet-page-shell .notification-main { min-width: 0; display: grid; grid-template-columns: 38px minmax(0, 1fr) 8px 18px; align-items: center; gap: 12px; width: 100%; min-height: 76px; padding: 12px 0 12px 16px; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; appearance: none; }

.customer-cabinet-page-shell .notification-main:hover .notification-title { text-decoration: underline; text-underline-offset: 3px; }

.customer-cabinet-page-shell .notification-main:focus-visible { outline: 2px solid var(--primary); outline-offset: -4px; border-radius: 12px; }

.customer-cabinet-page-shell .notification-icon { width: 34px; height: 34px; border-radius: 10px; background: var(--muted); color: var(--muted-foreground); display: grid; place-items: center; flex: none; }

.customer-cabinet-page-shell .notification-row.is-unread .notification-icon { background: oklch(0.88 0.16 87 / 0.32); color: var(--foreground); }

.customer-cabinet-page-shell .notification-row.is-order.is-unread .notification-icon { background: #e0f2fe; color: #075985; }

.customer-cabinet-page-shell .notification-row.is-support.is-unread .notification-icon { background: #ede9fe; color: #5b21b6; }

.customer-cabinet-page-shell .notification-row.is-review.is-unread .notification-icon { background: #dcfce7; color: #166534; }

.customer-cabinet-page-shell .notification-icon i, .customer-cabinet-page-shell .notification-icon svg { width: 18px; height: 18px; }

.customer-cabinet-page-shell .notification-copy { min-width: 0; display: grid; gap: 4px; }

.customer-cabinet-page-shell .notification-title { font-size: 15px; font-weight: 800; color: var(--foreground); line-height: 1.25; }

.customer-cabinet-page-shell .notification-body { color: var(--foreground); font-size: 14px; line-height: 1.35; overflow-wrap: anywhere; }

.customer-cabinet-page-shell .notification-meta { color: var(--foreground); font-size: 12.5px; font-weight: 600; }

.customer-cabinet-page-shell .notification-unread-dot { width: 7px; height: 7px; border-radius: 999px; background: var(--primary); box-shadow: 0 0 0 3px oklch(0.88 0.16 87 / 0.18); }

/* customer-cabinet-desktop/07-customer-cabinet-desktop.css */
.customer-cabinet-page-shell .notification-chevron { width: 18px; height: 18px; color: var(--muted-foreground); }

.customer-cabinet-page-shell .notification-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding: 0 16px 0 0; flex-wrap: wrap; }

.customer-cabinet-page-shell .notification-actions .settings-state { white-space: nowrap; }

.customer-cabinet-page-shell .notification-read { min-height: 32px; padding: 0 10px; font-size: 12.5px; box-shadow: none; }

@media (max-width: 768px) {
    .customer-cabinet-page-shell .notification-row { grid-template-columns: minmax(0, 1fr) auto; align-items: stretch; }
    .customer-cabinet-page-shell .notification-main { grid-template-columns: 36px minmax(0, 1fr) 8px 16px; min-height: 76px; padding: 11px 0 11px 14px; gap: 10px; }
    .customer-cabinet-page-shell .notification-row .notification-actions { justify-self: end; justify-content: flex-end; padding-right: 14px; }
  }

.customer-cabinet-page-shell .rchat { display: grid; grid-template-columns: 340px 1fr; height: 560px; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; background: var(--card); box-shadow: var(--shadow-xs); }

.customer-cabinet-page-shell main[data-cab="messages"] { display: grid; grid-template-rows: minmax(0, 1fr); gap: 0; height: calc(100dvh - var(--customer-cabinet-chrome-height)); min-height: 0; overflow: hidden; }

.customer-cabinet-page-shell main[data-cab="messages"] .stroyban-order-chat, .customer-cabinet-page-shell main[data-cab="messages"] .rchat { width: 100%; height: 100%; min-height: 0; border-radius: 0; box-shadow: none; }

.customer-cabinet-page-shell .rchat-list { border-right: 1px solid var(--border); display: flex; flex-direction: column; min-height: 0; }

.customer-cabinet-page-shell .rchat-list-h { display: grid; grid-template-columns: minmax(0, 1fr); align-items: stretch; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--border); font-size: 13px; font-weight: 700; color: var(--foreground); }
.customer-cabinet-page-shell .rchat-search { width: 100%; }

.customer-cabinet-page-shell .rchat-thread { position: relative; }

.customer-cabinet-page-shell .rchat-tkebab-wrap { position: relative; margin-left: auto; flex: none; }

.customer-cabinet-page-shell .rchat-tkebab { width: 28px; height: 28px; border-radius: 7px; border: none; background: transparent; color: var(--foreground); display: grid; place-items: center; cursor: pointer; opacity: 0; }

.customer-cabinet-page-shell .rchat-thread:hover .rchat-tkebab, .customer-cabinet-page-shell .rchat-thread.on .rchat-tkebab { opacity: 1; }

.customer-cabinet-page-shell .rchat-tkebab:hover { background: var(--card); color: var(--foreground); }

.customer-cabinet-page-shell .rchat-tkebab i, .customer-cabinet-page-shell .rchat-tkebab svg { width: 16px; height: 16px; }

.customer-cabinet-page-shell .rchat-tmenu { position: absolute; top: 32px; right: 0; z-index: 8; min-width: 168px; background: var(--card); border: 1px solid var(--border); border-radius: 10px; box-shadow: 0 12px 32px rgba(0,0,0,.14); padding: 6px; display: none; flex-direction: column; gap: 2px; }

.customer-cabinet-page-shell .rchat-tmenu.open { display: flex; }

.customer-cabinet-page-shell .rchat-tmenu button { display: flex; align-items: center; gap: 9px; width: 100%; padding: 8px 10px; border: none; background: transparent; border-radius: 7px; font: inherit; font-size: 13.5px; color: var(--foreground); cursor: pointer; text-align: left; }

.customer-cabinet-page-shell .rchat-tmenu button:hover { background: var(--muted); }

.customer-cabinet-page-shell .rchat-tmenu button i, .customer-cabinet-page-shell .rchat-tmenu button svg { width: 16px; height: 16px; color: var(--muted-foreground); flex: none; }

.customer-cabinet-page-shell .rchat-tmenu button.danger, .customer-cabinet-page-shell .rchat-tmenu button.danger i, .customer-cabinet-page-shell .rchat-tmenu button.danger svg { color: var(--destructive); }

.customer-cabinet-page-shell .rchat-pin { width: 12px !important; height: 12px !important; color: var(--primary-hover); margin-right: 4px; vertical-align: -1px; }

.customer-cabinet-page-shell .rchat-threads { flex: 1; overflow-y: auto; }

.customer-cabinet-page-shell .rchat-thread { display: flex; align-items: center; gap: 11px; width: 100%; padding: 12px 14px; border: none; background: none; cursor: pointer; font-family: inherit; text-align: left; border-bottom: 1px solid var(--border); }

.customer-cabinet-page-shell .rchat-thread:hover { background: var(--muted); }

.customer-cabinet-page-shell .rchat-thread.on { background: var(--muted); box-shadow: inset 3px 0 0 var(--primary); }

.customer-cabinet-page-shell .rchat-tav { width: 42px; height: 42px; border-radius: 10px; color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; flex: none; }

.customer-cabinet-page-shell .rchat-tmain { min-width: 0; flex: 1; }

.customer-cabinet-page-shell .rchat-tname { font-size: 14.5px; font-weight: 600; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.customer-cabinet-page-shell .rchat-tsub { font-size: 13px; color: var(--foreground); font-variant-numeric: tabular-nums; margin-top: 2px; display: block; }

.customer-cabinet-page-shell .rchat-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--primary); flex: none; }

.customer-cabinet-page-shell .rchat-conv { display: flex; flex-direction: column; min-width: 0; }

.customer-cabinet-page-shell .rchat-offer { display: flex; align-items: center; gap: 13px; padding: 13px 18px; border-bottom: 1px solid var(--border); background: var(--background); }

.customer-cabinet-page-shell .rchat-offer-act { display: flex; align-items: center; gap: 8px; flex: none; }

.customer-cabinet-page-shell .rchat-offer-act .rc-kebab { border: 1px solid var(--border); }

.customer-cabinet-page-shell .rchat-offer .oav { width: 40px; height: 40px; border-radius: 10px; color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; flex: none; }

.customer-cabinet-page-shell .rchat-offer .oname { font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.customer-cabinet-page-shell .rchat-offer .osub { font-size: 12.5px; color: var(--foreground); margin-top: 1px; }

.customer-cabinet-page-shell .rchat-offer .oprice { margin-left: auto; text-align: right; padding-right: 4px; }

.customer-cabinet-page-shell .rchat-offer .oprice b { font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.01em; display: block; }

.customer-cabinet-page-shell .rchat-offer .oprice span { font-size: 11.5px; color: var(--foreground); }

.customer-cabinet-page-shell .rchat-offer .sb-btn { flex: none; }

.customer-cabinet-page-shell .rchat-scroll { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 6px; background-color: var(--stroyban-chat-surface); background-image: var(--stroyban-chat-pattern); background-size: var(--stroyban-chat-pattern-size); }

.customer-cabinet-page-shell .rchat-input { display: flex; min-height: 64px; align-items: center; gap: 8px; padding: 8px; border-top: 1px solid var(--stroyban-chat-pane-border); background: var(--card); }

.customer-cabinet-page-shell .rchat-input input { flex: 1; border: 0; outline: none; background: var(--muted); border-radius: 12px; height: 42px; padding: 0 14px; font-family: inherit; font-size: 16px; }

.customer-cabinet-page-shell .rchat-input input:focus { box-shadow: 0 0 0 2px color-mix(in oklch, var(--primary) 35%, transparent); }

.customer-cabinet-page-shell .rchat-send { width: 42px; height: 42px; border-radius: 12px; border: none; background: var(--primary); color: var(--primary-foreground); display: grid; place-items: center; cursor: pointer; flex: none; }

.customer-cabinet-page-shell .rchat-send:hover { background: var(--primary-hover); }

.customer-cabinet-page-shell .rchat-send:disabled { opacity: .45; cursor: not-allowed; }

.customer-cabinet-page-shell .support-chat-scroll { background-color: var(--stroyban-chat-surface); background-image: var(--stroyban-chat-pattern); background-size: var(--stroyban-chat-pattern-size); }

.customer-cabinet-page-shell .support-chat-message { display: flex; width: 100%; }

.customer-cabinet-page-shell .support-chat-message.is-user { justify-content: flex-end; }

.customer-cabinet-page-shell .support-chat-message.is-support { justify-content: flex-start; }

.customer-cabinet-page-shell .support-chat-bubble { min-width: 120px; max-width: min(62%, 560px); display: flex; flex-direction: column; gap: 5px; padding: 7px 12px; border: 1px solid var(--stroyban-chat-incoming-border); border-radius: 16px; background: var(--stroyban-chat-incoming); color: var(--stroyban-chat-incoming-text); font-size: 14px; line-height: 1.38; box-shadow: var(--shadow-xs); }

.customer-cabinet-page-shell .support-chat-message.is-user .support-chat-bubble { background: var(--stroyban-chat-outgoing); border-color: var(--stroyban-chat-outgoing-border); color: var(--stroyban-chat-outgoing-text); border-bottom-right-radius: 5px; }

.customer-cabinet-page-shell .support-chat-message.is-support .support-chat-bubble { border-bottom-left-radius: 5px; }

.customer-cabinet-page-shell .support-chat-bubble time { align-self: flex-end; font-size: 11px; color: var(--foreground); font-variant-numeric: tabular-nums; }

.customer-cabinet-page-shell .support-chat-message.is-user .support-chat-bubble time { color: var(--primary-foreground); }

.customer-cabinet-page-shell .support-chat-empty { margin: auto; max-width: 320px; display: grid; gap: 6px; text-align: center; color: var(--foreground); }

.customer-cabinet-page-shell .support-chat-empty b { color: var(--foreground); font-size: 16px; }

.customer-cabinet-page-shell .support-chat-empty span { font-size: 14px; line-height: 1.45; }

.customer-cabinet-page-shell .support-chat-state { align-self: center; margin-top: 4px; color: var(--foreground); font-size: 13px; }

@media (max-width: 768px){
    .customer-cabinet-page-shell .rchat { grid-template-columns: 1fr; height: 600px; }
    .customer-cabinet-page-shell main[data-cab="messages"] { height: calc(100dvh - 4rem - var(--sb-mobile-nav) - 44px); min-height: 520px; }
    .customer-cabinet-page-shell main[data-cab="messages"] .rchat { height: auto; }
    .customer-cabinet-page-shell .rchat.show-conv .rchat-list { display: none; }
  }

.customer-cabinet-page-shell .tg-send i, .customer-cabinet-page-shell .tg-send svg { width: 20px; height: 20px; }

/* customer-cabinet-desktop/08-customer-cabinet-desktop.css */
.customer-cabinet-page-shell .placeholder, .customer-cabinet-page-shell .resp-empty {
    min-height: 164px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
    padding: 40px 24px;
    color: var(--foreground);
    border: 2px dashed var(--border);
    border-radius: 16px;
  }

.customer-cabinet-page-shell .fav-grid > .placeholder { grid-column: 1 / -1; }

.customer-cabinet-page-shell .placeholder i, .customer-cabinet-page-shell .placeholder svg, .customer-cabinet-page-shell .resp-empty i, .customer-cabinet-page-shell .resp-empty svg { width: 30px; height: 30px; opacity: .55; flex: none; }

.customer-cabinet-page-shell .placeholder p, .customer-cabinet-page-shell .resp-empty p { margin: 0; font-size: 14.5px; line-height: 1.45; max-width: 44ch; }

.customer-cabinet-page-shell .resp-empty h2 { margin: 0; font-size: 16px; font-weight: 700; color: var(--foreground); }

.customer-cabinet-page-shell .resp-empty .resp-empty-icon { display: flex; align-items: center; justify-content: center; }

/* toast */

.customer-cabinet-page-shell .toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px); background: #111; color: #fff; font-size: 14.5px; padding: 12px 18px; border-radius: 12px; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; display: flex; align-items: center; gap: 10px; z-index: 90; }

.customer-cabinet-page-shell .toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.customer-cabinet-page-shell .toast i, .customer-cabinet-page-shell .toast svg.lucide { width: 17px; height: 17px; color: var(--primary); }

/* edit-order modal */

.customer-cabinet-page-shell .eo-overlay { position: fixed; inset: 0; z-index: 60; background: rgba(17,17,17,.44); display: flex; align-items: flex-start; justify-content: center; padding: 56px 20px; overflow-y: auto; }

.customer-cabinet-page-shell .eo-overlay[hidden] { display: none; }

.customer-cabinet-page-shell .eo-modal { width: 100%; max-width: 560px; background: var(--card); border: 1px solid var(--border); border-radius: 18px; box-shadow: 0 24px 60px rgba(0,0,0,.24); overflow: hidden; }

.customer-cabinet-page-shell .eo-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; border-bottom: 1px solid var(--border); }

.customer-cabinet-page-shell .eo-head h2 { font-size: 19px; font-weight: 800; margin: 0; }

.customer-cabinet-page-shell .eo-x { width: 34px; height: 34px; border-radius: 9px; border: 1px solid transparent; background: transparent; color: var(--foreground); display: grid; place-items: center; cursor: pointer; }

.customer-cabinet-page-shell .eo-x:hover { background: var(--muted); color: var(--foreground); }

.customer-cabinet-page-shell .eo-x i, .customer-cabinet-page-shell .eo-x svg { width: 19px; height: 19px; }

.customer-cabinet-page-shell .eo-body { padding: 22px 24px; display: flex; flex-direction: column; gap: 16px; }

.customer-cabinet-page-shell .eo-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

@media (max-width: 520px){ .customer-cabinet-page-shell .eo-row2 { grid-template-columns: 1fr; } }

.customer-cabinet-page-shell .eo-field { display: flex; flex-direction: column; gap: 7px; }

.customer-cabinet-page-shell .eo-l { font-size: 13px; font-weight: 600; color: var(--foreground); }

.customer-cabinet-page-shell .eo-input { width: 100%; height: 44px; padding: 0 13px; font-size: 15px; font-family: inherit; color: var(--foreground); background: var(--card); border: 1px solid var(--border); border-radius: 10px; }

.customer-cabinet-page-shell textarea.eo-input { height: auto; padding: 11px 13px; line-height: 1.5; resize: vertical; }

.customer-cabinet-page-shell .eo-input:focus { outline: none; border-color: var(--selected); box-shadow: 0 0 0 3px color-mix(in srgb, #111 12%, transparent); }

.customer-cabinet-page-shell .eo-pay { display: flex; flex-wrap: wrap; gap: 9px; }

.customer-cabinet-page-shell .eo-chk { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border: 1px solid var(--border); border-radius: 10px; font-size: 14px; font-weight: 600; cursor: pointer; user-select: none; }

.customer-cabinet-page-shell .eo-chk input { width: 17px; height: 17px; accent-color: #111; cursor: pointer; }

.customer-cabinet-page-shell .eo-chk:has(input:checked) { border-color: var(--selected); background: var(--muted); }

.customer-cabinet-page-shell .eo-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 16px 24px 20px; border-top: 1px solid var(--border); }

/* ===== brigade profile drawer (справа, дизайн из «Профиль рабочего») ===== */

.customer-cabinet-page-shell .bd-overlay { position: fixed; inset: 0; z-index: 80; background: oklch(0.145 0 0 / 0.5); backdrop-filter: blur(2px); opacity: 0; pointer-events: none; transition: opacity .22s ease; }

.customer-cabinet-page-shell .bd-overlay.show { opacity: 1; pointer-events: auto; }

.customer-cabinet-page-shell .bd-panel { position: fixed; top: 0; right: 0; bottom: 0; width: clamp(400px, 33.333vw, 640px); max-width: 100vw; background: var(--muted); box-shadow: -18px 0 48px rgba(0,0,0,.24); transform: translateX(100%); transition: transform .28s cubic-bezier(.4,0,.2,1); display: flex; flex-direction: column; z-index: 81; }

.customer-cabinet-page-shell .bd-overlay.show .bd-panel { transform: translateX(0); }

.customer-cabinet-page-shell .bd-openfull { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; height: 36px; padding: 0 14px; border-radius: 9px; background: rgba(255,255,255,.12); color: #fff; font-size: 13.5px; font-weight: 600; }

.customer-cabinet-page-shell .bd-openfull:hover { background: rgba(255,255,255,.2); }

.customer-cabinet-page-shell .bd-openfull i, .customer-cabinet-page-shell .bd-openfull svg { width: 15px; height: 15px; }

@media (max-width: 560px){ .customer-cabinet-page-shell .bd-panel { width: 100vw; } }

.customer-cabinet-page-shell .bd-close { position: absolute; top: 14px; right: 14px; z-index: 3; width: 38px; height: 38px; border-radius: 10px; border: none; background: rgba(255,255,255,.14); color: #fff; display: grid; place-items: center; cursor: pointer; }

.customer-cabinet-page-shell .bd-close:hover { background: rgba(255,255,255,.26); }

.customer-cabinet-page-shell .bd-close i, .customer-cabinet-page-shell .bd-close svg { width: 20px; height: 20px; }

.customer-cabinet-page-shell .bd-scroll { flex: 1; overflow-y: auto; }

.customer-cabinet-page-shell .bd-foot { display: flex; gap: 10px; padding: 14px 18px; background: var(--card); border-top: 1px solid var(--border); }

.customer-cabinet-page-shell .bd-foot .sb-btn { flex: 1; height: 3rem; font-size: 15px; white-space: nowrap; }

.customer-cabinet-page-shell .bd-hero { background: #111; color: #fff; padding: 28px 22px 22px; display: flex; gap: 16px; align-items: flex-start; }

.customer-cabinet-page-shell .bd-pic { width: 72px; height: 72px; border-radius: 18px; color: #fff; display: grid; place-items: center; font-size: 24px; font-weight: 800; flex: none; }

.customer-cabinet-page-shell .bd-hero-main { min-width: 0; }

.customer-cabinet-page-shell .bd-hname { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.customer-cabinet-page-shell .bd-hname h2 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; margin: 0; }

.customer-cabinet-page-shell .bd-ver { display: inline-flex; align-items: center; gap: 5px; background: rgba(255,204,53,.16); color: var(--primary); font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 999px; }

.customer-cabinet-page-shell .bd-ver i, .customer-cabinet-page-shell .bd-ver svg { width: 13px; height: 13px; }

.customer-cabinet-page-shell .bd-hspec { font-size: 14px; color: var(--on-surface-inverse); margin: 8px 0 12px; }

.customer-cabinet-page-shell .bd-hmeta { display: flex; align-items: center; gap: 8px 16px; flex-wrap: wrap; font-size: 14px; color: var(--on-surface-inverse); }

.customer-cabinet-page-shell .bd-hmeta .m { display: inline-flex; align-items: center; gap: 6px; }

.customer-cabinet-page-shell .bd-hmeta .m i, .customer-cabinet-page-shell .bd-hmeta .m svg { width: 15px; height: 15px; color: #9a9a9a; }

.customer-cabinet-page-shell .bd-hmeta .rate { color: var(--primary); font-weight: 700; font-variant-numeric: tabular-nums; }

.customer-cabinet-page-shell .bd-hmeta .rate i, .customer-cabinet-page-shell .bd-hmeta .rate svg { color: var(--primary); }

.customer-cabinet-page-shell .bd-body { padding: 16px; display: flex; flex-direction: column; gap: 14px; }

.customer-cabinet-page-shell .bd-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 18px 20px; box-shadow: var(--shadow-xs); }

.customer-cabinet-page-shell .bd-card h3 { font-size: 16px; font-weight: 700; margin: 0 0 12px; }

.customer-cabinet-page-shell .bd-offer { background: var(--card); border: 1px solid var(--selected); border-radius: 16px; padding: 18px 20px; }

.customer-cabinet-page-shell .bd-offer-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }

.customer-cabinet-page-shell .bd-offer .op { font-size: 25px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.1; }

.customer-cabinet-page-shell .bd-offer .ol { font-size: 12px; color: var(--foreground); margin-bottom: 3px; }

.customer-cabinet-page-shell .bd-offer .oterm { font-size: 14px; color: var(--foreground); font-weight: 600; white-space: nowrap; }

.customer-cabinet-page-shell .bd-offer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); }

.customer-cabinet-page-shell .bd-offer-grid .gl { font-size: 12px; color: var(--foreground); }

.customer-cabinet-page-shell .bd-offer-grid .gv { font-size: 14px; font-weight: 600; margin-top: 2px; }

.customer-cabinet-page-shell .bd-msg { font-size: 14.5px; line-height: 1.6; color: var(--foreground); margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--border); text-wrap: pretty; }

.customer-cabinet-page-shell .bd-tags { display: flex; flex-wrap: wrap; gap: 8px; }

.customer-cabinet-page-shell .bd-tag { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 13px; border-radius: 999px; background: var(--muted); font-size: 13.5px; font-weight: 600; }

.customer-cabinet-page-shell .bd-tag i, .customer-cabinet-page-shell .bd-tag svg { width: 14px; height: 14px; color: var(--primary-hover); }

.customer-cabinet-page-shell .bd-pf { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.customer-cabinet-page-shell .bd-pf .t { border-radius: 12px; overflow: hidden; border: 1px solid var(--border); }

.customer-cabinet-page-shell .bd-pf .im { height: 92px; background: var(--muted); display: grid; place-items: center; color: oklch(0.78 0 0); }

.customer-cabinet-page-shell .bd-pf .im i, .customer-cabinet-page-shell .bd-pf .im svg { width: 24px; height: 24px; }

.customer-cabinet-page-shell .bd-pf .cp { padding: 8px 11px; font-size: 12.5px; font-weight: 600; }

.customer-cabinet-page-shell .bd-revsum { display: flex; align-items: center; gap: 18px; }

/* customer-cabinet-desktop/09-customer-cabinet-desktop.css */
.customer-cabinet-page-shell .bd-revscore { text-align: center; flex: none; }

.customer-cabinet-page-shell .bd-revscore .big { font-size: 36px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }

.customer-cabinet-page-shell .bd-revscore .st { display: inline-flex; gap: 1px; color: var(--primary); margin-top: 5px; }

.customer-cabinet-page-shell .bd-revscore .st i, .customer-cabinet-page-shell .bd-revscore .st svg { width: 13px; height: 13px; }

.customer-cabinet-page-shell .bd-revscore .cn { font-size: 12px; color: var(--foreground); margin-top: 4px; }

.customer-cabinet-page-shell .bd-rev { padding-top: 14px; border-top: 1px solid var(--border); margin-top: 14px; }

.customer-cabinet-page-shell .bd-rev .rt { display: flex; align-items: center; gap: 9px; }

.customer-cabinet-page-shell .bd-rev .rav { width: 32px; height: 32px; border-radius: 50%; background: var(--secondary); color: var(--secondary-foreground); display: grid; place-items: center; font-size: 12px; font-weight: 700; flex: none; }

.customer-cabinet-page-shell .bd-rev .rn { font-size: 14px; font-weight: 600; }

.customer-cabinet-page-shell .bd-rev .rd { font-size: 12px; color: var(--foreground); margin-left: auto; }

.customer-cabinet-page-shell .bd-rev .rx { font-size: 13.5px; line-height: 1.55; margin: 8px 0 0; color: var(--foreground); text-wrap: pretty; }

.customer-cabinet-page-shell .bd-alllink { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--foreground); }

.customer-cabinet-page-shell .bd-alllink:hover { color: var(--primary-hover); }

.customer-cabinet-page-shell .bd-alllink i, .customer-cabinet-page-shell .bd-alllink svg { width: 15px; height: 15px; }

/* media gallery */

body.sb-media-modal-open { overflow: hidden; }

.customer-cabinet-page-shell .sb-media-gallery { width: 100%; }

.customer-cabinet-page-shell .od-media .sb-media-gallery__grid { grid-template-columns: repeat(auto-fill, minmax(180px, 220px)); justify-content: start; gap: 12px; }

.customer-cabinet-page-shell .sb-media-gallery__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }

.customer-cabinet-page-shell .sb-media-gallery__thumb { position: relative; aspect-ratio: 1 / 1; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; padding: 0; background: var(--muted); cursor: pointer; box-shadow: var(--shadow-xs); }

.customer-cabinet-page-shell .sb-media-gallery__thumb img, .customer-cabinet-page-shell .sb-media-gallery__thumb video { width: 100%; height: 100%; object-fit: cover; display: block; }

.customer-cabinet-page-shell .sb-media-gallery__play, .customer-cabinet-page-shell .sb-media-gallery__more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.38); color: #fff; font-weight: 800; }

.customer-cabinet-page-shell .sb-media-gallery__play i, .customer-cabinet-page-shell .sb-media-gallery__play svg { width: 26px; height: 26px; fill: currentColor; }

.customer-cabinet-page-shell .sb-media-gallery__more { font-size: 22px; }

.customer-cabinet-page-shell .sb-media-lightbox { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 64px 76px; background: rgba(0,0,0,.86); color: #fff; }

.customer-cabinet-page-shell .sb-media-lightbox__stage { width: 100%; height: 100%; display: grid; place-items: center; min-width: 0; min-height: 0; }

.customer-cabinet-page-shell .sb-media-lightbox__stage img, .customer-cabinet-page-shell .sb-media-lightbox__stage video { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 12px; background: #000; box-shadow: 0 24px 80px rgba(0,0,0,.4); }

.customer-cabinet-page-shell .sb-media-lightbox__close, .customer-cabinet-page-shell .sb-media-lightbox__nav { position: fixed; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(8px); }

.customer-cabinet-page-shell .sb-media-lightbox__close { top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 12px; }

.customer-cabinet-page-shell .sb-media-lightbox__nav { top: 50%; transform: translateY(-50%); width: 48px; height: 64px; border-radius: 16px; }

.customer-cabinet-page-shell .sb-media-lightbox__nav--prev { left: 18px; }

.customer-cabinet-page-shell .sb-media-lightbox__nav--next { right: 18px; }

.customer-cabinet-page-shell .sb-media-lightbox__close i, .customer-cabinet-page-shell .sb-media-lightbox__close svg, .customer-cabinet-page-shell .sb-media-lightbox__nav i, .customer-cabinet-page-shell .sb-media-lightbox__nav svg { width: 24px; height: 24px; }

.customer-cabinet-page-shell .sb-media-lightbox__counter { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.14); font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }

.customer-cabinet-page-shell .sb-media-lightbox__counter i, .customer-cabinet-page-shell .sb-media-lightbox__counter svg { width: 16px; height: 16px; }

@media (max-width: 768px){
    .customer-cabinet-page-shell .sb-media-gallery__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .customer-cabinet-page-shell .sb-media-lightbox { padding: 64px 12px 76px; }
    .customer-cabinet-page-shell .sb-media-lightbox__nav { top: auto; bottom: 18px; transform: none; width: 48px; height: 48px; border-radius: 14px; }
    .customer-cabinet-page-shell .sb-media-lightbox__nav--prev { left: 16px; }
    .customer-cabinet-page-shell .sb-media-lightbox__nav--next { right: 16px; }
  }

/* customer cabinet cascade boundary
   The root layout preloads all runtime page styles. Customer cabinet therefore must not
   rely on unscoped legacy names such as .phero, .pstat, .ordcard or .ord-main:
   public/brigade styles use the same names and can win the cascade after route changes. */

.customer-cabinet-page-shell .ordcard {
  text-align: left;
}

.customer-cabinet-page-shell .ord-main {
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  min-height: 0;
  height: auto;
  padding: 0;
  text-align: left;
  white-space: normal;
}

.customer-cabinet-page-shell .ord-main:hover {
  background: transparent;
  color: inherit;
}

.customer-cabinet-page-shell .ord-main h3, .customer-cabinet-page-shell .ord-main .ord-badges, .customer-cabinet-page-shell .ord-main .ord-meta {
  align-self: stretch;
  justify-content: flex-start;
  text-align: left;
}

.customer-cabinet-page-shell .ord-meta {
  color: var(--foreground);
}

.customer-cabinet-page-shell .ord-meta .m {
  justify-content: flex-start;
}

.customer-cabinet-page-shell main[data-cab="profile"] .phero {
  background: var(--card);
  color: var(--foreground);
  border: 1px solid var(--border);
}

.customer-cabinet-page-shell main[data-cab="profile"] .phero-main, .customer-cabinet-page-shell main[data-cab="profile"] .phero-name, .customer-cabinet-page-shell main[data-cab="profile"] .phero-meta {
  min-width: 0;
  color: var(--foreground);
  text-align: left;
}

.customer-cabinet-page-shell main[data-cab="profile"] .phero-name h1 {
  color: var(--foreground);
}

.customer-cabinet-page-shell main[data-cab="profile"] .phero-meta {
  color: var(--foreground);
}

.customer-cabinet-page-shell main[data-cab="profile"] .phero-meta .m {
  color: var(--foreground);
}

.customer-cabinet-page-shell main[data-cab="profile"] .phero-meta .m i, .customer-cabinet-page-shell main[data-cab="profile"] .phero-meta .m svg {
  color: var(--muted-foreground);
}

.customer-cabinet-page-shell main[data-cab="profile"] .phero-act {
  display: flex;
  flex: 0 0 auto;
  gap: 9px;
  align-items: center;
}

.customer-cabinet-page-shell main[data-cab="profile"] .phero-act [data-slot="button"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 178px;
  min-width: 178px;
  height: 40px;
  padding: 0 14px;
  color: var(--foreground);
  background: var(--card);
  border: 1px solid var(--border);
  text-align: center;
  white-space: nowrap;
}

.customer-cabinet-page-shell main[data-cab="profile"] .phero-act [data-slot="button"]:hover {
  background: var(--muted);
  color: var(--foreground);
}

.customer-cabinet-page-shell main[data-cab="profile"] .phero-act [data-slot="button"] i, .customer-cabinet-page-shell main[data-cab="profile"] .phero-act [data-slot="button"] svg {
  width: 16px;
  height: 16px;
  color: currentColor;
}

.customer-cabinet-page-shell main[data-cab="profile"] .pstat {
  align-items: flex-start;
  justify-content: space-between;
  min-height: 96px;
  height: auto !important;
  text-align: left;
  color: var(--foreground);
}

/* Balance screen: the wallet, its payers, invoices and the movement history. */
.customer-cabinet-page-shell .wallet-balance-card { border: 1px solid var(--border); border-radius: 16px; background: var(--card); padding: 22px 24px; margin-bottom: 18px; display: grid; gap: 4px; }
.customer-cabinet-page-shell .wallet-balance-label { font-size: 13px; color: var(--foreground); }
.customer-cabinet-page-shell .wallet-balance-value { font-size: 32px; font-weight: 800; letter-spacing: -0.02em; }
.customer-cabinet-page-shell .wallet-frozen { margin: 6px 0 0; font-size: 13px; color: var(--destructive); }

.customer-cabinet-page-shell .wallet-section { border: 1px solid var(--border); border-radius: 16px; background: var(--card); padding: 20px 24px; margin-bottom: 16px; }
.customer-cabinet-page-shell .wallet-section h2 { font-size: 17px; font-weight: 700; margin: 0 0 4px; }
.customer-cabinet-page-shell .wallet-section-sub { margin: 0 0 16px; font-size: 13px; color: var(--foreground); }
.customer-cabinet-page-shell .wallet-empty { margin: 0; font-size: 14px; color: var(--foreground); }

.customer-cabinet-page-shell .wallet-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; }
.customer-cabinet-page-shell .wallet-field { display: grid; gap: 6px; min-width: 0; flex: 1 1 180px; }

.customer-cabinet-page-shell .wallet-payers { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.customer-cabinet-page-shell .wallet-payer { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; }
.customer-cabinet-page-shell .wallet-payer-title { font-size: 14px; font-weight: 600; }
.customer-cabinet-page-shell .wallet-payer-meta { font-size: 13px; color: var(--foreground); }

/* Adding a payer. Until this form existed a customer could only look at payers they already had,
   and the invoice block stays hidden until there is one — so a company had no route to a document
   it could pay. */
.customer-cabinet-page-shell .wallet-payer-add { margin-top: 12px; }
.customer-cabinet-page-shell .wallet-payer-form { display: grid; gap: 12px; margin-top: 12px; padding: 16px; border: 1px solid var(--border); border-radius: 12px; }
.customer-cabinet-page-shell .wallet-payer-kinds { display: flex; flex-wrap: wrap; gap: 8px; }
.customer-cabinet-page-shell .wallet-payer-field { display: grid; gap: 6px; min-width: 0; }
.customer-cabinet-page-shell .wallet-payer-offer { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.35; cursor: pointer; }
.customer-cabinet-page-shell .wallet-payer-offer input { margin-top: 2px; flex: none; }
.customer-cabinet-page-shell .wallet-payer-actions { display: flex; gap: 8px; }

/* The table scrolls inside its own box: the cabinet body must never scroll sideways. */
.customer-cabinet-page-shell .wallet-table-wrap { margin-top: 14px; overflow-x: auto; }
.customer-cabinet-page-shell .wallet-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.customer-cabinet-page-shell .wallet-table th { text-align: left; font-weight: 600; color: var(--foreground); padding: 8px 10px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.customer-cabinet-page-shell .wallet-table td { padding: 10px; border-bottom: 1px solid var(--border); }
.customer-cabinet-page-shell .wallet-table .num { text-align: right; }

.customer-cabinet-page-shell .wallet-entries { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.customer-cabinet-page-shell .wallet-entry { display: grid; grid-template-columns: max-content minmax(0, 1fr) max-content max-content; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; }
.customer-cabinet-page-shell .wallet-entry-kind { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--foreground); }
.customer-cabinet-page-shell .wallet-entry-text { font-size: 14px; min-width: 0; }
.customer-cabinet-page-shell .wallet-entry-date { font-size: 13px; color: var(--foreground); white-space: nowrap; font-variant-numeric: tabular-nums; }
.customer-cabinet-page-shell .wallet-entry-amount { font-size: 15px; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.customer-cabinet-page-shell .wallet-entry-amount[data-direction="debit"] { color: var(--destructive); }

@media (max-width: 768px) {
  .customer-cabinet-page-shell .wallet-balance-value { font-size: 26px; }
  .customer-cabinet-page-shell .wallet-section { padding: 16px; }
  .customer-cabinet-page-shell .wallet-entry { grid-template-columns: minmax(0, 1fr) max-content; row-gap: 4px; }
  .customer-cabinet-page-shell .wallet-entry-kind { grid-column: 1 / -1; }
  .customer-cabinet-page-shell .wallet-entry-date { grid-column: 1; }
}

/* The foot of a history read a page at a time: how much is on screen, and the way to the rest.
   The count and the button share one row; the reason a page did not come takes its own row
   underneath, so neither of them moves when it appears. */
.customer-cabinet-page-shell .wallet-list-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; min-height: 40px; margin-top: 14px; }
.customer-cabinet-page-shell .wallet-list-count { font-size: 13px; color: var(--foreground); font-variant-numeric: tabular-nums; }
.customer-cabinet-page-shell .wallet-list-error { order: 3; flex: 1 1 100%; margin: 0; font-size: 13px; line-height: 1.35; color: var(--destructive); }
.customer-cabinet-page-shell .wallet-list-more { min-width: 168px; margin-left: auto; }

@media (max-width: 768px) {
  .customer-cabinet-page-shell .wallet-list-more { flex: 1 1 100%; min-height: 44px; margin-left: 0; }
}

/* Why a write on the balance screen did not go through, under the control that started it. */
.customer-cabinet-page-shell .wallet-action-error { margin: 10px 0 0; font-size: 13px; line-height: 1.4; color: var(--destructive); }
.customer-cabinet-page-shell .wallet-offer .wallet-action-error { margin-top: 8px; }

/* Customer account 5.1: one compact row keeps status, order facts, budget and responses scannable. */
.customer-cabinet-page-shell .ordcard {
  grid-template-columns: minmax(0, 1fr) minmax(150px, 210px) minmax(170px, 220px);
  gap: 20px;
  align-items: center;
}
.customer-cabinet-page-shell .ord-main {
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  height: auto;
  padding: 0;
  text-align: left;
  white-space: normal;
}
.customer-cabinet-page-shell .ord-views {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--foreground);
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
}
.customer-cabinet-page-shell .ord-views i,
.customer-cabinet-page-shell .ord-views svg { width: 14px; height: 14px; }
.customer-cabinet-page-shell .ord-budget-column {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  text-align: right;
}
.customer-cabinet-page-shell .ord-budget-column b {
  color: var(--foreground);
  font-size: 16px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.customer-cabinet-page-shell .ord-budget-column span {
  color: var(--foreground);
  font-size: 12px;
  line-height: 1.35;
}
.customer-cabinet-page-shell .intake-draft-card .ord-right { grid-column: 3; }
.customer-cabinet-page-shell .od-secondary-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  margin: 0;
  padding: 18px 22px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--card);
  box-shadow: var(--shadow-xs);
}
.customer-cabinet-page-shell .od-secondary-facts > div { min-width: 180px; }
.customer-cabinet-page-shell .od-secondary-facts dt { color: var(--foreground); font-size: 12.5px; }
.customer-cabinet-page-shell .od-secondary-facts dd { margin: 4px 0 0; color: var(--foreground); font-size: 14px; font-weight: 600; }
.customer-cabinet-page-shell .resp-sort-options { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; }
.customer-cabinet-page-shell .resp-sort-options [data-slot="button"] { border-radius: 999px; }
.customer-cabinet-page-shell .resp-sort-options [data-active="true"] { border-color: var(--selected); background: var(--selected); color: var(--on-selected); }
.customer-cabinet-page-shell .rc-warranty { padding-top: 10px; border-top: 1px dashed var(--border); }
.customer-cabinet-page-shell .rc-warranty b { color: var(--foreground); font-size: 14px; }
.customer-cabinet-page-shell .rc-date { margin-left: auto; color: var(--foreground); font-size: 12px; font-weight: 400; }

@media (max-width: 1024px) {
  .customer-cabinet-page-shell .ordcard { grid-template-columns: minmax(0, 1fr) minmax(160px, 220px); }
  .customer-cabinet-page-shell .ord-budget-column { align-items: flex-start; text-align: left; }
  .customer-cabinet-page-shell .ord-right { grid-column: 2; grid-row: 2; }
  .customer-cabinet-page-shell .intake-draft-card .ord-right { grid-column: 2; grid-row: 1; }
}
+
/* Customer-owned worker directory. The table keeps its width inside the card; the side card is a
   resizable panel instead of a height-clipped dialog. */
.customer-cabinet-page-shell main[data-cab="workers"] { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.customer-cabinet-page-shell .workers-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.customer-cabinet-page-shell .workers-head h1 { margin: 0; font-size: 30px; }
.customer-cabinet-page-shell .workers-head p { margin: 6px 0 0; color: var(--foreground); }
.customer-cabinet-page-shell .workers-head-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.customer-cabinet-page-shell .workers-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); }
.customer-cabinet-page-shell .workers-tabs button { border-radius: 10px 10px 0 0; }
.customer-cabinet-page-shell .workers-tabs button[aria-selected="true"] { background: var(--selected); color: var(--on-selected); }
.customer-cabinet-page-shell .workers-tabs span { margin-left: 6px; font-variant-numeric: tabular-nums; }
.customer-cabinet-page-shell .workers-toolbar { display: grid; grid-template-columns: minmax(240px, 1fr) repeat(3, minmax(150px, auto)); gap: 10px; padding: 12px; }
.customer-cabinet-page-shell .workers-toolbar [data-slot="select-trigger"], .workers-panel [data-slot="select-trigger"] { min-height: 40px; width: 100%; }
.customer-cabinet-page-shell .workers-bulk { position: sticky; top: 10px; z-index: 4; display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: var(--foreground); color: var(--background); box-shadow: var(--shadow-lg); }
.customer-cabinet-page-shell .workers-table-card { min-width: 0; overflow: hidden; }
.customer-cabinet-page-shell .workers-table-scroll { max-width: 100%; overflow: auto; }
.customer-cabinet-page-shell .workers-table { width: 100%; min-width: 980px; border-collapse: collapse; font-size: 13px; }
.customer-cabinet-page-shell .workers-table th { position: sticky; top: 0; z-index: 1; padding: 10px; border-bottom: 1px solid var(--border); background: var(--card); text-align: left; white-space: nowrap; }
.customer-cabinet-page-shell .workers-table td { padding: 12px 10px; border-bottom: 1px solid var(--border); vertical-align: top; color: var(--foreground); }
.customer-cabinet-page-shell .workers-table td:first-child { width: 38px; }
.customer-cabinet-page-shell .workers-table small, .customer-cabinet-page-shell .workers-table a { display: block; margin-top: 4px; color: var(--foreground); }
.customer-cabinet-page-shell .workers-name { padding: 0; border: 0; background: transparent; color: var(--foreground); font: inherit; font-weight: 700; text-align: left; cursor: pointer; }
.customer-cabinet-page-shell .workers-site-mark { display: inline-flex; margin-top: 5px; border-radius: 999px; padding: 2px 7px; background: var(--selected); color: var(--on-selected); font-size: 11px; font-weight: 700; }
.customer-cabinet-page-shell .workers-rating { display: block; color: #b78200; letter-spacing: 1px; white-space: nowrap; }
.customer-cabinet-page-shell .workers-row-actions { display: flex; justify-content: flex-end; gap: 2px; }
.customer-cabinet-page-shell .workers-empty, .customer-cabinet-page-shell .workers-state { padding: 32px; text-align: center; color: var(--foreground); }
.workers-panel-backdrop { position: fixed; inset: 0; z-index: 220; display: flex; justify-content: flex-end; background: rgb(0 0 0 / .42); }
.workers-panel { width: min(560px, 92vw); min-width: 380px; max-width: 90vw; height: 100%; overflow: auto; resize: horizontal; background: var(--background); box-shadow: var(--shadow-xl); }
.workers-panel > header, .workers-import > header { position: sticky; top: 0; z-index: 2; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 20px 22px; border-bottom: 1px solid var(--border); background: var(--background); }
.workers-panel h2, .workers-import h2 { margin: 0; }
.workers-panel form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 22px; }
.workers-panel .workers-field { display: grid; gap: 6px; color: var(--foreground); font-size: 13px; font-weight: 600; }
.workers-panel .workers-field:last-of-type { grid-column: 1 / -1; }
.workers-panel [data-slot="textarea"] { min-height: 110px; resize: vertical; }
.workers-panel footer, .workers-import footer { display: flex; justify-content: flex-end; gap: 8px; grid-column: 1 / -1; padding-top: 8px; }
.workers-import { align-self: center; width: min(720px, calc(100vw - 40px)); max-height: min(760px, calc(100svh - 40px)); overflow: auto; margin: auto; border-radius: 16px; background: var(--background); box-shadow: var(--shadow-xl); }
.workers-import-counts { display: flex; gap: 18px; padding: 16px 22px; }
.workers-import ol { display: grid; gap: 6px; margin: 0; padding: 0 22px; list-style: none; }
.workers-import li { display: grid; grid-template-columns: 1fr auto; gap: 4px 14px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; }
.workers-import li small { grid-column: 1 / -1; color: var(--foreground); }
.workers-import li[data-status="invalid"] { border-color: var(--destructive); }
.workers-import footer { padding: 18px 22px 22px; }
/* Favorites: folder tree, ClickUp-style table, resizable side panel. */
.customer-cabinet-page-shell .fav-layout { display: flex; align-items: stretch; gap: 16px; min-width: 0; }
.customer-cabinet-page-shell .fav-tree-card { flex: 0 0 248px; display: flex; flex-direction: column; gap: 8px; padding: 12px; border: 1px solid var(--border); border-radius: 16px; background: var(--card); align-self: flex-start; }
.customer-cabinet-page-shell .fav-tree-root { display: flex; width: 100%; align-items: center; gap: 8px; justify-content: flex-start; font-weight: 700; }
.customer-cabinet-page-shell .fav-tree-root[aria-current="true"] { background: var(--muted); }
.customer-cabinet-page-shell .fav-tree { display: flex; flex-direction: column; gap: 2px; }
.customer-cabinet-page-shell .fav-tree-row { display: flex; align-items: center; gap: 4px; border-radius: 10px; }
.customer-cabinet-page-shell .fav-tree-row[data-active="true"] { background: var(--muted); }
.customer-cabinet-page-shell .fav-tree-name { display: flex; flex: 1; min-width: 0; align-items: center; gap: 6px; padding: 7px 8px; border: 0; background: transparent; color: var(--foreground); font: inherit; font-size: 13px; text-align: left; cursor: pointer; }
.customer-cabinet-page-shell .fav-tree-name span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.customer-cabinet-page-shell .fav-tree-count { margin-inline-start: auto; min-width: 22px; padding: 1px 7px; border-radius: 999px; background: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; text-align: center; }
.customer-cabinet-page-shell .fav-tree-tools { display: none; gap: 2px; }
.customer-cabinet-page-shell .fav-tree-row:hover .fav-tree-tools, .customer-cabinet-page-shell .fav-tree-row:focus-within .fav-tree-tools { display: inline-flex; }
.customer-cabinet-page-shell .fav-tree-tools button { display: inline-grid; place-items: center; width: 26px; height: 26px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--foreground); cursor: pointer; }
.customer-cabinet-page-shell .fav-tree-tools button:hover { background: var(--background); }
.customer-cabinet-page-shell .fav-tree-add { justify-content: flex-start; }
.customer-cabinet-page-shell .fav-tree-new { display: grid; gap: 6px; }
.customer-cabinet-page-shell .fav-tree-note { margin: 4px 2px 0; font-size: 12px; color: var(--foreground); }
.customer-cabinet-page-shell .fav-content { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.customer-cabinet-page-shell .fav-folder-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.customer-cabinet-page-shell .fav-folder-title { display: grid; gap: 2px; min-width: 0; }
.customer-cabinet-page-shell .fav-folder-title h2 { margin: 0; font-size: 20px; }
.customer-cabinet-page-shell .fav-folder-title small { color: var(--foreground); font-size: 12px; }
.customer-cabinet-page-shell .fav-folder-level { font-size: 12px; color: var(--foreground); }
.customer-cabinet-page-shell .fav-folder-actions { display: flex; gap: 8px; }
.customer-cabinet-page-shell .fav-subfolders { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.customer-cabinet-page-shell .fav-subfolder { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 12px; background: var(--card); color: var(--foreground); font: inherit; text-align: left; cursor: pointer; }
.customer-cabinet-page-shell .fav-subfolder:hover { border-color: var(--primary); }
.customer-cabinet-page-shell .fav-subfolder > span { display: grid; min-width: 0; flex: 1; }
.customer-cabinet-page-shell .fav-subfolder small { color: var(--foreground); font-size: 12px; }
.customer-cabinet-page-shell .fav-table td { vertical-align: middle; }
.customer-cabinet-page-shell .fav-row-person { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 0; border: 0; background: transparent; color: var(--foreground); font: inherit; text-align: left; cursor: pointer; }
.customer-cabinet-page-shell .fav-row-person .fav-av { width: 40px; height: 40px; border-radius: 11px; font-size: 14px; }
.customer-cabinet-page-shell .fav-row-person > span:last-child { display: grid; min-width: 0; gap: 2px; }
.customer-cabinet-page-shell .fav-row-person b, .customer-cabinet-page-shell .fav-row-person small { overflow-wrap: anywhere; }
.customer-cabinet-page-shell .fav-row-tools { display: flex; align-items: center; gap: 6px; }
.customer-cabinet-page-shell .fav-row-remove { display: inline-grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--foreground); cursor: pointer; }
.customer-cabinet-page-shell .fav-row-remove:hover { background: var(--muted); color: var(--destructive); }
.customer-cabinet-page-shell .fav-panel { position: relative; flex: none; display: flex; border: 1px solid var(--border); border-radius: 16px; background: var(--card); overflow: hidden; }
.customer-cabinet-page-shell .fav-panel-resizer { flex: 0 0 6px; cursor: col-resize; background: var(--border); touch-action: none; }
.customer-cabinet-page-shell .fav-panel-resizer:hover, .customer-cabinet-page-shell .fav-panel-resizer:active { background: var(--primary); }
.customer-cabinet-page-shell .fav-panel-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 14px; padding: 16px; overflow-y: auto; }
.customer-cabinet-page-shell .fav-panel-head { display: flex; align-items: center; gap: 12px; }
.customer-cabinet-page-shell .fav-panel-head .fav-av { width: 44px; height: 44px; }
.customer-cabinet-page-shell .fav-panel-close { margin-inline-start: auto; display: inline-grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--foreground); cursor: pointer; }
.customer-cabinet-page-shell .fav-panel-close:hover { background: var(--muted); }
.customer-cabinet-page-shell .fav-panel-rows { display: grid; gap: 10px; }
.customer-cabinet-page-shell .fav-panel-row { display: grid; gap: 3px; }
.customer-cabinet-page-shell .fav-panel-row small { font-size: 12px; color: var(--foreground); }
.customer-cabinet-page-shell .fav-panel-acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.customer-cabinet-page-shell .fav-panel .fav-invited { margin-top: 0; }
@media (max-width: 768px) {
  .customer-cabinet-page-shell .fav-layout { flex-direction: column; }
  .customer-cabinet-page-shell .fav-tree-card { flex: none; width: 100%; box-sizing: border-box; }
  .customer-cabinet-page-shell .fav-panel { position: fixed; inset: auto 0 0 0; top: 64px; z-index: 40; width: auto !important; border-radius: 16px 16px 0 0; }
  .customer-cabinet-page-shell .fav-panel-resizer { display: none; }
}

/* Order groups (mockup 5.1, 24.10.2026): merged orders above the flat list. */
.customer-cabinet-page-shell .order-with-merge-check { display: flex; align-items: center; gap: 12px; }
.customer-cabinet-page-shell .order-with-merge-check > .ordcard { flex: 1; min-width: 0; }
.customer-cabinet-page-shell .order-group-hint { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; margin-bottom: 12px; border-radius: 12px; background: var(--muted); font-size: 14px; font-weight: 500; line-height: 1.5; }
.customer-cabinet-page-shell .order-group-hint svg { flex: none; margin-top: 2px; }
.customer-cabinet-page-shell .order-group-bar { position: sticky; bottom: 16px; z-index: 20; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 16px; padding: 10px 12px 10px 18px; border-radius: 14px; background: #111; color: #fff; box-shadow: var(--shadow-lg, 0 10px 30px rgba(0, 0, 0, .25)); }
.customer-cabinet-page-shell .order-group-bar-count { font-size: 15px; font-weight: 600; }
.customer-cabinet-page-shell .order-group-bar-spacer { flex: 1; }
.customer-cabinet-page-shell .order-group-card { padding: 18px 20px 0; overflow: hidden; }
.customer-cabinet-page-shell .order-group-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.customer-cabinet-page-shell .order-group-titlebox { flex: 1; min-width: 260px; }
.customer-cabinet-page-shell .order-group-name { margin: 8px 0 0; font-size: 18px; font-weight: 700; }
.customer-cabinet-page-shell .order-group-created { font-size: 12px; color: var(--foreground); }
.customer-cabinet-page-shell .order-group-side { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.customer-cabinet-page-shell .order-group-budget { font-size: 16px; font-weight: 700; white-space: nowrap; }
.customer-cabinet-page-shell .order-group-budget-note { display: block; margin-top: 2px; font-size: 12px; font-weight: 400; color: var(--foreground); }
.customer-cabinet-page-shell .order-group-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.customer-cabinet-page-shell .order-group-rows { margin: 16px -20px 0; border-top: 1px solid var(--border); }
.customer-cabinet-page-shell .order-group-row { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 20px; border-bottom: 1px solid var(--border); font-size: 14px; }
.customer-cabinet-page-shell .order-group-row:last-child { border-bottom: 0; }
.customer-cabinet-page-shell .order-group-row-num { width: 26px; height: 26px; border-radius: 50%; background: var(--muted); display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.customer-cabinet-page-shell .order-group-row-main { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.customer-cabinet-page-shell .order-group-row-title { padding: 0; border: 0; background: transparent; font: inherit; font-weight: 600; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; }
.customer-cabinet-page-shell .order-group-row-title:hover { color: var(--primary); }
.customer-cabinet-page-shell .order-group-row-meta { font-size: 12.5px; color: var(--foreground); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.customer-cabinet-page-shell .order-group-row-budget { font-weight: 700; white-space: nowrap; }
.customer-cabinet-page-shell .order-group-form { display: grid; gap: 16px; }
.customer-cabinet-page-shell .order-group-field { display: grid; gap: 6px; font-size: 13px; font-weight: 600; }
.customer-cabinet-page-shell .order-group-modes { display: grid; gap: 8px; }
.customer-cabinet-page-shell .order-group-mode { display: grid; gap: 2px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; cursor: pointer; }
.customer-cabinet-page-shell .order-group-mode.is-active { border-color: var(--primary); background: rgba(255, 204, 53, .16); }
.customer-cabinet-page-shell .order-group-mode-label { font-size: 14px; font-weight: 600; }
.customer-cabinet-page-shell .order-group-mode-hint { font-size: 12.5px; font-weight: 400; color: var(--foreground); line-height: 1.4; }
.customer-cabinet-page-shell .candidates-dialog-body { display: grid; gap: 12px; padding: 4px 0; }
.customer-cabinet-page-shell .candidates-search,
.customer-cabinet-page-shell .candidates-folder { width: 100%; }
.customer-cabinet-page-shell .candidates-list { display: grid; gap: 2px; max-height: 320px; overflow-y: auto; margin: 0; padding: 0; list-style: none; }
.customer-cabinet-page-shell .candidates-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; font-size: 14px; cursor: pointer; }
.customer-cabinet-page-shell .candidates-row:hover { background: var(--muted); }
.customer-cabinet-page-shell .candidates-row--all { border: 1px solid var(--border); }
.customer-cabinet-page-shell .candidates-name { flex: 1; min-width: 0; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.customer-cabinet-page-shell .candidates-meta { flex: none; max-width: 45%; font-size: 12.5px; color: var(--foreground); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.customer-cabinet-page-shell .candidates-meta--muted { font-style: italic; }
.customer-cabinet-page-shell .candidates-empty { margin: 0; padding: 18px 10px; font-size: 14px; color: var(--foreground); text-align: center; }
.customer-cabinet-page-shell .candidates-count { margin-right: auto; font-size: 13px; font-weight: 600; }
.customer-cabinet-page-shell .resp-add-candidates { display: inline-flex; align-items: center; gap: 6px; }
.customer-cabinet-page-shell .messages-order-filter { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; padding: 10px 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--muted); font-size: 14px; }
.customer-cabinet-page-shell .messages-order-filter strong { font-weight: 700; }
.customer-cabinet-page-shell .rc-group-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; color: var(--foreground); }
