:root{--mg-base: #061230;--mg-surface: #0A1636;--mg-surface-2: #0D1A3C;--mg-raised: #14244D;--mg-border: #1F3160;--mg-border-strong: #7C8FBA;--mg-text: #E9EEF8;--mg-muted: #A9B7D4;--mg-cyan: #20D1F3;--mg-primary: #34D399;--mg-on-primary: #05241A;--mg-focus: #7BE3F8;--mg-note-bg: #2E2310;--mg-note-border: #5A4416;--mg-note-text: #F6C76F;--mg-ok-bg: #1E2A12;--mg-ok-text: #B7DB7C;--mg-info-bg: #15263A;--mg-info-text: #9CCBF5;--mg-error-bg: #33191A;--mg-error-text: #FA9D96;--mg-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;--mg-font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;--mg-text-sm: .875rem;--mg-text-md: 1rem;--mg-text-lg: 1.25rem;--mg-text-xl: 1.625rem;--mg-control-h: 44px;--mg-radius: 8px;--mg-radius-pill: 999px;--mg-focus-ring: 0 0 0 3px var(--mg-focus);--mg-space-1: 4px;--mg-space-2: 8px;--mg-space-3: 12px;--mg-space-4: 16px;--mg-space-5: 24px;--mg-space-6: 32px;--mg-nav-w: 232px;color-scheme:dark}*,*:before,*:after{box-sizing:border-box}html,body{margin:0;background:#061230;color:#e9eef8}body{font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;font-size:15px;line-height:1.5}a{color:#5bdcf5}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,iframe:focus-visible{outline:2px solid #7BE3F8;outline-offset:2px}button:disabled{cursor:not-allowed}h1,h2,h3{margin:0}.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}.muted{color:#a9b7d4}.hint{color:#a9b7d4;font-size:13px;margin:6px 0 0}.small{font-size:14px}.mono{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.row{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.split{display:flex;flex-wrap:wrap;gap:16px;align-items:flex-start}.split>*{flex:1 1 360px;min-width:0}.shell{display:flex;min-height:100vh;background:#061230}.nav{flex:0 0 260px;width:260px;background:#0a1636;border-right:1px solid #1F3160;padding:20px 14px;display:flex;flex-direction:column;gap:2px;position:sticky;top:0;height:100vh;overflow-y:auto}.brand{display:flex;align-items:center;gap:10px;padding:4px 10px 18px;font-weight:700;font-size:20px;letter-spacing:-.01em}.brand img{display:block;object-fit:contain}.brand .mail{color:#ff751f}.brand .gridder{color:#20d1f3}.nav-item{display:flex;align-items:center;gap:12px;min-height:44px;padding:0 12px;border-radius:8px;text-decoration:none;color:#a9b7d4;background:transparent}.nav-item:hover{color:#e9eef8}.nav-item[aria-current=page]{background:#14244d;color:#e9eef8;font-weight:500;box-shadow:inset 3px 0 #20d1f3}.nav-item .label{flex:1}.nav-soon{background:#1f3160;color:#a9b7d4;border-radius:999px;font-size:12px;padding:1px 8px}.nav-spacer{flex:1;min-height:20px}.workspace{border:1px solid #1F3160;border-radius:10px;padding:12px;background:#061230;margin-top:28px}.workspace .k{font-size:12px;color:#a9b7d4}.workspace .v{font-weight:600;margin-top:2px;overflow-wrap:anywhere}.workspace .d{font-size:13px;color:#a9b7d4;overflow-wrap:anywhere}.nav-signout{display:flex;align-items:center;min-height:44px;padding:0 12px;border-radius:8px;color:#a9b7d4;margin-top:4px;background:transparent;border:0;font:inherit;cursor:pointer;text-align:left;width:100%}.nav-signout:hover{color:#e9eef8}.main{flex:1 1 560px;min-width:0}.content{box-sizing:border-box;padding:28px 36px 48px;display:flex;flex-direction:column;gap:20px;max-width:1280px}.page-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px}.page-head h1{font-size:28px;line-height:1.15;letter-spacing:-.01em}.page-head p{margin:6px 0 0;color:#a9b7d4;max-width:640px}.page-head .tools{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.help-link{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;border-radius:99px;border:1px solid #7C8FBA;color:#e9eef8;text-decoration:none;font-weight:700}.menu-btn,.topbar{display:none}.panel,.card{background:#0d1a3c;border:1px solid #1F3160;border-radius:14px;padding:22px;min-width:0}.panel h2,.card h2{font-size:18px;margin:0 0 4px}.panel h3,.card h3{font-size:16px;margin:0 0 12px}.panel>p,.card>p{margin:0 0 14px}.card-sub{margin:0 0 14px;color:#a9b7d4;font-size:14px}.card-dark{background:#0a1636}.dropzone{background:#0d1a3c;border:1.5px dashed #7C8FBA;border-radius:14px;padding:32px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:10px}.dropzone h2{font-size:20px;margin:0}.dropzone p{margin:0;color:#a9b7d4;font-size:14px;max-width:380px}.note{display:flex;gap:10px;align-items:flex-start;background:#2e2310;border:1px solid #5A4416;border-radius:10px;padding:10px 14px;color:#f6c76f;font-size:14px}.note a{color:#f6c76f}.note-info{background:#15263a;border-color:#1f3160;color:#9ccbf5}.note-info a{color:#9ccbf5}.msg-error,.msg-ok,.msg-info{border-radius:10px;padding:10px 14px;font-size:14px;margin:10px 0}.msg-error{background:#33191a;border:1px solid #5A2A2A;color:#fa9d96}.msg-ok{background:#1e2a12;border:1px solid #34471F;color:#b7db7c}.msg-info{background:#15263a;border:1px solid #1F3160;color:#9ccbf5}.empty{border:1px dashed #7C8FBA;border-radius:14px;padding:28px;text-align:center;color:#a9b7d4}.empty p{margin:0}.empty p+p{margin-top:8px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 18px;border-radius:8px;font:inherit;font-weight:600;cursor:pointer;text-decoration:none;border:1px solid #7C8FBA;background:transparent;color:#e9eef8}.btn-primary{border:0;background:#34d399;color:#05241a;font-weight:700}.btn-primary:disabled,.btn:disabled{background:#1f3160;color:#a9b7d4;border-color:#1f3160}.btn-ghost{border:1px solid #7C8FBA;background:transparent;color:#e9eef8}.btn-link{border:0;background:transparent;color:#5bdcf5;text-decoration:underline;padding:0 8px}.btn-lg{min-height:48px}.btn-block{width:100%}.chips{display:flex;gap:6px;flex-wrap:wrap}.chip{min-height:44px;padding:0 14px;border-radius:99px;font:inherit;font-size:14px;cursor:pointer;border:1px solid #1F3160;background:transparent;color:#a9b7d4}.chip[aria-pressed=true]{border:1px solid #20D1F3;background:#0b2a4a;color:#e9eef8}.chip:disabled{border-style:dashed;cursor:not-allowed}.pill{display:inline-block;border-radius:99px;padding:2px 10px;font-size:12.5px;background:#1f3160;color:#e9eef8;white-space:nowrap}.pill-ok{background:#1e2a12;color:#b7db7c}.pill-warn,.pill-review{background:#2e2310;color:#f6c76f}.pill-error{background:#33191a;color:#fa9d96}.pill-info{background:#15263a;color:#9ccbf5}.tag{display:inline-block;background:#0b2a4a;color:#9ce8f8;border-radius:6px;padding:1px 8px;font-size:12px}.tiles{display:flex;flex-wrap:wrap;gap:16px}.tile{flex:1 1 200px;text-align:left;font:inherit;border-radius:14px;padding:18px;background:#0d1a3c;color:#e9eef8;border:1px solid #1F3160}button.tile{cursor:pointer}.tile[aria-pressed=true]{border-color:#20d1f3;box-shadow:0 0 0 1px #20d1f3}.tile .k{display:block;color:#a9b7d4;font-size:13px}.tile .v{display:block;font-size:32px;font-weight:700;margin-top:6px;letter-spacing:-.02em;color:#e9eef8}.tile .n{display:block;font-size:13px;margin-top:4px;color:#a9b7d4}.stats{display:flex;flex-wrap:wrap;gap:12px}.stat{flex:1 1 140px;border:1px solid #1F3160;border-radius:10px;padding:12px 14px}.stat .k{display:flex;align-items:center;gap:6px;color:#a9b7d4;font-size:13px}.stat .v,.stat b{display:block;font-size:24px;font-weight:700;color:#e9eef8}.stat .n{color:#a9b7d4;font-size:12.5px}.c-ok{color:#b7db7c!important}.c-warn{color:#f6c76f!important}.c-bad{color:#fa9d96!important}.c-info{color:#9ccbf5!important}.bar{display:flex;height:12px;border-radius:99px;overflow:hidden;background:#1f3160}.progress{height:10px;border-radius:99px;background:#1f3160;overflow:hidden}.progress>div{height:100%;background:#34d399}.field{display:flex;flex-direction:column;gap:6px;margin-bottom:14px}.field label,.field .label,legend{font-weight:500;font-size:14px}input[type=text],input[type=email],input[type=password],input[type=search],input[type=date],select,textarea{box-sizing:border-box;width:100%;min-height:44px;padding:0 14px;border:1px solid #7C8FBA;border-radius:8px;background:#061230;color:#e9eef8;font:inherit}textarea{padding:12px 14px;resize:vertical}input[type=file]{font:inherit;color:#a9b7d4}input[type=file]::file-selector-button{min-height:44px;padding:0 20px;border:0;border-radius:8px;background:#34d399;color:#05241a;font:inherit;font-weight:700;cursor:pointer;margin-right:12px}.check{display:flex;gap:10px;align-items:flex-start;min-height:44px}.check input{width:20px;height:20px;margin-top:2px;accent-color:#34D399;flex:none}.map-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:12px}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:14px}thead tr{text-align:left;color:#a9b7d4;font-size:13px}th{padding:8px;font-weight:500;text-align:left}td{padding:12px 8px;vertical-align:top}tbody tr{border-top:1px solid #1F3160}tbody th{font-weight:500;color:#e9eef8}th:first-child,td:first-child{padding-left:0}th:last-child,td:last-child{padding-right:0}.num{text-align:right}caption{text-align:left;color:#a9b7d4;font-size:13px;padding:0 0 8px}.steps{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}.step{display:flex;align-items:center;gap:8px;padding:6px 14px 6px 8px;border-radius:99px;font-size:14px;border:1px solid #1F3160;color:#a9b7d4}.step .dot{width:24px;height:24px;border-radius:99px;display:inline-flex;align-items:center;justify-content:center;font-size:13px;font-weight:700;background:#1f3160;color:#e9eef8}.step.on{background:#0b2a4a;border-color:#20d1f3;color:#e9eef8}.step.on .dot{background:#20d1f3;color:#061230}.step.done .dot{background:#34d399;color:#05241a}.tabs{display:flex;flex-wrap:wrap;gap:4px;border-bottom:1px solid #1F3160}.tab{padding:12px 16px;min-height:44px;color:#a9b7d4;background:transparent;border:0;border-bottom:2px solid transparent;margin-bottom:-1px;font:inherit;cursor:pointer}.tab[aria-selected=true]{color:#e9eef8;font-weight:600;border-bottom-color:#34d399}.chart{height:170px;margin-top:14px;display:flex;align-items:flex-end;border-bottom:1px solid #1F3160}.chart>div{flex:1 1 0;min-width:0;border-radius:4px 4px 0 0}.axis{display:flex;justify-content:space-between;color:#a9b7d4;font-size:12.5px;margin-top:6px}.chart-empty{height:170px;display:flex;align-items:center;justify-content:center;color:#a9b7d4;gap:8px;text-align:center}.gallery{flex:3 1 520px;min-width:0;display:flex;flex-wrap:wrap;gap:16px;align-content:flex-start}.tcard{flex:1 1 200px;max-width:260px;min-width:180px;text-align:left;font:inherit;cursor:pointer;border-radius:14px;padding:14px;background:#0d1a3c;color:#e9eef8;border:1px solid #1F3160}.tcard[aria-pressed=true]{border-color:#20d1f3;box-shadow:0 0 0 1px #20d1f3}.tcard .thumb{display:block;background:#061230;border-radius:8px;height:220px;overflow:hidden;position:relative;margin-bottom:12px}.tcard .thumb iframe{position:absolute;top:0;left:0;width:640px;height:1100px;border:0;transform:scale(.34);transform-origin:0 0;pointer-events:none;background:#fff}.tcard .t{display:block;font-weight:600}.tcard .i{display:block;color:#a9b7d4;font-size:13px}.aside{flex:1 1 280px;min-width:260px;display:flex;flex-direction:column;gap:12px;position:sticky;top:20px}.aside ul{margin:0;padding-left:18px;color:#a9b7d4;font-size:14px;display:flex;flex-direction:column;gap:4px}.login-wrap{display:flex;min-height:100vh;background:#061230}.auth-page{min-height:100vh;background:#061230;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:28px;padding:40px max(16px,env(safe-area-inset-right,0px)) 48px max(16px,env(safe-area-inset-left,0px))}.auth-brand .brand{font-size:22px;padding:0}.auth-card{position:relative;width:100%;max-width:920px;min-height:540px;display:grid;grid-template-columns:1fr 1fr;background:#0a1636;border:1px solid #1F3160;border-radius:16px;overflow:hidden;box-shadow:0 24px 60px #00000073}.auth-panel{grid-row:1;min-width:0;padding:48px 44px;display:flex;flex-direction:column;justify-content:center;gap:16px}.auth-signin{grid-column:1}.auth-reset{grid-column:2}.auth-reset p{margin:0;max-width:46ch}.auth-title{font-size:26px;letter-spacing:-.01em}.auth-title:focus{outline:none}.auth-title:focus-visible{outline:2px solid #7BE3F8;outline-offset:4px;border-radius:4px}.login{width:100%;max-width:380px;margin:0 auto;display:flex;flex-direction:column;gap:18px}.login .field{margin:0}.login input{min-height:48px}.auth-forgot{align-self:center;border:0;background:transparent;padding:4px 6px;font:inherit;font-size:14px;color:#5bdcf5;text-decoration:underline;text-underline-offset:3px;cursor:pointer;border-radius:4px}.auth-back-inline{display:none;align-self:flex-start;min-height:44px}.auth-overlay{position:absolute;top:0;bottom:0;left:50%;width:50%;z-index:2;color:#061230;overflow:hidden;background:radial-gradient(circle at 88% 12%,rgba(255,255,255,.22) 0 90px,transparent 91px),radial-gradient(circle at 8% 96%,rgba(6,18,48,.12) 0 140px,transparent 141px),linear-gradient(155deg,#ff8a3d,#ff751f 55%,#f2650f);transition:transform .55s cubic-bezier(.65,0,.35,1)}.auth-card.is-reset .auth-overlay{transform:translate(-100%)}.auth-overlay-track{height:100%;display:grid}.auth-face{grid-area:1 / 1;padding:48px 44px;display:flex;flex-direction:column;justify-content:center;gap:14px;transition:opacity .3s ease .2s,visibility 0s linear 0s}.auth-face h2{font-size:30px;letter-spacing:-.02em;color:#061230}.auth-face p{margin:0;font-size:16px;line-height:1.55;max-width:34ch;color:#1a1f2e}.auth-cta{align-self:flex-start;margin-top:10px;padding:0 26px;text-decoration:none;box-shadow:0 0 0 2px #061230}.auth-overlay a:focus-visible,.auth-overlay button:focus-visible{outline:3px solid #061230;outline-offset:3px}.auth-face[aria-hidden=true]{opacity:0;visibility:hidden;transition:opacity .2s ease,visibility 0s linear .2s}.auth-panel{transition:visibility 0s linear 0s}.auth-card.is-reset .auth-signin,.auth-card:not(.is-reset) .auth-reset{visibility:hidden;transition:visibility 0s linear .55s}@media (prefers-reduced-motion: reduce){.auth-overlay,.auth-face,.auth-face[aria-hidden=true],.auth-panel,.auth-card.is-reset .auth-signin,.auth-card:not(.is-reset) .auth-reset{transition:none}}@media (max-width: 760px){.auth-page{justify-content:flex-start;padding-top:28px;gap:20px}.auth-card{display:flex;flex-direction:column;min-height:0}.auth-panel{padding:32px 22px}.auth-card:not(.is-reset) .auth-reset,.auth-card.is-reset .auth-signin{display:none}.auth-back-inline{display:inline-flex}.auth-overlay,.auth-card.is-reset .auth-overlay{position:static;width:auto;transform:none;transition:none}.auth-face{padding:30px 22px 34px}.auth-face-back,.auth-card.is-reset .auth-overlay{display:none}.auth-face h2{font-size:24px}}@media (max-width: 860px){.shell{display:block}.topbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 16px;background:#0a1636;border-bottom:1px solid #1F3160;position:sticky;top:0;z-index:3}.menu-btn{display:inline-flex}.nav{display:none;position:fixed;inset:0 auto 0 0;z-index:4;width:270px}.nav.open{display:flex}.content{padding:20px 16px 40px}}.nav-group{display:flex;flex-direction:column;gap:2px;margin-top:14px}.nav-group-label{font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:#7f8fb3;padding:0 12px 4px}.nav .nav-item{min-height:40px}.mframe{display:flex;flex-direction:column;gap:10px}.mframe-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.mframe-view{width:100%;height:calc(100vh - 210px);min-height:560px;border:1px solid #1F3160;border-radius:10px;background:#0a1636}.mframe-note{max-width:760px}.mframe-note p{margin:0 0 12px}.mframe-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:6px}@media (max-width: 860px){.mframe-view{height:calc(100vh - 180px);min-height:480px}}.billing-dl{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px;margin:0}.billing-dl dd{margin:4px 0 0;font-weight:600}.tphoto{margin-left:8px;font-size:11px;padding:1px 7px;vertical-align:2px}.tp-dialog{width:min(920px,calc(100vw - 32px));max-height:calc(100vh - 32px);padding:0;border:1px solid #1F3160;border-radius:12px;background:#0a1636;color:#e9eef8}.tp-dialog::backdrop{background:#030818b8}.tp-dialog-body{display:flex;flex-direction:column;gap:12px;padding:18px 20px 20px}.tp-frame{display:block;max-width:100%;height:calc(100vh - 230px);min-height:360px;border:1px solid #1F3160;border-radius:8px;background:#fff;margin:0 auto}@media (max-width: 640px){.tp-dialog-body{padding:14px 12px}}.tfa{display:flex;flex-direction:column;gap:12px;margin-top:8px}.tfa p{margin:0}.tfa-steps{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:12px}.tfa-qr{margin:12px 0;width:236px;padding:8px;background:#fff;border-radius:8px}.tfa-qr svg{display:block;width:220px;height:220px}.tfa-key{word-break:break-all;font-size:15px;letter-spacing:.04em}.tfa-codes{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-width:360px}.tfa-codes code{font-size:16px;letter-spacing:.06em}@media print{.nav,.topbar,.tfa .row,.tfa .check{display:none!important}}
