:root {
    --bg: #f6f7f9;
    --surface: #ffffff;
    --ink: #0a0a0a;
    --muted: #5f6368;
    --line: #e6e8eb;
    --line-strong: #d0d4da;
    --focus: #2563eb;
    --danger: #b42318;
    --ok: #0f7a43;
    --radius: 8px;
    --radius-sm: 6px;
    --text: 14px;
    --sans: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    font-family: var(--sans);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.5;
    font-size: var(--text);
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--focus);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

a.btn:hover {
    text-decoration: none;
}

h1,
h2 {
    font-family: var(--sans);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--ink);
}

h1 {
    font-size: 1.5rem;
    margin: 0 0 0.35rem;
}

h2 {
    font-size: var(--text);
    margin: 0;
}

.lede {
    margin: 0 0 1.5rem;
    color: var(--muted);
    font-size: var(--text);
}

.brand {
    margin: 0;
    font-size: var(--text);
    font-weight: 600;
    letter-spacing: -0.03em;
    color: var(--ink);
}

.brand--link {
    text-decoration: none;
    color: var(--ink);
}

.brand--link:hover {
    color: var(--ink);
    text-decoration: none;
}

.guest {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 2.5rem 1.25rem;
}

.guest__panel {
    width: min(26rem, 100%);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 2.25rem 2rem 1.75rem;
}

.guest h1 {
    font-size: 1.65rem;
    margin-bottom: 0.4rem;
}

.guest__footer {
    margin: 1.35rem 0 0;
    font-size: var(--text);
}

.field {
    display: grid;
    gap: 0.4rem;
    margin-bottom: 1rem;
    font-size: var(--text);
    font-weight: 500;
    color: var(--ink);
    border: 0;
    padding: 0;
    min-inline-size: 0;
}

.field input,
.field textarea {
    font: inherit;
    font-size: var(--text);
    font-weight: 400;
    color: var(--ink);
    background: var(--surface);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    padding: 0.55rem 0.7rem;
}

.field textarea {
    min-height: 5.5rem;
    resize: vertical;
}

.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--ink);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}

.field input:disabled {
    background: var(--bg);
    color: var(--muted);
}

.field legend {
    font-size: var(--text);
    font-weight: 500;
    padding: 0;
    margin-bottom: 0.4rem;
}

.hint {
    margin: -0.55rem 0 1rem;
    color: var(--muted);
    font-size: var(--text);
    font-weight: 400;
}

.form-heading {
    margin: 1.25rem 0 0.85rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
}

.form-heading .hint {
    margin: 0.35rem 0 0;
}

.form-heading--row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.form-heading--row .btn {
    flex-shrink: 0;
}

.pw-toolbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin: 0 0 1rem;
}

.pw-toolbar .pw-meter {
    flex: 1 1 auto;
    min-width: 0;
}

.pw-toolbar .pw-meter__checks {
    flex-wrap: nowrap;
    white-space: nowrap;
}

.pw-toolbar__side {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.45rem 0.85rem;
    flex: 0 0 auto;
}

.pw-toolbar .btn {
    flex-shrink: 0;
}

.pw-toolbar:has(+ .pw-status:not([hidden])) {
    margin-bottom: 0.65rem;
}

.pw-status {
    margin: 0 0 1rem;
    padding: 0.5rem 0.7rem;
    border-radius: var(--radius-sm);
    color: var(--muted);
    font-size: var(--text);
    font-weight: 400;
    line-height: 1.35;
}

.pw-status.is-attention {
    animation: copy-attention 3.4s ease-out;
}

.pw-fields {
    display: grid;
    gap: 0.55rem;
}

.pw-fields .field {
    margin-bottom: 0;
}

.pw-meter {
    font-weight: 400;
}

.pw-meter__row {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.pw-meter__bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.25rem;
    flex: 1;
    min-width: 0;
    height: 0.35rem;
}

.pw-meter__bar span {
    display: block;
    height: 100%;
    border-radius: 99px;
    background: var(--line);
    transition: background 0.16s ease;
}

.pw-meter__label {
    margin: 0;
    min-width: 4.2rem;
    min-height: 1.35em;
    font-weight: 500;
    color: var(--muted);
}

.pw-meter[data-score="1"] .pw-meter__bar span:nth-child(-n+1) {
    background: var(--danger);
}

.pw-meter[data-score="1"] .pw-meter__label {
    color: var(--danger);
}

.pw-meter[data-score="2"] .pw-meter__bar span:nth-child(-n+2) {
    background: #c2410c;
}

.pw-meter[data-score="2"] .pw-meter__label {
    color: #c2410c;
}

.pw-meter[data-score="3"] .pw-meter__bar span:nth-child(-n+3) {
    background: #ca8a04;
}

.pw-meter[data-score="3"] .pw-meter__label {
    color: #a16207;
}

.pw-meter[data-score="4"] .pw-meter__bar span {
    background: var(--ok);
}

.pw-meter[data-score="4"] .pw-meter__label {
    color: var(--ok);
}

.pw-meter__checks {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.9rem;
    list-style: none;
    margin: 0.45rem 0 0;
    padding: 0;
    color: var(--muted);
}

.pw-meter__checks li {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.pw-meter__checks li::before {
    content: "";
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--line-strong);
}

.pw-meter__checks li.is-met {
    color: var(--ok);
}

.pw-meter__checks li.is-met::before {
    background: var(--ok);
}

@media (prefers-reduced-motion: reduce) {
    .pw-meter__bar span {
        transition: none;
    }

    .input-action.is-attention,
    .pw-status.is-attention {
        animation: none;
    }
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.25rem 0 1rem;
}

.field-row {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.field-row input {
    flex: 1;
    min-width: 0;
}

.choice {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-weight: 400;
    font-size: var(--text);
    margin: 0.35rem 0;
}

.choice input {
    margin-top: 0.2rem;
}

.choice--block {
    margin: 0.75rem 0 0.25rem;
}

.choice-field {
    margin: 0.75rem 0 0;
}

.choice-field .choice,
.choice-field .switch {
    margin: 0;
}

.choice-field .hint {
    margin: 0.2rem 0 0 1.45rem;
}

.choice-field:has(.switch) .hint {
    margin-left: 3.1rem;
}

.switch {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    cursor: pointer;
    font-weight: 400;
    font-size: var(--text);
}

.switch input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.switch__ui {
    position: relative;
    flex-shrink: 0;
    width: 2.4rem;
    height: 1.35rem;
    border-radius: 999px;
    background: #c5c9ce;
    transition: background 0.18s ease;
}

.switch__ui::after {
    content: "";
    position: absolute;
    top: 0.15rem;
    left: 0.15rem;
    width: 1.05rem;
    height: 1.05rem;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 2px rgba(10, 10, 10, 0.18);
    transition: transform 0.18s ease;
}

.switch input:checked + .switch__ui {
    background: var(--ok);
}

.switch input:checked + .switch__ui::after {
    transform: translateX(1.05rem);
}

.switch input:focus-visible + .switch__ui {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}

.switch input:disabled + .switch__ui {
    opacity: 0.55;
}

@media (prefers-reduced-motion: reduce) {
    .switch__ui,
    .switch__ui::after {
        transition: none;
    }
}

.input-with-action {
    position: relative;
}

.input-with-action input {
    width: 100%;
    padding-right: 2.5rem;
}

.input-action {
    position: absolute;
    top: 50%;
    right: 0.3rem;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: 0;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--muted);
    cursor: pointer;
}

.input-action.is-attention {
    animation: copy-attention 3.4s ease-out;
}

@keyframes copy-attention {
    0%,
    66% {
        background: #ffe58a;
        color: var(--ink);
    }
    100% {
        background: transparent;
        color: var(--muted);
    }
}

.input-action:hover,
.input-action:focus-visible {
    color: var(--ink);
    background: var(--bg);
}

.input-action:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}

.input-action svg {
    display: block;
}

.domain-picker__list {
    list-style: none;
    margin: 0 0 0.85rem;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    min-height: 2.75rem;
}

.domain-picker__item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.4rem 0.65rem;
    border-bottom: 1px solid var(--line);
    overflow: hidden;
    transform-origin: center top;
    transition: background 0.12s ease;
}

.domain-picker__item:last-child {
    border-bottom: 0;
}

.domain-picker__item:hover:not(.is-leaving) {
    background: #f7f8fa;
}

.domain-picker__item.is-leaving {
    pointer-events: none;
    animation: domain-detach 0.55s ease forwards;
}

@keyframes domain-detach {
    0% {
        background: #fdecea;
        opacity: 1;
        max-height: 3.2rem;
        transform: scale(1);
    }
    22% {
        background: #f8d4d0;
        opacity: 1;
        max-height: 3.2rem;
        transform: scale(1);
    }
    48% {
        background: #f8d4d0;
        opacity: 0;
        max-height: 3.2rem;
        transform: scale(1.03);
    }
    100% {
        background: #f8d4d0;
        opacity: 0;
        max-height: 0;
        padding-top: 0;
        padding-bottom: 0;
        border-bottom-width: 0;
        transform: scale(1.03);
    }
}

@media (prefers-reduced-motion: reduce) {
    .domain-picker__item.is-leaving {
        animation: none;
        display: none;
    }
}

.domain-picker__name {
    flex: 1;
    font-family: var(--sans);
    font-size: var(--text);
}

.domain-picker__search {
    margin-bottom: 0.35rem;
}

.domain-picker__suggestions {
    list-style: none;
    margin: 0 0 0.75rem;
    padding: 0.25rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    max-height: 16rem;
    overflow: auto;
}

.domain-picker__option {
    display: block;
    width: 100%;
    text-align: left;
    border: 0;
    background: transparent;
    padding: 0.4rem 0.55rem;
    font-family: var(--sans);
    font-size: var(--text);
    border-radius: 4px;
    cursor: pointer;
    color: var(--ink);
}

.domain-picker__option:hover,
.domain-picker__option.is-active {
    background: var(--bg);
}

.domain-picker__muted {
    padding: 0.5rem 0.65rem;
    color: var(--muted);
    font-size: var(--text);
}

.domain-picker__catalog {
    margin-top: 0.75rem;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.usage-summary {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin: 0 0 0.65rem;
    color: var(--muted);
}

.usage-summary strong {
    color: var(--ink);
    font-weight: 600;
}

.check-col {
    width: 1.75rem;
}

.pagehead--split {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
}

.btn {
    font-family: inherit;
    font-size: var(--text);
    font-weight: 550;
    cursor: pointer;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    padding: 0.7rem 1rem;
    transition: background 0.12s ease, opacity 0.12s ease, border-color 0.12s ease;
}

.btn:disabled {
    opacity: 0.55;
    cursor: wait;
}

.btn--primary {
    background: var(--ink);
    color: #fff;
}

.guest .btn--primary {
    width: 100%;
    margin-top: 0.35rem;
}

.btn--primary:hover:not(:disabled) {
    background: #3a3a3a;
}

.btn--compact {
    padding: 0.32rem 0.7rem;
    font-weight: 500;
}

.btn--ghost {
    width: auto;
    background: var(--surface);
    border-color: var(--line-strong);
    color: var(--ink);
    padding: 0.3rem 0.6rem;
    font-size: var(--text);
    font-weight: 500;
}

.btn--ghost:hover:not(:disabled) {
    background: var(--bg);
}

.btn--danger {
    background: var(--danger);
    color: #fff;
}

.btn--danger:hover:not(:disabled) {
    background: #8f1b14;
}

.card--danger {
    border-color: #f0c7c2;
}

.card--danger h2 {
    color: var(--danger);
    margin-bottom: 0.4rem;
}

.card--danger p {
    margin: 0 0 1rem;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 0 1.5rem;
    height: 56px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
}

.topbar__end {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
}

.impersonation-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.55rem 1.5rem;
    background: #1e3a5f;
    color: #fff;
    font-size: var(--text);
}

.impersonation-bar p {
    margin: 0;
}

.impersonation-bar span {
    opacity: 0.8;
}

.impersonation-bar .btn {
    background: #fff;
    color: #1e3a5f;
    border-color: transparent;
}

.impersonation-bar .btn:hover:not(:disabled) {
    background: #e8eef5;
}

.topbar__nav {
    display: flex;
    gap: 0.25rem;
}

.topbar__nav a {
    color: var(--muted);
    text-decoration: none;
    font-size: var(--text);
    font-weight: 500;
    padding: 0.4rem 0.65rem;
    border-radius: var(--radius-sm);
}

.topbar__nav a[aria-current="page"] {
    color: var(--ink);
    background: var(--bg);
}

.topbar__nav a:hover {
    color: var(--ink);
    text-decoration: none;
}

.account {
    position: relative;
    display: flex;
    align-items: center;
    align-self: stretch;
}

.account__button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    border-radius: 50%;
}

.account__button:hover .account__avatar,
.account:hover .account__avatar,
.account.is-open .account__avatar {
    background: #1f1f1f;
}

.account__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.account__menu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    min-width: 13.5rem;
    padding: 0.4rem 0;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 8px 24px rgba(10, 10, 10, 0.08);
    z-index: 20;
}

.account__menu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    height: 0.75rem;
}

.account:hover .account__menu,
.account:focus-within .account__menu,
.account.is-open .account__menu {
    display: block;
}

.account__meta {
    margin: 0;
    padding: 0.45rem 0.85rem 0.65rem;
}

.account__meta strong {
    display: block;
    font-size: var(--text);
    font-weight: 600;
}

.account__meta span {
    display: block;
    color: var(--muted);
    font-size: var(--text);
}

.account__sep {
    height: 1px;
    margin: 0.35rem 0;
    background: var(--line);
}

.account__item {
    display: block;
    width: 100%;
    padding: 0.45rem 0.85rem;
    color: var(--ink);
    text-align: left;
    text-decoration: none;
    background: transparent;
    border: 0;
    font: inherit;
    cursor: pointer;
}

.account__item:hover,
a.account__item:hover {
    background: #f3f7fd;
    text-decoration: none;
}

.account form {
    margin: 0;
}

@media (max-width: 720px) {
    .account__menu {
        display: none;
    }

    .account.is-open .account__menu,
    .account:focus-within .account__menu {
        display: block;
    }
}

.page {
    width: min(1080px, calc(100% - 2.5rem));
    margin: 1.75rem auto 3rem;
}

.pagehead {
    margin-bottom: 1.35rem;
}

.crumb {
    margin: 0 0 0.35rem;
    color: var(--muted);
    font-size: var(--text);
}

.crumb a {
    color: var(--muted);
}

.filter {
    margin: 0;
}

.filter input {
    font: inherit;
    font-size: var(--text);
    color: var(--ink);
    background: var(--surface);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    padding: 0.4rem 0.6rem;
    min-width: 14rem;
}

.filter input:focus {
    outline: none;
    border-color: var(--ink);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.stat,
.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.stat {
    padding: 1rem 1.15rem;
}

.stat__label,
.empty {
    margin: 0;
    color: var(--muted);
    font-size: var(--text);
}

.stat__value {
    font-size: 1.65rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.03em;
    margin: 0.15rem 0 0;
    overflow-wrap: anywhere;
}

.card {
    padding: 1rem 1.15rem 0.85rem;
    margin-bottom: 1rem;
}

.card__head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 0.35rem;
}

.card__head a {
    font-size: var(--text);
}

.table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    margin-inline: -0.4rem;
    padding-inline: 0.4rem;
}

.table {
    width: 100%;
    min-width: 36rem;
    border-collapse: collapse;
    font-size: var(--text);
}

.table--activity {
    min-width: 44rem;
}

.table th,
.table td {
    text-align: left;
    padding: 0.5rem 0.4rem;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}

.table a,
.table__name {
    color: inherit;
    font-weight: 500;
    text-decoration: none;
}

.table__note {
    overflow-wrap: anywhere;
    white-space: pre-wrap;
    font-weight: 400;
}

.table a:hover {
    text-decoration: none;
}

.table a:active {
    opacity: 0.72;
}

.table tbody tr:hover {
    background: #fafbfc;
}

.table tbody tr[data-controller="row-link"] {
    cursor: pointer;
}

.table tbody tr[data-controller="row-link"]:active {
    background: #eef0f3;
}

.table tbody tr.is-selected {
    background: #f3f7fd;
}

.table tbody tr.is-selected:hover {
    background: #eaf2fb;
}

.table tbody tr[data-controller="row-link"].is-selected:active {
    background: #dce8f6;
}

.table tbody tr:last-child th,
.table tbody tr:last-child td {
    border-bottom: 0;
}

.table th {
    color: var(--muted);
    font-weight: 500;
    font-size: var(--text);
}

.table code {
    font-family: var(--mono);
    font-size: var(--text);
    color: var(--muted);
}

.nowrap {
    white-space: nowrap;
}

.table__action {
    text-align: right;
    white-space: nowrap;
    width: 1%;
}

.table__action form {
    margin: 0;
}

.pill {
    display: inline-block;
    border-radius: 4px;
    padding: 0.07rem 0.45rem;
    font-size: var(--text);
    font-weight: 500;
}

.pill--ok {
    background: #eaf6ef;
    color: var(--ok);
}

.pill--off {
    background: var(--bg);
    color: var(--muted);
}

.empty {
    padding-bottom: 1rem;
}

.page-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(16rem, 18.5rem);
    gap: 1rem;
    align-items: start;
}

.page-split__main,
.page-split__aside {
    min-width: 0;
}

.conn-card h2 {
    margin-bottom: 0.35rem;
}

.conn {
    margin: 0;
}

.conn__row {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
}

.conn__row:last-child {
    border-bottom: 0;
    padding-bottom: 0.15rem;
}

.conn dt {
    margin: 0 0 0.25rem;
    color: var(--muted);
    font-weight: 500;
}

.conn dd {
    margin: 0;
}

.conn code {
    font-family: var(--mono);
    font-size: var(--text);
    overflow-wrap: anywhere;
}

.conn .hint {
    margin: 0.2rem 0 0;
}

.conn__value {
    display: flex;
    align-items: center;
    gap: 0.15rem;
}

.conn__value code {
    flex: 1;
    min-width: 0;
}

.copy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: 0;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--muted);
    cursor: pointer;
}

.copy-btn:hover,
.copy-btn:focus-visible {
    color: var(--ink);
    background: var(--bg);
}

.copy-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}

.copy-btn svg {
    display: block;
}

.flashes {
    display: grid;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.flash {
    display: flex;
    justify-content: space-between;
    gap: 0.8rem;
    align-items: flex-start;
    border-radius: var(--radius-sm);
    padding: 0.7rem 0.85rem;
    font-size: var(--text);
    background: var(--surface);
    border: 1px solid var(--line);
    animation: flash-in 0.2s ease;
}

.flash p {
    margin: 0;
}

.flash--success {
    border-color: #b7e0c5;
    background: #f3faf6;
    color: var(--ok);
}

.flash--error {
    border-color: #f0c7c2;
    background: #fdf6f5;
    color: var(--danger);
}

.flash--info {
    border-color: #c9d7f5;
    background: #f5f8fd;
    color: #1e40af;
}

.flash.is-leaving {
    opacity: 0;
    transition: opacity 0.16s ease;
}

.flash__close {
    border: 0;
    background: transparent;
    color: inherit;
    font-size: var(--text);
    line-height: 1;
    cursor: pointer;
}

@keyframes flash-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (max-width: 720px) {
    .topbar {
        height: auto;
        flex-wrap: wrap;
        gap: 0.5rem;
        padding: 0.75rem 1rem;
    }

    .pw-toolbar {
        flex-direction: column;
        gap: 0.75rem;
    }

    .pw-toolbar .pw-meter {
        flex: 1 1 auto;
        width: 100%;
    }

    .pw-toolbar .pw-meter__checks {
        flex-wrap: wrap;
        white-space: normal;
    }

    .pw-toolbar__side {
        width: 100%;
        flex-direction: column;
        align-items: flex-end;
    }

    .pw-toolbar .btn {
        align-self: flex-end;
        margin-left: 0;
    }

    .pw-status {
        max-width: 100%;
    }

    .guest__panel {
        padding: 1.5rem 1.25rem 1.25rem;
    }

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

    .page-split {
        grid-template-columns: 1fr;
    }

    .impersonation-bar {
        padding: 0.55rem 1rem;
        flex-wrap: wrap;
    }
}
