html:has(.dome-portal),
body.dome-fullscreen-body {
    margin: 0 !important;
    min-height: 100%;
    background: #07101f;
}

body.dome-fullscreen-body #wpadminbar {
    display: none !important;
}

body.dome-fullscreen-body {
    padding: 0 !important;
    overflow-x: hidden;
}

.dome-portal,
.dome-portal * {
    box-sizing: border-box;
}

.dome-portal {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 286px 1fr;
    color: #f8fafc;
    background: radial-gradient(circle at 72% 12%, rgba(124,58,237,.24), transparent 28%), radial-gradient(circle at 38% 48%, rgba(56,189,248,.12), transparent 34%), #07101f;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.dome-dock {
    min-height: 100vh;
    padding: 26px 20px;
    display: flex;
    flex-direction: column;
    gap: 26px;
    background: rgba(3, 7, 18, .72);
    border-right: 1px solid rgba(148,163,184,.18);
    backdrop-filter: blur(18px);
    position: sticky;
    top: 0;
}

.dome-brand-block,
.dome-user-chip,
.dome-protected,
.dome-panel-heading {
    display: flex;
    align-items: center;
}

.dome-brand-block { gap: 14px; }
.dome-brand-block strong { display: block; font-size: 23px; letter-spacing: .16em; }
.dome-brand-block small, .dome-user-chip small { display: block; color: #94a3b8; margin-top: 2px; }

.dome-logo {
    width: 58px;
    height: 58px;
    border-radius: 20px;
    background: radial-gradient(circle at 32% 22%, #fff, #38bdf8 20%, #7c3aed 60%, #111827);
    display: grid;
    place-items: center;
    box-shadow: 0 0 42px rgba(124,58,237,.48);
}

.dome-logo span {
    width: 30px;
    height: 21px;
    border: 3px solid #fff;
    border-bottom: 0;
    border-radius: 30px 30px 0 0;
}

.dome-dock-nav { display: grid; gap: 10px; }
.dome-dock-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    color: #cbd5e1;
    text-decoration: none;
    border-radius: 16px;
    border: 1px solid transparent;
    font-weight: 750;
}
.dome-dock-nav a:hover, .dome-dock-nav a.is-active {
    color: #fff;
    background: linear-gradient(135deg, rgba(37,99,235,.88), rgba(124,58,237,.94));
    border-color: rgba(255,255,255,.16);
    box-shadow: 0 16px 34px rgba(37,99,235,.22);
}

.dome-dock-card,
.dome-panel {
    border: 1px solid rgba(148,163,184,.18);
    background: rgba(15,23,42,.68);
    box-shadow: 0 18px 60px rgba(0,0,0,.25);
}
.dome-dock-card { margin-top: auto; padding: 20px; border-radius: 26px; }
.dome-dock-card strong, .dome-dock-card small { display: block; }
.dome-mini-orb { width: 100%; height: 132px; border-radius: 22px; margin-bottom: 16px; background: radial-gradient(circle at 50% 70%, rgba(124,58,237,.9), transparent 34%), radial-gradient(circle at 50% 60%, rgba(56,189,248,.62), transparent 24%); }

.dome-workspace { padding: 32px; min-width: 0; }
.dome-topbar { display: flex; justify-content: space-between; gap: 18px; align-items: center; margin-bottom: 26px; }
.dome-kicker { margin: 0 0 8px; color: #a78bfa; text-transform: uppercase; letter-spacing: .15em; font-size: 12px; font-weight: 900; }
.dome-topbar h1 { margin: 0; color: #fff; font-size: clamp(28px, 3vw, 44px); line-height: 1.02; }
.dome-user-chip { gap: 12px; padding: 11px 14px; border: 1px solid rgba(148,163,184,.18); border-radius: 999px; background: rgba(15,23,42,.62); }
.dome-avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg,#38bdf8,#7c3aed); font-weight: 900; }

.dome-layout { display: grid; grid-template-columns: minmax(0,1fr) 360px; gap: 20px; }
.dome-primary, .dome-side { display: grid; gap: 20px; align-content: start; }
.dome-panel { border-radius: 28px; padding: 24px; overflow: hidden; }
.dome-panel h2, .dome-panel h3, .dome-panel p { margin-top: 0; }
.dome-panel h2 { font-size: 34px; margin-bottom: 8px; color: #fff; }
.dome-panel h3 { color: #fff; margin-bottom: 0; }
.dome-panel p, .dome-panel small { color: #a7b4c8; }
.dome-panel-heading { justify-content: space-between; margin-bottom: 18px; }
.dome-panel-heading a { color: #a78bfa; text-decoration: none; font-weight: 800; }

.dome-membership-card { min-height: 250px; display: grid; grid-template-columns: 1fr 260px; gap: 24px; align-items: center; position: relative; background: linear-gradient(135deg, rgba(15,23,42,.76), rgba(17,24,39,.72)), radial-gradient(circle at 68% 35%, rgba(124,58,237,.55), transparent 25%); }
.dome-membership-card::after { content: ""; position: absolute; right: 22%; bottom: -75px; width: 390px; height: 210px; border-top: 7px solid rgba(139,92,246,.95); border-radius: 50%; filter: drop-shadow(0 -18px 32px rgba(56,189,248,.25)); }
.dome-membership-card > * { position: relative; z-index: 1; }
.dome-inline-status { display: inline-flex; gap: 8px; align-items: center; padding: 8px 12px; border-radius: 999px; background: rgba(34,197,94,.14); color: #86efac; font-weight: 800; }
.dome-inline-status span { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 18px #22c55e; }
.dome-renewal span, .dome-renewal strong { display: block; }
.dome-renewal span { color: #94a3b8; text-transform: uppercase; font-size: 12px; letter-spacing: .12em; }
.dome-renewal strong { color: #fff; font-size: 24px; margin: 8px 0 18px; }
button { font: inherit; }
.dome-renewal button, .dome-security-card button, .dome-help-card button {
    color: #fff; cursor: pointer; border-radius: 15px; padding: 12px 15px; font-weight: 900; border: 1px solid rgba(167,139,250,.5); background: rgba(124,58,237,.16);
}

.dome-tiles { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.dome-tiles button { min-height: 132px; border-radius: 20px; border: 1px solid rgba(148,163,184,.16); background: rgba(3,7,18,.25); color: #fff; display: grid; place-items: center; gap: 5px; cursor: pointer; }
.dome-tiles span { font-size: 26px; }
.dome-tiles small { color: #94a3b8; }

.dome-content-row { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.dome-content-row article { border-radius: 20px; overflow: hidden; border: 1px solid rgba(148,163,184,.16); background: rgba(3,7,18,.24); }
.dome-content-row article strong, .dome-content-row article small { display: block; padding: 0 14px; }
.dome-content-row article strong { color: #fff; padding-top: 13px; }
.dome-content-row article small { padding-bottom: 14px; }
.dome-art { height: 120px; display: grid; place-items: center; font-size: 32px; background: radial-gradient(circle at center, rgba(124,58,237,.56), rgba(15,23,42,.9)); }
.dome-art-one { background: radial-gradient(circle at 70% 30%, rgba(56,189,248,.52), rgba(15,23,42,.94)); }
.dome-art-three { background: radial-gradient(circle at 40% 40%, rgba(250,204,21,.24), rgba(15,23,42,.94)); }

.dome-protected { gap: 13px; margin-bottom: 18px; }
.dome-protected > span { width: 48px; height: 48px; border-radius: 17px; background: #22c55e; color: #052e16; display: grid; place-items: center; font-weight: 1000; }
.dome-protected strong { color: #86efac; display: block; }
.dome-security-card ul { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 0; border-top: 1px solid rgba(148,163,184,.15); }
.dome-security-card li { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(148,163,184,.15); }
.dome-security-card li span { color: #cbd5e1; }
.dome-security-card li strong { color: #86efac; }
.dome-security-card button, .dome-help-card button { width: 100%; }

.dome-activity { display: grid; gap: 14px; }
.dome-activity p { margin: 0; display: grid; grid-template-columns: 28px 1fr auto; gap: 8px; align-items: center; color: #f8fafc; }
.dome-activity small { color: #94a3b8; }
.dome-help-card p { margin-bottom: 18px; }

@media (max-width: 1180px) {
    .dome-portal { grid-template-columns: 1fr; }
    .dome-dock { position: relative; min-height: auto; }
    .dome-dock-card { display: none; }
    .dome-layout { grid-template-columns: 1fr; }
}
@media (max-width: 780px) {
    .dome-workspace, .dome-dock { padding: 18px; }
    .dome-topbar, .dome-membership-card { grid-template-columns: 1fr; display: grid; }
    .dome-tiles, .dome-content-row { grid-template-columns: 1fr; }
    .dome-dock-nav { grid-template-columns: 1fr 1fr; }
    .dome-dock-nav a { font-size: 13px; }
}

.dome-auth-screen{min-height:100vh;display:grid;place-items:center;padding:28px;color:#fff;background:radial-gradient(circle at 70% 20%,rgba(124,58,237,.28),transparent 30%),radial-gradient(circle at 30% 70%,rgba(56,189,248,.18),transparent 32%),#07101f;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.dome-auth-card{width:min(520px,100%);border:1px solid rgba(148,163,184,.22);border-radius:34px;padding:34px;background:rgba(15,23,42,.72);box-shadow:0 28px 90px rgba(0,0,0,.38);backdrop-filter:blur(18px)}.dome-auth-logo{margin-bottom:20px}.dome-auth-card h1{font-size:clamp(34px,5vw,54px);line-height:1;margin:0 0 12px}.dome-auth-copy{color:#a7b4c8;margin:0 0 22px;line-height:1.6}.dome-auth-notice{padding:13px 15px;border:1px solid rgba(250,204,21,.34);border-radius:16px;margin-bottom:18px;background:rgba(250,204,21,.09);color:#fde68a}.dome-auth-form{display:grid;gap:14px}.dome-auth-form label{display:grid;gap:7px;color:#cbd5e1;font-weight:800}.dome-auth-form input[type=text],.dome-auth-form input[type=email],.dome-auth-form input[type=password]{width:100%;border:1px solid rgba(148,163,184,.24);border-radius:15px;background:rgba(3,7,18,.42);color:#fff;padding:13px 14px;font:inherit}.dome-auth-form input:focus{outline:none;border-color:rgba(167,139,250,.82);box-shadow:0 0 0 4px rgba(124,58,237,.16)}.dome-auth-check{display:flex!important;grid-template-columns:auto 1fr!important;align-items:center;gap:10px!important;font-weight:700!important}.dome-auth-form button{border:1px solid rgba(167,139,250,.5);border-radius:16px;padding:14px 17px;color:#fff;background:linear-gradient(135deg,rgba(37,99,235,.92),rgba(124,58,237,.98));font-weight:950;cursor:pointer}.dome-auth-form button:disabled{opacity:.48;cursor:not-allowed}.dome-auth-switch{margin:18px 0 0;color:#a7b4c8}.dome-auth-switch a{color:#a78bfa;font-weight:900;text-decoration:none}


/* Dome 0.1.3 — tighter desktop/workstation scale */
@media (min-width: 781px) {
    .dome-portal {
        grid-template-columns: 232px 1fr;
        font-size: 14px;
    }
    .dome-dock {
        padding: 18px 14px;
        gap: 18px;
    }
    .dome-brand-block { gap: 11px; }
    .dome-brand-block strong { font-size: 18px; letter-spacing: .18em; }
    .dome-brand-block small, .dome-user-chip small { font-size: 13px; }
    .dome-logo { width: 44px; height: 44px; border-radius: 14px; box-shadow: 0 0 24px rgba(124,58,237,.38); }
    .dome-logo span { width: 23px; height: 16px; border-width: 2px; }
    .dome-dock-nav { gap: 6px; }
    .dome-dock-nav a {
        padding: 9px 11px;
        gap: 9px;
        border-radius: 11px;
        font-size: 14px;
        font-weight: 720;
    }
    .dome-dock-card { padding: 14px; border-radius: 18px; }
    .dome-mini-orb { height: 86px; border-radius: 16px; margin-bottom: 12px; }
    .dome-workspace { padding: 22px 26px; }
    .dome-topbar { margin-bottom: 18px; align-items: flex-start; }
    .dome-kicker { margin-bottom: 5px; font-size: 10px; letter-spacing: .16em; }
    .dome-topbar h1 { font-size: clamp(28px, 2.25vw, 36px); line-height: 1.08; }
    .dome-user-chip { padding: 8px 11px; gap: 9px; border-radius: 18px; }
    .dome-avatar { width: 34px; height: 34px; font-size: 13px; }
    .dome-layout { grid-template-columns: minmax(0,1fr) 315px; gap: 14px; }
    .dome-primary, .dome-side { gap: 14px; }
    .dome-panel { border-radius: 18px; padding: 16px 18px; box-shadow: 0 12px 42px rgba(0,0,0,.22); }
    .dome-panel h2 { font-size: 27px; margin-bottom: 7px; }
    .dome-panel h3 { font-size: 18px; }
    .dome-panel p { font-size: 15px; line-height: 1.45; }
    .dome-panel-heading { margin-bottom: 13px; }
    .dome-membership-card {
        min-height: 170px;
        grid-template-columns: 1fr 200px;
        gap: 16px;
    }
    .dome-membership-card::after {
        right: 14%;
        bottom: -58px;
        width: 315px;
        height: 155px;
        border-top-width: 4px;
        opacity: .88;
    }
    .dome-inline-status { padding: 6px 10px; font-size: 13px; }
    .dome-inline-status span { width: 7px; height: 7px; }
    .dome-renewal strong { font-size: 20px; margin: 5px 0 12px; }
    .dome-renewal button, .dome-security-card button, .dome-help-card button {
        border-radius: 11px;
        padding: 9px 12px;
        font-size: 14px;
        font-weight: 800;
    }
    .dome-tiles { gap: 10px; }
    .dome-tiles button {
        min-height: 88px;
        border-radius: 14px;
        gap: 3px;
    }
    .dome-tiles span { font-size: 20px; }
    .dome-content-row { gap: 10px; }
    .dome-content-row article { border-radius: 14px; }
    .dome-art { height: 76px; font-size: 24px; }
    .dome-content-row article strong, .dome-content-row article small { padding-left: 11px; padding-right: 11px; }
    .dome-content-row article strong { padding-top: 10px; }
    .dome-content-row article small { padding-bottom: 11px; }
    .dome-protected { gap: 10px; margin-bottom: 13px; }
    .dome-protected > span { width: 38px; height: 38px; border-radius: 12px; }
    .dome-security-card ul { margin: 13px 0; }
    .dome-security-card li { padding: 10px 0; }
    .dome-activity { gap: 10px; }
    .dome-activity p { grid-template-columns: 24px 1fr auto; }
}

/* Less bubbly authentication screens too */
@media (min-width: 781px) {
    .dome-auth-card { width: min(440px,100%); border-radius: 22px; padding: 26px; }
    .dome-auth-card h1 { font-size: clamp(30px,4vw,42px); }
    .dome-auth-form input[type=text], .dome-auth-form input[type=email], .dome-auth-form input[type=password] { border-radius: 11px; padding: 11px 12px; }
    .dome-auth-form button { border-radius: 12px; padding: 12px 14px; }
}

/* Dome 0.1.4 — compact branded authentication pages */
.dome-auth-screen{
    place-items:start center;
    padding:42px 18px;
}
.dome-auth-card{
    width:min(360px,100%);
    border-radius:18px;
    padding:20px;
    background:rgba(15,23,42,.78);
    box-shadow:0 18px 55px rgba(0,0,0,.34);
}
.dome-auth-brandline{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:16px;
}
.dome-auth-logo{
    margin:0;
    width:38px;
    height:38px;
    border-radius:12px;
    flex:0 0 auto;
}
.dome-auth-logo span{
    width:19px;
    height:14px;
    border-width:2px;
}
.dome-auth-product{
    margin:0;
    color:#fff;
    font-size:14px;
    line-height:1.1;
    font-weight:850;
    letter-spacing:.03em;
}
.dome-auth-product a{
    color:#fff;
    text-decoration:none;
}
.dome-auth-product a:hover{
    color:#a78bfa;
}
.dome-auth-subbrand{
    margin:3px 0 0;
    color:#8ea0ba;
    font-size:11px;
    letter-spacing:.08em;
    text-transform:uppercase;
}
.dome-auth-card h1{
    font-size:26px;
    line-height:1.08;
    margin:0 0 7px;
    letter-spacing:-.035em;
}
.dome-auth-copy{
    font-size:13px;
    line-height:1.45;
    margin:0 0 15px;
}
.dome-auth-notice{
    padding:10px 11px;
    border-radius:11px;
    margin-bottom:12px;
    font-size:13px;
}
.dome-auth-form{
    gap:10px;
}
.dome-auth-form label{
    gap:5px;
    font-size:13px;
    font-weight:750;
}
.dome-auth-form input[type=text],
.dome-auth-form input[type=email],
.dome-auth-form input[type=password]{
    border-radius:9px;
    padding:9px 10px;
    font-size:14px;
}
.dome-auth-check{
    font-size:13px!important;
}
.dome-auth-form button{
    border-radius:10px;
    padding:10px 12px;
    font-size:14px;
    font-weight:850;
}
.dome-auth-switch{
    margin:13px 0 0;
    font-size:13px;
}
@media (min-width:781px){
    .dome-auth-card{width:min(360px,100%);border-radius:18px;padding:20px;}
    .dome-auth-card h1{font-size:26px;}
}

/* Dome 0.1.5 — fixed footer branding, not editable in admin */
.dome-auth-screen{
    min-height:100vh;
    display:grid;
    grid-template-rows:1fr auto;
    align-items:center;
    justify-items:center;
    padding:30px 18px 14px;
}
.dome-auth-card{
    align-self:center;
}
.dome-auth-footer{
    margin-top:18px;
    color:#6f7f96;
    font-size:11px;
    letter-spacing:.02em;
    text-align:center;
}
.dome-auth-footer a{
    color:#38bdf8;
    text-decoration:none;
    font-weight:750;
}
.dome-auth-footer a:hover{
    color:#a78bfa;
}

/* Dome 0.1.6 — configurable auth icon attached to lock */
.dome-auth-emblem{
    position:relative;
    width:58px;
    height:58px;
    margin:0 0 14px;
}
.dome-auth-lock{
    position:absolute;
    inset:9px 4px 2px 10px;
    border-radius:17px;
    background:linear-gradient(135deg,rgba(37,99,235,.94),rgba(124,58,237,.96));
    box-shadow:0 14px 28px rgba(59,130,246,.18), inset 0 0 0 1px rgba(255,255,255,.16);
}
.dome-auth-lock:before{
    content:"";
    position:absolute;
    left:14px;
    top:-12px;
    width:18px;
    height:20px;
    border:3px solid rgba(255,255,255,.92);
    border-bottom:0;
    border-radius:16px 16px 0 0;
}
.dome-auth-lock span{
    position:absolute;
    left:50%;
    top:50%;
    width:7px;
    height:7px;
    transform:translate(-50%,-60%);
    border-radius:50%;
    background:#fff;
    box-shadow:0 8px 0 -1px #fff;
}
.dome-auth-custom-icon{
    position:absolute;
    left:0;
    top:0;
    width:25px;
    height:25px;
    border-radius:9px;
    object-fit:cover;
    background:#0f172a;
    box-shadow:0 0 0 2px rgba(15,23,42,.9),0 8px 20px rgba(0,0,0,.36);
}
.dome-auth-custom-icon-default{
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-size:12px;
    font-weight:900;
    background:linear-gradient(135deg,#38bdf8,#7c3aed);
}

/* Dome 0.1.8 — oversized corner icon, no padlock, tighter mobile auth pages */
.dome-auth-card{
    position:relative;
    overflow:visible;
}
.dome-auth-emblem{
    position:absolute;
    left:-28px;
    top:-28px;
    width:82px;
    height:82px;
    margin:0;
    z-index:5;
}
.dome-auth-lock{display:none!important;}
.dome-auth-custom-icon{
    position:relative;
    left:auto;
    top:auto;
    width:82px;
    height:82px;
    border-radius:50%;
    object-fit:cover;
    background:#0f172a;
    box-shadow:0 0 0 3px rgba(124,58,237,.95),0 0 0 6px rgba(56,189,248,.16),0 16px 38px rgba(0,0,0,.48),0 0 34px rgba(124,58,237,.28);
}
.dome-auth-custom-icon-default{
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-size:26px;
    font-weight:950;
    letter-spacing:-.04em;
    background:radial-gradient(circle at 35% 30%,rgba(56,189,248,.95),rgba(124,58,237,.95) 58%,rgba(15,23,42,.98));
}
.dome-auth-card h1{padding-top:8px;}

@media (max-width: 640px){
    html, body{min-height:100%;}
    .dome-auth-screen{
        min-height:100vh;
        padding:24px 13px 10px;
        place-items:center;
        overflow-x:hidden;
    }
    .dome-auth-card{
        width:min(330px,100%);
        border-radius:16px;
        padding:24px 16px 16px;
        box-shadow:0 14px 42px rgba(0,0,0,.32);
    }
    .dome-auth-emblem{
        width:54px;
        height:54px;
        left:-12px;
        top:-18px;
    }
    .dome-auth-custom-icon{
        width:54px;
        height:54px;
        box-shadow:0 0 0 2px rgba(124,58,237,.95),0 0 0 4px rgba(56,189,248,.13),0 10px 24px rgba(0,0,0,.42);
    }
    .dome-auth-custom-icon-default{font-size:18px;}
    .dome-auth-card h1{
        padding-top:4px;
        font-size:24px!important;
        line-height:1.08;
        margin-bottom:7px;
    }
    .dome-auth-copy{
        font-size:12.5px;
        line-height:1.4;
        margin-bottom:13px;
    }
    .dome-auth-form{gap:9px;}
    .dome-auth-form label{
        font-size:12.5px;
        gap:4px;
    }
    .dome-auth-form input[type=text],
    .dome-auth-form input[type=email],
    .dome-auth-form input[type=password]{
        min-height:38px;
        padding:8px 10px;
        border-radius:9px;
        font-size:13.5px;
    }
    .dome-auth-form button{
        min-height:40px;
        padding:9px 11px;
        border-radius:10px;
        font-size:13.5px;
    }
    .dome-auth-check{font-size:12.5px!important;}
    .dome-auth-switch{font-size:12.5px;margin-top:12px;}
    .dome-auth-footer{font-size:10px;margin-top:10px;}
}

@media (max-width: 380px){
    .dome-auth-card{width:min(304px,100%);padding:22px 14px 14px;}
    .dome-auth-card h1{font-size:22px!important;}
    .dome-auth-copy{font-size:12px;}
}

/* Dome 0.1.10 — keep auth heading clear of the oversized corner icon */
@media (min-width: 641px){
    .dome-auth-card h1{
        padding-top: 6px;
        padding-left: 74px;
    }
}
@media (max-width: 640px){
    .dome-auth-card h1{
        padding-left: 48px;
    }
}
@media (max-width: 380px){
    .dome-auth-card h1{
        padding-left: 44px;
    }
}

/* Dome 0.2.0 — auth completion, Security Center, mobile polish */
.dome-auth-screen{
    min-height:100svh!important;
    padding:clamp(18px,4vw,44px)!important;
    display:grid!important;
    place-items:center!important;
    grid-template-rows:1fr auto!important;
}
.dome-auth-card{
    position:relative!important;
    width:min(402px,calc(100vw - 44px))!important;
    border-radius:22px!important;
    padding:72px 22px 22px!important;
    overflow:visible!important;
}
.dome-auth-emblem{
    position:absolute!important;
    left:-34px!important;
    top:-34px!important;
    width:92px!important;
    height:92px!important;
    z-index:3!important;
}
.dome-auth-custom-icon,
.dome-auth-custom-icon-default{
    width:92px!important;
    height:92px!important;
    border-radius:50%!important;
    object-fit:cover!important;
    display:grid!important;
    place-items:center!important;
    background:#0b1222!important;
    border:3px solid #7c3aed!important;
    box-shadow:0 0 0 3px rgba(56,189,248,.24),0 18px 46px rgba(0,0,0,.42)!important;
    color:#fff!important;
    font-weight:950!important;
    font-size:28px!important;
}
.dome-auth-header-text{padding-left:72px;margin-top:-38px;min-height:64px;}
.dome-auth-card h1{font-size:26px!important;line-height:1.1!important;margin:0 0 8px!important;}
.dome-auth-copy{font-size:13px!important;line-height:1.45!important;margin:0 0 17px!important;}
.dome-auth-notice{font-size:13px!important;border-radius:12px!important;padding:10px 12px!important;margin-bottom:13px!important;}
.dome-auth-form{gap:11px!important;}
.dome-auth-form label{font-size:13px!important;gap:6px!important;}
.dome-auth-form input[type=text],
.dome-auth-form input[type=email],
.dome-auth-form input[type=password]{
    height:39px!important;
    padding:8px 11px!important;
    border-radius:11px!important;
    font-size:14px!important;
    box-sizing:border-box!important;
}
.dome-password-wrap{position:relative;display:block;}
.dome-password-wrap input{padding-right:64px!important;}
.dome-password-toggle{
    position:absolute!important;
    right:7px!important;
    top:50%!important;
    transform:translateY(-50%)!important;
    width:auto!important;
    min-width:48px!important;
    height:27px!important;
    padding:0 8px!important;
    border-radius:8px!important;
    font-size:11px!important;
    background:rgba(124,58,237,.16)!important;
    border:1px solid rgba(167,139,250,.34)!important;
    color:#c4b5fd!important;
    cursor:pointer!important;
}
.dome-auth-row{display:flex;align-items:center;justify-content:space-between;gap:12px;}
.dome-auth-small-link{color:#a78bfa;text-decoration:none;font-weight:800;font-size:12px;white-space:nowrap;}
.dome-auth-check{font-size:12.5px!important;}
.dome-auth-form button[type=submit]{height:42px!important;padding:0 14px!important;border-radius:11px!important;font-size:14px!important;}
.dome-auth-switch{font-size:13px!important;margin-top:13px!important;}
.dome-auth-footer{font-size:11px!important;margin-top:14px!important;color:#8290a6!important;}
.dome-security-button{
    display:flex;align-items:center;justify-content:center;text-decoration:none;color:#fff!important;cursor:pointer;border-radius:15px;padding:12px 15px;font-weight:900;border:1px solid rgba(167,139,250,.5);background:rgba(124,58,237,.16);width:100%;box-sizing:border-box;
}
.dome-security-screen{min-height:100svh;padding:28px;color:#fff;background:radial-gradient(circle at 70% 20%,rgba(124,58,237,.28),transparent 30%),radial-gradient(circle at 30% 70%,rgba(56,189,248,.18),transparent 32%),#07101f;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;box-sizing:border-box;}
.dome-security-shell{width:min(1040px,100%);margin:0 auto;}
.dome-security-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin:0 0 18px;}
.dome-security-header h1{margin:0 0 8px;font-size:clamp(28px,4vw,44px);line-height:1.05;}
.dome-security-header p{margin:0;color:#a7b4c8;max-width:660px;line-height:1.55;}
.dome-security-back{color:#fff;text-decoration:none;border:1px solid rgba(167,139,250,.38);background:rgba(124,58,237,.14);border-radius:12px;padding:10px 13px;font-weight:850;}
.dome-security-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;}
.dome-security-module{border:1px solid rgba(148,163,184,.18);background:rgba(15,23,42,.68);box-shadow:0 18px 60px rgba(0,0,0,.25);border-radius:20px;padding:18px;display:grid;gap:12px;align-content:start;min-height:170px;}
.dome-security-module>span{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(135deg,rgba(37,99,235,.9),rgba(124,58,237,.95));font-weight:950;color:#fff;}
.dome-security-module.is-ready>span{background:#22c55e;color:#052e16;}
.dome-security-module strong{display:block;font-size:18px;}
.dome-security-module small{display:block;color:#a7b4c8;line-height:1.45;margin-top:4px;}
.dome-security-module button{align-self:end;border:1px solid rgba(148,163,184,.18);background:rgba(3,7,18,.32);color:#94a3b8;border-radius:11px;padding:10px 12px;font-weight:800;}
.dome-security-footer{position:static!important;text-align:center!important;margin-top:22px!important;}
@media (max-width:720px){
    .dome-auth-screen{padding:14px!important;align-content:center!important;}
    .dome-auth-card{width:min(336px,calc(100vw - 28px))!important;padding:58px 15px 16px!important;border-radius:18px!important;}
    .dome-auth-emblem{width:68px!important;height:68px!important;left:-14px!important;top:-28px!important;}
    .dome-auth-custom-icon,.dome-auth-custom-icon-default{width:68px!important;height:68px!important;font-size:20px!important;border-width:2px!important;}
    .dome-auth-header-text{padding-left:54px;margin-top:-30px;min-height:52px;}
    .dome-auth-card h1{font-size:22px!important;}
    .dome-auth-copy{font-size:12px!important;line-height:1.38!important;margin-bottom:13px!important;}
    .dome-auth-form{gap:9px!important;}
    .dome-auth-form input[type=text],.dome-auth-form input[type=email],.dome-auth-form input[type=password]{height:36px!important;font-size:13px!important;}
    .dome-auth-row{display:grid;gap:7px;}
    .dome-auth-small-link{font-size:12px;}
    .dome-auth-form button[type=submit]{height:39px!important;font-size:13px!important;}
    .dome-auth-switch{font-size:12px!important;}
    .dome-security-screen{padding:18px;}
    .dome-security-header{display:grid;}
    .dome-security-grid{grid-template-columns:1fr;}
    .dome-security-module{min-height:auto;}
}
@media (max-width:360px){
    .dome-auth-card{width:calc(100vw - 22px)!important;padding-left:12px!important;padding-right:12px!important;}
    .dome-auth-header-text{padding-left:48px;}
    .dome-auth-card h1{font-size:20px!important;}
}

/* Dome 0.2.1 */
.dome-module-link{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    border:1px solid rgba(167,139,250,.5);
    border-radius:12px;
    padding:9px 12px;
    color:#fff;
    background:rgba(124,58,237,.16);
    font-weight:900;
    white-space:nowrap;
}
.dome-module-link:hover{background:rgba(124,58,237,.28);color:#fff;}
.dome-auth-mode-reset .dome-auth-header-text,
.dome-auth-mode-lost .dome-auth-header-text{
    padding-left:88px;
}
@media (max-width:560px){
    .dome-auth-mode-reset .dome-auth-header-text,
    .dome-auth-mode-lost .dome-auth-header-text{padding-left:70px;}
}

/* Dome 0.2.3 — cleaner real account flow, tighter auth states */
.dome-auth-notice.dome-notice-success,
.dome-account-notice.dome-notice-success{
    border-color:rgba(34,197,94,.38)!important;
    background:rgba(34,197,94,.12)!important;
    color:#bbf7d0!important;
}
.dome-auth-notice.dome-notice-error,
.dome-account-notice.dome-notice-error{
    border-color:rgba(248,113,113,.42)!important;
    background:rgba(127,29,29,.22)!important;
    color:#fecaca!important;
}
.dome-field-error{
    border-color:rgba(248,113,113,.82)!important;
    box-shadow:0 0 0 3px rgba(248,113,113,.14)!important;
}
.dome-inline-error{
    display:block;
    margin-top:5px;
    color:#fecaca;
    font-size:11px;
    font-weight:750;
}
.dome-auth-form button[type=submit],
.dome-security-back,
.dome-module-link,
.dome-security-button{
    min-height:40px;
}
.dome-workspace-clean{max-width:980px;width:100%;}
.dome-clean-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;}
.dome-action-panel{
    display:grid;
    gap:8px;
    text-decoration:none;
    color:#fff!important;
    min-height:150px;
    align-content:start;
    transition:transform .16s ease,border-color .16s ease,background .16s ease;
}
.dome-action-panel:hover{transform:translateY(-2px);border-color:rgba(167,139,250,.46);background:rgba(30,41,59,.72);}
.dome-action-panel>span{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:rgba(124,58,237,.18);}
.dome-action-panel strong{font-size:20px;}
.dome-action-panel small{line-height:1.45;}
.dome-account-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}
.dome-account-panel h2{font-size:22px;margin:0 0 16px;color:#fff;}
.dome-account-form{gap:13px!important;}
.dome-account-notice{max-width:720px;margin:0 0 14px!important;}
@media (max-width:900px){
    .dome-clean-grid,.dome-account-grid{grid-template-columns:1fr;}
}
@media (max-width:720px){
    .dome-clean-grid{gap:10px;}
    .dome-action-panel{min-height:auto;padding:16px!important;}
    .dome-account-panel{padding:16px!important;}
    .dome-account-form button[type=submit]{height:39px!important;font-size:13px!important;}
}

/* Dome 0.2.6: tighter mobile auth panels */
@media (max-width:720px){
    .dome-auth-screen{
        padding:12px!important;
        min-height:100svh!important;
        place-items:center!important;
    }
    .dome-auth-card{
        width:min(312px,calc(100vw - 24px))!important;
        padding:48px 13px 14px!important;
        border-radius:16px!important;
    }
    .dome-auth-emblem{
        width:58px!important;
        height:58px!important;
        left:-10px!important;
        top:-22px!important;
    }
    .dome-auth-custom-icon,
    .dome-auth-custom-icon-default{
        width:58px!important;
        height:58px!important;
        font-size:17px!important;
        border-width:2px!important;
    }
    .dome-auth-header-text{
        padding-left:43px!important;
        margin-top:-25px!important;
        min-height:44px!important;
    }
    .dome-auth-card h1{
        font-size:20px!important;
        line-height:1.08!important;
        margin-bottom:6px!important;
    }
    .dome-auth-copy{
        font-size:11.5px!important;
        line-height:1.34!important;
        margin-bottom:11px!important;
    }
    .dome-auth-form{
        gap:7px!important;
    }
    .dome-auth-form label{
        font-size:12px!important;
        gap:5px!important;
    }
    .dome-auth-form input[type=text],
    .dome-auth-form input[type=email],
    .dome-auth-form input[type=password]{
        height:33px!important;
        padding:7px 10px!important;
        border-radius:9px!important;
        font-size:12.5px!important;
    }
    .dome-password-wrap input{padding-right:55px!important;}
    .dome-password-toggle{
        min-width:42px!important;
        height:24px!important;
        font-size:10px!important;
        right:5px!important;
    }
    .dome-auth-row{gap:6px!important;}
    .dome-auth-check{font-size:11.5px!important;}
    .dome-auth-small-link{font-size:11.5px!important;}
    .dome-auth-form button[type=submit]{
        height:36px!important;
        border-radius:10px!important;
        font-size:12.5px!important;
    }
    .dome-auth-switch{font-size:11.5px!important;margin-top:10px!important;}
    .dome-auth-footer{font-size:10px!important;margin-top:9px!important;}
}
@media (max-width:360px){
    .dome-auth-card{
        width:calc(100vw - 18px)!important;
        padding:44px 11px 12px!important;
    }
    .dome-auth-emblem{
        width:52px!important;
        height:52px!important;
        left:-7px!important;
        top:-19px!important;
    }
    .dome-auth-custom-icon,
    .dome-auth-custom-icon-default{
        width:52px!important;
        height:52px!important;
        font-size:15px!important;
    }
    .dome-auth-header-text{padding-left:39px!important;margin-top:-23px!important;}
    .dome-auth-card h1{font-size:18px!important;}
}


/* Dome 0.2.7: mobile auth layout fit pass */
.dome-auth-card,
.dome-auth-card *,
.dome-auth-card *::before,
.dome-auth-card *::after{box-sizing:border-box!important;}

@media (max-width:720px){
    html, body{overflow-x:hidden!important;}
    .dome-auth-screen{
        padding:10px 14px!important;
        min-height:100svh!important;
        align-items:center!important;
        justify-items:center!important;
        place-items:center!important;
    }
    .dome-auth-card{
        width:min(286px,calc(100vw - 54px))!important;
        max-width:286px!important;
        padding:42px 12px 13px!important;
        border-radius:15px!important;
        margin:0 auto!important;
    }
    .dome-auth-emblem{
        width:50px!important;
        height:50px!important;
        left:-7px!important;
        top:-18px!important;
    }
    .dome-auth-custom-icon,
    .dome-auth-custom-icon-default{
        width:50px!important;
        height:50px!important;
        font-size:14px!important;
        border-width:2px!important;
        box-shadow:0 0 0 2px rgba(56,189,248,.2),0 10px 28px rgba(0,0,0,.34)!important;
    }
    .dome-auth-header-text{
        padding-left:38px!important;
        margin-top:-23px!important;
        min-height:40px!important;
    }
    .dome-auth-card h1{
        font-size:18px!important;
        line-height:1.08!important;
        margin:0 0 5px!important;
        letter-spacing:-.02em!important;
    }
    .dome-auth-copy{
        font-size:10.75px!important;
        line-height:1.32!important;
        margin:0 0 10px!important;
    }
    .dome-auth-notice{
        font-size:11px!important;
        padding:7px 8px!important;
        border-radius:9px!important;
        margin-bottom:8px!important;
    }
    .dome-auth-form{
        gap:6px!important;
    }
    .dome-auth-form label{
        font-size:11.2px!important;
        gap:4px!important;
        line-height:1.2!important;
    }
    .dome-auth-form input[type=text],
    .dome-auth-form input[type=email],
    .dome-auth-form input[type=password]{
        height:30px!important;
        min-height:30px!important;
        padding:5px 8px!important;
        border-radius:8px!important;
        font-size:12px!important;
    }
    .dome-password-wrap input{padding-right:48px!important;}
    .dome-password-toggle{
        min-width:38px!important;
        height:21px!important;
        padding:0 6px!important;
        border-radius:7px!important;
        font-size:9.5px!important;
        right:5px!important;
    }
    .dome-auth-row{
        display:flex!important;
        align-items:center!important;
        justify-content:space-between!important;
        gap:8px!important;
    }
    .dome-auth-check{font-size:10.75px!important;gap:6px!important;}
    .dome-auth-check input{width:12px!important;height:12px!important;min-width:12px!important;}
    .dome-auth-small-link{font-size:10.75px!important;}
    .dome-auth-form button[type=submit]{
        height:33px!important;
        min-height:33px!important;
        border-radius:9px!important;
        font-size:11.75px!important;
        padding:0 10px!important;
    }
    .dome-auth-switch{
        font-size:10.75px!important;
        margin-top:8px!important;
        line-height:1.3!important;
    }
    .dome-auth-footer{
        font-size:9.5px!important;
        margin-top:8px!important;
    }
}

@media (max-width:380px){
    .dome-auth-screen{padding-left:10px!important;padding-right:10px!important;}
    .dome-auth-card{
        width:min(270px,calc(100vw - 44px))!important;
        max-width:270px!important;
        padding:40px 11px 12px!important;
    }
    .dome-auth-emblem{width:46px!important;height:46px!important;left:-6px!important;top:-16px!important;}
    .dome-auth-custom-icon,
    .dome-auth-custom-icon-default{width:46px!important;height:46px!important;font-size:13px!important;}
    .dome-auth-header-text{padding-left:35px!important;margin-top:-21px!important;}
    .dome-auth-card h1{font-size:17px!important;}
}

.dome-passkey-panel{margin-top:18px;padding:18px;border-radius:18px;background:rgba(15,23,42,.72);border:1px solid rgba(148,163,184,.18);}
.dome-passkey-panel-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px;}
.dome-passkey-panel h2{margin:0 0 4px;color:#f8fafc;font-size:18px;}
.dome-passkey-panel p{margin:0;color:#94a3b8;font-size:13px;}
.dome-secondary-button,.dome-remove-passkey{border:1px solid rgba(167,139,250,.45);background:rgba(124,58,237,.16);color:#f5f3ff;border-radius:11px;padding:9px 12px;font-weight:800;cursor:pointer;}
.dome-secondary-button:hover,.dome-remove-passkey:hover{background:rgba(124,58,237,.28);}
.dome-secondary-button:disabled,.dome-remove-passkey:disabled{opacity:.55;cursor:wait;}
.dome-passkey-list{display:grid;gap:10px;}
.dome-passkey-item{display:flex;align-items:center;gap:12px;padding:11px;border-radius:14px;background:rgba(2,6,23,.42);border:1px solid rgba(148,163,184,.15);}
.dome-passkey-item>span{width:36px;height:36px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(135deg,rgba(59,130,246,.28),rgba(124,58,237,.28));}
.dome-passkey-item div{flex:1;min-width:0;}
.dome-passkey-item strong{display:block;color:#f8fafc;font-size:14px;}
.dome-passkey-item small{display:block;color:#94a3b8;font-size:12px;margin-top:2px;}
.dome-empty-state{padding:12px;border-radius:12px;background:rgba(2,6,23,.34);border:1px dashed rgba(148,163,184,.2);}
.dome-passkey-message{margin:0 0 14px!important;}

@media (max-width:720px){
    .dome-passkey-panel{padding:13px;border-radius:14px;margin-top:12px;}
    .dome-passkey-panel-head{display:block;margin-bottom:10px;}
    .dome-passkey-panel h2{font-size:16px;}
    .dome-passkey-panel p{font-size:12px;margin-bottom:10px;}
    .dome-secondary-button{width:100%;height:34px;font-size:12px;}
    .dome-passkey-item{gap:9px;padding:9px;}
    .dome-passkey-item>span{width:30px;height:30px;border-radius:10px;}
    .dome-passkey-item strong{font-size:12px;}
    .dome-passkey-item small{font-size:10.5px;}
    .dome-remove-passkey{padding:6px 8px;border-radius:8px;font-size:11px;}
}

.dome-security-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 58px;
    padding: 7px 10px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, .22);
    color: rgba(226, 232, 240, .78);
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    background: rgba(15, 23, 42, .55);
}
.dome-security-pill.is-on {
    color: #86efac;
    border-color: rgba(34, 197, 94, .32);
    background: rgba(22, 163, 74, .12);
}
.dome-2fa-settings-form {
    margin-top: 16px;
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.dome-2fa-settings-form .dome-auth-check {
    margin: 0;
}
@media (max-width: 560px) {
    .dome-2fa-settings-form { align-items: stretch; }
    .dome-2fa-settings-form .dome-secondary-button { width: 100%; }
}

.dome-select {
    width: 100%;
    border: 1px solid rgba(148, 163, 184, .28);
    background: rgba(15, 23, 42, .72);
    color: #f8fafc;
    border-radius: 12px;
    min-height: 42px;
    padding: 0 12px;
    outline: none;
}

.dome-totp-setup {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 14px;
    align-items: start;
    margin: 12px 0 4px;
    padding: 12px;
    border: 1px solid rgba(148, 163, 184, .16);
    background: rgba(15, 23, 42, .36);
    border-radius: 16px;
}

.dome-totp-qr {
    background: #fff;
    border-radius: 14px;
    padding: 8px;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dome-totp-qr img { width: 104px; height: 104px; display: block; }
.dome-totp-setup small { display:block; margin: 3px 0 8px; color: rgba(226,232,240,.68); line-height: 1.35; }
.dome-totp-setup code { display:block; color:#dbeafe; background: rgba(2,6,23,.7); border:1px solid rgba(148,163,184,.16); border-radius: 10px; padding:8px; margin: 0 0 10px; white-space: normal; word-break: break-word; font-size: 12px; letter-spacing: .04em; }

@media (max-width: 560px) {
    .dome-totp-setup { grid-template-columns: 1fr; }
    .dome-totp-qr { width: 108px; height: 108px; }
    .dome-totp-qr img { width: 92px; height: 92px; }
}
