/* ================================================================================================== */
/* v4 S4: partner inner pages on the student site's polish system.                                    */
/* Loaded by Base.astro ONLY on partner.gunuch.com pages other than the homepage, so the settled       */
/* homepage cannot change. Finish, not redesign: compositions and focal visuals stay as in v2.         */
/* ================================================================================================== */
:root {
  --r-input: 10px; --r-card: 14px; --r-panel: 20px;
  --panel-r: 28px; --radius-card: 20px;
  --shadow-soft: 0 1px 2px oklch(25.5% 0.045 183 / .06), 0 4px 14px -8px oklch(25.5% 0.045 183 / .18);
  --shadow-lift: 0 1px 2px oklch(25.5% 0.045 183 / .07), 0 14px 32px -18px oklch(25.5% 0.045 183 / .32);
}
@media (max-width: 639px) { :root { --panel-r: 22px; } }

/* radii: the one large panel in a section */
.gn-desk, .gn-tracker, .gn-board, .gn-ukx__a, .gn-ukx__b, .gn-row, .gn-same, .gn-teams, .gn-two__d, .gn-bap .gn-enquiry__card,
.gn-d3__door, .gn-login__card, .gn-tile, .gn-go { border-radius: var(--r-panel) !important; }
/* radii: cards */
.gn-lanes__you, .gn-lanes__us, .gn-lanes .gn-lanes__you, .gn-lanes .gn-lanes__us, .gn-frame__card, .gn-frame__file, .gn-row__photo, .gn-row__facts > div,
.gn-login__holds li, .gn-doc__rail, .gn-doc__summary, .gn-credits2 li, .gn-desk__list li, .gn-funnel__desk, .gn-markx__fig { border-radius: var(--r-card) !important; }
.gn-frame__msg { border-radius: 12px 12px 12px 4px !important; }
.gn-credits2 img { border-radius: 8px !important; }
/* radii: inputs and small controls */
.gn-field input, .gn-field textarea, .gn-field select, .gn-dest-opt, .gn-doc__rail a { border-radius: var(--r-input) !important; }

/* elevations: two, tighter */
.gn-desk--you, .gn-bap .gn-enquiry__card, .gn-login__card, .gn-portal2 .gn-tile, .gn-frame__card, .gn-tracker { box-shadow: var(--shadow-lift) !important; }
.gn-lanes__you, .gn-lanes__us { box-shadow: var(--shadow-soft) !important; }
.gn-ukx__photos figure { box-shadow: var(--shadow-soft) !important; }

/* icons: plain line icons, no tinted tile */
.gn-team__ic, .gn-d3__ic, .gn-bap__get li > span, .gn-login__holds li > span, .gn-board__ic, .gn-door__ic {
  width: auto !important; height: auto !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important;
  background: none !important; box-shadow: none !important; justify-content: start; place-items: start; }
.gn-team__ic, .gn-d3__ic, .gn-board__ic, .gn-door__ic { color: var(--color-brand) !important; }
.gn-bap__get li > span, .gn-d3__door--forest .gn-d3__ic { color: var(--ref-lime) !important; }
/* login: the cards are white on the Lime panel, so the icons take Forest (never Lime on white) */
.gn-login__holds li > span { color: var(--color-brand) !important; }

/* badges: small text labels, not pills */
.gn-chip { min-height: 0; padding: 2px 8px; border-radius: 6px; font-size: 13px; }

/* accordions: a simple chevron, no Lime circle */
.gn-qa2--acc summary::after { content: '' !important; width: 9px !important; height: 9px !important; border-radius: 0 !important; background: none !important;
  border-right: 2px solid var(--color-brand); border-bottom: 2px solid var(--color-brand); transform: rotate(45deg); margin: -4px 6px 0 0; transition: transform .2s; }
.gn-qa2--acc details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }

/* the closing footer on inner pages: the student site's modest radius */
html footer.closing.footer--dark { border-radius: 24px 24px 0 0 !important; }

/* v6: on phones the portal tiles on /how-it-works form a swipe row; each keeps its own height instead of stretching
   to the tallest (which left tiles over half empty) */
@media (max-width: 1023px) { main:has(.gn-lanes) .gn-bento { align-items: flex-start; } }
