:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#172135;background:#f5f7fb;font-synthesis:none;text-rendering:optimizeLegibility;--ink:#172135;--muted:#758198;--violet:#6846e8;--line:#e6eaf1;--panel:#fff}
*{box-sizing:border-box}
body{margin:0;min-width:320px;background:#f5f7fb}
a{color:inherit;text-decoration:none}
button,input{font:inherit}
.brand{display:inline-flex;align-items:center;gap:10px;font-family:Inter,ui-sans-serif,system-ui,sans-serif;font-weight:800;font-size:19px;letter-spacing:-.7px;color:#192239}
.brand-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:linear-gradient(145deg,#8866ff,#5a3ddd);color:white;font-family:Inter,ui-sans-serif,system-ui,sans-serif;font-weight:800;box-shadow:0 6px 15px #6749e83d}
.brand-accent{color:#7051e6}
.button{display:inline-flex;justify-content:center;align-items:center;gap:10px;border:0;border-radius:11px;padding:12px 17px;font-weight:700;font-size:13px;cursor:pointer;transition:transform .15s,background .15s,box-shadow .15s}
.button:hover:not(:disabled){transform:translateY(-1px)}
.button:focus-visible,input:focus-visible{outline:3px solid #8066f566;outline-offset:2px}
.button.primary{color:#fff;background:linear-gradient(120deg,#7654ec,#5f40dc);box-shadow:0 8px 18px #6646e82e}
.button.primary:hover:not(:disabled){box-shadow:0 10px 24px #6646e846}
.button:disabled{opacity:.48;cursor:not-allowed;box-shadow:none}
.button.secondary{color:#fff;background:#202b43}
.button.dark{color:#fff;background:#1e2940}
.button.quiet{color:#77839a;background:transparent;padding:9px 10px}
.button.full{width:100%}
.muted{color:var(--muted);font-size:14px;line-height:1.75}
.eyebrow{margin:0 0 11px;color:#8269e9;font-size:10px;font-weight:700;letter-spacing:1.45px}
.auth-shell{display:grid;grid-template-columns:1fr 1fr;min-height:100vh;background:#fff}
.auth-card{width:min(430px,calc(100% - 48px));margin:auto;padding:62px 0}
.auth-card .brand{margin-bottom:76px}
.auth-card h1,.welcome-row h1{margin:0;color:#182238;font-family:Inter,ui-sans-serif,system-ui,sans-serif;font-size:38px;line-height:1.2;letter-spacing:-1.6px}
.auth-card>.muted{margin:12px 0 30px}
.form-stack{display:flex;flex-direction:column;gap:9px}
.form-stack label{margin-top:8px;color:#35415a;font-size:12px;font-weight:700}
.form-stack input{width:100%;height:46px;padding:0 13px;border:1px solid #e0e5ee;border-radius:9px;background:#fff;color:#1c2940}
.form-stack .button{margin-top:17px;height:47px}
.auth-foot{margin:28px 0 0;color:#98a1b1;font-size:11px;text-align:center}
.auth-art{position:relative;display:flex;align-items:center;overflow:hidden;padding:7vw;background:#19243a;color:white}
.auth-art:before{position:absolute;inset:0;background:radial-gradient(ellipse at 75% 12%,#7856e64a,transparent 46%),radial-gradient(ellipse at 10% 85%,#3971a530,transparent 42%);content:""}
.art-content{position:relative;z-index:1;max-width:510px}
.art-kicker{display:flex;align-items:center;gap:9px;color:#c5b9ff;font-size:10px;font-weight:700;letter-spacing:1.35px}
.live-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#56d39a;box-shadow:0 0 0 4px #56d39a20}
.art-content h2{margin:26px 0 16px;font-family:Inter,ui-sans-serif,system-ui,sans-serif;font-size:clamp(38px,5vw,62px);line-height:1.11;letter-spacing:-2.7px}
.art-content h2 em{color:#a993ff;font-style:normal}
.art-content>p{max-width:370px;color:#aab5c9;font-size:15px;line-height:1.75}
.art-badge{display:flex;align-items:center;gap:13px;margin-top:45px;padding:15px 17px;width:max-content;border:1px solid #ffffff20;border-radius:12px;background:#ffffff0b}
.shield{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#674bdb;color:#fff}
.art-badge strong,.art-badge small{display:block}
.art-badge strong{font-size:12px}.art-badge small{margin-top:4px;color:#aab5c9;font-size:10px}
.art-footer{position:absolute;bottom:30px;left:7vw;color:#8794ad;font-size:9px;font-weight:700;letter-spacing:1.2px}.art-footer span{padding:0 8px;color:#a993ff}
.art-orbit{position:absolute;border:1px solid #ffffff0d;border-radius:50%}.orbit-one{width:550px;height:550px;right:-110px;top:-150px}.orbit-two{width:380px;height:380px;right:-25px;top:-65px}
.notice{padding:12px 14px;border:1px solid #dfe5ef;border-radius:9px;background:#f7f8fb;color:#45516a;font-size:12px;line-height:1.5}
.notice.error{border-color:#fad9d6;background:#fff5f4;color:#a84136}
.notice.success{border-color:#cfeee0;background:#f1fbf6;color:#287a54}
.field-error{color:#a84136;font-size:11px}
.center-shell{display:grid;min-height:100vh;place-items:center;padding:24px}
.notice-card{max-width:500px;padding:44px;border:1px solid var(--line);border-radius:18px;background:white;box-shadow:0 16px 60px #2535530d}
.notice-card .brand-mark{margin-bottom:26px}.notice-card h1{font-family:Inter,ui-sans-serif,system-ui,sans-serif;font-size:28px;letter-spacing:-.8px}
.topbar{height:74px;padding:0 max(calc((100vw - 1180px)/2),32px);display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e9edf3;background:#fff}
.topbar-right{display:flex;align-items:center;gap:22px}
.secure-label{display:flex;align-items:center;gap:7px;color:#718099;font-size:11px}
.secure-icon{display:grid;place-items:center;width:19px;height:19px;border-radius:7px;background:#e8f8f0;color:#2d9a69;font-size:11px}
.user-chip{display:flex;align-items:center;gap:9px;color:#46536a;font-size:12px;font-weight:600}
.avatar{display:grid;place-items:center;width:29px;height:29px;border-radius:9px;background:#f0edff;color:#7253e6;font-size:12px}
.dashboard{width:min(1180px,calc(100% - 64px));margin:0 auto;padding:52px 0 28px}
.messages{display:grid;gap:9px;margin-bottom:20px}
.welcome-row{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:28px}
.welcome-row h1{font-size:34px;letter-spacing:-1.3px}.welcome-row .muted{margin:10px 0 0}
.server-pill{display:flex;align-items:center;gap:11px;margin-bottom:6px;padding:11px 15px;border:1px solid #e5eaf1;border-radius:12px;background:#fff}
.server-pill strong,.server-pill small{display:block}.server-pill strong{font-size:9px;letter-spacing:1px}.server-pill small{margin-top:4px;color:#8590a3;font-size:10px}
.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-bottom:16px}
.stat-card,.panel-card{border:1px solid #e7ebf2;border-radius:15px;background:#fff;box-shadow:0 5px 16px #2c3c5a05}
.stat-card{position:relative;min-height:134px;padding:18px 19px}
.stat-icon{display:grid;place-items:center;position:absolute;right:17px;top:17px;width:33px;height:33px;border-radius:10px;font-size:16px}
.stat-icon.violet{background:#f0edff;color:#7555e8}.stat-icon.green{background:#e8f8f0;color:#329f70}.stat-icon.amber{background:#fff5e5;color:#d09029}
.stat-label{display:block;margin:4px 0 13px;color:#929bad;font-size:9px;font-weight:700;letter-spacing:1px}
.stat-card strong{display:block;color:#27334b;font-size:14px}.stat-card small{display:block;margin-top:7px;color:#8994a8;font-size:10px}
.main-grid{display:grid;grid-template-columns:1.13fr .87fr;gap:16px;margin-bottom:16px}
.panel-card{padding:23px}
.panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}
.panel-heading h2{margin:0;color:#202c43;font-family:Inter,ui-sans-serif,system-ui,sans-serif;font-size:18px;letter-spacing:-.45px}
.manual-tag,.key-label{padding:7px 9px;border-radius:7px;background:#f3f0ff;color:#7254dc;font-size:8px;font-weight:700;letter-spacing:.8px;white-space:nowrap}
.backup-panel>.muted{max-width:560px;margin:12px 0 17px;font-size:12px}
.inline-warning{display:flex;gap:11px;margin:15px 0;padding:12px;border:1px solid #f3dfb7;border-radius:10px;background:#fffbf2;color:#8f6720}
.inline-warning>span{display:grid;place-items:center;flex:none;width:19px;height:19px;border-radius:50%;background:#f8e6bf;font-size:12px;font-weight:700}
.inline-warning p{margin:0;font-size:11px;line-height:1.6}.inline-warning strong{font-size:11px}
.create-button{width:100%;height:50px;justify-content:flex-start;padding:0 16px;font-size:12px}
.button-icon{display:grid;place-items:center;width:25px;height:25px;border:1px solid #ffffff40;border-radius:7px;font-size:17px;font-weight:400}
.button-arrow{margin-left:auto;font-size:17px}
.backup-includes{display:flex;flex-wrap:wrap;gap:11px;margin-top:16px;color:#768198;font-size:10px}
.check{color:#3fa977;font-weight:800}
.job-status{margin-top:19px;padding:14px;border:1px solid #e7e4fb;border-radius:10px;background:#faf9ff}
.progress-top{display:flex;justify-content:space-between;margin-bottom:9px;color:#5e4db2;font-size:10px}
.progress-track{height:5px;overflow:hidden;border-radius:6px;background:#e8e4f8}.progress-indeterminate{display:block;width:32%;height:100%;border-radius:6px;background:#7654ec;animation:loading 1.4s ease-in-out infinite alternate}
@keyframes loading{from{transform:translateX(-20%)}to{transform:translateX(220%)}}
.latest-panel{min-height:248px}
.status-pulse{width:8px;height:8px;margin:5px 3px;border-radius:50%;background:#46bd82;box-shadow:0 0 0 4px #46bd821c}
.latest-result{display:flex;align-items:center;gap:12px;margin:25px 0 17px}
.result-icon{display:grid;place-items:center;flex:none;width:34px;height:34px;border-radius:10px;font-weight:800}
.result-icon.success{background:#e8f8f0;color:#329f70}.result-icon.failed{background:#fff0ee;color:#cb5448}
.result-icon.working{background:#f0edff}.spinner{width:14px;height:14px;border:2px solid #d9d0ff;border-top-color:#7050e3;border-radius:50%;animation:spin .8s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
.latest-result strong,.latest-result small{display:block}.latest-result strong{color:#27334a;font-size:12px}.latest-result small{max-width:300px;overflow:hidden;margin-top:5px;color:#8b96a8;font-size:10px;text-overflow:ellipsis;white-space:nowrap}
.backup-meta{display:flex;justify-content:space-between;gap:10px;margin:18px 0;padding-top:14px;border-top:1px solid #edf0f5}
.backup-meta span{color:#a0a9b8;font-size:8px;font-weight:700;letter-spacing:.8px}.backup-meta strong{color:#59657a;font-size:10px;text-align:right}
.empty-state{display:flex;align-items:center;flex-direction:column;justify-content:center;min-height:170px;text-align:center}
.empty-icon{margin-bottom:11px;color:#9e8af1;font-size:25px}.empty-state strong{color:#39455c;font-size:12px}.empty-state p{max-width:230px;color:#909bad;font-size:10px;line-height:1.6}
.encryption-panel{padding:23px 24px}
.encryption-panel>.muted{max-width:820px;margin:10px 0 15px;font-size:11px}
code{padding:2px 5px;border-radius:4px;background:#f2efff;color:#6144ce;font-size:10px}
.key-steps{display:flex;flex-wrap:wrap;gap:19px;margin:17px 0;color:#727e93;font-size:10px}
.key-steps b{margin-right:6px;color:#967fe9;font-size:9px}
.key-form{display:grid;grid-template-columns:1fr auto;gap:9px}
.key-form input{min-width:0;height:43px;padding:0 12px;border:1px solid #e1e6ef;border-radius:9px;color:#33415b;font-size:11px}
.key-form input::placeholder{color:#aab2c0}.key-form .button{font-size:10px}
.key-state{margin:12px 0 0;color:#418662;font-size:10px}
.page-footer{display:flex;justify-content:space-between;padding:20px 2px;color:#9ba5b4;font-size:9px}.page-footer span:first-child{font-weight:700;letter-spacing:1px}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;clip-path:inset(50%)}

@media(max-width:850px){.auth-shell{grid-template-columns:1fr}.auth-card{padding:38px 0 48px}.auth-card .brand{margin-bottom:48px}.auth-art{min-height:370px;padding:48px}.art-content h2{font-size:44px}.art-footer{left:48px}.dashboard{width:calc(100% - 36px);padding-top:35px}.topbar{padding:0 18px}.stat-grid{grid-template-columns:1fr}.stat-card{min-height:112px}.main-grid{grid-template-columns:1fr}.welcome-row h1{font-size:29px}}
@media(max-width:520px){.topbar{height:64px}.topbar-right{gap:9px}.secure-label{display:none}.user-chip{font-size:10px}.dashboard{width:calc(100% - 28px);padding-top:29px}.welcome-row{align-items:flex-start;flex-direction:column;gap:15px}.welcome-row h1{font-size:27px}.server-pill{margin:0}.panel-card{padding:18px}.panel-heading h2{font-size:16px}.manual-tag,.key-label{font-size:7px}.key-form{grid-template-columns:1fr}.key-form .button{height:42px}.key-steps{gap:8px 13px}.page-footer{gap:10px;font-size:8px}.auth-card h1{font-size:32px}.auth-art{min-height:340px;padding:34px}.art-footer{left:34px}.art-badge{margin-top:28px}.mobile-break{display:none}}
