/* Mini-Glarecheck – all classes are prefixed gc- so the page can later live inside a Shopify theme. */

/* Brand: aligned with www.phytonics.com (Shopify "Dawn" theme): font Assistant, navy #242833 text and
   buttons, light grey #f3f4f6 surfaces, brand blue #334fb4 and green #309273. Data colours (luminance ramp,
   glare classes) keep their own validated scales. */
@font-face { font-family: "Assistant"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("vendor/fonts/assistant/assistant-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Assistant"; font-weight: 600; font-style: normal; font-display: swap;
  src: url("vendor/fonts/assistant/assistant-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Assistant"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("vendor/fonts/assistant/assistant-latin-700-normal.woff2") format("woff2"); }

:root {
  --gc-font: "Assistant", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gc-surface: #ffffff;
  --gc-surface-2: #f3f4f6;
  --gc-text: #242833;
  --gc-text-2: #4e5260;
  --gc-muted: #7d818c;
  --gc-grid: #e4e6ea;
  --gc-axis: #c4c7ce;
  --gc-border: rgba(36, 40, 51, 0.14);
  --gc-primary: #242833;        /* buttons and selected controls, as on the website */
  --gc-primary-ink: #ffffff;
  --gc-accent: #334fb4;         /* brand blue: map shapes, links, focus, progress */
  --gc-accent-ink: #ffffff;
  --gc-day: #f1f2f4;            /* heatmap: sun above the horizon, no reflection */
  --gc-box: #f7f8f9;            /* result box per module */
  --gc-good: #309273;           /* brand green */
  --gc-warning: #fab219;
  --gc-class-visible: #efd9a0;  /* glare class 1 (visible reflection); class 2 uses --gc-warning, class 3 --gc-critical */
  --gc-critical: #d03b3b;
  --gc-good-ink: #23715a;
  --gc-critical-ink: #b42828;
  /* sequential ramp (luminance), light -> dark */
  --gc-seq-1: #cde2fb; --gc-seq-2: #9ec5f4; --gc-seq-3: #6da7ec; --gc-seq-4: #3987e5;
  --gc-seq-5: #256abf; --gc-seq-6: #184f95; --gc-seq-7: #0d366b;
  --gc-radius: 6px;
  --gc-radius-btn: 4px;
  color-scheme: light;
}
/* always light, like the website (no dark mode, also not at night) */

* { box-sizing: border-box; }
.gc-root [hidden] { display: none !important; }
body { margin: 0; background: var(--gc-surface); color: var(--gc-text);
  font: 16px/1.55 var(--gc-font); letter-spacing: 0.01em; }

.gc-root { max-width: 1200px; margin: 0 auto; padding: 24px 16px 48px; }
.gc-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
/* like the page titles of www.phytonics.com (Dawn theme "h0"): 40 px, from 750 px width 52 px, regular weight */
.gc-header h1 { margin: 0 0 6px; font-size: 40px; font-weight: 400; letter-spacing: 0.6px; line-height: 1.3; }
@media (min-width: 750px) { .gc-header h1 { font-size: 52px; } }
.gc-lead { margin: 0 0 14px; color: var(--gc-text-2); max-width: 75ch; }
.gc-mode { flex: none; }
.gc-header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
/* narrow screens: the buttons wrap below the intro; keep them apart from the steps */
@media (max-width: 749px) { .gc-header-actions { margin: 4px 0 18px; } }
.gc-disclaimer { margin: -6px 0 14px; padding: 6px 10px; max-width: 75ch; font-size: 0.86rem; color: var(--gc-text-2);
  background: var(--gc-surface-2); border-left: 3px solid var(--gc-axis); border-radius: 3px; }

/* mode and context visibility */
.gc-root[data-mode="basic"] .gc-adv-only,
.gc-root[data-mode="advanced"] .gc-basic-only,
.gc-root[data-mounting="roof"] .gc-only-rows { display: none; }

/* steps */
.gc-steps { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 12px; padding: 0; font-size: 0.86rem;
  color: var(--gc-muted); counter-reset: step; }
.gc-steps li { counter-increment: step; display: flex; align-items: center; gap: 6px; }
.gc-steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%;
  border: 1px solid var(--gc-axis); font-size: 0.75rem; font-weight: 700; }
.gc-steps li.gc-current { color: var(--gc-text); font-weight: 600; }
.gc-steps li.gc-current::before { background: var(--gc-primary); border-color: var(--gc-primary); color: var(--gc-primary-ink); }
.gc-steps li.gc-done { color: var(--gc-text-2); }
.gc-steps li.gc-done::before { content: "✓"; background: var(--gc-surface-2); color: var(--gc-good-ink); }

.gc-inputs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 18px; align-items: start; }
@media (max-width: 1000px) { .gc-inputs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .gc-inputs { grid-template-columns: 1fr; } }
.gc-inputs fieldset { border: 1px solid var(--gc-border); border-radius: var(--gc-radius); margin: 0; padding: 12px 14px 14px; min-width: 0;
  display: flex; flex-direction: column; gap: 10px; }
.gc-inputs legend { font-weight: 700; padding: 0 6px; }
.gc-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; }
.gc-inputs label { display: flex; flex-direction: column; gap: 3px; font-size: 0.86rem; color: var(--gc-text-2); }
.gc-hint { font-size: 0.75rem; color: var(--gc-muted); margin-top: -3px; }
/* side-by-side fields: labels stretch to the row height and the input sits at the bottom, so inputs
   line up even when one label wraps or has a hint and its neighbour has none */
.gc-grid2 > label > input, .gc-grid2 > label > select { margin-top: auto; }
.gc-linkbtn { font: inherit; color: var(--gc-accent); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; }
.gc-inputs input[type="number"], .gc-inputs select {
  font: inherit; color: var(--gc-text); background: var(--gc-surface); border: 1px solid var(--gc-axis);
  border-radius: 3px; padding: 6px 8px; width: 100%; min-width: 0; }
.gc-inputs input:focus-visible, .gc-inputs select:focus-visible, .gc-btn:focus-visible { outline: 2px solid var(--gc-accent); outline-offset: 1px; }
.gc-inputs input:invalid { border-color: var(--gc-critical); }
.gc-note { font-size: 0.78rem; color: var(--gc-muted); margin: 0; }
.gc-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.gc-chips-row { grid-column: 1 / -1; }      /* full row inside a two-column field grid */
.gc-chips button { font: inherit; font-size: 0.82rem; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--gc-axis);
  background: var(--gc-surface); color: var(--gc-text-2); cursor: pointer; }
.gc-chips button[aria-pressed="true"] { background: var(--gc-primary); border-color: var(--gc-primary); color: var(--gc-primary-ink); }

.gc-seg { display: inline-flex; align-self: flex-start; border: 1px solid var(--gc-axis); border-radius: var(--gc-radius-btn); overflow: hidden; }
.gc-seg label { flex-direction: row; align-items: center; gap: 0; padding: 5px 12px; cursor: pointer; font-size: 0.86rem; color: var(--gc-text-2); }
.gc-seg input { position: absolute; opacity: 0; pointer-events: none; }
.gc-seg label:has(input:checked) { background: var(--gc-primary); color: var(--gc-primary-ink); }
.gc-seg label:has(input:focus-visible) { outline: 2px solid var(--gc-accent); outline-offset: -2px; }

.gc-root[data-obs="residential"] .gc-only-road,
.gc-root[data-obs="road"] .gc-only-residential { display: none; }

.gc-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.gc-btn { font: inherit; font-weight: 600; letter-spacing: 0.04em; background: var(--gc-primary); color: var(--gc-primary-ink); border: 0;
  border-radius: var(--gc-radius-btn); padding: 10px 22px; cursor: pointer; }
.gc-btn:disabled { opacity: 0.6; cursor: progress; }
.gc-btn-2 { background: var(--gc-surface-2); color: var(--gc-text); border: 1px solid var(--gc-axis); padding: 6px 14px; }
.gc-progress { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 180px; font-size: 0.85rem; color: var(--gc-text-2); }
.gc-progress-bar { flex: 1; height: 8px; background: var(--gc-surface-2); border-radius: 4px; overflow: hidden; }
.gc-progress-bar span { display: block; height: 100%; width: 0; background: var(--gc-accent); border-radius: 4px; transition: width 0.15s; }
.gc-error { color: var(--gc-critical-ink); font-size: 0.88rem; }

.gc-map-panel { position: relative; }
.gc-map-tools { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.gc-search { position: relative; display: flex; gap: 6px; flex: 1 1 320px; max-width: 520px; }
.gc-search input { flex: 1; min-width: 0; font: inherit; color: var(--gc-text); background: var(--gc-surface); border: 1px solid var(--gc-axis);
  border-radius: 3px; padding: 6px 10px; }
.gc-search-results { position: absolute; z-index: 1100; top: calc(100% + 4px); left: 0; right: 0; margin: 0; padding: 4px; list-style: none;
  background: var(--gc-surface); border: 1px solid var(--gc-border); border-radius: 8px; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.gc-search-results button { display: block; width: 100%; text-align: left; font: inherit; font-size: 0.86rem; color: var(--gc-text);
  background: none; border: 0; border-radius: 6px; padding: 6px 8px; cursor: pointer; }
.gc-search-results button:hover, .gc-search-results button:focus-visible { background: var(--gc-surface-2); }
.gc-search-msg { font-size: 0.86rem; color: var(--gc-text-2); padding: 6px 8px; }
.gc-toolbar { display: flex; gap: 6px; flex-wrap: wrap; }
.gc-tool { display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: 0.88rem; font-weight: 600; cursor: pointer;
  color: var(--gc-text); background: var(--gc-surface); border: 1px solid var(--gc-axis); border-radius: var(--gc-radius-btn); padding: 6px 12px; }
.gc-tool[aria-pressed="true"] { background: var(--gc-primary); border-color: var(--gc-primary); color: var(--gc-primary-ink); }
.gc-tool:focus-visible, .gc-search input:focus-visible, .gc-chips button:focus-visible { outline: 2px solid var(--gc-accent); outline-offset: 1px; }
.gc-map-hint { margin: 0 0 8px; padding: 8px 12px; border-radius: 8px; background: var(--gc-surface-2); font-size: 0.88rem; }
.gc-map { height: 540px; border: 1px solid var(--gc-border); border-radius: var(--gc-radius); overflow: hidden; background: var(--gc-surface-2); }
@media (max-width: 860px) { .gc-map { height: 420px; } }
.gc-map.gc-drawing, .gc-map.gc-drawing .leaflet-interactive { cursor: crosshair; touch-action: none; }
.gc-map.gc-placing { cursor: crosshair; }
.gc-map-consent { height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 24px; gap: 6px; }
.gc-map-consent p { margin: 0; max-width: 46ch; color: var(--gc-text-2); }
.gc-geo { font-size: 0.82rem; color: var(--gc-text-2); margin: 8px 0 0; }

.gc-pin { width: 18px; height: 18px; border-radius: 4px; background: var(--gc-accent); border: 2px solid #fff; box-shadow: 0 1px 3px rgba(0,0,0,.4); }
.gc-pin-obs { width: 26px; height: 26px; border-radius: 50%; background: #0b0b0b; color: #fff; border: 2px solid #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.5); display: grid; place-items: center; }
/* legend of the map handles */
.gc-map-legend { background: rgba(255,255,255,.95); border-radius: 6px; box-shadow: 0 1px 4px rgba(0,0,0,.3); padding: 6px 10px;
  font-size: 0.8rem; color: #242833; max-width: 260px; }
.gc-map-legend summary { cursor: pointer; font-weight: 600; }
.gc-map-legend ul { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 5px; }
.gc-map-legend li { display: flex; align-items: center; gap: 8px; line-height: 1.25; }
.gc-map-legend .gc-handle { flex: none; position: static; display: inline-grid; place-items: center; cursor: default; }
.gc-map-legend .gc-handle-rot { width: 18px; height: 18px; font-size: 12px; }
.gc-map-legend .gc-legend-centre { background: var(--gc-accent); }
.gc-legend-arrow { flex: none; width: 18px; text-align: center; color: #242833; transform: rotate(-90deg); }
.gc-legend-eye { flex: none; width: 18px; height: 18px; border-radius: 50%; background: #0b0b0b; color: #fff; display: inline-grid; place-items: center; }
.gc-handle { width: 14px; height: 14px; border-radius: 3px; background: #fff; border: 2px solid var(--gc-accent); box-shadow: 0 1px 3px rgba(0,0,0,.4); cursor: nwse-resize; }
.gc-handle-rot { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; line-height: 1;
  color: var(--gc-accent); cursor: grab; }
.gc-arrow { width: 30px; height: 30px; cursor: pointer; filter: drop-shadow(0 1px 2px rgba(0,0,0,.6)); }
.gc-arrow svg path { fill: #fff; stroke: #242833; stroke-width: 1.8; stroke-linejoin: round; }   /* visible on light rows too */
.leaflet-tooltip.gc-map-label { background: rgba(255,255,255,.78); border: 0; box-shadow: 0 1px 2px rgba(0,0,0,.25); font-size: 11px;
  padding: 0 5px; color: #0b0b0b; pointer-events: none; }   /* clicks go through to the handles */
.leaflet-tooltip.gc-map-label::before { display: none; }

.gc-results { margin-top: 28px; position: relative; }
.gc-results h2 { font-size: 1.25rem; margin: 0 0 12px; }
.gc-stale { background: var(--gc-surface-2); border: 1px solid var(--gc-border); border-radius: 8px; padding: 8px 12px; margin-bottom: 12px; font-size: 0.9rem; }
.gc-results.gc-is-stale .gc-compare, .gc-results.gc-is-stale .gc-resmap { opacity: 0.45; }
.gc-sub { margin: 2px 0 8px; font-size: 0.82rem; color: var(--gc-text-2); }
.gc-compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; margin: 14px 0 24px; }
/* subgrid keeps heading, verdict, tiles and charts of both boxes on the same lines */
.gc-col { display: grid; grid-row: span 5; grid-template-rows: subgrid; align-content: start; row-gap: 0;
  background: var(--gc-box); border: 1px solid var(--gc-border); border-radius: 8px; padding: 16px 16px 4px; min-width: 0; }
.gc-col .gc-tile { background: var(--gc-surface); }
.gc-intensity { display: block; margin-top: 4px; color: var(--gc-text); font-size: 0.88rem; }
.gc-legend-ref { flex-basis: 100%; font-size: 0.78rem; color: var(--gc-muted); }
.gc-resmap { margin: 0 0 22px; }
.gc-resmap h3 { font-size: 1.08rem; margin: 0 0 8px; }
.gc-resmap-controls { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.gc-potential { margin: 28px 0 22px; padding-top: 16px; border-top: 1px solid var(--gc-border); }
.gc-potential h2 { font-size: 1.25rem; margin: 0 0 4px; }
.gc-potential-controls { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 18px; margin: 10px 0 6px; }
.gc-field { display: flex; flex-direction: column; gap: 4px; font-size: 0.86rem; color: var(--gc-text-2); }
.gc-field select { font: inherit; color: var(--gc-text); background: var(--gc-surface); border: 1px solid var(--gc-axis); border-radius: 3px; padding: 5px 8px; }
.gc-resmap-map.gc-potential-map { height: 560px; margin-top: 6px; }
.gc-potential-map { cursor: crosshair; }
.gc-pixelated { image-rendering: pixelated; }
.gc-scale-controls { display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.gc-field-inline { flex-direction: row; align-items: center; gap: 6px; }
.gc-check { display: inline-flex; align-items: center; gap: 5px; font-size: 0.86rem; color: var(--gc-text-2); cursor: pointer; }
.gc-gray-base .leaflet-tile-pane { filter: grayscale(1) contrast(0.85) brightness(1.05); }
.gc-resmap-map { height: 440px; border: 1px solid var(--gc-border); border-radius: var(--gc-radius); background: var(--gc-surface-2); }
@media (max-width: 900px) { .gc-compare { grid-template-columns: 1fr; row-gap: 20px; } }
.gc-col h3 { font-size: 1.08rem; margin: 0 0 10px; padding-bottom: 6px; border-bottom: 1px solid var(--gc-border); }
.gc-col h3 span { display: block; font-size: 0.78rem; font-weight: 400; color: var(--gc-muted); }

.gc-verdict { display: flex; align-items: flex-start; gap: 10px; border: 1px solid var(--gc-border); border-radius: var(--gc-radius); padding: 12px 14px; margin-bottom: 12px;
  --vc: var(--gc-good); border-left: 5px solid var(--vc); }
.gc-col .gc-verdict { background: color-mix(in srgb, var(--vc) 10%, var(--gc-surface)); }
.gc-verdict svg { flex: none; margin-top: 2px; }
.gc-verdict strong { display: block; }
.gc-verdict span { color: var(--gc-text-2); font-size: 0.9rem; }

.gc-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-bottom: 20px; }
.gc-tile { border: 1px solid var(--gc-border); border-radius: var(--gc-radius); padding: 10px 12px; background: var(--gc-surface); }
.gc-tile .gc-k { font-size: 0.78rem; color: var(--gc-text-2); }
.gc-tile .gc-v { font-size: 1.45rem; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: 0.01em; }
.gc-tile .gc-s { font-size: 0.76rem; color: var(--gc-muted); }

.gc-figure { margin: 0 0 22px; }
.gc-figure figcaption { margin-bottom: 6px; }
.gc-figure figcaption span { display: block; font-size: 0.82rem; color: var(--gc-text-2); }
.gc-chart-wrap { position: relative; width: 100%; }
.gc-chart-wrap canvas { display: block; width: 100%; }
.gc-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; font-size: 0.8rem; color: var(--gc-text-2); margin-top: 6px; }
.gc-legend-scale { display: flex; align-items: flex-start; gap: 8px; }
.gc-legend-scale > span:last-child { padding-top: 3px; }
.gc-legend-bar { display: block; position: relative; width: 220px; height: 10px; border-radius: 3px; }
.gc-legend-ticks { display: block; position: relative; width: 220px; height: 14px; font-size: 0.72rem; color: var(--gc-muted); }
.gc-legend-ticks span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.gc-legend-mark { position: absolute; top: -3px; width: 2px; height: 16px; background: var(--gc-text); }
.gc-chip { display: inline-flex; align-items: center; gap: 6px; }
.gc-chip i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }

.gc-details { border-top: 1px solid var(--gc-border); padding-top: 10px; font-size: 0.88rem; color: var(--gc-text-2); }
.gc-details summary { cursor: pointer; font-weight: 600; color: var(--gc-text); }
.gc-details li { margin: 4px 0; }

.gc-tooltip { position: fixed; z-index: 1000; pointer-events: none; background: var(--gc-surface); color: var(--gc-text);
  border: 1px solid var(--gc-border); border-radius: 8px; padding: 6px 9px; font-size: 0.8rem; line-height: 1.4;
  box-shadow: 0 4px 14px rgba(0,0,0,.15); font-variant-numeric: tabular-nums; }
.gc-tooltip b { font-weight: 700; }

.gc-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 16px; margin-top: 36px; padding-top: 12px;
  border-top: 1px solid var(--gc-border); font-size: 0.8rem; color: var(--gc-muted); }
.gc-footer a { color: var(--gc-text-2); }

/* embedded in the website (?embed=1): the page's own title is hidden in the theme, the tool shows its own */
.gc-root.gc-embed { padding-top: 8px; }
.gc-embed .gc-footer { display: none; }     /* the website footer already links imprint and privacy policy */

/* Arabic: layout stays left-to-right (not mirrored), but each text block takes its reading direction from its
   content, so punctuation and Latin terms (cd/m², LAI) are ordered correctly */
html[lang="ar"] .gc-root :is(p, li, h1, h2, h3, legend, label > span, figcaption > *, strong, .gc-k, .gc-s, .gc-intensity, .gc-legend-ref, .gc-chip) {
  unicode-bidi: plaintext;
  text-align: left;
}

/* share button and menu */
.gc-root { position: relative; }
.gc-share-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: -8px 0 24px; }
.gc-share-row .gc-note { margin: 0; }
.gc-share-menu { position: absolute; z-index: 1200; width: 260px; padding: 6px; background: var(--gc-surface); border: 1px solid var(--gc-border);
  border-radius: 8px; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.gc-share-menu a, .gc-share-menu button { display: flex; align-items: center; gap: 10px; width: 100%; font: inherit; font-size: 0.92rem;
  color: var(--gc-text); text-decoration: none; background: none; border: 0; border-radius: 6px; padding: 8px 10px; cursor: pointer; text-align: left; }
.gc-share-menu a:hover, .gc-share-menu button:hover, .gc-share-menu a:focus-visible, .gc-share-menu button:focus-visible { background: var(--gc-surface-2); }
.gc-share-menu input { width: 100%; box-sizing: border-box; margin: 4px 0 2px; font: inherit; font-size: 0.8rem; color: var(--gc-text-2);
  background: var(--gc-surface-2); border: 1px solid var(--gc-border); border-radius: 4px; padding: 5px 8px; }
.gc-share-menu p { margin: 6px 4px 2px; font-size: 0.78rem; color: var(--gc-text-2); }


/* link to the tool's privacy notice; also shown when embedded (the footer is not) */
.gc-privacy-line { margin: 28px 0 0; font-size: 0.82rem; color: var(--gc-text-2); }
.gc-privacy-line a, .gc-map-consent .gc-privacy-link { color: inherit; }

/* a field over the whole width of a two-column grid in the basic view (in advanced it sits beside the terrain height) */
.gc-root[data-mode="basic"] .gc-grid2 > .gc-span-all { grid-column: 1 / -1; }

/* info button with an explanation: hover/focus on desktop, tap on touch screens */
.gc-has-info { position: relative; }
.gc-label-row { display: flex; align-items: center; }
.gc-info { display: inline-grid; place-items: center; width: 17px; height: 17px; margin-left: 6px; padding: 0; vertical-align: 1px;
  font: italic 600 11px/1 Georgia, serif; color: var(--gc-accent); background: var(--gc-surface); border: 1.5px solid var(--gc-accent);
  border-radius: 50%; cursor: help; }
.gc-info-pop { display: none; position: absolute; z-index: 1300; left: 0; right: 0; top: 1.6em; padding: 10px 12px; font-size: 0.84rem;
  line-height: 1.45; color: var(--gc-text); background: var(--gc-surface); border: 1px solid var(--gc-border); border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0,0,0,.18); pointer-events: none; }   /* taps go through to the field below */
.gc-info-pop p { margin: 0 0 6px; } .gc-info-pop p:last-child { margin: 0; }
.gc-info:focus-visible + .gc-info-pop, .gc-info[aria-expanded="true"] + .gc-info-pop { display: block; }
/* hover only with a real pointer: on touch screens :hover sticks after a tap */
@media (hover: hover) { .gc-info:hover + .gc-info-pop { display: block; } }

/* link field with a copy button inside (share menu) */
.gc-share-link { position: relative; margin: 4px 0 2px; }
.gc-share-menu .gc-share-link input { margin: 0; padding-right: 34px; }
.gc-share-menu .gc-share-link button { position: absolute; right: 2px; top: 50%; transform: translateY(-50%); width: 28px; height: 26px;
  padding: 0; justify-content: center; border-radius: 4px; }
.gc-share-copied { display: block; min-height: 1em; margin: 2px 4px 0; font-size: 0.78rem; color: var(--gc-good-ink, var(--gc-good)); }

/* BETA tag behind the heading, Phytonics green (darker step for readable white text) */
.gc-beta-tag { display: inline-block; vertical-align: super; margin-left: 12px; padding: 3px 9px; border-radius: 4px;
  background: var(--gc-good-ink); color: #fff; font: 700 13px/1.4 var(--gc-font); letter-spacing: 2px; transform: rotate(-6deg); }
