:root{color:#0f172a;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#f8fafc;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0}button,input{font:inherit}.page-shell,.admin-page{min-height:100vh;padding:2rem}.page-shell{place-items:center;display:grid}.admin-page{background:radial-gradient(circle at 0 0,#2563eb14,#0000 32rem),#f8fafc;justify-content:center;display:flex}.auth-card,.state-card,.admin-shell{background:#fff;border:1px solid #e2e8f0;border-radius:1rem;box-shadow:0 1.5rem 4rem #0f172a14}.auth-card,.state-card{width:min(100%,30rem);padding:clamp(1.5rem,6vw,2.5rem)}.brand-header,.state-card{text-align:center}.eyebrow,.section-label{color:#2563eb;letter-spacing:.12em;text-transform:uppercase;margin:0 0 .5rem;font-size:.75rem;font-weight:800}h1,h2,h3,p{margin-top:0}h1{margin-bottom:0;font-size:clamp(2rem,6vw,2.75rem);line-height:1.05}h2{margin-bottom:.5rem;font-size:clamp(1.5rem,4vw,2rem)}.subtitle{color:#64748b;margin:.75rem 0 0;line-height:1.6}.login-form,.application-form{gap:1.25rem;display:grid}.login-form{margin-top:2rem}.field-group{align-content:start;gap:.5rem;display:grid}.field-group label{font-size:.875rem;font-weight:700}.field-group input,.field-group select{color:#0f172a;background:#fff;border:1px solid #cbd5e1;border-radius:.625rem;width:100%;min-height:2.875rem;padding:.75rem .875rem;transition:border-color .12s,box-shadow .12s}.field-group input:focus,.field-group select:focus{border-color:#2563eb;outline:none;box-shadow:0 0 0 3px #2563eb29}.field-group input:disabled,.field-group select:disabled{color:#64748b;background:#f1f5f9}.field-hint{color:#64748b;margin:-.1rem 0 0;font-size:.78rem}button{cursor:pointer;border:0;border-radius:.625rem;min-height:2.75rem;padding:.7rem 1rem;font-weight:700;transition:background .12s,opacity .12s,color .12s}button:focus-visible{outline-offset:2px;outline:3px solid #2563eb4d}button:disabled{cursor:not-allowed;opacity:.65}.primary-button{color:#fff;background:#2563eb}.primary-button:hover:not(:disabled){background:#1d4ed8}.primary-button.compact{width:auto;margin-top:.5rem}.secondary-button{color:#1e293b;background:#e2e8f0}.secondary-button:hover:not(:disabled){background:#cbd5e1}.danger-button{color:#fff;background:#dc2626}.danger-button:hover:not(:disabled){background:#b91c1c}.text-button{color:#1d4ed8;background:0 0;min-height:auto;padding:.35rem .45rem;font-size:.82rem}.text-button:hover:not(:disabled){color:#1e40af;background:#eff6ff}.danger-text{color:#b91c1c}.text-button.danger-text:hover:not(:disabled){color:#991b1b;background:#fef2f2}.form-error,.shell-error{color:#991b1b;background:#fee2e2;border-radius:.5rem;margin:0;padding:.75rem;font-size:.875rem}.state-card h1{margin-bottom:1rem}.state-card p,.content-state p,.empty-state p{color:#475569;margin-bottom:1rem}.spinner{border:3px solid #dbeafe;border-top-color:#2563eb;border-radius:999px;width:2rem;height:2rem;margin:0 auto 1.25rem;animation:.7s linear infinite spin}.admin-shell{align-self:flex-start;width:min(100%,78rem);overflow:hidden}.admin-header{border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;gap:2rem;padding:1.5rem clamp(1.5rem,4vw,2.5rem);display:flex}.brand-block h1{font-size:1.65rem}.account-controls,.account-summary{align-items:center;display:flex}.account-controls{gap:1rem}.account-summary{color:#334155;justify-content:flex-end;gap:.75rem;font-size:.875rem;font-weight:650}.role-badge,.status-badge{letter-spacing:.05em;text-transform:uppercase;border-radius:999px;align-items:center;font-size:.72rem;font-weight:800;display:inline-flex}.role-badge{color:#1e40af;background:#dbeafe;padding:.35rem .6rem}.applications-section{background:#f8fafc;padding:clamp(1.5rem,4vw,2.5rem)}.section-header{justify-content:space-between;align-items:flex-start;gap:2rem;margin-bottom:1.5rem;display:flex}.section-header p:last-child{color:#64748b;max-width:42rem;margin:0;line-height:1.55}.content-state,.empty-state{text-align:center;background:#fff;border:1px dashed #cbd5e1;border-radius:.875rem;padding:clamp(2.5rem,8vw,5rem) 1.5rem}.content-state h3,.empty-state h3{margin-bottom:.5rem}.empty-icon{color:#1d4ed8;background:#dbeafe;border-radius:.85rem;place-items:center;width:3rem;height:3rem;margin:0 auto 1rem;font-size:1.25rem;font-weight:850;display:grid}.table-wrap{background:#fff;border:1px solid #e2e8f0;border-radius:.875rem;overflow-x:auto}table{border-collapse:collapse;width:100%;min-width:68rem}th,td{text-align:left;vertical-align:middle;border-bottom:1px solid #e2e8f0;padding:.9rem 1rem}th{color:#475569;letter-spacing:.06em;text-transform:uppercase;background:#f8fafc;font-size:.72rem;font-weight:800}td{color:#334155;font-size:.875rem}tbody tr:last-child td{border-bottom:0}.application-name{color:#0f172a;font-weight:750}code{color:#334155;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.8rem}.status-badge{padding:.35rem .55rem}.status-badge.active{color:#166534;background:#dcfce7}.status-badge.disabled{color:#475569;background:#e2e8f0}.status-badge.inactive{color:#92400e;background:#fef3c7}.installation-header code{margin-top:.25rem;display:inline-block}.view-actions{justify-content:flex-end;align-items:center;gap:.75rem;display:flex}.installation-table{min-width:104rem}.detail-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin:0;display:grid}.detail-grid>div{background:#fff;border:1px solid #e2e8f0;border-radius:.75rem;min-width:0;padding:1rem}.detail-grid dt{color:#64748b;letter-spacing:.06em;text-transform:uppercase;margin-bottom:.45rem;font-size:.72rem;font-weight:800}.detail-grid dd{overflow-wrap:anywhere;color:#0f172a;min-height:1.5rem;margin:0;font-size:.9rem}.actions-heading{text-align:right}.row-actions{justify-content:flex-end;gap:.25rem;display:flex}.shell-error{margin:0 2.5rem 2.5rem}.modal-backdrop{z-index:10;background:#0f172a94;place-items:center;padding:1.5rem;display:grid;position:fixed;inset:0;overflow-y:auto}.modal-card{background:#fff;border-radius:1rem;width:min(100%,42rem);max-height:calc(100vh - 3rem);padding:clamp(1.25rem,4vw,2rem);overflow-y:auto;box-shadow:0 2rem 5rem #0f172a47}.confirmation-card{width:min(100%,30rem)}.confirmation-card>p:not(.eyebrow,.form-error){color:#475569;line-height:1.6}.modal-header,.form-actions{justify-content:space-between;align-items:center;gap:1rem;display:flex}.modal-header{margin-bottom:1.5rem}.icon-button{color:#475569;background:#f1f5f9;min-width:2.75rem;padding:.4rem;font-size:1.5rem;line-height:1}.icon-button:hover:not(:disabled){background:#e2e8f0}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.full-width{grid-column:1/-1}.form-actions{justify-content:flex-end;padding-top:.25rem}@keyframes spin{to{transform:rotate(360deg)}}@media (width<=720px){.page-shell,.admin-page{padding:1rem}.admin-header,.section-header,.account-controls{flex-direction:column;align-items:stretch}.admin-header,.section-header{gap:1.25rem}.account-summary{justify-content:space-between}.view-actions{flex-direction:column;align-items:stretch}.detail-grid,.form-grid{grid-template-columns:1fr}.full-width{grid-column:auto}.shell-error{margin:0 1.5rem 1.5rem}}@media (prefers-reduced-motion:reduce){.spinner{animation:none}}
