/* Restore presentation. Behavior and protection are supplied by the existing flow. */
.restore-portal { --restore-gold:#dfbb6a; --restore-text:#f1e3ca; --restore-muted:#c1b49d; --restore-border:#5b4729; color:var(--restore-text); width:100%; min-width:0; font:400 15px/1.6 var(--dl-font-body,Roboto,Arial,sans-serif); }
.restore-portal *, .restore-portal *::before, .restore-portal *::after { box-sizing:border-box; }
.restore-portal [hidden] { display:none !important; }
.restore-portal .restore-lookup { width:100%; padding:clamp(16px,2.6vw,34px); }
.restore-portal .restore-results { width:100%;padding:20px; }
/* One persistent, compact progress graphic shared by every recovery screen. */
.restore-portal ol.restore-progress { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:3px; margin:0 0 20px; padding:0; list-style:none; }
.restore-portal ol.restore-progress li { display:flex; align-items:center; justify-content:center; gap:9px; min-width:0; margin:0; padding:11px 8px; border-bottom:2px solid #493b28; background:#18130d; color:#a99b83; font:500 13px/1.2 var(--dl-font-body,Roboto,Arial,sans-serif); white-space:nowrap; }
.restore-portal ol.restore-progress li i { flex:0 0 auto; font-size:12px; }
.restore-portal ol.restore-progress li span { display:inline; flex:none; width:auto; height:auto; margin:0; padding:0; border:0; background:none; font:inherit; color:inherit; white-space:nowrap; }
.restore-portal ol.restore-progress li.is-current { border-color:#deb968; color:#f9e2ae; background:linear-gradient(0deg,#7d592126,#1b160f); box-shadow:inset 0 1px #f1cb7920; }
.restore-portal ol.restore-progress li.is-complete { border-color:#6b9c7a; color:#b2d2b5; }
.restore-portal .restore-hero { position:relative; isolation:isolate; overflow:hidden; display:flex; align-items:center; min-height:150px; padding:26px 30px; border:1px solid #8c6b34; border-radius:6px; background:#101215; }
.restore-portal .restore-hero::before { content:""; position:absolute; z-index:-2; inset:0; background:#101215 url('/writable/uploads/news/legacy-security-vault-20261108.webp') 70% 43% / cover no-repeat; transform:scaleX(-1); }
.restore-portal .restore-hero::after { content:""; position:absolute; z-index:-1; inset:0; background:linear-gradient(90deg,#130f09f5 0%,#17140de8 38%,#12171530 80%),linear-gradient(0deg,#0d0e0c66,transparent 75%); opacity:1; pointer-events:none; animation:restore-ambient 8s ease-in-out infinite alternate; }
.restore-portal .restore-hero-copy { max-width:760px; }
.restore-portal .restore-eyebrow { margin:0 0 12px; color:var(--restore-gold); font:700 11px/1.5 var(--dl-font-body,Roboto,Arial,sans-serif); letter-spacing:.13em; text-transform:uppercase; }
.restore-portal h1 { margin:0 0 14px; color:#f4dfad; font:500 clamp(25px,2.2vw,30px)/1.3 var(--dl-font-display,Cinzel,Georgia,serif); letter-spacing:0; text-transform:none; }
.restore-portal .restore-intro { max-width:660px; margin:0; color:#ded2bb; font:400 15px/1.6 var(--dl-font-body,Roboto,Arial,sans-serif); text-shadow:0 1px 3px #000; }
.restore-portal .restore-lookup-grid { width:100%; max-width:none; margin:22px 0 0; }
.restore-portal .restore-lookup-main { padding:22px 24px; border:1px solid var(--restore-border); border-top-color:#a17a39; border-radius:6px; background:linear-gradient(145deg,#20190f,#120e09 70%); box-shadow:0 12px 30px #0003,inset 0 1px #e9c77e10; }
.restore-portal .restore-panel-heading { display:flex; flex-wrap:wrap; align-items:baseline; justify-content:space-between; gap:8px 24px; margin-bottom:18px; }
.restore-portal .restore-panel-heading h2 { margin:0; color:#f0dec0; font:600 17px/1.4 var(--dl-font-body,Roboto,Arial,sans-serif); }
.restore-portal .restore-panel-heading p { max-width:620px; margin:0; color:var(--restore-muted); font-size:13px; }
.restore-portal .restore-lookup-form { display:grid; gap:18px; margin:0; }
.restore-portal .restore-search-fields { display:grid; grid-template-columns:1.1fr 1fr 1.15fr; gap:20px; min-width:0; }
.restore-portal .restore-search-field { min-width:0; padding:0; border:0 solid #493a24; border-radius:4px; background:transparent; transition:border-color .18s,box-shadow .18s,background-color .18s; }
.restore-portal .restore-search-field:focus-within { border-color:#c29b50; background:#21190eb0; box-shadow:0 0 20px #d3a8440e; }
.restore-portal form label { display:block; margin:0; color:#e5d5b8; font:500 14px/1.5 var(--dl-font-body,Roboto,Arial,sans-serif); }
.restore-portal .restore-search-field label { display:flex; align-items:center; gap:9px; margin-bottom:11px; }
.restore-portal .restore-search-field label i { color:#c9a55a; width:16px; text-align:center; font-size:13px; }
.restore-portal input:not([type=hidden]):not([type=radio]):not([type=checkbox]),.restore-portal select,.restore-portal textarea { display:block; width:100%; min-width:0; height:44px; margin:8px 0 0; padding:11px 14px; border:1px solid #77603a; border-radius:4px; color:#f4e7cd; background:#0e0b08; box-shadow:inset 0 2px 5px #0005; font:400 16px/1.5 var(--dl-font-body,Roboto,Arial,sans-serif); color-scheme:dark; transition:border-color .15s,box-shadow .15s; }
.restore-portal .restore-search-field input { margin-top:0 !important; }
.restore-portal textarea { height:auto; min-height:96px; resize:vertical; }
.restore-portal input:autofill { box-shadow:inset 0 0 0 1000px #0e0b08; -webkit-text-fill-color:#f4e7cd; caret-color:#f4e7cd; }
.restore-portal input:focus-visible,.restore-portal select:focus-visible,.restore-portal textarea:focus-visible { outline:2px solid #e1bc69; outline-offset:3px; border-color:#cba251; }
.restore-portal input[type=checkbox],.restore-portal input[type=radio] { accent-color:#dbb75d; flex-shrink:0; }
.restore-portal .restore-field-help { margin:0; color:var(--restore-muted); font-size:13px; }
.restore-portal .restore-form-footer { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:20px; padding-top:21px; border-top:1px solid #514024; }
.restore-portal .restore-privacy { display:flex; align-items:baseline; gap:9px; max-width:650px; margin:0; color:var(--restore-muted); font-size:13px; }
.restore-portal .restore-privacy i { color:#a5c4a1; }
.restore-portal .nice_button { max-width:100%; margin:0 !important; text-decoration:none; white-space:normal; }
.restore-portal .restore-search-button { min-width:250px; }
.restore-portal .modern-auth-form > .modern-auth-submit { width:auto; justify-self:start; align-self:start; }
.restore-portal button:disabled { cursor:wait; opacity:.7; }
.restore-portal .restore-results-toolbar { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:10px 20px; margin:12px 0; }
.restore-portal .restore-results-toolbar p { display:flex; align-items:baseline; gap:9px; margin:0; color:var(--restore-muted); font-size:13px; }
.restore-portal .restore-results-toolbar p i { color:#a5c4a1; }
.restore-portal .restore-results-toolbar a:not(.nice_button) { display:inline-flex; align-items:center; gap:10px; padding:6px 0; color:#e2bd6c; font:500 14px/1.5 var(--dl-font-body,Roboto,Arial,sans-serif); text-decoration:none; }
.restore-portal .restore-results-toolbar a:not(.nice_button):hover { color:#ffe7a9; text-decoration:underline; text-underline-offset:4px; }
.restore-portal .restore-hero-results { min-height:78px;padding:16px 20px; }
.restore-portal .restore-hero-results h1 { margin:0;font-size:26px; }
.restore-portal .restore-hero-results .restore-eyebrow { margin-bottom:4px; }
.restore-portal .restore-hero-results .restore-intro:empty { display:none; }
.restore-portal .restore-account-result { width:100%; margin-top:14px; overflow:hidden; border:1px solid #8b6933; border-radius:6px; background:#171109; box-shadow:0 5px 18px #0002; }
.restore-portal .restore-account-header { display:grid; grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 28px;padding:24px; border-bottom:1px solid #594329; background:linear-gradient(110deg,#302414,#19150e); }
.restore-portal .restore-account-header .restore-eyebrow { margin-bottom:5px; }
.restore-portal .restore-account-header h2 { margin:0; color:#f5deb0; font:700 28px/1.3 var(--dl-font-body,Roboto,Arial,sans-serif); letter-spacing:0; text-transform:none; }
.restore-portal .restore-email-hint { display:grid; align-content:center; gap:5px; min-width:0; color:#bdad91; font:500 12px/1.4 var(--dl-font-body,Roboto,Arial,sans-serif); }
.restore-portal .restore-email-hint strong { color:#f5deb0; font:700 28px/1.3 var(--dl-font-body,Roboto,Arial,sans-serif); overflow-wrap:anywhere; }
.restore-portal .restore-account-grid { display:block; }
.restore-portal .restore-roster { padding:14px 18px; border-bottom:1px solid #46351f; background:linear-gradient(110deg,#15160f,#141009); }
.restore-portal .restore-account-result h3 { margin:0 0 18px; color:#e9d8b7; font:600 17px/1.4 var(--dl-font-body,Roboto,Arial,sans-serif); }
.restore-portal .restore-character-list { padding:0; margin:0; list-style:none; }
.restore-portal .restore-found-character { position:relative; padding:12px 16px; margin:0 0 10px; border:1px solid #64502b; border-left:3px solid #c8a252; border-radius:4px; background:linear-gradient(110deg,#2b2415,#1b1810); }
.restore-portal .restore-found-character:last-child { margin-bottom:0; }
.restore-portal .restore-character-title { display:flex; align-items:baseline; justify-content:space-between; gap:16px; }
.restore-portal .restore-character-title strong { color:#f3dfb4; font:600 17px/1.4 var(--dl-font-body,Roboto,Arial,sans-serif); overflow-wrap:anywhere; }
.restore-portal .restore-character-title > span { flex-shrink:0; color:#c5b394; font:400 13px/1.5 var(--dl-font-body,Roboto,Arial,sans-serif); }
.restore-portal .restore-character-state { display:inline-block; margin-top:8px; padding:3px 9px; border:1px solid #725b2d; border-radius:3px; background:#2c2618; color:#e1c890; font:500 12px/1.5 var(--dl-font-body,Roboto,Arial,sans-serif); }
.restore-portal .restore-roster-note,.restore-portal .restore-roster-locked { margin:16px 0 0; color:#bbae95; font:400 13px/1.7 var(--dl-font-body,Roboto,Arial,sans-serif); }
.restore-portal .restore-roster-locked { margin:0; }
.restore-portal .restore-result-login { padding:16px 18px; background:linear-gradient(135deg,#1d160d,#130f09); }
.restore-portal .restore-result-login > h3 { display:flex; align-items:center; gap:10px; margin-bottom:12px; }
.restore-portal .restore-result-login > h3 i { color:#caa452; font-size:14px; }
.restore-portal .restore-result-login > .modern-auth-form { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:end; gap:10px 16px;width:100%;max-width:820px; }
.restore-portal .restore-result-login > .modern-auth-form > label { grid-column:1; }
.restore-portal .restore-result-login > .modern-auth-form > button { grid-column:2; align-self:end;min-width:190px; }
.restore-portal [data-restore-inline-feedback] { grid-column:1/-1; width:100%; padding:14px 17px; border:1px solid #756039; border-radius:4px; color:#e2d4bc; background:#262013; font:400 14px/1.65 var(--dl-font-body,Roboto,Arial,sans-serif); }
.restore-portal [data-restore-inline-feedback] p { margin:0 0 10px; }
.restore-portal [data-restore-inline-feedback] p:last-child { margin-bottom:0; }
/* One consistent disclosure surface, with compact content and smooth in-flow reveals. */
.restore-portal .restore-access-guide { width:100%;max-width:none;margin:20px 0 0;padding:0;border:1px solid #665030;border-radius:5px;background:#171109; }
.restore-portal .restore-access-guide > summary,.restore-portal .restore-access-step > summary { display:flex;align-items:center;gap:12px;min-height:48px;margin:0;padding:14px 16px;list-style:none;color:#ead2a4;font:600 14px/1.5 var(--dl-font-body,Roboto,Arial,sans-serif);cursor:pointer;background:linear-gradient(100deg,#35271560,#1a140d);border-radius:4px; }
.restore-portal .restore-access-guide > summary::-webkit-details-marker,.restore-portal .restore-access-step > summary::-webkit-details-marker { display:none; }
.restore-portal .restore-access-guide > summary::after,.restore-portal .restore-access-step > summary::after { content:"";flex:0 0 7px;width:7px;height:7px;margin-left:auto;border-right:2px solid #b7985d;border-bottom:2px solid #b7985d;transform:rotate(45deg);transition:transform .2s; }
.restore-portal .restore-access-guide[open] > summary::after,.restore-portal .restore-access-step[open] > summary::after { transform:rotate(225deg); }
.restore-portal .restore-access-guide > summary:hover,.restore-portal .restore-access-step > summary:hover { color:#ffe5af;background-color:#b18a2514; }
.restore-portal .restore-disclosure-body { min-width:0;padding:16px;border-top:1px solid #49391f; }
.restore-portal .restore-access-flow { width:100%;padding:16px; }
.restore-portal .restore-access-flow p { margin:0 0 14px;color:#c4b69f;font:400 14px/1.65 var(--dl-font-body,Roboto,Arial,sans-serif); }
.restore-portal .restore-access-step { margin:14px 0 0;padding:0;border:1px solid #564229;border-radius:4px;background:#120e09; }
.restore-portal details.is-revealing > .restore-disclosure-body,.restore-portal div.is-revealing,.restore-portal section.is-revealing { overflow:hidden; }
.restore-portal .restore-access-step .restore-access-step { margin-top:14px; }
.restore-portal summary:focus-visible,.restore-portal a:focus-visible { outline:2px solid #dfb961; outline-offset:3px; }
.restore-portal .restore-inline-form { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:end; gap:16px 22px; width:100%; margin:20px 0; }
.restore-portal .restore-inline-form > label { min-width:0; }
.restore-portal .restore-inline-form > p { grid-column:1/-1; margin:0; }
.restore-portal .restore-inline-form > button { min-width:245px; align-self:end; }
.restore-portal .restore-inline-form:has([name=login]) { grid-template-columns:1fr 1fr; }
.restore-portal .restore-inline-form:has(textarea) { grid-template-columns:minmax(0,1fr); }
.restore-portal .restore-guide-boundary { padding:10px 0 10px 14px; border-left:2px solid #a77c39; }
.restore-portal .restore-recovery-action { text-decoration:none; }
.restore-portal .modern-auth-card { width:100%; max-width:none; min-width:0; margin:24px 0; padding:clamp(20px,3vw,36px); border:1px solid #80602f; border-radius:6px; background:linear-gradient(145deg,#261d10,#120e09); box-shadow:inset 0 1px #e5bf6e12,0 14px 32px #0003; }
.restore-portal .modern-simple-auth-card .modern-auth-form { display:grid; gap:20px; }
/* Authenticated selection is a compact roster, with only necessary account fields. */
.restore-portal .restore-selection { padding:20px; }
.restore-portal .restore-selection-heading { display:flex; align-items:center; justify-content:space-between; gap:12px;margin:0 0 14px; }
.restore-portal .restore-selection-heading h1 { margin:0;font-size:26px; }
.restore-portal .restore-selection-heading .restore-eyebrow { margin-bottom:4px; }
.restore-portal .restore-proof-badge { display:inline-flex; align-items:center; gap:7px; padding:6px 10px; border:1px solid #486046; border-radius:4px; background:#192015; color:#b9d5ad; font-size:12px; white-space:nowrap; }
.restore-portal .restore-verified-form { display:grid; gap:18px; margin:0; }
.restore-portal .restore-character-picker { min-width:0; margin:0; padding:0; border:0; }
.restore-portal .restore-character-picker legend { margin-bottom:12px; padding:0; color:#ddcda9; font:500 14px/1.4 var(--dl-font-body,Roboto,Arial,sans-serif); }
/* Full-width, compact character rows. Disabled reasons stay readable and never imply proof. */
.restore-portal .restore-verified-roster { display:grid;grid-template-columns:minmax(0,1fr);gap:8px; }
.restore-portal label.restore-character-choice,.restore-portal li.restore-found-character { display:grid;grid-template-columns:16px minmax(190px,1fr) minmax(150px,.7fr) auto;grid-template-areas:"radio identity meta state" ". reason reason reason";align-items:center;gap:6px 12px;min-width:0;margin:0;padding:12px 14px;border:1px solid #59462c;border-radius:5px;background:linear-gradient(100deg,#211a10,#17120c);transition:border-color .15s,background-color .15s,box-shadow .15s; }
.restore-portal li.restore-found-character { grid-template-columns:minmax(190px,1fr) minmax(150px,.7fr) auto;grid-template-areas:"identity meta state" "reason reason reason"; }
.restore-portal label.restore-character-choice { cursor:pointer; }
.restore-portal .restore-character-choice > input { grid-area:radio;width:15px;height:15px;margin:0;align-self:center; }
.restore-portal .restore-character-identity { grid-area:identity;display:grid;grid-template-columns:26px minmax(0,1fr) auto;align-items:center;gap:9px;min-width:0; }
.restore-portal .restore-character-identity > strong { min-width:0;color:#f0dfbd;font:600 15px/1.3 var(--dl-font-body,Roboto,Arial,sans-serif);overflow-wrap:anywhere; }
.restore-portal .restore-character-icon { display:grid;place-items:center;width:26px;height:26px;border:1px solid #79603c;border-radius:4px;overflow:hidden;background:#2a2115;color:#ccb174; }
.restore-portal .restore-character-icon img { display:block;width:24px;height:24px;object-fit:cover; }
.restore-portal .restore-character-identity .restore-level { padding:3px 6px;border-radius:3px;background:#372b1b;color:#cbb98e;font:500 11px/1.3 var(--dl-font-body,Roboto,Arial,sans-serif);white-space:nowrap; }
.restore-portal .restore-character-meta { grid-area:meta;min-width:0;color:#b3a58e;font:400 12px/1.4 var(--dl-font-body,Roboto,Arial,sans-serif); }
.restore-portal .restore-character-state { grid-area:state;display:inline-flex;align-items:center;gap:6px;justify-self:end;margin:0;padding:4px 8px;border:1px solid #695332;border-radius:4px;background:#2c2315;color:#d7c197;font:600 11px/1.4 var(--dl-font-body,Roboto,Arial,sans-serif);white-space:nowrap; }
.restore-portal .restore-character-state.is-ready { color:#b9dba7;border-color:#536744;background:#202918; }
.restore-portal .restore-character-state.is-review,.restore-portal .restore-character-state.is-rename { color:#e6c581;border-color:#846731;background:#332816; }
.restore-portal .restore-character-state.is-locked { color:#c4b8a0;border-color:#655b49;background:#27231c; }
.restore-portal .restore-character-row > .restore-character-reason { grid-area:reason;display:block;min-width:0;margin:0;color:#c7b99d;font:400 12px/1.6 var(--dl-font-body,Roboto,Arial,sans-serif); }
.restore-portal .restore-character-choice:hover:not(.is-unavailable) { border-color:#ba9650;background:#2b2112; }
.restore-portal .restore-character-choice:has(input:focus-visible) { outline:2px solid #d9b66a;outline-offset:2px; }
.restore-portal .restore-character-choice:has(input:checked) { border-color:#d9b15b;background:linear-gradient(100deg,#413016,#21190e);box-shadow:inset 3px 0 #d9b15b; }
.restore-portal .restore-character-choice.is-unavailable { opacity:1;cursor:not-allowed;background:#17140f; }
.restore-portal .restore-character-choice.is-unavailable .restore-character-identity strong { color:#d0c5b0; }
.restore-portal .restore-roster > h3 { margin:0 0 10px;font:600 12px/1.4 var(--dl-font-body,Roboto,Arial,sans-serif);color:#bfb08c; }
.restore-portal .restore-roster-note { margin:10px 0 0;font-size:12px; }
.restore-portal .restore-account-header .restore-reference-date { padding:0;border:0;background:none; }
.restore-portal .restore-account-header .restore-reference-date strong { font-size:14px; }
.restore-portal .restore-selection > .restore-reference-date { margin-bottom:14px;padding:10px 14px;border-color:#55482f;background:#19160f; }
.restore-portal .restore-selection > .restore-reference-date > div { display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 14px; }
.restore-portal .restore-selection > .restore-reference-date strong { font-size:14px; }
.restore-portal .restore-selection > .restore-reference-date small { margin-left:auto; }
.restore-portal .restore-destination,.restore-portal .restore-name-panel { padding:16px 18px;border:1px solid #5d492b; border-radius:5px; background:linear-gradient(125deg,#251c10,#151009); }
.restore-portal .restore-section-title { display:flex; flex-wrap:wrap; align-items:center; gap:9px 12px; margin-bottom:10px; }
.restore-portal .restore-section-title > i { color:#c6a052; font-size:13px; }
.restore-portal .restore-section-title h2 { margin:0; color:#e9d7b3; font:500 16px/1.4 var(--dl-font-body,Roboto,Arial,sans-serif); }
.restore-portal .restore-section-title > strong { min-width:0;max-width:100%;overflow-wrap:anywhere;margin-left:auto; color:#f0cc7b; font:600 15px/1.4 var(--dl-font-body,Roboto,Arial,sans-serif); }
.restore-portal .restore-quiet { margin:0 0 12px; color:#bcae95; font:400 13px/1.6 var(--dl-font-body,Roboto,Arial,sans-serif); }
.restore-portal .restore-compact-fields { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px;max-width:760px; }
.restore-portal .restore-compact-fields > label:has([name=setup_email]) { grid-column:1/-1; }
.restore-portal .restore-compact-fields label { font-size:13px; }
.restore-portal .restore-compact-fields input { margin-top:6px; height:40px;font-size:15px; }
.restore-portal .restore-account-setup > .restore-quiet { margin-top:10px; }
.restore-portal .restore-inline-actions { display:flex; flex-wrap:wrap; align-items:center; gap:10px 18px; margin-top:14px; }
.restore-portal .restore-other-account,.restore-portal .restore-own-rename { margin:14px 0 0; padding-top:12px; border-top:1px solid #4f3e27; }
.restore-portal .restore-other-account summary,.restore-portal .restore-own-rename summary { color:#cdb788; font:500 13px/1.5 var(--dl-font-body,Roboto,Arial,sans-serif); cursor:pointer; }
.restore-portal .restore-other-account .restore-quiet { margin-top:12px; }
.restore-portal .restore-text-action:not(.nice_button) { display:inline-flex; align-items:center; min-height:40px; max-width:100%; margin:0; padding:8px 0; border:0; color:#e3bf70; background:none; font:500 13px/1.5 var(--dl-font-body,Roboto,Arial,sans-serif); text-align:left; text-decoration:underline; text-underline-offset:3px; transform:none!important; }
.restore-portal .restore-text-action:not(.nice_button):hover { color:#ffe7af; }
.restore-portal .restore-check.site-choice {
  --dl-control-justify:space-between;
  --dl-button-white-space:normal;
  align-items:flex-start!important;
  gap:10px;
  width:100%;
  margin:12px 0;
  text-align:left!important;
}
.restore-portal [data-current-rename] { max-width:550px; }
.restore-portal .restore-selection-footer { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:14px; }
.restore-portal .restore-selection-footer .restore-quiet { margin:0; }
.restore-portal [data-selection-feedback] { padding:13px 16px; border:1px solid #826234; border-radius:4px; color:#f0d7a8; background:#292012; font-size:14px; }
@media(max-width:1050px) { .restore-portal .restore-verified-roster { grid-template-columns:minmax(0,1fr); } }
@media(max-width:600px) {
 .restore-portal .restore-selection { padding:14px 0; }
 .restore-portal .restore-selection-heading { align-items:flex-start;flex-direction:column;gap:10px; }
 .restore-portal .restore-verified-roster { grid-template-columns:minmax(0,1fr); }
 .restore-portal .restore-destination,.restore-portal .restore-name-panel { padding:16px; }
 .restore-portal ol.restore-progress li { gap:6px;padding:10px 3px;font-size:12px; }
 .restore-portal .restore-compact-fields { grid-template-columns:minmax(0,1fr); }
 .restore-portal .restore-selection-footer > button { width:100%; }
}
.restore-portal .restore-error { padding:13px 16px; margin:0; border:1px solid #a45e4f; border-radius:4px; color:#ffdfd2; background:#3a1d18; font:400 14px/1.6 var(--dl-font-body,Roboto,Arial,sans-serif); }
.restore-portal.restore-result-enter { animation:restore-reveal .35s ease-out; }
@keyframes restore-ambient { from { opacity:.88; } to { opacity:1; } }
@media(max-width:1000px) {
 .restore-portal .restore-search-fields { gap:14px; }
 .restore-portal .restore-search-field { padding:0; }
 .restore-portal .restore-form-footer .restore-privacy { flex:1 1 300px; }
}
@media(max-width:740px) {
 .restore-portal .restore-lookup,.restore-portal .restore-results { padding:16px 0; }
 .restore-portal .restore-character-title { flex-wrap:wrap; gap:6px 12px; }
 .restore-portal .restore-character-title strong { flex:1 1 120px; font-size:18px; }
 .restore-portal .restore-found-character { padding:14px; }
 .restore-portal .restore-result-login > .modern-auth-form > button,.restore-portal .restore-inline-form > button { min-width:0; width:100%; grid-column:1; }
 .restore-portal .restore-search-fields,.restore-portal .restore-verified-fields,.restore-portal .restore-verified-roster { grid-template-columns:minmax(0,1fr); }
 .restore-portal .restore-hero { min-height:145px; background-position:65% 50%; }
 .restore-portal .restore-hero::after { background:linear-gradient(90deg,#130f09f0,#17140db5),linear-gradient(0deg,#0d0e0cb5,transparent); }
 .restore-portal .restore-panel-heading { display:block; }
 .restore-portal .restore-panel-heading p { margin-top:8px; }
 .restore-portal .restore-result-login > .modern-auth-form,.restore-portal .restore-inline-form,.restore-portal .restore-inline-form:has([name=login]) { grid-template-columns:minmax(0,1fr); }
 .restore-portal .restore-result-login > .modern-auth-form > button { grid-column:1; }
 .restore-portal .nice_button,.restore-portal .modern-auth-form > .modern-auth-submit { width:100%; min-width:0; }
 .restore-portal .restore-form-footer { align-items:stretch; }
 .restore-portal .restore-account-header,.restore-portal .restore-roster,.restore-portal .restore-result-login { padding:18px 16px; }
 .restore-portal .restore-account-header { grid-template-columns:1fr; gap:15px; }
}
@media(prefers-reduced-motion:reduce) { .restore-portal *, .restore-portal *::before, .restore-portal *::after { animation:none !important; transition:none !important; } }

.restore-portal .restore-reference-date { display:flex;align-items:flex-start;gap:10px;min-width:0;padding:12px 14px;border:1px solid #4e5b53;border-radius:4px;background:linear-gradient(100deg,#1b292360,#151b17);color:#d9dfc7; }
.restore-portal .restore-reference-date i { flex:none;color:#a8c2a3;font-size:14px; }
.restore-portal .restore-reference-date > div { display:grid;gap:4px;min-width:0; }
.restore-portal .restore-reference-date span { display:flex;align-items:center;gap:7px;color:#c4c8ae;font:500 12px/1.4 var(--dl-font-body,Roboto,Arial,sans-serif); }
.restore-portal .restore-reference-date strong { color:#f0dfba;font:600 15px/1.4 var(--dl-font-body,Roboto,Arial,sans-serif);white-space:normal; }
.restore-portal .restore-reference-date small { color:#b3b8a5;font:400 11px/1.5 var(--dl-font-body,Roboto,Arial,sans-serif); }
.restore-portal .restore-selection > .restore-reference-date { margin:0 0 18px; }
.restore-portal .restore-password-control { position:relative;display:block;margin-top:8px; }
.restore-portal .restore-password-control input { margin:0!important;padding-right:50px!important; }
.restore-portal .restore-password-reveal { position:absolute;inset:1px 1px 1px auto;display:grid;place-items:center;width:42px;min-height:40px;margin:0;padding:0;border:0;border-radius:3px;background:transparent;color:#c9b583;transform:none!important; }
.restore-portal .restore-password-reveal:hover { background:#d4af5312;color:#f3d69a; }
.restore-portal .restore-password-reveal:focus-visible { outline:2px solid #deb969;outline-offset:-3px; }
.restore-portal .restore-password-note { display:block;grid-column:1/-1;margin:0;color:#b5a58a;font:400 12px/1.4 var(--dl-font-body,Roboto,Arial,sans-serif); }
.restore-portal [data-restore-inline-feedback].is-error { border-color:#c27969;border-left:4px solid #df897b;color:#ffe2d9;background:#3c1c18;box-shadow:inset 0 1px #ffccbb12; }
.restore-portal input[aria-invalid=true] { border-color:#d88676!important;outline-color:#d88676; }
.restore-portal [data-restore-inline-feedback].is-success { border-color:#687f51;border-left:4px solid #9bb77b;color:#dfedca;background:#202b19; }
.restore-portal .restore-inline-form > button { justify-self:start;min-width:0; }
.restore-portal .restore-guide-boundary { margin-bottom:0!important;font-size:12px!important;border-left-color:#7e6941; }
.restore-portal .restore-other-account > .restore-disclosure-body,.restore-portal .restore-own-rename > .restore-disclosure-body { margin-top:10px;padding:10px 0 0;border-top:0; }
@media(max-width:1000px){.restore-portal .restore-account-header { grid-template-columns:1fr 1fr; }.restore-portal .restore-account-header .restore-reference-date { grid-column:1/-1; }}
@media(max-width:740px){
 .restore-portal .restore-account-header { grid-template-columns:minmax(0,1fr); }
 .restore-portal .restore-reference-date { padding:10px; }
 .restore-portal .restore-reference-date strong { font-size:14px; }
 .restore-portal .restore-disclosure-body,.restore-portal .restore-access-flow { padding:12px; }
 .restore-portal .restore-access-step .restore-disclosure-body { padding:12px 9px; }
 .restore-portal .restore-access-guide > summary,.restore-portal .restore-access-step > summary { padding:12px;font-size:13px; }
 .restore-portal .restore-inline-form { gap:12px; }
 .restore-portal .restore-password-reveal { min-width:0;width:42px; }
}

/* Existing approved search overlay. */
body.restore-search-open { overflow:hidden; }
.restore-portal .restore-search-overlay {
  position:fixed; inset:0; z-index:200000; display:grid; place-items:center; padding:20px;
  overflow:auto; background:rgba(5,5,4,.85); backdrop-filter:blur(9px);
}
.restore-portal .restore-search-dialog {
  position:relative; width:min(920px,100%); box-sizing:border-box; max-height:calc(100dvh - 40px); overflow:auto;
  padding:clamp(15px,3vw,28px); text-align:center; border:1px solid #a28048; border-radius:12px;
  background:radial-gradient(ellipse at 50% 18%,#243d3b42,transparent 65%),linear-gradient(145deg,#211b11,#0c0b08);
  box-shadow:0 35px 120px #000,0 0 80px #b08c3422,inset 0 1px 0 #f5d89433;
}
.restore-portal .restore-search-cancel { position:absolute; top:8px; right:10px; width:36px; height:36px; padding:0; background:transparent; border:0; color:#d6c8ac; font:26px/1 Arial,sans-serif; cursor:pointer; }
.restore-portal .restore-search-cancel:focus-visible { outline:2px solid #e2bd68; }
.restore-portal .restore-magnifier-scene { width:100%; height:100%; filter:drop-shadow(0 0 14px #7cf0d750); }
.restore-portal .restore-moving-lens { transform-origin:360px 126px; animation:restore-magnifier var(--restore-lens-duration,4.3s) ease-in-out infinite; }
.restore-portal .restore-search-dialog h2 { margin:0 0 12px; color:#f3ddb0; font:400 clamp(23px,3vw,32px)/1.3 var(--dl-font-display,Cinzel,Georgia,serif); text-transform:none; }
.restore-portal .restore-modal-detail { margin:0 auto 22px; max-width:480px; min-height:42px; color:#cabea8; font:14px/1.6 Arial,sans-serif; }
.restore-portal .restore-date-display { padding:16px 8px; border-top:1px solid #6d5430; border-bottom:1px solid #6d5430; color:#f1d68a; font:500 clamp(19px,3.8vw,29px)/1.4 ui-monospace,Consolas,monospace; font-variant-numeric:tabular-nums; }
.restore-portal .is-found .restore-moving-lens { animation:none; transform:translateX(46px); }
.restore-portal .is-found .restore-date-display { color:#a0ebbd; border-color:#608466; text-shadow:0 0 18px #6ccf8755; }

@keyframes restore-magnifier { 0%,100% { transform:translate(-104px,9px) rotate(-12deg); } 34% { transform:translate(27px,-24px) rotate(4deg); } 69% { transform:translate(106px,17px) rotate(15deg); } }
@keyframes restore-reveal { from { opacity:.25; } to { opacity:1; } }
/* Clear terminal outcomes; search timing and control geometry remain independently defined. */
.restore-portal .restore-empty-hero { display:grid;grid-template-columns:76px minmax(0,1fr);align-items:start;gap:24px;padding:30px;border:1px solid #a95a4b;border-radius:6px;background:radial-gradient(ellipse at 5% 20%,#7a292247,transparent 65%),linear-gradient(115deg,#2c1511,#180f0b);box-shadow:inset 0 1px #f3b29a13,0 12px 30px #0003; }
.restore-portal .restore-empty-hero h1 { margin:0 0 12px;color:#ffd5c7;font-size:clamp(28px,3vw,38px); }
.restore-portal .restore-empty-hero p { max-width:780px;margin:0;color:#ddbaaf;font:400 15px/1.7 var(--dl-font-body,Roboto,Arial,sans-serif); }
.restore-portal .restore-empty-hero .restore-eyebrow { margin-bottom:8px;color:#e79a86;font-size:11px; }
.restore-portal .restore-empty-symbol { display:grid;place-items:center;width:76px;height:76px;border:1px solid #d68370;border-radius:50%;background:#5b241c;color:#ffbba7;font-size:34px;box-shadow:0 0 34px #c85f3b19,inset 0 0 20px #feaa8a0a; }
.restore-portal .restore-results-empty .restore-progress .is-current { border-color:#cf7a66;color:#ffd4c4;background:#48201766; }
.restore-portal .restore-empty-guidance { margin:20px 0;padding:24px;border:1px solid #725135;border-radius:5px;background:linear-gradient(140deg,#23190f,#150f09); }
.restore-portal .restore-empty-guidance h2 { margin:0 0 18px;color:#eed7ad;font:600 18px/1.4 var(--dl-font-body,Roboto,Arial,sans-serif); }
.restore-portal .restore-empty-guidance ol { display:grid;gap:17px;margin:0 0 22px;padding:0;list-style:none; }
.restore-portal .restore-empty-guidance li { display:grid;grid-template-columns:22px minmax(0,1fr);align-items:start;gap:12px;margin:0;padding:0; }
.restore-portal .restore-empty-guidance li > i { margin-top:2px;color:#cda86b;font-size:15px; }
.restore-portal .restore-empty-guidance strong { display:block;color:#efdab7;font:600 14px/1.5 var(--dl-font-body,Roboto,Arial,sans-serif); }
.restore-portal .restore-empty-guidance li p { margin:4px 0 0;color:#bdae95;font:400 13px/1.65 var(--dl-font-body,Roboto,Arial,sans-serif); }
.restore-portal .restore-empty-retry { text-decoration:none; }
.restore-portal .restore-search-art {
  display:grid; place-items:center; position:relative; isolation:isolate;
  height:clamp(124px,35vw,344px); margin:12px 0 clamp(14px,3vw,22px); overflow:hidden;
  border:1px solid #8a6c3f; border-radius:7px;
  background:#121d24 url('../images/restore/archive-investigators.webp') center 49%/cover no-repeat;
  box-shadow:inset 0 0 35px #0007,0 12px 36px #0005;
}
.restore-portal .restore-search-art::after {
  content:""; position:absolute; inset:0; pointer-events:none; z-index:-1;
  background:linear-gradient(0deg,#0b0b13a3,transparent 32%),radial-gradient(ellipse at 50% 52%,#07151735,transparent 70%);
  transition:background-color .36s ease-out;
}
.restore-portal .restore-search-overlay:is(.is-empty,.is-review,.is-found) .restore-search-art::after {background-color:#070c11a3}
.restore-portal .restore-search-dialog .restore-date-display {
  width:fit-content; max-width:100%; margin-inline:auto; padding:8px clamp(12px,3vw,23px);
  border:1px solid #695438; border-radius:5px; background:#0d1418;
  font-size:clamp(16px,4.3vw,25px); white-space:nowrap;
}
.restore-portal .restore-search-dialog .restore-modal-detail {min-height:0}
@media(max-width:480px){
  .restore-portal .restore-search-overlay{padding:12px}
  .restore-portal .restore-search-dialog{max-height:calc(100dvh - 24px)}
  .restore-portal .restore-search-dialog .restore-outcome-symbol{width:72px;height:72px;font-size:35px}
}
.restore-portal .restore-search-art > * { grid-area:1/1; }
.restore-portal .restore-search-art .restore-magnifier-scene { transition:opacity .18s; }
.restore-portal .restore-outcome-symbol { display:grid;place-items:center;width:96px;height:96px;margin:0 auto;border:2px solid #91cda4;border-radius:50%;color:#b5f0c6;background:radial-gradient(circle,#42664b80,#193326);font-size:45px;box-shadow:0 0 45px #6fca8e29,inset 0 0 22px #a7e9b21a; }
.restore-portal .is-found .restore-magnifier-scene,.restore-portal .is-empty .restore-magnifier-scene,.restore-portal .is-review .restore-magnifier-scene { opacity:0; }
.restore-portal .is-found .restore-outcome-symbol { animation:restore-outcome-pop .5s ease-out,restore-outcome-glow 1.1s ease-in-out infinite alternate; }
.restore-portal .is-found .restore-search-dialog h2 { color:#bce8c4;text-shadow:0 0 24px #78ca8c25; }
.restore-portal .is-empty .restore-search-dialog { border-color:#ba6b58;background:radial-gradient(ellipse at 50% 20%,#60251f65,transparent 65%),linear-gradient(145deg,#271710,#120b08); }
.restore-portal .is-empty .restore-outcome-symbol { border-color:#da8b75;color:#ffc1ae;background:radial-gradient(circle,#73312695,#3c1b16);box-shadow:0 0 42px #e2704e20;animation:restore-outcome-pop .4s ease-out; }
.restore-portal .is-empty .restore-search-dialog h2 { color:#ffb7a2;font-weight:600; }
.restore-portal .is-empty .restore-modal-detail { color:#e1b8a8; }
.restore-portal .is-empty .restore-date-display { color:#d49f8b;border-color:#7f4c3b; }
.restore-portal .is-empty .restore-moving-lens,.restore-portal .is-review .restore-moving-lens { animation:none; }
.restore-portal .is-review .restore-outcome-symbol { border-color:#c9a05c;color:#f2d295;background:#3b2b16;box-shadow:0 0 30px #c59b3920; }
@keyframes restore-outcome-pop { from { opacity:0;transform:scale(.82); } to { opacity:1;transform:scale(1); } }
@keyframes restore-outcome-glow { from { box-shadow:0 0 25px #6fca8e20,inset 0 0 22px #a7e9b21a; } to { box-shadow:0 0 60px #6fca8e3a,inset 0 0 24px #a7e9b22a; } }
@media(max-width:740px){
 .restore-portal .restore-empty-hero { grid-template-columns:minmax(0,1fr);gap:14px;padding:20px 16px; }
 .restore-portal .restore-empty-symbol { width:54px;height:54px;font-size:26px; }
 .restore-portal .restore-empty-hero h1 { font-size:26px; }
 .restore-portal .restore-empty-hero p { font-size:14px; }
 .restore-portal .restore-empty-guidance { padding:18px 16px; }
 .restore-portal .restore-outcome-symbol { width:80px;height:80px;font-size:38px; }
}

.restore-portal .restore-selection .nice_button,.restore-portal .restore-result-login .nice_button { min-height:44px;padding:10px 18px;font-size:14px; }
.restore-portal .restore-account-alternative { display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;margin:2px 0 10px;color:#b5a68b;font-size:12px; }
.restore-portal .restore-account-alternative .restore-text-action:not(.nice_button) { min-height:30px;padding:4px 0;font-size:12px; }
.restore-portal .restore-destination .restore-quiet { max-width:850px;margin-bottom:10px;font-size:12px; }
.restore-portal .restore-other-account,.restore-portal .restore-own-rename { margin-top:12px;padding-top:10px; }
.restore-portal .restore-selection .restore-disclosure-body { padding-top:8px; }
.restore-portal .restore-result-login .restore-access-guide { margin-top:14px; }
.restore-portal .restore-result-login .restore-access-guide > summary,.restore-portal .restore-result-login .restore-access-step > summary { min-height:40px;padding:10px 13px;font-size:13px; }
.restore-portal .restore-result-login .restore-disclosure-body { padding:13px; }
.restore-portal .restore-result-login .restore-access-flow p { font-size:13px; }
.restore-portal .restore-result-login textarea { min-height:72px; }
.restore-portal .restore-results-empty .restore-empty-hero { padding:22px;grid-template-columns:58px minmax(0,1fr);gap:18px; }
.restore-portal .restore-results-empty .restore-empty-symbol { width:58px;height:58px;font-size:28px; }
.restore-portal .restore-results-empty .restore-empty-hero h1 { font-size:30px;margin-bottom:8px; }
.restore-portal .restore-results-empty .restore-empty-guidance { padding:18px 20px; }
.restore-portal .restore-results-empty .restore-empty-guidance ol { gap:12px; }
@media(max-width:900px){
 .restore-portal label.restore-character-choice { grid-template-columns:16px minmax(0,1fr) auto;grid-template-areas:"radio identity state" ". meta meta" ". reason reason"; }
 .restore-portal li.restore-found-character { grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"identity state" "meta meta" "reason reason"; }
 .restore-portal .restore-character-identity .restore-level-label { display:none; }
}
@media(max-width:600px){
 .restore-portal .restore-results,.restore-portal .restore-selection { padding:14px 0; }
 .restore-portal .restore-results .restore-hero-results { min-height:0;padding:14px 16px; }
 .restore-portal .restore-hero-results h1,.restore-portal .restore-selection-heading h1 { font-size:23px; }
 .restore-portal .restore-account-header,.restore-portal .restore-roster,.restore-portal .restore-result-login { padding:14px 12px; }
 .restore-portal .restore-destination,.restore-portal .restore-name-panel { padding:14px 12px; }
 .restore-portal label.restore-character-choice { grid-template-columns:15px minmax(0,1fr);grid-template-areas:"radio identity" ". meta" ". state" ". reason";gap:5px 9px;padding:11px; }
 .restore-portal li.restore-found-character { grid-template-columns:minmax(0,1fr);grid-template-areas:"identity" "meta" "state" "reason";gap:5px;padding:11px; }
 .restore-portal .restore-character-state { justify-self:start; }
 .restore-portal .restore-character-identity > strong { font-size:14px; }
 .restore-portal .restore-character-identity { gap:7px; }
 .restore-portal .restore-compact-fields { grid-template-columns:minmax(0,1fr); }
 .restore-portal .restore-selection > .restore-reference-date small { margin-left:0; }
 .restore-portal .restore-results-empty .restore-empty-hero { grid-template-columns:minmax(0,1fr);padding:18px 16px;gap:12px; }
 .restore-portal .restore-results-empty .restore-empty-hero h1 { font-size:26px; }
}

.restore-portal .restore-selection-summary{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px}.restore-portal .restore-roster-count{font:500 12px/1.5 var(--dl-font-body,Roboto,Arial,sans-serif);color:#bca77b}

.restore-portal .modern-auth-card { margin:14px 0;padding:20px;border-color:#66502f;box-shadow:0 5px 18px #0002; }
.restore-portal .modern-auth-card h1 { font-size:26px; }
.restore-portal .modern-auth-card > p { max-width:820px;color:#c4b59a;font-size:13px; }
.restore-portal .modern-simple-auth-card .modern-auth-form { grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px;max-width:760px; }
.restore-portal .modern-simple-auth-card .modern-auth-form > button,.restore-portal .modern-simple-auth-card .modern-auth-form > p { grid-column:1/-1; }
.restore-portal .modern-auth-card .nice_button { min-height:40px;padding:9px 16px;font-size:14px; }
.restore-portal .restore-character-choice:focus-visible { outline:2px solid #d9b66a;outline-offset:2px; }
@media(max-width:600px){.restore-portal .modern-auth-card{padding:16px 12px}.restore-portal .modern-auth-card h1{font-size:23px}.restore-portal .modern-simple-auth-card .modern-auth-form{grid-template-columns:minmax(0,1fr)}}

.restore-portal .restore-choice-label{display:grid}.restore-portal .restore-choice-label>span{grid-area:1/1}.restore-portal .restore-choice-selected{visibility:hidden}.restore-portal .restore-character-choice:has(input:checked) .restore-choice-idle{visibility:hidden}.restore-portal .restore-character-choice:has(input:checked) .restore-choice-selected{visibility:visible}.restore-portal .restore-character-choice:has(input:checked) .restore-character-state.is-ready{color:#f3d691;border-color:#ba9650;background:#3c2e17}

.restore-portal .restore-selection>h1{font-size:26px;margin:0 0 12px}.restore-portal .restore-selection>p{max-width:850px;font-size:14px;color:#c4b59a}@media(max-width:600px){.restore-portal .restore-selection>h1{font-size:23px}}

/* Verified restoration journey: one stable roster and a reversible account destination. */
.restore-portal .restore-journey-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 18px}
.restore-portal .restore-journey-heading h1{margin:0;font-size:28px;line-height:1.25}
.restore-portal .restore-journey-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,1fr);gap:24px;align-items:start}
.restore-portal .restore-journey-roster{min-width:0}
.restore-portal .restore-journey .restore-character-picker legend{font:600 18px/1.4 var(--dl-font-body,Roboto,Arial,sans-serif);color:#f0dfbd;margin:0 0 5px}
.restore-portal .restore-journey-help{margin:0 0 20px;color:#bcb09b;font:400 13px/1.6 var(--dl-font-body,Roboto,Arial,sans-serif)}
.restore-portal .restore-roster-group{margin-top:18px}
.restore-portal .restore-roster-group h2{display:flex;align-items:center;gap:10px;margin:0 0 10px;color:#bdae91;font:500 12px/1.4 var(--dl-font-body,Roboto,Arial,sans-serif)}
.restore-portal .restore-roster-group h2>span{display:grid;place-items:center;min-width:21px;height:21px;padding:0 5px;border-radius:4px;background:#2a2419;color:#dfca9e;font:600 12px/1 var(--dl-font-body,Roboto,Arial,sans-serif)}
/* Actionable choices and informational records deliberately have different shapes. */
.restore-portal .restore-journey-cards,.restore-portal .restore-journey-records{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
.restore-portal .restore-choice-summary{margin:0 0 18px;padding:10px 13px;border-left:3px solid #bfa15f;background:#2c231540;color:#f2dba7;font:600 13px/1.5 var(--dl-font-body,Roboto,Arial,sans-serif)}
.restore-portal .restore-pick-group h2{color:#c4d7b4}.restore-portal .restore-record-group{padding-top:16px;margin-top:22px;border-top:1px solid #443a29}
.restore-portal .restore-roster-unavailable{display:flex;align-items:flex-start;gap:10px;margin:0 0 18px;padding:13px 15px;border:1px solid #76582e;border-radius:5px;color:#e1c695;background:#302414;font:500 14px/1.6 var(--dl-font-body,Roboto,Arial,sans-serif)}
.restore-portal .restore-roster-unavailable>i{margin-top:4px;flex-shrink:0}
.restore-portal label.restore-hero-character.site-choice{--dl-choice-card-padding:16px;--dl-control-justify:stretch;position:relative;display:grid!important;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"identity pick" "reason reason";align-items:center;gap:10px 12px;min-width:0;margin:0;text-align:left!important;cursor:pointer}
.restore-portal .restore-hero-character>.site-choice__mark{grid-area:pick}
.restore-portal .restore-hero-character .restore-character-identity,.restore-portal .restore-character-record .restore-character-identity{grid-area:identity;display:grid;grid-template-columns:48px minmax(0,1fr) auto;grid-template-areas:"portrait name level" "portrait meta level";align-items:center;gap:3px 12px;min-width:0}
.restore-portal .restore-hero-character .restore-character-icon,.restore-portal .restore-character-record .restore-character-icon{grid-area:portrait;align-self:start;width:48px;height:48px;border:1px solid #826237;border-radius:6px}
.restore-portal .restore-hero-character .restore-character-icon img,.restore-portal .restore-character-record .restore-character-icon img{width:46px;height:46px;object-fit:cover}
.restore-portal .restore-hero-character .restore-character-identity>strong,.restore-portal .restore-character-record .restore-character-identity>strong{grid-area:name;align-self:end;font:600 18px/1.3 var(--dl-font-body,Roboto,Arial,sans-serif);color:#f5e2bd;overflow-wrap:anywhere}
.restore-portal .restore-hero-character .restore-character-meta,.restore-portal .restore-character-record .restore-character-meta{grid-area:meta;align-self:start;margin:0;color:#bfb49f;font:400 13px/1.4 var(--dl-font-body,Roboto,Arial,sans-serif)}
.restore-portal .restore-hero-character .restore-level,.restore-portal .restore-character-record .restore-level{grid-area:level;align-self:center;justify-self:end;padding:3px 6px;background:#352b1a;color:#dfca9c;font:500 12px/1.4 var(--dl-font-body,Roboto,Arial,sans-serif);white-space:nowrap}
.restore-portal .restore-card-reason{grid-area:reason;margin:0;color:#ddbd7d;font:400 12px/1.6 var(--dl-font-body,Roboto,Arial,sans-serif)}
.restore-portal .restore-character-record{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"identity status" "reason reason";align-items:start;gap:7px 15px;min-width:0;padding:14px 15px;border:1px solid #423b2e;border-radius:5px;background:#17140e;cursor:default}
.restore-portal .restore-character-record .restore-character-identity>strong{color:#d1c7b4;font-size:16px}
.restore-portal .restore-character-record .restore-character-icon{border-color:#514732}.restore-portal .restore-character-record .restore-level{background:#252117;color:#baad91}
.restore-portal .restore-record-status{grid-area:status;display:inline-flex;align-items:center;gap:7px;max-width:100%;padding:4px 0;color:#b9c8bf;font:600 12px/1.5 var(--dl-font-body,Roboto,Arial,sans-serif)}
.restore-portal .restore-character-record.is-pending .restore-record-status,.restore-portal .restore-character-record.is-review .restore-record-status{color:#d6b879}
.restore-portal .restore-record-reason{grid-area:reason;margin:0 0 0 60px;max-width:82ch;color:#b3aa97;font:400 12px/1.6 var(--dl-font-body,Roboto,Arial,sans-serif)}
.restore-portal .restore-journey-grid.has-no-choices{grid-template-columns:minmax(0,1fr)}

.restore-portal .restore-journey .restore-name-panel{margin-top:16px}
.restore-portal .restore-journey .restore-journey-destination{padding:20px;border-radius:8px;background:linear-gradient(145deg,#211b12,#15120d)}
.restore-portal .restore-target-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #443721;padding-bottom:12px;margin-bottom:16px}
.restore-portal .restore-target-heading h2{margin:0;font:600 16px/1.4 var(--dl-font-body,Roboto,Arial,sans-serif);color:#f0dfbc}
.restore-portal .restore-target-heading .restore-text-action{flex-shrink:0}
.restore-portal .restore-target-identity{display:grid;grid-template-columns:22px minmax(0,1fr);gap:5px 9px;padding:12px 0 16px}
.restore-portal .restore-target-identity>i{grid-column:1;grid-row:1;align-self:center;color:#d7b465;font-size:16px}
.restore-portal .restore-target-identity>span{grid-column:2;font:500 12px/1.4 var(--dl-font-body,Roboto,Arial,sans-serif);color:#bfb194}
.restore-portal .restore-target-identity>strong{grid-column:1/-1;color:#f2d596;font:600 21px/1.35 var(--dl-font-body,Roboto,Arial,sans-serif);overflow-wrap:anywhere}
.restore-portal .restore-target-help{margin:0 0 16px;color:#c7b99f;font:400 13px/1.65 var(--dl-font-body,Roboto,Arial,sans-serif)}
.restore-portal .restore-target-options{margin:0 0 16px;padding:12px;background:#100e0a;border:1px solid #504128;border-radius:5px}
.restore-portal .restore-target-options>p{margin:0 0 10px;font:400 12px/1.6 var(--dl-font-body,Roboto,Arial,sans-serif);color:#baac92}
.restore-portal .restore-target-modes{display:grid;gap:7px}
.restore-portal .restore-target-modes>button{--dl-control-justify:flex-start;display:flex;align-items:center;gap:9px;position:relative;width:100%;margin:0;text-align:left;white-space:normal}
.restore-portal .restore-target-modes>button>i{width:16px;text-align:center;flex-shrink:0}
.restore-portal .restore-target-modes .site-choice__mark{margin-inline-start:auto;}
.restore-portal .restore-target-back{display:flex;gap:8px;font-size:12px;margin:0 0 10px;padding:4px 0;min-height:32px}
.restore-portal .restore-journey-destination .restore-compact-fields{grid-template-columns:minmax(0,1fr);gap:12px;max-width:none}
.restore-portal .restore-journey-destination .restore-compact-fields label{font-size:12px;color:#dac9a6}
.restore-portal .restore-journey-destination .restore-compact-fields input{height:40px;margin-top:5px;font-size:14px}
.restore-portal .restore-journey-destination input[readonly]{background:#1f1b14;color:#c0b293;border-color:#463e2d}
.restore-portal .restore-journey-destination .restore-inline-actions{gap:5px 12px}
.restore-portal .restore-journey-destination .restore-inline-actions>.nice_button{width:100%}
.restore-portal .restore-journey-footer{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px 18px;padding:18px 0 0;border-top:1px solid #4f3d24}
.restore-portal .restore-journey-footer>p{margin:0;color:#f1d7a1;font:600 14px/1.5 var(--dl-font-body,Roboto,Arial,sans-serif);overflow-wrap:anywhere}
.restore-portal .restore-journey-footer>.nice_button{grid-column:2;grid-row:1/3;display:inline-flex;gap:14px;align-items:center;justify-content:center;min-height:44px}
.restore-portal .restore-journey-footer>small{color:#b8aa91;font:400 12px/1.6 var(--dl-font-body,Roboto,Arial,sans-serif)}
.restore-portal .restore-journey [data-selection-feedback].is-error{border-color:#b85d4e;background:#341b18;color:#ffdad0}

@media(max-width:1000px){.restore-portal .restore-journey-grid{grid-template-columns:minmax(0,1fr)}.restore-portal .restore-journey-destination .restore-compact-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.restore-portal .restore-journey-destination .restore-inline-actions>.nice_button{width:auto}}
@media(max-width:600px){.restore-portal .restore-journey-heading{align-items:flex-start;flex-direction:column}.restore-portal .restore-journey-heading h1{font-size:24px}.restore-portal .restore-journey-grid{gap:18px}.restore-portal .restore-journey .restore-journey-destination{padding:14px}.restore-portal .restore-journey-destination .restore-compact-fields{grid-template-columns:minmax(0,1fr)}.restore-portal .restore-journey-footer{grid-template-columns:minmax(0,1fr)}.restore-portal .restore-journey-footer>.nice_button{grid-column:1;grid-row:auto;order:3;width:100%;margin-top:8px}.restore-portal label.restore-hero-character{gap:10px;padding:13px}.restore-portal .restore-hero-character .restore-character-identity,.restore-portal .restore-character-record .restore-character-identity{grid-template-columns:42px minmax(0,1fr);grid-template-areas:"portrait name" "portrait meta" "level level";gap:3px 10px}.restore-portal .restore-hero-character .restore-character-icon,.restore-portal .restore-character-record .restore-character-icon{width:42px;height:42px}.restore-portal .restore-hero-character .restore-character-icon img,.restore-portal .restore-character-record .restore-character-icon img{width:40px;height:40px}.restore-portal .restore-hero-character .restore-character-identity>strong{font-size:17px}.restore-portal .restore-hero-character .restore-level,.restore-portal .restore-character-record .restore-level{justify-self:start;font-size:11px;padding:1px 5px}.restore-portal .restore-hero-character .restore-character-meta,.restore-portal .restore-character-record .restore-character-meta{font-size:12px}.restore-portal .restore-character-record{grid-template-columns:minmax(0,1fr);grid-template-areas:"identity" "status" "reason";gap:7px;padding:12px}.restore-portal .restore-record-reason{margin:0}.restore-portal .restore-record-status{font-size:12px}.restore-portal .restore-roster-unavailable{padding:12px;font-size:13px}.restore-portal .restore-target-heading{gap:8px}.restore-portal .restore-target-heading h2{font-size:15px}}

/* Search artwork has its own quiet halo; dates carry the story without a timeline panel. */
.restore-portal .restore-search-art::before {
  content:""; position:absolute; z-index:-1; inset:12% 29% 16%; pointer-events:none;
  background:radial-gradient(ellipse,#4fe9d526,transparent 67%);
  animation:restore-archive-breath 3.7s ease-in-out infinite alternate;
}
.restore-portal .restore-archive-sparks circle {animation:restore-spark 3.1s ease-in-out infinite alternate}
.restore-portal .restore-archive-sparks circle:nth-child(even) {animation-delay:-1.8s}
.restore-portal .restore-search-dialog .restore-modal-detail{margin-bottom:12px}
.restore-portal .is-empty .restore-search-art::before{background:radial-gradient(ellipse,#ad554339,transparent 70%)}
.restore-portal .is-found .restore-search-art::before{background:radial-gradient(ellipse,#6db98a55,transparent 70%)}
@keyframes restore-archive-breath{from{opacity:.5}to{opacity:1}}
@keyframes restore-spark{from{opacity:.15;transform:translateY(3px) scale(.7)}to{opacity:.85;transform:translateY(-5px) scale(1.2)}}
@media(prefers-reduced-motion:reduce){.restore-portal .restore-search-art::before,.restore-portal .restore-archive-sparks circle{animation:none}}

/* One continuous security window; navigation never refreshes historical proof. */
.restore-portal .restore-session-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 14px;padding:10px 12px;margin:0 0 18px;border:1px solid #65512e;border-radius:6px;background:linear-gradient(110deg,#282113,#17130d);color:#e0cfa8}
.restore-portal .restore-session-time{display:flex;align-items:center;gap:8px;min-width:0;font:500 12px/1.5 var(--dl-font-body,Roboto,Arial,sans-serif);white-space:nowrap}
.restore-portal .restore-session-time>i{color:#a9ceb0;font-size:13px}.restore-portal .restore-session-time>strong{min-width:5ch;font:600 15px/1.4 ui-monospace,Consolas,monospace;font-variant-numeric:tabular-nums;color:#f6d98f}
.restore-portal [data-restore-session-form]{display:flex;flex-wrap:wrap;align-items:center;gap:5px 8px;margin:0}
.restore-portal .restore-flow-action{white-space:nowrap}
.restore-portal .restore-flow-action:focus-visible{outline:2px solid #d7b56c;outline-offset:2px}
.restore-portal .restore-flow-action:disabled{opacity:.6;cursor:default}
.restore-portal .restore-session-bar>p{flex-basis:100%;margin:0;font:400 12px/1.6 var(--dl-font-body,Roboto,Arial,sans-serif)}
.restore-portal .restore-session-bar.is-ending{border-color:#a47d37}.restore-portal .restore-session-bar.is-ending [data-session-clock]{color:#ffd28d}
.restore-portal .restore-session-bar.is-expired,.restore-portal .restore-session-bar.has-error{border-color:#ae6553;background:linear-gradient(110deg,#382018,#23140f);color:#ffd4c1}
.restore-portal .restore-session-bar.is-expired [data-session-clock]{color:#ffa991}
.restore-portal .restore-session-recovery{display:flex;flex-wrap:wrap;gap:8px;margin-left:auto}
.restore-portal .restore-session-recovery[hidden],.restore-portal [data-session-warning][hidden]{display:none!important}
.restore-portal .restore-session-warning{border-left:3px solid #e0b55a;padding:8px 12px;background:#352812;color:#ffe1a1}
.restore-portal .restore-session-bar.is-urgent{border-color:#dc974e}
.restore-portal .restore-session-bar.is-expired .restore-session-warning{border-color:#e48870;background:#40231c;color:#ffe1d7}
.restore-portal .restore-session-bar.is-expired [data-restore-session-form] button:not([value=exit]){display:none!important}
.restore-portal .restore-session-content{transition:filter .25s ease,opacity .25s ease}
.restore-portal .restore-session-content.is-expired{filter:grayscale(1);opacity:.42;user-select:none}
.restore-portal .restore-session-content.is-expired button:disabled{cursor:default}
@media(max-width:600px){.restore-portal .restore-session-recovery{width:100%;margin-left:0}.restore-portal .restore-session-recovery>a{flex:1 1 100%}}
@media(prefers-reduced-motion:reduce){.restore-portal .restore-session-content{transition:none}}
.restore-portal .restore-flow-closed{max-width:700px;padding:30px 20px;margin:0 auto;text-align:center}.restore-portal .restore-flow-closed>i{font-size:40px;color:#a9ceb0;margin-bottom:16px}.restore-portal .restore-flow-closed h1{font-size:26px}.restore-portal .restore-flow-closed p{font-size:14px;color:#c5b69a;line-height:1.7}.restore-portal .restore-flow-closed .nice_button{display:inline-flex;margin-top:12px}
@media(max-width:600px){.restore-portal .restore-session-bar{padding:10px;gap:9px}.restore-portal .restore-session-time{font-size:12px;gap:6px}.restore-portal .restore-session-time>strong{font-size:14px}.restore-portal [data-restore-session-form]{width:100%}.restore-portal .restore-flow-action{flex:1 1 100%}}

/* Credentials lead the result; recovery stays a single continuous, compact surface. */
.restore-portal .restore-account-credential{min-width:0}
.restore-portal .restore-account-credential .restore-eyebrow{display:flex;align-items:center;gap:8px;margin:0 0 10px;font:500 13px/1.4 var(--dl-font-body,Roboto,Arial,sans-serif);letter-spacing:0;text-transform:none;color:#d8bf8d}
.restore-portal .restore-account-credential .restore-credential-value{display:block;margin:0;overflow-wrap:anywhere}
.restore-portal .restore-email-hint{align-content:start;padding-left:28px;border-left:1px solid #6e542f}
.restore-portal .restore-account-header .restore-reference-date{grid-column:1/-1;padding-top:14px;border-top:1px solid #594329}
.restore-portal .restore-account-header .restore-reference-date>div{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 14px}
.restore-portal .restore-account-header .restore-reference-date strong{color:#d7c39e;font-size:13px}
.restore-portal .restore-result-advice{display:flex;align-items:baseline;gap:8px;padding:10px 13px;border-left:2px solid #b5924c;background:#8d6c2312;color:#cdbb99;font-size:13px}
.restore-portal .restore-roster{padding:20px 24px}
.restore-portal .restore-account-result .restore-roster>h3{margin-bottom:12px;color:#d8c5a3;font-size:14px}
.restore-portal .restore-found-character{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"identity state" "reason reason";align-items:center;gap:10px 20px;padding:16px;background:linear-gradient(110deg,#332916,#1d1b11);border-color:#8b723a}
.restore-portal .restore-found-character .restore-character-identity{display:grid;grid-template-columns:48px minmax(0,1fr) auto;grid-template-areas:"portrait name level" "portrait meta level";gap:3px 12px}
.restore-portal .restore-found-character .restore-character-icon{grid-area:portrait;align-self:start;width:48px;height:48px;border-radius:6px}
.restore-portal .restore-found-character .restore-character-icon img{width:46px;height:46px}
.restore-portal .restore-found-character .restore-character-identity>strong{grid-area:name;align-self:end;font-size:21px}
.restore-portal .restore-found-character .restore-character-meta{grid-area:meta;align-self:start;font-size:13px}
.restore-portal .restore-found-character .restore-level{grid-area:level;font-size:12px}
.restore-portal .restore-result-login{padding:20px 24px}
.restore-portal .restore-result-login>.modern-auth-form{max-width:none}
/* Override the shared submit's align-self:start at the same component boundary. */
.restore-portal .modern-auth-form.restore-inline-form>.modern-auth-submit{align-self:end;justify-self:start}
.restore-portal .modern-auth-form.restore-inline-form>label{align-self:end}
.restore-portal .restore-email-reset-form>.modern-auth-submit{height:44px;white-space:nowrap}
.restore-portal .restore-result-login .restore-access-guide{margin-top:20px;border-color:#665030;border-radius:6px}
.restore-portal .restore-result-login .restore-access-guide>summary{padding:14px 16px;font-size:14px}
.restore-portal .restore-result-login .restore-access-flow{padding:18px}
.restore-portal .restore-recovery-heading{display:flex;align-items:baseline;gap:9px;margin:0 0 8px;font:600 15px/1.5 var(--dl-font-body,Roboto,Arial,sans-serif);color:#f0deba}
.restore-portal .restore-recovery-heading>i,.restore-portal .restore-access-step>summary>i{color:#c8a357}
.restore-portal .restore-access-flow .restore-access-step{margin:18px 0 0;padding-top:6px;border:0;border-top:1px solid #514025;border-radius:0;background:none}
.restore-portal .restore-access-flow .restore-access-step>summary{padding:12px 0;border-radius:0;background:none;font-size:14px}
.restore-portal .restore-result-login .restore-access-step>.restore-disclosure-body{padding:4px 0 0;border:0}
.restore-portal .restore-access-flow .restore-inline-form{margin:14px 0 18px}
.restore-portal .restore-access-flow .restore-support-notes-form{margin-top:8px}
.restore-portal .restore-guide-boundary{margin-bottom:0;padding:10px 12px;border-left-color:#a77c39;background:#a77c3910;font-size:12px}
@media(max-width:740px){
 .restore-portal .restore-account-header{grid-template-columns:minmax(0,1fr);gap:18px;padding:18px 16px}
 .restore-portal .restore-email-hint{padding:16px 0 0;border-left:0;border-top:1px solid #594329}
 .restore-portal .restore-account-header h2,.restore-portal .restore-email-hint strong{font-size:24px}
 .restore-portal .restore-roster,.restore-portal .restore-result-login{padding:18px 16px}
 .restore-portal .restore-found-character{grid-template-columns:minmax(0,1fr);grid-template-areas:"identity" "state" "reason";padding:13px;gap:10px}
 .restore-portal .restore-found-character .restore-character-state{justify-self:start}
 .restore-portal .restore-found-character .restore-character-identity{grid-template-columns:42px minmax(0,1fr);grid-template-areas:"portrait name" "portrait meta" "level level"}
 .restore-portal .restore-found-character .restore-character-icon{width:42px;height:42px}
 .restore-portal .restore-found-character .restore-character-icon img{width:40px;height:40px}
 .restore-portal .restore-found-character .restore-level{justify-self:start;margin-top:5px}
 .restore-portal .restore-email-reset-form>.modern-auth-submit{width:100%;height:auto;min-height:44px;white-space:normal}
 .restore-portal .restore-result-login .restore-access-flow{padding:14px}
 .restore-portal .restore-target-heading{align-items:start;flex-wrap:wrap}
}

.restore-portal .restore-session-short{display:none}
.restore-portal [data-current-factor][hidden]{display:none!important}
.restore-portal .restore-current-factor{grid-column:1/-1;padding:12px;border:1px solid #867044;border-radius:6px;background:#d5ae5010}
.restore-portal .restore-current-factor small{display:block;font:400 13px/1.5 var(--dl-font-body,Roboto,Arial,sans-serif);color:var(--restore-muted);margin:4px 0 8px}
.restore-portal .restore-current-factor input{max-width:220px;font-variant-numeric:tabular-nums;letter-spacing:.18em}
.restore-portal input:autofill{box-shadow:0 0 0 1000px #110e09 inset!important;-webkit-text-fill-color:#f3dfb9;caret-color:#f3dfb9;color:#f3dfb9}

/* Restore workspace: readable typography and a deliberate desktop composition. */
/* Keep body headings and controls on the shared theme tokens at this boundary. */
body.theme-drahys_modern .restore-portal :is(h2,h3,h4,legend){font-family:var(--dl-font-body,Roboto,Arial,sans-serif)!important;text-transform:none!important;letter-spacing:0!important}
body.theme-drahys_modern .restore-portal .restore-credential-value{font-family:var(--dl-font-body,Roboto,Arial,sans-serif)!important;font-size:22px!important;line-height:1.4!important}
.restore-portal .restore-account-result .restore-roster>h3{font-size:16px;margin-bottom:12px}
.restore-portal .restore-account-result .restore-roster-note{margin-top:10px}
.restore-portal .restore-result-login .restore-access-guide{margin-top:4px}
.restore-portal .restore-result-login .restore-access-guide>summary{min-height:44px;padding:12px 14px}
.restore-portal .restore-roster-group h2{font-weight:600}
.restore-portal .restore-character-record .restore-character-icon{filter:saturate(.55);opacity:.85}
.restore-portal .restore-character-record{border-color:#493f2e;background:#17140f}

.restore-portal{container-type:inline-size;--restore-space:20px;--restore-inset:24px;--restore-form-width:560px;--restore-line:#514026;--restore-text:#f0e3cc;--restore-muted:#c6b99f;font:400 16px/1.6 var(--dl-font-body,Roboto,Arial,sans-serif)}
.restore-portal .restore-session-content{display:grid;gap:var(--restore-space);padding:var(--restore-inset)}
.restore-portal .restore-session-content>*,.restore-portal .restore-session-bar{margin-top:0;margin-bottom:0}
.restore-portal .restore-session-bar{gap:12px 20px;padding:12px var(--restore-inset);border-width:0 0 1px;border-radius:0;background:#211a10}
.restore-portal .restore-session-time{font-size:14px;gap:10px}
.restore-portal .restore-session-time>i{font-size:16px}
.restore-portal .restore-session-time>strong{padding:4px 9px;border:1px solid #7c6034;border-radius:4px;background:#110e09;font-size:17px}
.restore-portal .restore-session-bar form{gap:8px}
.restore-portal .restore-session-bar .restore-flow-action{font-size:14px}
.restore-portal .restore-session-action-short{display:none}
.restore-portal .restore-session-bar>p,.restore-portal .restore-session-warning{font-size:14px}
.restore-portal .restore-session-bar.is-expired{padding:20px var(--restore-inset);border:1px solid #a65f48;border-radius:5px}
.restore-portal .restore-session-content.is-expired{filter:grayscale(1);opacity:.35}
.restore-portal .restore-lookup,.restore-portal .restore-results,.restore-portal .restore-journey{display:grid;gap:var(--restore-space);padding:0;width:100%;min-width:0}
.restore-portal .restore-lookup>*,.restore-portal .restore-results>*,.restore-portal .restore-journey>*{margin-top:0;margin-bottom:0}
.restore-portal ol.restore-progress{gap:0;margin:0;border:1px solid var(--restore-line);border-radius:5px;overflow:hidden}
.restore-portal ol.restore-progress li{padding:13px 10px;font-size:14px;background:#17120c;border-bottom-width:2px}
.restore-portal ol.restore-progress li+li{border-left:1px solid var(--restore-line)}
.restore-portal ol.restore-progress li i{font-size:14px}
.restore-portal h1{font:500 clamp(26px,2.1vw,32px)/1.3 var(--dl-font-display,Cinzel,Georgia,serif);color:#f1d9a7}
.restore-portal .restore-eyebrow{font-size:12px;letter-spacing:.09em}
.restore-portal .restore-search-stage{position:relative;isolation:isolate;overflow:hidden;border:1px solid #806136;border-radius:7px;background:#17130d}
.restore-portal .restore-search-stage::before{content:"";position:absolute;z-index:-2;inset:0;pointer-events:none;background:url('/writable/uploads/news/legacy-security-vault-20261108.webp') 70% 50%/cover no-repeat;transform:scaleX(-1);opacity:.9}
.restore-portal .restore-search-stage::after{content:"";position:absolute;z-index:-1;inset:0;pointer-events:none;background:linear-gradient(90deg,#17130dfc 0%,#17130df5 48%,#11140c20 100%)}
.restore-portal .restore-search-stage .restore-hero{max-width:650px;min-height:0;padding:24px var(--restore-inset) 16px;border:0;border-radius:0;background:none;overflow:visible}
.restore-portal .restore-search-stage .restore-hero::before,.restore-portal .restore-search-stage .restore-hero::after,.restore-portal .restore-search-stage .restore-lookup-main::after{display:none}
.restore-portal .restore-search-stage .restore-hero h1{margin:0 0 12px}
.restore-portal .restore-search-stage .restore-intro{font-size:16px;line-height:1.6;max-width:48ch}
.restore-portal .restore-lookup-grid{margin:0}
.restore-portal .restore-search-stage .restore-lookup-main{padding:0 var(--restore-inset) var(--restore-inset);border:0;border-radius:0;background:none;box-shadow:none;overflow:visible}
.restore-portal .restore-panel-heading{max-width:520px;margin-bottom:16px}
.restore-portal .restore-panel-heading p{font-size:14px;line-height:1.6;margin:0}
.restore-portal .restore-lookup-form{display:grid;gap:18px;max-width:520px;width:100%;margin:0}
.restore-portal .restore-search-fields,.restore-portal .restore-compact-fields{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;width:100%;max-width:var(--restore-form-width)}
.restore-portal .restore-search-field label{margin-bottom:6px;font-size:15px}
.restore-portal .restore-search-field input{margin-top:0!important;min-height:44px}
.restore-portal form label,.restore-portal .restore-compact-fields label{font:500 15px/1.5 var(--dl-font-body,Roboto,Arial,sans-serif);color:#eadbbf}
.restore-portal input:not([type=hidden]):not([type=radio]):not([type=checkbox]),.restore-portal select{height:44px;margin-top:6px;padding:9px 12px;font-size:16px;border-radius:4px}
.restore-portal .restore-compact-fields input{height:44px;margin-top:6px;font-size:16px}
.restore-portal textarea{min-height:96px;font-size:16px}
.restore-portal .restore-form-footer{display:grid;justify-items:start;gap:18px;margin:0;padding-top:18px;border-top:1px solid var(--restore-line)}
.restore-portal .restore-privacy,.restore-portal .restore-field-help{font-size:14px;line-height:1.6}
.restore-portal .restore-search-button{min-width:0}
body .restore-portal .nice_button.modern-auth-submit,body .restore-portal [data-selection-submit]{min-height:48px!important;font-size:16px!important;font-weight:600!important;padding:11px 20px!important}
.restore-portal .restore-results>.restore-hero-results{min-height:0;padding:0;border:0;border-radius:0;background:none;overflow:visible}
.restore-portal .restore-results>.restore-hero-results::before,.restore-portal .restore-results>.restore-hero-results::after{display:none}
.restore-portal .restore-hero-results h1{margin:0;font-size:30px}
.restore-portal .restore-hero-results .restore-eyebrow{margin-bottom:6px}
.restore-portal .restore-result-advice{display:flex;align-items:baseline;gap:10px;padding:12px 16px;margin:0;font-size:14px;line-height:1.6}
.restore-portal .restore-account-result{display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:"character" "identity" "access";width:100%;margin:0;border:1px solid #806136;border-radius:7px;overflow:hidden;background:#17120d;box-shadow:0 10px 28px #0002}
.restore-portal .restore-account-header{grid-area:identity;position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1fr);align-content:start;gap:14px;padding:22px 24px;background:#171b1d;border-bottom:1px solid var(--restore-line)}
.restore-portal .restore-account-header::after{content:"";display:block;position:absolute;z-index:-1;inset:0;pointer-events:none;background:linear-gradient(180deg,#13191bd9,#161a1ce6 65%,#12181a8c),url('/writable/uploads/news/legacy-security-vault-20261108.webp') 68% center/cover no-repeat}
.restore-portal .restore-account-credential{max-width:100%;min-width:0;padding:13px 16px;border:1px solid #786239;border-radius:5px;background:linear-gradient(110deg,#282318ed,#171813e8);box-shadow:inset 0 1px #f3d49a0a}
.restore-portal .restore-account-credential .restore-eyebrow{display:flex;align-items:baseline;gap:9px;margin:0 0 6px;color:#cbbb9d;font:500 14px/1.5 var(--dl-font-body,Roboto,Arial,sans-serif);letter-spacing:0;text-transform:none}
.restore-portal .restore-account-credential .restore-credential-value{display:block;min-height:0;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;color:#f4deb1;font:600 24px/1.4 var(--dl-font-body,Roboto,Arial,sans-serif);overflow-wrap:anywhere}
.restore-portal .restore-account-header .restore-email-hint{display:block;padding:13px 16px;border:1px solid #786239}
.restore-portal .restore-reference-date{padding:0;margin:0;border:0;border-radius:0;background:none}
.restore-portal .restore-reference-date>div{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 14px}
.restore-portal .restore-reference-date span{display:inline-flex;align-items:baseline;gap:9px;font-size:14px;color:var(--restore-muted)}
.restore-portal .restore-reference-date strong{font:600 15px/1.6 var(--dl-font-body,Roboto,Arial,sans-serif);color:#efdab3;font-variant-numeric:tabular-nums}
.restore-portal .restore-journey>.restore-reference-date{display:block;width:fit-content;max-width:100%;margin:0;padding:10px 14px;border:1px solid var(--restore-line);border-radius:5px;background:#201c14}
.restore-portal .restore-account-header .restore-reference-date{padding:12px 16px;border:1px solid #626b5a;border-radius:5px;background:#17201de8}
.restore-portal .restore-account-header .restore-reference-date>div{display:grid;gap:6px}
.restore-portal .restore-account-header .restore-reference-date span{font-size:13px}
.restore-portal .restore-account-grid{display:contents;min-width:0}
.restore-portal .restore-roster,.restore-portal .restore-result-login{padding:22px 24px}
.restore-portal .restore-roster{grid-area:character;background:linear-gradient(105deg,#24302255,#18170f);border-bottom:1px solid var(--restore-line)}
.restore-portal .restore-account-result h3{margin:0 0 16px;font:600 18px/1.4 var(--dl-font-body,Roboto,Arial,sans-serif)}
.restore-portal .restore-character-list{margin:0;padding:0}
.restore-portal li.restore-found-character{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:16px;border:1px solid #6f572f;border-left:3px solid #c4a05a;border-radius:5px;background:linear-gradient(110deg,#282112,#1c180f)}
.restore-portal li.restore-found-character .restore-character-identity{flex:1 1 250px;display:grid;grid-template-columns:48px minmax(0,1fr) auto;grid-template-areas:"portrait name level" "portrait meta level";gap:4px 12px;min-width:0}
.restore-portal li.restore-found-character .restore-character-icon{grid-area:portrait;align-self:start;width:48px;height:48px;margin:0}
.restore-portal li.restore-found-character .restore-character-icon img{width:46px;height:46px}
.restore-portal li.restore-found-character .restore-character-identity>strong{grid-area:name;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal;font-size:21px}
.restore-portal li.restore-found-character .restore-character-meta{grid-area:meta;margin:0;font-size:14px}
.restore-portal li.restore-found-character .restore-level{grid-area:level;justify-self:end;align-self:center;padding:2px 6px;font-size:13px}
.restore-portal li.restore-found-character .restore-character-state{flex:0 1 auto;max-width:100%;white-space:normal}
.restore-portal .restore-character-row .restore-character-identity>strong{font-size:21px}
.restore-portal .restore-character-row .restore-character-meta{font-size:14px}
.restore-portal .restore-character-row .restore-character-state{font-size:13px;padding:4px 8px}
.restore-portal .restore-roster-note{margin:12px 0 0;font-size:14px;line-height:1.6;color:var(--restore-muted)}
.restore-portal .restore-roster-locked{display:flex;align-items:baseline;gap:12px;padding:16px;border:1px dashed #6b552e;border-radius:4px;color:var(--restore-muted);font-size:15px;line-height:1.6}
.restore-portal .restore-roster-locked>i{color:#bfa267}
.restore-portal .restore-result-login{grid-area:access;display:grid;align-content:start;gap:16px;container:restore-access/inline-size}
.restore-portal .restore-result-login>*{margin-top:0;margin-bottom:0}
.restore-portal .restore-result-login>h3{margin:0}
.restore-portal .restore-result-login>.modern-auth-form,.restore-portal .modern-auth-form.restore-inline-form,.restore-portal .modern-auth-card>.modern-auth-form{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;width:100%;max-width:var(--restore-form-width);margin:0;align-items:start}
.restore-portal .restore-result-login>.modern-auth-form>label,.restore-portal .modern-auth-form.restore-inline-form>label{grid-column:1;align-self:start}
.restore-portal .restore-result-login>.modern-auth-form>button,.restore-portal .modern-auth-form.restore-inline-form>.modern-auth-submit,.restore-portal .modern-auth-card>.modern-auth-form>.nice_button{grid-column:1;grid-row:auto;align-self:start;justify-self:start;margin:0}
.restore-portal .restore-result-login .restore-password-note{margin:0;font-size:13px;line-height:1.6;color:var(--restore-muted)}
.restore-portal .restore-result-login>.modern-auth-form input,.restore-portal .restore-email-reset-form input{height:48px}
.restore-portal .restore-result-login .restore-password-control{margin-top:6px}
.restore-portal .restore-result-login :is(.restore-action-full){position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.restore-portal .restore-result-login :is(.restore-action-short){display:inline}
.restore-portal .restore-access-guide{width:100%;margin:0;border:1px solid var(--restore-line);border-radius:5px;background:#16120c}
.restore-portal .restore-access-guide>summary,.restore-portal .restore-access-step>summary{display:flex;align-items:center;gap:9px;min-height:46px;padding:13px 16px;color:#e5cfa3;font:500 15px/1.5 var(--dl-font-body,Roboto,Arial,sans-serif);cursor:pointer}
.restore-portal .restore-access-guide[open]>summary{background:#282013;border-bottom:1px solid var(--restore-line)}
.restore-portal .restore-result-login .restore-access-flow,.restore-portal .restore-disclosure-body{padding:18px}
.restore-portal .restore-access-flow>p,.restore-portal .restore-disclosure-body>p{max-width:65ch;margin:0 0 16px;color:var(--restore-muted);font-size:15px;line-height:1.6}
.restore-portal .restore-recovery-heading{display:flex;align-items:baseline;gap:9px;margin:0 0 10px;font:600 16px/1.5 var(--dl-font-body,Roboto,Arial,sans-serif)}
.restore-portal .restore-access-flow .restore-inline-form{margin:18px 0}
.restore-portal .restore-access-flow .restore-access-step{margin:18px 0 0;border:0;border-top:1px solid var(--restore-line);border-radius:0;background:none}
.restore-portal .restore-access-flow .restore-access-step>summary{padding:14px 0}
.restore-portal .restore-access-step .restore-disclosure-body{padding:4px 0 0}
.restore-portal .restore-access-step .restore-access-step{padding-left:14px;border-top:0;border-left:2px solid #806334}
.restore-portal .restore-guide-boundary{padding:12px 14px;margin:16px 0 0!important;border-left:2px solid #806334;background:#231c11;font-size:14px!important;line-height:1.6}
.restore-portal .restore-journey-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0}
.restore-portal .restore-journey-heading h1{margin:0;font-size:30px}
.restore-portal .restore-proof-badge{padding:7px 11px;font-size:13px;border-radius:4px}
.restore-portal .restore-journey-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;align-items:start}
.restore-portal .restore-character-picker>legend{margin:0 0 8px;font:600 21px/1.4 var(--dl-font-body,Roboto,Arial,sans-serif)}
.restore-portal .restore-journey-help{margin:0 0 20px;font-size:15px;color:var(--restore-muted)}
.restore-portal .restore-roster-group{margin-top:20px}
.restore-portal .restore-roster-group h2{margin:0 0 12px;font-size:14px;gap:9px}
.restore-portal .restore-roster-group h2>span{font-size:13px;min-width:24px;height:24px}
.restore-portal .restore-pick-group h2{color:#b8d4ae}
.restore-portal .restore-record-group{margin-top:24px;padding-top:20px;border-top:1px solid var(--restore-line)}
.restore-portal .restore-journey-cards,.restore-portal .restore-journey-records{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
.restore-portal .restore-hero-character .restore-character-identity,.restore-portal .restore-character-record .restore-character-identity{display:grid;grid-template-columns:48px minmax(0,1fr) auto;grid-template-areas:"portrait name level" "portrait meta level";gap:4px 12px;align-items:center}
.restore-portal .restore-hero-character .restore-character-icon,.restore-portal .restore-character-record .restore-character-icon{width:48px;height:48px;border-radius:5px;align-self:center}
.restore-portal .restore-hero-character .restore-character-icon img,.restore-portal .restore-character-record .restore-character-icon img{width:46px;height:46px}
.restore-portal .restore-hero-character .restore-character-identity>strong{font-size:21px;line-height:1.3;color:#f4e4c3}
.restore-portal .restore-hero-character .restore-character-meta,.restore-portal .restore-character-record .restore-character-meta{font-size:14px;line-height:1.5;color:#c7bca8}
.restore-portal .restore-hero-character .restore-level,.restore-portal .restore-character-record .restore-level{padding:3px 6px;font-size:13px}
.restore-portal .restore-card-reason{font-size:14px;line-height:1.6}
.restore-portal .restore-character-record{display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:"identity" "status" "reason";gap:8px;padding:16px;border:1px solid #4d412e;border-radius:5px;background:#17140e}
.restore-portal .restore-character-record .restore-character-identity>strong{font-size:18px;color:#dfd5c2}
.restore-portal .restore-record-status{margin:0 0 0 60px;padding:0;font-size:14px;line-height:1.5}
.restore-portal .restore-record-reason{margin:0 0 0 60px;max-width:70ch;font-size:14px;line-height:1.6;color:#c2b69f}
.restore-portal .restore-roster-unavailable{font-size:15px;line-height:1.6;padding:16px}
.restore-portal .restore-journey .restore-journey-destination{padding:24px;border:1px solid #806136;border-radius:6px;background:linear-gradient(145deg,#2a2115,#19150f)}
.restore-portal .restore-target-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;padding-bottom:16px;margin-bottom:18px;border-bottom:1px solid var(--restore-line)}
.restore-portal .restore-target-heading h2{margin:0;font:600 19px/1.4 var(--dl-font-body,Roboto,Arial,sans-serif)}
.restore-portal .restore-target-identity{display:flex;align-items:baseline;flex-wrap:wrap;gap:7px 10px;margin:0 0 16px}
.restore-portal .restore-target-identity>i{font-size:16px;color:#d3af5e}
.restore-portal .restore-target-identity>span{font-size:14px;color:var(--restore-muted)}
.restore-portal .restore-target-identity>strong{font:600 23px/1.4 var(--dl-font-body,Roboto,Arial,sans-serif);color:#f2d8a4}
.restore-portal .restore-target-help{max-width:65ch;margin:0 0 18px;font-size:15px;line-height:1.6}
.restore-portal .restore-journey-destination .restore-compact-fields{grid-template-columns:minmax(0,1fr);gap:18px;max-width:none}
.restore-portal [data-restore-selection][data-account-mode=original] [data-current-username]{display:none}
.restore-portal [data-restore-selection][data-account-mode=new] .restore-journey-footer>:is(button,small),.restore-portal [data-restore-selection][data-account-mode=original][data-original-exists="0"] .restore-journey-footer>:is(button,small){display:none!important}
.restore-portal [data-restore-selection]:not([data-account-mode=original]) .restore-target-identity>strong{display:none}
.restore-portal .restore-target-options{max-width:100%;margin:16px 0 18px;padding:14px;border:1px solid var(--restore-line);border-radius:4px;background:#15120c}
.restore-portal .restore-target-options>p{margin:0 0 12px;font-size:14px}
.restore-portal .restore-target-modes{display:flex;flex-wrap:wrap;gap:8px}
.restore-portal .restore-target-modes>button{flex:1 1 auto;padding:10px 12px}
.restore-portal .restore-target-modes button[aria-pressed=true]{outline:2px solid #d8b46a;outline-offset:1px}
.restore-portal .restore-target-back{margin-bottom:16px!important}
.restore-portal .restore-current-factor{padding:14px;background:#bd944914}
.restore-portal .restore-current-factor small{font-size:14px;line-height:1.6;margin:6px 0 10px}
.restore-portal .restore-current-factor input{max-width:180px;font-size:18px!important}
.restore-portal .restore-journey-footer{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px 24px;padding-top:24px;margin:0;border-top:1px solid var(--restore-line)}
.restore-portal .restore-journey-footer>p{margin:0;font:600 17px/1.5 var(--dl-font-body,Roboto,Arial,sans-serif)}
.restore-portal .restore-journey-footer>small{margin:0;max-width:65ch;font-size:14px;line-height:1.6;color:var(--restore-muted)}
.restore-portal .restore-journey-footer>.nice_button{grid-column:2;grid-row:1/3;justify-self:end}
.restore-portal .restore-journey-destination .restore-journey-footer{grid-template-columns:minmax(0,1fr);gap:12px;margin-top:24px;padding-top:20px}
.restore-portal .restore-journey-destination .restore-journey-footer>.nice_button{grid-column:1;grid-row:auto;justify-self:stretch;order:3;width:100%}
.restore-portal .restore-journey-destination [data-selection-feedback]{margin-top:16px}
.restore-portal .restore-journey .restore-name-panel{margin-top:20px;padding:18px;border-radius:5px}
.restore-portal .restore-name-panel h2{font-size:19px}
.restore-portal .restore-name-panel .restore-quiet{font-size:14px;line-height:1.6}
.restore-portal .restore-name-panel:has([data-rename-current]:checked)>.restore-compact-fields{display:none}
.restore-portal .restore-name-panel [data-current-rename]{max-width:var(--restore-form-width)}
.restore-portal .restore-name-panel .restore-own-rename>.restore-disclosure-body{padding:12px 0 0;margin-top:10px}
.restore-portal .restore-own-rename summary,.restore-portal .restore-check{font-size:14px;line-height:1.6}
.restore-portal .modern-auth-card{width:100%;max-width:none;margin:0;padding:28px;border:1px solid #806136;border-radius:6px;background:linear-gradient(110deg,#251c11,#17130d);box-shadow:none}
.restore-portal .modern-auth-card>h1{margin:0 0 14px;font-size:30px}
.restore-portal .modern-auth-card>p{max-width:65ch;margin:0 0 24px;font-size:16px;line-height:1.6}
.restore-portal .restore-refine-notice{display:grid;justify-items:start;gap:20px;padding:24px;border:1px solid var(--restore-line);border-radius:6px;background:#1c160f}
.restore-portal .restore-refine-notice>p{display:flex;align-items:baseline;gap:12px;max-width:65ch;margin:0;font-size:16px;line-height:1.6}
.restore-portal .restore-refine-notice>p>i{color:#dfbb6a}
.restore-portal .restore-empty-hero h1{font-size:32px}
.restore-portal .restore-empty-hero p{max-width:65ch;font-size:16px;line-height:1.6}
.restore-portal .restore-empty-guidance h2{font-size:21px}
.restore-portal .restore-empty-guidance li{display:grid;grid-template-columns:24px minmax(0,1fr);align-items:start;gap:14px}
.restore-portal .restore-empty-guidance li>i{font-size:20px;margin-top:3px}
.restore-portal .restore-empty-guidance li strong{font-size:16px}
.restore-portal .restore-empty-guidance li p{font-size:15px;line-height:1.6}
.restore-portal [data-restore-inline-feedback],.restore-portal [data-selection-feedback]{font-size:15px;line-height:1.6}
.restore-portal .restore-secondary-account .restore-secondary-hints{display:grid;gap:10px}
.restore-portal .restore-secondary-account .restore-secondary-factor-form{grid-template-columns:minmax(0,1fr)}
@container(min-width:880px){
 .restore-portal .modern-auth-card{position:relative;isolation:isolate;overflow:hidden}
 .restore-portal .modern-auth-card::after{content:"";position:absolute;z-index:-1;inset:0;pointer-events:none;background:linear-gradient(270deg,#241b10 48%,#241b10ed 62%,#17140d40),url('/writable/uploads/news/legacy-security-vault-20261108.webp') left center/cover no-repeat;opacity:.65;transform:scaleX(-1)}
 .restore-portal .restore-account-result{grid-template-columns:minmax(260px,.8fr) minmax(0,1.3fr);grid-template-areas:"character character" "identity access"}
 .restore-portal .restore-account-header{height:auto;border-bottom:0;border-right:1px solid var(--restore-line)}
 .restore-portal .restore-account-grid{display:contents}
 .restore-portal .restore-roster{border-bottom:1px solid var(--restore-line)}
 .restore-portal .restore-result-login{grid-column:auto;border-top:0}
 .restore-portal .restore-journey-grid:not(.has-no-choices){grid-template-columns:minmax(0,1.15fr) minmax(360px,.9fr)}
}
@container restore-access (min-width:500px){
 .restore-portal .restore-result-login>.modern-auth-form,.restore-portal .modern-auth-form.restore-email-reset-form{max-width:680px;grid-template-columns:minmax(0,1fr) auto;gap:12px 16px;align-items:end}
 .restore-portal .restore-result-login>.modern-auth-form>button,.restore-portal .modern-auth-form.restore-email-reset-form>.modern-auth-submit{grid-column:2;grid-row:1;align-self:end;margin-block-end:calc((44px - var(--dl-control-min-height,34px))/2)!important}
 .restore-portal .restore-result-login>.modern-auth-form>:is(p,[data-restore-inline-feedback]),.restore-portal .restore-email-reset-form>[data-restore-inline-feedback]{grid-column:1/-1}
}
@media(max-width:760px){
 .restore-portal{--restore-inset:20px;--restore-space:20px}
 .restore-portal .restore-session-bar{padding:14px 20px}
 .restore-portal .restore-session-bar form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;justify-content:stretch}
 .restore-portal .restore-session-bar form>.nice_button{width:100%;--dl-button-padding:10px 8px;--dl-control-font-size:14px}
 .restore-portal .restore-session-bar form>.nice_button:only-of-type{grid-column:1/-1;justify-self:end;max-width:180px}
 .restore-portal .restore-account-header,.restore-portal .restore-roster,.restore-portal .restore-result-login,.restore-portal .restore-journey .restore-journey-destination{padding:20px}
 .restore-portal .restore-journey-heading{align-items:flex-start;flex-direction:column;gap:12px}
 .restore-portal .restore-journey-heading h1,.restore-portal .restore-hero-results h1{font-size:26px}
 .restore-portal .restore-search-stage .restore-hero{padding:22px 20px 18px}
 .restore-portal .restore-search-stage .restore-intro{font-size:15px}
 .restore-portal .restore-search-stage::before,.restore-portal .restore-search-stage::after{display:none}
 .restore-portal li.restore-found-character .restore-character-identity{grid-template-columns:44px minmax(0,1fr);grid-template-areas:"portrait name" "portrait meta" "portrait level";gap:4px 10px}
 .restore-portal li.restore-found-character .restore-character-identity>strong{font-size:20px}
 .restore-portal li.restore-found-character .restore-level{justify-self:start;align-self:start}
 .restore-portal label.restore-hero-character.site-choice{--dl-choice-card-padding:12px;gap:8px 10px}
 .restore-portal .restore-hero-character .restore-character-identity,.restore-portal .restore-character-record .restore-character-identity{grid-template-columns:44px minmax(0,1fr);grid-template-areas:"portrait name" "portrait meta" "portrait level";gap:3px 10px}
 .restore-portal .restore-hero-character .restore-character-icon,.restore-portal .restore-character-record .restore-character-icon{width:44px;height:44px}
 .restore-portal .restore-hero-character .restore-character-icon img,.restore-portal .restore-character-record .restore-character-icon img{width:42px;height:42px}
 .restore-portal .restore-hero-character .restore-character-identity>strong{font-size:20px}
 .restore-portal .restore-hero-character .restore-level,.restore-portal .restore-character-record .restore-level{justify-self:start;align-self:start;padding:1px 5px}
 .restore-portal .restore-record-status,.restore-portal .restore-record-reason{margin-left:54px}
 .restore-portal .restore-target-heading{align-items:flex-start;flex-direction:column}
 .restore-portal .restore-journey-footer{grid-template-columns:minmax(0,1fr);gap:12px}
 .restore-portal .restore-journey-footer>.nice_button{grid-column:1;grid-row:auto;justify-self:start;order:3;margin-top:4px}
 .restore-portal .modern-auth-card{padding:20px}
 .restore-portal .modern-auth-card>h1{font-size:26px}
}
@media(max-width:400px){
 .restore-portal{--restore-inset:16px}
 .restore-portal li.restore-found-character .restore-character-identity>strong{white-space:normal;overflow:visible;overflow-wrap:anywhere}
 .restore-portal .restore-session-full{display:none}.restore-portal .restore-session-short{display:inline}
 .restore-portal .restore-session-action-full{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 .restore-portal .restore-session-action-short{display:inline;white-space:nowrap}
 .restore-portal .restore-session-bar{padding:14px 16px}
 .restore-portal .restore-session-time{font-size:14px}
 .restore-portal .restore-account-header,.restore-portal .restore-roster,.restore-portal .restore-result-login,.restore-portal .restore-journey .restore-journey-destination{padding:16px}
 .restore-portal .restore-record-status,.restore-portal .restore-record-reason{margin-left:0}
 .restore-portal .restore-search-stage .restore-hero{padding-left:16px;padding-right:16px}
 .restore-portal .restore-target-modes{display:grid;grid-template-columns:minmax(0,1fr)}
}


.restore-portal .restore-secondary-access{margin:0;padding:22px 24px;border:1px solid var(--restore-line);border-radius:6px;background:#201a12}
.restore-portal .restore-secondary-access>h2{font:600 21px/1.4 var(--dl-font-body,Roboto,Arial,sans-serif);margin:0 0 8px}
.restore-portal .restore-secondary-access>p{max-width:65ch;margin:0;color:var(--restore-muted);font-size:15px;line-height:1.6}
.restore-portal .restore-secondary-character{margin-top:20px}
.restore-portal .restore-secondary-character>h3{font:600 18px/1.4 var(--dl-font-body,Roboto,Arial,sans-serif);margin:0 0 12px}
.restore-portal .restore-secondary-account{display:grid;gap:18px;padding:18px;border:1px solid var(--restore-line);border-radius:5px;background:#17130d}
.restore-portal .restore-secondary-account+.restore-secondary-account{margin-top:14px}
.restore-portal .restore-secondary-hints{display:grid;align-content:start;gap:16px;margin:0;color:var(--restore-muted);font-size:14px}
.restore-portal .restore-secondary-hints>span{display:block;padding:12px 14px;border:1px solid #786239;border-radius:5px;background:linear-gradient(110deg,#282318ed,#171813e8)}
.restore-portal .restore-secondary-hints strong{display:block;margin-top:4px;color:var(--restore-text);font-size:21px;font-weight:600;overflow-wrap:anywhere}
.restore-portal .restore-secondary-account .restore-inline-form{grid-template-columns:minmax(0,1fr);gap:14px;margin:0;max-width:none}
.restore-portal .restore-secondary-account .restore-access-guide{margin:0}
.restore-portal .restore-secondary-account .restore-guide-content{padding:16px}
.restore-portal .restore-secondary-account .restore-guide-content>p{font-size:14px;line-height:1.6;margin:0 0 16px;color:var(--restore-muted)}
@container(min-width:880px){
 .restore-portal .restore-secondary-account{grid-template-columns:minmax(240px,.8fr) minmax(0,1.3fr);gap:16px 24px}
 .restore-portal .restore-secondary-hints{grid-column:1;grid-row:1/3}
 .restore-portal .restore-secondary-account>:is(form,details){grid-column:2}
}
@media(max-width:760px){.restore-portal .restore-secondary-access{padding:18px}.restore-portal .restore-secondary-account{padding:14px}}

.restore-portal .restore-action-short{display:none}
.restore-portal.restore-registration-return{width:100%;max-width:620px;margin:0 auto 24px;padding:0}
.restore-registration-return .restore-session-bar{margin:0;padding:14px 20px;gap:12px}
.restore-registration-return .restore-session-time{flex-wrap:wrap;gap:8px}
.restore-registration-return .restore-registration-help{margin:0;padding:14px 20px;border:1px solid var(--restore-line);border-top:0;color:var(--restore-muted);font-size:14px;line-height:1.6;text-align:left;background:var(--restore-panel,#17120d)}
.restore-registration-return .restore-flow-action{flex-shrink:0}

/* Native transfer feedback uses the selected class art and confirmed job states. */
.restore-portal .restore-transfer {
  display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:"scene" "heading" "copy";
  --transfer-inset:clamp(16px,4cqi,32px);
  isolation:isolate;position:relative;overflow:hidden;
  border:1px solid #8d703d;border-radius:7px;background:#151b20;box-shadow:0 12px 32px #0003;
}
.restore-portal .restore-transfer::before {
  content:"";position:absolute;z-index:-1;inset:0;pointer-events:none;
  background:linear-gradient(90deg,#11181d88,#15140fee 70%),url('/writable/uploads/news/legacy-security-vault-20261108.webp') center/cover no-repeat;
}
.restore-portal .restore-transfer-scene {
  grid-area:scene;position:relative;display:grid;align-items:center;min-height:275px;isolation:isolate;overflow:hidden;
  background:radial-gradient(ellipse at 50% 65%,#163b49,#0d1721 74%);
}
.restore-portal .restore-transfer-scene::before {
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:linear-gradient(180deg,#0c1a24c6,#0b1625f5 92%),url('/writable/uploads/news/legacy-security-vault-20261108.webp') center/cover no-repeat;
}
.restore-formation-art {position:relative;width:100%;aspect-ratio:560/460;isolation:isolate}
.restore-formation-art canvas {display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.restore-formation-art::before {
  content:"";position:absolute;z-index:-1;inset:19% 9% 4%;pointer-events:none;
  background:radial-gradient(ellipse at 50% 75%,#2ca3c942,transparent 61%);
}
.restore-formation-art:not(.has-pixels):not(.is-settled)::after {
  content:"";position:absolute;inset:auto 20% 11%;height:15%;
  border:1px solid #6fc9cc80;border-radius:50%;
  box-shadow:0 0 31px #50c9e049,inset 0 0 18px #6bdec851;
  animation:restore-formation-ignite .75s ease-out both;
}
.restore-formation-fallback {display:none}
.restore-formation-art.is-settled:not(.has-pixels) .restore-formation-fallback {
  display:block;position:absolute;inset:8% 18% 12%;
  background:url('../images/restore/return-forge.svg') center bottom/contain no-repeat;
}
.restore-formation-dialog {
  position:fixed;inset:0;margin:auto;width:min(630px,calc(100% - 28px));max-height:calc(100dvh - 28px);
  padding:22px clamp(14px,4vw,32px) 24px;box-sizing:border-box;overflow:auto;text-align:center;
  border:1px solid #a1814e;border-radius:10px;color:#efddbc;
  background:radial-gradient(ellipse at 50% 33%,#163441,#0e1822 68%,#18130e);
  box-shadow:0 30px 96px #0009,inset 0 1px #eacb9630;
  font:400 15px/1.55 var(--dl-font-body,Roboto,Arial,sans-serif);
}
.restore-formation-dialog::backdrop {background:#080809df;backdrop-filter:blur(8px)}
body.restore-formation-open {overflow:hidden}
.restore-formation-dialog .restore-formation-art {width:min(100%,460px);margin:0 auto}
.restore-formation-dialog .restore-formation-kicker {margin:0;color:#dfbb79;font-size:11px;font-weight:700;letter-spacing:.17em;text-transform:uppercase}
.restore-formation-dialog h2 {
  margin:3px 0 0;color:#f0dfb6;text-transform:none;font:500 clamp(25px,5.5vw,34px)/1.2 var(--dl-font-display,Cinzel,Georgia,serif);
}
.restore-formation-meter {
  --meter-fill:linear-gradient(90deg,#51a9aa,#9edcd1 70%,#eed39a);
  display:grid;grid-template-columns:minmax(0,1fr) 5ch;align-items:center;gap:5px 12px;
  width:min(100%,420px);margin:0 auto 14px;color:#d4dadd;font-size:12px;text-align:left;
}
.restore-formation-meter-value {justify-self:end;color:#f2d694;font-weight:700;font-variant-numeric:tabular-nums}
.restore-formation-meter progress {
  grid-column:1/-1;appearance:none;box-sizing:border-box;display:block;width:100%;height:9px;overflow:hidden;
  border:1px solid #647074;border-radius:999px;background:#0a1217;
}
.restore-formation-meter progress::-webkit-progress-bar {background:#0a1217}
.restore-formation-meter progress::-webkit-progress-value {border-radius:999px;background:var(--meter-fill)}
.restore-formation-meter progress::-moz-progress-bar {border-radius:999px;background:var(--meter-fill)}
.restore-formation-dialog[data-transfer-phase=waiting_logout] .restore-formation-meter {
  --meter-fill:linear-gradient(90deg,#956b31,#f1c46f);
}
.restore-formation-dialog .restore-formation-status {margin:0;color:#e8dfce;font-size:14px}
.restore-formation-dialog .restore-formation-stay {margin:8px 0 0;color:#b9c6cc;font-size:13px}
.restore-formation-dialog[data-transfer-phase=waiting_logout]{
  border-color:#d9a94f;box-shadow:0 30px 96px #0009,inset 0 1px #ffd78845,0 0 36px #b7824029;
}
.restore-formation-dialog[data-transfer-phase=waiting_logout] .restore-formation-status{
  padding:10px 14px;border:1px solid #9c763c;border-radius:5px;background:#3a2c16;
  color:#ffe1a0;font-size:16px;font-weight:700;
}
.restore-portal [data-progress-awaiting-logout="1"] [data-progress-title]{color:#ffe1a0}
@keyframes restore-formation-ignite {from{opacity:.12;transform:scale(.73)}to{opacity:1;transform:scale(1)}}
.restore-portal .restore-transfer-heading {
  grid-area:heading;align-self:end;min-width:0;padding:var(--transfer-inset) var(--transfer-inset) 0;
}
.restore-portal .restore-transfer-heading h1{margin:0;font-size:clamp(25px,2vw,32px)}
.restore-portal .restore-transfer-heading .restore-eyebrow{margin:0 0 8px;font-size:14px;letter-spacing:.08em}
.restore-portal .restore-transfer-mark,.restore-portal .restore-transfer-mark i{display:none}
.restore-portal .restore-transfer-copy{
  grid-area:copy;align-self:start;min-width:0;padding:16px var(--transfer-inset) var(--transfer-inset);
  display:grid;align-content:center;justify-items:start;gap:16px;
}
.restore-portal .restore-transfer-copy>*{margin:0}
.restore-portal .restore-transfer-copy h2{margin:0 0 10px;font-size:18px;font-weight:500;color:#ecd4a3}
.restore-portal .restore-transfer-copy p{max-width:64ch;font-size:15px;line-height:1.65;color:#d2c7b2}
.restore-portal .restore-transfer-phase[hidden]{display:none!important}
.restore-portal .restore-transfer-actions {display:flex;flex-wrap:wrap;gap:10px;}
.restore-portal .restore-transfer-actions > form {margin:0;}
.restore-portal :is([data-progress-state=completed],[data-progress-state=requires_review]) .restore-transfer-actions {justify-content:center;}
.restore-portal .restore-transfer-actions:not(:has(> :not([hidden]))) {display:none;}
.restore-portal .restore-transfer-update{font-size:13px!important;min-height:21px}
.restore-portal .restore-transfer-update:empty{display:none}
.restore-portal .restore-transfer-update.is-error{padding:12px 14px;border:1px solid #b16c52;border-radius:4px;background:#3b2119;color:#ffd3bd}
.restore-portal .restore-transfer-note{font-size:13px!important;color:#b8af9b!important}
@container(min-width:780px){
  .restore-portal .restore-transfer{
    grid-template-columns:minmax(290px,.9fr) minmax(0,1.1fr);grid-template-areas:"scene heading" "scene copy";
  }
  .restore-portal .restore-transfer-scene{min-height:365px}
}

/* Terminal feedback spans both the portrait and instructions. The emblem owns its row. */
.restore-portal .restore-transfer[data-progress-state=completed]{
  --outcome-accent:#83f1b2;--outcome-text:#e3ffec;--outcome-surface:#113727;--outcome-beacon:#217849;
}
.restore-portal .restore-transfer[data-progress-state=requires_review]{
  --outcome-accent:#ffa29f;--outcome-text:#fff0ed;--outcome-surface:#3f191d;--outcome-beacon:#943341;
}
.restore-portal .restore-transfer:is([data-progress-state=completed],[data-progress-state=requires_review]){
  grid-template-areas:"heading" "copy" "scene";grid-template-columns:minmax(0,1fr);
  border-color:var(--outcome-accent);background:var(--outcome-surface);
  box-shadow:0 0 32px color-mix(in srgb,var(--outcome-accent) 19%,transparent),0 12px 32px #0004;
}
.restore-portal .restore-transfer:is([data-progress-state=completed],[data-progress-state=requires_review])::before{
  background:linear-gradient(100deg,color-mix(in srgb,var(--outcome-surface) 65%,transparent),var(--outcome-surface) 88%),
    url('/writable/uploads/news/legacy-security-vault-20261108.webp') center/cover no-repeat;
}
.restore-portal :is([data-progress-state=completed],[data-progress-state=requires_review]) .restore-transfer-heading{
  align-self:stretch;display:grid;justify-items:center;gap:8px;padding:clamp(16px,3cqi,28px) var(--transfer-inset);
  text-align:center;color:var(--outcome-text);
  border-bottom:1px solid color-mix(in srgb,var(--outcome-accent) 55%,transparent);
  background:radial-gradient(ellipse at 50% 0%,var(--outcome-beacon),var(--outcome-surface) 95%);
}
.restore-portal :is([data-progress-state=completed],[data-progress-state=requires_review]) .restore-transfer-heading h1{
  color:inherit;font-size:clamp(21px,4.6cqi,34px);font-weight:600;
}
.restore-portal :is([data-progress-state=completed],[data-progress-state=requires_review]) .restore-transfer-heading .restore-eyebrow{
  margin:0;color:var(--outcome-accent);font-size:12px;overflow-wrap:anywhere;
}
.restore-portal :is([data-progress-state=completed],[data-progress-state=requires_review]) .restore-transfer-mark{
  display:grid;place-items:center;width:clamp(46px,8cqi,62px);aspect-ratio:1;margin-bottom:4px;
  border:1px solid var(--outcome-text);border-radius:50%;font-size:clamp(23px,4cqi,31px);
  color:var(--outcome-surface);background:var(--outcome-accent);
  box-shadow:0 0 0 5px color-mix(in srgb,var(--outcome-accent) 20%,transparent),
    0 0 32px color-mix(in srgb,var(--outcome-accent) 46%,transparent);
}
.restore-portal [data-progress-state=completed] .restore-transfer-success-icon,
.restore-portal [data-progress-state=requires_review] .restore-transfer-review-icon{display:block}
.restore-portal :is([data-progress-state=completed],[data-progress-state=requires_review]) .restore-transfer-copy{
  align-self:center;justify-items:center;text-align:center;padding:var(--transfer-inset);
}
.restore-portal :is([data-progress-state=completed],[data-progress-state=requires_review]) .restore-transfer-copy :is(h2,p){
  color:var(--outcome-text);
}
.restore-portal :is([data-progress-state=completed],[data-progress-state=requires_review]) .restore-transfer-scene{
  min-height:0;background:transparent;
}
.restore-portal :is([data-progress-state=completed],[data-progress-state=requires_review]) .restore-transfer-scene::before{
  background:radial-gradient(ellipse at 50% 72%,var(--outcome-beacon),transparent 68%);
}
.restore-portal :is([data-progress-state=completed],[data-progress-state=requires_review]) .restore-transfer-scene .restore-formation-art{
  width:min(100%,240px);margin-inline:auto;
}
.restore-portal [data-progress-state=requires_review] .restore-formation-art{filter:saturate(.55)}
.restore-portal [data-progress-state=requires_review] .restore-transfer-scene:not(:has(.has-pixels)){display:none}
@container(min-width:620px){
  .restore-portal .restore-transfer:is([data-progress-state=completed],[data-progress-state=requires_review]){
    grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);grid-template-areas:"heading heading" "scene copy";
  }
  .restore-portal :is([data-progress-state=completed],[data-progress-state=requires_review]) .restore-transfer-scene .restore-formation-art{
    width:min(100%,340px);
  }
  .restore-portal [data-progress-state=requires_review]:not(:has(.has-pixels)){
    grid-template-areas:"heading heading" "copy copy";
  }
}
@media(prefers-reduced-motion:reduce){
  .restore-formation-art:not(.has-pixels)::after{animation:none}
  .restore-portal .restore-search-art::after{transition:none}
  .restore-portal [data-progress-state=requires_review] .restore-transfer-scene{display:none}
  @container(min-width:620px){
    .restore-portal .restore-transfer[data-progress-state=requires_review]{grid-template-areas:"heading heading" "copy copy"}
  }
}
@media(max-width:480px){
 .restore-portal .restore-transfer-actions>[data-progress-support],
 .restore-portal [data-progress-support]>button{width:100%}
 .restore-portal .restore-action-full{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 .restore-portal .restore-action-short{display:inline;white-space:nowrap}
}
