/* ==========================================================================
   ExtractHelp — Business directory and "Get listed"
   1. Hero   2. Listing card   3. Form + live preview   4. Directory   5. Listing page
   6. States  7. Motion   8. Small screens
   ========================================================================== */

/* 1. Hero (navy band, like the inner pages) -------------------------------- */
.gl-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--hero-bg); color: var(--hero-text); padding-block: clamp(22px, 3vw, 40px) clamp(48px, 6vw, 80px); }
.gl-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2; opacity: .4; pointer-events: none;
  background-image: linear-gradient(var(--hero-line) 1px, transparent 1px), linear-gradient(90deg, var(--hero-line) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 70% 30%, #000 15%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 90% at 70% 30%, #000 15%, transparent 75%);
}
.gl-hero::after { content: ""; position: absolute; z-index: -1; width: 620px; height: 620px; inset-inline-end: -180px; top: -300px; border-radius: 50%; background: radial-gradient(circle, rgba(248, 98, 25, .3), transparent 62%); pointer-events: none; }
.gl-hero .breadcrumbs ol { margin-block-end: 20px; color: var(--hero-muted); }
.gl-hero .breadcrumbs a { color: var(--hero-muted); }
.gl-hero .breadcrumbs a:hover, .gl-hero .breadcrumbs [aria-current] { color: #fff; }
.gl-hero .breadcrumbs li + li::before { color: rgba(255, 255, 255, .3); }
.gl-hero h1 { color: #fff; font-size: clamp(2.1rem, 1.3rem + 2.8vw, 3.3rem); max-width: 13em; }
.gl-hero .lead { color: var(--hero-muted); max-width: 34em; }
.gl-hero .eyebrow { color: #FFB48A; }
.gl-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.gl-steps-mini { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 26px 0 0; padding: 0; }
.gl-steps-mini li { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); color: #E6EBF8; font-size: .9rem; font-weight: 600; }
.gl-steps-mini span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--grad-accent); color: #fff; font-size: .8rem; font-weight: 800; }
.gl-hero__visual { position: relative; padding: 30px 10px; }
.gl-float { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--surface); color: var(--heading); font-size: .84rem; font-weight: 700; box-shadow: var(--shadow-float); white-space: nowrap; }
.gl-float .icon { width: 16px; height: 16px; color: var(--success); }
.gl-float--a { top: 0; inset-inline-end: 6%; }
.gl-float--b { bottom: 2px; inset-inline-start: 0; }
.gl-float--b .icon { color: var(--accent); }

/* 2. Listing card ------------------------------------------------------------ */
.gl-card { display: grid; gap: 12px; align-content: start; padding: 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); color: var(--text); text-decoration: none; box-shadow: var(--shadow-sm); }
.gl-card--demo { box-shadow: var(--shadow-panel); transform: rotate(-1.5deg); }
.gl-card--demo:dir(rtl) { transform: rotate(1.5deg); }
.gl-card__top { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.gl-card__top b { display: block; color: var(--heading); font-size: 1.05rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gl-card__top small { display: block; color: var(--muted); font-size: .84rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gl-card__logo { display: grid; place-items: center; width: 48px; height: 48px; overflow: hidden; border-radius: 14px; background: var(--grad-navy); color: #fff; font-size: 1.3rem; font-weight: 800; }
.gl-card__logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.gl-card__logo--demo { background: var(--grad-accent); }
.gl-card > p { margin: 0; color: var(--text); font-size: .93rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.gl-card__meta { display: grid; gap: 6px; list-style: none; margin: 0; padding: 12px 0 0; border-block-start: 1px dashed var(--line); color: var(--muted); font-size: .86rem; }
.gl-card__meta li { display: flex; align-items: center; gap: 8px; min-width: 0; }
.gl-card__meta .icon { width: 15px; height: 15px; flex: none; color: var(--accent); }
.gl-card__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.gl-card__tags:empty { display: none; }
.gl-card__tags span { padding: 3px 10px; border-radius: 999px; background: var(--navy-soft); color: var(--heading); font-size: .76rem; font-weight: 650; }
.gl-badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; background: var(--success-soft); color: var(--success); font-size: .74rem; font-weight: 750; white-space: nowrap; }
.gl-badge .icon { width: 13px; height: 13px; }
.gl-card--link { transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.gl-card--link:hover { transform: translateY(-4px); box-shadow: var(--shadow-float); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }

/* 3. Form + live preview --------------------------------------------------------- */
.gl-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
.gl-form { display: grid; gap: 22px; }
.gl-step { display: grid; gap: 16px; margin: 0; padding: clamp(18px, 3vw, 28px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 20px); }
.gl-step legend { display: flex; align-items: center; gap: 12px; float: left; width: 100%; margin: 0 0 6px; padding: 0; color: var(--heading); font-size: 1.15rem; font-weight: 750; }
.gl-step legend + * { clear: both; }
.gl-step__num { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--grad-navy); color: #fff; font-size: .9rem; font-weight: 800; }
.form-row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.req { color: var(--danger); }
.field__opt { color: var(--muted); font-weight: 500; }
.field__hint { margin: 0; color: var(--muted); font-size: .84rem; }
.gl-private { display: flex; align-items: center; gap: 8px; }
.gl-private .icon { width: 15px; height: 15px; color: var(--accent); }
.gl-alert { display: flex; align-items: center; gap: 10px; margin: 0; padding: 12px 16px; border-radius: 12px; background: var(--danger-soft); color: var(--danger); font-weight: 650; }
.gl-alert .icon { width: 18px; height: 18px; }
.gl-file { position: relative; }
.gl-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.gl-file__ui { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 16px; border-radius: 12px; border: 1.5px dashed var(--line-strong); background: var(--bg-soft); color: var(--heading); font-weight: 650; }
.gl-file:hover .gl-file__ui, .gl-file input:focus-visible + .gl-file__ui { border-color: var(--accent); }
.gl-file__ui .icon { width: 20px; height: 20px; color: var(--accent); }
.gl-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.gl-submit .form-note { margin: 0; }
.gl-side__sticky { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 16px; }
.gl-side__label { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--muted); font-size: .84rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.gl-side__label .icon { width: 16px; height: 16px; }

/* 4. Directory ------------------------------------------------------------------- */
.gl-dir__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 32px; }
.gl-search { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr) auto; gap: 8px; margin-block-start: 28px; padding: 8px; border-radius: 18px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); }
.gl-search .input, .gl-search .select { min-height: 50px; border-color: transparent; background-color: var(--surface); }
.gl-search .btn { min-height: 50px; }
.gl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.gl-pager { display: flex; justify-content: space-between; gap: 10px; margin-block-start: 28px; }
.gl-pager .btn:only-child { margin-inline-start: auto; }

/* 5. Listing page ---------------------------------------------------------------- */
.gl-show__head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px; align-items: center; }
.gl-show__logo { display: grid; place-items: center; width: 96px; height: 96px; overflow: hidden; border-radius: 24px; background: var(--grad-accent); color: #fff; font-size: 2.4rem; font-weight: 800; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .6); }
.gl-show__logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.gl-show__cat { margin: 0 0 4px; color: #FFB48A; font-weight: 700; font-size: .92rem; }
.gl-show__id h1 { margin: 0 0 8px; font-size: clamp(1.9rem, 1.3rem + 2vw, 2.8rem); }
.gl-show__id .lead { margin: 0; }
.gl-show__chips { display: flex; flex-wrap: wrap; gap: 8px 16px; list-style: none; margin: 14px 0 0; padding: 0; color: #E6EBF8; font-size: .92rem; }
.gl-show__chips li { display: inline-flex; align-items: center; gap: 6px; }
.gl-show__chips .icon { width: 16px; height: 16px; color: #FFA066; }
.gl-show__chips .gl-badge { background: rgba(74, 222, 128, .14); color: #86EFAC; }
.gl-show__chips .gl-badge .icon { color: #86EFAC; }
.gl-hero--show .btn--ghost { border-color: rgba(255, 255, 255, .3); color: #fff; }
.gl-show { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.gl-show__main, .gl-show__side { display: grid; gap: 18px; }
.gl-show__side { position: sticky; top: calc(var(--header-h) + 20px); }
.gl-panel { padding: clamp(18px, 3vw, 26px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.gl-panel h2 { margin: 0 0 12px; font-size: 1.2rem; }
.gl-panel p { margin: 0 0 12px; }
.gl-panel p:last-child { margin: 0; }
.gl-panel--muted { background: var(--bg-soft); }
.gl-services { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 8px; list-style: none; margin: 0; padding: 0; }
.gl-services li { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 10px; background: var(--bg-soft); font-weight: 600; }
.gl-services .icon { width: 16px; height: 16px; color: var(--success); flex: none; }
.gl-dl { display: grid; margin: 0; }
.gl-dl > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-block-end: 1px dashed var(--line); }
.gl-dl > div:last-child { border-block-end: 0; }
.gl-dl dt { color: var(--muted); font-weight: 650; }
.gl-dl dd { margin: 0; color: var(--heading); font-weight: 600; }
.gl-contact ul { display: grid; gap: 12px; list-style: none; margin: 0; padding: 0; }
.gl-contact li { display: flex; align-items: flex-start; gap: 10px; overflow-wrap: anywhere; }
.gl-contact li .icon { width: 18px; height: 18px; flex: none; margin-block-start: 2px; color: var(--accent); }
.gl-contact a { color: var(--heading); font-weight: 650; }
.gl-social { display: flex; flex-wrap: wrap; gap: 8px; margin-block-start: 16px; padding-block-start: 16px; border-block-start: 1px dashed var(--line); }
.gl-social a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--navy-soft); color: var(--heading); font-size: .84rem; font-weight: 650; text-decoration: none; }
.gl-social a:hover { background: var(--accent-soft); color: var(--accent-text); }
.gl-social .icon { width: 15px; height: 15px; }
.gl-note { display: flex; align-items: flex-start; gap: 8px; color: var(--muted); font-size: .88rem; }
.gl-note .icon { width: 16px; height: 16px; flex: none; margin-block-start: 2px; }

/* 6. States --------------------------------------------------------------------- */
.gl-gate, .gl-done { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 32px; align-items: center; padding: clamp(22px, 4vw, 36px); border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.gl-gate h2, .gl-done h2 { margin: 0 0 6px; font-size: 1.4rem; }
.gl-gate p, .gl-done p { margin: 0; color: var(--muted); }
.gl-gate__actions, .gl-done__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.gl-done { grid-template-columns: auto minmax(0, 1fr); background: var(--success-soft); border-color: color-mix(in srgb, var(--success) 28%, transparent); }
.gl-done__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--success); color: #fff; }
.gl-done__icon .icon { width: 28px; height: 28px; }
.gl-done__actions { margin-block-start: 16px; }
.gl-empty { padding: 48px 24px; text-align: center; border-radius: var(--r-xl); background: var(--bg-soft); border: 1px dashed var(--line-strong); }
.gl-empty__icon { display: inline-grid; place-items: center; width: 64px; height: 64px; margin-block-end: 14px; border-radius: 20px; background: var(--grad-navy); color: #fff; }
.gl-empty__icon .icon { width: 28px; height: 28px; }
.gl-empty h2 { margin: 0 0 8px; }
.gl-empty p { margin: 0 auto 18px; max-width: 30em; color: var(--muted); }
.gl-benefits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.gl-benefit { padding: 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.gl-benefit > span { display: grid; place-items: center; width: 46px; height: 46px; margin-block-end: 14px; border-radius: 14px; background: var(--accent-soft); color: var(--accent-text); }
.gl-benefit .icon { width: 22px; height: 22px; }
.gl-benefit h3 { margin: 0 0 6px; font-size: 1.05rem; }
.gl-benefit p { margin: 0; color: var(--muted); font-size: .93rem; }

/* 7. Motion ----------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  :root:not(.motion-paused) .gl-hero::after { animation: gl-orb 18s ease-in-out infinite alternate; }
  :root:not(.motion-paused) .gl-card--demo { animation: gl-tilt 7s ease-in-out infinite alternate; }
  :root:not(.motion-paused) .gl-float--a { animation: gl-bob 5s ease-in-out infinite; }
  :root:not(.motion-paused) .gl-float--b { animation: gl-bob 6s ease-in-out .8s infinite; }
  :root:not(.motion-paused) .gl-grid .gl-card { animation: gl-rise .5s var(--ease) backwards; }
  :root:not(.motion-paused) .gl-grid .gl-card:nth-child(2) { animation-delay: .05s; }
  :root:not(.motion-paused) .gl-grid .gl-card:nth-child(3) { animation-delay: .1s; }
  :root:not(.motion-paused) .gl-grid .gl-card:nth-child(n+4) { animation-delay: .15s; }
  :root:not(.motion-paused) [data-preview-card] .is-new { animation: gl-flash .6s var(--ease); }
}
@keyframes gl-orb { to { transform: translate(-70px, 60px) scale(1.1); } }
@keyframes gl-tilt { from { transform: rotate(-1.5deg) translateY(0); } to { transform: rotate(.5deg) translateY(-8px); } }
@keyframes gl-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes gl-rise { from { opacity: 0; transform: translateY(12px); } }
@keyframes gl-flash { from { background: var(--accent-soft); } }

/* 8. Small screens ----------------------------------------------------------------- */
@media (max-width: 1080px) {
  .gl-layout, .gl-show { grid-template-columns: minmax(0, 1fr); }
  .gl-side { order: -1; }
  .gl-side__sticky, .gl-show__side { position: static; }
    .gl-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .gl-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .gl-hero__visual { max-width: 460px; }
  .gl-search { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .gl-search .input { grid-column: 1 / -1; }
  .gl-show__head { grid-template-columns: auto minmax(0, 1fr); }
  .gl-show__head > .btn { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 640px) {
  .form-row--3 { grid-template-columns: minmax(0, 1fr); }
  .gl-gate, .gl-done { grid-template-columns: minmax(0, 1fr); }
  .gl-benefits { grid-template-columns: minmax(0, 1fr); }
  .gl-search { grid-template-columns: minmax(0, 1fr); }
  .gl-show__logo { width: 72px; height: 72px; border-radius: 18px; font-size: 1.8rem; }
  .gl-dl > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .gl-float--a { inset-inline-end: 0; }
}

/* 9. Step-by-step form ---------------------------------------------------------- */
.gl-stepper { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 6px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.gl-stepper__item { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; padding: 10px 6px; border: 0; border-radius: 12px; background: none; color: var(--muted); font: inherit; font-size: .8rem; font-weight: 650; cursor: pointer; }
.gl-stepper__item:hover:not(:disabled) { background: var(--bg-soft); color: var(--heading); }
.gl-stepper__item:disabled { cursor: default; opacity: .55; }
.gl-stepper__label { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gl-stepper__dot { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: var(--surface); color: var(--heading); font-size: .82rem; font-weight: 800; transition: background .2s, border-color .2s, color .2s; }
.gl-stepper__ok { display: none; width: 15px; height: 15px; }
.gl-stepper__item.is-done .gl-stepper__dot { background: var(--success); border-color: var(--success); color: #fff; }
.gl-stepper__item.is-done .gl-stepper__n { display: none; }
.gl-stepper__item.is-done .gl-stepper__ok { display: block; }
.gl-stepper__item.is-active { background: var(--bg-soft); color: var(--heading); }
.gl-stepper__item.is-active .gl-stepper__dot { background: var(--grad-navy); border-color: transparent; color: #fff; box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
.gl-stepper__item.is-active .gl-stepper__n { display: block; }
.gl-stepper__item.is-active .gl-stepper__ok { display: none; }
.gl-bar { height: 4px; margin-block-start: -12px; border-radius: 4px; background: var(--line); overflow: hidden; }
.gl-bar span { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--grad-accent); transition: width .35s var(--ease); }
.gl-form.is-steps .gl-step { display: none; }
.gl-form.is-steps .gl-step.is-active { display: grid; animation: gl-rise .3s var(--ease); }
.gl-step legend:focus { outline: none; }
.gl-step__intro { margin: -6px 0 2px; color: var(--muted); font-size: .93rem; }
.gl-sub { display: flex; align-items: center; gap: 8px; margin: 6px 0 0; color: var(--heading); font-size: 1rem; }
.gl-sub .icon { width: 16px; height: 16px; color: var(--accent); }
.gl-socials { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.gl-social-field label { display: flex; align-items: center; gap: 8px; }
.gl-social-field label .icon { width: 16px; height: 16px; color: var(--muted); }
.gl-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.gl-nav [data-next] { margin-inline-start: auto; }
.gl-nav__save { display: inline-flex; align-items: center; gap: 6px; margin: 0; color: var(--muted); font-size: .84rem; }
.gl-nav__save .icon { width: 14px; height: 14px; color: var(--success); }
.gl-nav__save.is-new { animation: gl-rise .3s var(--ease); }
.gl-form.is-steps .gl-submit { width: 100%; justify-content: flex-end; }
.gl-form.is-steps [data-prev]:not([hidden]) ~ .gl-submit { width: auto; margin-inline-start: auto; }
.gl-draft { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0; padding: 10px 14px; border-radius: 12px; background: var(--navy-soft); color: var(--heading); font-size: .9rem; }
.gl-draft button { padding: 0; border: 0; background: none; color: var(--accent); font: inherit; font-weight: 700; cursor: pointer; text-decoration: underline; }

/* Team builder */
.gl-team__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 12px 14px; border-radius: 14px; background: var(--bg-soft); border: 1px solid var(--line); }
.gl-team__count { color: var(--heading); font-weight: 750; }
.gl-team__acts { display: flex; flex-wrap: wrap; gap: 8px; }
.gl-team__import { cursor: pointer; }
.gl-team__note { margin: 0; padding: 10px 14px; border-radius: 12px; background: var(--success-soft); color: var(--success); font-size: .9rem; font-weight: 600; }
.gl-team__note.is-bad { background: var(--danger-soft); color: var(--danger); }
.gl-team { display: grid; gap: 10px; }
.gl-team:empty { display: none; }
.gl-team__empty { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 14px; border: 1.5px dashed var(--line-strong); color: var(--text); font-size: .92rem; }
.gl-team__empty > span { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--navy-soft); color: var(--heading); }
.gl-team__empty .icon { width: 20px; height: 20px; }
.gl-team__empty p { margin: 0; }
.gl-team__empty[hidden] { display: none; }
.gl-person { border-radius: 14px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-sm); }
.gl-person:has([aria-invalid="true"]) { border-color: color-mix(in srgb, var(--danger) 55%, var(--line)); }
.gl-person__head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 10px 10px 10px 14px; cursor: pointer; }
.gl-person__av { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--grad-navy); color: #fff; font-size: .85rem; font-weight: 800; }
.gl-person__who { min-width: 0; }
.gl-person__who b, .gl-person__who small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gl-person__who b { color: var(--heading); }
.gl-person__who small { color: var(--muted); font-size: .84rem; }
.gl-person__btn { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 10px; background: none; color: var(--muted); cursor: pointer; }
.gl-person__btn:hover { background: var(--bg-soft); color: var(--heading); }
.gl-person__btn--del:hover { background: var(--danger-soft); color: var(--danger); }
.gl-person__btn .icon { width: 18px; height: 18px; transition: transform .2s; }
.gl-person.is-collapsed [data-person-toggle] .icon { transform: rotate(-90deg); }
.gl-person__body { display: grid; gap: 14px; padding: 4px 16px 16px; border-block-start: 1px dashed var(--line); padding-block-start: 14px; }
.gl-person.is-collapsed .gl-person__body { display: none; }
.gl-team__consent { padding: 12px 14px; border-radius: 12px; background: var(--bg-soft); }
.gl-team__consent[hidden] { display: none; }

/* Preview: team avatars */
.gl-card__team { display: flex; flex-wrap: wrap; align-items: center; padding-block-start: 12px; border-block-start: 1px dashed var(--line); }
.gl-card__team[hidden] { display: none; }
.gl-card__team span { display: grid; place-items: center; width: 30px; height: 30px; margin-inline-end: -6px; border-radius: 50%; border: 2px solid var(--surface); background: var(--grad-navy); color: #fff; font-size: .7rem; font-weight: 800; }
.gl-card__team b { margin-inline-start: 14px; color: var(--muted); font-size: .84rem; font-weight: 650; }

/* Review */
.gl-review { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.gl-review[hidden] { display: none; }
.gl-review__sec { padding: 14px 16px; border-radius: 14px; background: var(--bg-soft); border: 1px solid var(--line); min-width: 0; }
.gl-review__sec--team { grid-column: 1 / -1; }
.gl-review__sec header { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-block-end: 8px; }
.gl-review__sec h3 { margin: 0; color: var(--heading); font-size: .95rem; }
.gl-review__sec header a { color: var(--accent); font-size: .86rem; font-weight: 700; }
.gl-review__sec dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; margin: 0; font-size: .86rem; }
.gl-review__sec dt { color: var(--muted); }
.gl-review__sec dd { margin: 0; color: var(--heading); overflow-wrap: anywhere; }
.gl-review__sec ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 6px 14px; list-style: none; margin: 0; padding: 0; font-size: .86rem; }
.gl-review__sec li b { display: block; color: var(--heading); }
.gl-review__sec li span { color: var(--muted); }
.gl-review__none { margin: 0; color: var(--muted); font-size: .86rem; }

/* Listing page: team */
.gl-team-public { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 10px; list-style: none; margin: 0; padding: 0; }
.gl-team-public li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); }
.gl-team-public li > span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--grad-navy); color: #fff; font-size: .85rem; font-weight: 800; }
.gl-team-public b, .gl-team-public small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gl-team-public b { color: var(--heading); }
.gl-team-public small { color: var(--muted); font-size: .84rem; }

@media (max-width: 1080px) {
  .gl-form.is-steps ~ .gl-side { display: none; }
}
@media (max-width: 720px) {
  .gl-stepper { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 2px; padding: 4px; }
  .gl-stepper__label { display: none; }
  .gl-stepper__item.is-active .gl-stepper__label { display: none; }
  .gl-socials, .gl-review { grid-template-columns: minmax(0, 1fr); }
  .gl-nav .btn { flex: 1 1 auto; justify-content: center; }
  .gl-form.is-steps .gl-submit .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .gl-form.is-steps .gl-step.is-active, .gl-nav__save.is-new { animation: none; }
  .gl-bar span { transition: none; }
}
