/* LuxuryGlasses KOL Affiliate v1.10 - Black / White Portal UI */
.lgkol-dashboard,
.lgkol-login-card,
.lgkol-admin-wrap {
  --lgkol-bg: #ffffff;
  --lgkol-card: #ffffff;
  --lgkol-card-2: #f7f7f7;
  --lgkol-text: #000000;
  --lgkol-muted: #666666;
  --lgkol-soft: #9a9a9a;
  --lgkol-line: #dcdcdc;
  --lgkol-line-dark: #000000;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  color: var(--lgkol-text);
  box-sizing: border-box;
}

.lgkol-dashboard *,
.lgkol-login-card *,
.lgkol-admin-wrap * { box-sizing: border-box; }

.lgkol-dashboard {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 18px;
  background: #fff;
  border: 1px solid #000;
}

.lgkol-mobile-shell { width: 100%; }

.lgkol-topbar,
.lgkol-section-head,
.lgkol-edit-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.lgkol-topbar { margin-bottom: 18px; }
.lgkol-edit-head { margin: 0 0 16px; justify-content: flex-start; }

.lgkol-eyebrow {
  margin: 0 0 8px;
  font-size: 10px;
  line-height: 1.3;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--lgkol-muted);
}

.lgkol-topbar h1,
.lgkol-section-head h2,
.lgkol-login-card h2,
.lgkol-admin-wrap h1,
.lgkol-panel h2 {
  margin: 0;
  color: #000;
  line-height: 1.05;
  letter-spacing: -.045em;
  font-weight: 600;
}

.lgkol-topbar h1 { font-size: clamp(28px, 4.6vw, 50px); }
.lgkol-section-head h2 { font-size: clamp(20px, 3vw, 31px); }
.lgkol-panel h2 { font-size: 20px; }
.lgkol-admin-wrap h1 { margin-bottom: 18px; font-size: 32px; }

.lgkol-subtitle,
.lgkol-section-head > span,
.lgkol-admin-hint {
  color: var(--lgkol-muted);
  font-size: 13px;
  line-height: 1.45;
}

.lgkol-section-head { margin-bottom: 18px; }
.lgkol-section-head > span { text-align: right; max-width: 360px; }

.lgkol-logout,
.lgkol-btn,
.lgkol-date-form button,
.lgkol-copy-box button,
.lgkol-login-card button,
.lgkol-admin-wrap .button-primary,
.lgkol-admin-wrap input[type="submit"].button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid #000 !important;
  background: #000 !important;
  color: #fff !important;
  text-decoration: none !important;
  border-radius: 0 !important;
  font-size: 11px !important;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: none !important;
  transition: opacity .18s ease, transform .18s ease, background .18s ease, color .18s ease;
}

.lgkol-admin-wrap .button,
.lgkol-admin-wrap input[type="submit"].button-secondary,
.lgkol-admin-wrap input[type="submit"].button {
  border-radius: 0 !important;
  border: 1px solid #000 !important;
  background: #fff !important;
  color: #000 !important;
  box-shadow: none !important;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: 11px !important;
}

.lgkol-logout:hover,
.lgkol-btn:hover,
.lgkol-date-form button:hover,
.lgkol-copy-box button:hover,
.lgkol-admin-wrap .button:hover,
.lgkol-admin-wrap input[type="submit"]:hover {
  opacity: .78;
  transform: translateY(-1px);
}

.lgkol-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 0 18px;
  scrollbar-width: none;
}
.lgkol-tabs::-webkit-scrollbar { display: none; }
.lgkol-tabs a {
  flex: 0 0 auto;
  min-height: 39px;
  padding: 0 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #dcdcdc;
  background: #fff;
  color: #000 !important;
  text-decoration: none !important;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.lgkol-tabs a.is-active { background: #000; border-color: #000; color: #fff !important; }

.lgkol-date-form { display: flex; gap: 10px; align-items: center; margin: 0 0 18px; }

.lgkol-date-form input,
.lgkol-login-card input,
.lgkol-admin-wrap input,
.lgkol-admin-wrap select,
.lgkol-admin-wrap textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid #000;
  border-radius: 0;
  background: #fff;
  color: #000;
  outline: none;
  box-shadow: none;
}

.lgkol-admin-wrap textarea { min-height: 96px; }
.lgkol-date-form input:focus,
.lgkol-login-card input:focus,
.lgkol-admin-wrap input:focus,
.lgkol-admin-wrap select:focus,
.lgkol-admin-wrap textarea:focus { border-color: #000; box-shadow: inset 0 0 0 1px #000; }

.lgkol-card,
.lgkol-login-card,
.lgkol-panel,
.lgkol-hero-card,
.lgkol-status-strip {
  background: #fff;
  border: 1px solid #000;
  border-radius: 0;
  box-shadow: none;
}

.lgkol-card { padding: 20px; margin-bottom: 16px; }
.lgkol-hero-card { display: grid; grid-template-columns: minmax(240px, .8fr) minmax(0, 1.4fr); gap: 16px; padding: 18px; margin-bottom: 16px; }

.lgkol-hero-main { padding: 4px 0; }
.lgkol-hero-main span,
.lgkol-copy-box span,
.lgkol-metric span,
.lgkol-status-strip span,
.lgkol-commission-row span,
.lgkol-product-main span,
.lgkol-payouts span,
.lgkol-profile-grid span,
.lgkol-insight-grid span,
.lgkol-admin-stat-grid span {
  display: block;
  color: var(--lgkol-muted);
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.lgkol-hero-main strong {
  display: block;
  margin: 7px 0 11px;
  font-size: clamp(27px, 4.2vw, 48px);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 650;
}
.lgkol-hero-main p { max-width: 430px; margin: 0; color: var(--lgkol-muted); font-size: 13px; line-height: 1.65; }

.lgkol-copy-grid,
.lgkol-profile-grid,
.lgkol-insight-grid,
.lgkol-admin-stat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.lgkol-admin-stat-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); margin-bottom: 18px; }

.lgkol-copy-box,
.lgkol-profile-grid > div,
.lgkol-insight-grid > div,
.lgkol-admin-stat-grid > div {
  min-width: 0;
  padding: 14px;
  border: 1px solid #000;
  background: #fff;
}

.lgkol-copy-box strong,
.lgkol-profile-grid strong,
.lgkol-insight-grid strong,
.lgkol-admin-stat-grid strong {
  display: block;
  margin: 8px 0 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #000;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 650;
}
.lgkol-profile-grid a { color: #000 !important; text-decoration: underline !important; }
.lgkol-copy-box.is-small strong,
.lgkol-insight-grid strong,
.lgkol-admin-stat-grid strong { margin-bottom: 0; font-size: clamp(22px, 3vw, 32px); letter-spacing: -.05em; }
.lgkol-copy-box.is-small { min-height: 96px; }
.lgkol-insight-grid small { display:block; margin-top:8px; color:#666; font-size:11px; }

.lgkol-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.lgkol-metric { min-height: 108px; padding: 15px; border: 1px solid #000; background: #fff; }
.lgkol-metric strong { display: block; margin-top: 10px; color: #000; font-size: clamp(24px, 3.2vw, 36px); line-height: 1; letter-spacing: -.055em; font-weight: 700; }
.lgkol-metric small { display: block; margin-top: 9px; color: var(--lgkol-muted); font-size: 10px; text-transform: uppercase; letter-spacing: .11em; }

.lgkol-status-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; overflow: hidden; margin-bottom: 16px; background: #000; }
.lgkol-status-strip div { padding: 16px; background: #fff; border-right: 1px solid #000; }
.lgkol-status-strip div:last-child { border-right: 0; }
.lgkol-status-strip strong { display: block; margin: 8px 0 4px; color: #000; font-size: 25px; line-height: 1; letter-spacing: -.045em; }
.lgkol-status-strip small { color: #666; font-size: 11px; }

.lgkol-chart { width: 100%; overflow: hidden; border: 1px solid #000; background: #fff; }
.lgkol-chart svg { display: block; width: 100%; height: auto; }
.lgkol-chart .grid { stroke: #dcdcdc; stroke-dasharray: 8 10; stroke-width: 1; }
.lgkol-chart .line { stroke: #000; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.lgkol-chart text { fill: #666; font-size: 12px; }

.lgkol-products,
.lgkol-commission-list,
.lgkol-click-list { display: grid; gap: 10px; }
.lgkol-product-row,
.lgkol-commission-row,
.lgkol-click-row { display: grid; align-items: center; gap: 14px; padding: 12px; border: 1px solid #000; background: #fff; }
.lgkol-product-row { grid-template-columns: 76px 1fr; }
.lgkol-product-img {
  width: 76px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  background: #f7f7f7;
  border: 1px solid #000;
  overflow: hidden;
}
.lgkol-product-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  filter: none;
}
.lgkol-product-main strong { display: block; margin-bottom: 10px; color: #000; font-size: 14px; line-height: 1.35; font-weight: 650; }
.lgkol-product-main div { display: flex; flex-wrap: wrap; gap: 9px 18px; }
.lgkol-commission-row,
.lgkol-click-row { grid-template-columns: 1fr minmax(160px, 280px); }
.lgkol-commission-row strong,
.lgkol-click-row strong { display: block; margin-bottom: 5px; color: #000; font-size: 15px; font-weight: 650; }
.lgkol-click-row span { display: block; overflow: hidden; text-overflow: ellipsis; color: #666; font-size: 12px; line-height: 1.35; }
.lgkol-click-row small { display: block; margin-bottom: 5px; color: #000; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.lgkol-commission-row > div:last-child { text-align: right; }
.lgkol-click-row > div:last-child { text-align: left; border-left: 1px solid #dcdcdc; padding-left: 14px; }


/* v1.4 — KOL login trigger and sold-product performance */
.lgkol-btn-outline {
  background: #fff !important;
  color: #000 !important;
}
.lgkol-btn-outline:hover { background: #f5f5f5 !important; }
.lgkol-login-trigger { white-space: nowrap; }

.lgkol-sold-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.lgkol-sold-product-card {
  min-width: 0;
  border: 1px solid #000;
  background: #fff;
}
.lgkol-sold-product-image {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  aspect-ratio: 4 / 5;
  padding: 10px;
  overflow: hidden;
  border-bottom: 1px solid #000;
  background: #f7f7f7;
  color: #666;
  text-decoration: none !important;
}
.lgkol-sold-product-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: none;
  transition: opacity .2s ease;
}
.lgkol-sold-product-card:hover .lgkol-sold-product-image img { opacity: .84; }
.lgkol-sold-product-image span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  letter-spacing: .1em;
}
.lgkol-sold-product-content { padding: 13px; }
.lgkol-sold-product-date {
  display: block;
  margin-bottom: 7px;
  color: #666;
  font-size: 10px;
  letter-spacing: .08em;
  line-height: 1.35;
  text-transform: uppercase;
}
.lgkol-sold-product-content h3 {
  min-height: 38px;
  margin: 0 0 13px;
  color: #000;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 650;
}
.lgkol-sold-product-content h3 a { color: #000 !important; text-decoration: none !important; }
.lgkol-sold-product-content h3 a:hover { text-decoration: underline !important; }
.lgkol-sold-product-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #dcdcdc;
}
.lgkol-sold-product-stats > div { min-width: 0; padding: 10px 7px 0 0; }
.lgkol-sold-product-stats > div + div { padding-left: 7px; border-left: 1px solid #dcdcdc; }
.lgkol-sold-product-stats span {
  display: block;
  margin-bottom: 5px;
  color: #666;
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.lgkol-sold-product-stats strong {
  display: block;
  overflow: hidden;
  color: #000;
  font-size: 13px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 650;
}

.lgkol-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border: 1px solid #000;
  border-radius: 0;
  background: #fff;
  color: #000;
  font-style: normal;
  font-size: 10px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.lgkol-badge.is-paid,
.lgkol-badge.is-active { background: #000; color: #fff; }
.lgkol-badge.is-approved { background: #f1f1f1; color: #000; }
.lgkol-badge.is-pending { background: #fff; color: #000; border-style: dashed; }
.lgkol-badge.is-rejected,
.lgkol-badge.is-inactive { background: #fff; color: #666; border-color: #999; }

.lgkol-guide-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.lgkol-guide-grid div { padding: 14px; border: 1px solid #000; background: #fff; }
.lgkol-guide-grid strong { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; background: #000; color: #fff; margin-bottom: 10px; font-size: 12px; }
.lgkol-guide-grid span { display: block; color: #666; font-size: 13px; line-height: 1.5; }

.lgkol-payouts { margin-top: 16px; border-top: 1px solid #000; padding-top: 14px; }
.lgkol-payouts h3,
.lgkol-panel h3 { margin: 18px 0 10px; color: #000; font-size: 15px; font-weight: 650; letter-spacing: -.01em; }
.lgkol-payouts div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid #dcdcdc; }
.lgkol-payouts div:last-child { border-bottom: 0; }

.lgkol-empty,
.lgkol-error,
.lgkol-success {
  padding: 16px;
  border: 1px solid #000;
  color: #666;
  background: #fff;
}
.lgkol-error { color: #000; background: #f5f5f5; }
.lgkol-success { color: #000; background: #f5f5f5; }

.lgkol-login-card { max-width: 470px; margin: 34px auto; padding: 28px; }
.lgkol-login-card h2 { margin-bottom: 9px; font-size: 30px; }
.lgkol-login-card p.lgkol-login-intro { margin: 0 0 18px; color: #666; font-size: 14px; line-height: 1.6; }

.lgkol-login-card label,
.lgkol-panel label,
.lgkol-settings-form label {
  display: block;
  margin: 0 0 14px;
  color: #666;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.lgkol-login-card label input,
.lgkol-panel label input,
.lgkol-panel label select,
.lgkol-panel label textarea,
.lgkol-settings-form label input,
.lgkol-settings-form label select { margin-top: 7px; text-transform: none; letter-spacing: normal; font-size: 13px; }

.lgkol-check,
.lgkol-settings-form label:has(input[type="checkbox"]) {
  display: flex !important;
  align-items: center;
  gap: 8px;
  text-transform: none !important;
  letter-spacing: normal !important;
  color: #000 !important;
  font-size: 12px !important;
}
.lgkol-check input,
.lgkol-settings-form input[type="checkbox"] { width: auto !important; min-height: auto !important; margin: 0 !important; }

.lgkol-login-links { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.lgkol-login-links a,
.lgkol-login-links span { color: #666 !important; font-size: 12px; text-decoration: none !important; }
.lgkol-login-links a:hover { color: #000 !important; text-decoration: underline !important; }

.lgkol-admin-wrap { margin-top: 20px; }
.lgkol-admin-grid { display: grid; grid-template-columns: 380px 1fr; gap: 18px; align-items: start; }
.lgkol-panel { padding: 18px; }
.lgkol-table-scroll { overflow-x: auto; }
.lgkol-admin-table code { white-space: nowrap; }
.lgkol-inline-form { display: flex; gap: 8px; align-items: center; }
.lgkol-inline-form select { min-width: 120px; }
.lgkol-admin-wrap table.widefat { border: 1px solid #000; box-shadow: none; }
.lgkol-admin-wrap table.widefat th { color: #000; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.lgkol-admin-wrap table.widefat td { vertical-align: middle; }
.lgkol-admin-wrap code { background: #f5f5f5; color: #000; border: 1px solid #dcdcdc; padding: 2px 5px; }


/* v1.5 — Inline commission status control + non-cropped product reporting */
.lgkol-commission-table td:last-child { min-width: 210px; }
.lgkol-inline-form {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  margin: 0 0 6px;
}
.lgkol-inline-form:last-child { margin-bottom: 0; }
.lgkol-inline-form select {
  min-width: 116px;
  min-height: 32px;
  padding: 4px 28px 4px 8px;
  border: 1px solid #000;
  border-radius: 0;
  background: #fff;
  color: #000;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.lgkol-inline-form .button { margin: 0 !important; }
.lgkol-inline-form--paid .button {
  background: #000 !important;
  color: #fff !important;
}

@media (max-width: 1100px) {
  .lgkol-admin-stat-grid { grid-template-columns: repeat(3, 1fr); }
  .lgkol-admin-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .lgkol-hero-card { grid-template-columns: 1fr; }
  .lgkol-guide-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 782px) {
  .lgkol-dashboard { width: calc(100% + 16px); margin: 0 -8px; border-left: 0; border-right: 0; padding: 12px 10px 28px; }
  .lgkol-card,
  .lgkol-hero-card { padding: 14px; }
  .lgkol-topbar { align-items: flex-start; }
  .lgkol-logout { min-height: 34px; padding: 0 12px; font-size: 10px !important; }
  .lgkol-tabs { gap: 7px; padding-bottom: 14px; }
  .lgkol-tabs a { min-height: 36px; padding: 0 13px; font-size: 10px; }
  .lgkol-copy-grid,
  .lgkol-profile-grid,
  .lgkol-insight-grid { grid-template-columns: 1fr 1fr; }
  .lgkol-copy-box { padding: 12px; }
  .lgkol-copy-box button { width: 100%; min-height: 34px; font-size: 10px !important; }
  .lgkol-metrics { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .lgkol-metric { min-height: 98px; padding: 13px; }
  .lgkol-status-strip { grid-template-columns: repeat(2, 1fr); }
  .lgkol-status-strip div { border-bottom: 1px solid #000; }
  .lgkol-section-head { flex-direction: column; gap: 6px; }
  .lgkol-section-head > span { text-align: left; }
  .lgkol-product-row { grid-template-columns: 68px 1fr; }
  .lgkol-sold-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lgkol-product-img { width: 68px; height: 68px; }
  .lgkol-commission-row,
  .lgkol-click-row { grid-template-columns: 1fr; }
  .lgkol-commission-row > div:last-child { text-align: left; }
  .lgkol-click-row > div:last-child { border-left: 0; padding-left: 0; }
  .lgkol-guide-grid { grid-template-columns: 1fr; }
  .lgkol-date-form { flex-wrap: wrap; }
  .lgkol-login-card { margin: 20px auto; }
}

@media (max-width: 520px) {
  .lgkol-copy-grid,
  .lgkol-profile-grid,
  .lgkol-insight-grid,
  .lgkol-admin-stat-grid { grid-template-columns: 1fr; }
  .lgkol-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lgkol-sold-product-content { padding: 11px; }
  .lgkol-sold-product-content h3 { min-height: 0; font-size: 13px; }
  .lgkol-metric strong { font-size: 24px; }
  .lgkol-topbar { flex-direction: column; }
}


/* v1.6 — Public KOL application flow */
.lgkol-guest-portal {
  width: min(1180px, 100%);
  margin: 24px auto;
  padding: 18px;
  border: 1px solid #000;
  background: #fff;
  color: #000;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}
.lgkol-access-intro { padding: 4px 0 20px; border-bottom: 1px solid #000; }
.lgkol-access-intro h1 { margin: 0 0 10px; color: #000; font-size: clamp(30px, 4.8vw, 52px); line-height: .98; letter-spacing: -.055em; font-weight: 650; }
.lgkol-access-intro p:last-child { max-width: 620px; margin: 0; color: #666; font-size: 14px; line-height: 1.65; }
.lgkol-access-grid { display: grid; grid-template-columns: minmax(300px, .78fr) minmax(420px, 1.22fr); gap: 16px; align-items: start; }
.lgkol-access-grid .lgkol-login-card,
.lgkol-access-grid .lgkol-register-card { max-width: none; margin: 16px 0 0; min-width: 0; }
.lgkol-register-card {
  padding: 28px;
  border: 1px solid #000;
  background: #fff;
  color: #000;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}
.lgkol-register-card h2 { margin: 0 0 9px; color: #000; font-size: 30px; line-height: 1.05; letter-spacing: -.045em; font-weight: 600; }
.lgkol-register-card .lgkol-login-intro { margin: 0 0 18px; color: #666; font-size: 14px; line-height: 1.6; }
.lgkol-register-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.lgkol-register-form label { display: block; min-width: 0; margin: 0; color: #666; font-size: 10px; line-height: 1.35; letter-spacing: .12em; text-transform: uppercase; }
.lgkol-register-form label b { color: #000; font-weight: 700; }
.lgkol-register-form label small { display: block; margin-top: 4px; color: #666; font-size: 10px; line-height: 1.35; letter-spacing: normal; text-transform: none; }
.lgkol-register-form input,
.lgkol-register-form select,
.lgkol-register-form textarea {
  width: 100%;
  min-height: 42px;
  margin-top: 7px;
  padding: 10px 12px;
  border: 1px solid #000;
  border-radius: 0;
  background: #fff;
  color: #000;
  font-size: 13px;
  letter-spacing: normal;
  line-height: 1.4;
  outline: none;
  box-shadow: none;
  text-transform: none;
}
.lgkol-register-form textarea { min-height: 92px; resize: vertical; }
.lgkol-register-form input:focus,
.lgkol-register-form select:focus,
.lgkol-register-form textarea:focus { box-shadow: inset 0 0 0 1px #000; }
.lgkol-register-form .lgkol-form-wide,
.lgkol-register-form .lgkol-form-section { grid-column: 1 / -1; }
.lgkol-form-section { display: flex; flex-direction: column; gap: 5px; padding: 15px 0 2px; border-top: 1px solid #000; color: #000; }
.lgkol-form-section strong { color: #000; font-size: 13px; letter-spacing: .01em; font-weight: 650; }
.lgkol-form-section span { color: #666; font-size: 12px; line-height: 1.45; }
.lgkol-register-form .lgkol-check { display: flex; align-items: flex-start; gap: 9px; color: #000; font-size: 12px; line-height: 1.5; letter-spacing: normal; text-transform: none; }
.lgkol-register-form .lgkol-check input { width: auto; min-height: auto; margin: 2px 0 0; }
.lgkol-register-form .lgkol-btn { width: 100%; }
.lgkol-hp { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(1px, 1px, 1px, 1px) !important; white-space: nowrap !important; }
.lgkol-admin-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.lgkol-admin-tabs a { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 0 11px; border: 1px solid #000; background: #fff; color: #000 !important; font-size: 10px; line-height: 1; letter-spacing: .08em; text-decoration: none !important; text-transform: uppercase; }
.lgkol-admin-tabs a.is-active { background: #000; color: #fff !important; }
.lgkol-admin-tabs strong { font-size: 11px; }
.lgkol-application-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.lgkol-application-summary > div { padding: 11px; border: 1px solid #000; }
.lgkol-application-summary span { display: block; color: #666; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.lgkol-application-summary strong { display: block; margin-top: 7px; color: #000; font-size: 13px; line-height: 1.35; font-weight: 650; }
.lgkol-admin-rule { height: 0; margin: 22px 0; border: 0; border-top: 1px solid #000; }
.lgkol-badge.is-in_review { background: #f1f1f1; color: #000; border-style: dashed; }

@media (max-width: 900px) {
  .lgkol-access-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .lgkol-guest-portal { width: calc(100% + 16px); margin: 0 -8px; padding: 12px 10px 28px; border-left: 0; border-right: 0; }
  .lgkol-access-intro { padding: 4px 4px 16px; }
  .lgkol-register-card { padding: 18px 14px; }
  .lgkol-register-form { grid-template-columns: 1fr; gap: 12px; }
  .lgkol-register-form .lgkol-form-wide,
  .lgkol-register-form .lgkol-form-section { grid-column: auto; }
  .lgkol-application-summary { grid-template-columns: 1fr; }
}

/* v1.6.1 — Keep the public KOL application out of the way until requested. */
.lgkol-access-grid--login-only {
  grid-template-columns: minmax(300px, 470px);
  justify-content: center;
}
.lgkol-access-grid--login-only .lgkol-login-card {
  width: 100%;
}
.lgkol-register-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 16px;
  padding: 18px;
  border: 1px solid #000;
  background: #f7f7f7;
}
.lgkol-register-cta > div { min-width: 0; }
.lgkol-register-cta span {
  display: block;
  margin-bottom: 7px;
  color: #666;
  font-size: 10px;
  line-height: 1.35;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.lgkol-register-cta strong {
  display: block;
  color: #000;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 650;
}
.lgkol-register-cta p {
  max-width: 720px;
  margin: 7px 0 0;
  color: #666;
  font-size: 12px;
  line-height: 1.5;
}
.lgkol-register-cta .lgkol-btn { flex: 0 0 auto; }

.lgkol-register-drawer {
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  visibility: hidden;
  transition: max-height .5s ease, margin-top .25s ease, opacity .22s ease, transform .25s ease, visibility 0s linear .5s;
}
.lgkol-register-drawer.is-open,
.lgkol-register-drawer:target {
  max-height: 3600px;
  margin-top: 16px;
  overflow: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
  transition: max-height .65s ease, margin-top .25s ease, opacity .22s ease, transform .25s ease, visibility 0s linear 0s;
}
.lgkol-register-drawer .lgkol-register-card { margin: 0; }
.lgkol-register-trigger[aria-expanded="true"] { background: #fff !important; color: #000 !important; }

@media (max-width: 640px) {
  .lgkol-register-cta {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
    padding: 15px;
  }
  .lgkol-register-cta .lgkol-btn { width: 100%; }
  .lgkol-register-drawer.is-open,
  .lgkol-register-drawer:target { max-height: 5200px; }
}

@media (prefers-reduced-motion: reduce) {
  .lgkol-register-drawer { transition: none; }
}


/* Admin action centre */
.lgkol-admin-action-queue {
  margin: 0 0 18px;
  padding: 16px;
  border: 1px solid #000;
  background: #fff;
}
.lgkol-admin-action-queue__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #000;
}
.lgkol-admin-action-queue__head h2 {
  margin: 0;
  color: #000;
  font-size: 20px;
  line-height: 1.05;
  letter-spacing: -.035em;
}
.lgkol-admin-action-queue__head > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid #000;
  background: #000;
  color: #fff;
  font-size: 11px;
  letter-spacing: .08em;
  line-height: 1;
  text-transform: uppercase;
}
.lgkol-admin-action-queue__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.lgkol-admin-action-card {
  display: flex;
  min-width: 0;
  min-height: 150px;
  padding: 14px;
  flex-direction: column;
  border: 1px solid #000;
  background: #fff;
  color: #000 !important;
  text-decoration: none !important;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.lgkol-admin-action-card:hover {
  transform: translateY(-1px);
  background: #000;
  color: #fff !important;
}
.lgkol-admin-action-card span,
.lgkol-admin-action-card small,
.lgkol-admin-action-card b {
  display: block;
  color: inherit;
}
.lgkol-admin-action-card span {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .12em;
  line-height: 1.35;
  text-transform: uppercase;
}
.lgkol-admin-action-card strong {
  display: block;
  margin: 8px 0 7px;
  color: inherit;
  font-size: 36px;
  line-height: .9;
  letter-spacing: -.055em;
}
.lgkol-admin-action-card small {
  font-size: 11px;
  line-height: 1.45;
  opacity: .74;
}
.lgkol-admin-action-card b {
  margin-top: auto;
  padding-top: 15px;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.lgkol-admin-action-queue__empty {
  padding: 20px 0 4px;
  color: #666;
  font-size: 13px;
}
@media (max-width: 920px) {
  .lgkol-admin-action-queue__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 540px) {
  .lgkol-admin-action-queue { padding: 13px; }
  .lgkol-admin-action-queue__grid { grid-template-columns: 1fr; }
  .lgkol-admin-action-card { min-height: 132px; }
}

/* v1.8 — Brand commission controls */
.lgkol-brand-taxonomy-picker{display:flex;align-items:center;gap:10px;margin:18px 0}.lgkol-brand-taxonomy-picker label{display:flex;align-items:center;gap:10px;font-weight:600}.lgkol-brand-taxonomy-picker select{min-width:280px}
.lgkol-brand-rate-form,.lgkol-brand-rebuild-form{margin-top:18px}.lgkol-brand-rate-header,.lgkol-brand-rate-footer,.lgkol-brand-rebuild-form{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.lgkol-brand-rate-header p,.lgkol-brand-rebuild-form p{margin:6px 0 0;color:#646970}.lgkol-brand-rate-table input[type=number]{width:170px;max-width:100%}.lgkol-brand-rebuild-form{align-items:center}.lgkol-sold-product-brand{display:block;margin:-3px 0 10px;font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:#555;font-weight:700}
@media(max-width:782px){.lgkol-brand-taxonomy-picker label{display:grid;gap:8px}.lgkol-brand-taxonomy-picker select{min-width:0;width:100%}.lgkol-brand-rate-header,.lgkol-brand-rebuild-form{display:grid}.lgkol-brand-rate-header .button,.lgkol-brand-rebuild-form .button{width:100%;text-align:center}.lgkol-brand-rate-table input[type=number]{width:130px}}


/* v1.9.1 — Per-KOL brand commission controls */
.lgkol-affiliate-brand-panel { grid-column: 1 / -1; }
.lgkol-brand-new-fields { grid-column: 1 / -1; margin: 2px 0 4px; border: 1px solid #000; background: #fff; }
.lgkol-brand-new-fields > summary { cursor: pointer; padding: 12px 13px; color: #000; font-size: 11px; font-weight: 700; letter-spacing: .075em; text-transform: uppercase; }
.lgkol-brand-new-fields > summary small { color: #666; font-size: 10px; font-weight: 500; letter-spacing: .04em; text-transform: none; }
.lgkol-brand-new-fields[open] > summary { border-bottom: 1px solid #000; }
.lgkol-brand-new-fields > p { margin: 12px 13px; }
.lgkol-brand-new-fields .lgkol-table-scroll { margin: 0 13px 13px; }
.lgkol-affiliate-brand-panel .lgkol-brand-rate-form { margin-top: 14px; }
.lgkol-affiliate-brand-panel .lgkol-brand-rebuild-form { margin-top: 14px; padding-top: 14px; border-top: 1px solid #000; }
@media (max-width: 782px) {
  .lgkol-affiliate-brand-panel, .lgkol-brand-new-fields { grid-column: auto; }
}


/* v1.10 — Product-specific KOL links and per-link performance */
.lgkol-product-link-card .lgkol-section-head > div { min-width: 0; }
.lgkol-product-link-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 10px;
  margin: 0 0 14px;
  padding: 14px;
  border: 1px solid #000;
  background: #f7f7f7;
}
.lgkol-product-link-form label {
  display: block;
  margin: 0;
  color: #666;
  font-size: 10px;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.lgkol-product-link-form input {
  display: block;
  width: 100%;
  min-height: 42px;
  margin-top: 7px;
  padding: 10px 12px;
  border: 1px solid #000;
  border-radius: 0;
  background: #fff;
  color: #000;
  font-size: 13px;
  letter-spacing: normal;
  outline: none;
}
.lgkol-product-link-form input:focus { box-shadow: inset 0 0 0 1px #000; }
.lgkol-product-link-form .lgkol-btn { min-width: 156px; }
.lgkol-generated-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 14px;
  padding: 14px;
  border: 1px solid #000;
  background: #fff;
}
.lgkol-generated-link > div { min-width: 0; }
.lgkol-generated-link span,
.lgkol-product-link-url span,
.lgkol-product-link-stats span {
  display: block;
  color: #666;
  font-size: 9px;
  letter-spacing: .1em;
  line-height: 1.35;
  text-transform: uppercase;
}
.lgkol-generated-link strong,
.lgkol-product-link-url strong {
  display: block;
  max-width: 720px;
  margin-top: 6px;
  overflow: hidden;
  color: #000;
  font-size: 12px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lgkol-generated-link button,
.lgkol-product-link-url button {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #000;
  border-radius: 0;
  background: #000;
  color: #fff;
  cursor: pointer;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1;
  text-transform: uppercase;
}
.lgkol-product-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.lgkol-product-link-item {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  min-width: 0;
  border: 1px solid #000;
  background: #fff;
}
.lgkol-product-link-image {
  display: flex;
  min-height: 100%;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border-right: 1px solid #000;
  background: #f7f7f7;
}
.lgkol-product-link-image img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 210px;
  object-fit: contain;
  object-position: center;
}
.lgkol-product-link-image span { color: #666; font-size: 10px; letter-spacing: .08em; }
.lgkol-product-link-content { min-width: 0; padding: 13px; }
.lgkol-product-link-content h3 {
  min-height: 36px;
  margin: 0 0 12px;
  color: #000;
  font-size: 15px;
  line-height: 1.3;
  font-weight: 650;
}
.lgkol-product-link-content h3 a { color: #000 !important; text-decoration: none !important; }
.lgkol-product-link-content h3 a:hover { text-decoration: underline !important; }
.lgkol-product-link-url {
  min-width: 0;
  margin-bottom: 12px;
  padding: 10px;
  border: 1px solid #dcdcdc;
  background: #fff;
}
.lgkol-product-link-url strong { font-size: 11px; }
.lgkol-product-link-url button { width: 100%; margin-top: 9px; }
.lgkol-product-link-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid #000;
}
.lgkol-product-link-stats > div { min-width: 0; padding: 10px 6px 0 0; }
.lgkol-product-link-stats > div + div { padding-left: 6px; border-left: 1px solid #dcdcdc; }
.lgkol-product-link-stats strong {
  display: block;
  margin-top: 5px;
  overflow: hidden;
  color: #000;
  font-size: 12px;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 650;
}
@media (max-width: 920px) {
  .lgkol-product-link-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .lgkol-product-link-form { grid-template-columns: 1fr; padding: 12px; }
  .lgkol-product-link-form .lgkol-btn { width: 100%; }
  .lgkol-generated-link { align-items: stretch; flex-direction: column; }
  .lgkol-generated-link button { width: 100%; }
  .lgkol-product-link-item { grid-template-columns: 104px minmax(0, 1fr); }
  .lgkol-product-link-image { padding: 8px; }
  .lgkol-product-link-image img { max-height: 175px; }
  .lgkol-product-link-content { padding: 11px; }
  .lgkol-product-link-content h3 { min-height: 0; font-size: 13px; }
  .lgkol-product-link-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 9px; }
  .lgkol-product-link-stats > div:nth-child(4) { border-left: 0; padding-left: 0; }
  .lgkol-product-link-stats > div:nth-child(4),
  .lgkol-product-link-stats > div:nth-child(5) { padding-top: 8px; border-top: 1px solid #dcdcdc; }
}

/* v1.11 — cleaner Vietnamese UI */
.lgkol-dashboard,
.lgkol-login-card,
.lgkol-register-card,
.lgkol-admin-wrap {
  --lgkol-line: #ececec;
  --lgkol-line-dark: #111111;
  --lgkol-card-2: #fafafa;
  --lgkol-muted: #757575;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

.lgkol-dashboard {
  border: 0;
  padding: 0;
  max-width: 1180px;
}

.lgkol-mobile-shell {
  display: grid;
  gap: 14px;
}

.lgkol-topbar,
.lgkol-section-head,
.lgkol-edit-head {
  align-items: center;
}

.lgkol-topbar { margin-bottom: 4px; }
.lgkol-eyebrow {
  margin-bottom: 6px;
  font-size: 10px;
  letter-spacing: .14em;
  color: #888;
}
.lgkol-topbar h1 { font-size: clamp(26px, 4vw, 42px); letter-spacing: -.04em; }
.lgkol-section-head h2 { font-size: clamp(18px, 2.7vw, 26px); letter-spacing: -.03em; }
.lgkol-subtitle, .lgkol-section-head > span, .lgkol-admin-hint { font-size: 12px; color: #8a8a8a; }

.lgkol-card,
.lgkol-login-card,
.lgkol-panel,
.lgkol-hero-card,
.lgkol-status-strip,
.lgkol-register-card,
.lgkol-guest-portal,
.lgkol-generated-link,
.lgkol-product-link-item,
.lgkol-sold-product-card,
.lgkol-admin-action-queue,
.lgkol-admin-action-card,
.lgkol-register-cta {
  border: 1px solid #ececec;
  border-radius: 16px;
  box-shadow: none;
}

.lgkol-card,
.lgkol-panel,
.lgkol-login-card,
.lgkol-register-card { padding: 18px; }
.lgkol-card { margin-bottom: 0; }
.lgkol-hero-card {
  grid-template-columns: minmax(250px, .8fr) minmax(0, 1.2fr);
  padding: 18px;
  gap: 12px;
}
.lgkol-hero-main strong { margin: 6px 0 0; font-size: clamp(28px, 4vw, 44px); }
.lgkol-hero-main p,
.lgkol-login-card p.lgkol-login-intro,
.lgkol-register-cta p { margin: 0; font-size: 13px; color: #666; }

.lgkol-copy-grid,
.lgkol-profile-grid,
.lgkol-insight-grid,
.lgkol-admin-stat-grid,
.lgkol-metrics,
.lgkol-sold-product-grid,
.lgkol-product-link-grid {
  gap: 12px;
}

.lgkol-copy-box,
.lgkol-profile-grid > div,
.lgkol-insight-grid > div,
.lgkol-admin-stat-grid > div,
.lgkol-metric,
.lgkol-product-row,
.lgkol-commission-row,
.lgkol-click-row,
.lgkol-guide-grid div,
.lgkol-product-link-form,
.lgkol-product-link-url,
.lgkol-admin-wrap table.widefat,
.lgkol-admin-wrap code,
.lgkol-empty,
.lgkol-error,
.lgkol-success,
.lgkol-application-summary > div,
.lgkol-brand-new-fields,
.lgkol-brand-new-fields[open] > summary,
.lgkol-brand-new-fields > summary,
.lgkol-register-form input,
.lgkol-register-form select,
.lgkol-register-form textarea,
.lgkol-date-form input,
.lgkol-login-card input,
.lgkol-admin-wrap input,
.lgkol-admin-wrap select,
.lgkol-admin-wrap textarea,
.lgkol-sold-product-image,
.lgkol-product-link-image {
  border-color: #ececec;
}

.lgkol-copy-box,
.lgkol-profile-grid > div,
.lgkol-insight-grid > div,
.lgkol-admin-stat-grid > div,
.lgkol-metric {
  border: 1px solid #ececec;
  border-radius: 14px;
  padding: 14px;
  background: #fff;
}
.lgkol-copy-box strong,
.lgkol-profile-grid strong,
.lgkol-insight-grid strong,
.lgkol-admin-stat-grid strong { margin: 6px 0 0; white-space: normal; }
.lgkol-copy-box button,
.lgkol-generated-link button,
.lgkol-product-link-url button { margin-top: 10px; }

.lgkol-tabs { padding-bottom: 2px; gap: 10px; }
.lgkol-tabs a {
  min-height: 36px;
  border: 1px solid #ececec;
  border-radius: 999px;
  padding: 0 14px;
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: none;
}
.lgkol-tabs a.is-active { background: #111; color:#fff !important; border-color:#111; }

.lgkol-logout,
.lgkol-btn,
.lgkol-date-form button,
.lgkol-copy-box button,
.lgkol-login-card button,
.lgkol-admin-wrap .button-primary,
.lgkol-admin-wrap input[type="submit"].button-primary,
.lgkol-generated-link button,
.lgkol-product-link-url button {
  min-height: 40px;
  border-radius: 999px !important;
  padding: 0 16px;
  font-size: 11px !important;
  letter-spacing: .04em;
}
.lgkol-admin-wrap .button,
.lgkol-admin-wrap input[type="submit"].button-secondary,
.lgkol-admin-wrap input[type="submit"].button,
.lgkol-btn-outline {
  border-radius: 999px !important;
  border-color: #e5e5e5 !important;
}
.lgkol-btn-outline { background: #fff !important; }

.lgkol-date-form input,
.lgkol-login-card input,
.lgkol-admin-wrap input,
.lgkol-admin-wrap select,
.lgkol-admin-wrap textarea,
.lgkol-product-link-form input,
.lgkol-register-form input,
.lgkol-register-form select,
.lgkol-register-form textarea {
  min-height: 44px;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 10px 14px;
}

.lgkol-metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lgkol-metric { min-height: 0; }
.lgkol-metric strong { margin-top: 8px; font-size: clamp(22px, 3vw, 32px); }
.lgkol-metric small { display: none; }

.lgkol-status-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  background: transparent;
  border: 0;
  padding: 0;
  margin-bottom: 0;
}
.lgkol-status-strip > div {
  border: 1px solid #ececec;
  border-radius: 14px;
  padding: 14px;
  background: #fff;
}
.lgkol-status-strip div { border-right: 0; }
.lgkol-status-strip strong { margin: 8px 0 0; font-size: 24px; }
.lgkol-status-strip small { display: none; }

.lgkol-chart {
  border: 1px solid #ececec;
  border-radius: 16px;
  padding: 10px;
}
.lgkol-chart .grid { stroke: #efefef; stroke-dasharray: 4 8; }
.lgkol-chart .line { stroke: #111; stroke-width: 2.2; }

.lgkol-product-row,
.lgkol-commission-row,
.lgkol-click-row,
.lgkol-product-link-item,
.lgkol-sold-product-card {
  border: 1px solid #ececec;
  border-radius: 16px;
  background: #fff;
}
.lgkol-product-main strong,
.lgkol-click-row strong,
.lgkol-commission-row strong,
.lgkol-sold-product-content h3,
.lgkol-product-link-content h3 { font-size: 14px; font-weight: 600; }
.lgkol-click-row > div:last-child { border-left: 1px solid #f0f0f0; }

.lgkol-sold-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lgkol-sold-product-image,
.lgkol-product-link-image {
  background: #fafafa;
}
.lgkol-sold-product-content,
.lgkol-product-link-content { padding: 14px; }
.lgkol-sold-product-date,
.lgkol-sold-product-brand,
.lgkol-product-link-url span,
.lgkol-product-link-stats span { color: #888; }
.lgkol-sold-product-stats,
.lgkol-product-link-stats {
  border-top: 1px solid #f1f1f1;
}
.lgkol-sold-product-stats > div + div,
.lgkol-product-link-stats > div + div { border-left-color: #f1f1f1; }

.lgkol-product-link-form {
  border: 1px solid #f0f0f0;
  border-radius: 14px;
  background: #fafafa;
}
.lgkol-generated-link {
  border-color: #ececec;
  padding: 14px 16px;
}
.lgkol-generated-link strong,
.lgkol-product-link-url strong {
  max-width: none;
  font-size: 12px;
  white-space: normal;
  word-break: break-all;
}
.lgkol-product-link-url {
  border-radius: 12px;
  background: #fafafa;
  padding: 12px;
}

.lgkol-login-card,
.lgkol-register-card,
.lgkol-guest-portal {
  border-color: #ececec;
}
.lgkol-guest-portal {
  width: 100%;
  padding: 18px;
  background: #fff;
}
.lgkol-access-intro { margin-bottom: 14px; }
.lgkol-register-cta {
  margin-top: 10px;
  padding: 16px;
  background: #fafafa;
}
.lgkol-register-cta p { display:none; }
.lgkol-register-cta strong { font-size: 15px; }
.lgkol-register-form { gap: 14px; }
.lgkol-form-section {
  padding-top: 4px;
  border-top: 0;
}
.lgkol-form-section span,
.lgkol-register-form label small { display: none; }

.lgkol-guide-card .lgkol-guide-grid { display:none; }
.lgkol-payouts { margin-top: 0; padding-top: 0; border-top: 0; }
.lgkol-payouts h3 { margin-top: 0; font-size: 14px; }
.lgkol-payouts div { border-bottom-color: #f1f1f1; }

.lgkol-badge {
  min-height: 24px;
  border-color: #e4e4e4;
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: .05em;
}
.lgkol-badge.is-approved { background: #f6f6f6; }
.lgkol-badge.is-pending { border-style: solid; background: #fff; }

.lgkol-empty,
.lgkol-error,
.lgkol-success {
  border-radius: 14px;
  padding: 14px;
  background: #fafafa;
}

.lgkol-admin-wrap table.widefat,
.lgkol-admin-wrap .widefat td,
.lgkol-admin-wrap .widefat th {
  border-color: #ececec;
}
.lgkol-admin-action-card:hover {
  transform: translateY(-1px);
  background: #f8f8f8;
  color: #000 !important;
}

@media (max-width: 960px) {
  .lgkol-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lgkol-sold-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lgkol-hero-card { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .lgkol-metrics,
  .lgkol-status-strip,
  .lgkol-copy-grid,
  .lgkol-profile-grid,
  .lgkol-insight-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lgkol-sold-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lgkol-commission-row,
  .lgkol-click-row { grid-template-columns: 1fr; }
  .lgkol-click-row > div:last-child { border-left: 0; padding-left: 0; border-top: 1px solid #f0f0f0; padding-top: 10px; }
}
@media (max-width: 560px) {
  .lgkol-dashboard { padding: 0; }
  .lgkol-guest-portal { padding: 14px; border-radius: 18px; }
  .lgkol-card,
  .lgkol-panel,
  .lgkol-login-card,
  .lgkol-register-card,
  .lgkol-hero-card { padding: 14px; }
  .lgkol-metrics,
  .lgkol-status-strip,
  .lgkol-copy-grid,
  .lgkol-profile-grid,
  .lgkol-insight-grid,
  .lgkol-sold-product-grid { grid-template-columns: 1fr; }
  .lgkol-topbar { align-items: flex-start; }
  .lgkol-topbar h1 { font-size: 28px; }
}
