:root {
    color-scheme: light;
    --page: #f3f6f3;
    --surface: #fff;
    --ink: #162b25;
    --muted: #4c635a;
    --line: #d8e4dd;
    --sidebar: #112c25;
    --sidebar-text: #eef6ef;
    --accent: #1b6049;
    --accent-hover: #104834;
    --focus: #93440f;
    --radius: 14px;
    --sidebar-focus: #f1c68e;
    --sidebar-gradient: #163a30;
    --brand-bg: #c7e8ca;
    --brand-ink: #15392f;
    --brand-muted: #b8c9bd;
    --sidebar-link: #cad8ce;
    --sidebar-line: #527369;
    --sidebar-active: #28473e;
    --sidebar-highlight: #9dd3a8;
    --sidebar-control-line: #668e7f;
    --sidebar-icon: #b9d5c3;
    --sidebar-divider: #3c594e;
    --sidebar-account: #c1d4c7;
    --surface-shadow: #10291c0d;
    --control-line: #c5d1c7;
    --control-hover: #eaf0e9;
    --control-selected: #e2eee6;
    --input-line: #bbcbbf;
    --table-heading: #edf4ef;
    --table-heading-text: #40594b;
    --table-hover: #f6f8f3;
    --notice-line: #8ca487;
    --notice-bg: #e7eee5;
    --warning-bg: #f5ead6;
    --warning-text: #6b431b;
    --success-bg: #dcebdc;
    --success-text: #205038;
    --error-bg: #f9e5e1;
    --error-text: #862f25;
    --invalid: #902d29;
    --code-bg: #192e28;
    --code-text: #e6efe3;
    --auth-gradient: #2b5343;
    --auth-shadow: #08141045;
    --button-text: #fff;
    --page-padding: clamp(1rem, 2.5vw, 2.5rem);
    --row-padding: 0.55rem 0.85rem;
    --section-gap: 0.9rem;
    --font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-family-mono: ui-monospace, "Cascadia Code", "SFMono-Regular", Consolas, monospace;
    --font-size-small: 0.75rem;
    --font-size-body: 0.875rem;
    --font-size-heading: 1rem;
    --font-size-title: clamp(1.55rem, 2.5vw, 2rem);
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    font-family: var(--font-family);
    line-height: 1.45;
}

:root[data-appearance="dark"] {
    color-scheme: dark;
    --page: #14221d;
    --surface: #1c2e27;
    --ink: #eef5ef;
    --muted: #bbcec2;
    --line: #40584c;
    --accent: #83cda1;
    --accent-hover: #ade3be;
    --focus: #f3bd7e;
    --button-text: #14291e;
    --surface-shadow: #0003;
    --control-line: #5d756a;
    --control-hover: #2a4237;
    --control-selected: #345449;
    --input-line: #597269;
    --table-heading: #263b32;
    --table-heading-text: #c5d8cd;
    --table-hover: #243b32;
    --notice-line: #6e9f7c;
    --notice-bg: #2f4539;
    --warning-bg: #463921;
    --warning-text: #ffe0a3;
    --success-bg: #304d3b;
    --success-text: #c3efcf;
    --error-bg: #523530;
    --error-text: #ffd0c8;
    --invalid: #ffaca7;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--page);
    color: var(--ink);
    font-size: var(--font-size-body);
}

a {
    color: var(--accent);
    text-underline-offset: 0.2em;
}

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

input, select, textarea {
    font-weight: normal;
}

input::file-selector-button {
    font: inherit;
}

small, dt, thead th {
    font-size: var(--font-size-small);
}

strong, b {
    font-weight: var(--font-weight-bold);
}

pre, code, kbd, samp, .domain, .recovery-codes {
    font-family: var(--font-family-mono);
    font-size: inherit;
}

.domain, code {
    overflow-wrap: anywhere;
}

pre {
    overflow-x: auto;
}

:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 3px;
}

.sidebar :focus-visible {
    outline-color: var(--sidebar-focus);
}

.visually-hidden, .skip-link:not(:focus) {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.skip-link:focus {
    position: fixed;
    z-index: 2;
    top: 1rem;
    left: 1rem;
    padding: 0.6rem 1rem;
    background: var(--surface);
}

.panel {
    display: grid;
    min-height: 100vh;
    grid-template-columns: 235px minmax(0, 1fr);
}

.sidebar {
    position: sticky;
    top: 0;
    display: flex;
    height: 100dvh;
    flex-direction: column;
    padding: 1.65rem 1.1rem 1.1rem;
    background: linear-gradient(160deg, var(--sidebar-gradient), var(--sidebar) 55%);
    color: var(--sidebar-text);
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.25rem 0.45rem;
    color: inherit;
    font-size: var(--font-size-heading);
    font-weight: var(--font-weight-bold);
    text-decoration: none;
    white-space: nowrap;
}

.brand-mark {
    display: grid;
    width: 2.15rem;
    height: 2.15rem;
    flex: 0 0 2.15rem;
    place-items: center;
    border-radius: 0.55rem;
    background: var(--brand-bg);
}

.brand-mark::before {
    content: "";
    width: 66%;
    height: 66%;
    background: var(--brand-ink);
    mask: url("coulobre-mark.svg") center / contain no-repeat;
}

@media (forced-colors: active) {
    .brand-mark::before {
        forced-color-adjust: none;
        background: CanvasText;
    }
}

.brand-product {
    color: var(--brand-muted);
    font-weight: normal;
}

.navigation {
    display: grid;
    gap: 0.25rem;
    margin-top: 1.4rem;
}

@media (min-width: 781px) {
    .navigation {
        min-height: 0;
        align-content: start;
        overflow-y: auto;
        overscroll-behavior: contain;
        padding: 0.15rem;
        scrollbar-width: thin;
    }
}

.navigation a {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.45rem 0.65rem;
    border: 1px solid transparent;
    border-radius: 8px;
    color: var(--sidebar-link);
    text-decoration: none;
}

.navigation a:hover, .navigation a[aria-current] {
    border-color: var(--sidebar-line);
    background: var(--sidebar-active);
    color: var(--sidebar-text);
}

.navigation a[aria-current] {
    box-shadow: inset 3px 0 var(--sidebar-highlight);
    font-weight: var(--font-weight-semibold);
}

.menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 2.6rem;
    padding: 0.35rem 0.7rem;
    border: 1px solid var(--sidebar-control-line);
    border-radius: 8px;
    background: var(--sidebar-active);
    color: var(--sidebar-text);
    cursor: pointer;
    font-weight: var(--font-weight-semibold);
}

.menu-icon {
    width: 0.85rem;
    height: 0.65rem;
    border-block: 1px solid currentColor;
    background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat;
}

.menu-toggle[hidden], .navigation[hidden] {
    display: none;
}

.nav-icon,
.sidebar-icon-action svg {
    display: block;
    width: 1rem;
    height: 1rem;
    flex: 0 0 1rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6px;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nav-icon {
    color: var(--sidebar-icon);
}

.navigation a:hover .nav-icon,
.navigation a[aria-current] .nav-icon {
    color: currentColor;
}

.sidebar-account {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.55rem;
    flex: 0 0 auto;
    margin-top: auto;
    padding-top: 0.7rem;
    border-top: 1px solid var(--sidebar-divider);
}

.sidebar-account-controls {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.sidebar-identity {
    display: flex;
    flex: 1;
    align-items: center;
    gap: 0.4rem;
    min-width: 0;
    min-height: 2.2rem;
    border-radius: 6px;
    color: var(--sidebar-text);
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
}

a.sidebar-identity:hover {
    text-decoration: underline;
}

.sidebar-avatar {
    display: grid;
    width: 1.9rem;
    height: 1.9rem;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 6px;
    background: var(--brand-bg);
    color: var(--brand-ink);
}

.sidebar-account-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.panel-role-switch {
    position: relative;
}

.panel-role-switch summary {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 2.2rem;
    background: var(--sidebar-active);
    color: var(--sidebar-text);
    border: 1px solid var(--sidebar-control-line);
    border-radius: 6px;
    padding: 0.35rem 0.55rem;
    cursor: pointer;
    font-size: var(--font-size-small);
    font-weight: var(--font-weight-semibold);
    list-style: none;
}

.panel-role-switch summary::-webkit-details-marker {
    display: none;
}

.panel-role-switch summary::after {
    width: 0.45rem;
    height: 0.45rem;
    flex: 0 0 auto;
    margin-inline-start: auto;
    margin-inline-end: 0.15rem;
    border-inline-end: 1.5px solid currentColor;
    border-block-end: 1.5px solid currentColor;
    content: "";
    transform: translateY(-0.1rem) rotate(45deg);
}

.panel-role-switch[open] summary::after {
    transform: translateY(0.1rem) rotate(225deg);
}

.panel-role-options {
    position: absolute;
    z-index: 3;
    inset-block-end: calc(100% + 0.4rem);
    inset-inline-start: 0;
    display: grid;
    width: max(100%, 16rem);
    max-height: 55dvh;
    overflow-y: auto;
    padding: 0.25rem;
    border: 1px solid var(--sidebar-control-line);
    border-radius: 8px;
    background: var(--sidebar);
    box-shadow: 0 4px 14px #0004;
}

.panel-role-option {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border: 1px solid transparent;
    border-radius: 5px;
    background: transparent;
    color: var(--sidebar-text);
    text-align: start;
}

.panel-role-option:enabled {
    cursor: pointer;
}

.panel-role-option:hover:enabled,
.panel-role-option[aria-current] {
    border-color: var(--sidebar-line);
    background: var(--sidebar-active);
}

.sidebar .panel-role-option:focus-visible {
    outline-offset: -2px;
}

.panel-role-option strong,
.panel-role-option small {
    display: block;
}

.panel-role-option small {
    color: var(--sidebar-account);
}

.panel-role-current {
    color: var(--sidebar-highlight);
    font-size: var(--font-size-small);
    font-weight: var(--font-weight-semibold);
}

.sidebar-action {
    min-height: 2.2rem;
    padding: 0.3rem 0.45rem;
    border: 1px solid var(--sidebar-divider);
    border-radius: 6px;
    background: transparent;
    color: var(--sidebar-account);
    cursor: pointer;
    white-space: nowrap;
}

.sidebar-action:hover {
    border-color: var(--sidebar-control-line);
    background: var(--sidebar-active);
    color: var(--sidebar-text);
}

.sidebar-icon-action {
    display: grid;
    width: 2.2rem;
    padding: 0;
    place-items: center;
}

.appearance-control {
    min-width: 2.2rem;
    font-size: var(--font-size-heading);
}

.main {
    width: 100%;
    max-width: 1680px;
    padding: var(--page-padding);
}

.page-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.page-heading > div {
    min-width: 0;
}

.page-heading > .button {
    flex: 0 0 auto;
    margin-top: 0.2rem;
}

h1, h2, h3, h4, h5, h6, p, dl {
    margin: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-bold);
    line-height: 1.25;
}

h1 {
    overflow-wrap: anywhere;
    font-size: var(--font-size-title);
    letter-spacing: -0.03em;
}

h2 {
    font-size: var(--font-size-heading);
}

h3, h4, h5, h6 {
    font-size: var(--font-size-body);
}

.heading-meta {
    margin-top: 0.5rem;
    color: var(--muted);
}

.surface {
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: 0 3px 9px var(--surface-shadow);
}

.main > .surface + .surface {
    margin-top: var(--section-gap);
}

.live-sections {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--section-gap);
}

.button {
    display: inline-flex;
    min-height: 2.55rem;
    align-items: center;
    justify-content: center;
    padding: 0.48rem 0.82rem;
    border: 1px solid transparent;
    border-radius: 7px;
    cursor: pointer;
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
}

.primary {
    background: var(--accent);
    color: var(--button-text);
}

.primary:hover {
    background: var(--accent-hover);
}

.secondary {
    border-color: var(--control-line);
    background: var(--surface);
    color: var(--ink);
}

.secondary:hover {
    background: var(--control-hover);
}

.toolbar, .section-heading, .pagination, .form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
}

.toolbar, .section-heading, .pagination {
    padding: 1rem 1.2rem;
}

.section-heading {
    justify-content: space-between;
}

.section-text {
    margin: 0.85rem 1.2rem;
    overflow-wrap: anywhere;
}

.package-controls {
    display: grid;
    gap: 0.75rem;
}

.update-release {
    padding: 0.75rem 0.9rem;
    border: 1px solid var(--line);
    border-radius: 0.5rem;
}

.update-release > summary {
    cursor: pointer;
    font-weight: var(--font-weight-semibold);
}

.release-notes {
    max-width: 80ch;
    margin-top: 0.9rem;
}

.release-notes :is(h1, h2, h3, h4, h5, h6) {
    margin: 1rem 0 0.25rem;
}

.release-notes h1 {
    font-size: var(--font-size-heading);
    letter-spacing: normal;
}

.release-notes :is(p, ul, ol, pre, blockquote) {
    margin: 0.5rem 0;
}

.release-notes :is(ul, ol) {
    padding-inline-start: 1.35rem;
}

.release-notes pre {
    padding: 0.7rem 0.85rem;
    border-radius: 0.4rem;
    background: var(--code-bg);
    color: var(--code-text);
    white-space: pre-wrap;
}

.update-release-form {
    margin-top: 0.9rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--line);
}

.update-release-form .button {
    justify-self: start;
}

.account-toolbar {
    justify-content: space-between;
}

.account-toolbar form {
    min-width: 0;
    flex: 1 1 25rem;
}

.account-domain {
    margin-top: 0.22rem;
}

.account-heading-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.8rem;
    margin-top: 0.6rem;
    color: var(--muted);
}

.account-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
}

.account-content :target {
    scroll-margin-top: 1rem;
}

.account-navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.6rem;
    border-bottom: 1px solid var(--line);
    margin-bottom: 1.25rem;
    padding-bottom: 0.6rem;
}

.account-navigation:empty {
    display: none;
}

.account-navigation a {
    min-height: 2.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 7px;
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
}

.account-navigation a:hover {
    background: var(--control-selected);
    text-decoration: underline;
}

.workspace-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    border-bottom: 1px solid var(--line);
    margin-bottom: 1.25rem;
    padding-bottom: 0.6rem;
}

.workspace-heading > .page-heading,
.workspace-heading > .account-navigation,
.workspace-heading > .workspace-context {
    margin-bottom: 0;
}

.workspace-heading > .account-navigation {
    border: 0;
    padding-bottom: 0;
}

.pagination {
    justify-content: flex-end;
    border-top: 1px solid var(--line);
    color: var(--muted);
}

input:not([type="hidden"], [type="checkbox"], [type="radio"]),
select, textarea {
    min-width: 0;
    padding: 0.48rem 0.68rem;
    border: 1px solid var(--input-line);
    border-radius: 7px;
    background: var(--surface);
    color: var(--ink);
}

input:not([type="hidden"], [type="checkbox"], [type="radio"]), select {
    height: 2.55rem;
}

textarea {
    resize: vertical;
}

input::placeholder {
    color: var(--muted);
}

.toolbar input, .workspace-context input[type="search"] {
    width: min(100%, 20rem);
}

.quiet-link, .back-link {
    font-weight: var(--font-weight-semibold);
}

.back-link {
    display: inline-block;
    margin-bottom: 1.1rem;
}

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

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

th, td {
    padding: var(--row-padding);
    border-top: 1px solid var(--line);
    overflow-wrap: break-word;
    vertical-align: top;
}

th {
    background: var(--table-heading);
    color: var(--table-heading-text);
    font-weight: var(--font-weight-semibold);
}

tbody tr:hover {
    background: var(--table-hover);
}

.surface > .table-scroll:first-child thead tr:first-child th {
    border-top: 0;
}

.surface > .table-scroll:first-child {
    border-start-start-radius: calc(var(--radius) - 1px);
    border-start-end-radius: calc(var(--radius) - 1px);
}

.surface > .table-scroll:last-child {
    border-end-start-radius: calc(var(--radius) - 1px);
    border-end-end-radius: calc(var(--radius) - 1px);
}

.cell-date, .status {
    white-space: nowrap;
}

.record-link {
    font-weight: var(--font-weight-semibold);
}

.muted, .empty {
    color: var(--muted);
}

.empty, .notice {
    padding: 1.1rem 1.2rem;
}

.details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 1.65rem;
    margin-bottom: var(--section-gap);
    padding: 0.75rem 0.95rem;
}

.details > div {
    min-width: 0;
}

dt {
    color: var(--muted);
    font-weight: var(--font-weight-semibold);
}

dd {
    margin: 0.28rem 0 0;
    overflow-wrap: anywhere;
}

.notice {
    margin-bottom: 1.15rem;
    border-left: 3px solid var(--notice-line);
    border-radius: 0 6px 6px 0;
    background: var(--notice-bg);
}

.customer-preview, .table-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.customer-preview {
    justify-content: space-between;
    border-color: var(--focus);
    background: var(--warning-bg);
    color: var(--warning-text);
    overflow-wrap: anywhere;
}

.customer-preview p {
    margin: 0.2rem 0 0;
}

.status {
    display: inline-block;
    padding: 0.18rem 0.62rem;
    border-radius: 0.75rem;
    font-size: var(--font-size-small);
    font-weight: var(--font-weight-semibold);
}

.status::before {
    display: inline-block;
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    margin-inline-end: 0.35rem;
    vertical-align: 0.08em;
    background: currentColor;
    content: "";
}

.status.ready, .status.active {
    background: var(--success-bg);
    color: var(--success-text);
}

.status.pending, .status.suspended {
    background: var(--warning-bg);
    color: var(--warning-text);
}

.status.failed {
    background: var(--error-bg);
    color: var(--error-text);
}

.configuration {
    margin: 0;
    padding: 1.2rem;
    border-radius: 0 0 var(--radius) var(--radius);
    background: var(--code-bg);
    color: var(--code-text);
    tab-size: 4;
}

.editor-surface {
    max-width: 600px;
    padding: 1rem;
}

.editor {
    display: grid;
    gap: 1rem;
}

.editor label {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: var(--font-weight-semibold);
}

.editor input:not([type="hidden"], [type="checkbox"], [type="radio"]),
.editor select, .editor textarea {
    width: 100%;
}

.editor input:is([type="checkbox"], [type="radio"]) {
    accent-color: var(--accent);
}

.limit-control {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.limit-control input[type="number"] {
    min-width: 0;
}

.limit-control label {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin: 0;
    font-weight: inherit;
}

.welcome-email-preview {
    min-width: 0;
    overflow-wrap: anywhere;
}

.plan-field-heading {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.35rem;
}

.plan-field-heading label {
    margin-bottom: 0;
}

.field-help summary {
    display: grid;
    width: 1.5rem;
    height: 1.5rem;
    place-items: center;
    border: 1px solid var(--control-line);
    border-radius: 50%;
    color: var(--accent);
    font-size: var(--font-size-small);
    font-weight: var(--font-weight-bold);
    list-style: none;
    cursor: pointer;
}

.field-help summary::-webkit-details-marker {
    display: none;
}

.field-help summary:hover, .field-help[open] summary {
    background: var(--control-hover);
}

.field-help p {
    position: absolute;
    z-index: 1;
    inset-block-start: 100%;
    inset-inline-start: 0;
    box-sizing: border-box;
    width: min(100%, 25rem);
    margin: 0;
    padding: 0.6rem 0.75rem;
    border: 1px solid var(--control-line);
    border-radius: 0.5rem;
    background: var(--surface);
    box-shadow: 0 4px 12px var(--surface-shadow);
}

.dns-surface {
    margin-inline: 0;
    padding: 1rem;
}

.dns-editor-rows {
    display: grid;
    gap: 0.6rem;
    margin-block: 0.75rem;
}

.dns-edit-row {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 0.5rem;
    min-width: 0;
    margin: 0;
    padding: 0.65rem;
    border: 1px solid var(--line);
    border-radius: 0.5rem;
}

.dns-edit-row label { flex: 1 1 8rem; margin: 0; }
.dns-edit-row label[hidden] { display: none; }
.dns-edit-row label:has(select, input[type="number"]) { flex: 0 1 6rem; }
.dns-edit-row label:has(textarea) { flex: 2 1 12rem; }
.dns-edit-row textarea { display: block; min-height: 2.45rem; resize: vertical; }
.dns-record-table code { white-space: pre-wrap; overflow-wrap: anywhere; }

.reseller-editor fieldset {
    min-width: 0;
    padding: 0;
    border: 0;
    margin: 0;
}

.reseller-editor legend {
    margin-bottom: 0.65rem;
    font-weight: var(--font-weight-semibold);
}

.reseller-editor input[type="checkbox"] {
    width: auto;
}

.editor .errorlist {
    margin: 0;
    padding: 0 0 0 1.1rem;
    color: var(--invalid);
}

.editor [aria-invalid="true"] {
    border-color: var(--invalid);
}

.sign-in {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: 1.5rem;
    background: radial-gradient(ellipse at 25% 0%, var(--auth-gradient), var(--sidebar) 67%);
}

.sign-in-inner {
    width: min(100%, 415px);
}

.sign-in-brand {
    margin-bottom: 1.15rem;
    color: var(--sidebar-text);
}

.sign-in-card {
    padding: clamp(1.3rem, 4vw, 2rem);
    border-radius: 14px;
    background: var(--surface);
    box-shadow: 0 16px 44px var(--auth-shadow);
}

.sign-in-card h1 {
    margin-bottom: 1.25rem;
}

.authenticator-setup {
    display: grid;
    gap: 0.55rem;
    margin-block: 0.75rem 1rem;
}

.authenticator-qr {
    max-width: 100%;
    height: auto;
    justify-self: center;
}

.recovery-codes {
    width: 100%;
    margin-block: 0.75rem;
}

@media (max-width: 780px) {
    .panel {
        display: block;
    }

    .sidebar {
        position: static;
        display: grid;
        height: auto;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 0.65rem;
        padding: 0.65rem 0.75rem;
    }

    .brand-mark {
        width: 1.95rem;
        height: 1.95rem;
        flex-basis: 1.95rem;
    }

    .navigation {
        display: flex;
        flex-wrap: wrap;
        grid-column: 1 / -1;
        grid-row: 2;
        margin: 0;
    }

    .navigation a {
        min-height: 2.6rem;
        padding: 0.38rem 0.65rem;
    }

    .menu-toggle {
        grid-column: 2;
        grid-row: 1;
        align-self: center;
    }

    .sidebar-account {
        grid-column: 1 / -1;
        grid-row: 3;
        margin: 0;
        padding-top: 0.6rem;
    }

    .panel-role-options {
        inset-block-start: calc(100% + 0.4rem);
        inset-block-end: auto;
        inset-inline-start: auto;
        inset-inline-end: 0;
        max-width: calc(100vw - 1.5rem);
    }
}

@media (min-width: 520px) and (max-width: 780px) {
    .sidebar-account {
        grid-template-columns: minmax(0, 1fr) minmax(0, 14rem);
        gap: 0.65rem;
    }
}

@media (max-width: 520px) {
    .page-heading {
        flex-direction: column;
    }

    .toolbar input, .workspace-context input[type="search"] {
        width: auto;
        flex: 1 1 45%;
    }

    th, td, .toolbar, .section-heading, .pagination {
        padding-inline: 0.8rem;
    }

    .cell-date {
        display: none;
    }
}

.dns-answer {
    max-width: 38rem;
    white-space: normal;
    overflow-wrap: anywhere;
}

.dns-answer p {
    margin: 0.25rem 0;
}

.dns-instructions {
    padding: 1.2rem;
}

.dns-instructions p,
.dns-instructions ul {
    margin: 0;
}

.dns-instructions li + li {
    margin-top: 0.5rem;
}

.dns-instructions input {
    min-width: 12rem;
}

.file-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0 0 1rem;
    padding: 1rem 1.2rem 0;
    list-style: none;
}

.file-breadcrumbs li {
    overflow-wrap: anywhere;
}

.file-breadcrumbs li + li::before {
    content: "/";
    margin-right: 0.4rem;
    color: var(--muted);
}

.file-forms {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(16rem, 100%), 1fr));
    align-items: start;
    gap: 1rem;
    margin-block-end: 1.25rem;
    padding-inline: 1.2rem;
}

.file-forms form,
.file-forms input[type="file"] {
    min-width: 0;
    max-width: 100%;
}

.file-table .file-name {
    min-width: 7rem;
    max-width: 28rem;
}

.file-table th:nth-child(2),
.file-table td:nth-child(2),
.file-table .table-actions {
    white-space: nowrap;
}

.file-name {
    overflow-wrap: anywhere;
}

.theme-toggle {
    position: fixed;
    z-index: 3;
    inset: 0.65rem 0.75rem auto auto;
    width: 2.6rem;
    padding: 0;
    background: var(--surface);
    color: var(--ink);
    font-size: 1.25rem;
}

.theme-toggle[hidden] {
    display: none;
}

.sidebar-group summary {
    padding: 0.45rem 0.65rem;
    color: var(--sidebar-text);
    cursor: pointer;
}

.sidebar-group a {
    margin-inline-start: 0.6rem;
}

[data-account-section][hidden] {
    display: none;
}

.account-navigation [aria-current] {
    border-bottom: 2px solid var(--accent);
    color: var(--ink);
    font-weight: var(--font-weight-bold);
}

.account-readiness {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.65rem;
    padding: 0.75rem 0.95rem;
}

@media (min-width: 781px) {
    .main {
        padding-inline-end: max(var(--page-padding), 3.7rem);
    }
}

.workspace-context {
    margin-bottom: var(--section-gap);
}

.workspace-context select {
    max-width: 100%;
}

.workspace-list {
    margin: 0;
    padding: 1rem 1.2rem 1rem 2.3rem;
}

.workspace-list li + li {
    margin-top: 0.4rem;
}
