@import "https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap";
:root{--bg:#f8fafc;--bg-soft:#f1f5f9;--panel:#fff;--panel-muted:#f8fafc;--line:#e2e8f0;--line-strong:#cbd5e1;--text:#0f172a;--muted:#64748b;--muted-strong:#475569;--sidebar:#0f172a;--sidebar-soft:#1e293b;--sidebar-line:#ffffff14;--sidebar-text:#f8fafc;--sidebar-muted:#94a3b8;--accent:#14b8a6;--accent-soft:#14b8a624;--accent-strong:#0d9488;--danger:#e11d48;--warning:#d97706;--success:#059669;--shadow:0 1px 3px #0f172a0d,0 1px 2px #0f172a0a;--shadow-soft:0 1px 2px #0f172a0a;--shadow-hover:0 8px 24px #0f172a1a;--radius:16px;--font-body:"Inter",ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,sans-serif;--font-heading:"Plus Jakarta Sans","Inter",ui-sans-serif,system-ui,sans-serif}*{box-sizing:border-box}html,body{min-height:100%;margin:0;padding:0}body{color:var(--text);font-family:var(--font-body);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:radial-gradient(circle at 0 0,#14b8a614,#0000 20%),linear-gradient(#fbfdff 0%,#f1f5f9 100%);font-size:15px;line-height:1.6}h1,h2,h3,h4,h5,h6{font-family:var(--font-heading);letter-spacing:-.01em}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}input[type=checkbox],input[type=radio]{accent-color:var(--accent)}img{max-width:100%}.app-shell{background:0 0;grid-template-columns:264px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{background:linear-gradient(180deg,var(--sidebar)0%,var(--sidebar-soft)100%);border-right:1px solid var(--sidebar-line);height:100vh;color:var(--sidebar-text);flex-direction:column;gap:20px;padding:20px 16px 18px;display:flex;position:sticky;top:0}.brand-block{flex-direction:column;gap:14px;padding:6px 8px 8px;display:flex}.brand-logos{align-items:center;gap:10px;display:flex}.brand-logo{width:auto;height:34px}.brand-logo-light{display:block}.brand-logo-dark{display:none}.brand-copy{flex-direction:column;gap:6px;display:flex}.brand-eyebrow,.page-eyebrow,.topbar-eyebrow,.public-state-eyebrow,.sidebar-help-eyebrow{color:#0d9488;letter-spacing:.16em;text-transform:uppercase;margin:0;font-size:.72rem;font-weight:700}.brand-eyebrow,.sidebar-help-eyebrow{color:#2dd4bf}.brand-meta-row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.brand-meta-row h2{color:var(--sidebar-text);margin:0;font-size:1.05rem;font-weight:650}.version-badge{color:var(--sidebar-text);background:#ffffff14;border-radius:999px;align-items:center;padding:4px 8px;font-size:.72rem;font-weight:600;display:inline-flex}.sidebar-nav{flex-direction:column;flex:1;gap:6px;padding:2px;display:flex;overflow-y:auto}.nav-link{color:var(--sidebar-muted);border-left:3px solid #0000;border-radius:14px;align-items:center;gap:12px;padding:12px 14px 12px 12px;transition:background-color .18s,color .18s,transform .18s;display:flex}.nav-link:hover{color:var(--sidebar-text);background:#ffffff0a}.nav-link-active{border-left-color:var(--accent);color:#fff;background:#14b8a629}.nav-link-active .nav-link-icon{color:var(--accent)}.nav-link-chevron{color:var(--accent);margin-left:auto}.nav-link-icon{flex:none;justify-content:center;align-items:center;width:18px;height:18px;display:inline-flex}.nav-link-copy{font-size:.95rem;font-weight:500}.sidebar-footer{padding:0 2px}.sidebar-help-card{background:#ffffff0a;border:1px solid #ffffff0f;border-radius:18px;flex-direction:column;gap:6px;padding:14px;display:flex;box-shadow:inset 0 1px #ffffff0a}.sidebar-help-card strong{color:var(--sidebar-text);font-size:.95rem;font-weight:650}.sidebar-help-card span{color:var(--sidebar-muted);font-size:.84rem;line-height:1.4}.app-main{min-width:0}.topbar{justify-content:space-between;align-items:flex-start;gap:20px;padding:24px 28px 14px;display:flex}.topbar-copy h1,.page-header h1,.public-auth-header h1,.public-content-card h1,.public-state-card h1,.surface-state h1,.surface-state h2{margin:0}.topbar-copy h1,.page-header h1{color:var(--text);font-size:1.65rem;font-weight:700;line-height:1.2}.topbar-description,.page-header p,.metric-help,.auth-copy,.surface-state p,.public-auth-header p,.public-content-description,.public-state-card p,.section-copy{color:var(--muted);margin:0;line-height:1.6}.topbar-actions{align-items:center;gap:12px;display:flex}.icon-button{border:1px solid var(--line);width:42px;height:42px;color:var(--muted-strong);box-shadow:var(--shadow-soft);cursor:pointer;background:#ffffffb8;border-radius:12px;justify-content:center;align-items:center;display:inline-flex}.user-pill{border:1px solid var(--line);min-width:220px;box-shadow:var(--shadow-soft);background:#ffffffc7;border-radius:14px;flex-direction:column;gap:2px;padding:10px 14px;display:flex}.user-pill strong{font-size:.95rem;font-weight:650}.user-pill span{color:var(--muted);font-size:.84rem}.content-area{padding:6px 28px 32px}.page-stack{flex-direction:column;gap:18px;display:flex}.page-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.page-header-main{flex-direction:column;gap:8px;min-width:0;display:flex}.page-header-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.metrics-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px;display:grid}.metric-card,.panel,.surface-state,.auth-card,.public-content-card,.public-state-card{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.metric-card,.panel{padding:20px}.metric-card{transition:box-shadow .2s,transform .2s,border-color .2s}.metric-card:hover{box-shadow:var(--shadow-hover);border-color:var(--line-strong);transform:translateY(-2px)}.metric-value{font-family:var(--font-heading)}.metric-label{color:var(--muted);text-transform:uppercase;letter-spacing:.08em;margin:0 0 8px;font-size:.84rem;font-weight:600}.metric-value{color:var(--text);margin:0;font-size:1.8rem;font-weight:700;line-height:1.1}.metric-help{margin-top:8px;font-size:.92rem}.section-grid{grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:18px;display:grid}.panel h2,.panel h3{margin-top:0}.section-title{margin:0;font-size:1.05rem;line-height:1.3}.stack-sm{gap:4px;display:grid}.stack-sm strong,.stack-sm span{min-width:0}.table-wrap{background:#ffffffd1;border:1px solid #e9eef5;border-radius:18px;width:100%;overflow-x:auto}.data-table{border-collapse:collapse;width:100%;min-width:920px}.data-table th,.data-table td{text-align:left;vertical-align:top;word-break:break-word;border-bottom:1px solid #e9eef5;padding:14px 12px;line-height:1.45}.data-table th{color:var(--muted);letter-spacing:.12em;text-transform:uppercase;white-space:nowrap;font-size:.78rem;font-weight:700}.data-table td{color:var(--text);font-size:.95rem}.data-table tbody tr:hover{background:#14b8a60d}.text-link{color:var(--accent-strong);font-weight:600}.text-link:hover{color:var(--accent)}.surface-state{text-align:center;max-width:780px;margin:56px auto;padding:28px}.surface-state-error{border-color:#d9415c33}.surface-spinner{border:3px solid #14b8a629;border-top-color:var(--accent);border-radius:999px;width:42px;height:42px;margin:0 auto 16px;animation:.8s linear infinite spin}.button{cursor:pointer;border:0;border-radius:10px;justify-content:center;align-items:center;gap:8px;padding:11px 16px;font-weight:600;transition:transform .18s,box-shadow .18s,background-color .18s;display:inline-flex}.button:hover{transform:translateY(-1px)}.button:disabled{opacity:.7;cursor:wait;transform:none}.button-primary{color:#fff;background:linear-gradient(135deg,#14b8a6,#0d9488);box-shadow:0 8px 18px #14b8a647}.button-secondary{color:var(--text);border:1px solid var(--line);background:#fff}.button-danger{color:var(--danger);background:#d9415c1a;border:1px solid #d9415c29}.button-block{width:100%}.auth-form{flex-direction:column;gap:16px;display:flex}.input,.textarea{border:1px solid var(--line);width:100%;color:var(--text);background:#fff;border-radius:10px;padding:12px 14px;box-shadow:inset 0 1px #ffffffbf}.input::-moz-placeholder{color:#93a0b6}.textarea::-moz-placeholder{color:#93a0b6}.input::placeholder,.textarea::placeholder{color:#93a0b6}.textarea{resize:vertical;min-height:120px}.auth-inline-row,.toolbar-row,.action-row,.inline-actions{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.auth-inline-row{justify-content:space-between}.toolbar-filters{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;width:100%;display:grid}.toolbar-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.checkbox-row{color:var(--muted-strong);align-items:center;gap:10px;display:inline-flex}.form-error{color:var(--danger);margin:0;font-size:.92rem}.pill{border:1px solid var(--line);color:var(--muted-strong);background:#ffffffe0;border-radius:999px;align-items:center;gap:6px;padding:8px 12px;font-size:.86rem;font-weight:600;line-height:1;display:inline-flex}.list-rows{flex-direction:column;gap:10px;display:flex}.list-row{border-bottom:1px solid #edf1f7;justify-content:space-between;gap:16px;padding:12px 0;display:flex}.list-row:last-child{border-bottom:0}.affiliation-row-side{text-align:right;align-items:flex-end;margin-left:auto}.panel-stack{flex-direction:column;gap:16px;display:flex}.field-stack{flex-direction:column;gap:8px;min-width:0;display:flex}.field-stack span,.field-stack label{color:var(--muted-strong);font-size:.9rem;font-weight:500}.field-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;display:grid}.field-grid .field-span-full{grid-column:1/-1}.field-help{color:var(--muted);margin:0;font-size:.88rem}.inline-form{background:var(--panel-muted);border:1px solid var(--line);border-radius:18px;flex-direction:column;gap:16px;padding:20px;display:flex}.inline-form-header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.inline-form-header h3{margin:0}.inline-form-header p{color:var(--muted);margin:6px 0 0}.hint-text{color:var(--muted);margin:0}.account-network-grid{grid-template-columns:repeat(auto-fit,minmax(360px,1fr));gap:18px;display:grid}.account-network-stats{flex-wrap:wrap;gap:10px;display:flex}.account-network-columns{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;display:grid}.account-network-box{border:1px solid var(--line);background:var(--panel-muted);border-radius:16px;flex-direction:column;gap:12px;padding:16px;display:flex}.account-network-box h3{margin:0;font-size:.95rem;line-height:1.3}.account-network-list{flex-direction:column;gap:10px;display:flex}.account-network-item{border-bottom:1px solid #e7edf6;flex-direction:column;gap:4px;padding-bottom:10px;display:flex}.account-network-item:last-child{border-bottom:0;padding-bottom:0}.account-network-item strong{font-size:.95rem}.account-network-item span{color:var(--muted);font-size:.88rem}.checkbox-list{flex-direction:column;gap:10px;display:flex}.checkbox-option{background:var(--panel);border:1px solid var(--line);border-radius:14px;align-items:flex-start;gap:12px;padding:14px 16px;display:flex}.checkbox-copy{flex-direction:column;gap:4px;display:flex}.field-error-list{color:var(--danger);margin:0;padding-left:18px}.detail-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin:0;display:grid}.detail-grid-item{background:var(--panel-muted);border:1px solid var(--line);border-radius:14px;flex-direction:column;gap:6px;padding:16px;display:flex}.detail-grid-item dt{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;font-size:.8rem;font-weight:700}.detail-grid-item dd{color:var(--text);margin:0;font-size:.98rem;line-height:1.5}.public-auth-shell,.public-state,.public-content-shell{background:radial-gradient(circle at 0 0,#14b8a614,#0000 22%),linear-gradient(#fbfdff 0%,#f1f5f9 100%);min-height:100vh}.public-auth-grid{background:var(--panel);grid-template-columns:40fr 60fr;min-height:100vh;display:grid}.public-auth-aside{background:linear-gradient(135deg,#0f172a 0%,#1e293b 60%,#0d9488 130%);min-height:100vh;display:flex;position:relative;overflow:hidden}.public-auth-aside:after{content:"";pointer-events:none;background:radial-gradient(120% 80% at 12% 8%,#14b8a62e,#0000 55%);position:absolute;inset:0}.public-auth-aside-content{z-index:1;color:#fff;flex-direction:column;justify-content:space-between;gap:40px;width:100%;padding:40px 44px;display:flex;position:relative}.auth-brand-row{align-items:center;gap:12px;display:flex}.auth-logo-chip{background:linear-gradient(135deg,#14b8a6,#0d9488);border-radius:14px;justify-content:center;align-items:center;width:46px;height:46px;display:inline-flex;box-shadow:0 10px 24px #14b8a659}.auth-logo-chip img{width:26px;height:26px}.auth-brand-name{font-family:var(--font-heading);letter-spacing:-.01em;font-size:1.3rem;font-weight:800}.public-auth-logo{width:auto;height:48px}.public-auth-aside-copy{flex-direction:column;gap:16px;max-width:400px;display:flex}.public-auth-aside-copy h2{margin:0;font-size:2.4rem;font-weight:700;line-height:1.14}.public-auth-aside-copy h2 .accent{color:#2dd4bf}.public-auth-aside-copy>p{color:#94a3b8;margin:0;font-size:1.02rem;line-height:1.55}.auth-feature-list{flex-direction:column;gap:14px;margin:4px 0 0;padding:0;list-style:none;display:flex}.auth-feature{color:#cbd5e1;align-items:center;gap:12px;font-size:.96rem;display:flex}.auth-feature svg{color:#14b8a6;flex:none}.public-auth-content{flex-direction:column;justify-content:center;min-height:100vh;padding:40px 48px;display:flex}.public-auth-card{width:100%;max-width:480px;margin:0 auto}.public-auth-header{flex-direction:column;gap:10px;margin-bottom:28px;display:flex}.public-auth-header h1{font-size:2rem;font-weight:700;line-height:1.15}.public-auth-footer{width:100%;max-width:480px;color:var(--muted);justify-content:space-between;gap:16px;margin:28px auto 0;font-size:.88rem;display:flex}.public-state{justify-content:center;align-items:center;padding:32px;display:flex}.public-state-card{text-align:center;flex-direction:column;align-items:center;gap:14px;width:min(100%,760px);padding:36px 32px;display:flex}.public-state-asset{-o-object-fit:contain;object-fit:contain;width:240px;height:240px}.public-state-actions{flex-wrap:wrap;justify-content:center;gap:12px;padding-top:8px;display:flex}.public-state-error .public-state-card{border-color:#d9415c2e}.public-state-warning .public-state-card{border-color:#c07c1633}.public-content-shell{padding:22px}.public-content-topbar{justify-content:space-between;align-items:center;max-width:980px;margin:0 auto 18px;display:flex}.public-content-brand{align-items:center;display:inline-flex}.public-content-card{width:min(100%,980px);margin:0 auto;padding:28px}.public-content-body{flex-direction:column;gap:18px;margin-top:20px;display:flex}@keyframes spin{to{transform:rotate(360deg)}}@media (max-width:1080px){.app-shell{grid-template-columns:1fr}.sidebar{height:auto;min-height:0;position:relative}.topbar{flex-direction:column}.topbar-actions{flex-wrap:wrap;width:100%}.user-pill{flex:1;min-width:0}.public-auth-grid{grid-template-columns:1fr}.public-auth-aside{display:none}.public-auth-content{padding:28px 20px}}@media (max-width:720px){.content-area,.topbar{padding-left:18px;padding-right:18px}.content-area{padding-bottom:24px}.metric-card,.panel,.public-content-card,.public-state-card,.public-state{padding:18px}.public-state-asset{width:180px;height:180px}.public-content-shell{padding:14px}.public-auth-footer,.auth-inline-row,.topbar-actions,.page-header{flex-direction:column;align-items:stretch}.affiliation-row-side{text-align:left;align-items:flex-start;margin-left:0}}
