/* Click Travel v4 · sign-in («Авторизация v1», BeSJi2GnjUPjOTHEBEaWcH 127:21929). Coin tokens throughout;
   where the frames use values outside the Coin scale the nearest token is used (code cell 12 → input 8). */
.au-root{position:absolute;inset:0;z-index:20;background:var(--theme-bg-ocean);color:var(--theme-text-primary);overflow:hidden}
.au-screen{position:absolute;inset:0;display:flex;flex-direction:column}
.au-head{flex:none;margin-top:34px;height:48px;padding:0 8px;display:flex;align-items:center}
.av-app .au-head__title{flex:1;min-width:0;margin:0;text-align:center;font-size:17px;line-height:22px;font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.au-body{flex:1;min-height:0;overflow-y:auto;display:flex;flex-direction:column;gap:var(--space-base-l);padding:var(--space-base-m) var(--space-base-l) var(--space-base-l)}
.au-welcome{display:flex;flex-direction:column;gap:var(--space-base-l)}
.av-app .au-welcome h1{margin:0;font-size:34px;line-height:44px;font-weight:600}
.av-app .au-welcome p{margin:0;font-size:17px;line-height:22px;color:var(--theme-text-secondary)}
.au-body .cds-input{min-width:0}

/* Login (Новый Travel 250:5276): brand pill in the header, centred welcome, Click ID / Telegram buttons */
.au-logo{display:inline-flex;align-items:center;gap:3px;padding:var(--space-base-2-xs) var(--space-base-m) var(--space-base-xs);border-radius:var(--radius-rounding);background:var(--theme-bg-island)}
.au-body--login{padding-top:var(--space-base-xl)}
.au-welcome--center{text-align:center}
.av-app .au-welcome--center p{white-space:pre-line}
.au-alt{display:flex;flex-direction:column;gap:var(--space-base-s);margin-top:var(--space-base-l)}
/* Both buttons share one centred block (the longer label's width): the icons stand in one column and the
   labels start on one line; icon and label sit on the button's vertical middle. */
.au-alt__btn .cds-button__content{display:flex;align-items:center;justify-content:center;height:100%}
.au-alt__inner{display:flex;align-items:center;justify-content:flex-start;gap:var(--space-base-s);width:182px;height:100%;font-size:14px;line-height:18px;font-weight:500;white-space:nowrap}
.au-alt__inner>.av-icon{flex:none;display:block}
/* Consent + «Продолжить» pinned to the bottom (above the iPhone keyboard on a phone) */
.au-bottom{flex:none;display:flex;flex-direction:column;gap:var(--space-base-l);padding:var(--space-base-s) var(--space-base-l) 42px}
.au-bottom--pair{gap:var(--space-base-xs)}
.av-app .au-consent{margin:0;font-size:12.5px;line-height:16px;color:var(--theme-text-secondary);white-space:pre-line}
.au-consent a{color:var(--theme-text-accent);text-decoration:underline}

/* Code: six cells over one real input (so the iPhone offers the SMS code) */
.au-body--code{gap:var(--space-base-l)}
.au-code{position:relative;display:block;cursor:text}
.au-code input{position:absolute;inset:0;width:100%;height:100%;opacity:0;border:0;font-size:16px;caret-color:transparent}
.au-code__cells{display:flex;gap:var(--space-base-xs)}
.au-code__cell{flex:1;min-width:40px;height:60px;display:grid;place-items:center;border:1px solid var(--component-input-on-ocean-normal-stroke);border-radius:var(--radius-input);background:var(--component-input-on-ocean-normal-bg);font-size:28px;line-height:36px;color:var(--theme-text-primary);transition:border-color .12s ease}
.au-code input:focus+.au-code__cells .au-code__cell.is-focus{border-color:var(--component-input-on-ocean-focused-empty-stroke)}
.au-code.is-error .au-code__cell{border-color:var(--theme-stroke-error, var(--theme-text-error))}
.av-app .au-error{margin:calc(var(--space-base-s) * -1) 0 0;font-size:14px;line-height:18px;color:var(--theme-text-error);white-space:pre-line}
.av-app .au-error--center{margin:0;text-align:center}
.av-app .au-hint{margin:0;font-size:15.5px;line-height:20px;color:var(--theme-text-secondary)}
.au-link{align-self:flex-start;padding:0;background:none;font:inherit;font-size:17px;line-height:22px;color:var(--theme-text-accent);cursor:pointer}
.au-link--center{align-self:center;font-weight:600}
.au-sms{align-self:flex-start;margin-top:var(--space-base-s);padding:var(--space-base-2-xs) var(--space-base-m);border-radius:var(--radius-chips);background:var(--theme-bg-island);font:inherit;font-size:14px;line-height:18px;color:var(--theme-text-secondary);cursor:pointer}
.au-sms b{color:var(--theme-text-accent);font-weight:600;letter-spacing:1px}

/* Telegram / Click ID: centred message, actions at the bottom */
.au-empty{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--space-base-2-xs);padding:0 var(--space-base-l);text-align:center}
.au-empty>.av-icon{margin-bottom:28px}
.av-app .au-empty h1{margin:0;font-size:28px;line-height:36px;font-weight:600;max-width:300px}
.av-app .au-empty p{margin:0;font-size:14px;line-height:18px;color:var(--theme-text-secondary);max-width:280px}

/* PIN (G2/G3): title block, points, number pad */
.au-screen--pin{align-items:center}
.au-screen--pin>.au-head{align-self:stretch}
.au-pin-head{display:flex;flex-direction:column;align-items:center;gap:var(--space-base-l);margin-top:132px;padding:0 var(--space-base-l);text-align:center}
.av-app .au-pin-head h1{margin:0;font-size:28px;line-height:36px;font-weight:600}
.av-app .au-pin-head p{margin:0;font-size:17px;line-height:22px;color:var(--theme-text-secondary);max-width:260px}
.au-pin{display:flex;align-items:center;width:296px;height:44px}
.au-pin__side{flex:none;width:44px;height:44px;display:grid;place-items:center;background:none;cursor:pointer}
.au-pin__dots,.au-pin__digits{flex:1;display:flex;align-items:center;justify-content:center}
.au-pin__dots{gap:var(--space-base-l)}
.au-pin__dots i{width:16px;height:16px;border-radius:var(--radius-rounding);background:var(--theme-bg-island);transition:background-color .12s ease,transform .12s ease}
.au-pin__dots i.is-on{background:var(--theme-bg-accent);transform:scale(1.05)}
.au-pin.is-error .au-pin__dots i.is-on{background:var(--theme-icon-error)}
.au-pin.is-error{animation:au-shake .35s ease}
.au-pin__digits{gap:var(--space-base-s)}
.au-pin__digits b{width:24px;font-size:28px;line-height:36px;font-weight:400;color:var(--theme-text-accent);text-align:center}
.au-pad{position:absolute;left:50%;bottom:134px;transform:translateX(-50%);width:304px;display:grid;grid-template-columns:repeat(3,1fr);gap:var(--space-base-s)}
.au-pad__key{height:64px;display:grid;place-items:center;border-radius:var(--radius-island);background:none;font:inherit;font-size:28px;line-height:36px;font-weight:600;color:var(--theme-text-primary);cursor:pointer;transition:background-color .1s ease}
.au-pad__key:active:not(:disabled){background:var(--theme-bg-island)}
.au-pad__key:disabled{cursor:default}
.au-pad .is-faded{opacity:.3}
.au-forgot{position:absolute;left:50%;bottom:48px;transform:translateX(-50%);height:44px}
.au-spin{animation:au-spin .8s linear infinite}

/* Splash: follows the theme (Bg/Ocean) — the «Travel Loader 2.0» animation in the middle, as on the search loader */
.au-root.is-splash{background:var(--theme-bg-ocean)}
.au-splash{position:absolute;inset:0;display:flex;align-items:center;justify-content:center}
.au-splash__mark{display:block;width:72px;height:72px}
.au-splash__mark svg{display:block}

/* Dialogs (Доступ ограничен, Осталась 1 попытка, Face ID) */
.au-dialog-layer{position:absolute;inset:0;z-index:35;display:grid;place-items:center;padding:0 var(--space-base-l);background:var(--theme-bg-backdrop);animation:av-fade .2s ease-out}
.au-dialog{width:100%;display:flex;flex-direction:column;align-items:center;gap:var(--space-base-s);padding:var(--space-base-xl) var(--space-base-l) var(--space-base-l);border-radius:var(--radius-continent);background:var(--theme-bg-island);text-align:center}
.au-dialog__icon{margin-bottom:var(--space-base-s)}
.av-app .au-dialog h2{margin:0;font-size:17px;line-height:22px;font-weight:600}
.av-app .au-dialog p{margin:0;font-size:12.5px;line-height:16px;color:var(--theme-text-secondary)}
.au-dialog__actions{align-self:stretch;display:flex;flex-direction:column;gap:var(--space-base-s);margin-top:var(--space-base-m)}
.au-dialog__row{display:flex;gap:var(--space-base-s)}
.au-dialog__row>*{flex:1}

@keyframes au-spin{to{transform:rotate(360deg)}}
@keyframes au-shake{20%,60%{transform:translateX(-6px)}40%,80%{transform:translateX(6px)}}
@media (prefers-reduced-motion: reduce){.au-pin.is-error{animation:none}}

/* Permissions (Новый Travel 272:503): title block, three island cards, Разрешить / Пропустить */
.au-body--perms{padding-top:72px;gap:var(--space-base-xl)}
.av-app .au-screen--perms .au-welcome h1{font-size:28px;line-height:36px}
.av-app .au-screen--perms .au-welcome{gap:var(--space-base-s)}
.au-perms{display:flex;flex-direction:column;gap:var(--space-base-s)}
.au-perm{display:flex;align-items:center;gap:var(--space-base-m);padding:var(--space-base-l);border-radius:var(--radius-island);background:var(--theme-bg-island)}
.au-perm__icon{flex:none}
.av-app .au-perm__title{margin:0;font-size:17px;line-height:22px;font-weight:600;color:var(--theme-text-primary)}
.av-app .au-perm__text{margin:4px 0 0;font-size:12.5px;line-height:16px;color:var(--theme-text-secondary);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
/* iOS-style system alert (stand-in for the OS dialogs) */
/* System prompts: 300px wide (not iOS 270) so the uz/en button labels have room. */
.sys-layer{position:absolute;inset:0;z-index:40;display:grid;place-items:center;background:rgba(0,0,0,.4);animation:av-fade .2s ease-out}
.sys-alert{width:300px;max-width:calc(100% - 48px);border-radius:14px;overflow:hidden;background:rgba(242,242,247,.96);color:#000;font-family:-apple-system,BlinkMacSystemFont,'SF Pro Text',sans-serif;text-align:center;animation:sys-pop .25s cubic-bezier(.2,.9,.3,1.2)}
.sys-alert__body{padding:20px 20px 16px}
.sys-alert__body b{display:block;font-size:17px;line-height:22px;font-weight:600}
.sys-alert__body p{margin:4px 0 0;font-size:13px;line-height:16px}
.sys-alert__actions{display:flex;flex-direction:column}
.sys-alert--row .sys-alert__actions{flex-direction:row}
.sys-alert__btn{flex:1;min-width:0;min-height:48px;padding:0 8px;border-top:.5px solid rgba(60,60,67,.29);background:none;font:inherit;font-size:17px;color:#007aff;cursor:pointer}
.sys-alert--row .sys-alert__btn+.sys-alert__btn{border-left:.5px solid rgba(60,60,67,.29)}
.sys-alert__btn.is-default{font-weight:600}
.sys-alert__btn:active{background:rgba(0,0,0,.06)}
@media (prefers-color-scheme: dark){:root:not([data-theme=light]) .sys-alert{background:rgba(37,37,37,.96);color:#fff}}
:root[data-theme=dark] .sys-alert{background:rgba(37,37,37,.96);color:#fff}
@keyframes sys-pop{from{opacity:0;transform:scale(1.15)}}

/* Разрешения (08-Travel 14800:14953): header with close and the logo pill, centred title, 24px cells, 48px / 16px buttons. */
.au-perms-head{flex:none;display:flex;align-items:center;justify-content:space-between;height:48px;margin-top:34px;padding:0 8px}
.au-perms-logo{display:flex;align-items:center;gap:3px;padding:4px 12px 6px;border-radius:var(--radius-rounding);background:var(--theme-bg-island)}
.au-body--perms.au-body--perms{padding-top:24px;gap:var(--space-base-xxl)}
.av-app .au-screen--perms .au-welcome{gap:var(--space-base-xs);text-align:center}
.av-app .au-screen--perms .au-welcome h1{font-size:22.5px;line-height:28px}
.av-app .au-screen--perms .au-welcome p{font-size:17px;line-height:22px;white-space:pre-line} /* ru breaks where Figma does */
.au-screen--perms .au-perm{border-radius:24px}
.au-screen--perms .au-bottom .cds-button{height:48px;border-radius:16px}

/* Вход (08-Travel 14800:14870): smaller centred title, a 44px phone field with 12px corners and no stroke until focused,
   32px down to Click ID / Telegram as white 48px buttons with accent text and icons, 48px / 16px «Продолжить». */
.av-app .au-body--login .au-welcome{gap:var(--space-base-xs)}
.av-app .au-body--login .au-welcome h1{font-size:22.5px;line-height:28px}
.av-app .au-body--login .au-welcome p{font-size:17px;line-height:22px}
.au-body--login{padding-top:25px;gap:var(--space-base-l)}
.au-body--login .cds-input__field{border-radius:12px;min-height:44px;background:var(--theme-bg-island)}
.au-body--login .cds-input__field:not(:focus-within){border-color:transparent}
.au-body--login .au-alt{margin-top:var(--space-base-l)}
.av-app .au-alt__btn.cds-button{height:48px;border-radius:16px;background:var(--theme-bg-island);color:var(--theme-text-accent)}
.av-app .au-alt__btn.cds-button:hover{background:var(--theme-bg-island)}
.au-continue.cds-button,.au-bottom .cds-button{height:48px;border-radius:16px}
/* Title: the same as «Вход в Click Travel» — SemiBold 22.5 / 28; text 17 / 22. */
.av-app .au-screen .au-empty h1{font-size:22.5px;line-height:28px;max-width:none;text-wrap:balance}
.av-app .au-screen .au-empty p{font-size:17px;line-height:22px;max-width:none}
.au-screen .au-empty{gap:var(--space-base-xs)}
