:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#0f172a;background:#f8fafc;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input,select{font:inherit}button{cursor:pointer}code{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace}.page-shell{min-height:100vh;background:linear-gradient(180deg,#f8fafc,#f1f5f9)}.topbar{min-height:76px;display:flex;align-items:center;gap:12px;padding:12px clamp(20px,5vw,72px);background:#ffffffe6;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border-bottom:1px solid #e2e8f0;position:sticky;top:0;z-index:20}.brand-mark{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:#0f172a;color:#fff;font-weight:800;font-size:20px;flex:0 0 auto}.brand-copy{display:grid;gap:2px;white-space:nowrap}.brand-copy strong{font-size:16px}.brand-copy span{color:#64748b;font-size:12px}.release{margin-left:auto;padding:7px 10px;border-radius:999px;background:#f1f5f9;color:#475569;font-size:12px;font-weight:700}.main-nav{display:flex;gap:4px;margin-left:clamp(18px,4vw,52px)}.main-nav button{border:0;background:transparent;color:#64748b;padding:9px 12px;border-radius:9px;font-weight:700;font-size:13px}.main-nav button:hover{background:#f1f5f9;color:#0f172a}.main-nav button.active{background:#e0e7ff;color:#3730a3}.page-content{width:min(1240px,calc(100% - 32px));margin:0 auto;padding:clamp(30px,5vw,64px) 0 80px}.auth-layout{display:grid;grid-template-columns:1.15fr .85fr;gap:clamp(36px,7vw,92px);align-items:center;min-height:calc(100vh - 210px)}.auth-copy h1,.welcome-card h1,.page-heading-card h1{margin:10px 0 16px;font-size:clamp(38px,5vw,62px);letter-spacing:-.04em;line-height:1.02}.auth-copy>p,.welcome-card p,.page-heading-card p{color:#64748b;font-size:17px;line-height:1.65;max-width:680px;margin-bottom:0}.eyebrow{color:#2563eb;font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.security-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:32px}.security-list span{padding:13px 15px;border:1px solid #dbeafe;background:#eff6ff;color:#1e40af;border-radius:12px;font-weight:650;font-size:14px}.auth-card,.panel-card,.metric-card,.resource-card,.welcome-card,.loading-card,.page-heading-card,.empty-panel,.applications-table-wrap{background:#fff;border:1px solid #e2e8f0;border-radius:20px;box-shadow:0 18px 50px #0f172a0f}.auth-card{padding:clamp(24px,4vw,38px);display:grid;gap:18px}.auth-card label,.modal-card label{display:grid;gap:8px;color:#334155;font-size:13px;font-weight:750}input,select{width:100%;border:1px solid #cbd5e1;border-radius:11px;padding:12px 13px;color:#0f172a;background:#fff;outline:none}input:focus,select:focus{border-color:#2563eb;box-shadow:0 0 0 4px #dbeafe}input:disabled{background:#f1f5f9;color:#64748b}label small{color:#94a3b8;font-size:11px;font-weight:500}.field-note{margin:-8px 0 0;color:#64748b;font-size:12px;line-height:1.5}.primary-button,.secondary-button,.danger-button{border:0;border-radius:11px;padding:12px 16px;font-weight:750}.primary-button{background:#2563eb;color:#fff}.primary-button:hover{background:#1d4ed8}.primary-button.compact{padding:11px 15px;white-space:nowrap}.secondary-button{background:#f1f5f9;color:#0f172a}.secondary-button:hover{background:#e2e8f0}.danger-button{background:#fff1f2;color:#be123c}.danger-button:hover{background:#ffe4e6}.secondary-button.tiny{padding:8px 10px;border-radius:9px;font-size:12px}button:disabled{opacity:.55;cursor:not-allowed}.text-button,.icon-button,.danger-link{border:0;background:transparent}.text-button{color:#2563eb;font-weight:750}.icon-button{width:36px;height:36px;border-radius:10px;font-size:24px;color:#64748b;display:grid;place-items:center}.icon-button:hover{background:#f1f5f9}.danger-link{color:#be123c;font-size:12px;font-weight:750;padding:8px}.error-box{background:#fff1f2;color:#be123c;border:1px solid #fecdd3;border-radius:11px;padding:12px 14px;font-size:13px}.page-error{margin-bottom:18px}.dashboard-grid{display:grid;grid-template-columns:repeat(12,1fr);gap:18px}.full-width{grid-column:1 / -1}.two-thirds{grid-column:span 8}.one-third{grid-column:span 4}.welcome-card{grid-column:1 / -1;padding:clamp(24px,4vw,42px);display:flex;align-items:flex-end;justify-content:space-between;gap:30px}.welcome-card h1{font-size:clamp(34px,5vw,54px)}.button-row{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}.metric-card{grid-column:span 4;padding:24px;display:grid;gap:9px;min-height:142px;align-content:center}.metric-card>span{color:#64748b;font-size:13px;font-weight:700}.metric-card strong{font-size:25px;letter-spacing:-.02em}.metric-card small,.resource-card small{color:#64748b}.status-dot{display:inline-block;width:10px;height:10px;border-radius:50%;background:#16a34a;box-shadow:0 0 0 5px #dcfce7;margin-right:8px}.resource-card{grid-column:span 3;padding:22px;display:grid;gap:13px;min-height:150px;align-content:center}.resource-heading{display:flex;justify-content:space-between;align-items:baseline}.resource-heading span{color:#64748b;font-size:13px;font-weight:750}.resource-heading strong{font-size:23px}.progress-track{height:9px;border-radius:999px;background:#e2e8f0;overflow:hidden}.progress-track span{display:block;height:100%;background:#2563eb;border-radius:inherit}.progress-track.warning span{background:#d97706}.progress-track.critical span{background:#dc2626}.resource-detail-row{display:flex;justify-content:space-between;font-size:13px;color:#64748b}.resource-detail-row b{color:#0f172a}.panel-card{padding:26px}.notice-card{box-shadow:none}.notice-card p{color:#64748b;margin-bottom:0}.section-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;padding-bottom:20px;border-bottom:1px solid #e2e8f0}.section-heading>div>span,.modal-heading>div>span{color:#64748b;font-size:11px;font-weight:750;text-transform:uppercase;letter-spacing:.1em}.section-heading h2,.modal-heading h2{margin:5px 0 0;font-size:22px}.count-pill{background:#f1f5f9;padding:8px 10px;border-radius:999px;color:#64748b;font-size:12px;font-weight:700}.audit-list{display:grid}.audit-row{display:grid;grid-template-columns:38px 1fr auto;gap:13px;align-items:center;padding:16px 0;border-bottom:1px solid #f1f5f9}.audit-row:last-child{border-bottom:0}.audit-icon{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:#ecfdf5;color:#15803d;font-weight:900}.audit-row>div:nth-child(2){display:grid;gap:3px;min-width:0}.audit-row strong{font-size:13px;text-transform:capitalize}.audit-row span{color:#64748b;font-size:11px}.audit-row code{color:#94a3b8;font-size:11px}.audit-list.condensed .audit-row{grid-template-columns:34px 1fr;padding:13px 0}.application-list{display:grid}.application-row{display:grid;grid-template-columns:42px 1fr auto;gap:13px;align-items:center;padding:16px 0;border-bottom:1px solid #f1f5f9}.application-row:last-child{border-bottom:0}.application-row>div:nth-child(2){display:grid;gap:3px}.application-row span{color:#64748b;font-size:12px}.app-avatar{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:#e0e7ff;color:#3730a3;font-weight:850}.app-avatar.archived{background:#f1f5f9;color:#64748b}.app-avatar.failed{background:#fff1f2;color:#be123c}.status-pill{display:inline-flex;align-items:center;width:fit-content;border-radius:999px;padding:6px 9px;font-size:11px!important;font-weight:750;background:#eff6ff;color:#1d4ed8!important}.status-pill.active{background:#ecfdf5;color:#15803d!important}.status-pill.archived,.status-pill.stopped{background:#f1f5f9;color:#64748b!important}.empty-state{color:#64748b;text-align:center;padding:30px}.empty-state strong{display:block;color:#0f172a;font-size:16px;margin-bottom:7px}.empty-state p{margin:0}.loading-card{padding:40px;text-align:center;color:#64748b}.stack-layout{display:grid;gap:18px}.page-heading-card{padding:clamp(25px,4vw,40px);display:flex;align-items:flex-end;justify-content:space-between;gap:30px}.page-heading-card h1{font-size:clamp(35px,5vw,52px)}.toolbar{display:flex;justify-content:space-between;align-items:center;color:#64748b;font-size:12px;padding:0 4px}.toggle{display:flex;align-items:center;gap:9px;cursor:pointer;font-weight:700}.toggle input{display:none}.toggle span{width:38px;height:22px;background:#cbd5e1;border-radius:999px;padding:3px;transition:.2s;order:-1}.toggle span:after{content:"";display:block;width:16px;height:16px;border-radius:50%;background:#fff;transition:.2s;box-shadow:0 1px 4px #0f172a33}.toggle input:checked+span{background:#2563eb}.toggle input:checked+span:after{transform:translate(16px)}.empty-panel{padding:60px 30px;text-align:center}.empty-panel h2{margin:15px 0 8px}.empty-panel p{max-width:620px;margin:0 auto 24px;color:#64748b;line-height:1.6}.empty-illustration{width:62px;height:62px;display:grid;place-items:center;margin:0 auto;border-radius:18px;background:#eff6ff;color:#2563eb;font-size:35px}.applications-table-wrap{overflow-x:auto}.applications-table{width:100%;border-collapse:collapse;min-width:900px}.applications-table th{text-align:left;color:#64748b;font-size:11px;text-transform:uppercase;letter-spacing:.08em;padding:15px 18px;border-bottom:1px solid #e2e8f0}.applications-table td{padding:17px 18px;border-bottom:1px solid #f1f5f9;font-size:13px;vertical-align:middle}.applications-table tr:last-child td{border-bottom:0}.applications-table td>span{display:block;color:#94a3b8;font-size:11px;margin-top:4px}.archived-row{opacity:.72}.table-app{display:flex;align-items:center;gap:12px}.table-app>div:last-child{display:grid;gap:3px}.table-app span{color:#64748b;font-size:11px}.domain-value{font-size:13px}.row-actions{display:flex;align-items:center;justify-content:flex-end;gap:3px}.modal-backdrop{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:20px;background:#0f172a8c;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);overflow-y:auto}.modal-card{width:min(580px,100%);background:#fff;border-radius:20px;border:1px solid #e2e8f0;box-shadow:0 35px 90px #0f172a4d;padding:25px;display:grid;gap:20px}.wide-modal{width:min(900px,100%)}.modal-heading{display:flex;justify-content:space-between;gap:20px;align-items:start}.modal-heading h2{font-size:25px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.span-2{grid-column:1 / -1}.form-note{border:1px solid #dbeafe;background:#eff6ff;color:#1e40af;padding:12px 14px;border-radius:11px;font-size:12px;line-height:1.5}.modal-actions{display:flex;justify-content:flex-end;gap:10px;padding-top:4px}.modal-copy{color:#64748b;line-height:1.6;margin:0}.confirm-modal label strong{color:#0f172a}.fatal-page{min-height:100vh;display:grid;place-content:center;text-align:center;padding:30px;background:#f8fafc}.fatal-page h1{margin:0 0 10px}.fatal-page p{color:#64748b}.spinner{width:34px;height:34px;border-radius:50%;border:3px solid #dbeafe;border-top-color:#2563eb;animation:spin .8s linear infinite;margin:0 auto}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:1020px){.resource-card{grid-column:span 6}.two-thirds,.one-third{grid-column:1 / -1}.main-nav{order:3;width:100%;margin:5px 0 0;overflow-x:auto}.topbar{flex-wrap:wrap}.release{margin-left:auto}}@media(max-width:760px){.auth-layout{grid-template-columns:1fr;min-height:auto}.security-list,.dashboard-grid{grid-template-columns:1fr}.welcome-card,.page-heading-card{display:grid}.metric-card,.resource-card{grid-column:1 / -1}.button-row{justify-content:flex-start}.form-grid{grid-template-columns:1fr}.span-2{grid-column:auto}.modal-card{padding:20px}.brand-copy span{display:none}}.success-box{border:1px solid #bbf7d0;background:#ecfdf5;color:#166534;padding:16px;border-radius:13px}.success-box strong{display:block;margin-bottom:6px;color:#14532d}.success-box p{margin:0;line-height:1.55}.deployment-log{margin:0;min-height:300px;max-height:62vh;overflow:auto;padding:17px;border-radius:13px;background:#0f172a;color:#e2e8f0;white-space:pre-wrap;word-break:break-word;font:12px/1.55 ui-monospace,SFMono-Regular,Consolas,monospace}.log-modal{max-height:90vh}.failure-text{color:#be123c!important;max-width:310px;line-height:1.35}.status-pill.uploading,.status-pill.queued{background:#eff6ff;color:#1d4ed8!important}.status-pill.validating,.status-pill.extracting,.status-pill.building,.status-pill.starting,.status-pill.health_check,.status-pill.promoting{background:#fff7ed;color:#c2410c!important}.status-pill.succeeded{background:#ecfdf5;color:#15803d!important}.status-pill.failed{background:#fff1f2;color:#be123c!important}.deployments-table{min-width:1050px}input[type=file]{padding:10px;background:#f8fafc}
