:root {
    --navy: #12304a;
    --navy-2: #1c4768;
    --teal: #168b8c;
    --teal-dark: #0e6f70;
    --teal-soft: #e8f7f5;
    --blue-soft: #edf4f8;
    --ink: #1d2935;
    --muted: #657483;
    --line: #d9e2e8;
    --surface: #ffffff;
    --background: #f4f7f9;
    --danger: #b42318;
    --danger-soft: #fff0ee;
    --success: #166534;
    --success-soft: #ecfdf3;
    --shadow: 0 12px 34px rgba(18, 48, 74, .08);
    --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--background);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
}

a { color: var(--teal-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
code { font-family: "SFMono-Regular", Consolas, monospace; }

.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.narrow { width: min(720px, calc(100% - 40px)); }
.page-space { padding-block: 38px 68px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.app-header {
    position: sticky;
    top: 0;
    z-index: 50;
    color: #fff;
    background: rgba(18, 48, 74, .97);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    backdrop-filter: blur(14px);
}
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; }
.brand:hover { text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--teal); color: #fff; font-weight: 800; letter-spacing: -.04em; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 15px; letter-spacing: .01em; }
.brand small { margin-top: 1px; color: #b8c8d3; font-size: 11px; }
.main-nav { display: flex; align-items: center; gap: 10px; }
.main-nav > a:not(.button) { padding: 9px 12px; color: #d9e6ec; border-radius: 9px; font-size: 14px; font-weight: 650; }
.main-nav > a.active { color: #fff; background: rgba(255,255,255,.1); }
.user-chip { display: flex; align-items: flex-end; flex-direction: column; line-height: 1.15; }
.user-chip span { max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-chip small { margin-top: 2px; color: #9fc0cd; font-size: 10px; }
.nav-logout { margin: 0; }
.nav-logout button { padding: 8px 4px; color: #d9e6ec; background: none; border: 0; font-size: 13px; font-weight: 700; }
.nav-logout button:hover { color: #fff; text-decoration: underline; }

.app-footer { color: var(--muted); font-size: 13px; border-top: 1px solid var(--line); background: #fff; }
.app-footer .container { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.button {
    display: inline-flex;
    min-height: 42px;
    padding: 9px 16px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-weight: 750;
    line-height: 1.2;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.button:hover { text-decoration: none; transform: translateY(-1px); }
.button-primary { color: #fff; background: var(--teal); box-shadow: 0 6px 16px rgba(22, 139, 140, .2); }
.button-primary:hover { background: var(--teal-dark); }
.button-secondary { color: var(--navy); background: #fff; border-color: var(--line); }
.button-secondary:hover { background: var(--blue-soft); }
.button-teal-soft { color: var(--teal-dark); background: var(--teal-soft); border-color: #a9dcd8; }
.button-teal-soft:hover { background: #d8f0ed; }
.button-danger-soft { color: var(--danger); background: var(--danger-soft); border-color: #f1c5bf; }
.button-danger-soft:hover { background: #ffe3df; }
.button-success-soft { color: var(--success); background: var(--success-soft); border-color: #b7ebc6; }
.button-success-soft:hover { background: #ddf8e6; }
.button-small { min-height: 36px; padding: 8px 13px; font-size: 13px; }
.button-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.eyebrow { display: block; margin-bottom: 6px; color: var(--teal-dark); font-size: 12px; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 28px; }
.page-heading h1 { margin: 0; color: var(--navy); font-size: clamp(30px, 4vw, 42px); line-height: 1.1; letter-spacing: -.035em; }
.page-heading p { margin: 9px 0 0; color: var(--muted); }
.form-title-row { align-items: center; }

.card, .hero-card, .form-section, .stat-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.card { padding: 26px; }
.hero-card { position: relative; padding: 34px; margin-bottom: 22px; overflow: hidden; }
.hero-card::after { content: ""; position: absolute; width: 160px; height: 160px; top: -70px; right: -50px; border-radius: 50%; background: var(--teal-soft); }
.hero-card h1 { position: relative; margin: 0; color: var(--navy); font-size: 34px; letter-spacing: -.03em; }
.hero-card p { position: relative; max-width: 620px; margin-bottom: 0; color: var(--muted); }

.alert { margin-block: 20px; padding: 14px 17px; border: 1px solid; border-radius: 11px; font-size: 14px; }
.alert-success { color: var(--success); background: var(--success-soft); border-color: #b7ebc6; }
.alert-danger { color: var(--danger); background: var(--danger-soft); border-color: #f4c5bf; }
.alert ul { margin: 8px 0 0; padding-left: 20px; }

.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 20px; }
.stat-card { padding: 20px 22px; box-shadow: none; }
.stat-card span { display: block; margin-bottom: 8px; color: var(--muted); font-size: 13px; font-weight: 650; }
.stat-card strong { color: var(--navy); font-size: 30px; line-height: 1; letter-spacing: -.04em; }
.stat-card .stat-date { font-size: 20px; letter-spacing: -.02em; }

.table-card { padding: 0; overflow: hidden; }
.table-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px; border-bottom: 1px solid var(--line); }
.search-form { display: flex; align-items: center; gap: 9px; flex: 1; }
.search-form input { width: min(390px, 100%); }
.text-link { padding: 8px; font-size: 14px; font-weight: 650; }
.responsive-table { width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
thead th { color: #526271; background: #f8fafb; font-size: 12px; font-weight: 800; letter-spacing: .045em; text-transform: uppercase; white-space: nowrap; }
tbody td { font-size: 14px; }
tbody tr:hover { background: #fbfdfd; }
.row-actions { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.row-actions a, .link-button { font-size: 13px; font-weight: 750; }
.row-actions form { display: inline; }
.link-button { padding: 0; color: var(--teal-dark); background: none; border: 0; }
.link-button.danger { color: var(--danger); }
.pagination { display: flex; gap: 6px; padding: 16px 18px; border-top: 1px solid var(--line); }
.pagination a { display: grid; place-items: center; min-width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 8px; color: var(--navy); font-size: 13px; font-weight: 700; }
.pagination a.active { color: #fff; background: var(--teal); border-color: var(--teal); }

.empty-state { padding: 56px 24px; text-align: center; }
.empty-state.compact { box-shadow: none; border: 0; }
.empty-state h2 { margin: 0 0 7px; color: var(--navy); }
.empty-state p { max-width: 560px; margin: 0 auto 18px; color: var(--muted); }
.empty-icon { display: grid; place-items: center; width: 48px; height: 48px; margin: 0 auto 14px; border-radius: 50%; color: #fff; background: var(--teal); font-size: 24px; font-weight: 800; }
.empty-state details { max-width: 600px; margin: 24px auto 0; color: var(--muted); text-align: left; }
.empty-state details code { display: block; margin-top: 8px; padding: 12px; border-radius: 8px; background: var(--blue-soft); overflow-wrap: anywhere; }

.definition-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 20px 0; }
.definition-list div { padding: 13px; border-radius: 10px; background: var(--blue-soft); }
.definition-list dt { color: var(--muted); font-size: 12px; }
.definition-list dd { margin: 3px 0 0; color: var(--navy); font-weight: 750; }

.auth-container { width: min(560px, calc(100% - 40px)); }
.auth-card { padding: 34px; }
.auth-card h1, .card h2 { margin: 0 0 8px; color: var(--navy); }
.auth-card > p { margin: 0 0 24px; color: var(--muted); }
.auth-form { display: grid; gap: 16px; }
.auth-form .button { justify-self: start; margin-top: 4px; }
.auth-note { margin: 20px 0 0; color: var(--muted); font-size: 13px; }

.user-page-heading { align-items: center; }
.user-counts { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.user-counts span { min-width: 118px; padding: 10px 13px; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 11px; box-shadow: 0 6px 18px rgba(18, 48, 74, .04); font-size: 12px; }
.user-counts strong { display: block; color: var(--navy); font-size: 19px; line-height: 1.1; }
.admin-layout { display: grid; grid-template-columns: minmax(300px, 360px) minmax(0, 1fr); gap: 20px; align-items: start; }
.create-user-card { position: sticky; top: 96px; }
.panel-title-row { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.panel-title-row h2 { margin-bottom: 3px; }
.panel-title-row p { margin: 0; color: var(--muted); font-size: 13px; }
.panel-icon { display: grid; place-items: center; flex: 0 0 auto; width: 38px; height: 38px; border-radius: 11px; color: #fff; background: var(--teal); font-size: 21px; font-weight: 750; }
.panel-icon.users-icon { color: var(--navy); background: var(--blue-soft); font-size: 14px; }
.create-account-button { width: 100%; }
.form-security-note { margin: 18px 0 0; padding: 12px; color: var(--muted); background: var(--blue-soft); border-radius: 9px; font-size: 12px; }
.user-list-card { min-width: 0; }
.user-list { display: grid; gap: 14px; }
.user-item { padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 7px 20px rgba(18, 48, 74, .04); }
.user-summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.user-profile { display: flex; align-items: center; gap: 12px; min-width: 0; }
.user-avatar { display: grid; place-items: center; flex: 0 0 auto; width: 44px; height: 44px; border-radius: 13px; color: #fff; background: var(--navy-2); font-size: 12px; font-weight: 850; letter-spacing: .02em; }
.user-avatar.super_admin { background: linear-gradient(135deg, var(--navy), #315f82); }
.user-avatar.admin { background: linear-gradient(135deg, var(--teal-dark), var(--teal)); }
.user-avatar.data_entry { color: #24536a; background: #dbeef5; }
.user-avatar.viewer { color: #566370; background: #e8edf0; }
.user-identity { min-width: 0; }
.user-identity strong, .user-identity span, .user-identity a { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-identity strong { color: var(--navy); font-size: 15px; }
.user-identity span, .user-identity a { max-width: 320px; margin-top: 2px; color: var(--muted); font-size: 12px; }
.user-identity a:hover { color: var(--teal-dark); }
.user-badges { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.role-badge, .status-badge { display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border-radius: 999px; font-size: 11px; font-weight: 800; white-space: nowrap; }
.role-badge { color: var(--navy); background: var(--blue-soft); }
.status-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-badge.active { color: var(--success); background: var(--success-soft); }
.status-badge.inactive { color: var(--danger); background: var(--danger-soft); }
.user-meta { display: flex; gap: 24px; margin: 15px 0 0 56px; }
.user-meta span { color: var(--muted); font-size: 11px; }
.user-meta strong { display: block; margin-top: 1px; color: #3d4e5b; font-size: 12px; }
.account-controls { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 10px; margin-top: 17px; padding-top: 17px; border-top: 1px solid var(--line); }
.account-control { min-width: 0; padding: 13px; border: 1px solid #e1e9ed; border-radius: 11px; background: #f8fafb; }
.status-control, .role-control { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.control-label { display: block; color: var(--navy); font-size: 12px; font-weight: 800; }
.account-control small { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; line-height: 1.35; }
.account-control form { margin: 0; }
.role-form, .reset-form { display: flex; align-items: center; gap: 7px; }
.role-form select { width: 132px; min-height: 36px; }
.password-control { grid-column: 1 / -1; padding: 0; overflow: hidden; }
.password-control summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px; cursor: pointer; list-style: none; }
.password-control summary::-webkit-details-marker { display: none; }
.password-control summary:hover { background: var(--blue-soft); }
.summary-action { flex: 0 0 auto; padding: 5px 9px; color: var(--teal-dark); background: var(--teal-soft); border-radius: 7px; font-size: 11px; font-weight: 800; }
.password-control[open] .summary-action { color: var(--muted); background: #e9eef1; }
.password-control[open] .summary-action::after { content: " form"; }
.reset-form { padding: 13px; border-top: 1px solid var(--line); background: #fff; }
.reset-form input { min-width: 0; min-height: 36px; }
.protected-account-note { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 17px; padding: 12px 14px; color: #4d5d69; background: var(--blue-soft); border-radius: 10px; }
.protected-account-note span { font-size: 12px; font-weight: 800; }
.protected-account-note small { color: var(--muted); font-size: 11px; text-align: right; }

input, select, textarea {
    width: 100%;
    color: var(--ink);
    background: #fff;
    border: 1px solid #c9d5dc;
    border-radius: 9px;
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}
input, select { min-height: 42px; padding: 9px 11px; }
textarea { padding: 10px 11px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(22, 139, 140, .13); }
input[type="radio"], input[type="checkbox"] { width: 17px; height: 17px; min-height: auto; padding: 0; accent-color: var(--teal); flex: 0 0 auto; }

.form-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; align-items: start; }
.section-nav { position: sticky; top: 96px; padding: 15px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 8px 24px rgba(18, 48, 74, .05); }
.section-nav > span { display: block; padding: 5px 9px 10px; color: var(--muted); font-size: 11px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.section-nav a { display: block; padding: 9px; color: #526271; border-radius: 8px; font-size: 13px; font-weight: 650; }
.section-nav a:hover { color: var(--navy); background: var(--blue-soft); text-decoration: none; }
.section-nav a.active { color: var(--teal-dark); background: var(--teal-soft); }
.clinical-form fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.form-section { scroll-margin-top: 94px; padding: 27px; margin-bottom: 20px; box-shadow: 0 8px 28px rgba(18, 48, 74, .055); }
.section-heading { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 24px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.section-heading > span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; color: var(--teal-dark); background: var(--teal-soft); font-size: 12px; font-weight: 850; }
.section-heading h2 { margin: 0; color: var(--navy); font-size: 23px; line-height: 1.2; letter-spacing: -.02em; }
.section-heading p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.subsection { margin-top: 24px; padding-top: 24px; border-top: 1px dashed #cbd8df; }
.subsection:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.subsection-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; margin-bottom: 16px; }
.subsection-heading h3 { margin: 0; color: var(--navy); font-size: 18px; }
.subsection-heading span { color: var(--muted); font-size: 12px; }

.field-grid { display: grid; gap: 18px; }
.field-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.field.span-2 { grid-column: span 2; }
.field.span-3 { grid-column: span 3; }
.field { display: block; min-width: 0; }
.field > span, .inline-other > span { display: block; margin-bottom: 7px; color: #3e4e5b; font-size: 13px; font-weight: 750; }
.question-stack { display: grid; gap: 16px; }
.question { padding: 15px 16px; border: 1px solid #e2e9ed; border-radius: 11px; background: #fbfcfd; }
.question-label { display: block; margin-bottom: 10px; color: var(--navy); font-size: 13px; font-weight: 800; }
.choice-grid { display: flex; gap: 9px; flex-wrap: wrap; }
.choice { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 8px 11px; border: 1px solid #d5e0e5; border-radius: 9px; background: #fff; color: #394a58; font-size: 13px; font-weight: 650; cursor: pointer; }
.choice:has(input:checked) { color: var(--teal-dark); background: var(--teal-soft); border-color: #85c9c5; }
.inline-other { display: block; max-width: 500px; margin-top: 12px; }
.top-gap { margin-top: 20px; }

.input-table-wrap { margin-top: 18px; border: 1px solid var(--line); border-radius: 11px; }
.input-table th, .input-table td { padding: 10px; }
.input-table tbody th { min-width: 210px; color: #40515f; background: #fbfcfd; font-size: 13px; }
.input-table input { min-width: 116px; min-height: 38px; }
.wide-table .input-table { min-width: 1050px; }
.wide-table .input-table tbody th { min-width: 180px; }
.wide-table .input-table input { min-width: 92px; }

fieldset:disabled input, fieldset:disabled select, fieldset:disabled textarea { color: var(--ink); opacity: 1; -webkit-text-fill-color: var(--ink); background: #f8fafb; }
fieldset:disabled .choice { cursor: default; }
fieldset:disabled .choice:not(:has(input:checked)) { opacity: .48; }
fieldset:disabled .choice:has(input:checked) { opacity: 1; }
.form-actions { position: sticky; bottom: 16px; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 18px; border: 1px solid #cfe0e4; border-radius: 14px; color: var(--navy); background: rgba(255, 255, 255, .96); box-shadow: 0 12px 32px rgba(18, 48, 74, .16); backdrop-filter: blur(10px); }
.form-actions strong, .form-actions span { display: block; }
.form-actions strong { font-size: 14px; }
.form-actions span { color: var(--muted); font-size: 12px; }

@media (max-width: 960px) {
    .form-layout { grid-template-columns: 1fr; }
    .section-nav { position: static; display: flex; overflow-x: auto; gap: 4px; }
    .section-nav > span { display: none; }
    .section-nav a { white-space: nowrap; }
    .field-grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .field.span-3 { grid-column: span 2; }
    .admin-layout { grid-template-columns: 1fr; }
    .create-user-card { position: static; }
}

@media (max-width: 700px) {
    .container, .narrow { width: min(100% - 24px, 1180px); }
    .header-inner { min-height: 64px; gap: 10px; }
    .brand strong, .brand small { display: none; }
    .main-nav { min-width: 0; overflow-x: auto; gap: 5px; }
    .main-nav > a:not(.button) { display: inline-flex; padding: 8px; font-size: 12px; white-space: nowrap; }
    .main-nav .button-small { padding-inline: 10px; white-space: nowrap; }
    .user-chip span { max-width: 82px; }
    .user-chip small { display: none; }
    .nav-logout button { white-space: nowrap; font-size: 12px; }
    .page-space { padding-block: 26px 50px; }
    .page-heading { align-items: stretch; flex-direction: column; gap: 18px; }
    .page-heading .button { align-self: flex-start; }
    .page-heading h1 { font-size: 31px; }
    .stats-grid { grid-template-columns: 1fr; }
    .table-toolbar, .search-form { align-items: stretch; flex-direction: column; }
    .search-form input { width: 100%; }
    .field-grid.three { grid-template-columns: 1fr; }
    .field.span-2, .field.span-3 { grid-column: span 1; }
    .form-section { padding: 19px 16px; }
    .section-heading h2 { font-size: 20px; }
    .subsection-heading { align-items: flex-start; flex-direction: column; gap: 2px; }
    .choice { width: 100%; }
    .form-actions { align-items: stretch; flex-direction: column; bottom: 8px; }
    .form-actions .button-row, .form-actions .button { width: 100%; }
    .definition-list { grid-template-columns: 1fr; }
    .auth-container { width: min(100% - 24px, 560px); }
    .auth-card { padding: 24px 20px; }
    .user-counts { width: 100%; }
    .user-counts span { flex: 1; }
    .user-summary, .status-control, .role-control, .reset-form, .role-form, .protected-account-note { align-items: stretch; flex-direction: column; }
    .user-badges { justify-content: flex-start; }
    .user-meta { margin-left: 0; }
    .account-controls { grid-template-columns: 1fr; }
    .password-control { grid-column: auto; }
    .reset-form input, .role-form select, .account-control .button { width: 100%; }
    .protected-account-note small { text-align: left; }
    .app-footer .container { align-items: flex-start; flex-direction: column; justify-content: center; gap: 2px; }
}

@media print {
    @page { size: A4 portrait; margin: 12mm; }
    body { color: #000; background: #fff; font-size: 10pt; }
    .no-print, .app-header, .app-footer { display: none !important; }
    .container { width: 100%; margin: 0; }
    .page-space { padding: 0; }
    .page-heading { margin-bottom: 14px; }
    .page-heading h1 { color: #000; font-size: 23pt; }
    .form-layout { display: block; }
    .form-section { break-inside: auto; margin: 0 0 9mm; padding: 0; border: 0; box-shadow: none; }
    .section-heading { break-after: avoid; margin-bottom: 10px; padding: 8px 0; border-bottom: 2px solid #333; }
    .section-heading > span { color: #000; background: #eee; }
    .section-heading h2 { color: #000; font-size: 16pt; }
    .question { break-inside: avoid; padding: 8px 0; border: 0; border-bottom: 1px solid #ddd; background: none; }
    .choice { min-height: auto; padding: 2px 6px; border: 0; }
    fieldset:disabled .choice:not(:has(input:checked)) { display: none; }
    input, select, textarea, fieldset:disabled input, fieldset:disabled select, fieldset:disabled textarea { min-height: 25px; padding: 3px 5px; border-color: #999; background: #fff; }
    .input-table-wrap { overflow: visible; }
    .wide-table .input-table { min-width: 0; font-size: 7.5pt; }
    .input-table input, .wide-table .input-table input { min-width: 0; }
    th, td { padding: 4px; }
}
