/* =====================================================================
 * Legal Portal — extensions on top of geocomply.css
 * Scoped under .gc.gc-legal so we don't fight the design system.
 * ===================================================================*/

.gc-legal { background: var(--gc-bg); min-height: 100vh; }

/* ---------- VIEW SYSTEM ------------------------------------------------- */
.gc-legal .lp-view { display: none; }
.gc-legal .lp-view.is-active { display: block; animation: lp-view-in .25s ease; }
@keyframes lp-view-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- BACK BUTTON ------------------------------------------------- */
.gc-legal .lp-back {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--gc-font-body);
  font-size: 14px; font-weight: 500;
  color: var(--gc-blue-500);
  background: none; border: 0;
  cursor: pointer;
  padding: 0;
  margin-bottom: var(--gc-space-6);
  transition: color var(--gc-dur) var(--gc-ease);
}
.gc-legal .lp-back:hover { color: var(--gc-navy-800); }
.gc-legal .lp-back svg { width: 16px; height: 16px; transition: transform var(--gc-dur) var(--gc-ease); }
.gc-legal .lp-back:hover svg { transform: translateX(-3px); }

/* ---------- DASHBOARD --------------------------------------------------- */
.gc-legal .lp-dash {
  max-width: var(--gc-container);
  margin-inline: auto;
  padding: 0 var(--gc-gutter) clamp(32px, 5vw, 64px);
}

/* Hero banner */
.gc-legal .lp-dash__hero {
  background: var(--gc-navy-800);
  border-radius: var(--gc-radius-lg);
  position: relative;
  overflow: hidden;
  margin-top: clamp(20px, 3vw, 36px);
  margin-bottom: clamp(28px, 4vw, 48px);
}
.gc-legal .lp-dash__hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 55% at 78% 35%, rgba(0,70,252,.28) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 90% 90%, rgba(255,96,15,.10) 0%, transparent 70%);
  pointer-events: none;
}
.gc-legal .lp-dash__hero-inner {
  position: relative; z-index: 1;
  padding: clamp(28px, 4vw, 44px) clamp(24px, 3vw, 40px);
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.gc-legal .lp-dash__title {
  font-family: var(--gc-font-display);
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 500;
  letter-spacing: var(--gc-tracking-tight);
  color: var(--gc-white);
  margin-bottom: 6px;
}
.gc-legal .lp-dash__sub {
  font-size: 15px; line-height: 22px;
  color: var(--gc-blue-200);
  max-width: 44ch;
}

/* Stats */
.gc-legal .lp-dash__stats-title {
  font-size: 11.5px; font-weight: 700;
  letter-spacing: var(--gc-tracking-eyebrow);
  text-transform: uppercase;
  color: var(--gc-orange-500);
  margin-bottom: 12px;
}
.gc-legal .lp-dash__stats-row {
  display: flex; gap: clamp(24px, 4vw, 48px);
}
.gc-legal .lp-dash__stat { text-align: center; }
.gc-legal .lp-dash__stat-num {
  font-family: var(--gc-font-display);
  font-weight: 300;
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1;
  letter-spacing: var(--gc-tracking-tight);
  color: var(--gc-white);
  display: block;
  margin-bottom: 4px;
}
.gc-legal .lp-dash__stat-lbl {
  font-size: 12px;
  color: var(--gc-blue-200);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
@media (max-width: 600px) {
  .gc-legal .lp-dash__hero-inner { flex-direction: column; align-items: flex-start; }
  .gc-legal .lp-dash__stats { gap: 24px; }
}

/* ---------- FEEDBACK ---------------------------------------------------- */
.gc-legal .lp-feedback {
  background: var(--gc-white);
  border: 1px solid var(--gc-border);
  border-radius: var(--gc-radius-lg);
  padding: 22px 24px;
  margin-top: clamp(16px, 2vw, 24px);
  display: flex; align-items: flex-start; gap: 16px;
  flex-wrap: wrap;
}
.gc-legal .lp-feedback__icon {
  width: 42px; height: 42px;
  border-radius: 11px;
  background: rgba(0,70,252,.06);
  color: var(--gc-blue-500);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.gc-legal .lp-feedback__icon svg { width: 20px; height: 20px; }
.gc-legal .lp-feedback__body { flex: 1; min-width: 160px; }
.gc-legal .lp-feedback__title {
  font-family: var(--gc-font-display);
  font-size: 15px; font-weight: 500;
  color: var(--gc-text);
  margin-bottom: 2px;
}
.gc-legal .lp-feedback__desc {
  font-size: 13px; color: var(--gc-text-muted);
}
.gc-legal .lp-feedback__form {
  width: 100%;
}
.gc-legal .lp-feedback__form textarea {
  width: 100%;
  font-family: var(--gc-font-body);
  font-size: 13.5px;
  padding: 10px 14px;
  border: 1px solid var(--gc-border);
  border-radius: 8px;
  color: var(--gc-text);
  background: var(--gc-bg);
  outline: none;
  resize: vertical;
  transition: border-color var(--gc-dur) var(--gc-ease);
}
.gc-legal .lp-feedback__form textarea:focus { border-color: var(--gc-blue-500); }
.gc-legal .lp-feedback__form textarea::placeholder { color: var(--gc-titanium-500); }
.gc-legal .lp-feedback__actions {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 10px; gap: 12px;
}
.gc-legal .lp-feedback__note {
  font-size: 11.5px; color: var(--gc-text-muted);
}
.gc-legal .lp-feedback__btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px;
  border-radius: var(--gc-radius-pill);
  background: var(--gc-navy-800);
  color: var(--gc-white);
  font-family: var(--gc-font-body);
  font-size: 13px; font-weight: 500;
  border: 0; cursor: pointer;
  transition: background var(--gc-dur) var(--gc-ease);
  white-space: nowrap;
}
.gc-legal .lp-feedback__btn:hover { background: var(--gc-blue-500); }
.gc-legal .lp-feedback__btn:disabled { opacity: .5; cursor: not-allowed; }
.gc-legal .lp-feedback__btn svg { width: 14px; height: 14px; }
.gc-legal .lp-feedback__status {
  margin-top: 8px;
  font-size: 12.5px;
  display: none;
}
.gc-legal .lp-feedback__status.is-success { display: block; color: #06865f; }
.gc-legal .lp-feedback__status.is-error { display: block; color: #842029; }

/* ---------- WIDGET GRID ------------------------------------------------- */
.gc-legal .lp-widgets {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (max-width: 700px) { .gc-legal .lp-widgets { grid-template-columns: 1fr; } }
@media (min-width: 1100px) { .gc-legal .lp-widgets { grid-template-columns: repeat(2, 1fr); } }

.gc-legal .lp-widget {
  display: flex; align-items: center; gap: 16px;
  background: var(--gc-white);
  border: 1px solid var(--gc-border);
  border-radius: var(--gc-radius-lg);
  padding: 22px 24px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  width: 100%;
  transition: all var(--gc-dur) var(--gc-ease);
}
.gc-legal .lp-widget:hover {
  border-color: var(--gc-blue-300);
  box-shadow: var(--gc-shadow-md);
  transform: translateY(-2px);
}
.gc-legal .lp-widget__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.gc-legal .lp-widget__icon svg { width: 24px; height: 24px; }
.gc-legal .lp-widget__body { flex: 1; min-width: 0; }
.gc-legal .lp-widget__title {
  font-family: var(--gc-font-display);
  font-size: 16px; font-weight: 500;
  color: var(--gc-text);
  display: block;
  margin-bottom: 3px;
}
.gc-legal .lp-widget__desc {
  font-size: 13px; line-height: 18px;
  color: var(--gc-text-muted);
  display: block;
}
/* Coming soon widget */
.gc-legal .lp-widget--soon { opacity: .55; cursor: default; }
.gc-legal .lp-widget--soon:hover { border-color: var(--gc-border); box-shadow: none; transform: none; }
.gc-legal .lp-widget__badge {
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gc-titanium-700);
  background: var(--gc-cloud-300);
  border-radius: var(--gc-radius-pill);
  padding: 4px 10px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Coming soon page */
.gc-legal .lp-coming-soon {
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  padding: clamp(60px, 10vw, 120px) 24px;
}
.gc-legal .lp-coming-soon__icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: var(--gc-cloud-300);
  color: var(--gc-titanium-500);
  display: grid; place-items: center;
  margin-bottom: 20px;
}
.gc-legal .lp-coming-soon__icon svg { width: 30px; height: 30px; }
.gc-legal .lp-coming-soon__title {
  font-family: var(--gc-font-display);
  font-size: 24px; font-weight: 500;
  color: var(--gc-text);
  margin-bottom: 8px;
}
.gc-legal .lp-coming-soon__desc {
  font-size: 15px; color: var(--gc-text-muted);
  max-width: 40ch;
  margin-bottom: 16px;
}
.gc-legal .lp-coming-soon__badge {
  font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gc-titanium-700);
  background: var(--gc-cloud-300);
  border-radius: var(--gc-radius-pill);
  padding: 6px 14px;
}

.gc-legal .lp-widget__arr {
  width: 16px; height: 16px;
  color: var(--gc-titanium-300);
  flex-shrink: 0;
  transition: transform var(--gc-dur) var(--gc-ease), color var(--gc-dur) var(--gc-ease);
}
.gc-legal .lp-widget:hover .lp-widget__arr { transform: translateX(3px); color: var(--gc-orange-500); }

/* ---------- NAV (slimmer than marketing) ------------------------------ */
.gc-legal .lp-nav {
  height: 64px;
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gc-border);
}
.gc-legal .lp-nav__inner {
  height: 100%;
  display: flex; align-items: center; gap: var(--gc-space-5);
  max-width: var(--gc-container);
  margin-inline: auto;
  padding-inline: var(--gc-gutter);
}
.gc-legal .lp-brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.gc-legal .lp-brand__logo {
  height: 22px; width: auto;
}
.gc-legal .lp-brand__sep {
  width: 1px; height: 22px; background: var(--gc-titanium-100);
}
.gc-legal .lp-brand__name {
  font-family: var(--gc-font-display);
  font-size: 16px; line-height: 1; font-weight: 500;
  color: var(--gc-text);
  white-space: nowrap;
}
@media (max-width: 1040px) {
  .gc-legal .lp-brand__sep,
  .gc-legal .lp-brand__name { display: none; }
}
.gc-legal .lp-nav__search {
  flex: 0 0 auto;
  display: flex; align-items: center; gap: 6px;
  background: var(--gc-cloud-300);
  border: 1px solid var(--gc-border);
  border-radius: var(--gc-radius-pill);
  padding: 7px 12px;
  cursor: pointer;
  transition: border-color var(--gc-dur) var(--gc-ease), background var(--gc-dur) var(--gc-ease);
}
.gc-legal .lp-nav__search:hover { border-color: var(--gc-navy-800); background: var(--gc-white); }
.gc-legal .lp-nav__search svg { width: 16px; height: 16px; color: var(--gc-titanium-700); flex-shrink: 0; }
.gc-legal .lp-kbd {
  font-family: var(--gc-font-mono);
  font-size: 11px; color: var(--gc-titanium-700);
  background: var(--gc-white);
  border: 1px solid var(--gc-titanium-100);
  border-radius: 5px; padding: 1px 6px;
  line-height: 1.4;
}
.gc-legal .lp-nav__links {
  display: flex; gap: 2px; margin-left: auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.gc-legal .lp-nav__links::-webkit-scrollbar { display: none; }
.gc-legal .lp-nav__links a {
  font-size: 13px; font-weight: 500;
  color: var(--gc-titanium-700);
  padding: 6px 10px;
  border-radius: var(--gc-radius-pill);
  white-space: nowrap;
  transition: all var(--gc-dur) var(--gc-ease);
  text-decoration: none;
}
.gc-legal .lp-nav__links a:hover { color: var(--gc-text); background: var(--gc-cloud-300); }
.gc-legal .lp-nav__links a.is-active {
  color: var(--gc-blue-500);
  background: rgba(0,70,252,.06);
}
@media (max-width: 900px) {
  .gc-legal .lp-nav__links { display: none; }
}
/* ---------- ASSESSMENT CARDS ----------------------------------------- */
.gc-legal .lp-assess {
  display: flex; flex-direction: column; gap: 16px;
}
.gc-legal .lp-assess__card {
  background: var(--gc-white);
  border: 1px solid var(--gc-border);
  border-radius: var(--gc-radius-lg);
  padding: 28px 32px;
  display: flex; align-items: flex-start; gap: 20px;
  transition: all var(--gc-dur) var(--gc-ease);
}
.gc-legal .lp-assess__card:hover {
  border-color: var(--gc-blue-300);
  box-shadow: var(--gc-shadow-sm);
}
.gc-legal .lp-assess__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.gc-legal .lp-assess__icon svg { width: 26px; height: 26px; }
.gc-legal .lp-assess__body { flex: 1; min-width: 0; }
.gc-legal .lp-assess__title {
  font-family: var(--gc-font-display);
  font-size: 18px; font-weight: 500;
  color: var(--gc-text);
  margin-bottom: 8px;
}
.gc-legal .lp-assess__desc {
  font-size: 14px; line-height: 22px;
  color: var(--gc-text-muted);
  margin-bottom: 14px;
  max-width: 64ch;
}
.gc-legal .lp-assess__meta {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.gc-legal .lp-assess__tag {
  font-size: 11.5px;
  font-family: var(--gc-font-body);
  background: var(--gc-cloud-300);
  color: var(--gc-titanium-800);
  border-radius: var(--gc-radius-pill);
  padding: 4px 10px;
}
.gc-legal a.lp-assess__btn { text-decoration: none; }
.gc-legal .lp-assess__btn svg { width: 14px; height: 14px; color: var(--gc-orange-500); transition: transform var(--gc-dur) var(--gc-ease); }
.gc-legal .lp-assess__btn:hover svg { transform: translateX(3px); }
.gc-legal .lp-assess__btn {
  flex-shrink: 0;
  align-self: center;
  display: inline-flex; align-items: center; gap: 8px;
  height: 42px; padding: 0 20px;
  border-radius: var(--gc-radius-pill);
  background: var(--gc-navy-800);
  color: var(--gc-cloud-300);
  font-family: var(--gc-font-body);
  font-weight: 500; font-size: 14px;
  cursor: pointer; border: 0;
  transition: background var(--gc-dur) var(--gc-ease);
  white-space: nowrap;
}
.gc-legal .lp-assess__btn:hover { background: var(--gc-blue-500); }
.gc-legal .lp-assess__btn:disabled {
  background: var(--gc-cloud-300);
  color: var(--gc-titanium-700);
  cursor: default;
}
@media (max-width: 700px) {
  .gc-legal .lp-assess__card { flex-direction: column; }
  .gc-legal .lp-assess__btn { align-self: flex-start; }
}

/* ---------- TOOL IFRAME OVERLAY -------------------------------------- */
.gc-legal .lp-tool-overlay {
  position: fixed; inset: 0;
  z-index: 100;
  background: var(--gc-bg);
  display: flex; flex-direction: column;
  animation: lp-view-in .2s ease;
}
.gc-legal .lp-tool-overlay__hdr {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 20px;
  border-bottom: 1px solid var(--gc-border);
  background: var(--gc-white);
  flex-shrink: 0;
}
.gc-legal .lp-tool-overlay__title {
  font-family: var(--gc-font-display);
  font-size: 15px; font-weight: 500;
  color: var(--gc-text);
}
.gc-legal .lp-tool-overlay__close {
  width: 36px; height: 36px;
  border-radius: 8px;
  display: grid; place-items: center;
  background: none; border: 0;
  font-size: 22px; color: var(--gc-titanium-500);
  cursor: pointer;
  transition: all var(--gc-dur) var(--gc-ease);
}
.gc-legal .lp-tool-overlay__close:hover { background: var(--gc-cloud-300); color: var(--gc-text); }
.gc-legal .lp-tool-overlay__frame {
  flex: 1;
  width: 100%; border: 0;
  background: var(--gc-white);
}

/* ---------- SECTION HEADER ------------------------------------------- */
.gc-legal .lp-shead {
  display: flex; align-items: end; justify-content: space-between;
  gap: var(--gc-space-5);
  margin-bottom: var(--gc-space-7);
  flex-wrap: wrap;
}
.gc-legal .lp-shead__title {
  font-family: var(--gc-font-display);
  font-size: 26px; line-height: 32px; font-weight: 500;
  letter-spacing: var(--gc-tracking-tight);
  color: var(--gc-text);
}
.gc-legal .lp-shead__sub {
  font-size: 14px; color: var(--gc-text-muted);
  margin-top: 4px;
}
.gc-legal .lp-shead__link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 500;
  color: var(--gc-blue-500);
}
.gc-legal .lp-shead__link svg { width: 14px; height: 14px; color: var(--gc-orange-500); transition: transform var(--gc-dur) var(--gc-ease); }
.gc-legal .lp-shead__link:hover svg { transform: translateX(3px); }

/* ---------- SUB-LABEL (above sub-grids) ------------------------------ */
.gc-legal .lp-sublabel {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--gc-font-body);
  font-size: 13.25px; font-weight: 700;
  letter-spacing: var(--gc-tracking-eyebrow);
  text-transform: uppercase;
  color: var(--gc-titanium-800);
  margin-bottom: var(--gc-space-4);
}
.gc-legal .lp-sublabel svg { width: 14px; height: 14px; color: var(--gc-blue-500); }
.gc-legal .lp-sublabel::after {
  content: ""; flex: 1; height: 1px; background: var(--gc-titanium-100);
}

/* ---------- LAUNCH CARDS --------------------------------------------- */
.gc-legal .lp-launch {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.gc-legal .lp-launch--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .gc-legal .lp-launch, .gc-legal .lp-launch--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .gc-legal .lp-launch, .gc-legal .lp-launch--4 { grid-template-columns: 1fr; } }

.gc-legal .lp-lcard {
  position: relative;
  background: var(--gc-white);
  border: 1px solid var(--gc-border);
  border-radius: var(--gc-radius-md);
  padding: 18px 16px 16px;
  display: flex; flex-direction: column; gap: 10px;
  text-decoration: none;
  transition: all var(--gc-dur) var(--gc-ease);
}
.gc-legal .lp-lcard:hover {
  border-color: var(--gc-blue-300);
  box-shadow: var(--gc-shadow-sm);
  transform: translateY(-2px);
}
.gc-legal .lp-lcard__icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: var(--gc-cloud-300);
  color: var(--gc-blue-500);
}
.gc-legal .lp-lcard__icon svg { width: 22px; height: 22px; }
.gc-legal .lp-lcard__icon--navy { background: rgba(10,0,60,.05); color: var(--gc-navy-800); }
.gc-legal .lp-lcard__icon--orange { background: var(--gc-orange-100); color: var(--gc-orange-500); }
.gc-legal .lp-lcard__title {
  font-family: var(--gc-font-display);
  font-size: 15.5px; line-height: 20px; font-weight: 500;
  color: var(--gc-text);
  letter-spacing: var(--gc-tracking-default);
}
.gc-legal .lp-lcard__meta {
  font-size: 12.5px; line-height: 1.4;
  color: var(--gc-text-muted);
  margin-top: auto;
}
.gc-legal .lp-lcard__badge {
  position: absolute; top: 12px; right: 12px;
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gc-orange-500);
}
.gc-legal .lp-lcard__badge svg { width: 12px; height: 12px; }

/* compact density */
.gc-legal.density--compact .lp-lcard { padding: 12px 14px; gap: 8px; }
.gc-legal.density--compact .lp-lcard__icon { width: 36px; height: 36px; }
.gc-legal.density--compact .lp-lcard__icon svg { width: 18px; height: 18px; }
.gc-legal.density--compact .lp-launch, .gc-legal.density--compact .lp-launch--4 { gap: 10px; }

/* ---------- CONNECTOR CARDS ------------------------------------------ */
.gc-legal .lp-conn {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
@media (max-width: 900px) { .gc-legal .lp-conn { grid-template-columns: 1fr; } }

.gc-legal .lp-tool {
  background: var(--gc-white);
  border: 1px solid var(--gc-border);
  border-radius: var(--gc-radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.gc-legal .lp-tool__hdr {
  padding: 18px 24px;
  border-bottom: 1px solid var(--gc-border);
  display: flex; align-items: center; gap: 14px;
}
.gc-legal .lp-tool__logo {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: var(--gc-cloud-300);
  color: var(--gc-blue-500);
  flex-shrink: 0;
}
.gc-legal .lp-tool__logo svg { width: 22px; height: 22px; }
.gc-legal .lp-tool__name {
  font-family: var(--gc-font-display);
  font-size: 17px; font-weight: 500;
  color: var(--gc-text);
  display: block;
}
.gc-legal .lp-tool__role {
  font-size: 13px; color: var(--gc-text-muted);
  display: block; margin-top: 2px;
}
.gc-legal .lp-tool__status {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gc-titanium-800);
}
.gc-legal .lp-tool__status::before {
  content: ""; width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gc-green-500);
  box-shadow: 0 0 0 3px rgba(0,205,145,.18);
}
.gc-legal .lp-tool__body {
  padding: 12px;
  display: flex; flex-direction: column; gap: 2px;
  flex: 1;
}
.gc-legal .lp-action {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 14px;
  border-radius: var(--gc-radius-md);
  text-decoration: none;
  transition: background var(--gc-dur) var(--gc-ease);
}
.gc-legal .lp-action:hover { background: var(--gc-cloud-300); }
.gc-legal .lp-action__icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--gc-cloud-300);
  color: var(--gc-blue-500);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.gc-legal .lp-action:hover .lp-action__icon { background: var(--gc-white); }
.gc-legal .lp-action__icon svg { width: 17px; height: 17px; }
.gc-legal .lp-action__title {
  font-size: 14.5px; font-weight: 500;
  color: var(--gc-text);
  display: block;
}
.gc-legal .lp-action__desc {
  font-size: 12.5px; color: var(--gc-text-muted);
  display: block; margin-top: 2px;
}
.gc-legal .lp-action__chev {
  width: 16px; height: 16px;
  color: var(--gc-titanium-300);
  margin-left: auto;
  transition: transform var(--gc-dur) var(--gc-ease), color var(--gc-dur) var(--gc-ease);
  flex-shrink: 0;
}
.gc-legal .lp-action:hover .lp-action__chev { transform: translateX(3px); color: var(--gc-orange-500); }
.gc-legal .lp-tool__foot {
  padding: 14px 24px;
  border-top: 1px solid var(--gc-border);
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  background: var(--gc-cloud-100);
}
.gc-legal .lp-tool__note {
  font-size: 12px; color: var(--gc-text-muted);
}
.gc-legal .lp-tool__link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 500;
  color: var(--gc-blue-500);
}
.gc-legal .lp-tool__link svg { width: 13px; height: 13px; color: var(--gc-orange-500); }

/* ---------- ASK LEGAL (clean chat view) ------------------------------- */
.gc-legal .lp-chat-view {
  display: flex; flex-direction: column;
  height: calc(100vh - 64px);
  max-width: 820px;
  margin-inline: auto;
  padding: 0 var(--gc-gutter);
}
.gc-legal .lp-chat-view__hdr {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 0 16px;
  border-bottom: 1px solid var(--gc-border);
  flex-shrink: 0;
}
.gc-legal .lp-chat-view__hdr .lp-back { margin-bottom: 0; }
.gc-legal .lp-chat-view__title {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--gc-font-display);
  font-size: 18px; font-weight: 500;
  color: var(--gc-text);
}
.gc-legal .lp-chat-view__title svg { width: 18px; height: 18px; color: var(--gc-orange-500); }
.gc-legal .lp-chat-view__status {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--gc-text-muted);
}
.gc-legal .lp-chat-view__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gc-green-500);
  box-shadow: 0 0 0 3px rgba(0,205,145,.18);
}
.gc-legal .lp-chat-view__msgs {
  flex: 1;
  overflow-y: auto;
  display: flex; flex-direction: column; gap: 16px;
  padding: 24px 0;
}
.gc-legal .lp-chat-view__msgs::-webkit-scrollbar { width: 4px; }
.gc-legal .lp-chat-view__msgs::-webkit-scrollbar-thumb { background: var(--gc-titanium-100); border-radius: 2px; }
.gc-legal .lp-chat-view__foot {
  flex-shrink: 0;
  padding: 12px 0 20px;
  border-top: 1px solid var(--gc-border);
}

/* Chat messages — light theme */
.gc-legal .lp-chat-view .lp-msg { display: flex; gap: 12px; align-items: flex-start; }
.gc-legal .lp-chat-view .lp-msg--u { flex-direction: row-reverse; }
.gc-legal .lp-chat-view .lp-msg__av {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.gc-legal .lp-chat-view .lp-msg--b .lp-msg__av { background: var(--gc-navy-800); color: var(--gc-white); }
.gc-legal .lp-chat-view .lp-msg--u .lp-msg__av { background: var(--gc-blue-500); color: var(--gc-white); }
.gc-legal .lp-chat-view .lp-msg__bub {
  max-width: 72%;
  padding: 14px 18px;
  font-size: 14px; line-height: 22px;
  color: var(--gc-text);
  word-break: break-word;
}
.gc-legal .lp-chat-view .lp-msg--b .lp-msg__bub {
  background: var(--gc-cloud-300);
  color: var(--gc-text);
  border-radius: 4px 16px 16px 16px;
}
.gc-legal .lp-chat-view .lp-msg--u .lp-msg__bub {
  background: var(--gc-blue-500);
  color: var(--gc-white);
  border-radius: 16px 4px 16px 16px;
}
.gc-legal .lp-chat-view .lp-msg__bub p { margin: 0 0 10px; }
.gc-legal .lp-chat-view .lp-msg__bub p:last-child { margin-bottom: 0; }
.gc-legal .lp-chat-view .lp-msg__bub a {
  color: var(--gc-blue-500);
  text-decoration: underline;
  text-decoration-color: rgba(0,70,252,.3);
  text-underline-offset: 2px;
  word-break: break-all;
}
.gc-legal .lp-chat-view .lp-msg--u .lp-msg__bub a { color: var(--gc-orange-300); text-decoration-color: rgba(255,96,15,.4); }
.gc-legal .lp-chat-view .lp-msg__bub strong { font-weight: 600; }
.gc-legal .lp-chat-view .lp-msg__bub h4 {
  font-family: var(--gc-font-display);
  font-size: 14.5px; font-weight: 600;
  color: var(--gc-text);
  margin: 14px 0 6px;
}
.gc-legal .lp-chat-view .lp-msg__bub h4:first-child { margin-top: 0; }
.gc-legal .lp-chat-view .lp-msg__bub h5 {
  font-size: 13.5px; font-weight: 600;
  color: var(--gc-text);
  margin: 10px 0 4px;
}
.gc-legal .lp-chat-view .lp-msg__bub ul,
.gc-legal .lp-chat-view .lp-msg__bub ol { margin: 6px 0; padding-left: 20px; }
.gc-legal .lp-chat-view .lp-msg__bub li { margin-bottom: 4px; }

/* Typing indicator */
.gc-legal .lp-chat-view .lp-typing {
  display: inline-flex; gap: 4px; align-items: center; padding: 4px 0;
}
.gc-legal .lp-chat-view .lp-typing span {
  width: 7px; height: 7px; border-radius: 50%; background: var(--gc-titanium-300);
  animation: lp-bounce 1.2s infinite ease-in-out;
}
.gc-legal .lp-chat-view .lp-typing span:nth-child(2) { animation-delay: .15s; }
.gc-legal .lp-chat-view .lp-typing span:nth-child(3) { animation-delay: .3s; }

/* Suggestions — light theme */
.gc-legal .lp-chat-view .lp-suggest {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: 12px;
}
.gc-legal .lp-chat-view .lp-suggest button {
  font-family: var(--gc-font-body);
  font-size: 12.5px;
  color: var(--gc-titanium-800);
  background: var(--gc-cloud-300);
  border: 1px solid var(--gc-border);
  border-radius: var(--gc-radius-pill);
  padding: 7px 14px;
  cursor: pointer;
  transition: all var(--gc-dur) var(--gc-ease);
}
.gc-legal .lp-chat-view .lp-suggest button:hover {
  background: var(--gc-white);
  border-color: var(--gc-blue-500);
  color: var(--gc-blue-500);
}

/* Input — light theme */
.gc-legal .lp-chat-view .lp-chat-in {
  display: flex; gap: 10px;
}
.gc-legal .lp-chat-view .lp-chat-in input {
  flex: 1;
  background: var(--gc-white);
  border: 1px solid var(--gc-border);
  border-radius: var(--gc-radius-pill);
  padding: 13px 20px;
  font-family: var(--gc-font-body);
  font-size: 14.5px;
  color: var(--gc-text);
  outline: none;
  transition: all var(--gc-dur) var(--gc-ease);
}
.gc-legal .lp-chat-view .lp-chat-in input::placeholder { color: var(--gc-titanium-500); }
.gc-legal .lp-chat-view .lp-chat-in input:focus {
  border-color: var(--gc-blue-500);
  box-shadow: 0 0 0 3px rgba(0,70,252,.10);
}
.gc-legal .lp-chat-view .lp-chat-in button {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--gc-navy-800);
  color: var(--gc-white);
  display: grid; place-items: center;
  cursor: pointer;
  border: 0;
  flex-shrink: 0;
  transition: all var(--gc-dur) var(--gc-ease);
}
.gc-legal .lp-chat-view .lp-chat-in button:hover { background: var(--gc-blue-500); }
.gc-legal .lp-chat-view .lp-chat-in button:disabled { opacity: .5; cursor: not-allowed; }
.gc-legal .lp-chat-view .lp-chat-in button svg { width: 18px; height: 18px; }

/* Email Legal fallback */
.gc-legal .lp-chat-view__email {
  display: flex; align-items: center; gap: 6px;
  justify-content: center;
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--gc-text-muted);
}
.gc-legal .lp-chat-view__email svg { width: 14px; height: 14px; color: var(--gc-titanium-500); }
.gc-legal .lp-chat-view__email a {
  color: var(--gc-blue-500);
  text-decoration: none;
  font-weight: 500;
}
.gc-legal .lp-chat-view__email a:hover { text-decoration: underline; }

/* Email form */
.gc-legal .lp-email-form {
  margin-top: 12px;
  background: var(--gc-white);
  border: 1px solid var(--gc-border);
  border-radius: var(--gc-radius-md);
  padding: 16px;
  animation: lp-view-in .2s ease;
}
.gc-legal .lp-email-form__hdr {
  display: flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 500;
  color: var(--gc-text);
  margin-bottom: 12px;
}
.gc-legal .lp-email-form__hdr svg { width: 16px; height: 16px; color: var(--gc-blue-500); }
.gc-legal .lp-email-form__close {
  margin-left: auto;
  background: none; border: 0; cursor: pointer;
  font-size: 18px; color: var(--gc-titanium-500);
  line-height: 1; padding: 0 4px;
}
.gc-legal .lp-email-form__close:hover { color: var(--gc-text); }
.gc-legal .lp-email-form__row {
  display: flex; gap: 10px;
  margin-bottom: 10px;
}
.gc-legal .lp-email-form__row input { flex: 1; }
.gc-legal .lp-email-form input,
.gc-legal .lp-email-form textarea {
  width: 100%;
  font-family: var(--gc-font-body);
  font-size: 13.5px;
  padding: 10px 14px;
  border: 1px solid var(--gc-border);
  border-radius: 8px;
  color: var(--gc-text);
  background: var(--gc-bg);
  outline: none;
  transition: border-color var(--gc-dur) var(--gc-ease);
}
.gc-legal .lp-email-form input:focus,
.gc-legal .lp-email-form textarea:focus {
  border-color: var(--gc-blue-500);
}
.gc-legal .lp-email-form input::placeholder,
.gc-legal .lp-email-form textarea::placeholder { color: var(--gc-titanium-500); }
.gc-legal .lp-email-form textarea { resize: vertical; margin-bottom: 10px; }
.gc-legal .lp-email-form__attach {
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.gc-legal .lp-email-form__attach-btn {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12.5px; font-weight: 500;
  color: var(--gc-blue-500);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}
.gc-legal .lp-email-form__attach-btn:hover { text-decoration: underline; }
.gc-legal .lp-email-form__attach-btn svg { width: 14px; height: 14px; }
.gc-legal .lp-email-form__files {
  display: flex; flex-wrap: wrap; gap: 6px;
  flex: 1; min-width: 0;
}
.gc-legal .lp-email-file {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11.5px;
  background: var(--gc-cloud-300);
  border-radius: var(--gc-radius-pill);
  padding: 4px 10px;
  color: var(--gc-titanium-800);
  max-width: 200px;
}
.gc-legal .lp-email-file span {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.gc-legal .lp-email-file button {
  background: none; border: 0; cursor: pointer;
  font-size: 14px; line-height: 1;
  color: var(--gc-titanium-500);
  padding: 0;
}
.gc-legal .lp-email-file button:hover { color: var(--gc-text); }
.gc-legal .lp-email-form__foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
}
.gc-legal .lp-email-form__note {
  font-size: 11.5px; color: var(--gc-text-muted);
}
.gc-legal .lp-email-form__btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 18px;
  border-radius: var(--gc-radius-pill);
  background: var(--gc-navy-800);
  color: var(--gc-white);
  font-family: var(--gc-font-body);
  font-size: 13px; font-weight: 500;
  border: 0; cursor: pointer;
  transition: background var(--gc-dur) var(--gc-ease);
  white-space: nowrap;
}
.gc-legal .lp-email-form__btn:hover { background: var(--gc-blue-500); }
.gc-legal .lp-email-form__btn:disabled { opacity: .5; cursor: not-allowed; }
.gc-legal .lp-email-form__btn svg { width: 14px; height: 14px; }
.gc-legal .lp-email-form__status {
  margin-top: 10px;
  font-size: 13px;
  text-align: center;
  display: none;
}
.gc-legal .lp-email-form__status.is-success {
  display: block; color: #06865f;
}
.gc-legal .lp-email-form__status.is-error {
  display: block; color: #842029;
}
@media (max-width: 500px) {
  .gc-legal .lp-email-form__row { flex-direction: column; }
}

/* ---------- ASK LEGAL (legacy, kept for reference) ------------------- */
.gc-legal .lp-ask {
  background: var(--gc-navy-800);
  color: var(--gc-text-on-dark);
  border-radius: var(--gc-radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  position: relative;
}
.gc-legal .lp-ask::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(255,96,15,.18) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 0% 100%, rgba(0,70,252,.20) 0%, transparent 70%);
  pointer-events: none;
}
.gc-legal .lp-ask > * { position: relative; z-index: 1; }
@media (max-width: 900px) { .gc-legal .lp-ask { grid-template-columns: 1fr; } }

.gc-legal .lp-ask__info { padding: 40px; border-right: 1px solid rgba(255,255,255,.08); }
@media (max-width: 900px) { .gc-legal .lp-ask__info { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); } }
.gc-legal .lp-ask__eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700;
  letter-spacing: var(--gc-tracking-eyebrow);
  text-transform: uppercase;
  color: var(--gc-orange-500);
  margin-bottom: var(--gc-space-4);
}
.gc-legal .lp-ask__eyebrow svg { width: 14px; height: 14px; }
.gc-legal .lp-ask__title {
  font-family: var(--gc-font-display);
  font-size: 36px; line-height: 42px; font-weight: 400;
  letter-spacing: var(--gc-tracking-tight);
  color: var(--gc-white);
  margin-bottom: var(--gc-space-4);
  text-wrap: balance;
}
.gc-legal .lp-ask__lede {
  font-family: var(--gc-font-body);
  font-size: 16px; line-height: 26px;
  color: var(--gc-blue-200);
  margin-bottom: var(--gc-space-6);
  max-width: 38ch;
}
.gc-legal .lp-ask__channel {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--gc-radius-md);
  text-decoration: none;
  margin-bottom: 10px;
  transition: all var(--gc-dur) var(--gc-ease);
}
.gc-legal .lp-ask__channel:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.20); transform: translateX(2px); }
.gc-legal .lp-ask__channel-icon {
  width: 34px; height: 34px;
  border-radius: 9px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.08);
  color: var(--gc-blue-200);
  flex-shrink: 0;
}
.gc-legal .lp-ask__channel-icon svg { width: 18px; height: 18px; }
.gc-legal .lp-ask__channel-title { font-size: 14.5px; font-weight: 500; color: var(--gc-white); display: block; }
.gc-legal .lp-ask__channel-desc { font-size: 12.5px; color: var(--gc-blue-200); display: block; margin-top: 2px; }
.gc-legal .lp-ask__channel-arr { width: 16px; height: 16px; color: rgba(255,255,255,.40); margin-left: auto; transition: transform var(--gc-dur) var(--gc-ease); }
.gc-legal .lp-ask__channel:hover .lp-ask__channel-arr { transform: translateX(3px); color: var(--gc-orange-500); }

.gc-legal .lp-ask__chat {
  padding: 24px 28px 28px;
  display: flex; flex-direction: column;
  min-height: 420px;
}
.gc-legal .lp-ask__chat-hdr {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; font-weight: 700;
  letter-spacing: var(--gc-tracking-eyebrow);
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 14px;
}
.gc-legal .lp-ask__chat-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px;
  color: rgba(255,255,255,.55);
  background: rgba(255,255,255,.06);
  border-radius: var(--gc-radius-pill);
  padding: 4px 10px;
}
.gc-legal .lp-ask__chat-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gc-green-500); }

.gc-legal .lp-msgs {
  flex: 1; overflow-y: auto;
  display: flex; flex-direction: column; gap: 14px;
  padding-right: 4px;
  max-height: 340px;
}
.gc-legal .lp-msgs::-webkit-scrollbar { width: 4px; }
.gc-legal .lp-msgs::-webkit-scrollbar-thumb { background: rgba(255,255,255,.15); border-radius: 2px; }
.gc-legal .lp-msg { display: flex; gap: 10px; align-items: flex-start; }
.gc-legal .lp-msg--u { flex-direction: row-reverse; }
.gc-legal .lp-msg__av {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.gc-legal .lp-msg--b .lp-msg__av { background: var(--gc-orange-500); color: var(--gc-white); }
.gc-legal .lp-msg--u .lp-msg__av { background: rgba(255,255,255,.12); color: var(--gc-white); }
.gc-legal .lp-msg__bub {
  max-width: 82%;
  padding: 10px 14px;
  font-size: 13.5px; line-height: 20px;
}
.gc-legal .lp-msg--b .lp-msg__bub {
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.92);
  border-radius: 3px 12px 12px 12px;
  border: 1px solid rgba(255,255,255,.06);
}
.gc-legal .lp-msg--u .lp-msg__bub {
  background: var(--gc-orange-500);
  color: var(--gc-white);
  border-radius: 12px 3px 12px 12px;
}
.gc-legal .lp-msg__bub .lp-typing {
  display: inline-flex; gap: 3px; align-items: center; padding: 2px 0;
}
.gc-legal .lp-msg__bub .lp-typing span {
  width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.5);
  animation: lp-bounce 1.2s infinite ease-in-out;
}
.gc-legal .lp-msg__bub .lp-typing span:nth-child(2) { animation-delay: .15s; }
.gc-legal .lp-msg__bub .lp-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes lp-bounce {
  0%,80%,100% { transform: scale(.7); opacity: .5; }
  40% { transform: scale(1); opacity: 1; }
}

.gc-legal .lp-suggest {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin: 12px 0;
}
.gc-legal .lp-suggest button {
  font-family: var(--gc-font-body);
  font-size: 12.5px;
  color: rgba(255,255,255,.78);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--gc-radius-pill);
  padding: 6px 12px;
  cursor: pointer;
  transition: all var(--gc-dur) var(--gc-ease);
}
.gc-legal .lp-suggest button:hover {
  background: rgba(255,96,15,.15);
  border-color: rgba(255,96,15,.35);
  color: var(--gc-white);
}

.gc-legal .lp-chat-in {
  display: flex; gap: 10px;
  margin-top: 4px;
}
.gc-legal .lp-chat-in input {
  flex: 1;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--gc-radius-pill);
  padding: 12px 18px;
  font-family: var(--gc-font-body);
  font-size: 14px;
  color: var(--gc-white);
  outline: none;
  transition: all var(--gc-dur) var(--gc-ease);
}
.gc-legal .lp-chat-in input::placeholder { color: rgba(255,255,255,.40); }
.gc-legal .lp-chat-in input:focus {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,96,15,.45);
  box-shadow: 0 0 0 3px rgba(255,96,15,.15);
}
.gc-legal .lp-chat-in button {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gc-orange-500);
  color: var(--gc-white);
  display: grid; place-items: center;
  cursor: pointer;
  border: 0;
  flex-shrink: 0;
  transition: all var(--gc-dur) var(--gc-ease);
}
.gc-legal .lp-chat-in button:hover { background: var(--gc-orange-600); transform: scale(1.05); }
.gc-legal .lp-chat-in button:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.gc-legal .lp-chat-in button svg { width: 18px; height: 18px; }

/* ---------- KNOWLEDGE ------------------------------------------------- */
.gc-legal .lp-know {
  display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px;
}
@media (max-width: 900px) { .gc-legal .lp-know { grid-template-columns: 1fr; } }

.gc-legal .lp-ki-list {
  display: flex; flex-direction: column;
  background: var(--gc-white);
  border: 1px solid var(--gc-border);
  border-radius: var(--gc-radius-lg);
  overflow: hidden;
}
.gc-legal .lp-ki {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px;
  text-decoration: none;
  transition: background var(--gc-dur) var(--gc-ease);
  border-bottom: 1px solid var(--gc-border);
}
.gc-legal .lp-ki:last-child { border-bottom: 0; }
.gc-legal .lp-ki:hover { background: var(--gc-cloud-300); }
.gc-legal .lp-ki__icon {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: var(--gc-cloud-300);
  color: var(--gc-blue-500);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.gc-legal .lp-ki:hover .lp-ki__icon { background: var(--gc-white); }
.gc-legal .lp-ki__icon svg { width: 18px; height: 18px; }
.gc-legal .lp-ki__title {
  font-size: 14.5px; font-weight: 500;
  color: var(--gc-text);
  display: block;
}
.gc-legal .lp-ki__meta {
  font-size: 12.5px; color: var(--gc-text-muted);
  display: block; margin-top: 2px;
}
.gc-legal .lp-ki__src {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--gc-font-mono);
  font-size: 11px;
  color: var(--gc-titanium-700);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.gc-legal .lp-ki__src svg { width: 11px; height: 11px; color: var(--gc-titanium-300); }

.gc-legal .lp-kcats { display: flex; flex-direction: column; gap: 14px; }
.gc-legal .lp-kc {
  background: var(--gc-white);
  border: 1px solid var(--gc-border);
  border-radius: var(--gc-radius-md);
  padding: 18px 22px;
}
.gc-legal .lp-kc__title {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700;
  letter-spacing: var(--gc-tracking-eyebrow);
  text-transform: uppercase;
  color: var(--gc-titanium-800);
  margin-bottom: 12px;
}
.gc-legal .lp-kc__title svg { width: 14px; height: 14px; color: var(--gc-blue-500); }
.gc-legal .lp-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.gc-legal .lp-tag {
  font-size: 12.5px;
  font-family: var(--gc-font-body);
  color: var(--gc-titanium-800);
  background: var(--gc-cloud-300);
  border-radius: var(--gc-radius-pill);
  padding: 5px 12px;
  text-decoration: none;
  transition: all var(--gc-dur) var(--gc-ease);
  cursor: pointer;
  border: 1px solid transparent;
}
.gc-legal .lp-tag:hover {
  background: var(--gc-white);
  border-color: var(--gc-blue-500);
  color: var(--gc-blue-500);
}

/* ---------- SIGNING AUTHORITY ----------------------------------------- */
.gc-legal .lp-sign-auth {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
@media (max-width: 700px) { .gc-legal .lp-sign-auth { grid-template-columns: 1fr; } }
.gc-legal .lp-sign-auth__group {
  background: var(--gc-white);
  border: 1px solid var(--gc-border);
  border-radius: var(--gc-radius-md);
  overflow: hidden;
}
.gc-legal .lp-sign-auth__title {
  font-family: var(--gc-font-display);
  font-size: 14.5px; font-weight: 500;
  color: var(--gc-text);
  padding: 16px 20px 12px;
}
.gc-legal .lp-sign-auth__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.gc-legal .lp-sign-auth__table th {
  text-align: left;
  font-size: 11.5px; font-weight: 700;
  letter-spacing: var(--gc-tracking-eyebrow);
  text-transform: uppercase;
  color: var(--gc-titanium-700);
  padding: 8px 20px;
  background: var(--gc-cloud-100);
  border-top: 1px solid var(--gc-border);
  border-bottom: 1px solid var(--gc-border);
}
.gc-legal .lp-sign-auth__table td {
  padding: 12px 20px;
  color: var(--gc-text);
  border-bottom: 1px solid var(--gc-border);
}
.gc-legal .lp-sign-auth__table tr:last-child td { border-bottom: 0; }
.gc-legal .lp-sign-auth__table td:last-child { font-weight: 500; }

/* ---------- TRAINING -------------------------------------------------- */
.gc-legal .lp-train {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
@media (max-width: 900px) { .gc-legal .lp-train { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .gc-legal .lp-train { grid-template-columns: 1fr; } }

.gc-legal .lp-tcard {
  background: var(--gc-white);
  border: 1px solid var(--gc-border);
  border-radius: var(--gc-radius-md);
  padding: 22px 22px 24px;
  display: flex; gap: 16px;
  text-decoration: none;
  transition: all var(--gc-dur) var(--gc-ease);
}
.gc-legal .lp-tcard:hover {
  border-color: var(--gc-blue-300);
  box-shadow: var(--gc-shadow-md);
  transform: translateY(-2px);
}
.gc-legal .lp-tcard__icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: var(--gc-cloud-300);
  color: var(--gc-blue-500);
  flex-shrink: 0;
}
.gc-legal .lp-tcard__icon svg { width: 20px; height: 20px; }
.gc-legal .lp-tcard__title {
  font-family: var(--gc-font-display);
  font-size: 16px; font-weight: 500;
  color: var(--gc-text);
  display: block; margin-bottom: 6px;
  line-height: 1.3;
}
.gc-legal .lp-tcard__desc {
  font-size: 13.5px; line-height: 20px;
  color: var(--gc-text-muted);
}

/* ---------- TEAM ------------------------------------------------------ */
.gc-legal .lp-team {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
@media (max-width: 900px) { .gc-legal .lp-team { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .gc-legal .lp-team { grid-template-columns: 1fr; } }
.gc-legal .lp-tm {
  background: var(--gc-white);
  border: 1px solid var(--gc-border);
  border-radius: var(--gc-radius-md);
  padding: 22px;
  display: flex; flex-direction: column; gap: 12px;
  transition: all var(--gc-dur) var(--gc-ease);
}
.gc-legal .lp-tm:hover { border-color: var(--gc-blue-300); box-shadow: var(--gc-shadow-sm); }
.gc-legal .lp-tm__av {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 15px; font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gc-white);
}
.gc-legal .lp-tm__name {
  font-family: var(--gc-font-display);
  font-size: 16px; font-weight: 500;
  color: var(--gc-text);
  display: block;
}
.gc-legal .lp-tm__role {
  font-size: 13px; color: var(--gc-text-muted);
  display: block; margin-top: 2px;
}
.gc-legal .lp-tm__tags { display: flex; flex-wrap: wrap; gap: 4px; }
.gc-legal .lp-tm__tag {
  font-size: 11.5px;
  font-family: var(--gc-font-body);
  background: var(--gc-cloud-300);
  color: var(--gc-titanium-800);
  border-radius: 5px;
  padding: 3px 8px;
}
.gc-legal .lp-tm__contact {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 500;
  color: var(--gc-blue-500);
  text-decoration: none;
  margin-top: auto;
}
.gc-legal .lp-tm__contact svg { width: 14px; height: 14px; color: var(--gc-orange-500); }

/* Location row */
.gc-legal .lp-tm__loc {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px;
  color: var(--gc-text-muted);
  margin-top: 4px;
}
.gc-legal .lp-tm__loc svg { width: 12px; height: 12px; color: var(--gc-titanium-700); flex-shrink: 0; }

/* Status pill (eg. on leave) */
.gc-legal .lp-tm__status {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 600;
  color: var(--gc-titanium-800);
  background: var(--gc-cloud-300);
  border: 1px solid var(--gc-titanium-100);
  border-radius: var(--gc-radius-pill);
  padding: 3px 10px 3px 8px;
  letter-spacing: 0.01em;
  margin-top: 2px;
  align-self: flex-start;
}
.gc-legal .lp-tm__status svg { width: 11px; height: 11px; color: #b07a00; }

/* Intern variant — soft, dashed-border avatar */
.gc-legal .lp-tm--intern .lp-tm__av {
  background: var(--gc-cloud-300) !important;
  color: var(--gc-navy-800);
  border: 1.5px dashed var(--gc-titanium-300);
}
.gc-legal .lp-tm--intern .lp-tm__role::after {
  content: "Intern";
  display: inline-block;
  margin-left: 6px;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--gc-orange-100);
  color: var(--gc-orange-500);
  padding: 2px 7px;
  border-radius: var(--gc-radius-pill);
  vertical-align: 2px;
}

/* Sub-team headings */
.gc-legal .lp-team-subhead {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--gc-font-body);
  font-size: 13px; font-weight: 700;
  letter-spacing: var(--gc-tracking-eyebrow);
  text-transform: uppercase;
  color: var(--gc-titanium-800);
  margin: 28px 0 16px;
}
.gc-legal .lp-team-subhead:first-of-type { margin-top: 0; }
.gc-legal .lp-team-subhead__count {
  font-weight: 500;
  color: var(--gc-text-muted);
  letter-spacing: 0;
  text-transform: none;
  font-size: 12.5px;
}
.gc-legal .lp-team-subhead::after {
  content: ""; flex: 1; height: 1px; background: var(--gc-titanium-100);
}

/* Featured lead card */
.gc-legal .lp-tm-lead {
  background: var(--gc-navy-800);
  color: var(--gc-text-on-dark);
  border-radius: var(--gc-radius-lg);
  padding: 28px 32px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}
.gc-legal .lp-tm-lead::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 80% at 105% 50%, rgba(255,96,15,.18) 0%, transparent 60%),
              radial-gradient(ellipse 40% 60% at -5% 50%, rgba(0,70,252,.18) 0%, transparent 65%);
  pointer-events: none;
}
.gc-legal .lp-tm-lead > * { position: relative; z-index: 1; }
@media (max-width: 720px) {
  .gc-legal .lp-tm-lead {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 16px;
  }
}
.gc-legal .lp-tm-lead__av {
  width: 76px; height: 76px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--gc-font-display);
  font-size: 26px; font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--gc-white);
  background: var(--gc-blue-600);
  box-shadow: 0 0 0 4px rgba(255,255,255,.06);
}
.gc-legal .lp-tm-lead__role-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11.5px; font-weight: 700;
  letter-spacing: var(--gc-tracking-eyebrow);
  text-transform: uppercase;
  color: var(--gc-orange-500);
  margin-bottom: 6px;
}
.gc-legal .lp-tm-lead__name {
  font-family: var(--gc-font-display);
  font-size: 26px; line-height: 32px; font-weight: 500;
  color: var(--gc-white);
  letter-spacing: var(--gc-tracking-tight);
}
.gc-legal .lp-tm-lead__role {
  font-size: 15px;
  color: var(--gc-blue-200);
  margin-top: 4px;
}
.gc-legal .lp-tm-lead__meta {
  display: flex; gap: 18px; align-items: center;
  margin-top: 14px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: rgba(255,255,255,.65);
}
.gc-legal .lp-tm-lead__meta span {
  display: inline-flex; align-items: center; gap: 6px;
}
.gc-legal .lp-tm-lead__meta svg { width: 13px; height: 13px; color: var(--gc-orange-500); }
.gc-legal .lp-tm-lead__cta {
  display: inline-flex; align-items: center; gap: 8px;
  height: 46px;
  padding: 0 22px;
  border-radius: var(--gc-radius-pill);
  background: var(--gc-white);
  color: var(--gc-navy-800);
  font-weight: 500; font-size: 14.5px;
  text-decoration: none;
  transition: all var(--gc-dur) var(--gc-ease);
  white-space: nowrap;
}
.gc-legal .lp-tm-lead__cta:hover { background: var(--gc-cloud-300); transform: translateY(-1px); }
.gc-legal .lp-tm-lead__cta svg { width: 16px; height: 16px; color: var(--gc-orange-500); }

/* ---------- FOOTER (compact override of gc-footer) -------------------- */
.gc-legal .lp-footer {
  background: var(--gc-navy-800);
  color: var(--gc-text-on-dark);
  padding-block: 40px;
  margin-top: 60px;
}
.gc-legal .lp-footer__inner {
  max-width: var(--gc-container);
  margin-inline: auto;
  padding-inline: var(--gc-gutter);
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.gc-legal .lp-footer__brand { display: flex; align-items: center; gap: 14px; }
.gc-legal .lp-footer__logo { height: 22px; }
.gc-legal .lp-footer__divider { width: 1px; height: 22px; background: rgba(255,255,255,.15); }
.gc-legal .lp-footer__title {
  font-family: var(--gc-font-display);
  font-size: 16px; font-weight: 500;
  color: var(--gc-white);
}
.gc-legal .lp-footer__sub {
  font-size: 12px; color: var(--gc-blue-200);
  margin-top: 3px;
}
.gc-legal .lp-footer__legal {
  font-size: 12.5px; color: var(--gc-blue-200);
  max-width: 480px; line-height: 18px;
  text-align: right;
}
.gc-legal .lp-footer__legal a { color: var(--gc-orange-500); }

/* ---------- SEARCH OVERLAY ------------------------------------------- */
.gc-legal .lp-search-overlay {
  position: fixed; inset: 0;
  background: rgba(4,0,58,.55);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: none; align-items: flex-start; justify-content: center;
  padding-top: 12vh;
  z-index: 999;
}
.gc-legal .lp-search-overlay.is-open { display: flex; animation: lp-fade .15s ease; }
@keyframes lp-fade { from { opacity: 0; } to { opacity: 1; } }
.gc-legal .lp-search-modal {
  width: 620px; max-width: 92vw;
  background: var(--gc-white);
  border-radius: var(--gc-radius-md);
  box-shadow: var(--gc-shadow-lg);
  overflow: hidden;
}
.gc-legal .lp-search-row {
  display: flex; align-items: center; gap: 12px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--gc-border);
}
.gc-legal .lp-search-row svg { width: 18px; height: 18px; color: var(--gc-text-muted); flex-shrink: 0; }
.gc-legal .lp-search-row input {
  flex: 1;
  border: 0; outline: none;
  font-family: var(--gc-font-body);
  font-size: 17px;
  color: var(--gc-text);
  background: transparent;
}
.gc-legal .lp-search-row input::placeholder { color: var(--gc-titanium-500); }
.gc-legal .lp-search-list {
  padding: 6px;
  max-height: 420px;
  overflow-y: auto;
}
.gc-legal .lp-search-item {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 14px;
  border-radius: var(--gc-radius-md);
  cursor: pointer;
}
.gc-legal .lp-search-item:hover,
.gc-legal .lp-search-item.is-active { background: var(--gc-cloud-300); }
.gc-legal .lp-search-item__icon {
  width: 34px; height: 34px;
  border-radius: 8px;
  display: grid; place-items: center;
  background: var(--gc-cloud-300);
  color: var(--gc-blue-500);
  flex-shrink: 0;
}
.gc-legal .lp-search-item:hover .lp-search-item__icon,
.gc-legal .lp-search-item.is-active .lp-search-item__icon { background: var(--gc-white); }
.gc-legal .lp-search-item__icon svg { width: 17px; height: 17px; }
.gc-legal .lp-search-item__title { font-size: 14.5px; font-weight: 500; color: var(--gc-text); display: block; }
.gc-legal .lp-search-item__desc { font-size: 12.5px; color: var(--gc-text-muted); display: block; margin-top: 2px; }
.gc-legal .lp-search-item__src {
  margin-left: auto;
  font-family: var(--gc-font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--gc-titanium-700);
  background: var(--gc-cloud-300);
  border-radius: 5px;
  padding: 3px 8px;
  text-transform: uppercase;
}
.gc-legal .lp-search-item:hover .lp-search-item__src,
.gc-legal .lp-search-item.is-active .lp-search-item__src { background: var(--gc-white); }
.gc-legal .lp-search-empty {
  padding: 24px; text-align: center; color: var(--gc-text-muted); font-size: 14px;
}
.gc-legal .lp-search-foot {
  padding: 10px 22px;
  border-top: 1px solid var(--gc-border);
  display: flex; gap: 18px;
  font-size: 11.5px; color: var(--gc-text-muted);
  background: var(--gc-cloud-100);
}
.gc-legal .lp-search-foot span { display: inline-flex; align-items: center; gap: 5px; }
.gc-legal .lp-search-foot kbd {
  font-family: var(--gc-font-mono);
  font-size: 10.5px;
  background: var(--gc-white);
  border: 1px solid var(--gc-titanium-100);
  border-radius: 4px;
  padding: 1px 5px;
}

/* ---------- TWEAKS PANEL (custom, lightweight) ----------------------- */
.lp-tweaks {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 280px;
  background: var(--gc-white);
  border: 1px solid var(--gc-border);
  border-radius: var(--gc-radius-md);
  box-shadow: var(--gc-shadow-lg);
  z-index: 998;
  font-family: var(--gc-font-body);
  display: none;
}
.lp-tweaks.is-open { display: block; animation: lp-fade-up .18s ease; }
@keyframes lp-fade-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.lp-tweaks__hdr {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px 10px;
  border-bottom: 1px solid var(--gc-border);
}
.lp-tweaks__title {
  font-family: var(--gc-font-display);
  font-size: 14px; font-weight: 500;
  color: var(--gc-text);
}
.lp-tweaks__close {
  width: 26px; height: 26px;
  border-radius: 6px;
  display: grid; place-items: center;
  color: var(--gc-titanium-700);
  cursor: pointer;
}
.lp-tweaks__close:hover { background: var(--gc-cloud-300); color: var(--gc-text); }
.lp-tweaks__close svg { width: 14px; height: 14px; }
.lp-tweaks__body { padding: 14px 16px; display: flex; flex-direction: column; gap: 14px; }
.lp-tweak {
  display: flex; flex-direction: column; gap: 6px;
}
.lp-tweak__lbl {
  font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gc-titanium-700);
}
.lp-tweak__opts {
  display: flex; gap: 4px;
  background: var(--gc-cloud-300);
  border-radius: var(--gc-radius-sm);
  padding: 3px;
}
.lp-tweak__opt {
  flex: 1;
  padding: 6px 8px;
  font-size: 12.5px; font-weight: 500;
  color: var(--gc-titanium-800);
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  text-align: center;
  transition: all var(--gc-dur) var(--gc-ease);
}
.lp-tweak__opt:hover { color: var(--gc-text); }
.lp-tweak__opt.is-active {
  background: var(--gc-white);
  color: var(--gc-text);
  box-shadow: var(--gc-shadow-sm);
}

/* ---------- HIDE-WHEN-COMPACT helpers --------------------------------- */
.gc-legal.density--compact .lp-section--lg { --gc-section-y: clamp(48px, 6vw, 80px); }

/* ---------- SECTION SPACING TIGHTENING -------------------------------- */
.gc-legal .lp-section { padding-block: clamp(48px, 6vw, 88px); }
.gc-legal .lp-section--soft { background: var(--gc-bg-soft); }
.gc-legal .lp-container { max-width: var(--gc-container); margin-inline: auto; padding-inline: var(--gc-gutter); }

/* =====================================================================
 * Jira ticket creation form
 * ===================================================================*/
.gc-legal .lp-jform {
  background: var(--gc-white);
  border: 1px solid var(--gc-border);
  border-radius: var(--gc-radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
}
@media (max-width: 900px) { .gc-legal .lp-jform { grid-template-columns: 1fr; } }
.gc-legal .lp-jform__main {
  padding: 32px;
  display: flex; flex-direction: column; gap: 18px;
}
.gc-legal .lp-jform__side {
  padding: 32px;
  background: var(--gc-cloud-300);
  border-left: 1px solid var(--gc-border);
  display: flex; flex-direction: column; gap: 18px;
}
@media (max-width: 900px) {
  .gc-legal .lp-jform__side { border-left: 0; border-top: 1px solid var(--gc-border); }
}
.gc-legal .lp-jform__side h4 {
  font-family: var(--gc-font-display);
  font-size: 15px; font-weight: 500;
  color: var(--gc-text);
}
.gc-legal .lp-jform__side p {
  font-size: 13px; line-height: 19px;
  color: var(--gc-text-muted);
}
.gc-legal .lp-jform__sla {
  display: flex; gap: 12px;
  padding: 14px 16px;
  background: var(--gc-white);
  border-radius: 10px;
}
.gc-legal .lp-jform__sla-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--gc-orange-100);
  color: var(--gc-orange-500);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.gc-legal .lp-jform__sla-icon svg { width: 17px; height: 17px; }
.gc-legal .lp-jform__sla-title {
  font-size: 13px; font-weight: 600;
  color: var(--gc-text);
  display: block;
}
.gc-legal .lp-jform__sla-desc {
  font-size: 12px; color: var(--gc-text-muted);
  display: block; margin-top: 2px;
}
.gc-legal .lp-jform__route {
  background: var(--gc-white);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex; gap: 12px;
  align-items: center;
}
.gc-legal .lp-jform__route-av {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--gc-blue-600);
  color: var(--gc-white);
  display: grid; place-items: center;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  transition: background var(--gc-dur) var(--gc-ease);
}
.gc-legal .lp-jform__route-lbl {
  font-size: 11px;
  letter-spacing: var(--gc-tracking-eyebrow);
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gc-titanium-700);
  display: block;
}
.gc-legal .lp-jform__route-name {
  font-size: 14px; font-weight: 500;
  color: var(--gc-text);
  margin-top: 1px;
  display: block;
}
.gc-legal .lp-jform__route-role {
  font-size: 12px; color: var(--gc-text-muted);
  display: block;
}

.gc-legal .lp-field { display: flex; flex-direction: column; gap: 6px; }
.gc-legal .lp-field__label {
  font-size: 12.5px; font-weight: 600;
  color: var(--gc-titanium-800);
  letter-spacing: 0.01em;
}
.gc-legal .lp-field__label .lp-req { color: var(--gc-orange-500); margin-left: 3px; }
.gc-legal .lp-field input,
.gc-legal .lp-field select,
.gc-legal .lp-field textarea {
  font-family: var(--gc-font-body);
  font-size: 14.5px; line-height: 22px;
  padding: 11px 16px;
  border: 1px solid var(--gc-titanium-100);
  border-radius: 10px;
  color: var(--gc-text);
  background: var(--gc-white);
  outline: none;
  transition: border-color var(--gc-dur) var(--gc-ease), box-shadow var(--gc-dur) var(--gc-ease);
  width: 100%;
  font-weight: 400;
}
.gc-legal .lp-field select { appearance: none; padding-right: 40px; background-repeat: no-repeat; background-position: right 14px center; background-size: 12px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%2366727e' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><path d='m3 4.5 3 3 3-3'/></svg>"); }
.gc-legal .lp-field textarea { min-height: 100px; resize: vertical; font-family: var(--gc-font-body); }
.gc-legal .lp-field input::placeholder,
.gc-legal .lp-field textarea::placeholder { color: var(--gc-titanium-500); }
.gc-legal .lp-field input:focus,
.gc-legal .lp-field select:focus,
.gc-legal .lp-field textarea:focus {
  border-color: var(--gc-blue-500);
  box-shadow: 0 0 0 3px rgba(0,70,252,.12);
}

.gc-legal .lp-prio {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px;
  position: relative;
}
.gc-legal .lp-prio input { position: absolute; opacity: 0; pointer-events: none; }
.gc-legal .lp-prio label {
  padding: 9px 6px;
  text-align: center;
  font-size: 13px; font-weight: 500;
  color: var(--gc-titanium-800);
  background: var(--gc-cloud-300);
  border: 1px solid transparent;
  border-radius: 9px;
  cursor: pointer;
  transition: all var(--gc-dur) var(--gc-ease);
}
.gc-legal .lp-prio label:hover { background: var(--gc-cloud-100); }
.gc-legal .lp-prio input:checked + label {
  background: var(--gc-white);
  color: var(--gc-text);
  border-color: var(--gc-blue-500);
  box-shadow: 0 0 0 3px rgba(0,70,252,.10);
}
.gc-legal .lp-prio input[value="urgent"]:checked + label {
  border-color: var(--gc-orange-500);
  box-shadow: 0 0 0 3px rgba(255,96,15,.12);
  color: var(--gc-orange-500);
}

.gc-legal .lp-jform__actions {
  display: flex; align-items: center; gap: 16px;
  margin-top: 6px;
  flex-wrap: wrap;
}
.gc-legal .lp-jform__submit {
  display: inline-flex; align-items: center; gap: 8px;
  height: 48px; padding: 0 24px;
  border-radius: var(--gc-radius-pill);
  background: var(--gc-navy-800);
  color: var(--gc-cloud-300);
  font-family: var(--gc-font-body);
  font-weight: 500; font-size: 15px;
  cursor: pointer; border: 0;
  transition: background var(--gc-dur) var(--gc-ease);
}
.gc-legal .lp-jform__submit:hover { background: var(--gc-blue-500); }
.gc-legal .lp-jform__submit:disabled { opacity: .6; cursor: not-allowed; }
.gc-legal .lp-jform__submit svg { width: 16px; height: 16px; color: var(--gc-orange-500); transition: transform var(--gc-dur) var(--gc-ease); }
.gc-legal .lp-jform__submit:hover svg { transform: translateX(3px); }
.gc-legal .lp-jform__cancel {
  font-size: 14px; color: var(--gc-text-muted);
  background: transparent; border: 0;
  cursor: pointer;
}
.gc-legal .lp-jform__cancel:hover { color: var(--gc-text); }

/* Success state */
.gc-legal .lp-jform__success {
  grid-column: 1 / -1;
  padding: 56px 32px;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  gap: 14px;
}
.gc-legal .lp-jform__success-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(0,205,145,.12);
  color: #06865f;
  display: grid; place-items: center;
  margin-bottom: 4px;
}
.gc-legal .lp-jform__success-icon svg { width: 30px; height: 30px; }
.gc-legal .lp-jform__success h3 {
  font-family: var(--gc-font-display);
  font-size: 26px; line-height: 32px; font-weight: 500;
  color: var(--gc-text);
  letter-spacing: var(--gc-tracking-tight);
}
.gc-legal .lp-jform__success p {
  font-size: 14.5px; color: var(--gc-text-muted);
  max-width: 50ch;
}
.gc-legal .lp-jform__ticket-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gc-cloud-300);
  border-radius: var(--gc-radius-pill);
  padding: 8px 18px;
  font-family: var(--gc-font-mono);
  font-size: 14px; font-weight: 600;
  color: var(--gc-navy-800);
  margin-top: 4px;
}
.gc-legal .lp-jform__ticket-pill::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gc-green-500);
}
.gc-legal .lp-jform__success-actions {
  display: flex; gap: 10px; flex-wrap: wrap; justify-content: center;
  margin-top: 14px;
}
.gc-legal .lp-jform__success-actions a,
.gc-legal .lp-jform__success-actions button {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  border-radius: var(--gc-radius-pill);
  font-family: var(--gc-font-body);
  font-size: 14px; font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--gc-dur) var(--gc-ease);
}
.gc-legal .lp-jform__success-actions .lp-btn-primary {
  background: var(--gc-navy-800);
  color: var(--gc-cloud-300);
  border: 0;
}
.gc-legal .lp-jform__success-actions .lp-btn-primary:hover { background: var(--gc-blue-500); }
.gc-legal .lp-jform__success-actions .lp-btn-primary svg { width: 14px; height: 14px; color: var(--gc-orange-500); }
.gc-legal .lp-jform__success-actions .lp-btn-secondary {
  background: transparent;
  color: var(--gc-text);
  border: 1px solid var(--gc-titanium-100);
}
.gc-legal .lp-jform__success-actions .lp-btn-secondary:hover { background: var(--gc-cloud-300); }

/* =====================================================================
 * Team Calendar
 * ===================================================================*/
.gc-legal .lp-cal {
  background: var(--gc-white);
  border: 1px solid var(--gc-border);
  border-radius: var(--gc-radius-lg);
  overflow: hidden;
}
.gc-legal .lp-cal__hdr {
  padding: 18px 24px;
  border-bottom: 1px solid var(--gc-border);
  display: flex; align-items: center; gap: 14px;
  flex-wrap: wrap;
}
.gc-legal .lp-cal__title {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--gc-font-display);
  font-size: 17px; font-weight: 500;
  color: var(--gc-text);
}
.gc-legal .lp-cal__title svg { width: 18px; height: 18px; color: var(--gc-blue-500); }
.gc-legal .lp-cal__count {
  font-size: 12px; color: var(--gc-text-muted);
  margin-left: -2px;
}
.gc-legal .lp-cal__filters {
  display: flex; gap: 2px;
  background: var(--gc-cloud-300);
  padding: 3px;
  border-radius: 8px;
}
.gc-legal .lp-cal__filter {
  padding: 6px 12px;
  font-family: var(--gc-font-body);
  font-size: 12.5px; font-weight: 500;
  color: var(--gc-titanium-800);
  background: transparent;
  border: 0; cursor: pointer;
  border-radius: 6px;
  transition: all var(--gc-dur) var(--gc-ease);
}
.gc-legal .lp-cal__filter:hover { color: var(--gc-text); }
.gc-legal .lp-cal__filter.is-active {
  background: var(--gc-white);
  color: var(--gc-text);
  box-shadow: var(--gc-shadow-sm);
}
.gc-legal .lp-cal__sync {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  border-radius: var(--gc-radius-pill);
  background: var(--gc-navy-800);
  color: var(--gc-cloud-300);
  font-family: var(--gc-font-body);
  font-size: 13px; font-weight: 500;
  cursor: pointer; border: 0;
  transition: background var(--gc-dur) var(--gc-ease);
}
.gc-legal .lp-cal__sync:hover { background: var(--gc-blue-500); }
.gc-legal .lp-cal__sync svg { width: 14px; height: 14px; color: var(--gc-orange-500); }
.gc-legal .lp-cal__body {
  display: flex; flex-direction: column;
  max-height: 540px;
  overflow-y: auto;
}
.gc-legal .lp-cal__month {
  padding: 14px 24px 8px;
  font-size: 11px; font-weight: 700;
  letter-spacing: var(--gc-tracking-eyebrow);
  text-transform: uppercase;
  color: var(--gc-titanium-700);
  background: var(--gc-cloud-100);
  border-bottom: 1px solid var(--gc-border);
  position: sticky; top: 0; z-index: 1;
}
.gc-legal .lp-cal__entry {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 14px;
  padding: 14px 24px;
  border-bottom: 1px solid var(--gc-border);
  align-items: center;
  transition: background var(--gc-dur) var(--gc-ease);
}
.gc-legal .lp-cal__entry:last-child { border-bottom: 0; }
.gc-legal .lp-cal__entry:hover { background: var(--gc-cloud-100); }
.gc-legal .lp-cal__av {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--gc-white);
}
.gc-legal .lp-cal__person { min-width: 0; }
.gc-legal .lp-cal__name {
  font-size: 14.5px; font-weight: 500;
  color: var(--gc-text);
  display: block;
}
.gc-legal .lp-cal__reason {
  font-size: 12.5px; color: var(--gc-text-muted);
  display: block; margin-top: 2px;
}
.gc-legal .lp-cal__range {
  font-family: var(--gc-font-mono);
  font-size: 12.5px;
  color: var(--gc-titanium-800);
  white-space: nowrap;
  text-align: right;
}
.gc-legal .lp-cal__range .lp-cal__days {
  display: block;
  font-family: var(--gc-font-body);
  font-size: 11px;
  color: var(--gc-text-muted);
  margin-top: 2px;
  letter-spacing: 0;
}
.gc-legal .lp-cal__tag {
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: var(--gc-radius-pill);
  white-space: nowrap;
}
.gc-legal .lp-cal__tag--leave    { background: var(--gc-orange-100); color: var(--gc-orange-700); }
.gc-legal .lp-cal__tag--ooo      { background: var(--gc-cloud-300); color: var(--gc-titanium-800); }
.gc-legal .lp-cal__tag--vacation { background: rgba(0,70,252,.08); color: var(--gc-blue-500); }
.gc-legal .lp-cal__tag--conf     { background: rgba(232,23,138,.10); color: var(--gc-pink-500); }
.gc-legal .lp-cal__tag--holiday  { background: rgba(0,205,145,.10); color: #06865f; }
.gc-legal .lp-cal__tag--sick     { background: rgba(74,84,93,.10); color: var(--gc-titanium-800); }

.gc-legal .lp-cal__empty {
  padding: 48px 24px;
  text-align: center;
  color: var(--gc-text-muted);
  font-size: 14px;
}
.gc-legal .lp-cal__empty strong {
  display: block;
  font-family: var(--gc-font-display);
  font-size: 18px; font-weight: 500;
  color: var(--gc-text);
  margin-bottom: 4px;
}

@media (max-width: 600px) {
  .gc-legal .lp-cal__entry { grid-template-columns: auto 1fr; gap: 12px; }
  .gc-legal .lp-cal__range { grid-column: 2; text-align: left; }
  .gc-legal .lp-cal__tag { grid-column: 2; justify-self: start; }
}

/* Sync modal */
.gc-legal .lp-sync-overlay {
  position: fixed; inset: 0;
  background: rgba(4,0,58,.55);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: none; align-items: center; justify-content: center;
  z-index: 999; padding: 24px;
}
.gc-legal .lp-sync-overlay.is-open { display: flex; animation: lp-fade .15s ease; }
.gc-legal .lp-sync-modal {
  background: var(--gc-white);
  border-radius: var(--gc-radius-lg);
  box-shadow: var(--gc-shadow-lg);
  width: 480px; max-width: 100%;
  overflow: hidden;
}
.gc-legal .lp-sync-modal__hdr {
  padding: 24px 24px 0;
}
.gc-legal .lp-sync-modal h3 {
  font-family: var(--gc-font-display);
  font-size: 22px; font-weight: 500;
  letter-spacing: var(--gc-tracking-tight);
  color: var(--gc-text);
  margin-bottom: 6px;
}
.gc-legal .lp-sync-modal p {
  font-size: 13.5px; color: var(--gc-text-muted);
  margin-bottom: 18px;
  line-height: 20px;
}
.gc-legal .lp-sync-opts {
  display: flex; flex-direction: column; gap: 8px;
  padding: 0 24px 18px;
}
.gc-legal .lp-sync-opt {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--gc-border);
  border-radius: 10px;
  text-decoration: none;
  transition: all var(--gc-dur) var(--gc-ease);
  cursor: pointer;
  background: var(--gc-white);
  font-family: inherit;
  text-align: left;
  width: 100%;
}
.gc-legal .lp-sync-opt:hover { border-color: var(--gc-blue-500); background: var(--gc-cloud-100); }
.gc-legal .lp-sync-opt__icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--gc-cloud-300);
  color: var(--gc-blue-500);
  display: grid; place-items: center;
  flex-shrink: 0;
  font-family: var(--gc-font-display);
  font-size: 17px;
  font-weight: 700;
}
.gc-legal .lp-sync-opt__icon svg { width: 18px; height: 18px; }
.gc-legal .lp-sync-opt__title { font-size: 14.5px; font-weight: 500; color: var(--gc-text); display: block; }
.gc-legal .lp-sync-opt__desc { font-size: 12.5px; color: var(--gc-text-muted); display: block; margin-top: 2px; }
.gc-legal .lp-sync-opt__arr { margin-left: auto; width: 16px; height: 16px; color: var(--gc-titanium-300); }
.gc-legal .lp-sync-opt:hover .lp-sync-opt__arr { color: var(--gc-orange-500); }

.gc-legal .lp-sync-url {
  margin: 0 24px 14px;
  background: var(--gc-cloud-100);
  border: 1px solid var(--gc-border);
  border-radius: 8px;
  padding: 10px 12px;
  font-family: var(--gc-font-mono);
  font-size: 11.5px;
  color: var(--gc-titanium-800);
  display: flex; align-items: center; gap: 8px;
}
.gc-legal .lp-sync-url code { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gc-legal .lp-sync-url button {
  font-size: 11px; font-weight: 600;
  background: var(--gc-white);
  border: 1px solid var(--gc-border);
  color: var(--gc-text);
  padding: 4px 10px;
  border-radius: var(--gc-radius-pill);
  cursor: pointer;
  font-family: var(--gc-font-body);
  flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 5px;
}
.gc-legal .lp-sync-url button svg { width: 11px; height: 11px; color: var(--gc-orange-500); }
.gc-legal .lp-sync-url button.is-copied { background: var(--gc-cloud-300); color: var(--gc-green-500); }
.gc-legal .lp-sync-modal__close {
  padding: 14px 24px;
  border-top: 1px solid var(--gc-border);
  background: var(--gc-cloud-100);
  font-size: 12.5px; color: var(--gc-text-muted);
  text-align: center;
}
.gc-legal .lp-sync-modal__close button {
  background: transparent; border: 0;
  font: inherit; cursor: pointer;
  color: var(--gc-text-muted);
}
.gc-legal .lp-sync-modal__close button:hover { color: var(--gc-text); }
