/* Alex Concierge – слой проекта поверх iOS Base. Премиальная тёмная тема: графит + золото. */
:root{
  --bg:#0b0b0d;--bg-grouped:#0b0b0d;--surface:#17171b;--surface-elevated:#1e1e23;
  --label:#f4f1ea;--label-secondary:#aaa59c;--label-tertiary:#8c877f;
  --separator:#2d2d33;--border-control:#3b3b42;--fill-track:#25252b;--fill-selected:#3a3a42;
  --skeleton:#25252b;--skeleton-highlight:#2f2f36;
  /* слой 2: золото, 9:1 на фоне */
  --accent:#d6b26e;--on-accent:#1a150b;--accent-tint:#2a2417;--accent-deep:#b8924c;
  --success:#5fcf96;--danger:#ff6f61;--on-danger:#1a0b09;--warning:#eab65a;
  --scrim:rgba(0,0,0,0.6);
  --glass:rgba(32,32,37,0.72);--glass-border:rgba(255,255,255,0.09);--glass-selected:rgba(255,255,255,0.09);
  --shadow-card:0 1px 2px rgba(0,0,0,0.4),0 8px 24px rgba(0,0,0,0.35);
  --shadow-sheet:0 -8px 40px rgba(0,0,0,0.5);
  --shadow-glass:inset 0 1px 0 rgba(255,255,255,0.08),0 8px 24px rgba(0,0,0,0.45),0 1px 3px rgba(0,0,0,0.3);
  --font-sans:-apple-system,BlinkMacSystemFont,"SF Pro Text","SF Pro Display",system-ui,"Helvetica Neue",sans-serif;
  --font-brand:"Cormorant Garamond",Georgia,"Times New Roman",serif;
  --space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:20px;--space-6:24px;--space-8:32px;--space-10:40px;--space-12:48px;
  --radius-sm:8px;--radius-md:12px;--radius-lg:16px;--radius-xl:24px;--radius-pill:999px;
  --screen-width:393px;--screen-height:852px;--safe-top:59px;--safe-bottom:34px;--nav-bar:44px;--tab-bar:62px;--tab-bar-inset:21px;
  --glass-blur:24px;--touch-target:44px;--cta-height:52px;--screen-margin:16px;
}
body{margin:0;font-family:var(--font-sans);color:var(--label);background:var(--bg)}
a{color:var(--accent);text-decoration:none}
a:hover{color:#e6c88d}
.large-title{font-size:34px;line-height:41px;font-weight:700;letter-spacing:-.4px}
.title-1{font-size:28px;line-height:34px;font-weight:700;letter-spacing:-.3px}
.title-2{font-size:22px;line-height:28px;font-weight:700}
.title-3{font-size:20px;line-height:25px;font-weight:600}
.headline{font-size:17px;line-height:22px;font-weight:600}
.body{font-size:17px;line-height:22px;font-weight:400}
.callout{font-size:16px;line-height:21px;font-weight:400}
.subhead{font-size:15px;line-height:20px;font-weight:400}
.footnote{font-size:13px;line-height:18px;font-weight:400}
.caption{font-size:12px;line-height:16px;font-weight:400}
.caption-2{font-size:11px;line-height:13px;font-weight:400}
.sec{color:var(--label-secondary)}
.gold{color:var(--accent)}
.num{font-variant-numeric:tabular-nums}
.brand{font-family:var(--font-sans);font-weight:600;text-transform:uppercase;letter-spacing:.22em;font-size:13px !important;line-height:18px !important}
.push__icon{font-family:var(--font-sans) !important;font-size:16px !important}

/* экран */
.scr{width:393px;height:852px;position:relative;overflow:hidden;background:var(--bg);font-family:var(--font-sans);color:var(--label)}
.scroll{position:absolute;inset:0;overflow-y:auto;overflow-x:hidden}
.scroll > *{flex:none}
.scr *{scrollbar-width:none}
.scr *::-webkit-scrollbar{display:none}
.scr button{font-family:inherit;-webkit-appearance:none;appearance:none}
.ios-status{position:relative;z-index:3;font-size:16px;font-weight:600;background:transparent}
.status-icons{display:flex;gap:6px;align-items:center}
.status-icons svg{width:18px;height:12px}
.ios-navbar{background:linear-gradient(to bottom,var(--bg) 45%,transparent)}
.ios-navbar--clear{background:none}

.i{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.i-sm{width:18px;height:18px}
.ios-i{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* карточки */
.card{background:var(--surface);border-radius:20px;padding:var(--space-4)}
.tile{width:44px;height:44px;border-radius:14px;background:var(--accent-tint);color:var(--accent);display:grid;place-items:center;flex:none}
.tile svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.chip{display:inline-flex;align-items:center;gap:4px;height:26px;padding:0 10px;border-radius:var(--radius-pill);font-size:12px;font-weight:600;background:var(--fill-track);color:var(--label)}
.chip--gold{background:var(--accent-tint);color:var(--accent)}
.chip--ok{background:rgba(95,207,150,.14);color:var(--success)}
.chip--warn{background:rgba(234,182,90,.14);color:var(--warning)}

/* кнопки */
.btn-link{display:flex;align-items:center;justify-content:center;gap:var(--space-2);min-height:52px;border-radius:16px;background:var(--accent);color:var(--on-accent);font-size:17px;font-weight:600;text-decoration:none;border:0;cursor:pointer;width:100%;transition:transform .12s ease-out,filter .12s ease-out}
.btn-link:hover{color:var(--on-accent);filter:brightness(1.06)}
.btn-link:active{transform:scale(.97)}
.btn-link--tinted{background:var(--fill-track);color:var(--label)}
.btn-link--tinted:hover{color:var(--label)}
.btn-link--off{opacity:.35;cursor:default}
.btn-link--off:active{transform:none}
.ios-btn{border-radius:16px;font-weight:600}
.ios-btn--tinted{background:var(--fill-track);color:var(--label)}

/* поля */
.ios-input{background:var(--surface);border-color:var(--border-control);color:var(--label);font-size:17px;border-radius:14px}
.field-btn{display:flex;align-items:center;gap:12px;width:100%;min-height:52px;padding:0 16px;border:1px solid var(--border-control);border-radius:14px;background:var(--surface);color:var(--label);font:inherit;font-size:17px;text-align:left;cursor:pointer}
.field-btn .ph{color:var(--label-tertiary)}

/* сегменты */
.ios-seg{display:flex;padding:3px;border-radius:12px;background:var(--fill-track)}
.ios-seg__item{flex:1;background:transparent;border:0;border-radius:9px;min-height:34px;font-size:15px;line-height:20px;font-weight:500;color:var(--label);cursor:pointer}
.ios-seg__item.is-active{background:var(--fill-selected);font-weight:600;box-shadow:0 1px 3px rgba(0,0,0,.4)}

/* строки */
.kv{display:flex;justify-content:space-between;gap:var(--space-4);padding:12px 0;border-top:.5px solid var(--separator)}
.kv:first-child{border-top:0}
.kv > span:first-child{color:var(--label-secondary)}
.kv > span:last-child{text-align:right;font-weight:500}
.row-link{display:flex;align-items:center;gap:var(--space-3);min-height:52px;padding:10px var(--space-4);color:var(--label);text-decoration:none;position:relative;background:none;border:0;width:100%;font:inherit;text-align:left;cursor:pointer;box-sizing:border-box}
.row-link:hover{color:var(--label);background:rgba(255,255,255,0.03)}
.row-link + .row-link::before{content:"";position:absolute;top:0;left:56px;right:0;border-top:.5px solid var(--separator)}
.group{background:var(--surface);border-radius:18px;overflow:hidden}
.sect{font-size:13px;line-height:18px;color:var(--label-secondary);padding:0 16px 8px;margin:0}
.chev{width:18px;height:18px;color:var(--label-tertiary);fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:none;margin-left:auto}

/* степпер */
.stepper{display:flex;align-items:center;gap:4px}
.stepper button{width:40px;height:40px;border-radius:50%;border:0;background:var(--fill-track);color:var(--label);display:grid;place-items:center;cursor:pointer}
.stepper button.off{opacity:.35;cursor:default}
.stepper button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.stepper span{min-width:32px;text-align:center;font-size:17px;font-weight:600}

/* переключатель */
.sw{width:51px;height:31px;border-radius:999px;background:var(--fill-selected);border:0;padding:2px;cursor:pointer;flex:none;transition:background .18s ease-out}
.sw::after{content:"";display:block;width:27px;height:27px;border-radius:50%;background:#fff;box-shadow:0 2px 4px rgba(0,0,0,.3);transition:transform .18s ease-out}
.sw.on{background:var(--accent)}
.sw.on::after{transform:translateX(20px)}

/* нижняя панель с ценой */
.dock{position:absolute;left:0;right:0;bottom:0;z-index:4;padding:24px 16px 34px;background:linear-gradient(to top,var(--bg) 72%,transparent)}

/* push */
.push{position:absolute;left:8px;right:8px;top:52px;z-index:8;display:flex;gap:var(--space-3);align-items:flex-start;padding:12px 14px;border-radius:22px;background:rgba(44,44,50,0.86);-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);box-shadow:0 10px 32px rgba(0,0,0,0.5);color:var(--label);text-decoration:none;animation:pushIn .35s cubic-bezier(.2,.9,.3,1);border:0;font:inherit;text-align:left;cursor:pointer}
.push:hover{color:var(--label)}
.push__icon{width:38px;height:38px;border-radius:10px;background:#111;border:1px solid #3a3226;color:var(--accent);display:grid;place-items:center;flex:none;font-family:var(--font-brand);font-weight:700;font-size:18px}
@keyframes pushIn{from{transform:translateY(-24px);opacity:0}to{transform:none;opacity:1}}

/* шторка */
.sheet-scrim{position:absolute;inset:0;z-index:6;background:var(--scrim)}
.sheet{position:absolute;left:0;right:0;bottom:0;z-index:7;background:var(--surface-elevated);border-radius:28px 28px 0 0;box-shadow:var(--shadow-sheet);padding:8px 16px 34px;animation:sheetIn .3s cubic-bezier(.2,.9,.3,1)}
@keyframes sheetIn{from{transform:translateY(40px);opacity:0}to{transform:none;opacity:1}}
.grabber{width:36px;height:5px;border-radius:999px;background:var(--label-tertiary);margin:0 auto 16px;opacity:.6}
.x-btn{width:36px;height:36px;border-radius:50%;border:0;background:var(--fill-track);color:var(--label);display:grid;place-items:center;cursor:pointer;flex:none}
.x-btn svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round}

/* тост */
.toast{position:absolute;left:16px;right:16px;bottom:110px;z-index:9;display:flex;gap:10px;align-items:center;padding:12px 16px;border-radius:16px;background:rgba(50,50,56,.95);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);color:#fff;box-shadow:0 8px 24px rgba(0,0,0,.4);font-size:15px;line-height:20px;animation:pushIn .3s cubic-bezier(.2,.9,.3,1)}
.toast svg{width:20px;height:20px;flex:none;fill:none;stroke:var(--accent);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* фото */
.photo-fade{position:absolute;inset:0;background:linear-gradient(to bottom,rgba(11,11,13,.75) 0%,rgba(11,11,13,0) 28%,rgba(11,11,13,0) 50%,rgba(11,11,13,1) 100%)}
.avatar{width:52px;height:52px;border-radius:50%;background:linear-gradient(135deg,#3a3122,#1e1a12);border:1px solid #4a3f2b;color:var(--accent);display:grid;place-items:center;font-weight:600;font-size:18px;flex:none}

/* радио */
.radio{width:22px;height:22px;border-radius:50%;border:1.5px solid var(--border-control);flex:none;display:grid;place-items:center}
.radio.on{border-color:var(--accent)}
.radio.on::after{content:"";width:12px;height:12px;border-radius:50%;background:var(--accent)}

/* таб-бар в тёмной теме */
.ios-tab{color:var(--label-secondary)}
.ios-tab.is-active{color:var(--accent)}
/* hit-area >=44px without visual change */
.x-btn,.stepper button,.ios-seg__item,.tm,.via button{position:relative}
.x-btn::after,.stepper button::after,.ios-seg__item::after,.tm::after,.via button::after{content:"";position:absolute}
.x-btn::after{inset:-4px}
.stepper button::after{inset:-2px}
.ios-seg__item::after{inset:-5px 0}
.tm::after{inset:-3px 0}
.via button::after{inset:-2px 0}
