:root {
    color-scheme: light;
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        'Segoe UI',
        sans-serif;
    color: #202c40;
    background: #f7f9fc;
    font-synthesis: none;
    --muted: #758196;
    --border: #e7ecf3;
    --blue: #466be9;
    --text-secondary: #59667d;
}
* {
    box-sizing: border-box;
}
body {
    margin: 0;
    min-width: 320px;
}
button,
input {
    font: inherit;
}
button,
a {
    -webkit-tap-highlight-color: transparent;
}
a {
    color: inherit;
    text-decoration: none;
}
button {
    cursor: pointer;
}
svg {
    width: 19px;
    height: 19px;
    flex-shrink: 0;
}
h1,
h2,
h3,
p {
    margin: 0;
}
h1 {
    font-size: 32px;
    font-weight: 650;
    letter-spacing: -0.045em;
    line-height: 1.25;
}
h2 {
    font-size: 23px;
    font-weight: 650;
    letter-spacing: -0.035em;
}
h3 {
    font-size: 19px;
    font-weight: 600;
}
.muted {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
}
:focus-visible {
    outline: 3px solid #a8bbff;
    outline-offset: 3px;
}
.home-page {
    background: #fff;
}
.home-main {
    min-height: 100vh;
    min-height: 100svh;
    display: grid;
    place-items: center;
    padding: 24px;
}
.home-wordmark {
    position: relative;
    font-size: clamp(48px, 9vw, 116px);
    font-weight: 700;
    letter-spacing: -0.065em;
    background: linear-gradient(
        110deg,
        #243b6a 0%,
        #4673dc 22%,
        #8b5bd6 43%,
        #47a4be 62%,
        #4673dc 80%,
        #243b6a 100%
    );
    background-size: 300% 100%;
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    animation: wordmark-shimmer 13s ease-in-out infinite;
}
.wordmark-sparkles,
.wordmark-glints {
    position: absolute;
    inset: 0;
    pointer-events: none;
    user-select: none;
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
}
.wordmark-sparkles {
    background-image:
        radial-gradient(
            circle at 13px 17px,
            #fff 0 0.8px,
            #ffffffb3 1.3px,
            #fff0 3.5px
        ),
        radial-gradient(
            circle at 41px 29px,
            #fff 0 1px,
            #ffffff80 1.8px,
            #fff0 4px
        ),
        radial-gradient(circle at 27px 9px, #fff 0 0.6px, #fff0 2.5px);
    background-size:
        73px 47px,
        101px 61px,
        59px 37px;
    animation: wordmark-sparkles 6.5s ease-in-out infinite;
}
.wordmark-glints {
    background-image:
        radial-gradient(ellipse 1px 5px at 22px 21px, #fffffff2 0%, #fff0 100%),
        radial-gradient(ellipse 5px 1px at 22px 21px, #fffffff2 0%, #fff0 100%),
        radial-gradient(
            circle at 22px 21px,
            #fff 0 0.7px,
            #ffffff80 1.5px,
            #fff0 4px
        );
    background-size: 113px 67px;
    animation: wordmark-glints 8s ease-in-out -3s infinite;
}
@keyframes wordmark-sparkles {
    0%,
    100% {
        opacity: 0.12;
        background-position:
            0 0,
            8px 2px,
            3px 8px;
    }
    24% {
        opacity: 0.8;
    }
    48% {
        opacity: 0.2;
    }
    72% {
        opacity: 0.9;
    }
    88% {
        opacity: 0.3;
    }
    100% {
        background-position:
            24px 9px,
            -18px 11px,
            17px -5px;
    }
}
@keyframes wordmark-glints {
    0%,
    36%,
    70%,
    100% {
        opacity: 0;
    }
    18%,
    54%,
    88% {
        opacity: 0.9;
    }
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 34px 13px;
    }
}
@keyframes wordmark-shimmer {
    0%,
    100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: -0.045em;
    white-space: nowrap;
}
.brand-mark {
    width: 35px;
    height: 35px;
    display: grid;
    place-items: center;
    background: var(--blue);
    border-radius: 10px;
    color: white;
    box-shadow: 0 3px 7px #466be918;
}
.brand-mark svg {
    width: 24px;
    height: 24px;
}
.panel-header {
    background: #fff;
    border-bottom: 1px solid var(--border);
}
.panel-topbar {
    min-height: 60px;
    max-width: 1480px;
    margin-inline: auto;
    padding: 8px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}
.panel-location {
    display: flex;
    align-items: center;
    gap: 20px;
}
.panel-brand {
    display: flex;
    align-items: center;
    min-height: 44px;
    font-size: 19px;
    font-weight: 650;
    letter-spacing: -0.035em;
}
.panel-location-separator {
    color: var(--muted);
    font-size: 19px;
}
.panel-current {
    display: flex;
    align-items: center;
    min-height: 44px;
    color: var(--blue);
    font-size: 14px;
    font-weight: 600;
}
.panel-account {
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 0;
}
.panel-username {
    font-size: 13px;
    line-height: 1.5;
    max-width: 240px;
    overflow-wrap: anywhere;
}
.panel-signout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    min-width: 44px;
    padding: 8px 10px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: inherit;
    font-size: 13px;
    font-weight: 500;
}
.panel-topbar :focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 3px;
}
@media (hover: hover) {
    .panel-signout:hover {
        background: #f7f9fc;
    }
    .panel-brand:hover {
        color: var(--blue);
    }
}
.panel-main {
    max-width: 1480px;
    margin: auto;
    padding: 52px 48px 24px;
}
.page-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 32px;
}
.page-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 12px;
    margin-inline-start: auto;
}
.eyebrow {
    color: #8a96a9;
    font-size: 10px;
    letter-spacing: 0.12em;
    font-weight: 650;
    margin-bottom: 10px;
}
.page-heading h1 {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 10px;
}
.heading-count {
    background: #e9eefb;
    border: 1px solid #e0e7f9;
    color: #657cae;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0;
    border-radius: 8px;
    min-width: 30px;
    padding: 4px 8px;
    text-align: center;
}
.button {
    border: 1px solid transparent;
    border-radius: 8px;
    min-height: 42px;
    padding: 10px 16px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    line-height: 20px;
    font-weight: 550;
    white-space: nowrap;
    transition:
        background 0.15s,
        box-shadow 0.15s;
}
.button-primary {
    color: white;
    background: var(--blue);
    box-shadow: 0 3px 6px #466be918;
}
.button-primary:hover {
    background: #365ad4;
}
.button-secondary {
    background: white;
    border-color: #e0e6ef;
    color: #59667d;
}
.button-secondary:hover {
    background: #f4f7fc;
    border-color: #cbd6e8;
}
[data-check-all-sites]:focus-visible,
[data-check-site]:focus-visible {
    outline-color: var(--blue);
}
.button-danger {
    background: #df475b;
    color: #fff;
}
.button-danger:hover {
    background: #c83549;
}
.button-small {
    min-height: 34px;
    padding: 6px 10px;
    font-size: 12px;
    border-radius: 7px;
}
.button-small svg {
    width: 16px;
    height: 16px;
    color: #8492aa;
}
.button-count {
    font-size: 10px;
    color: #8793a6;
    padding-left: 2px;
}
.icon-button {
    border: 0;
    background: transparent;
    width: 34px;
    height: 34px;
    border-radius: 7px;
    display: inline-grid;
    place-items: center;
    color: #8b97ab;
    padding: 0;
}
.icon-button:hover {
    background: #eef2fb;
    color: var(--blue);
}
.icon-danger:hover {
    background: #fff0f2;
    color: #d9475b;
}
.sites-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 4px 18px #263b5b03;
    overflow: hidden;
}
.table-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
}
.search-form {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 560px;
    max-width: 100%;
}
.search-field {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid #d5deec;
    border-radius: 9px;
    background: #fbfcff;
    box-shadow: 0 1px 2px #20385a04;
    transition:
        border-color 0.15s,
        box-shadow 0.15s,
        background 0.15s;
}
.search-field:focus-within {
    border-color: var(--blue);
    background: white;
    box-shadow: 0 0 0 3px #466be91a;
}
.search-field > svg {
    color: #93a0b4;
    width: 18px;
    height: 18px;
}
.search-form input {
    min-width: 0;
    flex: 1;
    border: 0;
    padding: 11px 0;
    background: transparent;
    font-size: 13px;
}
.search-form input:focus-visible {
    outline: none;
}
.search-form input::-webkit-search-cancel-button {
    -webkit-appearance: none;
}
.search-clear {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}
.search-clear svg {
    width: 14px;
    height: 14px;
}
[hidden] {
    display: none !important;
}
.search-error {
    padding: 0 24px 18px;
    color: #bb4359;
    font-size: 13px;
    line-height: 1.6;
}
#site-results {
    transition: opacity 0.15s;
}
#site-results.is-searching {
    opacity: 0.55;
}
input::placeholder {
    color: #99a4b6;
}
.toolbar-caption {
    font-size: 12px;
    color: #a2acbc;
    white-space: nowrap;
}
.text-link {
    font-size: 12px;
    color: var(--blue);
}
.text-link:hover {
    text-decoration: underline;
}
.table-scroll {
    overflow-x: auto;
}
table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 13px;
}
th {
    font-weight: 500;
    color: #8792a5;
    font-size: 11px;
    background: #fafbfd;
    border-top: 1px solid #f0f3f7;
    border-bottom: 1px solid var(--border);
    padding: 14px 18px;
    white-space: nowrap;
}
td {
    padding: 23px 18px;
    border-bottom: 1px solid #edf0f5;
    vertical-align: middle;
}
.sites-table th:first-child,
.sites-table td:first-child {
    padding-left: 24px;
}
.sites-table th:last-child,
.sites-table td:last-child {
    padding-right: 24px;
}
tbody tr:last-child td {
    border-bottom: 0;
}
.sites-table tbody tr:hover {
    background: #fcfdff;
}
.site-identity {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 195px;
}
.site-avatar {
    width: 39px;
    height: 39px;
    flex-shrink: 0;
    border: 1px solid #e3eafa;
    border-radius: 10px;
    color: #6581c3;
    background: #f1f5fd;
    display: grid;
    place-items: center;
    font-weight: 600;
    font-size: 16px;
}
.site-label {
    min-width: 0;
}
.site-label strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    max-width: 250px;
    overflow-wrap: anywhere;
}
.site-url {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #8c97aa;
    font-size: 11px;
    margin-top: 6px;
    max-width: 250px;
    overflow-wrap: anywhere;
}
.site-url svg {
    width: 11px;
    height: 11px;
}
.site-url:hover {
    color: var(--blue);
}
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    line-height: 16px;
    padding: 4px 8px;
    border-radius: 6px;
    white-space: nowrap;
}
.badge i {
    width: 5px;
    height: 5px;
    background: currentColor;
    border-radius: 50%;
}
.badge-neutral {
    color: #8792a5;
    background: #f0f3f7;
}
.badge-success {
    color: #3a9c7a;
    background: #ecf8f2;
}
.badge-danger {
    color: #d25767;
    background: #fff0f2;
}
.badge-warning {
    color: #ad8531;
    background: #fff7e3;
}
.versions {
    font-size: 11px;
    color: #6a7890;
    white-space: nowrap;
}
.versions > span {
    display: block;
    line-height: 21px;
}
.version-label {
    font-size: 9px;
    color: #9ca7b8;
    display: inline-block;
    width: 27px;
}
.sync-date {
    font-size: 11px;
    color: #8e99ab;
    white-space: nowrap;
}
.sync-date .muted {
    font-size: 11px;
}
.row-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
}
.actions-heading {
    text-align: right;
}
.actions-divider {
    width: 1px;
    height: 20px;
    background: var(--border);
    margin: 0 3px;
}
.table-footer {
    border-top: 1px solid var(--border);
    padding: 15px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #9aa5b6;
    font-size: 11px;
    gap: 12px;
}
.pagination {
    display: flex;
    align-items: center;
    gap: 12px;
}
.panel-footnote {
    color: #a9b3c3;
    text-align: center;
    font-size: 11px;
    padding: 25px;
}
.panel-footnote span {
    margin: 0 8px;
}
.empty-state {
    padding: 72px 24px 80px;
    text-align: center;
}
.empty-icon {
    display: inline-grid;
    place-items: center;
    width: 58px;
    height: 58px;
    color: #8198d0;
    background: #f1f5fe;
    border: 1px solid #e5ecfa;
    border-radius: 17px;
    margin-bottom: 20px;
}
.empty-icon svg {
    width: 26px;
    height: 26px;
}
.empty-state h2 {
    font-size: 21px;
    margin-bottom: 9px;
}
.empty-state .muted {
    max-width: 360px;
    margin: 0 auto 24px;
    font-size: 13px;
}
.alert {
    border: 1px solid;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 20px;
}
.alert p + p {
    margin-top: 4px;
}
.alert-error {
    border-color: #f1d4db;
    color: #bb4359;
    background: #fff6f7;
}
.alert-success {
    display: flex;
    align-items: center;
    gap: 9px;
    border-color: #d3eadf;
    color: #388567;
    background: #f1fbf6;
}
.modal {
    color: #202c40;
    background: white;
    width: min(480px, calc(100% - 32px));
    max-height: calc(100dvh - 48px);
    padding: 28px;
    border: 1px solid #e2e8f2;
    border-radius: 16px;
    box-shadow: 0 30px 100px #1c2c5033;
    overflow-y: auto;
    overscroll-behavior: contain;
}
.modal::backdrop {
    background: #25385855;
    backdrop-filter: blur(3px);
}
.editor-key {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}
.editor-key h3 {
    font-size: 14px;
    margin-bottom: 12px;
}
.key-copy-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.key-preview {
    display: block;
    flex: 1 1 180px;
    min-width: 0;
    padding: 12px;
    border: 1px solid #d5deec;
    border-radius: 8px;
    background: #fbfcff;
    font:
        14px/1.5 ui-monospace,
        'Cascadia Code',
        Consolas,
        monospace;
    overflow-wrap: anywhere;
}
.key-copy-row .button {
    min-height: 44px;
}
#site-key-rotation .button {
    min-height: 44px;
}
#confirm-key-rotation {
    background: #c83549;
}
#site-key :focus-visible,
#site-key-rotation :focus-visible,
#regenerate-site-key:focus-visible {
    outline-color: var(--blue);
}
.key-help,
.key-site-name {
    color: #59667d;
    font-size: 14px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}
.key-help {
    margin-top: 14px;
}
.key-site-name {
    margin-bottom: 20px;
}
.key-status {
    font-size: 13px;
    line-height: 1.6;
    margin-top: 12px;
}
.clipboard-source {
    position: fixed;
    inset: 0 auto auto 0;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}
.modal-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 12px;
}
.modal-heading .icon-button {
    margin: -4px -6px 0 0;
}
.modal > .muted {
    margin-bottom: 26px;
}
.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    border-top: 1px solid var(--border);
    padding-top: 22px;
    margin-top: 26px;
}
.modal-small {
    width: min(430px, calc(100% - 32px));
}
.modal-small > p {
    font-size: 14px;
    line-height: 1.7;
    margin-top: 12px;
}
.modal-wide {
    width: min(880px, calc(100% - 32px));
}
.modal-wide .modal-heading {
    margin-bottom: 24px;
}
.modal-wide .modal-heading .muted {
    margin-top: 7px;
    overflow-wrap: anywhere;
}
.details-table th,
.details-table td {
    padding: 14px 13px;
}
.details-table td {
    font-size: 12px;
    overflow-wrap: anywhere;
    max-width: 250px;
}
.details-table strong {
    font-weight: 600;
}
.cell-subtitle {
    display: block;
    color: #96a1b2;
    font-size: 11px;
    margin-top: 5px;
}
.roles {
    font-size: 11px;
    color: #8290a7;
}
.empty-details {
    padding: 35px 16px;
}
.empty-details h3 {
    margin-bottom: 9px;
}
.empty-details .muted {
    margin-bottom: 0;
}
.is-loading {
    padding: 45px 15px;
    color: #8c99af;
    text-align: center;
    font-size: 13px;
}
.field {
    margin-bottom: 19px;
}
.field > label {
    display: block;
    font-size: 13px;
    font-weight: 550;
    margin-bottom: 9px;
}
input:not([type='checkbox']):not([type='hidden']) {
    color: #253148;
}
.field input {
    width: 100%;
    min-height: 44px;
    border: 1px solid #dce3ee;
    border-radius: 8px;
    background: white;
    padding: 11px 13px;
    font-size: 14px;
}
.field input:focus {
    border-color: #8da6f4;
}
.field-error {
    color: #c04b5f;
    font-size: 12px;
    line-height: 1.6;
    margin-top: 6px;
}
.field-error:empty {
    display: none;
}
.checkbox-field {
    display: flex;
    gap: 11px;
    align-items: flex-start;
    padding: 14px;
    background: #f8fafd;
    border: 1px solid #e9edf5;
    border-radius: 8px;
}
.checkbox-field input {
    width: 16px;
    height: 16px;
    margin: 2px 0 0;
    accent-color: var(--blue);
    flex-shrink: 0;
}
.checkbox-field strong {
    display: block;
    font-size: 13px;
    font-weight: 550;
}
.checkbox-field .muted {
    display: block;
    font-size: 12px;
    margin-top: 4px;
}
.login-page {
    --login-secondary: #59667d;
    --login-field-border: #8995a8;
    --login-error: #b8384d;
    background: #f7f9fc;
}
.login-page ::selection {
    background: #dce6ff;
    color: #202c40;
}
.login-page :focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 4px;
}
.login-main {
    min-height: 100svh;
    display: grid;
    place-items: center;
    padding: 40px 24px;
}
.login-card {
    width: min(100%, 352px);
}
.login-brand {
    display: flex;
    justify-content: center;
    gap: 12px;
    width: fit-content;
    min-height: 44px;
    margin: 0 auto 36px;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.035em;
}
.login-brand .brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    box-shadow: none;
}
.login-brand .brand-mark svg {
    width: 26px;
    height: 26px;
}
.login-card .field {
    margin-bottom: 24px;
}
.login-card .field > label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}
.login-card .field input {
    min-height: 52px;
    padding: 14px 16px;
    border-color: var(--login-field-border);
    font-size: 16px;
    line-height: 22px;
    caret-color: var(--blue);
    transition: border-color 150ms cubic-bezier(0.2, 0, 0, 1);
}
.login-card .field input::placeholder {
    color: var(--login-secondary);
    opacity: 1;
}
.login-card .field input:focus {
    border-color: var(--blue);
}
.login-card .field input[aria-invalid='true'] {
    border-color: var(--login-error);
}
.login-card .field-error {
    color: var(--login-error);
    font-size: 13px;
    overflow-wrap: anywhere;
}
.login-password {
    position: relative;
}
.login-card .login-password input {
    padding-inline-end: 56px;
}
.password-toggle {
    position: absolute;
    inset-block-start: 4px;
    inset-inline-end: 4px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    color: var(--login-secondary);
    background: transparent;
}
.password-toggle[hidden] {
    display: none;
}
.password-toggle span {
    display: grid;
    grid-area: 1 / 1;
    transition:
        opacity 150ms cubic-bezier(0.2, 0, 0, 1),
        scale 150ms cubic-bezier(0.2, 0, 0, 1),
        filter 150ms cubic-bezier(0.2, 0, 0, 1);
}
.password-toggle svg {
    width: 20px;
    height: 20px;
}
.password-hide,
.password-toggle.is-visible .password-show {
    opacity: 0;
    scale: 0.25;
    filter: blur(4px);
}
.password-toggle.is-visible .password-hide {
    opacity: 1;
    scale: 1;
    filter: blur(0);
}
.login-submit {
    width: 100%;
    min-height: 52px;
    gap: 12px;
    font-size: 15px;
    font-weight: 600;
    box-shadow: none;
    transition: background 150ms cubic-bezier(0.2, 0, 0, 1);
}
.login-submit:disabled {
    cursor: wait;
    background: #365ad4;
}
.login-submit:disabled svg {
    opacity: 0;
}
.login-submit svg {
    width: 18px;
    height: 18px;
}
.login-submit:hover:not(:disabled) {
    background: var(--blue);
}
@media (hover: hover) {
    .login-submit:hover:not(:disabled) {
        background: #365ad4;
    }
    .login-card .field input:hover:not(:focus):not([aria-invalid='true']) {
        border-color: var(--login-secondary);
    }
    .password-toggle:hover {
        color: #202c40;
        background: #e7ecf3;
    }
}
@media (prefers-reduced-motion: no-preference) {
    .login-submit:active:not(:disabled) {
        scale: 0.96;
    }
}
@media (forced-colors: active) {
    .login-page :focus-visible {
        outline-color: Highlight;
    }
}
.noscript-note {
    text-align: center;
    font-size: 13px;
    padding: 20px;
    color: #a36924;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
@media (max-width: 1150px) {
    .panel-topbar {
        padding-inline: 28px;
    }
    .panel-main {
        padding: 38px 28px 20px;
    }
    .sites-table th:nth-child(4),
    .sites-table td:nth-child(4) {
        display: none;
    }
}
@media (max-width: 850px) {
    .sites-table {
        min-width: 760px;
    }
    .panel-main {
        padding: 32px 20px 16px;
    }
    .panel-topbar {
        padding-inline: 20px;
    }
    .page-heading h1 {
        font-size: 28px;
    }
    .table-toolbar {
        padding: 16px 18px;
    }
    .toolbar-caption {
        display: none;
    }
}
@media (max-width: 600px) {
    .panel-topbar {
        gap: 12px;
    }
    .panel-location {
        gap: 12px;
    }
    .panel-brand {
        font-size: 18px;
    }
    .brand {
        font-size: 18px;
        gap: 8px;
    }
    .brand-mark {
        width: 31px;
        height: 31px;
    }
    .panel-username,
    .panel-signout span {
        display: none;
    }
    .panel-account {
        gap: 0;
    }
    .page-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
    }
    .page-actions {
        flex-direction: column;
        width: 100%;
    }
    .page-actions > .button {
        width: 100%;
    }
    .table-toolbar {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }
    .search-form {
        width: 100%;
    }
    .search-form input {
        font-size: 12px;
    }
    .sites-table {
        min-width: 0;
    }
    .sites-table thead {
        display: none;
    }
    .sites-table tbody {
        display: block;
    }
    .sites-table tr {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 13px 8px;
        padding: 20px 18px;
        border-top: 1px solid var(--border);
    }
    .sites-table td,
    .sites-table td:first-child,
    .sites-table td:last-child {
        padding: 0;
        border: 0;
    }
    .site-identity {
        min-width: 0;
        gap: 10px;
    }
    .site-label {
        flex: 1;
    }
    .site-url {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .site-url svg {
        display: none;
    }
    .sites-table td.versions {
        grid-column: 1 / -1;
        display: flex;
        gap: 16px;
        padding-left: 49px;
    }
    .sites-table td:last-child {
        grid-column: 1 / -1;
    }
    .row-actions {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 6px;
    }
    .row-actions .icon-button {
        width: 30px;
        height: 30px;
    }
    .actions-divider {
        display: none;
    }
    .empty-state {
        padding: 50px 20px;
    }
    .empty-state h2 {
        font-size: 19px;
    }
    .modal {
        padding: 22px;
    }
    .modal-footer .button {
        flex: 1;
    }
}
@media (prefers-reduced-motion: reduce) {
    .wordmark-sparkles,
    .wordmark-glints {
        display: none;
    }
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}
