/* Zidos Trail v9 · вход и онбординг (утверждённый r22): поле 48 px r16, капсула «Продолжить», знак Trail 28 px.
   Правила перенесены из trail-auth.css + password-policy.css на токены v9; без принудительных приоритетов. */
/* Auth uses one opaque sheet and an intrinsic single-column form. */
#liveAuth.trail-auth-screen {
  position:relative;inset:auto;z-index:10000;display:block;min-height:100dvh;
  margin:0;padding:0;width:100%;height:auto;overflow:visible;
  background:var(--canvas);color:var(--ink);
  font:400 1rem/1.5 var(--sans);color-scheme:inherit;
}
.trail-auth-screen *{box-sizing:border-box}
.trail-auth-screen [hidden]{display:none}
.trail-auth-screen :is(button,input){font:inherit}
.trail-auth-screen button{cursor:pointer;border:0;color:inherit}
.trail-auth-screen button:disabled{cursor:default;opacity:.6}
.trail-auth-screen a{color:inherit;text-decoration:none}
.trail-auth-screen a:hover{text-decoration:underline;text-underline-offset:.25em}
.trail-auth-screen :is(button,input,a){-webkit-tap-highlight-color:transparent}
.trail-auth-screen .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.trail-auth-screen .skip-link{position:fixed;z-index:10;top:8px;left:16px;min-height:44px;padding:.75rem 1.25rem;background:var(--lime);color:var(--lime-ink);border-radius:16px;transform:translateY(-150%)}
.trail-auth-screen .skip-link:focus{transform:none}
#liveAuth .shell{display:block;width:calc(100% - 32px);max-width:38rem;margin:0 auto}
#liveAuth .brand-header{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:72px;padding:12px 0}
#liveAuth .brand{display:flex;align-items:center;min-width:44px;min-height:44px;color:var(--ink);border-radius:6px}
#liveAuth .brand svg{width:28px;height:28px;flex:none;fill:currentColor}
.trail-auth-screen .header-actions{display:flex;align-items:center;gap:12px}
.trail-auth-screen .beta-label{color:var(--ink-2);font-size:.8125rem}
.trail-auth-screen .icon-button{width:44px;height:44px;flex:none;border-radius:50%;background:var(--well);display:grid;place-items:center}
.trail-auth-screen .icon-button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6}
#liveAuth .layout{display:block;min-height:0;width:100%;max-width:none;margin:0;padding:24px 0 0}
.trail-auth-screen .form-place{display:flex;justify-content:center;min-width:0}
#liveAuth .trail-auth-card{width:100%;max-width:30rem;min-height:0;height:auto;max-height:none;margin:0;padding:1.5rem;border:0;border-radius:24px;box-shadow:none;background:var(--panel);-webkit-backdrop-filter:none;backdrop-filter:none}
.trail-auth-screen .step-content{display:block;min-width:0}
#liveAuth .auth-heading{height:auto;margin:0 0 1.5rem}
.trail-auth-screen .auth-kicker{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.25rem 1rem;margin:0 0 .625rem;color:var(--ink-2);font-size:.75rem}
.trail-auth-screen .step-number{font-variant-numeric:tabular-nums;white-space:nowrap}
#liveAuth .trail-auth-card h1{margin:0 0 .5rem;font-size:2rem;font-weight:500;line-height:1.2;letter-spacing:-.045em;overflow-wrap:anywhere;outline:none}
.trail-auth-screen .auth-heading>p:last-child{margin:0;color:var(--ink-2);font-size:.875rem;line-height:1.5}
#liveAuth #liveAuthForm{display:flex;flex-direction:column;gap:1rem;min-width:0}
#liveAuth .fields{display:grid;grid-template-columns:minmax(0,1fr);gap:1rem;min-width:0}
#liveAuth .field{display:block;grid-column:1/-1;min-width:0;margin:0}
#liveAuth .field label,.trail-auth-screen .code-label{display:block;margin:0 0 .375rem;color:var(--ink);font-size:.8125rem;line-height:1.5;font-weight:500}
.trail-auth-screen .input-wrap{position:relative}
#liveAuth .field input{display:block;width:100%;min-width:0;min-height:3rem;height:auto;padding:.75rem .8125rem;background:var(--well);color:var(--ink);border:0;border-radius:16px;font-size:1rem;line-height:1.5;box-shadow:none}
.trail-auth-screen .field input::placeholder{color:var(--ink-2);opacity:1}
#liveAuth :is(#liveEmail,#livePassword,#liveNewPassword,#liveNewPasswordRepeat){padding-right:3rem}
.trail-auth-screen .email-check{position:absolute;width:20px;height:20px;right:14px;top:50%;stroke:var(--focus);stroke-width:2;fill:none;opacity:0;transform:translateY(-50%)}
.trail-auth-screen .email-check.valid{opacity:1}
.trail-auth-screen .password-toggle{position:absolute;right:2px;top:50%;width:44px;height:44px;transform:translateY(-50%);background:transparent;display:grid;place-items:center;border-radius:10px}
.trail-auth-screen .password-toggle svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5}
.trail-auth-screen .eye-slash{opacity:0}
.trail-auth-screen .password-toggle[aria-pressed=true] .eye-slash{opacity:1}
#liveAuth .password-help{display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:.25rem .5rem;height:auto;min-height:0;margin-top:.25rem}
#liveAuth .trail-auth-card[data-state=register] .password-help{justify-content:flex-start}
#liveAuth .text-action{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:.25rem 0;background:transparent;color:var(--ink-2);font-size:.8125rem;line-height:1.5;text-decoration:underline;text-underline-offset:.25em}
#liveAuth #forgotLink{white-space:nowrap}
.trail-auth-screen .field-hint{margin:0;color:var(--ink-2);font-size:.75rem;line-height:1.5}
#liveAuth #registrationNote p{margin:0;font-size:.75rem;line-height:1.5}
#liveAuth #liveAuthError{margin:0;padding:0;height:auto;color:var(--danger);font-size:.8125rem;line-height:1.5;overflow-wrap:anywhere}
#liveAuth #liveAuthError:empty{display:none}
#liveAuth .actions{display:flex;flex-direction:column;align-items:stretch;gap:.375rem;margin:0}
#liveAuth .primary-action{position:relative;display:flex;align-items:center;justify-content:center;gap:.875rem;width:100%;min-height:3rem;height:auto;padding:.75rem 1rem;border:0;border-radius:999px;background:var(--lime);color:var(--lime-ink);font-size:.875rem;line-height:1.5;font-weight:500}
#liveAuth .switch-action,#liveAuth .trail-auth-card #liveAuthSwitch{display:block;width:100%;min-height:44px;height:auto;padding:.375rem 0;border:0;border-radius:4px;background:transparent;color:var(--ink-2);font-size:.8125rem;font-weight:400;line-height:1.5;text-align:center;text-decoration:underline;text-underline-offset:.25em}
#liveAuth .focus-label,#liveAuth #submitLabel{overflow-wrap:anywhere}
.trail-auth-screen .arrow{position:static;flex:none;font-size:1.3125rem;line-height:1}
.trail-auth-screen .spinner{position:absolute;width:20px;height:20px;border:2px solid var(--lime-ink);border-top-color:transparent;border-radius:50%;opacity:0}
.trail-auth-screen .button-check{position:absolute;width:24px;height:24px;stroke:currentColor;fill:none;stroke-width:2;opacity:0}
.trail-auth-screen .primary-action:is(.loading,.success) :is(#submitLabel,.arrow){opacity:0}
.trail-auth-screen .primary-action.loading .spinner,.trail-auth-screen .primary-action.success .button-check{opacity:1}
.trail-auth-screen .primary-action.loading .spinner{animation:trail-auth-spin .65s linear infinite}
@keyframes trail-auth-spin{to{transform:rotate(360deg)}}
#liveAuth .demo-note:empty{display:none}
#liveAuth .account-row{display:flex;align-items:center;flex-wrap:wrap;gap:.625rem;min-height:3.75rem;padding:.5rem .625rem;background:var(--well);border-radius:16px}
.trail-auth-screen .avatar{display:grid;place-items:center;width:36px;height:36px;flex:none;border-radius:50%;background:var(--well-deep);font-size:1rem}
#liveAuth .account-row #liveEmail{flex:1;min-width:8rem;min-height:0;padding:.25rem;background:transparent;font-size:.875rem}
.trail-auth-screen #accountEmail{font-size:.875rem;overflow-wrap:anywhere}
#liveAuth .code-cells{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:.375rem}
#liveAuth .code-cells input{min-height:3.5rem;padding:.5rem 0;text-align:center;font-size:1.5rem;font-weight:500;font-variant-numeric:tabular-nums}
.trail-auth-screen .email-echo{margin:0 0 1rem;color:var(--ink-2);font-size:.8125rem;overflow-wrap:anywhere}
.trail-auth-screen .resend-row{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.25rem .5rem;margin-top:.625rem}
.trail-auth-screen .success-body{padding:1.25rem;background:var(--well-deep);border-radius:16px}
.trail-auth-screen .success-body svg{display:block;width:32px;height:32px;margin-bottom:1rem;stroke:currentColor;fill:none;stroke-width:1.5}
.trail-auth-screen .success-body p{margin:0 0 .375rem}
.trail-auth-screen .success-body strong{display:block;margin:0 0 .75rem;font-size:.875rem;font-weight:500;overflow-wrap:anywhere}
#liveAuth .live-oauth-buttons{display:flex;flex-direction:column;gap:.5rem;margin:0}
#liveAuth .live-oauth{width:100%;max-width:100%;height:auto;min-height:2.75rem;overflow:visible;border-radius:6px;font-size:.875rem;line-height:1.5}
#liveAuth .live-oauth-google{padding:.625rem .75rem;gap:.625rem}
#liveAuth .live-oauth-google img{width:1.25rem;height:1.25rem;flex:none}
#liveAuth .live-oauth-apple{padding:0;background:#000;color:#fff}
html.dark #liveAuth .live-oauth-apple{background:#fff;color:#000}
#liveAuth .live-oauth-apple img{width:20rem;max-width:100%;height:auto;max-height:none}
#liveAuth .apple-text-label{display:none}
/* At enlarged roots the DOM label can wrap while all readable text scales. */
#liveAuth.text-enlarged .live-oauth-apple img{display:none}
#liveAuth.text-enlarged .apple-text-label{color:#fff;display:flex;align-items:center;justify-content:center;gap:.5rem;padding:.625rem .75rem;font-size:1.2rem}
#liveAuth.text-enlarged .apple-text-label .apple-text-icon{display:block;width:1.25rem;height:1.25rem;max-width:none;flex:none;filter:invert(1)}
html.dark #liveAuth .apple-text-label .apple-text-icon{filter:none}
html.dark #liveAuth.text-enlarged .apple-text-label{color:#000}
#liveAuth :is(#emailCodeButton,#recoveryCodeButton).switch-action{background:transparent}
#liveAuth .legal-footer.zt-legal{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.5rem;margin:0;padding:24px 0 20px;border:0;background:transparent;color:var(--ink-2);font-size:.75rem;line-height:1.5;text-align:center}
#liveAuth .legal-footer nav,#liveAuth .legal-documents,#liveAuth .legal-contact{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:.25rem 1rem;white-space:normal}
#liveAuth .legal-footer nav{width:100%}
#liveAuth .legal-pair{display:contents}
#liveAuth .legal-footer a{display:inline-flex;align-items:center;justify-content:center;min-height:32px;font-size:inherit}
#liveAuth .legal-separator,#liveAuth .contact-dot{display:none}
#liveAuth .legal-owner{width:100%;margin:0;white-space:normal;color:var(--ink-3);font:inherit;overflow-wrap:anywhere}
#liveAuth :is(a,button,input):focus-visible{outline:none;box-shadow:none}
#liveAuth[data-focus-input=keyboard] :is(a,button,input):focus-visible{outline:2px solid var(--ink);outline-offset:3px}
#liveAuth .field input[aria-invalid=true]{outline:2px solid var(--danger);outline-offset:2px}
@media(max-width:479px){
 #liveAuth .beta-label{display:none}
 #liveAuth .trail-auth-card{padding:1.25rem 1rem}
 #liveAuth .layout{padding-top:12px}
 #liveAuth.text-enlarged .trail-auth-card{padding-inline:.5rem}
}
@media(max-width:389px){#liveAuth .code-cells{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.trail-auth-screen .primary-action.loading .spinner{animation:none}}
@media(prefers-contrast:more){#liveAuth .field input{outline:1px solid var(--ink);outline-offset:-1px}}
:root[data-contrast=more] #liveAuth .field input{outline:1px solid var(--ink);outline-offset:-1px}

.password-checker{margin-top:.75rem;max-width:100%;color:var(--ink);font-size:.8125rem;line-height:1.5;font-weight:400}
.password-checker[hidden]{display:none}
.password-checker .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.password-checker .password-strength{margin:0 0 .4375rem;font:600 .8125rem/1.5 var(--sans)}
.password-segments{display:none}
.password-rules{display:grid;gap:.375rem;padding:0;margin:0;list-style:none}
.password-rules li{display:grid;grid-template-columns:1rem minmax(0,1fr);gap:.375rem;align-items:start;color:var(--ink)}
.password-rule-mark{font-size:.875rem;font-weight:600;line-height:1.5;text-align:center}
.password-rules [data-status="pass"]{color:var(--ink)}
.password-rules [data-status="fail"]{color:var(--ink)}
.password-checker .password-policy-note{margin:.625rem 0 0;color:var(--ink);font-size:.75rem;line-height:1.5}
.password-reveal{min-height:2rem;margin-top:.375rem;padding:.25rem .5rem;font-size:.8125rem}
.trail-auth-screen .trail-auth-card:has(.password-checker:not([hidden])){height:auto;min-height:600px;max-height:none}
.trail-auth-screen .trail-auth-card:has(.password-checker:not([hidden])) :is(.step-content,#liveAuthForm,.fields){flex:none;min-height:auto}
/* Leave room for the new-password field and its checklist on phone sheets. */
@media(max-width:839px){#mAcc:has(.password-checker:not([hidden])) > .zm{height:min(920px,92dvh)}}
@media(prefers-contrast:more){.password-segments span{outline:1px solid var(--ink);outline-offset:-1px}.password-rules li{color:var(--ink)}.password-rule-mark{font-weight:800}}
/* Displacement and timing inherit the published design tokens. */
.password-error-feedback{animation:password-error-feedback var(--motion-duration-fast) var(--motion-ease-out)}
@keyframes password-error-feedback{0%,100%{transform:translateX(0)}25%,75%{transform:translateX(-4px)}50%{transform:translateX(4px)}}
@media(prefers-reduced-motion:reduce){.password-error-feedback{animation:none;transform:none}}

/* Онбординг #r32Onboarding (разметка — js/entry-setup.js + js/live-onboarding.js, шаги — js/app.js): полноэкранный слой поверх приложения и нижнего меню. */
body.r32-onboarding-open{overflow:hidden}
.r32-onboarding{position:fixed;inset:0;z-index:400;overflow-y:auto;overscroll-behavior:contain;background:var(--canvas);color:var(--ink);font:400 1rem/1.5 var(--sans)}
.r32-onboarding[hidden]{display:none}
.r32-onboarding *{box-sizing:border-box}
.r32-onboarding :is(button,input){font:inherit}
.r32-onboarding button{cursor:pointer;border:0;color:inherit}
.r32-onboarding button:disabled{cursor:default;opacity:.6}
.r32-onboarding a{color:inherit;text-decoration:none}
.r32-onboarding :is(a,button,summary,input):focus-visible{outline:2px solid var(--ink);outline-offset:3px}
/* .m-sheet из sheet.css задаёт нижний лист — здесь рамка шага обычная карточка, поэтому специфичность выше. */
.r32-onboarding .r32-frame{display:flex;flex-direction:column;gap:1.5rem;width:100%;max-width:none;max-height:none;min-height:100%;min-width:0;margin:0;padding:0 1rem calc(1.5rem + env(safe-area-inset-bottom,0px));overflow:visible;border-radius:0;background:var(--panel)}
.r32-header{display:flex;align-items:center;min-height:72px;padding:12px 0}
.r32-logo{display:inline-flex;align-items:center;gap:.5rem;min-height:44px;border-radius:6px;font-size:1.125rem;font-weight:500;letter-spacing:-.02em}
.r32-brand-mark{display:grid;place-items:center;width:28px;height:28px;max-width:64px;flex:none}
.r32-brand-mark svg{display:block;width:100%;height:100%;max-width:64px;fill:currentColor}
.r32-logo-dot{margin-left:-.375rem}
.r32-progress-row{display:flex;align-items:center;gap:.75rem;min-width:0}
.r32-back{flex:none;min-width:44px;min-height:44px;padding:.25rem .875rem;border-radius:999px;background:var(--well);font-size:.8125rem;font-weight:500;line-height:1.5}
.r32-back:disabled{visibility:hidden}
.r32-progress{display:flex;flex:1;gap:.25rem;min-width:0}
.r32-progress span{flex:1;height:6px;border-radius:999px;background:var(--well-deep)}
.r32-progress span.done{background:var(--ink)}
.r32-step-count{flex:none;color:var(--ink-2);font-size:.75rem;font-variant-numeric:tabular-nums;white-space:nowrap}
.r32-content{display:flex;flex-direction:column;gap:1.25rem;min-width:0}
.r32-heading{display:flex;flex-direction:column;gap:.5rem}
.r32-eyebrow{color:var(--ink-2);font-size:.75rem;line-height:1.5}
.r32-heading h1{margin:0;font-size:1.625rem;font-weight:500;line-height:1.2;letter-spacing:-.04em;overflow-wrap:anywhere;outline:none}
.r32-heading p{margin:0;color:var(--ink-2);font-size:.875rem;line-height:1.5}
.r32-content :is(h2,h3){margin:0;font-size:1rem;font-weight:500;line-height:1.4}
.r32-content p{margin:0;font-size:.875rem;line-height:1.5}
.r32-content small,.r32-fine,.r32-demo-note,.r32-content .muted{color:var(--ink-2);font-size:.75rem;line-height:1.5}
.r32-error{color:var(--danger);font-size:.8125rem}
.r32-error:empty{display:none}
.r32-welcome,.r32-mail-layout,.r32-key-grid,.r32-offers,.entry-sources,.entry-key,.r32-prefs,.r32-result,.r32-income-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:.75rem;min-width:0}
.r32-income-layout{gap:1.25rem}
.r32-preview,.r32-welcome-note,.r32-mail-connect,.r32-offer,.r32-linked-card,.r32-source,.entry-key,.r32-result>section{display:grid;gap:.5rem;padding:1rem;border-radius:16px;background:var(--well)}
.r32-preview-number{display:flex;align-items:baseline;gap:.375rem;font:500 1.75rem/1.2 var(--sans);font-variant-numeric:tabular-nums}
.r32-preview-number span{color:var(--ink-2);font-size:.875rem;font-weight:400}
.r32-preview-row{display:grid;grid-template-columns:32px minmax(0,1fr) 24px;align-items:center;gap:.75rem;min-height:3rem}
.r32-preview-row>i{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--panel);font-size:.875rem;font-style:normal}
.r32-preview-row>span{display:flex;flex-direction:column;min-width:0;font-size:.9375rem;font-weight:500}
.r32-preview-row>span small{font-weight:400}
.r32-preview-row>b{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:var(--lime);color:var(--lime-ink);font-size:.75rem}
.r29-segments{display:flex;gap:.25rem}
.r29-segments i{flex:1;height:6px;border-radius:999px;background:var(--well-deep)}
.r29-segments i.filled{background:var(--ink)}
.r32-quiet-pill{display:inline-flex;align-items:center;justify-self:start;min-height:32px;padding:.25rem .75rem;border-radius:999px;background:var(--panel);font-size:.75rem}
.r32-choice-group{display:grid;gap:.75rem;min-width:0;margin:0;padding:0;border:0}
.r32-choice-group legend{padding:0;margin:0 0 .75rem;font-size:.8125rem;font-weight:500}
.r32-choices{display:grid;gap:.5rem}
.r32-choice{position:relative;display:grid;grid-template-columns:40px minmax(0,1fr) 24px;align-items:center;gap:.75rem;min-height:4rem;padding:.75rem 1rem;border-radius:16px;background:var(--well);cursor:pointer}
.r32-choice>input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.r32-choice>span{display:flex;flex-direction:column;min-width:0;overflow-wrap:anywhere}
.r32-choice>span b{font-size:.9375rem;font-weight:500}
.r32-card-icon{display:grid;place-items:center;width:40px;height:40px;flex:none;border-radius:50%;background:var(--panel);font-size:1rem;font-style:normal;font-weight:500}
.r32-choice-check{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;font-size:.75rem;font-style:normal;opacity:0}
.r32-choice:has(input:checked){background:var(--well-deep)}
.r32-choice:has(input:checked) .r32-choice-check{background:var(--lime);color:var(--lime-ink);opacity:1}
.r32-choice:has(input:focus-visible){outline:2px solid var(--ink);outline-offset:3px}
.r32-onboarding .field{display:flex;flex-direction:column;gap:.375rem;min-width:0;font-size:.8125rem;font-weight:500}
.r32-onboarding .field>span{color:var(--ink-2);font-size:.75rem;font-weight:400}
.r32-onboarding .field input:not([type=hidden]),.r32-onboarding .r32-other-input{display:block;width:100%;min-width:0;min-height:3rem;padding:.75rem .8125rem;border:0;border-radius:16px;background:var(--well);color:var(--ink);font-size:1rem;font-weight:400;line-height:1.5}
.r32-onboarding .field input::placeholder{color:var(--ink-2);opacity:1}
.entry-picker details{position:relative}
.entry-picker summary{display:flex;align-items:center;justify-content:space-between;gap:.5rem;min-height:3rem;padding:.75rem .8125rem;border-radius:16px;background:var(--well);color:var(--ink);font-size:1rem;font-weight:400;list-style:none;cursor:pointer}
.entry-picker summary::-webkit-details-marker{display:none}
.entry-picker summary .entry-arrow{width:20px;height:20px;flex:none;transition:rotate var(--mid) var(--ease)}
.entry-picker details[open] summary .entry-arrow{rotate:180deg}
.entry-picker-list{display:grid;gap:.25rem;max-height:14rem;margin-top:.25rem;padding:.375rem;overflow-y:auto;border-radius:16px;background:var(--well-deep)}
.entry-picker-list button{border:0;color:var(--ink);font-family:var(--sans);cursor:pointer;min-height:44px;padding:.5rem .75rem;border-radius:12px;background:transparent;font-size:.9375rem;text-align:left}
.entry-picker-list button[aria-selected=true]{background:var(--panel);font-weight:500}
.entry-preference-details summary,.r32-storage summary,.entry-source-offers summary,.r32-add-card>summary{display:flex;align-items:center;justify-content:space-between;gap:.5rem;min-height:3rem;padding:.75rem .8125rem;border-radius:16px;background:var(--well);color:var(--ink);font-size:.875rem;font-weight:500;list-style:none;cursor:pointer}
.entry-preference-details summary::-webkit-details-marker,.r32-storage summary::-webkit-details-marker,.entry-source-offers summary::-webkit-details-marker,.r32-add-card>summary::-webkit-details-marker{display:none}
.entry-preference-details summary::after,.r32-storage summary::after,.entry-source-offers summary::after,.r32-add-card>summary::after{content:"";flex:none;width:20px;height:20px;background:var(--ink-2);-webkit-mask:var(--r32-chevron) center/contain no-repeat;mask:var(--r32-chevron) center/contain no-repeat}
:is(.entry-preference-details,.r32-storage,.entry-source-offers,.r32-add-card)[open]>summary::after{transform:rotate(180deg)}
:is(.entry-preference-details,.r32-storage,.entry-source-offers,.r32-add-card)[open]>summary{margin-bottom:.5rem}
:root{--r32-chevron:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.entry-key-guide{display:grid;gap:.375rem;margin:0;padding-left:1.25rem;font-size:.875rem}
.entry-key-fields,.r32-fields{display:grid;gap:.75rem}
.r32-actions{display:flex;flex-direction:column;align-items:stretch;gap:.5rem}
.r32-onboarding :is(.btn-brand,.btn-ghost,.more){display:inline-flex;align-items:center;justify-content:center;gap:.625rem;min-height:3rem;padding:.75rem 1.25rem;border-radius:999px;font-size:.875rem;font-weight:500;line-height:1.5;text-align:center}
/* #id: sheet.css красит все .btn-brand в ink через :is(… #expSave …) (1,1,0), как у #r32Onboarding .btn-brand */
#r32Onboarding .r32-frame .btn-brand{width:100%;background:var(--lime);color:var(--lime-ink)}
.r32-onboarding :is(.btn-ghost,.more){background:var(--well);color:var(--ink)}
.r32-actions .more{background:transparent;color:var(--ink-2);text-decoration:underline;text-underline-offset:.25em}
.r32-onboarding .btn-brand .entry-arrow{width:20px;height:20px;flex:none}
.entry-month{display:grid;align-content:start;gap:.75rem;padding:1rem;border-radius:16px;background:var(--well)}
.entry-month-heading{display:flex;flex-direction:column;gap:.25rem;color:var(--ink-2);font-size:.75rem}
.entry-month-heading h2{margin:0;color:var(--ink);font-size:1.125rem}
.entry-month-position{display:flex;align-items:baseline;gap:.5rem;color:var(--ink-2);font-size:.8125rem}
.entry-month-position strong{color:var(--ink);font:500 1.75rem/1.2 var(--sans);font-variant-numeric:tabular-nums}
.entry-month-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:.25rem;margin:0;padding:0;list-style:none}
.entry-month-days li{display:grid;place-items:center;min-height:2rem;border-radius:8px;background:var(--panel);color:var(--ink-2);font-size:.6875rem;font-variant-numeric:tabular-nums}
.entry-month-days li[aria-current=date]{background:var(--ink);color:var(--panel)}
.entry-month-days li[data-entry-payday]{background:var(--lime);color:var(--lime-ink)}
.entry-month-legend{display:flex;flex-wrap:wrap;gap:.25rem 1rem;color:var(--ink-2);font-size:.75rem}
.entry-month-legend i{display:inline-block;width:10px;height:10px;margin-right:.375rem;border-radius:50%;background:var(--ink)}
.entry-month-legend .entry-month-payday-mark{background:var(--lime)}
.entry-month dl,.r32-result dl{display:grid;gap:.375rem;margin:0}
.entry-month dl>div,.r32-result dl>div{display:flex;justify-content:space-between;gap:1rem;font-size:.8125rem}
.entry-month dt,.r32-result dt{color:var(--ink-2)}
.entry-month dd,.r32-result dd{margin:0;font-weight:500;text-align:right;font-variant-numeric:tabular-nums}
.entry-month>p{color:var(--ink-2);font-size:.75rem}
.r32-onboarding .legal-footer.zt-legal{display:flex;flex-direction:column;align-items:center;gap:.5rem;margin-top:auto;padding:.5rem 0;color:var(--ink-2);font-size:.75rem;text-align:center}
.r32-onboarding .legal-footer :is(nav,.legal-documents,.legal-contact){display:flex;flex-wrap:wrap;justify-content:center;gap:.25rem 1rem}
.r32-onboarding .legal-footer a{display:inline-flex;align-items:center;min-height:44px}
.r32-onboarding .legal-owner{margin:0;color:var(--ink-3)}
@media(min-width:600px){
 .r32-onboarding .r32-frame{width:min(100% - 48px,36rem);min-height:0;margin:24px auto;padding:0 1.75rem 1.5rem;border-radius:24px}
}
@media(min-width:1024px){
 .r32-onboarding .r32-frame{width:min(100% - 64px,40rem);margin:16px auto;gap:1rem;padding-bottom:1rem}
 .r32-onboarding .r32-header{min-height:56px;padding:4px 0}
 .r32-onboarding .r32-content{gap:1rem}
 .r32-onboarding .r32-welcome{gap:.5rem}
 .r32-onboarding .legal-footer.zt-legal{padding:0;gap:.25rem}
 .r32-heading h1{font-size:1.75rem}
 .r32-actions{align-items:flex-start}
 .r32-onboarding .btn-brand,.r32-actions .more{width:100%;max-width:360px}
}
@media(prefers-reduced-motion:reduce){.r32-onboarding *{animation:none;transition:none}}
