:root{color-scheme:light;--ink:#171923;--cream:#f4f1eb;--red:#ed2724;--line:#e8e1d9;--mute:#635d59;--paper:#fffdf9;--action:#b9131b}
*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);font:16px/1.5 system-ui,sans-serif}button,input,textarea{font:inherit}button,summary{cursor:pointer}button:disabled{cursor:default;opacity:.65}[hidden]{display:none!important}:focus-visible{outline:3px solid #9f211f;outline-offset:3px}h1,h2,p{margin:0}h2{font-size:1rem}button{color:var(--ink)}.frame{max-width:960px;margin:48px auto;padding:0 24px}.mark{width:58px;height:58px;display:block;object-fit:contain;flex:none;border-radius:16px;border:1px solid var(--line)}header,.recipient,.toolbar,.actions{display:flex;align-items:center;gap:14px}header{margin-bottom:26px}.eyebrow{font-size:10px;letter-spacing:.19em;font-weight:750;color:var(--mute)}h1{font-size:clamp(1.5rem,4vw,2.3rem);letter-spacing:-.06em;line-height:1.15}.badge{margin-left:auto;background:#fff5f4;border:1px solid #f3c7c4;color:#a0221f;font-size:12px;font-weight:750;border-radius:50px;padding:6px 10px;white-space:nowrap}.panel,.workspace{background:var(--paper);border:1px solid var(--line);border-radius:22px;box-shadow:0 18px 55px #2820190c}.panel{max-width:510px;margin:0 auto;padding:clamp(20px,6vw,35px)}.panel h2{font-size:clamp(1.5rem,4vw,2rem);letter-spacing:-.045em;margin:4px 0 8px}.panel>p,.muted,#code-help,.toolbar,footer{color:var(--mute)}form label{font-size:.86rem;font-weight:700}.panel form,#invite-form{display:grid;gap:9px;margin-top:18px}.actions{flex-wrap:wrap;justify-content:space-between}.actions button,.toolbar button{padding:6px 0;border:0;background:none;text-decoration:underline;text-underline-offset:3px;min-height:40px}.actions button{font-size:.84rem}.toolbar{justify-content:space-between;gap:10px;margin-bottom:8px;font-size:.88rem;overflow-wrap:anywhere}.toolbar button{flex:none}.workspace{display:flex;overflow:hidden}.workspace aside{width:255px;border-right:1px solid var(--line);background:#faf7f1;padding:16px;flex-shrink:0}.workspace aside h2{margin-bottom:10px}#threads{display:grid;gap:6px;max-height:255px;overflow:auto}.thread{text-align:left;background:transparent;border:1px solid transparent;border-radius:12px;padding:9px 10px;width:100%;min-height:44px;font-weight:650;overflow-wrap:anywhere}.thread:hover,.thread[aria-pressed=true]{background:white;border-color:#dfd7cc}.conversation{min-width:0;flex:1}.recipient{padding:16px 20px;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.recipient p,.status,#invitations,footer{font-size:.82rem;color:var(--mute)}.avatar{display:grid;place-items:center;background:#f1e8dc;border-radius:50%;width:42px;height:42px;font-size:13px;font-weight:820;flex:none}.feed{height:clamp(245px,45dvh,490px);overflow:auto;display:flex;flex-direction:column;gap:12px;padding:20px}.empty{margin:auto;text-align:center;color:var(--mute);font-size:.9rem}.entry{display:grid;gap:3px;align-self:flex-start;max-width:83%;min-width:0}.entry.mine{align-self:flex-end}.entry time{font-size:11px;color:var(--mute)}.entry.mine time{text-align:right}.bubble{white-space:pre-wrap;overflow-wrap:anywhere;background:#f1ebe2;border-radius:14px 14px 14px 4px;padding:9px 13px}.mine .bubble{background:var(--ink);color:white;border-radius:14px 14px 4px 14px}#compose{display:flex;align-items:flex-end;gap:8px;padding:13px 16px;border-top:1px solid var(--line)}input,textarea{width:100%;min-width:0;padding:10px 13px;background:white;border:1px solid #c7beb2;border-radius:12px;color:var(--ink)}textarea{resize:vertical;min-height:48px;max-height:140px}.primary{border:0;padding:10px 13px;min-height:44px;background:var(--action);color:white;font-weight:750;border-radius:12px;white-space:nowrap}.primary:hover:not(:disabled){background:#921019}.status:not(:empty){margin-top:8px}.status[data-error]{color:#851216}#invitations{border-top:1px solid var(--line);margin-top:14px;padding-top:8px}summary{font-weight:730;min-height:36px;padding:7px 0;color:var(--ink)}details p+p{margin-top:7px}footer{max-width:580px;padding:12px 3px}.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:620px){.frame{margin:19px auto;padding:0 12px}header{margin-bottom:17px;gap:10px}.mark{width:44px;height:44px;border-radius:12px}.badge{padding:4px 8px;font-size:10px}.workspace,.panel{border-radius:16px}.workspace{display:block}.workspace aside{width:auto;border-right:none;border-bottom:1px solid var(--line);padding:9px 12px}.workspace aside h2{font-size:.86rem;margin-bottom:6px}#threads{grid-template-columns:repeat(auto-fit,minmax(min(100%,136px),1fr));max-height:155px}.thread{font-size:.84rem}.recipient{padding:11px 13px}.feed{padding:14px}.eyebrow{font-size:8px}.entry{max-width:88%}#compose{padding:9px}}

.history{padding:0 16px;text-align:center;border-bottom:1px solid var(--line)}.history button{border:0;background:none;min-height:42px;font-size:.82rem;text-decoration:underline;text-underline-offset:3px}


/* Visibilité sur mobile, sans bloquer le zoom ni grossir les libellés secondaires inutilement. */
body{font-size:1.125rem;line-height:1.55}
header{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:start}
header .badge{margin:0;align-self:center}
.slogan{font-size:1rem;font-weight:600;line-height:1.4;margin-top:.38rem;color:var(--mute)}
.eyebrow{font-size:.75rem;letter-spacing:.13em}
form label,.toolbar,.actions button,.workspace aside h2,.thread{font-size:1rem}
.recipient p,.status,footer,.history button,.empty{font-size:.9375rem}
.entry time{font-size:.8125rem}
.actions button,.toolbar button,.history button,summary{min-height:44px}
.primary{min-height:48px}
@media(max-width:620px){
  header{grid-template-columns:auto minmax(0,1fr);align-items:center}
  header .badge{grid-column:2;justify-self:start;font-size:.75rem}
  h1{letter-spacing:-.04em}
  #threads{grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr))}
}

.notice{border:1px solid var(--line);border-radius:12px;background:#faf7f1;padding:.8rem 1rem;margin:1rem 0 0;font-size:1rem;overflow-wrap:anywhere}
.notice h3{font-size:1rem;margin:0 0 .4rem}
.notice details{margin-top:.35rem}
.notice a{color:#8d1017;text-underline-offset:.18em}
.usage-notice{margin:0 .85rem .85rem}
.usage-notice>p{margin-top:.35rem}

/* Palette A : ivoire neutre, greige, noir doux et rouge discret. */
:root{
  --ink:#242426;
  --cream:#f5f4f1;
  --mute:#626164;
  --line:rgba(36,36,38,.17);
  --paper:rgba(255,255,255,.54);
  --action:#242426;
  --action-hover:#121214;
  --accent:#b6212b;
  --greige:#dedcd7;
  --glass-edge:rgba(255,255,255,.86);
  --glass-shadow:0 22px 65px -30px rgba(36,36,38,.24),0 4px 14px -9px rgba(36,36,38,.12);
}
html{min-height:100%;background:var(--cream)}
body{
  display:flow-root;
  min-height:100dvh;
  background:
    radial-gradient(ellipse at 12% 9%,rgba(255,255,255,.96),transparent 47%),
    radial-gradient(ellipse at 84% 28%,rgba(158,158,161,.20),transparent 44%),
    radial-gradient(ellipse at 24% 88%,rgba(222,220,215,.65),transparent 46%),
    linear-gradient(135deg,#f8f8f6,var(--cream) 58%,#e9e8e5);
  background-attachment:fixed;
  -webkit-font-smoothing:antialiased;
}
::selection{background:var(--ink);color:#fff}
a{color:var(--ink);text-underline-offset:.2em}
a:hover{color:var(--accent)}
:focus-visible{outline:3px solid var(--accent);outline-offset:4px}
.frame{max-width:1000px;margin:36px auto;padding:0 24px}
header,.panel,.workspace,footer{
  border:1px solid var(--glass-edge);
  background:linear-gradient(135deg,rgba(255,255,255,.66),rgba(245,244,241,.36));
  -webkit-backdrop-filter:blur(28px) saturate(125%);
  backdrop-filter:blur(28px) saturate(125%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.95),inset 0 -1px 0 rgba(255,255,255,.26),var(--glass-shadow);
}
header{border-radius:28px;padding:20px 22px;margin-bottom:28px;align-items:center}
.mark{width:80px;height:80px;border-radius:22px;padding:2px;background:rgba(255,255,255,.48);border-color:var(--glass-edge);box-shadow:inset 0 1px 0 #fff,0 6px 15px -10px rgba(36,36,38,.5)}
h1{letter-spacing:-.05em}
.eyebrow{color:#626164}
.eyebrow:before{content:'';display:inline-block;width:14px;height:2px;background:var(--accent);vertical-align:middle;margin-right:8px}
.slogan{color:var(--mute);font-weight:500}
.badge{background:rgba(255,255,255,.64);border-color:rgba(36,36,38,.2);color:var(--ink);box-shadow:inset 0 1px 0 #fff}
.panel{max-width:540px;border-radius:32px;padding:clamp(24px,5vw,36px)}
.panel h2{margin:8px 0 12px}
.panel>p{line-height:1.6}
.panel form{gap:10px;margin-top:24px}
.panel form+p{margin-top:18px;font-size:1rem}
.notice{
  border-color:rgba(255,255,255,.82);
  border-radius:20px;
  background:linear-gradient(130deg,rgba(255,255,255,.40),rgba(222,220,215,.32));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.8);
  padding:16px 18px;
}
.notice a{color:var(--ink)}
.notice a:hover{color:var(--accent)}
.broker-access{margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}
.broker-access h3{margin:0 0 8px;font-size:1rem}
.broker-access p{font-size:1rem;color:var(--mute);margin-bottom:12px}
.broker-access a{display:inline-flex;align-items:center;justify-content:center;min-height:48px;text-align:center;text-decoration:none}
input,textarea{
  background:rgba(255,255,255,.82);
  border:1.5px solid #807f7c;
  border-radius:16px;
  box-shadow:inset 0 2px 5px rgba(36,36,38,.035),0 1px 0 rgba(255,255,255,.75);
  transition:background .18s,border-color .18s,box-shadow .18s;
}
input:hover:not(:disabled),textarea:hover:not(:disabled){border-color:var(--ink)}
input::placeholder,textarea::placeholder{color:#69686b;opacity:1}
input:focus,textarea:focus{background:#fff;border-color:var(--ink);box-shadow:0 0 0 4px rgba(36,36,38,.11)}
button{transition:background .18s,border-color .18s,box-shadow .18s}
.primary,#push-controls>button,#pilot-account-form>button,#pilot-account-list button{
  min-height:48px;
  padding:11px 17px;
  border:1px solid rgba(255,255,255,.92);
  border-radius:16px;
  color:var(--ink);
  background:linear-gradient(135deg,rgba(222,220,215,.83),rgba(255,255,255,.55));
  -webkit-backdrop-filter:blur(16px);
  backdrop-filter:blur(16px);
  box-shadow:inset 0 1px 0 #fff,inset 0 -1px 0 rgba(36,36,38,.12),0 6px 18px -10px rgba(36,36,38,.30);
  font-weight:750;
}
.primary,#push-controls>#push-enable,#pilot-account-form>button{
  color:#fff;
  border-color:rgba(255,255,255,.60);
  background:linear-gradient(160deg,#414144,var(--action) 60%,#19191b);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.30),0 7px 18px -9px rgba(36,36,38,.48);
}
.primary:hover:not(:disabled),#push-controls>#push-enable:hover:not(:disabled),#pilot-account-form>button:hover:not(:disabled){
  background:linear-gradient(160deg,#303033,var(--action-hover));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.36),0 8px 22px -9px rgba(36,36,38,.54);
}
.primary:active:not(:disabled),#push-controls>#push-enable:active:not(:disabled),#pilot-account-form>button:active:not(:disabled){background:var(--action-hover);box-shadow:inset 0 2px 5px rgba(0,0,0,.18)}
.actions button,.toolbar button,.history button,#push-disable{
  border:1px solid rgba(36,36,38,.40);
  border-radius:13px;
  background:rgba(255,255,255,.62);
  padding:8px 13px;
  color:var(--ink);
  text-decoration:none;
  box-shadow:inset 0 1px 0 #fff;
}
.actions button:hover:not(:disabled),.toolbar button:hover:not(:disabled),.history button:hover:not(:disabled),#push-disable:hover:not(:disabled){background:rgba(255,255,255,.94);border-color:var(--ink)}
button:disabled,.primary:disabled,#push-controls>button:disabled,#push-controls>#push-enable:disabled,#pilot-account-form>button:disabled,#pilot-account-list button:disabled{opacity:1;background:#e3e2df;color:#767579;border-color:#c5c4c1;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}
.panel form+p a{display:inline-block;font-weight:650;padding-block:4px;text-decoration-thickness:1.5px}
summary{border-radius:9px}
summary:hover{color:var(--accent)}
summary:focus-visible{outline-offset:2px}
.history{padding-block:8px}
.workspace{border-radius:28px}
.workspace aside{background:rgba(222,220,215,.33);border-color:rgba(255,255,255,.68);padding:18px}
.thread{border-radius:16px}
.thread:hover{background:rgba(255,255,255,.76);border-color:rgba(36,36,38,.34)}
.thread[aria-pressed=true]{background:rgba(222,220,215,.72);border-color:rgba(36,36,38,.42);color:var(--ink);box-shadow:inset 3px 0 0 var(--accent),inset 0 1px 0 #fff}
.recipient{background:rgba(255,255,255,.25);border-color:rgba(255,255,255,.75)}
.avatar{background:linear-gradient(135deg,rgba(255,255,255,.8),rgba(222,220,215,.55));border:1px solid var(--glass-edge);box-shadow:inset 0 1px 0 #fff,0 5px 12px -9px rgba(36,36,38,.3);color:var(--ink)}
.feed{background:rgba(255,255,255,.08);scrollbar-color:#b2b1ae transparent}
.bubble{background:rgba(255,255,255,.65);border:1px solid rgba(255,255,255,.92);box-shadow:inset 0 1px 0 #fff,0 5px 15px -12px rgba(36,36,38,.3);border-radius:19px 19px 19px 6px;padding:11px 15px}
.mine .bubble{color:#fff;background:linear-gradient(135deg,rgba(55,55,58,.91),rgba(36,36,38,.88));border-color:rgba(255,255,255,.5);border-radius:19px 19px 6px 19px}
#compose{background:rgba(255,255,255,.44);border-color:rgba(36,36,38,.22);padding:16px;align-items:flex-end}
#compose textarea{min-height:82px}
.compose-label{display:block;font-size:1rem;font-weight:700;color:var(--ink);margin-bottom:7px}
.compose-field{min-width:0;flex:1}
.history{border-color:rgba(255,255,255,.65)}
#push-controls{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-bottom:16px}
#push-status{flex-basis:100%;margin:0}
#pilot-accounts{font-size:1rem;margin-bottom:18px}
#pilot-accounts>p{color:var(--mute)}
#pilot-account-form{display:grid;gap:9px;margin-top:14px}
#pilot-account-list{padding-left:20px;font-size:.9375rem;overflow-wrap:anywhere}
#pilot-account-list button{font-size:.875rem;min-height:44px;margin-top:8px;padding:8px 12px}
#pilot-account-list button{color:var(--accent);border-color:rgba(182,33,43,.45);background:rgba(255,246,247,.8)}
#pilot-account-list button:hover:not(:disabled){background:#fff0f1;border-color:var(--accent)}
.client-edit-form{display:grid;gap:10px;margin:12px 0;padding:14px;border:1px solid var(--line);border-radius:16px;background:rgba(255,255,255,.65)}
.client-edit-form label{display:grid;gap:5px}.client-edit-form p{font-size:.875rem;line-height:1.5;color:var(--mute)}
.client-edit-form button{width:100%}
footer{max-width:none;width:fit-content;max-width:100%;margin-top:22px;padding:5px 18px;border-radius:20px;background:rgba(255,255,255,.33)}
footer details>p{max-width:65ch;padding:5px 0 12px}
@media(max-width:620px){
  .frame{margin:16px auto;padding:0 14px}
  header{padding:16px;gap:12px;margin-bottom:20px;border-radius:24px}
  .mark{width:60px;height:60px;border-radius:17px}
  .slogan{font-size:.9375rem;line-height:1.45}
  .panel{border-radius:26px;padding:25px 21px}
  .panel h2{font-size:1.75rem;line-height:1.2}
  .notice{padding:14px;border-radius:17px}
  .workspace{border-radius:24px}
  .workspace aside{padding:12px}
  .recipient{padding:14px}
  #compose{padding:11px;gap:8px}
  #compose .primary{padding-inline:13px}
  footer{margin-top:18px;padding:5px 14px;border-radius:18px}
}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  header,.panel,.workspace,footer{background:rgba(248,248,246,.96)}
}
@media(prefers-reduced-transparency:reduce){
  body{background:var(--cream)}
  header,.panel,.workspace,footer,.notice,.workspace aside,.recipient,#compose,.bubble,input,textarea{background:#fafaf8}
  .thread[aria-pressed=true]{background:var(--greige)}
  .mine .bubble,.primary,#push-controls>#push-enable,#pilot-account-form>button{background:var(--action);color:#fff}
  #push-disable,#pilot-account-list button{background:#f6f5f2}
  header,.panel,.workspace,footer,.primary,#push-controls>button,#pilot-account-form>button,#pilot-account-list button{-webkit-backdrop-filter:none;backdrop-filter:none}
}
@media(prefers-reduced-motion:reduce){button,input,textarea{transition:none}}

/* Navigation du portail et fonctions accessibles depuis la conversation. */
.portal-nav{grid-column:1/-1;display:flex;gap:8px;width:100%;border-top:1px solid var(--line);padding-top:15px;margin-top:5px}
.portal-nav button{display:flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:11px 22px;border:1px solid transparent;border-radius:16px;background:transparent;color:var(--ink);font-size:1rem;font-weight:650}
.portal-nav button span{font-size:.75rem;font-weight:500;color:var(--mute)}
.portal-nav button:hover{background:rgba(255,255,255,.6);border-color:rgba(36,36,38,.18)}
.portal-nav button[aria-selected=true]{background:var(--ink);color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 5px 15px -10px rgba(36,36,38,.5)}
.portal-nav button[aria-selected=true] span{color:#e4e3e0}
.toolbar{flex-wrap:wrap;gap:12px;margin-bottom:15px}
.toolbar-actions{display:flex;align-items:center;flex-wrap:wrap;gap:9px}
.toolbar-actions button{font-size:.875rem}
.recipient{flex-wrap:wrap}
.recipient-copy{flex:1;min-width:120px}
.secondary-button{border:1px solid rgba(36,36,38,.4);background:rgba(255,255,255,.7);box-shadow:inset 0 1px 0 #fff;border-radius:13px;min-height:44px;padding:9px 13px;color:var(--ink);font-size:.875rem;font-weight:650}
.secondary-button:hover:not(:disabled){background:#fff;border-color:var(--ink)}
.future-section{padding:clamp(25px,5vw,45px);border:1px solid var(--glass-edge);border-radius:28px;background:linear-gradient(135deg,rgba(255,255,255,.66),rgba(245,244,241,.36));box-shadow:inset 0 1px 0 #fff,var(--glass-shadow);-webkit-backdrop-filter:blur(28px);backdrop-filter:blur(28px)}
.future-label{display:inline-block;border:1px solid var(--line);border-radius:30px;padding:5px 12px;background:rgba(255,255,255,.55);font-size:.875rem;color:var(--mute);margin-bottom:18px}
.future-section h2{font-size:clamp(1.7rem,4vw,2.35rem);letter-spacing:-.045em;line-height:1.2;margin-bottom:15px}
.future-section p{max-width:65ch;margin-bottom:14px;line-height:1.7}
.future-section .primary{margin-top:12px;white-space:normal}
#install-footer.install-expanded{width:100%;padding:15px 22px 20px;border-radius:24px}
.install-intro{display:flex;gap:15px;align-items:center;margin:16px 0 22px}
.install-intro img{border-radius:12px;flex:none}
.install-intro h2{font-size:1.15rem;letter-spacing:-.02em}
.install-intro p{margin-top:3px;font-size:1rem;color:var(--mute)}
#install-direct{margin-bottom:18px}
.install-tabs{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:22px}
.install-tabs button{border:1px solid var(--line);border-radius:13px;background:rgba(255,255,255,.5);padding:10px 18px;min-height:44px;font-size:.9375rem}
.install-tabs button[aria-selected=true]{background:var(--ink);color:#fff;border-color:var(--ink)}
.install-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:23px;margin:0 0 20px;padding:0;list-style:none;counter-reset:install-step}
.install-steps li{min-width:0;counter-increment:install-step;border:1px solid rgba(255,255,255,.86);border-radius:22px;padding:16px;background:rgba(255,255,255,.48);box-shadow:inset 0 1px 0 #fff,0 4px 14px -9px rgba(36,36,38,.16)}
.install-steps h3{font-size:1rem;font-weight:700;margin:13px 0 6px;line-height:1.4}
.install-steps h3:before{content:counter(install-step) '. ';color:var(--accent)}
.install-steps p{font-size:1rem;color:var(--mute);line-height:1.65;margin:0}
.step-picture{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:138px;padding:15px 10px;background:rgba(255,255,255,.62);border:1px solid rgba(36,36,38,.13);border-radius:19px;color:var(--ink);text-align:center;overflow:hidden}
.step-picture strong{font-size:.875rem;line-height:1.35}
.step-picture img{border-radius:10px}
.picture-browser{font-size:.8125rem;color:var(--mute)}
.picture-choice{display:block;width:100%;padding:10px 5px;border:1px solid var(--accent);border-radius:9px;background:rgba(245,244,241,.65)}
.picture-choice span{margin-right:5px}
.picture-line{width:80%;height:5px;border-radius:5px;background:var(--greige)}
.picture-line.short{width:65%}
.picture-add{border-radius:10px;padding:8px 20px;background:var(--ink);color:#fff}
.step-picture .picture-menu{font-size:2rem}
.install-note{font-size:.875rem;line-height:1.65;color:var(--mute)}
.install-source{display:inline-block;font-size:.875rem;padding:8px 0;margin:0 0 12px;text-underline-offset:3px}
#install-footer details>.install-note{max-width:none;padding:0;margin-top:12px}
.install-resources{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px;margin-bottom:22px}
.install-resources a{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:11px 16px;text-decoration:none;font-size:1rem;text-align:center}
.install-resources span{font-size:.875rem;color:var(--mute)}
.install-next{display:flex;align-items:center;gap:16px;padding:18px 20px;border:1px solid var(--glass-edge);border-radius:22px;background:rgba(255,255,255,.56);margin:4px 0 18px}
.install-next img{flex:none;border-radius:12px}
.install-next h3{font-size:1rem;margin:0 0 5px}
.install-next p{font-size:1rem;color:var(--mute);line-height:1.6;margin:0}
@media(max-width:620px){
  .portal-nav{gap:5px;padding-top:13px}
  .portal-nav button{flex:1;flex-direction:column;gap:2px;padding:8px 7px;font-size:.9375rem;min-height:52px}
  .toolbar-actions{width:100%}
  .toolbar-actions #install-open{flex:1}
  .toolbar-actions button{font-size:.875rem;min-height:44px;padding:9px 11px}
  .recipient .secondary-button{flex-basis:100%;width:100%}
  .future-section{border-radius:24px}
  #install-footer.install-expanded{padding:12px 15px 18px}
  .install-steps{grid-template-columns:1fr;gap:24px}
  .install-steps li{display:grid;grid-template-columns:96px minmax(0,1fr);column-gap:14px;align-items:start;padding:14px}
  .step-picture{grid-column:1;grid-row:1/3;min-height:125px;padding:10px 6px}
  .step-picture strong{font-size:.75rem}
  .picture-choice{padding:9px 3px}
  .install-steps h3{grid-column:2;margin:0 0 6px}
  .install-steps p{grid-column:2;font-size:1rem}
  .install-resources a{width:100%;white-space:normal}
  .install-next{padding:16px;gap:12px;align-items:flex-start}
}
@media(prefers-reduced-transparency:reduce){.future-section,.step-picture{background:#fafaf8;-webkit-backdrop-filter:none;backdrop-filter:none}}

/* Seller and buyer guide outlines retained from the newer publication. */
.guide-hub{border:1px solid var(--glass-edge);border-radius:28px;background:linear-gradient(135deg,rgba(255,255,255,.66),rgba(245,244,241,.36));box-shadow:inset 0 1px 0 #fff,var(--glass-shadow);padding:clamp(22px,5vw,40px)}
.guide-intro{max-width:650px}.guide-intro h2{font-size:clamp(1.6rem,4vw,2.3rem);letter-spacing:-.045em;margin:.4rem 0 .55rem}.guide-intro p{color:var(--mute);max-width:62ch}
.guide-switch{display:flex;gap:8px;margin:24px 0 16px;flex-wrap:wrap}
.guide-switch button{border:1px solid transparent;border-radius:14px;background:transparent;color:var(--ink);font-weight:720;min-height:46px;padding:9px 16px;white-space:nowrap}
.guide-switch button:hover{background:rgba(255,255,255,.55);border-color:rgba(36,36,38,.2)}
.guide-switch button[aria-selected=true]{background:var(--ink);border-color:var(--ink);color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.22),0 6px 16px -11px rgba(36,36,38,.55)}
.guide-steps{display:grid;gap:10px;margin:0;padding:0;list-style:none}
.guide-steps li{display:grid;grid-template-columns:42px minmax(0,1fr);gap:14px;align-items:start;padding:17px;border:1px solid rgba(36,36,38,.15);border-radius:19px;background:rgba(255,255,255,.5);box-shadow:inset 0 1px 0 rgba(255,255,255,.88)}
.guide-steps span{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--ink);color:#fff;font-size:.875rem;font-weight:800}.guide-steps h3{font-size:1.05rem;margin:0 0 2px}.guide-steps p{font-size:.95rem;line-height:1.5;color:var(--mute);margin:0}
@media(max-width:620px){.guide-hub{border-radius:24px;padding:22px 18px}.guide-switch{display:grid;grid-template-columns:1fr 1fr}.guide-switch button{padding-inline:9px;font-size:.92rem}.guide-steps li{padding:14px;gap:11px}}
@media(prefers-reduced-transparency:reduce){.guide-hub{background:#fafaf8}}

.install-video{margin:20px 0 26px;padding:20px;border:1px solid var(--line,#dedcd7);border-radius:22px;background:rgba(255,255,255,.58)}
.install-video h3{margin:0 0 8px;font-size:1.12rem}
.install-video p{margin:0 0 16px;color:var(--muted,#626164);font-size:.94rem;line-height:1.6}
.install-video video{display:block;width:100%;max-width:320px;aspect-ratio:9/16;object-fit:contain;margin:0 auto 14px;border-radius:16px;background:#f5f4f1}
