:root {
    color-scheme: dark;
    --bg: #080b13;
    --surface: #101522;
    --surface-2: #151c2c;
    --surface-3: #1b2436;
    --line: rgba(193, 207, 233, .09);
    --line-strong: rgba(193, 207, 233, .16);
    --text: #f1f5fb;
    --muted: #8994aa;
    --muted-2: #647089;
    --accent: #67e8d0;
    --accent-dark: #122f33;
    --blue: #65a6ff;
    --violet: #a78bfa;
    --amber: #f2bd76;
    --danger: #ff7d89;
    --radius: 18px;
    --shadow: 0 18px 52px rgba(0, 0, 0, .28);
}
* { box-sizing: border-box; }
html { min-width: 320px; min-height: 100%; background: var(--bg); scroll-behavior: smooth; }
body {
    margin: 0; min-height: 100vh; min-height: 100dvh; color: var(--text);
    background: radial-gradient(900px 560px at 85% -20%, rgba(48, 74, 117, .22), transparent 67%),
                radial-gradient(700px 500px at -20% 70%, rgba(35, 118, 119, .08), transparent 65%), var(--bg);
    font: 14px/1.5 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.shell { display: flex; min-height: 100vh; min-height: 100dvh; }
.side {
    position: sticky; top: 0; width: 264px; height: 100vh; height: 100dvh; flex: 0 0 264px;
    display: flex; flex-direction: column; padding: 25px 15px 15px;
    background: linear-gradient(180deg, rgba(15, 21, 34, .98), rgba(10, 14, 23, .98));
    border-right: 1px solid var(--line); z-index: 5;
}
.brand { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 0 10px 26px; text-decoration: none; }
.brand-mark { position: relative; width: 44px; height: 44px; flex: 0 0 44px; display: grid; place-items: center; overflow: hidden; border: 1px solid rgba(103, 232, 208, .35); border-radius: 15px; background: linear-gradient(145deg, rgba(103, 232, 208, .19), rgba(69, 96, 173, .18)); box-shadow: inset 0 1px rgba(255, 255, 255, .08), 0 0 28px rgba(103, 232, 208, .09); }
.brand-mark span { position: relative; z-index: 1; font-size: 22px; font-weight: 850; letter-spacing: -.1em; color: #f5fffc; transform: translateX(-1px); }
.brand-mark i { position: absolute; right: -7px; bottom: -8px; width: 25px; height: 25px; border-radius: 50%; background: var(--accent); filter: blur(14px); opacity: .6; }
.brand-copy { display: grid; gap: 2px; min-width: 0; }
.brand-copy strong { white-space: nowrap; font-size: 13px; letter-spacing: .025em; font-weight: 780; }
.brand-copy em { font-style: normal; color: var(--accent); }
.brand-copy small { font-size: 9px; letter-spacing: .19em; color: var(--muted-2); }
.side-nav { display: grid; gap: 5px; }
.nav-link { position: relative; min-height: 45px; display: flex; align-items: center; gap: 12px; padding: 0 12px; border: 1px solid transparent; border-radius: 12px; color: #a9b3c5; text-decoration: none; font-size: 13px; font-weight: 560; transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease; }
.nav-link:hover { color: var(--text); background: rgba(255, 255, 255, .045); transform: translateX(2px); }
.nav-link.active { color: #eafffb; border-color: rgba(103, 232, 208, .12); background: linear-gradient(100deg, rgba(103, 232, 208, .12), rgba(103, 232, 208, .035)); box-shadow: inset 2px 0 var(--accent); }
.nav-icon { width: 19px; height: 19px; flex: 0 0 19px; color: #78869e; }
.nav-icon svg, .logout svg, .stat-icon svg, .auth-security svg { display: block; width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.nav-link.active .nav-icon { color: var(--accent); }
.nav-indicator { width: 5px; height: 5px; margin-left: auto; border-radius: 50%; background: var(--accent); box-shadow: 0 0 11px rgba(103, 232, 208, .9); }
.side-bottom { display: grid; gap: 12px; margin-top: auto; padding: 15px 5px 0; }
.side-status { display: flex; align-items: center; gap: 8px; padding: 10px 11px; border: 1px solid var(--line); border-radius: 11px; color: var(--muted); font-size: 11px; }
.status-dot, .inline-dot { display: inline-block; width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px rgba(103, 232, 208, .45); }
.logout { display: flex; align-items: center; gap: 10px; padding: 10px 11px; border-radius: 10px; color: #aab5c8; text-decoration: none; transition: .18s; }
.logout:hover { color: #ffd7db; background: rgba(255, 125, 137, .08); }
.logout svg { width: 18px; height: 18px; }
.signature { padding: 9px 10px 0; border-top: 1px solid var(--line); color: var(--muted-2); font-size: 9px; letter-spacing: .1em; }
.signature span { color: var(--accent); }
.main-content { flex: 1; min-width: 0; width: calc(100% - 264px); padding: 0 clamp(22px, 4vw, 60px) 40px; }
.topbar { min-height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.topbar-title { min-width: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--muted-2); font-size: 9px; line-height: 1.3; font-weight: 720; letter-spacing: .16em; }
.eyebrow-sep { color: #46536b; }
.topbar h1 { margin: 6px 0 0; font-size: clamp(22px, 2.3vw, 29px); line-height: 1.15; letter-spacing: -.045em; font-weight: 720; }
.topbar-user { display: flex; align-items: center; gap: 10px; padding: 7px 11px 7px 7px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255, 255, 255, .025); }
.admin-avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: #d8fff7; background: linear-gradient(145deg, rgba(103, 232, 208, .24), rgba(99, 102, 241, .2)); font-size: 13px; font-weight: 750; }
.admin-name { display: grid; color: var(--text); font-size: 12px; font-weight: 620; }
.admin-name small { color: var(--muted); font-size: 10px; font-weight: 450; }
.page-content { width: 100%; max-width: 1540px; margin: 0 auto; padding-top: 25px; }
.notice { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 12px 15px; border: 1px solid rgba(103, 232, 208, .2); border-radius: 12px; color: #c7fff3; background: rgba(35, 118, 99, .12); font-size: 13px; }
.notice-icon { display: grid; place-items: center; width: 22px; height: 22px; flex: 0 0 22px; border-radius: 50%; color: var(--accent); background: rgba(103, 232, 208, .12); font-weight: 800; }
/* Dashboard */
.welcome-panel { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 170px; overflow: hidden; margin-bottom: 19px; padding: 27px 30px; border: 1px solid rgba(109, 155, 219, .19); border-radius: 20px; background: linear-gradient(105deg, rgba(21, 34, 55, .97), rgba(17, 27, 45, .9) 55%, rgba(28, 39, 65, .8)); box-shadow: var(--shadow); }
.welcome-panel::before { position: absolute; content: ""; width: 360px; height: 260px; top: -125px; right: 16%; border-radius: 50%; background: rgba(74, 122, 200, .14); filter: blur(50px); }
.welcome-copy, .welcome-date { position: relative; z-index: 1; }
.welcome-copy h2 { margin: 11px 0 5px; font-size: clamp(24px, 3vw, 34px); line-height: 1.15; letter-spacing: -.05em; }
.welcome-copy p { margin: 0; color: #aab5c9; font-size: 13px; }
.welcome-date { display: grid; justify-items: end; gap: 2px; padding: 13px 16px; border: 1px solid rgba(255, 255, 255, .09); border-radius: 13px; background: rgba(7, 12, 21, .25); }
.welcome-date span, .welcome-date small { color: var(--muted); font-size: 9px; letter-spacing: .11em; }
.welcome-date strong { font-size: 19px; letter-spacing: .03em; }
.welcome-date small { letter-spacing: .02em; }
.welcome-grid { position: absolute; inset: 0 0 0 auto; width: min(33%, 340px); opacity: .25; background-image: linear-gradient(rgba(161, 190, 233, .13) 1px, transparent 1px), linear-gradient(90deg, rgba(161, 190, 233, .13) 1px, transparent 1px); background-size: 28px 28px; mask-image: linear-gradient(90deg, transparent, #000); }
.welcome-grid i { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px var(--accent); }
.welcome-grid i:nth-child(1) { top: 26%; left: 22%; }.welcome-grid i:nth-child(4) { top: 54%; left: 57%; }.welcome-grid i:nth-child(9) { top: 77%; left: 37%; }.welcome-grid i:nth-child(13) { top: 19%; left: 77%; }
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; margin-bottom: 17px; }
.stat-card, .panel, .card { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(17, 23, 37, .97), rgba(15, 21, 33, .96)); box-shadow: 0 10px 28px rgba(0, 0, 0, .12); }
.stat-card { padding: 17px 18px 16px; transition: border-color .18s, transform .18s; }
.stat-card:hover { transform: translateY(-2px); border-color: var(--line-strong); }
.stat-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.stat-label { color: #9da8bb; font-size: 11px; font-weight: 560; }
.stat-icon { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 34px; border: 1px solid currentColor; border-radius: 11px; }
.stat-icon svg { width: 18px; height: 18px; }
.icon-blue { color: var(--blue); background: rgba(101, 166, 255, .09); border-color: rgba(101, 166, 255, .15); }
.icon-green { color: var(--accent); background: rgba(103, 232, 208, .08); border-color: rgba(103, 232, 208, .14); }
.icon-violet { color: var(--violet); background: rgba(167, 139, 250, .08); border-color: rgba(167, 139, 250, .15); }
.icon-amber { color: var(--amber); background: rgba(242, 189, 118, .08); border-color: rgba(242, 189, 118, .15); }
.stat-value { display: block; margin-top: 11px; font-size: 29px; line-height: 1; font-weight: 740; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.stat-foot { display: flex; align-items: center; gap: 7px; margin-top: 9px; color: var(--muted); font-size: 10px; }
.inline-dot { width: 6px; height: 6px; flex-basis: 6px; }
.analytics-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(270px, .95fr); gap: 15px; margin-bottom: 15px; }
.panel { padding: 21px 22px; }
.panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.panel-heading h2 { margin: 6px 0 3px; font-size: 16px; letter-spacing: -.025em; }
.panel-heading p { margin: 0; color: var(--muted); font-size: 11px; }
.period-pill { padding: 6px 9px; border: 1px solid var(--line); border-radius: 8px; color: #a5b2c7; background: rgba(255, 255, 255, .025); font-size: 9px; font-weight: 700; letter-spacing: .1em; }
.activity-chart { display: grid; grid-template-columns: repeat(7, 1fr); gap: 13px; min-height: 188px; margin-top: 19px; padding: 2px 4px 0; border-bottom: 1px solid var(--line); background: repeating-linear-gradient(to bottom, transparent 0, transparent 45px, rgba(255, 255, 255, .035) 46px); }
.chart-column { display: grid; grid-template-rows: 17px 1fr 27px; justify-items: center; min-width: 0; }
.chart-value { color: #a8b6c9; font-size: 10px; font-variant-numeric: tabular-nums; }
.bar-track { display: flex; align-items: end; justify-content: center; width: 100%; max-width: 34px; height: 100%; }
.bar-fill { width: min(100%, 24px); height: var(--bar-height); min-height: var(--bar-height); border-radius: 7px 7px 3px 3px; background: linear-gradient(180deg, #7cf4db, #369eae); box-shadow: 0 0 19px rgba(103, 232, 208, .18); transition: filter .18s, opacity .18s; }
.chart-column:hover .bar-fill { filter: brightness(1.2); }
.chart-day { align-self: end; padding-bottom: 7px; color: var(--muted); font-size: 10px; }
.chart-day.is-today { color: var(--accent); font-weight: 750; }
.chart-legend { display: flex; align-items: center; gap: 7px; margin-top: 12px; color: #a8b4c7; font-size: 10px; }
.legend-mark { width: 8px; height: 8px; border-radius: 3px; background: var(--accent); }
.legend-note { margin-left: auto; color: var(--muted-2); }
.dns-summary-body { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 3vw, 38px); min-height: 188px; padding: 14px 0 6px; }
.donut { display: grid; place-items: center; width: 142px; height: 142px; flex: 0 0 142px; border-radius: 50%; background: conic-gradient(var(--accent) 0 var(--active-pct), rgba(114, 129, 156, .25) var(--active-pct) 100%); transform: rotate(-90deg); }
.donut::before { content: ""; grid-area: 1 / 1; width: 112px; height: 112px; border: 1px solid var(--line); border-radius: 50%; background: #111725; }
.donut-center { grid-area: 1 / 1; z-index: 1; display: grid; justify-items: center; transform: rotate(90deg); }
.donut-center strong { font-size: 28px; line-height: 1; letter-spacing: -.05em; }.donut-center span { margin-top: 5px; color: var(--muted); font-size: 10px; }
.dns-legend { display: grid; gap: 12px; min-width: 103px; }
.dns-legend > div { display: grid; grid-template-columns: 8px 1fr auto; align-items: center; gap: 8px; color: #aeb9ca; font-size: 10px; }
.dns-legend strong { color: var(--text); font-size: 12px; font-variant-numeric: tabular-nums; }
.legend-dot { width: 7px; height: 7px; border-radius: 50%; }.dot-active { background: var(--accent); }.dot-paused { background: #778199; }.dot-total { background: #798aff; }
.text-link { display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; color: var(--accent); text-decoration: none; font-size: 11px; font-weight: 650; }
.text-link:hover { color: #b0fff0; }
.mode-note { display: flex; align-items: center; gap: 9px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255, 255, 255, .025); color: var(--muted); font-size: 10px; }
.mode-note-icon { display: grid; place-items: center; width: 17px; height: 17px; flex: 0 0 17px; border-radius: 50%; color: var(--blue); background: rgba(101, 166, 255, .12); font-size: 11px; font-weight: 800; }
.mode-note strong { margin-left: auto; color: #d7e0ee; font-size: 10px; }
.recent-panel { padding-bottom: 8px; }
.recent-panel .panel-heading { margin-bottom: 15px; }
.table-wrap { width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-color: #354159 transparent; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 12px 13px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
th { color: var(--muted-2); font-size: 9px; font-weight: 740; letter-spacing: .13em; text-transform: uppercase; white-space: nowrap; }
td { color: #c7d0de; font-size: 11px; }
.data-table { min-width: 610px; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.client-cell { display: inline-flex; align-items: center; gap: 9px; }
.client-avatar { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid rgba(103, 232, 208, .12); border-radius: 9px; background: rgba(103, 232, 208, .07); color: #c5fff4; font-size: 10px; font-weight: 720; }
.status-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px; border: 1px solid rgba(103, 232, 208, .12); border-radius: 20px; color: #a8ebdc; background: rgba(103, 232, 208, .055); font-size: 9px; white-space: nowrap; }
.status-badge i { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.empty-state { display: grid; justify-items: center; gap: 4px; padding: 24px 10px; text-align: center; }
.empty-icon { color: var(--accent); font-size: 24px; }.empty-state strong { color: #dbe4ef; font-size: 12px; }.empty-state span:last-child { color: var(--muted); font-size: 10px; }
.data-note { display: flex; align-items: flex-start; gap: 8px; margin: 13px 2px 0; color: var(--muted-2); font-size: 10px; }
.data-note span { color: var(--blue); }
/* Shared forms, tables and controls */
.card { margin-bottom: 16px; padding: 22px; }
.card h2 { margin: 0 0 13px; color: #e7edf7; font-size: 16px; letter-spacing: -.02em; }
.hint { color: var(--muted); font-size: 12px; line-height: 1.65; }
label { display: block; margin: 14px 0 7px; color: #bdc7d7; font-size: 11px; font-weight: 640; }
input, select, textarea { width: 100%; min-height: 44px; padding: 11px 13px; border: 1px solid #2b3548; border-radius: 11px; outline: none; background: #0c111d; color: var(--text); font-size: 13px; transition: border-color .17s, box-shadow .17s, background .17s; }
input::placeholder, textarea::placeholder { color: #59657a; }
input:hover, select:hover, textarea:hover { border-color: #3a4962; }
input:focus, select:focus, textarea:focus { border-color: rgba(103, 232, 208, .7); background: #0e1522; box-shadow: 0 0 0 3px rgba(103, 232, 208, .09); }
input[type="color"] { min-height: 46px; padding: 5px; cursor: pointer; }
input[type="file"] { padding: 8px 10px; color: var(--muted); }
input[type="file"]::file-selector-button { margin-right: 12px; padding: 7px 10px; border: 0; border-radius: 7px; background: #26334a; color: #e6edf7; font-size: 11px; cursor: pointer; }
.row { display: flex; align-items: end; gap: 12px; flex-wrap: wrap; }.row > * { min-width: min(180px, 100%); flex: 1; }
button, .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 10px 15px; border: 1px solid transparent; border-radius: 11px; color: #071511; background: linear-gradient(135deg, #8af0dc, #4bd1bf); box-shadow: 0 6px 18px rgba(73, 202, 183, .12); font-size: 12px; line-height: 1.1; font-weight: 760; text-decoration: none; cursor: pointer; transition: transform .16s ease, filter .16s ease, box-shadow .16s ease, border-color .16s ease; }
button:hover, .btn:hover { transform: translateY(-1px); filter: brightness(1.06); box-shadow: 0 9px 23px rgba(73, 202, 183, .18); }
button:active, .btn:active { transform: translateY(0); }
.btn.ghost, button.ghost { border-color: var(--line-strong); color: #c2cddd; background: rgba(255, 255, 255, .045); box-shadow: none; }
.btn.ghost:hover, button.ghost:hover { color: #fff; border-color: rgba(103, 232, 208, .25); background: rgba(103, 232, 208, .08); }
.btn.danger, button.danger { border-color: rgba(255, 125, 137, .2); color: #ffbac1; background: rgba(255, 87, 104, .1); box-shadow: none; }
.btn.danger:hover, button.danger:hover { background: rgba(255, 87, 104, .19); }
.actions { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }.actions form { display: inline-flex; margin: 0; }.actions button, .actions .btn { min-height: 34px; padding: 7px 9px; border-radius: 8px; font-size: 10px; }
.table-wrap table:not(.data-table) { min-width: 650px; }
.table-wrap table:not(.data-table) tbody tr:hover { background: rgba(255, 255, 255, .022); }
.swatches { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.preview { min-height: 70px; border: 1px solid var(--line); border-radius: 13px; display: grid; place-items: center; font-weight: 730; }
.key { overflow-wrap: anywhere; border: 1px solid var(--line); border-radius: 11px; padding: 13px 14px; color: #c7d4e6; background: #090e17; font: 11px/1.6 ui-monospace, SFMono-Regular, Consolas, monospace; }
.pager { display: flex; gap: 7px; margin-top: 16px; flex-wrap: wrap; }.pager a, .pager span { display: grid; place-items: center; min-width: 36px; min-height: 36px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 9px; color: #c8d2e1; background: rgba(255, 255, 255, .035); text-decoration: none; }.pager .on { border-color: rgba(103, 232, 208, .28); color: #061511; background: var(--accent); font-weight: 750; }
/* DNS and integration endpoint masking */
.endpoint-safe { display: inline-flex; align-items: center; gap: 7px; color: #aeb8ca; font-size: 11px; }.endpoint-safe i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }.dns-name { display: grid; gap: 3px; }.dns-name strong { color: #e4ebf5; font-weight: 650; }.dns-name small { color: var(--muted-2); font-size: 9px; }
.secret-card { display: grid; gap: 14px; }.secret-status { display: flex; align-items: flex-start; gap: 14px; }.secret-status-icon { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 42px; border: 1px solid rgba(103, 232, 208, .18); border-radius: 13px; color: var(--accent); background: rgba(103, 232, 208, .075); }.secret-status-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }.secret-status-copy h2 { margin: 1px 0 3px; font-size: 15px; }.secret-status-copy p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.6; }.status-pill { margin-left: auto; padding: 6px 9px; border: 1px solid rgba(103, 232, 208, .15); border-radius: 20px; color: #a8ebdc; background: rgba(103, 232, 208, .06); font-size: 9px; white-space: nowrap; }.secret-copy-box { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: rgba(4, 9, 17, .44); }.secret-copy-box strong { display: block; font-size: 12px; }.secret-copy-box p { margin: 4px 0 0; color: var(--muted); font-size: 10px; }.secret-mask { color: #a1aec4; font: 16px ui-monospace, monospace; letter-spacing: .12em; }.visually-hidden { position: absolute!important; width: 1px!important; height: 1px!important; padding: 0!important; margin: -1px!important; overflow: hidden!important; clip: rect(0,0,0,0)!important; white-space: nowrap!important; border: 0!important; }
.btn-secondary { border-color: var(--line-strong); color: #d7e3f0; background: rgba(255, 255, 255, .055); box-shadow: none; }.btn-secondary:hover { border-color: rgba(103, 232, 208, .24); background: rgba(103, 232, 208, .09); }.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }.optional-label { color: var(--muted-2); font-size: 10px; font-weight: 450; }
/* Authentication */
.auth-page { display: grid; place-items: center; padding: 28px; background: radial-gradient(750px 650px at 82% 12%, rgba(44, 90, 126, .2), transparent 67%), radial-gradient(600px 500px at 10% 100%, rgba(35, 118, 119, .13), transparent 68%), #080b13; }
.auth-shell { width: min(1060px, 100%); min-height: min(670px, calc(100dvh - 56px)); display: grid; grid-template-columns: 1fr .9fr; overflow: hidden; border: 1px solid rgba(202, 218, 244, .1); border-radius: 25px; background: rgba(14, 20, 32, .84); box-shadow: 0 35px 100px rgba(0, 0, 0, .45); }
.auth-story { position: relative; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; min-height: 580px; padding: 38px 42px; background: linear-gradient(145deg, rgba(20, 41, 53, .95), rgba(15, 25, 42, .98) 53%, rgba(28, 29, 57, .95)); }
.auth-story::before, .auth-story::after { position: absolute; content: ""; border: 1px solid rgba(103, 232, 208, .12); transform: rotate(35deg); pointer-events: none; }.auth-story::before { width: 470px; height: 470px; right: -220px; bottom: -185px; border-radius: 35%; box-shadow: 0 0 0 30px rgba(103, 232, 208, .025), 0 0 0 65px rgba(103, 232, 208, .018); }.auth-story::after { width: 220px; height: 220px; right: 40px; bottom: 30px; border-radius: 30%; }
.auth-brand { position: relative; z-index: 1; padding: 0; }.auth-brand .brand-mark { width: 49px; height: 49px; flex-basis: 49px; }.auth-story-copy { position: relative; z-index: 1; max-width: 430px; margin: auto 0; padding: 45px 0; }.auth-story-copy h1 { margin: 22px 0 15px; font-size: clamp(40px, 5vw, 60px); line-height: .99; letter-spacing: -.075em; }.auth-story-copy h1 span { color: var(--accent); }.auth-story-copy p { max-width: 350px; margin: 0; color: #afbdc8; font-size: 14px; }
.auth-story-foot { position: relative; z-index: 1; display: flex; align-items: center; gap: 11px; color: #75879b; font-size: 9px; font-weight: 700; letter-spacing: .13em; }.auth-story-foot i { color: var(--accent); font-style: normal; }.auth-line { width: 24px; height: 1px; background: var(--accent); }
.auth-card-wrap { display: grid; align-content: center; justify-items: center; padding: 45px clamp(25px, 5vw, 62px); }.auth-card { width: min(370px, 100%); }.auth-card-mark { display: grid; place-items: center; width: 43px; height: 43px; margin-bottom: 28px; border: 1px solid rgba(103, 232, 208, .19); border-radius: 14px; color: var(--accent); background: rgba(103, 232, 208, .07); }.auth-card-mark svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }.auth-card > .eyebrow { color: #728097; }.auth-card h2 { margin: 9px 0 5px; font-size: 27px; letter-spacing: -.055em; }.auth-subtitle { margin: 0 0 23px; color: var(--muted); font-size: 12px; }.auth-form label { margin: 17px 0 7px; color: #c5cfdf; }.auth-form input { min-height: 48px; background: rgba(7, 12, 20, .65); }.auth-submit { width: 100%; min-height: 48px; margin-top: 24px; font-size: 13px; }.auth-submit span { margin-left: auto; font-size: 17px; }.auth-error { display: flex; align-items: center; gap: 9px; margin: 0 0 16px; padding: 11px 12px; border: 1px solid rgba(255, 125, 137, .22); border-radius: 11px; color: #ffc1c7; background: rgba(255, 87, 104, .08); font-size: 12px; }.auth-error span { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; color: #21090d; background: var(--danger); font-size: 11px; font-weight: 800; }.auth-security { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 20px 0 0; color: var(--muted-2); font-size: 10px; }.auth-security svg { width: 14px; height: 14px; color: #8090a6; }.auth-mobile-signature { display: none; color: var(--muted-2); font-size: 9px; letter-spacing: .12em; }
@media (max-width: 1180px) { .side { width: 236px; flex-basis: 236px; }.main-content { width: calc(100% - 236px); padding-inline: 26px; }.stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.analytics-grid { grid-template-columns: minmax(0, 1.3fr) minmax(250px, .9fr); } }
@media (max-width: 900px) { .shell { display: block; }.side { position: relative; width: 100%; height: auto; min-height: 0; padding: 12px 18px 10px; border-right: 0; border-bottom: 1px solid var(--line); }.brand { padding: 0 0 12px; }.brand-mark { width: 37px; height: 37px; flex-basis: 37px; border-radius: 12px; }.brand-mark span { font-size: 19px; }.side-nav { display: flex; gap: 5px; overflow-x: auto; padding: 0 0 2px; scrollbar-width: thin; }.nav-link { flex: 0 0 auto; min-height: 38px; padding: 0 10px; font-size: 11px; }.nav-link.active { box-shadow: inset 0 -2px var(--accent); }.nav-indicator { display: none; }.side-bottom { position: absolute; top: 15px; right: 18px; display: flex; align-items: center; gap: 7px; margin: 0; padding: 0; }.side-status, .signature { display: none; }.logout { padding: 7px 9px; font-size: 11px; }.main-content { width: 100%; padding: 0 clamp(18px, 4vw, 34px) 30px; }.topbar { min-height: 82px; }.page-content { padding-top: 18px; } }
@media (max-width: 700px) { .analytics-grid { grid-template-columns: 1fr; }.welcome-panel { min-height: 155px; padding: 22px; }.dns-summary-body { justify-content: flex-start; min-height: 160px; }.donut { width: 126px; height: 126px; flex-basis: 126px; }.donut::before { width: 99px; height: 99px; }.stat-card { padding: 15px; }.stat-label { font-size: 10px; }.stat-foot { font-size: 9px; }.auth-page { padding: 16px; }.auth-shell { width: min(500px, 100%); min-height: auto; grid-template-columns: 1fr; border-radius: 20px; }.auth-story { min-height: 0; padding: 21px 23px 17px; }.auth-story-copy { padding: 25px 0 12px; }.auth-story-copy h1 { margin: 13px 0 7px; font-size: 33px; }.auth-story-copy p { font-size: 11px; }.auth-story-foot { display: none; }.auth-card-wrap { padding: 28px 24px 19px; }.auth-card-mark { margin-bottom: 19px; }.auth-card h2 { font-size: 24px; }.auth-subtitle { margin-bottom: 17px; }.auth-mobile-signature { display: block; margin-top: 24px; text-align: center; } }
@media (max-width: 520px) { .side { padding-inline: 12px; }.side-bottom { right: 12px; }.brand-copy strong { font-size: 11px; }.brand-copy small { font-size: 8px; }.nav-link { gap: 7px; padding-inline: 9px; }.nav-icon { width: 16px; height: 16px; flex-basis: 16px; }.topbar { min-height: 74px; gap: 8px; }.topbar-user { gap: 7px; padding: 5px; }.admin-name { display: none; }.admin-avatar { width: 31px; height: 31px; }.eyebrow { font-size: 8px; }.topbar h1 { font-size: 22px; }.page-content { padding-top: 14px; }.welcome-panel { align-items: flex-start; min-height: 145px; padding: 18px 17px; }.welcome-copy h2 { font-size: 25px; }.welcome-copy p { max-width: 240px; font-size: 11px; }.welcome-date { gap: 3px; padding: 9px; }.welcome-date strong { font-size: 14px; }.welcome-date small { display: none; }.stat-grid { gap: 9px; }.stat-card { padding: 12px; border-radius: 14px; }.stat-icon { width: 29px; height: 29px; flex-basis: 29px; border-radius: 9px; }.stat-icon svg { width: 16px; height: 16px; }.stat-value { margin-top: 9px; font-size: 25px; }.stat-foot { min-height: 26px; line-height: 1.35; }.panel { padding: 17px 15px; border-radius: 15px; }.panel-heading h2 { font-size: 15px; }.activity-chart { min-height: 160px; gap: 6px; }.dns-summary-body { gap: 24px; }.donut { width: 118px; height: 118px; flex-basis: 118px; }.donut::before { width: 92px; height: 92px; }.recent-panel { padding-inline: 12px; }.card { padding: 17px 15px; border-radius: 15px; }.row { display: grid; grid-template-columns: 1fr; }.row > * { min-width: 0; width: 100%; }.actions { min-width: 170px; }.swatches { grid-template-columns: 1fr; }.secret-copy-box { align-items: flex-start; flex-direction: column; }.status-pill { font-size: 8px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto!important; transition-duration: .01ms!important; animation-duration: .01ms!important; animation-iteration-count: 1!important; } }
