.wiki-account-page {
  --cl-brand: #b5490f;
  --cl-brand-strong: #933a0a;
  --cl-brand-soft: #fbe9dd;
  --cl-bg: #faf6f3;
  --cl-surface: #fff;
  --cl-ink: #1f1916;
  --cl-ink-2: #56493f;
  --cl-line: #ece2da;
  --cl-font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  margin: 0;
  background: var(--cl-bg, #faf6f3);
  color: var(--cl-ink, #1f1916);
  font: 400 15px/1.55 var(--cl-font, system-ui, sans-serif);
  -webkit-text-size-adjust: 100%;
}
.wiki-account-page, .wiki-account-page * { box-sizing: border-box; }
.wiki-account-page [hidden] { display: none !important; }
.wiki-account-page a { color: var(--cl-brand, #b5490f); text-underline-offset: 3px; }
.wiki-account-page button, .wiki-account-page input { font: inherit; }
.wiki-account-page a:focus-visible, .wiki-account-page button:focus-visible, .wiki-account-page input:focus-visible {
  outline: 3px solid var(--cl-brand, #b5490f);
  outline-offset: 4px;
}
.wiki-account-page .cl-shell { background: var(--cl-surface, #fff); border-bottom: 1px solid var(--cl-line, #ece2da); }
.wiki-account-page .cl-shell__bar { max-width: 1088px; min-height: 64px; margin: 0 auto; padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.wiki-account-page .cl-brand { color: var(--cl-ink, #1f1916); text-decoration: none; font-size: 23px; font-weight: 600; letter-spacing: -.6px; }
.wiki-account-page .cl-brand b { margin-left: 6px; color: var(--cl-brand, #b5490f); }
.wiki-account-page .container { width: 100%; max-width: 1088px; margin: 42px auto 80px; padding: 0 24px; }
.wiki-account-page .heading { margin-bottom: 24px; }
.wiki-account-page .eyebrow { display: block; margin-bottom: 9px; color: var(--cl-brand, #b5490f); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.1px; }
.wiki-account-page h1 { margin: 0 0 12px; font-size: clamp(32px, 5vw, 46px); letter-spacing: -1.2px; line-height: 1.15; }
.wiki-account-page h2 { margin: 0 0 12px; font-size: 23px; letter-spacing: -.45px; line-height: 1.3; }
.wiki-account-page h3 { margin: 0 0 10px; font-size: 21px; line-height: 1.3; }
.wiki-account-page p { margin: 12px 0 18px; color: var(--cl-ink-2, #56493f); overflow-wrap: anywhere; }
.wiki-account-page .card { min-width: 0; padding: 28px; border: 1px solid var(--cl-line, #ece2da); border-radius: 16px; background: var(--cl-surface, #fff); box-shadow: 0 1px 2px rgba(31,25,22,.06), 0 0 0 1px rgba(31,25,22,.045); }
.wiki-account-page .section-gap { margin-top: 28px; }
.wiki-account-page .row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.wiki-account-page .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.wiki-account-page .btn, .wiki-account-page .cl-btn {
  display: inline-flex;
  min-height: 44px;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 1px solid var(--cl-brand, #b5490f);
  border-radius: 999px;
  background: var(--cl-brand, #b5490f);
  color: #fff;
  font-weight: 650;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
  cursor: pointer;
}
.wiki-account-page .btn:hover, .wiki-account-page .cl-btn:hover { background: var(--cl-brand-strong, #933a0a); border-color: var(--cl-brand-strong, #933a0a); }
.wiki-account-page .btn.secondary, .wiki-account-page .cl-btn--ghost { color: var(--cl-ink, #1f1916); background: var(--cl-surface, #fff); border-color: var(--cl-line, #ece2da); }
.wiki-account-page .btn.secondary:hover, .wiki-account-page .cl-btn--ghost:hover { color: var(--cl-brand-strong, #933a0a); background: var(--cl-brand-soft, #fbe9dd); border-color: var(--cl-brand, #b5490f); }
.wiki-account-page .btn:disabled, .wiki-account-page .cl-btn:disabled { color: #62564d; background: #eee6df; border-color: #dbcec3; cursor: not-allowed; opacity: 1; }
.wiki-account-page #account-status:not(:empty) { padding: 15px 19px; border: 1px solid var(--cl-line, #ece2da); border-left: 4px solid var(--cl-brand, #b5490f); border-radius: 10px; background: var(--cl-surface, #fff); }
.wiki-account-page label { display: block; margin: 16px 0; font-weight: 600; }
.wiki-account-page input:not([type="checkbox"]) { display: block; width: 100%; min-height: 46px; margin-top: 8px; padding: 10px 12px; border: 1px solid #a99a8e; border-radius: 8px; background: #fff; color: var(--cl-ink, #1f1916); }
.wiki-account-page .check { display: flex; align-items: flex-start; gap: 12px; font-weight: 400; }
.wiki-account-page input[type="checkbox"] { flex: 0 0 20px; width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--cl-brand, #b5490f); }
.wiki-account-page #account-delete-form { margin-top: 22px; padding-top: 6px; border-top: 1px solid var(--cl-line, #ece2da); }
.wiki-account-page #account-delete-form .btn { margin: 0 8px 8px 0; }
@media (max-width: 600px) {
  .wiki-account-page .cl-shell__bar { min-height: 68px; padding: 14px 18px; }
  .wiki-account-page .container { margin: 28px auto 52px; padding: 0 18px; }
  .wiki-account-page .card { padding: 21px; border-radius: 16px; }
  .wiki-account-page h2 { font-size: 22px; }
  .wiki-account-page .row { gap: 10px; }
  .wiki-account-page #account-providers .btn { width: 100%; }
}
/* Shared public account and mailbox-confirmation surfaces. */
.wiki-account-page .cl-brand { display: inline-flex; align-items: center; gap: 12px; }
.wiki-account-page .cl-brand__logo { width: 52px; height: 31px; max-width: 58vw; object-fit: contain; }
.wiki-account-page .cl-brand__name { font-size: 17px; font-weight: 600; letter-spacing: -.01em; line-height: 1; }
.wiki-account-page .cl-brand__name b { font-weight: 800; margin-left: 4px; color: var(--cl-brand, #b5490f); }
.wiki-account-page .auth-container { max-width: 640px; margin-top: clamp(28px, 7vh, 76px); }
.wiki-account-page .auth-card { padding: clamp(24px, 5vw, 42px); }
.wiki-account-page .auth-card h1 { font-size: clamp(29px, 6vw, 38px); letter-spacing: -.8px; }
.wiki-account-page .auth-card #status:not(:empty) { padding: 16px; border: 1px solid var(--cl-line, #ece2da); background: var(--cl-bg, #faf6f3); border-radius: 10px; }
.wiki-account-page .confirmation-icon { width: 54px; height: 54px; margin: 10px 0 22px; border-radius: 50%; background: #e3f3e6; color: #1f7a3a; font-size: 30px; text-align: center; line-height: 54px; }
.wiki-account-page .auth-help { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--cl-line, #ece2da); font-size: 14px; }
@media (max-width: 420px) {
 .wiki-account-page .auth-card .row { align-items: stretch; flex-direction: column; }
 .wiki-account-page .auth-card .row > * { width: 100%; }
}
.wiki-account-page .account-access-lead { max-width: 66ch; font-size: 18px; line-height: 1.5; color: var(--cl-ink, #1f1916); }
.wiki-account-page #account-access-help .grid { margin-top: 20px; gap: 20px 36px; }
.wiki-account-page #account-access-help h3 { font-size: 18px; }
.wiki-account-page .account-settings > summary { cursor: pointer; font-size: 16px; font-weight: 650; color: var(--cl-ink-2, #56493f); }
.wiki-account-page .account-settings-content { margin-top: 20px; }
.wiki-account-page .account-settings > summary:focus-visible { outline: 3px solid var(--cl-brand, #b5490f); outline-offset: 5px; border-radius: 5px; }
@media (max-width: 600px) { .wiki-account-page #account-summary .row { align-items: stretch; } .wiki-account-page #account-summary .row > .btn { flex: 1 1 100%; } }
.wiki-account-page .account-avatar { float: right; margin: 0 0 16px 20px; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; background: var(--cl-brand-soft, #fbe9dd); color: var(--cl-brand, #b5490f); text-align: center; font-size: 28px; line-height: 64px; }
.wiki-account-page .account-avatar img { display: block; width: 64px; height: 64px; object-fit: cover; }
.wiki-account-page .account-avatar:has(img:not([hidden])) span { display: none; }
.wiki-account-page #profile-topics { grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); gap: 4px 18px; }
.wiki-account-page #profile-topics label { margin: 6px 0; }
.wiki-account-page #account-preferences fieldset { border: 1px solid var(--cl-line,#ece2da); border-radius: 10px; margin: 20px 0; padding: 16px; }
.wiki-account-page #account-preferences legend { font-weight: 650; padding: 0 6px; }
.wiki-account-page .plan-selected { box-shadow: 0 0 0 2px var(--cl-brand,#b5490f); }
.wiki-account-page input[type="radio"] { width:20px; height:20px; margin:3px 0 0; accent-color:var(--cl-brand,#b5490f); }

/* Personal surface uses the published Wiki components; sign-in/mail stay compact. */
.wiki-profile-page .container { max-width:1360px; margin:32px auto 64px; padding:0 28px; }
.wiki-profile-page .cl-shell__bar { max-width:1360px; padding:0 28px; height:64px; }
.wiki-profile-page .profile-hero .account-avatar { float:none; flex:none; width:80px; height:80px; margin:0; line-height:80px; border:2px solid var(--cl-brand); padding:3px; }
.wiki-profile-page .profile-hero .account-avatar img { width:100%; height:100%; border-radius:50%; }
.wiki-profile-page .profile-hero h1 { font-size:clamp(26px,3.2vw,36px); margin:4px 0 0; letter-spacing:-.025em; }
.wiki-profile-page .profile-hero p { margin:8px 0 0; font-size:14px; }
.wiki-profile-page .profile-tabs { display:flex; gap:4px; overflow:auto; margin:18px 0; padding:6px; background:var(--cl-surface); border:1px solid var(--cl-line); border-radius:16px; }
.wiki-profile-page .profile-tabs a { flex:none; padding:10px 14px; color:var(--cl-ink-2); font-size:14px; font-weight:600; border-radius:10px; text-decoration:none; }
.wiki-profile-page .profile-tabs a[aria-current="page"] { color:var(--cl-brand-strong); background:var(--cl-brand-soft); }
.wiki-profile-page .cl-card h2 { font-size:17px; letter-spacing:-.01em; margin-bottom:12px; }
.wiki-profile-page .cl-card p { font-size:14px; margin:8px 0 16px; }
.wiki-profile-page #profile-topics { display:grid; gap:10px; grid-template-columns:repeat(2,minmax(0,1fr)); margin-top:16px; }
.wiki-profile-page .profile-topic { display:flex; align-items:center; gap:12px; position:relative; margin:0; padding:16px 30px 16px 14px; cursor:pointer; min-width:0; }
.wiki-profile-page .profile-topic > input { position:absolute; right:10px; top:12px; width:17px; height:17px; margin:0; accent-color:var(--c); }
.wiki-profile-page .profile-topic:has(input:checked) { border-color:var(--c); background:color-mix(in srgb,var(--c) 8%,var(--cl-surface)); }
.wiki-profile-page .profile-topic img { width:26px; height:26px; flex:none; }
.wiki-profile-page .profile-topic span,.wiki-profile-page .profile-role { min-width:0; }
.wiki-profile-page .profile-topic b,.wiki-profile-page .profile-role b { display:block; font-size:14px; }
.wiki-profile-page .profile-topic small,.wiki-profile-page .profile-role small { display:block; font-size:12px; color:var(--cl-ink-3); font-weight:400; line-height:1.4; margin-top:4px; }
.wiki-profile-page #profile-roles { display:grid; gap:10px; grid-template-columns:repeat(3,minmax(0,1fr)); margin-top:16px; }
.wiki-profile-page .profile-role { display:block; text-align:left; padding:16px; border:1px solid var(--cl-line); border-radius:12px; background:var(--cl-surface); cursor:pointer; }
.wiki-profile-page .profile-role[aria-pressed="true"] { border-color:var(--cl-brand); background:var(--cl-brand-tint); box-shadow:inset 0 0 0 1px var(--cl-brand); }
.wiki-profile-page label.cl-switchrow { display:flex; align-items:center; justify-content:space-between; gap:16px; margin:0; font-weight:400; }
.wiki-profile-page label.cl-switchrow small { display:block; margin-top:3px; }
.wiki-profile-page input.cl-switch { width:38px; height:22px; flex:0 0 38px; margin:0; }
.wiki-profile-page .profile-savebar { position:sticky; bottom:12px; z-index:5; display:flex; align-items:center; justify-content:flex-end; flex-wrap:wrap; gap:10px; margin-top:20px; padding:14px 18px; border:1px solid var(--cl-line); border-radius:16px; background:var(--cl-surface); box-shadow:var(--cl-shadow-lg); }
.wiki-profile-page #profile-dirty { margin-right:auto; color:var(--cl-ink-3); font-size:13px; }
.wiki-profile-page #profile-status:not(:empty) { padding:14px 18px; border-left:4px solid var(--cl-brand); background:var(--cl-surface); border-radius:10px; }
.wiki-profile-page .profile-content-row { display:block; padding:16px 0; border-bottom:1px solid var(--cl-line); }
.wiki-profile-page .profile-content-row small { display:block; color:var(--cl-ink-3); }
.wiki-profile-page #profile-account-settings { max-width:920px; }
.wiki-profile-page .photo-picker { font-size:13px; margin:14px 0; }
@media(min-width:1300px) { .wiki-profile-page #profile-topics { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(max-width:680px) {
 .wiki-profile-page .container { padding:0 16px; margin-top:20px; }
 .wiki-profile-page .cl-shell__bar { padding:12px 16px; height:auto; }
 .wiki-profile-page .profile-hero { padding:20px; }
 .wiki-profile-page .profile-hero .account-avatar { width:64px; height:64px; line-height:64px; }
 .wiki-profile-page #profile-roles { grid-template-columns:1fr; }
 .wiki-profile-page .profile-savebar { position:static; padding:14px; }
 .wiki-profile-page .profile-savebar .cl-btn { width:100%; }
 .wiki-profile-page #profile-dirty { width:100%; }
}
@media(max-width:430px) { .wiki-profile-page #profile-topics { grid-template-columns:1fr; } }
.wiki-account-page .cl-brand__mark { display:block; width:52px; height:31px; flex:0 0 52px; line-height:0; }
.wiki-account-page .cl-brand__mark img { width:100%; height:100%; object-fit:contain; }
.wiki-account-page .cl-brand__mark .cl-logomark__dunkel { display:none; }
.wiki-account-page[data-cl-theme="dark"] .cl-brand__mark .cl-logomark__hell { display:none; }
.wiki-account-page[data-cl-theme="dark"] .cl-brand__mark .cl-logomark__dunkel { display:block; }
.wiki-profile-page .cl-shell__bar { gap:18px; justify-content:initial; }
.wiki-profile-page .cl-shell__tools { margin-left:auto; }
.wiki-profile-page .cl-shell__tools .cl-btn { white-space:nowrap; }
.wiki-profile-page .cl-searchbtn { min-width:0; height:38px; padding:0 14px; text-decoration:none; color:var(--cl-ink-3); }
.wiki-profile-page .cl-nav__link { color:var(--cl-ink-2); }
.wiki-profile-page .profile-kpi-ring { display:grid; place-items:center; width:46px; height:46px; border-radius:50%; font-size:14px; background:radial-gradient(circle,var(--cl-surface) 57%,transparent 60%),conic-gradient(var(--cl-brand) var(--kpi-progress,0%),var(--cl-line) 0); }
@media(max-width:1200px) { .wiki-profile-page .cl-shell__bar { flex-wrap:wrap; height:auto; padding-top:12px; padding-bottom:12px; } .wiki-profile-page .cl-nav { order:3; flex-basis:100%; height:40px; } }
@media(max-width:680px) { .wiki-profile-page .cl-shell__tools { gap:6px; flex-wrap:wrap; justify-content:flex-end; } .wiki-profile-page .cl-shell__tools .cl-btn { padding:8px 10px; min-height:36px; font-size:12px; } .wiki-profile-page .cl-brand__mark { width:46px; height:28px; flex-basis:46px; } }

.wiki-profile-page .cl-shell__tools { min-width:0; max-width:100%; }
@media(max-width:680px) { .wiki-profile-page .cl-shell__tools { width:100%; justify-content:flex-start; } .wiki-profile-page .cl-nav { margin:0; max-width:100%; } }

/* Shared Wiki journey: entry, optional setup, personal area and access. */
.wiki-account-page { --cl-ink-3:#75675d; padding-bottom:env(safe-area-inset-bottom,0px); }
.wiki-account-page .container { max-width:1200px; margin-top:36px; }
.wiki-account-page .cl-shell__bar { max-width:1320px; min-height:64px; padding:12px 24px; flex-wrap:nowrap; }
.wiki-account-page .cl-shell__tools { display:flex; align-items:center; gap:10px; width:auto; }
.wiki-account-page .cl-brand { flex-shrink:0; }
.wiki-account-page .cl-brand__mark { width:48px; flex-basis:48px; height:30px; }
.wiki-account-page .cl-nav { min-width:0; }
.wiki-account-page .account-skip { position:fixed; left:16px; top:-100px; z-index:100; padding:12px 18px; background:var(--cl-surface); }
.wiki-account-page .account-skip:focus { top:10px; }
.wiki-account-page #account-status:empty { display:none; }
.wiki-account-page #account-status:not(:empty) { margin:0 0 24px; border-radius:14px; }
.wiki-account-page .account-entry { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,1fr); gap:clamp(28px,6vw,84px); align-items:center; min-height:640px; }
.wiki-account-page .entry-story { position:relative; padding:30px 12px 30px 0; isolation:isolate; }
.wiki-account-page .entry-story h1 { font-size:clamp(46px,5.5vw,74px); line-height:1.02; font-weight:750; letter-spacing:-.055em; margin:20px 0; }
.wiki-account-page .entry-story h1 em { color:var(--cl-brand); font-style:normal; }
.wiki-account-page .entry-story .entry-lead { font-size:20px; line-height:1.55; margin-bottom:32px; }
.wiki-account-page .entry-features { display:grid; gap:22px; }
.wiki-account-page .entry-features article { display:flex; align-items:center; gap:16px; }
.wiki-account-page .entry-features img { width:46px; height:46px; padding:11px; border-radius:15px; background:var(--cl-surface); border:1px solid var(--cl-line); }
.wiki-account-page .entry-features b,.wiki-account-page .entry-features small { display:block; }
.wiki-account-page .entry-features b { font-size:16px; font-weight:650; }
.wiki-account-page .entry-features small { color:var(--cl-ink-2); font-size:14px; margin-top:3px; }
.wiki-account-page .entry-light { position:absolute; z-index:-1; inset:-70px -40px auto -60px; height:360px; pointer-events:none; opacity:.22; filter:blur(45px); }
.wiki-account-page .entry-light i { position:absolute; width:160px; height:160px; border-radius:50%; background:#f0b848; left:38%; top:0; }
.wiki-account-page .entry-light i:nth-child(2) { background:#ef8649; left:60%; top:10%; }
.wiki-account-page .entry-light i:nth-child(3) { background:#b4469e; left:0; top:10%; }
.wiki-account-page .entry-light i:nth-child(4) { background:#398fbe; left:18%; top:25%; }
.wiki-account-page .entry-light i:nth-child(5) { background:#62a75a; left:40%; top:30%; }
.wiki-account-page .entry-signin { padding:40px; border-radius:28px; box-shadow:0 18px 65px -38px #765b4470,0 1px 2px #301d0f08; }
.wiki-account-page .entry-signin h2 { font-size:clamp(28px,3vw,36px); line-height:1.15; letter-spacing:-.035em; }
.wiki-account-page .entry-signin > p { margin-bottom:26px; }
.wiki-account-page .provider-options { display:grid; grid-template-columns:1fr; gap:10px; }
.wiki-account-page #account-providers .btn { width:100%; border-radius:14px; min-height:54px; justify-content:flex-start; gap:14px; padding:12px 18px; }
@font-face { font-family:'Wiki Google Sans'; src:url('/assets/signin/google-sans-login.woff2') format('woff2'); font-style:normal; font-weight:500; font-display:swap; }
.wiki-account-page #account-providers .provider-google { background:#fff; color:#1f1f1f; border:1px solid #747775; font-family:'Wiki Google Sans',Arial,sans-serif; font-weight:500; letter-spacing:.25px; }
.wiki-account-page #account-providers .provider-google img { width:20px; height:20px; flex:none; }
.wiki-account-page #account-providers .provider-apple { background:#000; color:#fff; border:0; padding:0 18px 0 0; gap:0; overflow:hidden; }
/* Apple's artwork includes its required clear space; display the whole file at button height. */
.wiki-account-page #account-providers .provider-apple img { height:54px; width:auto; flex:none; }
.wiki-account-page #account-providers .provider-apple span { padding:10px 0; }
.wiki-account-page #account-providers .provider-apple:hover { background:#000; color:#fff; }
.wiki-account-page #account-providers .provider-google:hover { background:#f8fafd; color:#1f1f1f; }
.wiki-account-page .entry-note { border-top:1px solid var(--cl-line); margin-top:26px; padding-top:22px; }
.wiki-account-page .entry-note p { margin:6px 0; font-size:14px; }
.wiki-account-page .entry-fine { color:var(--cl-ink-3); font-size:13px; line-height:1.6; margin:18px 0; }
.wiki-account-page .text-link { display:inline-flex; gap:20px; align-items:center; font-size:14px; font-weight:600; text-decoration:none; }
.wiki-account-page .account-footer { display:flex; align-items:start; justify-content:space-between; gap:18px; border-top:1px solid var(--cl-line); margin-top:48px; padding-top:22px; font-size:12px; color:var(--cl-ink-3); }
.wiki-account-page .account-footer details { text-align:right; }
.wiki-account-page .account-footer a { display:block; padding-top:12px; }
.wiki-profile-page .profile-hero { border:1px solid var(--cl-line); box-shadow:none; padding:24px 28px; margin:0 0 24px; border-radius:24px; }
.wiki-profile-page .profile-hero .account-avatar { width:72px; height:72px; margin:0; float:none; line-height:72px; }
.wiki-profile-page .profile-hero .account-avatar img { width:72px; height:72px; }
.wiki-profile-page .cl-mehero__title { font-size:clamp(24px,3vw,34px); letter-spacing:-.035em; }
.wiki-profile-page .profile-tabs { display:flex; gap:6px; padding:5px; background:var(--cl-surface); border:1px solid var(--cl-line); border-radius:16px; margin:0 0 28px; overflow-x:auto; }
.wiki-profile-page .profile-tabs a { padding:12px 16px; white-space:nowrap; font-size:14px; font-weight:600; text-decoration:none; border-radius:11px; color:var(--cl-ink-2); }
.wiki-profile-page .profile-tabs a[aria-current="page"] { background:var(--cl-brand-soft); color:var(--cl-brand-strong); }
.wiki-profile-page .profile-overview { display:grid; gap:22px; }
.wiki-profile-page .overview-main { padding:36px; background:radial-gradient(ellipse at right top,var(--cl-brand-soft),transparent 70%),var(--cl-surface); border-radius:24px; }
.wiki-profile-page .overview-main h2 { max-width:650px; font-size:clamp(26px,3.4vw,38px); letter-spacing:-.035em; }
.wiki-profile-page .overview-main p { max-width:620px; margin-bottom:24px; }
.wiki-profile-page .overview-links { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; }
.wiki-profile-page .overview-links a { color:var(--cl-ink); text-decoration:none; padding:28px; border-radius:22px; }
.wiki-profile-page .overview-links a > span:last-child { font-weight:600; color:var(--cl-brand); font-size:14px; }
.wiki-profile-page .setup-welcome { padding:36px; border-radius:24px; }
.wiki-profile-page .setup-welcome h2 { font-size:clamp(27px,4vw,40px); letter-spacing:-.035em; }
.wiki-profile-page .welcome-features { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; margin:32px 0; }
.wiki-profile-page .welcome-features article { border-top:1px solid var(--cl-line); padding-top:16px; }
.wiki-profile-page .welcome-features article > span { color:var(--cl-brand); font-size:12px; font-weight:700; }
.wiki-profile-page .welcome-features h3 { font-size:19px; margin:8px 0; }
.wiki-profile-page .welcome-features p { font-size:14px; }
.wiki-profile-page .setup-heading { padding:0 2px; margin:24px 0; scroll-margin-top:82px; }
.wiki-profile-page #setup-heading { scroll-margin-top:110px; }
.wiki-profile-page #profile-status { scroll-margin-top:82px; }
.wiki-profile-page .setup-heading h2 { font-size:30px; letter-spacing:-.03em; }
.wiki-profile-page .setup-heading p { margin:8px 0 20px; }
.wiki-profile-page .setup-steps { list-style:none; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); margin:0; padding:0; gap:10px; counter-reset:setup; }
.wiki-profile-page .setup-steps li { border-top:3px solid var(--cl-line); padding:12px 0; font-size:13px; color:var(--cl-ink-3); }
.wiki-profile-page .setup-steps li[aria-current="step"] { border-color:var(--cl-brand); color:var(--cl-brand-strong); font-weight:650; }
.wiki-profile-page.is-setup .profile-tabs,.wiki-profile-page.is-setup .cl-mestats { display:none; }
.wiki-profile-page.is-setup .profile-hero { margin-bottom:20px; padding:18px 22px; }
.wiki-profile-page.is-setup #profile-preferences-form > .cl-grid { grid-template-columns:1fr; }
.wiki-profile-page.is-setup #profile-preferences-form .cl-stack { display:contents; }
.wiki-profile-page.is-setup .profile-savebar { display:none; }
.wiki-profile-page.is-setup #account-preferences .cl-card { padding:24px; }
.wiki-profile-page .setup-controls { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:20px 0 max(20px,env(safe-area-inset-bottom,0px)); }
.wiki-profile-page #setup-save-status { font-size:13px; color:var(--cl-ink-2); }
.wiki-profile-page #setup-save-status:empty { display:none; }
.wiki-profile-page .profile-savebar { position:sticky; bottom:0; padding:18px 0 calc(16px + env(safe-area-inset-bottom,0px)); background:var(--cl-bg); border-top:1px solid var(--cl-line); }
.wiki-account-page .auth-card { border-radius:26px; }
.wiki-account-page .auth-progress { display:flex; align-items:center; justify-content:space-between; gap:12px; color:var(--cl-ink-3); font-size:12px; border-bottom:1px solid var(--cl-line); padding-bottom:18px; margin-bottom:30px; }
.wiki-account-page .email-mode { display:grid; grid-template-columns:1fr 1fr; background:var(--cl-bg); padding:5px; border-radius:12px; margin:24px 0; }
.wiki-account-page .email-mode button { border:0; border-radius:8px; background:transparent; color:var(--cl-ink-2); min-height:42px; cursor:pointer; }
.wiki-account-page .email-mode button[aria-pressed="true"] { background:var(--cl-surface); color:var(--cl-brand-strong); box-shadow:0 1px 4px #301d0f18; font-weight:650; }
.wiki-account-page #email-submit { width:100%; }
.wiki-account-page .auth-back { display:block; margin-top:26px; padding-top:20px; border-top:1px solid var(--cl-line); font-size:13px; }
.wiki-account-page #confirmation-actions { align-items:stretch; }
.wiki-account-page #confirmation-actions .btn { flex:0 0 auto; width:100%; min-height:48px; }
.wiki-subscription-page .container { max-width:1080px; }
.wiki-subscription-page .subscription-back { display:inline-block; margin:0 0 28px; font-size:14px; }
.wiki-subscription-page .heading { padding:14px 0 10px; }
.wiki-subscription-page h1 { font-size:clamp(36px,5vw,60px); letter-spacing:-.045em; }
.wiki-subscription-page .subscription-access { padding:30px; border-radius:24px; background:radial-gradient(ellipse at top right,var(--cl-brand-soft),transparent 70%),var(--cl-surface); }
.wiki-subscription-page #subscription-name { font-size:25px; }
.wiki-subscription-page #plan-options { margin-top:24px; grid-template-columns:repeat(2,minmax(0,1fr)); }
.wiki-subscription-page #plan-options .card { padding:30px; border-radius:22px; position:relative; }
.wiki-subscription-page #plan-options .card h3 { font-size:18px; }
.wiki-subscription-page .plan-price { font-size:30px; font-weight:700; letter-spacing:-.035em; color:var(--cl-ink); }
.wiki-subscription-page .plan-price span { font-size:15px; font-weight:400; letter-spacing:0; color:var(--cl-ink-2); }
.wiki-subscription-page .plan-period-note { font-size:13px; }
.wiki-subscription-page .plan-year { border-color:var(--cl-brand); background:linear-gradient(145deg,var(--cl-brand-soft),var(--cl-surface) 55%); }
.wiki-subscription-page #account-access-help .grid { gap:32px; }
.wiki-subscription-page #account-plans { scroll-margin-top:80px; }
.wiki-subscription-page .trial-dates { margin-top:12px; font-size:12px; color:var(--cl-ink-3); }
.wiki-subscription-page .trial-dates p { font-size:12px; margin:8px 0 0; }
@media(max-width:1080px) { .wiki-account-page #profile-header-navigation,.wiki-account-page #profile-header-search { display:none; } }
@media(max-width:680px) {
 .wiki-account-page .cl-shell__bar { padding:10px max(18px,env(safe-area-inset-right)) 10px max(18px,env(safe-area-inset-left)); min-height:58px; gap:10px; }
 .wiki-account-page .cl-shell__tools { width:auto; gap:6px; flex-wrap:nowrap; }
 .wiki-account-page .account-billing-link,.wiki-account-page #profile-header-own { display:none; }
 .wiki-account-page .cl-brand__name { font-size:16px; }
 .wiki-account-page .cl-brand__mark { width:40px; height:26px; flex-basis:40px; }
 .wiki-account-page .cl-brand { gap:8px; }
 .wiki-account-page .container { margin:24px auto 32px; padding:0 max(18px,env(safe-area-inset-left)) 0 max(18px,env(safe-area-inset-right)); }
 .wiki-account-page .account-entry { display:block; min-height:0; }
 .wiki-account-page .entry-story { padding:2px 0 16px; }
 .wiki-account-page .entry-light { left:0; right:0; overflow:hidden; }
 .wiki-account-page .entry-story .eyebrow { font-size:10px; letter-spacing:.8px; margin-bottom:8px; }
 .wiki-account-page .entry-story h1 { margin:8px 0; font-size:34px; }
 .wiki-account-page .entry-story h1 br { display:none; }
 .wiki-account-page .entry-story .entry-lead { font-size:15px; line-height:1.45; margin:8px 0; }
 .wiki-account-page .entry-features { display:none; }
 .wiki-account-page .entry-signin { padding:26px 22px; border-radius:22px; }
 .wiki-account-page .entry-signin h2 { font-size:28px; }
 .wiki-account-page input:not([type=checkbox]),.wiki-account-page select { font-size:16px; }
 .wiki-account-page .account-footer { margin-top:32px; flex-wrap:wrap; }
 .wiki-profile-page .profile-hero { display:block; padding:20px; }
 .wiki-profile-page .profile-hero .cl-mehero__who { gap:14px; }
 .wiki-profile-page .profile-hero .account-avatar,.wiki-profile-page .profile-hero .account-avatar img { width:56px; height:56px; }
 .wiki-profile-page .profile-hero .account-avatar { line-height:56px; }
 .wiki-profile-page .cl-mestats { margin-top:20px; }
 .wiki-profile-page .profile-tabs { border-radius:13px; padding:4px; gap:2px; }
 .wiki-profile-page .profile-tabs a { padding:10px 12px; font-size:13px; }
 .wiki-profile-page .welcome-features,.wiki-profile-page .overview-links { grid-template-columns:1fr; gap:14px; }
 .wiki-profile-page .setup-welcome,.wiki-profile-page .overview-main { padding:24px; }
 .wiki-profile-page .welcome-features { margin:24px 0; }
 .wiki-profile-page .setup-welcome .row { display:grid; }
 .wiki-profile-page #profile-roles,.wiki-profile-page #profile-topics { grid-template-columns:1fr; }
 .wiki-profile-page .profile-topic { padding:16px 36px 16px 14px; }
 .wiki-profile-page .setup-heading h2 { font-size:27px; }
 .wiki-profile-page .setup-controls { position:fixed; left:0; right:0; bottom:0; z-index:20; background:var(--cl-bg); border-top:1px solid var(--cl-line); padding:12px max(18px,env(safe-area-inset-left)) calc(12px + env(safe-area-inset-bottom,0px)); flex-wrap:wrap; }
 .wiki-profile-page.is-setup #account-preferences { padding-bottom:100px; }
 .wiki-profile-page.has-setup-error .setup-controls { position:static; padding:14px 0 20px; margin-bottom:18px; border-bottom:1px solid var(--cl-line); }
 .wiki-profile-page #setup-save-status { order:3; width:100%; }
 .wiki-profile-page .profile-savebar { gap:10px; flex-wrap:wrap; }
 .wiki-profile-page .profile-savebar > span { width:100%; }
 .wiki-profile-page .profile-savebar > button { flex:1; }
 .wiki-subscription-page #plan-options { grid-template-columns:1fr; }
 .wiki-subscription-page #plan-options .card { padding:26px; }
 .wiki-subscription-page .subscription-access { padding:24px; }
 .wiki-subscription-page h1 { font-size:30px; }
 .wiki-subscription-page .heading { padding:0; margin-bottom:18px; }
 .wiki-subscription-page [data-wiki-trial] { padding:20px; margin-top:16px; }
}
@media(prefers-reduced-motion:reduce) { .wiki-account-page *, .wiki-account-page *::before,.wiki-account-page *::after { scroll-behavior:auto!important; animation:none!important; transition:none!important; } }

/* Microsoft identity branding: official unmodified four-color symbol. */
.wiki-account-page #account-providers .provider-microsoft{background:#fff;color:#5e5e5e;border:1px solid #8c8c8c;font-family:"Segoe UI",Arial,sans-serif;font-weight:600}
.wiki-account-page #account-providers .provider-microsoft img{width:21px;height:21px;flex:none}
.wiki-account-page #account-providers .provider-microsoft:hover{background:#f8f8f8;color:#5e5e5e}
