:root { --focus: #f05a24; }
body { font-size: 15px; line-height: 1.5; }
button, input, select, textarea { font-size: 15px; min-height: 44px; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible { outline: 3px solid var(--focus) !important; outline-offset: 2px; }
button:disabled, input:disabled, select:disabled, textarea:disabled { opacity: .44; cursor: not-allowed; }
.topbar { min-height: 68px; }
.topbar h1 { font-size: 26px; }
.topbar span { font-size: 13px; }
.icon-button, .row-actions button, .company-user button { width: 44px !important; height: 44px !important; min-height: 44px; }
.icon-button svg, .row-actions svg, .company-user svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rail nav button { min-height: 50px; font-size: 14px; }
.rail nav i { font-size: 11px; }
.rail-foot, .signal, .text-button { font-size: 12px; }
.toolbar { min-height: 66px; }
.search { height: 46px; font-size: 15px; }
.primary, .secondary, .danger { min-height: 44px; font-size: 13px; }
.data-head { min-height: 48px; }
.data-head b, .data-head span, th { font-size: 12px; }
td { font-size: 14px; }
.main-cell b { font-size: 15px; }
.main-cell span, .mono, .company-user span { font-size: 12px; }
.badge { font-size: 12px; padding: 6px 9px; }
.metric span { font-size: 12px; }
.metric b { font-size: 34px; }
.health-line { font-size: 14px; }
.dialog header { min-height: 60px; }
.dialog h2 { font-size: 22px; }
.fields label, .company-user-form label, .user-role { font-size: 12px; }
.fields input, .fields select, .fields textarea, .company-user-form input, .company-user-form select, .user-role select { min-height: 46px; font-size: 15px; }
.login-dialog { width: min(460px, 92vw); }
.login-dialog label { font-size: 13px; }
.login-dialog input { height: 52px; font-size: 17px; }
.login-dialog .primary { height: 50px; font-size: 14px; }
.company-user { min-height: 72px; grid-template-columns: minmax(180px, 1fr) minmax(170px, .7fr) 44px 44px; gap: 8px; }
.company-user b { font-size: 15px; }
.company-user-form { grid-template-columns: 1.3fr .9fr auto; }
.dialog-message { grid-column: 1 / -1; display: block; min-height: 24px; margin: 2px 0 0; padding: 10px 12px; border-left: 3px solid #74776f; background: #ecebe5; color: #4f524b; font-size: 14px; }
.dialog-message:empty { display: none; }
.dialog-message.success { border-color: #17804a; background: #e1f3e7; color: #126238; }
.dialog-message.error { border-color: #c53a31; background: #f8e4e1; color: #922b24; }
.user-role select { width: 100%; border: 1px solid var(--line); background: #fff; padding: 0 10px; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.toast { font-size: 14px; min-height: 44px; }
.close { width: 44px !important; height: 44px !important; font-size: 24px !important; }
@media (max-width: 760px) { .company-user { grid-template-columns: 1fr 44px 44px; } .company-user > div { grid-column: 1 / -1; } .user-role { min-width: 0; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; } }
