/* OrtoDoc — стиль по макету: мягкий голубой фон, стеклянные белые карточки, синий градиент. Mobile/Tablet first. */
:root {
  --bg: #eef4fc;
  --bg2: #e4eefb;
  --card: rgba(255, 255, 255, 0.82);
  --card-solid: #fff;
  --card-border: rgba(255, 255, 255, 0.95);
  --text: #0e1a2b;
  --muted: #6e7c91;
  --muted2: #9aa7b8;
  --line: #e3ebf5;
  --input: #f3f7fd;
  --input-border: #e1e9f4;
  --primary: #1a7cf5;
  --primary-2: #3fa2ff;
  --primary-soft: #e7f1ff;
  --grad: linear-gradient(180deg, #45a9ff 0%, #1874f0 100%);
  --grad-hero: linear-gradient(160deg, #6ec0ff 0%, #3a98fb 45%, #2a86f3 100%);
  --green: #1e9e5a; --green-soft: #e3f6ea;
  --red: #e5484d; --red-soft: #fdecec;
  --orange: #e8890c; --orange-soft: #fff4e2;
  --teal: #0f9b9b; --teal-soft: #e0f5f4;
  --pink: #e6467a; --pink-soft: #fde9f0;
  --violet: #6d5bf5; --violet-soft: #eeebff;
  --shadow: 0 12px 32px -14px rgba(28, 78, 160, 0.22), 0 2px 8px rgba(28, 78, 160, 0.05);
  --shadow-btn: 0 10px 22px -8px rgba(24, 116, 240, 0.55);
  --r: 20px; --r-sm: 14px;
  --tab-h: 74px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; height: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, sans-serif;
  color: var(--text); font-size: 15px; line-height: 1.4;
  background: radial-gradient(1200px 600px at 10% -10%, #dcebff 0%, transparent 60%),
              radial-gradient(900px 500px at 110% 10%, #e6f0ff 0%, transparent 55%), var(--bg);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased; overscroll-behavior-y: none;
}
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
a { color: var(--primary); text-decoration: none; }
img { display: block; max-width: 100%; }
.hidden { display: none !important; }
svg.i { width: 22px; height: 22px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
svg.i.sm { width: 18px; height: 18px; } svg.i.xs { width: 15px; height: 15px; } svg.i.lg { width: 28px; height: 28px; }

/* ---------- Каркас ---------- */
#app { min-height: 100%; }
.shell { display: flex; min-height: 100vh; }
.main { flex: 1; min-width: 0; padding-bottom: calc(var(--tab-h) + var(--safe-b) + 18px); }
.page { max-width: 640px; margin: 0 auto; padding: calc(14px + var(--safe-t)) 16px 0; animation: pageIn .22s ease; }
.page.wide { max-width: 640px; }
@keyframes pageIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.topbar { display: flex; align-items: center; gap: 10px; min-height: 48px; margin-bottom: 10px; }
.topbar h1 { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; margin: 0; flex: 1; }
.topbar h2 { font-size: 18px; font-weight: 700; margin: 0; flex: 1; letter-spacing: -0.01em; }
.topbar.center h2 { text-align: center; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--text); flex: none; }
.icon-btn.glass { background: var(--card); box-shadow: var(--shadow); border: 1px solid var(--card-border); }
.icon-btn:active { transform: scale(.94); }

.card { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--r); box-shadow: var(--shadow);
  backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2); }
.card.pad { padding: 16px; }
.section-title { display: flex; align-items: baseline; justify-content: space-between; margin: 22px 2px 10px; }
.section-title h3 { margin: 0; font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.section-title .sub { color: var(--muted); font-size: 13px; margin-top: 2px; }
.link-more { color: var(--muted); font-size: 13px; display: inline-flex; align-items: center; gap: 2px; font-weight: 500; }
.stack > * + * { margin-top: 12px; }
.row { display: flex; align-items: center; gap: 10px; }
.grow { flex: 1; min-width: 0; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.xs { font-size: 12px; }
.bold { font-weight: 700; }
.ellipsis { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.divider { height: 1px; background: var(--line); margin: 0 14px; }

/* ---------- Кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 20px; border-radius: 16px;
  font-weight: 600; font-size: 15.5px; transition: transform .12s, opacity .12s; white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .55; pointer-events: none; }
.btn.primary { background: var(--grad); color: #fff; box-shadow: var(--shadow-btn); }
.btn.ghost { background: var(--card-solid); color: var(--primary); border: 1px solid #d9e7fa; box-shadow: 0 4px 14px -8px rgba(28,78,160,.25); }
.btn.soft { background: var(--primary-soft); color: var(--primary); }
.btn.green { background: #e2f6e9; color: #129150; border: 1px solid #c9eed6; }
.btn.danger { background: #fff1f1; color: var(--red); border: 1px solid #f7cfd0; }
.btn.block { width: 100%; }
.btn.lg { height: 54px; font-size: 16.5px; border-radius: 18px; }
.btn.sm { height: 38px; padding: 0 14px; font-size: 14px; border-radius: 999px; }
.btn.pill { border-radius: 999px; }
.btn-add { height: 42px; padding: 0 18px; border-radius: 999px; background: var(--grad); color: #fff; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; box-shadow: var(--shadow-btn); font-size: 15px; }
.btn-add.sm { height: 34px; padding: 0 14px; font-size: 13.5px; }
.bottom-actions { position: sticky; bottom: calc(var(--tab-h) + var(--safe-b) + 8px); z-index: 5; display: flex; gap: 12px; padding: 12px; margin: 18px -4px 0;
  background: rgba(255,255,255,.72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-radius: 24px; border: 1px solid var(--card-border); box-shadow: var(--shadow); }
.no-tabs .bottom-actions { bottom: calc(var(--safe-b) + 10px); }
.bottom-actions .btn { flex: 1; }
.bottom-actions .btn.back { flex: 0 0 38%; }

/* ---------- Поля ---------- */
.field { display: block; }
.field + .field { margin-top: 14px; }
.label { display: flex; align-items: center; justify-content: space-between; font-weight: 700; font-size: 15.5px; margin: 0 2px 8px; }
.label .muted { font-weight: 500; }
.input, .textarea, .select { width: 100%; background: var(--input); border: 1px solid var(--input-border); border-radius: var(--r-sm); padding: 13px 14px; outline: none; transition: border .15s, box-shadow .15s; font-size: 15px; }
.textarea { min-height: 92px; resize: vertical; line-height: 1.45; }
.input:focus, .textarea:focus, .select:focus { border-color: #9cc7fb; box-shadow: 0 0 0 4px rgba(26,124,245,.1); background: #fff; }
.input::placeholder, .textarea::placeholder { color: #a6b2c3; }
.search { position: relative; }
.search .input { padding-left: 44px; border-radius: 999px; background: var(--card-solid); border-color: #e2eaf5; height: 48px; box-shadow: 0 4px 14px -10px rgba(28,78,160,.25); }
.search svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.input-group { display: flex; gap: 10px; }
.input-group > * { flex: 1; min-width: 0; }
.phone-input { display: flex; align-items: center; background: var(--input); border: 1px solid var(--input-border); border-radius: var(--r-sm); }
.phone-input span { padding: 0 4px 0 14px; color: var(--muted); font-weight: 600; }
.phone-input input { border: 0; background: transparent; outline: none; padding: 13px 14px 13px 4px; flex: 1; min-width: 0; font-size: 15px; }
.seg { display: flex; background: #e9f0fa; border-radius: 14px; padding: 4px; gap: 4px; }
.seg button { flex: 1; height: 38px; border-radius: 11px; font-weight: 600; color: var(--muted); font-size: 14px; }
.seg button.on { background: #fff; color: var(--text); box-shadow: 0 4px 12px -6px rgba(28,78,160,.3); }
.switch { width: 50px; height: 30px; border-radius: 999px; background: #d5dfec; position: relative; transition: background .2s; flex: none; }
.switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.18); transition: transform .2s; }
.switch.on { background: var(--primary); }
.switch.on::after { transform: translateX(20px); }

/* ---------- Чипы / статусы ---------- */
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; margin: 0 -2px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; height: 40px; padding: 0 18px; border-radius: 999px; background: var(--card-solid); border: 1px solid #e2eaf5; font-weight: 500; color: #3a4a60; display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; box-shadow: 0 4px 14px -10px rgba(28,78,160,.25); }
.chip.on { background: var(--grad); color: #fff; border-color: transparent; box-shadow: var(--shadow-btn); }
.chip.icon { width: 44px; padding: 0; justify-content: center; }
.tag { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 7px; font-size: 12px; font-weight: 600; white-space: nowrap; max-width: 100%; }
.tag.wrap { white-space: normal; height: auto; min-height: 22px; padding: 4px 8px; gap: 4px; }
.tag.green { background: var(--green-soft); color: var(--green); }
.tag.red { background: var(--red-soft); color: var(--red); }
.tag.blue { background: var(--primary-soft); color: var(--primary); }
.tag.teal { background: var(--teal-soft); color: var(--teal); }
.tag.orange { background: var(--orange-soft); color: var(--orange); }
.tag.grey { background: #eef2f7; color: var(--muted); }
.tag.solid { background: var(--primary); color: #fff; }
.tag.lg { height: 28px; padding: 0 11px; border-radius: 999px; font-size: 13px; }
.tag.lg.wrap { height: auto; min-height: 28px; padding: 5px 11px; border-radius: 14px; line-height: 1.3; }
.dx-chip { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 999px; background: #e8f1fd; color: #22416b; font-size: 13.5px; font-weight: 500; border: 1px solid #d8e6f8; }
.dx-chip.on { background: var(--primary); color: #fff; border-color: var(--primary); }
.dx-chip .x { opacity: .7; }
.icd { display: inline-grid; place-items: center; min-width: 64px; height: 44px; padding: 0 10px; border-radius: 12px; background: #e9f2ff; color: var(--primary); font-weight: 700; font-size: 14px; border: 1px solid #cfe2fb; box-shadow: inset 0 0 0 3px #fff; }

/* ---------- Аватары ---------- */
.ava { width: 52px; height: 52px; border-radius: 50%; flex: none; display: grid; place-items: center; font-weight: 700; font-size: 17px; color: #fff; position: relative; overflow: hidden; border: 2.5px solid #fff; box-shadow: 0 4px 12px -4px rgba(28,78,160,.3); }
.ava img { width: 100%; height: 100%; object-fit: cover; }
.ava.m { background: linear-gradient(140deg, #8cc4ff, #3d8ff5); }
.ava.f { background: linear-gradient(140deg, #ffb3c9, #ec6d96); }
.ava.n { background: linear-gradient(140deg, #b9c7da, #8193ac); }
.ava.child::after { content: ''; position: absolute; right: 1px; bottom: 1px; width: 12px; height: 12px; border-radius: 50%; background: #ffc531; border: 2px solid #fff; }
.ava.sm { width: 40px; height: 40px; font-size: 14px; border-width: 2px; }
.ava.lg { width: 104px; height: 104px; font-size: 32px; border-width: 4px; }
.ava.xl { width: 120px; height: 120px; font-size: 36px; border-width: 4px; }

/* ---------- Нижняя навигация ---------- */
.tabbar { position: fixed; left: 10px; right: 10px; bottom: calc(8px + var(--safe-b)); height: var(--tab-h); z-index: 40; display: flex; align-items: center; justify-content: space-around;
  background: rgba(255,255,255,.86); backdrop-filter: blur(22px) saturate(1.3); -webkit-backdrop-filter: blur(22px) saturate(1.3); border-radius: 26px; border: 1px solid var(--card-border); box-shadow: 0 14px 34px -14px rgba(28,78,160,.3); max-width: 620px; margin: 0 auto; }
.tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; color: #7d8aa0; font-size: 11.5px; font-weight: 500; padding: 8px 0; position: relative; }
.tabbar a.on { color: var(--primary); font-weight: 600; }
.tabbar a.on svg.i { fill: rgba(26,124,245,.14); }
.tabbar .badge { position: absolute; top: 4px; left: calc(50% + 6px); min-width: 17px; height: 17px; border-radius: 999px; background: var(--red); color: #fff; font-size: 10.5px; font-weight: 700; display: grid; place-items: center; padding: 0 4px; border: 2px solid #fff; }
.sidebar { display: none; }

/* ---------- Главная ---------- */
.hero { position: relative; margin: calc(-14px - var(--safe-t)) -16px 0; padding: calc(18px + var(--safe-t)) 18px 92px; background: var(--grad-hero); color: #fff; border-radius: 0 0 34px 34px; overflow: hidden; }
.hero::before { content: ''; position: absolute; right: -60px; top: 40px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.35), rgba(255,255,255,0) 70%); }
.hero::after { content: ''; position: absolute; left: -80px; bottom: -120px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.18), rgba(255,255,255,0) 70%); }
.hero-top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 16px; }
.brand-logo { width: 34px; height: 34px; border-radius: 10px; background: #fff; display: grid; place-items: center; color: var(--primary); box-shadow: 0 4px 10px rgba(0,0,0,.08); overflow: hidden; }
.brand-logo img { width: 100%; height: 100%; object-fit: contain; }
.hero .bell { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.25); border: 1px solid rgba(255,255,255,.4); display: grid; place-items: center; color: #fff; position: relative; }
.hero .bell .dot { position: absolute; top: 9px; right: 10px; width: 8px; height: 8px; border-radius: 50%; background: #ff5a5f; border: 1.5px solid #fff; }
.hero-body { position: relative; z-index: 1; display: flex; align-items: center; margin-top: 18px; gap: 8px; }
.hero-text { flex: 1; min-width: 0; }
.hero h1 { font-size: 26px; line-height: 1.18; margin: 0 0 10px; font-weight: 700; letter-spacing: -0.02em; }
.hero p { margin: 0; opacity: .92; font-size: 14px; max-width: 230px; }
.hero-photo { width: 128px; height: 128px; border-radius: 50%; flex: none; background: rgba(255,255,255,.28); border: 3px solid rgba(255,255,255,.65); overflow: hidden; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(10,60,140,.25); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo svg.i { width: 60px; height: 60px; color: #fff; stroke-width: 1.5; }
.quick { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: -72px; }
.quick button { background: var(--card); border: 1px solid var(--card-border); border-radius: 22px; box-shadow: var(--shadow); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); padding: 18px 8px 16px; display: flex; flex-direction: column; align-items: center; gap: 12px; font-weight: 600; font-size: 14px; line-height: 1.25; text-align: center; min-height: 128px; }
.quick button:active { transform: scale(.97); }
.qi { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; }
.qi.blue { background: linear-gradient(180deg, #4aa8ff, #1874f0); color: #fff; box-shadow: 0 8px 18px -8px rgba(24,116,240,.7); }
.qi.green { background: linear-gradient(180deg, #e3f7ea, #c6efd5); color: #179351; }
.qi.pink { background: linear-gradient(180deg, #ffe6ec, #ffcdd9); color: #e2456f; }
.stat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.stat { padding: 14px; display: flex; gap: 10px; align-items: flex-start; }
.stat .si { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.si.green { background: var(--green-soft); color: var(--green); }
.si.blue { background: var(--primary-soft); color: var(--primary); }
.si.orange { background: var(--orange-soft); color: var(--orange); }
.si.violet { background: var(--violet-soft); color: var(--violet); }
.stat .k { font-size: 12px; color: #3a4a60; font-weight: 500; }
.stat .v { font-size: 30px; font-weight: 700; line-height: 1.1; margin: 4px 0 2px; letter-spacing: -0.02em; }
.stat .s { font-size: 12px; color: var(--muted); }

/* ---------- Списки ---------- */
.list { overflow: hidden; }
.list-item { display: flex; align-items: center; gap: 12px; padding: 13px 14px; width: 100%; text-align: left; }
.list-item + .list-item { border-top: 1px solid var(--line); }
.list-item:active { background: rgba(26,124,245,.04); }
.list-item .time { font-weight: 600; font-size: 15px; width: 50px; flex: none; }
.list-item .t { font-weight: 600; font-size: 15.5px; }
.list-item .st { color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.list-item .chev { color: #8a97ab; }
.p-card { display: flex; align-items: center; gap: 14px; padding: 14px; width: 100%; text-align: left; }
.p-card .ava { width: 60px; height: 60px; font-size: 19px; }
.p-card .name { font-weight: 700; font-size: 16px; letter-spacing: -0.005em; }
.p-card .meta { color: var(--muted); font-size: 13.5px; margin: 3px 0 5px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.p-card .meta2 { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.dotsep::before { content: '•'; margin: 0 2px; color: #b4bfcd; }
.p-list { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
.empty { text-align: center; color: var(--muted); padding: 34px 20px; }
.empty .ei { width: 64px; height: 64px; border-radius: 20px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; margin: 0 auto 12px; }

/* ---------- Профиль пациента ---------- */
.pp-head { display: flex; gap: 16px; padding: 16px; align-items: flex-start; }
.pp-head .name { font-size: 19px; font-weight: 700; line-height: 1.22; letter-spacing: -0.01em; }
.pp-head .meta { color: var(--muted); font-size: 14px; margin: 4px 0 10px; }
.pp-line { display: flex; gap: 10px; align-items: center; font-size: 14px; color: #33435a; margin-top: 7px; }
.pp-line .ic { width: 26px; height: 26px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; flex: none; }
.tabs { display: flex; gap: 8px; margin: 16px 0 12px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: none; height: 40px; padding: 0 18px; border-radius: 999px; background: rgba(233,240,250,.9); color: #5a6a80; font-weight: 500; font-size: 14.5px; }
.tabs button.on { background: #fff; color: var(--primary); font-weight: 600; box-shadow: 0 6px 16px -8px rgba(28,78,160,.35); }
.timeline { position: relative; padding: 4px 0 4px 6px; }
.tl-item { position: relative; padding: 0 0 18px 30px; display: block; width: 100%; text-align: left; }
.tl-item::before { content: ''; position: absolute; left: 6px; top: 16px; bottom: -2px; width: 2px; background: #d7e5f8; }
.tl-item:last-child::before { display: none; }
.tl-item::after { content: ''; position: absolute; left: 0; top: 3px; width: 10px; height: 10px; border-radius: 50%; border: 2.5px solid var(--primary); background: #fff; }
.tl-item.done::after { background: var(--primary); }
.tl-item .d { font-weight: 700; font-size: 15px; }
.tl-item .k { font-size: 16px; font-weight: 500; margin-top: 3px; }
.tl-item .x { color: var(--muted); font-size: 13.5px; margin-top: 3px; }
.dyn-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.dyn-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.dyn-photos figure { margin: 0; position: relative; border-radius: 14px; overflow: hidden; background: #e9f0f9; aspect-ratio: 4/5; }
.dyn-photos img { width: 100%; height: 100%; object-fit: cover; }
.dyn-photos figcaption { position: absolute; left: 8px; bottom: 8px; background: rgba(14,26,43,.62); color: #fff; font-size: 11.5px; font-weight: 600; padding: 3px 8px; border-radius: 8px; backdrop-filter: blur(6px); }
.photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.photo-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; background: #e9f0f9; }

/* ---------- Мастер осмотра ---------- */
.stepper { display: flex; align-items: flex-start; margin: 4px 0 16px; padding: 0 4px; }
.stepper .s { flex: 1; position: relative; font-size: 12px; color: var(--muted2); }
.stepper .s .bar { height: 2px; background: #d6e2f2; margin: 8px 0 8px 6px; position: relative; }
.stepper .s .bar::before { content: ''; position: absolute; left: -6px; top: -5px; width: 12px; height: 12px; border-radius: 50%; background: #c9d6e8; border: 3px solid #eef4fc; box-sizing: content-box; transform: translate(-3px, -3px); }
.stepper .s.done .bar, .stepper .s.cur .bar { background: linear-gradient(90deg, var(--primary) 50%, #d6e2f2 50%); }
.stepper .s.done .bar { background: var(--primary); }
.stepper .s.done .bar::before, .stepper .s.cur .bar::before { background: var(--primary); }
.stepper .s.cur .bar::before { box-shadow: 0 0 0 4px rgba(26,124,245,.18); border-color: #fff; }
.stepper .s.cur { color: var(--primary); font-weight: 600; }
.stepper .s.done { color: var(--muted); }
.form-card { padding: 16px; }
.form-card + .form-card { margin-top: 12px; }
.mic { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: var(--primary); }
.mic.rec { background: var(--red); color: #fff; animation: pulse 1.2s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(229,72,77,.4); } 50% { box-shadow: 0 0 0 8px rgba(229,72,77,0); } }
.info-card { display: flex; gap: 14px; align-items: center; padding: 16px; }
.info-card .ii { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(180deg, #dcecff, #c5defd); color: var(--primary); flex: none; }
.info-card .t { font-weight: 700; font-size: 16px; }
.info-card .s { color: var(--muted); font-size: 13.5px; margin-top: 3px; }
.slots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.slot { border-radius: 18px; overflow: hidden; background: var(--card); border: 1px solid var(--card-border); box-shadow: var(--shadow); text-align: center; position: relative; }
.slot .img { aspect-ratio: 1.25; background: linear-gradient(180deg, #edf3fb, #e1eaf6); display: grid; place-items: center; color: #8aa0bd; position: relative; overflow: hidden; }
.slot .img img { width: 100%; height: 100%; object-fit: cover; }
.slot .img .ph { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12.5px; }
.slot .cap { padding: 10px 6px 11px; font-size: 13.5px; font-weight: 500; color: #33435a; }
.slot .rm { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; color: var(--primary); box-shadow: 0 2px 8px rgba(0,0,0,.12); z-index: 2; }
.slot .badge-ai { position: absolute; left: 8px; bottom: 8px; background: rgba(14,26,43,.68); color: #fff; font-size: 11.5px; font-weight: 600; border-radius: 8px; padding: 3px 7px; display: inline-flex; gap: 4px; align-items: center; z-index: 2; backdrop-filter: blur(6px); }
.slot .badge-ai.bad { background: rgba(229,72,77,.9); }
.slot .badge-ai.ok { background: rgba(30,158,90,.9); }
.slot .loading { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(255,255,255,.6); }
.photo-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.photo-actions .btn { height: 52px; border-radius: 16px; font-size: 14.5px; }
.ai-toggle { display: flex; gap: 14px; align-items: center; padding: 16px; }
.ai-toggle .ii { width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(180deg, #e2efff, #cfe3fd); color: var(--primary); display: grid; place-items: center; flex: none; }
.progress { height: 10px; border-radius: 999px; background: #e3ebf6; overflow: hidden; }
.progress > div { height: 100%; border-radius: 999px; background: var(--grad); transition: width .4s; }
.spinner { width: 40px; height: 40px; border-radius: 50%; border: 4px solid #dbe8fa; border-top-color: var(--primary); animation: spin 1s linear infinite; flex: none; }
.spinner.sm { width: 20px; height: 20px; border-width: 3px; }
@keyframes spin { to { transform: rotate(360deg); } }
.ai-res { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 6px 10px; padding: 13px 0; align-items: start; }
.ai-res + .ai-res { border-top: 1px solid var(--line); }
.ai-res .k { display: flex; gap: 8px; align-items: center; font-size: 14px; font-weight: 500; color: #33435a; padding-top: 4px; }
.ai-res .k svg { color: var(--primary); }
.ai-res .v .conf { font-size: 13px; color: var(--muted); margin-top: 6px; }
.ai-res .v .conf b { color: var(--text); }
.warn-card { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 18px; background: linear-gradient(180deg, #fff9ec, #fff3dc); border: 1px solid #fbe7c1; font-size: 13.5px; color: #6b5528; }
.warn-card .wi { width: 40px; height: 40px; border-radius: 12px; background: #ffe7b8; display: grid; place-items: center; color: #d38200; flex: none; }
.hint-list { margin: 0; padding-left: 18px; color: #33435a; font-size: 14px; }
.hint-list li + li { margin-top: 5px; }
.dx-row { display: flex; gap: 10px; align-items: center; }
.dx-row + .dx-row { margin-top: 10px; }
.dx-row .dx-name { flex: 1; min-width: 0; background: var(--input); border: 1px solid var(--input-border); border-radius: 12px; padding: 0 12px; height: 44px; display: flex; align-items: center; font-size: 14px; }
.rec-card { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 16px; background: var(--input); border: 1px solid var(--input-border); width: 100%; text-align: left; }
.rec-card + .rec-card { margin-top: 8px; }
.rec-card .thumb { width: 86px; height: 64px; border-radius: 12px; flex: none; display: grid; place-items: center; overflow: hidden; }
.rec-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.rec-card .thumb.ex { background: linear-gradient(160deg, #fbe7dc, #f3d1c0); color: #c0715a; }
.rec-card .thumb.pr { background: linear-gradient(160deg, #e7edf5, #d3dde9); color: #3b4a5f; }
.rec-card .thumb.tr { background: linear-gradient(160deg, #e3f6ea, #c9eed6); color: #179351; }
.rec-card .t { font-size: 14px; color: #22324a; }
.rec-card .s { font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { display: flex; gap: 10px; align-items: center; padding: 7px 0; font-size: 14px; }
.check { width: 22px; height: 22px; border-radius: 7px; background: #e3f6ea; color: var(--green); display: grid; place-items: center; flex: none; }
.check.off { background: #eef2f7; color: transparent; border: 1.5px solid #d4dde9; }
.ctrl-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.add-line { display: inline-flex; align-items: center; gap: 6px; color: var(--primary); font-weight: 600; font-size: 14px; margin-top: 10px; }

/* ---------- Отчёт ---------- */
.report { padding: 18px; }
.report .rh { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.report .rb { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.report .rb .brand-logo { width: 34px; height: 34px; background: var(--primary-soft); }
.report .rn { text-align: right; font-size: 11.5px; color: var(--muted); }
.report .rn b { color: var(--text); display: block; font-size: 12.5px; }
.report h4 { margin: 16px 0 6px; font-size: 14px; }
.report .dx { display: flex; gap: 10px; font-size: 13.5px; align-items: center; margin-top: 5px; }
.report .dx .code { background: var(--primary-soft); color: var(--primary); font-weight: 700; font-size: 12px; padding: 2px 7px; border-radius: 6px; }
.report .thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.report .thumbs img { width: 100%; aspect-ratio: .72; object-fit: cover; border-radius: 9px; background: #e9f0f9; }
.report ol { margin: 0; padding-left: 20px; font-size: 13.5px; color: #33435a; }
.report ol li + li { margin-top: 3px; }

/* ---------- Ожидание / календарь ---------- */
.q-item { display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 22px; position: relative; width: 100%; text-align: left; }
.q-item::before { content: ''; position: absolute; left: 8px; top: 0; bottom: 0; width: 2px; background: #d7e5f8; }
.q-item::after { content: ''; position: absolute; left: 4px; top: 50%; margin-top: -5px; width: 10px; height: 10px; border-radius: 50%; background: #fff; border: 2.5px solid var(--primary); box-sizing: border-box; }
.q-item.past::after { background: var(--primary); }
.q-item.future::after { border-color: #c7d4e6; }
.q-item + .q-item { border-top: 1px solid var(--line); }
.cal-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 8px; }
.cal-head .m { font-weight: 700; font-size: 17px; }
.cal-nav { width: 34px; height: 34px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); padding: 0 8px 12px; text-align: center; }
.cal-grid .wd { font-size: 12px; color: var(--muted); padding: 6px 0; }
.cal-grid button { height: 44px; position: relative; font-weight: 500; font-size: 15px; border-radius: 50%; width: 44px; margin: 0 auto; }
.cal-grid button.out { color: #c5cfdc; }
.cal-grid button.today { color: var(--primary); font-weight: 700; }
.cal-grid button.sel { background: var(--grad); color: #fff; box-shadow: var(--shadow-btn); }
.cal-grid button .dots { position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%); display: flex; gap: 2px; }
.cal-grid button .dots i { width: 4px; height: 4px; border-radius: 50%; background: var(--primary); }
.cal-grid button.sel .dots i { background: #fff; }

/* ---------- Настройки ---------- */
.menu { overflow: hidden; }
.menu-item { display: flex; align-items: center; gap: 12px; padding: 15px 16px; width: 100%; text-align: left; font-size: 15px; font-weight: 500; }
.menu-item + .menu-item { border-top: 1px solid var(--line); }
.menu-item svg.i:first-child { color: #3a5a86; }
.menu-item .val { color: var(--muted); font-size: 14px; }
.clinic-card { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 16px; background: var(--input); width: 100%; text-align: left; }
.clinic-logo { width: 60px; height: 60px; border-radius: 16px; background: #fff; display: grid; place-items: center; color: var(--primary); overflow: hidden; flex: none; box-shadow: 0 4px 12px -6px rgba(28,78,160,.3); }
.clinic-logo img { width: 100%; height: 100%; object-fit: contain; }
.online-dot { position: absolute; right: 6px; bottom: 6px; width: 16px; height: 16px; border-radius: 50%; background: #22c55e; border: 3px solid #fff; }
.sig-pad { width: 100%; height: 170px; border-radius: 14px; background: #fff; border: 1.5px dashed #c8d7ec; touch-action: none; display: block; }
.upl { display: flex; align-items: center; gap: 12px; }
.upl .prev { width: 72px; height: 72px; border-radius: 16px; background: var(--input); border: 1px solid var(--input-border); overflow: hidden; display: grid; place-items: center; color: var(--muted2); flex: none; }
.upl .prev img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- Модалки / шторки ---------- */
.overlay { position: fixed; inset: 0; z-index: 80; background: rgba(14,26,43,.32); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); display: flex; align-items: flex-end; justify-content: center; animation: fade .18s ease; }
@keyframes fade { from { opacity: 0; } }
.sheet { width: 100%; max-width: 640px; max-height: 92vh; overflow-y: auto; background: #f6f9fe; border-radius: 28px 28px 0 0; padding: 10px 16px calc(20px + var(--safe-b)); animation: up .24s cubic-bezier(.2,.8,.2,1); box-shadow: 0 -10px 40px rgba(14,26,43,.18); }
@keyframes up { from { transform: translateY(40px); opacity: .6; } }
.sheet .grab { width: 40px; height: 5px; border-radius: 99px; background: #cfd9e7; margin: 0 auto 12px; }
.sheet h3 { margin: 0 0 14px; font-size: 19px; display: flex; align-items: center; justify-content: space-between; }
.sheet .actions { display: flex; gap: 10px; margin-top: 18px; }
.sheet .actions .btn { flex: 1; }
.pick-item { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; width: 100%; text-align: left; background: #fff; border: 1px solid #e6edf6; }
.pick-item + .pick-item { margin-top: 8px; }
.pick-item.on { border-color: var(--primary); background: #f1f7ff; box-shadow: 0 0 0 3px rgba(26,124,245,.1); }
.toast { position: fixed; left: 50%; top: calc(14px + var(--safe-t)); transform: translateX(-50%); z-index: 120; background: #0e1a2b; color: #fff; padding: 12px 18px; border-radius: 14px; font-size: 14px; font-weight: 500; box-shadow: 0 10px 30px rgba(0,0,0,.25); max-width: calc(100% - 32px); animation: tin .25s ease; }
.toast.err { background: #c8343a; }
.toast.ok { background: #148a4d; }
@keyframes tin { from { opacity: 0; transform: translate(-50%, -8px); } }

/* ---------- Камера / разметка ---------- */
.fullscreen { position: fixed; inset: 0; z-index: 100; background: #0b1320; color: #fff; display: flex; flex-direction: column; }
.fs-top { display: flex; align-items: center; gap: 10px; padding: calc(10px + var(--safe-t)) 12px 10px; }
.fs-top .t { flex: 1; font-weight: 600; font-size: 16px; text-align: center; }
.fs-btn { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; display: grid; place-items: center; }
.cam-view { flex: 1; position: relative; overflow: hidden; display: grid; place-items: center; }
.cam-view video { width: 100%; height: 100%; object-fit: contain; }
.cam-guide { position: absolute; inset: 8% 12%; border: 2px dashed rgba(255,255,255,.55); border-radius: 24px; pointer-events: none; display: flex; align-items: flex-end; justify-content: center; }
.cam-guide span { background: rgba(0,0,0,.5); padding: 6px 12px; border-radius: 10px; font-size: 13px; margin-bottom: 12px; }
.cam-bar { display: flex; align-items: center; justify-content: space-around; padding: 16px 20px calc(22px + var(--safe-b)); }
.shutter { width: 76px; height: 76px; border-radius: 50%; background: #fff; border: 5px solid rgba(255,255,255,.35); background-clip: padding-box; }
.shutter:active { transform: scale(.94); }
.ann-wrap { flex: 1; position: relative; overflow: hidden; touch-action: none; display: grid; place-items: center; }
.ann-wrap canvas { touch-action: none; max-width: 100%; max-height: 100%; }
.ann-tools { display: flex; gap: 8px; padding: 10px 12px; overflow-x: auto; scrollbar-width: none; }
.ann-tools button { flex: none; height: 38px; padding: 0 14px; border-radius: 999px; background: rgba(255,255,255,.12); color: #fff; font-size: 13.5px; font-weight: 500; display: inline-flex; gap: 6px; align-items: center; }
.ann-tools button.on { background: var(--primary); }
.ann-res { padding: 4px 14px 6px; font-size: 13.5px; display: flex; flex-wrap: wrap; gap: 6px 10px; min-height: 30px; }
.ann-res span { background: rgba(255,255,255,.1); padding: 4px 10px; border-radius: 9px; }
.ann-res .bad { color: #ff9a9d; } .ann-res .ok { color: #7ee2a8; }
.ann-bottom { display: flex; gap: 10px; padding: 8px 12px calc(14px + var(--safe-b)); }
.ann-bottom .btn { flex: 1; }
.ann-bottom .btn.ghost { background: rgba(255,255,255,.12); color: #fff; border: 0; box-shadow: none; }
.ann-help { font-size: 12px; color: rgba(255,255,255,.65); text-align: center; padding: 0 16px 4px; }

/* ---------- Вход ---------- */
.auth { min-height: 100vh; display: flex; flex-direction: column; }
.auth-hero { background: var(--grad-hero); color: #fff; padding: calc(28px + var(--safe-t)) 24px 90px; border-radius: 0 0 36px 36px; position: relative; overflow: hidden; text-align: center; }
.auth-hero::before { content: ''; position: absolute; right: -80px; top: -40px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.3), transparent 70%); }
.auth-hero .brand { justify-content: center; position: relative; }
.auth-hero .hero-photo { margin: 24px auto 14px; position: relative; }
.auth-hero h1 { margin: 0; font-size: 24px; font-weight: 700; position: relative; letter-spacing: -0.02em; }
.auth-hero p { margin: 6px 0 0; opacity: .9; font-size: 14px; position: relative; }
.auth-card { margin: -64px 16px 0; padding: 22px 18px; position: relative; z-index: 2; max-width: 460px; align-self: center; width: calc(100% - 32px); }
.auth-card h2 { margin: 0 0 6px; font-size: 21px; letter-spacing: -0.01em; }
.auth-card .sub { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.code-input { font-size: 28px; letter-spacing: 0.5em; text-align: center; font-weight: 700; padding: 12px 0 12px .5em; }
.state-icon { width: 76px; height: 76px; border-radius: 24px; display: grid; place-items: center; margin: 0 auto 14px; }
.state-icon svg.i { width: 36px; height: 36px; }
.auth-foot { text-align: center; color: var(--muted); font-size: 12.5px; padding: 22px 16px calc(20px + var(--safe-b)); margin-top: auto; }

/* ---------- Админ ---------- */
.adm-doc { padding: 16px; }
.adm-doc .top { display: flex; gap: 12px; align-items: center; }
.adm-doc .kv { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 14px 0 12px; }
.adm-doc .kv div { background: var(--input); border-radius: 12px; padding: 9px 10px; }
.adm-doc .kv b { display: block; font-size: 16px; }
.adm-doc .kv span { font-size: 11.5px; color: var(--muted); }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; }
.req { padding: 14px 16px; }
.req + .req { border-top: 1px solid var(--line); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; }
.chart-bars { display: grid; gap: 8px; }
.chart-bars .b { display: grid; grid-template-columns: minmax(0, 1fr) 44px; gap: 8px; align-items: center; font-size: 13.5px; }
.chart-bars .track { height: 9px; background: #e6eef9; border-radius: 99px; overflow: hidden; margin-top: 5px; }
.chart-bars .track i { display: block; height: 100%; background: var(--grad); border-radius: 99px; }

/* ---------- Планшет ---------- */
@media (min-width: 768px) {
  .page { max-width: 1060px; padding: 26px 28px 0; }
  .page.narrow { max-width: 820px; }
  .tabbar { display: none; }
  .main { padding-bottom: 30px; }
  .bottom-actions, .no-tabs .bottom-actions { bottom: 14px; }
  .sidebar { display: flex; flex-direction: column; width: 92px; flex: none; position: sticky; top: 0; height: 100vh; padding: 20px 10px; gap: 6px; align-items: center;
    background: rgba(255,255,255,.7); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-right: 1px solid rgba(255,255,255,.9); box-shadow: 8px 0 30px -20px rgba(28,78,160,.25); z-index: 30; }
  .sidebar .brand-logo { width: 46px; height: 46px; border-radius: 14px; background: var(--grad); color: #fff; margin-bottom: 18px; box-shadow: var(--shadow-btn); }
  .sidebar a { width: 74px; display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 11px 0; border-radius: 18px; color: #7d8aa0; font-size: 11.5px; font-weight: 500; position: relative; }
  .sidebar a.on { background: var(--primary-soft); color: var(--primary); font-weight: 600; }
  .sidebar .badge { position: absolute; top: 6px; right: 14px; min-width: 18px; height: 18px; border-radius: 99px; background: var(--red); color: #fff; font-size: 10.5px; font-weight: 700; display: grid; place-items: center; padding: 0 4px; }
  .hero { margin: -26px -28px 0; padding: 30px 32px 100px; border-radius: 0 0 40px 40px; }
  .hero h1 { font-size: 34px; }
  .hero p { max-width: 380px; font-size: 15.5px; }
  .hero-photo { width: 170px; height: 170px; }
  .quick { gap: 16px; margin-top: -78px; }
  .quick button { flex-direction: row; justify-content: center; min-height: 100px; font-size: 16px; gap: 14px; text-align: left; }
  .home-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 22px; align-items: start; }
  .p-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .slots { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .pp-side { position: sticky; top: 20px; }
  .dyn-photos { grid-template-columns: repeat(2, minmax(0, 260px)); }
  .photo-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .overlay { align-items: center; }
  .sheet { border-radius: 28px; max-width: 560px; padding-bottom: 22px; }
  .sheet .grab { display: none; }
  .auth { flex-direction: row; align-items: stretch; }
  .auth-hero { flex: 1; border-radius: 0 40px 40px 0; display: flex; flex-direction: column; justify-content: center; padding: 40px; }
  .auth-hero .hero-photo { width: 180px; height: 180px; }
  .auth-hero h1 { font-size: 32px; }
  .auth-side { flex: 1; display: flex; flex-direction: column; justify-content: center; }
  .auth-card { margin: 0 auto; }
  .wizard-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }
  .wizard-cols .form-card + .form-card { margin-top: 0; }
  .adm-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .topbar h1 { font-size: 32px; }
}
@media (min-width: 1180px) {
  .p-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sidebar { width: 220px; align-items: stretch; padding: 24px 16px; }
  .sidebar .brand-row { display: flex; align-items: center; gap: 10px; font-weight: 700; margin-bottom: 18px; }
  .sidebar .brand-row .brand-logo { margin: 0; }
  .sidebar a { width: auto; flex-direction: row; gap: 12px; padding: 12px 14px; font-size: 14.5px; }
  .sidebar .badge { position: static; margin-left: auto; }
}
@media (max-width: 767px) { .sidebar .brand-row span { display: none; } }
@media (min-width: 768px) and (max-width: 1179px) { .sidebar .brand-row span { display: none; } }
@media (max-width: 370px) {
  .quick button { font-size: 12.5px; min-height: 118px; }
  .hero h1 { font-size: 23px; }
  .hero-photo { width: 104px; height: 104px; }
  .ai-res { grid-template-columns: minmax(0, 1fr); }
}
@media print { .tabbar, .sidebar, .bottom-actions { display: none !important; } }

/* Правки адаптива */
.bottom-actions .btn { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.bottom-actions .btn.back { flex: 0 0 auto; padding: 0 16px; }
@media (max-width: 400px) { .bottom-actions .btn { font-size: 14.5px; padding: 0 12px; } .bottom-actions { gap: 8px; padding: 10px; } }
.report-row { display: flex; gap: 8px; width: 100%; }
.report-row .btn { flex: 1; min-width: 0; padding: 0 10px; }
.report-row .btn.sq { flex: 0 0 48px; padding: 0; }
@media (max-width: 520px) { .adm-doc .kv { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.adm-doc .kv b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.photo-actions .btn, .row > .btn { min-width: 0; overflow: hidden; text-overflow: ellipsis; }

/* iOS: без автоприближения при вводе — шрифт полей не меньше 16px */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
input, textarea, select, .input, .textarea, .select, .phone-input input, [contenteditable] { font-size: 16px !important; }
.code-input { font-size: 28px !important; }

@media (min-width: 1000px) { .pp-cols { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 22px; align-items: start; } .pp-cols .tabs { margin-top: 0; } }
