:root {
  color-scheme: light;
  --bg: #f8fafc;
  --surface: #ffffff;
  --ink: #161724;
  --muted: #667085;
  --line: #e5e7eb;
  --accent: #2364db;
  --accent-strong: #174eb6;
  --warm: #f49b21;
  --accent-soft: #eef5ff;
  --cyan: #00a8c6;
  --green: #048a63;
  --blue: #2364db;
  --shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

.pk-app-body {
  min-height: 100vh;
  background: #f8fafc;
  color: #111827;
}

.pk-app-shell {
  min-height: 100vh;
}

.pk-app-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 64px;
  padding: 0 22px;
  border-bottom: 1px solid #e2e8f0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.pk-app-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #111827;
  text-decoration: none;
}

.pk-app-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid #111827;
  border-radius: 8px;
  background: #111827;
  color: #ffffff;
  font-weight: 820;
}

.pk-app-brand strong,
.pk-app-brand small {
  display: block;
  line-height: 1.2;
}

.pk-app-brand small {
  color: #64748b;
  font-size: 12px;
  font-weight: 720;
}

.pk-app-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
}

.pk-app-nav a {
  flex: 0 0 auto;
  padding: 9px 11px;
  border-radius: 8px;
  color: #334155;
  font-size: 14px;
  font-weight: 760;
  text-decoration: none;
}

.pk-app-nav a:hover,
.pk-app-nav a:focus-visible {
  background: #eef5ff;
  color: #1d4ed8;
}

.pk-app-account {
  position: relative;
}

.pk-app-login,
.pk-app-account-button {
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
  color: #111827;
  font: inherit;
  font-size: 14px;
  font-weight: 760;
  text-decoration: none;
  cursor: pointer;
}

.pk-app-account-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pk-app-account-button [data-proofkit-account-initial] {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 999px;
  background: #111827;
  color: #ffffff;
  font-size: 12px;
}

.pk-app-account-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(320px, calc(100vw - 32px));
  padding: 10px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16);
}

.pk-app-account-menu p {
  margin: 0 0 8px;
  padding: 6px 6px 10px;
  border-bottom: 1px solid #e2e8f0;
}

.pk-app-account-menu strong,
.pk-app-account-menu span {
  display: block;
  overflow-wrap: anywhere;
}

.pk-app-account-menu span {
  margin-top: 3px;
  color: #64748b;
  font-size: 12px;
}

.pk-app-account-menu a,
.pk-app-account-menu button {
  display: block;
  width: 100%;
  padding: 9px 8px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #111827;
  font: inherit;
  font-size: 14px;
  font-weight: 740;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.pk-app-account-menu a:hover,
.pk-app-account-menu button:hover,
.pk-app-account-menu a:focus-visible,
.pk-app-account-menu button:focus-visible {
  background: #f1f5f9;
}

.pk-app-auth {
  display: none;
}

.pk-app-auth span {
  color: #475569;
  font-size: 14px;
}

.pk-app-body .product-hero.dashboard-hero {
  display: block;
  min-height: 0;
  padding-top: 24px;
  padding-bottom: 12px;
  background: #f8fafc;
}

.pk-app-body .product-hero.dashboard-hero h1 {
  max-width: 760px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.04;
}

.pk-app-body .product-hero.dashboard-hero .lead {
  max-width: 760px;
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.45;
}

.pk-app-body .dashboard-session-bar,
.pk-app-body .dashboard-auth-strip,
.pk-app-body .dashboard-nav {
  display: none !important;
}

.pk-page-heading {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 12px;
  border-bottom: 1px solid #e2e8f0;
}

.pk-page-heading .eyebrow {
  margin-bottom: 6px;
}

.pk-page-heading h1 {
  max-width: 760px;
  margin: 0;
  color: #111827;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.08;
  letter-spacing: 0;
}

.pk-page-heading .lead {
  max-width: 760px;
  margin: 8px 0 0;
  color: #475569;
  font-size: 15px;
  line-height: 1.45;
}

.pk-credit-editor {
  display: grid;
  grid-template-columns: minmax(8rem, 1fr) minmax(5rem, 8rem) auto;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
}

.pk-credit-editor input {
  width: 100%;
  min-height: 2rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.35rem 0.5rem;
  background: #fff;
  color: var(--text);
}

.pk-credit-table {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.pk-credit-row {
  display: grid;
  grid-template-columns: minmax(14rem, 1.5fr) minmax(15rem, 1fr) minmax(16rem, 1fr);
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.pk-credit-identity {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.pk-credit-identity strong,
.pk-credit-identity span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.pk-credit-identity span {
  color: var(--muted);
  font-size: 0.86rem;
}

.pk-credit-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.pk-credit-stat {
  display: grid;
  gap: 3px;
  margin: 0;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.pk-credit-stat span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 760;
  text-transform: uppercase;
}

.pk-credit-stat strong {
  color: var(--text);
  font-size: 1.2rem;
  line-height: 1;
}

.pk-credit-row-editor {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.pk-credit-summary {
  padding-top: 0.25rem;
}

.pk-credit-stats-large {
  max-width: 48rem;
}

@media (max-width: 860px) {
  .pk-app-header {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 10px 14px;
  }

  .pk-app-nav {
    grid-column: 1 / -1;
    order: 3;
    padding-bottom: 2px;
  }

  .pk-credit-row {
    grid-template-columns: 1fr;
  }

  .pk-credit-row-editor {
    grid-template-columns: minmax(7rem, 1fr) minmax(4rem, 7rem) auto;
  }

}

a {
  color: var(--accent-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.site-header,
.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 720;
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border: 1px solid #111827;
  background: #111827;
  color: #ffffff;
  font-weight: 760;
  font-size: 12px;
  letter-spacing: 0.04em;
  border-radius: 8px;
}

nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
}

nav a {
  color: var(--muted);
  text-decoration: none;
}

nav a:hover,
nav a[aria-current="page"] {
  color: var(--ink);
}

nav a[aria-current="page"] {
  font-weight: 740;
}

.product-nav {
  width: min(1120px, calc(100% - 32px));
  min-height: 50px;
  margin: 0 auto;
  display: block;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
}

.product-nav-inner {
  min-width: max-content;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.product-nav-label {
  color: var(--ink);
  font-size: 13px;
  font-weight: 760;
}

.nayyir-nav-identity {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nayyir-nav-identity img {
  width: 22px;
  height: 22px;
  border-radius: 6px;
}

.product-nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-nav-links a {
  flex: 0 0 auto;
  padding: 7px 10px;
  color: var(--muted);
  font-weight: 650;
  text-decoration: none;
}

.product-nav-links a:hover,
.product-nav-links a[aria-current="page"] {
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(35, 100, 219, 0.12);
}

.hero,
.product-hero,
.section,
.document {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 74px);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  align-items: center;
  gap: 56px;
  padding: 56px 0 80px;
}

.hero h1,
.product-hero h1,
.document h1 {
  margin: 0;
  font-size: clamp(44px, 7vw, 84px);
  line-height: 0.96;
  letter-spacing: 0;
}

.lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 20px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 680;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease, background 120ms ease;
}

.button:active,
.pk-mini-button:active {
  transform: translateY(1px) scale(0.99);
}

.button:disabled,
.pk-mini-button:disabled {
  cursor: progress;
  opacity: 0.62;
}

.button.primary {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
  box-shadow: none;
}

.button.secondary {
  background: #ffffff;
  border-color: #bfdbfe;
  color: var(--ink);
}

.product-visual {
  display: grid;
  gap: 18px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: none;
}

.product-visual img,
.app-icon,
.tile-icon {
  width: 88px;
  height: 88px;
  border-radius: 20px;
}

.product-visual h2,
.section h2,
.tile h3,
.tile h2,
.document h2 {
  margin: 0;
  letter-spacing: 0;
}

.product-visual p,
.tile p,
.statement p,
.callout p,
.document p {
  color: var(--muted);
}

.studio-hero {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 96px 0 72px;
  border-bottom: 1px solid var(--line);
}

.studio-hero h1 {
  max-width: 780px;
  font-size: clamp(48px, 8vw, 96px);
  line-height: 0.94;
  letter-spacing: 0;
}

.studio-hero .lead {
  max-width: 720px;
}

.studio-products {
  border-top: 0;
}

.product-index {
  display: grid;
  border-top: 1px solid var(--line);
}

.product-row {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}

.product-row:hover strong,
.product-row:focus-visible strong {
  color: var(--accent-strong);
}

.product-row-media {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
  color: #111827;
  font-weight: 820;
}

.product-row-media img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
}

.product-row-mark {
  background: #111827;
  border-color: #111827;
  color: #ffffff;
}

.nayyir-app-icon {
  display: block;
  flex: 0 0 auto;
  background: #090b10;
  border-radius: 20px;
}

.nayyir-title-lockup {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.nayyir-title-divider {
  width: 1px;
  height: 52px;
  background: var(--line);
}

.nayyir-title-arabic {
  color: var(--ink);
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 680;
  line-height: 1;
}

.product-row strong,
.product-row small,
.product-row em {
  display: block;
}

.product-row strong {
  font-size: 18px;
}

.product-row small {
  max-width: 720px;
  color: var(--muted);
  font-size: 14px;
  font-style: normal;
}

.product-row em {
  color: var(--accent-strong);
  font-size: 13px;
  font-style: normal;
  font-weight: 760;
}

.studio-note {
  display: grid;
  grid-template-columns: minmax(220px, 0.65fr) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.pk-process-list {
  display: grid;
  gap: 0;
}

.pk-process-row {
  display: grid;
  grid-template-columns: 72px minmax(180px, 0.45fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.pk-process-row:last-child {
  border-bottom: 1px solid var(--line);
}

.pk-process-row h2,
.pk-process-row p {
  margin: 0;
}

.pk-process-row > p:last-child {
  color: var(--muted);
}

.product-detail-list {
  display: grid;
  gap: 0;
}

.product-detail-row {
  display: grid;
  grid-template-columns: 150px minmax(220px, 0.7fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.product-detail-row:last-child {
  border-bottom: 1px solid var(--line);
}

.product-detail-row h2,
.product-detail-row p {
  margin: 0;
}

.product-detail-row > p:last-child {
  color: var(--muted);
}

.card-label {
  margin: 0 0 4px;
  color: var(--warm);
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
}

.section {
  padding: 76px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 26px;
}

.section-heading h2,
.statement h2,
.callout h2 {
  font-size: 34px;
  line-height: 1.08;
}

.grid {
  display: grid;
  gap: 18px;
}

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

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tile,
.statement,
.callout {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  box-shadow: none;
}

.tile.muted {
  background: #f8fafc;
}

.product-hero {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 78px 0 58px;
}

.dashboard-hero {
  padding: 42px 0 24px;
}

.dashboard-hero h1 {
  max-width: 820px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1;
}

.dashboard-hero .lead {
  max-width: 820px;
  font-size: 18px;
}

.document {
  max-width: 820px;
  padding: 72px 0 92px;
}

.document h2 {
  margin-top: 34px;
  font-size: 22px;
}

.proofkit-hero {
  width: min(1120px, calc(100% - 32px));
  min-height: calc(100vh - 74px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: 56px;
  padding: 56px 0 80px;
}

.proofkit-hero h1 {
  margin: 0;
  font-size: clamp(48px, 8vw, 88px);
  line-height: 0.94;
  letter-spacing: 0;
}

.pk-index {
  width: min(1120px, calc(100% - 32px));
  min-height: 58px;
  margin: -34px auto 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 12px 0 28px;
}

.pk-index a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 14px;
  font-weight: 720;
  text-decoration: none;
}

.pk-panel,
.pk-card,
.pk-widget-preview {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.pk-panel,
.pk-card {
  padding: 24px;
}

.pk-surface-label {
  margin: 0 0 12px;
  color: #174eb6;
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pk-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e2e8f0;
}

.pk-panel-head span,
.pk-metric-grid small {
  color: #62647a;
  font-size: 13px;
}

.pk-campaign-form {
  display: grid;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid #e2e8f0;
}

.pk-campaign-form label,
.pk-card label {
  display: grid;
  gap: 8px;
  color: #161724;
  font-size: 14px;
  font-weight: 720;
}

.pk-campaign-form input,
.pk-card input,
.pk-card textarea,
.pk-card select,
.pk-campaign-card textarea,
.pk-proof-form input,
.pk-proof-form textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  background: #ffffff;
  color: #161724;
  font: inherit;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}

.pk-campaign-form input:focus,
.pk-card input:focus,
.pk-card textarea:focus,
.pk-card select:focus,
.pk-campaign-card textarea:focus,
.pk-proof-form input:focus,
.pk-proof-form textarea:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 4px rgba(35, 100, 219, 0.12);
}

.pk-metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding-top: 18px;
}

.pk-metric-grid div {
  padding: 14px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.pk-metric-grid strong {
  display: block;
  margin-top: 6px;
  font-size: 27px;
}

.pk-flow-list {
  display: grid;
  gap: 10px;
}

.pk-flow-list span {
  padding: 14px 16px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #161724;
  font-weight: 760;
}

.pk-split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1fr);
  align-items: center;
  gap: 56px;
}

.pk-note {
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: #161724;
}

.pk-card {
  display: grid;
  gap: 18px;
}

.pk-list {
  display: grid;
  gap: 10px;
}

.pk-access-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.pk-access-row div {
  display: grid;
  gap: 2px;
}

.pk-access-row strong,
.pk-access-row span {
  overflow-wrap: anywhere;
}

.pk-access-row span {
  color: #62647a;
  font-size: 13px;
  font-weight: 720;
}

.account-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.pk-access-fallback {
  border-top: 1px solid #e2e8f0;
  padding-top: 14px;
}

.pk-access-fallback summary {
  cursor: pointer;
  color: #174eb6;
  font-weight: 760;
}

.pk-access-fallback form {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

[data-email-auth-panel] {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

[data-email-auth-panel] form {
  display: grid;
  gap: 14px;
}

.pk-turnstile {
  min-height: 65px;
}

.pk-access-fallback label {
  display: grid;
  gap: 8px;
  color: #161724;
  font-size: 14px;
  font-weight: 720;
}

.pk-access-fallback input {
  width: 100%;
  padding: 12px;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  background: #ffffff;
  color: #161724;
  font: inherit;
}

.dashboard-nav {
  position: sticky;
  top: 0;
  z-index: 5;
  padding: 8px 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.dashboard-nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.dashboard-nav-inner::-webkit-scrollbar {
  display: none;
}

.dashboard-nav a {
  flex: 0 0 auto;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #161724;
  font-size: 13px;
  font-weight: 780;
  text-decoration: none;
  transition: background 120ms ease, border-color 120ms ease, color 120ms ease;
}

.dashboard-nav a[hidden] {
  display: none;
}

.dashboard-nav a:hover,
.dashboard-nav a[data-active="true"] {
  background: #eef5ff;
  border-color: #bfdbfe;
  color: var(--accent-strong);
  box-shadow: none;
}

.nav-badge {
  min-width: 20px;
  min-height: 20px;
  display: inline-grid;
  place-items: center;
  padding: 0 6px;
  background: #d33f49;
  color: #ffffff;
  font-size: 11px;
  font-weight: 820;
}

.pk-checkbox {
  display: flex !important;
  align-items: flex-start;
  font-weight: 520 !important;
  line-height: 1.45;
}

.pk-checkbox input {
  width: auto;
  margin-top: 4px;
}

.pk-form-status {
  margin: -4px 0 0;
  color: #2364db;
  font-size: 14px;
}

.pk-form-status[data-state="success"] {
  color: #048a63;
}

.pk-form-status[data-state="error"] {
  color: #d33f49;
}

.pk-form-status[data-state="neutral"] {
  color: #62647a;
}

.pk-form-help {
  margin: -8px 0 0;
  color: #62647a;
  font-size: 13px;
}

.pk-owner-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
  gap: 24px;
  align-items: start;
}

.dashboard-auth-strip,
.dashboard-session-bar {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: none;
}

.dashboard-auth-strip > div:first-child,
.dashboard-session-bar > div:first-child {
  display: grid;
  gap: 4px;
}

.dashboard-auth-strip strong {
  color: #161724;
}

.dashboard-auth-strip span,
.dashboard-session-bar p {
  color: #62647a;
}

.pk-access-fallback {
  position: relative;
}

.pk-access-fallback summary {
  cursor: pointer;
  color: #174eb6;
  font-size: 14px;
  font-weight: 760;
}

.pk-access-fallback form {
  position: absolute;
  right: 0;
  z-index: 10;
  width: min(360px, calc(100vw - 32px));
  display: grid;
  gap: 10px;
  margin-top: 10px;
  padding: 16px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.12);
}

.dashboard-panel {
  padding-top: 26px;
  padding-bottom: 40px;
}

.dashboard-panel.is-dashboard-hidden {
  display: none !important;
}

.pk-campaign-list {
  display: grid;
  gap: 12px;
  padding-right: 4px;
}

.pk-master-detail {
  display: grid;
  grid-template-columns: minmax(250px, 0.46fr) minmax(0, 1.54fr);
  gap: 24px;
  align-items: start;
}

.pk-campaign-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: none;
}

.pk-selectable-card {
  cursor: pointer;
  transition: border-color 150ms ease, background-color 150ms ease, transform 150ms ease;
}

.pk-selectable-card:hover {
  background: #f8fafc;
  border-color: #bfdbfe;
  transform: translateY(-1px);
}

.pk-campaign-card.selected {
  border-color: var(--accent);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(35, 100, 219, 0.12);
}

.pk-detail-pane {
  display: grid;
  gap: 14px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.pk-detail-pane h3 {
  margin: 0;
  font-size: 24px;
}

.pk-campaign-cockpit-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
  padding-bottom: 16px;
  border-bottom: 1px solid #e2e8f0;
}

.pk-campaign-cockpit-header h3 {
  margin: 2px 0 10px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.05;
}

.pk-campaign-meta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pk-campaign-meta-chips span {
  padding: 5px 8px;
  color: #334155;
  font-size: 12px;
  font-weight: 720;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 7px;
}

.pk-campaign-header-actions {
  max-width: 320px;
  justify-content: flex-end;
}

.pk-campaign-summary {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(240px, 0.9fr);
  gap: 18px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid #e2e8f0;
}

.pk-campaign-brief {
  display: grid;
  gap: 7px;
}

.pk-section-jumpbar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #e2e8f0;
}

.pk-section-jumpbar a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  color: #334155;
  font-size: 13px;
  font-weight: 760;
  text-decoration: none;
  border: 1px solid #cbd5e1;
  border-radius: 7px;
}

.pk-section-jumpbar a:hover,
.pk-section-jumpbar a:focus-visible {
  color: #ffffff;
  background: #111827;
  border-color: #111827;
}

.pk-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pk-pagination-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  color: var(--muted);
  font-size: 14px;
  border-bottom: 1px solid var(--line);
}

.pk-pagination-bar[hidden] {
  display: none !important;
}

.pk-compact-list {
  display: grid;
  gap: 8px;
}

.pk-activity-list {
  display: grid;
  gap: 8px;
}

.pk-list-button {
  width: 100%;
  padding: 12px 10px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #e2e8f0;
  border-radius: 0;
  color: #161724;
  font: inherit;
  font-weight: 680;
  text-align: left;
  cursor: pointer;
}

.pk-list-button:hover,
.pk-list-button:focus-visible {
  background: #f8fafc;
  border-color: #cbd5e1;
  outline: none;
}

.pk-list-button[data-active="true"] {
  color: #111827;
  background: #f8fafc;
  border-color: #111827;
  box-shadow: inset 3px 0 0 #111827;
}

.pk-campaign-selector {
  display: grid;
  gap: 4px;
  border-radius: 0;
}

.pk-campaign-selector span,
.pk-offer-summary span,
.pk-library-group-head span {
  color: #62647a;
  font-size: 12px;
  font-weight: 720;
}

.pk-offer-list {
  display: grid;
  gap: 10px;
}

.pk-offer-list h4 {
  margin: 0;
  font-size: 15px;
}

.pk-offer-summary {
  display: grid;
  gap: 6px;
  padding: 12px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.pk-offer-summary p {
  margin: 0;
  color: #62647a;
  font-size: 13px;
}

.pk-campaign-workspace {
  display: grid;
  gap: 12px;
}

.pk-workspace-filter {
  display: grid;
  grid-template-columns: minmax(140px, 0.9fr) minmax(180px, 1.4fr) minmax(140px, 0.8fr) auto;
  gap: 10px;
  align-items: end;
  padding: 12px 0 14px;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.pk-filter-actions {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: flex-end;
}

.pk-section-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 8px;
  color: #64748b;
  font-size: 12px;
}

.pk-section-pagination span {
  margin-right: auto;
}

.pk-workspace-section {
  display: grid;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid #ece6ff;
}

.pk-workspace-section h4 {
  margin: 0;
  font-size: 15px;
}

.pk-workflow-group {
  display: grid;
  gap: 8px;
  padding-top: 4px;
}

.pk-workflow-group + .pk-workflow-group {
  padding-top: 12px;
  border-top: 1px solid #f1eef8;
}

.pk-workflow-group-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.pk-workflow-group-head strong {
  color: #202238;
}

.pk-workflow-group-head span {
  color: #62647a;
  font-size: 12px;
  font-weight: 720;
}

.pk-workflow-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid #f0ecff;
}

.pk-workflow-row div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.pk-workflow-row strong,
.pk-workflow-row span {
  overflow-wrap: anywhere;
}

.pk-workflow-row span {
  color: #62647a;
  font-size: 12px;
  font-weight: 650;
}

.pk-row-link {
  width: fit-content;
  margin-top: 4px;
  padding: 6px 9px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 760;
  text-decoration: none;
  background: #202238;
  border: 1px solid #202238;
  border-radius: 6px;
}

.pk-row-link:hover,
.pk-row-link:focus-visible {
  color: #ffffff;
  background: #2364db;
  border-color: #2364db;
}

.pk-workflow-row em {
  flex: 0 0 auto;
  padding: 4px 8px;
  color: #482693;
  font-size: 12px;
  font-style: normal;
  font-weight: 760;
  background: #eef5ff;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
}

.pk-workflow-row > .pk-proof-thread,
.pk-workflow-row > .pk-proof-form,
.pk-workflow-row > .pk-submission-actions {
  grid-column: 1 / -1;
}

.pk-library-group {
  display: grid;
  gap: 12px;
  padding: 14px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.pk-library-group-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

.pk-library-group-head h3 {
  margin: 0;
  font-size: 17px;
}

.pk-campaign-card-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.pk-campaign-card h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
}

.pk-campaign-card-head span {
  padding: 6px 8px;
  background: #eef5ff;
  border-radius: 999px;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.pk-campaign-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.pk-campaign-stats div {
  padding: 10px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.pk-campaign-stats small,
.pk-campaign-stats strong {
  display: block;
}

.pk-campaign-stats small {
  color: #62647a;
  font-size: 12px;
}

.pk-campaign-stats strong {
  margin-top: 4px;
  color: #161724;
  font-size: 20px;
}

.pk-detail-list {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.pk-detail-list p {
  margin: 0;
  color: #62647a;
  font-size: 13px;
  line-height: 1.4;
}

.pk-detail-list strong {
  color: #161724;
}

.pk-inline-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 12px;
  margin-top: 16px;
}

.pk-inline-form {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 12px;
  margin: 0;
}

.pk-inline-label {
  display: grid;
  gap: 8px;
  color: #161724;
  font-size: 14px;
  font-weight: 720;
}

.pk-inline-label input {
  min-height: 44px;
  padding: 12px;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  background: #ffffff;
  color: #161724;
  font: inherit;
}

.pk-queue {
  display: grid;
  gap: 12px;
}

.pk-submission {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-left: 5px solid #2364db;
  box-shadow: 0 10px 28px rgba(48, 34, 104, 0.06);
}

.pk-submission.approved {
  border-left-color: #048a63;
}

.pk-submission.flagged {
  border-left-color: #f49b21;
  background: #fffaf0;
}

.pk-submission.rejected {
  border-left-color: #62647a;
  opacity: 0.72;
}

.pk-submission h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.28;
}

.pk-submission p {
  margin: 0;
  color: #62647a;
  font-size: 14px;
}

.pk-submission > span {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #62647a;
  font-size: 13px;
  font-weight: 760;
}

.pk-avatar {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: #eef2ff;
  border-radius: 8px;
  color: var(--accent-strong);
  font-weight: 820;
}

.pk-submission-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.pk-proof-form {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.pk-mini-button {
  min-height: 34px;
  padding: 8px 10px;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  background: #ffffff;
  color: #161724;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 740;
  transition: transform 120ms ease, background 120ms ease, border-color 120ms ease, color 120ms ease;
}

.pk-mini-button:hover {
  border-color: var(--accent);
  background: #eef5ff;
}

.pk-mini-button[data-active="true"] {
  background: #161724;
  border-color: #161724;
  color: #ffffff;
}

.pk-widget-preview {
  display: grid;
  gap: 18px;
  padding: 28px;
  background: #ffffff;
}

#widget-items {
  display: grid;
  gap: 12px;
}

.pk-review-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.pk-review-card blockquote {
  margin: 0;
  color: #161724;
  font-size: 18px;
  font-weight: 760;
  line-height: 1.32;
}

.pk-review-meta {
  margin: 0;
  color: #62647a;
  font-size: 13px;
  font-weight: 720;
}

.pk-widget-footnote,
.pk-empty-state {
  color: #62647a;
  font-size: 14px;
}

.creator-readiness-panel {
  padding-top: 18px;
  padding-bottom: 0;
}

.pk-state-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-left: 5px solid #2364db;
  border-radius: 8px;
}

.pk-state-banner h2,
.pk-state-banner p {
  margin: 0;
}

.pk-state-banner h2 {
  margin-top: 3px;
  margin-bottom: 5px;
  font-size: clamp(20px, 2vw, 28px);
}

.pk-state-banner[data-state="pending"] {
  border-left-color: #d97706;
}

.pk-state-banner[data-state="approved"] {
  border-left-color: #138a5e;
}

.pk-state-banner[data-state="error"] {
  border-left-color: #c2410c;
}

.pk-notification {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-left: 5px solid #2364db;
  border-radius: 8px;
  box-shadow: none;
}

.pk-notification.unread {
  border-left-color: #d33f49;
  background: #fff7f8;
}

.pk-submission[data-priority="revision"] {
  border-color: rgba(244, 155, 33, 0.55);
  background: #fffaf0;
}

.pk-submission.focused {
  outline: 3px solid rgba(35, 100, 219, 0.24);
  outline-offset: 3px;
}

.pk-notification h3 {
  margin: 0 0 4px;
  font-size: 17px;
}

.pk-notification p {
  margin: 0;
  color: #62647a;
  font-size: 14px;
}

.pk-notification span {
  display: block;
  margin-top: 6px;
  color: #62647a;
  font-size: 12px;
  font-weight: 720;
  text-transform: capitalize;
}

.pk-action-alert {
  margin-top: 12px !important;
  padding: 10px 12px;
  border: 1px solid rgba(244, 155, 33, 0.42);
  background: #fffaf0;
  color: #7a4b00 !important;
  font-weight: 760;
}

.pk-focused-work-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0;
  margin: 14px 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.pk-work-detail-card {
  align-items: start;
  padding: 20px 0;
  border-color: #e2e8f0;
  border-left-width: 0;
  border-right-width: 0;
  box-shadow: none;
}

.pk-work-detail-card > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
  min-width: 0;
}

.pk-work-detail-card > div > h3,
.pk-work-detail-card > div > p,
.pk-work-detail-card > div > .pk-work-progress,
.pk-work-detail-card > div > .pk-work-primary-action,
.pk-work-detail-card > div > .pk-focused-work-summary,
.pk-work-detail-card > div > [data-work-section="proof"] {
  grid-column: 1 / -1;
}

.pk-focused-work-summary div {
  min-width: 0;
  padding: 11px 14px 11px 0;
  border-right: 1px solid #e2e8f0;
}

.pk-focused-work-summary div + div {
  padding-left: 14px;
}

.pk-focused-work-summary div:last-child {
  border-right: 0;
}

.pk-focused-work-summary span {
  display: block;
  margin-bottom: 3px;
  color: #64748b;
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pk-focused-work-summary strong {
  display: block;
  color: #111827;
  font-size: 14px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.pk-work-context {
  margin: 14px 0;
  padding: 14px 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.pk-work-detail-section {
  display: grid;
  gap: 12px;
  margin: 14px 0;
  padding: 14px 0;
  border-top: 1px solid #e2e8f0;
}

.pk-work-detail-section:last-child {
  border-bottom: 1px solid #e2e8f0;
}

.pk-work-detail-section-head {
  display: grid;
  gap: 4px;
}

.pk-work-detail-section-head h4 {
  margin: 0;
  font-size: 15px;
}

.pk-work-detail-section-head p {
  color: var(--muted);
  margin: 0;
  max-width: 760px;
}

.pk-work-progress {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  margin: 14px 0;
  overflow: hidden;
  border: 1px solid #d9e2ff;
  border-radius: 8px;
  background: #ffffff;
}

.pk-work-progress-step {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 12px 10px;
  border-left: 1px solid #e2e8f0;
  color: #64748b;
}

.pk-work-progress-step:first-child {
  border-left: 0;
}

.pk-work-progress-step span {
  display: inline-grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  color: #64748b;
  font-size: 11px;
  font-weight: 820;
}

.pk-work-progress-step strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: inherit;
  font-size: 12px;
}

.pk-work-progress-step[data-state="done"] {
  color: #0f766e;
  background: #f0fdfa;
}

.pk-work-progress-step[data-state="done"] span {
  border-color: #14b8a6;
  background: #ccfbf1;
  color: #0f766e;
}

.pk-work-progress-step[data-state="current"] {
  color: #172554;
  background: #eff6ff;
  box-shadow: inset 0 3px 0 #2563eb;
}

.pk-work-progress-step[data-state="current"] span {
  border-color: #2563eb;
  background: #2563eb;
  color: #ffffff;
}

.pk-work-primary-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 14px 0;
  padding: 14px 16px;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  background: #f8fbff;
}

.pk-work-primary-action > div:first-child {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.pk-work-primary-action strong {
  color: #111827;
  font-size: 17px;
}

.pk-work-primary-action p {
  margin: 0;
  color: #475569;
}

.pk-work-primary-action-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
}

.pk-work-action-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pk-work-context-head {
  display: grid;
  gap: 4px;
  margin-bottom: 12px;
}

.pk-work-context-head h4 {
  margin: 0;
  font-size: 15px;
}

.pk-work-context-head p {
  color: var(--muted);
  margin: 0;
  max-width: 760px;
}

.pk-work-context-list {
  display: grid;
  gap: 0;
  grid-template-columns: minmax(120px, 0.32fr) minmax(0, 1fr);
  margin: 0;
}

.pk-work-context-list dt,
.pk-work-context-list dd {
  border-top: 1px solid rgba(226, 232, 240, 0.85);
  margin: 0;
  padding: 9px 0;
}

.pk-work-context-list dt {
  color: #64748b;
  font-size: 12px;
  font-weight: 760;
}

.pk-work-context-list dd {
  color: #111827;
  overflow-wrap: anywhere;
  padding-left: 14px;
}

.pk-proof-thread {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #ece6ff;
}

.pk-proof-thread h4 {
  margin: 0;
  font-size: 15px;
}

.pk-proof-latest {
  display: grid;
  gap: 7px;
  padding: 12px 14px;
  border: 1px solid #d9e2ff;
  border-radius: 8px;
  background: #f8fbff;
}

.pk-proof-latest p,
.pk-proof-latest strong {
  margin: 0;
}

.pk-proof-quote {
  color: #202238;
  font-size: 15px;
  line-height: 1.5;
}

.pk-proof-summary-extra {
  display: grid;
  gap: 10px;
  grid-column: 1 / -1;
}

.pk-proof-thread-item {
  display: grid;
  gap: 6px;
  padding: 10px 12px;
  border-left: 3px solid #2364db;
  background: #ffffff;
  border-radius: 8px;
}

.pk-activity-stage {
  display: grid;
  gap: 8px;
  padding: 12px 0 0;
}

.pk-activity-stage + .pk-activity-stage {
  margin-top: 10px;
  border-top: 1px solid #e2e8f0;
}

.pk-activity-stage-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.pk-activity-stage-head strong {
  color: #111827;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pk-activity-stage-head span {
  color: #64748b;
  font-size: 12px;
  font-weight: 720;
}

.pk-activity-stage-list {
  display: grid;
  gap: 8px;
}

.pk-activity-stage-list .pk-proof-thread-item {
  background: #f8fafc;
  border-left-color: #94a3b8;
}

.pk-activity-timeline {
  display: grid;
  gap: 8px;
}

.pk-activity-timeline .pk-proof-thread-item {
  position: relative;
  background: #ffffff;
  border-color: #e6e2f7;
  border-left-color: #2364db;
}

.pk-activity-timeline .pk-proof-thread-head strong {
  color: #202238;
}

.pk-pagination-actions {
  display: flex;
  justify-content: flex-start;
  padding-top: 10px;
}

.pk-proof-thread-item.approved {
  border-left-color: #048a63;
}

.pk-proof-thread-item.flagged {
  border-left-color: #f49b21;
}

.pk-proof-thread-item.rejected {
  border-left-color: #d33f49;
}

.pk-proof-thread-item p {
  margin: 0;
}

.pk-proof-thread-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.pk-proof-thread-head span {
  color: #62647a;
  font-size: 12px;
  font-weight: 720;
}

pre {
  overflow-x: auto;
  padding: 16px;
  background: #171729;
  color: #f8f4e8;
  font-size: 13px;
}

.site-footer {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 780px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0;
  }

  nav {
    width: 100%;
    justify-content: space-between;
  }

  .product-nav {
    min-height: 46px;
    padding: 8px 0;
  }

  .product-nav-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .product-nav-links {
    width: 100%;
  }

  .hero,
  .proofkit-hero,
  .pk-split,
  .pk-owner-grid,
  .pk-master-detail,
  .grid.two,
  .grid.three,
  .account-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-auth-strip,
  .dashboard-session-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .pk-access-fallback form {
    left: 0;
    right: auto;
  }

  .pk-detail-pane {
    position: static;
  }

  .pk-work-progress {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pk-work-progress-step:nth-child(odd) {
    border-left: 0;
  }

  .pk-work-progress-step:nth-child(n + 3) {
    border-top: 1px solid #e2e8f0;
  }

  .pk-work-primary-action {
    align-items: stretch;
    flex-direction: column;
  }

  .pk-work-primary-action-controls {
    justify-content: flex-start;
  }

  .hero,
  .proofkit-hero {
    min-height: auto;
    padding-top: 44px;
  }

  .pk-submission {
    align-items: start;
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .pk-campaign-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .pk-campaign-cockpit-header,
  .pk-campaign-summary {
    grid-template-columns: 1fr;
  }

  .pk-campaign-header-actions {
    max-width: none;
    justify-content: flex-start;
  }

  .pk-section-jumpbar {
    position: static;
  }

  .pk-flow-index {
    grid-template-columns: 1fr;
  }

  .pk-flow-index a {
    border-right: 0;
    border-bottom: 1px solid #e2e8f0;
  }

  .pk-flow-index a:last-child {
    border-bottom: 0;
  }

  .pk-publishing-settings {
    grid-template-columns: 1fr;
  }

  .pk-filter-actions {
    justify-content: stretch;
  }

  .pk-filter-actions .pk-mini-button {
    flex: 1;
  }

  .pk-section-pagination {
    align-items: stretch;
    flex-wrap: wrap;
    justify-content: stretch;
  }

  .pk-section-pagination span {
    flex-basis: 100%;
  }

  .pk-section-pagination .pk-mini-button {
    flex: 1;
  }

  .pk-submission > span {
    grid-column: 2;
    justify-self: start;
  }

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

  .nayyir-title-lockup {
    gap: 12px;
  }

  .nayyir-title-divider {
    height: 38px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 22px 0;
  }
}

/* ProofKit workspace polish: flatten cards into cleaner task surfaces. */
.dashboard-hero {
  border-bottom: 1px solid #e5e7eb;
}

.dashboard-hero h1 {
  letter-spacing: 0;
}

.dashboard-nav {
  background: rgba(255, 255, 255, 0.98);
}

.dashboard-nav-inner {
  gap: 6px;
}

.dashboard-nav a {
  border-radius: 7px;
}

.dashboard-nav a:hover,
.dashboard-nav a[data-active="true"] {
  background: #111827;
  border-color: #111827;
  color: #ffffff;
}

.pk-panel,
.pk-card,
.pk-widget-preview,
.pk-campaign-card,
.pk-detail-pane,
.pk-submission,
.pk-review-card,
.pk-library-group,
.pk-workspace-section {
  border-color: #e5e7eb;
  box-shadow: none;
}

.pk-card,
.pk-campaign-card,
.pk-submission,
.pk-review-card {
  border-radius: 8px;
}

.pk-card label {
  color: #111827;
  font-size: 13px;
}

.pk-campaign-form input,
.pk-card input,
.pk-card textarea,
.pk-card select,
.pk-campaign-card textarea,
.pk-proof-form input,
.pk-proof-form textarea,
.pk-inline-label input {
  min-height: 44px;
  border-color: #cbd5e1;
  background: #ffffff;
}

.pk-campaign-form input:hover,
.pk-card input:hover,
.pk-card textarea:hover,
.pk-card select:hover,
.pk-campaign-card textarea:hover,
.pk-proof-form input:hover,
.pk-proof-form textarea:hover,
.pk-inline-label input:hover {
  border-color: #94a3b8;
}

.pk-submission {
  grid-template-columns: minmax(0, 1fr) auto;
  border-left-width: 3px;
}

.pk-submission .pk-avatar {
  display: none;
}

.pk-submission-actions .button,
.pk-submission-actions .pk-mini-button,
.pk-inline-actions .button,
.pk-inline-actions .pk-mini-button {
  min-height: 38px;
}

.pk-master-detail {
  align-items: start;
}

.pk-campaign-list,
.pk-detail-pane {
  scrollbar-gutter: stable;
}

.pk-list-button {
  text-align: left;
}

.pk-list-button[data-active="true"],
.pk-campaign-selector[data-active="true"] {
  background: #f8fafc;
  border-color: #111827;
  color: #111827;
}

.pk-list-button[data-active="true"] span,
.pk-campaign-selector[data-active="true"] span {
  color: #475569;
}

.pk-surface-label {
  color: #475569;
}

.pk-status,
.pk-submission > span {
  border-radius: 7px;
}

/* ProofKit workspace simplification: fewer trapped panels, softer rows, clearer actions. */
.dashboard-nav {
  padding: 10px 24px;
  background: #ffffff;
}

.dashboard-nav-inner {
  gap: 4px;
}

.dashboard-nav a {
  min-height: 36px;
  padding: 7px 10px;
  border-radius: 6px;
  color: #334155;
  font-size: 13px;
  font-weight: 720;
}

.dashboard-nav a:hover,
.dashboard-nav a[data-active="true"] {
  background: #111827;
  border-color: #111827;
  color: #ffffff;
}

.pk-master-detail {
  grid-template-columns: minmax(240px, 0.5fr) minmax(0, 1.5fr);
  gap: 22px;
  min-height: 0;
}

.pk-campaign-list,
.pk-detail-pane {
  max-height: none;
  overflow: visible;
}

.pk-detail-pane {
  position: static;
  padding: 0;
  border: 0;
}

.pk-campaign-list {
  gap: 8px;
  padding-right: 0;
}

.pk-campaign-card,
.pk-list-button {
  border-color: #e2e8f0;
}

.pk-campaign-card {
  gap: 10px;
  padding: 14px;
}

.pk-selectable-card:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  transform: none;
}

.pk-campaign-card.selected {
  border-color: #111827;
  box-shadow: inset 3px 0 0 #111827;
}

.pk-workspace-section {
  padding: 16px 0;
  border-top-color: #e2e8f0;
}

.pk-workspace-section:first-of-type {
  border-top: 0;
}

.pk-submission {
  align-items: start;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid #e2e8f0;
  background: transparent;
}

.pk-submission.approved,
.pk-submission.flagged,
.pk-submission.rejected,
.pk-submission[data-priority="revision"] {
  background: transparent;
}

.pk-submission h3 {
  font-size: 16px;
}

.pk-submission > span,
.pk-workflow-row em,
.pk-campaign-card-head span {
  border-radius: 6px;
  background: #f8fafc;
  color: #334155;
  text-transform: none;
}

.pk-submission-actions {
  gap: 6px;
}

.pk-mini-button,
.button.secondary {
  border-color: #cbd5e1;
  background: #ffffff;
}

.pk-mini-button:hover,
.button.secondary:hover {
  border-color: #111827;
  background: #f8fafc;
  color: #111827;
}

.button.primary {
  background: #111827;
  border-color: #111827;
  box-shadow: none;
}

.button.primary:hover {
  background: #0f172a;
}

.pk-card input,
.pk-card textarea,
.pk-card select,
.pk-proof-form input,
.pk-proof-form textarea,
.pk-inline-label input {
  border-radius: 6px;
}

/* ProofKit campaign cockpit: make the brand workflow read as one product surface. */
.pk-campaign-cockpit-header {
  gap: 22px;
  padding: 4px 0 18px;
}

.pk-campaign-header-actions .pk-mini-button {
  flex: 0 1 auto;
}

.pk-campaign-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  padding: 10px 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.pk-campaign-stats div {
  min-width: 132px;
  padding: 4px 18px 4px 0;
  background: transparent;
  border: 0;
  border-right: 1px solid #e2e8f0;
  border-radius: 0;
}

.pk-campaign-stats div + div {
  padding-left: 18px;
}

.pk-campaign-stats div:last-child {
  border-right: 0;
}

.pk-campaign-stats strong {
  margin-top: 1px;
  font-size: 22px;
  line-height: 1.1;
}

.pk-campaign-summary {
  padding: 18px 0;
}

.pk-flow-index {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin: 8px 0 4px;
  padding: 6px;
  border: 1px solid #dbe3ef;
  border-radius: 8px;
  background: #f8fafc;
}

.pk-flow-index a {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  color: #111827;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
}

.pk-flow-index a:hover,
.pk-flow-index a:focus-visible {
  border-color: #bfdbfe;
  background: #ffffff;
}

.pk-flow-index a[data-selected="true"],
.pk-section-jumpbar a[data-selected="true"] {
  border-color: #2364db;
  background: #ffffff;
  box-shadow: inset 0 -2px 0 #2364db;
}

.pk-section-active-label {
  margin: 0;
  padding: 10px 0 2px;
  color: #1d4ed8;
  font-size: 13px;
  font-weight: 820;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.pk-flow-index strong {
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.pk-flow-index span {
  color: #475569;
  font-size: 12px;
  font-weight: 760;
}

.pk-flow-index small {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.pk-flow-index a[data-state="active"] {
  color: #1d4ed8;
}

.pk-flow-index a[data-state="active"] span {
  color: #1d4ed8;
}

.pk-publishing-settings {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.pk-publishing-setting {
  display: grid;
  gap: 12px;
  align-content: space-between;
  min-width: 0;
  padding: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
}

.pk-publishing-setting > div:first-child {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.pk-publishing-setting strong {
  color: #111827;
  font-size: 14px;
}

.pk-publishing-setting span {
  width: fit-content;
  padding: 4px 8px;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 780;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
}

.pk-publishing-setting p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.45;
}

.pk-publishing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pk-detail-list.pk-campaign-brief,
.pk-offer-summary {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.pk-offer-summary {
  padding-top: 10px;
  border-top: 1px solid #e2e8f0;
}

.pk-offer-list h4,
.pk-workspace-section h4 {
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.pk-section-jumpbar {
  top: 0;
  gap: 2px;
  padding: 8px 0;
  background: rgba(247, 248, 251, 0.96);
}

.pk-section-jumpbar a {
  border-color: transparent;
  background: transparent;
}

.pk-campaign-workspace {
  gap: 0;
}

.pk-campaign-workspace[data-active-section] .pk-workspace-section {
  display: none;
}

.pk-campaign-workspace[data-active-section="applicants"] #campaign-applicants,
.pk-campaign-workspace[data-active-section="fulfillment"] #campaign-fulfillment,
.pk-campaign-workspace[data-active-section="proof"] #campaign-proof,
.pk-campaign-workspace[data-active-section="library"] #campaign-library,
.pk-campaign-workspace[data-active-section="publishing"] #campaign-publishing,
.pk-campaign-workspace[data-active-section="activity"] #campaign-activity {
  display: grid;
}

.pk-workspace-filter {
  margin: 4px 0 2px;
  padding: 14px 0;
  background: transparent;
}

.pk-workspace-filter .pk-field span,
.pk-inline-label {
  color: #475569;
  font-size: 12px;
}

.pk-workspace-section {
  gap: 8px;
  padding: 22px 0;
  scroll-margin-top: 20px;
}

.pk-workspace-section[data-highlighted="true"] {
  outline: 2px solid rgba(35, 100, 219, 0.24);
  outline-offset: 8px;
}

.pk-workspace-section > .pk-review-meta {
  max-width: 760px;
  margin-top: -4px;
}

.pk-compact-list,
.pk-activity-list,
.pk-workflow-group {
  gap: 0;
}

.pk-workflow-group + .pk-workflow-group {
  margin-top: 18px;
  padding-top: 18px;
}

.pk-workflow-group-head {
  padding: 0 0 8px;
  border-bottom: 1px solid #e2e8f0;
}

.pk-filter-summary {
  margin: 0 0 10px;
  color: #475569;
  font-size: 13px;
  font-weight: 720;
}

.pk-workflow-table-head {
  display: grid;
  grid-template-columns:
    minmax(160px, 1fr)
    minmax(140px, 0.9fr)
    minmax(110px, 0.65fr)
    minmax(122px, 0.7fr)
    minmax(132px, 0.75fr)
    minmax(112px, auto);
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #cbd5e1;
  color: #64748b;
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pk-workflow-row {
  min-height: 52px;
  grid-template-columns:
    minmax(160px, 1fr)
    minmax(140px, 0.9fr)
    minmax(110px, 0.65fr)
    minmax(122px, 0.7fr)
    minmax(132px, 0.75fr)
    minmax(112px, auto);
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom-color: #e2e8f0;
}

.pk-workflow-main {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.pk-workflow-row strong {
  font-size: 14px;
}

.pk-workflow-fields {
  display: contents;
}

.pk-workflow-fields div {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.pk-workflow-fields dt {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.pk-workflow-fields dd {
  margin: 0;
  color: #111827;
  font-size: 12px;
  line-height: 1.35;
}

.pk-workflow-fields div:nth-child(2) dd {
  width: fit-content;
  max-width: 100%;
  padding: 3px 7px;
  color: #1e3a8a;
  font-weight: 760;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
}

.pk-workflow-note,
.pk-workflow-proof {
  margin: 8px 0 0;
  color: #475569;
  font-size: 13px;
  line-height: 1.45;
}

.pk-workflow-proof {
  max-width: 820px;
  padding-left: 10px;
  border-left: 3px solid #2364db;
  color: #111827;
}

.pk-workflow-row-actions {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.pk-row-link {
  white-space: nowrap;
  min-width: 118px;
  text-align: center;
}

.pk-mini-button.pk-row-link {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #111827;
  text-decoration: none;
}

.pk-row-link:hover,
.pk-row-link:focus-visible {
  color: #2364db;
  background: #eef5ff;
  border-color: #2364db;
}

.pk-proof-thread,
.pk-proof-latest,
.pk-proof-thread-item {
  border-radius: 6px;
}

@media (max-width: 780px) {
  .pk-campaign-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pk-campaign-stats div,
  .pk-campaign-stats div + div {
    padding: 8px 10px 8px 0;
    border-right: 0;
    border-bottom: 1px solid #e2e8f0;
  }

  .pk-campaign-stats div:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .pk-workflow-row {
    grid-template-columns: 1fr;
  }

  .pk-workflow-table-head {
    display: none;
  }

  .pk-workflow-fields {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .pk-workflow-fields dt {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .pk-workflow-row-actions {
    justify-content: flex-start;
  }

  .pk-focused-work-summary {
    grid-template-columns: 1fr;
  }

  .pk-focused-work-summary div,
  .pk-focused-work-summary div + div {
    padding: 10px 0;
    border-right: 0;
    border-bottom: 1px solid #e2e8f0;
  }

  .pk-focused-work-summary div:last-child {
    border-bottom: 0;
  }

  .pk-work-context-list {
    grid-template-columns: 1fr;
  }

  .pk-work-context-list dt {
    padding-bottom: 2px;
  }

  .pk-work-context-list dd {
    border-top: 0;
    padding-left: 0;
    padding-top: 0;
  }

  .pk-work-detail-card,
  .pk-creator-work-card.pk-work-detail-card {
    grid-template-columns: 1fr;
  }

  .pk-work-detail-card > div {
    grid-template-columns: 1fr;
  }
}

/* ProofKit creator workspace: task-first offers and work items. */
.pk-creator-workspace .dashboard-hero {
  padding-bottom: 18px;
}

.pk-creator-workspace .dashboard-nav a[data-active="true"] {
  background: #111827;
  border-color: #111827;
  color: #ffffff;
}

.pk-creator-workspace .pk-state-banner {
  border-left-width: 4px;
  box-shadow: none;
}

.pk-creator-workspace .pk-state-banner .pk-inline-actions {
  justify-content: flex-end;
}

.pk-creator-task-overview {
  padding-top: 0;
}

.pk-creator-task-index {
  display: grid;
  gap: 0;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
}

.pk-creator-task-index a {
  display: grid;
  grid-template-columns: minmax(160px, 0.7fr) minmax(52px, auto) minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  min-width: 0;
  padding: 12px 14px;
  color: #111827;
  text-decoration: none;
  border-top: 1px solid #e2e8f0;
}

.pk-creator-task-index a:first-child {
  border-top: 0;
}

.pk-creator-task-index a:hover,
.pk-creator-task-index a:focus-visible,
.pk-creator-task-index a[data-active="true"] {
  background: #f8fbff;
  box-shadow: inset 3px 0 0 #2563eb;
}

.pk-creator-task-index span {
  color: #475569;
  font-size: 12px;
  font-weight: 780;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pk-creator-task-index strong {
  order: 2;
  min-width: 0;
  overflow-wrap: anywhere;
  justify-self: end;
  color: #111827;
  font-size: 18px;
  line-height: 1.15;
}

.pk-creator-task-index small {
  order: 3;
  color: #64748b;
  font-size: 12px;
  line-height: 1.35;
}

@media (max-width: 860px) {
  .pk-creator-task-index {
    grid-template-columns: 1fr;
  }

  .pk-creator-task-index a {
    grid-template-columns: 1fr auto;
  }

  .pk-creator-task-index small {
    grid-column: 1 / -1;
  }
}

.pk-creator-offer-row {
  min-height: 68px;
}

.pk-creator-offer-row .pk-campaign-card-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 10px;
}

.pk-creator-offer-row h3 {
  font-size: 16px;
}

.pk-creator-offer-detail {
  display: grid;
  gap: 16px;
}

.pk-creator-offer-detail textarea[data-application-note] {
  width: 100%;
  min-height: 92px;
  padding: 12px 13px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #ffffff;
  color: #111827;
  font: inherit;
}

.pk-creator-offer-detail textarea[data-application-note]:focus {
  border-color: #111827;
  outline: none;
  box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.12);
}

.pk-creator-offer-detail .pk-offer-list {
  padding-top: 8px;
  border-top: 1px solid #e2e8f0;
}

.pk-creator-offer-detail .pk-offer-summary {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 7px 16px;
  padding: 14px 0;
}

.pk-creator-offer-detail .pk-offer-summary strong,
.pk-creator-offer-detail .pk-offer-summary span,
.pk-creator-offer-detail .pk-offer-summary p {
  grid-column: 1;
}

.pk-creator-offer-detail .pk-offer-summary button {
  grid-column: 2;
  grid-row: 1 / span 3;
}

.pk-creator-work-list {
  gap: 0;
}

.pk-creator-work-card {
  grid-template-columns: minmax(0, 1fr) minmax(112px, auto);
}

.pk-creator-work-card .pk-avatar {
  display: none;
}

.pk-creator-work-card > div {
  min-width: 0;
}

.pk-creator-work-card h3 {
  font-size: 17px;
}

.pk-creator-work-index-card {
  min-height: 64px;
  padding: 14px 0;
  border-left-width: 0;
  border-right-width: 0;
  box-shadow: none;
}

.pk-creator-work-index-card > div {
  display: grid;
  gap: 8px;
}

.pk-creator-work-index-card .pk-review-meta:has(.pk-row-link) {
  margin-top: 2px;
}

.pk-creator-work-index-fields {
  grid-template-columns: minmax(128px, 0.9fr) minmax(128px, 1fr) minmax(116px, 0.85fr) minmax(96px, 0.65fr);
  margin-top: 4px;
}

.pk-creator-work-card .pk-proof-form {
  max-width: 720px;
  padding: 14px 0 4px;
}

.pk-creator-work-card .pk-proof-thread {
  margin-top: 16px;
}

.pk-profile-form {
  display: block;
}

.pk-profile-form-head,
.pk-profile-form > button,
.pk-profile-form > .pk-form-status {
  margin-top: 0;
}

.pk-profile-form-head p:last-child {
  color: var(--muted);
  margin-bottom: 0;
}

.pk-profile-section {
  border-top: 1px solid rgba(17, 24, 39, 0.12);
  margin-top: 18px;
  padding-top: 18px;
}

.pk-profile-section-head {
  display: grid;
  gap: 4px;
  margin-bottom: 14px;
}

.pk-profile-section-head h3 {
  font-size: 1rem;
  margin: 0;
}

.pk-profile-section-head p {
  color: var(--muted);
  margin: 0;
  max-width: 720px;
}

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

.pk-profile-section-grid .pk-wide-field {
  grid-column: 1 / -1;
}

.pk-profile-section > label {
  display: grid;
  gap: 6px;
}

@media (max-width: 780px) {
  .pk-creator-workspace .pk-state-banner {
    grid-template-columns: 1fr;
  }

  .pk-creator-workspace .pk-state-banner .pk-inline-actions {
    justify-content: flex-start;
  }

  .pk-creator-task-index {
    grid-template-columns: 1fr;
  }

  .pk-creator-task-index a {
    border-left: 0;
    border-top: 1px solid #e2e8f0;
  }

  .pk-creator-task-index a:first-child {
    border-top: 0;
  }

  .pk-creator-offer-detail .pk-offer-summary,
  .pk-creator-work-card,
  .pk-profile-section-grid {
    grid-template-columns: 1fr;
  }

  .pk-creator-work-index-fields {
    grid-template-columns: 1fr;
  }

  .pk-creator-offer-detail .pk-offer-summary button,
  .pk-profile-section-grid .pk-wide-field {
    grid-column: 1;
  }
}

/* ProofKit platform workspace: operator queues instead of mixed dashboard cards. */
.pk-platform-workspace .dashboard-hero {
  padding-bottom: 18px;
}

.pk-platform-workspace .dashboard-nav a[data-active="true"] {
  background: #111827;
  border-color: #111827;
  color: #ffffff;
}

.pk-platform-panel .section-heading {
  margin-bottom: 18px;
}

.pk-platform-panel .pk-work-toolbar,
.pk-platform-panel .pk-inline-form {
  align-items: end;
}

.pk-platform-panel .pk-queue,
.pk-platform-panel .pk-list {
  gap: 0;
}

.pk-platform-group {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.pk-platform-group + .pk-platform-group {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
}

.pk-platform-group > .pk-library-group-head {
  padding-bottom: 10px;
  border-bottom: 1px solid #e2e8f0;
}

.pk-platform-creator-row {
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 16px 0;
  border: 0;
  border-bottom: 1px solid #e2e8f0;
  background: transparent;
}

.pk-platform-creator-row .pk-submission-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

.pk-platform-creator-row .pk-detail-list {
  margin-top: 10px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.pk-platform-creator-row .pk-submission-actions {
  align-self: start;
  justify-content: flex-end;
}

.pk-platform-invite-row {
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid #e2e8f0;
  border-radius: 0;
  background: transparent;
}

.pk-platform-brand-row {
  padding: 14px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #e2e8f0;
  border-radius: 0;
}

.pk-platform-brand-row.selected {
  background: #f8fafc;
  border-color: #111827;
  box-shadow: inset 3px 0 0 #111827;
}

.pk-platform-brand-row .pk-campaign-stats {
  border-top: 0;
  border-bottom: 0;
  padding: 8px 0;
}

.pk-platform-brand-row .pk-campaign-stats div {
  min-width: 104px;
}

.pk-platform-campaign-reference-list {
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.pk-platform-reference-row {
  cursor: default;
  border: 0;
  border-bottom: 1px solid #e2e8f0;
  border-radius: 0;
  background: transparent;
}

.pk-platform-reference-row:last-child {
  border-bottom: 0;
}

.pk-platform-reference-row:hover,
.pk-platform-reference-row:focus-visible {
  background: transparent;
  border-color: #e2e8f0;
}

.pk-platform-workspace .pk-card {
  box-shadow: none;
}

@media (max-width: 780px) {
  .studio-hero {
    padding: 68px 0 48px;
  }

  .studio-note,
  .product-row,
  .pk-process-row,
  .product-detail-row {
    grid-template-columns: 1fr;
  }

  .product-row {
    gap: 12px;
  }

  .product-row em {
    justify-self: start;
  }

  .pk-platform-creator-row,
  .pk-platform-creator-row .pk-submission-head,
  .pk-platform-invite-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .pk-platform-creator-row .pk-submission-actions {
    justify-content: flex-start;
  }
}
