:root{color:#172033;background:#f4f7fb;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}#root{min-height:100vh}button,select,input,textarea{font:inherit}.login-page{min-height:100vh;display:grid;place-items:center;padding:32px;background:linear-gradient(135deg,rgba(29,78,216,.12),transparent 36%),#f4f7fb}.login-panel{width:min(460px,100%);border:1px solid #d9e2ef;border-radius:8px;background:#fff;padding:32px;box-shadow:0 18px 45px #1720331f}.login-panel h1,.page-header h1{margin:0;letter-spacing:0}.login-panel h1{margin-top:28px;font-size:30px;line-height:1.1}.login-panel p,.page-header p{color:#5b677a}.portal-shell{min-height:100vh;display:grid;grid-template-columns:260px minmax(0,1fr)}.sidebar{display:flex;flex-direction:column;gap:28px;min-height:100vh;padding:24px;border-right:1px solid #dce5f1;background:#fff}.brand-block{display:flex;align-items:center;gap:12px}.login-brand{margin-bottom:4px}.brand-mark{width:42px;height:42px;display:grid;place-items:center;border-radius:8px;background:#1d4ed8;color:#fff;font-weight:800}.brand-name{font-weight:800}.brand-subtitle,.account-label,.metric-label{color:#69758a;font-size:13px}.nav-list{display:grid;gap:6px}.nav-list a,.signout-link{color:#23304a;text-decoration:none}.nav-list a{padding:10px 12px;border-radius:6px}.nav-list a.active{background:#e8f0ff;color:#1d4ed8;font-weight:700}.account-block{margin-top:auto;display:grid;gap:6px;padding-top:18px;border-top:1px solid #e2e8f0}.account-name{overflow-wrap:anywhere;font-weight:700}.signout-link{color:#1d4ed8;font-weight:700}.main-panel{padding:28px;min-width:0}.reports-main{height:100vh;min-height:0;display:flex;flex-direction:column;gap:8px;padding:8px;overflow:hidden}.reports-shell{height:100vh;min-height:0;background:#f4f7fb}.reports-topbar{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:40px;padding:0 10px;border:1px solid #dce5f1;border-radius:8px;background:#fff}.reports-topbar-brand{font-weight:800}.reports-topbar-nav{display:flex;align-items:center;gap:6px}.reports-topbar-nav a{padding:6px 10px;border-radius:6px;color:#23304a;text-decoration:none;font-size:14px;font-weight:700}.reports-topbar-nav a.active{background:#e8f0ff;color:#1d4ed8}.reports-topbar-account{display:flex;align-items:center;gap:12px;min-width:0;color:#5b677a;font-size:13px}.reports-topbar-account span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.reports-outlet{flex:1 1 auto;min-height:0;display:flex}.page-stack{display:grid;gap:18px}.page-header{display:flex;align-items:flex-end;justify-content:space-between;gap:20px}.page-header h1{font-size:28px;line-height:1.15}.panel,.metric-card,.alert{border:1px solid #dce5f1;border-radius:8px;background:#fff}.panel,.alert{padding:18px}.muted-panel{color:#5b677a;font-size:14px}.alert.error{border-color:#fecaca;background:#fff1f2;color:#991b1b}.primary-button{width:100%;min-height:44px;border:0;border-radius:6px;background:#1d4ed8;color:#fff;font-weight:800;cursor:pointer}.primary-button.compact{width:auto;min-width:96px;padding:0 16px}.secondary-button,.link-button{border:1px solid #cbd5e1;border-radius:6px;background:#fff;color:#23304a;cursor:pointer;font-weight:700}.secondary-button{min-height:38px;padding:0 12px}.link-button{border:0;padding:6px 0;color:#1d4ed8}.link-button.danger{color:#b42318}.form-actions{display:flex;align-items:center;gap:10px}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.metric-card{display:grid;gap:8px;min-height:108px;padding:18px}.metric-value{overflow-wrap:anywhere;font-weight:800;line-height:1.25}.field-label{display:grid;gap:8px;color:#5b677a;font-size:13px;font-weight:700}.field-label select,.field-label input{min-width:180px;min-height:38px;border:1px solid #cbd5e1;border-radius:6px;padding:0 10px;background:#fff;color:#172033}.users-grid{display:grid;grid-template-columns:minmax(280px,360px) minmax(0,1fr);gap:16px;align-items:start}.user-form{display:grid;gap:14px}.users-table-panel{min-width:0;padding:0}.table-scroll{overflow-x:auto}.users-table{width:100%;border-collapse:collapse;font-size:14px}.users-table th,.users-table td{padding:14px;border-bottom:1px solid #e2e8f0;text-align:left;vertical-align:top}.users-table th{color:#5b677a;font-size:12px;text-transform:uppercase}.table-primary{font-weight:800}.table-secondary{color:#69758a;font-size:12px;overflow-wrap:anywhere}.table-actions{display:flex;gap:12px;white-space:nowrap}.support-strip{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.diagnostic-pill{max-width:min(560px,100%);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border:1px solid #fed7aa;border-radius:6px;background:#fff7ed;color:#9a3412;padding:8px 10px;font-size:13px;font-weight:700}.support-panel{display:grid;grid-template-columns:minmax(240px,1fr) auto auto;align-items:center;gap:10px;padding:10px;border:1px solid #dce5f1;border-radius:8px;background:#fff}.support-panel textarea{width:100%;min-height:54px;resize:vertical;border:1px solid #cbd5e1;border-radius:6px;padding:10px;color:#172033}.support-status{color:#047857;font-weight:800}.support-error{color:#991b1b;font-weight:800}.report-surface{position:relative;min-height:680px;border:1px solid #dce5f1;border-radius:8px;overflow:hidden;background:#fff}.report-container{width:100%;min-height:680px}.reports-page{height:100%;min-height:0;flex:1 1 auto;display:flex;flex-direction:column;gap:8px}.reports-page .page-header{flex:0 0 auto;justify-content:flex-end}.reports-page .report-surface{flex:1 1 auto;min-height:0}.reports-page .report-container{height:100%;min-height:0}.report-container iframe{width:100%!important;height:100%!important;border:0}.report-loading{position:absolute;top:0;right:0;bottom:0;left:0;z-index:2;display:grid;place-items:center;background:#ffffffc7;color:#5b677a;font-weight:700}@media(max-width:900px){.portal-shell{grid-template-columns:1fr}.reports-shell{height:100vh;min-height:0}.reports-topbar{flex-wrap:wrap;min-height:0;padding:8px}.reports-topbar-account{width:100%;justify-content:space-between}.sidebar{min-height:auto;border-right:0;border-bottom:1px solid #dce5f1}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.users-grid,.support-panel{grid-template-columns:1fr}.page-header{align-items:stretch;flex-direction:column}}@media(max-width:560px){.main-panel,.sidebar{padding:18px}.reports-main{padding:6px}.metric-grid{grid-template-columns:1fr}.report-surface,.report-container{min-height:560px}.reports-page .report-surface,.reports-page .report-container{min-height:0}}
