@charset "UTF-8";

:root {
    --bg: #f4f7fb;
    --bg-strong: #0d1226;
    --bg-soft: #eef4ff;
    --card: rgba(255, 255, 255, 0.92);
    --card-strong: #ffffff;
    --text: #0f172a;
    --muted: #64748b;
    --line: rgba(148, 163, 184, 0.25);
    --shadow: 0 24px 80px rgba(15, 23, 42, 0.08);
    --shadow-soft: 0 14px 42px rgba(15, 23, 42, 0.06);
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #0f766e;
    --danger: #dc2626;
    --warning: #d97706;
    --success: #059669;
    --info: #475569;
    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-sm: 10px;
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body {
    margin: 0;
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.10), transparent 28%),
        radial-gradient(circle at bottom right, rgba(15, 118, 110, 0.10), transparent 24%),
        linear-gradient(180deg, #f8fbff 0%, #f3f7fc 42%, #eef4fb 100%);
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

.login-body {
    min-height: 100vh;
    display: flex;
    align-items: stretch;
    justify-content: center;
    background:
        radial-gradient(circle at 10% 10%, rgba(37, 99, 235, 0.22), transparent 24%),
        radial-gradient(circle at 90% 90%, rgba(15, 118, 110, 0.18), transparent 26%),
        linear-gradient(135deg, #081223 0%, #0d1a36 48%, #132248 100%);
    color: #fff;
}

.login-shell {
    width: min(1480px, 100%);
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
}

.login-left,
.login-right {
    padding: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-card {
    width: min(760px, 100%);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 36px;
    padding: 52px;
    backdrop-filter: blur(16px);
    box-shadow: 0 32px 120px rgba(0, 0, 0, 0.28);
}

.hero-tag {
    display: inline-flex;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 14px;
    letter-spacing: 0.04em;
    margin-bottom: 20px;
}

.hero-card h1 {
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.16;
    margin: 0 0 18px;
    letter-spacing: 0.01em;
}

.hero-card p {
    margin: 0;
    font-size: 17px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.82);
}

.hero-grid {
    margin-top: 32px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.hero-metric {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hero-metric strong {
    font-size: 34px;
    line-height: 1;
}

.hero-metric span {
    color: rgba(255, 255, 255, 0.76);
}

.hero-panels {
    display: grid;
    gap: 16px;
    margin-top: 32px;
}

.hero-panel {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 20px 22px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.08);
}

.hero-panel-title {
    font-weight: 700;
    font-size: 16px;
}

.login-card {
    width: min(500px, 100%);
    background: rgba(255, 255, 255, 0.96);
    color: var(--text);
    border-radius: 30px;
    padding: 38px 36px;
    box-shadow: 0 32px 100px rgba(0, 0, 0, 0.24);
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.login-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 24px;
}

.login-header h2 {
    margin: 0 0 6px;
    font-size: 30px;
}

.login-header p {
    margin: 0;
    color: var(--muted);
}

.brand-mark,
.sidebar-avatar,
.brand-mark-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #0f766e 100%);
    color: #fff;
    box-shadow: 0 16px 30px rgba(37, 99, 235, 0.28);
    font-weight: 800;
    letter-spacing: 0.08em;
}

.brand-mark {
    width: 54px;
    height: 54px;
    font-size: 26px;
}

.brand-mark-large {
    width: 66px;
    height: 66px;
    font-size: 30px;
}

.login-tip {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 16px;
    background: #f8fafc;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.app-body {
    min-height: 100vh;
}

.app-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 280px 1fr;
}

.sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 24px 20px;
    background:
        linear-gradient(180deg, rgba(11, 18, 40, 0.98) 0%, rgba(16, 24, 54, 0.98) 100%);
    color: rgba(255, 255, 255, 0.92);
    display: flex;
    flex-direction: column;
    gap: 22px;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 18px 0 60px rgba(2, 6, 23, 0.12);
}

.brand-block {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 8px;
}

.brand-title {
    font-size: 18px;
    font-weight: 700;
}

.brand-subtitle {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 4px;
}

.sidebar-user {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 14px;
    border-radius: 20px;
}

.sidebar-avatar {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    font-size: 20px;
}

.sidebar-name {
    font-weight: 700;
    margin-bottom: 4px;
}

.sidebar-role {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

.nav-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 14px;
    color: rgba(255, 255, 255, 0.78);
    padding: 13px 14px;
    border-radius: 18px;
    transition: 0.25s ease;
    font-weight: 500;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.nav-link.active {
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.26) 0%, rgba(15, 118, 110, 0.22) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
}

.nav-indicator {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.26);
}

.nav-link.active .nav-indicator {
    background: #fff;
}

.sidebar-footer {
    display: grid;
    gap: 12px;
}

.main-panel {
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.topbar {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 26px;
    padding: 24px 28px;
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    backdrop-filter: blur(10px);
}

.topbar-title {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.topbar-subtitle {
    color: var(--muted);
    margin-top: 8px;
    font-size: 14px;
}

.topbar-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.page-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 6px 2px;
}

.page-head h1 {
    margin: 0 0 10px;
    font-size: 34px;
    line-height: 1.22;
}

.page-head p {
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
    max-width: 900px;
}

.page-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.panel,
.stat-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(12px);
}

.panel {
    padding: 26px;
}

.single-panel-wrap {
    display: grid;
    place-items: center;
}

.narrow-panel {
    width: min(620px, 100%);
}

.panel-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.panel-title-row h3 {
    margin: 0;
    font-size: 22px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.stat-card {
    padding: 24px;
}

.stat-title {
    color: var(--muted);
    font-size: 14px;
}

.stat-value {
    margin-top: 16px;
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.stat-desc {
    margin-top: 10px;
    color: var(--muted);
    line-height: 1.7;
    font-size: 14px;
}

.content-grid {
    display: grid;
    gap: 18px;
}

.content-grid.two-column {
    grid-template-columns: 1.1fr 0.9fr;
}

.content-grid.three-column {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-grid,
.shortcut-grid,
.hospital-grid {
    display: grid;
    gap: 14px;
}

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

.info-item {
    background: rgba(248, 250, 252, 0.82);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 18px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info-item span {
    color: var(--muted);
    font-size: 13px;
}

.info-item strong {
    font-size: 18px;
}

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

.shortcut-card,
.list-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
    border-radius: 20px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.95));
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.shortcut-card:hover,
.list-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
}

.static-card:hover {
    transform: none;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.shortcut-title,
.list-card-title {
    font-weight: 700;
    font-size: 16px;
}

.shortcut-desc,
.list-card-desc,
.list-card-meta,
.text-muted,
.help-text {
    color: var(--muted);
    line-height: 1.7;
    font-size: 14px;
}

.list-stack {
    display: grid;
    gap: 14px;
}

.timeline-list {
    display: grid;
    gap: 14px;
}

.timeline-item {
    position: relative;
    padding: 18px 18px 18px 22px;
    border-radius: 18px;
    background: rgba(248, 250, 252, 0.86);
    border: 1px solid rgba(226, 232, 240, 0.86);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 16px;
    bottom: 16px;
    width: 4px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--primary), var(--secondary));
}

.timeline-item strong {
    font-size: 16px;
}

.timeline-item span {
    color: var(--muted);
    line-height: 1.7;
}

.table-wrap {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 920px;
    overflow: hidden;
}

.data-table th,
.data-table td {
    padding: 16px 14px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.88);
    text-align: left;
    vertical-align: top;
    font-size: 14px;
    line-height: 1.7;
}

.data-table thead th {
    color: var(--muted);
    font-weight: 700;
    background: rgba(248, 250, 252, 0.86);
    position: sticky;
    top: 0;
}

.data-table tbody tr:hover {
    background: rgba(248, 250, 252, 0.76);
}

.wide-table {
    min-width: 1180px;
}

.table-input {
    width: 100%;
    min-width: 120px;
    padding: 11px 12px;
    border-radius: 12px;
    border: 1px solid rgba(203, 213, 225, 0.95);
    background: #fff;
}

.table-subnote,
.inline-note {
    margin-top: 8px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group-inline {
    min-width: 260px;
}

.form-grid,
.filter-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.filter-form {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    flex-wrap: wrap;
}

.stack-form {
    display: grid;
    gap: 16px;
}

label {
    font-size: 14px;
    font-weight: 700;
}

input[type="text"],
input[type="password"],
input[type="number"],
input[type="date"],
input[type="file"],
select,
textarea {
    width: 100%;
    border: 1px solid rgba(203, 213, 225, 0.95);
    background: rgba(255, 255, 255, 0.96);
    border-radius: 16px;
    padding: 14px 16px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    color: var(--text);
}

textarea {
    resize: vertical;
    min-height: 110px;
}

input:focus,
select:focus,
textarea:focus {
    border-color: rgba(37, 99, 235, 0.62);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding-top: 6px;
}

.form-actions-right {
    justify-content: flex-end;
    margin-top: 14px;
}

.align-end {
    align-self: end;
}

.primary-btn,
.ghost-btn,
.small-btn,
.danger-outline-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 14px;
    border: 0;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
    white-space: nowrap;
}

.primary-btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    box-shadow: 0 18px 34px rgba(37, 99, 235, 0.26);
}

.primary-btn:hover,
.ghost-btn:hover,
.small-btn:hover,
.danger-outline-btn:hover {
    transform: translateY(-1px);
}

.ghost-btn {
    background: rgba(248, 250, 252, 0.92);
    border: 1px solid rgba(203, 213, 225, 0.95);
    color: var(--text);
}

.small-btn {
    min-height: 38px;
    padding: 0 14px;
    background: rgba(37, 99, 235, 0.10);
    color: var(--primary-dark);
    border: 1px solid rgba(37, 99, 235, 0.22);
}

.danger-outline-btn {
    background: rgba(220, 38, 38, 0.10);
    color: #fecaca;
    border: 1px solid rgba(220, 38, 38, 0.24);
}

.danger-text-btn {
    background: transparent;
    border: 0;
    color: var(--danger);
    cursor: pointer;
    padding: 0;
    font-weight: 600;
}

.full-width {
    width: 100%;
}

.pill,
.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.pill {
    background: rgba(37, 99, 235, 0.10);
    color: var(--primary-dark);
    border: 1px solid rgba(37, 99, 235, 0.14);
}

.pill-dark {
    background: rgba(15, 23, 42, 0.08);
    color: var(--info);
    border-color: rgba(15, 23, 42, 0.08);
}

.badge {
    border: 1px solid transparent;
}

.badge-success {
    background: rgba(5, 150, 105, 0.10);
    color: var(--success);
    border-color: rgba(5, 150, 105, 0.16);
}

.badge-danger {
    background: rgba(220, 38, 38, 0.10);
    color: var(--danger);
    border-color: rgba(220, 38, 38, 0.16);
}

.badge-warning {
    background: rgba(217, 119, 6, 0.10);
    color: var(--warning);
    border-color: rgba(217, 119, 6, 0.16);
}

.badge-primary {
    background: rgba(37, 99, 235, 0.10);
    color: var(--primary-dark);
    border-color: rgba(37, 99, 235, 0.14);
}

.badge-secondary {
    background: rgba(15, 118, 110, 0.10);
    color: var(--secondary);
    border-color: rgba(15, 118, 110, 0.16);
}

.badge-info {
    background: rgba(100, 116, 139, 0.10);
    color: var(--info);
    border-color: rgba(100, 116, 139, 0.12);
}

.alert {
    padding: 15px 18px;
    border-radius: 18px;
    border: 1px solid transparent;
    font-size: 14px;
    line-height: 1.75;
    box-shadow: var(--shadow-soft);
}

.alert-success {
    background: rgba(5, 150, 105, 0.10);
    color: var(--success);
    border-color: rgba(5, 150, 105, 0.16);
}

.alert-error {
    background: rgba(220, 38, 38, 0.10);
    color: var(--danger);
    border-color: rgba(220, 38, 38, 0.16);
}

.alert-info {
    background: rgba(37, 99, 235, 0.10);
    color: var(--primary-dark);
    border-color: rgba(37, 99, 235, 0.14);
}

.result-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 22px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.10), rgba(15, 118, 110, 0.10));
    border: 1px solid rgba(37, 99, 235, 0.12);
}

.result-title {
    font-size: 24px;
    font-weight: 800;
}

.result-meta,
.result-desc,
.result-note,
.result-summary,
.result-errors,
.result-ok {
    line-height: 1.8;
}

.result-summary {
    display: grid;
    gap: 14px;
}

.result-ok {
    color: var(--success);
    font-weight: 700;
}

.result-errors {
    color: var(--danger);
    display: grid;
    gap: 6px;
    font-size: 14px;
}

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

.hospital-card {
    border-radius: 24px;
    padding: 22px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.05);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hospital-card-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

.hospital-card-head h4 {
    margin: 0;
    font-size: 18px;
    line-height: 1.5;
}

.hospital-card-body {
    display: grid;
    gap: 10px;
    color: var(--muted);
    font-size: 14px;
}

.hospital-card-body p {
    margin: 4px 0 0;
    line-height: 1.8;
}

.text-link {
    color: var(--primary-dark);
    font-weight: 700;
}

.text-link:hover {
    text-decoration: underline;
}

.tab-switch {
    display: grid;
    gap: 18px;
}

.tab-header {
    display: inline-flex;
    gap: 10px;
    padding: 8px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid var(--line);
    width: fit-content;
    box-shadow: var(--shadow-soft);
}

.tab-btn {
    min-width: 132px;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 14px;
    border: 0;
    background: transparent;
    cursor: pointer;
    color: var(--muted);
    font-weight: 700;
}

.tab-btn.active {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(15, 118, 110, 0.12));
    color: var(--text);
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.mini-form {
    display: grid;
    gap: 8px;
    min-width: 220px;
}

.action-row {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.empty-state {
    padding: 48px 20px;
    border: 1px dashed rgba(203, 213, 225, 0.95);
    border-radius: 24px;
    text-align: center;
    color: var(--muted);
    background: rgba(248, 250, 252, 0.62);
}

.small-empty {
    padding: 30px 18px;
}

.empty-icon {
    font-size: 30px;
    margin-bottom: 12px;
}

.page-footer {
    margin-top: auto;
    padding: 8px 4px 2px;
    color: var(--muted);
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-size: 13px;
    flex-wrap: wrap;
}

@media (max-width: 1400px) {
    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .content-grid.three-column {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1180px) {
    .app-shell {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: relative;
        height: auto;
    }

    .content-grid.two-column,
    .shortcut-grid,
    .info-grid,
    .form-grid,
    .filter-grid {
        grid-template-columns: 1fr;
    }

    .hospital-grid {
        grid-template-columns: 1fr;
    }

    .main-panel {
        padding: 18px;
    }
}

@media (max-width: 980px) {
    .login-shell {
        grid-template-columns: 1fr;
    }

    .login-left {
        display: none;
    }

    .login-right {
        padding: 24px;
    }

    .topbar,
    .page-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .panel,
    .stat-card,
    .topbar,
    .login-card {
        padding: 20px;
        border-radius: 20px;
    }

    .page-head h1 {
        font-size: 28px;
    }

    .tab-header {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .tab-btn {
        width: 100%;
    }
}


.three-col-fit { grid-template-columns: 1.8fr 1.2fr 0.9fr; }
.four-col-fit { grid-template-columns: repeat(4, minmax(0,1fr)); }
.inline-filter-card { margin-bottom: 16px; }
.inline-actions .button-row { display:flex; gap:12px; align-items:center; }
.table-actions-stack { display:flex; flex-direction:column; gap:8px; min-width:108px; }
.small-btn { padding:8px 12px; font-size:13px; }
.text-muted { color:#7d8899; font-size:12px; margin-top:4px; }


.split-panels.two-up { display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:24px; margin-bottom:24px; }
.form-grid.two-col-fit { grid-template-columns:repeat(2, minmax(0,1fr)); }
.form-submit-row { margin-top: 8px; }
.compact-empty { min-height: 280px; }
@media (max-width: 980px) {
    .split-panels.two-up,
    .form-grid.two-col-fit { grid-template-columns:1fr; }
    .four-col-fit { grid-template-columns:1fr; }
}
