:root{color-scheme:light;--bg: #f6f4f1;--surface: #ffffff;--surface-muted: #fbfaf8;--line: #ebe5df;--text: #231f1d;--muted: #756b65;--primary: #d62828;--primary-strong: #b31f1f;--green: #2f7d4c;--green-soft: #edf8f1;--amber: #a86b11;--amber-soft: #fff6e8;--red: #b53a36;--red-soft: #fceeee;--slate: #746a64;--slate-soft: #f2efec;--shadow-soft: 0 12px 30px rgba(34, 29, 27, .06);--shadow-card: 0 18px 40px rgba(34, 29, 27, .05);font-family:Space Grotesk,sans-serif;line-height:1.5;font-weight:400;color:var(--text);background:linear-gradient(180deg,#fbfaf8,#f6f4f1)}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:var(--bg)}button,input,textarea{font:inherit}a{color:inherit;text-decoration:none}#root{min-height:100vh}.login-shell,.loading-screen{min-height:100vh;display:grid;place-items:center;padding:32px 20px}.loading-screen{color:var(--muted)}.login-card,.card,.portal-header,.detail-hero{background:var(--surface);border:1px solid rgba(235,229,223,.85);box-shadow:var(--shadow-card)}.login-card{width:min(560px,100%);border-radius:28px;padding:32px}.login-card-brand,.login-brand,.login-brand-copy,.page-stack,.login-form,.ops-form,.detail-stack,.credential-list,.modal-copy,.detail-main-column,.detail-side-column{display:grid;gap:18px}.login-card h1,.page-header h2,.card h3,.detail-header h1{margin:0;letter-spacing:-.03em}.login-card p,.page-header p,.card-header p,.inline-note{color:var(--muted)}.brand-logo{display:block;height:auto}.brand-logo-login{width:min(240px,100%)}.portal-brand-logo{width:108px;height:auto;display:block}.eyebrow{margin:0;text-transform:uppercase;letter-spacing:.12em;font-size:.76rem;font-family:IBM Plex Mono,monospace;color:var(--muted)}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.form-field,label{display:grid;gap:8px}.form-field span{color:var(--muted);font-size:.86rem}.form-field-wide{grid-column:1 / -1}input,textarea{width:100%;border:1px solid var(--line);border-radius:16px;background:var(--surface);color:var(--text);padding:13px 14px}textarea{resize:vertical;min-height:124px}input:focus,textarea:focus{outline:none;border-color:#d6282847;box-shadow:0 0 0 4px #d6282814}.primary-button,.ghost-button,.danger-button,.detail-tab,.detail-back-button,.nav-link,.environment-link{transition:background-color .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease,transform .18s ease}.primary-button,.ghost-button,.danger-button,.detail-back-button{border:0;border-radius:999px;padding:12px 18px;cursor:pointer}.primary-button{background:linear-gradient(135deg,var(--primary),var(--primary-strong));color:#fff;box-shadow:0 12px 24px #d6282829}.danger-button{background:linear-gradient(135deg,#c54844,#9e2f2b);color:#fff;box-shadow:0 12px 24px #b53a3629}.primary-button:hover,.danger-button:hover{transform:translateY(-1px)}.ghost-button,.detail-back-button{background:var(--surface);color:var(--text);border:1px solid var(--line)}.ghost-button-compact{padding:9px 14px}.primary-button:disabled,.ghost-button:disabled,.danger-button:disabled,.detail-back-button:disabled,input:disabled,textarea:disabled{opacity:.62;cursor:not-allowed}.form-error,.form-success{border-radius:16px;padding:12px 14px}.form-error{background:var(--red-soft);color:var(--red)}.form-success{background:var(--green-soft);color:var(--green)}.portal-shell{min-height:100vh}.portal-shell-topbar{display:grid;gap:22px;padding:18px 24px 28px}.portal-header{max-width:1320px;width:100%;margin:0 auto;border-radius:18px;padding:12px 18px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:16px}.portal-brand,.portal-header-nav,.portal-user-block{display:flex;align-items:center;gap:14px}.portal-brand-copy,.portal-user-copy{display:grid;gap:2px}.portal-brand-copy strong{font-size:.98rem}.portal-brand-copy small,.portal-user-copy small{color:var(--muted);font-size:.82rem}.portal-user-copy span{font-size:.9rem}.portal-header-nav{justify-content:center}.portal-content{min-width:0;display:grid;align-content:start;gap:20px}.portal-content-topbar{max-width:1320px;width:100%;margin:0 auto}.nav-link{border-radius:999px;padding:8px 14px;color:var(--muted);background:transparent;border:1px solid transparent}.nav-link-active{background:#f3f0ec;color:var(--text);border-color:var(--line)}.page-header{display:grid;gap:8px}.page-header p:last-child{margin:0}.dashboard-header,.detail-header,.card-header,.consumption-head,.action-row{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.detail-header{align-items:center}.detail-header-copy{flex:1;display:grid;gap:8px}.detail-hero{border-radius:24px;padding:22px 24px;display:grid;gap:18px}.detail-topbar-copy p{margin:0;color:var(--muted);max-width:760px}.detail-hero-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.hero-metric{display:grid;gap:8px;padding:16px 18px;border-radius:18px;background:var(--surface-muted);border:1px solid var(--line)}.hero-metric span{color:var(--muted);font-size:.84rem}.hero-metric strong{font-size:.98rem}.detail-tab-strip,.form-actions,.modal-actions{display:flex;gap:12px;flex-wrap:wrap}.macro-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.macro-metric{background:var(--surface);border:1px solid var(--line);border-radius:22px;padding:20px;box-shadow:var(--shadow-soft);display:grid;gap:10px}.macro-metric span{color:var(--muted);font-size:.88rem}.macro-metric strong{font-size:1.02rem;line-height:1.45}.macro-metric-ok{background:linear-gradient(180deg,#fff,#f7fcf8)}.macro-metric-error{background:linear-gradient(180deg,#fff,#fff7f6)}.card{border-radius:24px;padding:24px}.card-header{margin-bottom:18px}.card-header h3,.card-header p{margin:0}.environment-table{display:grid}.environment-table-head,.environment-table-row{display:grid;grid-template-columns:minmax(240px,2fr) 140px minmax(160px,1.1fr) 1fr 120px;gap:16px;align-items:center}.environment-table-head{padding:0 0 12px;color:var(--muted);font-size:.86rem}.environment-table-row{padding:16px 0;border-top:1px solid var(--line)}.environment-link{border:0;background:transparent;padding:0;text-align:left;color:var(--text);cursor:pointer;font-weight:600}.environment-link:hover{color:var(--primary-strong)}.status-badge{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:6px 10px;font-size:.78rem;font-family:IBM Plex Mono,monospace;border:1px solid transparent}.status-green{color:var(--green);background:var(--green-soft)}.status-amber{color:var(--amber);background:var(--amber-soft)}.status-red{color:var(--red);background:var(--red-soft)}.status-slate{color:var(--slate);background:var(--slate-soft)}.progress-track{width:100%;height:10px;border-radius:999px;background:#efeae6;overflow:hidden}.progress-fill{height:100%;border-radius:999px;background:linear-gradient(90deg,#bdb3ac,#8f7f75)}.detail-tab{border:1px solid var(--line);border-radius:999px;padding:10px 16px;background:var(--surface);color:var(--muted);cursor:pointer}.detail-tab-active{color:var(--text);border-color:#d8d0cb;box-shadow:var(--shadow-soft)}.detail-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(300px,.85fr);gap:18px;align-items:start}.detail-side-column{position:sticky;top:24px}.detail-grid-shell-settings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.credential-item,.detail-stat,.action-row{padding:14px 0;border-top:1px solid var(--line)}.credential-item:first-child,.detail-stat:first-child,.action-row:first-child{border-top:0;padding-top:0}.credential-item:last-child,.detail-stat:last-child,.action-row:last-child{padding-bottom:0}.credential-item{display:flex;justify-content:space-between;gap:16px;align-items:center}.credential-copy,.action-row-copy{display:grid;gap:6px}.credential-copy span,.detail-stat span,.action-row-copy span,.consumption-head span,.sparkline-shell small{color:var(--muted)}.credential-copy strong,.detail-stat strong,.action-row-copy strong{font-weight:600}.detail-stat{display:flex;justify-content:space-between;gap:16px;align-items:center}.consumption-card,.sparkline-shell{display:grid;gap:14px}.sparkline{width:100%;height:56px}.empty-state{border-radius:18px;padding:18px;color:var(--muted);background:var(--surface-muted)}.inline-note{font-size:.92rem}.field-hint{color:var(--muted);font-size:.82rem;line-height:1.45}.setup-callout,.setup-steps,.dns-preview-list,.setup-actions{display:grid;gap:14px}.setup-callout{padding:18px 18px 0}.setup-callout-copy{display:grid;gap:8px}.setup-callout-copy p{margin:0;color:var(--muted)}.setup-steps{grid-template-columns:repeat(5,minmax(0,1fr))}.setup-step{display:inline-flex;align-items:center;justify-content:center;min-height:44px;border-radius:14px;background:var(--surface-muted);border:1px solid var(--line);color:var(--text);font-size:.84rem;text-align:center;padding:10px 12px}.dns-preview-list{margin-bottom:14px}.dns-preview-item{display:grid;gap:4px;padding:14px 0;border-top:1px solid var(--line)}.dns-preview-item:first-child{border-top:0;padding-top:0}.dns-preview-head{display:flex;justify-content:space-between;gap:12px;align-items:center}.dns-preview-item span{font-weight:600}.dns-preview-item small{color:var(--muted)}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#211d1c70;display:grid;place-items:center;padding:24px;z-index:40}.modal-card{width:min(560px,100%);border-radius:24px;padding:24px;background:var(--surface);border:1px solid var(--line);box-shadow:0 24px 60px #221d1b2e}.modal-card-danger{box-shadow:0 24px 60px #b53a3624}.modal-copy h3,.modal-copy p{margin:0}@media (max-width: 1180px){.portal-header{grid-template-columns:1fr;justify-items:stretch}.portal-brand,.portal-header-nav,.portal-user-block{justify-content:space-between}.macro-strip,.detail-layout,.detail-grid-shell-settings,.detail-hero-metrics,.setup-steps{grid-template-columns:1fr}.detail-side-column{position:static}.environment-table-head,.environment-table-row{grid-template-columns:1.4fr 120px 1fr 1fr 110px}}@media (max-width: 820px){.portal-shell-topbar{padding:16px;gap:16px}.login-card,.card,.portal-header,.detail-hero{border-radius:20px}.form-grid,.detail-grid-shell-settings{grid-template-columns:1fr}.dashboard-header,.detail-header,.card-header,.action-row,.consumption-head,.portal-brand,.portal-user-block{flex-direction:column;align-items:stretch}.portal-header-nav{justify-content:flex-start;flex-wrap:wrap}.environment-table{gap:12px}.environment-table-head{display:none}.environment-table-row{grid-template-columns:1fr;gap:10px;padding:16px;border:1px solid var(--line);border-radius:18px;background:var(--surface-muted)}.credential-item,.detail-stat{flex-direction:column;align-items:flex-start}}
