/* Global component vocabulary shared by more than one Razor component.
   CSS isolation (.razor.css) only reaches the component that writes the markup; classes that
   several components render (toolbar icon buttons and their glyphs, the grid search box the
   Gantt reuses, import/batch-delete legends, report editor panels, the auto-form grid) live here
   so every host gets them once. Loaded by the App, Platform and Portal host pages before the
   scoped bundle. See docs/ui-reviews/2026-10-05-css-review.md (CSS-01). */

/* ---- from Sabre.Shared.Web/Components/GNTGridSelector.razor.css ---- */
.gnt-toolbar-icon-button {
    min-width: 2.25rem;
    width: 2.25rem;
    padding: 0.4rem;
}

/* Toolbar icons are drawn by gnt-icons.css (GntIcons); this only sizes the slot and gives commands their colour. */
.gnt-toolbar-icon-button .e-btn-icon.gnt-icon {
    width: 1.25rem;
    min-width: 1.25rem;
    height: 1.25rem;
    margin: 0;
    color: currentColor;
}

.gnt-toolbar-icon-button .gnt-icon-add {
    color: var(--gnt-success-color);
}

.deleteBtn.gnt-toolbar-icon-button, .deleteBtn.gnt-toolbar-icon-button .e-btn-icon {
    color: var(--gnt-danger-color) !important;
}

.deleteBtn.gnt-toolbar-icon-button:hover, .deleteBtn.gnt-toolbar-icon-button:focus {
    color: var(--gnt-danger-strong) !important;
    background-color: color-mix(in srgb, var(--gnt-danger-color) 8%, transparent);
}

.deleteBtn.gnt-toolbar-icon-button:disabled, .deleteBtn.gnt-toolbar-icon-button.e-disabled, .deleteBtn.gnt-toolbar-icon-button:disabled .e-btn-icon, .deleteBtn.gnt-toolbar-icon-button.e-disabled .e-btn-icon {
    color: var(--gnt-text-faint) !important;
}

.gnt-icon-delete {
    color: var(--gnt-danger-color);
}

.saveBtn.gnt-toolbar-icon-button, .saveBtn.gnt-toolbar-icon-button .e-btn-icon {
    color: var(--gnt-success-color) !important;
}

.saveBtn.gnt-toolbar-icon-button:hover, .saveBtn.gnt-toolbar-icon-button:focus {
    color: var(--gnt-success-color) !important;
    background-color: color-mix(in srgb, var(--gnt-success-color) 8%, transparent);
}

.saveBtn.gnt-toolbar-icon-button:disabled, .saveBtn.gnt-toolbar-icon-button.e-disabled, .saveBtn.gnt-toolbar-icon-button:disabled .e-btn-icon, .saveBtn.gnt-toolbar-icon-button.e-disabled .e-btn-icon {
    color: var(--gnt-text-faint) !important;
}

/* ---- from Sabre.Shared.Web/Components/GNTGridToolbarSearch.razor.css ---- */
.gnt-grid-selector-toolbar-search {
    margin-left: auto;
    flex: 0 0 min(22rem, 35vw);
    width: min(22rem, 35vw);
    display: flex;
    align-items: center;
    position: relative;
    min-width: min(19rem, 22.5vw);
    max-width: min(22rem, 35vw);
    height: 2.55rem;
    border: 1px solid var(--gnt-border-color);
    border-radius: 999px;
    background: var(--gnt-surface-color);
    box-shadow: var(--gnt-shadow-sm);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.gnt-grid-selector-toolbar-search:focus-within,
.gnt-grid-selector-toolbar-search.is-open {
    border-color: var(--gnt-primary-border);
    box-shadow: var(--gnt-shadow-sm);
}

.gnt-grid-selector-search-menu-button {
    flex: 0 0 auto;
    width: 3rem;
    min-width: 3rem;
    height: 2.55rem;
    border: none;
    border-left: 1px solid var(--gnt-border-light);
    border-radius: 0 999px 999px 0;
    background: var(--gnt-surface-2);
    color: var(--gnt-text-secondary);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, color 0.15s ease;
}

.gnt-grid-selector-search-menu-button:hover,
.gnt-grid-selector-toolbar-search.is-open .gnt-grid-selector-search-menu-button {
    background: var(--gnt-primary-tint);
    color: var(--gnt-primary-strong);
}

.gnt-grid-selector-search-input {
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
    width: 100%;
    height: 2.45rem;
    padding: 0 2.15rem 0 0.9rem;
    border: none;
    outline: none;
    border-radius: 999px 0 0 999px;
    background: transparent;
    color: var(--gnt-text-color);
    font-size: 0.95rem;
}

.gnt-grid-selector-search-clear {
    position: absolute;
    right: 3.35rem;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    padding: 0;
}

.gnt-grid-selector-search-panel {
    position: absolute;
    top: 3.2rem;
    right: 0.75rem;
    z-index: 30;
    width: min(48rem, calc(100% - 1.5rem));
    max-height: min(34rem, 74vh);
    display: flex;
    flex-direction: column;
    border: 1px solid var(--gnt-primary-border);
    border-radius: 8px;
    background: var(--gnt-surface-color);
    box-shadow: var(--gnt-shadow-lg);
    overflow: visible;
}

.gnt-grid-selector-search-panel.has-additional-fields {
    height: min(34rem, 74vh);
}

.gnt-grid-selector-search-panel::before {
    content: "";
    position: absolute;
    top: -0.45rem;
    right: 1.05rem;
    width: 0.85rem;
    height: 0.85rem;
    border-top: 1px solid var(--gnt-primary-border);
    border-left: 1px solid var(--gnt-primary-border);
    background: var(--gnt-surface-color);
    transform: rotate(45deg);
}

.gnt-grid-selector-search-panel-body {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.gnt-grid-selector-search-panel-lower {
    flex: 1 1 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    background: var(--gnt-surface-2);
    overflow: hidden;
}

.gnt-grid-selector-search-panel-splitter {
    flex: 0 0 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid var(--gnt-border-soft);
    border-bottom: 1px solid var(--gnt-border-soft);
    background: var(--gnt-surface-2);
    cursor: row-resize;
}

.gnt-grid-selector-search-panel-splitter span {
    width: 2.5rem;
    height: 0.18rem;
    border-radius: 999px;
    background: var(--gnt-neutral-border);
}

.gnt-grid-selector-search-panel-footer {
    flex: 0 0 auto;
    display: flex;
    justify-content: flex-end;
    padding: 0.55rem 1rem 0.75rem;
    background: var(--gnt-surface-color);
    border-radius: 0 0 8px 8px;
}

.gnt-grid-selector-search-panel-footer .gnt-grid-selector-search-panel-close {
    width: auto;
    height: auto;
    padding: 0.45rem 1rem;
    border: none;
    border-radius: 999px;
    background: var(--gnt-primary-color);
    color: var(--gnt-text-inverse);
    font-weight: 600;
    cursor: pointer;
}

@media (max-width: 760px) {
    .gnt-grid-selector-search-panel {
            top: 3.35rem;
            right: 0.5rem;
            width: calc(100% - 1rem);
        }
    .gnt-grid-selector-toolbar-search {
            flex-basis: min(12rem, 46vw);
            width: min(12rem, 46vw);
            min-width: min(12rem, 46vw);
            max-width: 46vw;
        }
}

/* ---- from Sabre.Shared.Web/Components/GNTGridSelector_GridSurface.razor.css ---- */
.gnt-batch-delete-preview {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-height: 0;
    height: 100%;
}

.gnt-batch-delete-preview-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.gnt-batch-delete-preview-summary span {
    padding: 0.25rem 0.5rem;
    border: 1px solid var(--gnt-border-soft);
    border-radius: 4px;
    background: var(--gnt-surface-2);
}

.gnt-batch-delete-preview-alert {
    padding: 0.6rem 0.75rem;
    border: 1px solid var(--gnt-danger-border);
    border-radius: 4px;
    background: var(--gnt-danger-tint);
    color: var(--gnt-danger-text);
}

.gnt-batch-delete-preview-status-row {
    display: flex;
    align-items: stretch;
    gap: 0.5rem;
}

.gnt-batch-delete-preview-status-row .e-btn {
    flex: 0 0 auto;
}

.gnt-batch-delete-preview-status {
    flex: 1 1 auto;
    padding: 0.45rem 0.65rem;
    border: 1px solid var(--gnt-primary-border);
    border-radius: 4px;
    background: var(--gnt-primary-tint);
    color: var(--gnt-primary-text);
}

.gnt-batch-delete-preview-legend {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem;
    flex: 0 0 auto;
    padding: 10px;
    background-color: var(--gnt-surface-2);
    border-radius: 4px;
}

.gnt-batch-delete-preview-legend .import-legend-button {
    margin-left: 8px;
    padding: 2px 8px;
    border-radius: 4px;
    border-width: 1px;
    font-weight: 600;
    box-shadow: none;
}

.gnt-batch-delete-preview-toolbar-spacer {
    flex: 1 1 auto;
    min-width: 1rem;
}

.gnt-batch-delete-preview-export-button {
    width: 2rem;
    height: 2rem;
    min-width: 2rem;
    padding: 0;
}

.gnt-batch-delete-preview-legend .import-legend-total {
    margin-left: 20px;
}

.gnt-batch-delete-preview-legend .import-legend-insert {
    background-color: var(--gnt-success-tint) !important;
    border-color: var(--gnt-success-border) !important;
    color: var(--gnt-success-text) !important;
}

.gnt-batch-delete-preview-legend .import-legend-duplicate {
    background-color: var(--gnt-info-tint) !important;
    border-color: var(--gnt-info-border) !important;
    color: var(--gnt-info-text) !important;
}

.gnt-batch-delete-preview-legend .import-legend-missing {
    background-color: var(--gnt-danger-tint) !important;
    border-color: var(--gnt-danger-border) !important;
    color: var(--gnt-danger-text) !important;
}

.gnt-batch-delete-preview-legend .import-legend-nochange {
    background-color: var(--gnt-surface-2) !important;
    border-color: var(--gnt-border-color) !important;
    color: var(--gnt-muted-color) !important;
}

.gnt-batch-delete-preview-legend .import-legend-active {
    outline: 2px solid var(--gnt-primary-color);
    outline-offset: 1px;
}

.gnt-batch-delete-preview-grid-host {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}

.gnt-batch-delete-preview-grid-host .e-grid {
    height: 100% !important;
}

.gnt-batch-delete-preview-grid-host small {
    color: var(--gnt-muted-color);
    font-size: 0.75rem;
}

.gnt-batch-delete-preview-grid-host .import-new-cell {
    background-color: var(--gnt-success-tint) !important;
    font-weight: 500;
}

.gnt-batch-delete-preview-grid-host .import-missing-cell {
    background-color: var(--gnt-danger-tint) !important;
    color: var(--gnt-danger-text) !important;
    font-weight: 600;
}

.gnt-batch-delete-preview-empty {
    padding: 1rem;
    color: var(--gnt-muted-color);
}

.gnt-batch-delete-preview-cell-text {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gnt-batch-delete-preview-grid {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    border: 1px solid var(--gnt-border-soft);
}

.gnt-batch-delete-preview-grid table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.gnt-batch-delete-preview-grid th, .gnt-batch-delete-preview-grid td {
    padding: 0.45rem 0.6rem;
    border-bottom: 1px solid var(--gnt-border-light);
    text-align: left;
    vertical-align: top;
}

.gnt-batch-delete-preview-grid th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: var(--gnt-surface-2);
}

.gnt-batch-delete-preview-grid small {
    color: var(--gnt-muted-color);
    font-size: 0.75rem;
}

.gnt-batch-delete-preview-grid .is-delete-ready td:first-child {
    color: var(--gnt-success-color);
    font-weight: 700;
}

.gnt-batch-delete-preview-grid .is-delete-warning td:first-child {
    color: var(--gnt-warning-text);
    font-weight: 700;
}

.gnt-batch-delete-preview-grid .is-delete-blocked td:first-child {
    color: var(--gnt-danger-text);
    font-weight: 700;
}

.gnt-batch-delete-preview-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

/* ---- from Sabre.Shared.Web/Components/BatchDeletePreviewDialog.razor.css ---- */
.gnt-batch-delete-preview {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-height: 0;
    height: 100%;
}

.gnt-batch-delete-preview-alert {
    padding: 0.6rem 0.75rem;
    border: 1px solid var(--gnt-danger-border);
    border-radius: 4px;
    background: var(--gnt-danger-tint);
    color: var(--gnt-danger-text);
}

.gnt-batch-delete-preview-status-row {
    display: flex;
    align-items: stretch;
    gap: 0.5rem;
}

.gnt-batch-delete-preview-status {
    flex: 1 1 auto;
    padding: 0.45rem 0.65rem;
    border: 1px solid var(--gnt-primary-border);
    border-radius: 4px;
    background: var(--gnt-primary-tint);
    color: var(--gnt-primary-text);
}

.gnt-batch-delete-preview-legend {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem;
    flex: 0 0 auto;
    padding: 10px;
    background-color: var(--gnt-surface-2);
    border-radius: 4px;
}

.gnt-batch-delete-preview-legend .import-legend-button {
    margin-left: 8px;
    padding: 2px 8px;
    border-radius: 4px;
    border-width: 1px;
    font-weight: 600;
    box-shadow: none;
}

.gnt-batch-delete-preview-legend .import-legend-total {
    margin-left: 20px;
}

.gnt-batch-delete-preview-legend .import-legend-insert {
    background-color: var(--gnt-success-tint) !important;
    border-color: var(--gnt-success-border) !important;
    color: var(--gnt-success-text) !important;
}

.gnt-batch-delete-preview-legend .import-legend-duplicate {
    background-color: var(--gnt-info-tint) !important;
    border-color: var(--gnt-info-border) !important;
    color: var(--gnt-info-text) !important;
}

.gnt-batch-delete-preview-legend .import-legend-missing {
    background-color: var(--gnt-danger-tint) !important;
    border-color: var(--gnt-danger-border) !important;
    color: var(--gnt-danger-text) !important;
}

.gnt-batch-delete-preview-legend .import-legend-nochange {
    background-color: var(--gnt-surface-2) !important;
    border-color: var(--gnt-border-color) !important;
    color: var(--gnt-muted-color) !important;
}

.gnt-batch-delete-preview-legend .import-legend-active {
    outline: 2px solid var(--gnt-primary-color);
    outline-offset: 1px;
}

.gnt-batch-delete-preview-empty {
    padding: 1rem;
    color: var(--gnt-muted-color);
}

.gnt-batch-delete-preview-grid {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    border: 1px solid var(--gnt-border-soft);
}

.gnt-batch-delete-preview-grid table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.gnt-batch-delete-preview-grid th,
.gnt-batch-delete-preview-grid td {
    padding: 0.45rem 0.6rem;
    border-bottom: 1px solid var(--gnt-border-light);
    text-align: left;
    vertical-align: top;
}

.gnt-batch-delete-preview-grid th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: var(--gnt-surface-2);
}

.gnt-batch-delete-preview-cell-text {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gnt-batch-delete-preview-grid .is-delete-ready td:first-child {
    color: var(--gnt-success-color);
    font-weight: 700;
}

.gnt-batch-delete-preview-grid .is-delete-blocked td:first-child {
    color: var(--gnt-danger-text);
    font-weight: 700;
}

.gnt-batch-delete-preview-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

/* ---- from Sabre.Shared.Web/Components/Reports/ReportDatasetEditor.razor.css ---- */
.rpt-toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.rpt-spacer {
    flex: 1 1 auto;
}

.rpt-panel {
    border: 1px solid var(--gnt-border-soft);
    border-radius: 10px;
    padding: 8px 10px;
    background: var(--gnt-surface-color);
    min-width: 0;
}

.rpt-panel.rpt-wide {
    grid-column: 1 / -1;
}

.rpt-panel h4 {
    margin: 0 0 6px;
    font-size: 12px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--gnt-muted-color);
}

.rpt-panel label {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 6px;
    font-size: 12px;
    color: var(--gnt-text-tertiary);
}

.rpt-panel input,
.rpt-panel select {
    padding: 3px 5px;
    border: 1px solid var(--gnt-border-color);
    border-radius: 6px;
    font-size: 12px;
    min-width: 0;
}

.rpt-hint {
    font-size: 11px;
    color: var(--gnt-muted-color);
}

.rpt-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.rpt-table th {
    text-align: left;
    color: var(--gnt-muted-color);
    font-size: 11px;
    text-transform: uppercase;
}

.rpt-table td {
    border-top: 1px solid var(--gnt-border-light);
    padding: 2px 3px;
    max-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rpt-url {
    display: block;
    word-break: break-all;
    font-size: 11px;
    background: var(--gnt-surface-2);
    border: 1px solid var(--gnt-border-light);
    border-radius: 6px;
    padding: 6px;
}

.rpt-issues {
    margin: 8px 0 0;
    padding-left: 18px;
    font-size: 12px;
}

.rpt-issues .is-error {
    color: var(--gnt-danger-text);
}

.rpt-issues .is-warning {
    color: var(--gnt-warning-text);
}

.rpt-error {
    margin-top: 8px;
    border: 1px solid var(--gnt-danger-border);
    background: var(--gnt-danger-tint);
    color: var(--gnt-danger-text);
    border-radius: 8px;
    padding: 6px 8px;
}

.rpt-empty {
    border: 1px dashed var(--gnt-border-color);
    border-radius: 8px;
    color: var(--gnt-muted-color);
    padding: 8px;
    font-size: 12px;
}

/* ---- from Sabre.Shared.Web/Components/Reports/ReportWorkbench.razor.css ---- */
.rpt-wb-rows .rpt-table td {
    max-width: none;
}

.rpt-inline {
    display: flex;
    gap: 6px;
    align-items: center;
    font-size: 12px;
    color: var(--gnt-text-tertiary);
}

.rpt-combo-md {
    flex: 0 0 200px;
    width: 200px;
}

.rpt-bindings {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rpt-bindings-table td {
    max-width: none;
    overflow: visible;
}

.rpt-launcher {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
}

.rpt-launcher-bar, .rpt-launcher-prompts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.rpt-launcher-status {
    color: var(--gnt-muted-color);
    font-size: 12px;
}

.rpt-launcher-badge.is-draft {
    border-radius: 999px;
    padding: 0 7px;
    font-size: 11px;
    background: var(--gnt-warning-tint);
    color: var(--gnt-warning-text);
}

.rpt-launcher-blockers {
    margin: 0;
    padding-left: 18px;
    color: var(--gnt-danger-text);
    font-size: 12px;
}

.rpt-launcher-error {
    border: 1px solid var(--gnt-danger-border);
    background: var(--gnt-danger-tint);
    color: var(--gnt-danger-text);
    border-radius: 8px;
    padding: 6px 8px;
}

/* ---- from Sabre.Shared.Web/Components/GNTDataForm.razor.css ---- */
.gnt-auto-form-root {
    width: 100%;
    min-width: 0;
}

.gnt-auto-form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    margin-bottom: 8px;
}

.gnt-auto-form-group-sticky {
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--bs-body-bg, var(--gnt-surface-color));
    padding-top: 4px;
}

.gnt-auto-form-group-title {
    font-weight: 600;
    padding: 4px 8px 0 8px;
}

.gnt-auto-form-grid {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    row-gap: 4px;
    margin-left: -3px;
    margin-right: -3px;
}

/* ---- from Sabre.Shared.Web/Components/GNTFormItemAutoLayout.razor.css ---- */
.gnt-auto-form-grid {
    display: flex;
    flex-wrap: wrap;
    row-gap: 4px;
    margin-left: -3px;
    margin-right: -3px;
}

.gnt-col-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }

.gnt-col-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }

.gnt-col-3 { flex: 0 0 25%; max-width: 25%; }

.gnt-col-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }

.gnt-col-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }

.gnt-col-6 { flex: 0 0 50%; max-width: 50%; }

.gnt-col-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }

.gnt-col-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }

.gnt-col-9 { flex: 0 0 75%; max-width: 75%; }

.gnt-col-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }

.gnt-col-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }

.gnt-col-12 { flex: 0 0 100%; max-width: 100%; }

/* ---- from Sabre.Shared.Web/Components/GNTGridSelector.razor.css ---- */
.gnt-grid-selector-toolbar {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    transition: background-color 0.18s ease, box-shadow 0.18s ease;
}

.gnt-grid-selector-root--grid-edit .gnt-grid-selector-toolbar {
    background: linear-gradient(90deg, color-mix(in srgb, var(--gnt-info-color) 9%, transparent), transparent 44%);
    box-shadow: inset 0 -1px 0 color-mix(in srgb, var(--gnt-info-color) 22%, transparent);
}

.gnt-grid-selector-root--form-edit .gnt-grid-selector-toolbar {
    background: linear-gradient(90deg, color-mix(in srgb, var(--gnt-warning-color) 10%, transparent), transparent 44%);
    box-shadow: inset 0 -1px 0 color-mix(in srgb, var(--gnt-warning-color) 24%, transparent);
}

/* The favourite star, the same everywhere a favourite is shown (grid column, left nav, environment tree, starred search
   fields): no box, an outline star when off and a filled gold star when on (GntIcons.Favourite). Global, so it reaches
   markup inside Syncfusion templates that CSS isolation does not. */
.gnt-favourite-toggle {
    appearance: none;
    -webkit-appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    margin: 0;
    padding: 2px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    box-shadow: none;
    color: var(--gnt-text-faint);
    cursor: pointer;
    line-height: 1;
}

.gnt-favourite-toggle.is-on,
.gnt-favourite-mark {
    color: var(--gnt-favourite-color);
}

.gnt-favourite-toggle:hover {
    color: var(--gnt-favourite-color);
    background: transparent;
}

.gnt-favourite-toggle:focus-visible {
    outline: 2px solid var(--gnt-primary-color);
    outline-offset: 1px;
}

.gnt-favourite-toggle:disabled {
    cursor: default;
    opacity: 0.5;
}
