.practice-page {
    --practice-ink: #152638;
    --practice-muted: #4d6275;
    --practice-border: #d7e2eb;
    --practice-accent: #08736f;
    --practice-paper: #fff;
    color: var(--practice-ink);
    background: #f3f7fa;
}
.practice-shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.practice-hero {
    margin: 0 0 36px;
    padding: clamp(24px, 5vw, 60px);
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(24px, 5vw, 60px);
    background: #102334;
    color: #fff;
    border-radius: 22px;
}
.practice-hero--plain { grid-template-columns: 1fr; padding-block: clamp(24px, 3.5vw, 40px); }
.practice-hero h1 {
    margin: 0 0 15px;
    max-width: 23ch;
    color: inherit;
    font-size: clamp(2rem, 5vw, 3.65rem);
    line-height: 1.075;
    letter-spacing: -.04em;
    font-weight: 750;
}
.practice-hero p { margin: 0 0 22px; max-width: 64ch; color: #d9e7f0; }
.practice-hero .practice-label { color: #8fe7d6; }
.practice-hero figure { margin: 0; }
.practice-hero img { display: block; width: 100%; height: auto; border-radius: 12px; background: #1b3042; }
.practice-hero figcaption { margin-top: 8px; color: #c4d4df; font-size: .875rem; }
.practice-label { margin: 0 0 8px; color: var(--practice-accent, #08736f); font-size: .875rem; font-weight: 700; }
.practice-page .breadcrumbs { padding-left: 0; padding-right: 0; }
.practice-section { margin: 36px 0; scroll-margin-top: 95px; }
.practice-section > h2 { margin-bottom: 10px; font-size: clamp(1.4rem, 3vw, 2rem); letter-spacing: -.02em; }
.practice-section > p { max-width: 78ch; }
.practice-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 235px), 1fr)); gap: 16px; }
.practice-card, .practice-panel {
    min-width: 0;
    border: 1px solid var(--practice-border, #d7e2eb);
    border-radius: 16px;
    background: #fff;
    padding: clamp(16px, 3vw, 25px);
}
.practice-card h3, .practice-panel h3 { margin: 0 0 8px; }
.practice-card p, .practice-panel p { margin: 0 0 12px; color: var(--practice-muted, #4d6275); }
.practice-panel > :last-child, .practice-card > :last-child { margin-bottom: 0; }
.practice-form { display: grid; gap: 15px; }
.practice-field-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 13px; }
.practice-form label { display: grid; gap: 5px; font-weight: 650; font-size: .95rem; }
.practice-form :is(input, select) {
    width: 100%;
    box-sizing: border-box;
    min-height: 44px;
    padding: 8px 10px;
    border: 1px solid #a9bbcb;
    border-radius: 8px;
    background: #fff;
    color: #152638;
    font: inherit;
}
.practice-form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.practice-form legend { margin-bottom: 6px; font-weight: 700; }
.practice-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.practice-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 9px 16px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: #08736f;
    color: #fff;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}
.practice-button:hover { background: #065a57; color: #fff; }
.practice-button--secondary { background: #edf5f7; color: #143d43; border-color: #c8d9df; }
.practice-button--secondary:hover { background: #dcecef; color: #143d43; }
.practice-button:disabled { cursor: wait; opacity: .65; }
.practice-page :focus-visible, .practice-panel :focus-visible { outline: 3px solid #168d87; outline-offset: 3px; }
.practice-result { margin: 0; border-left: 3px solid #08736f; padding: 9px 14px; background: #f0fbf8; overflow-wrap: anywhere; }
.practice-result:empty { display: none; }
.practice-result ul { margin: 6px 0 0; padding-left: 1.25em; }
.practice-lab-host:not(:empty) { margin-top: 14px; }
.practice-result p:last-child, .practice-result ul:last-child, .practice-result ol:last-child { margin-bottom: 0; }
.practice-evidence { display: grid; gap: 7px; padding: 0; list-style: none; }
.practice-terminal {
    margin: 0;
    padding: 14px;
    overflow: auto;
    border-radius: 10px;
    background: #102334;
    color: #e8f1f8;
    font: .875rem/1.55 ui-monospace, SFMono-Regular, Consolas, monospace;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}
.practice-lab-host { min-width: 0; }
.practice-lab-host:not(:empty) { min-height: 340px; }
.practice-coupons { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 315px), 1fr)); gap: 16px; }
.practice-coupons .code-cta { margin: 0; }
.practice-page footer { margin-top: 44px; }
@media (max-width: 745px) {
    .practice-shell { width: min(100% - 24px, 1120px); }
    .practice-hero { grid-template-columns: 1fr; border-radius: 15px; }
    .practice-hero h1 { max-width: 25ch; }
}

.practice-page [hidden] { display: none !important; }

/* Public PBQ previews share the product renderer. */
.practice-hardware-choices { display:flex; gap:10px; flex-wrap:wrap; margin:16px 0; }
.practice-hardware-choices [aria-pressed="false"] { color:#174e53; background:#fff; border:1px solid #aac5c5; }
.practice-hardware-choices [aria-pressed="true"], .practice-hardware-choices [aria-pressed="false"]:hover { color:#fff; background:#174e53; border:1px solid #174e53; }
.practice-hardware-choices + .practice-result { margin:12px 0; }

/* Reference tables on the practice pages. */
.practice-table-wrap { overflow-x: auto; margin: 14px 0; }
.practice-table { border-collapse: collapse; width: 100%; font-size: .9375rem; }
.practice-table--wide { min-width: 540px; }
.practice-table th, .practice-table td { border-bottom: 1px solid #dbe6ea; padding: 9px 10px; text-align: left; vertical-align: top; }
.practice-table th { background: #edf5f7; color: #143d43; font-weight: 700; }
.practice-section > h3 { margin: 24px 0 8px; }
.practice-list { margin: 8px 0 14px; padding-left: 1.3em; list-style: disc; }
ol.practice-list { list-style: decimal; }
.practice-list li { margin: 6px 0; }
