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

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

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

body.sb[data-stroyban-v2-page-key="customerCabinet"] { --customer-cabinet-chrome-height: var(--sb-chrome-header-height); font-size: 16px; color: var(--foreground); background: #F5F5F5; }

body.sb[data-stroyban-v2-page-key="customerCabinet"] .wrap { max-width: none; margin: 0; padding: 0 32px 0 calc(264px + 32px); }

body.sb[data-stroyban-v2-page-key="customerCabinet"] a { color: inherit; text-decoration: none; }

/* big tappable buttons everywhere in cabinet */

body.sb[data-stroyban-v2-page-key="customerCabinet"] .sb-btn { height: 2.875rem; font-size: 15px; }

body.sb[data-stroyban-v2-page-key="customerCabinet"] .sb-btn--lg { height: 3.25rem; font-size: 16px; }

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

body.sb[data-stroyban-v2-page-key="customerCabinet"] .sb-header { position: sticky; top: 0; z-index: 40; }

body.sb[data-stroyban-v2-page-key="customerCabinet"] .hdr-inner { display: flex; align-items: center; gap: 28px; width: 100%; max-width: 1344px; margin: 0 auto; padding: 0 24px; }

body.sb[data-stroyban-v2-page-key="customerCabinet"] .sb-logo { cursor: pointer; }

body.sb[data-stroyban-v2-page-key="customerCabinet"] .hdr-city { display: inline-flex; align-items: center; gap: 7px; background: transparent; border: none; cursor: pointer; font-family: inherit; font-size: 14px; font-weight: 600; color: var(--foreground); padding: 8px 10px; border-radius: calc(var(--radius) - 4px); }

body.sb[data-stroyban-v2-page-key="customerCabinet"] .hdr-city:hover { background: var(--muted); }

body.sb[data-stroyban-v2-page-key="customerCabinet"] .hdr-city > i:first-child { width: 16px; height: 16px; color: var(--primary-hover); }

body.sb[data-stroyban-v2-page-key="customerCabinet"] .hdr-city .chev { width: 15px; height: 15px; color: var(--muted-foreground); }

body.sb[data-stroyban-v2-page-key="customerCabinet"] .hdr-lang { display: inline-flex; align-items: center; gap: 6px; background: transparent; border: none; cursor: pointer; font-family: inherit; font-size: 14px; font-weight: 600; color: var(--foreground); padding: 8px 6px; border-radius: calc(var(--radius) - 4px); }

body.sb[data-stroyban-v2-page-key="customerCabinet"] .hdr-lang:hover { background: var(--muted); }

body.sb[data-stroyban-v2-page-key="customerCabinet"] .hdr-lang i { width: 16px; height: 16px; }

body.sb[data-stroyban-v2-page-key="customerCabinet"] .hdr-lang .chev { width: 15px; height: 15px; color: var(--muted-foreground); }

body.sb[data-stroyban-v2-page-key="customerCabinet"] .hdr-user { display: flex; align-items: center; gap: 10px; padding: 4px 10px 4px 4px; border: 1px solid var(--border); border-radius: 999px; cursor: pointer; }

body.sb[data-stroyban-v2-page-key="customerCabinet"] .hdr-user:hover { background: var(--muted); }

body.sb[data-stroyban-v2-page-key="customerCabinet"] .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; }

body.sb[data-stroyban-v2-page-key="customerCabinet"] .hdr-user .nm { font-size: 14px; font-weight: 600; }

body.sb[data-stroyban-v2-page-key="customerCabinet"] .hdr-user i { width: 16px; height: 16px; color: var(--muted-foreground); }

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

body.sb[data-stroyban-v2-page-key="customerCabinet"] .wrap { max-width: none; margin: 0; padding: 0 32px 0 calc(264px + 32px); }

body.sb[data-stroyban-v2-page-key="customerCabinet"] .layout { display: block; padding: calc(var(--customer-cabinet-chrome-height) + 24px) 0 80px; }

body.sb[data-stroyban-v2-page-key="customerCabinet"] .sb-chrome-footer { padding-left: 264px; }

@media (max-width: 940px){
    body.sb[data-stroyban-v2-page-key="customerCabinet"] .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; }
    body.sb[data-stroyban-v2-page-key="customerCabinet"] .wrap { max-width: none; margin: 0; padding: 0 16px; }
    body.sb[data-stroyban-v2-page-key="customerCabinet"] .sb-chrome-footer { padding-left: 0; }
  }

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

body.sb[data-stroyban-v2-page-key="customerCabinet"] .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); }

body.sb[data-stroyban-v2-page-key="customerCabinet"] .cab-nav .nav-item { position: relative; display: flex; width: 100%; 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: #cccccc; cursor: pointer; border: 2px solid transparent; }

body.sb[data-stroyban-v2-page-key="customerCabinet"] .cab-nav .nav-item:hover { background: #2c2c30; color: #fff; }

body.sb[data-stroyban-v2-page-key="customerCabinet"] .cab-nav .nav-item.is-active { background: var(--primary); color: #111; }

body.sb[data-stroyban-v2-page-key="customerCabinet"] .cab-nav .nav-item i { width: 22px; height: 22px; flex: none; }

body.sb[data-stroyban-v2-page-key="customerCabinet"] .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; }

body.sb[data-stroyban-v2-page-key="customerCabinet"] .cab-nav .nav-item .count.muted { background: #2c2c30; color: #9a9a9a; }

body.sb[data-stroyban-v2-page-key="customerCabinet"] .cab-nav .nav-item.is-active .count { background: #111; color: #fff; }

body.sb[data-stroyban-v2-page-key="customerCabinet"] .cab-nav .nav-sep { height: 1px; background: #34343a; margin: 10px 8px; }

body.sb[data-stroyban-v2-page-key="customerCabinet"] .cab-nav .nav-item .soon { margin-left: auto; font-size: 11px; font-weight: 700; color: #9a9a9a; background: #2c2c30; padding: 3px 9px; border-radius: 999px; }

body.sb[data-stroyban-v2-page-key="customerCabinet"] .cab-nav .nav-item.is-soon { color: #9a9a9a; }

body.sb[data-stroyban-v2-page-key="customerCabinet"] main { display: flex; flex-direction: column; gap: 18px; min-width: 0; }

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

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

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

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

.phead--with-action { align-items: center; }

.phead--with-action > div { min-width: 0; }

.ord-draft-publish { background: #111; color: #fff; }

.ord-draft-publish:hover { background: #000; }

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

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

.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; }

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

.ord-filters button[data-active="true"] { background: #111; color: #fff; border-color: #111; }

.ord-filters button[data-active="true"] span { color: #bbb; }

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

@media (max-width: 700px){ .osum { grid-template-columns: 1fr 1fr; } }

.osum-tile { padding: 16px 18px; }

.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; }

.osum-tile .v i { width: 20px; height: 20px; color: var(--muted-foreground); }

.osum-tile.accent .v i { color: var(--primary-hover); }

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

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

.ordlist { display: flex; flex-direction: column; gap: 14px; }

.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: 970px){ .ordcard { grid-template-columns: 1fr; padding: 18px; } .ord-kebab-wrap { position: absolute; top: 12px; right: 12px; align-self: auto; } }


.ordcard.is-draft { background: oklch(0.985 0 0); border-style: dashed; }

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

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

.ordcard.is-empty .ord-main { align-items: center; text-align: center; }

.ordcard.is-empty .ord-badges { justify-content: center; }

.ordcard.is-empty .ord-meta { align-items: center; }

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

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

.ord-tl h3 { margin: 0; }

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

.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: #111; color: #fff; border-color: transparent; }

.ord-posted { font-size: 12.5px; color: var(--muted-foreground); }

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

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

.ord-titleline h3 { flex: 1 1 auto; min-width: 0; }

.ord-titleline .ord-meta { flex: 0 0 auto; }

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


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

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

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

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

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

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

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

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

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

@media (max-width: 970px){ .ord-right { align-items: flex-start; min-width: 0; } }

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

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

.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; }

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

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

.ord-budget-edit:hover { background: var(--muted); }

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

.ord-budget-edit:hover .pen { opacity: .7; }

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

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

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

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

.ord-note i, .ord-note svg { width: 15px; height: 15px; }

@media (max-width: 860px){ .ord-footer .ord-cta { margin-left: 0; } .ord-titleline { gap: 6px 12px; } }

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

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

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

.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; }

.resp-stack .ravt:last-child { margin-left: 0; }

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

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

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

.ord-resp .rtext .new { display: block; margin-top: 2px; color: var(--primary-hover); font-weight: 600; }

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

.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%; }

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

.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; }

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

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

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

a.ord-hired:hover b { text-decoration: underline; }

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

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

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

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

.ord-kebab i, .ord-kebab svg { width: 18px; height: 18px; }

.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; }

.ord-menu.open { display: flex; }

.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; }

.ord-menu button:hover { background: var(--muted); }

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

.ord-menu button.danger { color: #dc2626; }

.ord-menu button.danger i, .ord-menu button.danger svg { color: #dc2626; }

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

.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); }

.ordcard.has-new { padding-left: 44px; }

.ord-newdot ~ * { }

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

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

.back-link:hover { color: var(--foreground); }

.back-link i { width: 16px; height: 16px; }

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

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

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

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

.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); }

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

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

#orderDetail { display: flex; flex-direction: column; gap: 18px; min-width: 0; }

.od-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 22px 24px; box-shadow: var(--shadow-xs); }

.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; }

.od-head > [data-slot="button"] { flex: none; }

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

.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); }

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

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

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; }

.od-media { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 18px; box-shadow: var(--shadow-xs); }

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

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

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

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

@media (max-width: 620px){ .od-head { flex-direction: column; padding: 18px; } .od-head h1 { font-size: 24px; } .od-head > [data-slot="button"] { width: 100%; } .od-summary { grid-template-columns: 1fr; } p.od-desc { padding: 16px; font-size: 15px; } }

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

@media (max-width: 900px){ .od-grid { grid-template-columns: 1fr; } }

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

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

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

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

@media (max-width: 900px){ .od-aside { position: static; } }

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


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

.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; }

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

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

.od-frow + .od-frow { margin-top: 15px; }

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

.od-frow .fmain { min-width: 0; }

.od-frow .fl { font-size: 12.5px; color: var(--muted-foreground); }

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

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

.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) */

.od-hero-l { min-width: 0; }

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

.od-budget { text-align: right; }

.od-budget .budget-l { font-size: 13px; color: var(--muted-foreground); }

.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; }

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

.od-views i, .od-views svg { width: 14px; height: 14px; }

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

/* order-detail: tabs */

.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; }

.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(--muted-foreground); border-bottom: 2px solid transparent; white-space: nowrap; transition: color .12s ease; }

.od-tab:hover { color: var(--foreground); }

.od-tab[data-active="true"] { color: var(--foreground); border-bottom-color: #111; }

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

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

.od-panel { display: none; }

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

.od-detailwrap { display: flex; flex-direction: column; gap: 24px; }

.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); }

.od-facts-grid .od-frow + .od-frow { margin-top: 0; }

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

.od-detail2 { display: flex; flex-direction: column; gap: 24px; }

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

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

.od-li:first-child { border-top: none; }

.od-li-main { flex: 1; min-width: 0; }

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

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

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

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

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

.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; }

.od-addfile:hover { border-color: #111; background: var(--muted); }

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

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

.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; }

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

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

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

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

.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; }

.ocust-name { font-size: 16px; font-weight: 700; }

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

.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); }

.od-verified i, .od-verified svg { width: 17px; height: 17px; }

.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); }

.od-foot-acts { display: flex; gap: 10px; flex-wrap: wrap; }

.od-foot-meta { display: flex; gap: 30px; }

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

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

.ib { margin-bottom: 20px; }

.resp-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; padding-bottom: 18px; flex-wrap: wrap; }

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

.resp-head h2 span { color: var(--muted-foreground); font-weight: 500; }

.resp-tools { display: flex; align-items: center; gap: 12px; flex: none; }

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

.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; }

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

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

.resp-filters button:hover { background: var(--muted); }

.resp-filters button[data-active="true"] { background: #111; color: #fff; border-color: #111; }

.resp-filters button[data-active="true"] span { color: #bbb; }

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

.rc-statetag.arch { background: oklch(0.9 0 0); color: var(--foreground); }

.rc-statetag.decl { background: oklch(0.577 0.245 27.325 / 0.12); color: var(--destructive); }

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

.sortmini { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--muted-foreground); }

.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; }

.sortmini .resp-sort-trigger:hover { border-color: var(--muted-foreground); }

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

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

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

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

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

.view-toggle i { width: 16px; height: 16px; }

/* responses as cards */

.resp-cards { display: flex; flex-direction: column; gap: 14px; }

.rcard { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 18px; box-shadow: var(--shadow-xs); display: grid; grid-template-columns: minmax(0, 1fr) minmax(172px, 0.45fr) minmax(17.5rem, 18.5rem); gap: 18px; align-items: stretch; }


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

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

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

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

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

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

.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; }

.rc-ver i, .rc-ver svg { width: 13px; height: 13px; }

.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; }

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

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

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

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

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

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

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

.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(--muted-foreground); font-size: 12.5px; font-weight: 700; line-height: 1.25; }

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

.rc-offer { min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; align-content: center; padding-left: 18px; border-left: 1px solid var(--border); }

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

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

.rc-price { font-size: 24px; font-weight: 850; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; line-height: 1.05; white-space: nowrap; }

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

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

.rc-offer .rc-note { grid-column: 1 / -1; }

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

.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: nowrap; }

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

.rc-actions .rc-action-label { grid-column: 2; min-width: 0; overflow: hidden; text-overflow: ellipsis; }

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

.rc-actions .rc-profile .rc-action-label { grid-column: 1; }

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

.rc-profile { color: var(--muted-foreground); }

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

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

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

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

.rc-kebab i, .rc-kebab svg { width: 18px; height: 18px; }

.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; }

.rc-menu.open { display: flex; }

.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; }

.rc-menu button:hover { background: var(--muted); }

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

.rc-menu button.danger { color: #dc2626; }

.rc-menu button.danger i, .rc-menu button.danger svg { color: #dc2626; }

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

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

/* responses as comparison table */

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

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

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

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

.cmp tbody tr:last-child td { border-bottom: none; }

.cmp tbody tr:hover { background: var(--muted); }

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

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

.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; }

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

.cmp .c-brig .cn i { width: 13px; height: 13px; color: var(--primary-hover); }

.cmp .c-brig .cs { font-size: 12.5px; color: var(--muted-foreground); }

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

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

.cmp .c-rating .star i { width: 13px; height: 13px; }

.cmp .c-rating b { font-weight: 700; }

.cmp .c-rating span { color: var(--muted-foreground); font-size: 12.5px; }

.cmp .c-price { font-weight: 800; font-size: 16px; }

.cmp .best { position: relative; }

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

.cmp .best-tag i { width: 12px; height: 12px; }

.cmp .c-act { white-space: nowrap; }

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

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

.cmp-note i { width: 15px; height: 15px; }

/* inwork banner on detail */

.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; }

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

.inwork-banner .ib-main { flex: 1; min-width: 0; }

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

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

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

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

.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); }

.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; }

.phero-main { flex: 1; min-width: 220px; }

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

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

.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; }

.ver-badge i { width: 14px; height: 14px; }

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

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

.phero-meta .m i { width: 15px; height: 15px; }


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

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

@media (max-width: 700px){ .pstats { grid-template-columns: 1fr 1fr; } }

.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; }

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

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

.pstat.is-empty { color: var(--muted-foreground); background: oklch(0.98 0 0); }

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

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

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

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

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

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

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

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

.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); }

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

.cabinet-section-card-action i { width: 16px; height: 16px; }

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

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

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

.obj { display: flex; align-items: center; gap: 12px; }

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

.obj .oi i { width: 20px; height: 20px; color: var(--foreground); }

.obj .ol { font-size: 12.5px; color: var(--muted-foreground); }

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

.profile-editor { display: grid; gap: 18px; }

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

.profile-form-wide { grid-column: 1 / -1; }

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

.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); }

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

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

.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); }

.profile-avatar-preview { width: 88px; height: 88px; 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); }

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

.profile-avatar-preview:disabled { cursor: not-allowed; opacity: .65; }

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

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

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

.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); }

.profile-avatar-button:hover { background: var(--background); }

.profile-avatar-button:disabled { cursor: not-allowed; opacity: .65; }

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

.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); }

.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(--muted-foreground); font-size: 14px; font-weight: 600; }

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

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

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

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

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

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

@media (max-width: 760px){ .fav-grid { grid-template-columns: 1fr; } }

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

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

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

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

.fav-name i { width: 15px; height: 15px; color: var(--primary-hover); }

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

.fav-rating { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--muted-foreground); margin-left: auto; }

.fav-rating .star { color: #E0A800; display: inline-flex; }

.fav-rating .star i { width: 14px; height: 14px; }

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

.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); }

.fav-from { font-size: 13px; color: var(--muted-foreground); }

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

.fav-acts { display: flex; gap: 8px; }

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

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

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

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

.myrev-to { font-size: 15.5px; font-weight: 700; }

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

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

.myrev-stars i { width: 16px; height: 16px; }

.myrev-date { font-size: 12.5px; color: var(--muted-foreground); }

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

/* Telegram-style messenger */

.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: 820px){ .tg { grid-template-columns: 1fr; } .tg-conv { display: none; } }

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

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

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

.tg-chats { flex: 1; overflow-y: auto; }

.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); }

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

.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; }


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

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

.tg-cn { font-size: 15px; font-weight: 600; }

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

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

.tg-ct { font-size: 12px; color: var(--muted-foreground); }

.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; }

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

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

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

.tg-ch-tx { flex: 1; min-width: 0; }

.tg-ch-n { font-size: 15px; font-weight: 700; }

.tg-ch-s { font-size: 12px; color: var(--muted-foreground); }

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

.tg-ic:hover { background: var(--muted); }

.tg-ic i, .tg-ic svg { width: 20px; height: 20px; }

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

.tg-day { align-self: center; background: oklch(0.145 0 0 / 0.14); color: #fff; font-size: 12px; font-weight: 600; padding: 3px 12px; border-radius: 999px; margin-bottom: 6px; }

.tg-msg { display: flex; }

.tg-msg.out { justify-content: flex-end; }

.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); }

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

.tg-msg.out .tg-bub { background: #FFF0C2; border-bottom-right-radius: 5px; }

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

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

.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; }

.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; }

.tg-send:hover { background: var(--primary-hover); }

.settings-card { padding: 22px 24px; }

.settings-list { display: flex; flex-direction: column; gap: 0; }

.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); }

.settings-row:first-child { border-top: 0; padding-top: 0; }

.settings-row:last-child { padding-bottom: 0; }

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

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

.settings-icon i, .settings-icon svg { width: 20px; height: 20px; }

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

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

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

.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(--muted-foreground); font-size: 12.5px; font-weight: 800; white-space: nowrap; }

.settings-state.is-success { background: #dcfce7; color: #15803d; }

.settings-state.is-muted { color: var(--muted-foreground); }

.settings-state.is-danger { background: #fee2e2; color: #b91c1c; }

.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; }

.settings-action:hover { background: var(--muted); }

.settings-action:disabled { opacity: .55; cursor: not-allowed; }

.settings-action i, .settings-action svg { width: 16px; height: 16px; }

.notifications-read-all { flex: none; }

.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; }

.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; }

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

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

.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); }

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

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

.settings-segmented button:disabled { cursor: not-allowed; opacity: .7; }

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

.settings-danger { color: #b91c1c; }

.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); }

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

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

.notification-filter [data-slot="button"] span { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: #ef4444; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; line-height: 1; }

.notifications-card { padding: 0; overflow: hidden; }

.notifications-list { display: flex; flex-direction: column; }

.notification-date-group { display: flex; flex-direction: column; }

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

.notification-date-label { padding: 10px 16px 7px; color: var(--muted-foreground); background: oklch(0.98 0 0); font-size: 12px; font-weight: 800; text-transform: uppercase; }

.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); }

.notification-date-label + .notification-row { border-top: 0; }

.notification-row:first-child { border-top: 0; }

.notification-row.is-unread { background: oklch(0.995 0.012 92); box-shadow: inset 3px 0 0 var(--primary); }

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

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

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

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

.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; }

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

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

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

.notification-row.is-unread .notification-icon { background: oklch(0.88 0.16 87 / 0.32); color: #111; }

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

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

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

.notification-icon i, .notification-icon svg { width: 18px; height: 18px; }

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

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

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

.notification-meta { color: var(--muted-foreground); font-size: 12.5px; font-weight: 600; }

.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); }


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

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

.notification-actions .settings-state { white-space: nowrap; }

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

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

.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); }

body.sb[data-stroyban-v2-page-key="customerCabinet"] main[data-cab="messages"] { display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 18px; height: calc(100dvh - var(--customer-cabinet-chrome-height) - 48px); min-height: 0; overflow: hidden; }

body.sb[data-stroyban-v2-page-key="customerCabinet"] main[data-cab="messages"] .stroyban-order-chat, body.sb[data-stroyban-v2-page-key="customerCabinet"] main[data-cab="messages"] .rchat { width: 100%; height: 100%; min-height: 0; border-radius: 0; box-shadow: none; }

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

.rchat-list-h { padding: 14px 16px; border-bottom: 1px solid var(--border); font-size: 13px; font-weight: 700; color: var(--muted-foreground); }

.rchat-thread { position: relative; }

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

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

.rchat-thread:hover .rchat-tkebab, .rchat-thread.on .rchat-tkebab { opacity: 1; }

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

.rchat-tkebab i, .rchat-tkebab svg { width: 16px; height: 16px; }

.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; }

.rchat-tmenu.open { display: flex; }

.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; }

.rchat-tmenu button:hover { background: var(--muted); }

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

.rchat-tmenu button.danger, .rchat-tmenu button.danger i, .rchat-tmenu button.danger svg { color: #dc2626; }

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

.rchat-threads { flex: 1; overflow-y: auto; }

.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); }

.rchat-thread:hover { background: var(--muted); }

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

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

.rchat-tmain { min-width: 0; flex: 1; }

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

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

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

.rchat-conv { display: flex; flex-direction: column; min-width: 0; }

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

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

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

.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; }

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

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

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

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

.rchat-offer .oprice span { font-size: 11.5px; color: var(--muted-foreground); }

.rchat-offer .sb-btn { flex: none; }

.rchat-scroll { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 8px; background: oklch(0.97 0 0); }

.rchat-input { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--border); }

.rchat-input input { flex: 1; border: 1px solid var(--border); outline: none; background: var(--card); border-radius: 999px; height: 42px; padding: 0 16px; font-family: inherit; font-size: 14.5px; }

.rchat-input input:focus { border-color: #111; }

.rchat-send { width: 42px; height: 42px; border-radius: 50%; border: none; background: var(--primary); color: #000; display: grid; place-items: center; cursor: pointer; flex: none; }

.rchat-send:hover { background: var(--primary-hover); }

.rchat-send:disabled { opacity: .45; cursor: not-allowed; }

.support-chat-scroll { background: #f6f6f6; }

.support-chat-message { display: flex; width: 100%; }

.support-chat-message.is-user { justify-content: flex-end; }

.support-chat-message.is-support { justify-content: flex-start; }

.support-chat-bubble { max-width: min(72%, 560px); display: flex; flex-direction: column; gap: 5px; padding: 11px 13px; border: 1px solid var(--border); border-radius: 14px; background: var(--card); font-size: 14px; line-height: 1.38; box-shadow: var(--shadow-xs); }

.support-chat-message.is-user .support-chat-bubble { background: var(--primary); border-color: var(--primary); color: #000; border-bottom-right-radius: 5px; }

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

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

.support-chat-message.is-user .support-chat-bubble time { color: rgba(0,0,0,.58); }

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

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

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

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

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

.tg-send i, .tg-send svg { width: 20px; height: 20px; }


/* v2-customer-cabinet-desktop/08-v2-customer-cabinet-desktop.css */
.placeholder,
  .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(--muted-foreground);
    border: 2px dashed var(--border);
    border-radius: 16px;
  }

.fav-grid > .placeholder { grid-column: 1 / -1; }

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

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

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

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

/* toast */

.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; }

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

.toast i { width: 17px; height: 17px; color: var(--primary); }

/* edit-order modal */

.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; }

.eo-overlay[hidden] { display: none; }

.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; }

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

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

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

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

.eo-x i, .eo-x svg { width: 19px; height: 19px; }

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

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

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

.eo-field { display: flex; flex-direction: column; gap: 7px; }

.eo-l { font-size: 13px; font-weight: 600; color: var(--muted-foreground); }

.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; }

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

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

.eo-pay { display: flex; flex-wrap: wrap; gap: 9px; }

.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; }

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

.eo-chk:has(input:checked) { border-color: #111; background: var(--muted); }

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

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

.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; }

.bd-overlay.show { opacity: 1; pointer-events: auto; }

.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; }

.bd-overlay.show .bd-panel { transform: translateX(0); }

.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; }

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

.bd-openfull i, .bd-openfull svg { width: 15px; height: 15px; }

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

.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; }

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

.bd-close i, .bd-close svg { width: 20px; height: 20px; }

.bd-scroll { flex: 1; overflow-y: auto; }

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

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

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

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

.bd-hero-main { min-width: 0; }

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

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

.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; }

.bd-ver i, .bd-ver svg { width: 13px; height: 13px; }

.bd-hspec { font-size: 14px; color: #cfcfcf; margin: 8px 0 12px; }

.bd-hmeta { display: flex; align-items: center; gap: 8px 16px; flex-wrap: wrap; font-size: 14px; color: #e6e6e6; }

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

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

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

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

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

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

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

.bd-offer { background: var(--card); border: 1px solid #111; border-radius: 16px; padding: 18px 20px; }

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

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

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

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

.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); }

.bd-offer-grid .gl { font-size: 12px; color: var(--muted-foreground); }

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

.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; }

.bd-tags { display: flex; flex-wrap: wrap; gap: 8px; }

.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; }

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

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

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

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

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

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

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


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

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

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

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

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

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

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

.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; }

.bd-rev .rn { font-size: 14px; font-weight: 600; }

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

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

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

.bd-alllink:hover { color: var(--primary-hover); }

.bd-alllink i, .bd-alllink svg { width: 15px; height: 15px; }

/* media gallery */

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

.sb-media-gallery { width: 100%; }

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

.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); }

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

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

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

.sb-media-gallery__more { font-size: 22px; }

.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; }

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

.sb-media-lightbox__stage img,
  .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); }

.sb-media-lightbox__close,
  .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); }

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

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

.sb-media-lightbox__nav--prev { left: 18px; }

.sb-media-lightbox__nav--next { right: 18px; }

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

.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; }

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

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