:root {
    --ink: #172339;
    --muted: #6f7c90;
    --paper: #f4f6fa;
    --panel: #ffffff;
    --line: #e4e8ef;
    --navy: #162646;
    --blue: #4965ee;
    --mint: #a6ead0;
    --radius: 18px;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--paper); }
body { margin: 0; min-width: 320px; color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 10; padding: .75rem 1rem; color: #fff; background: var(--blue); border-radius: .5rem; }
.skip-link:focus { top: 1rem; }
.shell { display: grid; min-height: 100vh; grid-template-columns: 252px minmax(0, 1fr); }
.sidebar { display: flex; flex-direction: column; padding: 28px 18px 20px; color: #dce5fb; background: var(--navy); }
.brand { display: flex; align-items: center; gap: 11px; padding: 0 10px 31px; color: #fff; text-decoration: none; }
.brand-mark { display: grid; width: 34px; height: 34px; place-items: center; color: var(--navy); font-family: Georgia, serif; font-size: 1.4rem; font-weight: 700; background: var(--mint); border-radius: 11px 11px 11px 2px; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 1.05rem; letter-spacing: -.03em; }
.brand small { margin-top: 2px; color: #91a1c0; font-size: .58rem; font-weight: 700; letter-spacing: .12em; }
.nav-label { margin: 14px 10px 9px; color: #8292b1; font-size: .62rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.nav-label-space { margin-top: 29px; }
.nav-item { display: flex; align-items: center; gap: 12px; min-height: 42px; padding: 0 12px; color: #b4c0d8; font-size: .9rem; text-decoration: none; border-radius: 9px; }
.nav-item span:first-child { width: 14px; color: #95a9d3; text-align: center; font-size: 1rem; }
.nav-item.active { color: #fff; font-weight: 700; background: rgba(166, 234, 208, .13); }
.nav-item.active span:first-child { color: var(--mint); }
.nav-item.pending { opacity: .55; cursor: default; }
.sidebar-footer { margin-top: auto; padding: 14px 10px 2px; color: #cbd6eb; font-size: .74rem; line-height: 1.55; border-top: 1px solid rgba(197, 214, 245, .15); }
.sidebar-footer small { color: #8292b1; }
.pulse { display: inline-block; width: 7px; height: 7px; margin-right: 6px; background: var(--mint); border-radius: 50%; box-shadow: 0 0 0 4px rgba(166, 234, 208, .12); }
.main-content { padding: clamp(28px, 5vw, 68px); overflow: hidden; }
.topbar { display: flex; align-items: flex-start; justify-content: space-between; gap: 2rem; margin-bottom: 34px; }
.eyebrow, .section-kicker { margin: 0 0 7px; color: var(--blue); font-size: .65rem; font-weight: 800; letter-spacing: .13em; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 0; font-size: clamp(2rem, 3.4vw, 3rem); letter-spacing: -.065em; line-height: .98; }
.environment { display: inline-flex; align-items: center; gap: 7px; margin-top: 3px; padding: 8px 10px; color: #4e5c72; font-size: .65rem; font-weight: 800; letter-spacing: .08em; background: rgba(255,255,255,.72); border: 1px solid var(--line); border-radius: 999px; }
.environment span { width: 6px; height: 6px; background: #9ba8b8; border-radius: 50%; }
.welcome-panel { position: relative; display: flex; min-height: 295px; align-items: center; justify-content: space-between; padding: clamp(32px, 5vw, 64px); overflow: hidden; color: #fff; background: linear-gradient(126deg, #1a2c51 0%, #2b4c84 100%); border-radius: var(--radius); isolation: isolate; }
.welcome-panel::after { position: absolute; inset: 0; z-index: -1; content: ""; opacity: .32; background-image: radial-gradient(circle at 1px 1px, #a6ead0 1px, transparent 1.2px); background-size: 18px 18px; mask-image: linear-gradient(90deg, transparent, #000 42%, #000); }
.welcome-copy { max-width: 570px; }
.welcome-copy .section-kicker { color: var(--mint); }
.welcome-copy h2 { max-width: 480px; margin-bottom: 15px; font-size: clamp(1.75rem, 3vw, 2.75rem); letter-spacing: -.06em; line-height: 1.02; }
.welcome-copy p:not(.section-kicker) { max-width: 510px; margin-bottom: 25px; color: #d4e0f5; font-size: .97rem; line-height: 1.65; }
.disabled-action { display: inline-flex; gap: 10px; align-items: center; color: #9fb1d0; font-size: .78rem; font-weight: 700; }
.orbital-mark { position: relative; display: grid; width: 174px; height: 174px; flex: 0 0 174px; place-items: center; margin-left: 2rem; }
.orbital-mark i { position: absolute; width: 100%; height: 100%; border: 1px solid rgba(166,234,208,.35); border-radius: 50%; transform: rotate(-35deg) scaleY(.43); }
.orbital-mark i:nth-child(2) { transform: rotate(25deg) scaleY(.43); }
.orbital-mark i:nth-child(3) { transform: rotate(90deg) scaleY(.43); }
.orbital-mark b { display: grid; width: 62px; height: 62px; place-items: center; color: var(--navy); font-family: Georgia, serif; font-size: 2.1rem; background: var(--mint); border-radius: 18px 18px 18px 3px; box-shadow: 0 12px 32px rgba(0,0,0,.2); }
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 15px 0; }
.metrics article, .empty-state { background: var(--panel); border: 1px solid var(--line); border-radius: 13px; }
.metrics article { min-height: 134px; padding: 21px; }
.metrics p { margin-bottom: 16px; color: var(--muted); font-size: .77rem; font-weight: 700; }
.metrics strong { display: block; margin-bottom: 5px; color: #a3adbb; font-size: 1.55rem; line-height: 1; }
.metrics small { color: #a3adbb; font-size: .68rem; }
.empty-state { display: flex; align-items: center; gap: 21px; min-height: 178px; padding: 30px; }
.empty-icon { display: grid; width: 58px; height: 58px; flex: 0 0 58px; place-items: center; color: var(--blue); font-size: 1.5rem; background: #edf0ff; border-radius: 18px 18px 18px 3px; }
.empty-state h2 { margin-bottom: 8px; font-size: 1.1rem; letter-spacing: -.03em; }
.empty-state p:last-child { max-width: 520px; margin-bottom: 0; color: var(--muted); font-size: .85rem; line-height: 1.6; }
@media (max-width: 820px) { .shell { grid-template-columns: 1fr; } .sidebar { display: none; } .main-content { padding: 28px 20px; } .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); } .orbital-mark { width: 125px; height: 125px; flex-basis: 125px; } }
@media (max-width: 540px) { .topbar { gap: 1rem; } .environment { font-size: .56rem; } .welcome-panel { min-height: 0; padding: 32px 26px; } .orbital-mark { display: none; } .metrics { grid-template-columns: 1fr 1fr; gap: 8px; } .metrics article { min-height: 112px; padding: 16px; } .empty-state { align-items: flex-start; padding: 23px; } }
@media (prefers-reduced-motion: no-preference) { .orbital-mark { animation: float 7s ease-in-out infinite; } .metrics article { animation: enter .5s both; } .metrics article:nth-child(2) { animation-delay: .06s; } .metrics article:nth-child(3) { animation-delay: .12s; } .metrics article:nth-child(4) { animation-delay: .18s; } @keyframes float { 50% { transform: translateY(-6px) rotate(2deg); } } @keyframes enter { from { opacity: 0; transform: translateY(8px); } } }
.page-description { max-width: 620px; margin: 12px 0 0; color: var(--muted); font-size: .9rem; line-height: 1.55; }
.panel-hero { margin-bottom: 15px; padding: clamp(34px, 5vw, 60px); color: #fff; background: linear-gradient(130deg, #1a2c51, #355e9d); border-radius: var(--radius); }
.panel-hero .section-kicker { color: var(--mint); }
.panel-hero h2 { margin-bottom: 12px; font-size: clamp(1.7rem, 3vw, 2.7rem); letter-spacing: -.06em; }
.panel-hero p:not(.section-kicker) { max-width: 550px; color: #d3e0f6; line-height: 1.65; }
.primary-link { display: inline-flex; gap: 10px; padding: 11px 15px; color: var(--navy); font-size: .78rem; font-weight: 800; text-decoration: none; background: var(--mint); border-radius: 9px; }
.role-note { color: var(--mint); font-size: .8rem; font-weight: 700; }
.logout { padding: 9px 12px; color: #617087; font: inherit; font-size: .73rem; font-weight: 800; cursor: pointer; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.users-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; align-items: start; gap: 15px; }
.users-table, .add-user { padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 25px; }
.section-heading h2, .add-user h2 { margin-bottom: 0; font-size: 1.2rem; letter-spacing: -.04em; }
.member-count { padding: 6px 8px; color: #62718a; font-size: .66rem; font-weight: 800; background: #f2f5f9; border-radius: 999px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .83rem; }
th { padding: 0 0 11px; color: #8a97aa; font-size: .62rem; letter-spacing: .08em; text-align: left; text-transform: uppercase; border-bottom: 1px solid var(--line); }
td { padding: 15px 0; color: #637087; border-bottom: 1px solid #edf0f5; }
td strong, td span { display: block; }
td strong { margin-bottom: 3px; color: var(--ink); font-weight: 700; }
td span { color: #93a0b1; font-size: .7rem; }
.role-pill { display: inline-block; width: fit-content; padding: 5px 7px; color: #617087; font-size: .65rem; font-weight: 700; background: #eff2f6; border-radius: 999px; }
.role-pill.role-pill-admin { color: #254a71; background: #d8f5e8; }
.add-user > p:not(.section-kicker) { margin: 12px 0 23px; color: var(--muted); font-size: .82rem; line-height: 1.6; }
.add-user label, .login-card label { display: block; margin: 15px 0; color: #526075; font-size: .71rem; font-weight: 800; }
.add-user input, .login-card input { display: block; width: 100%; margin-top: 7px; padding: 11px 12px; color: var(--ink); font: inherit; font-size: .84rem; background: #fbfcfe; border: 1px solid #dce2eb; border-radius: 8px; outline: none; }
.add-user input:focus, .login-card input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(73,101,238,.13); }
.add-user .mailbox-toggle { display: flex; gap: 11px; align-items: flex-start; padding: 12px; color: var(--ink); background: #f6f8ff; border: 1px solid #dce2fa; border-radius: 9px; cursor: pointer; }
.add-user .mailbox-toggle input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }.toggle-track { display: block; width: 38px; height: 22px; flex: 0 0 38px; padding: 3px; margin-top: 1px; background: #b7c1d1; border-radius: 999px; transition: background .18s ease; }.toggle-track i { display: block; width: 16px; height: 16px; background: #fff; border-radius: 50%; box-shadow: 0 1px 3px rgba(14,30,56,.28); transition: transform .18s ease; }.mailbox-toggle input:checked + .toggle-track { background: var(--blue); }.mailbox-toggle input:checked + .toggle-track i { transform: translateX(16px); }.mailbox-toggle input:focus-visible + .toggle-track { outline: 3px solid rgba(73,101,238,.25); outline-offset: 2px; }.add-user .mailbox-toggle strong, .add-user .mailbox-toggle small { display: block; }.add-user .mailbox-toggle strong { margin-bottom: 3px; font-size: .76rem; }.add-user .mailbox-toggle small { color: var(--muted); font-size: .67rem; font-weight: 500; line-height: 1.45; }.mailbox-cell strong { margin-top: 2px; }.mailbox-cell .table-substate { line-height: 1.5; }
.user-create-card { width: min(100%, 540px); padding: 34px; background: linear-gradient(150deg, #fff 0%, #f8f9ff 100%); }.user-create-card h2 { margin-bottom: 9px; font-size: 1.65rem; letter-spacing: -.05em; }.user-create-card > p:not(.section-kicker) { margin: 0 0 25px; color: var(--muted); font-size: .81rem; line-height: 1.65; }.back-link { display: inline-block; margin-bottom: 26px; color: #62718a; font-size: .72rem; font-weight: 800; text-decoration: none; }.user-email-address { display: grid; grid-template-columns: minmax(0, 1fr) minmax(145px, auto); gap: 8px; margin-top: 7px; }.add-user .user-email-address input, .add-user .user-email-address select { margin-top: 0; }.user-email-address select { min-width: 145px; padding: 11px 34px 11px 12px; color: var(--navy); font: inherit; font-size: .82rem; font-weight: 700; background: #eef1ff; border: 1px solid #cfd7fa; border-radius: 8px; }.detach-mailbox, .login-as-user { margin: 7px 0 0; }.detach-mailbox button, .login-as-user button, .return-organisation button { padding: 0; color: var(--blue); font: inherit; font-size: .68rem; font-weight: 800; cursor: pointer; background: none; border: 0; }.detach-mailbox button { color: #a3434c; }.login-as-user button { color: #335887; }.return-organisation { margin: 20px 0 0; }.return-organisation button { padding: 10px 13px; color: var(--navy); background: var(--mint); border-radius: 8px; }
.user-panel-hero { margin-bottom: 15px; }.mailbox-overview-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 15px; }.mailbox-overview { padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }.mailbox-overview h2 { margin: 7px 0 10px; overflow-wrap: anywhere; font-size: 1.25rem; letter-spacing: -.04em; }.mailbox-overview dl { display: grid; gap: 10px; margin: 22px 0; }.mailbox-overview dl div { padding: 12px; background: #f6f8fc; border-radius: 9px; }.mailbox-overview dt { margin-bottom: 4px; color: #8290a4; font-size: .62rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }.mailbox-overview dd { margin: 0; color: #40516a; font-size: .77rem; font-weight: 700; }.mailbox-overview > p:last-child { margin: 0; color: var(--muted); font-size: .76rem; line-height: 1.55; }
.inbox-preview { margin-top: 15px; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }.inbox-preview .section-heading { margin-bottom: 12px; }.inbox-row { display: flex; justify-content: space-between; gap: 18px; padding: 15px 0; color: inherit; text-decoration: none; border-top: 1px solid #edf0f5; }.inbox-row strong, .inbox-row small { display: block; }.inbox-row strong { margin-bottom: 4px; color: var(--ink); font-size: .84rem; }.inbox-row small, .inbox-row time { color: var(--muted); font-size: .7rem; }.inbox-row time { flex: 0 0 auto; white-space: nowrap; }
.mailbox-launch { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }.mailbox-launch h2 { margin-bottom: 7px; font-size: 1.25rem; letter-spacing: -.04em; }.mailbox-launch p:not(.section-kicker) { max-width: 520px; margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.6; }.mail-client { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 16px 36px rgba(26, 47, 78, .06); }.mail-client-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 30px 32px 23px; background: linear-gradient(125deg, #fbfcff, #f2f5ff); border-bottom: 1px solid var(--line); }.mail-client-header h2 { margin: 0 0 7px; overflow-wrap: anywhere; font-size: clamp(1.25rem, 2.4vw, 1.8rem); letter-spacing: -.05em; }.mail-client-header p:not(.section-kicker) { margin: 0; color: var(--muted); font-size: .78rem; }.mailbox-tabs { display: flex; gap: 7px; padding: 12px 18px 0; overflow-x: auto; background: #fbfcff; border-bottom: 1px solid var(--line); }.mailbox-tab { display: inline-block; padding: 10px 13px; color: #69778c; font-size: .74rem; font-weight: 800; text-decoration: none; white-space: nowrap; border: 1px solid transparent; border-bottom: 0; border-radius: 9px 9px 0 0; }.mailbox-tab:hover, .mailbox-tab:focus-visible { color: var(--blue); background: #fff; }.mailbox-tab.selected { position: relative; z-index: 1; color: var(--navy); background: #fff; border-color: var(--line); }.mail-client-body { display: grid; grid-template-columns: 190px minmax(0, 1fr); min-height: 430px; }.mail-folders { padding: 18px 12px; background: #fafbfe; border-right: 1px solid var(--line); }.folder-link { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 37px; padding: 0 11px; color: #65738a; font-size: .77rem; font-weight: 750; text-decoration: none; border-radius: 7px; }.folder-link.active { color: var(--navy); background: #e2e8ff; }.folder-link b { color: inherit; font-size: .67rem; }.folder-link.muted { opacity: .55; cursor: default; }.mail-folders p { margin: 23px 10px 0; color: #9aa6b7; font-size: .65rem; line-height: 1.5; }.mail-list { min-width: 0; }.mail-list-toolbar { display: flex; align-items: center; justify-content: space-between; padding: 17px 23px 13px; color: var(--muted); border-bottom: 1px solid #edf0f5; }.mail-list-toolbar strong { color: var(--ink); font-size: .88rem; }.mail-list-toolbar span { font-size: .66rem; font-weight: 700; }.mail-row { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 12px; align-items: center; min-height: 70px; padding: 12px 22px; color: inherit; text-decoration: none; border-bottom: 1px solid #edf0f5; transition: background .16s ease; }.mail-row:hover, .mail-row:focus-visible { background: #f5f7ff; outline: 0; }.sender-avatar { display: grid; width: 34px; height: 34px; place-items: center; color: #3553af; font-size: .72rem; font-weight: 900; background: #e6ecff; border-radius: 50%; }.mail-row-copy { min-width: 0; }.mail-row-copy strong, .mail-row-copy span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.mail-row-copy strong { margin-bottom: 4px; color: #26354d; font-size: .77rem; }.mail-row-copy span { color: #748197; font-size: .71rem; }.mail-row time { color: #7d899c; font-size: .67rem; white-space: nowrap; }.mail-empty { display: grid; min-height: 310px; place-content: center; padding: 35px; text-align: center; }.mail-empty > span { display: grid; width: 50px; height: 50px; place-items: center; justify-self: center; margin-bottom: 15px; color: var(--blue); background: #edf0ff; border-radius: 17px 17px 17px 3px; }.mail-empty h2 { margin: 0 0 8px; font-size: 1rem; letter-spacing: -.03em; }.mail-empty p { max-width: 330px; margin: 0; color: var(--muted); font-size: .75rem; line-height: 1.55; }
.add-user button, .login-card button { width: 100%; padding: 12px; color: #fff; font: inherit; font-size: .77rem; font-weight: 800; cursor: pointer; background: var(--blue); border: 0; border-radius: 8px; }
.form-error, .login-error { padding: 10px 11px; color: #a72f3d; font-size: .76rem; line-height: 1.5; background: #fff1f2; border-radius: 7px; }
.notice { padding: 10px 11px; color: #21724f; font-size: .76rem; background: #edfbf4; border-radius: 7px; }
.login-body { display: grid; min-height: 100vh; place-items: center; padding: 20px; background: radial-gradient(circle at 10% 10%, #dce5ff, transparent 35%), var(--paper); }
.login-card { width: min(100%, 410px); padding: 34px; background: #fff; border: 1px solid var(--line); border-radius: 17px; box-shadow: 0 18px 50px rgba(19,35,66,.09); }
.login-brand { margin: 0 0 35px; padding: 0; color: var(--navy); }
.login-brand small { color: #8493ac; }
.login-card h1 { margin-bottom: 8px; font-size: 2.1rem; }
.login-copy { margin-bottom: 28px; color: var(--muted); font-size: .86rem; }
.field-hint { display: block; margin-top: 6px; color: #8794a7; font-size: .65rem; font-weight: 500; }
.account-switch { margin: 20px 0 0; color: var(--muted); font-size: .75rem; text-align: center; }
.account-switch a { color: var(--blue); font-weight: 800; }
.setup-step { margin: 0 0 20px; color: #7c8ba1; font-size: .62rem; font-weight: 800; letter-spacing: .12em; }
.email-name { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 8px; }
.email-name input { margin-bottom: 0; }
.email-name span { padding: 0 0 11px; color: #728097; font-size: .74rem; font-weight: 600; white-space: nowrap; }
.dns-note { margin-top: 30px; padding: 19px; background: #f5f8fc; border: 1px solid var(--line); border-radius: 10px; }
.dns-note h2 { margin: 0 0 9px; font-size: 1rem; letter-spacing: -.03em; }
.dns-note p:not(.section-kicker) { margin: 0; color: var(--muted); font-size: .73rem; line-height: 1.55; }
.dns-note ul { display: grid; gap: 7px; margin: 15px 0; padding: 0; color: #526075; font-size: .72rem; list-style: none; }
.dns-note li { display: flex; gap: 8px; align-items: center; }.dns-note li::before { width: 5px; height: 5px; content: ''; background: var(--blue); border-radius: 50%; }.dns-note li strong { min-width: 48px; color: var(--ink); }
.dns-page { min-height: 100vh; padding: clamp(20px, 5vw, 64px) 20px; background: radial-gradient(circle at 6% 3%, #d8e2ff 0, transparent 27%), #eef2f8; }
.dns-card { width: min(100%, 590px); }
.dns-card-wide { width: min(100%, 920px); padding: clamp(24px, 5vw, 52px); background: #fff; border: 1px solid #dce2eb; border-radius: 22px; box-shadow: 0 18px 50px rgba(19,35,66,.09); }
.dns-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.dns-header .login-brand { margin: 0; }
.dns-back { padding: 9px 11px; color: #526075; font-size: .72rem; font-weight: 800; text-decoration: none; background: #f6f8fb; border: 1px solid var(--line); border-radius: 8px; white-space: nowrap; }
.dns-hero { max-width: 650px; padding: 38px 0 27px; }
.dns-hero h1 { margin: 0 0 15px; font-size: clamp(2rem, 5vw, 3.2rem); }
.dns-hero > p:last-child { margin: 0; color: var(--muted); font-size: .91rem; line-height: 1.7; }
.dns-records { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.dns-record { display: grid; gap: 8px; min-height: 153px; margin: 0; padding: 18px; color: var(--ink); background: #fbfcfe; border: 1px solid var(--line); border-radius: 12px; }
.dns-record span { color: var(--blue); font-size: .62rem; font-weight: 800; letter-spacing: .09em; }
.dns-record strong { overflow-wrap: anywhere; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .76rem; line-height: 1.45; }
.dns-record small { align-self: end; color: var(--muted); font-size: .71rem; line-height: 1.5; }.dns-pending { background: #fffaf0; border-style: dashed; }
.dns-actions { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 22px; padding: 22px; background: #f1f4ff; border: 1px solid #dce2fa; border-radius: 13px; }
.dns-actions h2 { margin: 0 0 6px; font-size: 1.05rem; letter-spacing: -.03em; }.dns-actions > div > p:last-child { max-width: 410px; margin: 0; color: var(--muted); font-size: .76rem; line-height: 1.5; }.dns-action-buttons { display: grid; gap: 8px; flex: 0 0 auto; }.dns-action-buttons form { margin: 0; }
.dns-check-button, .dns-activate-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 41px; padding: 10px 14px; font: inherit; font-size: .73rem; font-weight: 800; text-decoration: none; border-radius: 8px; }
.dns-check-button { color: var(--blue); background: #fff; border: 1px solid #cfd7fa; }.dns-activate-button { color: #fff; cursor: pointer; background: var(--blue); border: 1px solid var(--blue); }
.dns-check { margin-top: 20px; padding: 20px; background: #f6f9f4; border: 1px solid #dce9d6; border-radius: 12px; }.dns-check h2 { margin: 0 0 13px; font-size: 1rem; letter-spacing: -.03em; }.dns-check p { display: flex; align-items: center; gap: 9px; margin: 11px 0; color: #526075; font-size: .78rem; line-height: 1.45; }.dns-check p:last-child { margin-bottom: 0; }.check-dot { width: 8px; height: 8px; flex: 0 0 8px; background: #bf4c54; border-radius: 50%; }.check-dot.pass { background: #4c9a6e; }.check-dot.pending { background: #d49a3a; }
.dns-guidance { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }.dns-guidance .dns-note { margin-top: 20px; min-height: 215px; }
.setup-link { display: inline-flex; gap: 10px; margin-top: 20px; color: var(--blue); font-size: .78rem; font-weight: 800; text-decoration: none; }.table-link { color: var(--blue); font-size: .74rem; font-weight: 800; text-decoration: none; }.table-intro { margin: -8px 0 20px; color: var(--muted); font-size: .8rem; line-height: 1.55; }.empty-row { padding: 25px 0; color: var(--muted); font-size: .82rem; }
.table-substate { display: block; margin-top: 4px; color: #8a97aa; font-size: .67rem; }.password-card { width: min(100%, 460px); }
@media (max-width: 430px) { .email-name { grid-template-columns: 1fr; gap: 4px; }.email-name span { padding: 0; } }
@media (max-width: 900px) { .users-layout { grid-template-columns: 1fr; } }
@media (max-width: 650px) { .dns-page { padding: 0; }.dns-card-wide { padding: 24px 18px; border: 0; border-radius: 0; }.dns-header, .dns-actions { align-items: stretch; flex-direction: column; }.dns-header .dns-back { width: fit-content; }.dns-records, .dns-guidance { grid-template-columns: 1fr; }.dns-record { min-height: 0; }.dns-guidance .dns-note { min-height: 0; }.dns-hero { padding-top: 29px; } }
@media (max-width: 480px) { .user-create-card { padding: 25px 20px; }.user-email-address { grid-template-columns: 1fr; }.user-email-address select { width: 100%; } }
@media (max-width: 700px) { .mailbox-launch { align-items: flex-start; flex-direction: column; }.mail-client-header { padding: 24px 20px 18px; }.mail-client-body { grid-template-columns: 1fr; }.mail-folders { display: flex; gap: 5px; padding: 10px; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); }.folder-link { min-width: max-content; }.mail-folders p { display: none; }.mail-row { padding: 12px 16px; }.mail-row time { align-self: start; }.mail-list-toolbar { padding-inline: 16px; } }
.mail-client { border-radius: 12px; box-shadow: 0 1px 3px rgba(31, 46, 71, .1); }.mail-client-header { align-items: center; min-height: 86px; padding: 18px 22px; background: #fff; }.mail-client-identity { display: flex; align-items: center; gap: 12px; min-width: 0; }.mail-client-mark { display: grid; width: 38px; height: 38px; flex: 0 0 38px; place-items: center; color: #fff; font-weight: 900; background: var(--blue); border-radius: 11px; }.mail-client-header .section-kicker { margin-bottom: 3px; font-size: .55rem; }.mail-client-header h2 { max-width: min(58vw, 570px); margin: 0; overflow: hidden; font-size: 1rem; text-overflow: ellipsis; white-space: nowrap; letter-spacing: -.025em; }.mail-client-actions { display: flex; align-items: center; gap: 12px; }.mail-client-actions button, .mail-list-toolbar button { display: grid; width: 30px; height: 30px; place-items: center; color: #60708a; font: inherit; cursor: pointer; background: transparent; border: 0; border-radius: 50%; }.mail-client-actions button:hover, .mail-list-toolbar button:hover { background: #edf0f5; }.mail-client-body { min-height: 510px; grid-template-columns: 216px minmax(0, 1fr); }.mail-folders { padding: 16px 10px; background: #fff; }.compose-placeholder { width: calc(100% - 8px); margin: 0 4px 17px; padding: 12px 15px; color: #294a97; font: inherit; font-size: .75rem; font-weight: 850; text-align: left; background: #e1ebff; border: 0; border-radius: 18px; }.folder-link { min-height: 34px; margin: 2px 0; font-size: .74rem; }.folder-link.active { background: #dbe6ff; border-radius: 0 17px 17px 0; }.mail-list-toolbar { gap: 11px; min-height: 52px; padding: 10px 18px; }.mail-list-toolbar strong { margin-right: auto; font-size: .78rem; }.mail-list-count { color: #8490a3; font-size: .66rem; font-weight: 700; }.mail-select { display: inline-block; width: 15px; height: 15px; flex: 0 0 15px; border: 1.5px solid #8794a7; border-radius: 3px; }.mail-row { grid-template-columns: 15px 18px 32px minmax(122px, .32fr) minmax(100px, 1fr) auto; gap: 10px; min-height: 50px; padding: 8px 18px; background: #f8fbff; }.mail-row:hover, .mail-row:focus-visible { background: #fff; box-shadow: inset 0 1px #edf0f5, inset 0 -1px #edf0f5, 0 1px 2px rgba(24, 38, 64, .08); }.mail-star { color: #99a5b5; font-size: 1.15rem; line-height: 1; }.mail-row .sender-avatar { width: 28px; height: 28px; color: #43598b; font-size: .62rem; background: #e8eeff; }.mail-sender, .mail-subject { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.mail-sender { color: #27364f; font-size: .73rem; font-weight: 800; }.mail-subject { color: #5f6e84; font-size: .73rem; }.mail-row time { color: #526177; font-size: .66rem; font-weight: 750; }.message-reader { max-width: 940px; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 1px 3px rgba(31, 46, 71, .1); }.mail-back { display: inline-block; margin: 20px 24px 0; color: #4965ee; font-size: .72rem; font-weight: 800; text-decoration: none; }.message-reader header { padding: 21px 28px 24px; border-bottom: 1px solid var(--line); }.message-reader h2 { margin: 6px 0 24px; font-size: clamp(1.35rem, 3vw, 2rem); letter-spacing: -.045em; }.message-meta { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 11px; align-items: center; }.message-meta .sender-avatar { width: 38px; height: 38px; color: #43598b; font-size: .72rem; background: #e8eeff; }.message-meta strong, .message-meta small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.message-meta strong { color: #26354d; font-size: .78rem; }.message-meta small, .message-meta time { color: #7c899b; font-size: .67rem; }.message-meta time { white-space: nowrap; }.message-body { min-height: 300px; padding: 32px 28px 48px; color: #26354d; font-size: .88rem; line-height: 1.75; white-space: pre-wrap; }
@media (max-width: 700px) { .mail-client-header { padding: 15px; }.mail-client-actions .member-count { display: none; }.mail-client-body { grid-template-columns: 1fr; }.mail-folders { display: flex; align-items: center; gap: 4px; padding: 8px; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); }.compose-placeholder { width: auto; margin: 0 3px 0 0; white-space: nowrap; }.folder-link { min-width: max-content; margin: 0; }.mail-row { grid-template-columns: 15px 18px 28px minmax(0, 1fr) auto; gap: 7px; padding: 8px 11px; }.mail-subject { grid-column: 4; grid-row: 2; }.mail-row time { grid-column: 5; grid-row: 1; }.mail-sender { min-width: 0; }.message-reader header { padding-inline: 18px; }.message-body { padding: 25px 18px 38px; }.message-meta { grid-template-columns: 38px minmax(0, 1fr); }.message-meta time { grid-column: 2; } }
.mail-notice { position: absolute; z-index: 3; top: 16px; right: 18px; margin: 0; padding: 10px 14px; color: #1c6b48; font-size: .72rem; font-weight: 800; background: #e8f8ef; border: 1px solid #c7ead7; border-radius: 8px; box-shadow: 0 4px 14px rgba(20, 76, 49, .09); }.compose-dialog { position: fixed; inset: 0; z-index: 20; display: none; }.compose-dialog:target { display: block; }.compose-backdrop { position: absolute; inset: 0; background: rgba(18, 30, 52, .28); }.compose-dialog form { position: absolute; right: clamp(18px, 5vw, 76px); bottom: 0; display: grid; width: min(100% - 36px, 560px); overflow: hidden; background: #fff; border-radius: 12px 12px 0 0; box-shadow: 0 -2px 26px rgba(19, 34, 59, .22); }.compose-dialog header, .compose-dialog footer { display: flex; align-items: center; justify-content: space-between; padding: 13px 16px; color: #fff; background: #263952; }.compose-dialog header strong { font-size: .76rem; }.compose-dialog header a { color: #d8e0ec; font-size: 1.25rem; line-height: 1; text-decoration: none; }.compose-dialog label { display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: center; min-height: 43px; padding: 0 16px; color: #718098; font-size: .7rem; font-weight: 800; border-bottom: 1px solid #edf0f5; }.compose-dialog input, .compose-dialog textarea { width: 100%; color: var(--ink); font: inherit; font-size: .78rem; outline: 0; background: transparent; border: 0; }.compose-dialog label:focus-within { background: #f7f9ff; }.compose-dialog .compose-body { display: block; min-height: 220px; padding: 14px 16px; }.compose-body span { display: block; margin-bottom: 8px; color: #718098; font-size: .67rem; }.compose-dialog textarea { min-height: 175px; resize: vertical; line-height: 1.6; }.compose-dialog footer { justify-content: flex-start; gap: 15px; padding: 11px 16px; color: #60708a; background: #fff; border-top: 1px solid #edf0f5; }.compose-dialog footer button { padding: 9px 18px; color: #fff; font: inherit; font-size: .73rem; font-weight: 850; cursor: pointer; background: var(--blue); border: 0; border-radius: 7px; }.compose-dialog footer a { color: #718098; font-size: .72rem; font-weight: 750; text-decoration: none; }
