  /* кабинет рабочего: крупнее кегль, сильный контраст, большие тапы */
  body.sb { font-size: 16px; color: var(--foreground); }
  .wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
  a { color: inherit; text-decoration: none; }

  /* header (утверждён, из проекта «Расценки») */
  .sb-header { position: sticky; top: 0; z-index: 40; }
  .hdr-inner { display: flex; align-items: center; gap: 28px; width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
  .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); }
  .hdr-lang:hover { background: var(--muted); }
  .hdr-lang i { width: 16px; height: 16px; }
  .hdr-lang .chev { width: 15px; height: 15px; color: var(--muted-foreground); }
  .hdr-user { display: flex; align-items: center; gap: 10px; padding: 5px 10px 5px 5px; border: 1px solid var(--border); border-radius: 999px; cursor: pointer; }
  .hdr-user .av { width: 32px; height: 32px; border-radius: 50%; background: #1f6feb; color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 13px; }
  .hdr-user .nm { font-size: 14px; font-weight: 600; }
  .hdr-user i { width: 16px; height: 16px; color: var(--muted-foreground); }

  /* layout */
  .layout { display: grid; grid-template-columns: 260px 1fr; gap: 28px; padding: 28px 0 80px; align-items: start; }
  @media (max-width: 920px){ .layout { grid-template-columns: 1fr; } .cab-nav { position: static; } }

  /* cabinet nav — big touch targets, strong contrast */
  .cab-nav { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 4px; }
  .nav-item { display: flex; align-items: center; gap: 14px; min-height: 54px; padding: 0 16px; border-radius: 12px; font-size: 16px; font-weight: 600; color: var(--foreground); cursor: pointer; border: 2px solid transparent; }
  .nav-item:hover { background: var(--muted); }
  .nav-item.is-active { background: #111; color: #fff; }
  .nav-item i { width: 22px; height: 22px; flex: none; }
  .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; }
  .nav-sep { height: 1px; background: var(--border); margin: 10px 8px; }
  .nav-item .soon { margin-left: auto; font-size: 11px; font-weight: 700; color: var(--muted-foreground); background: var(--muted); padding: 3px 9px; border-radius: 999px; }
  .nav-item.is-soon { color: var(--muted-foreground); }

  main { display: flex; flex-direction: column; gap: 20px; min-width: 0; }

  /* ===== profile hero (dark, high contrast) ===== */
  .phero { background: #111; color: #fff; border-radius: 18px; padding: 28px; display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
  .phero .pic { width: 116px; height: 116px; border-radius: 20px; background: #222; flex: none; display: grid; place-items: center; color: #666; overflow: hidden; position: relative; border: 2px solid #2a2a2a; }
  .phero .pic i { width: 40px; height: 40px; }
  .phero .pic .cam { position: absolute; right: 8px; bottom: 8px; width: 34px; height: 34px; border-radius: 10px; background: var(--primary); color: #000; display: grid; place-items: center; cursor: pointer; }
  .phero .pic .cam i { width: 18px; height: 18px; }
  .phero-main { flex: 1; min-width: 240px; }
  .phero-name { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
  .phero-name h1 { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; margin: 0; }
  .ver-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,204,53,.16); color: var(--primary); font-size: 13px; font-weight: 700; padding: 5px 11px; border-radius: 999px; }
  .ver-badge i { width: 15px; height: 15px; }
  .phero-spec { font-size: 17px; color: #cfcfcf; margin: 8px 0 0; }
  .phero-meta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
  .phero-meta .m { display: inline-flex; align-items: center; gap: 7px; font-size: 15px; color: #e6e6e6; }
  .phero-meta .m i { width: 17px; height: 17px; color: #9a9a9a; }
  .phero-meta .rate { color: var(--primary); font-weight: 700; }
  .phero-meta .rate i { color: var(--primary); }
  .phero-act { display: flex; flex-direction: column; gap: 10px; }
  .btn-light { background: #fff; color: #111; }
  .btn-light:hover { background: #f0f0f0; }
  .btn-dark-ghost { background: transparent; color: #fff; border: 1px solid #3a3a3a; }
  .btn-dark-ghost:hover { background: #1e1e1e; }

  /* big tappable buttons everywhere in cabinet */
  .sb-btn { height: 2.875rem; font-size: 15px; }
  .sb-btn--lg { height: 3.25rem; font-size: 16px; }

  /* ===== stat tiles ===== */
  .stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
  @media (max-width: 700px){ .stats { grid-template-columns: 1fr 1fr; } }
  .stat-tile { padding: 18px 20px; }
  .stat-tile .v { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums; display: flex; align-items: center; gap: 7px; }
  .stat-tile .v i { width: 24px; height: 24px; color: var(--primary); }
  .stat-tile .l { font-size: 14px; color: var(--muted-foreground); margin-top: 8px; }

  /* card section */
  .card { padding: 24px; }
  .card-h { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
  .card-h h2 { font-size: 20px; font-weight: 700; margin: 0; }
  .card-h .edit { display: inline-flex; align-items: center; gap: 7px; font-size: 15px; font-weight: 600; color: var(--foreground); cursor: pointer; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--border); background: var(--card); }
  .card-h .edit:hover { background: var(--muted); }
  .card-h .edit i { width: 17px; height: 17px; }

  /* completeness */
  .complete { padding: 22px 24px; border: 2px solid var(--primary); background: oklch(0.99 0.03 95); }
  .complete-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; flex-wrap: wrap; }
  .complete-top h2 { font-size: 19px; font-weight: 700; margin: 0; }
  .complete-pct { font-size: 28px; font-weight: 800; font-variant-numeric: tabular-nums; }
  .bar { height: 12px; border-radius: 999px; background: #eee; overflow: hidden; margin-bottom: 18px; }
  .bar > span { display: block; height: 100%; background: var(--primary); border-radius: 999px; }
  .checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  @media (max-width: 700px){ .checklist { grid-template-columns: 1fr; } }
  .check { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 500; padding: 12px 14px; border-radius: 12px; background: var(--card); border: 1px solid var(--border); }
  .check .ico { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; flex: none; }
  .check.done .ico { background: oklch(0.62 0.17 149 / 0.16); color: oklch(0.45 0.15 149); }
  .check.todo .ico { background: var(--muted); color: var(--muted-foreground); }
  .check .ico i { width: 18px; height: 18px; }
  .check.todo { cursor: pointer; }
  .check.todo:hover { border-color: var(--primary); }
  .check .go { margin-left: auto; color: var(--muted-foreground); }
  .check .go i { width: 18px; height: 18px; }

  /* spec chips */
  .spec-chips { display: flex; flex-wrap: wrap; gap: 10px; }
  .spec-chip { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 12px; background: #111; color: #fff; font-size: 15px; font-weight: 600; }
  .spec-chip i { width: 17px; height: 17px; color: var(--primary); }
  .spec-chip.add { background: var(--card); color: var(--foreground); border: 2px dashed var(--border); cursor: pointer; }
  .spec-chip.add i { color: var(--muted-foreground); }
  .spec-chip.add:hover { border-color: var(--primary); }

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

  /* services / prices */
  .price-row { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-top: 1px solid var(--border); }
  .price-row:first-of-type { border-top: none; }
  .price-row .pi { width: 44px; height: 44px; border-radius: 11px; background: var(--muted); display: grid; place-items: center; flex: none; }
  .price-row .pi i { width: 22px; height: 22px; }
  .price-row .pn { font-size: 16px; font-weight: 600; }
  .price-row .pu { font-size: 14px; color: var(--muted-foreground); margin-top: 2px; }
  .price-row .pp { margin-left: auto; font-weight: 700; font-size: 18px; white-space: nowrap; font-variant-numeric: tabular-nums; }

  /* portfolio */
  .pf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
  @media (max-width: 700px){ .pf-grid { grid-template-columns: 1fr 1fr; } }
  .pf { border-radius: 14px; overflow: hidden; border: 1px solid var(--border); cursor: pointer; background: var(--card); }
  .pf-img { height: 150px; background: var(--muted); display: grid; place-items: center; color: var(--muted-foreground); position: relative; }
  .pf-img > i { width: 30px; height: 30px; opacity: .4; }
  .pf-cap { padding: 12px 14px; }
  .pf-cap .t { font-size: 15px; font-weight: 600; }
  .pf-cap .s { font-size: 13px; color: var(--muted-foreground); margin-top: 2px; }
  .pf.add { border: 2px dashed var(--border); display: grid; place-items: center; min-height: 196px; color: var(--muted-foreground); cursor: pointer; }
  .pf.add:hover { border-color: var(--primary); color: var(--foreground); }
  .pf.add .inner { text-align: center; }
  .pf.add .inner i { width: 30px; height: 30px; }
  .pf.add .inner div { font-size: 15px; font-weight: 600; margin-top: 8px; }

  /* reviews */
  .review { padding: 18px 0; border-top: 1px solid var(--border); display: flex; gap: 14px; }
  .review:first-of-type { border-top: none; padding-top: 0; }
  .review .rav { width: 46px; height: 46px; border-radius: 50%; background: var(--secondary); color: var(--secondary-foreground); display: grid; place-items: center; font-weight: 700; flex: none; }
  .review .rtop { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
  .review .rn { font-size: 16px; font-weight: 600; }
  .review .stars { display: inline-flex; gap: 2px; color: var(--primary); }
  .review .stars i { width: 16px; height: 16px; }
  .review .rd { font-size: 13px; color: var(--muted-foreground); margin-left: auto; }
  .review .rp { font-size: 13px; color: var(--muted-foreground); margin: 5px 0 7px; }
  .review .rtext { font-size: 16px; line-height: 1.55; margin: 0; }

  /* ===== responses ===== */
  .resp-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
  .resp-h1 { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 6px; }
  .resp-sub { font-size: 16px; color: var(--muted-foreground); margin: 0; max-width: 56ch; }
  .btn-dark { background: #111; color: #fff; }
  .btn-dark:hover { background: #000; }
  .resp-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
  .resp-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; transition: all .12s ease; }
  .resp-filters button span { font-size: 13px; color: var(--muted-foreground); font-variant-numeric: tabular-nums; }
  .resp-filters button[data-active="true"] { background: #111; color: #fff; border-color: #111; }
  .resp-filters button[data-active="true"] span { color: #bbb; }
  .resp-list { display: flex; flex-direction: column; gap: 14px; }
  .resp-item { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 20px 22px; display: grid; grid-template-columns: 1fr auto auto; gap: 28px; align-items: center; }
  @media (max-width: 860px){ .resp-item { grid-template-columns: 1fr; gap: 16px; } }
  .resp-badges { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
  .resp-badges .sb-badge { height: 26px; padding: 0 11px; font-size: 13px; }
  .resp-date { font-size: 13px; color: var(--muted-foreground); }
  .resp-item h3 { font-size: 18px; font-weight: 700; margin: 0 0 8px; line-height: 1.3; }
  .resp-ometa { font-size: 14px; color: var(--muted-foreground); }
  .resp-bid { display: flex; gap: 26px; }
  .resp-bid .bid span { font-size: 13px; color: var(--muted-foreground); display: block; margin-bottom: 3px; }
  .resp-bid .bid b { font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
  .resp-actions { display: flex; flex-direction: column; gap: 8px; min-width: 190px; }
  @media (max-width: 860px){ .resp-actions { min-width: 0; } }

  /* ===== services & prices ===== */
  .svc-hint { display: flex; align-items: flex-start; gap: 11px; font-size: 14px; color: var(--muted-foreground); line-height: 1.5; background: oklch(0.99 0.03 95); border: 1px solid var(--primary); border-radius: 12px; padding: 14px 16px; margin-bottom: 18px; }
  .svc-hint i { width: 18px; height: 18px; color: #b8860b; flex: none; margin-top: 1px; }
  .svc-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 22px; }
  .svc-item { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 18px 20px; display: grid; grid-template-columns: 1fr auto auto auto; gap: 24px; align-items: center; }
  @media (max-width: 860px){ .svc-item { grid-template-columns: 1fr; gap: 14px; } }
  .svc-work { min-width: 0; }
  .svc-cat { font-size: 12px; font-weight: 600; color: var(--muted-foreground); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 5px; }
  .svc-name { font-size: 17px; font-weight: 700; }
  .svc-unit { font-size: 13px; color: var(--muted-foreground); margin-top: 2px; }
  .svc-market { text-align: right; }
  .svc-market .lbl { font-size: 12px; color: var(--muted-foreground); margin-bottom: 4px; }
  .svc-market .val { font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
  .svc-price { text-align: right; }
  .svc-price .lbl { font-size: 12px; color: var(--muted-foreground); margin-bottom: 4px; }
  .price-edit { display: inline-flex; align-items: center; gap: 4px; border: 2px solid var(--border); border-radius: 10px; padding: 0 12px; height: 44px; background: var(--card); transition: border-color .12s ease; }
  .price-edit:focus-within { border-color: var(--primary); }
  .price-edit input { width: 78px; border: none; outline: none; font-family: inherit; font-size: 17px; font-weight: 700; text-align: right; background: transparent; font-variant-numeric: tabular-nums; color: var(--foreground); }
  .price-edit .cur { font-size: 14px; color: var(--muted-foreground); white-space: nowrap; }
  .svc-delta { font-size: 12px; font-weight: 600; margin-top: 6px; display: inline-flex; align-items: center; gap: 3px; justify-content: flex-end; width: 100%; }
  .svc-delta i { width: 13px; height: 13px; }
  .svc-delta.up { color: var(--destructive); }
  .svc-delta.down { color: var(--success); }
  .svc-delta.flat { color: var(--muted-foreground); }
  .svc-del { width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--border); background: var(--card); display: grid; place-items: center; cursor: pointer; color: var(--muted-foreground); }
  .svc-del:hover { background: oklch(0.97 0.02 25); color: var(--destructive); border-color: var(--destructive); }
  .svc-del i { width: 19px; height: 19px; }
  .svc-empty { text-align: center; padding: 40px 24px; border: 2px dashed var(--border); border-radius: 16px; color: var(--muted-foreground); }
  .svc-empty i { width: 32px; height: 32px; opacity: .5; }
  .svc-empty p { margin: 12px 0 0; font-size: 15px; }

  .cond-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  @media (max-width: 700px){ .cond-grid { grid-template-columns: 1fr; } }
  .cond { display: flex; align-items: center; gap: 13px; }
  .cond .ci { width: 44px; height: 44px; border-radius: 11px; background: var(--muted); display: grid; place-items: center; flex: none; }
  .cond .ci i { width: 21px; height: 21px; }
  .cond .cl { font-size: 13px; color: var(--muted-foreground); }
  .cond .cv { font-size: 16px; font-weight: 600; margin-top: 2px; }

  /* ===== catalog drawer ===== */
  .drawer-overlay { position: fixed; inset: 0; background: oklch(0.145 0 0 / 0.45); z-index: 80; display: flex; justify-content: flex-end; }
  .drawer { width: 460px; max-width: 92vw; height: 100%; background: var(--card); display: flex; flex-direction: column; box-shadow: var(--shadow-lg); }
  .drawer-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 22px 24px 16px; border-bottom: 1px solid var(--border); }
  .drawer-title { font-size: 19px; font-weight: 700; }
  .drawer-sub { font-size: 13px; color: var(--muted-foreground); margin-top: 3px; }
  .drawer-close { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border); background: var(--card); display: grid; place-items: center; cursor: pointer; color: var(--muted-foreground); flex: none; }
  .drawer-close:hover { background: var(--muted); color: var(--foreground); }
  .drawer-close i { width: 19px; height: 19px; }
  .drawer-search { padding: 16px 24px; border-bottom: 1px solid var(--border); }
  .drawer-search .sb-input-group { width: 100%; height: 2.75rem; }
  .drawer-body { flex: 1; overflow-y: auto; padding: 8px 0 24px; }
  .cat-group-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted-foreground); padding: 16px 24px 8px; }
  .cat-work { display: flex; align-items: center; gap: 14px; padding: 12px 24px; cursor: pointer; transition: background-color .1s ease; }
  .cat-work:hover { background: var(--muted); }
  .cat-work .cw-main { flex: 1; min-width: 0; }
  .cat-work .cw-name { font-size: 15px; font-weight: 600; }
  .cat-work .cw-market { font-size: 13px; color: var(--muted-foreground); margin-top: 2px; }
  .cat-work .cw-add { width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--border); background: var(--card); display: grid; place-items: center; color: var(--foreground); flex: none; }
  .cat-work:hover .cw-add { background: var(--primary); border-color: var(--primary); color: #000; }
  .cat-work.is-added { opacity: .5; pointer-events: none; }
  .cat-work.is-added .cw-add { background: var(--success); border-color: var(--success); color: #fff; }
  .cat-work .cw-add i { width: 18px; height: 18px; }

  .toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px); background: #111; color: #fff; font-size: 15px; padding: 13px 20px; 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: 18px; height: 18px; color: var(--primary); }