/* Accueil guidé — matte surfaces and restrained mint, isolated from application layouts. */
/* Auth pages scroll as a document, not inside the app shell's viewport-height body. */
html.entry-document{height:auto;min-height:100%;overflow-x:clip!important}
.entry-document .entry-page{height:auto;min-height:100dvh;overflow:visible!important}
.entry-page .entry-password input:not([type=checkbox]):not([type=radio]):not([type=hidden]){border:0;margin:0;background:transparent}
.entry-page .entry-fieldset{border:0;padding:0;margin:0;min-width:0}.entry-under{display:flex;justify-content:space-between;gap:16px;margin-top:20px}.entry-page #welcome-busy{background:#243b33;color:#fff}.entry-page #welcome-busy p{color:#fff}.entry-fieldset:disabled{opacity:.65}
.entry-page{--ep:#f5f5f5;--paper:#fff;--ink:#202b29;--muted:#59655f;--line:#e0e5e1;--soft:#eaf0eb;--action:#243b33;--on-action:#fff;--focus:#427f73;--err:#a33838;margin:0;display:block;min-height:100dvh;background:var(--ep);color:var(--ink);font:15px/1.5 Satoshi,system-ui,sans-serif;color-scheme:light}
[data-theme=dark] .entry-page{--ep:#161616;--paper:#222;--ink:#ededed;--muted:#b2b7b3;--line:#373a38;--soft:#2a322e;--action:#b4dfd3;--on-action:#202b29;--focus:#b4dfd3;--err:#ffa5a5;color-scheme:dark}
.entry-page *{box-sizing:border-box}.entry-page [hidden]{display:none!important}.entry-page h1,.entry-page h2,.entry-page p{margin:0}.entry-page h1{font-size:38px;line-height:1.14;letter-spacing:-1.4px;font-weight:700;color:var(--ink)}.entry-page h2{font-size:27px;line-height:1.25;letter-spacing:-.6px;font-weight:650;color:var(--ink)}.entry-page p{color:var(--muted)}.entry-page small{font-size:12px;color:var(--muted)}.entry-page a{color:inherit}.entry-page button,.entry-page input,.entry-page select,.entry-page textarea{font:inherit;color:inherit}.entry-page button{cursor:pointer;background:none;border:0}.entry-page button:disabled{cursor:default;opacity:.6}.entry-page button:focus-visible,.entry-page a:focus-visible,.entry-page summary:focus-visible{outline:2px solid var(--focus);outline-offset:4px}.entry-page button,.entry-page a{-webkit-tap-highlight-color:transparent}.entry-header{height:88px;display:flex;align-items:center;justify-content:space-between;padding:0 48px;gap:20px}.entry-header nav,.entry-footer nav{display:flex;align-items:center;gap:24px}.entry-header nav a{font-size:13px;color:var(--muted);text-decoration:none}.entry-header #entry-theme{font-size:23px;width:38px;height:38px;border-radius:50%;color:var(--muted)}.entry-brand{display:block;width:112px}.entry-brand img{width:112px;height:auto;display:block}.entry-dark{display:none!important}[data-theme=dark] .entry-light{display:none!important}[data-theme=dark] .entry-dark{display:block!important}.entry-skip{position:fixed;top:-100px;left:12px;z-index:10}.entry-skip:focus{top:12px;background:var(--paper);padding:12px}.entry-footer{display:flex;justify-content:space-between;gap:20px;padding:22px 48px;font-size:12px;color:var(--muted)}.entry-footer a{text-decoration:none}.entry-layout{display:grid;grid-template-columns:300px minmax(0,1fr);width:min(1120px,calc(100% - 96px));margin:28px auto 20px;min-height:620px;background:var(--paper);border-radius:16px;overflow:hidden}.entry-side{background:var(--soft);padding:43px 32px;display:flex;flex-direction:column}.entry-side h2{max-width:225px}.entry-art>p:not(.entry-eyebrow){margin-top:14px;line-height:1.75;font-size:14px}.entry-eyebrow{font-size:12px;letter-spacing:1.2px;text-transform:uppercase;color:var(--focus)!important;font-weight:650;margin-bottom:20px!important}.entry-content{padding:50px clamp(30px,5vw,76px);display:flex;flex-direction:column;justify-content:center;min-width:0}.entry-content>form,.entry-content>.entry-form{width:100%;max-width:550px}.entry-auth{max-width:410px!important;margin:auto;width:100%}.entry-auth h1{font-size:34px}.entry-intro{margin-top:16px!important;max-width:460px;line-height:1.65}.entry-mini{margin-top:34px;padding:20px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.entry-mini strong{font-size:15px;font-weight:650}.entry-mini ul{list-style:none;margin:16px 0 0;padding:0}.entry-mini li{display:flex;gap:10px;align-items:center;font-size:13px;padding:9px 0}.entry-mini li span{color:var(--focus)}.entry-side-foot{margin-top:auto;padding-top:40px;display:flex;align-items:center;gap:12px;font-size:13px;line-height:1.5}.entry-side-foot img{width:38px;height:38px;object-fit:contain}.entry-side-foot b,.entry-side-foot span{display:block}.entry-side-foot b{font-weight:650}.entry-side-foot span{color:var(--muted)}.entry-progress{list-style:none;padding:0;margin:36px 0}.entry-progress li{display:flex;align-items:flex-start;gap:16px;padding:18px 0;color:var(--muted);position:relative}.entry-progress li:not(:last-child):after{content:'';position:absolute;height:23px;left:12px;top:45px;border-left:1px solid var(--line)}.entry-number{width:25px;height:25px;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;font-size:11px;flex:0 0 auto}.entry-progress li[aria-current]{color:var(--ink)}.entry-progress li[aria-current] .entry-number{background:var(--action);border-color:var(--action);color:var(--on-action)}.entry-progress .is-done .entry-number{border-color:transparent;color:var(--focus)}.entry-progress b{font-size:14px;font-weight:650}.entry-progress small{display:block;margin-top:3px}
.entry-page .field{display:block;margin:25px 0 0}.entry-page label,.entry-page .field-label{display:block;font-size:14px;font-weight:600;margin:0;color:var(--ink)}.entry-page input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.entry-page textarea,.entry-page select{border:1px solid var(--line);border-radius:7px;background:var(--paper);padding:12px 14px;min-width:0;width:100%;margin-top:8px;font-size:15px;font-weight:450;box-shadow:none;transition:border-color 140ms;min-height:48px}.entry-page input::placeholder,.entry-page textarea::placeholder{color:var(--muted);opacity:.8}.entry-page textarea{min-height:108px;resize:vertical;line-height:1.6}.entry-page input:focus,.entry-page textarea:focus,.entry-page select:focus{outline:1px solid var(--focus);outline-offset:-1px;border-color:var(--focus);box-shadow:none}.entry-page [aria-invalid=true]{border-color:var(--err)!important}.entry-page input[type=checkbox],.entry-page input[type=radio]{width:18px;height:18px;flex:0 0 auto;accent-color:var(--action);margin:2px 0 0}.entry-password{display:flex;align-items:center;border:1px solid var(--line);border-radius:7px;background:var(--paper);margin-top:8px}.entry-page .entry-password input{border:0;margin:0;background:none}.entry-password button{font-size:12px;padding:0 14px;color:var(--focus)}.entry-password:focus-within{outline:1px solid var(--focus);outline-offset:-1px}.entry-page .entry-password input:focus{outline:0}.entry-page .entry-check{display:flex;gap:11px;font-weight:450;align-items:flex-start;line-height:1.6;font-size:13px;margin-top:20px;color:var(--muted)}.entry-check a{color:var(--ink)}.entry-error{color:var(--err)!important;font-size:13px;margin-top:14px!important;line-height:1.5}.entry-notice{margin:20px 0 0;padding:14px 16px;background:var(--soft);border-radius:7px;color:var(--ink)!important;font-size:14px}.entry-status{font-size:12px;margin-top:12px!important;min-height:18px}.entry-status[data-error=true]{color:var(--err)}.entry-actions{display:flex;align-items:center;gap:22px;margin-top:30px}.entry-actions .entry-primary{margin-left:auto;min-width:176px}.entry-page .entry-primary,.entry-page .entry-secondary{display:inline-flex;align-items:center;justify-content:center;gap:20px;padding:13px 22px;border-radius:7px;min-height:48px;font-weight:650;font-size:14px;transition:background 160ms,transform 160ms;text-decoration:none;white-space:normal}.entry-page .entry-primary{background:var(--action);color:var(--on-action)}.entry-primary:hover{filter:brightness(1.08)}.entry-primary:active{transform:translateY(1px)}.entry-page .entry-secondary{border:1px solid var(--line);background:var(--paper)}.entry-page .entry-text-button{padding:6px 0;color:var(--focus);font-weight:600;font-size:13px;text-decoration:none}.entry-auth .entry-primary{width:100%;margin-top:28px}.entry-auth-link{margin-top:20px!important;text-align:center;font-size:13px}.entry-forgot{text-align:right;margin-top:12px!important;font-size:13px}.entry-hint{font-size:12px;margin-top:8px!important;color:var(--muted);line-height:1.5}.entry-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.entry-grid .field{margin-top:20px}.entry-checks{display:grid;gap:12px;margin-top:20px}.entry-checks .entry-check{margin:0}.entry-summary{padding:16px 0;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:16px;font-size:14px}.entry-summary strong{font-weight:550;overflow-wrap:anywhere}.entry-summary span{color:var(--muted)}.entry-step{animation:entry-arrive 220ms ease-out}.entry-loading{display:flex;align-items:center;gap:16px;margin:24px 0;padding:18px;background:var(--soft);border-radius:7px}.entry-loading img{width:40px;height:40px;object-fit:contain}.entry-loading p{font-size:14px}.entry-spinner{display:inline-block;width:18px;height:18px;border:2px solid var(--line);border-top-color:var(--focus);border-radius:50%;animation:entry-spin 800ms linear infinite}.entry-quiet{font-size:12px!important;margin-top:18px!important}.entry-beta{margin:32px auto 0;width:min(1120px,calc(100% - 96px));background:var(--paper);padding:24px;border-radius:12px}.entry-beta summary{cursor:pointer;font-weight:600}.entry-beta form{max-width:620px}
.entry-page .rw-choices{display:flex;gap:10px;border:0;padding:0;margin:24px 0 0}.entry-page .rw-choices legend{font-size:14px;font-weight:600;margin-bottom:10px}.entry-page .rw-choice{display:flex;gap:10px;padding:12px;border:1px solid var(--line);border-radius:7px;flex:1;align-items:center;font-size:13px;cursor:pointer}.entry-page .rw-choice.active{background:var(--soft);border-color:var(--focus)}.entry-page .rw-error{color:var(--err);font-size:13px;margin-top:16px}.entry-page .rw-ent-results{margin-top:6px;background:var(--paper);border:1px solid var(--line);border-radius:7px;max-height:200px;overflow:auto}.entry-page .rw-ent-item{display:block;width:100%;text-align:left;padding:12px;font-size:13px}.entry-page .rw-ent-item b,.entry-page .rw-ent-item span{display:block}.entry-page .rw-ent-item span{font-size:12px;color:var(--muted)}.entry-page .rw-ent-item:hover,.entry-page .rw-ent-item-active{background:var(--soft)}.entry-page .rw-ent-chosen{display:flex;align-items:center;background:var(--soft);padding:8px;border-radius:7px;margin-top:10px}.entry-page .rw-ent-change-btn{font-size:13px;color:var(--focus);padding:8px}.entry-page .rw-hint{font-size:12px;padding:10px}.entry-enhanced [data-signup-step]{display:none}.entry-enhanced #rwForm[data-step="1"] [data-signup-step="1"],.entry-enhanced #rwForm[data-step="2"] [data-signup-step="2"]{display:block}.entry-next-only{display:none!important}.entry-enhanced .entry-next-only{display:inline-flex!important}.entry-nojs{font-size:13px;margin-top:16px}.entry-enhanced .entry-nojs{display:none}
@keyframes entry-arrive{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@keyframes entry-spin{to{transform:rotate(360deg)}}
@media(min-width:1600px){.entry-layout{margin-top:50px}}
@media(max-height:800px) and (min-width:761px){.entry-layout{min-height:540px;margin-top:8px}.entry-content{padding-top:34px;padding-bottom:34px}.entry-header{height:72px}.entry-footer{padding-top:16px}.entry-side{padding-top:34px}}
@media(max-width:900px){.entry-layout{grid-template-columns:255px minmax(0,1fr);width:calc(100% - 48px)}.entry-side{padding:32px 24px}.entry-content{padding:32px}.entry-header{padding:0 24px}.entry-footer{padding:22px 24px}}
@media(max-width:760px){.entry-layout{grid-template-columns:1fr;width:calc(100% - 32px);margin-top:8px;min-height:0}.entry-header{height:72px;padding:0 20px}.entry-header nav{gap:12px}.entry-header nav a{font-size:12px}.entry-side{padding:24px}.entry-art,.entry-side-foot{display:none}.entry-auth-layout .entry-side{display:none}.entry-side>.entry-eyebrow,.entry-side>h2{display:none}.entry-progress{display:flex;justify-content:space-between;gap:12px;margin:0}.entry-progress li{padding:0;gap:8px;align-items:center;flex:1}.entry-progress li:after,.entry-progress small{display:none!important}.entry-progress b{font-size:12px}.entry-number{width:23px;height:23px}.entry-content{padding:30px 24px 36px}.entry-page h1{font-size:30px;letter-spacing:-1px}.entry-auth h1{font-size:30px}.entry-grid{grid-template-columns:1fr;gap:0}.entry-actions{gap:16px}.entry-actions .entry-primary{min-width:0;flex:1}.entry-page .entry-primary{gap:12px}.entry-footer{font-size:11px;padding:20px;gap:16px}.entry-footer nav{gap:16px}.entry-beta{width:calc(100% - 32px)}.entry-page .rw-choices{flex-direction:column}.entry-side:has(.entry-progress){padding:20px}.entry-summary{font-size:13px}}
/* Onboarding: centre the whole composition between the header and footer.
   The stage grows with long steps; it never traps scrolling inside the panel. */
.entry-document .entry-welcome-page {
  display: flex;
  flex-direction: column;
}
.entry-welcome-page > .entry-header,
.entry-welcome-page > .entry-footer { flex: 0 0 auto; }
.entry-welcome-stage {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: 32px 24px;
}
.entry-welcome-layout {
  grid-template-columns: 292px minmax(0, 1fr);
  width: min(1080px, 100%);
  min-height: 600px;
  margin: 0 auto;
  border-radius: 20px;
}
.entry-welcome-layout .entry-side { padding: 40px 32px; }
.entry-welcome-layout .entry-progress { margin: 32px 0 24px; }
.entry-welcome-layout .entry-content { padding: 48px 56px; }
.entry-welcome-layout .entry-form {
  max-width: 512px;
  margin-inline: auto;
}
body.entry-welcome-page {
  background-image: radial-gradient(color-mix(in srgb, var(--text) 12%, transparent) .8px, transparent .8px);
  background-size: 22px 22px;
}
.entry-welcome-layout h1 { font-size: 34px; letter-spacing: -1px; }
.entry-welcome-layout .entry-eyebrow { margin-bottom: 16px !important; }
.entry-welcome-layout .entry-intro { max-width: none; margin-top: 14px !important; }
.entry-welcome-layout .field { margin-top: 24px; }
.entry-welcome-layout #welcome-mode { margin-top: 12px; padding: 12px 0; }
.entry-welcome-actions { gap: 16px; margin-top: 24px; }
.entry-welcome-actions #welcome-next {
  flex: 1;
  margin: 0;
  min-width: 0;
  min-height: 52px;
  border-radius: 9px;
}
.entry-welcome-actions #welcome-back { padding: 12px 16px 12px 0; }
.entry-welcome-layout .entry-under {
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.entry-welcome-layout #welcome-save-status {
  flex: 1 1 100px;
  margin: 0 !important;
  min-height: 0;
}
.entry-welcome-layout #welcome-save-status:empty { display: none; }
.entry-welcome-layout #welcome-later { margin-left: auto; color: var(--muted); }
.entry-welcome-layout #welcome-later:hover { color: var(--ink); }
.entry-welcome-layout #welcome-ready .entry-primary { width: 100%; }
.entry-welcome-stage > .entry-beta { width: min(1080px, 100%); margin: 0 auto; }
@media (max-height: 800px) and (min-width: 761px) {
  .entry-welcome-stage { padding-block: 16px; }
  .entry-welcome-layout { min-height: 520px; }
  .entry-welcome-layout .entry-content { padding-block: 32px; }
  .entry-welcome-layout .entry-side { padding-block: 32px; }
}
@media (min-width: 761px) and (max-width: 1000px) {
  .entry-welcome-layout { grid-template-columns: 244px minmax(0, 1fr); }
  .entry-welcome-layout .entry-side { padding-inline: 24px; }
  .entry-welcome-layout .entry-content { padding-inline: 32px; }
  .entry-welcome-layout h1 { font-size: 30px; }
}
@media (max-width: 760px) {
  .entry-welcome-stage { padding: 16px; }
  .entry-welcome-layout { grid-template-columns: minmax(0, 1fr); min-height: 0; border-radius: 16px; }
  .entry-welcome-layout .entry-side { padding: 20px; }
  .entry-welcome-layout .entry-progress { margin: 0; }
  .entry-welcome-layout .entry-content { padding: 32px 24px 24px; }
  .entry-welcome-layout h1 { font-size: 30px; }
  .entry-welcome-layout .entry-under { gap: 8px 12px; }
}
@media (max-width: 359px) {
  .entry-welcome-stage { padding-inline: 12px; }
  .entry-welcome-layout .entry-side,
  .entry-welcome-layout .entry-content { padding-inline: 20px; }
  .entry-welcome-layout .entry-progress { gap: 8px; }
  .entry-welcome-layout .entry-progress li { gap: 6px; }
  .entry-welcome-layout .entry-progress b { font-size: 11px; }
}
@media(prefers-reduced-motion:reduce){.entry-page *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Forms own their step transitions; no captured-document animation on auth navigation. */
@view-transition { navigation: none; }
/* Full-window entry workspace; only the reading/form column is bounded. */
.entry-document .entry-page { display:flex; flex-direction:column; }
.entry-page > .entry-header,.entry-page > .entry-footer { flex:none; }
.entry-page > .entry-layout { flex:1 0 auto; width:calc(100% - 32px); max-width:none; min-height:calc(100dvh - 164px); margin:0 16px; grid-template-columns:minmax(240px,28%) minmax(0,1fr); }
.entry-page .entry-content { min-width:0; display:flex; align-items:center; justify-content:center; }
.entry-page .entry-auth,.entry-page .entry-form { width:100%; max-width:540px; margin-inline:auto; }
.entry-welcome-page .entry-welcome-stage { padding:0 16px; }
.entry-welcome-page .entry-welcome-layout { width:100%; max-width:none; min-height:calc(100dvh - 164px); }
@media(max-width:760px) {
  .entry-page > .entry-layout { grid-template-columns:minmax(0,1fr); min-height:calc(100dvh - 132px); }
  .entry-page .entry-content { padding:28px 20px; }
  .entry-welcome-page .entry-welcome-layout { min-height:0; }
}
