.medical-tools-page {
    background: #f5f8fb;
    color: #163747;
}

.nursing-tools-page {
    background: #f7fbf9;
    color: #173f38;
}

.education-tools-page {
    background: #fbfaf5;
    color: #43341b;
}

.medical-tools-header {
    grid-template-columns: auto 1fr auto;
}

.medical-tools-header .landing-nav a:first-child {
    background: rgba(255, 255, 255, 0.15);
    color: #fff7cf;
}

.nursing-tools-page .landing-header {
    background: linear-gradient(135deg, rgba(19, 95, 78, 0.96), rgba(76, 139, 116, 0.94));
}

.nursing-tools-page .landing-nav a:first-child {
    background: rgba(255, 255, 255, 0.16);
    color: #fff2d4;
}

.education-tools-page .landing-header {
    background: linear-gradient(135deg, rgba(96, 68, 23, 0.96), rgba(158, 116, 47, 0.94));
}

.education-tools-page .landing-nav a:first-child {
    background: rgba(255, 255, 255, 0.17);
    color: #fff4d8;
}

.medical-tools-user-greeting {
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    color: #fff7cf;
    font-size: 0.9rem;
    font-weight: 900;
    padding: 0.38rem 0.75rem;
    white-space: nowrap;
}

.medical-tools-hero {
    align-items: center;
    background:
        linear-gradient(110deg, rgba(18, 63, 96, 0.96), rgba(45, 111, 145, 0.88)),
        url("/images/1674011669.jpg") center 38% / cover no-repeat;
    color: #fff;
    display: grid;
    gap: 2rem;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
    padding: 4rem max(1rem, calc((100vw - 1120px) / 2));
}

.nursing-tools-hero {
    background:
        linear-gradient(110deg, rgba(18, 82, 71, 0.96), rgba(72, 133, 111, 0.9)),
        url("/images/landing_wc.jpg") center 45% / cover no-repeat;
}

.education-tools-hero {
    background:
        linear-gradient(110deg, rgba(93, 67, 27, 0.97), rgba(151, 104, 33, 0.9)),
        url("/images/landing_wc.jpg") center 42% / cover no-repeat;
}

.nursing-tools-page .medical-tools-lead-card > .material-symbols-rounded {
    background: #eaf7f2;
    color: #307964;
}

.education-tools-page .medical-tools-lead-card > .material-symbols-rounded {
    background: #fff3d5;
    color: #9a6b1d;
}

.nursing-tools-page .medical-tools-lead-form button,
.nursing-tools-page .medical-tool-action {
    background: #c8912b;
}

.education-tools-page .medical-tools-lead-form button,
.education-tools-page .medical-tool-action {
    background: #9a6b1d;
}

.nursing-tools-page .medical-tools-lead-form button:hover,
.nursing-tools-page .medical-tool-action:hover,
.nursing-tools-page .medical-tools-lead-form button:focus,
.nursing-tools-page .medical-tool-action:focus {
    background: #a97419;
}

.education-tools-page .medical-tools-lead-form button:hover,
.education-tools-page .medical-tool-action:hover,
.education-tools-page .medical-tools-lead-form button:focus,
.education-tools-page .medical-tool-action:focus {
    background: #765016;
}

.nursing-tools-page .medical-tool-card-header > .material-symbols-rounded,
.nursing-tools-page .medical-tool-category-toggle {
    background: #eaf7f2;
    color: #1f6958;
}

.education-tools-page .medical-tool-card-header > .material-symbols-rounded,
.education-tools-page .medical-tool-category-toggle {
    background: #fff3d5;
    color: #7c5519;
}

.nursing-tools-page .medical-tool-card,
.nursing-tools-page .medical-tools-intro div,
.nursing-tools-page .medical-tool-search-panel input,
.nursing-tools-page .medical-tool-search-panel select {
    border-color: rgba(48, 121, 100, 0.22);
}

.education-tools-page .medical-tool-card,
.education-tools-page .medical-tools-intro div,
.education-tools-page .medical-tool-search-panel input,
.education-tools-page .medical-tool-search-panel select {
    border-color: rgba(154, 107, 29, 0.22);
}

.nursing-tools-page .medical-tools-cta {
    background: #174f43;
}

.education-tools-page .medical-tools-cta {
    background: #5b4018;
}

.medical-tools-hero-copy {
    min-width: 0;
}

.medical-tools-hero h1 {
    font-family: "Oswald", Arial, Helvetica, sans-serif;
    font-size: clamp(2.45rem, 5vw, 4.8rem);
    line-height: 1.02;
    margin: 0;
    max-width: 780px;
}

.medical-tools-hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.13rem;
    line-height: 1.6;
    margin: 1rem 0 0;
    max-width: 760px;
}

.medical-tools-hero .landing-message-body,
.medical-tools-hero .landing-message-body p,
.medical-tools-hero .landing-message-body ul,
.medical-tools-hero .landing-message-body ol,
.medical-tools-hero .landing-message-body li {
    color: #fff7cf;
}

.medical-tools-lead-card {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(7, 28, 42, 0.22);
    color: #163747;
    padding: 1.2rem;
}

.medical-tools-lead-card > .material-symbols-rounded {
    align-items: center;
    background: #e8f4fb;
    border-radius: 8px;
    color: #2f6f91;
    display: inline-flex;
    font-size: 2rem;
    height: 2.8rem;
    justify-content: center;
    width: 2.8rem;
}

.medical-tools-lead-card h2 {
    font-family: "Oswald", Arial, Helvetica, sans-serif;
    font-size: 1.75rem;
    line-height: 1.1;
    margin: 0.8rem 0 0;
}

.medical-tools-lead-card p {
    color: #42667a;
    font-size: 0.98rem;
    line-height: 1.45;
    margin: 0.55rem 0 0;
}

.medical-tools-discord-link {
    align-items: center;
    background: #eef7fb;
    border: 1px solid rgba(82, 152, 188, 0.24);
    border-radius: 8px;
    color: #1e526c;
    display: flex;
    font-weight: 900;
    justify-content: center;
    margin-top: 0.75rem;
    min-height: 40px;
    padding: 0.55rem 0.75rem;
    text-decoration: none;
}

.medical-tools-discord-link:hover,
.medical-tools-discord-link:focus {
    background: #dceef7;
    outline: 0;
}

.medical-tools-coupon strong {
    color: #b07804;
}

.medical-tools-lead-form {
    display: grid;
    gap: 0.65rem;
    margin-top: 0.9rem;
}

.medical-tools-quiz-strip {
    align-items: center;
    background: #ffffff;
    border: 1px solid rgba(82, 152, 188, 0.22);
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(12, 48, 70, 0.08);
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 0.35fr) minmax(0, 0.65fr);
    margin: 1rem auto;
    max-width: 1120px;
    padding: 1rem;
}

.medical-tools-quiz-strip h2 {
    font-family: "Oswald", Arial, Helvetica, sans-serif;
    font-size: 1.65rem;
    margin: 0;
}

.medical-tools-quiz-strip p {
    color: #42667a;
    line-height: 1.45;
    margin: 0.35rem 0 0;
}

.medical-tools-quiz-links {
    display: grid;
    gap: 0.6rem;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.medical-tools-quiz-links a {
    background: #edf7fc;
    border: 1px solid rgba(82, 152, 188, 0.24);
    border-radius: 8px;
    color: #174d68;
    display: grid;
    font-weight: 900;
    gap: 0.25rem;
    padding: 0.75rem;
    text-decoration: none;
}

.medical-tools-quiz-links a:hover,
.medical-tools-quiz-links a:focus {
    background: #dceef7;
    outline: 2px solid rgba(82, 152, 188, 0.22);
}

.medical-tools-quiz-links span {
    color: #5e7887;
    font-size: 0.85rem;
}

.nursing-tools-page .medical-tools-quiz-strip {
    border-color: rgba(48, 121, 100, 0.22);
}

.nursing-tools-page .medical-tools-quiz-links a {
    background: #eaf7f2;
    border-color: rgba(48, 121, 100, 0.22);
    color: #1f6958;
}

.education-tools-page .medical-tools-quiz-strip {
    border-color: rgba(154, 107, 29, 0.22);
}

.education-tools-page .medical-tools-quiz-links a {
    background: #fff3d5;
    border-color: rgba(154, 107, 29, 0.22);
    color: #7c5519;
}

.medical-tools-lead-form input,
.medical-tool-form input,
.medical-tool-form select,
.medical-tool-form textarea,
#lab-search,
.nihss-grid select {
    background: #fff;
    border: 1px solid rgba(18, 63, 96, 0.24);
    border-radius: 8px;
    color: #163747;
    font-size: 0.98rem;
    min-height: 40px;
    padding: 0.55rem 0.65rem;
    width: 100%;
}

.medical-tool-form textarea {
    line-height: 1.45;
    min-height: 150px;
    resize: vertical;
}

.medical-tools-lead-form button,
.medical-tool-action {
    background: #d8a62a;
    border: 0;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    font-size: 0.98rem;
    font-weight: 900;
    height: 40px;
    min-width: 148px;
    padding: 0.55rem 0.9rem;
}

.medical-tools-lead-form button:hover,
.medical-tool-action:hover,
.medical-tools-lead-form button:focus,
.medical-tool-action:focus {
    background: #bd8c17;
    outline: 0;
}

.medical-tools-lead-form p {
    font-size: 0.88rem;
    font-weight: 800;
    margin: 0;
    min-height: 0;
}

.medical-tools-lead-form p.is-success {
    color: #17623a;
}

.medical-tools-lead-form p.is-error {
    color: #8a1c1c;
}

.medical-tools-intro {
    display: grid;
    gap: 0.9rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0 auto;
    max-width: 1120px;
    padding: 1.2rem 1rem 0;
}

.medical-tools-intro div {
    background: #fff;
    border: 1px solid rgba(82, 152, 188, 0.2);
    border-radius: 8px;
    box-shadow: 0 10px 22px rgba(22, 55, 71, 0.06);
    padding: 1rem;
}

.medical-tools-intro strong,
.medical-tools-intro span {
    display: block;
}

.medical-tools-intro strong {
    color: #163747;
    font-size: 1.02rem;
}

.medical-tools-intro span {
    color: #42667a;
    line-height: 1.42;
    margin-top: 0.25rem;
}

.medical-tool-search-panel {
    align-items: end;
    display: grid;
    gap: 0.9rem;
    grid-template-columns: minmax(220px, 0.7fr) minmax(240px, 1fr) minmax(190px, 0.55fr);
    margin: 0 auto;
    max-width: 1120px;
    padding: 1.2rem 1rem 0;
}

.medical-tool-search-panel h2 {
    color: #163747;
    font-family: "Oswald", Arial, Helvetica, sans-serif;
    font-size: 1.7rem;
    line-height: 1.1;
    margin: 0;
}

.medical-tool-search-panel input,
.medical-tool-search-panel select {
    background: #fff;
    border: 1px solid rgba(18, 63, 96, 0.24);
    border-radius: 8px;
    color: #163747;
    font-size: 1rem;
    min-height: 42px;
    padding: 0.6rem 0.7rem;
    width: 100%;
}

.medical-tool-search-panel select {
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, #42667a 50%),
        linear-gradient(135deg, #42667a 50%, transparent 50%);
    background-position:
        calc(100% - 18px) 50%,
        calc(100% - 12px) 50%;
    background-repeat: no-repeat;
    background-size: 6px 6px, 6px 6px;
    padding-right: 2.1rem;
}

.medical-tool-search-panel p:last-child {
    color: #42667a;
    font-size: 0.9rem;
    font-weight: 800;
    grid-column: 2 / -1;
    margin: -0.35rem 0 0;
}

.medical-tools-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
    margin: 0 auto;
    max-width: 1120px;
    padding: 1.2rem 1rem 3rem;
}

.medical-tool-category-section {
    display: grid;
    gap: 0.8rem;
}

.medical-tool-category-section[hidden] {
    display: none;
}

.medical-tool-category-toggle {
    align-items: center;
    background: #163747;
    border: 1px solid rgba(82, 152, 188, 0.22);
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    display: grid;
    gap: 0.75rem;
    grid-template-columns: minmax(0, 1fr) auto auto;
    min-height: 48px;
    padding: 0.65rem 0.85rem;
    text-align: left;
    width: 100%;
}

.medical-tool-category-toggle:hover,
.medical-tool-category-toggle:focus {
    background: #1e526c;
    outline: 0;
}

.medical-tool-category-title {
    font-family: "Oswald", Arial, Helvetica, sans-serif;
    font-size: 1.35rem;
    line-height: 1.1;
}

.medical-tool-category-count {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 900;
    padding: 0.25rem 0.55rem;
    white-space: nowrap;
}

.medical-tool-category-icon {
    font-size: 1.45rem;
}

.medical-tool-category-body {
    display: grid;
    gap: 1rem;
}

.medical-tool-category-body[hidden] {
    display: none;
}

.medical-tool-category-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.medical-tool-category-empty {
    background: #fff;
    border: 1px dashed rgba(82, 152, 188, 0.35);
    border-radius: 8px;
    color: #42667a;
    font-weight: 800;
    margin: 0;
    padding: 0.9rem;
}

.medical-tool-card {
    background: #fff;
    border: 1px solid rgba(82, 152, 188, 0.22);
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(22, 55, 71, 0.08);
    display: grid;
    gap: 1rem;
    padding: 1.1rem;
}

.medical-tool-card[hidden] {
    display: none;
}

.medical-tool-card-wide {
    grid-column: 1 / -1;
}

.medical-tool-card-header {
    align-items: start;
    display: grid;
    gap: 0.8rem;
    grid-template-columns: auto minmax(0, 1fr) auto;
}

.medical-tool-card-header > .material-symbols-rounded {
    align-items: center;
    background: #e9f4fa;
    border-radius: 8px;
    color: #2f6f91;
    display: inline-flex;
    font-size: 2rem;
    height: 2.9rem;
    justify-content: center;
    width: 2.9rem;
}

.medical-tool-card h2,
.medical-tools-cta h2,
.medical-tools-sources h2 {
    color: #163747;
    font-family: "Oswald", Arial, Helvetica, sans-serif;
    font-size: 1.65rem;
    line-height: 1.12;
    margin: 0;
}

.medical-tool-card p {
    color: #42667a;
    line-height: 1.5;
    margin: 0.35rem 0 0;
}

.medical-tool-toggle {
    align-self: start;
    background: #edf6fb;
    border: 1px solid rgba(82, 152, 188, 0.32);
    border-radius: 8px;
    color: #1e526c;
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 900;
    height: 34px;
    min-width: 68px;
    padding: 0.35rem 0.65rem;
}

.medical-tool-toggle:hover,
.medical-tool-toggle:focus {
    background: #dceef7;
    outline: 0;
}

.medical-tool-card-body {
    display: grid;
    gap: 1rem;
}

.medical-tool-card-body[hidden] {
    display: none;
}

.medical-tool-card.is-collapsed {
    align-content: start;
}

.medical-tool-form,
.nihss-grid {
    display: grid;
    gap: 0.75rem;
}

.medical-tool-form.two-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.medical-tool-form.three-columns {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.medical-tool-form label,
.nihss-grid label,
.lab-search-label {
    color: #163747;
    display: grid;
    font-size: 0.88rem;
    font-weight: 900;
    gap: 0.3rem;
}

.medical-tool-form label span {
    color: #6a8493;
    font-size: 0.78rem;
    font-weight: 700;
}

.medical-tool-action {
    justify-self: start;
}

.medical-tool-result {
    background: #eef6fb;
    border: 1px solid rgba(82, 152, 188, 0.25);
    border-radius: 8px;
    color: #163747;
    display: block;
    line-height: 1.5;
    min-height: 3.2rem;
    padding: 0.85rem;
}

.lab-interpret-result {
    display: grid;
    gap: 0.75rem;
}

.lab-interpret-section {
    display: grid;
    gap: 0.45rem;
}

.lab-interpret-section > strong {
    color: #123f60;
    font-size: 1rem;
}

.lab-interpret-section ul {
    margin: 0;
    padding-left: 1.2rem;
}

.lab-interpret-section li + li {
    margin-top: 0.25rem;
}

.lab-interpret-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.lab-interpret-chip {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(82, 152, 188, 0.25);
    border-radius: 8px;
    color: #163747;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.25rem 0.4rem;
    padding: 0.35rem 0.5rem;
}

.lab-interpret-chip strong {
    font-weight: 900;
}

.lab-interpret-chip em {
    color: #537487;
    font-size: 0.78rem;
    font-style: normal;
    font-weight: 900;
    text-transform: uppercase;
}

.lab-interpret-chip.is-abnormal {
    border-color: rgba(187, 74, 42, 0.38);
    background: #fff7f2;
}

.lab-interpret-chip.is-abnormal em {
    color: #9a361d;
}

.lab-interpret-pattern {
    background: #fff;
    border: 1px solid rgba(82, 152, 188, 0.2);
    border-radius: 8px;
    display: grid;
    gap: 0.25rem;
    padding: 0.65rem;
}

.lab-interpret-pattern strong {
    color: #163747;
}

.lab-interpret-pattern span {
    color: #42667a;
}

.dx-result {
    display: grid;
    gap: 0.85rem;
}

.dx-section {
    display: grid;
    gap: 0.55rem;
}

.dx-section > strong {
    color: #123f60;
    font-size: 1rem;
}

.dx-section p {
    margin: 0;
}

.dx-section ul {
    margin: 0;
    padding-left: 1.2rem;
}

.dx-card {
    background: #fff;
    border: 1px solid rgba(82, 152, 188, 0.22);
    border-radius: 8px;
    display: grid;
    gap: 0.65rem;
    grid-template-columns: auto minmax(0, 1fr);
    padding: 0.7rem;
}

.dx-card h3 {
    color: #163747;
    font-size: 1.05rem;
    margin: 0;
}

.dx-card strong {
    color: #1e526c;
    display: block;
    font-size: 0.88rem;
    margin-top: 0.45rem;
}

.dx-rank {
    align-items: center;
    background: #d8a62a;
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-weight: 900;
    height: 2rem;
    justify-content: center;
    width: 2rem;
}

.fht-example {
    background: #fff;
    border: 1px solid rgba(82, 152, 188, 0.22);
    border-radius: 8px;
    display: grid;
    gap: 0.7rem;
    margin: 0.9rem 0 0;
    padding: 0.9rem;
}

.fht-example figcaption {
    align-items: baseline;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.75rem;
}

.fht-example figcaption strong {
    color: #163747;
    font-size: 1.02rem;
}

.fht-example figcaption span {
    color: #42667a;
    font-size: 0.92rem;
    font-weight: 800;
}

.fht-example-graphic {
    min-height: 180px;
}

.fht-svg {
    display: block;
    height: auto;
    max-width: 100%;
    width: 100%;
}

.fht-paper {
    fill: #fffdf8;
}

.fht-grid path {
    fill: none;
    stroke: rgba(190, 91, 91, 0.18);
    stroke-width: 1;
}

.fht-heart-rate {
    fill: none;
    stroke: #1f4e68;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 3.5;
}

.fht-svg.category-i .fht-heart-rate {
    stroke: #2f8a5f;
}

.fht-svg.category-ii .fht-heart-rate {
    stroke: #b07804;
}

.fht-svg.category-iii .fht-heart-rate {
    stroke: #b33939;
}

.fht-contraction {
    fill: none;
    stroke: rgba(82, 152, 188, 0.65);
    stroke-linecap: round;
    stroke-width: 2.4;
}

.fht-axis-labels text {
    fill: #6b7f8b;
    font-size: 11px;
    font-weight: 800;
}

.fht-category-label {
    fill: #163747;
    font-size: 18px;
    font-weight: 900;
}

.fht-pattern-label {
    fill: #42667a;
    font-size: 12px;
    font-weight: 800;
}

.medical-auth-open {
    overflow: hidden;
}

.medical-auth-overlay {
    align-items: center;
    background: rgba(8, 31, 43, 0.68);
    display: none;
    inset: 0;
    justify-content: center;
    padding: 1rem;
    position: fixed;
    z-index: 2147483000;
}

.medical-auth-overlay.is-visible {
    display: flex;
}

.medical-auth-dialog {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 28px 70px rgba(8, 31, 43, 0.38);
    color: #163747;
    display: grid;
    gap: 1.2rem;
    grid-template-columns: minmax(0, 0.92fr) minmax(300px, 1fr);
    max-height: min(92vh, 760px);
    max-width: 900px;
    overflow: auto;
    padding: 1.25rem;
    position: relative;
    width: min(96vw, 900px);
}

.medical-auth-dialog.is-verifying {
    grid-template-columns: minmax(0, 1fr);
    max-width: 560px;
    width: min(94vw, 560px);
}

.medical-auth-dialog.is-verifying .medical-auth-copy,
.medical-auth-dialog.is-verifying .medical-auth-tabs,
.medical-auth-dialog.is-verifying .medical-auth-form {
    display: none !important;
}

.medical-auth-dialog.is-verifying .medical-auth-panel {
    padding-right: 0;
}

.medical-auth-close {
    align-items: center;
    background: #eef7fb;
    border: 0;
    border-radius: 999px;
    color: #163747;
    cursor: pointer;
    display: inline-flex;
    font-size: 1.4rem;
    font-weight: 900;
    height: 2.2rem;
    justify-content: center;
    position: absolute;
    right: 0.8rem;
    top: 0.8rem;
    width: 2.2rem;
}

.medical-auth-copy {
    align-content: start;
    background: #eef7fb;
    border: 1px solid rgba(82, 152, 188, 0.18);
    border-radius: 8px;
    display: grid;
    gap: 0.75rem;
    padding: 1rem;
}

.medical-auth-copy h2 {
    font-family: "Oswald", Arial, Helvetica, sans-serif;
    font-size: 2rem;
    line-height: 1.08;
    margin: 0;
}

.medical-auth-copy p {
    color: #42667a;
    font-weight: 800;
    line-height: 1.45;
    margin: 0;
}

.medical-auth-offer {
    background: #fff8df;
    border: 1px solid rgba(216, 166, 42, 0.28);
    border-radius: 8px;
    padding: 0.65rem 0.75rem;
}

.medical-auth-popup-note {
    background: rgba(47, 111, 145, 0.1);
    border: 1px solid rgba(47, 111, 145, 0.18);
    border-radius: 8px;
    color: #1e526c;
    padding: 0.65rem 0.75rem;
}

.medical-auth-offer strong {
    color: #b07804;
}

.medical-auth-panel {
    display: grid;
    gap: 0.85rem;
    padding-right: 2.1rem;
}

.medical-auth-tabs {
    background: #eef7fb;
    border: 1px solid rgba(82, 152, 188, 0.24);
    border-radius: 999px;
    display: grid;
    gap: 0.25rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0.25rem;
}

.medical-auth-tab {
    background: transparent;
    border: 0;
    border-radius: 999px;
    color: #315c70;
    cursor: pointer;
    font-weight: 900;
    min-height: 38px;
}

.medical-auth-tab.is-active {
    background: #fff;
    box-shadow: 0 6px 16px rgba(22, 55, 71, 0.12);
    color: #163747;
}

.medical-auth-form {
    display: none;
    gap: 0.7rem;
}

.medical-auth-form.is-active {
    display: grid;
}

.medical-auth-form label {
    color: #163747;
    display: grid;
    font-size: 0.88rem;
    font-weight: 900;
    gap: 0.32rem;
}

.medical-auth-form input,
.medical-auth-form select {
    background: #fff;
    border: 1px solid rgba(18, 63, 96, 0.24);
    border-radius: 8px;
    color: #163747;
    font-size: 0.98rem;
    min-height: 40px;
    padding: 0.55rem 0.65rem;
    width: 100%;
}

.medical-auth-form button[type="submit"] {
    background: #d8a62a;
    border: 0;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    font-weight: 900;
    min-height: 42px;
}

.medical-auth-form button[type="submit"]:hover,
.medical-auth-form button[type="submit"]:focus {
    background: #bd8c17;
}

.medical-auth-form button[disabled] {
    cursor: progress;
    opacity: 0.72;
}

.medical-auth-message {
    font-size: 0.92rem;
    font-weight: 900;
    line-height: 1.35;
    margin: 0;
    min-height: 1.3rem;
}

.medical-auth-message.is-success {
    color: #17623a;
}

.medical-auth-message.is-error {
    color: #8a1c1c;
}

.medical-auth-verification {
    background: #f7fbfd;
    border: 1px solid rgba(18, 63, 96, 0.18);
    border-radius: 8px;
    display: grid;
    gap: 0.75rem;
    padding: 1.2rem;
}

.medical-auth-verification[hidden] {
    display: none;
}

.medical-auth-verification h3 {
    font-family: "Oswald", Arial, Helvetica, sans-serif;
    font-size: 1.65rem;
    line-height: 1.1;
    margin: 0;
}

.medical-auth-dialog.is-verifying .medical-auth-verification {
    box-shadow: none;
}

.medical-auth-verification p {
    color: #42667a;
    font-weight: 800;
    line-height: 1.4;
    margin: 0;
}

.medical-auth-code-row {
    display: grid;
    gap: 0.5rem;
    grid-template-columns: minmax(0, 1fr) auto;
}

.medical-auth-code-row input {
    border: 1px solid rgba(18, 63, 96, 0.24);
    border-radius: 8px;
    color: #163747;
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    min-height: 44px;
    padding: 0.45rem 0.7rem;
    text-align: center;
}

.medical-auth-code-row button,
.medical-auth-resend-code {
    background: #d8a62a;
    border: 0;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    font-weight: 900;
    min-height: 42px;
    padding: 0.45rem 0.8rem;
}

.medical-auth-resend-code {
    background: transparent;
    border: 1px solid rgba(18, 63, 96, 0.22);
    color: #315c70;
    justify-self: start;
}

.nursing-tools-page .medical-auth-overlay {
    background: rgba(12, 58, 49, 0.7);
}

.nursing-tools-page .medical-auth-close,
.nursing-tools-page .medical-auth-copy,
.nursing-tools-page .medical-auth-tabs {
    background: #eaf7f2;
    border-color: rgba(48, 121, 100, 0.22);
}

.nursing-tools-page .medical-auth-copy h2,
.nursing-tools-page .medical-auth-tab.is-active,
.nursing-tools-page .medical-auth-form label {
    color: #173f38;
}

.nursing-tools-page .medical-auth-copy p,
.nursing-tools-page .medical-auth-tab {
    color: #2f6559;
}

.nursing-tools-page .medical-auth-popup-note {
    background: rgba(48, 121, 100, 0.11);
    border-color: rgba(48, 121, 100, 0.2);
    color: #1f6958;
}

.nursing-tools-page .medical-auth-form button[type="submit"] {
    background: #c8912b;
}

.nursing-tools-page .medical-auth-verification {
    background: #f4fbf8;
    border-color: rgba(48, 121, 100, 0.22);
}

.nursing-tools-page .medical-auth-verification h3,
.nursing-tools-page .medical-auth-verification p,
.nursing-tools-page .medical-auth-resend-code {
    color: #1f6958;
}

.nursing-tools-page .medical-auth-form button[type="submit"]:hover,
.nursing-tools-page .medical-auth-form button[type="submit"]:focus {
    background: #a97419;
}

.nursing-tools-page .medical-auth-offer strong {
    color: #1f6958;
}

.education-tools-page .medical-auth-overlay {
    background: rgba(62, 44, 17, 0.72);
}

.education-tools-page .medical-auth-close,
.education-tools-page .medical-auth-copy,
.education-tools-page .medical-auth-tabs {
    background: #fff3d5;
    border-color: rgba(154, 107, 29, 0.24);
}

.education-tools-page .medical-auth-copy h2,
.education-tools-page .medical-auth-tab.is-active,
.education-tools-page .medical-auth-form label {
    color: #43341b;
}

.education-tools-page .medical-auth-copy p,
.education-tools-page .medical-auth-tab {
    color: #73521e;
}

.education-tools-page .medical-auth-popup-note {
    background: rgba(154, 107, 29, 0.12);
    border-color: rgba(154, 107, 29, 0.22);
    color: #6a4918;
}

.education-tools-page .medical-auth-form button[type="submit"] {
    background: #9a6b1d;
}

.education-tools-page .medical-auth-verification {
    background: #fffaf0;
    border-color: rgba(154, 107, 29, 0.24);
}

.education-tools-page .medical-auth-verification h3,
.education-tools-page .medical-auth-verification p,
.education-tools-page .medical-auth-resend-code {
    color: #6a4918;
}

.education-tools-page .medical-auth-form button[type="submit"]:hover,
.education-tools-page .medical-auth-form button[type="submit"]:focus {
    background: #765016;
}

.education-tools-page .medical-auth-offer strong {
    color: #765016;
}

.ob-step {
    display: block;
    margin-top: 0.45rem;
}

.ob-step:first-child {
    margin-top: 0;
}

.medical-tool-note {
    background: #fff8df;
    border: 1px solid rgba(216, 166, 42, 0.32);
    border-radius: 8px;
    color: #684e0d;
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.45;
    padding: 0.7rem;
}

.nihss-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nihss-grid label span {
    line-height: 1.2;
}

#lab-search {
    max-width: 520px;
}

.lab-value-grid {
    display: grid;
    gap: 0.65rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.lab-value-card {
    background: #f7fbfd;
    border: 1px solid rgba(82, 152, 188, 0.2);
    border-radius: 8px;
    display: grid;
    gap: 0.18rem;
    padding: 0.75rem;
}

.lab-value-card strong {
    color: #163747;
}

.lab-value-card span {
    color: #6a8493;
    font-size: 0.86rem;
}

.lab-value-card em {
    color: #2f6f91;
    font-style: normal;
    font-weight: 900;
}

.antibiotic-controls {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: minmax(240px, 1.2fr) minmax(190px, 0.6fr) minmax(150px, 0.45fr);
}

.antibiotic-controls label {
    color: #163747;
    display: grid;
    font-size: 0.88rem;
    font-weight: 900;
    gap: 0.3rem;
}

.antibiotic-controls input,
.antibiotic-controls select {
    background: #fff;
    border: 1px solid rgba(18, 63, 96, 0.24);
    border-radius: 8px;
    color: #163747;
    font-size: 0.98rem;
    min-height: 40px;
    padding: 0.55rem 0.65rem;
    width: 100%;
}

.antibiotic-spectrum-legend {
    background: #f7fbfd;
    border: 1px solid rgba(82, 152, 188, 0.18);
    border-radius: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.75rem;
    padding: 0.7rem;
}

.antibiotic-spectrum-legend span {
    color: #42667a;
    font-size: 0.86rem;
    font-weight: 800;
}

.antibiotic-results-summary {
    color: #42667a;
    font-size: 0.9rem;
    font-weight: 900;
}

.antibiotic-spectrum-grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.antibiotic-card {
    background: #f7fbfd;
    border: 1px solid rgba(82, 152, 188, 0.2);
    border-radius: 8px;
    display: grid;
    gap: 0.65rem;
    padding: 0.85rem;
}

.antibiotic-card-title {
    align-items: start;
    display: flex;
    gap: 0.65rem;
    justify-content: space-between;
}

.antibiotic-card h3 {
    color: #163747;
    font-family: "Oswald", Arial, Helvetica, sans-serif;
    font-size: 1.22rem;
    line-height: 1.15;
    margin: 0;
}

.antibiotic-card-title span {
    background: #eaf4fb;
    border-radius: 999px;
    color: #2f6f91;
    flex: 0 0 auto;
    font-size: 0.8rem;
    font-weight: 900;
    padding: 0.25rem 0.5rem;
}

.antibiotic-card p {
    color: #42667a;
    line-height: 1.4;
    margin: 0;
}

.antibiotic-coverage-row {
    display: grid;
    gap: 0.42rem;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.coverage-badge {
    background: #fff;
    border: 1px solid rgba(82, 152, 188, 0.18);
    border-radius: 8px;
    color: #42667a;
    display: grid;
    font-size: 0.82rem;
    gap: 0.12rem;
    min-height: 3.4rem;
    padding: 0.45rem;
}

.coverage-badge strong {
    color: #163747;
    font-size: 0.76rem;
}

.coverage-3 {
    background: #e9f6ee;
    border-color: rgba(47, 126, 84, 0.28);
    color: #1f6a45;
}

.coverage-2 {
    background: #edf6fb;
    border-color: rgba(82, 152, 188, 0.3);
    color: #1e526c;
}

.coverage-1 {
    background: #fff8df;
    border-color: rgba(216, 166, 42, 0.28);
    color: #684e0d;
}

.coverage-0 {
    background: #f4f6f7;
    color: #778993;
}

.antibiotic-selection-result ul {
    margin: 0.45rem 0 0.75rem;
    padding-left: 1.2rem;
}

.antibiotic-selection-result li {
    margin-top: 0.3rem;
}

.antibiotic-card small {
    color: #6a8493;
    font-weight: 800;
}

.suicide-crisis-box {
    background: #fff3f3;
    border: 1px solid rgba(176, 39, 39, 0.28);
    border-radius: 8px;
    color: #7a2020;
    display: grid;
    gap: 0.2rem;
    padding: 0.8rem;
}

.suicide-crisis-box strong {
    color: #6d1717;
}

.psych-med-controls {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: minmax(260px, 1.25fr) minmax(150px, 0.45fr) minmax(210px, 0.65fr);
}

.psych-med-controls label {
    color: #163747;
    display: grid;
    font-size: 0.88rem;
    font-weight: 900;
    gap: 0.3rem;
}

.psych-med-controls input,
.psych-med-controls select {
    background: #fff;
    border: 1px solid rgba(18, 63, 96, 0.24);
    border-radius: 8px;
    color: #163747;
    font-size: 0.98rem;
    min-height: 40px;
    padding: 0.55rem 0.65rem;
    width: 100%;
}

.psych-med-summary {
    color: #42667a;
    font-size: 0.9rem;
    font-weight: 900;
}

.psych-med-grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.psych-med-card {
    background: #f7fbfd;
    border: 1px solid rgba(82, 152, 188, 0.2);
    border-radius: 8px;
    display: grid;
    gap: 0.65rem;
    padding: 0.85rem;
}

.psych-med-title {
    align-items: start;
    display: flex;
    gap: 0.65rem;
    justify-content: space-between;
}

.psych-med-card h3 {
    color: #163747;
    font-family: "Oswald", Arial, Helvetica, sans-serif;
    font-size: 1.24rem;
    line-height: 1.15;
    margin: 0;
}

.psych-med-title span {
    background: #eaf4fb;
    border-radius: 999px;
    color: #2f6f91;
    flex: 0 0 auto;
    font-size: 0.78rem;
    font-weight: 900;
    padding: 0.25rem 0.5rem;
}

.psych-med-card p {
    color: #42667a;
    line-height: 1.42;
    margin: 0;
}

.psych-risk-grid {
    display: grid;
    gap: 0.42rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.psych-risk-pill {
    background: #fff;
    border: 1px solid rgba(82, 152, 188, 0.18);
    border-radius: 8px;
    color: #42667a;
    display: grid;
    font-size: 0.82rem;
    gap: 0.12rem;
    min-height: 3.15rem;
    padding: 0.45rem;
}

.psych-risk-pill strong {
    color: #163747;
    font-size: 0.76rem;
}

.psych-risk-0 {
    background: #e9f6ee;
    color: #1f6a45;
}

.psych-risk-1 {
    background: #edf6fb;
    color: #1e526c;
}

.psych-risk-2 {
    background: #fff8df;
    color: #684e0d;
}

.psych-risk-3 {
    background: #fff0ee;
    color: #8a2a1d;
}

.psych-med-card small {
    color: #6a8493;
    font-weight: 800;
}

.vignette-card {
    background: #f7fbfd;
    border: 1px solid rgba(82, 152, 188, 0.22);
    border-radius: 8px;
    display: grid;
    gap: 0.85rem;
    padding: 0.9rem;
}

.vignette-meta {
    color: #2f6f91;
    font-size: 0.88rem;
    font-weight: 900;
    text-transform: uppercase;
}

.vignette-card p {
    color: #365463;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

.vignette-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.vignette-options button {
    background: #fff;
    border: 1px solid rgba(82, 152, 188, 0.32);
    border-radius: 8px;
    color: #163747;
    cursor: pointer;
    font-weight: 900;
    min-height: 38px;
    padding: 0.45rem 0.65rem;
}

.vignette-options button:hover,
.vignette-options button:focus {
    background: #eaf4fb;
    outline: 0;
}

.vignette-feedback {
    border-radius: 8px;
    color: #365463;
    font-weight: 800;
    line-height: 1.45;
    min-height: 0;
    padding: 0;
}

.vignette-feedback.is-correct,
.vignette-feedback.is-incorrect {
    padding: 0.7rem;
}

.vignette-feedback.is-correct {
    background: #e9f6ee;
    color: #1f6a45;
}

.vignette-feedback.is-incorrect {
    background: #fff8df;
    color: #684e0d;
}

.ecg-practice-toolbar {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: space-between;
}

.ecg-rhythm-select-label {
    align-items: center;
    color: #163747;
    display: inline-grid;
    font-size: 0.88rem;
    font-weight: 900;
    gap: 0.25rem;
    grid-template-columns: auto minmax(220px, 1fr);
}

.ecg-rhythm-select-label select {
    background: #fff;
    border: 1px solid rgba(18, 63, 96, 0.24);
    border-radius: 8px;
    color: #163747;
    font-size: 0.95rem;
    min-height: 40px;
    padding: 0.5rem 0.6rem;
    width: 100%;
}

.ecg-answer-toggle {
    align-items: center;
    color: #163747;
    display: inline-flex;
    font-size: 0.94rem;
    font-weight: 900;
    gap: 0.45rem;
}

.ecg-answer-toggle input {
    height: 1rem;
    width: 1rem;
}

.medical-tool-action-secondary {
    background: #2f6f91;
}

.medical-tool-action-secondary:hover,
.medical-tool-action-secondary:focus {
    background: #245873;
}

.ecg-practice-stage {
    align-items: center;
    display: grid;
    gap: 0.75rem;
    grid-template-columns: auto minmax(0, 1fr) auto;
}

.ecg-carousel-button {
    align-items: center;
    background: #edf6fb;
    border: 1px solid rgba(82, 152, 188, 0.32);
    border-radius: 999px;
    color: #1e526c;
    cursor: pointer;
    display: inline-flex;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.ecg-carousel-button:hover,
.ecg-carousel-button:focus {
    background: #dceef7;
    outline: 0;
}

.ecg-rhythm-card {
    background: #fbfdfe;
    border: 1px solid rgba(82, 152, 188, 0.24);
    border-radius: 8px;
    margin: 0;
    overflow: hidden;
}

.ecg-rhythm-card img {
    background:
        linear-gradient(rgba(216, 80, 80, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(216, 80, 80, 0.12) 1px, transparent 1px),
        #fff;
    background-size: 18px 18px;
    display: block;
    max-height: 360px;
    min-height: 180px;
    object-fit: contain;
    padding: 0.8rem;
    width: 100%;
}

.ecg-rhythm-card img:not([src]) {
    min-height: 0;
    padding: 0;
}

.ecg-rhythm-card figcaption {
    align-items: center;
    background: #f1f8fc;
    color: #42667a;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.8rem;
    justify-content: space-between;
    padding: 0.65rem 0.8rem;
}

.ecg-rhythm-card figcaption strong {
    color: #163747;
}

.ecg-answer-panel {
    background: #eef6fb;
    border: 1px solid rgba(82, 152, 188, 0.25);
    border-radius: 8px;
    padding: 0.85rem;
}

.ecg-answer-panel[hidden] {
    display: none;
}

.ecg-answer-panel h3 {
    color: #163747;
    font-family: "Oswald", Arial, Helvetica, sans-serif;
    font-size: 1.35rem;
    line-height: 1.1;
    margin: 0 0 0.4rem;
}

.ecg-look-for-block {
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(82, 152, 188, 0.2);
    border-radius: 8px;
    margin: 0.65rem 0 0;
    padding: 0.65rem;
}

.ecg-look-for-block strong {
    color: #163747;
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.ecg-answer-panel p {
    color: #365463;
    line-height: 1.5;
    margin: 0;
}

.ecg-practice-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.ecg-practice-actions span {
    color: #42667a;
    font-size: 0.92rem;
    font-weight: 900;
}

.medical-tools-cta {
    background: #163747;
    color: #fff;
    display: grid;
    gap: 1rem;
    justify-items: center;
    padding: 3rem max(1rem, calc((100vw - 900px) / 2));
    text-align: center;
}

.medical-tools-cta h2,
.medical-tools-cta p {
    color: #fff;
}

.medical-tools-cta p {
    line-height: 1.6;
    margin: 0.6rem auto 0;
    max-width: 760px;
}

.medical-tools-discord-section {
    align-items: center;
    background: #f5f8fb;
    display: none;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 1fr) auto;
    margin: 0 auto;
    max-width: 1120px;
    padding: 3rem 1rem;
}

.medical-tools-discord-section h2 {
    color: #163747;
    font-family: "Oswald", Arial, Helvetica, sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    line-height: 1.12;
    margin: 0;
}

.medical-tools-discord-section p {
    color: #42667a;
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0.65rem 0 0;
    max-width: 620px;
}

.medical-tools-discord-section iframe {
    border: 0;
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(22, 55, 71, 0.14);
    max-width: 100%;
}

.medical-tools-lead-form-inline {
    grid-template-columns: minmax(230px, 1fr) auto;
    margin: 0.3rem auto 0;
    max-width: 580px;
    width: 100%;
}

.medical-tools-lead-form-inline p {
    grid-column: 1 / -1;
    text-align: left;
}

.medical-tools-sources {
    margin: 0 auto;
    max-width: 1120px;
    padding: 2.5rem 1rem;
}

.medical-tools-sources p {
    color: #42667a;
    line-height: 1.55;
    margin: 0.65rem 0;
    max-width: 860px;
}

.medical-tools-sources ul {
    display: grid;
    gap: 0.45rem;
    margin: 1rem 0 0;
    padding-left: 1.1rem;
}

.medical-tools-sources a {
    color: #2f6f91;
    font-weight: 800;
}

@media (max-width: 900px) {
    .medical-tools-hero,
    .medical-tools-grid,
    .medical-tool-category-grid,
    .medical-tools-discord-section {
        grid-template-columns: 1fr;
    }

    .medical-tools-lead-card {
        max-width: 620px;
    }

    .medical-tools-intro,
    .medical-tool-form.three-columns,
    .antibiotic-controls,
    .psych-med-controls,
    .lab-value-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .antibiotic-spectrum-grid,
    .psych-med-grid {
        grid-template-columns: 1fr;
    }

    .ecg-practice-stage {
        grid-template-columns: 1fr;
    }

    .ecg-carousel-button {
        width: 100%;
        border-radius: 8px;
    }

    #ecg-prev {
        order: 2;
    }

    .ecg-rhythm-card {
        order: 1;
    }

    #ecg-next {
        order: 3;
    }

    .medical-auth-dialog {
        grid-template-columns: 1fr;
    }

    .medical-auth-panel {
        padding-right: 0;
    }

    .medical-tools-discord-section iframe {
        width: 100%;
    }
}

@media (max-width: 700px) {
    .medical-tools-header {
        grid-template-columns: 1fr;
    }

    .medical-tools-user-greeting {
        font-size: 0.86rem;
        justify-self: center;
        white-space: normal;
    }

    .medical-tools-hero {
        padding: 2.4rem 1rem;
    }

    .medical-tools-hero h1 {
        font-size: clamp(2.1rem, 11vw, 3.2rem);
    }

    .medical-tools-hero p {
        font-size: 1rem;
    }

    .medical-tools-intro,
    .medical-tool-search-panel,
    .medical-tool-form.two-columns,
    .medical-tool-form.three-columns,
    .antibiotic-controls,
    .psych-med-controls,
    .nihss-grid,
    .lab-value-grid,
    .medical-tools-lead-form-inline {
        grid-template-columns: 1fr;
    }

    .medical-tool-search-panel p:last-child {
        grid-column: auto;
    }

    .medical-tool-card-header {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .medical-tool-toggle {
        grid-column: 1 / -1;
        justify-self: start;
    }

    .medical-tool-action,
    .medical-tools-lead-form button,
    .medical-tools-lead-form-inline button {
        width: 100%;
    }

    .medical-tool-card {
        padding: 0.95rem;
    }

    .medical-tool-card h2 {
        font-size: 1.42rem;
    }

    .medical-tool-category-toggle {
        gap: 0.45rem;
        grid-template-columns: minmax(0, 1fr) auto auto;
        padding: 0.6rem 0.7rem;
    }

    .medical-tool-category-count {
        font-size: 0.76rem;
        justify-self: end;
        padding: 0.22rem 0.45rem;
    }

    .medical-tool-category-icon {
        font-size: 1.25rem;
    }

    .medical-tool-category-title {
        font-size: 1.22rem;
    }

    .antibiotic-coverage-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .psych-risk-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vignette-options {
        display: grid;
        grid-template-columns: 1fr;
    }

    .ecg-practice-toolbar,
    .ecg-practice-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .ecg-rhythm-select-label {
        grid-template-columns: 1fr;
    }

    .ecg-rhythm-card img {
        min-height: 140px;
        padding: 0.45rem;
    }

    .medical-auth-dialog {
        max-height: 94vh;
        padding: 0.9rem;
    }

    .medical-auth-copy h2 {
        font-size: 1.55rem;
        padding-right: 2.2rem;
    }

    .medical-auth-tabs {
        border-radius: 8px;
    }
}
