/* @ds-v23 (затвор: только токены) — Minta DS v3 · ПРЕЖНИЕ ЭКРАНЫ ПО ОДНОМУ (19.11.2026, владелец: «перевести всё на новый
 * дизайн, проверить UX UI и клиентский путь»).
 *
 * Общий каркас островка — v3/legacy.css; здесь — разметка отдельных экранов, переписанных под v3. Каждый блок назван
 * экраном и образцом. Селекторы — `html .ds22 …` (специфичность выше порождённого legacy-v22-scoped.css).
 */

/* ───────── «Уведомления»: пояснение и спокойный список вместо стены выключенных флажков ─────────
 * Образцы: Linear https://mobbin.com/screens/fbb07294-5214-4769-97e0-f2bd9f8cb36a (письма выключены — строки ниже бледнеют, а не
 * прячутся), Hashnode https://mobbin.com/screens/5e3f09d2-1e0b-416b-9d2c-d50a424de21e (группы заголовком, описание под строкой,
 * тонкий разделитель). «Пока недоступно» — одной выноской сверху, а не жёлтой плашкой. */
html .ds22 .notif{max-width:760px;padding:var(--space-6) var(--space-7) var(--space-8)}
html .ds22 .notif-note{padding:var(--space-5) var(--space-6);border-radius:var(--radius-lg);background:var(--surface-muted);color:var(--text-secondary);font:var(--type-body);line-height:1.55}
html .ds22 .notif-note b{color:var(--text-primary)}
html .ds22 .notif-group{margin-top:var(--space-7)}
html .ds22 .notif-h{margin:0 0 var(--space-2);font:var(--type-section-title);font-weight:800;letter-spacing:var(--type-section-title-tracking);color:var(--text-primary)}
html .ds22 .notif-row{display:flex;align-items:flex-start;gap:var(--space-4);padding:var(--space-4) 0;border-bottom:1px solid var(--surface-muted);cursor:default}
html .ds22 .notif-row:last-child{border-bottom:0}
html .ds22 .notif-row input{margin-top:var(--space-1)}
html .ds22 .notif-name{display:block;font:var(--type-body);font-weight:600;color:var(--text-secondary)}
html .ds22 .notif-row .ds-field__hint{display:block;margin-top:var(--space-1);max-width:620px}

/* ───────── «Профиль»: шапка с инициалами и две карточки ─────────
 * Образцы: SchoolAI https://mobbin.com/screens/a912dc17-bda9-492f-85c3-4e12243611ed (инициалы, имя, почта сверху), WRITER
 * https://mobbin.com/screens/4ef7b829-e6dd-4675-83a9-dba02b502f46 (подписи над полями, сохранение под формой). */
html .ds22 .shell23-main > .body:has(> .prof){background:transparent;box-shadow:none;border-radius:0}
html .ds22 .prof{display:flex;flex-direction:column;gap:var(--space-6);max-width:760px;padding-bottom:var(--space-8)}
html .ds22 .prof-card{background:var(--surface);border-radius:var(--radius-xl);box-shadow:var(--shadow-panel);padding:var(--space-7)}
html .ds22 .prof-prefs{border:0}
/* у «Отображения» свои шапка и тело ds-card — их боковые отступы складывались с отступом карточки (двойной отступ) */
html .ds22 .prof-prefs > .ds-card__head,html .ds22 .prof-prefs > .ds-card__body{padding-left:0;padding-right:0}
html .ds22 .prof-prefs > .ds-card__head{padding-top:0}
html .ds22 .prof-who{display:flex;align-items:center;gap:var(--space-5);padding-bottom:var(--space-6);margin-bottom:var(--space-6);border-bottom:1px solid var(--surface-muted)}
html .ds22 .prof-ava{display:flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:var(--radius-pill);background:var(--accent-mint-subtle);color:var(--action-primary);font:var(--type-section-title);font-weight:800}
html .ds22 .prof-who-t{display:flex;flex-direction:column;gap:var(--space-1);min-width:0}
html .ds22 .prof-who-t b{font:var(--type-section-title);font-weight:800;color:var(--text-primary)}
html .ds22 .prof-h{margin:0 0 var(--space-5);font:var(--type-section-title);font-weight:800;letter-spacing:var(--type-section-title-tracking);color:var(--text-primary)}
html .ds22 .prof-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-5) var(--space-6)}
html .ds22 .prof-f{display:flex;flex-direction:column;gap:var(--space-2);min-width:0}
html .ds22 .prof-f--wide{grid-column:1 / -1}
html .ds22 .prof-f .ds-input{width:100%}
html .ds22 .prof-f .ds-input[readonly]{background:var(--surface-sunken);color:var(--text-muted)}
html .ds22 .prof-err{color:var(--negative-strong)}
html .ds22 .prof-msg{margin:var(--space-4) 0 0}
html .ds22 .prof-ok{color:var(--positive-strong)}
html .ds22 .prof-actions{display:flex;gap:var(--space-3);margin-top:var(--space-6)}
@media (max-width:767px){html .ds22 .prof-grid{grid-template-columns:1fr}html .ds22 .prof-card{padding:var(--space-6)}}

/* ───────── Справочники (ref.js: статьи, счета, юрлица, группы, проекты): полоса действий и поиск ─────────
 * Кнопки — пилюли v3 (`ds-btn` + v3/legacy.css), здесь только размер и раскладка; поиск — белое поле, как у V2.3
 * (образец полосы «главное действие слева, поиск и фильтр рядом» — Mercury, тот же, что у каркаса островка, v3/legacy.css). */
html .ds22 .ref-actions{gap:var(--space-3)}
html .ds22 .ref-btn,html .ds22 .btn-v3{display:inline-flex;align-items:center;justify-content:center;min-height:var(--control-md);padding:0 var(--space-6);cursor:pointer}
html .ds22 .ref-btn:disabled,html .ds22 .btn-v3:disabled{cursor:not-allowed}
html .ds22 .ref-add{flex:1 1 190px}
html .ds22 .ref-q{height:var(--control-md);width:300px;max-width:100%;padding:0 var(--space-4);border:1px solid var(--border-control);border-radius:var(--radius-md);background:var(--surface);color:var(--text-primary);font:var(--type-body)}
html .ds22 .ref-q--wide{width:425px}
html .ds22 .ref-q:focus-visible{outline:var(--focus-ring-width) solid var(--focus-ring);outline-offset:var(--focus-ring-offset)}
html .ds22 .ref-sel .ds-select{height:var(--control-md);min-width:160px}

/* ───────── Кнопки сохранения боковых панелей (справочники, пользователи): основная кнопка v3 ─────────
 * Прежде — зашитый фиолетовый #7252D3 чужого продукта на каждой панели (11 мест). Теперь `ds-btn--primary` + `.btn-v3`
 * (размер и выключенное состояние — правило `.ref-btn,.btn-v3` выше): цвет главного действия один на всё приложение. */

/* «Интеграции → Банки»: кнопка перехода к банковским подключениям под пояснением (19.11.2026, путь клиента) */
html .ds22 .int-banks-go{margin-top:var(--space-3)}

/* Подписи «капителью» и ряд «подпись — значение» прежних экранов настроек (безопасность, организация): были строками
 * стиля МЕТКА/РЯД в каждом файле (кегль 11 px — ниже шкалы v3), стали двумя классами на токенах (20.11.2026). */
html .ds22 .v3-caps{font:var(--type-micro);letter-spacing:var(--type-micro-tracking);text-transform:uppercase;color:var(--text-muted)}
html .ds22 .v3-kv{display:grid;grid-template-columns:minmax(150px,220px) minmax(0,1fr);gap:var(--space-5)}
