/*
 * VGNW Başvuru: only what the theme kit does not already draw.
 * Kit tokens only (tokens.css): no new colours, no new type. Motion uses the kit's durations and easings.
 */

.vgnw-bsv { padding-bottom: 32px; }
.vgnw-bsv .vgnw-breadcrumb { margin-top: 24px; }
.vgnw-bsv .vgnw-page-head { padding-top: 28px; }

/* ---------- "VGNW nedir?" disclosure ---------- */
.vgnw-bsv-about {
  margin-top: 24px;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  background: var(--bg-surface);
  overflow: hidden;
  transition: border-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.vgnw-bsv-about:hover,
.vgnw-bsv-about[open] { border-color: var(--border-default); }
.vgnw-bsv-about[open] { box-shadow: var(--shadow-sm); }
.vgnw-bsv-about-sum {
  list-style: none;
  display: flex; align-items: center; gap: 16px;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
}
.vgnw-bsv-about-sum::-webkit-details-marker { display: none; }
.vgnw-bsv-about-sum:focus-visible { outline: none; box-shadow: inset var(--shadow-focus); border-radius: 14px; }
.vgnw-bsv-about-ico {
  flex: none; width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; font-size: 22px;
  background: var(--bg-inset, var(--bg-raised)); color: var(--fg-default);
  transition: background var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out);
}
.vgnw-bsv-about[open] .vgnw-bsv-about-ico { background: var(--fg-default); color: var(--bg-surface); }
.vgnw-bsv-about-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.vgnw-bsv-about-t { font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: 0; line-height: 1.15; color: var(--fg-default); }
.vgnw-bsv-about-d { font-family: var(--font-text); font-size: 14px; line-height: 1.45; color: var(--fg-muted); }
.vgnw-bsv-about-cta {
  flex: none; display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--font-deck); font-weight: 600; font-size: 13px; color: var(--fg-default);
  padding: 8px 12px; border: 1px solid var(--border-default); border-radius: 999px;
  transition: background var(--dur-fast), border-color var(--dur-fast);
}
.vgnw-bsv-about-sum:hover .vgnw-bsv-about-cta { background: var(--bg-raised); border-color: var(--border-strong); }
.vgnw-bsv-about-cta i { font-size: 16px; transition: transform var(--dur-slow) var(--ease-snap); }
.vgnw-bsv-about[open] .vgnw-bsv-about-cta i { transform: rotate(180deg); }

.vgnw-bsv-about-body { border-top: 1px solid var(--border-subtle); }
.vgnw-bsv-about-inner {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px;
  padding: 28px 24px 30px;
}
.vgnw-bsv-about[open] .vgnw-bsv-about-inner { animation: vgnw-bsv-rise var(--dur-slow) var(--ease-out) both; }
.vgnw-bsv-about-col > h2 {
  margin: 26px 0 10px;
  font-family: var(--font-micro); font-weight: 700; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--fg-muted);
}
.vgnw-bsv-about-col > h2:first-child { margin-top: 0; }
.vgnw-bsv-about-col p,
.vgnw-bsv-about-col li { font-family: var(--font-text); font-size: 15px; line-height: 1.6; color: var(--fg-default); }
.vgnw-bsv-about-col p { margin: 0 0 12px; max-width: 62ch; }
.vgnw-bsv-about-col p:last-child { margin-bottom: 0; }
.vgnw-bsv-about-col > ul:not(.vgnw-bsv-surfaces) { margin: 0; padding-left: 18px; display: grid; gap: 4px; }
.vgnw-bsv-about-col a { color: inherit; text-decoration: underline; text-decoration-color: var(--border-strong); text-underline-offset: 3px; }
.vgnw-bsv-about-col a:hover { text-decoration-color: var(--fg-default); }
.vgnw-bsv-surfaces { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.vgnw-bsv-surfaces li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--border-subtle); }
.vgnw-bsv-surfaces li:last-child { border-bottom: 0; }
.vgnw-bsv-surfaces i { flex: none; font-size: 18px; line-height: 1.35; color: var(--fg-muted); }
.vgnw-bsv-surfaces span { display: flex; flex-direction: column; gap: 1px; font-size: 14px; line-height: 1.45; color: var(--fg-muted); }
.vgnw-bsv-surfaces b { font-family: var(--font-deck); font-weight: 600; font-size: 14.5px; color: var(--fg-default); }

/* ---------- layout ---------- */
.vgnw-bsv-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start;
  margin-top: 28px;
}
.vgnw-bsv-main { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.vgnw-bsv-side { position: sticky; top: 122px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }

.vgnw-bsv-card { border: 1px solid var(--border-subtle); border-radius: 14px; background: var(--bg-surface); padding: 18px 20px 20px; }
.vgnw-bsv-card-h {
  display: flex; align-items: center; gap: 8px; margin-bottom: 12px;
  font-family: var(--font-micro); font-weight: 700; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--fg-muted);
}
.vgnw-bsv-card-h i { font-size: 15px; color: var(--fg-default); }
.vgnw-bsv-card-p { margin: 0 0 12px; font-family: var(--font-text); font-size: 13.5px; line-height: 1.5; color: var(--fg-muted); }

.vgnw-bsv-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.vgnw-bsv-list li { display: flex; gap: 10px; align-items: flex-start; font-family: var(--font-text); font-size: 15px; line-height: 1.5; color: var(--fg-default); }
.vgnw-bsv-list i { flex: none; font-size: 16px; line-height: 1.4; color: var(--fg-muted); }
.vgnw-bsv-list--sm li { font-size: 13.5px; line-height: 1.45; }
.vgnw-bsv-role .vgnw-bsv-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }

.vgnw-bsv-process,
.vgnw-bsv-outline-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.vgnw-bsv-process li,
.vgnw-bsv-outline-list li { display: flex; gap: 12px; align-items: flex-start; }
.vgnw-bsv-process li > span:last-child,
.vgnw-bsv-outline-list li > span:last-child { display: flex; flex-direction: column; gap: 1px; font-family: var(--font-text); font-size: 13.5px; line-height: 1.45; color: var(--fg-muted); }
.vgnw-bsv-process b,
.vgnw-bsv-outline-list b { font-family: var(--font-deck); font-weight: 600; font-size: 14px; color: var(--fg-default); }
.vgnw-bsv-process-n {
  flex: none; width: 22px; height: 22px; border-radius: 999px; display: grid; place-items: center; margin-top: 1px;
  border: 1px solid var(--border-default); background: var(--bg-raised);
  font-family: var(--font-micro); font-weight: 700; font-size: 11px; color: var(--fg-default);
}
.vgnw-bsv-outline-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }

/* ---------- gate / received / closed (theme's sign-in card) ---------- */
.vgnw-bsv-gate.vgnw-signin-card { max-width: none; margin: 0; }
.vgnw-bsv-gate.vgnw-signin-card p { max-width: 52ch; }
.vgnw-bsv-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 10px 0 0; width: 100%; max-width: 440px; border: 1px solid var(--border-subtle); border-radius: 12px; overflow: hidden; text-align: left; }
.vgnw-bsv-facts > div { padding: 11px 14px; border-bottom: 1px solid var(--border-subtle); }
.vgnw-bsv-facts > div:nth-child(odd) { border-right: 1px solid var(--border-subtle); }
.vgnw-bsv-facts > div:nth-last-child(-n+2):nth-child(odd),
.vgnw-bsv-facts > div:last-child { border-bottom: 0; }
.vgnw-bsv-facts dt { font-family: var(--font-micro); font-weight: 700; font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-subtle); }
.vgnw-bsv-facts dd { margin: 2px 0 0; font-family: var(--font-deck); font-weight: 600; font-size: 14px; color: var(--fg-default); overflow-wrap: anywhere; }
.vgnw-bsv-received .vgnw-signin-card-ico { animation: vgnw-bsv-pop var(--dur-slow) var(--ease-snap) both; }

/* ---------- form ---------- */
.vgnw-bsv-form { border: 1px solid var(--border-subtle); border-radius: 14px; background: var(--bg-surface); scroll-margin-top: 130px; }
.vgnw-bsv-formhead {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 14px 20px; border-bottom: 1px solid var(--border-subtle);
}
.vgnw-bsv-as { display: flex; align-items: center; gap: 10px; min-width: 0; font-family: var(--font-text); font-size: 13.5px; line-height: 1.35; color: var(--fg-muted); }
.vgnw-bsv-as b { font-family: var(--font-deck); font-weight: 600; color: var(--fg-default); }
.vgnw-bsv-as small { display: block; font-size: 12px; color: var(--fg-subtle); overflow-wrap: anywhere; }
.vgnw-bsv-steps { list-style: none; margin: 0; align-self: center; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.vgnw-bsv-steps::-webkit-scrollbar { display: none; }
.vgnw-bsv-steps li { display: contents; }
.vgnw-bsv-steps .vgnw-step { white-space: nowrap; }
.vgnw-bsv-steps .vgnw-step.has-error .vgnw-step-num { border-color: var(--accent-danger); color: var(--accent-danger); background: var(--accent-danger-bg); }
.vgnw-bsv-form:not(.is-enhanced) .vgnw-bsv-steps { display: none; }

.vgnw-bsv-alert {
  display: flex; gap: 10px; align-items: flex-start; margin: 18px 20px 0; padding: 12px 14px;
  border: 1px solid var(--accent-danger); border-radius: 10px; background: var(--accent-danger-bg);
  font-family: var(--font-text); font-size: 14px; line-height: 1.45; color: var(--fg-default);
}
.vgnw-bsv-alert i { flex: none; font-size: 18px; line-height: 1.2; color: var(--accent-danger); }

.vgnw-bsv-step { padding: 26px 24px 22px; border-bottom: 1px solid var(--border-subtle); }
.vgnw-bsv-step:last-child { border-bottom: 0; }
.vgnw-bsv-form.is-enhanced .vgnw-bsv-step { display: none; border-bottom: 0; }
.vgnw-bsv-form.is-enhanced .vgnw-bsv-step.is-active { display: block; animation: vgnw-bsv-rise var(--dur-slow) var(--ease-out) both; }
.vgnw-bsv-form.is-enhanced .vgnw-bsv-step.is-active.is-back { animation-name: vgnw-bsv-rise-back; }

.vgnw-bsv-step-h { display: flex; flex-direction: column; gap: 6px; margin-bottom: 22px; }
.vgnw-bsv-step-k { font-family: var(--font-micro); font-weight: 700; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-muted); }
.vgnw-bsv-step-h h2 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 28px; line-height: 1.1; letter-spacing: -0.005em; color: var(--fg-default); outline: none; }
.vgnw-bsv-step-h p { margin: 0; max-width: 60ch; font-family: var(--font-deck); font-size: 15px; line-height: 1.45; color: var(--fg-muted); }

.vgnw-bsv-fields { display: flex; flex-direction: column; gap: 20px; }
.vgnw-bsv-row { align-items: start; }
.vgnw-bsv-field .vgnw-field-label { line-height: 1.4; }
.vgnw-bsv-field .vgnw-textarea { min-height: 0; line-height: 1.5; }
.vgnw-bsv-field .vgnw-select { appearance: auto; }
.vgnw-bsv-meta { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; min-height: 16px; }
.vgnw-bsv-count { margin-left: auto; flex: none; font-family: var(--font-micro); font-size: 11.5px; color: var(--fg-subtle); font-variant-numeric: tabular-nums; }
.vgnw-bsv-count b { font-weight: 700; color: var(--fg-muted); }
.vgnw-bsv-count.is-ok b { color: var(--fg-default); }
.vgnw-bsv-count.is-short b { color: var(--accent-danger); }
.vgnw-bsv-field .vgnw-field-error:empty { display: none; }
.vgnw-bsv-field.has-error .vgnw-input,
.vgnw-bsv-field.has-error .vgnw-select,
.vgnw-bsv-field.has-error .vgnw-textarea { border-color: var(--accent-danger); }
.vgnw-bsv-field.has-error .vgnw-field-label { color: var(--accent-danger); }

/* chips: the kit's .vgnw-chip, driven by a real checkbox */
.vgnw-bsv-chip { position: relative; user-select: none; }
.vgnw-bsv-chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.vgnw-bsv-chip:has(input:checked) { background: var(--n-950); color: var(--fg-inverse); border-color: var(--n-950); }
[data-theme="dark"] .vgnw-bsv-chip:has(input:checked) { background: var(--n-25); color: var(--n-950); border-color: var(--n-25); }
.vgnw-bsv-chip:has(input:focus-visible) { box-shadow: var(--shadow-focus); }
[data-theme="dark"] .vgnw-bsv-chip:has(input:focus-visible) { box-shadow: var(--shadow-focus-inverse); }
.vgnw-bsv-chip:active { transform: scale(0.97); }
.vgnw-bsv-chip { transition: background var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast), transform var(--dur-fast); }

/* task text */
.vgnw-bsv-note { display: flex; flex-direction: column; gap: 8px; }
.vgnw-bsv-quote {
  margin: 0; padding: 14px 16px; border: 1px solid var(--border-subtle); border-left: 3px solid var(--fg-default);
  border-radius: 0 10px 10px 0; background: var(--bg-raised);
  font-family: var(--font-text); font-size: 15px; line-height: 1.6; color: var(--fg-default);
}

/* consent */
.vgnw-bsv-consent { display: flex; flex-direction: column; gap: 6px; }
.vgnw-bsv-check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-family: var(--font-text); font-size: 14px; line-height: 1.5; color: var(--fg-default); }
.vgnw-bsv-check input { flex: none; width: 17px; height: 17px; margin: 2px 0 0; accent-color: var(--fg-default); cursor: pointer; }
.vgnw-bsv-check a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* step navigation */
.vgnw-bsv-nav { display: flex; align-items: center; gap: 12px; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--border-subtle); }
.vgnw-bsv-nav [data-bsv-next],
.vgnw-bsv-nav [data-bsv-submit] { margin-left: auto; }
.vgnw-bsv-saved { font-family: var(--font-micro); font-size: 12px; color: var(--fg-subtle); opacity: 0; transition: opacity var(--dur-base); }
.vgnw-bsv-saved.is-on { opacity: 1; }
.vgnw-bsv-form:not(.is-enhanced) [data-bsv-next],
.vgnw-bsv-form:not(.is-enhanced) [data-bsv-prev] { display: none; }
.vgnw-bsv-form:not(.is-enhanced) .vgnw-bsv-step:not(:last-child) .vgnw-bsv-nav { display: none; }
.vgnw-bsv-form.is-sending [data-bsv-submit] { opacity: 0.6; pointer-events: none; }

@keyframes vgnw-bsv-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes vgnw-bsv-rise-back { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@keyframes vgnw-bsv-pop { from { opacity: 0; transform: scale(0.8); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .vgnw-bsv *, .vgnw-bsv *::before, .vgnw-bsv *::after { animation: none !important; transition: none !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .vgnw-bsv-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .vgnw-bsv-side { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vgnw-bsv-side > :last-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .vgnw-bsv-about-sum { padding: 14px 14px; gap: 12px; }
  .vgnw-bsv-about-d { display: none; }
  .vgnw-bsv-about-cta span { display: none; }
  .vgnw-bsv-about-cta { padding: 8px; }
  .vgnw-bsv-about-inner { grid-template-columns: minmax(0, 1fr); gap: 26px; padding: 20px 16px 22px; }
  .vgnw-bsv-role .vgnw-bsv-list,
  .vgnw-bsv-outline-list,
  .vgnw-bsv-side { grid-template-columns: minmax(0, 1fr); }
  .vgnw-bsv-step { padding: 20px 16px 18px; }
  .vgnw-bsv-step-h h2 { font-size: 24px; }
  .vgnw-bsv-formhead { padding: 12px 16px; }
  .vgnw-bsv-alert { margin: 14px 16px 0; }
  .vgnw-bsv-row.vgnw-field-row { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .vgnw-bsv-step-l { display: none; }
  .vgnw-bsv-steps .vgnw-step.is-active .vgnw-bsv-step-l { display: inline; }
  .vgnw-bsv-nav .vgnw-btn { padding-left: 14px; padding-right: 14px; }
  .vgnw-bsv-facts { grid-template-columns: minmax(0, 1fr); }
  .vgnw-bsv-facts > div { border-right: 0 !important; border-bottom: 1px solid var(--border-subtle) !important; }
  .vgnw-bsv-facts > div:last-child { border-bottom: 0 !important; }
}

/* ============================================================================
   1.1.0: larger type and touch targets, availability table, task news, post preview
   ============================================================================ */

/* ---------- larger type: nobody should need to lean in ---------- */
.vgnw-bsv .vgnw-page-head .vgnw-lede { font-size: 18px; max-width: 700px; }
.vgnw-bsv-layout { grid-template-columns: minmax(0, 1fr) 340px; }
.vgnw-bsv-about-t { font-size: 22px; }
.vgnw-bsv-about-d { font-size: 15.5px; }
.vgnw-bsv-about-cta { font-size: 14px; padding: 9px 14px; }
.vgnw-bsv-about-col > h2 { font-size: 12.5px; }
.vgnw-bsv-about-col p,
.vgnw-bsv-about-col li { font-size: 16.5px; }
.vgnw-bsv-surfaces span { font-size: 15px; }
.vgnw-bsv-surfaces b { font-size: 16px; }
.vgnw-bsv-card-h { font-size: 12.5px; }
.vgnw-bsv-card-p { font-size: 15px; }
.vgnw-bsv-list li { font-size: 16.5px; }
.vgnw-bsv-list--sm li { font-size: 15px; }
.vgnw-bsv-process li > span:last-child,
.vgnw-bsv-outline-list li > span:last-child { font-size: 15px; }
.vgnw-bsv-process b,
.vgnw-bsv-outline-list b { font-size: 16px; }
.vgnw-bsv-process-n { width: 26px; height: 26px; font-size: 12.5px; }
.vgnw-bsv-side .vgnw-btn { font-size: 14px; padding: 9px 12px; }
.vgnw-bsv-gate.vgnw-signin-card p { font-size: 16px; }
.vgnw-bsv-gate .vgnw-btn { font-size: 15px; padding: 12px 20px; }
.vgnw-bsv-facts dt { font-size: 11.5px; }
.vgnw-bsv-facts dd { font-size: 15.5px; }

.vgnw-bsv-as { font-size: 15px; }
.vgnw-bsv-as small { font-size: 13px; }
.vgnw-bsv-steps .vgnw-step { font-size: 14px; padding: 8px 14px; }
.vgnw-bsv-steps .vgnw-step-num { width: 20px; height: 20px; font-size: 11px; }
.vgnw-bsv-alert { font-size: 15.5px; }
.vgnw-bsv-step-k { font-size: 12.5px; }
.vgnw-bsv-step-h h2 { font-size: 32px; }
.vgnw-bsv-step-h p { font-size: 17px; }
.vgnw-bsv-fields { gap: 28px; }
.vgnw-bsv-form .vgnw-field { gap: 8px; }
.vgnw-bsv-form .vgnw-field-label { font-size: 13px; letter-spacing: 0.07em; }
.vgnw-bsv-form .vgnw-field-label .vgnw-opt { font-size: 12px; }
.vgnw-bsv-form .vgnw-field-help { font-size: 14.5px; line-height: 1.45; }
.vgnw-bsv-form .vgnw-field-error { font-size: 14px; }
.vgnw-bsv-form .vgnw-input,
.vgnw-bsv-form .vgnw-select,
.vgnw-bsv-form .vgnw-textarea { font-size: 16px; padding: 12px 14px; border-radius: 8px; }
.vgnw-bsv-form .vgnw-select { min-height: 48px; }
.vgnw-bsv-form .vgnw-chip-grid { gap: 8px; }
.vgnw-bsv-form .vgnw-chip { font-size: 15.5px; padding: 11px 18px; }
.vgnw-bsv-count { font-size: 13px; }
.vgnw-bsv-check { font-size: 16px; }
.vgnw-bsv-check input { width: 20px; height: 20px; }
.vgnw-bsv-nav .vgnw-btn { font-size: 15.5px; padding: 12px 22px; border-radius: 8px; }
.vgnw-bsv-saved { font-size: 13px; }

/* ---------- availability: ready-made choices above the table ---------- */
.vgnw-bsv-presets { display: flex; flex-direction: column; gap: 8px; padding: 14px; border: 1px solid var(--border-subtle); border-radius: 12px; background: var(--bg-raised); }
.vgnw-bsv-form:not(.is-enhanced) .vgnw-bsv-presets { display: none; }
.vgnw-bsv-presets-l { font-family: var(--font-micro); font-weight: 700; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-muted); }
.vgnw-bsv-form .vgnw-bsv-preset { font-family: var(--font-deck); font-weight: 600; }
.vgnw-bsv-form .vgnw-bsv-preset:focus-visible { outline: none; box-shadow: var(--shadow-focus); }
.vgnw-bsv-preset-clear {
  display: inline-flex; align-items: center; gap: 4px; margin-left: auto; padding: 11px 12px;
  border: 0; border-radius: 999px; background: transparent; cursor: pointer;
  font-family: var(--font-deck); font-weight: 600; font-size: 14.5px; color: var(--fg-muted);
  transition: color var(--dur-fast), background var(--dur-fast);
}
.vgnw-bsv-preset-clear:hover { color: var(--fg-default); background: var(--bg-surface); }
.vgnw-bsv-preset-clear[hidden] { display: none; }

/* ---------- availability: days down, time of day across ---------- */
.vgnw-bsv-grid-wrap { border: 1px solid var(--border-default); border-radius: 12px; overflow: hidden; background: var(--bg-surface); }
.vgnw-bsv-grid { width: 100%; border-collapse: collapse; table-layout: fixed; }
.vgnw-bsv-grid th,
.vgnw-bsv-grid td { padding: 0; border-bottom: 1px solid var(--border-subtle); border-right: 1px solid var(--border-subtle); }
.vgnw-bsv-grid tr > :last-child { border-right: 0; }
.vgnw-bsv-grid tbody tr:last-child > * { border-bottom: 0; }
.vgnw-bsv-grid thead td { width: 136px; background: var(--bg-raised); }
.vgnw-bsv-grid thead th { padding: 10px 6px; background: var(--bg-raised); text-align: center; font-family: var(--font-deck); font-weight: 600; font-size: 15px; color: var(--fg-default); }
.vgnw-bsv-grid thead th small { display: block; margin-top: 2px; font-family: var(--font-micro); font-weight: 500; font-size: 12.5px; color: var(--fg-muted); font-variant-numeric: tabular-nums; }
.vgnw-bsv-grid tbody th { padding: 0 14px; text-align: left; background: var(--bg-raised); font-family: var(--font-deck); font-weight: 600; font-size: 15.5px; color: var(--fg-default); }
.vgnw-bsv-grid-short { display: none; }
.vgnw-bsv-cell { position: relative; display: block; height: 50px; cursor: pointer; }
.vgnw-bsv-cell input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.vgnw-bsv-cell span { position: absolute; inset: 5px; border-radius: 8px; display: grid; place-items: center; font-size: 20px; color: transparent; transition: background var(--dur-fast), color var(--dur-fast), transform var(--dur-fast); }
.vgnw-bsv-cell:hover span { background: var(--bg-raised); }
.vgnw-bsv-cell input:checked + span { background: var(--n-950); color: var(--fg-inverse); }
[data-theme="dark"] .vgnw-bsv-cell input:checked + span { background: var(--n-25); color: var(--n-950); }
.vgnw-bsv-cell input:focus-visible + span { box-shadow: var(--shadow-focus); }
[data-theme="dark"] .vgnw-bsv-cell input:focus-visible + span { box-shadow: var(--shadow-focus-inverse); }
.vgnw-bsv-cell:active span { transform: scale(0.94); }
.vgnw-bsv-field.has-error .vgnw-bsv-grid-wrap { border-color: var(--accent-danger); }

/* ---------- task news: closed card, opens into the article ---------- */
.vgnw-bsv-news { border: 1px solid var(--border-default); border-radius: 12px; background: var(--bg-surface); overflow: hidden; }
.vgnw-bsv-news-sum { list-style: none; display: flex; align-items: center; gap: 14px; padding: 14px 16px; cursor: pointer; user-select: none; }
.vgnw-bsv-news-sum::-webkit-details-marker { display: none; }
.vgnw-bsv-news-sum:focus-visible { outline: none; box-shadow: inset var(--shadow-focus); }
.vgnw-bsv-news-ico { flex: none; width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; font-size: 22px; background: var(--bg-raised); color: var(--fg-default); transition: background var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out); }
.vgnw-bsv-news[open] .vgnw-bsv-news-ico { background: var(--fg-default); color: var(--bg-surface); }
.vgnw-bsv-news-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.vgnw-bsv-news-t { font-family: var(--font-deck); font-weight: 600; font-size: 17px; line-height: 1.25; color: var(--fg-default); }
.vgnw-bsv-news-m { font-family: var(--font-micro); font-size: 13px; color: var(--fg-muted); }
.vgnw-bsv-news-sum:hover .vgnw-bsv-about-cta { background: var(--bg-raised); border-color: var(--border-strong); }
.vgnw-bsv-news[open] .vgnw-bsv-about-cta i { transform: rotate(180deg); }
.vgnw-bsv-news-body { padding: 20px 20px 22px; border-top: 1px solid var(--border-subtle); background: var(--bg-raised); }
.vgnw-bsv-news[open] .vgnw-bsv-news-body { animation: vgnw-bsv-rise var(--dur-slow) var(--ease-out) both; }
.vgnw-bsv-news-body p { margin: 0 0 14px; max-width: 68ch; font-family: var(--font-text); font-size: 17px; line-height: 1.6; color: var(--fg-default); }
.vgnw-bsv-news-src { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-deck); font-weight: 600; font-size: 14.5px; color: var(--fg-default); text-decoration: underline; text-decoration-color: var(--border-strong); text-underline-offset: 3px; }
.vgnw-bsv-news-src:hover { text-decoration-color: var(--fg-default); }

/* ---------- Instagram headline: inputs left, the post layout right ---------- */
.vgnw-bsv-post-block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 330px); gap: 26px; align-items: start; padding: 20px; border: 1px solid var(--border-default); border-radius: 12px; }
.vgnw-bsv-post-form { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.vgnw-bsv-post-form > .vgnw-field-help { margin-top: -10px; }
.vgnw-bsv-post-form .vgnw-input { text-transform: uppercase; font-family: var(--font-micro); font-weight: 700; letter-spacing: 0.02em; }
.vgnw-bsv-post-form .vgnw-input::placeholder { font-weight: 500; }
/* headline words: tap to highlight. A highlighted word shows the post's own colours, like the preview. */
.vgnw-bsv-form .vgnw-bsv-word { text-transform: uppercase; font-family: var(--font-micro); font-weight: 700; letter-spacing: 0.02em; padding: 10px 15px; border-radius: 8px; }
.vgnw-bsv-form .vgnw-bsv-word:has(input:checked),
[data-theme="dark"] .vgnw-bsv-form .vgnw-bsv-word:has(input:checked) { background: #0c0b0c; border-color: #0c0b0c; color: #d68690; }
.vgnw-bsv-words:empty { display: none; }
.vgnw-bsv-words-empty { display: none; padding: 12px 14px; border: 1px dashed var(--border-default); border-radius: 8px; font-family: var(--font-text); font-size: 14.5px; color: var(--fg-muted); }
.vgnw-bsv-words:empty + .vgnw-bsv-words-empty { display: block; }
.vgnw-bsv-post-ex { display: flex; gap: 14px; align-items: center; padding: 10px; border-radius: 10px; background: var(--bg-raised); }
.vgnw-bsv-post-ex img { flex: none; width: 76px; height: 95px; object-fit: cover; border-radius: 6px; display: block; }
.vgnw-bsv-post-ex span { font-family: var(--font-micro); font-size: 13.5px; line-height: 1.5; color: var(--fg-muted); }
.vgnw-bsv-post-ex b { display: block; margin-bottom: 2px; font-family: var(--font-deck); font-weight: 600; font-size: 14.5px; color: var(--fg-default); }
.vgnw-bsv-post-side { position: sticky; top: 132px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.vgnw-bsv-post-cap { font-family: var(--font-micro); font-weight: 700; font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-muted); }

/* The post keeps its own fixed look in both site themes. --post-accent is the highlight colour of the post
   template (taken from the example post); it is not a site colour. Sizes are in cqw so the card scales. */
.vgnw-bsv-post {
  --post-accent: #d68690;
  container-type: inline-size;
  position: relative; aspect-ratio: 4 / 5; display: flex; flex-direction: column; overflow: hidden;
  border-radius: 10px;
  background: radial-gradient(120% 70% at 50% 0%, #1b1919 0%, #0c0b0c 62%);
  color: #fff; font-family: var(--font-micro); word-spacing: 0; letter-spacing: 0;
}
.vgnw-bsv-post-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; padding: 5.6cqw 7.4cqw 0; font-size: 2.55cqw; line-height: 1.22; font-weight: 500; }
.vgnw-bsv-post-l b { font-weight: 700; }
.vgnw-bsv-post-logo { display: block; }
.vgnw-bsv-post-logo img { display: block; width: 7.4cqw; height: auto; }
.vgnw-bsv-post-logo b { font-size: 3.4cqw; font-weight: 700; }
.vgnw-bsv-post-r { text-align: right; font-weight: 700; }
.vgnw-bsv-post-r span { display: flex; justify-content: flex-end; gap: 0.9cqw; font-size: 3cqw; line-height: 1; margin-bottom: 0.4cqw; }
.vgnw-bsv-post-head { display: flex; flex-direction: column; align-items: center; padding: 4.6cqw 7cqw 0; text-align: center; text-transform: uppercase; font-weight: 700; }
.vgnw-bsv-post-h { display: flex; flex-direction: column; align-items: center; max-width: 100%; }
.vgnw-bsv-post-w,
.vgnw-bsv-post-a { display: block; max-width: 100%; font-size: 9.6cqw; line-height: 0.99; letter-spacing: -0.01em; text-wrap: balance; overflow-wrap: anywhere; }
.vgnw-bsv-post-a { color: var(--post-accent); }
.vgnw-bsv-post-s { margin-top: 2.4cqw; font-size: 2.9cqw; line-height: 1.2; }
.vgnw-bsv-post-head .is-empty { opacity: 0.26; }
.vgnw-bsv-post-img { flex: 1; min-height: 0; margin: 5cqw 7.4cqw 7.4cqw; display: grid; place-content: center; justify-items: center; gap: 1cqw; border: 1px dashed rgba(255, 255, 255, 0.22); border-radius: 2cqw; color: rgba(255, 255, 255, 0.4); font-size: 2.6cqw; font-weight: 500; }
.vgnw-bsv-post-img i { font-size: 7cqw; }

@media (max-width: 1080px) {
  .vgnw-bsv-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .vgnw-bsv-post-block { grid-template-columns: minmax(0, 1fr); }
  .vgnw-bsv-post-side { position: static; width: 100%; max-width: 360px; margin: 0 auto; }
}
@media (max-width: 760px) {
  .vgnw-bsv-step-h h2 { font-size: 27px; }
  .vgnw-bsv-step-h p { font-size: 16px; }
  .vgnw-bsv-fields { gap: 24px; }
  .vgnw-bsv-form .vgnw-chip { font-size: 15px; padding: 11px 15px; }
  .vgnw-bsv-grid thead td { width: 52px; }
  .vgnw-bsv-grid thead th { font-size: 13.5px; padding: 8px 2px; }
  .vgnw-bsv-grid thead th small { font-size: 11.5px; }
  .vgnw-bsv-grid tbody th { padding: 0 8px; font-size: 14.5px; }
  .vgnw-bsv-grid-full { display: none; }
  .vgnw-bsv-grid-short { display: inline; }
  .vgnw-bsv-news-sum { padding: 12px; gap: 12px; }
  .vgnw-bsv-news-body { padding: 16px 14px 18px; }
  .vgnw-bsv-news-body p { font-size: 16.5px; }
  .vgnw-bsv-post-block { padding: 14px; }
  .vgnw-bsv-about-col p,
  .vgnw-bsv-about-col li { font-size: 16px; }
}
