.gkcp-public-section,
.gkcp-portal,
.gkcp-permission-denied {
  --gkcp-ink: #111111;
  --gkcp-charcoal: #181717;
  --gkcp-muted: #716d6d;
  --gkcp-line: #ded8d6;
  --gkcp-surface: #f5f2f1;
  --gkcp-white: #ffffff;
  --gkcp-rose: #e89796;
  --gkcp-rose-dark: #b96464;
  --gkcp-amber: #dc9b43;
  --gkcp-blue: #5b7fa5;
  --gkcp-green: #4f8a70;
  box-sizing: border-box;
  font-family: Inter, "Helvetica Neue", sans-serif;
}

.gkcp-public-section *,
.gkcp-portal *,
.gkcp-permission-denied * {
  box-sizing: border-box;
}

.gkcp-portal .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.gkcp-public-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(32px, 5vw, 80px);
  margin: 80px 0 32px;
  padding: clamp(32px, 5vw, 72px);
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(115deg, rgba(232, 151, 150, 0.1), transparent 44%),
    #111;
  border: 1px solid #272525;
  border-radius: 26px;
  box-shadow: 0 30px 70px rgba(17, 17, 17, 0.16);
  isolation: isolate;
}

.gkcp-public-section::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 170px;
  height: 4px;
  content: "";
  background: var(--gkcp-rose);
}

.gkcp-public-glow {
  position: absolute;
  z-index: -1;
  right: -110px;
  bottom: -180px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(232, 151, 150, 0.23), transparent 67%);
}

.gkcp-login-intro,
.gkcp-login-panel {
  position: relative;
  z-index: 1;
}

.gkcp-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.gkcp-brand-lockup > span:last-child {
  display: flex;
  flex-direction: column;
}

.gkcp-brand-lockup small {
  margin-top: 3px;
  color: var(--gkcp-rose);
  font-size: 9px;
  line-height: 1;
  letter-spacing: 0.2em;
}

.gkcp-brand-mark {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #171616;
  background: var(--gkcp-rose);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: -0.08em;
}

.gkcp-eyebrow {
  margin: 0 0 12px !important;
  color: var(--gkcp-rose);
  font-size: 11px !important;
  font-weight: 800;
  letter-spacing: 0.2em;
  line-height: 1.4 !important;
}

.gkcp-login-intro .gkcp-eyebrow {
  margin-top: clamp(44px, 7vw, 90px) !important;
}

.gkcp-login-intro h2 {
  max-width: 620px;
  margin: 0 0 18px !important;
  color: #fff !important;
  font-size: clamp(34px, 4.4vw, 64px) !important;
  font-weight: 650;
  letter-spacing: -0.05em;
  line-height: 1.02 !important;
}

.gkcp-login-intro > p:last-child {
  max-width: 560px;
  margin: 0 !important;
  color: #bdb8b7;
  font-size: 16px;
  line-height: 1.7;
}

.gkcp-login-panel {
  align-self: center;
  padding: clamp(26px, 4vw, 42px);
  color: var(--gkcp-ink);
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 18px;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.25);
}

.gkcp-login-kicker {
  margin: 0 0 7px !important;
  color: var(--gkcp-rose-dark);
  font-size: 10px !important;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.gkcp-login-panel h3 {
  margin: 0 0 24px !important;
  color: var(--gkcp-ink) !important;
  font-size: 28px !important;
  letter-spacing: -0.035em;
  line-height: 1.2 !important;
}

.gkcp-public-section.gkcp-public-section--compact {
  display: block;
  width: min(100%, 440px);
  margin: 56px auto 24px;
  padding: 0;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0, rgba(232, 151, 150, 0.18), transparent 35%),
    #111;
  border: 1px solid #272323;
  border-radius: 18px;
  box-shadow: 0 22px 55px rgba(17, 17, 17, 0.16);
}

.gkcp-public-section.gkcp-public-section--compact::before {
  width: 96px;
  height: 3px;
}

.gkcp-public-section--compact .gkcp-login-panel {
  padding: 28px;
  color: #fff;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.gkcp-compact-login-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 34px;
}

.gkcp-public-section--compact .gkcp-brand-mark {
  width: 36px;
  height: 36px;
  font-size: 10px;
}

.gkcp-public-section--compact .gkcp-brand-lockup {
  font-size: 11px;
}

.gkcp-compact-badge {
  padding: 6px 8px;
  color: var(--gkcp-rose);
  background: rgba(232, 151, 150, 0.08);
  border: 1px solid rgba(232, 151, 150, 0.25);
  border-radius: 999px;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.gkcp-public-section--compact .gkcp-login-kicker {
  margin-bottom: 6px !important;
  color: var(--gkcp-rose);
}

.gkcp-public-section--compact .gkcp-login-panel h2 {
  margin: 0 0 7px !important;
  color: #fff !important;
  font-size: 28px !important;
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 1.1 !important;
}

.gkcp-login-subtitle {
  margin: 0 0 22px !important;
  color: #aaa4a3;
  font-size: 12px;
  line-height: 1.5;
}

.gkcp-public-section--compact .gkcp-login-form label > span {
  color: #d8d3d2;
}

.gkcp-public-section--compact .gkcp-login-options {
  color: #9c9695;
}

.gkcp-public-section--compact .gkcp-login-form input[type="email"],
.gkcp-public-section--compact .gkcp-login-form input[type="password"] {
  min-height: 44px;
  background: #fff;
  border-color: #fff;
}

.gkcp-public-section--compact .gkcp-login-form {
  gap: 14px;
}

.gkcp-public-section--compact > .gkcp-login-panel > .gkcp-button {
  width: 100%;
  margin-top: 18px;
}

.gkcp-login-form,
.gkcp-concept-form {
  display: grid;
  gap: 17px;
}

.gkcp-login-form label,
.gkcp-concept-form > label,
.gkcp-form-row label {
  display: grid;
  gap: 7px;
  margin: 0;
}

.gkcp-login-form label > span,
.gkcp-concept-form label > span:first-child,
.gkcp-form-row label > span:first-child {
  color: #3a3737;
  font-size: 12px;
  font-weight: 700;
}

.gkcp-login-form input[type="text"],
.gkcp-login-form input[type="email"],
.gkcp-login-form input[type="password"],
.gkcp-concept-form input[type="text"],
.gkcp-concept-form input[type="email"],
.gkcp-concept-form input[type="password"],
.gkcp-concept-form input[type="url"],
.gkcp-concept-form input[type="date"],
.gkcp-concept-form select,
.gkcp-concept-form textarea,
.gkcp-search input {
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 12px 14px;
  color: var(--gkcp-ink);
  background: #fff;
  border: 1px solid #d8d2d0;
  border-radius: 8px;
  box-shadow: none;
  font: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.gkcp-login-form input:focus,
.gkcp-concept-form input:focus,
.gkcp-concept-form select:focus,
.gkcp-concept-form textarea:focus,
.gkcp-search input:focus {
  border-color: var(--gkcp-rose-dark);
  box-shadow: 0 0 0 3px rgba(232, 151, 150, 0.18);
}

.gkcp-concept-form textarea {
  min-height: 128px;
  resize: vertical;
}

.gkcp-login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #696464;
  font-size: 12px;
}

.gkcp-login-options a,
.gkcp-cancel-link {
  color: #5a5555;
  text-decoration: underline;
  text-decoration-color: #cbbfbc;
  text-underline-offset: 3px;
}

.gkcp-checkbox {
  display: inline-flex !important;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 7px !important;
  cursor: pointer;
}

.gkcp-checkbox input {
  width: 16px !important;
  height: 16px !important;
  min-height: 0 !important;
  margin: 0 !important;
  accent-color: var(--gkcp-rose-dark);
}

.gkcp-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 7px;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none !important;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.gkcp-button:hover {
  transform: translateY(-2px);
}

.gkcp-button--primary {
  color: #171515 !important;
  background: var(--gkcp-rose);
  box-shadow: 0 10px 24px rgba(185, 100, 100, 0.2);
}

.gkcp-button--primary:hover {
  color: #171515 !important;
  background: #f0aaa8;
}

.gkcp-button--ghost {
  color: #242020 !important;
  background: transparent;
  border-color: #cfc8c6;
}

.gkcp-alert {
  margin: 0 0 20px;
  padding: 13px 15px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.5;
}

.gkcp-alert--success {
  color: #25533e;
  background: #e8f4ed;
  border-color: #bddbc9;
}

.gkcp-alert--warning {
  color: #6d4618;
  background: #fff4df;
  border-color: #ecd3a3;
}

.gkcp-alert--error {
  color: #813d3d;
  background: #fff0ef;
  border-color: #efc9c7;
}

.gkcp-portal {
  width: min(1440px, calc(100vw - 32px));
  margin: 32px 50%;
  overflow: hidden;
  color: var(--gkcp-ink);
  background:
    radial-gradient(circle at 86% 8%, rgba(232, 151, 150, 0.18), transparent 28%),
    var(--gkcp-surface);
  border: 1px solid #e2dcda;
  border-radius: 30px;
  box-shadow: 0 38px 90px rgba(28, 23, 23, 0.12);
  transform: translateX(-50%);
}

.gkcp-portal-header {
  position: relative;
  padding: 26px clamp(28px, 5vw, 74px) 58px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 82% 20%, rgba(232, 151, 150, 0.24), transparent 24%),
    linear-gradient(130deg, #111 0%, #1c1919 68%, #211919 100%);
}

.gkcp-portal-header::after {
  position: absolute;
  right: -70px;
  bottom: -140px;
  width: 360px;
  height: 360px;
  content: "";
  border: 1px solid rgba(232, 151, 150, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 60px rgba(232, 151, 150, 0.035), 0 0 0 120px rgba(232, 151, 150, 0.02);
}

.gkcp-topbar,
.gkcp-hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.gkcp-topbar {
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.gkcp-portal-nav {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
}

.gkcp-portal-nav a {
  padding: 8px 16px;
  color: #bdb8b7 !important;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 750;
  text-decoration: none;
}

.gkcp-portal-nav a.is-active {
  color: #171515 !important;
  background: var(--gkcp-rose);
}

.gkcp-account {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #ddd8d7;
  font-size: 12px;
}

.gkcp-avatar {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #191616;
  background: var(--gkcp-rose);
  border-radius: 50%;
  font-weight: 800;
}

.gkcp-account a {
  margin-left: 8px;
  color: var(--gkcp-rose) !important;
  text-decoration: none;
}

.gkcp-hero-copy {
  align-items: flex-end;
  padding-top: clamp(50px, 7vw, 92px);
}

.gkcp-hero-copy h1 {
  max-width: 760px;
  margin: 0 0 16px !important;
  color: #fff !important;
  font-size: clamp(40px, 5vw, 72px) !important;
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.98 !important;
}

.gkcp-hero-copy > div > p:last-child {
  max-width: 630px;
  margin: 0 !important;
  color: #bcb7b6;
  font-size: 15px;
  line-height: 1.7;
}

.gkcp-portal-main {
  padding: clamp(24px, 4vw, 54px);
}

.gkcp-stats {
  display: grid;
  grid-template-columns: 1.3fr repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 30px;
}

.gkcp-stat {
  position: relative;
  min-height: 112px;
  padding: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid #e3dddb;
  border-radius: 14px;
}

.gkcp-stat::after {
  position: absolute;
  right: -20px;
  bottom: -30px;
  width: 80px;
  height: 80px;
  content: "";
  background: currentColor;
  border-radius: 50%;
  opacity: 0.08;
}

.gkcp-stat span {
  display: block;
  margin-bottom: 12px;
  color: #726d6c;
  font-size: 11px;
  font-weight: 700;
}

.gkcp-stat strong {
  color: var(--gkcp-ink);
  font-size: 30px;
  letter-spacing: -0.04em;
}

.gkcp-stat--total { color: var(--gkcp-rose-dark); }
.gkcp-stat--idee { color: var(--gkcp-rose); }
.gkcp-stat--in-uitwerking { color: var(--gkcp-amber); }
.gkcp-stat--review { color: var(--gkcp-blue); }
.gkcp-stat--afgerond { color: var(--gkcp-green); }

.gkcp-workspace {
  display: grid;
  grid-template-columns: minmax(310px, 390px) minmax(0, 1fr);
  align-items: start;
  gap: 28px;
}

.gkcp-workspace--viewer {
  grid-template-columns: 1fr;
}

.gkcp-workspace--viewer .gkcp-concept-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gkcp-editor {
  position: sticky;
  top: 28px;
  padding: 26px;
  background: #fff;
  border: 1px solid #ded8d6;
  border-radius: 18px;
  box-shadow: 0 20px 45px rgba(27, 22, 22, 0.06);
}

.gkcp-editor-heading {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e9e4e2;
}

.gkcp-editor h2,
.gkcp-library h2 {
  margin: 0 !important;
  color: var(--gkcp-ink) !important;
  font-size: 28px !important;
  letter-spacing: -0.04em;
  line-height: 1.15 !important;
}

.gkcp-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.gkcp-protect-check {
  align-items: flex-start;
  padding: 12px;
  background: #faf7f6;
  border: 1px solid #e4dcda;
  border-radius: 9px;
}

.gkcp-field-help,
.gkcp-owner-note,
.gkcp-no-members {
  margin: -10px 0 0 !important;
  color: #847d7b;
  font-size: 10px;
  line-height: 1.5;
}

.gkcp-owner-note {
  margin: 0 !important;
  padding: 13px;
  color: #66504f;
  background: #fff1f0;
  border-left: 3px solid var(--gkcp-rose);
}

.gkcp-access-picker {
  display: grid;
  gap: 8px;
}

.gkcp-field-label {
  color: #3a3737;
  font-size: 12px;
  font-weight: 700;
}

.gkcp-access-list {
  display: grid;
  max-height: 210px;
  gap: 7px;
  overflow-y: auto;
  padding: 7px;
  background: #faf8f7;
  border: 1px solid #e1dad8;
  border-radius: 10px;
}

.gkcp-access-option {
  display: grid !important;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px !important;
  margin: 0;
  padding: 9px;
  cursor: pointer;
  background: #fff;
  border: 1px solid #e8e2e0;
  border-radius: 8px;
}

.gkcp-access-option input {
  width: 17px !important;
  height: 17px !important;
  min-height: 0 !important;
  margin: 0 !important;
  accent-color: var(--gkcp-rose-dark);
}

.gkcp-access-option > span {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.gkcp-access-option strong {
  overflow: hidden;
  color: #292525;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gkcp-access-option small {
  overflow: hidden;
  color: #8a8381;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gkcp-upload {
  position: relative;
  cursor: pointer;
}

.gkcp-upload input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.gkcp-upload-box {
  display: flex !important;
  min-height: 80px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px;
  color: #4d4848 !important;
  background: #faf8f7;
  border: 1px dashed #cfc5c2;
  border-radius: 10px;
  text-align: center;
}

.gkcp-upload-box strong {
  font-size: 13px;
}

.gkcp-upload-box small {
  margin-top: 4px;
  color: #898281;
  font-size: 10px;
}

.gkcp-current-image {
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: center;
  gap: 12px;
}

.gkcp-current-image img {
  width: 64px;
  height: 50px;
  object-fit: cover;
  border-radius: 7px;
}

.gkcp-cancel-link {
  justify-self: center;
  font-size: 12px;
}

.gkcp-library {
  min-width: 0;
}

.gkcp-library-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.gkcp-search {
  position: relative;
  display: block;
  width: min(280px, 100%);
  margin: 0;
}

.gkcp-search > span:not(.screen-reader-text) {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 13px;
  color: #8c8584;
  font-size: 20px;
  transform: translateY(-50%) rotate(-20deg);
}

.gkcp-search input {
  min-height: 44px;
  padding-left: 40px;
  background: rgba(255, 255, 255, 0.9);
}

.gkcp-filters {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  overflow-x: auto;
  padding-bottom: 3px;
  scrollbar-width: none;
}

.gkcp-filters::-webkit-scrollbar { display: none; }

.gkcp-filters button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 8px 12px;
  color: #625d5c;
  background: transparent;
  border: 1px solid #d9d2d0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
}

.gkcp-filters button span {
  display: grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  padding: 0 5px;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 999px;
  font-size: 9px;
}

.gkcp-filters button.is-active {
  color: #171515;
  background: var(--gkcp-rose);
  border-color: var(--gkcp-rose);
}

.gkcp-concept-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.gkcp-concept-card {
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dfd9d7;
  border-radius: 16px;
  box-shadow: 0 16px 38px rgba(27, 22, 22, 0.05);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.gkcp-concept-card:hover {
  box-shadow: 0 22px 46px rgba(27, 22, 22, 0.09);
  transform: translateY(-3px);
}

.gkcp-concept-card[hidden] {
  display: none;
}

.gkcp-card-visual {
  position: relative;
  height: 170px;
  overflow: hidden;
  background: #211e1e;
}

.gkcp-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gkcp-card-visual--empty {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 24% 15%, rgba(232, 151, 150, 0.34), transparent 28%),
    linear-gradient(145deg, #111 0%, #292222 100%);
}

.gkcp-card-visual--empty > span:first-child {
  color: rgba(232, 151, 150, 0.68);
  font-size: 50px;
  font-weight: 800;
  letter-spacing: -0.08em;
}

.gkcp-status {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 7px 9px;
  color: #fff;
  background: #555;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.gkcp-status--idee { background: rgba(185, 100, 100, 0.92); }
.gkcp-status--in-uitwerking { background: rgba(177, 116, 32, 0.94); }
.gkcp-status--review { background: rgba(64, 97, 132, 0.94); }
.gkcp-status--afgerond { background: rgba(56, 116, 87, 0.94); }

.gkcp-card-content {
  padding: 19px;
}

.gkcp-card-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  color: #898280;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.gkcp-card-content h3 {
  margin: 0 0 9px !important;
  color: var(--gkcp-ink) !important;
  font-size: 20px !important;
  letter-spacing: -0.035em;
  line-height: 1.18 !important;
}

.gkcp-card-content > p {
  min-height: 54px;
  margin: 0 0 13px !important;
  color: #686261;
  font-size: 12px;
  line-height: 1.5;
}

.gkcp-due-date {
  margin-bottom: 13px;
  color: #665e5d;
  font-size: 10px;
  font-weight: 700;
}

.gkcp-due-date span { color: var(--gkcp-rose-dark); }

.gkcp-card-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-top: 13px;
  border-top: 1px solid #eee9e7;
}

.gkcp-card-actions form { margin: 0; }

.gkcp-card-actions a,
.gkcp-card-actions button {
  padding: 0;
  color: #292525;
  background: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
}

.gkcp-card-actions button { color: #a25353; }

.gkcp-card-actions .gkcp-card-open {
  color: var(--gkcp-rose-dark);
}

.gkcp-account-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.gkcp-account-stats > div {
  display: flex;
  min-height: 92px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid #e0d9d7;
  border-radius: 14px;
}

.gkcp-account-stats span {
  color: #77706f;
  font-size: 11px;
  font-weight: 700;
}

.gkcp-account-stats strong {
  color: #211d1d;
  font-size: 30px;
  letter-spacing: -0.05em;
}

.gkcp-users-layout {
  display: grid;
  grid-template-columns: minmax(310px, 380px) minmax(0, 1fr);
  align-items: start;
  gap: 28px;
}

.gkcp-user-library,
.gkcp-user-list {
  display: grid;
  min-width: 0;
  gap: 12px;
}

.gkcp-user-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid #ded7d5;
  border-radius: 14px;
  box-shadow: 0 14px 32px rgba(27, 22, 22, 0.045);
}

.gkcp-user-card summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 13px;
  padding: 16px;
  cursor: pointer;
  list-style: none;
}

.gkcp-user-card summary::-webkit-details-marker {
  display: none;
}

.gkcp-user-summary {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.gkcp-user-summary strong,
.gkcp-user-summary small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gkcp-user-summary strong {
  color: #211d1d;
  font-size: 13px;
}

.gkcp-user-summary small {
  color: #87807e;
  font-size: 10px;
}

.gkcp-user-access-count {
  color: #756e6d;
  font-size: 10px;
  font-weight: 700;
}

.gkcp-user-status {
  padding: 6px 9px;
  color: #7b7372;
  background: #eeeae9;
  border-radius: 999px;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.gkcp-user-status.is-active {
  color: #2d684d;
  background: #e6f2eb;
}

.gkcp-user-card-body {
  padding: 20px;
  border-top: 1px solid #ece7e5;
}

.gkcp-user-form {
  max-width: 720px;
}

.gkcp-delete-user {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid #eee8e6;
}

.gkcp-delete-user button {
  padding: 0;
  color: #a25353;
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-size: 10px;
  font-weight: 800;
}

.gkcp-empty-state,
.gkcp-no-results {
  grid-column: 1 / -1;
  padding: 55px 24px;
  color: #716a69;
  background: rgba(255, 255, 255, 0.72);
  border: 1px dashed #cdc4c1;
  border-radius: 16px;
  text-align: center;
}

.gkcp-empty-state > span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin: 0 auto 14px;
  color: #211d1d;
  background: var(--gkcp-rose);
  border-radius: 50%;
  font-size: 24px;
}

.gkcp-empty-state h3 {
  margin: 0 0 5px !important;
  color: #211d1d !important;
  font-size: 20px !important;
}

.gkcp-empty-state p { margin: 0 !important; }

.gkcp-permission-denied {
  max-width: 680px;
  margin: 60px auto;
  padding: 40px;
  color: #fff;
  background: #171616;
  border-top: 4px solid var(--gkcp-rose);
}

@media (max-width: 1080px) {
  .gkcp-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .gkcp-workspace {
    grid-template-columns: 330px minmax(0, 1fr);
  }

  .gkcp-concept-grid {
    grid-template-columns: 1fr;
  }

  .gkcp-workspace--viewer .gkcp-concept-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .gkcp-public-section {
    grid-template-columns: 1fr;
    margin-top: 54px;
  }

  .gkcp-login-intro .gkcp-eyebrow {
    margin-top: 42px !important;
  }

  .gkcp-portal {
    width: 100%;
    margin: 20px 0;
    border-radius: 20px;
    transform: none;
  }

  .gkcp-hero-copy {
    align-items: flex-start;
    flex-direction: column;
  }

  .gkcp-workspace {
    grid-template-columns: 1fr;
  }

  .gkcp-users-layout {
    grid-template-columns: 1fr;
  }

  .gkcp-editor {
    position: static;
  }

  .gkcp-concept-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .gkcp-public-section {
    padding: 26px 20px;
    border-radius: 18px;
  }

  .gkcp-login-panel {
    padding: 24px 18px;
  }

  .gkcp-login-options,
  .gkcp-library-heading,
  .gkcp-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .gkcp-topbar {
    gap: 16px;
  }

  .gkcp-account-name { display: none; }

  .gkcp-portal-nav {
    order: 3;
    width: 100%;
  }

  .gkcp-portal-nav a {
    flex: 1;
    text-align: center;
  }

  .gkcp-portal-header {
    padding: 22px 20px 42px;
  }

  .gkcp-portal-main {
    padding: 20px 14px 30px;
  }

  .gkcp-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .gkcp-stat--total {
    grid-column: 1 / -1;
  }

  .gkcp-stat {
    min-height: 98px;
    padding: 16px;
  }

  .gkcp-workspace,
  .gkcp-concept-grid {
    grid-template-columns: 1fr;
  }

  .gkcp-workspace--viewer .gkcp-concept-grid,
  .gkcp-account-stats {
    grid-template-columns: 1fr;
  }

  .gkcp-user-card summary {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .gkcp-user-access-count {
    display: none;
  }

  .gkcp-library-heading .gkcp-search {
    width: 100%;
  }

  .gkcp-form-row {
    grid-template-columns: 1fr;
  }

  .gkcp-card-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gkcp-button,
  .gkcp-concept-card,
  .gkcp-login-form input,
  .gkcp-concept-form input,
  .gkcp-concept-form select,
  .gkcp-concept-form textarea {
    transition: none;
  }
}
