/* KAYNAK-TASARIM: docs/html_web/assets/css/platform.css
   Bu dosya docs/html_web/ tasariminden OLDUGU GIBI alindi. Elle duzenlenmez;
   tasarim guncellendiginde `npm run design:site-import` yeniden kopyalar. */

/* Unified platform: template selection, data entry and document output. */
.walkthrough-page,
.walkthrough-page.detail-workflow {
  background: #fff !important;
  color: #111 !important;
}
.walkthrough-page .lead {
  color: #5f5f5f !important;
}
.walkthrough-page .footer {
  border-top: 1px solid #262626;
}
.detail-workflow .workflow-head {
  padding: 180px 0 76px;
  background: linear-gradient(#fafafa, #fff);
  border-bottom: 1px solid #ececec;
}
.detail-workflow .workflow-head > .wrap {
  grid-template-columns: 1.05fr 0.75fr;
  gap: 80px;
  align-items: start;
  position: relative;
}
.detail-workflow .workflow-title h1 {
  font-size: clamp(48px, 5.4vw, 76px);
  line-height: 1.05;
  font-weight: 600;
  max-width: 800px;
}
.detail-workflow .workflow-lead {
  padding-top: 66px;
}
.detail-workflow .workflow-head .lead {
  font-size: 17px;
  line-height: 1.8;
}
.detail-workflow .local-status {
  color: #585858;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 999px;
  padding: 9px 13px;
  display: inline-flex;
  margin-top: 22px;
}
.detail-workflow main > .wrap {
  padding-top: 62px;
}
.detail-workflow .demo-shell {
  grid-template-columns: 1fr;
  border: 0;
  border-radius: 16px;
  background: #f7f7f7;
  box-shadow: none;
  overflow: visible;
  position: relative;
  padding: 0;
}
.detail-workflow .workbench-titlebar {
  grid-column: 1;
  grid-row: 1;
  border: 1px solid #dfdfdf;
  border-bottom: 0;
  border-radius: 16px 16px 0 0;
  background: #fff;
  padding: 0 25px;
}
.detail-workflow .demo-nav {
  grid-column: 1;
  grid-row: 2;
  flex-direction: row;
  gap: 0;
  padding: 0;
  background: #fff;
  border: 1px solid #dfdfdf;
  border-top: 0;
  border-right: 1px solid #dfdfdf;
  min-height: 84px;
}
.detail-workflow .demo-step {
  flex: 1;
  border: 0;
  border-top: 1px solid #e7e7e7;
  border-right: 1px solid #e7e7e7;
  border-radius: 0;
  padding: 18px 22px;
  align-items: center;
  color: #6e6e6e;
}
.detail-workflow .demo-step:last-of-type {
  border-right: 0;
}
.detail-workflow .demo-step.current {
  background: #111;
  color: #fff;
  box-shadow: none;
}
.detail-workflow .demo-step.current small {
  color: #bcbcbc;
}
.detail-workflow .demo-step.current .icon {
  color: #fff;
}
.detail-workflow .demo-step.done {
  background: #fafafa;
}
.workflow-rail-note {
  display: none !important;
}
.detail-workflow .demo-body {
  grid-column: 1;
  grid-row: 3;
  padding: 42px;
  background: #f7f7f7;
  border: 1px solid #dfdfdf;
  border-top: 0;
  min-height: 540px;
}
.detail-workflow .demo-body h2 {
  font-size: 36px;
  font-weight: 600;
}
.detail-workflow .demo-body > p {
  font-size: 16px;
  max-width: 720px;
}
.detail-workflow .template-options {
  gap: 22px;
}
.detail-workflow .template-option {
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.detail-workflow .template-option .template-thumbnail {
  height: 310px;
  padding-top: 26px;
  background: #ededed;
}
.detail-workflow .template-option .paper {
  max-width: 226px;
  height: 300px;
  min-height: 300px;
}
.detail-workflow .template-option[aria-pressed="true"] {
  border-color: #111;
  box-shadow: 0 0 0 1px #111;
}
.detail-workflow
  .template-option[aria-pressed="true"]
  .template-option-title
  i {
  border-color: #e3232a;
}
.detail-workflow .demo-bottom {
  grid-column: 1;
  grid-row: 4;
  border: 1px solid #dfdfdf;
  border-top: 0;
  border-radius: 0 0 16px 16px;
  background: #fff;
  padding: 22px 30px;
}
.detail-workflow .demo-buttons .btn {
  border-radius: 999px;
}
.detail-workflow .workflow-disclaimer {
  color: #747474;
  padding: 20px 3px 0;
  max-width: 860px;
}
.workflow-after {
  padding: 105px 0 120px;
}
.workflow-after-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: end;
  margin-bottom: 44px;
}
.workflow-after-head .detail-kicker {
  grid-column: 1/-1;
}
.workflow-after-head h2 {
  font-size: clamp(40px, 4.3vw, 60px);
  font-weight: 600;
}
.workflow-after-head p {
  font-size: 16px;
  line-height: 1.75;
  max-width: 530px;
  justify-self: end;
}
.workflow-after-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.workflow-after-grid article {
  min-height: 300px;
  border: 1px solid #ddd;
  border-radius: 14px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  background: #fff;
  transition:
    transform 0.25s,
    border-color 0.25s,
    box-shadow 0.25s;
}
.workflow-after-grid article:hover {
  transform: translateY(-4px);
  border-color: #aaa;
  box-shadow: 0 18px 40px -35px #0007;
}
.workflow-after-grid .pg-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 64px;
}
.workflow-after-grid h3 {
  font-size: 25px;
  font-weight: 600;
  letter-spacing: 0;
}
.workflow-after-grid p {
  font-size: 15px;
  line-height: 1.65;
  margin-top: 10px;
}
.workflow-after-grid span {
  font-size: 14px;
  color: #6e6e6e;
  margin-top: auto;
  padding-top: 24px;
}
.workflow-doc-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 31px;
  font-size: 16px;
  font-weight: 600;
}
.workflow-doc-link .pg-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.2s;
}
.workflow-doc-link:hover .pg-icon {
  transform: translateX(5px);
}
.detail-workflow .nav a {
  font-size: 16px !important;
  font-weight: 600;
}
.detail-workflow .login-link {
  font-size: 16px;
}
.detail-workflow .text-link {
  border-bottom: 0 !important;
}
@media (max-width: 900px) {
  .detail-workflow .workflow-head > .wrap,
  .workflow-after-head {
    grid-template-columns: 1fr;
  }
  .detail-workflow .workflow-lead {
    padding-top: 0;
  }
  .detail-workflow .demo-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .detail-workflow .demo-step {
    padding: 14px 10px;
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
  .detail-workflow .demo-step small {
    display: none;
  }
  .detail-workflow .demo-body {
    padding: 28px 24px;
  }
  .detail-workflow .template-options,
  .workflow-after-grid {
    grid-template-columns: 1fr;
  }
  .detail-workflow .template-option .template-thumbnail {
    height: 260px;
  }
  .workflow-after-head p {
    justify-self: start;
  }
  .workflow-after-grid article {
    min-height: 235px;
  }
  .workflow-after-grid .pg-icon {
    margin-bottom: 36px;
  }
}

/* Header/content alignment fix: keep original 1280px content width and header visual dimensions. */
@media (min-width: 761px) {
  .header-in {
    max-width: none;
    width: 100%;
    padding-left: calc(
      max(0px, (100vw - var(--max))/2) - var(--header-offset, 32px)
    );
    padding-right: calc(
      max(0px, (100vw - var(--max))/2) - var(--header-offset, 32px)
    );
  }
  .header {
    --header-offset: 32px;
  }
  .header.scrolled {
    --header-offset: 0px;
  }
}
@media (min-width: 761px) and (max-width: 1392px) {
  .header-in {
    padding-left: 48px;
    padding-right: 48px;
  }
  .header.scrolled .header-in {
    padding-left: 56px;
    padding-right: 56px;
  }
}

/* ── Platform sayfasındaki editör maketi ─────────────────────────────────────────────
   NEDEN ÜRÜN KATMANINDA. Maket tanıtım sayfasında yaşıyor ama anlattığı şey ÜRÜN: gerçek
   editörün küçültülmüş bir kopyası. Tasarım kaynağındaki eski `studio-*` yüzeyi (iki
   sütunlu bir araç kutusu, "şablon alanları" listesi ve "belge özellikleri") üründe
   olmayan üç şeyi anlatıyordu; kullanıcı editöre girince "hiç alakası yokmuş" diyordu.
   Ürün sahibi kararı (26.09.2026): "birebir aynısı ama bu boyutlara uygun minimal bir
   versiyonu olmalı."

   ÖLÇÜLDÜ, UYDURULMADI. Her sayı gerçek editörün `wwwroot/pdfgine/generator.css`
   dosyasından geliyor ve aynı oranla küçültülüyor:
     ray 52→40px, sol panel 264→200px, denetçi 336→236px, üst çubuk 56→42px,
     sahne çubuğu 48→38px, ikon 20→16px, denetim yüksekliği 34→28px.
   Renk, yarıçap ve dokular BİREBİR aynı: ray #222, tezgâh #e7e7e7 + 1px nokta ızgarası,
   vurgu #b5121b, yarıçap 4px, seçim çerçevesi 1.6px, tutamaklar beyaz dolgulu.
   `--bg`, `--rail`, `--accent` gibi tokenler burada yeniden yazılıyor çünkü tanıtım
   sayfası `generator.css`'i yüklemiyor; yükleseydi editörün tüm düzenini de getirirdi.
   Yazı tipi zaten ortak: iki taraf da DM Sans.

   BU BLOK TASARIMIN GÖRÜNÜMÜNÜ DEĞİŞTİRMİYOR: eski `studio-*` kuralları tasarımda
   duruyor, yalnızca artık hiçbir öğe onlara eşleşmiyor. Kapsayıcı çerçeve
   (`.platform-editor-preview`) tasarımın kendi kuralı olarak kalıyor. */
.pgx-editor {
  --pgx-line: #d5d5d5;
  --pgx-line-2: #909090;
  --pgx-ink: #222;
  --pgx-ink-2: #464646;
  --pgx-muted: #595959;
  --pgx-accent: #b5121b;
  --pgx-bg: #e7e7e7;
  --pgx-fill: #f4f4f4;
  --pgx-selected: #e2e2e2;
  --pgx-r: 4px;
  --pgx-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  display: grid;
  grid-template-rows: 42px minmax(0, 1fr);
  /* 620px (urun sahibi, 27.09.2026): 510'da kagit tuvalde kucuk kaliyor ve chrome
     metinleri ona gore iri gorunuyordu. */
  min-height: 620px;
  background: #fff;
  color: var(--pgx-ink);
}
.pgx-ic {
  width: 16px;
  height: 16px;
  display: block;
  stroke: currentColor;
  stroke-width: 2.1;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Üst çubuk: logo · şablon seçici · kaydet/yayımla · kip · indir */
.pgx-editor-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  background: #fff;
  border-bottom: 1px solid var(--pgx-line);
}
.pgx-editor-logo {
  height: 20px;
  width: auto;
  display: block;
}
.pgx-editor-divider {
  width: 1px;
  height: 20px;
  background: var(--pgx-line);
}
.pgx-editor-template {
  display: grid;
  align-content: center;
  gap: 1px;
  min-width: 0;
  max-width: 200px;
  height: 28px;
  padding: 0 10px;
  border: 1px solid var(--pgx-line);
  border-radius: var(--pgx-r);
}
.pgx-editor-template small {
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pgx-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pgx-editor-template strong {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pgx-editor-icbtn {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: var(--pgx-r);
  color: var(--pgx-ink-2);
}
.pgx-editor-spacer {
  flex: 1 1 auto;
}
.pgx-editor-seg {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 28px;
  padding: 2px;
  border: 1px solid var(--pgx-line-2);
  border-radius: var(--pgx-r);
}
.pgx-editor-seg > span {
  height: 22px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: var(--pgx-r);
  font-size: 10px;
  font-weight: 650;
  color: var(--pgx-muted);
  white-space: nowrap;
}
.pgx-editor-seg > span.on {
  background: #24262a;
  color: #fff;
  font-weight: 750;
}
.pgx-editor-download {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 11px;
  border-radius: var(--pgx-r);
  background: var(--pgx-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

/* Dört sütun: ray · sol panel · sahne · denetçi (gerçek editörle aynı sıra) */
.pgx-editor-body {
  display: grid;
  grid-template-columns: 40px 200px minmax(0, 1fr) 236px;
  min-height: 0;
}
.pgx-editor-rail {
  display: grid;
  align-content: start;
  gap: 5px;
  padding: 9px 6px;
  background: #222;
}
.pgx-editor-rail-item {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: var(--pgx-r);
  color: #b1b1b1;
}
.pgx-editor-rail-item.on {
  background: var(--pgx-accent);
  color: #fff;
}
.pgx-editor-panel {
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border-right: 1px solid var(--pgx-line);
}
.pgx-editor-sect {
  padding: 12px;
  border-bottom: 1px solid var(--pgx-line);
}
.pgx-editor-sect-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.pgx-editor-sect-head h3 {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
}
.pgx-editor-flow-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3px 8px;
  padding: 8px;
  border-radius: var(--pgx-r);
  background: var(--pgx-fill);
}
.pgx-editor-flow-row strong {
  grid-column: 1;
  grid-row: 1;
  font-size: 11px;
  font-weight: 650;
}
.pgx-editor-flow-badge {
  grid-column: 2;
  grid-row: 1;
  font: 750 10px var(--pgx-mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pgx-muted);
}
.pgx-editor-flow-row small {
  grid-column: 1 / -1;
  grid-row: 2;
  font-size: 10px;
  line-height: 1.35;
  color: var(--pgx-muted);
}
.pgx-editor-flow-row em {
  grid-column: 1 / -1;
  grid-row: 3;
  font-style: normal;
  font: 700 10px var(--pgx-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pgx-muted);
}
.pgx-editor-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 2px 8px;
  padding: 6px 8px;
  border: 1px solid transparent;
  border-radius: var(--pgx-r);
}
.pgx-editor-row + .pgx-editor-row {
  margin-top: 2px;
}
.pgx-editor-row.on {
  background: var(--pgx-selected);
  border-color: var(--pgx-line-2);
  box-shadow: inset 3px 0 0 var(--pgx-accent);
}
.pgx-editor-chip {
  grid-row: 1 / -1;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  color: var(--pgx-muted);
}
.pgx-editor-row.on .pgx-editor-chip {
  color: var(--pgx-accent);
}
.pgx-editor-row strong {
  font-size: 11px;
  font-weight: 600;
}
.pgx-editor-row small {
  font: 650 10px var(--pgx-mono);
  color: var(--pgx-muted);
}

/* Sahne: çubuk · cetveller · tezgâh · kâğıt */
.pgx-editor-stage {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: 38px minmax(0, 1fr);
  background: var(--pgx-bg);
}
.pgx-editor-stage-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 12px;
  background: #fff;
  border-bottom: 1px solid var(--pgx-line);
}
.pgx-editor-stage-bar > strong {
  min-width: 0;
  font-size: 10px;
  font-weight: 650;
  color: var(--pgx-ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pgx-editor-stage-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.pgx-editor-toggles {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 26px;
  padding: 2px;
  border: 1px solid var(--pgx-line);
  border-radius: var(--pgx-r);
}
.pgx-editor-toggles > span {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: var(--pgx-r);
  color: var(--pgx-muted);
}
.pgx-editor-toggles > span.on {
  background: #24262a;
  color: #fff;
}
.pgx-editor-zoom {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 26px;
  padding: 2px 4px;
  border: 1px solid var(--pgx-line);
  border-radius: var(--pgx-r);
  color: var(--pgx-ink-2);
}
.pgx-editor-zoom b {
  min-width: 34px;
  text-align: center;
  font: 650 11px var(--pgx-mono);
}
.pgx-editor-frame {
  min-height: 0;
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  grid-template-rows: 14px minmax(0, 1fr);
  overflow: hidden;
}
.pgx-editor-ruler-corner {
  background: #fff;
  border-right: 1px solid var(--pgx-line);
  border-bottom: 1px solid var(--pgx-line);
}
.pgx-editor-ruler-h {
  background:
    repeating-linear-gradient(90deg, var(--pgx-line-2) 0 1px, transparent 1px 14px) bottom / 100% 5px
      no-repeat,
    #fff;
  border-bottom: 1px solid var(--pgx-line);
}
.pgx-editor-ruler-v {
  background:
    repeating-linear-gradient(180deg, var(--pgx-line-2) 0 1px, transparent 1px 14px) right / 5px 100%
      no-repeat,
    #fff;
  border-right: 1px solid var(--pgx-line);
}
.pgx-editor-canvas {
  min-width: 0;
  min-height: 0;
  display: grid;
  place-items: center;
  padding: 16px;
  overflow: hidden;
  /* Editörün kendi nokta ızgarası; 22px'lik adım maketin ölçeğinde 14px. */
  background:
    radial-gradient(circle at 1px 1px, rgba(0, 0, 0, 0.12) 1px, transparent 0) 0 0 / 14px 14px,
    var(--pgx-bg);
}
.pgx-editor-paper {
  position: relative;
  width: 252px;
  max-width: 100%;
  aspect-ratio: 794 / 1123;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  padding: 7px;
  background: #fff;
  color: #201f1b;
  border-radius: 4px;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.2),
    0 18px 36px -18px rgba(0, 0, 0, 0.5);
}
.pgx-editor-band {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-height: 22px;
  padding: 3px 6px;
  border: 1px dashed #aeb5bf;
  border-radius: 3px;
  color: #68717d;
  font-size: 8px;
  line-height: 1.3;
}
.pgx-editor-band-foot {
  margin-top: auto;
}
.pgx-editor-paper-body {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 9px 4px;
}
.pgx-editor-paper-mark {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font: 700 7px var(--pgx-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #68717d;
}
.pgx-editor-paper h4 {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.15;
}
.pgx-editor-paper-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.pgx-editor-paper-meta small {
  display: block;
  font-size: 7px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #68717d;
}
.pgx-editor-paper-meta b {
  font-size: 9px;
  font-weight: 650;
}
.pgx-editor-paper table {
  width: 100%;
  border-collapse: collapse;
  font-size: 8px;
}
.pgx-editor-paper th {
  padding: 3px 0;
  text-align: left;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #68717d;
  border-bottom: 1px solid #dfe2e6;
}
.pgx-editor-paper td {
  padding: 3px 0;
  border-bottom: 1px solid #eceef1;
}
.pgx-editor-paper th:last-child,
.pgx-editor-paper td:last-child {
  text-align: right;
}
.pgx-editor-paper-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 4px;
  border-top: 1px solid #201f1b;
  font-size: 9px;
  font-weight: 700;
}
.pgx-editor-paper-footer {
  font-size: 7px;
  color: #68717d;
}
/* Seçili öğe: editörün kendi çerçevesi, etiketi ve tutamakları. */
.pgx-editor-selected {
  position: relative;
  padding: 4px;
  border-radius: 3px;
  outline: 1.6px solid var(--pgx-accent);
}
.pgx-editor-sel-label {
  position: absolute;
  left: -1.6px;
  top: -15px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  padding: 0 5px;
  background: var(--pgx-accent);
  color: #fff;
  border-radius: 4px 4px 4px 0;
  font: 600 9px var(--pgx-mono);
}
.pgx-editor-handle {
  position: absolute;
  width: 7px;
  height: 7px;
  background: #fff;
  border: 1.6px solid var(--pgx-accent);
  border-radius: 2px;
}
.pgx-editor-handle-tl {
  left: -4px;
  top: -4px;
}
.pgx-editor-handle-tr {
  right: -4px;
  top: -4px;
}
.pgx-editor-handle-bl {
  left: -4px;
  bottom: -4px;
}
.pgx-editor-handle-br {
  right: -4px;
  bottom: -4px;
}

/* Denetçi: sekme rayı · başlık (seçili öğenin tipi) · alanlar */
.pgx-editor-inspector {
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border-left: 1px solid var(--pgx-line);
}
.pgx-editor-inspector-nav {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr 0.85fr;
  align-items: center;
  gap: 2px;
  height: 38px;
  padding: 5px 6px;
  border-bottom: 1px solid var(--pgx-line);
}
.pgx-editor-inspector-nav > span {
  min-width: 0;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 1px solid transparent;
  border-radius: var(--pgx-r);
  color: var(--pgx-muted);
  font-size: 10px;
  font-weight: 600;
}
.pgx-editor-inspector-nav > span.on {
  color: var(--pgx-accent);
  background: var(--pgx-fill);
  border-color: var(--pgx-line-2);
  box-shadow: inset 0 -2px 0 var(--pgx-accent);
}
.pgx-editor-inspector-nav > span > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pgx-editor-tabs {
  display: flex;
  gap: 2px;
  margin-bottom: 12px;
  padding: 3px;
  border: 1px solid var(--pgx-line);
  border-radius: var(--pgx-r);
}
.pgx-editor-tabs > span {
  flex: 1;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: var(--pgx-r);
  font-size: 10px;
  font-weight: 600;
  color: var(--pgx-muted);
}
.pgx-editor-tabs > span.on {
  background: var(--pgx-ink-2);
  color: #fff;
  font-weight: 700;
}
.pgx-editor-field {
  display: grid;
  gap: 5px;
}
.pgx-editor-field + .pgx-editor-field {
  margin-top: 12px;
}
.pgx-editor-field-label {
  font-size: 10px;
  font-weight: 650;
  line-height: 1.3;
  color: var(--pgx-muted);
}
.pgx-editor-control {
  height: 28px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid var(--pgx-line);
  border-radius: var(--pgx-r);
  font-size: 10px;
  color: var(--pgx-ink);
}
.pgx-editor-control-mono {
  font-family: var(--pgx-mono);
}
.pgx-editor-align {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 28px;
  padding: 2px;
  border: 1px solid var(--pgx-line);
  border-radius: var(--pgx-r);
}
.pgx-editor-align > span {
  flex: 1;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: var(--pgx-r);
  color: var(--pgx-muted);
}
.pgx-editor-align > span.on {
  background: #24262a;
  color: #fff;
}

/* Dar ekran: gerçek editör de panelleri katlıyor. Önce denetçi, sonra sol panel çekilir;
   üç bölgeyi zorla sıkıştırmak maketi okunmaz yapardı. */
@media (max-width: 1080px) {
  .pgx-editor-body {
    grid-template-columns: 40px 190px minmax(0, 1fr);
  }
  .pgx-editor-inspector {
    display: none;
  }
}
@media (max-width: 820px) {
  .pgx-editor-body {
    grid-template-columns: 40px minmax(0, 1fr);
  }
  .pgx-editor-panel {
    display: none;
  }
  .pgx-editor-template,
  .pgx-editor-icbtn {
    display: none;
  }
}
