@font-face {
  font-family: Manrope;
  src: url('../control/Manrope.ttf') format('truetype');
  font-weight: 200 800;
  font-display: swap;
}

:root {
  font: 400 15px/1.55 Manrope, system-ui, sans-serif;
  --ink: #30282b;
  --wine: #6e2c3b;
  --muted: #675866;
  --line: #eedfe7;
  --surface: #fff;
  --page: #fffaf9;
  --pro-pink-surface: #f7e6ef;
  --lilac: #f0eaf7;
  --focus: #765199;
  --soft-gradient: linear-gradient(115deg, #fae1e9, #eae0f4);
  --radius: 24px;
  color: var(--ink);
  background: var(--page);
  accent-color: var(--wine);
  scroll-behavior: smooth;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; }
p, figure { margin: 0; }
button, input, select { font: inherit; }
button, summary { cursor: pointer; }
a, button, summary, input, select { touch-action: manipulation; }
[hidden] { display: none !important; }
a { color: var(--wine); text-underline-offset: .22em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
::selection { background: #f4ccde; color: #582436; }
h1, h2, h3 { margin: 0; line-height: 1.17; letter-spacing: -.03em; }
h1 { font-size: clamp(2rem, 4.25vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 2.3vw, 1.85rem); font-weight: 800; }
h3 { font-size: 1.05rem; }
button { border: 0; }

.primary, .secondary, .text-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: .6em;
  min-height: 44px;
  text-align: center;
  text-decoration: none;
  font-weight: 800;
}
.primary, .secondary {
  min-height: 50px;
  padding: 11px 20px;
  border-radius: 18px;
  transition: box-shadow .2s ease, transform .2s ease, background-color .2s ease;
}
.primary {
  background: var(--gradient);
  color: #2e1429;
  box-shadow: 0 4px 12px #8e498321;
}
.secondary { background: var(--surface); color: var(--wine); border: 1px solid var(--line); }
.text-button { padding: 6px 3px; background: transparent; color: var(--wine); }
button:disabled { cursor: default; }
.primary:disabled { background: #eee6ee; color: #625263; box-shadow: none; }
@media (hover: hover) {
  .primary:not(:disabled):hover { box-shadow: 0 6px 16px #8e49834a; transform: translateY(-1px); }
  .secondary:hover { background: #fbf4f8; }
  .text-button:hover { text-decoration: underline; }
}

.pro-header, main, footer { width: min(100% - 40px, 1040px); margin-inline: auto; }
.pro-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  padding-block: 8px;
}
.pro-wordmark { display: flex; align-items: center; min-height: 44px; }
.pro-wordmark img { width: clamp(86px, 8vw, 108px); }
#session-tools { display: flex; justify-content: flex-end; align-items: center; gap: 14px; min-width: 0; }
#session-email { font-size: .8rem; overflow-wrap: anywhere; }
#logout { font-size: .88rem; }
main { padding: 12px 0 52px; }

.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.journey {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin: 13px 0 0;
  padding: 0;
  gap: 10px;
}
.journey li { display: flex; gap: 11px; align-items: center; min-width: 0; }
.journey strong { display: block; font-size: .9rem; }
.journey p { margin-top: 1px; font-size: .84rem; color: var(--muted); }
.step-number {
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  height: 36px;
  border-radius: 13px;
  background: var(--lilac);
  color: var(--wine);
  font-size: .9rem;
  font-weight: 800;
}
.journey li:nth-child(2) .step-number { background: var(--pro-pink-surface); }
.login-panel, .method-section, .quote-panel, .report-panel, .start-small, .history-section {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.login-panel { width: min(100%, 520px); margin: 0 auto; box-shadow: 0 12px 30px #6e2c3b0a; }
.login-panel h2 + p, .method-section > p, .report-panel > p, .start-small p { margin-top: 6px; color: var(--muted); font-size: .9rem; }
label { display: block; margin-top: 13px; font-size: .88rem; font-weight: 750; }
input, select {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  margin-top: 6px;
  padding: 9px 12px;
  border: 1px solid #decdda;
  border-radius: 16px;
  background: var(--surface);
  color: var(--ink);
  caret-color: var(--wine);
  font-size: 16px;
}
.optional-label { font-weight: 500; color: var(--muted); }
.code-disclosure { margin-top: 12px; }
.code-disclosure[open] { padding-bottom: 5px; }
.code-disclosure label { margin-top: 0; }
.help { margin-top: 10px; color: var(--muted); font-size: .82rem; line-height: 1.55; }
.help .text-button { margin-inline-start: 3px; }
.error, .notice { margin: 12px 0; padding: 11px 14px; border-radius: 14px; font-size: .88rem; }
.error { background: #ffeaf0; color: #80263c; }
.notice { background: var(--lilac); color: #503765; font-weight: 700; }
#portal-status:empty { display: none; }
#portal-status[data-state="review"] { background: #fff0d7; color: #654514; }
.login-panel form > .primary, #prepare-payment, #go-report, .report-panel .primary { width: 100%; margin-top: 16px; }
.login-panel {
  padding: clamp(18px, 4vw, 32px);
  background: linear-gradient(155deg, #fff, #fffbff 78%);
  border-color: #ead9ed;
}
.login-panel h2 { color: #381b49; }
.login-panel label { margin-top: 15px; color: #382846; }
.login-panel input { border-color: #dfcfe6; border-radius: 13px; }
.login-panel input[aria-invalid="true"] { border-color: #a83d60; }
.login-panel .pro-cta { min-height: 48px; }
.login-panel .pro-cta:disabled { color: #625263; text-shadow: none; }
.login-panel .pro-cta:disabled::before { display: none; }
.access-password { position: relative; display: flow-root; }
.access-password input { padding-inline-end: 86px; }
.access-password button {
  position: absolute; inset: 8px 4px 2px auto; min-width: 68px;
  border-radius: 10px; background: transparent; color: #62367a;
  padding-inline: 8px; font-size: .8rem; font-weight: 800;
}
.access-password button:hover { background: #f6eef9; }
.access-hint { margin-top: 5px; font-size: .79rem; color: var(--muted); }
.access-legal { margin-top: 11px; }
.access-switch {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0 .42em;
  margin-top: 15px; padding-top: 5px; border-top: 1px solid #eee2ef;
  font-size: .85rem; color: var(--muted);
}
.access-switch .text-button { color: #62367a; }
.access-confirmation { text-align: center; }
#signup-confirm-title:focus { outline: none; }
.access-confirm-icon {
  display: grid; place-items: center; width: 55px; height: 55px;
  margin: 0 auto 15px; border-radius: 18px; color: #823d91;
  background: linear-gradient(138deg, #fde3ef, #ead9f7);
}
.access-confirm-icon svg { width: 28px; height: 28px; }
.access-confirmation p { margin-top: 9px; color: var(--muted); font-size: .91rem; }
.access-confirmation strong { color: #442854; overflow-wrap: anywhere; }
.access-confirmation .pro-cta { width: 100%; margin-top: 19px; }
.access-confirmation .text-button { margin: 4px auto 0; color: #62367a; }

.account-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--soft-gradient);
}
.account-heading h1 { font-size: clamp(1.65rem, 4vw, 2.65rem); color: #4f1737; }
.account-heading p { margin-top: 5px; font-size: .88rem; color: var(--muted); }
.current-plan { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 10px; }
.current-plan > span { font-size: .8rem; color: var(--muted); grid-column: 1 / 3; }
.current-plan strong { font-size: 1.15rem; color: var(--wine); }
.current-plan p { grid-column: 1 / 3; grid-row: 3; margin-top: 0; }
.current-plan button { min-height: 44px; font-size: .78rem; }
.checkout-steps { margin: 14px 0; gap: 8px; }
.checkout-steps li { gap: 7px; padding: 7px 8px; border-radius: 14px; border: 1px solid var(--line); color: var(--muted); background: var(--surface); }
.checkout-steps li[aria-current="step"] { background: var(--pro-pink-surface); color: var(--wine); border-color: #c090af; }
.checkout-steps li .step-number { flex-basis: 27px; height: 27px; border-radius: 9px; background: var(--lilac); }
.checkout-steps li[aria-current="step"] .step-number { background: var(--wine); color: #fff; }

.checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(230px, 300px); gap: 14px; align-items: start; }
.checkout-main { display: grid; gap: 12px; min-width: 0; }
.checkout-main > *, #access { scroll-margin-top: 14px; }
.method-section h2, .quote-panel h2, .report-panel h2, .start-small h2 { font-size: 1.38rem; }
.referral-entry:not(:empty) { padding: 0 15px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); }
.referral-entry form { padding: 0 0 12px; }
.referral-entry button { margin-top: 10px; }
.referral-entry .history-note { margin: 10px 0; font-size: .85rem; }
.membership-period { display: flex; gap: 5px; margin: 12px 0 16px; padding: 5px; border-radius: 15px; background: var(--lilac); }
.membership-period button { flex: 1; min-height: 46px; padding: 6px 10px; border-radius: 11px; background: transparent; color: var(--muted); font-weight: 800; }
.membership-period button[aria-pressed="true"] { background: var(--surface); color: var(--wine); box-shadow: 0 2px 5px #50334418; }
.membership-period span { display: inline-block; margin-inline-start: 3px; font-size: .73rem; font-weight: 700; }
.methods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.method-button { position: relative; padding: 12px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); text-align: left; color: var(--ink); }
.method-button::after { content: ''; position: absolute; top: 15px; right: 13px; width: 13px; height: 13px; border: 1px solid #a7859b; border-radius: 50%; }
.method-button[aria-pressed="true"] { background: #fbecf5; border-color: #a2688c; }
.method-button[aria-pressed="true"]::after { background: var(--wine); box-shadow: inset 0 0 0 2px #fff; }
.method-button:disabled { opacity: 1; background: #f8f5f8; color: #594958; }
.method-button > span:first-child { display: block; padding-inline-end: 19px; font-size: .93rem; font-weight: 800; }
.method-button strong { display: block; margin: 3px 0; font-size: 1.3rem; font-weight: 800; color: var(--wine); }
.method-button small, .method-button .launch-later { display: block; font-size: .82rem; color: var(--muted); }
.launch-badge, .method-tag, .status-tag { display: inline-block; padding: 4px 8px; border-radius: 8px; background: var(--lilac); color: #59436b; font-size: .77rem; font-weight: 800; }
.status-tag.submitted { background: #fff0d7; color: #654514; }
.status-tag.approved { background: #e7f2e9; color: #33653d; }
.status-tag.rejected { background: #f9e5eb; color: #8a3650; }
.quote-amount { margin-top: 6px; font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 800; letter-spacing: -.035em; color: var(--wine); font-variant-numeric: tabular-nums; }
.quote-subtitle, .quote-launch { margin-top: 6px; font-size: .85rem; color: var(--muted); }
.quote-data { margin: 10px 0; }
.quote-data > div { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 4px 0; border-top: 1px solid var(--line); }
.quote-data dt { font-size: .78rem; color: var(--muted); }
.quote-data dd { margin: 0; font-size: .9rem; font-weight: 800; overflow-wrap: anywhere; }
.copy-button { flex-shrink: 0; min-height: 44px; padding: 5px 10px; border-radius: 11px; background: var(--pro-pink-surface); color: var(--wine); font-size: .82rem; font-weight: 800; }
#new-quote { margin-top: 2px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.receipt-picker { padding: 12px; border: 1px dashed #bd9db7; border-radius: 15px; }
.receipt-picker small, .receipt-picker span { color: var(--muted); font-weight: 500; }
.receipt-picker small { display: block; }
.receipt-picker input { padding: 5px 0; border: none; }
.start-actions { display: grid; gap: 9px; margin-top: 12px; }
.start-actions small { font-size: .8rem; color: var(--muted); }
.history-section { margin-top: 12px; }
#history-count, .history-row p, .history-empty { font-size: .83rem; color: var(--muted); }
.history-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.history-row > div:last-child { text-align: right; }
.history-row button { font-size: .84rem; }
.history-row .cancel-link { text-decoration: underline; }
.history-empty { margin-top: 8px; }
footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px 16px; padding: 14px 0 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .84rem; }
footer nav { display: flex; gap: 16px; }
footer a { display: inline-flex; align-items: center; min-height: 44px; }

dialog { width: min(480px, calc(100% - 28px)); max-height: calc(100svh - 36px); padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); box-shadow: 0 20px 65px #3c213851; overflow: auto; }
dialog::backdrop { background: #2c173665; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 13px; }
.dialog-actions button { flex: 1; padding-inline: 8px; font-size: .84rem; }
.review-summary { margin-top: 10px; padding: 14px; border-radius: 16px; background: var(--soft-gradient); overflow-wrap: anywhere; }
.review-summary strong { color: var(--wine); font-size: 1.4rem; }
.review-summary p { font-size: .88rem; }
.receipt-preview { max-height: 210px; margin: 10px auto; object-fit: contain; border-radius: 10px; }

@media (max-width: 740px) {
  .checkout-layout { grid-template-columns: 1fr; }
}
@media (max-width: 530px) {
  .pro-header, main, footer { width: calc(100% - 28px); }
  #session-tools { gap: 8px; }
  main { padding-top: 5px; padding-bottom: 32px; }
  .login-panel, .method-section, .quote-panel, .report-panel, .start-small, .history-section, .account-heading { padding: 16px; }
  .account-heading { align-items: start; flex-direction: column; }
  .current-plan { width: 100%; border-top: 1px solid #cfb5ce; padding-top: 5px; }
  .checkout-steps { gap: 4px; }
  .checkout-steps li { padding: 5px 4px; gap: 4px; justify-content: center; }
  .checkout-steps strong { font-size: .74rem; }
  .checkout-steps li .step-number { height: 21px; flex-basis: 21px; font-size: .74rem; border-radius: 6px; }
  .methods { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .history-row { grid-template-columns: 1fr; }
  .history-row > div:last-child { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Public Small Pro showcase */
.pro-icon-library, .pro-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.pro-header svg, #login-view svg {
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
body:has(#login-view:not([hidden])) {
  background:
    radial-gradient(ellipse at 78% 4%, #f3e9fa 0%, transparent 36rem),
    radial-gradient(ellipse at 12% 34%, #f8eaf3 0%, transparent 32rem),
    #fffbfa;
}
.pro-header, main:has(#login-view:not([hidden])), body:has(#login-view:not([hidden])) footer {
  width: min(100% - clamp(32px, 10vw, 152px), 1240px);
}
.pro-nav a {
  display: flex; align-items: center; min-height: 44px; padding-inline: 8px;
  color: #342345; text-decoration: none; font-size: .94rem; font-weight: 750;
}
.pro-nav a:hover { text-decoration: underline; }
.pro-cta {
  position: relative; isolation: isolate;
  min-height: 45px; padding: 9px 21px; border-radius: 999px;
  color: #fff;
  background: linear-gradient(90deg, #f58fb6, #de70bf 34%, #bb60cb 66%, #874bce);
  box-shadow: 0 5px 14px #82388528;
  text-shadow: 0 1px 2px #67265d80;
  white-space: nowrap;
}
.pro-cta::before {
  content: ''; position: absolute; z-index: -1; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(90deg, #ffafc2, #f798c5 32%, #db77d2 66%, #b968df);
  mask-image: linear-gradient(#000, transparent);
}
#login-view .pro-cta-crown { width: 1.42em; height: 1.42em; fill: currentColor; stroke: none; }
.pro-cta:active { transform: translateY(1px) scale(.985); }
main:has(#login-view:not([hidden])) { padding-top: 15px; }
#login-view {
  --pro-ink: #321947;
  --pro-plum: #50296e;
  --pro-soft-ink: #5e496f;
  --pro-border: #e4d3ed;
  color: var(--pro-ink);
}
.pro-intro {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center;
  gap: clamp(13px, 2vw, 27px); padding: 16px clamp(16px, 2.4vw, 33px);
  border: 1px solid var(--pro-border); border-radius: 999px;
  background: linear-gradient(108deg, #fff3f6, #f5eafb 72%, #efe3f9);
  box-shadow: 0 8px 22px #5f357805;
}
.pro-badge {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px;
  background: linear-gradient(105deg, #fbd8eb, #ebd2fa); border-radius: 999px;
  white-space: nowrap; font-size: .93rem; font-weight: 800;
}
.pro-badge svg { color: #883278; }
.hero-copy { display: flex; align-items: baseline; flex-wrap: wrap; gap: 3px clamp(12px, 2vw, 27px); padding-left: clamp(12px, 2vw, 27px); border-left: 1px solid #d7bde6; }
.hero-copy h1 { font-size: clamp(1.2rem, 1.85vw, 1.72rem); line-height: 1.15; letter-spacing: -.04em; }
.hero-copy p { color: var(--pro-soft-ink); font-size: .92rem; }
.pro-showcase { position: relative; margin-top: clamp(22px, 3vw, 38px); }
.pro-bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 22px; }
.pro-tile {
  position: relative; isolation: isolate; min-width: 0; min-height: clamp(216px, 20vw, 254px);
  display: flex; flex-direction: column; gap: 8px; padding: 17px clamp(18px, 2.8vw, 39px) 13px;
  border: 1px solid #fff9; border-radius: 29px; overflow: hidden;
  background: radial-gradient(ellipse at 70% 105%, #e4d1f7 0%, transparent 75%), #f2e9f9;
  box-shadow: 0 6px 18px #68479009;
  transition: box-shadow .25s ease;
}
.pro-tile:hover, .pro-tile:focus-within { box-shadow: 0 9px 26px #68479020; }
.pro-tile-chat { background: radial-gradient(ellipse at 83% 106%, #edd2f3 0%, transparent 76%), #faebf5; }
.pro-tile-salon { background: radial-gradient(ellipse at 73% 112%, #dfc9f2 0%, transparent 76%), #f5ecfa; }
.pro-tile-tools { background: radial-gradient(ellipse at 84% 119%, #dbcef6 0%, transparent 78%), #f2edf9; }
.pro-tile h2 {
  display: flex; align-items: center; gap: 11px; min-height: 46px;
  font-size: clamp(1.2rem, 2vw, 1.52rem); letter-spacing: -.035em;
}
.pro-tile-icon {
  display: grid; place-items: center; flex: 0 0 45px; height: 45px;
  background: #fff9ffb8; border: 1px solid #fff; border-radius: 17px;
  box-shadow: 0 4px 8px #5e348013; color: #8738aa;
}
.pro-tile-icon svg { font-size: 1.32rem; }
.pro-scene-agenda, .pro-scene-salon, .pro-scene-tools { display: flex; flex: 1; align-items: center; min-width: 0; position: relative; }
.pro-scene-agenda { gap: 10px; }
#login-view .pro-agenda-art {
  position: absolute; z-index: -1; right: -3%; top: 50%; width: min(69%, 315px);
  height: auto; fill: none; stroke: none;
  transform: translateY(-48%) rotate(-12deg);
  pointer-events: none;
}
.pro-agenda-sheet { fill: #fbf6ff91; stroke: #bc9cd478; stroke-width: 1.6; }
.pro-agenda-lines { stroke: #b695d36a; stroke-width: 1.3; }
.pro-agenda-rings { stroke: #aa7cc48c; stroke-width: 4; stroke-linecap: round; }
.pro-agenda-slot { fill: #bb91d666; }
.pro-agenda-slot:nth-of-type(even) { fill: #d793c764; }
.pro-schedule {
  flex: 0 0 39%; position: relative; z-index: 1; padding: 10px clamp(9px, 1.2vw, 16px);
  border: 1px solid #fff; border-radius: 15px; background: #fcf6ff;
  box-shadow: 0 8px 16px #6034871a; font-size: .81rem;
}
.pro-schedule ul { margin: 7px 0 0; padding: 0; list-style: none; display: grid; gap: 5px; }
.pro-schedule li { display: flex; align-items: center; gap: 7px; }
.pro-schedule time { font-weight: 800; font-variant-numeric: tabular-nums; }
.pro-schedule li span { flex: 1; padding: 2px 6px; border-radius: 6px; background: #eadcf9; color: #533275; font-size: .73rem; font-weight: 700; }
.pro-schedule li:nth-child(2) span { background: #f3e0ed; color: #6e305f; }
.pro-schedule li:nth-child(3) span { background: #e7dff7; }
.pro-device {
  position: relative; isolation: isolate; flex: 0 0 auto;
  width: clamp(108px, 10.5vw, 134px); align-self: end;
  margin-block: -19px 10px; transform-origin: center;
}
.pro-device::before {
  content: ''; position: absolute; z-index: -1; inset: 1% 4%;
  border-radius: 15% / 7.5%; transform: translate(var(--device-depth), 4px);
  background: linear-gradient(100deg, #725d8e 4%, #d8c4e7 24%, #a38abb 72%, #614776 100%);
  box-shadow: 2px 13px 20px #4d286845, inset 0 -3px 5px #573c7c65;
}
.pro-device-frame { width: 100%; height: auto; }
.pro-device-screen {
  position: absolute; top: 2.45%; left: 6.45%; width: 87%; height: 94.85%;
  border-radius: 14% / 7%; object-fit: cover; object-position: center top;
  background: #fff7fc;
}
.pro-device-agenda {
  --device-depth: -7px;
  margin-inline: auto;
  transform: perspective(570px) rotateX(10deg) rotateY(27deg) rotateZ(-10deg);
}
.pro-device-tools {
  --device-depth: 7px;
  margin-inline: auto 2%;
  transform: perspective(570px) rotateX(10deg) rotateY(-25deg) rotateZ(11deg);
}
.pro-chat-window {
  width: min(100%, 465px); margin: auto;
  border: 1px solid #fff; border-radius: 20px;
  background: linear-gradient(150deg, #fff8feaa, #f3dff0ab);
  box-shadow: 0 10px 24px #82529b1b;
}
.pro-chat-top {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 12px; min-height: 50px; border-radius: 19px 19px 0 0;
  border-bottom: 1px solid #e8d2e9; background: #fff8ffb0;
}
.pro-chat-avatar {
  display: grid; place-items: center; flex: 0 0 33px; height: 33px; border-radius: 50%;
  background: linear-gradient(145deg, #f3dffa, #d9b6f1); color: #703896;
}
.pro-chat-name { display: grid; color: var(--pro-ink); line-height: 1.2; }
.pro-chat-name small { margin-top: 3px; color: var(--pro-soft-ink); font-size: .72rem; }
.pro-conversation { display: grid; grid-template-columns: 1fr; gap: 11px; padding: 14px 15px 16px; }
.pro-bubble {
  width: fit-content; max-width: 100%; padding: 9px 13px; background: #fcf6ff;
  box-shadow: 0 5px 12px #82529b16; font-size: clamp(.84rem, 1.2vw, 1rem);
}
.pro-question { justify-self: end; border-radius: 15px 15px 5px 15px; background: #ecd8f7; }
.pro-answer { grid-row: 2; grid-column: 1; justify-self: start; border-radius: 15px 15px 15px 5px; color: #492361; }
.pro-chat-typing { display: none; grid-row: 2; grid-column: 1; align-self: center; justify-self: start; gap: 4px; padding: 12px; border-radius: 12px; background: #fcf6ff; }
.pro-chat-typing i { width: 5px; height: 5px; border-radius: 50%; background: #9f73bd; }
.pro-replay {
  display: grid; place-items: center; color: #632890; background: #fcf7ff;
  border: 1px solid #d9c2ea; border-radius: 50%; min-width: 38px; min-height: 38px;
}
.pro-replay { margin-inline-start: auto; min-width: 34px; min-height: 34px; }
.pro-replay:hover { background: #eeddf8; }
.pro-chat-playing .pro-question > span:last-child { display: inline-block; animation: pro-question 500ms steps(27, end) both; }
.pro-chat-playing .pro-answer { animation: pro-chat-reply .45s .75s both; }
.pro-chat-playing .pro-chat-typing { display: flex; animation: pro-type-status .7s both; }
@keyframes pro-question { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
@keyframes pro-chat-reply { from { opacity: 0; transform: translateY(7px); } }
@keyframes pro-type-status { 0%, 46%, 100% { opacity: 0; visibility: hidden; } 50%, 93% { opacity: 1; visibility: visible; } }
.pro-scene-salon {
  display: grid; grid-template-columns: minmax(0, 1.13fr) minmax(0, 1fr);
  align-items: stretch; flex: none; gap: 0; width: 100%; max-width: 525px; margin: auto;
  padding: 8px; border: 1px solid #fff; border-radius: 22px;
  background: #fff9fd; box-shadow: 0 12px 26px #653b8820;
}
.pro-salon-portfolio { min-width: 0; display: grid; gap: 6px; }
.pro-salon-photos {
  position: relative; height: clamp(104px, 10vw, 143px); overflow: hidden;
  border-radius: 14px 14px 7px 7px; background: #ede0ed;
}
.pro-salon-photos img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  object-position: center 49%; opacity: 0; transition: opacity .28s ease;
}
.pro-salon-photos img.is-current { opacity: 1; }
.pro-salon-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; }
.pro-salon-gallery button {
  display: block; width: 100%; height: clamp(30px, 3.5vw, 46px); min-width: 0; padding: 3px;
  border-radius: 8px; background: #f7eefa; border: 1px solid transparent;
}
.pro-salon-gallery button:hover { background: #ebd9f4; }
.pro-salon-gallery button[aria-pressed="true"] { border-color: #8642a5; background: #f0ddfa; }
.pro-salon-gallery button:focus-visible { outline: 2px solid #613488; outline-offset: 1px; }
.pro-salon-gallery button img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
.pro-salon-profile {
  min-width: 0; display: flex; flex-direction: column; justify-content: center;
  padding: 4px clamp(9px, 1.8vw, 23px); color: var(--pro-ink);
}
.pro-salon-identity > span, .pro-salon-service > span { display: block; color: var(--pro-soft-ink); font-size: .75rem; }
.pro-salon-identity h3 { margin-top: 3px; font-size: clamp(.97rem, 1.7vw, 1.35rem); text-wrap: balance; }
.pro-salon-service { margin-top: 12px; padding-top: 8px; border-top: 1px solid #e9d9ee; }
.pro-salon-service strong { display: block; margin-top: 2px; font-size: clamp(.81rem, 1.12vw, .95rem); line-height: 1.25; }
.pro-salon-booking {
  display: flex; align-items: center; gap: 5px; margin-top: 10px;
  color: #693587; font-size: .75rem; font-weight: 800;
}
.pro-scene-tools { gap: 11px; justify-content: space-between; }
.pro-tools-list {
  position: relative; z-index: 1; flex: 0 0 45%; display: grid; gap: 5px;
  margin: 0; padding: 0; list-style: none;
}
.pro-tools-list li { display: flex; align-items: center; gap: 6px; padding: 6px 8px; border-radius: 9px; background: #fff8ffba; font-size: .8rem; font-weight: 800; }
.pro-tools-list svg { color: #8f45b0; }
.pro-cost-card {
  position: relative; z-index: 1; flex: 0 1 147px; padding: 9px 12px 11px;
  border: 1px solid #fff; border-radius: 14px; background: #fcf7ff; box-shadow: 0 8px 16px #6034871a;
  transform: rotate(-5deg); white-space: nowrap;
}
.pro-cost-card figcaption { color: var(--pro-soft-ink); font-size: .72rem; }
.pro-cost-card strong { font-size: 1.32rem; line-height: 1; }
.pro-cost-card small { font-size: .62rem; }
.pro-cost-graph { display: flex; gap: 5px; height: 39px; align-items: end; margin-top: 8px; }
.pro-cost-graph i { flex: 1; height: 37%; border-radius: 4px 4px 2px 2px; transform-origin: bottom; background: linear-gradient(#d3a0ed, #aa72dc); }
.pro-cost-graph i:nth-child(2) { height: 58%; }
.pro-cost-graph i:nth-child(3) { height: 75%; }
.pro-cost-graph i:nth-child(4) { height: 100%; }
.offer {
  width: min(100%, 1040px);
  display: grid; grid-template-columns: auto minmax(180px, 1fr) auto; align-items: center;
  gap: 1px clamp(15px, 2.3vw, 32px); margin: clamp(32px, 4vw, 55px) auto 0;
  padding: 19px clamp(17px, 3.6vw, 49px) 13px;
  border: 1px solid var(--pro-border); border-radius: 29px;
  background: linear-gradient(110deg, #fff0f6, #f2e7fa);
  box-shadow: 0 10px 25px #68479010;
}
.offer-price { display: flex; align-items: baseline; gap: .43em; white-space: nowrap; color: #48165f; font-variant-numeric: tabular-nums; }
.offer-price strong { font-size: clamp(1.5rem, 3vw, 2.45rem); font-weight: 800; letter-spacing: -.035em; }
.offer-price span { font-size: clamp(.85rem, 1.35vw, 1.1rem); }
.offer-price small { display: block; color: var(--pro-soft-ink); font-size: .68rem; line-height: 1; margin-top: 2px; }
.offer-discount { border-left: 1px solid #d7bde6; padding-left: clamp(13px, 2.4vw, 32px); color: var(--pro-soft-ink); font-size: .88rem; }
.offer-discount strong { display: block; color: var(--pro-ink); }
.offer-actions .primary { width: 100%; }
.offer-details { grid-column: 1 / -1; font-size: .83rem; }
.offer-details summary { min-height: 34px; padding: 5px 0 3px; text-align: right; color: #633185; text-decoration: underline; }
.offer-details ul { margin: 0; padding: 5px 0 2px 20px; color: var(--pro-soft-ink); }
.offer-details li + li { margin-top: 3px; }
.landing-details { display: grid; gap: clamp(35px, 5vw, 62px); margin-top: 25px; }
.how-section .journey {
  position: relative; margin: 0; padding: 11px clamp(16px, 4vw, 50px); gap: 14px;
  border: 1px solid #e4d5eb; border-radius: 20px; background: #fff9ff8c;
}
.how-section .journey li { position: relative; min-height: 45px; }
.how-section .journey li:not(:last-child)::after { content: ''; width: 7px; height: 7px; position: absolute; right: 10%; border: solid #84619c; border-width: 1.5px 1.5px 0 0; transform: rotate(45deg); }
.how-section .journey .step-number { background: linear-gradient(135deg,#f8dbee,#ead8f8); color: #613088; border-radius: 50%; }
.pro-mila-traveler {
  --mila-size: clamp(78px, 10vw, 132px);
  position: absolute; z-index: 2; top: 0; left: 0; width: var(--mila-size);
  pointer-events: none; opacity: 0;
  transition: transform .68s cubic-bezier(.22,.76,.27,1), opacity .22s ease;
}
.pro-mila-traveler.is-placed { opacity: 1; }
.pro-mila-float { position: relative; }
.pro-mila-float::after {
  content: ''; position: absolute; z-index: -1; width: 56%; height: 13%; bottom: 4%; left: 22%;
  border-radius: 50%; background: #a689bd36; filter: blur(6px);
}
.pro-mila-traveler mila-orb { display: block; width: 100%; aspect-ratio: 1; }
.pro-mila-traveler canvas { display: block; width: 100%; height: 100%; }
.pro-mila-traveler.is-placed .pro-mila-float { animation: pro-float 4.5s ease-in-out infinite; }
@keyframes pro-float { 50% { transform: translateY(-5px); } }
@keyframes pro-enter { from { opacity: .37; transform: translateY(9px); } }
@keyframes pro-chart { from { transform: scaleY(.15); } }
[data-pro-reveal].pro-in-view { animation: pro-enter .5s both; }
.pro-tile-agenda.pro-in-view .pro-schedule li { animation: pro-enter .38s .12s both; }
.pro-tile-agenda.pro-in-view .pro-schedule li:nth-child(2) { animation-delay: .21s; }
.pro-tile-agenda.pro-in-view .pro-schedule li:nth-child(3) { animation-delay: .3s; }
.pro-in-view .pro-cost-graph i { animation: pro-chart .4s .1s both; }
.pro-in-view .pro-cost-graph i:nth-child(2) { animation-delay: .17s; }
.pro-in-view .pro-cost-graph i:nth-child(3) { animation-delay: .23s; }
.pro-in-view .pro-cost-graph i:nth-child(4) { animation-delay: .29s; }
@media (max-width: 1050px) {
  .pro-header, main:has(#login-view:not([hidden])), body:has(#login-view:not([hidden])) footer { width: calc(100% - 48px); }
  .pro-tile { padding-inline: 19px; }
  .how-section .journey li:not(:last-child)::after { right: 5%; }
}
@media (max-width: 900px) {
  .pro-scene-tools .pro-cost-card { display: none; }
  .pro-tools-list { flex-basis: 51%; }
  .pro-device-tools { margin-inline: auto; }
}
@media (max-width: 760px) {
  .pro-header, main:has(#login-view:not([hidden])), body:has(#login-view:not([hidden])) footer { width: calc(100% - 32px); }
  .pro-header { min-height: 57px; padding-block: 4px; }
  .pro-intro { border-radius: 23px; grid-template-columns: 1fr auto; }
  .pro-badge { width: max-content; padding: 5px 9px; font-size: .81rem; }
  .hero-copy { grid-row: 2; grid-column: 1 / -1; padding: 0; border: 0; }
  .pro-intro > .primary { grid-column: 2; grid-row: 1; }
  .pro-tile { min-height: 204px; }
  .pro-bento { gap: 12px; }
  .offer { margin-top: 36px; }
  .offer-discount { font-size: .83rem; }
  .how-section .journey li:not(:last-child)::after { display: none; }
}
@media (max-width: 590px) {
  main:has(#login-view:not([hidden])) { padding-top: 8px; }
  .pro-intro { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 14px 16px; }
  .hero-copy { display: grid; grid-row: auto; grid-column: auto; }
  .hero-copy h1 { font-size: clamp(1.24rem, 4.6vw, 1.48rem); }
  .hero-copy p { font-size: .86rem; }
  .pro-intro > .primary { grid-row: auto; grid-column: auto; justify-self: start; }
  .pro-showcase { margin-top: 16px; }
  .pro-bento { grid-template-columns: 1fr; }
  .pro-tile { min-height: 216px; padding: 14px 19px 13px; border-radius: 24px; }
  .pro-tile h2 { padding-inline-end: 44px; font-size: 1.22rem; gap: 8px; }
  .pro-tile-icon { flex-basis: 37px; height: 37px; border-radius: 13px; }
  .pro-tile-icon svg { font-size: 1.1rem; }
  .pro-device { align-self: center; width: clamp(98px, 27vw, 128px); margin-block: -4px 0; }
  .pro-intro .pro-cta { padding-inline: 12px; gap: .36em; font-size: .89rem; }
  .pro-chat-window { margin-block: 3px 5px; }
  .pro-scene-salon { margin-block: 2px 4px; }
  .pro-salon-photos { height: clamp(100px, 28vw, 145px); }
  .pro-mila-traveler { --mila-size: 65px; }
  .offer { grid-template-columns: 1fr; gap: 9px; padding: 14px 18px 9px; margin-top: 25px; border-radius: 23px; }
  .offer-price { margin-right: 36px; }
  .offer-discount { padding: 0; border: 0; }
  .offer-discount strong { display: inline; }
  .offer-details summary { text-align: center; padding-top: 2px; min-height: 35px; }
  .how-section .journey { grid-template-columns: 1fr; gap: 7px; }
  .how-section .journey li { min-height: 39px; }
}
@media (max-width: 360px) {
  .pro-header, main:has(#login-view:not([hidden])), body:has(#login-view:not([hidden])) footer { width: calc(100% - 22px); }
  .pro-wordmark img { width: 80px; }
  .pro-tile { padding-inline: 12px; }
  .pro-tile h2 { font-size: 1.08rem; padding-inline-end: 34px; }
  .pro-mila-traveler { --mila-size: 58px; }
}
@media (prefers-reduced-motion: reduce) {
  .pro-mila-traveler.is-placed .pro-mila-float, #login-view *, .how-section { animation: none !important; }
  .pro-chat-playing .pro-chat-typing { display: none; }
}
