:root {
    color-scheme: light;
    --canvas: #f7f7f8;
    --surface: #ffffff;
    --surface-alternate: #f4f4f6;
    --surface-raised: #fafafa;
    --secondary-nav: #f1f1f3;
    --ink: #1f1f1f;
    --ink-soft: #3b3b3b;
    --muted: #616161;
    --disabled: #8a8886;
    --line: #e1e1e1;
    --line-strong: #c8c6c4;
    --row-hover: #f2efff;
    --accent: #512bd4;
    --accent-strong: #3b1fa6;
    --accent-fill-hover: #3b1fa6;
    --accent-soft: #eee9ff;
    --success: #286a45;
    --danger: #9d322d;
    --notice-error-background: #9d322d;
    --notice-warning-background: #A65300;
    --notice-success-background: #246C43;
    --notice-info-background: #245F9E;
    --notice-subtle-background: #EEF0F2;
    --notice-subtle-foreground: #4F5964;
    --notice-foreground: #ffffff;
    --focus: #6b4eff;
    --radius-small: 4px;
    --radius-medium: 8px;
    --shadow-card: 0 1px 2px rgb(0 0 0 / 6%);
    --page-gutter: 24px;
    --cell-padding: 16px;
    --record-columns: repeat(3, minmax(0, 1fr));
    --control-height: 48px;
    --control-height-compact: 36px;
    --control-radius: 12px;
    --checkbox-size: 24px;
    --checkbox-radius: 6px;
    font-family: "Segoe UI", sans-serif;
}

.notice {
    --notice-background: var(--notice-info-background);
    --notice-text: var(--notice-foreground);
    color: var(--notice-text);
    background: var(--notice-background);
    border-radius: var(--radius-small);
    padding: 11px 14px;
    overflow-wrap: anywhere;
}

.page-root > .notice {
    margin: 16px var(--page-gutter);
}

.notice-error { --notice-background: var(--notice-error-background); }
.notice-warning { --notice-background: var(--notice-warning-background); }
.notice-success { --notice-background: var(--notice-success-background); }
.notice-info { --notice-background: var(--notice-info-background); }
.notice-subtle {
    --notice-background: var(--notice-subtle-background);
    --notice-text: var(--notice-subtle-foreground);
}

.notice a:focus-visible,
.notice button:focus-visible {
    outline-color: currentColor;
}

.notice a,
.notice a:hover,
.notice a:focus-visible,
.notice button,
.notice button:hover,
.notice button:focus-visible {
    color: inherit;
}

.registration-page {
    width: 100%;
    max-width: 400px;
    min-width: 0;
    padding: 28px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-card);
}

.registration-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.registration-logo {
    display: grid;
    width: 72px;
    height: 72px;
    flex: 0 0 auto;
    place-items: center;
    overflow: visible;
}

.registration-logo img {
    display: block;
    width: 72px;
    height: 72px;
    max-width: none;
    object-fit: contain;
}

.registration-brand h1 {
    margin: 0;
    min-width: 0;
    overflow-wrap: anywhere;
    font-size: 17px;
    font-weight: 600;
}

.registration-form { display: grid; gap: 8px; }
.registration-form label { font-weight: 700; }
.registration-form input:not([type="hidden"]) {
    width: 100%;
    min-width: 0;
    min-height: var(--control-height);
    padding: 7px 10px;
    color: var(--ink);
    background: var(--surface);
    border: 1px solid var(--line-strong);
    border-radius: var(--control-radius);
}
.registration-form input + label { margin-top: 12px; }
.registration-form button { margin-top: 16px; }
.registration-message {
    margin: 0 0 20px;
    padding: 12px;
    overflow-wrap: anywhere;
}
.registration-links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 24px 0 0; }
.registration-links a { color: var(--ink); }

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    background: var(--canvas);
}

html:has(.bottom-sheet[open]) {
    overflow: hidden;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--canvas);
    font-family: "Segoe UI", sans-serif;
    font-size: 17px;
    line-height: 1.45;
}

h1[tabindex="-1"]:focus {
    outline: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

code,
pre,
kbd,
samp {
    font-family: inherit;
    font-size: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
.table-scroll:focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: 2px;
}

h1,
h2,
p,
dl,
dd {
    margin-top: 0;
}

.page-root {
    min-width: 0;
    color: var(--ink);
    background: var(--canvas);
}

.page-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    min-height: 72px;
    padding: 16px var(--page-gutter);
    background: var(--surface);
    border-bottom: 1px solid var(--line);
}

.page-heading h1 {
    margin-bottom: 0;
    font-size: 17px;
    font-weight: 600;
}

.page-title-row,
.section-title-row {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
}

.information-tip {
    display: inline-grid;
    width: 27px;
    height: 27px;
    flex: 0 0 27px;
    place-items: center;
    color: #fff;
    background: var(--accent);
    border-radius: var(--radius-small);
    cursor: help;
}

.information-tip:focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: 2px;
}

.secondary-action,
.primary-action,
.text-action,
.table-action {
    display: inline-flex;
    min-height: var(--control-height);
    align-items: center;
    justify-content: center;
    padding: 0 13px;
    border-radius: var(--radius-small);
    cursor: pointer;
    font-weight: 650;
    text-decoration: none;
}

.secondary-action {
    color: var(--ink);
    background: var(--surface-raised);
    border: 1px solid var(--line-strong);
}

.secondary-action:hover,
.table-action:hover:not(:disabled) {
    background: var(--row-hover);
}

.primary-action {
    color: #fff;
    background: var(--accent);
    border: 1px solid var(--accent);
}

.primary-action:hover:not(:disabled) {
    background: var(--accent-fill-hover);
    border-color: var(--accent-fill-hover);
    box-shadow: 0 5px 14px color-mix(in srgb, var(--accent) 24%, transparent);
}

.primary-action:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 3px;
    box-shadow: 0 0 0 2px var(--surface);
}

.primary-action:disabled,
.table-action:disabled {
    color: var(--disabled);
    background: var(--surface-raised);
    border-color: var(--line);
    cursor: not-allowed;
}

.text-action {
    min-height: var(--control-height-compact);
    margin-left: auto;
    color: inherit;
    background: transparent;
    border: 1px solid currentColor;
}

.system-state {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 58px;
    padding: 12px 22px;
    border-bottom: 1px solid var(--notice-background);
}

.system-state span {
    color: inherit;
}

.system-state.form-message {
    margin: 0;
    border-left: 0;
}

.page-module {
    --module-background: var(--surface);
    min-width: 0;
    padding: 0 var(--page-gutter) 24px;
    background: var(--module-background);
    border-bottom: 1px solid var(--line);
}

.module-group > .page-module:nth-child(even) {
    --module-background: var(--surface-alternate);
}

.module-content {
    min-width: 0;
    border: 1px solid var(--line);
    overflow: hidden;
    border-radius: var(--radius-medium);
    background: var(--surface);
    box-shadow: var(--shadow-card);
}

.section-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 52px;
    padding: 12px 0;
    background: inherit;
}

.section-heading > div {
    display: flex;
    align-items: center;
    gap: 9px;
}

.section-heading h2 {
    margin-bottom: 0;
    font-size: 17px;
    font-weight: 700;
}

.section-heading > span {
    color: var(--muted);
    font-size: 17px;
}

.state-label {
    padding-left: 9px;
    color: var(--ink-soft);
    border-left: 3px solid var(--line-strong);
    font-size: 17px;
    font-weight: 700;
}

.state-label.is-success {
    color: var(--success);
    border-left-color: var(--success);
}

.record-grid {
    display: grid;
    grid-template-columns: var(--record-columns);
    margin: 0;
}

.record-grid > div {
    min-width: 0;
    min-height: 82px;
    padding: 16px var(--cell-padding);
    border-right: 1px solid var(--line);
}

.record-grid > div:last-child {
    border-right: 0;
}

.record-grid dt {
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 17px;
    font-weight: 700;
}

.record-grid dd {
    margin: 0;
    color: var(--ink);
    font-weight: 650;
    overflow-wrap: anywhere;
}

.record-grid.compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.record-grid.compact > div {
    min-height: 66px;
}

.record-grid.compact > div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
}

.record-grid.compact > div:nth-child(2n) {
    border-right: 0;
}

.summary-strip {
    display: grid;
    grid-template-columns: var(--record-columns);
    background: inherit;
    border-top: 1px solid var(--line);
}

.summary-strip > div {
    min-width: 0;
    min-height: 92px;
    padding: 16px var(--cell-padding);
    border-right: 1px solid var(--line);
}

.summary-strip > div:last-child {
    border-right: 0;
}

.summary-strip span,
.summary-strip strong {
    display: block;
}

.summary-strip span {
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 17px;
    font-weight: 700;
}

.summary-strip strong {
    font-family: "Segoe UI", sans-serif;
    font-size: 17px;
    font-weight: 600;
}

.summary-strip .summary-text {
    overflow: hidden;
    font-family: inherit;
    font-size: 17px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.table-scroll {
    width: 100%;
    overflow-x: auto;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-card);
}

/* Keep horizontal registry scroll inside the rounded grid, without native end buttons. */
.table-scroll::-webkit-scrollbar,
.standard-table-scroll::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.table-scroll::-webkit-scrollbar-button,
.standard-table-scroll::-webkit-scrollbar-button {
    display: none;
    width: 0;
    height: 0;
}

.table-scroll::-webkit-scrollbar-track,
.standard-table-scroll::-webkit-scrollbar-track {
    margin-inline: 14px;
    background: transparent;
    border-radius: 999px;
}

.table-scroll::-webkit-scrollbar-thumb,
.standard-table-scroll::-webkit-scrollbar-thumb {
    background: var(--line-strong);
    border-radius: 999px;
}

.table-scroll::-webkit-scrollbar-thumb:hover,
.standard-table-scroll::-webkit-scrollbar-thumb:hover {
    background: var(--muted);
}

.table-scroll::-webkit-scrollbar-corner,
.standard-table-scroll::-webkit-scrollbar-corner {
    background: transparent;
}

@supports (-moz-appearance: none) {
    .table-scroll,
    .standard-table-scroll {
        scrollbar-width: thin;
        scrollbar-color: var(--line-strong) transparent;
    }
}

.data-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
    background: var(--surface);
}

.data-table th,
.data-table td {
    padding: 11px var(--cell-padding);
    text-align: left;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}

.data-table th:last-child,
.data-table td:last-child {
    border-right: 0;
}

.data-table tbody tr:last-child td {
    border-bottom: 0;
}

.data-table th {
    color: var(--muted);
    background: var(--surface-raised);
    font-size: 17px;
    font-weight: 750;
}

.data-table tbody tr:hover,
.data-table tbody tr.is-selected {
    background: var(--row-hover);
}

.data-table tbody tr.is-selected td:first-child {
    position: relative;
}

.data-table tbody tr.is-selected td:first-child::before {
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: var(--accent);
    content: "";
}

.data-table strong,
.data-table small {
    display: block;
}

.data-table small {
    margin-top: 2px;
    color: var(--muted);
    font-size: 17px;
}

.empty-row {
    height: 92px;
    color: var(--muted);
    vertical-align: middle !important;
}

.identifier {
    font-family: "Segoe UI", sans-serif;
    font-size: 17px;
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
}

.heading-control {
    display: grid;
    min-width: 310px;
    gap: 5px;
    color: var(--muted);
    font-size: 17px;
    font-weight: 700;
}

.heading-control select,
.form-grid input:not([type="checkbox"]),
.form-grid select {
    width: 100%;
    min-width: 0;
    min-height: var(--control-height);
    padding: 0 12px;
    color: var(--ink);
    background: var(--module-background, var(--surface));
    border: 1px solid var(--line-strong);
    border-radius: var(--control-radius);
}

.section-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.session-table {
    min-width: 780px;
}

.table-action {
    min-height: var(--control-height-compact);
    padding: 0 9px;
    color: var(--ink-soft);
    background: inherit;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-small);
}

.selected-record {
    background: inherit;
}

.selected-record > header {
    min-height: 58px;
    padding: 12px var(--cell-padding);
    border-top: 1px solid var(--line);
}

.selected-record > header strong {
    display: block;
}

.registration-fields {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.form-surface {
    padding: 18px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-card);
}

.form-surface .registration-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.form-surface .registration-fields > label {
    display: grid;
    align-content: start;
    gap: 6px;
    min-width: 0;
    color: var(--ink-soft);
    font-weight: 650;
}

.form-surface input,
.form-surface select {
    width: 100%;
    min-width: 0;
    min-height: var(--control-height);
    padding: 7px 10px;
    color: var(--ink);
    background: var(--surface);
    border: 1px solid var(--line-strong);
    border-radius: var(--control-radius);
}

.form-surface .form-actions {
    grid-column: 1 / -1;
}

.service-grid,
.workspace-card-grid,
.plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: 16px;
}

.public-hero {
    padding: clamp(24px, 5vw, 52px);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-card);
}

.public-hero {
    max-width: 760px;
}

.public-section {
    min-width: 0;
}

.public-hero > p,
.public-section > p {
    max-width: 760px;
    color: var(--muted);
}

.public-section .plan-grid {
    margin-top: 28px;
}

.service-card,
.workspace-card,
.plan-card,
.empty-card {
    min-width: 0;
    padding: 18px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-card);
}

.service-card,
.workspace-card,
.plan-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.service-card h3,
.workspace-card h2,
.workspace-card h3,
.plan-card h2 {
    margin: 0;
    font-size: 17px;
}

.service-card p,
.workspace-card p,
.plan-card p,
.empty-card p {
    margin: 0;
    color: var(--muted);
}

.service-card .section-actions,
.workspace-card .section-actions,
.plan-card .section-actions {
    margin-top: auto;
    padding-top: 2px;
}

.card-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.card-heading > div {
    min-width: 0;
}

.card-icon {
    display: grid;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    place-items: center;
    color: var(--accent);
    background: var(--accent-soft);
    border: 1px solid #d9cffb;
    border-radius: var(--radius-medium);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 2px 8px;
    color: var(--accent-strong);
    background: var(--accent-soft);
    border-radius: var(--radius-small);
    font-size: 17px;
    font-weight: 650;
    white-space: nowrap;
}

.workspace-card-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
}

.workspace-card-details div {
    min-width: 0;
}

.workspace-card-details dt {
    margin-bottom: 3px;
    color: var(--muted);
    font-size: 17px;
}

.workspace-card-details dd {
    margin: 0;
    overflow-wrap: anywhere;
    font-weight: 650;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px 12px;
}

.form-grid label {
    display: grid;
    grid-template-rows: 1fr auto;
    min-width: 0;
    gap: 5px;
    color: var(--muted);
    font-size: 17px;
    font-weight: 700;
}

.form-grid .wide {
    grid-column: 1 / -1;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 17px;
    padding-top: 15px;
    border-top: 1px solid var(--line);
}

.validation-message,
.validation-errors {
    color: var(--notice-foreground);
    background: var(--notice-error-background);
    font-size: 17px;
}

.workspace-check {
    display: flex;
    width: 100%;
    min-height: var(--control-height);
    align-items: center;
    gap: 12px;
    color: var(--ink);
    font-size: 17px;
    font-weight: 650;
    cursor: pointer;
}

.workspace-check > input[type="checkbox"] {
    display: grid;
    width: var(--checkbox-size);
    height: var(--checkbox-size);
    flex: 0 0 var(--checkbox-size);
    margin: 0;
    padding: 0;
    appearance: none;
    place-content: center;
    color: var(--workspace-theme-accent-ink, #fff);
    background: var(--surface);
    border: 1px solid var(--line-strong);
    border-radius: var(--checkbox-radius);
    cursor: pointer;
}

.workspace-check > input[type="checkbox"]::before {
    color: transparent;
    content: "✓";
    font-size: 17px;
    font-weight: 800;
    line-height: 1;
}

.workspace-check > input[type="checkbox"]:checked {
    background: var(--accent);
    border-color: var(--accent);
}

.workspace-check > input[type="checkbox"]:checked::before {
    color: currentColor;
}

.workspace-check > input[type="checkbox"]:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 3px;
}

.workspace-check:has(input:disabled) {
    color: var(--disabled);
    cursor: not-allowed;
}

.workspace-check > input[type="checkbox"]:disabled {
    background: var(--surface-alternate);
    border-color: var(--line);
    cursor: not-allowed;
}

.workspace-check-large > input[type="checkbox"] {
    width: var(--control-height);
    height: var(--control-height);
    flex-basis: var(--control-height);
    border-radius: var(--control-radius);
}

.form-surface select {
    height: var(--control-height);
    padding-top: 0;
    padding-bottom: 0;
    line-height: 1.2;
    vertical-align: middle;
}

:is(.workspace-shell, .account-shell) select option,
:is(.workspace-shell, .account-shell) select optgroup {
    color: var(--ink);
    background: var(--surface);
    font-size: 17px;
}

@supports (appearance: base-select) {
    :is(.workspace-shell, .account-shell) select,
    :is(.workspace-shell, .account-shell) select::picker(select) {
        appearance: base-select;
    }

    :is(.workspace-shell, .account-shell) select {
        align-items: center;
        line-height: 1.2;
        vertical-align: middle;
    }

    :is(.workspace-shell, .account-shell) select::picker(select) {
        margin-top: 8px;
        padding: 8px;
        color: var(--ink);
        background: var(--surface);
        border: 1px solid var(--line-strong);
        border-radius: 14px;
        box-shadow: 0 18px 42px rgb(16 36 31 / 18%);
    }

    :is(.workspace-shell, .account-shell) select option,
    :is(.workspace-shell, .account-shell) select optgroup {
        min-height: 44px;
        padding: 10px 12px;
        color: var(--ink);
        background: var(--surface);
        border-radius: 10px;
        font-size: 17px;
    }

    :is(.workspace-shell, .account-shell) select option:hover,
    :is(.workspace-shell, .account-shell) select option:checked {
        color: var(--accent-strong);
        background: var(--accent-soft);
    }

    :is(.workspace-shell, .account-shell) select::picker-icon {
        align-self: center;
        color: var(--accent-strong);
        transform: rotate(0deg);
        transform-origin: 50% 50%;
        transition: transform 140ms ease;
    }

    :is(.workspace-shell, .account-shell) select:open::picker-icon {
        transform: rotate(180deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    :is(.workspace-shell, .account-shell) select::picker-icon {
        transition: none;
    }
}

.heading-control select,
.form-grid select {
    height: var(--control-height);
    padding-top: 0;
    padding-bottom: 0;
    line-height: 1.2;
    vertical-align: middle;
}

.workspace-check-large > input[type="checkbox"]::before {
    font-size: 24px;
}

.required-field,
label:has(input:required, select:required, textarea:required),
label:has(+ input:required, + select:required, + textarea:required) {
    position: relative;
}

.required-field::after,
label:has(input:required, select:required, textarea:required)::after,
label:has(+ input:required, + select:required, + textarea:required)::after {
    position: absolute;
    top: 0;
    right: 0;
    color: var(--danger);
    content: "*";
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
}

.standard-warning-mark {
    display: inline-block;
    margin-left: 6px;
    color: var(--notice-warning-background);
    font-size: 1.25em;
    font-weight: 800;
    line-height: 1;
}

.validation-message {
    padding: 8px 10px;
    border-radius: var(--control-radius);
    overflow-wrap: anywhere;
}

.field-with-validation > .validation-message {
    position: absolute;
    z-index: 20;
    inset: calc(100% + 6px) 0 auto auto;
    width: max-content;
    max-width: min(320px, 80vw);
    box-shadow: 0 8px 24px rgb(0 0 0 / 18%);
}

.field-with-validation > .validation-message::before {
    position: absolute;
    inset: -5px 14px auto auto;
    width: 10px;
    height: 10px;
    background: var(--notice-error-background);
    content: "";
    transform: rotate(45deg);
}

.field-with-validation {
    position: relative;
}

.registration-form .field-with-validation {
    display: grid;
    gap: 8px;
}

.registration-form .field-with-validation + .field-with-validation {
    margin-top: 12px;
}

.field-with-validation:focus-within {
    z-index: 21;
}

@media (max-width: 760px) {
    .field-with-validation > .validation-message {
        position: static;
        width: 100%;
        max-width: none;
        margin-top: 8px;
    }

    .field-with-validation > .validation-message::before {
        display: none;
    }
}

.validation-errors {
    margin: 0 0 14px;
    padding: 10px 12px 10px 28px;
    border-radius: var(--radius-small);
}

.invalid {
    border-color: var(--danger) !important;
}

.valid.modified {
    border-color: var(--success) !important;
}

.form-message {
    margin: 14px 0 0;
    padding: 9px 11px;
}

.blazor-error-boundary {
    padding: 12px 16px;
    color: var(--notice-foreground);
    background: var(--notice-error-background);
}

@media (max-width: 760px) {
    .page-root {
        --page-gutter: 16px;
        --cell-padding: 12px;
    }

    .page-heading {
        display: block;
        min-height: auto;
        padding: 19px var(--page-gutter);
    }

    .page-heading .secondary-action,
    .page-heading > .primary-action,
    .heading-control {
        width: 100%;
        min-width: 0;
        margin-top: 16px;
    }

    .record-grid,
    .record-grid.compact,
    .summary-strip {
        grid-template-columns: 1fr;
    }

    .record-grid > div,
    .record-grid.compact > div,
    .summary-strip > div {
        border-right: 0;
        border-top: 0;
        border-bottom: 1px solid var(--line);
    }

    .record-grid > div:last-child,
    .summary-strip > div:last-child {
        border-bottom: 0;
    }

    .record-grid.compact > div:nth-child(n + 3) {
        border-top: 0;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-surface .registration-fields,
    .workspace-card-details {
        grid-template-columns: 1fr;
    }

    .form-grid .wide {
        grid-column: auto;
    }
}
