@import url("/p/static/directory_listing.css");
@import url("/p/static/admin_controls.css");

.technical-page .authentication-card,
.technical-page .modal-content {
    border-radius: var(--theme-radius, 10px) !important;
    overflow: hidden;
}

.technical-page .authentication-card {
    padding: 24px !important;
}

.technical-page .container,
.technical-page .manager-shell,
.technical-page .analytics-page-shell {
    width: min(1180px, calc(100% - 32px));
    max-width: none;
    margin: 0 auto;
    padding: 32px 0 56px;
}

.technical-page .analytics-page-shell {
    width: min(1320px, calc(100% - 32px));
}

.technical-page .page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
    padding: 14px 18px;
    border: 1px solid var(--border-cyan);
    border-radius: var(--theme-radius);
    background: var(--panel-soft);
    backdrop-filter: blur(8px);
}

.technical-page .page-header h1,
.technical-page h1.section-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    margin: 0;
    color: var(--text);
    font-family: var(--theme-font-sans);
    font-size: clamp(24px, 3vw, 32px);
    line-height: 1.08;
}

.technical-page .page-header a,
.technical-page h1.section-heading a {
    color: var(--text);
    text-decoration: none;
}

.technical-page .page-header a:hover,
.technical-page h1.section-heading a:hover {
    color: var(--cyan);
}

.technical-page .page-header small,
.technical-page .page-header .text-muted,
.technical-page h1.section-heading .text-muted {
    min-width: 0;
    color: var(--muted) !important;
    font-family: var(--theme-font-sans);
    font-size: 15px;
    font-weight: 400;
    overflow-wrap: anywhere;
}

.technical-page .section-icon {
    width: 42px;
    height: 42px;
    padding: 7px;
    border: 1px solid var(--border-cyan);
    border-radius: var(--theme-radius);
    background: var(--panel-soft);
    object-fit: contain;
}

.technical-page .text-muted,
.technical-page .form-text,
.technical-page .hint,
.technical-page .small {
    color: var(--muted) !important;
}

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

.technical-page code,
.technical-page .copy-field {
    border: 1px solid var(--border-cyan);
    border-radius: 8px;
    background: var(--panel-soft);
    color: var(--green);
}

.technical-page .btn,
.technical-page button,
.technical-page input[type="submit"],
.technical-page .backup-download-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 38px;
    padding: 8px 12px;
    border: 1px solid transparent;
    border-radius: var(--theme-radius);
    font: inherit;
    cursor: pointer;
    text-decoration: none;
}

.technical-page .btn-primary,
.technical-page button.primary,
.technical-page input[type="submit"].btn-primary {
    border-color: var(--border-cyan);
    background: var(--border-cyan);
    color: var(--text);
}

.technical-page .btn-primary:hover,
.technical-page button.primary:hover,
.technical-page input[type="submit"].btn-primary:hover {
    border-color: var(--cyan);
    background: var(--border-cyan);
    color: var(--text);
}

.technical-page .btn-outline-secondary,
.technical-page button:not(.primary):not(.danger),
.technical-page .backup-download-link {
    border-color: var(--border-cyan);
    background: var(--panel-soft);
    color: var(--cream);
}

.technical-page .btn-outline-secondary:hover,
.technical-page button:not(.primary):not(.danger):hover,
.technical-page .backup-download-link:hover {
    border-color: var(--border-cyan);
    background: var(--panel-soft);
    color: var(--cyan);
}

.technical-page .btn-outline-danger,
.technical-page .btn-danger,
.technical-page button.danger {
    border-color: color-mix(in srgb, var(--theme-destructive) 12%, var(--panel));
    background: color-mix(in srgb, var(--theme-destructive) 12%, var(--panel));
    color: var(--theme-destructive);
}

.technical-page .btn-success {
    border-color: color-mix(in srgb, var(--green) 15%, var(--panel));
    background: color-mix(in srgb, var(--green) 15%, var(--panel));
    color: var(--green);
}

.technical-page .card,
.technical-page .bg-body-tertiary.border,
.technical-page .dns-box,
.technical-page .alias-row,
.technical-page .profile-form {
    border: 1px solid var(--border-cyan) !important;
    border-radius: var(--theme-radius) !important;
    background: var(--panel);
    color: var(--text);
    box-shadow: var(--shadow);
}

.technical-page .card-body,
.technical-page .dns-box,
.technical-page .profile-form {
    padding: 22px;
}

.technical-page .authentication-shell {
    max-width: 920px;
}

.technical-page .authentication-card {
    width: min(100%, 560px);
}

.technical-page .setup-admin-explanation {
    display: grid;
    width: min(100%, 560px);
    margin: 0 0 16px;
    padding: 16px 18px;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    border: 1px solid var(--border-orange);
    border-radius: var(--theme-radius);
    background: color-mix(in srgb, var(--theme-destructive) 12%, var(--panel));
    color: var(--text);
    font-size: 16px;
    line-height: 1.55;
}

.technical-page .setup-admin-explanation-icon {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 50%;
    background: var(--orange);
    color: var(--text);
    font-size: 20px;
    font-weight: 800;
}

.technical-page .setup-admin-explanation p {
    margin: 3px 0 0;
}

.technical-page .confirmation-card {
    gap: 4px;
}

.technical-page .confirmation-symbol {
    display: grid;
    width: 54px;
    height: 54px;
    margin-bottom: 12px;
    place-items: center;
    border: 2px solid var(--theme-primary);
    border-radius: var(--theme-radius);
    background: var(--theme-primary);
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
}

.technical-page .confirmation-addresses {
    display: grid;
    gap: 10px;
    margin: 10px 0 18px;
}

.technical-page .confirmation-addresses > div {
    display: grid;
    grid-template-columns: minmax(110px, .45fr) minmax(0, 1fr);
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid var(--border-cyan);
    border-radius: var(--theme-radius);
    background: var(--panel-soft);
}

.technical-page .confirmation-addresses dt {
    color: var(--muted);
    font-weight: 400;
}

.technical-page .confirmation-addresses dd {
    min-width: 0;
    margin: 0;
    overflow-wrap: anywhere;
    font-weight: 700;
}

.technical-page .confirmation-webmail-link {
    align-self: flex-start;
    margin-bottom: 14px;
}

.technical-page .confirmation-steps {
    display: grid;
    gap: 10px;
    margin: 6px 0 18px;
    padding-inline-start: 24px;
}

.technical-page .confirmation-retry {
    color: var(--muted);
    font-size: 14px;
}

.technical-page .table {
    --bs-table-bg: transparent;
    --bs-table-color: var(--text);
    --bs-table-hover-bg: var(--border-cyan);
    --bs-table-hover-color: var(--text);
    color: var(--text);
}

.technical-page .table thead th {
    border-bottom-color: var(--border-cyan);
    color: var(--cyan);
    font-size: 13px;
    text-transform: uppercase;
}

.technical-page .table tbody td {
    border-color: var(--border-cyan);
}

.technical-page .form-control,
.technical-page .form-select,
.technical-page input[type="text"],
.technical-page input[type="email"],
.technical-page input[type="password"],
.technical-page input[type="number"],
.technical-page input[type="date"],
.technical-page input[type="url"] {
    width: 100%;
    box-sizing: border-box;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid var(--border-cyan);
    border-radius: var(--theme-radius);
    background: var(--panel-soft);
    color: var(--text);
}

.technical-page .form-control:focus,
.technical-page .form-select:focus,
.technical-page input:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 0.2rem var(--border-cyan);
}

.technical-page .form-control::placeholder,
.technical-page input::placeholder {
    color: var(--muted);
}

.technical-page .form-select option {
    background: var(--panel);
    color: var(--text);
}

.technical-page .form-control-sm,
.technical-page .form-select-sm {
    min-height: 42px;
    padding: 9px 12px;
}

.technical-page label {
    color: var(--text);
}

.technical-page .profile-form {
    display: grid;
    gap: 14px;
    width: min(100%, 560px);
    max-width: 560px;
}

.technical-page .profile-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    width: min(100%, 1120px);
    margin-inline: auto;
}

.technical-page .profile-form-grid .profile-form {
    width: 100%;
    max-width: none;
    align-content: start;
}

.technical-page .profile-form-header {
    display: grid;
    gap: 6px;
    margin-bottom: 2px;
}

.technical-page .profile-form-header h2 {
    margin: 0;
    color: var(--text);
    font-family: var(--theme-font-sans);
    font-size: 24px;
    line-height: 1.18;
}

.technical-page .profile-form-header p {
    margin: 0;
    color: var(--muted);
    line-height: 1.45;
}

.technical-page .profile-page {
    display: grid;
    justify-items: start;
}

.technical-page .profile-page .page-header {
    width: 100%;
    box-sizing: border-box;
}

.technical-page .profile-alert {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: min(100%, 560px);
    box-sizing: border-box;
    margin: 0 0 16px;
    padding: 16px 18px;
    border-width: 1px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.technical-page .profile-alert > span {
    min-width: 0;
}

.technical-page .profile-alert.alert-success {
    border-color: color-mix(in srgb, var(--green) 15%, var(--panel));
    background: color-mix(in srgb, var(--green) 15%, var(--panel));
    color: var(--green);
}

.technical-page .profile-alert.alert-danger {
    border-color: color-mix(in srgb, var(--theme-destructive) 12%, var(--panel));
    background: color-mix(in srgb, var(--theme-destructive) 12%, var(--panel));
    color: var(--theme-destructive);
}

.technical-page .profile-delivery-link {
    flex: 0 0 auto;
    min-height: 32px;
    padding: 6px 10px;
    border-color: currentColor !important;
    background: var(--panel-soft) !important;
    color: inherit !important;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.technical-page .profile-delivery-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.technical-page .profile-delivery-modal[aria-hidden="false"] {
    display: flex;
}

.profile-delivery-modal-open {
    overflow: hidden;
}

.technical-page .profile-delivery-backdrop {
    position: absolute;
    inset: 0;
    background: rgb(15 18 22 / 60%);
    backdrop-filter: blur(8px);
}

.technical-page .profile-delivery-dialog {
    position: relative;
    width: min(720px, 100%);
    max-height: min(760px, calc(100vh - 36px));
    overflow: auto;
    padding: 22px;
    border: 1px solid var(--border-cyan);
    border-radius: var(--theme-radius);
    background: var(--panel);
    color: var(--text);
    box-shadow: var(--shadow);
    outline: none;
    scrollbar-color: var(--border-cyan) var(--panel-soft);
    scrollbar-width: thin;
}

.technical-page .profile-delivery-dialog::-webkit-scrollbar,
.technical-page .profile-delivery-log::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.technical-page .profile-delivery-dialog::-webkit-scrollbar-track,
.technical-page .profile-delivery-log::-webkit-scrollbar-track {
    border-radius: 999px;
    background: var(--panel-soft);
}

.technical-page .profile-delivery-dialog::-webkit-scrollbar-thumb,
.technical-page .profile-delivery-log::-webkit-scrollbar-thumb {
    border: 2px solid var(--panel-soft);
    border-radius: 999px;
    background: var(--border-cyan);
}

.technical-page .profile-delivery-dialog::-webkit-scrollbar-thumb:hover,
.technical-page .profile-delivery-log::-webkit-scrollbar-thumb:hover {
    background: color-mix(in srgb, var(--green) 15%, var(--panel));
}

.technical-page .profile-delivery-dialog-success {
    border-color: color-mix(in srgb, var(--green) 15%, var(--panel));
}

.technical-page .profile-delivery-dialog-danger {
    border-color: color-mix(in srgb, var(--theme-destructive) 12%, var(--panel));
}

.technical-page .profile-delivery-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.technical-page .profile-delivery-kicker {
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.technical-page .profile-delivery-header h2 {
    margin: 0;
    color: var(--text);
    font-family: var(--theme-font-sans);
    font-size: 26px;
    line-height: 1.15;
}

.technical-page .profile-delivery-close {
    width: 36px;
    min-width: 36px;
    height: 36px;
    min-height: 36px;
    padding: 0;
    border-radius: var(--theme-radius);
    font-size: 24px;
    line-height: 1;
}

.technical-page .profile-delivery-summary {
    margin: 0 0 16px;
    color: var(--text);
    line-height: 1.45;
}

.technical-page .profile-delivery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.technical-page .profile-delivery-panel {
    padding: 14px;
    border: 1px solid var(--border-cyan);
    border-radius: var(--theme-radius);
    background: var(--panel-soft);
}

.technical-page .profile-delivery-panel h3 {
    margin: 0 0 8px;
    color: var(--cyan);
    font-family: var(--theme-font-sans);
    font-size: 15px;
}

.technical-page .profile-delivery-panel p {
    margin: 0;
    color: var(--muted);
    line-height: 1.45;
}

.technical-page .profile-delivery-log {
    max-height: 220px;
    margin: 0;
    padding: 14px;
    overflow: auto;
    border: 1px solid var(--border-cyan);
    border-radius: var(--theme-radius);
    background: var(--panel-soft);
    color: var(--cream);
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    scrollbar-color: var(--border-cyan) var(--panel-soft);
    scrollbar-width: thin;
}

.technical-page .profile-delivery-dns {
    display: grid;
    gap: 10px;
    margin-bottom: 14px;
    padding: 14px;
    border: 1px solid var(--border-cyan);
    border-radius: var(--theme-radius);
    background: var(--panel-soft);
}

.technical-page .profile-delivery-dns h3 {
    margin: 0;
    color: var(--cyan);
    font-family: var(--theme-font-sans);
    font-size: 15px;
}

.technical-page .profile-delivery-dns p {
    margin: 0;
    color: var(--muted);
    line-height: 1.45;
}

.technical-page .profile-delivery-dns-record {
    display: grid;
    grid-template-columns: auto minmax(120px, 180px) minmax(0, 1fr);
    gap: 8px;
    align-items: stretch;
}

.technical-page .profile-delivery-dns-type,
.technical-page .profile-delivery-dns-field {
    display: grid;
    align-content: center;
    gap: 4px;
    min-width: 0;
    padding: 9px 10px;
    border: 1px solid var(--border-cyan);
    border-radius: 8px;
    background: var(--panel-soft);
}

.technical-page .profile-delivery-dns-type {
    color: var(--green);
    font-weight: 700;
}

.technical-page .profile-delivery-dns-field > span {
    color: var(--muted);
    font-size: 12px;
}

.technical-page .profile-delivery-dns-field code {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--cream);
    overflow-wrap: anywhere;
}

.technical-page .profile-delivery-log code {
    border: 0;
    background: transparent;
    color: inherit;
}

.technical-page .profile-send-progress {
    border-color: var(--border-cyan);
    background: var(--border-cyan);
}

.technical-page .profile-send-progress-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.technical-page .profile-send-progress-copy strong {
    color: var(--text);
    font-size: 15px;
}

.technical-page .profile-send-progress-copy span {
    color: var(--muted);
    font-size: 13px;
}

.technical-page .profile-send-countdown {
    flex: 0 0 auto;
    padding: 7px 10px;
    border: 1px solid var(--border-cyan);
    border-radius: var(--theme-radius);
    background: var(--panel-soft);
    color: var(--cyan);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
    font-size: 13px;
    white-space: nowrap;
}

.technical-page .profile-code-form {
    gap: 16px;
}

.technical-page .profile-code-form .hint {
    margin: -4px 0 2px;
    line-height: 1.45;
}

.technical-page .profile-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.technical-page .profile-form-actions .btn,
.technical-page .profile-form-actions button {
    white-space: normal;
}

.technical-page .profile-code-input {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
    font-size: 22px;
    letter-spacing: 0;
    text-align: center;
}

.technical-page .profile-blocked-card {
    width: min(100%, 560px);
    max-width: 560px;
    box-sizing: border-box;
}

.technical-page .profile-countdown-value {
    margin: 4px 0 12px;
    color: var(--text);
    font-size: 34px;
    font-weight: 700;
    line-height: 1.1;
}

.technical-page .profile-form label {
    display: grid;
    gap: 6px;
    font-weight: 700;
}

.technical-page .profile-form button[type="submit"] {
    border-color: var(--border-cyan);
    background: var(--border-cyan);
    color: var(--text);
}

.technical-page .profile-code-submit:disabled {
    border-color: var(--border-cyan);
    background: var(--panel-soft);
    color: var(--muted);
    cursor: not-allowed;
}

.technical-page .edit-mode-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 18px;
    align-items: start;
}

.technical-page .edit-mode-copy-form,
.technical-page .edit-mode-actions {
    display: grid;
    gap: 12px;
}

.technical-page .edit-mode-actions {
    justify-items: start;
}

.technical-page .backup-download-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.technical-page .backup-download-link img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.technical-page .btn img,
.technical-page button img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.technical-page .missing-page {
    width: min(980px, calc(100% - 32px));
}

.technical-page .missing-page-alert {
    max-width: 760px;
}

.technical-page .missing-page-primary-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    max-width: 760px;
    margin-bottom: 32px;
    padding: 28px;
    border: 2px solid var(--theme-primary);
    border-radius: var(--theme-radius);
    background: var(--theme-card);
    box-shadow: 0 12px 30px color-mix(in srgb, var(--theme-primary) 16%, transparent);
}

.technical-page .missing-page-primary-copy {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.technical-page .missing-page-error-code {
    width: fit-content;
    padding: 3px 8px;
    border-radius: 999px;
    background: var(--theme-accent);
    color: var(--theme-accent-foreground);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
}

.technical-page .missing-page-primary-card h2 {
    margin: 0;
    color: var(--theme-foreground);
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 650;
    letter-spacing: -.025em;
    line-height: 1.15;
}

.technical-page .missing-page-primary-card p {
    margin: 0;
    color: var(--theme-muted-foreground);
    line-height: 1.5;
}

.technical-page .missing-page-primary-card p strong {
    color: var(--theme-foreground);
    overflow-wrap: anywhere;
}

.technical-page .missing-page-create-button {
    min-height: 44px !important;
    white-space: nowrap;
    box-shadow: 0 4px 12px color-mix(in srgb, var(--theme-primary) 22%, transparent) !important;
}

.technical-page .missing-page-create-button span {
    font-size: 20px;
    line-height: 1;
}

.technical-page .missing-page-secondary-actions {
    max-width: 760px;
    padding-top: 24px;
    border-top: 1px solid var(--theme-border);
}

.technical-page .missing-page-actions {
    display: grid;
    gap: 16px;
    max-width: 760px;
}

.technical-page .missing-page-form {
    display: grid;
    gap: 16px;
    background: color-mix(in srgb, var(--theme-card) 82%, var(--theme-muted)) !important;
    box-shadow: none;
}

.technical-page .missing-page-secondary-actions .missing-page-form-title {
    color: var(--theme-muted-foreground);
}

.technical-page .missing-page-form-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.technical-page .missing-page-form-title .section-icon {
    width: 34px;
    height: 34px;
    border-radius: var(--theme-radius);
}

.technical-page .missing-page-form-title .form-label {
    margin: 0;
    font-weight: 700;
}

.technical-page .missing-page-primary-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: stretch;
}

.technical-page .missing-page-secondary-grid {
    display: grid;
    grid-template-columns: minmax(160px, 240px) minmax(160px, 220px);
    gap: 12px;
    align-items: end;
}

.technical-page .missing-page-secondary-field {
    display: grid;
    gap: 6px;
    max-width: 260px;
}

.technical-page .missing-page-secondary-field .form-label {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.25;
}

.technical-page .missing-page-source-ip-field {
    max-width: 240px;
}

.technical-page .missing-page-language-field {
    max-width: 220px;
}

.technical-page .missing-page-file-field {
    max-width: 440px;
}

.technical-page .missing-page-base-path-field {
    max-width: 280px;
}

.technical-page .missing-page-checkbox {
    display: inline-flex;
    align-items: flex-start;
    gap: 10px;
    width: fit-content;
    margin: 0;
    color: var(--text);
}

.technical-page .missing-page-checkbox .form-check-input {
    margin: 3px 0 0;
}

.technical-page .missing-page-template-option,
.technical-page .edit-mode-template-option {
  display: grid;
  gap: .4rem;
  padding-inline-start: 1.5rem;
}

.technical-page .sitebrush-template-help summary {
  width: fit-content;
  color: var(--bs-link-color);
  cursor: pointer;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: .2em;
}

.technical-page .sitebrush-template-help summary:hover,
.technical-page .sitebrush-template-help summary:focus-visible {
  color: var(--bs-link-hover-color);
  text-decoration-thickness: 2px;
  outline: 2px solid currentColor;
  outline-offset: .2rem;
}

.technical-page .sitebrush-template-help-body {
  margin-top: .5rem;
  border-inline-start: 3px solid currentColor;
  padding: .5rem .75rem;
  line-height: 1.55;
  white-space: pre-line;
}

.technical-page .sitebrush-template-help-body h3 {
  margin: 0 0 .4rem;
  font-size: 1rem;
}

.technical-page .missing-page-submit {
    justify-self: start;
}

.technical-page #grabProgressModal .modal-dialog {
    width: min(720px, calc(100% - 32px));
    margin: 16px auto;
}

.technical-page #grabProgressModal .modal-content {
    max-height: calc(100dvh - 32px);
    overflow: hidden;
    border: 1px solid var(--theme-border);
    border-radius: var(--theme-radius);
    background: var(--theme-card) !important;
    box-shadow: 0 20px 50px rgb(15 18 22 / 24%);
}

.technical-page #grabProgressModal .modal-header,
.technical-page #grabProgressModal .modal-footer {
    gap: 12px;
    padding: 16px 20px;
    background: var(--theme-card);
    border-color: var(--theme-border);
}

.technical-page #grabProgressModal .modal-body {
    min-height: 0;
    padding: 20px;
    overflow: auto;
    background: var(--theme-card);
}

.technical-page #grabProgressModal .btn-close {
    display: grid;
    width: 32px;
    height: 32px;
    min-height: 32px;
    padding: 0 !important;
    place-items: center;
    border: 0 !important;
    background: transparent !important;
    color: var(--theme-foreground) !important;
    font-size: 24px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    opacity: 1;
    box-shadow: none !important;
}

.technical-page #grabProgressModal .progress {
    height: 10px;
    border-radius: 999px;
    background: var(--theme-muted);
}

.technical-page #grabProgressModal .progress-bar {
    background: var(--theme-primary);
    color: transparent;
}

.technical-page #grabProgressModal .list-group {
    border: 1px solid var(--theme-border);
    border-radius: var(--theme-radius);
    overflow: auto;
}

@media (max-width: 760px), (hover: none) and (pointer: coarse) {
    .technical-page .missing-page-primary-card {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
        padding: 20px;
    }

    .technical-page .missing-page-create-button {
        width: 100%;
        white-space: normal;
    }

    .technical-page #grabProgressModal .modal-dialog {
        width: calc(100% - 24px);
        margin: 12px auto;
    }

    .technical-page #grabProgressModal .modal-content {
        max-height: calc(100dvh - 24px);
    }
}

.technical-page .static-folder-form {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    margin-top: 14px;
    margin-bottom: 20px;
    padding: 16px;
    border: 1px solid var(--border-cyan);
    border-radius: var(--theme-radius);
    background: var(--panel-soft);
}

.technical-page .static-folder-field {
    display: grid;
    gap: 6px;
}

.technical-page .static-folder-field .hint {
    font-size: 13px;
}

.technical-page .billing-page {
    width: min(1180px, calc(100% - 32px));
}

.technical-page .billing-card {
    margin-bottom: 12px;
}

.technical-page .hosting-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 12px;
    padding: 6px;
    border: 1px solid var(--border-cyan);
    border-radius: var(--theme-radius);
    background: var(--panel-soft);
}

.technical-page .hosting-tab-button {
    min-height: 38px;
    padding: 8px 12px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

.technical-page .hosting-tab-button:hover,
.technical-page .hosting-tab-button:focus {
    background: var(--border-cyan);
    color: var(--text);
}

.technical-page .hosting-tab-button.active {
    background: var(--border-cyan);
    color: var(--text);
}

.technical-page .hosting-tab-panel-hidden {
    display: none;
}

.technical-page .hosting-installation-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
    width: min(100%, 680px);
    margin: 0 0 12px;
    padding: 4px;
    border: 1px solid var(--border-cyan);
    border-radius: 8px;
    background: var(--panel-soft);
}

.technical-page .hosting-installation-tabs button.hosting-installation-tab {
    min-width: 0;
    min-height: 38px;
    padding: 7px 12px;
    border: 1px solid transparent;
    border-radius: 6px;
    background: transparent;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
    white-space: normal;
}

.technical-page .hosting-installation-tabs button.hosting-installation-tab:hover,
.technical-page .hosting-installation-tabs button.hosting-installation-tab:focus-visible {
    border-color: var(--border-cyan);
    background: var(--border-cyan);
    color: var(--text);
}

.technical-page .hosting-installation-tabs button.hosting-installation-tab.active {
    border-color: var(--border-cyan);
    background: var(--border-cyan);
    color: var(--text);
    box-shadow: 0 1px 8px var(--panel-soft);
}

.technical-page .billing-demo-exclusion {
    display: grid;
    gap: 3px;
    padding: 10px 12px;
    border-left: 3px solid var(--green);
    background: color-mix(in srgb, var(--green) 15%, var(--panel));
    color: var(--text);
    font-size: 14px;
}

.technical-page .billing-demo-exclusion span {
    color: var(--muted);
}

.technical-page .billing-demo-settings-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 12px;
    align-items: end;
}

.technical-page .billing-demo-settings-form > label:not(.checkbox-row) {
    display: grid;
    gap: 6px;
}

.technical-page .billing-demo-copy-scope {
    display: grid;
    gap: 6px;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.technical-page .billing-demo-copy-scope legend {
    margin: 0;
    font-size: inherit;
}

.technical-page .billing-demo-copy-status {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 12px;
    grid-column: 1 / -1;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--panel-soft);
}

.technical-page .billing-demo-copy-status > div {
    display: grid;
    gap: 2px;
}

.technical-page .billing-demo-copy-status span {
    color: var(--muted);
    font-size: 13px;
}

.technical-page .billing-demo-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    grid-column: 1 / -1;
}

.technical-page .hosting-overview-panel .card-body {
    display: grid;
    gap: 12px;
}

.technical-page .hosting-overview-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 18px;
    border-radius: var(--theme-radius);
}

.technical-page .hosting-overview-ok {
    border: 1px solid color-mix(in srgb, var(--green) 15%, var(--panel));
    background: color-mix(in srgb, var(--green) 15%, var(--panel));
}

.technical-page .hosting-overview-warning {
    border: 1px solid color-mix(in srgb, var(--theme-destructive) 12%, var(--panel));
    background: color-mix(in srgb, var(--theme-destructive) 12%, var(--panel));
}

.technical-page .hosting-overview-kicker {
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.technical-page .hosting-overview-hero h2 {
    margin: 0 0 4px;
    font-size: 28px;
}

.technical-page .hosting-overview-big-number {
    min-width: 58px;
    color: var(--text);
    font-size: 42px;
    font-weight: 800;
    text-align: center;
}

.technical-page .hosting-overview-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.technical-page .hosting-overview-metrics button,
.technical-page .hosting-overview-metrics a {
    display: grid;
    gap: 2px;
    min-height: 70px;
    padding: 12px;
    border: 1px solid var(--border-cyan);
    border-radius: 9px;
    background: var(--panel-soft);
    color: var(--muted);
    text-align: left;
    text-decoration: none;
}

.technical-page .hosting-overview-metrics strong {
    color: var(--text);
    font-size: 24px;
    line-height: 1;
}

.technical-page .hosting-overview-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.technical-page .hosting-overview-action {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--border-cyan);
    border-radius: 9px;
    background: var(--panel-soft);
}

.technical-page .hosting-overview-action-warning {
    border-color: color-mix(in srgb, var(--theme-destructive) 12%, var(--panel));
}

.technical-page .hosting-overview-action-danger {
    border-color: color-mix(in srgb, var(--theme-destructive) 12%, var(--panel));
}

.technical-page .hosting-overview-action h3 {
    margin: 0 0 3px;
    color: var(--text);
    font-size: 16px;
}

.technical-page .hosting-overview-footnotes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    color: var(--muted);
    font-size: 12px;
}

.technical-page .billing-technical-details {
    padding: 10px;
    border: 1px solid var(--border-cyan);
    border-radius: 8px;
    background: var(--panel-soft);
}

.technical-page .billing-technical-details > summary {
    cursor: pointer;
    color: var(--text);
    font-weight: 700;
}

.technical-page .billing-card .card-body {
    padding: 16px;
}

.technical-page .billing-card h2 {
    margin: 0 0 4px;
    color: var(--text);
    font-family: var(--theme-font-sans);
    font-size: 20px;
}

.technical-page .billing-card-body,
.technical-page .billing-section-header {
    display: grid;
    gap: 10px;
}

.technical-page .billing-card p {
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.35;
}

.technical-page .billing-card .btn,
.technical-page .billing-card button {
    min-height: 32px;
    padding: 6px 9px;
    border-radius: 8px;
    font-size: 13px;
    white-space: nowrap;
}

.technical-page .billing-card .btn img,
.technical-page .billing-card button img {
    width: 15px;
    height: 15px;
}

.technical-page .billing-settings-form,
.technical-page .billing-create-form,
.technical-page .billing-plan-form,
.technical-page .billing-service-mail-settings-form,
.technical-page .billing-service-mail-block-form {
    display: grid;
    gap: 8px;
    align-items: end;
}

.technical-page .billing-settings-form {
    grid-template-columns: minmax(230px, 1fr) minmax(130px, 170px) auto;
    align-items: center;
    max-width: 900px;
}

.technical-page .billing-create-form {
    grid-template-columns: minmax(150px, 1fr) minmax(190px, 1.2fr) minmax(110px, 140px) minmax(82px, 100px) auto;
}

.technical-page .billing-plan-form {
    grid-template-columns: minmax(130px, 1fr) minmax(82px, 100px) minmax(70px, 88px) minmax(68px, 80px) minmax(92px, 112px) minmax(160px, 1fr) auto;
}

.technical-page .billing-service-mail-settings-form {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    max-width: 900px;
}

.technical-page .billing-service-mail-block-form {
    grid-template-columns: minmax(150px, 180px) minmax(240px, 1fr) minmax(220px, 1fr) auto;
    align-items: start;
}

.technical-page .billing-create-form label,
.technical-page .billing-plan-form label,
.technical-page .billing-service-mail-block-form label,
.technical-page .billing-site-form label,
.technical-page .billing-delete-form label,
.technical-page .billing-settings-form label:not(.checkbox-row) {
    display: grid;
    gap: 4px;
    color: var(--muted);
    font-size: 12px;
}

.technical-page .billing-service-mail-block-form .form-text,
.technical-page .billing-service-mail-settings-form .form-text {
    display: block;
    max-width: 100%;
    white-space: normal;
    line-height: 1.3;
}

.technical-page .billing-site-list,
.technical-page .billing-plan-list,
.technical-page .billing-backup-list,
.technical-page .billing-user-list {
    display: grid;
    gap: 8px;
}

.technical-page .billing-user-row {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(280px, 0.9fr);
    gap: 12px;
    align-items: start;
    padding: 12px;
    border: 1px solid var(--border-cyan);
    border-radius: 8px;
    background: var(--panel-soft);
}

.technical-page .billing-user-main,
.technical-page .billing-user-side,
.technical-page .billing-user-activity {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.technical-page .billing-user-details {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
    gap: 12px;
    padding-top: 12px;
    border-top: 1px dotted var(--border-cyan);
}

.technical-page .billing-user-activity {
    grid-column: 1 / -1;
}

.technical-page .billing-user-site-list,
.technical-page .billing-client-hosting-list {
    display: grid;
    gap: 8px;
}

.technical-page .billing-user-site-line,
.technical-page .billing-client-hosting-title {
    display: grid;
    grid-template-columns: minmax(180px, 1.4fr) minmax(100px, 0.7fr) minmax(180px, 1fr);
    gap: 10px;
    align-items: center;
    padding: 8px 10px;
    border: 1px solid var(--bs-border-color);
    border-radius: 8px;
    background: var(--bs-body-bg);
    font-size: 0.9rem;
}

.technical-page .billing-client-hosting {
    display: grid;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--bs-border-color);
    border-radius: 8px;
}

.technical-page .billing-client-hosting-head {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto;
    gap: 10px;
    align-items: start;
    min-width: 0;
}

.technical-page .billing-client-hosting-name {
    color: var(--text);
    font-weight: 700;
    overflow-wrap: anywhere;
}

.technical-page .billing-client-hosting-subtitle {
    color: var(--muted);
    font-size: 12px;
    overflow-wrap: anywhere;
}

.technical-page .billing-client-hosting-badges,
.technical-page .billing-client-hosting-section {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.technical-page .billing-client-hosting-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.technical-page .billing-client-hosting-badges span,
.technical-page .billing-sync-ok,
.technical-page .billing-sync-stale {
    padding: 4px 7px;
    border: 1px solid var(--border-cyan);
    border-radius: 6px;
    background: var(--panel-soft);
    color: var(--muted);
    font-size: 12px;
    overflow-wrap: anywhere;
}

.technical-page .billing-sync-stale {
    border-color: color-mix(in srgb, var(--theme-destructive) 12%, var(--panel));
    color: var(--theme-warning);
}

.technical-page .billing-client-hosting-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(160px, 1fr));
    gap: 8px;
}

.technical-page .billing-client-hosting-meta div {
    display: grid;
    gap: 3px;
    min-width: 0;
    padding: 8px;
    border: 1px solid var(--border-cyan);
    border-radius: 7px;
    background: var(--panel-soft);
}

.technical-page .billing-client-hosting-meta strong,
.technical-page .billing-client-hosting-section h4 {
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.technical-page .billing-client-hosting-meta span {
    color: var(--text);
    font-size: 13px;
    overflow-wrap: anywhere;
}

.technical-page .billing-client-hosting-section h4 {
    margin: 0;
}

.technical-page .billing-client-plan-grid,
.technical-page .billing-client-site-grid {
    display: grid;
    gap: 6px;
}

.technical-page .billing-client-plan-row,
.technical-page .billing-client-site-row {
    display: grid;
    gap: 8px;
    align-items: center;
    min-width: 0;
    padding: 8px 10px;
    border: 1px solid var(--border-cyan);
    border-radius: 7px;
    background: var(--bs-body-bg);
    font-size: 0.88rem;
}

.technical-page .billing-client-plan-row {
    grid-template-columns: minmax(160px, 1.2fr) minmax(70px, 0.5fr) minmax(110px, 0.8fr) minmax(100px, 0.7fr) minmax(90px, 0.6fr);
}

.technical-page .billing-client-site-row {
    grid-template-columns: minmax(160px, 1.2fr) minmax(130px, 1fr) minmax(120px, 0.8fr) minmax(130px, 1fr) minmax(100px, 0.7fr) minmax(70px, 0.5fr) minmax(100px, 0.7fr) minmax(110px, 0.8fr);
}

.technical-page .billing-client-plan-row span,
.technical-page .billing-client-site-row span,
.technical-page .billing-client-site-row a {
    min-width: 0;
    overflow-wrap: anywhere;
}

.technical-page .billing-client-site-over-limit {
    border-color: color-mix(in srgb, var(--theme-destructive) 12%, var(--panel));
    background: color-mix(in srgb, var(--theme-destructive) 12%, var(--panel));
}

.technical-page .hosting-server-details {
    display: grid;
    gap: 8px;
    margin-top: -8px;
    margin-bottom: 8px;
    padding: 12px;
    border: 1px solid var(--border-cyan);
    border-top: 0;
    border-radius: 0 0 8px 8px;
    background: var(--panel-soft);
}

.technical-page .hosting-server-details details {
    padding: 9px;
    border: 1px solid var(--border-cyan);
    border-radius: 7px;
    background: var(--panel-soft);
}

.technical-page .hosting-server-details summary {
    cursor: pointer;
    color: var(--text);
    font-weight: 700;
}

.technical-page .hosting-server-details details[open] summary {
    margin-bottom: 8px;
}

.technical-page .hosting-server-client-site-list {
    display: grid;
    gap: 10px;
}

.technical-page .hosting-server-client-site-group {
    display: grid;
    gap: 6px;
}

.technical-page .hosting-server-client-site-group h3 {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: baseline;
    margin: 0;
    color: var(--text);
    font-size: 0.96rem;
}

.technical-page .hosting-server-client-site-group h3 span {
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 400;
}

.technical-page .hosting-server-details .billing-client-site-row {
    grid-template-columns: minmax(160px, 1.2fr) minmax(120px, 0.8fr) minmax(140px, 0.9fr);
}

.technical-page .billing-client-hosting-section .billing-client-site-row {
    grid-template-columns: minmax(160px, 1.2fr) minmax(120px, 0.8fr) minmax(120px, 0.8fr) minmax(140px, 0.9fr);
}

.technical-page .billing-invoice-page-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 10px;
}

.technical-page .billing-invoice-page {
    display: grid;
    gap: 10px;
    padding: 14px;
    border: 1px solid var(--border-cyan);
    border-radius: 8px;
    background: var(--panel);
}

.technical-page .billing-invoice-page-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.technical-page .billing-invoice-page-head strong {
    color: var(--text);
    font-size: 18px;
    white-space: nowrap;
}

.technical-page .billing-user-subtitle {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
}

.technical-page .billing-user-stats,
.technical-page .billing-user-tags,
.technical-page .billing-user-ip-row,
.technical-page .billing-user-activity-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-width: 0;
}

.technical-page .billing-client-controls {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto;
    gap: 12px;
    align-items: end;
    margin-bottom: 12px;
}

.technical-page .billing-client-controls label,
.technical-page .billing-sync-controls label {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.technical-page .billing-sync-history-head {
    display: grid;
    gap: 4px;
}

.technical-page .billing-sync-history-head p {
    margin: 0 0 8px;
}

.technical-page .billing-sync-controls {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(130px, 180px) auto;
    gap: 12px;
    align-items: end;
    margin-bottom: 12px;
}

.technical-page .billing-sync-list {
    display: grid;
    gap: 8px;
}

.technical-page .billing-sync-row {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(240px, 0.9fr) auto;
    gap: 10px;
    align-items: start;
    padding: 12px;
    border: 1px solid var(--border-cyan);
    border-radius: 8px;
    background: var(--panel-soft);
}

.technical-page .billing-sync-main {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.technical-page .billing-sync-title,
.technical-page .billing-sync-source,
.technical-page .billing-sync-counts {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    min-width: 0;
}

.technical-page .billing-sync-title {
    color: var(--text);
    font-weight: 700;
}

.technical-page .billing-sync-source {
    color: var(--muted);
    font-size: 12px;
}

.technical-page .billing-sync-counts span {
    padding: 5px 7px;
    border: 1px solid var(--border-cyan);
    border-radius: 7px;
    background: var(--panel-soft);
    color: var(--muted);
    font-size: 12px;
}

.technical-page .billing-sync-details {
    grid-column: 1 / -1;
    display: grid;
    gap: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--border-cyan);
}

.technical-page .billing-client-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: flex-end;
    min-width: 0;
}

.technical-page .billing-client-pagination span {
    color: var(--muted);
    font-size: 12px;
}

.technical-page .billing-user-stats span,
.technical-page .billing-user-stats button,
.technical-page .billing-user-tags span,
.technical-page .billing-user-ip-row span,
.technical-page .billing-user-activity-row span {
    max-width: 100%;
    overflow-wrap: anywhere;
}

.technical-page .billing-user-stats span,
.technical-page .billing-user-stats button,
.technical-page .billing-user-tags span {
    padding: 4px 7px;
    border: 1px solid var(--border-cyan);
    border-radius: 6px;
    background: var(--panel-soft);
    color: var(--muted);
    font-size: 12px;
}

.technical-page .billing-user-stats button {
    cursor: pointer;
    text-align: left;
}

.technical-page .billing-user-stats button:hover,
.technical-page .billing-user-stats button:focus {
    border-color: var(--border-cyan);
    color: var(--text);
}

.technical-page .billing-client-explanation {
    min-height: 20px;
    margin-bottom: 10px;
    color: var(--muted);
    font-size: 13px;
}

.technical-page .billing-user-map {
    width: 100%;
    min-height: 170px;
    border: 1px solid var(--border-cyan);
    border-radius: 8px;
    background: var(--panel-soft);
    color: var(--muted);
    overflow: hidden;
}

.technical-page .billing-user-ip-list {
    display: grid;
    gap: 5px;
}

.technical-page .billing-user-ip-row,
.technical-page .billing-user-activity-row {
    padding: 7px 8px;
    border-radius: 7px;
    background: var(--panel-soft);
    color: var(--muted);
    font-size: 12px;
    line-height: 1.35;
}

.technical-page .billing-user-activity-kind {
    color: var(--text);
    font-weight: 700;
}

.technical-page .billing-site-row {
    display: grid;
    grid-template-columns: minmax(220px, 0.85fr) minmax(0, 1.15fr);
    gap: 10px 14px;
    align-items: start;
    padding: 12px;
    border: 1px solid var(--border-cyan);
    border-radius: 8px;
    background: var(--panel-soft);
}

.technical-page .billing-domain {
    color: var(--text);
    font-family: var(--theme-font-sans);
    font-size: 18px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.technical-page .billing-main-domain-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-left: 6px;
    padding: 5px 8px;
    border: 1px solid color-mix(in srgb, var(--green) 15%, var(--panel));
    border-radius: 999px;
    background: color-mix(in srgb, var(--green) 15%, var(--panel));
    color: var(--green);
    font-size: 12px;
    font-weight: 700;
    vertical-align: middle;
    white-space: normal;
}

.technical-page .billing-main-domain-icon {
    width: 9px;
    height: 9px;
    border-radius: 2px;
    background: currentColor;
    transform: rotate(45deg);
    flex: 0 0 auto;
}

.technical-page .billing-request-badge {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    margin-left: 6px;
    padding: 4px 8px;
    border: 1px solid var(--border-cyan);
    border-radius: 999px;
    background: var(--border-cyan);
    color: var(--cyan);
    font-size: 12px;
    font-weight: 700;
    vertical-align: middle;
}

.technical-page .billing-request-details {
    display: grid;
    grid-template-columns: minmax(90px, 0.32fr) minmax(0, 1fr);
    gap: 8px 12px;
    margin: 0;
}

.technical-page .billing-request-details dt {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.technical-page .billing-request-details dd {
    margin: 0;
    color: var(--text);
    overflow-wrap: anywhere;
}

.technical-page .billing-quota-bar {
    height: 9px;
    margin: 8px 0 5px;
    border: 1px solid var(--border-cyan);
    border-radius: 999px;
    background: var(--panel-soft);
    overflow: hidden;
}

.technical-page .billing-quota-bar > div {
    height: 100%;
    max-width: 100%;
    background: var(--panel);
}

.technical-page .billing-quota-bar.hosting-metric-warning > div {
    background: var(--theme-warning);
}

.technical-page .billing-quota-bar.hosting-metric-danger > div {
    background: var(--theme-destructive);
}

.technical-page .hosting-metric-ok {
    color: var(--green);
    font-weight: 700;
}

.technical-page .hosting-metric-warning {
    color: var(--theme-warning);
    font-weight: 700;
}

.technical-page .hosting-metric-danger {
    color: var(--theme-destructive);
    font-weight: 700;
}

.technical-page .billing-owner-filter {
    min-height: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--cyan);
    font: inherit;
    text-align: left;
    white-space: normal;
}

.technical-page .billing-owner-filter:hover,
.technical-page .billing-owner-filter:focus {
    color: var(--text);
    text-decoration: underline;
}

.technical-page .billing-site-form {
    display: grid;
    grid-template-columns: minmax(76px, 94px) minmax(150px, 1fr) minmax(112px, 132px) auto;
    gap: 8px;
    align-items: end;
}

.technical-page .billing-save-status {
    align-self: center;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.25;
}

.technical-page .billing-save-status-success {
    color: var(--green);
}

.technical-page .billing-save-status-error {
    color: var(--theme-destructive);
}

.technical-page .billing-delete-form {
    display: grid;
    grid-column: 2;
    grid-template-columns: minmax(120px, 180px) auto;
    gap: 8px;
    align-items: end;
    justify-self: end;
}

.technical-page .billing-plan-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    padding: 10px;
    border: 1px solid var(--border-cyan);
    border-radius: 8px;
    background: var(--panel-soft);
}

.technical-page .billing-backup-row {
    display: grid;
    grid-template-columns: minmax(180px, 0.9fr) minmax(220px, 1.2fr) auto;
    gap: 10px;
    align-items: center;
    padding: 10px;
    border: 1px solid var(--border-cyan);
    border-radius: 8px;
    background: var(--panel-soft);
}

.technical-page .billing-backup-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    color: var(--muted);
    font-size: 12px;
}

.technical-page .billing-backup-actions {
    justify-self: end;
}

.technical-page .billing-service-mail-log-panel {
    display: grid;
    gap: 10px;
}

.technical-page .billing-service-mail-log-toolbar,
.technical-page .billing-service-mail-log-pager {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 10px;
}

.technical-page .billing-service-mail-log-toolbar label {
    display: grid;
    gap: 4px;
    min-width: min(220px, 100%);
    color: var(--muted);
    font-size: 12px;
}

.technical-page .billing-service-mail-log-actions,
.technical-page .billing-service-mail-log-pager {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.technical-page .billing-service-mail-log-list {
    display: grid;
    gap: 6px;
}

.technical-page .billing-service-mail-log-row {
    display: grid;
    grid-template-columns: 34px minmax(210px, 0.9fr) minmax(220px, 1.1fr);
    gap: 10px;
    align-items: center;
    padding: 8px 10px;
    border: 1px solid var(--border-cyan);
    border-radius: 8px;
    background: var(--panel-soft);
}

.technical-page .billing-service-mail-log-row:has(input:checked),
.technical-page .billing-service-mail-log-row.selected {
    border-color: color-mix(in srgb, var(--green) 15%, var(--panel));
    background: color-mix(in srgb, var(--green) 15%, var(--panel));
}

.technical-page .billing-service-mail-log-check {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.technical-page .billing-service-mail-log-check input {
    width: 20px;
    height: 20px;
    accent-color: var(--green);
}

.technical-page .billing-service-mail-log-main {
    min-width: 0;
}

.technical-page .billing-service-mail-log-title {
    color: var(--text);
    font-weight: 700;
    overflow-wrap: anywhere;
}

.technical-page .billing-service-mail-log-error {
    margin-top: 3px;
    color: var(--theme-destructive);
    font-size: 12px;
    overflow-wrap: anywhere;
}

.technical-page .billing-service-mail-log-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
    color: var(--muted);
    font-size: 12px;
}

.technical-page .billing-service-mail-log-meta span {
    max-width: 100%;
    overflow-wrap: anywhere;
}

.technical-page .billing-service-mail-log-pager span {
    color: var(--muted);
    font-size: 12px;
}

.technical-page .revision-enable-button,
.technical-page .btn-success.revision-enable-button {
    border-color: color-mix(in srgb, var(--green) 15%, var(--panel));
    background: color-mix(in srgb, var(--green) 15%, var(--panel));
    color: var(--green);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--green) 15%, var(--panel));
}

.technical-page .revision-enable-button:hover,
.technical-page .btn-success.revision-enable-button:hover {
    border-color: var(--green);
    background: color-mix(in srgb, var(--green) 15%, var(--panel));
    color: var(--green);
}

.technical-page .revision-disable-button,
.technical-page .btn-danger.revision-disable-button {
    border-color: color-mix(in srgb, var(--theme-destructive) 12%, var(--panel));
    background: color-mix(in srgb, var(--theme-destructive) 12%, var(--panel));
    color: var(--theme-destructive);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--theme-destructive) 12%, var(--panel));
}

.technical-page .revision-disable-button:hover,
.technical-page .btn-danger.revision-disable-button:hover {
    border-color: var(--theme-destructive);
    background: color-mix(in srgb, var(--theme-destructive) 12%, var(--panel));
    color: var(--theme-destructive);
}

.technical-page .access-grid,
.technical-page .add-form {
    display: grid;
    grid-template-columns: minmax(120px, 150px) minmax(160px, 1fr) minmax(110px, 140px) auto;
    gap: 8px;
    align-items: center;
}

.technical-page .add-form {
    grid-template-columns: minmax(0, 1fr) auto;
    margin: 18px 0;
}

.technical-page .alias-list {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}

.technical-page .custom-domain-panel {
    display: grid;
    gap: 18px;
    margin-bottom: 22px;
}

.technical-page .custom-domain-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(210px, 280px);
    gap: 16px;
    align-items: start;
}

.technical-page .custom-domain-head h2 {
    margin: 0 0 8px;
    color: var(--text);
    font-family: var(--theme-font-sans);
    font-size: 28px;
    line-height: 1.12;
}

.technical-page .eyebrow {
    margin: 0 0 6px;
    color: var(--cyan);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.technical-page .selected-domain-card,
.technical-page .domain-setup-card {
    border: 1px solid var(--border-cyan);
    border-radius: var(--theme-radius);
    background: var(--panel-soft);
}

.technical-page .selected-domain-card {
    display: grid;
    gap: 6px;
    padding: 14px;
}

.technical-page .selected-domain-card span {
    color: var(--muted);
    font-size: 12px;
}

.technical-page .selected-domain-card strong {
    color: var(--green);
    word-break: break-all;
}

.technical-page .custom-domain-add-form {
    margin: 0;
}

.technical-page .domain-setup-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    gap: 12px;
}

.technical-page .domain-setup-card {
    padding: 16px;
}

.technical-page .domain-setup-card p {
    margin-top: 0;
}

.technical-page .domain-setup-steps {
    display: grid;
    gap: 8px;
    margin: 10px 0 0;
    padding-left: 22px;
}

.technical-page .domain-setup-steps li {
    padding-left: 4px;
}

.technical-page .compact-record-grid {
    margin-bottom: 10px;
}

.technical-page .dns-record-list {
    display: grid;
    gap: 10px;
    margin-top: 12px;
}

.technical-page .compact-record-list {
    margin-bottom: 10px;
}

.technical-page .compact-record-list .dns-record-row {
    grid-template-columns: 58px minmax(0, 1fr);
    align-items: start;
}

.technical-page .compact-record-list .dns-record-field,
.technical-page .compact-record-list .dns-record-help {
    grid-column: 2;
}

.technical-page .compact-record-list .dns-record-help {
    margin-top: -4px;
}

.technical-page .dns-record-row {
    display: grid;
    grid-template-columns: 58px minmax(120px, 0.45fr) minmax(220px, 1fr) minmax(190px, 0.8fr);
    gap: 10px;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--border-cyan);
    border-radius: var(--theme-radius);
    background: var(--panel-soft);
}

.technical-page .dns-record-type {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    border: 1px solid var(--border-cyan);
    border-radius: 8px;
    color: var(--cyan);
    font-weight: 700;
}

.technical-page .dns-record-field {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.technical-page .dns-record-field span,
.technical-page .dns-record-help {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.3;
}

.technical-page .dns-record-field code {
    display: block;
    box-sizing: border-box;
    width: 100%;
    padding: 7px 9px;
    overflow-wrap: anywhere;
}

.technical-page .domain-bulk-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.technical-page .alias-row {
    display: grid;
    gap: 14px;
    padding: 16px;
}

.technical-page .alias-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.technical-page .alias-domain {
    color: var(--text);
    font-family: var(--theme-font-sans);
    font-weight: 700;
    word-break: break-all;
}

.technical-page .alias-actions,
.technical-page .status-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.technical-page .status-list {
    margin: 0;
}

.technical-page .record-grid,
.technical-page .ssl-status-list {
    display: grid;
    gap: 8px 12px;
    margin-top: 10px;
}

.technical-page .record-grid,
.technical-page .ssl-status-row {
    grid-template-columns: 120px minmax(0, 1fr);
}

.technical-page .record-grid code {
    display: inline-block;
    word-break: break-all;
}

.technical-page .checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 12px 0;
}

.technical-page .checkbox-row input {
    margin-top: 4px;
}

.technical-page .selected {
    border-color: color-mix(in srgb, var(--green) 15%, var(--panel)) !important;
}

.technical-page .status-ok {
    color: var(--green);
}

.technical-page .status-warn {
    color: var(--orange);
}

.technical-page .status-bad {
    color: var(--theme-destructive);
}

.technical-page .empty {
    padding: 22px;
    color: var(--muted);
}

.technical-page .file-thumb,
.technical-page .file-icon,
.technical-page .file-preview-trigger {
    width: 64px;
    height: 64px;
    border: 1px solid var(--border-cyan);
    border-radius: var(--theme-radius);
    background: var(--panel-soft);
    color: var(--orange);
}

.technical-page .modal-content {
    border: 1px solid var(--border-cyan);
    border-radius: var(--theme-radius);
    background: var(--panel);
    color: var(--text);
}

.technical-page .modal-header,
.technical-page .modal-footer {
    border-color: var(--border-cyan);
}

.technical-page .progress {
    background: var(--panel-soft);
}

.technical-page .progress-bar {
    background: var(--cyan);
    color: var(--theme-primary-foreground);
}

.technical-page .list-group-item {
    border-color: var(--border-cyan);
    background: var(--panel-soft);
    color: var(--text);
}

.technical-page .alert,
.technical-page .alert-secondary,
.technical-page .alert-info,
.technical-page .alert-warning,
.technical-page .alert-danger {
    border: 1px solid var(--border-cyan);
    border-radius: var(--theme-radius);
    background: var(--panel-soft);
    color: var(--text);
    padding: 14px 16px;
    line-height: 1.45;
}

.technical-page .alert-danger {
    border-color: color-mix(in srgb, var(--theme-destructive) 12%, var(--panel));
    color: var(--theme-destructive);
}

.technical-page.analytics-page {
    background: var(--bg);
}

.technical-page.analytics-page .metric-card,
.technical-page.analytics-page .world-map-card,
.technical-page.analytics-page .report-grid > section.card {
    border-color: var(--border-cyan);
    background: var(--panel-soft);
}

.technical-page .demo-refresh-modal-dialog {
    max-width: min(920px, calc(100vw - 24px));
    margin-right: auto;
    margin-left: auto;
}

.technical-page .demo-refresh-modal-dialog .modal-content {
    max-height: calc(100vh - 24px);
}

.technical-page .demo-refresh-modal-dialog .modal-body {
    overflow: auto;
}

.technical-page [data-demo-refresh-resource-list] {
    max-height: min(42vh, 420px);
    overflow: auto;
}

.technical-page [data-demo-refresh-resource-list] .list-group-item {
    overflow-wrap: anywhere;
}

@media (max-width: 900px), (hover: none) and (pointer: coarse) {
    .technical-page .access-grid,
    .technical-page .add-form,
    .technical-page .edit-mode-grid,
    .technical-page .missing-page-primary-row,
    .technical-page .missing-page-secondary-grid,
    .technical-page .billing-create-form,
    .technical-page .billing-plan-form,
    .technical-page .hosting-overview-actions,
    .technical-page .hosting-overview-hero,
    .technical-page .hosting-overview-metrics,
    .technical-page .billing-client-controls,
    .technical-page .billing-sync-controls,
    .technical-page .billing-sync-row,
    .technical-page .billing-site-row,
    .technical-page .billing-user-row,
    .technical-page .billing-user-details,
    .technical-page .billing-user-site-line,
    .technical-page .billing-client-hosting-title,
    .technical-page .billing-client-hosting-head,
    .technical-page .billing-client-hosting-meta,
    .technical-page .billing-client-plan-row,
    .technical-page .billing-client-site-row,
    .technical-page .billing-site-form,
    .technical-page .billing-delete-form,
    .technical-page .billing-backup-row,
    .technical-page .billing-service-mail-log-row,
    .technical-page .custom-domain-head,
    .technical-page .domain-setup-grid,
    .technical-page .dns-record-row,
    .technical-page .record-grid,
    .technical-page .ssl-status-row {
        grid-template-columns: 1fr;
    }

    .technical-page .missing-page-secondary-field,
    .technical-page .missing-page-source-ip-field,
    .technical-page .missing-page-language-field,
    .technical-page .missing-page-file-field,
    .technical-page .missing-page-base-path-field {
        max-width: none;
    }

    .technical-page .billing-delete-form {
        grid-column: auto;
        justify-self: stretch;
    }

    .technical-page .billing-backup-actions {
        justify-self: stretch;
    }

    .technical-page .hosting-overview-big-number {
        text-align: left;
    }

    .technical-page .billing-service-mail-log-row {
        grid-template-columns: 34px minmax(0, 1fr);
    }

    .technical-page .billing-service-mail-log-meta {
        grid-column: 2;
    }

}

@media (max-width: 760px) {
    .technical-page .container,
    .technical-page .manager-shell,
    .technical-page .analytics-page-shell {
        width: min(100% - 20px, 1180px);
        padding-top: 14px;
    }

    .technical-page .page-header,
    .technical-page .alias-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .technical-page .page-header h1,
    .technical-page h1.section-heading {
        display: grid;
        width: 100%;
        grid-template-columns: auto minmax(0, 1fr);
        gap: 4px 10px;
        font-size: clamp(21px, 7vw, 28px);
    }

    .technical-page .page-header h1 > .section-icon,
    .technical-page h1.section-heading > .section-icon {
        grid-row: 1 / span 2;
    }

    .technical-page .page-header h1 > a,
    .technical-page h1.section-heading > a {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .technical-page .page-header h1 > small,
    .technical-page h1.section-heading > small {
        grid-column: 2;
        line-height: 1.3;
    }

    .technical-page .section-icon {
        width: 38px;
        height: 38px;
    }

    .technical-page .card-body,
    .technical-page .dns-box,
    .technical-page .profile-form {
        padding: 18px;
    }

    .technical-page .authentication-card {
        width: 100%;
        border-radius: var(--theme-radius) !important;
    }

    .technical-page .authentication-card .btn,
    .technical-page .authentication-card input[type="submit"],
    .technical-page .confirmation-webmail-link {
        width: 100%;
        min-height: 44px;
    }

    .technical-page .confirmation-addresses > div {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .technical-page .profile-alert {
        align-items: flex-start;
        flex-direction: column;
        padding: 14px 15px;
        border-radius: var(--theme-radius);
    }

    .technical-page .profile-form-grid {
        grid-template-columns: 1fr;
    }

    .technical-page .profile-form-header h2 {
        font-size: 21px;
    }

    .technical-page .profile-delivery-link {
        width: 100%;
        white-space: normal;
    }

    .technical-page .profile-send-countdown {
        width: 100%;
        white-space: normal;
    }

    .technical-page .profile-delivery-modal {
        align-items: flex-start;
        padding: 10px;
    }

    .technical-page .profile-delivery-dialog {
        max-height: calc(100vh - 20px);
        padding: 18px;
        border-radius: var(--theme-radius);
    }

    .technical-page .profile-delivery-grid {
        grid-template-columns: 1fr;
    }

    .technical-page .profile-delivery-dns-record {
        grid-template-columns: 1fr;
    }

    .technical-page .profile-delivery-header h2 {
        font-size: 22px;
    }

    .technical-page .profile-code-input {
        font-size: 20px;
        min-height: 46px;
    }

    .technical-page .profile-countdown-value {
        font-size: 30px;
    }

    .technical-page .btn,
    .technical-page button,
    .technical-page input[type="submit"],
    .technical-page .backup-download-link {
        min-height: 34px;
        padding: 7px 10px;
        border-radius: 8px;
        font-size: 14px;
        gap: 6px;
    }

    .technical-page .form-control,
    .technical-page .form-select,
    .technical-page input[type="text"],
    .technical-page input[type="email"],
    .technical-page input[type="password"],
    .technical-page input[type="number"],
    .technical-page input[type="url"] {
        min-height: 40px;
        padding: 9px 11px;
        border-radius: 8px;
    }

    .technical-page .profile-form button[type="submit"],
    .technical-page .profile-blocked-card .btn {
        width: 100%;
    }

    .technical-page .missing-page {
        width: min(100% - 20px, 980px);
    }

    .technical-page .billing-page {
        width: min(100% - 20px, 1180px);
    }

    .technical-page .billing-settings-form,
    .technical-page .billing-service-mail-settings-form,
    .technical-page .billing-service-mail-block-form {
        grid-template-columns: 1fr;
    }

    .technical-page .billing-card .btn,
    .technical-page .billing-card button {
        max-width: 100%;
        white-space: normal;
    }

    .technical-page .hosting-installation-tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    .technical-page .billing-demo-settings-form {
        grid-template-columns: 1fr;
    }

    .technical-page .billing-demo-copy-status {
        grid-template-columns: 1fr;
    }

    .technical-page .demo-refresh-modal-dialog {
        max-width: calc(100vw - 16px);
        margin: 8px auto;
    }

    .technical-page .demo-refresh-modal-dialog .modal-content {
        max-height: calc(100vh - 16px);
    }

    .technical-page [data-demo-refresh-resource-list] {
        max-height: 34vh;
    }
}

/* Shared Meridian controls; the palette follows the system on every screen size. */
.technical-page {
    --bs-body-bg: var(--bg);
    --bs-body-font-family: var(--theme-font-sans);
    font-family: var(--theme-font-sans);
    --bs-body-color: var(--text);
    --bs-secondary-color: var(--muted);
    --bs-tertiary-bg: var(--panel-soft);
    --bs-border-color: var(--border-cyan);
    --bs-emphasis-color: var(--text);
    background: var(--bg);
    color: var(--text);
}

.technical-page .page-header,
.technical-page .card,
.technical-page .profile-form,
.technical-page .modal-content,
.technical-page .metric-card,
.technical-page .world-map-card {
    background: var(--panel) !important;
    color: var(--text);
    border-color: var(--border-cyan);
    border-radius: var(--theme-radius) !important;
    box-shadow: var(--shadow);
    backdrop-filter: none;
}

.technical-page .form-control,
.technical-page .form-select,
.technical-page input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="hidden"]),
.technical-page textarea {
    background-color: var(--panel);
    color: var(--text);
    border-color: var(--theme-input);
}

.technical-page .btn-primary,
.technical-page button.primary,
.technical-page input[type="submit"].btn-primary,
.technical-page .profile-form button[type="submit"] {
    background: var(--theme-primary);
    border-color: var(--theme-primary);
    color: var(--theme-primary-foreground);
    font-weight: 600;
}

.technical-page .btn-primary:hover,
.technical-page button.primary:hover,
.technical-page input[type="submit"].btn-primary:hover,
.technical-page .profile-form button[type="submit"]:hover {
    background: color-mix(in srgb, var(--theme-primary) 90%, var(--text));
    border-color: var(--theme-primary);
    color: var(--theme-primary-foreground);
}

.technical-page .btn-outline-secondary,
.technical-page .btn-outline-primary,
.technical-page .backup-download-link {
    background: var(--panel);
    border-color: var(--border-cyan);
    color: var(--text);
}

.technical-page .btn-outline-secondary:hover,
.technical-page .btn-outline-primary:hover,
.technical-page .backup-download-link:hover {
    background: var(--theme-accent);
    color: var(--theme-accent-foreground);
}

.technical-page .alert-warning {
    color: var(--theme-warning);
    background: color-mix(in srgb, var(--theme-warning) 12%, var(--panel));
    border-color: color-mix(in srgb, var(--theme-warning) 35%, var(--panel));
}

.technical-page .alert-danger {
    color: var(--theme-destructive);
    background: color-mix(in srgb, var(--theme-destructive) 12%, var(--panel));
    border-color: color-mix(in srgb, var(--theme-destructive) 35%, var(--panel));
}

.technical-page .table {
    --bs-table-hover-bg: var(--theme-accent);
}

.technical-page .table thead th {
    background: var(--panel-soft);
    color: var(--muted);
    font-weight: 600;
    text-transform: none;
}

.technical-page :is(a, button, input, select, textarea):focus-visible {
    outline: 2px solid var(--theme-ring);
    outline-offset: 3px;
    box-shadow: none;
}

.technical-page :is(button, input, select, textarea):disabled {
    opacity: .5;
    cursor: not-allowed;
}

.technical-page .confirmation-symbol {
    color: var(--theme-primary-foreground);
}

/* The touch theme is deliberately separate from desktop component styling. */
@media (max-width: 900px), (hover: none) and (pointer: coarse) {
    .technical-page .container,
    .technical-page .manager-shell,
    .technical-page .analytics-page-shell,
    .technical-page .billing-page,
    .technical-page .missing-page {
        width: calc(100% - 24px);
        padding-top: var(--admin-page-padding);
        padding-bottom: max(32px, env(safe-area-inset-bottom));
    }

    .technical-page .page-header {
        gap: 12px;
        margin-bottom: 16px;
        padding: 16px;
        flex-wrap: wrap;
    }

    .technical-page .page-header h1,
    .technical-page h1.section-heading {
        font-size: clamp(22px, 3vw, 28px);
        line-height: 1.25;
    }

    .technical-page .card-body,
    .technical-page .profile-form,
    .technical-page .dns-box { padding: 18px; }

    .technical-page .btn,
    .technical-page button,
    .technical-page input[type="submit"],
    .technical-page .backup-download-link {
        min-height: var(--admin-control-height);
        padding: 11px 14px;
        border-radius: var(--theme-radius);
        font-size: 16px;
        line-height: 1.4;
    }

    .technical-page .form-control,
    .technical-page .form-select,
    .technical-page input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="hidden"]),
    .technical-page textarea {
        min-height: var(--admin-control-height);
        padding: 12px 14px;
        border-radius: var(--theme-radius);
        background-color: var(--admin-field-background);
        font-size: 16px;
    }

    .technical-page input[type="checkbox"],
    .technical-page input[type="radio"] { width: 22px; height: 22px; }

    .technical-page .table > :not(caption) > * > * { padding: 14px 12px; }
    .technical-page .table-responsive { overscroll-behavior-x: contain; }
    .technical-page .hosting-tabs { gap: 8px; padding: 8px; }
    .technical-page .section-icon { background: var(--theme-accent); border-color: transparent; }
    .technical-page .profile-form button[type="submit"] { width: 100%; }
    .technical-page .profile-delivery-close { min-width: 48px; }
}

body.technical-page,
body.technical-page.bg-body,
body.technical-page.analytics-page {
    background: var(--theme-background) !important;
    font-family: var(--theme-font-sans);
}

.technical-page .bg-body-tertiary.border,
.technical-page .dns-box,
.technical-page .alias-row,
.technical-page.analytics-page .metric-card,
.technical-page.analytics-page .world-map-card,
.technical-page.analytics-page .report-grid > section.card {
    background: var(--theme-card) !important;
    border-radius: var(--theme-radius) !important;
}

/* Server expenses and the standalone copy form share the same surface hierarchy. */
.technical-page.expenses-page { font-size: 14px; }
.technical-page.expenses-page .expense-simple-summary {
    padding: 24px;
    background: var(--theme-card);
    border: 1px solid var(--theme-border);
    border-radius: var(--theme-radius);
    box-shadow: var(--shadow);
}
.technical-page.expenses-page .expense-simple-summary-head h2 { margin: 0 0 6px; font-size: 20px; font-weight: 600; }
.technical-page.expenses-page :is(.expense-simple-metrics, .expense-simple-server-monitoring, .expense-simple-sites) {
    gap: 12px;
    background: transparent;
    border: 0;
    min-width: 0;
}
.technical-page.expenses-page :is(.expense-simple-metric, .expense-simple-server-metric, .expense-simple-site) {
    padding: 16px;
    border: 1px solid var(--theme-border);
    border-radius: calc(var(--theme-radius) - 2px);
    background: var(--theme-card);
}
.technical-page.expenses-page .expense-simple-metric strong { font-size: 24px; font-weight: 600; line-height: 1.25; }
.technical-page.expenses-page .expense-simple-metric span { color: var(--theme-muted-foreground); }
.technical-page.expenses-page .expense-simple-progress { border-radius: 999px; background: var(--theme-muted); }
.technical-page.expenses-page .hosting-installation-tabs { display: flex; flex-wrap: wrap; width: fit-content; max-width: 100%; }
.technical-page.expenses-page :is(.hosting-server-card, .hosting-server-details, .hosting-server-dialog) {
    background: var(--theme-card);
    border-color: var(--theme-border);
    box-shadow: var(--shadow);
}
.technical-page.expenses-page .hosting-server-sparkline polyline { filter: none; }
.technical-page.expenses-page .hosting-server-disk-chart { box-shadow: none; }
.technical-page.expenses-page .modal-dialog { max-width: min(800px, calc(100% - 32px)); margin-inline: auto; }
.technical-page.expenses-page .modal-content { max-height: calc(100dvh - 32px); }
.technical-page.expenses-page .modal-body { min-height: 0; overflow: auto; }
.technical-page.copy-import-page .edit-mode-copy-form { display: grid; gap: 16px; padding: 24px; box-sizing: border-box; }
.technical-page.copy-import-page .edit-mode-copy-form > * { min-width: 0; max-width: 100%; }
.technical-page.copy-import-page .btn img { width: 16px; height: 16px; }
@media (max-width: 900px), (hover: none) and (pointer: coarse) {
    .technical-page.expenses-page .expense-simple-summary,
    .technical-page.copy-import-page .edit-mode-copy-form { padding: 16px; }
    .technical-page.expenses-page .expense-simple-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .technical-page.expenses-page .expense-simple-client summary,
    .technical-page.expenses-page .expense-simple-site { grid-template-columns: minmax(0, 1fr); }
    .technical-page.expenses-page .expense-simple-client-body { padding-inline-start: 0; }
}

/* Email confirmation follows the same visual language as account forms. */
.technical-page .profile-email-change { width: min(100%, 1120px); margin: 1.5rem auto; }
.technical-page .profile-email-change h2 { font-size: 1.25rem; margin-block: 0 1rem; }
.technical-page .profile-email-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 1rem; list-style: none; padding: 0; }
.technical-page .profile-email-step { display: flex; align-items: flex-start; gap: .85rem; padding: 1.25rem; border: 1px solid var(--theme-border); border-radius: var(--theme-radius); background: var(--theme-card); min-width: 0; }
.technical-page .profile-email-step.is-current { border-color: var(--theme-primary); box-shadow: 0 0 0 1px var(--theme-primary); }
.technical-page .profile-email-step-number { display: grid; place-items: center; flex: 0 0 2rem; height: 2rem; border-radius: 50%; background: var(--theme-accent); color: var(--theme-foreground); font-weight: 700; }
.technical-page .profile-email-step.is-complete .profile-email-step-number { color: var(--theme-success); }
.technical-page .profile-email-step > div { min-width: 0; }
.technical-page .profile-email-step h3 { font-size: 1rem; margin: 0 0 .5rem; }
.technical-page .profile-email-address { display: block; overflow-wrap: anywhere; font-weight: 600; }
.technical-page .profile-email-step p { margin-block: .75rem; color: var(--theme-muted-foreground); }
.technical-page .profile-email-step .btn { white-space: normal; }

/* Account forms share controls without placing decoration over one-time codes. */
.technical-page .authentication-card,
.technical-page .profile-form { background: var(--theme-card); color: var(--theme-foreground); border: 1px solid var(--theme-border); border-radius: var(--theme-radius); padding: clamp(16px, 4vw, 28px); }
.technical-page .authentication-card label,
.technical-page .profile-form label { display: block; margin-block: 0 1rem; }
.technical-page .authentication-card input:not([type=hidden]):not([type=submit]),
.technical-page .profile-form input:not([type=hidden]):not([type=submit]) { box-sizing: border-box; max-width: 100%; padding: .75rem; border: 1px solid var(--theme-border); border-radius: var(--theme-radius); background: var(--theme-background); color: var(--theme-foreground); }
.technical-page input[autocomplete="one-time-code"] { display: block; width: min(100%, 16rem); font-family: monospace; font-size: 2rem; font-weight: 700; line-height: 1.5; letter-spacing: .12em; text-align: center; margin-block: .5rem; }
.technical-page .auth-actions,
.technical-page .auth-code-tools { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-block: .75rem 1rem; }
.technical-page .auth-code-tools span { color: var(--theme-muted-foreground); }
.technical-page .auth-trusted-row { border-block-start: 1px solid var(--theme-border); padding-block: 1rem; overflow-wrap: anywhere; }
.technical-page .authentication-card :is(button,a,input):focus-visible,
.technical-page .profile-form :is(button,a,input):focus-visible { outline: 2px solid var(--theme-primary); outline-offset: 3px; }

.technical-page .profile-delivery-inline { margin: .75rem 0 1rem; font-size: .82rem; color: var(--theme-muted-foreground); }
.technical-page .profile-delivery-inline summary { cursor: pointer; color: var(--theme-success); }
.technical-page .profile-delivery-inline.delivery-warning summary { color: var(--theme-muted-foreground); }
.technical-page .profile-delivery-inline.delivery-danger summary { color: var(--theme-destructive); }
.technical-page .profile-delivery-inline p { margin: .5rem 0; }
.technical-page .profile-delivery-inline .profile-delivery-log { max-height: 9rem; font-size: .75rem; padding: .75rem; }
.technical-page .profile-email-step { box-shadow: none; padding: 1rem; }
.technical-page .profile-email-step > div { flex: 1; }
.technical-page .profile-email-step .profile-code-form { padding: 0; margin: 1rem 0; border: 0; background: transparent; box-shadow: none; }
.technical-page .profile-email-step .profile-step-status { font-size: .8rem; margin-top: .5rem; line-height: 1.5; }
.technical-page .profile-email-step .profile-email-address { overflow-wrap: anywhere; }
.technical-page .profile-email-step .profile-form-actions { justify-content: flex-start; }

.technical-page .account-delivery { margin: .5rem 0 1rem; font-size: .82rem; line-height: 1.5; color: var(--theme-muted-foreground); }
.technical-page .account-delivery[data-delivery-state="success"] { color: var(--bs-success, #198754); }
.technical-page .account-delivery[data-delivery-state="danger"] { color: var(--bs-danger, #dc3545); }
.technical-page .account-delivery p { margin: 0 0 .35rem; color: inherit; }
.technical-page .account-delivery summary { cursor: pointer; font-size: .78rem; }
.technical-page .account-delivery pre { max-height: 9rem; overflow: auto; margin-top: .5rem; padding: .65rem; font-size: .75rem; color: var(--theme-muted-foreground); background: var(--theme-card); border: 1px solid var(--theme-border); border-radius: var(--theme-radius); }
.technical-page .account-https-shell { max-width: 640px; margin: 3rem auto; padding: 0 1rem; }
.technical-page .account-certificate-ready { color: var(--bs-success, #198754); font-weight: 600; }

.technical-page .profile-email-step .profile-email-release-form {
    width: 100%;
    max-width: none;
    border: 0 !important;
    outline: 0;
    box-shadow: none;
    text-align: start;
}
.technical-page .profile-email-release-form label {
    justify-items: start;
    text-align: left;
    margin: 0;
    border: 0;
    outline: none;
    box-shadow: none;
    background: transparent;
}
.technical-page .profile-email-step .profile-email-release-form input.profile-code-input:not([type=hidden]):not([type=submit]) {
    margin: 0;
    padding-inline: 0;
    text-align: left;
    border: 0;
    outline: none;
    box-shadow: none;
    background: transparent;
}
.technical-page .profile-email-step .profile-email-release-form {
    gap: 0;
}
.technical-page .profile-email-release-form .profile-form-actions {
    justify-content: flex-start;
    margin-top: 1lh;
}

.technical-page .profile-email-step .profile-step-status.text-success {
    color: var(--bs-success, #198754) !important;
}
.technical-page .profile-email-step .profile-step-status.text-danger {
    color: var(--bs-danger, #dc3545) !important;
}


/* Account security cards use the same compact Meridian layout as the rest of the admin UI. */
.technical-page .profile-account-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
    margin-inline: auto;
    margin-block-start: 20px;
    align-items: stretch;
}
.technical-page .profile-account-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    max-width: none;
    min-width: 0;
    box-sizing: border-box;
    align-content: start;
}
.technical-page .profile-account-card-header {
    display: grid;
    align-content: start;
    gap: 6px;
    min-height: 112px;
}
.technical-page .profile-account-controls { display: grid; gap: 8px; }
.technical-page .profile-account-controls .auth-trusted-row { margin: 0; padding-block: 8px; }
.technical-page .profile-account-controls p { margin: 0 0 8px; }
.technical-page .auth-method-heading {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}
.technical-page .auth-method-illustration {
    display: block;
    flex: 0 0 112px;
    width: 112px;
    height: 102px;
    object-fit: contain;
}
.technical-page .auth-method-copy {
    display: grid;
    min-width: 0;
    gap: 6px;
}
.technical-page .auth-method-copy h2,
.technical-page .auth-method-copy .h5 {
    margin: 0;
}
.technical-page .auth-method-copy p {
    margin: 0;
    color: var(--theme-muted-foreground);
    line-height: 1.45;
}
.technical-page .auth-method-heading-login {
    margin-bottom: 12px;
}
.technical-page .profile-account-card-header h2,
.technical-page .profile-authenticator-card h3 {
    margin: 0;
}
.technical-page .profile-account-card-header p {
    margin: 0;
    color: var(--theme-muted-foreground);
    line-height: 1.45;
}
@media (max-width: 520px) {
    .technical-page .auth-method-heading {
        gap: 10px;
    }
    .technical-page .auth-method-illustration {
        flex-basis: 82px;
        width: 82px;
        height: 76px;
    }
}
.technical-page .profile-account-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}
.technical-page .profile-account-list {
    display: grid;
    gap: 10px;
}
.technical-page .profile-account-more { display: grid; gap: 10px; }
.technical-page .profile-account-more > summary { width: fit-content; color: var(--theme-primary); cursor: pointer; }
.technical-page .profile-account-more[open] > summary { margin-bottom: 2px; }
.technical-page .profile-account-list .auth-trusted-row {
    margin: 0;
    padding: 12px;
    border: 1px solid var(--theme-border);
    border-radius: calc(var(--theme-radius) - 2px);
    background: var(--panel-soft);
}
.technical-page .profile-account-list .profile-ip-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px 14px;
}
.technical-page .profile-ip-details {
    display: grid;
    min-width: 0;
    gap: 5px;
}
.technical-page .profile-ip-location {
    color: var(--theme-muted-foreground);
    font-size: .84rem;
    line-height: 1.4;
}
.technical-page .profile-ip-details p {
    margin: 4px 0 0;
    color: var(--theme-muted-foreground);
    font-size: .82rem;
    line-height: 1.55;
}
.technical-page .profile-account-list .profile-ip-row > button { grid-column: 2; grid-row: 1; }
.technical-page .account-status,
.technical-page .account-status-inline {
    width: fit-content;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}
.technical-page .account-status-success,
.technical-page .account-status-inline {
    background: color-mix(in srgb, var(--theme-success) 14%, var(--theme-card));
    color: var(--theme-success);
}
.technical-page .authenticator-apps,
.technical-page .authenticator-connect,
.technical-page .authenticator-code-form {
    display: grid;
    gap: 10px;
}
.technical-page .authenticator-apps-label {
    color: var(--theme-muted-foreground);
    font-size: 13px;
    font-weight: 600;
}
.technical-page .authenticator-app-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.technical-page .authenticator-app-buttons .btn {
    min-height: 34px;
    padding: 7px 10px;
    font-size: 13px;
}
.technical-page .authenticator-steps {
    display: grid;
    gap: 8px;
    margin: 0;
    padding-inline-start: 22px;
    color: var(--theme-foreground);
}
.technical-page .authenticator-steps li::marker {
    color: var(--theme-primary);
    font-weight: 700;
}
.technical-page .authenticator-connect {
    padding: 12px;
    border: 1px solid var(--theme-border);
    border-radius: calc(var(--theme-radius) - 2px);
    background: var(--panel-soft);
}
.technical-page .authenticator-qr-code {
    width: min(256px, 100%);
    height: auto;
    justify-self: center;
    border: 1px solid var(--theme-border);
    border-radius: 8px;
    background: #fff;
    padding: 8px;
}
.technical-page .authenticator-connect-or {
    color: var(--theme-muted-foreground);
    font-size: 12px;
    font-weight: 600;
}
.technical-page .auth-copy-field {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: stretch;
}
.technical-page .auth-copy-field code {
    display: flex;
    align-items: center;
    min-width: 0;
    padding: 9px 10px;
    overflow-wrap: anywhere;
    word-break: break-all;
}
.technical-page .auth-copy-field .btn {
    white-space: nowrap;
}
.technical-page .authenticator-code-form .hint {
    display: block;
    margin-top: 4px;
    color: var(--theme-muted-foreground);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
}
.technical-page .authenticator-code-form input[autocomplete="one-time-code"] {
    width: min(100%, 14rem);
    margin-top: 8px;
}
@media (max-width: 900px), (hover: none) and (pointer: coarse) {
    .technical-page .profile-account-grid {
        grid-template-columns: 1fr;
    }
    .technical-page .profile-account-card-header { min-height: 0; }
    .technical-page .authenticator-app-buttons {
        display: grid;
        grid-template-columns: 1fr;
    }
    .technical-page .auth-copy-field {
        grid-template-columns: 1fr;
    }
}

/* Every account card participates in the same grid and box model. */
.technical-page .profile-page .profile-account-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; width: 100%; max-width: none; }
.technical-page .profile-page .profile-account-grid > :is(.profile-form,.authentication-card,.profile-account-card) { width: 100%; max-width: none; min-width: 0; margin: 0; box-sizing: border-box; }
.technical-page .profile-account-grid > .profile-ai-card:last-child { grid-column: 1 / -1; }
.technical-page .profile-pagination { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-block-start: 12px; }
@media (max-width: 760px) { .technical-page .profile-page .profile-account-grid { grid-template-columns: minmax(0, 1fr); } }

@media (min-width: 761px) {
 .technical-page .profile-account-grid > .profile-sessions-card { grid-column: 1; }
 .technical-page .profile-account-grid > .profile-admin-ip-card { grid-column: 2; }
}
