:root { color-scheme:light; --background:var(--theme-background); --surface:var(--theme-surface); --raised:var(--theme-raised); --inset:var(--theme-inset); --ink:var(--theme-ink); --text:var(--theme-text); --muted:var(--theme-muted); --line:var(--theme-line); --accent:var(--theme-accent); --accent-soft:var(--theme-accent-soft); --accent-ink:var(--theme-accent-ink); --error:#a93e4b; --error-soft:#fff0f2; --success:#357562; font-family:Cabin,'Trebuchet MS',Arial,sans-serif; }
html[data-theme="dark"] { color-scheme:dark; --error:#f0a0a7; --error-soft:#432e38; --success:#a4cbbb; }
* { box-sizing:border-box; }
[hidden] { display:none!important; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
body { margin:0; min-width:280px; min-height:100svh; display:flex; flex-direction:column; background:var(--background); color:var(--text); font-size:14px; line-height:1.65; }
button,input,select,textarea { font:inherit; }
button,a { -webkit-tap-highlight-color:transparent; touch-action:manipulation; }
button { cursor:pointer; }
button:disabled { cursor:default; opacity:.55; }
a { color:var(--accent); text-decoration:underline; text-underline-offset:3px; }
a:hover { color:var(--theme-accent-hover); }
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible { outline:2px solid var(--accent); outline-offset:3px; }
.icon { width:18px; height:18px; flex:0 0 18px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; vertical-align:middle; }
.site-header { display:flex; align-items:center; gap:28px; min-height:76px; padding:16px 32px; background:var(--surface); }
.brand { display:inline-flex; align-items:center; gap:10px; color:var(--brand-blue); text-decoration:none; font-size:25px; letter-spacing:-.9px; font-weight:650; line-height:1; }
html[data-theme="dark"] .brand { color:var(--ink); }
.brand img { display:block; border-radius:13px; }
.main-nav,.header-actions { display:flex; align-items:center; flex-wrap:wrap; gap:8px; }
.header-actions { margin-left:auto; }
.main-nav a { display:inline-flex; align-items:center; gap:8px; min-height:40px; padding:8px 13px; border:1px solid var(--line); border-radius:12px; background:var(--raised); color:var(--text); text-decoration:none; font-size:13px; }
.main-nav a[aria-current="page"] { color:var(--ink); background:var(--accent-soft); border-color:var(--accent); box-shadow:inset 0 0 0 1px var(--accent); }
.main-nav a:hover { background:var(--accent-soft); border-color:var(--accent); }
.nav-label-short { display:none; }
.button,.icon-button { display:inline-flex; align-items:center; justify-content:center; gap:9px; min-height:42px; padding:10px 16px; border:1px solid var(--line); border-radius:12px; background:var(--raised); color:var(--ink); text-decoration:none; font-size:13px; font-weight:500; line-height:1.4; }
.button:hover,.icon-button:hover { border-color:var(--accent); background:var(--accent-soft); }
.button.primary { background:var(--accent); border-color:var(--accent); color:var(--accent-ink); box-shadow:0 3px 8px #287eb912; }
.button.primary:hover { background:var(--theme-accent-hover); border-color:var(--theme-accent-hover); }
.button.quiet { background:var(--surface); }
.button.danger { background:var(--error-soft); color:var(--error); border-color:color-mix(in srgb,var(--error) 45%,var(--surface)); }
.icon-button { width:40px; min-height:40px; padding:9px; }
.theme-toggle { min-width:78px; font-size:12px; }
main { flex:1; width:100%; }
main:focus { outline:none; }
h1[tabindex="-1"]:focus { outline:none; }
.initial-loading { padding:72px 24px; text-align:center; color:var(--muted); }
.auth-layout { width:100%; max-width:520px; margin:0 auto; padding:60px 24px; }
.auth-card { padding:36px; background:var(--surface); border-radius:24px; box-shadow:0 12px 38px #326b9408; }
.auth-card h1 { margin:0 0 12px; color:var(--ink); font-size:28px; font-weight:600; line-height:1.2; letter-spacing:-.8px; }
.auth-card>p { margin:0 0 28px; color:var(--muted); font-size:14px; line-height:1.7; }
.auth-card .field { margin-bottom:20px; }
.auth-card .button.primary.full { width:100%; margin-top:4px; }
.auth-bottom { margin:24px 0 0!important; text-align:center; font-size:13px!important; }
.field { display:grid; gap:8px; min-width:0; color:var(--ink); font-size:13px; font-weight:500; }
.field input,.field select,.field textarea,.input { width:100%; min-width:0; min-height:46px; padding:11px 13px; border:1px solid var(--line); border-radius:12px; background:var(--surface); color:var(--ink); font-weight:400; }
.field textarea { resize:vertical; min-height:100px; }
.field input::placeholder,.field textarea::placeholder { color:var(--muted); opacity:.85; }
.field-hint { margin:0; color:var(--muted); font-size:12px; font-weight:400; line-height:1.6; }
.field-hint.below { margin:10px 0 20px; }
.form-error { margin:16px 0; padding:12px 14px; border-radius:12px; color:var(--error); background:var(--error-soft); font-size:13px; line-height:1.65; overflow-wrap:anywhere; }
.notice { display:flex; gap:10px; padding:14px 16px; margin:20px 0; border-radius:14px; background:var(--accent-soft); color:var(--text); font-size:13px; line-height:1.7; }
.notice>.icon { margin-top:2px; color:var(--accent); }
.notice p { margin:0; }
.notice.success { color:var(--success); background:color-mix(in srgb,var(--success) 10%,var(--surface)); }
.step-line { display:flex; justify-content:space-between; gap:12px; margin:0 0 24px; font-size:12px; color:var(--muted); }
.step-line strong { font-weight:500; color:var(--accent); }
.action-row { display:flex; align-items:center; flex-wrap:wrap; gap:10px; }
.action-row.end { justify-content:flex-end; }
.action-row.between { justify-content:space-between; }
.workspace { width:100%; max-width:1240px; margin:0 auto; padding:36px 32px 56px; }
.page-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:20px; margin:0 0 28px; }
.page-heading h1 { margin:3px 0 10px; color:var(--ink); font-size:29px; line-height:1.2; font-weight:600; letter-spacing:-.7px; }
.page-heading p { margin:0; color:var(--muted); font-size:14px; }
.eyebrow { color:var(--muted); font-size:12px; }
.panel { min-width:0; padding:26px; border-radius:21px; background:var(--surface); }
.panel+.panel { margin-top:24px; }
.panel-heading { display:flex; align-items:center; flex-wrap:wrap; justify-content:space-between; gap:12px; margin-bottom:22px; }
.panel-heading h2 { margin:0; font-size:18px; color:var(--ink); font-weight:600; }
.panel-heading span { color:var(--muted); font-size:12px; }
.welcome { display:flex; align-items:center; justify-content:space-between; gap:26px; padding:28px; margin-bottom:28px; border-radius:22px; background:var(--accent-soft); }
.welcome h2 { margin:0 0 10px; color:var(--ink); font-size:22px; line-height:1.3; font-weight:600; letter-spacing:-.4px; }
.welcome p { margin:0; max-width:610px; font-size:14px; }
.welcome-avatar { display:grid; place-items:center; flex-shrink:0; width:64px; height:64px; border-radius:22px; background:var(--surface); color:var(--accent); font-size:27px; font-weight:600; }
.project-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.project-card { display:flex; flex-direction:column; min-width:0; padding:24px; border:1px solid var(--line); border-radius:20px; background:var(--surface); text-decoration:none; color:var(--text); }
.project-card:hover { color:var(--text); background:var(--raised); border-color:var(--accent); }
.project-mark { display:grid; place-items:center; width:43px; height:43px; margin-bottom:22px; border-radius:14px; background:var(--accent-soft); color:var(--accent); }
.project-card h2 { margin:0 0 8px; color:var(--ink); font-size:18px; font-weight:600; overflow-wrap:anywhere; }
.project-card p { margin:0 0 24px; color:var(--muted); font-size:12px; }
.project-card>span:last-child { display:flex; align-items:center; justify-content:space-between; margin-top:auto; color:var(--accent); font-size:12px; }
.empty-state { display:grid; justify-items:center; gap:14px; padding:46px 24px; text-align:center; }
.empty-state .empty-icon { display:grid; place-items:center; width:58px; height:58px; border-radius:19px; background:var(--accent-soft); color:var(--accent); }
.empty-state h2 { margin:0; color:var(--ink); font-size:21px; font-weight:600; }
.empty-state p { max-width:430px; margin:0 0 8px; color:var(--muted); font-size:14px; }
.crumb { display:inline-flex; align-items:center; gap:7px; margin-bottom:18px; font-size:12px; }
.file-tabs,.subnav { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:18px; }
.file-tabs button,.subnav a { display:inline-flex; gap:8px; align-items:center; padding:9px 13px; min-height:39px; border:1px solid var(--line); border-radius:11px; color:var(--text); background:var(--surface); font-size:12px; text-decoration:none; }
.file-tabs button[aria-selected="true"],.subnav a[aria-current="page"] { color:var(--ink); border-color:var(--accent); background:var(--accent-soft); box-shadow:inset 0 0 0 1px var(--accent); }
.file-tabs button:hover,.subnav a:hover { border-color:var(--accent); background:var(--accent-soft); }
.editor-meta { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px; margin-bottom:16px; color:var(--muted); font-size:12px; }
.code-input { width:100%; min-height:420px; padding:22px; resize:vertical; border:1px solid var(--line); border-radius:15px; color:var(--ink); background:var(--inset); font-family:'IBM Plex Mono',Consolas,monospace; font-size:13px; line-height:1.9; tab-size:2; white-space:pre; overflow:auto; }
.editor-help { margin:16px 0 0; color:var(--muted); font-size:12px; }
.split-grid { display:grid; grid-template-columns:minmax(0,1.3fr) minmax(260px,.8fr); gap:24px; align-items:start; }
.split-grid>.panel { margin-top:0; }
.form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.form-grid .wide { grid-column:1/-1; }
.section-space { margin:20px 0; }
.form-actions { margin-top:22px; }
.field-separated { margin-top:20px; }
.narrow-workspace { max-width:800px; }
.check-field { display:flex; align-items:flex-start; gap:10px; padding:15px; border:1px solid var(--line); border-radius:12px; background:var(--raised); color:var(--ink); font-size:13px; cursor:pointer; }
.check-field input { width:17px; height:17px; flex-shrink:0; margin-top:3px; accent-color:var(--accent); }
.panel.profile-card { overflow:hidden; padding:0; }
.profile-cover { display:flex; align-items:center; justify-content:flex-end; min-height:138px; padding:26px; background:#deeffb; color:#287eb9; position:relative; overflow:hidden; }
.profile-cover .cover-symbol { width:60px; height:60px; border-radius:20px; opacity:.75; transform:rotate(7deg); }
.profile-cover.sky { background:var(--accent-soft); }
.profile-cover.paper { background:var(--raised); }
.profile-cover.night { background:#263b4d; }
.profile-cover.night .cover-symbol { opacity:.9; }
.profile-body { position:relative; padding:0 28px 28px; }
.profile-avatar { display:grid; place-items:center; width:80px; height:80px; margin-top:-38px; margin-bottom:18px; border:5px solid var(--surface); border-radius:27px; background:var(--brand-blue); color:#fff; font-size:32px; font-weight:600; position:relative; }
.profile-avatar.slate { background:#526f85; }
.profile-avatar .icon { width:32px; height:32px; }
.profile-name { display:flex; flex-wrap:wrap; align-items:baseline; justify-content:space-between; gap:8px; }
.profile-name h1,.profile-name h2 { margin:0; color:var(--ink); font-size:26px; font-weight:600; line-height:1.3; letter-spacing:-.5px; overflow-wrap:anywhere; }
.uid { color:var(--muted); font-family:'IBM Plex Mono',Consolas,monospace; font-size:12px; }
.badge-list { display:flex; flex-wrap:wrap; gap:8px; margin-top:18px; }
.badge { display:inline-flex; align-items:center; gap:7px; padding:5px 9px; border-radius:9px; color:var(--accent); background:var(--accent-soft); font-size:11px; font-weight:500; }
.badge .icon { width:14px; height:14px; flex-basis:14px; }
.badge.slate { color:var(--text); background:var(--raised); }
.badge.green { color:var(--success); background:color-mix(in srgb,var(--success) 12%,var(--surface)); }
.profile-bio { margin:20px 0; color:var(--text); font-size:14px; line-height:1.8; white-space:pre-wrap; overflow-wrap:anywhere; }
.profile-joined { margin:0; color:var(--muted); font-size:12px; }
.badge-list+.profile-joined { margin-top:16px; }
.profile-note { margin:18px 2px 0; color:var(--muted); font-size:12px; }
.profile-heading { margin-bottom:24px; }
.profile-heading h2 { color:var(--ink); margin:0 0 10px; font-size:19px; font-weight:600; }
.profile-heading p { margin:0; color:var(--muted); font-size:13px; }
.avatar-options { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:8px; }
.avatar-choice { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px; min-height:66px; padding:9px 6px; background:var(--raised); border:1px solid var(--line); border-radius:12px; color:var(--text); cursor:pointer; font-size:10px; }
.avatar-choice:has(input:checked) { background:var(--accent-soft); border-color:var(--accent); box-shadow:inset 0 0 0 1px var(--accent); }
.avatar-choice input { position:absolute; opacity:0; width:1px; height:1px; }
.avatar-choice:focus-within { outline:2px solid var(--accent); outline-offset:2px; }
.table-wrap { overflow:auto; max-width:100%; border-radius:14px; }
.data-table { border-collapse:separate; border-spacing:0 8px; width:100%; text-align:left; font-size:12px; }
.data-table th { color:var(--muted); font-weight:400; padding:7px 12px; font-size:11px; }
.data-table td { padding:14px 12px; color:var(--text); background:var(--raised); white-space:nowrap; }
.data-table td:first-child { border-radius:12px 0 0 12px; }
.data-table td:last-child { border-radius:0 12px 12px 0; }
.data-table td strong { font-weight:500; color:var(--ink); }
.tag { display:inline-block; padding:4px 8px; border-radius:8px; background:var(--surface); color:var(--muted); font-size:11px; }
.tag.good { color:var(--success); }
.account-pagination { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:14px; margin-top:20px; }
.account-pagination p { margin:0; color:var(--muted); font-size:12px; }
.generated-codes { display:grid; gap:12px; margin-top:22px; }
.generated-code { display:flex; gap:14px; align-items:center; padding:16px; border-radius:13px; background:var(--raised); }
.generated-code code { min-width:0; flex:1; overflow-wrap:anywhere; color:var(--ink); font-family:'IBM Plex Mono',Consolas,monospace; font-size:12px; }
.catalog-list { display:grid; gap:14px; }
.catalog-item { display:flex; align-items:flex-start; gap:14px; padding:17px; border-radius:14px; background:var(--raised); }
.catalog-item>.icon { color:var(--accent); margin-top:2px; }
.catalog-item h3 { margin:0 0 6px; color:var(--ink); font-size:14px; font-weight:600; }
.catalog-item p { margin:0 0 8px; color:var(--muted); font-size:12px; }
.catalog-item small { color:var(--muted); font-size:11px; }
.key-display { display:block; padding:15px; margin:16px 0; border-radius:12px; color:var(--ink); background:var(--raised); font-family:'IBM Plex Mono',Consolas,monospace; font-size:15px; letter-spacing:1px; overflow-wrap:anywhere; }
.recovery-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; padding:0; list-style:none; }
.recovery-grid li { padding:10px 12px; border-radius:9px; background:var(--raised); font-family:'IBM Plex Mono',Consolas,monospace; font-size:12px; color:var(--ink); overflow-wrap:anywhere; }
.help-copy { max-width:760px; }
.help-copy h2 { margin:28px 0 12px; color:var(--ink); font-size:19px; font-weight:600; }
.help-copy h2:first-child { margin-top:0; }
.help-copy p,.help-copy li { color:var(--text); font-size:14px; line-height:1.8; }
.help-copy ul { padding-left:20px; }
.site-footer { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:12px 24px; padding:22px 24px 30px; color:var(--muted); font-size:12px; }
dialog { width:calc(100% - 32px); max-width:500px; max-height:calc(100svh - 40px); overflow:auto; padding:26px; border:1px solid var(--line); border-radius:22px; background:var(--surface); color:var(--text); box-shadow:0 18px 60px #0b213b26; }
dialog::backdrop { background:#10213188; }
.dialog-heading { display:flex; align-items:center; justify-content:space-between; gap:18px; margin-bottom:22px; }
.dialog-heading h2 { margin:0; color:var(--ink); font-size:20px; font-weight:600; line-height:1.3; }
.dialog-heading .icon-button { flex-shrink:0; }
#dialogBody p { color:var(--muted); font-size:13px; }
#dialogBody .field { margin-bottom:18px; }
.dialog-actions { justify-content:flex-end; margin-top:24px; }
.toast { position:fixed; left:50%; bottom:22px; transform:translateX(-50%); max-width:calc(100% - 32px); padding:13px 20px; border:1px solid var(--line); border-radius:13px; background:var(--surface); color:var(--ink); box-shadow:0 5px 24px #10213125; font-size:13px; z-index:5; text-align:center; }
@media(max-width:1000px) { .site-header { padding-inline:24px; gap:20px; } .workspace { padding-inline:24px; } .split-grid { grid-template-columns:1fr; } .project-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:680px) { .site-header { padding:14px 18px; flex-wrap:wrap; gap:12px; } .brand { font-size:24px; } .main-nav { order:3; flex-basis:100%; flex-wrap:nowrap; overflow-x:auto; padding:2px 0; } .main-nav a { flex-shrink:0; min-height:40px; font-size:12px; } .header-actions { gap:8px; } .header-actions>.button { min-height:38px; padding:8px 10px; font-size:12px; } .theme-toggle { min-width:40px; } .theme-toggle span { display:none; } .auth-layout { padding:32px 18px 44px; } .auth-card { padding:28px 24px; border-radius:21px; } .auth-card h1 { font-size:26px; } .workspace { padding:28px 18px 40px; } .page-heading { align-items:flex-start; flex-direction:column; margin-bottom:24px; } .page-heading h1 { font-size:26px; } .welcome { padding:22px; gap:18px; } .welcome h2 { font-size:20px; } .welcome-avatar { display:none; } .project-grid { grid-template-columns:1fr; } .panel { padding:21px; } .form-grid { grid-template-columns:1fr; gap:18px; } .form-grid .wide { grid-column:auto; } .avatar-options { grid-template-columns:repeat(3,minmax(0,1fr)); } .profile-body { padding:0 23px 24px; } .profile-cover { min-height:120px; } .profile-name h1,.profile-name h2 { font-size:25px; } .code-input { min-height:360px; padding:16px; font-size:12px; } .generated-code { align-items:flex-start; gap:10px; } .generated-code .button { padding:8px 10px; min-height:36px; } .data-table { min-width:620px; } .site-footer { font-size:11px; } }
@media(max-width:360px) { .workspace { padding-inline:14px; } .auth-layout { padding-inline:14px; } .auth-card { padding:24px 20px; } .brand { font-size:22px; gap:8px; } .brand img { width:32px; height:32px; } .panel { padding:18px; } .recovery-grid { grid-template-columns:1fr; } .profile-body { padding-inline:20px; } .profile-name { align-items:flex-start; flex-direction:column; } }
@media(max-width:680px) { .main-nav { overflow-y:hidden; padding-bottom:6px; } .main-nav a { padding-inline:9px; } .main-nav a .icon { width:14px; height:14px; flex-basis:14px; } .main-nav a[aria-label="Administration"] .nav-label { display:none; } .nav-label-short { display:inline; } }
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto!important; transition:none!important; } }
.authenticator-setup { display:grid; justify-items:center; gap:12px; margin:4px 0 24px; }
.authenticator-qr { width:min(100%,256px); overflow:hidden; background:#fff; border-radius:12px; line-height:0; box-shadow:0 2px 14px #10213112; }
.authenticator-qr svg { width:100%; height:auto; }
.setup-backup { margin:0 0 24px; padding:0; border-radius:12px; background:var(--raised); }
.setup-backup summary { padding:14px 16px; border:1px solid var(--line); border-radius:12px; color:var(--ink); font-size:13px; cursor:pointer; }
.setup-backup summary:hover { background:var(--accent-soft); }
.setup-backup-body { padding:16px; }
.setup-backup-body .key-display { background:var(--surface); margin:12px 0; font-size:12px; letter-spacing:.7px; }
.setup-backup .action-row { gap:8px; }
.setup-backup .button { min-height:40px; font-size:12px; padding:9px 12px; }
.auth-card .setup-expiry { margin:18px 0 0; font-size:12px; }
.official-profile .official-cover { display:grid; place-items:center; padding:0; min-height:0; aspect-ratio:3 / 1; background:var(--surface); }
.official-cover .official-banner { display:block; width:100%; height:100%; max-height:none; object-fit:contain; }
.official-cover .banner-dark { display:none; }
html[data-theme="dark"] .official-cover .banner-dark { display:block; }
html[data-theme="dark"] .official-cover .banner-light { display:none; }
.profile-avatar.official-avatar { padding:0; overflow:hidden; background:transparent; }
.profile-avatar.official-avatar img { display:block; width:100%; height:100%; object-fit:contain; }
.official-welcome img { width:100%; height:100%; border-radius:inherit; object-fit:contain; }
.official-artwork-note { padding:16px; margin:18px 0; border-radius:12px; background:var(--raised); font-size:13px; }
.official-artwork-note strong { color:var(--ink); font-weight:500; }
.official-artwork-note p { margin:8px 0 0; color:var(--muted); line-height:1.7; font-size:12px; }
.signup-verification { margin:4px 0 20px; min-width:0; }
.signup-verification [data-verification-widget] { min-width:0; }
.signup-verification .field-hint { margin-top:8px; }
.signup-verification .is-error { color:var(--error); }
.verification-retry { margin-top:10px; }
.danger-text { color:var(--error); }
