/* An account dialog sized for reading, with subscription and device tools apart. */
#hzn-account-dialog.hzn-account-panel{--ac-bg:#f9fbfc;--ac-card:#eaf0f4;--ac-ink:#193447;--ac-muted:#526b7c;--ac-border:#bacbd5;--ac-accent:#117d83;--ac-button-ink:#fff;inset-block-start:16px;inset-block-end:auto;margin-block:0;margin-inline:auto;width:min(900px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);padding:0;border:1px solid var(--ac-border);border-radius:22px;background:var(--ac-bg);color:var(--ac-ink);box-shadow:0 24px 90px #0005;font-size:clamp(16px,1.5vw,19px);line-height:1.55;overflow:auto;box-sizing:border-box}
#hzn-account-dialog::backdrop{background:#08151ec2;backdrop-filter:blur(5px)}
body[data-hzn-tone="dark"] #hzn-account-dialog.hzn-account-panel,body[data-theme="dark"] #hzn-account-dialog.hzn-account-panel,html[data-theme="dark"] #hzn-account-dialog.hzn-account-panel,body.dark #hzn-account-dialog.hzn-account-panel{--ac-bg:#101b23;--ac-card:#223542;--ac-ink:#edf4f7;--ac-muted:#b4c7d3;--ac-border:#486170;--ac-accent:#59bdbd;--ac-button-ink:#072027}
#hzn-account-dialog .hzn-dialog-head{position:sticky;top:0;z-index:3;background:var(--ac-bg);border-bottom:1px solid var(--ac-border);margin:0;padding:14px 24px;display:flex;align-items:center;justify-content:space-between;gap:18px}
#hzn-account-dialog .hzn-dialog-head h2{margin:0;font-size:1.35em;font-weight:700;color:var(--ac-ink)}
#hzn-account-dialog .hzn-dialog-close{min-height:40px;padding:6px 16px;flex:none}
#hzn-account-dialog .hzn-account-layout{padding:20px 24px 12px}
#hzn-account-dialog .hzn-account-banner{display:flex;align-items:center;gap:16px;padding:0 0 16px}
#hzn-account-dialog .hzn-account-mark{display:grid;place-items:center;width:55px;height:55px;flex:none;border:1px solid var(--ac-border);border-radius:17px;color:var(--ac-accent);background:var(--ac-card);font:35px/1 sans-serif}
#hzn-account-dialog .hzn-account-banner h3{font-size:1.4em;line-height:1.3;margin:0 0 4px;color:var(--ac-ink)}
#hzn-account-dialog .hzn-account-banner p{margin:0;font-size:.9em;color:var(--ac-muted)}
#hzn-account-dialog[data-account-pane="profiles"] .hzn-account-banner{display:none}
#hzn-account-dialog .hzn-account-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:6px;border-radius:14px;background:var(--ac-card);margin-bottom:16px}
#hzn-account-dialog button,#hzn-account-dialog .hzn-account-link{font:inherit;cursor:pointer;box-sizing:border-box}
#hzn-account-dialog .hzn-account-tabs button{min-width:0;min-height:42px;border:0;border-radius:10px;background:transparent;color:var(--ac-muted);padding:7px 12px;line-height:1.4}
/* Keep the device tab still while subscription capabilities load. */
#hzn-account-dialog .hzn-account-tabs [data-account-tab="overview"]{grid-column:1;grid-row:1}
#hzn-account-dialog .hzn-account-tabs [data-account-tab="manage"]{grid-column:2;grid-row:1}
#hzn-account-dialog .hzn-account-tabs [data-account-tab="progress"]{grid-column:3;grid-row:1}
#hzn-account-dialog .hzn-account-tabs [data-account-tab="profiles"]{grid-column:4;grid-row:1}
#hzn-account-dialog .hzn-account-tabs:has([data-account-tab="progress"][hidden]) [data-account-tab="overview"]{grid-column:1 / span 2}
#hzn-account-dialog .hzn-account-tabs:has([data-account-tab="progress"][hidden]) [data-account-tab="manage"]{grid-column:3}
#hzn-account-dialog .hzn-account-tabs:has([data-account-tab="manage"][hidden]) [data-account-tab="overview"]{grid-column:1 / span 3}
#hzn-account-dialog .hzn-account-tabs button[aria-current="page"]{background:var(--ac-bg);color:var(--ac-ink);box-shadow:0 2px 7px #08151e1f;font-weight:700}
#hzn-account-dialog [hidden],#hzn-account-dialog.hzn-account-panel > #hzn-account-help{display:none!important}
#hzn-account-dialog .hzn-account-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0}
#hzn-account-dialog .hzn-account-facts > div{background:var(--ac-card);border:1px solid var(--ac-border);border-radius:12px;padding:10px 16px;min-width:0}
#hzn-account-dialog .hzn-account-facts dt{font-size:.8em;color:var(--ac-muted);line-height:1.5}
#hzn-account-dialog .hzn-account-facts dd{margin:2px 0 0;font-size:1.03em;font-weight:700;overflow-wrap:anywhere;color:var(--ac-ink)}
#hzn-account-dialog .hzn-account-note{margin:12px 0;color:var(--ac-muted);font-size:.92em;line-height:1.6}
#hzn-account-dialog .hzn-account-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:14px 0 8px}
#hzn-account-dialog .primary{border:1px solid var(--ac-accent);background:var(--ac-accent);color:var(--ac-button-ink);padding:9px 20px;border-radius:10px;min-height:42px}
#hzn-account-dialog .secondary,#hzn-account-dialog .hzn-account-link{background:var(--ac-bg);color:var(--ac-ink);border:1px solid var(--ac-border);border-radius:10px;padding:8px 16px;text-decoration:none;min-height:40px;display:inline-flex;align-items:center;justify-content:center}
#hzn-account-dialog .hzn-account-footer{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;border-top:1px solid var(--ac-border);padding-top:10px;margin-top:16px}
#hzn-account-dialog .hzn-account-text{border:0;background:transparent;color:var(--ac-muted);font-size:.84em;padding:5px 0;text-decoration:underline;text-underline-offset:4px;min-height:34px}
#hzn-account-dialog .hzn-account-status{color:var(--ac-muted);font-size:.88em;margin:4px 0 12px}
#hzn-account-dialog .hzn-account-status:empty{display:none}
#hzn-account-dialog :focus-visible{outline:3px solid var(--ac-accent);outline-offset:3px}
#hzn-account-dialog #learner-toolbar{display:flex;flex-direction:row;flex-wrap:wrap;gap:10px;align-items:center;background:var(--ac-card);border:1px solid var(--ac-border);border-radius:12px;padding:15px;margin:12px 0}
#hzn-account-dialog #learner-toolbar label{color:var(--ac-ink);flex:none}
#hzn-account-dialog #learner-manage{display:none}
#hzn-account-dialog #learner-online-status{display:none}
#hzn-account-dialog #learner-toolbar select{font:inherit;flex:1 1 160px;min-width:0;max-width:none;width:auto;height:44px;box-sizing:border-box;padding:8px 12px;background:var(--ac-bg);color:var(--ac-ink);border:1px solid var(--ac-border);border-radius:9px}
#hzn-account-dialog #learner-save-status{flex-basis:100%;color:var(--ac-muted);font-size:.8em}
#hzn-account-dialog .hzn-device-heading{font-size:1.12em;line-height:1.4;margin:0;color:var(--ac-ink)}
#hzn-account-dialog .hzn-device-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-block:14px 6px}
#hzn-account-dialog .hzn-device-action{display:flex;align-items:flex-start;gap:10px;padding:14px 12px;text-align:start;background:var(--ac-bg);color:var(--ac-ink);border:1px solid var(--ac-border);border-radius:12px;line-height:1.5;min-width:0}
#hzn-account-dialog .hzn-device-action:hover{background:var(--ac-card);border-color:var(--ac-accent)}
#hzn-account-dialog .hzn-device-action-icon{color:var(--ac-accent);flex:none;padding-top:2px}
#hzn-account-dialog .hzn-device-action strong{display:block;font-size:.95em;font-weight:700}
#hzn-account-dialog .hzn-device-action strong + span{display:block;color:var(--ac-muted);font-size:.82em;line-height:1.55;margin-top:5px}
#hzn-account-dialog .institution-progress{margin:0;padding:0;border:0;font:inherit}
#hzn-account-dialog .institution-progress h2{font-size:1.15em;margin:0 0 8px}
#hzn-account-dialog .institution-progress h3{font-size:1.08em}
#hzn-account-dialog .institution-progress input,#hzn-account-dialog .institution-progress select{padding:9px 12px;border:1px solid var(--ac-border);border-radius:9px;background:var(--ac-bg);color:var(--ac-ink);font:inherit}
#hzn-account-dialog .institution-progress .sync-note{font-size:.85em;color:var(--ac-muted)}
#hzn-account-dialog .institution-progress th,#hzn-account-dialog .institution-progress td{padding:8px;min-width:0;font-size:.85em;border-color:var(--ac-border)}
/* Native device actions keep their original handlers and confirmations. */
#settings.hzn-device-settings,body.hzn-focus #settings.hzn-device-settings{--ac-bg:#f9fbfc;--ac-card:#eaf0f4;--ac-ink:#193447;--ac-muted:#526b7c;--ac-border:#bacbd5;--ac-accent:#117d83;--ac-button-ink:#fff;--ac-danger:#a53942;width:min(800px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);box-sizing:border-box;overflow:auto;font-size:clamp(16px,1.4vw,19px);background:var(--ac-bg);color:var(--ac-ink);border:1px solid var(--ac-border);border-radius:18px}
body[data-hzn-tone="dark"] #settings.hzn-device-settings,body[data-theme="dark"] #settings.hzn-device-settings,html[data-theme="dark"] #settings.hzn-device-settings,body.dark #settings.hzn-device-settings{--ac-bg:#101b23;--ac-card:#223542;--ac-ink:#edf4f7;--ac-muted:#b4c7d3;--ac-border:#486170;--ac-accent:#59bdbd;--ac-button-ink:#072027;--ac-danger:#ffb1b6}
#settings.hzn-device-settings .dialog-head h2{color:var(--ac-ink);font-size:1.25em;line-height:1.4}
#settings.hzn-device-settings button{font:inherit;line-height:1.5}
#settings.hzn-device-settings .secondary,#settings.hzn-device-settings .icon-button{color:var(--ac-ink);background:var(--ac-bg);border:1px solid var(--ac-border);border-radius:9px;padding:8px 14px;min-height:40px}
#settings.hzn-device-settings .primary{color:var(--ac-button-ink);background:var(--ac-accent);border:1px solid var(--ac-accent);border-radius:9px;padding:8px 14px;min-height:40px}
#settings.hzn-device-settings .setting-section{background:var(--ac-card);border:1px solid var(--ac-border);color:var(--ac-ink)}
#settings.hzn-device-settings .setting-section p:not([role="alert"]){color:var(--ac-muted)}
#settings.hzn-device-settings #hzn-language-dock,#settings.hzn-device-settings #hzn-utility-dock,#settings.hzn-device-settings .author-credit{display:none!important}
#settings.hzn-device-settings #settings-content > .setting-section:not(.online-settings):not(.hzn-local-backup),#settings.hzn-device-settings #settings-content > .typography-settings{display:none!important}
#settings.hzn-device-settings .learner-settings > p:not([role="alert"]):not(.hzn-device-delete-hint){display:none}
#settings.hzn-device-settings .hzn-account-details{border:0;padding:0}
#settings.hzn-device-settings .hzn-account-details > summary{display:none}
#settings.hzn-device-settings .setting-section{margin-block:12px;padding:12px 16px;border-radius:12px}
#settings.hzn-device-settings .learner-actions{display:flex;flex-wrap:wrap;gap:8px}
#settings.hzn-device-settings #learner-name{width:100%;max-width:100%;font:inherit;box-sizing:border-box;min-height:44px;padding:9px 12px;background:var(--ac-bg);color:var(--ac-ink);border:1px solid var(--ac-border);border-radius:9px}
#settings.hzn-device-settings #learner-name::placeholder{color:var(--ac-muted);opacity:1}
#settings.hzn-device-settings[data-device-pane="profiles"] .hzn-device-section:not([data-device-section="profiles"]),#settings.hzn-device-settings[data-device-pane="backup"] .hzn-device-section:not([data-device-section="backup"]),#settings.hzn-device-settings[data-device-pane="sync"] .hzn-device-section:not([data-device-section="sync"]),#settings.hzn-device-settings:not([data-device-pane="profiles"]) .hzn-account-details{display:none!important}
.hzn-device-back{display:none!important}
#settings.hzn-device-settings .hzn-device-back{display:inline-flex!important;align-items:center;min-height:40px;padding:6px 14px;margin-bottom:8px;font:inherit}
#settings.hzn-device-settings .hzn-device-section > h3{display:none}
#settings.hzn-device-settings .learner-settings label{display:block;margin-bottom:6px;font-weight:700}
#settings.hzn-device-settings .learner-actions{margin-top:14px}
#settings.hzn-device-settings #learner-delete{flex-basis:100%;text-align:start;padding-top:16px;margin-top:8px;background:transparent;color:var(--ac-danger);border:0;border-top:1px solid var(--ac-border)}
#settings.hzn-device-settings .hzn-device-delete-hint{font-size:.87em;line-height:1.6;margin-block:4px 0;color:var(--ac-muted)}
#settings.hzn-device-settings .hzn-local-backup > p:not([role="alert"]):not(.hzn-device-restore-hint){display:none}
#settings.hzn-device-settings .hzn-device-restore-hint{font-size:.92em;line-height:1.6;margin-block:0 16px}
#settings.hzn-device-settings #export-progress,#settings.hzn-device-settings #restore-progress{min-height:44px;font:inherit;margin:0 0 8px;padding:9px 16px}
#settings.hzn-device-settings #reset-progress{display:block;margin-top:12px;padding-top:16px;background:transparent;color:var(--ac-danger);border:0;border-top:1px solid var(--ac-border);text-align:start;font:inherit}
#settings.hzn-device-settings .hzn-device-fold{border:1px solid var(--border,#a7beca);border-radius:12px;margin-block:12px;padding:10px 16px}
#settings.hzn-device-settings .hzn-device-fold > summary{cursor:pointer;font-weight:700;line-height:1.6;min-height:32px}
#settings.hzn-device-settings .hzn-device-fold .setting-section{padding:8px 0;margin:0;border:0}
#settings.hzn-device-settings .hzn-device-fold .setting-section > h3{display:none}
/* Shared roster component, including the existing account page. */
.hzn-membership-roster{font:inherit;max-width:100%;min-width:0}
.hzn-membership-roster *{box-sizing:border-box}
.hzn-membership-roster h2{font-size:1.12em;line-height:1.4;margin:0 0 12px}
.hzn-membership-search{display:grid;gap:5px;font-size:.85em;color:var(--ac-muted,var(--muted,#526b7c))}
.hzn-membership-search input{width:100%;font:inherit;padding:9px 12px;border:1px solid var(--ac-border,var(--border,#bacbd5));border-radius:9px;background:var(--ac-bg,var(--surface,#fff));color:var(--ac-ink,var(--ink,#193447))}
.hzn-membership-summary{display:flex;gap:15px;justify-content:space-between;align-items:center;margin-bottom:10px}
.hzn-membership-summary h2{margin:0;font-size:1.1em}
.hzn-membership-count{padding:3px 12px;background:var(--ac-card,var(--surface,#eaf0f4));border:1px solid var(--ac-border,var(--border,#bacbd5));border-radius:30px;font-size:.9em;white-space:nowrap}
.hzn-membership-status:empty{display:none}
.hzn-membership-list{list-style:none;padding:0;margin:12px 0;max-height:280px;overflow:auto;scrollbar-gutter:stable}
.hzn-membership-list li{display:flex;align-items:center;flex-wrap:wrap;gap:12px;justify-content:space-between;padding:9px 12px;background:var(--ac-card,var(--surface,#eaf0f4));border:1px solid var(--ac-border,var(--border,#bacbd5));border-radius:10px;margin:7px 0;min-width:0}
.hzn-membership-list bdi{flex:1 1 200px;min-width:0;overflow-wrap:anywhere;line-height:1.5}
.hzn-membership-list li > button{font:inherit;padding:5px 12px;font-size:.85em}
.hzn-membership-list .hzn-membership-confirmation{flex-basis:100%;line-height:1.5;border-top:1px solid var(--ac-border,var(--border,#bacbd5));padding-top:10px}
.hzn-membership-pages{display:flex;gap:12px;align-items:center;justify-content:center;font-size:.85em;margin:10px 0}
.hzn-membership-pages button{font:inherit;padding:5px 12px}
.hzn-membership-invite{display:grid;grid-template-columns:1fr 1fr auto;align-items:end;gap:10px;border-top:1px solid var(--ac-border,var(--border,#bacbd5));padding-top:14px;margin-top:12px}
.hzn-membership-invite label{display:grid;gap:5px;font-size:.85em;min-width:0}
.hzn-membership-invite input[type="email"]{width:100%;min-width:0;font:inherit;background:var(--ac-bg,var(--surface,#fff));color:var(--ac-ink,var(--ink,#193447));border:1px solid var(--ac-border,var(--border,#bacbd5));border-radius:9px;padding:8px 10px;direction:ltr}
.hzn-membership-invite p,.hzn-membership-invite label:has(input[type="checkbox"]){grid-column:1/-1;margin:0;font-size:.85em;line-height:1.6}
.hzn-membership-invite label:has(input[type="checkbox"]){display:flex;align-items:flex-start;gap:10px}
.hzn-membership-invite input[type="checkbox"]{flex:none;margin-top:5px}
.hzn-membership-manager [hidden]{display:none!important}
@media(max-width:650px){#hzn-account-dialog.hzn-account-panel{inset-block-start:10px;width:calc(100vw - 20px);max-height:calc(100dvh - 20px);border-radius:16px}#hzn-account-dialog .hzn-dialog-head{padding:12px 16px}#hzn-account-dialog .hzn-account-layout{padding:16px}#hzn-account-dialog .hzn-account-banner h3{font-size:1.25em}#hzn-account-dialog .hzn-account-tabs button{flex-basis:40%;font-size:.9em;padding:7px 8px}#hzn-account-dialog .hzn-account-facts{grid-template-columns:1fr}#hzn-account-dialog .hzn-account-facts > div{padding:8px 12px}#hzn-account-dialog .hzn-account-footer{gap:6px;flex-direction:column}#hzn-account-dialog .hzn-account-footer button{text-align:start}.hzn-membership-invite{grid-template-columns:1fr 1fr}.hzn-membership-invite > button{grid-column:1/-1}.hzn-membership-list{max-height:250px}.hzn-membership-pages{gap:6px}}
@media(prefers-reduced-motion:reduce){#hzn-account-dialog *{scroll-behavior:auto!important;transition:none!important}}
@media(max-width:650px){#hzn-account-dialog .hzn-device-actions{grid-template-columns:1fr}#hzn-account-dialog .hzn-device-action{padding:10px 12px}#settings.hzn-device-settings{width:calc(100vw - 20px);padding:16px}#settings.hzn-device-settings #export-progress,#settings.hzn-device-settings #restore-progress{display:block;width:100%}}
@media(min-width:651px) and (max-height:700px){#hzn-account-dialog .hzn-dialog-head{padding-block:7px}#hzn-account-dialog .hzn-account-layout{padding-block:14px 8px}#hzn-account-dialog .hzn-account-banner{padding-bottom:8px}#hzn-account-dialog .hzn-account-banner h3{font-size:1.25em;margin-bottom:2px}#hzn-account-dialog .hzn-account-banner p{font-size:.8em}#hzn-account-dialog .hzn-account-tabs{padding:4px;margin-bottom:12px}#hzn-account-dialog .hzn-account-facts > div{padding-block:6px}#hzn-account-dialog .hzn-account-note{margin-block:8px}#hzn-account-dialog .hzn-account-actions{margin-block:10px 4px}#hzn-account-dialog .primary{line-height:1.4;padding-block:7px}#hzn-account-dialog .hzn-account-footer{margin-top:10px;padding-top:7px}}
#hzn-account-dialog .hzn-membership-invite > button{background:var(--ac-accent);color:var(--ac-button-ink);border:1px solid var(--ac-accent);border-radius:9px;padding:8px 14px;line-height:1.4;min-height:40px}
#hzn-account-dialog .hzn-membership-list li > button{background:transparent;color:var(--ac-muted);border:1px solid var(--ac-border);border-radius:8px;line-height:1.3;min-height:32px}
@media(min-width:950px){#hzn-account-dialog #hzn-account-manage.hzn-membership-manager{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:8px 18px}#hzn-account-dialog #hzn-account-manage > .hzn-membership-summary,#hzn-account-dialog #hzn-account-manage > .hzn-membership-status{grid-column:1/-1}#hzn-account-dialog #hzn-account-manage .hzn-membership-list{max-height:min(280px,calc(100dvh - 420px));min-height:90px;margin-bottom:0}#hzn-account-dialog #hzn-account-manage .hzn-membership-invite{display:flex;flex-direction:column;align-items:stretch;border-top:0;border-inline-start:1px solid var(--ac-border);padding:0;padding-inline-start:18px;margin:0}#hzn-account-dialog #hzn-account-manage .hzn-membership-invite button{margin-top:4px}#hzn-account-dialog #hzn-account-manage .hzn-membership-summary{margin-bottom:0}}
/* An actual waiting update is announced before the learner starts a lesson. */
#hzn-update-notice,.hzn-update-helper-page{--up-bg:#f9fbfc;--up-card:#eaf0f4;--up-ink:#193447;--up-muted:#526b7c;--up-border:#bacbd5;--up-accent:#117d83;--up-button-ink:#fff;--up-danger:#a53942}
body[data-hzn-tone="dark"] #hzn-update-notice,body[data-theme="dark"] #hzn-update-notice,html[data-theme="dark"] #hzn-update-notice,body.dark #hzn-update-notice,.hzn-update-helper-page[data-hzn-tone="dark"]{--up-bg:#101b23;--up-card:#223542;--up-ink:#edf4f7;--up-muted:#b4c7d3;--up-border:#486170;--up-accent:#59bdbd;--up-button-ink:#072027;--up-danger:#ffb1b6}
#hzn-update-notice{width:min(540px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);box-sizing:border-box;overflow:auto;background:var(--up-bg);color:var(--up-ink);border:1px solid var(--up-border);border-radius:20px;padding:28px;font:inherit;font-size:clamp(17px,1.5vw,20px);line-height:1.7;box-shadow:0 24px 70px #0004}
#hzn-update-notice::backdrop{background:#06111bb3}
#hzn-update-notice h2{font-size:1.35em;line-height:1.45;margin:0 0 12px;color:var(--up-ink)}
#hzn-update-notice p,.hzn-update-helper p{margin:0 0 20px;color:var(--up-muted);line-height:1.7}
#hzn-update-notice [data-update-error],.hzn-update-helper [data-update-error]{color:var(--up-danger)}
.hzn-update-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
#hzn-update-notice button,.hzn-update-helper button{font:inherit;line-height:1.5;border:1px solid var(--up-accent);border-radius:11px;padding:10px 20px;min-height:46px;background:var(--up-accent);color:var(--up-button-ink);cursor:pointer}
#hzn-update-notice button.secondary,.hzn-update-helper button.secondary{border-color:var(--up-border);background:var(--up-card);color:var(--up-ink)}
#hzn-update-notice button:disabled,.hzn-update-helper button:disabled{opacity:.65;cursor:wait}
#hzn-update-button{background:#117d83;color:#fff;border:1px solid #51b4b8;border-radius:12px;padding:8px 12px;font:inherit;line-height:1.3;min-height:44px;cursor:pointer;flex:none}
body[data-hzn-tone="dark"] #hzn-update-button{background:#59bdbd;color:#072027}
#hzn-update-button[hidden],#hzn-update-notice [hidden],.hzn-update-helper [hidden]{display:none!important}
.hzn-update-helper-page{margin:0;min-height:100dvh;display:grid;place-items:center;padding:24px;box-sizing:border-box;background:var(--up-card);color:var(--up-ink);font:18px/1.7 Arial,sans-serif}
.hzn-update-helper{box-sizing:border-box;width:min(100%,580px);padding:32px;background:var(--up-bg);border:1px solid var(--up-border);border-radius:22px;box-shadow:0 16px 60px #0001}
.hzn-update-brand{display:block;letter-spacing:.22em;font-size:14px;font-weight:800;color:var(--up-ink);direction:ltr}
.hzn-update-symbol{font:48px/1.2 Arial,sans-serif;color:var(--up-accent);margin-top:22px}
.hzn-update-helper h1{font-size:1.45em;line-height:1.4;margin:14px 0 12px}
@media(max-width:650px){#hzn-update-notice{width:calc(100vw - 20px);padding:22px}.hzn-update-helper-page{padding:14px}.hzn-update-helper{padding:24px}.hzn-update-actions{align-items:stretch}.hzn-update-actions button{flex:1 1 120px}#hzn-update-button{max-width:110px;font-size:.86em;padding:6px 9px}}
#hzn-update-button{width:44px;height:44px;padding:0;font:28px/1 Arial,sans-serif;display:inline-flex;align-items:center;justify-content:center;border-radius:50%}
#hzn-update-notice .hzn-update-actions{margin-top:8px}
.preview-note[data-update-ready="true"]{display:none}

@media(max-width:650px){
#hzn-account-dialog .hzn-account-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}
#hzn-account-dialog .hzn-account-tabs [data-account-tab="overview"],#hzn-account-dialog .hzn-account-tabs:has([data-account-tab="progress"][hidden]) [data-account-tab="overview"],#hzn-account-dialog .hzn-account-tabs:has([data-account-tab="manage"][hidden]) [data-account-tab="overview"]{grid-area:1 / 1}
#hzn-account-dialog .hzn-account-tabs [data-account-tab="profiles"]{grid-area:1 / 2}
#hzn-account-dialog .hzn-account-tabs [data-account-tab="manage"],#hzn-account-dialog .hzn-account-tabs:has([data-account-tab="progress"][hidden]) [data-account-tab="manage"]{grid-area:2 / 1}
#hzn-account-dialog .hzn-account-tabs [data-account-tab="progress"]{grid-area:2 / 2}
}
