@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;600;700&family=Noto+Serif+SC:wght@600;700&display=swap");

:root {
    --bg: #f4efe6;
    --panel: rgba(255, 252, 247, 0.88);
    --panel-strong: #fffaf2;
    --ink: #17242d;
    --muted: #6f7f87;
    --line: rgba(23, 36, 45, 0.1);
    --brand: #0b8a7a;
    --brand-deep: #0a6459;
    --accent: #f2b84b;
    --accent-soft: #fff0c9;
    --shadow: 0 20px 50px rgba(37, 51, 61, 0.12);
    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 14px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
    background: linear-gradient(180deg, #efe4d1 0%, #f8f3eb 35%, #edf4f2 100%);
}

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

.site-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at top left, rgba(242, 184, 75, 0.18), transparent 28%),
        radial-gradient(circle at top right, rgba(11, 138, 122, 0.18), transparent 30%),
        radial-gradient(circle at bottom center, rgba(11, 100, 89, 0.12), transparent 30%);
    z-index: 0;
}

.topbar,
.page-shell {
    position: relative;
    z-index: 1;
}

.topbar {
    z-index: 40;
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 18px 28px 0;
}

.brand-lockup {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 360px;
    min-width: 280px;
}

.brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.08em;
    box-shadow: var(--shadow);
}

.brand-title {
    font-family: "Noto Serif SC", serif;
    font-size: 1rem;
    font-weight: 700;
    white-space: nowrap;
}

.brand-subtitle {
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.35;
}

.topnav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex: 1 1 auto;
    min-width: 0;
}

.topnav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    overflow: visible;
    padding-bottom: 2px;
}

.topnav-tools {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    padding-left: 10px;
    border-left: 1px solid rgba(23, 36, 45, 0.1);
}

.topnav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    line-height: 1;
    white-space: nowrap;
    flex: 0 0 auto;
}

.topnav-link.active {
    color: #fff;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
    border-color: transparent;
    box-shadow: 0 12px 28px rgba(10, 100, 89, 0.2);
}

.topnav-more {
    position: relative;
    flex: 0 0 auto;
}

.topnav-more summary {
    cursor: pointer;
    list-style: none;
}

.topnav-more summary::-webkit-details-marker {
    display: none;
}

.topnav-more summary::after {
    content: "⌄";
    margin-left: 6px;
    font-size: 0.78rem;
}

.topnav-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 60;
    min-width: 180px;
    padding: 8px;
    border: 1px solid rgba(23, 36, 45, 0.1);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
}

.topnav-menu-link {
    display: flex;
    align-items: center;
    min-height: 36px;
    padding: 8px 10px;
    border-radius: 12px;
    color: var(--muted);
    font-size: 0.9rem;
    white-space: nowrap;
}

.topnav-menu-link:hover,
.topnav-menu-link.active {
    color: var(--brand-deep);
    background: rgba(11, 138, 122, 0.1);
}

.topnav-user {
    color: var(--muted);
    font-size: 0.9rem;
    padding: 0 2px;
    white-space: nowrap;
}

.topnav-db-form {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.topnav-db-form select {
    height: 36px;
    min-width: 112px;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.58);
    color: var(--ink);
    padding: 0 32px 0 12px;
    font: inherit;
    font-size: 0.9rem;
}

.page-shell {
    width: min(1600px, calc(100vw - 32px));
    margin: 24px auto 40px;
    display: grid;
    gap: 22px;
}

.page-shell > * {
    min-width: 0;
}

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

.login-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
    position: relative;
    z-index: 1;
}

.login-panel {
    width: min(420px, 100%);
    border-radius: var(--radius-lg);
    background: var(--panel);
    border: 1px solid rgba(255, 255, 255, 0.76);
    box-shadow: var(--shadow);
    padding: 28px;
}

.login-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
}

.login-brand h1 {
    margin: 0 0 6px;
    font-size: 1.35rem;
}

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

.hover-clip {
    display: inline-block;
    max-width: 280px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: bottom;
}

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

.login-form label {
    display: grid;
    gap: 8px;
    color: var(--muted);
    font-size: 0.92rem;
}

.login-form input {
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(23, 36, 45, 0.12);
    padding: 0 12px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.88);
}

.login-error {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 12px;
    color: #8a251f;
    background: rgba(226, 86, 71, 0.12);
    border: 1px solid rgba(226, 86, 71, 0.2);
}

.hero-panel,
.panel,
.detail-hero {
    background: var(--panel);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.75);
    box-shadow: var(--shadow);
    border-radius: var(--radius-xl);
}

.hero-panel {
    padding: 28px;
    display: grid;
    gap: 22px;
}

.hero-copy h1,
.detail-visual h1 {
    margin: 8px 0 12px;
    font-family: "Noto Serif SC", serif;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    line-height: 1.18;
}

.hero-copy p,
.panel-head p,
.block-head p,
.empty-panel p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(11, 138, 122, 0.1);
    color: var(--brand-deep);
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-metrics,
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
}

.metric-card,
.stat-card {
    padding: 18px;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(250, 244, 235, 0.95));
    border: 1px solid rgba(23, 36, 45, 0.08);
}

.metric-card span,
.stat-card span,
.quick-grid span {
    display: block;
    color: var(--muted);
    font-size: 0.86rem;
}

.metric-card strong,
.stat-card strong,
.quick-grid strong {
    display: block;
    margin-top: 10px;
    font-size: 1.55rem;
    line-height: 1.15;
}

.panel {
    padding: 24px;
}

.panel-head,
.block-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 18px;
    margin-bottom: 18px;
}

.panel-head.compact {
    margin-bottom: 12px;
}

.panel-head h2,
.block-head h3,
.metric-section h3 {
    margin: 0 0 6px;
    font-size: 1.15rem;
}

.profile-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 18px;
    padding: 6px;
    border-radius: var(--radius-md);
    background: rgba(255, 250, 242, 0.72);
    border: 1px solid rgba(23, 36, 45, 0.08);
}

.profile-tab {
    min-width: 180px;
    display: grid;
    gap: 3px;
    padding: 11px 14px;
    border-radius: 10px;
    color: var(--muted);
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.profile-tab:hover {
    color: var(--brand-deep);
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(11, 138, 122, 0.18);
}

.profile-tab.active {
    color: #fff;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
    box-shadow: 0 10px 22px rgba(11, 100, 89, 0.18);
}

.profile-tab span {
    font-weight: 700;
}

.profile-tab small {
    font-size: 0.78rem;
    opacity: 0.78;
}

.filters {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    padding: 18px;
    border-radius: var(--radius-lg);
    background: rgba(255, 250, 242, 0.75);
    border: 1px solid rgba(23, 36, 45, 0.08);
    margin-bottom: 18px;
}

.field {
    display: grid;
    gap: 8px;
}

.field span {
    font-size: 0.86rem;
    color: var(--muted);
}

.field input,
.field select {
    width: 100%;
    border: 1px solid rgba(23, 36, 45, 0.12);
    border-radius: 14px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--ink);
    font: inherit;
}

.multi-person-select {
    position: relative;
}

.multi-person-select select[hidden] {
    display: none;
}

.multi-person-trigger {
    width: 100%;
    min-height: 46px;
    border: 1px solid rgba(23, 36, 45, 0.12);
    border-radius: 14px;
    padding: 12px 42px 12px 14px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--ink);
    font: inherit;
    text-align: left;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.multi-person-trigger::after {
    content: "";
    position: absolute;
    right: 16px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--muted);
    border-bottom: 2px solid var(--muted);
    transform: translateY(-65%) rotate(45deg);
}

.multi-person-select.open .multi-person-trigger::after {
    transform: translateY(-35%) rotate(225deg);
}

.multi-person-menu {
    display: none;
    position: absolute;
    z-index: 20;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    max-height: 260px;
    overflow: auto;
    padding: 8px;
    border: 1px solid rgba(23, 36, 45, 0.12);
    border-radius: 14px;
    background: #fffdfa;
    box-shadow: 0 18px 40px rgba(37, 51, 61, 0.18);
}

.multi-person-select.open .multi-person-menu {
    display: grid;
    gap: 4px;
}

.multi-person-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 10px;
    color: var(--ink);
    cursor: pointer;
}

.multi-person-option:hover {
    background: rgba(11, 138, 122, 0.08);
}

.multi-person-option input {
    width: 16px;
    height: 16px;
    accent-color: var(--brand);
}

.multi-person-option span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--ink);
    font-size: 0.95rem;
}

.multi-person-empty {
    padding: 10px;
    color: var(--muted);
    font-size: 0.9rem;
}

.filter-actions {
    display: flex;
    align-items: end;
    gap: 10px;
}

.filters-recording {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.commission-filters {
    grid-template-columns: 1fr 1fr 1fr auto;
}

.my-commission-filters {
    grid-template-columns: 1fr 1fr 1fr auto;
}

.btn-muted-primary {
    background: #0f766e;
    border-color: #0f766e;
}

.operation-config-filters {
    grid-template-columns: 150px 170px minmax(200px, 1fr) 140px 140px 100px auto;
}

.package-filter-form {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: end;
}

.package-filter-actions {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding-top: 2px;
}

.package-filter-primary-actions,
.package-merge-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

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

.rules-config {
    display: grid;
    gap: 16px;
}

.rule-config-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.rule-text-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.rule-text-grid textarea {
    min-height: 150px;
    resize: vertical;
    line-height: 1.5;
}

.rule-grid article {
    padding: 16px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(23, 36, 45, 0.08);
}

.rule-grid h3,
.split-grid h3 {
    margin: 0 0 8px;
    font-size: 1rem;
}

.rule-grid p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
    font-size: 0.92rem;
}

.commission-summary .stat-card strong {
    font-size: 1.35rem;
}

.commission-table th,
.commission-table td {
    min-width: 104px;
}

.commission-table th:nth-child(11),
.commission-table td:nth-child(11) {
    min-width: 170px;
}

.commission-person-row td {
    vertical-align: middle;
}

.commission-detail-row td {
    padding: 0;
    background: rgba(248, 250, 251, 0.78);
}

.commission-detail-list {
    display: grid;
    gap: 10px;
    padding: 12px;
}

.commission-detail-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    padding: 2px 0 4px;
}

.detail-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid rgba(23, 36, 45, 0.12);
    background: rgba(255, 255, 255, 0.9);
    color: var(--muted);
    font-weight: 650;
    cursor: pointer;
}

.detail-filter-chip span {
    min-width: 20px;
    padding: 2px 6px;
    border-radius: 999px;
    background: rgba(23, 36, 45, 0.08);
    color: var(--ink);
    font-size: 0.78rem;
}

.detail-filter-chip.active {
    border-color: rgba(11, 138, 122, 0.36);
    background: rgba(11, 138, 122, 0.11);
    color: #06695f;
}

.commission-detail-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 160px;
    gap: 12px;
    padding: 12px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid rgba(23, 36, 45, 0.08);
}

.commission-detail-item[hidden],
.commission-detail-empty[hidden] {
    display: none !important;
}

.commission-detail-empty {
    padding: 16px;
    border-radius: 10px;
    background: #fff;
    color: var(--muted);
    text-align: center;
    border: 1px dashed rgba(23, 36, 45, 0.16);
}

.commission-detail-item strong,
.commission-detail-item span,
.source-block b,
.source-block span {
    display: block;
}

.commission-detail-item span,
.source-block span {
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.55;
}

.commission-detail-money {
    text-align: right;
}

.negative-money {
    color: #b42318;
    font-weight: 700;
}

.btn-small {
    padding: 7px 10px;
    min-height: 32px;
    font-size: 0.86rem;
}

.row-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.manual-match-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    align-items: end;
    margin: 8px 0 16px;
}

.manual-match-form .manual-match-remark {
    grid-column: 1 / -1;
}

.manual-match-form .btn {
    justify-self: start;
}

.empty-cell,
.mini-empty {
    color: var(--muted);
    text-align: center;
    padding: 18px;
}

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

.match-help {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.match-help article {
    padding: 12px;
    border-radius: 10px;
    background: rgba(248, 250, 251, 0.86);
    border: 1px solid rgba(23, 36, 45, 0.08);
}

.match-help strong,
.match-help span {
    display: block;
}

.match-help strong {
    margin-bottom: 6px;
}

.match-help span {
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.6;
}

.compact-list {
    display: grid;
    gap: 10px;
}

.compact-item {
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(23, 36, 45, 0.08);
}

.compact-item strong,
.compact-item span {
    display: block;
}

.compact-item strong {
    margin-bottom: 6px;
}

.compact-item span {
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.55;
}

.source-block {
    margin-top: 8px;
    padding: 10px;
    border-radius: 10px;
    background: rgba(248, 250, 251, 0.9);
    border: 1px solid rgba(23, 36, 45, 0.08);
}

.source-block b {
    margin-bottom: 5px;
}

.my-commission-results {
    display: grid;
    gap: 14px;
}

.my-commission-card {
    display: grid;
    gap: 12px;
    padding: 16px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(23, 36, 45, 0.08);
}

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

.my-commission-card h3 {
    margin: 0 0 4px;
    font-size: 1.05rem;
}

.my-commission-card-head span,
.my-commission-inline span,
.my-commission-details summary {
    color: var(--muted);
    font-size: 0.9rem;
}

.my-commission-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.my-commission-inline span {
    padding: 7px 10px;
    border-radius: 8px;
    background: rgba(248, 250, 251, 0.92);
    border: 1px solid rgba(23, 36, 45, 0.08);
}

.my-commission-details summary {
    cursor: pointer;
    font-weight: 700;
}

.download-tool {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) auto auto;
    gap: 14px;
    align-items: end;
    padding: 18px;
    margin-bottom: 18px;
    border-radius: var(--radius-lg);
    background: rgba(255, 250, 242, 0.75);
    border: 1px solid rgba(23, 36, 45, 0.08);
}

.download-dir-field {
    min-width: 0;
}

.check-field {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 0;
    color: var(--muted);
    font-size: 0.9rem;
    white-space: nowrap;
}

.check-field input {
    width: 16px;
    height: 16px;
}

.download-status {
    grid-column: 1 / -1;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.6;
    word-break: break-all;
}

.account-grid {
    display: grid;
    gap: 16px;
}

.account-card {
    padding: 18px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(23, 36, 45, 0.08);
}

.account-card-head,
.account-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.account-card h3 {
    margin: 0 0 6px;
}

.account-card p {
    margin: 0;
    color: var(--muted);
}

.account-badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 0.86rem;
    font-weight: 600;
    background: rgba(111, 127, 135, 0.12);
    color: var(--muted);
}

.account-valid {
    color: var(--brand-deep);
    background: rgba(11, 138, 122, 0.12);
}

.account-expiring {
    color: #8f5d00;
    background: rgba(242, 184, 75, 0.24);
}

.account-expired,
.account-missing,
.account-invalid {
    color: #8e2f2f;
    background: rgba(184, 71, 71, 0.1);
}

.account-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 16px 0;
}

.account-meta div {
    padding: 12px;
    border-radius: 14px;
    background: rgba(248, 242, 233, 0.72);
}

.account-meta span {
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 0.82rem;
}

.account-meta strong {
    word-break: break-all;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 12px 16px;
    border-radius: 999px;
    font-weight: 600;
    border: 0;
    cursor: pointer;
}

.btn:disabled {
    cursor: not-allowed;
    opacity: 0.62;
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
    color: #fff;
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.85);
    color: var(--ink);
    border: 1px solid rgba(23, 36, 45, 0.12);
}

.btn-small {
    padding: 9px 14px;
    font-size: 0.9rem;
}

.table-like-head {
    display: grid;
    grid-template-columns: 2.1fr 0.95fr 1fr 0.7fr 1.2fr 0.6fr;
    gap: 18px;
    padding: 0 10px 12px;
    color: var(--muted);
    font-size: 0.86rem;
}

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

.room-row {
    display: grid;
    grid-template-columns: 2.1fr 0.95fr 1fr 0.7fr 1.2fr 0.6fr;
    gap: 18px;
    align-items: center;
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(23, 36, 45, 0.08);
}

.room-main {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.cover-thumb {
    width: 112px;
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(11, 138, 122, 0.18), rgba(242, 184, 75, 0.2));
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.room-copy {
    min-width: 0;
}

.room-copy h3 {
    margin: 8px 0 6px;
    font-size: 1.02rem;
    line-height: 1.45;
}

.room-copy p {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.row-meta,
.hero-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.hero-meta.right {
    justify-content: flex-end;
}

.room-id,
.hero-meta span,
.snapshot-meta,
.cell-sub {
    color: var(--muted);
    font-size: 0.84rem;
}

.status {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-live {
    color: #06695f;
    background: rgba(11, 138, 122, 0.16);
}

.status-waiting {
    color: #8f5d00;
    background: rgba(242, 184, 75, 0.24);
}

.status-ended {
    color: #6f7f87;
    background: rgba(111, 127, 135, 0.12);
}

.room-time strong,
.room-sync strong,
.room-count strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1rem;
}

.room-time span,
.room-sync span,
.room-count span {
    color: var(--muted);
    font-size: 0.9rem;
}

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

.quick-grid strong {
    margin-top: 4px;
    font-size: 1.05rem;
}

.room-action {
    display: flex;
    justify-content: flex-end;
}

.empty-state-inline strong {
    display: block;
    margin-bottom: 6px;
}

.empty-state-inline span {
    color: var(--muted);
    font-size: 0.88rem;
}

.pager-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.pager-summary {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 0.92rem;
}

.pager-size-form label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 0.92rem;
}

.pager-size-form select {
    height: 36px;
    min-width: 76px;
    border-radius: 10px;
    border: 1px solid rgba(23, 36, 45, 0.12);
    background: rgba(255, 255, 255, 0.86);
    color: var(--ink);
    padding: 0 10px;
}

.pager {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 0;
}

.pager-link {
    padding: 9px 13px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(23, 36, 45, 0.08);
    color: var(--muted);
}

.pager-link.active {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
    border-color: transparent;
    color: #fff;
}

.detail-hero {
    padding: 24px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--brand-deep);
    font-weight: 600;
}

.detail-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.75fr) minmax(320px, 0.9fr);
    gap: 18px;
}

.detail-visual {
    min-height: 320px;
    border-radius: 26px;
    background:
        linear-gradient(140deg, rgba(11, 138, 122, 0.18), rgba(242, 184, 75, 0.22)),
        #dde9e6;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    position: relative;
}

.visual-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 10px;
    padding: 28px;
    background: linear-gradient(180deg, rgba(6, 13, 18, 0.04), rgba(6, 13, 18, 0.65));
    color: #fff;
}

.visual-overlay p,
.visual-overlay .hero-meta span {
    color: rgba(255, 255, 255, 0.82);
}

.session-panel {
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 12px;
    padding: 20px;
    border-radius: 26px;
    background: rgba(255, 250, 242, 0.9);
    border: 1px solid rgba(23, 36, 45, 0.08);
}

.session-list {
    display: grid;
    gap: 10px;
    max-height: 420px;
    overflow: auto;
    padding-right: 4px;
}

.session-card {
    display: grid;
    gap: 6px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(23, 36, 45, 0.08);
}

.session-card.active {
    border-color: rgba(11, 138, 122, 0.38);
    background: linear-gradient(180deg, rgba(11, 138, 122, 0.1), rgba(255, 255, 255, 0.95));
}

.empty-panel {
    padding: 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.78);
}

.metric-section + .metric-section {
    margin-top: 20px;
}

.section-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.tab-chip {
    appearance: none;
    border: 1px solid rgba(23, 36, 45, 0.08);
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.8);
    color: var(--muted);
    font-weight: 600;
    font: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tab-chip:hover {
    transform: translateY(-1px);
    border-color: rgba(11, 138, 122, 0.24);
}

.tab-chip.active {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
}

.link-button {
    appearance: none;
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--brand-deep);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    text-align: left;
}

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

.course-rate-matrix-shell {
    margin-top: 14px;
}

.course-rate-matrix {
    min-width: 1280px;
    border-collapse: collapse;
}

.course-rate-matrix th,
.course-rate-matrix td {
    white-space: normal;
    line-height: 1.5;
    border: 1px solid rgba(23, 36, 45, 0.24);
    vertical-align: middle;
}

.course-rate-matrix thead th {
    text-align: center;
    background: rgba(11, 138, 122, 0.1);
    color: var(--ink);
    font-weight: 700;
}

.course-rate-matrix thead tr:first-child th:nth-child(4),
.course-rate-matrix thead tr:first-child th:nth-child(5),
.course-rate-matrix thead tr:first-child th:nth-child(6),
.course-rate-matrix tbody td:nth-child(4),
.course-rate-matrix tbody td:nth-child(6),
.course-rate-matrix tbody td:nth-child(8) {
    border-left-width: 2px;
    border-left-color: rgba(11, 138, 122, 0.48);
}

.course-rate-matrix tbody td:nth-child(5),
.course-rate-matrix tbody td:nth-child(7),
.course-rate-matrix tbody td:nth-child(9) {
    min-width: 220px;
}

.editable-course-rate-matrix .matrix-input {
    width: 100%;
    min-width: 96px;
    border: 1px solid rgba(23, 36, 45, 0.12);
    border-radius: 8px;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--ink);
    font: inherit;
}

.editable-course-rate-matrix td {
    vertical-align: middle;
}

.data-block + .data-block {
    margin-top: 28px;
}

.tab-panel {
    display: none;
}

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

.table-shell {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: auto;
    border-radius: 20px;
    border: 1px solid rgba(23, 36, 45, 0.08);
    background: rgba(255, 255, 255, 0.76);
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 860px;
}

thead th {
    padding: 14px 16px;
    text-align: left;
    font-size: 0.85rem;
    color: var(--muted);
    background: rgba(245, 236, 221, 0.8);
}

tbody td {
    padding: 16px;
    border-top: 1px solid rgba(23, 36, 45, 0.06);
    vertical-align: top;
}

.table-empty {
    color: var(--muted);
    text-align: center;
    padding: 28px;
}

.comment-cell {
    max-width: 520px;
    line-height: 1.6;
    white-space: pre-wrap;
    word-break: break-word;
}

.recording-inline {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.recording-inline-cover {
    width: 80px;
    height: 80px;
    border-radius: 18px;
    flex-shrink: 0;
    background:
        linear-gradient(135deg, rgba(11, 138, 122, 0.18), rgba(242, 184, 75, 0.2)),
        #dde9e6;
    background-size: cover;
    background-position: center;
}

.action-stack,
.recording-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.action-stack {
    flex-direction: column;
    align-items: flex-start;
}

.operation-config-shell table {
    min-width: 1760px;
}

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

.operation-config-card {
    display: grid;
    grid-template-columns: minmax(280px, 1.05fr) minmax(520px, 1.8fr) minmax(260px, 0.85fr);
    gap: 18px;
    align-items: stretch;
    padding: 16px;
    border: 1px solid rgba(23, 36, 45, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.78);
}

.operation-session,
.operation-config-fields,
.operation-settlement {
    min-width: 0;
}

.operation-session {
    display: grid;
    gap: 12px;
    align-content: start;
}

.session-title-line {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
}

.session-title-line strong {
    min-width: 0;
    line-height: 1.45;
    word-break: break-word;
}

.session-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 12px;
    color: var(--muted);
    font-size: 0.82rem;
}

.session-meta-grid span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.session-metrics-inline {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.session-metrics-inline div {
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(11, 138, 122, 0.08);
}

.session-metrics-inline span {
    display: block;
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 0.78rem;
}

.session-metrics-inline strong {
    font-size: 1rem;
}

.operation-config-fields {
    display: grid;
    grid-template-columns: repeat(3, minmax(132px, 1fr));
    gap: 12px;
}

.operation-settlement {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    align-content: start;
}

.operation-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.operation-config-card .config-input,
.operation-config-card .config-money,
.operation-config-card .config-remark {
    width: 100%;
}

.operation-config-card .config-input-multi {
    width: 100%;
    height: 104px;
}

.operation-config-card .compact-check {
    margin: 0;
    min-height: 38px;
}

.operation-config-table th,
.operation-config-table td {
    padding: 12px;
}

.operation-config-table .session-main-cell {
    width: 300px;
}

.config-input {
    width: 130px;
    min-height: 38px;
    border: 1px solid rgba(23, 36, 45, 0.12);
    border-radius: 10px;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--ink);
    font: inherit;
    font-size: 0.9rem;
}

.config-input-multi {
    height: 76px;
    min-width: 140px;
    padding: 6px 8px;
}

.config-money {
    width: 120px;
}

.config-remark {
    width: 180px;
}

.compact-check {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    color: var(--ink);
    font-size: 0.9rem;
}

.compact-check input {
    width: 16px;
    height: 16px;
    accent-color: var(--brand);
}

.config-state {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    border-radius: 999px;
    padding: 3px 9px;
    font-size: 0.78rem;
    font-weight: 700;
}

.config-state.configured {
    color: #056255;
    background: rgba(11, 138, 122, 0.12);
}

.config-state.missing {
    color: #9a5a00;
    background: rgba(242, 184, 75, 0.18);
}

.recording-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.recording-card {
    padding: 20px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(23, 36, 45, 0.08);
    display: grid;
    gap: 16px;
}

.recording-card-highlight {
    border-color: rgba(11, 138, 122, 0.34);
    box-shadow: 0 14px 34px rgba(10, 100, 89, 0.08);
}

.recording-card-head {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.recording-cover {
    width: 96px;
    height: 96px;
    border-radius: 20px;
    flex-shrink: 0;
    background:
        linear-gradient(135deg, rgba(11, 138, 122, 0.18), rgba(242, 184, 75, 0.2)),
        #dde9e6;
    background-size: cover;
    background-position: center;
}

.recording-copy {
    min-width: 0;
}

.recording-copy h3 {
    margin: 10px 0 8px;
    font-size: 1.02rem;
    line-height: 1.45;
}

.recording-copy p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.recording-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.recording-meta-grid div {
    padding: 12px 14px;
    border-radius: 18px;
    background: rgba(248, 242, 233, 0.72);
    border: 1px solid rgba(23, 36, 45, 0.06);
}

.recording-meta-grid span {
    display: block;
    color: var(--muted);
    font-size: 0.82rem;
}

.recording-meta-grid strong {
    display: block;
    margin-top: 8px;
    font-size: 1rem;
}

.chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
}

.chip-soft {
    color: var(--brand-deep);
    background: rgba(11, 138, 122, 0.1);
}

.report-tool-filters {
    grid-template-columns: 1.3fr 0.9fr 0.9fr 0.8fr 0.9fr 1.2fr;
    align-items: end;
}

.youzan-order-filters {
    grid-template-columns: 1.4fr 0.8fr 0.75fr 0.7fr 0.7fr auto;
    align-items: end;
}

.live-report-filters {
    grid-template-columns: 1.4fr 0.9fr 0.9fr 0.9fr 0.9fr 0.9fr 0.7fr 0.8fr auto;
    align-items: end;
}

.live-report-actions {
    align-items: end;
}

.permission-form {
    grid-template-columns: 1fr 1fr 0.7fr 1.4fr auto;
    align-items: end;
}

.permission-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.permission-tabs label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(23, 36, 45, 0.08);
    color: var(--ink);
}

.permission-tabs input {
    accent-color: var(--brand);
}

.youzan-order-table table {
    min-width: 1320px;
}

.live-report-table table {
    min-width: 0;
    table-layout: fixed;
}

.live-report-table .report-preview-table th,
.live-report-table .report-preview-table td,
.live-report-table th,
.live-report-table td {
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.live-report-table th:nth-child(1),
.live-report-table td:nth-child(1) {
    width: 13%;
}

.live-report-table th:nth-child(2),
.live-report-table td:nth-child(2) {
    width: 9%;
}

.live-report-table th:nth-child(3),
.live-report-table td:nth-child(3) {
    width: 11%;
}

.live-report-table th:nth-child(4),
.live-report-table td:nth-child(4) {
    width: 11%;
}

.live-report-table th:nth-child(5),
.live-report-table td:nth-child(5) {
    width: 16%;
}

.live-report-table th:nth-child(6),
.live-report-table td:nth-child(6) {
    width: 17%;
}

.live-report-table th:nth-child(7),
.live-report-table td:nth-child(7) {
    width: 12%;
}

.live-report-table th:nth-child(8),
.live-report-table td:nth-child(8) {
    width: 11%;
}

.live-report-table .cell-sub {
    margin-top: 4px;
    line-height: 1.45;
    min-width: 0;
}

.live-report-table strong {
    display: block;
    min-width: 0;
}

.live-report-clip {
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: bottom;
    white-space: nowrap;
}

.live-report-remark {
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.55;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap !important;
}

.youzan-goods-cell {
    max-width: 340px;
}

.youzan-goods-cell strong,
.youzan-goods-cell .cell-sub {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.field-span-2 {
    grid-column: span 2;
}

.report-tool-actions {
    grid-column: 1 / -1;
    flex-wrap: wrap;
}

.group-members-panel {
    grid-column: 1 / -1;
    display: grid;
    gap: 12px;
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(23, 36, 45, 0.08);
}

.group-members-title {
    color: var(--muted);
    font-size: 0.86rem;
}

.group-members-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.group-members-card {
    display: grid;
    gap: 10px;
    padding: 14px;
    border-radius: 16px;
    background: rgba(255, 250, 242, 0.82);
    border: 1px solid rgba(23, 36, 45, 0.08);
}

.group-members-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.group-members-head strong {
    font-size: 0.98rem;
}

.group-members-head span {
    color: var(--muted);
    font-size: 0.82rem;
    white-space: nowrap;
}

.group-members-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.group-members-list span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 10px;
    border-radius: 999px;
    color: var(--brand-deep);
    background: rgba(11, 138, 122, 0.1);
    font-size: 0.88rem;
    line-height: 1.2;
}

.tool-status {
    margin: 18px 0;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(23, 36, 45, 0.08);
    background: rgba(255, 250, 242, 0.9);
}

.tool-status.info {
    color: var(--ink);
}

.tool-status.success {
    color: var(--brand-deep);
    background: rgba(11, 138, 122, 0.08);
    border-color: rgba(11, 138, 122, 0.18);
}

.tool-status.error {
    color: #8e2f2f;
    background: rgba(184, 71, 71, 0.08);
    border-color: rgba(184, 71, 71, 0.18);
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 20;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(23, 36, 45, 0.34);
}

.modal-backdrop[hidden],
.text-modal-actions [hidden] {
    display: none;
}

.text-modal {
    width: min(880px, 100%);
    max-height: min(760px, calc(100vh - 48px));
    display: grid;
    grid-template-rows: auto minmax(320px, 1fr);
    gap: 14px;
    padding: 20px;
    border-radius: 20px;
    background: var(--panel-strong);
    border: 1px solid rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow);
}

.text-modal-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
}

.text-modal-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.text-modal-head h3 {
    margin: 0 0 6px;
}

.text-modal-head p {
    margin: 0;
    color: var(--muted);
}

.text-modal textarea {
    width: 100%;
    min-height: 320px;
    resize: vertical;
    border: 1px solid rgba(23, 36, 45, 0.12);
    border-radius: 14px;
    padding: 14px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.92);
    font: 0.94rem/1.7 "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

.adjustment-modal {
    width: min(560px, 100%);
    grid-template-rows: auto auto;
}

.adjustment-fields {
    display: grid;
    gap: 14px;
}

.adjustment-fields textarea {
    width: 100%;
    min-height: 110px;
}

.summary-send-sections {
    display: grid;
    gap: 14px;
    overflow: auto;
    padding-right: 4px;
}

.summary-send-section {
    display: grid;
    gap: 8px;
}

.summary-send-section-title {
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 600;
}

.summary-send-section textarea {
    min-height: 260px;
}

.report-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 18px;
}

.report-paths {
    display: grid;
    gap: 10px;
    margin-bottom: 18px;
    padding: 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(23, 36, 45, 0.08);
    word-break: break-all;
}

.report-preview-table td,
.report-preview-table th {
    white-space: nowrap;
}

@media (max-width: 1180px) {
    .topbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .brand-lockup,
    .topnav {
        width: 100%;
    }

    .topnav {
        justify-content: space-between;
    }

    .filters,
    .download-tool,
    .room-row,
    .table-like-head,
    .detail-hero-grid,
    .group-members-grid {
        grid-template-columns: 1fr;
    }

    .room-action {
        justify-content: flex-start;
    }

    .table-like-head {
        display: none;
    }

    .operation-config-card {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 760px) {
    .topbar {
        align-items: flex-start;
    }

    .brand-lockup {
        flex-basis: auto;
        min-width: 0;
    }

    .topnav {
        align-items: flex-start;
        flex-direction: column;
    }

    .topnav-links {
        width: 100%;
        flex-wrap: wrap;
    }

    .topnav-menu {
        left: 0;
        right: auto;
    }

    .topnav-tools {
        border-left: 0;
        padding-left: 0;
    }

    .page-shell {
        width: min(100vw - 18px, 100%);
        margin-top: 18px;
    }

    .hero-panel,
    .panel,
    .detail-hero {
        padding: 18px;
        border-radius: 22px;
    }

    .operation-config-fields,
    .session-meta-grid,
    .session-metrics-inline {
        grid-template-columns: 1fr;
    }

    .cover-thumb {
        width: 84px;
        border-radius: 16px;
    }

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

    .recording-card-head {
        flex-direction: column;
    }

    .recording-cover {
        width: 100%;
        height: 180px;
    }

    .recording-meta-grid {
        grid-template-columns: 1fr;
    }

    .account-meta {
        grid-template-columns: 1fr;
    }

    .modal-backdrop {
        padding: 12px;
    }

    .text-modal {
        max-height: calc(100vh - 24px);
    }

    .text-modal-head {
        flex-direction: column;
    }

    .action-stack,
    .recording-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .field-span-2 {
        grid-column: auto;
    }
}
