/* Click Travel · Профиль 2.0 (9075:57297). All colours are Coin theme tokens. */
.pf-screen{background:var(--theme-bg-ocean)}
.pf-body{flex:1;min-height:0;padding:24px 0 120px}
.pf-list{display:flex;flex-direction:column;gap:var(--space-base-s);padding:0 var(--space-base-l)}

/* Avatar + info */
.pf-user{display:flex;flex-direction:column;align-items:center;gap:var(--space-base-m);padding:0 var(--space-base-l) 24px}
.av-app .pf-user__info{display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center}
.av-app .pf-user__info h2{margin:0;font-size:22.5px;line-height:28px;font-weight:600;color:var(--theme-text-primary)}
.av-app .pf-user__info p{margin:0;font-size:14px;line-height:18px;color:var(--theme-text-secondary)}

/* CellButtonIcon */
.pf-cell{display:flex;align-items:center;gap:var(--space-base-m);width:100%;min-height:44px;padding:var(--space-base-m);border-radius:var(--radius-island);background:var(--theme-bg-island);text-align:left;color:var(--theme-text-primary);font:inherit;cursor:pointer}
.pf-cell--tall{height:68px}
/* Profile menu rows: one size for all (68px, 16px sides); a subtitle fits inside the same height. */
.pf-cell--row{min-height:68px;padding:12px var(--space-base-l)}
.pf-cell--loose{padding:var(--space-base-l)}
.pf-cell--info{padding:var(--space-base-l);cursor:default}
.pf-cell__text{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}
.pf-cell__title{font-size:17px;line-height:22px;font-weight:500;color:var(--theme-text-primary)}
.pf-cell__title--bold{font-weight:600}
.pf-cell__sub{margin:0;font-size:14px;line-height:18px;color:var(--theme-text-secondary);overflow:hidden;text-overflow:ellipsis}
.pf-cell__sub.is-accent{color:var(--theme-text-accent)}
.pf-cell__sub.is-attention{color:var(--theme-text-attention)}
.pf-cell__value{font-size:17px;line-height:22px;font-weight:500;color:var(--theme-text-accent)}
.pf-cell .cds-radio,.pf-cell input[type=radio]{flex:none}

/* Documents card */
.pf-card{display:flex;flex-direction:column;gap:var(--space-base-l);padding:var(--space-base-l);border-radius:var(--radius-island);background:var(--theme-bg-island)}
.pf-card__head{display:flex;align-items:center;gap:var(--space-base-m)}
.pf-card__head--empty{min-height:68px}
.av-app .pf-card__head h3{margin:0;font-size:17px;line-height:22px;font-weight:500;color:var(--theme-text-primary)}
.pf-docs{display:flex;gap:var(--space-base-s);margin:0 calc(-1 * var(--space-base-l));padding:0 var(--space-base-l);overflow-x:auto;scrollbar-width:none}
.pf-docs::-webkit-scrollbar{display:none}
.pf-doc{flex:none;display:flex;align-items:center;gap:var(--space-base-m);padding:var(--space-base-s) var(--space-base-l);border-radius:12px;background:var(--theme-bg-ocean);text-align:left;font:inherit;cursor:pointer}
.pf-doc__text{min-width:0;display:flex;flex-direction:column}
.pf-doc__text b{font-size:17px;line-height:22px;font-weight:500;color:var(--theme-text-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pf-doc__text span{font-size:14px;line-height:18px;color:var(--theme-text-secondary)}
.pf-add .cds-button__label{display:flex;align-items:center;align-self:stretch}
.pf-add__inner{display:flex;align-items:center;gap:var(--space-base-s);line-height:22px}
.pf-add__inner>span:last-child{display:block}
.pf-add .av-svg{color:var(--theme-icon-always-white)}

/* Title + description inside cards */
.pf-title{display:flex;flex-direction:column;gap:var(--space-base-s)}
.av-app .pf-title h3{margin:0;font-size:17px;line-height:22px;font-weight:600;color:var(--theme-text-primary)}
.av-app .pf-title p{margin:0;font-size:14px;line-height:18px;color:var(--theme-text-secondary)}
.pf-accent{color:var(--theme-text-accent)}

/* E-mail field */
.pf-email{display:flex;flex-direction:column;gap:2px}
.pf-email__hint{margin:0;font-size:14px;line-height:18px;color:var(--theme-text-attention)}
.pf-email__hint.is-error{color:var(--theme-text-error)}
.pf-footer{position:absolute;left:0;right:0;bottom:0;display:flex;flex-direction:column;gap:var(--space-base-l);background:transparent}
.pf-delete{width:100%;display:flex;align-items:center;justify-content:center;height:44px;font:inherit;font-size:17px;line-height:22px;font-weight:600;color:var(--theme-text-error);background:none;cursor:pointer}

/* Code entry */
.pf-code{position:relative;display:flex;align-items:center;height:46px;padding:0 12px;border:1px solid var(--theme-stroke-accent);border-radius:var(--radius-garden);background:var(--component-input-on-island-normal-bg);font-size:17px;line-height:22px;color:var(--theme-text-primary);letter-spacing:2px}
.pf-code.is-error{border-color:var(--theme-stroke-error)}
.pf-code__ph{color:var(--theme-text-tertiary);letter-spacing:0}
.pf-code__caret{width:1px;height:22px;margin:0 1px;background:var(--theme-text-accent);animation:pf-caret 1s steps(1) infinite}
@keyframes pf-caret{50%{opacity:0}}
.pf-timer{margin:0;height:48px;display:flex;align-items:center;justify-content:center;font-size:17px;line-height:22px;font-weight:500;color:var(--theme-text-secondary)}
/* 2.1 code entry: six 56px cells on Bg/Ocean, 6px apart, no stroke (a caret marks the next one). */
.pf-otp{display:flex;gap:6px}
.pf-otp__cell{flex:1;min-width:40px;height:56px;display:flex;align-items:center;justify-content:center;border-radius:12px;background:var(--theme-bg-ocean);box-shadow:inset 0 0 0 1px transparent;font-size:22.5px;line-height:28px;font-weight:600;color:var(--theme-text-primary);transition:box-shadow .15s}
.pf-otp.is-error .pf-otp__cell{box-shadow:inset 0 0 0 1px var(--theme-stroke-error)}
.av-app .pf-resend{width:100%;height:48px;display:flex;align-items:center;justify-content:center;border:0;background:none;font:inherit;font-size:17px;line-height:22px;font-weight:600;color:var(--theme-text-accent);cursor:pointer}
.pf-keypad{position:absolute;left:0;right:0;bottom:0;padding-top:1px;border-top:1px solid var(--theme-stroke-disabled);background:var(--theme-bg-ocean);display:flex;flex-direction:column;gap:54px}
.pf-keypad__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;padding:6px}
.pf-key{display:flex;align-items:center;justify-content:center;height:46px;border-radius:var(--radius-garden);background:var(--theme-bg-island);box-shadow:0 1px 0 var(--theme-stroke-primary);font:inherit;font-size:25px;color:var(--theme-text-primary);cursor:pointer}
.pf-key:active{background:var(--theme-bg-hover-neutral-component)}
.pf-key--del{display:flex;align-items:center;justify-content:center;background:none;box-shadow:none}
.pf-keypad .av-home-indicator{position:relative;left:auto;bottom:auto;margin:0 auto 8px}

/* Success toast (11053:53723) */
.pf-toast{position:absolute;left:16px;right:16px;top:106px;z-index:4;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);box-shadow:0 8px 24px var(--theme-bg-backdrop);animation:pf-toast .25s ease-out}
.av-app .pf-toast p{margin:0;font-size:17px;line-height:22px;font-weight:600;color:var(--theme-text-primary)}
@keyframes pf-toast{from{opacity:0;transform:translateY(-12px)}}

/* «Документы» sheet */
.pf-sheet__list{display:flex;flex-direction:column;gap:var(--space-base-s)}
.pf-cell--sheet{padding:var(--space-base-l)}
.tr-gender.is-error .tr-gender__opt{box-shadow:inset 0 0 0 1px var(--theme-stroke-error)}
.av-app .pf-sheet__empty{margin:0;font-size:14px;line-height:18px;color:var(--theme-text-secondary)}
/* «Версия прототипа» sheet rows: name and a short hint, Coin radio on the right. */
.pf-version__row{padding-top:var(--space-base-s);padding-bottom:var(--space-base-s)}
.pf-version__text{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.pf-version__name{font-size:17px;line-height:22px;color:var(--theme-text-primary)}
.pf-version__hint{font-size:12.5px;line-height:16px;color:var(--theme-text-secondary)}

/* v4: guest invite (250:5709) and the «Выйти из профиля» confirm sheet. */
.av-app .pf-user__invite{white-space:pre-line;text-align:center}
.av-app .pf-login{align-self:center;width:auto;min-width:126px;margin-top:var(--space-base-m)}
.pf-logout__actions{display:flex;flex-direction:column;gap:var(--space-base-xs)}

/* «Язык» sheet rows: flag + language name, Coin radio on the right. */
.pf-lang__name{display:flex;align-items:center;gap:var(--space-base-m)}
/* 2.1: the documents card keeps its title and description when documents exist; chips hug their text. */
.pf-card__head--empty .pf-cell__sub{white-space:normal}
/* E-mail already linked: the address in accent with a clear (×) button inside the field. */
.av-app .pf-email.is-linked .cds-input__control,.av-app .pf-email.is-linked .cds-input__control:focus{color:var(--theme-text-accent);-webkit-text-fill-color:var(--theme-text-accent)}
.av-app .pf-email .cds-input__control::placeholder{-webkit-text-fill-color:var(--theme-text-tertiary)}
.pf-email{position:relative}
.av-app .pf-email:has(.pf-email__clear) .cds-input__control{padding-right:44px}
.av-app .pf-email__clear{position:absolute;top:0;right:0;width:44px;height:44px;display:flex;align-items:center;justify-content:center;padding:0;border:0;background:none;cursor:pointer}
.pf-email__clear .av-svg :is(path,circle,rect){fill:var(--theme-icon-accent)}
/* Code check: 1 s loader in the middle of the screen over a dimmed page; taps are blocked meanwhile. */
.pf-checking{position:absolute;inset:0;z-index:20;display:flex;align-items:center;justify-content:center;background:var(--theme-bg-backdrop);animation:pf-fade .15s ease-out}
.pf-checking__box{display:flex;align-items:center;justify-content:center;width:72px;height:72px;border-radius:24px;background:var(--theme-bg-island)}
.pf-checking__spin{animation:pf-spin .8s linear infinite}
.pf-checking__spin :is(path,circle){fill:var(--theme-icon-accent)}
@keyframes pf-spin{to{transform:rotate(360deg)}}
@keyframes pf-fade{from{opacity:0}}
/* Профиль 2.1: buttons are 12px like the fields and the document chips (the app default is 16px). */
.av-app :is(.pf-screen,.pf-sheet) .cds-button{border-radius:12px}
