/* Shared components. Existing selectors are aliases, so flows keep their contracts. */
.beauty-screen{font-family:var(--beauty-font);background:var(--beauty-bg);color:var(--beauty-text);min-height:100dvh;display:grid;grid-template-rows:auto 1fr auto;position:relative;isolation:isolate}
.beauty-screen::before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 15% 5%,var(--beauty-primary-wash),transparent 65%)}
.beauty-presentation{background:var(--beauty-bg) url('/assets/visuals/beauty-studio.svg') center/cover no-repeat}
.beauty-presentation::before{background:linear-gradient(90deg,#070e1a20,#070e1a66 43%,#070e1ad9),linear-gradient(180deg,#070e1a20,#070e1a10 60%,#070e1a80)}
.beauty-screen .topbar{min-height:68px;padding:11px clamp(24px,5.5vw,106px);background:color-mix(in srgb,var(--beauty-bg) 90%,transparent);border-color:var(--beauty-border);gap:24px}
.beauty-screen .brand{gap:13px;font-size:21px;letter-spacing:3.5px;white-space:nowrap}.beauty-screen .brand:hover{text-decoration:none}.beauty-screen .aionet-mark{width:40px;height:40px;display:block}.beauty-screen .brand b{font-size:18px;letter-spacing:0;color:var(--beauty-brand-accent);margin-left:6px}
.beauty-screen .languages{padding:3px;background:var(--beauty-input-bg);border-color:var(--beauty-border)}.beauty-screen .languages button{font-size:12px;min-height:33px;min-width:36px;padding:7px 9px;color:var(--beauty-text-secondary)}.beauty-screen .languages button[aria-pressed=true]{color:var(--beauty-text);background:var(--beauty-primary-wash);box-shadow:inset 0 0 0 1px var(--beauty-border)}
.beauty-screen #account-nav{font-size:13px;gap:22px}.beauty-screen #account-nav button{font-size:13px;min-height:34px;padding:6px 0;color:var(--beauty-text-secondary)}
.beauty-screen main{width:100%;max-width:1480px;min-height:0;padding:30px clamp(24px,5vw,72px);margin:auto;display:grid;align-items:center}
.beauty-screen footer{min-height:42px;padding:12px 5.5vw;background:color-mix(in srgb,var(--beauty-bg) 90%,transparent);color:var(--beauty-text-muted);border-color:var(--beauty-border-subtle)}
.beauty-page,.beauty-panel,.beauty-card,.beauty-screen .card{min-width:0}.beauty-card,.beauty-screen .card,.beauty-modal,.beauty-screen dialog{background:var(--beauty-glass);border:1px solid var(--beauty-border);border-radius:var(--beauty-radius-lg);box-shadow:var(--beauty-shadow);padding:var(--beauty-space-6);animation:none}
.beauty-panel{background:var(--beauty-surface);border:1px solid var(--beauty-border);border-radius:var(--beauty-radius)}
.beauty-icon{width:24px;height:24px;flex-shrink:0;display:block}.beauty-icon-tile{width:44px;height:44px;display:grid;place-items:center;flex-shrink:0;border:1px solid var(--beauty-border);border-radius:11px;background:var(--beauty-primary-wash);color:var(--beauty-brand-accent)}.beauty-icon-tile .beauty-icon{width:24px;height:24px}.beauty-icon-tile.is-success{color:var(--beauty-success);background:var(--beauty-success-wash)}
.beauty-btn-primary,.beauty-btn-secondary,.beauty-btn-danger,.beauty-screen :is(.primary,.secondary),.agenda-primary,.agenda-secondary,.agenda-danger{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;padding:11px 17px;border-radius:var(--beauty-radius-sm);border:1px solid var(--beauty-border);font:500 13px/1.5 var(--beauty-font);text-align:center;cursor:pointer;transition:filter var(--beauty-transition),border-color var(--beauty-transition),box-shadow var(--beauty-transition);text-decoration:none}
.beauty-btn-primary,.beauty-screen .primary,.agenda-primary{color:var(--beauty-text);background:var(--beauty-action);box-shadow:0 4px 20px #0002;border-color:color-mix(in srgb,var(--beauty-primary) 70%,transparent)}
.beauty-screen .primary{width:100%;margin-top:22px}.beauty-btn-secondary,.beauty-screen .secondary,.agenda-secondary{color:var(--beauty-text-secondary);background:var(--beauty-input-bg)}
.beauty-btn-danger,.agenda-danger{color:var(--beauty-danger-text);background:var(--beauty-danger-wash);border-color:var(--beauty-danger)}
:is(.beauty-btn-primary,.beauty-screen .primary,.agenda-primary):hover{filter:brightness(1.1);text-decoration:none}:is(.beauty-btn-secondary,.beauty-screen .secondary,.agenda-secondary):hover{border-color:var(--beauty-secondary)}:is(.beauty-btn-danger,.agenda-danger):hover{border-color:var(--beauty-danger-text)}
.beauty-screen :is(button,a,input,select,textarea):focus-visible,.beauty-focus:focus-visible{outline:2px solid var(--beauty-focus);outline-offset:4px}.beauty-screen :is(button,input,select):disabled{opacity:.45;cursor:not-allowed}
.beauty-input,.beauty-select,.beauty-screen input:not([type=checkbox]),.beauty-screen select{font:400 var(--beauty-body)/1.5 var(--beauty-font);width:100%;min-width:0;min-height:44px;padding:10px 13px;border:1px solid var(--beauty-border);border-radius:var(--beauty-radius-sm);background:var(--beauty-input-bg);color:var(--beauty-text);color-scheme:dark;transition:border-color var(--beauty-transition),box-shadow var(--beauty-transition)}
.beauty-screen :is(input,select):focus{border-color:var(--beauty-primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--beauty-primary) 12%,transparent)}.beauty-screen input::placeholder{color:var(--beauty-inactive);font-size:13px}.beauty-screen label{font-size:var(--beauty-label);color:var(--beauty-text-secondary);margin:16px 0 7px}.beauty-screen .reveal{font-size:11px;top:3px;right:4px;min-height:38px;padding:8px;color:var(--beauty-primary-light)}
.beauty-screen :is(.hint,.beauty-caption){font-size:var(--beauty-caption);color:var(--beauty-text-muted);line-height:1.6}.beauty-caption{display:block}.beauty-screen .hint{margin:6px 0}.beauty-screen .form-error{color:var(--beauty-danger-text);font-size:13px;line-height:1.6;margin-top:10px}.beauty-screen .form-error:empty{display:none}.beauty-screen .availability{font-size:11px;line-height:1.5;min-height:17px;margin:4px 0 0;color:var(--beauty-success)}
.beauty-screen .availability.is-unavailable{color:var(--beauty-danger-text)}.beauty-success-text{color:var(--beauty-success);font-size:12px;line-height:1.6}
.beauty-screen input[type=checkbox],.beauty-checkbox{accent-color:var(--beauty-primary);width:17px;height:17px;flex-shrink:0}.beauty-screen .check{font-size:12px;line-height:1.6;align-items:flex-start;gap:10px;margin-top:20px}.beauty-screen .check input{margin:2px 0 0}
.beauty-badge,.agenda-status{font-size:var(--beauty-caption);padding:4px 8px;border-radius:6px;border:1px solid var(--beauty-border);background:var(--beauty-primary-wash);color:var(--beauty-text-secondary)}
.beauty-alert,.beauty-screen .notice{padding:13px 16px;border:1px solid var(--beauty-warning);border-radius:var(--beauty-radius-sm);background:var(--beauty-warning-wash);color:var(--beauty-warning);line-height:1.6;font-size:13px}
.beauty-empty-state{padding:var(--beauty-space-5);color:var(--beauty-text-secondary);text-align:center}.beauty-filters{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.beauty-table{border-collapse:collapse;width:100%;text-align:left}.beauty-table :is(th,td){padding:13px 16px;border-bottom:1px solid var(--beauty-border-subtle);font-size:13px}.beauty-table th{color:var(--beauty-text-muted);font-weight:500}
.beauty-tooltip{position:relative}.beauty-tooltip::after{content:attr(data-tooltip);display:none;position:absolute;bottom:calc(100% + 8px);left:50%;transform:translateX(-50%);background:var(--beauty-surface-elevated);border:1px solid var(--beauty-border);border-radius:6px;padding:7px 10px;color:var(--beauty-text);font-size:11px;white-space:nowrap;z-index:6}.beauty-tooltip:is(:hover,:focus-visible)::after{display:block}
.beauty-modal,.beauty-screen dialog{width:min(560px,calc(100vw - 32px));max-height:calc(100dvh - 40px);overflow:auto;color:var(--beauty-text);scrollbar-color:var(--beauty-primary) var(--beauty-surface)}.beauty-screen dialog::backdrop{background:#030916b8;backdrop-filter:blur(4px)}
.status-scheduled{--appointment-accent:var(--beauty-primary);--appointment-bg:var(--beauty-primary-wash)}.status-confirmed{--appointment-accent:var(--beauty-secondary);--appointment-bg:var(--beauty-secondary-wash)}.status-completed{--appointment-accent:var(--beauty-success);--appointment-bg:var(--beauty-success-wash)}.status-cancelled{--appointment-accent:var(--beauty-danger);--appointment-bg:var(--beauty-danger-wash)}.status-no_show{--appointment-accent:var(--beauty-warning);--appointment-bg:var(--beauty-warning-wash)}
.beauty-screen .agenda-status{color:var(--appointment-accent);border-color:color-mix(in srgb,var(--appointment-accent) 35%,transparent);background:var(--appointment-bg)}

/* Presentation layouts: generous atmosphere, compact forms, one dominant action. */
.beauty-screen .beauty-split{grid-template-columns:minmax(0,1.2fr) minmax(360px,.85fr);gap:clamp(40px,7vw,110px);align-items:center;min-height:0;max-width:1160px;width:100%;margin:0 auto}
.beauty-hero{padding:30px 0;text-shadow:0 2px 18px #0008}.beauty-hero .eyebrow{font-size:10px;letter-spacing:2.8px;color:var(--beauty-brand-accent)}.beauty-screen .beauty-hero h1{font-size:clamp(36px,3.3vw,55px);font-weight:600;line-height:1.17;letter-spacing:-1.4px;margin:24px 0}.beauty-hero h1 em{background:var(--beauty-accent-gradient);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent}.beauty-screen .beauty-hero>p{max-width:390px;font-size:15px;line-height:1.85;color:var(--beauty-text-secondary)}
.beauty-benefits{display:grid;gap:16px;margin-top:34px}.beauty-benefits>div{display:flex;align-items:center;gap:12px;color:var(--beauty-text-secondary);font-size:13px}.beauty-benefits .beauty-icon{color:var(--beauty-brand-accent);width:24px;height:24px;padding:3px;border-radius:6px;background:var(--beauty-primary-wash);box-sizing:content-box}
.beauty-screen .auth-card{max-width:460px;justify-self:end;width:100%;padding:28px 30px;backdrop-filter:blur(12px)}.beauty-screen .card-heading{margin:0 0 20px}.beauty-screen .card-heading h2{font-size:27px;font-weight:600;letter-spacing:-.6px;margin:0 0 8px}.beauty-screen .card-heading p{font-size:13px;line-height:1.6;color:var(--beauty-text-secondary);margin:0}.beauty-screen .auth-card form>label:first-child{margin-top:0}.beauty-screen .auth-card .divider{margin:20px 0}.beauty-screen .switch-auth{font-size:12px;line-height:1.6;color:var(--beauty-text-secondary)}.beauty-screen .switch-auth a{color:var(--beauty-brand-accent)}.beauty-screen .auth-card .tag{margin-bottom:20px}
.beauty-screen .beauty-onboarding{max-width:1020px;width:100%;margin:auto}.beauty-screen .page-title{max-width:850px;margin:0 0 25px}.beauty-screen .page-title h1{font-size:var(--beauty-title);letter-spacing:-1px;line-height:1.2;margin:13px 0 12px}.beauty-screen .page-title p{font-size:14px;line-height:1.7;margin:0;color:var(--beauty-text-secondary);max-width:780px}.beauty-screen .backup-grid{gap:22px}.beauty-screen .backup-card{padding:25px;backdrop-filter:blur(12px)}.backup-card-heading{display:flex;align-items:center;gap:16px;margin-bottom:18px}.backup-number{font-size:14px;color:var(--beauty-primary-light);letter-spacing:1px}.beauty-screen .backup-card h3{font-size:19px;font-weight:500;margin-bottom:8px}.beauty-screen .backup-card>p{font-size:13px;line-height:1.7;margin:0;min-height:66px;color:var(--beauty-text-secondary)}.beauty-screen .secret{font-size:16px;line-height:1.7;background:var(--beauty-input-bg);border:1px dashed var(--beauty-border);border-radius:var(--beauty-radius-sm);letter-spacing:.6px;margin:18px 0;padding:18px 14px;min-height:77px;display:grid;place-items:center;text-align:center}.beauty-screen .actions{gap:7px;display:grid;grid-template-columns:auto 1fr 1fr}.beauty-screen .actions .secondary{font-size:11px;padding:9px 10px;min-height:37px;white-space:nowrap}.beauty-screen .onboarding-continue{display:flex;max-width:290px;margin:24px auto 0}
.beauty-screen .beauty-ready{max-width:580px;width:100%;margin:0 auto;text-align:center}.beauty-screen .success-mark{width:76px;height:76px;display:grid;place-items:center;border:1px solid var(--beauty-primary);background:var(--beauty-primary-wash);box-shadow:0 0 35px #9b87e022;border-radius:50%;margin:0 auto 21px;color:var(--beauty-secondary)}.beauty-ready .success-mark .beauty-icon{width:47px;height:47px}.beauty-screen .beauty-ready h1{font-size:38px;letter-spacing:-1px;line-height:1.2;margin:0 0 13px}.beauty-screen .beauty-ready>p{font-size:14px;line-height:1.7;color:var(--beauty-text-secondary);max-width:420px;margin:0 auto 24px}.beauty-screen .ready-panel{text-align:left;padding:22px 25px}.ready-row{display:flex;align-items:center;gap:16px;padding:14px 0;border-bottom:1px solid var(--beauty-border-subtle)}.ready-row:first-child{padding-top:0}.ready-row:last-of-type{border:0;padding-bottom:0}.ready-row>div{min-width:0}.beauty-screen .ready-row h3{font-size:14px;line-height:1.5;margin:0 0 4px;font-weight:500}.beauty-screen .ready-row p{font-size:12px;line-height:1.6;margin:0;color:var(--beauty-text-secondary)}.ready-row small{display:block;font-size:10px;line-height:1.6;color:var(--beauty-text-muted);margin-top:5px}.ready-reference{font-size:14px;line-height:1.7;font-weight:500;overflow-wrap:anywhere;display:block;margin-top:4px}.beauty-screen .ready-panel .primary{margin-top:22px}
.beauty-screen .subscription{width:100%;max-width:680px;margin:0 auto;padding:30px 36px}.subscription-icon{margin-bottom:18px}.beauty-screen .subscription .tag{margin:0 0 14px}.beauty-screen .subscription h2{font-size:29px;line-height:1.3}.beauty-screen .subscription>p{font-size:13px;color:var(--beauty-text-secondary)}.beauty-screen .details{margin:20px 0}.beauty-screen .detail{padding:14px 0;font-size:13px}.beauty-screen .price{font-size:29px;margin:18px 0 12px}.beauty-screen .instructions{padding:14px;background:var(--beauty-input-bg);border:1px solid var(--beauty-border);border-radius:var(--beauty-radius-sm)}.beauty-screen .back{color:var(--beauty-primary-light);margin-top:18px}
@media(min-width:1101px) and (max-height:820px){.beauty-screen .topbar{min-height:60px;padding-top:8px;padding-bottom:8px}.beauty-screen main{padding-top:20px;padding-bottom:20px}.beauty-screen .auth-card{padding:24px 28px}.beauty-screen .page-title{margin-bottom:20px}.beauty-screen .page-title h1{font-size:34px;margin:10px 0}.beauty-screen .backup-card{padding:20px 23px}.backup-card-heading{margin-bottom:13px}.beauty-screen .backup-card>p{min-height:66px;font-size:12px}.beauty-screen .secret{margin:14px 0;padding:14px;min-height:70px}.beauty-screen .check{margin-top:17px}.beauty-screen .onboarding-continue{margin-top:20px}.beauty-screen .success-mark{width:65px;height:65px;margin-bottom:16px}.beauty-screen .beauty-ready h1{font-size:34px}.beauty-screen .beauty-ready>p{margin-bottom:19px}.beauty-screen .ready-panel{padding:20px 25px}.ready-row{padding:12px 0}.beauty-screen .ready-panel .primary{margin-top:18px}}
@media(min-width:761px) and (max-width:1100px){.beauty-screen .beauty-split{gap:35px;grid-template-columns:minmax(0,1fr) minmax(345px,1fr)}.beauty-screen .beauty-hero h1{font-size:36px}.beauty-screen .auth-card{padding:25px}.beauty-screen .backup-card{padding:22px}.beauty-screen .actions{grid-template-columns:1fr 1fr}.beauty-screen .actions .secondary:first-child{grid-column:1/-1}}
@media(max-width:760px){.beauty-screen{display:flex;flex-direction:column;background-position:35% top;background-size:auto 1100px}.beauty-screen .topbar{padding:13px 21px;min-height:66px;gap:15px;flex-wrap:wrap}.beauty-screen .brand{font-size:17px;letter-spacing:2px;gap:9px}.beauty-screen .aionet-mark{width:32px;height:32px}.beauty-screen .brand span:last-child{max-width:none;line-height:1.4}.beauty-screen .brand b{font-size:14px;margin-left:3px}.beauty-screen:has(#logout) .header-actions{width:100%;justify-content:space-between;flex-wrap:nowrap}.beauty-screen .languages button{font-size:11px;min-height:31px;min-width:29px;padding:6px}.beauty-screen #account-nav{gap:18px;font-size:12px}.beauty-screen #account-nav button{font-size:12px}.beauty-screen main{padding:25px 21px 32px;display:block;flex:1}.beauty-screen .beauty-split{display:flex;flex-direction:column;gap:25px;max-width:460px}.beauty-hero{padding:0;width:100%}.beauty-hero .eyebrow{font-size:8px;letter-spacing:2px}.beauty-screen .beauty-hero h1{font-size:34px;margin:16px 0;line-height:1.2}.beauty-screen .beauty-hero>p{font-size:13px;line-height:1.7;margin-bottom:0}.beauty-benefits{display:flex;flex-wrap:wrap;gap:13px;margin-top:20px}.beauty-benefits>div{font-size:10px;gap:7px}.beauty-benefits .beauty-icon{width:18px;height:18px;padding:2px}.beauty-screen .auth-card{padding:24px 22px;max-width:none}.beauty-screen .card-heading h2{font-size:25px}.beauty-screen .page-title h1{font-size:31px}.beauty-screen .page-title p{font-size:13px}.beauty-screen .backup-grid{grid-template-columns:1fr;gap:19px}.beauty-screen .backup-card{padding:23px 20px}.beauty-screen .backup-card>p{min-height:0}.beauty-screen .actions{grid-template-columns:auto 1fr 1fr}.beauty-screen .actions .secondary{font-size:10px;padding:9px 7px}.beauty-screen .secret{font-size:14px;letter-spacing:.3px}.beauty-screen .onboarding-continue{max-width:none}.beauty-screen .beauty-ready{padding-top:10px}.beauty-screen .beauty-ready h1{font-size:31px}.beauty-screen .ready-panel{padding:23px 20px}.ready-row{gap:12px}.ready-row .beauty-icon-tile{width:36px;height:36px}.ready-reference{font-size:12px}.beauty-screen .subscription{padding:26px 22px}.beauty-screen .subscription h2{font-size:27px}.beauty-screen .detail{gap:7px}.beauty-screen .beauty-modal,.beauty-screen dialog{padding:22px 19px;width:calc(100vw - 24px);max-height:calc(100dvh - 24px);border-radius:var(--beauty-radius)}.beauty-screen footer{padding:15px 21px;font-size:9px;min-height:44px}.beauty-screen .beauty-ready>p{font-size:13px}}
@media(prefers-reduced-motion:reduce){.beauty-screen *{animation:none!important;transition:none!important}}
