/*
 * Личный кабинет пациента — утверждённый макет, вариант 1 «Ясность»
 * (docs/design/cabinet/cabinet-final.html; владелец 07–08.11.2026).
 * Палитра — токены инфо-страниц (info.css, --i-*): чёрного нет, тёмные
 * плашки — фирменный синий градиент. Движение — только transform,
 * opacity и тень; при «уменьшить движение» выключается.
 */
.cab {
    --c-bg: #F3F6FC; --c-card: #fff; --c-hair: #E3EAF6; --c-hair2: #EEF2F9;
    --c-ink: #0A2B4A; --c-ink2: #3A4A60; --c-mute: #667085;
    --c-navy: #033E8C; --c-blue: #0B4FA8; --c-tint: #EEF4FF;
    --c-green: #2C6B31; --c-gfill: #419047; --c-gtint: #E8F5EA; --c-amber: #B45309; --c-atint: #FFF4E5;
    --c-deep: linear-gradient(120deg, #033E8C 0%, #0B4FA8 100%);
    --c-ease: cubic-bezier(.2, .7, .2, 1);
    display: grid; gap: 16px; padding: 20px 0 40px; color: var(--c-ink); font-size: 14px; line-height: 1.5;
}
.cab * { box-sizing: border-box; }
.cab p { margin: 0; }
.cab h1, .cab h2 { margin: 0; font-weight: 600; letter-spacing: -.02em; color: var(--c-ink); }

.cab-card { background: var(--c-card); border: 1px solid var(--c-hair); border-radius: 20px; padding: 18px; display: grid; gap: 14px; min-width: 0; }
.cab-eyebrow { font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--c-mute); }
.cab-title { font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.cab-muted { color: var(--c-mute); font-size: 13px; }
.cab-between { display: flex; align-items: center; justify-content: space-between; gap: 8px 12px; flex-wrap: wrap; }

.cab-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 18px; border-radius: 12px; border: 0;
    font-size: 14px; font-weight: 600; background: var(--c-navy); color: #fff; white-space: nowrap; cursor: pointer; text-decoration: none;
    transition: transform .15s, box-shadow .2s; }
.cab-btn:hover, .cab-btn:focus { color: #fff; text-decoration: none; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(3, 40, 100, .12); }
.cab-btn:active { transform: scale(.98); box-shadow: none; }
.cab-btn.plain { background: #fff; color: var(--c-ink); border: 1px solid var(--c-hair); }
.cab-btn.plain:hover { color: var(--c-ink); }
.cab-btn.block { width: 100%; }
.cab-link { background: none; border: 0; padding: 0; font: inherit; font-size: 13px; font-weight: 600; color: var(--c-blue); cursor: pointer; }
.cab :focus-visible { outline: 2px solid var(--c-blue); outline-offset: 2px; }

/* приветствие и «что дальше» */
.cab-hello { display: grid; gap: 4px; }
.cab-hello h1 { font-size: 26px; letter-spacing: -.025em; overflow-wrap: anywhere; }
.cab-next { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: center;
    padding: 16px 18px; border-radius: 20px; background: var(--c-deep); color: #fff; }
.cab-next b { display: block; font-size: 15px; font-weight: 600; }
.cab-next span { font-size: 13px; color: #D0DEFC; }
.cab-next .cab-btn { background: #fff; color: var(--c-navy); }
.cab-next::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 30%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.16), transparent);
    transform: translateX(-120%) skewX(-18deg); pointer-events: none; animation: cab-shine 1.4s ease-in-out .6s both; }
.cab-next > * { position: relative; z-index: 1; }

/* путь */
.cab-pathbox { container: cabpath / inline-size; display: grid; gap: 10px; }
.cab-path { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); padding-top: 2px; }
.cab-path::before { content: ""; position: absolute; left: calc(100% / 12); right: calc(100% / 12); top: 15px; height: 2px; background: var(--c-hair); border-radius: 2px; }
.cab-path::after { content: ""; position: absolute; left: calc(100% / 12); top: 15px; height: 2px; width: var(--done); border-radius: 2px;
    background: linear-gradient(90deg, var(--c-blue), var(--c-gfill)); transform-origin: left; animation: cab-grow 1.6s var(--c-ease) .25s both; }
.cab-st { position: relative; z-index: 1; display: grid; justify-items: center; text-align: center; gap: 6px; min-width: 0; }
.cab-st .c { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1.5px solid var(--c-hair); color: var(--c-mute); font-size: 13px; font-weight: 600; }
.cab-st.done .c { background: var(--c-gfill); border-color: var(--c-gfill); color: #fff; }
.cab-st.now .c { border: 2px solid var(--c-blue); color: var(--c-blue); animation: cab-ring 2.4s ease-out 1.4s infinite; }
.cab-st b { font-size: 11.5px; font-weight: 600; line-height: 1.25; }
.cab-st small { font-size: 11px; color: var(--c-mute); line-height: 1.3; }
.cab-st.now b { color: var(--c-blue); }
.cab-path-cap { display: none; font-size: 13px; color: var(--c-ink2); }
@container cabpath (max-width: 700px) { .cab-st small { display: none; } }
@container cabpath (max-width: 560px) { .cab-st b { display: none; } .cab-path-cap { display: block; } }

/* сетка: центр и боковая колонка; на телефоне главное — первым */
.cab-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; align-items: start; }
.cab-col { display: grid; gap: 16px; align-content: start; min-width: 0; }
.cab-title.s { font-size: 15px; }

/* ждём ответа клиник */
.cab-next.wait { grid-template-columns: 40px minmax(0, 1fr) auto; background: #fff; color: var(--c-ink); border: 1px solid var(--c-hair); }
.cab-next.wait::after { display: none; }
.cab-next.wait span { color: var(--c-ink2); }
.cab-next.wait .ic { position: relative; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--c-atint); color: var(--c-amber); }
.cab-next.wait .ic::before { content: ""; position: absolute; inset: 0; border-radius: 12px; padding: 1.5px;
    background: conic-gradient(from 0deg, transparent 0 62%, var(--c-blue) 82%, var(--c-gfill) 100%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
    animation: cab-spin 2.6s linear infinite; }
.cab-next.wait .cab-btn { background: var(--c-navy); color: #fff; }

/* профиль */
.cab-me { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; align-items: center; }
.cab-me b { display: block; font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.cab-avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--c-tint); color: var(--c-navy); font-weight: 600; font-size: 18px; }
.cab-list { display: grid; }
.cab-list > div { display: flex; align-items: flex-start; gap: 10px; padding: 9px 0; border-top: 1px solid var(--c-hair2); font-size: 13.5px; color: var(--c-ink2); min-width: 0; }
.cab-list > div:first-child { border-top: 0; padding-top: 0; }
.cab-list svg { flex: none; margin-top: 2px; color: var(--c-mute); }
.cab-list span { min-width: 0; overflow-wrap: anywhere; }
.cab-chan-form { display: grid; gap: 8px; }
.cab-chan { display: flex; gap: 6px; flex-wrap: wrap; }
.cab-chan button { min-height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--c-hair); background: #fff; font-size: 12.5px; font-weight: 600; color: var(--c-ink2); cursor: pointer; }
.cab-chan button.on { border-color: var(--c-navy); color: var(--c-navy); background: var(--c-tint); }
.cab-edit summary { list-style: none; }
.cab-edit summary::-webkit-details-marker { display: none; }

/* документы */
.cab-file { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 2px 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--c-hair2); }
.cab-file:first-of-type { border-top: 0; }
.cab-file .ic { width: 32px; height: 32px; border-radius: 9px; background: var(--c-hair2); display: grid; place-items: center; color: var(--c-ink2); grid-row: span 3; }
.cab-file a { font-size: 13px; font-weight: 600; color: var(--c-ink); overflow-wrap: anywhere; min-width: 0; }
.cab-file small { font-size: 11.5px; color: var(--c-mute); }
.cab-file form { margin: 0; }
.cab-upload { display: grid; gap: 10px; }
.cab-drop { position: relative; display: grid; gap: 2px; justify-items: center; padding: 14px; border: 1.5px dashed var(--c-hair); border-radius: 12px; text-align: center; cursor: pointer; margin: 0; font-weight: 400; }
.cab-drop:hover { border-color: var(--c-blue); background: var(--c-tint); }
.cab-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.cab-drop span { font-size: 13px; font-weight: 600; color: var(--c-blue); }
.cab-drop small { font-size: 11.5px; color: var(--c-mute); }
.cab-consent { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 8px; align-items: start; font-size: 12.5px; font-weight: 400; color: var(--c-ink2); margin: 0; }
.cab-consent input { margin: 2px 0 0; }

/* вход */
.cab-login { max-width: 440px; margin: 0 auto; width: 100%; }
.cab-login h1 { font-size: 24px; }
.cab-field { display: grid; gap: 6px; }
.cab-field label { font-size: 13px; font-weight: 600; color: var(--c-ink2); }
.cab-field input { height: 46px; border: 1px solid var(--c-hair); border-radius: 12px; padding: 0 14px; font: inherit; font-size: 15px; color: var(--c-ink); background: #fff; width: 100%; }
.cab-field input:focus { outline: none; border-color: var(--c-blue); box-shadow: 0 0 0 3px rgba(11, 79, 168, .12); }
.cab-field input.code { letter-spacing: .4em; font-size: 22px; font-weight: 600; text-align: center; }
.cab-error { color: #C0392B; font-size: 13px; }
.cab-ok { padding: 10px 12px; border-radius: 12px; background: var(--c-gtint); color: var(--c-green); font-size: 13px; overflow-wrap: anywhere; }
.cab-or { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; color: var(--c-mute); font-size: 12px; }
.cab-or::before, .cab-or::after { content: ""; height: 1px; background: var(--c-hair); }
.cab-google { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; border-radius: 12px; border: 1px solid var(--c-hair);
    background: #fff; color: var(--c-ink); font-weight: 600; text-decoration: none; }
.cab-google:hover { color: var(--c-ink); text-decoration: none; border-color: var(--c-blue); }
.cab-actions { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }

/* Атрибут hidden сильнее раскладки: у строк сметы и разделов свой display,
   и без этого правила скрытый доп «по желанию» остался бы на экране. */
.cab [hidden] { display: none !important; }
.cab-btn.ghost { background: var(--c-tint); color: var(--c-navy); }
.cab-btn.ghost:hover, .cab-btn.ghost:focus { color: var(--c-navy); }
a.cab-link { display: inline-flex; align-items: center; gap: 6px; justify-self: start; text-decoration: none; }
a.cab-link:hover, a.cab-link:focus { color: var(--c-navy); text-decoration: none; }
a.cab-link svg { flex: none; transition: transform .2s var(--c-ease); }
a.cab-link:hover svg:last-child { transform: translateX(2px); }
.cab-i { vertical-align: -2px; }

/* «Клиники ответили» — плашка со значком */
.cab-next.has-ic { grid-template-columns: 40px minmax(0, 1fr) auto; }
.cab-next .ic { width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; }

/* метки */
.cab-pill { display: inline-flex; align-items: center; gap: 6px; min-height: 24px; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; line-height: 1.3;
    background: var(--c-hair2); color: var(--c-ink2); white-space: nowrap; }
.cab-pill.g { background: var(--c-gtint); color: var(--c-green); }
.cab-pill.b { background: var(--c-tint); color: var(--c-navy); }
.cab-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.cab-pill.b .dot { animation: cab-live 2.2s ease-out infinite; }

/* предложения — карточки на главной */
.cab-offers { container: caboffers / inline-size; display: grid; gap: 12px; }
.cab-offer { border: 1px solid var(--c-hair); border-radius: 16px; padding: 14px; display: grid; grid-template-columns: 104px minmax(0, 1fr) 204px; gap: 16px; align-items: start;
    background: #fff; transition: border-color .2s, box-shadow .2s; }
.cab-offer:hover { border-color: #D0DEFC; box-shadow: 0 6px 16px rgba(83, 89, 154, .08); }
.cab-offer.chosen { border-color: var(--c-gfill); box-shadow: 0 0 0 3px rgba(65, 144, 71, .12); animation: cab-glow .8s ease .3s both; }
.cab-offer.quiet { background: #F8FAFE; }
.cab-offer.quiet .cab-o-main { opacity: .62; }
.cab-offer.skel { grid-template-columns: 104px minmax(0, 1fr); opacity: .55; }
.cab-offer.skel:hover { border-color: var(--c-hair); box-shadow: none; }
.cab-o-photo { display: block; width: 104px; height: 104px; border-radius: 12px; object-fit: cover; background: var(--c-hair2); }
.cab-o-main { display: grid; gap: 8px; min-width: 0; }
.cab-o-title { display: flex; align-items: baseline; justify-content: space-between; gap: 6px 12px; flex-wrap: wrap; }
.cab-o-title b { font-size: 16px; font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.cab-o-title b .cab-pill { margin-left: 6px; vertical-align: 2px; }
.cab-price { font-size: 18px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; }
.cab-o-sub { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; color: var(--c-mute); min-width: 0; overflow-wrap: anywhere; }
.cab-o-sub > span { min-width: 0; }
.cab-doc { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 10px; align-items: center; }
.cab-doc img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; background: var(--c-hair2); }
.cab-doc b { display: block; font-size: 13px; font-weight: 600; overflow-wrap: anywhere; }
.cab-doc small { display: block; font-size: 12px; color: var(--c-mute); overflow-wrap: anywhere; }
.cab-incl { display: flex; flex-wrap: wrap; gap: 6px; }
.cab-incl > span { display: inline-flex; align-items: center; gap: 4px; min-height: 24px; min-width: 0; padding: 3px 9px; border-radius: 12px; line-height: 1.35;
    background: var(--c-hair2); font-size: 12px; color: var(--c-ink2); overflow-wrap: anywhere; }
.cab-incl svg { flex: none; }
.cab-o-act { display: grid; gap: 8px; }
.cab-chosen-bar { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 6px 10px; flex-wrap: wrap; padding: 10px 12px; border-radius: 12px;
    background: var(--c-gtint); color: var(--c-green); font-size: 13px; font-weight: 600; }
.cab-chosen-bar > span { display: inline-flex; align-items: center; gap: 6px; }
.cab-chosen-bar svg { flex: none; }
.cab-chosen-bar .n { font-weight: 500; }
.cab-skel { display: block; border-radius: 6px; background: linear-gradient(90deg, #E9EFF8 25%, #F6F9FD 50%, #E9EFF8 75%); background-size: 200% 100%;
    animation: cab-shimmer 1.8s linear infinite; }
@container caboffers (max-width: 700px) {
    .cab-offer, .cab-offer.skel { grid-template-columns: 72px minmax(0, 1fr); }
    .cab-o-photo { width: 72px; height: 72px; }
    .cab-o-act { grid-column: 1 / -1; }
}

/* открытое предложение */
.cab-back { display: inline-flex; align-items: center; gap: 6px; justify-self: start; font-size: 13.5px; font-weight: 600; color: var(--c-ink2); }
.cab-back:hover, .cab-back:focus { color: var(--c-navy); text-decoration: none; }
.cab-back svg { transition: transform .2s var(--c-ease); }
.cab-back:hover svg { transform: translateX(-2px); }
.cab-hero-head { display: grid; gap: 2px; min-width: 0; }
.cab-hero h1 { font-size: 28px; letter-spacing: -.025em; overflow-wrap: anywhere; }
.cab-hero-price { text-align: right; }
.cab-bigprice { font-size: 28px; font-weight: 600; letter-spacing: -.02em; white-space: nowrap; border-radius: 6px; }
.cab-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.cab-who { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.cab-who > div { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px; border: 1px solid var(--c-hair); border-radius: 14px;
    min-width: 0; transition: border-color .2s, box-shadow .2s; }
.cab-who > div:hover { border-color: #D0DEFC; box-shadow: 0 6px 16px rgba(83, 89, 154, .08); }
.cab-who > div > div { display: grid; gap: 2px; min-width: 0; }
.cab-who img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; background: var(--c-hair2); }
.cab-who b { font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.cab-who small { font-size: 12px; color: var(--c-mute); overflow-wrap: anywhere; }
.cab-who .cab-link { margin-top: 2px; }

.cab-est { display: grid; }
.cab-est .s { padding: 4px 0 6px; font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--c-mute); }
.cab-est .r + [data-cab-extra] .s { padding-top: 12px; }
.cab-est .r { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--c-hair2); font-size: 14px; }
.cab-est .r > span:first-child { min-width: 0; overflow-wrap: anywhere; }
.cab-est .r small { display: block; font-size: 12px; color: var(--c-mute); }
.cab-est .r > span:last-child { flex: none; font-weight: 600; white-space: nowrap; }
.cab-est .r.new { animation: cab-rowin .5s var(--c-ease) both; }
.cab-est .t { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0 0; border-top: 1.5px solid var(--c-navy); font-size: 15px; font-weight: 600; }
.cab-est .t > span:last-child { white-space: nowrap; border-radius: 6px; }
.cab-letter { font-size: 14px; line-height: 1.65; color: var(--c-ink2); overflow-wrap: anywhere; }

.cab-ups { display: grid; }
.cab-up { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--c-hair2); }
.cab-up:first-child { border-top: 0; padding-top: 0; }
.cab-up img, .cab-up-ic { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; }
.cab-up-ic { display: grid; place-items: center; background: var(--c-tint); color: var(--c-navy); }
.cab-up > div { min-width: 0; }
.cab-up b { display: block; font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.cab-up small { display: block; font-size: 12.5px; color: var(--c-mute); overflow-wrap: anywhere; }
.cab-up .right { display: grid; justify-items: end; gap: 6px; margin: 0; }
.cab-up .right > span { font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.cab-tog { position: relative; flex: none; width: 50px; height: 30px; padding: 0; border: 0; border-radius: 999px; background: #C3D0E6; cursor: pointer; transition: background-color .25s; }
.cab-tog::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(10, 43, 74, .25);
    transition: transform .25s var(--c-ease); }
.cab-tog.on { background: var(--c-gfill); }
.cab-tog.on::after { transform: translateX(20px); }
.cab-tog:disabled { cursor: progress; opacity: .7; }

.cab-sticky { position: sticky; bottom: 12px; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 16px;
    background: rgba(255, 255, 255, .95); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--c-hair); border-radius: 16px; }
.cab-sticky .sum { display: grid; }
.cab-sticky .sum span { font-size: 12px; color: var(--c-mute); }
.cab-sticky .sum b { font-size: 19px; font-weight: 600; white-space: nowrap; border-radius: 6px; }
.cab .flash { animation: cab-flash .9s ease both; }

@keyframes cab-live { 0% { box-shadow: 0 0 0 0 currentColor; } 70%, 100% { box-shadow: 0 0 0 5px transparent; } }
@keyframes cab-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@keyframes cab-glow { from { box-shadow: 0 0 0 0 rgba(65, 144, 71, .35); } to { box-shadow: 0 0 0 3px rgba(65, 144, 71, .12); } }
@keyframes cab-flash { 0% { background: var(--c-gtint); } 100% { background: transparent; } }
@keyframes cab-rowin { from { opacity: 0; transform: translateX(-6px); background: var(--c-gtint); } to { opacity: 1; transform: none; } }
@keyframes cab-spin { to { transform: rotate(360deg); } }
@keyframes cab-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes cab-shine { 0% { transform: translateX(-120%) skewX(-18deg); } 100% { transform: translateX(320%) skewX(-18deg); } }
@keyframes cab-ring { 0% { box-shadow: 0 0 0 5px rgba(11,79,168,.10), 0 0 0 0 rgba(11,79,168,.35); } 100% { box-shadow: 0 0 0 5px rgba(11,79,168,.10), 0 0 0 12px rgba(11,79,168,0); } }
@keyframes cab-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.cab > * { animation: cab-rise .5s var(--c-ease) both; }
.cab > :nth-child(2) { animation-delay: .05s; } .cab > :nth-child(3) { animation-delay: .1s; } .cab > :nth-child(n+4) { animation-delay: .15s; }

@media (max-width: 991px) {
    .cab-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
    .cab { padding: 12px 0 28px; gap: 12px; }
    .cab-grid, .cab-col { gap: 12px; }
    .cab-next.wait, .cab-next.has-ic { grid-template-columns: 40px minmax(0, 1fr); }
    .cab-next.wait .cab-btn, .cab-next.has-ic .cab-btn { grid-column: 1 / -1; }
    .cab-hero h1, .cab-bigprice { font-size: 22px; }
    .cab-hero-price { text-align: left; }
    .cab-up { grid-template-columns: 56px minmax(0, 1fr); }
    .cab-up .right { grid-column: 2; display: flex; justify-content: space-between; align-items: center; }
    .cab-hello h1 { font-size: 22px; }
    .cab-next { grid-template-columns: minmax(0, 1fr); }
    .cab-card { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
    .cab *, .cab *::before, .cab *::after, .cab > * { animation: none !important; transition: none !important; }
}

/* У details на сайте — «+» после блока (FAQ); в профиле кабинета он лишний. */
.cab-edit::after, .cab-edit summary::after, .cab-edit summary::before { display: none !important; content: none !important; }
