:root {
    --ink: #172026;
    --muted: #5b6670;
    --line: #d9e1e7;
    --surface: #ffffff;
    --page: #f4f7f4;
    --accent: #21735b;
    --accent-dark: #15523f;
    --warning: #9f2d20;
    --warning-bg: #fff0ed;
}

* {
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: var(--ink);
    background: var(--page);
    font-family: Arial, Helvetica, sans-serif;
}

a {
    color: inherit;
}

.app-sticky-header {
    position: sticky;
    top: 0;
    z-index: 120;
    box-shadow: 0 8px 18px rgba(23, 32, 38, 0.08);
}

.app-header {
    height: 100px;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 0 32px 0 0;
    color: var(--site-header-text, var(--ink));
    background: var(--site-header-bg, var(--surface));
    border-bottom: 3px solid var(--site-menu-border, var(--accent));
    overflow: hidden;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    font-weight: 700;
    text-decoration: none;
}

.brand img {
    width: auto;
    height: 100px;
    object-fit: contain;
    border: 0;
    padding: 0;
}

.brand-empty {
    min-width: 180px;
    min-height: 100px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.site-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-switcher label {
    color: currentColor;
    font-size: 14px;
}

select,
input,
textarea {
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 10px 12px;
    color: var(--ink);
    background: #fff;
    font: inherit;
}

textarea {
    resize: vertical;
    line-height: 1.5;
}

.inline-toggle-form {
    margin: 0;
}

.toggle-pill {
    min-width: 58px;
    min-height: 34px;
    border: 1px solid transparent;
    border-radius: 6px;
    padding: 6px 12px;
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.toggle-pill.is-on {
    background: var(--accent);
}

.toggle-pill.is-off {
    background: #9f2d20;
}

.password-field {
    position: relative;
    display: flex;
    align-items: center;
}

.password-field input {
    padding-right: 52px;
}

.password-toggle {
    position: absolute;
    right: 6px;
    min-height: 32px;
    width: 38px;
    border-radius: 5px;
    padding: 6px;
    color: var(--accent);
    background: transparent;
}

.password-toggle:hover {
    color: #fff;
    background: var(--accent-alt, var(--accent));
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--accent);
    outline: 3px solid color-mix(in srgb, var(--accent) 22%, transparent);
}

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

.password-toggle svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.password-tools {
    display: flex;
    align-items: center;
    gap: 10px;
}

.password-tools .password-field {
    flex: 1 1 auto;
}

.password-generate {
    border: 0;
    white-space: nowrap;
}

.site-switcher select {
    width: 180px;
}

.header-link {
    color: currentColor;
    font-weight: 700;
    text-decoration: none;
}

.admin-menu-bar {
    display: flex;
    justify-content: center;
    padding: 0 24px;
    color: var(--site-menu-text, var(--site-header-text, var(--ink)));
    background: var(--site-menu-bg, var(--site-header-bg, var(--surface)));
    border-bottom: 1px solid var(--site-menu-border, rgba(0, 0, 0, 0.18));
}

.admin-menu,
.admin-submenu {
    margin: 0;
    padding: 0;
    list-style: none;
}

.admin-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2px;
}

.admin-menu-item {
    position: relative;
}

.admin-menu a,
.admin-submenu a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 11px 16px;
    color: currentColor;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.admin-menu a:hover,
.admin-menu a:focus {
    background: rgba(0, 0, 0, 0.12);
}

.admin-submenu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 130;
    min-width: 220px;
    color: var(--site-menu-text, var(--site-header-text, var(--ink)));
    background: var(--site-menu-bg, var(--site-header-bg, var(--surface)));
    border: 1px solid var(--site-menu-border, rgba(0, 0, 0, 0.18));
    box-shadow: 0 14px 28px rgba(23, 32, 38, 0.18);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.admin-menu-item:hover .admin-submenu,
.admin-menu-item:focus-within .admin-submenu {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}

.app-main {
    flex: 1;
    width: 100%;
}

.app-footer {
    padding: 18px 32px;
    color: var(--site-menu-text, var(--muted));
    background: var(--site-menu-bg, var(--surface));
    border-top: 3px solid var(--site-menu-border, var(--line));
    font-size: 14px;
}

.login-page .app-main {
    display: grid;
    place-items: center;
    padding: 40px 20px;
}

.select-site-page {
    background: #fff;
}

.select-site-page .app-main {
    background: #fff;
}

.login-shell {
    width: min(980px, 100%);
    min-height: 560px;
    display: grid;
    grid-template-columns: minmax(320px, 440px) 1fr;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 22px 60px rgba(23, 32, 38, 0.12);
}

.login-panel {
    position: relative;
    z-index: 1;
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 46px;
    background: var(--surface);
    overflow: hidden;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

.login-copy h1 {
    margin-bottom: 28px;
    font-size: 32px;
    line-height: 1.15;
}

.login-form {
    display: grid;
    gap: 18px;
}

.field {
    display: grid;
    gap: 7px;
}

.field label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: fit-content;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

button {
    min-height: 46px;
    border: 0;
    border-radius: 6px;
    padding: 12px 16px;
    color: #fff;
    background: var(--accent-alt, var(--accent));
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

button:hover {
    background: var(--accent-alt-dark, var(--accent-dark));
}

.alert {
    margin-bottom: 18px;
    border: 1px solid #f0b0a7;
    border-radius: 6px;
    padding: 12px 14px;
    color: var(--warning);
    background: var(--warning-bg);
    font-weight: 700;
}

.notice {
    margin-bottom: 18px;
    border: 1px solid var(--notice-border, #a9d5c5);
    border-radius: 6px;
    padding: 12px 14px;
    color: var(--notice-text, var(--accent-dark));
    background: var(--notice-bg, #eef9f4);
    font-weight: 700;
}

.soft-alert {
    margin-bottom: 18px;
    border: 1px solid var(--notice-border, #c8e5f0);
    border-radius: 6px;
    padding: 12px 14px;
    color: var(--notice-text, #31566f);
    background: var(--notice-bg, #eef7fb);
    line-height: 1.45;
}

.form-helper-link {
    justify-self: start;
    color: var(--accent);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.form-helper-link:hover {
    text-decoration: underline;
}

.compact-login-shell {
    min-height: 460px;
}

.login-visual {
    position: relative;
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 100%;
    padding: 0;
    background: var(--site-menu-bg, var(--accent-dark));
    isolation: isolate;
    overflow: hidden;
}

.login-visual img {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
    min-width: 0;
    padding: 100px 36px 24px;
    background: #fff;
    object-fit: contain;
    object-position: center;
}

.login-visual-copy {
    position: absolute;
    z-index: 1;
    top: 32px;
    left: 28px;
    right: 28px;
    padding: 16px 20px;
    border-radius: 8px;
    background: rgba(25, 55, 72, 0.88);
    color: #fff;
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
    text-wrap: balance;
    box-shadow: 0 10px 28px rgba(23, 32, 38, 0.2);
}

.dashboard {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    padding: 48px 0;
}

.page-heading,
.dashboard-section {
    margin-bottom: 34px;
}

.page-heading h1 {
    margin-bottom: 8px;
    font-size: 34px;
}

.page-heading p:last-child,
.section-heading p {
    color: var(--muted);
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 16px;
}

.section-heading h2 {
    margin-bottom: 0;
    font-size: 22px;
}

.section-heading p {
    max-width: 560px;
    margin-bottom: 0;
    line-height: 1.45;
}

.module-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.dashboard-card-tools {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.dashboard-card-tools button {
    min-height: 38px;
    cursor: pointer;
}

.module-card {
    min-height: 170px;
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.module-link {
    display: block;
    text-decoration: none;
}

.is-sortable .module-link {
    cursor: grab;
    user-select: none;
}

.is-sortable .module-link:active {
    cursor: grabbing;
}

.module-card.is-dragging {
    opacity: 0.45;
    border-color: var(--accent);
    box-shadow: 0 18px 36px rgba(23, 32, 38, 0.14);
}

.module-link:hover {
    border-color: var(--accent);
    background: color-mix(in srgb, var(--accent) 5%, var(--surface));
    box-shadow: 0 12px 30px rgba(23, 32, 38, 0.08);
}

.module-card h2,
.module-card h3 {
    margin-bottom: 10px;
    font-size: 21px;
}

.module-card p {
    margin-bottom: 0;
    color: var(--muted);
    line-height: 1.5;
}

.empty-state {
    padding: 22px 24px;
    color: var(--muted);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.empty-state p {
    margin-bottom: 0;
}

.admin-link-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.admin-link-grid a {
    display: flex;
    align-items: center;
    min-height: 54px;
    padding: 14px 16px;
    color: var(--accent-dark);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
}

.admin-link-grid a:hover {
    border-color: var(--accent);
}

.site-list {
    display: grid;
    gap: 10px;
}

.site-row {
    display: grid;
    grid-template-columns: 90px 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.site-id {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.site-row a {
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
}

.site-logo-select-form {
    width: min(1060px, 100%);
    margin: 0 auto;
}

.site-logo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 500px));
    justify-content: center;
    gap: 28px;
}

.site-logo-option {
    width: 100%;
    display: grid;
    gap: 14px;
    justify-items: center;
    text-align: center;
}

.site-logo-button {
    display: block;
    padding: 0;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.site-logo-button:focus {
    outline: 0;
}

.site-logo-button img {
    width: 500px;
    max-width: 100%;
    height: auto;
    display: block;
    transition: filter 180ms ease, transform 180ms ease;
}

.site-logo-button:hover img,
.site-logo-button:focus img {
    filter: drop-shadow(0 16px 18px rgba(23, 32, 38, 0.22));
    transform: translateY(-4px) scale(1.035);
}

.site-logo-caption {
    margin: 0;
    color: var(--ink);
    font-weight: 700;
}

.site-logo-placeholder {
    width: 500px;
    max-width: 100%;
    min-height: 180px;
    display: grid;
    place-items: center;
    padding: 0;
    color: var(--muted);
    background: transparent;
    border: 0;
    border-radius: 0;
    font-size: 24px;
    font-weight: 700;
}

.admin-page {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    padding: 48px 0;
}

.site-select-page {
    width: min(1200px, calc(100% - 40px));
}

.admin-page-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.admin-page-header h1 {
    margin-bottom: 8px;
    font-size: 34px;
}

.admin-page-header p:last-child {
    max-width: 680px;
    margin-bottom: 0;
    color: var(--muted);
    line-height: 1.5;
}

.button-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border-radius: 6px;
    padding: 10px 14px;
    color: #fff;
    background: var(--accent-alt, var(--accent));
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.button-link:hover {
    background: var(--accent-alt-dark, var(--accent-dark));
}

.button-link.secondary {
    color: var(--accent);
    background: var(--surface);
    border: 1px solid var(--line);
}

.button-link.secondary:hover {
    border-color: var(--accent);
    background: color-mix(in srgb, var(--accent) 7%, var(--surface));
}

.list-filter-bar {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    padding: 14px 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.list-filter-bar label {
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

.list-filter-bar select {
    width: 260px;
}

.inline-action-field {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.field-note {
    color: var(--muted);
    font-size: 14px;
}

.image-preview {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 10px;
}

.image-preview img {
    width: auto;
    max-width: 100%;
    height: 150px;
    object-fit: contain;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
}

.image-preview span {
    color: var(--muted);
    font-size: 14px;
}

.table-thumb {
    width: 96px;
    height: 54px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid var(--line);
    background: #fff;
}

.record-preview-image {
    max-width: 100%;
    width: 100%;
    max-height: 150px;
    object-fit: contain;
    border-radius: 6px;
    border: 1px solid var(--line);
    background: #fff;
}

.legend-panel {
    margin-top: 18px;
    padding: 18px 20px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.legend-panel h2 {
    margin: 0 0 8px;
    font-size: 20px;
}

.legend-panel p {
    margin: 0 0 12px;
    color: var(--muted);
}

.legend-panel ul {
    margin: 0;
    padding-left: 20px;
}

.legend-panel li {
    margin: 6px 0;
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(23, 32, 38, 0.45);
}

.modal-backdrop[hidden] {
    display: none;
}

.modal-window {
    width: min(560px, 100%);
    max-height: calc(100vh - 48px);
    overflow: auto;
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(23, 32, 38, 0.24);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.modal-header h2 {
    margin: 0;
    font-size: 22px;
}

.modal-close {
    width: 38px;
    min-height: 38px;
    padding: 0;
    color: var(--muted);
    background: transparent;
    font-size: 28px;
    line-height: 1;
}

.modal-close:hover {
    color: #fff;
    background: var(--accent-alt, var(--accent));
}

.modal-body {
    display: grid;
    gap: 16px;
}

.table-wrap {
    overflow-x: auto;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 820px;
}

.admin-table th,
.admin-table td {
    border-bottom: 1px solid var(--line);
    padding: 14px 16px;
    text-align: left;
    vertical-align: middle;
}

.admin-table th {
    color: var(--muted);
    background: var(--table-head, #f8faf8);
    font-size: 13px;
    text-transform: uppercase;
}

.admin-table tr:last-child td {
    border-bottom: 0;
}

.color-swatch {
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 8px;
    border: 1px solid var(--line);
    border-radius: 4px;
    vertical-align: middle;
}

.table-actions {
    display: flex;
    gap: 12px;
}

.table-actions a {
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
}

.table-actions .danger-link,
.danger-link {
    color: var(--warning);
}

.admin-form,
.delete-panel {
    max-width: 1200px;
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.admin-form {
    display: grid;
    gap: 18px;
}

.page-shell {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
    padding: 42px 0 56px;
}

.page-shell > form,
.page-shell > section {
    margin-bottom: 22px;
}

.form-card {
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(23, 32, 38, 0.06);
}

.form-card h2 {
    margin-bottom: 18px;
    font-size: 22px;
}

.form-card .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-card input[type="color"] {
    width: 100%;
    min-height: 48px;
    padding: 4px;
    cursor: pointer;
}

.button {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 6px;
    padding: 10px 16px;
    color: #fff;
    background: var(--accent);
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.button:hover,
.button:focus {
    color: #fff;
    background: var(--accent-dark);
}

.button.secondary {
    color: var(--accent-dark);
    background: var(--surface);
    border: 1px solid var(--line);
}

.button.secondary:hover,
.button.secondary:focus {
    color: #fff;
    background: var(--accent-dark);
}

.button.danger {
    background: var(--warning);
}

.notice.error {
    color: var(--warning);
    background: var(--warning-bg);
    border-color: #f0b0a7;
}

.form-card pre {
    max-height: 360px;
    overflow: auto;
    padding: 16px;
    background: var(--page);
    border: 1px solid var(--line);
    border-radius: 6px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 120px 120px;
    gap: 14px;
}

.muted-text {
    color: var(--muted);
    font-size: 13px;
}

.checkbox-field {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-weight: 700;
}

.checkbox-field input {
    width: 18px;
    min-height: 18px;
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.danger-button {
    background: var(--warning);
}

.danger-button:hover {
    background: #7e2118;
}

.warning-text {
    color: var(--warning);
    font-weight: 700;
}

@media (max-width: 900px) {
    .module-grid,
    .admin-link-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 780px) {
    .app-header {
        height: auto;
        align-items: flex-start;
        flex-direction: column;
        padding: 14px 20px;
    }

    .form-card .form-grid {
        grid-template-columns: 1fr;
    }

    .header-actions {
        width: 100%;
        align-items: stretch;
        flex-direction: column;
    }

    .site-switcher {
        align-items: stretch;
        flex-direction: column;
    }

    .site-switcher select {
        width: 100%;
    }

    .admin-menu-bar {
        justify-content: flex-start;
        overflow-x: auto;
        padding: 0 12px;
    }

    .admin-menu {
        justify-content: flex-start;
        flex-wrap: nowrap;
    }

    .admin-submenu {
        position: static;
        display: none;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
    }

    .admin-menu-item:hover .admin-submenu,
    .admin-menu-item:focus-within .admin-submenu {
        display: block;
    }

    .login-shell {
        grid-template-columns: 1fr;
    }

    .password-tools {
        align-items: stretch;
        flex-direction: column;
    }

    .login-panel {
        padding: 30px;
    }

    .login-visual {
        min-height: 280px;
        padding: 0;
    }

    .login-visual img {
        min-height: 0;
        padding: 82px 20px 16px;
    }

    .login-visual-copy {
        top: 20px;
        left: 20px;
        right: 20px;
        padding: 12px 16px;
        font-size: 24px;
    }

    .module-grid,
    .admin-link-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .site-logo-grid {
        grid-template-columns: minmax(0, 500px);
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-page-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .list-filter-bar {
        align-items: stretch;
        flex-direction: column;
    }

    .list-filter-bar select {
        width: 100%;
    }

    .site-row {
        grid-template-columns: 1fr;
    }
}

.title-icon {
    width: 1em;
    height: 1em;
    flex: 0 0 auto;
    vertical-align: -0.12em;
}

.admin-page-header h1,
.page-heading h1,
.module-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-link-grid a {
    gap: 10px;
}

.protip {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    cursor: help;
}

.protip img {
    width: 18px;
    height: 18px;
    display: block;
}

.protip-bubble {
    position: absolute;
    left: calc(100% + 10px);
    top: 50%;
    z-index: 20;
    width: max-content;
    max-width: 280px;
    transform: translateY(-50%);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 10px 12px;
    color: var(--ink);
    background: var(--surface);
    box-shadow: 0 12px 30px rgba(23, 32, 38, 0.14);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.protip:hover .protip-bubble,
.protip:focus .protip-bubble,
.protip:focus-within .protip-bubble {
    opacity: 1;
    visibility: visible;
}
