:root{--ink:#1f2937;--muted:#748096;--subtle:#a0a8b7;--blue:#2563eb;--blue-dark:#1e4fd0;--blue-soft:#eef4ff;--line:#e8ebf1;--panel:#fff;--bg:#f7f8fc;--green:#0f9f75;--green-bg:#eaf8f3;--red:#c2414b;--shadow:0 14px 45px rgba(29,45,81,.07);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg)}
*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(ellipse at 50% -25%,#eaf0ff 0,transparent 43%),var(--bg)}button,input,select{font:inherit}button{cursor:pointer}.topbar{height:76px;padding:0 max(28px,calc((100% - 1140px)/2));display:flex;align-items:center;justify-content:space-between;background:rgba(255,255,255,.86);border-bottom:1px solid rgba(226,230,239,.8);backdrop-filter:blur(14px)}.brand{display:flex;gap:11px;align-items:center;color:#192336;font-size:20px;font-weight:780;text-decoration:none;letter-spacing:-.7px}.brand-accent{color:var(--blue)}.brand-mark{width:34px;height:34px;border-radius:11px;background:linear-gradient(145deg,#5288ff,#3267e9);display:grid;place-items:center;box-shadow:0 5px 12px rgba(37,99,235,.22)}.brand-mark svg{width:21px;stroke:#fff;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.top-actions{display:flex;align-items:center;gap:6px}.nav-link{border:0;background:transparent;color:#687488;font-size:13px;font-weight:650;padding:11px 14px;border-radius:9px}.nav-link:hover{background:#f3f5fa;color:var(--ink)}.nav-link.active{background:var(--blue-soft);color:var(--blue)}.page-shell{width:min(100% - 40px,1000px);margin:50px auto 64px}.view{animation:fadeIn .2s ease}.hero{text-align:center;margin:0 auto 30px;max-width:640px}.eyebrow,.step-label{display:inline-flex;align-items:center;gap:8px;color:#748096;font-size:10px;letter-spacing:1.1px;font-weight:780}.status-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#24b47e;box-shadow:0 0 0 3px rgba(36,180,126,.11)}.hero h1,.admin-heading h1{margin:16px 0 10px;font-size:clamp(34px,5vw,49px);line-height:1.07;letter-spacing:-2.4px;color:#172238;font-weight:780}.hero h1 span{color:var(--blue)}.hero p,.admin-heading p{margin:0;color:#778397;font-size:15px;line-height:1.65}.panel{background:var(--panel);border:1px solid #e9ecf3;border-radius:17px;box-shadow:var(--shadow)}.address-card{padding:27px 30px 22px}.card-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:21px}.card-heading h2,.mailbox h2,.domains-heading h2,.login-copy h2,.modal h2{margin:7px 0 0;font-size:18px;letter-spacing:-.45px}.secure-chip{display:flex;align-items:center;gap:7px;border-radius:999px;background:#f0faf6;color:#29866a;font-size:11px;font-weight:650;padding:8px 11px}.secure-icon{width:16px;height:16px;border-radius:50%;background:#d8f2e8;display:grid;place-items:center;font-size:10px;font-weight:800}.address-form{display:flex;gap:10px}.address-input-wrap{height:54px;display:flex;align-items:center;flex:1;border:1px solid #dfe4ed;border-radius:11px;background:#fff;overflow:hidden;transition:border .15s,box-shadow .15s}.address-input-wrap:focus-within{border-color:#7fa6ff;box-shadow:0 0 0 3px rgba(37,99,235,.09)}.address-input-wrap input{min-width:60px;flex:1;border:0;outline:0;background:transparent;color:#29364b;font-size:14px;padding:0 13px}.at-sign{font-size:15px;color:#9aa4b4;padding:0 2px}.address-input-wrap select{height:100%;max-width:220px;border:0;border-left:1px solid #edf0f5;outline:0;background:#f9fafc;color:#41516a;font-size:13px;font-weight:650;padding:0 33px 0 11px}.button{border:0;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:12px;font-weight:700;transition:transform .12s,background .12s,box-shadow .12s;white-space:nowrap}.button:active{transform:translateY(1px)}.button-primary{background:var(--blue);color:#fff;padding:0 17px;height:48px;box-shadow:0 4px 10px rgba(37,99,235,.16)}.button-primary:hover{background:var(--blue-dark);box-shadow:0 7px 14px rgba(37,99,235,.22)}.button-primary svg{width:17px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.address-form>.button{height:54px;min-width:146px}.address-tools{display:flex;justify-content:space-between;align-items:center;margin-top:15px}.text-button{border:0;background:transparent;color:var(--blue);font-size:11px;font-weight:700;padding:6px 0}.text-button:hover{text-decoration:underline}.dice-icon{font-size:15px;padding-right:3px}.form-note{color:#9aa3b2;font-size:11px}.notice{margin-top:14px;border-radius:9px;padding:10px 12px;font-size:12px;background:#fff7ed;color:#a35a12}.notice.error{background:#fff0f0;color:#b42332}.notice.success{background:#effaf4;color:#19744f}.mailbox{margin-top:20px;padding:25px 28px 18px}.mailbox-top{display:flex;align-items:center;justify-content:space-between;gap:20px}.mailbox-address-row{display:flex;align-items:center;gap:7px}.mailbox-address-row h2{font-size:21px;color:#20304b;word-break:break-all}.icon-button{height:34px;width:34px;border:1px solid #e2e7f0;background:#fff;color:#728096;border-radius:9px;display:grid;place-items:center;font-size:20px;line-height:1}.icon-button:hover{background:#f4f7fc;color:var(--blue);border-color:#d5e1ff}.icon-button svg{width:17px;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.mailbox-subtitle{margin:6px 0 0;color:#909bad;font-size:11px}.mailbox-actions{display:flex;gap:8px;align-items:center}.button-secondary{height:39px;padding:0 12px;border:1px solid #e1e6ef;background:#fff;color:#536178}.button-secondary:hover{background:#f7f9fc;border-color:#cbd5e1}.button-secondary svg{width:16px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.button-quiet{height:39px;padding:0 10px;background:transparent;color:#8791a0}.button-quiet:hover{background:#f5f6f9;color:#556176}.inbox-status{margin-top:24px;height:42px;border-top:1px solid #edf0f5;border-bottom:1px solid #edf0f5;display:flex;align-items:center;gap:9px;color:#66748a;font-size:11px}.inbox-status .status-dot{width:7px;height:7px}.pulse{animation:pulse 1.7s infinite}.count-badge{margin-left:auto;background:#edf2fa;color:#62728b;border-radius:999px;padding:3px 9px;font-size:10px;font-weight:700}.empty-state{text-align:center;padding:36px 15px 29px}.empty-illustration{width:95px;height:76px;margin:0 auto 13px}.empty-illustration svg{width:100%;height:100%;fill:#f3f7ff;stroke:#94aee3;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.empty-illustration circle{fill:#fff;stroke:#6f94df}.empty-state h3{margin:0 0 7px;color:#35435a;font-size:15px}.empty-state p{max-width:410px;margin:0 auto;color:#8a95a6;font-size:11px;line-height:1.65}.auto-refresh-label{margin-top:17px;display:inline-flex;align-items:center;gap:6px;color:#6f9b8d;font-size:10px;font-weight:650}.refresh-spark{font-size:15px}.message-list{padding-top:2px}.message-row{width:100%;display:grid;grid-template-columns:minmax(130px,1fr) minmax(180px,2fr) 130px;gap:14px;text-align:left;align-items:center;border:0;border-bottom:1px solid #eef0f4;background:#fff;padding:16px 7px;color:#5a6679}.message-row:hover{background:#fbfcff}.message-row:last-child{border-bottom:0}.message-sender{font-size:12px;font-weight:700;color:#35435a;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.message-subject{font-size:12px;font-weight:650;color:#59677c;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.message-preview{display:block;margin-top:4px;color:#99a3b1;font-size:10px;font-weight:400;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.message-time{text-align:right;color:#929cac;font-size:10px}.trust-row{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:24px 0 0}.trust-item{display:flex;align-items:flex-start;gap:11px;padding:7px 2px}.trust-icon{flex:none;width:31px;height:31px;border-radius:10px;background:#edf3ff;color:#4f7de0;display:grid;place-items:center;font-weight:700;font-size:16px}.trust-item strong,.trust-item span{display:block}.trust-item strong{font-size:11px;color:#566278;margin:1px 0 5px}.trust-item div>span{color:#9aa3b2;font-size:10px;line-height:1.5}.privacy-note{margin:22px 0 0;text-align:center;color:#a6adba;font-size:10px;line-height:1.6}.admin-heading{display:flex;align-items:flex-end;justify-content:space-between;margin:5px 0 26px}.admin-heading h1{font-size:38px;margin:10px 0}.admin-heading .eyebrow{font-size:9px}.admin-status{display:flex;align-items:center;gap:8px;color:#8a94a5;font-size:11px;padding:10px 0}.status-gray{background:#aab3c1;box-shadow:none}.admin-login-card{display:grid;grid-template-columns:48px minmax(190px,1fr) minmax(270px,1.2fr);gap:18px;align-items:center;padding:24px}.login-icon{width:45px;height:45px;border-radius:13px;background:#eef4ff;display:grid;place-items:center;color:#4675df}.login-icon svg{width:23px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.login-copy h2{margin:0;font-size:16px}.login-copy p{margin:6px 0 0;color:#8994a6;font-size:11px;line-height:1.5}.login-form label,.domain-modal label{display:block;margin-bottom:6px;color:#69768a;font-size:10px;font-weight:700}.login-input-row{display:flex;gap:8px}.login-input-row input,.domain-modal input{min-width:0;height:40px;flex:1;border:1px solid #dfe4ed;border-radius:9px;padding:0 11px;outline:0;color:#334155;font-size:12px}.login-input-row input:focus,.domain-modal input:focus{border-color:#7fa6ff;box-shadow:0 0 0 3px rgba(37,99,235,.08)}.login-input-row .button{height:40px;padding:0 13px}.form-error{margin:7px 0 0;color:var(--red);font-size:11px}.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;margin-bottom:16px}.stat-card{padding:18px 20px}.stat-card>span{display:block;color:#94a0b0;font-weight:780;font-size:9px;letter-spacing:.9px}.stat-card strong{display:block;margin-top:11px;font-size:25px;color:#27354d;letter-spacing:-.8px}.stat-card small{display:block;margin-top:4px;color:#99a3b1;font-size:10px}.stat-card .stat-online{color:#14815e;font-size:16px;letter-spacing:0}.stat-online i{display:inline-block;width:7px;height:7px;background:#26b47e;border-radius:50%;margin:0 5px 1px 0}.domains-panel{padding:24px}.domains-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}.domains-heading h2{margin:7px 0 5px;font-size:19px}.domains-heading p{margin:0;color:#8b96a7;font-size:11px;line-height:1.5}.domains-heading .button{height:40px;padding:0 14px}.plus-icon{font-size:18px;font-weight:400}.dns-help{display:flex;gap:11px;align-items:flex-start;margin:20px 0 18px;padding:13px 14px;border:1px solid #dce8ff;background:#f5f8ff;border-radius:11px}.dns-help-icon{width:19px;height:19px;border-radius:50%;display:grid;place-items:center;background:#dce8ff;color:#4971ca;font-weight:800;font-size:11px;flex:none}.dns-help strong{display:block;color:#4a5b79;font-size:10px}.dns-help p{margin:4px 0 0;color:#71819b;font-size:10px;line-height:1.6}.dns-help code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;background:#e9effb;padding:2px 4px;border-radius:4px;color:#4868a6}.domain-table-wrap{overflow-x:auto}.domain-table{width:100%;border-collapse:collapse}.domain-table th{text-align:left;padding:10px 11px;border-bottom:1px solid #edf0f5;color:#a0a8b6;font-size:9px;font-weight:780;letter-spacing:.7px}.domain-table td{padding:13px 11px;border-bottom:1px solid #f0f2f6;font-size:11px;color:#59667b}.domain-table tr:last-child td{border-bottom:0}.domain-name-cell{font-weight:700;color:#34425a!important}.domain-dns{font-size:10px!important;color:#818da0!important}.domain-pill{display:inline-flex;align-items:center;gap:6px;border-radius:99px;padding:5px 8px;background:#fff5e9;color:#a66421;font-size:9px;font-weight:750;white-space:nowrap}.domain-pill.ready{background:#eaf8f2;color:#21815f}.domain-pill.off{background:#f0f1f4;color:#778193}.domain-pill i{width:6px;height:6px;border-radius:50%;background:currentColor}.domain-actions{display:flex;justify-content:flex-end;align-items:center;gap:5px}.actions-col{text-align:right!important}.small-icon{width:30px;height:30px;border:1px solid transparent;background:transparent;border-radius:8px;color:#8a96a8;display:grid;place-items:center}.small-icon:hover{background:#f3f6fb;border-color:#e5eaf3;color:var(--blue)}.small-icon svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.domain-toggle{border:1px solid #e1e6ef;background:#fff;border-radius:7px;padding:5px 8px;color:#69778c;font-size:9px;font-weight:700}.domain-toggle:hover{background:#f6f8fb}.no-domains{text-align:center;padding:30px;color:#8a96a8;font-size:11px}.admin-footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #eef0f4;margin-top:14px;padding-top:13px;color:#9aa3b2;font-size:10px}.admin-footer .text-button{font-size:10px}.modal-backdrop{position:fixed;inset:0;z-index:20;display:grid;place-items:center;background:rgba(22,32,51,.42);padding:20px;backdrop-filter:blur(3px)}.modal{width:min(100%,570px);max-height:min(90vh,820px);overflow:auto;background:#fff;border:1px solid #e8ebf2;border-radius:16px;box-shadow:0 28px 80px rgba(19,33,60,.22);padding:22px}.message-modal{width:min(100%,680px)}.modal-header{display:flex;justify-content:space-between;align-items:flex-start;gap:15px}.modal-header h2{margin-top:7px;color:#27354d}.message-meta{display:flex;gap:25px;padding:15px 0;margin:16px 0;border-top:1px solid #edf0f4;border-bottom:1px solid #edf0f4}.message-meta span,.message-meta strong{display:block}.message-meta span{color:#9aa3b1;font-size:9px;margin-bottom:5px}.message-meta strong{color:#5a677b;font-size:11px;font-weight:650}.message-text{max-height:45vh;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;color:#38475f;font:12px/1.7 ui-monospace,SFMono-Regular,Menlo,monospace;padding:5px 2px}.message-html{width:100%;height:46vh;border:1px solid #edf0f4;border-radius:9px;background:#fff}.modal-footer{display:flex;justify-content:space-between;align-items:center;margin-top:17px;padding-top:13px;border-top:1px solid #edf0f4;color:#9aa3b1;font-size:10px}.domain-modal{width:min(100%,450px)}.domain-modal>form{margin-top:21px}.domain-modal input{width:100%;height:43px;font-size:13px}.field-hint{margin:7px 0 15px;color:#8d98a9;font-size:10px;line-height:1.5}.dns-preview{border:1px solid #e7ebf2;border-radius:10px;background:#fafbfd;padding:12px}.dns-preview>strong{display:block;margin-bottom:9px;color:#66748a;font-size:10px}.dns-preview>div{display:flex;justify-content:space-between;padding:5px 0;color:#8792a3;font-size:10px}.dns-preview b{font-weight:650;color:#4d5b72;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:20px}.toast{position:fixed;bottom:25px;left:50%;z-index:30;transform:translateX(-50%);padding:11px 16px;border-radius:10px;background:#172238;color:#fff;box-shadow:0 8px 25px rgba(19,33,60,.2);font-size:11px;font-weight:650;max-width:calc(100% - 30px)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}@keyframes pulse{0%,100%{box-shadow:0 0 0 2px rgba(36,180,126,.09)}50%{box-shadow:0 0 0 6px rgba(36,180,126,.02)}}@keyframes fadeIn{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:760px){.topbar{height:67px;padding:0 18px}.page-shell{width:min(100% - 28px,620px);margin:35px auto 46px}.hero{margin-bottom:22px}.hero h1{font-size:37px}.address-card{padding:22px 18px 18px}.card-heading{align-items:flex-start}.secure-chip{font-size:9px;padding:7px 8px}.address-form{flex-direction:column}.address-form>.button{width:100%}.address-input-wrap{height:51px}.address-input-wrap select{max-width:180px}.address-tools{align-items:flex-start;gap:10px}.form-note{text-align:right;line-height:1.4}.mailbox{padding:20px 17px 15px}.mailbox-top{align-items:flex-start;flex-direction:column}.mailbox-actions{width:100%;justify-content:flex-start}.mailbox-address-row h2{font-size:18px}.trust-row{grid-template-columns:1fr;gap:5px}.trust-item{padding:5px 2px}.admin-heading{align-items:flex-start;flex-direction:column;gap:4px}.admin-heading h1{font-size:34px}.admin-login-card{grid-template-columns:44px 1fr;gap:12px;padding:19px}.login-form{grid-column:1/-1}.stats-grid{grid-template-columns:1fr}.stat-card{padding:15px 17px}.stat-card strong{margin-top:8px}.domains-panel{padding:18px 15px}.domains-heading{align-items:flex-start;flex-direction:column}.domains-heading .button{width:100%}.domain-table{min-width:560px}.admin-footer{align-items:flex-start;gap:10px;flex-direction:column}.message-row{grid-template-columns:minmax(100px,1fr) minmax(130px,2fr) 70px;gap:8px;padding:14px 3px}.message-time{font-size:9px}.message-meta{gap:14px}.modal{padding:18px}.top-actions{gap:0}.nav-link{padding:9px 10px;font-size:11px}}
