/* HKASOFT demo yönetim paneli */
@font-face { font-family: 'Onest'; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/onest-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Onest'; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/onest-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+20BA, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-weight: 500; font-display: swap; src: url(/assets/fonts/jetbrains-mono-latin.woff2) format('woff2'); }
:root {
  --bg: #f6f7f9; --surface: #fff; --surface-2: #f1f3f6; --ink: #121521; --ink-2: #2c3142; --muted: #646b7f; --line: #e4e7ee; --line-2: #eef0f4;
  --accent: #1a2bd8; --accent-soft: #eceefe; --ok: #0f7a4a; --ok-soft: #e5f5ed; --warn: #9a5b00; --warn-soft: #fdf1dc; --err: #b42318; --err-soft: #fde8e6; --blue-soft: #e8f1fd; --blue: #175cd3;
  --r: 12px; --side: 248px;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 14.5px/1.5 Onest, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
.psprite { display: none; }
svg { width: 18px; height: 18px; flex: none; }
a { color: var(--accent); }
button, input, textarea, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }
h1, h2 { margin: 0; letter-spacing: -.01em; }
.pd-muted { color: var(--muted); font-size: 13px; }

.pd-bar { display: flex; align-items: center; justify-content: center; gap: 8px 18px; flex-wrap: wrap; padding: 8px 16px; background: #0f1222; color: #c9cde2; font-size: 13px; }
.pd-bar b { color: #fff; }
.pd-bar a { color: #aab4ff; }
.pd-bar button { background: none; border: 1px solid #3a3f5c; color: #c9cde2; border-radius: 999px; padding: 3px 11px; cursor: pointer; font-size: 12.5px; }
.pd-bar button:hover { border-color: #aab4ff; color: #fff; }
.pd-bar__cta { font-weight: 600; text-decoration: none; }

.pd { display: grid; grid-template-columns: var(--side) minmax(0, 1fr); min-height: calc(100dvh - 37px); }
.pd-side { position: sticky; top: 0; height: 100dvh; display: flex; flex-direction: column; gap: 6px; padding: 16px 12px; background: var(--surface); border-right: 1px solid var(--line); }
.pd-biz { display: flex; gap: 10px; align-items: center; padding: 6px 8px 16px; border-bottom: 1px solid var(--line-2); margin-bottom: 8px; }
.pd-biz__mark { width: 36px; height: 36px; border-radius: 9px; background: #c8102e; color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 13px; letter-spacing: .02em; }
.pd-biz strong { display: block; font-size: 14px; line-height: 1.2; }
.pd-biz small { color: var(--muted); font-size: 12.5px; }
.pd-nav { display: grid; gap: 2px; }
.pd-nav a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; color: var(--ink-2); text-decoration: none; font-weight: 500; }
.pd-nav a svg { color: var(--muted); }
.pd-nav a:hover { background: var(--surface-2); }
.pd-nav a.on { background: var(--accent-soft); color: var(--accent); }
.pd-nav a.on svg { color: var(--accent); }
.pd-nav a b { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--accent); color: #fff; font-size: 11.5px; display: grid; place-items: center; }
.pd-nav a b:empty { display: none; }
.pd-side__site { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink-2); text-decoration: none; font-weight: 500; }
.pd-side__site:hover { border-color: var(--accent); color: var(--accent); }
.pd-ext { margin-left: auto; width: 15px; height: 15px; color: var(--muted); }
.pd-user { display: flex; gap: 10px; align-items: center; padding: 12px 8px 2px; border-top: 1px solid var(--line-2); margin-top: 8px; }
.pd-user span, .pd-users span { width: 32px; height: 32px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--ink-2); flex: none; }
.pd-user strong, .pd-users strong { display: block; font-size: 13.5px; line-height: 1.2; }
.pd-user small, .pd-users small { color: var(--muted); font-size: 12px; }

.pd-main { min-width: 0; padding: 0 28px 48px; }
.pd-top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 14px; padding: 16px 0; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); }
.pd-top h1 { font-size: 21px; }
.pd-top__r { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.pd-burger { display: none; border: 0; background: none; padding: 6px; cursor: pointer; }
.pd-search { display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 9px; padding: 0 10px; width: 260px; color: var(--muted); }
.pd-search input { border: 0; outline: none; background: none; padding: 8px 0; width: 100%; color: var(--ink); }
.pd-live { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--ok); background: var(--ok-soft); padding: 5px 11px; border-radius: 999px; font-weight: 600; white-space: nowrap; }
.pd-live i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 25%, transparent); }
.pd-icon { position: relative; border: 1px solid var(--line); background: var(--surface); border-radius: 9px; width: 38px; height: 38px; display: grid; place-items: center; cursor: pointer; color: var(--ink-2); }
.pd-icon b { position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--err); color: #fff; font-size: 11px; display: grid; place-items: center; padding: 0 4px; }

.pd-view { display: grid; gap: 18px; }
.pd-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; min-width: 0; }
.pd-card--flush { padding: 0; overflow: hidden; }
.pd-card__h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.pd-card__h h2 { font-size: 15.5px; }
.pd-mt { margin-top: 22px; }
.pd-link { font-size: 13px; font-weight: 600; text-decoration: none; }
.pd-grid2 { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 18px; }
.pd-grid2--edit { grid-template-columns: minmax(0, 1fr) minmax(0, 380px); }

.pd-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.pd-kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; }
.pd-kpi small { color: var(--muted); font-size: 13px; display: flex; align-items: center; gap: 6px; }
.pd-kpi small svg { width: 16px; height: 16px; }
.pd-kpi strong { display: block; font-size: 26px; letter-spacing: -.02em; margin: 6px 0 2px; font-variant-numeric: tabular-nums; }
.pd-kpi span { font-size: 12.5px; color: var(--muted); }
.pd-kpi span em { font-style: normal; color: var(--ok); font-weight: 600; }

.pd-chart { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; align-items: end; height: 190px; padding-top: 10px; }
.pd-chart div { display: grid; gap: 6px; justify-items: center; height: 100%; align-content: end; }
.pd-chart i { width: 100%; max-width: 44px; background: var(--accent-soft); border-radius: 6px 6px 2px 2px; position: relative; }
.pd-chart div:last-child i { background: var(--accent); }
.pd-chart b { font-size: 11.5px; color: var(--muted); font-weight: 500; font-variant-numeric: tabular-nums; }
.pd-chart span { font-size: 12px; color: var(--muted); }

.pd-mini, .pd-notes, .pd-top5 { list-style: none; margin: 0; padding: 0; }
.pd-mini li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.pd-mini li:last-child { border: 0; }
.pd-mini code, .pd-ord code { font: 500 12.5px 'JetBrains Mono', monospace; color: var(--muted); }
.pd-mini .pd-mini__t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pd-mini strong { font-variant-numeric: tabular-nums; }
.pd-top5 { counter-reset: t; }
.pd-top5 li { display: flex; gap: 12px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line-2); counter-increment: t; }
.pd-top5 li::before { content: counter(t); width: 22px; height: 22px; border-radius: 6px; background: var(--surface-2); display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--muted); }
.pd-top5 li span { flex: 1; }
.pd-top5 li b { font-variant-numeric: tabular-nums; }
.pd-notes li { display: flex; gap: 10px; padding: 10px 12px; border-radius: 9px; background: var(--surface-2); margin-bottom: 8px; font-size: 13.5px; align-items: flex-start; }
.pd-notes li svg { margin-top: 1px; color: var(--warn); }
.pd-notes li.ok svg { color: var(--ok); }

.pill { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 999px; white-space: nowrap; }
.pill--yeni { background: var(--blue-soft); color: var(--blue); }
.pill--hazir { background: var(--warn-soft); color: var(--warn); }
.pill--yolda { background: var(--accent-soft); color: var(--accent); }
.pill--teslim { background: var(--ok-soft); color: var(--ok); }

.pd-toolbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pd-toolbar__r { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.pd-seg, .pd-tabs { display: inline-flex; background: var(--surface); border: 1px solid var(--line); border-radius: 9px; padding: 3px; gap: 2px; overflow-x: auto; max-width: 100%; }
.pd-seg button, .pd-tabs button { border: 0; background: none; padding: 6px 12px; border-radius: 7px; cursor: pointer; font-weight: 500; color: var(--muted); white-space: nowrap; }
.pd-seg button.on, .pd-tabs button.on { background: var(--surface-2); color: var(--ink); font-weight: 600; }

.pd-board { display: grid; grid-template-columns: repeat(4, minmax(240px, 1fr)); gap: 14px; overflow-x: auto; padding-bottom: 6px; }
.pd-col { background: var(--surface-2); border-radius: var(--r); padding: 10px; min-height: 300px; display: flex; flex-direction: column; gap: 10px; }
.pd-col__h { display: flex; align-items: center; gap: 8px; padding: 4px 4px 2px; font-weight: 600; font-size: 13.5px; }
.pd-col__h em { font-style: normal; color: var(--muted); font-weight: 500; }
.pd-ord { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 12px; display: grid; gap: 8px; animation: pin .3s ease-out; }
@keyframes pin { from { transform: translateY(-6px); opacity: 0; } }
.pd-ord.is-new { box-shadow: 0 0 0 2px var(--accent); }
.pd-ord__h { display: flex; justify-content: space-between; align-items: center; }
.pd-ord__who { font-weight: 600; }
.pd-ord__meta { display: flex; gap: 10px; flex-wrap: wrap; color: var(--muted); font-size: 12.5px; }
.pd-ord__meta span { display: inline-flex; gap: 4px; align-items: center; }
.pd-ord__meta svg { width: 14px; height: 14px; }
.pd-ord ul { margin: 0; padding: 0; list-style: none; font-size: 13.5px; color: var(--ink-2); display: grid; gap: 2px; }
.pd-ord__f { display: flex; justify-content: space-between; align-items: center; border-top: 1px dashed var(--line); padding-top: 8px; }
.pd-ord__f strong { font-variant-numeric: tabular-nums; }

.pd-btn { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 9px; border: 1px solid var(--accent); background: var(--accent); color: #fff; font-weight: 600; cursor: pointer; text-decoration: none; white-space: nowrap; font-size: 13.5px; }
.pd-btn:hover { filter: brightness(1.08); }
.pd-btn--ghost { background: var(--surface); color: var(--ink-2); border-color: var(--line); }
.pd-btn--ghost:hover { border-color: var(--ink-2); filter: none; }
.pd-btn--sm { padding: 5px 10px; font-size: 12.5px; }
.pd-btn svg { width: 16px; height: 16px; }

.pd-table { width: 100%; border-collapse: collapse; }
.pd-table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; padding: 10px 16px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.pd-table td { padding: 10px 16px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.pd-table tr:last-child td { border-bottom: 0; }
.pd-table tr.is-off td:not(:last-child) { opacity: .5; }
.pd-prod { display: flex; gap: 12px; align-items: center; }
.pd-prod img, .pd-prod i { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; flex: none; background: var(--surface-2); }
.pd-prod i { display: grid; place-items: center; color: var(--muted); }
.pd-prod strong { display: block; }
.pd-prod small { color: var(--muted); font-size: 12px; }
.pd-desc { color: var(--muted); font-size: 13px; max-width: 340px; }
.pd-price { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); overflow: hidden; }
.pd-price input { width: 84px; border: 0; padding: 7px 4px 7px 10px; text-align: right; outline: none; font-variant-numeric: tabular-nums; font-weight: 600; background: none; }
.pd-price span { padding: 0 10px 0 2px; color: var(--muted); }
.pd-price:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.pd-price.changed { border-color: var(--ok); }
.pd-sw { position: relative; display: inline-block; vertical-align: middle; width: 38px; height: 22px; flex: none; }
.pd-sw input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.pd-sw i { position: absolute; inset: 0; border-radius: 11px; background: #cfd4df; transition: background .15s; pointer-events: none; }
.pd-sw i::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .15s; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); }
.pd-sw input:checked + i { background: var(--ok); }
.pd-sw input:checked + i::after { transform: translateX(16px); }
.pd-sw input:focus-visible + i { outline: 2px solid var(--accent); outline-offset: 2px; }
.pd-saved { display: inline-flex; align-items: center; gap: 6px; color: var(--ok); font-size: 13px; font-weight: 600; }
.pd-help { color: var(--muted); font-size: 13px; margin: 0; }

.pd-form { display: grid; gap: 14px; align-content: start; }
.pd-form label { display: grid; gap: 6px; }
.pd-form label > span { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.pd-form small { color: var(--muted); font-size: 12px; }
.pd-form input, .pd-form textarea { width: 100%; padding: 9px 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); outline: none; resize: vertical; }
.pd-form input:focus, .pd-form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.pd-form__b { display: flex; gap: 10px; flex-wrap: wrap; }
.pd-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pd-quick { display: flex; gap: 6px; flex-wrap: wrap; }
.pd-quick button { border: 1px dashed var(--line); background: var(--surface-2); border-radius: 999px; padding: 4px 11px; font-size: 12.5px; cursor: pointer; color: var(--ink-2); }
.pd-quick button:hover { border-color: var(--accent); color: var(--accent); }

.pd-prev { position: sticky; top: 80px; }
.pd-phone { margin: 0 auto; width: 300px; max-width: 100%; border: 10px solid #15171f; border-radius: 34px; overflow: hidden; background: #fff; }
.pd-phone__scr { height: 460px; overflow: hidden; font-family: 'Figtree', Onest, sans-serif; }
.pv-bar { background: #0f1222; color: #c9cde2; font-size: 8.5px; padding: 4px 8px; text-align: center; }
.pv-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; position: absolute; left: 0; right: 0; color: #fff; font-weight: 800; font-size: 13px; letter-spacing: .02em; }
.pv-head i { width: 18px; height: 2px; background: #fff; box-shadow: 0 5px 0 #fff, 0 -5px 0 #fff; }
.pv-notice { background: #c8102e; color: #fff; font-size: 11px; font-weight: 600; text-align: center; padding: 6px 10px; }
.pv-hero { position: relative; min-height: 320px; display: flex; align-items: flex-end; color: #fff; background: #222 center / cover; }
.pv-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .2), rgba(0, 0, 0, .78)); }
.pv-hero div { position: relative; padding: 16px 14px 18px; }
.pv-hero h3 { margin: 0; font: 400 30px/.98 Anton, Oswald, Impact, sans-serif; text-transform: uppercase; }
.pv-hero p { font-size: 11.5px; margin: 8px 0 12px; opacity: .92; line-height: 1.45; }
.pv-hero b { display: inline-block; background: #c8102e; font-size: 11px; padding: 7px 11px; border-radius: 5px; }
.pv-wrap { position: relative; }

.pd-inbox { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 18px; align-items: start; }
.pd-inbox__list { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.pd-inbox__list li { padding: 13px 16px; border-bottom: 1px solid var(--line-2); cursor: pointer; display: grid; gap: 2px; }
.pd-inbox__list li:hover { background: var(--surface-2); }
.pd-inbox__list li.on { background: var(--accent-soft); }
.pd-inbox__list li.unread strong::after { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-left: 7px; vertical-align: 2px; }
.pd-inbox__list li div { display: flex; justify-content: space-between; gap: 8px; }
.pd-inbox__list small { color: var(--muted); font-size: 12px; white-space: nowrap; }
.pd-inbox__list p { margin: 0; color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pd-read__h { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-bottom: 1px solid var(--line-2); padding-bottom: 14px; margin-bottom: 14px; }
.pd-read__h h2 { font-size: 17px; }
.pd-read__meta { display: flex; gap: 14px; flex-wrap: wrap; color: var(--muted); font-size: 13px; }
.pd-read__meta span { display: inline-flex; gap: 5px; align-items: center; }
.pd-read__meta svg { width: 15px; height: 15px; }
.pd-read__body { white-space: pre-line; color: var(--ink-2); }
.pd-read__fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; margin: 16px 0; }
.pd-read__fields div { background: var(--surface-2); border-radius: 9px; padding: 10px 12px; }
.pd-read__fields small { display: block; color: var(--muted); font-size: 12px; }
.pd-reply { display: grid; gap: 10px; margin-top: 18px; }
.pd-reply textarea { width: 100%; min-height: 100px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; resize: vertical; outline: none; }
.pd-reply textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.pd-reply div { display: flex; gap: 8px; flex-wrap: wrap; }

.pd-hours { list-style: none; margin: 0; padding: 0; }
.pd-hours li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.pd-users { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pd-users li { display: flex; gap: 10px; align-items: center; }

.pd-toasts { position: fixed; right: 20px; bottom: 20px; display: grid; gap: 8px; z-index: 50; }
.pd-toast { display: flex; gap: 10px; align-items: flex-start; background: #121521; color: #fff; padding: 12px 14px; border-radius: 11px; box-shadow: 0 16px 40px -14px rgba(0, 0, 0, .5); width: 320px; max-width: calc(100vw - 40px); animation: pin .25s ease-out; font-size: 13.5px; }
.pd-toast svg { color: #7ee2b1; margin-top: 1px; }
.pd-toast b { display: block; }
.pd-toast small { color: #a6abc0; }

@media (max-width: 1100px) {
  .pd-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pd-grid2, .pd-grid2--edit { grid-template-columns: minmax(0, 1fr); }
  .pd-prev { position: static; }
  .pd-search { width: 200px; }
}
@media (max-width: 860px) {
  .pd { grid-template-columns: minmax(0, 1fr); }
  .pd-side { position: fixed; z-index: 40; left: 0; top: 0; width: 270px; transform: translateX(-105%); transition: transform .22s; box-shadow: 20px 0 60px rgba(0, 0, 0, .2); }
  .pd-side.open { transform: none; }
  .pd-burger { display: block; }
  .pd-main { padding: 0 14px 40px; }
  .pd-search, .pd-live { display: none; }
  .pd-inbox { grid-template-columns: minmax(0, 1fr); }
  .pd-hide-s { display: none; }
  .pd-table td, .pd-table th { padding: 10px; }
  .pd-board { grid-template-columns: repeat(4, 260px); }
  .pd-2 { grid-template-columns: minmax(0, 1fr); }
  .pd-toolbar__r { margin-left: 0; }
}
/* Demo şeridi sabit, kenar menü onun altında tam yükseklik */
.pd-bar { position: sticky; top: 0; z-index: 30; min-height: 37px; }
@media (min-width: 861px) {
  .pd-side { top: 37px; height: calc(100dvh - 37px); overflow-y: auto; }
  .pd-top { top: 37px; }
}

/* ===== Detaylı panel (v2) ===== */
.pd-nav__g { display: grid; gap: 1px; margin-bottom: 10px; }
.pd-nav__g small { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 8px 10px 4px; }
.pd-nav a span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pd-nav { overflow-y: auto; flex: 1; min-height: 0; margin: 0 -4px; padding: 0 4px; }
.pd-biz { position: relative; }
.pd-biz__chev { margin-left: auto; color: var(--muted); width: 16px; height: 16px; }
.pd-cmdk { display: flex; align-items: center; gap: 8px; width: 100%; border: 1px solid var(--line); background: var(--surface-2); border-radius: 9px; padding: 7px 10px; color: var(--muted); cursor: pointer; margin-bottom: 10px; font-size: 13.5px; }
.pd-cmdk span { flex: 1; text-align: left; }
kbd { font: 500 11px 'JetBrains Mono', monospace; background: var(--surface); border: 1px solid var(--line); border-radius: 5px; padding: 1px 5px; color: var(--muted); }
.pd-user svg { margin-left: auto; color: var(--muted); }
.pd-crumb { display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--muted); }
.pd-crumb svg { width: 14px; height: 14px; }
.pd-crumb b { color: var(--ink); font-weight: 600; }
.pd-page { display: grid; gap: 18px; padding-bottom: 20px; }
.pd-page--full { gap: 0; }
.pd-ph { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; padding-top: 4px; }
.pd-ph h1 { font-size: 24px; }
.pd-ph p { margin: 4px 0 0; color: var(--muted); font-size: 13.5px; }
.pd-ph__a { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.pd-demo-tag { display: inline-block; font-size: 11.5px; font-weight: 600; background: var(--warn-soft); color: var(--warn); padding: 1px 8px; border-radius: 999px; }
.pd-h2 { font-size: 16px; margin: 8px 0 -6px; }
.pd-kpis { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.pd-kpis--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pd-kpis--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pd-kpi strong { font-size: 22px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pd-kpi span em.neg { color: var(--err); }
.pd-grid { display: grid; gap: 18px; }
.pd-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pd-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pd-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pd-grid--21 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.pd-grid--12 { grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); }
.pd-gap { gap: 12px; }
.pd-stack { display: grid; gap: 18px; align-content: start; }
.pd-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.pd-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pd-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pd-cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pd-cards .pd-card p { margin: 6px 0; font-size: 13.5px; }
.pd-card__h h2 svg { width: 16px; height: 16px; vertical-align: -3px; color: var(--accent); }
.pd-card__t { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.pd-card__t h2 { font-size: 15px; }
.pd-p { padding: 6px; font-size: 13px; }
.pd-ml { margin-left: auto; }
.pd-click { cursor: pointer; }
.pd-click:hover td { background: var(--surface-2); }
.pd-hs { }
.pill--iptal { background: var(--err-soft); color: var(--err); }
.pill--gri { background: var(--surface-2); color: var(--muted); }
.pd-tag { display: inline-block; font-size: 11.5px; font-weight: 600; padding: 1px 8px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); white-space: nowrap; }
.pd-code { font: 600 12.5px 'JetBrains Mono', monospace; background: var(--accent-soft); color: var(--accent); padding: 2px 7px; border-radius: 6px; }
.pd-av { width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: inline-grid; place-items: center; font-size: 11.5px; font-weight: 700; flex: none; }
.pd-who { display: flex; align-items: center; gap: 10px; }
.pd-who small { display: block; color: var(--muted); font-size: 12px; }
.pd-bar2 { display: inline-block; width: 100%; height: 7px; background: var(--surface-2); border-radius: 99px; overflow: hidden; vertical-align: middle; }
.pd-bar2 i { display: block; height: 100%; background: var(--accent); border-radius: 99px; }
.pd-bar2.k-iptal i { background: var(--err); } .pd-bar2.k-hazir i { background: #e0a526; } .pd-bar2.k-teslim i { background: var(--ok); }
.pd-pct { font-weight: 600; color: var(--ok); }
.pd-rank { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pd-rank li { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto; gap: 12px; align-items: center; font-size: 13.5px; }
.pd-rank li span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pd-rank b { font-variant-numeric: tabular-nums; min-width: 40px; text-align: right; }
.pd-todo, .pd-log, .pd-addr, .pd-checks { list-style: none; margin: 0; padding: 0; }
.pd-todo li a { display: flex; gap: 10px; padding: 10px; border-radius: 9px; text-decoration: none; color: var(--ink); align-items: flex-start; }
.pd-todo li a:hover { background: var(--surface-2); }
.pd-todo svg { color: var(--accent); margin-top: 1px; } .pd-todo svg.warn { color: var(--err); }
.pd-todo b { display: block; font-size: 13.5px; } .pd-todo small { color: var(--muted); font-size: 12.5px; }
.pd-log li { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line-2); font-size: 13.5px; align-items: flex-start; }
.pd-log li:last-child { border: 0; }
.pd-log li > span svg { color: var(--ok); }
.pd-log small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.pd-mini li { cursor: default; }
.pd-mini li[data-order] { cursor: pointer; }
.pd-addr li { display: flex; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line-2); font-size: 13.5px; }
.pd-addr li span { flex: 1; }
.pd-addr svg { color: var(--muted); }
.pd-checks li { display: flex; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line-2); font-size: 14px; }
.pd-checks li span { flex: 1; }
.pd-checks li.ok svg { color: var(--ok); } .pd-checks li.warn svg { color: var(--warn); }
.pos { color: var(--ok); font-weight: 600; } .neg { color: var(--err); font-weight: 600; }

.pd-line { width: 100%; height: 220px; display: block; }
.pd-line .g line { stroke: var(--line-2); } .pd-line .g text, .pd-line .x text { font-size: 10.5px; fill: var(--muted); font-family: Onest, sans-serif; }
.pd-line .l { fill: none; stroke: var(--accent); stroke-width: 2.2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.pd-line .a { fill: var(--accent); opacity: .08; }
.pd-line circle { fill: var(--accent); stroke: #fff; stroke-width: 2; }
.pd-donut { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.pd-donut svg { width: 140px; height: 140px; flex: none; }
.pd-donut path { fill: none; stroke-width: 18; }
.pd-donut ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; flex: 1; min-width: 140px; font-size: 13.5px; }
.pd-donut li { display: flex; align-items: center; gap: 8px; }
.pd-donut li i { width: 10px; height: 10px; border-radius: 3px; }
.pd-donut li b { margin-left: auto; font-variant-numeric: tabular-nums; }
.pd-heat { display: grid; grid-template-columns: 34px repeat(13, minmax(0, 1fr)); gap: 3px; align-items: center; }
.pd-heat small { font-size: 10.5px; color: var(--muted); text-align: center; }
.pd-heat i { aspect-ratio: 1.6; border-radius: 3px; background: var(--accent); }

.pd-ord__meta svg { width: 13px; height: 13px; }
.pd-ord ul em { color: var(--warn); font-style: normal; font-size: 12.5px; }
.pd-ord { cursor: pointer; }
.pd-ord:hover { border-color: var(--accent); }
.pd-col__h b { font-size: 13.5px; }
.pd-legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13.5px; }
.pd-legend span { display: inline-flex; align-items: center; gap: 6px; }
.pd-legend i { width: 12px; height: 12px; border-radius: 4px; }
.t-bos { background: var(--surface); border-color: var(--line) !important; }
.t-dolu { background: var(--accent-soft); border-color: var(--accent) !important; }
.t-hesap { background: var(--warn-soft); border-color: #e0a526 !important; }
.t-ayri { background: var(--surface-2); border-style: dashed !important; }
.pd-legend i.t-bos { border: 1px solid var(--line); }
.pd-floor { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.pd-tbl { border: 1.5px solid; border-radius: 12px; padding: 14px 10px; display: grid; gap: 2px; justify-items: center; cursor: pointer; font: inherit; color: var(--ink); min-height: 96px; align-content: center; }
.pd-tbl b { font-size: 20px; }
.pd-tbl small { color: var(--muted); font-size: 12px; }
.pd-tbl em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--ink-2); }
.pd-tbl.s8 { grid-column: span 2; }
.pd-split { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 18px; align-items: start; }
.pd-cats { display: grid; gap: 2px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 6px; }
.pd-cats button { display: flex; align-items: center; gap: 8px; border: 0; background: none; padding: 8px 10px; border-radius: 8px; cursor: pointer; text-align: left; color: var(--ink-2); font-weight: 500; }
.pd-cats button span { flex: 1; }
.pd-cats button b { color: var(--muted); font-size: 12px; font-weight: 600; }
.pd-cats button.on { background: var(--accent-soft); color: var(--accent); }
.grip { color: #b7bccb; width: 15px; height: 15px; cursor: grab; }
.pd-search { display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 9px; padding: 0 10px; color: var(--muted); max-width: 320px; }
.pd-search input { border: 0; outline: none; background: none; padding: 7px 0; width: 100%; color: var(--ink); }
.pd-score { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; font-weight: 700; background: var(--ok-soft); color: var(--ok); }
.pd-score.s3 { background: var(--warn-soft); color: var(--warn); } .pd-score.s2, .pd-score.s1 { background: var(--err-soft); color: var(--err); }
.pd-big { font-size: 46px; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.pd-big small { font-size: 18px; color: var(--muted); font-weight: 500; }
.pd-cstat { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 12px; font-size: 13px; color: var(--muted); }
.pd-cstat b { color: var(--ink); }
.pd-int { display: flex; gap: 12px; align-items: center; }
.pd-int > div { flex: 1; min-width: 0; }
.pd-int b { display: block; } .pd-int small { color: var(--muted); font-size: 12.5px; }
.pd-int__ic { width: 40px; height: 40px; border-radius: 10px; background: var(--surface-2); display: grid; place-items: center; color: var(--ink-2); flex: none; }
.pd-bubble { background: #e7f6ec; color: #0b2a17; border-radius: 12px 12px 12px 3px; padding: 11px 13px; font-size: 13.5px; margin: 6px 0 12px; }
.pd-bubble mark { background: #fff3c4; padding: 0 3px; border-radius: 3px; }
.pd-serp { border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; margin-bottom: 14px; font-family: arial, sans-serif; }
.pd-serp small { color: #202124; font-size: 12.5px; }
.pd-serp b { display: block; color: #1a0dab; font-size: 18px; font-weight: 400; margin: 3px 0; }
.pd-serp p { margin: 0; color: #4d5156; font-size: 13.5px; line-height: 1.5; }
.pd-dl { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 0; }
.pd-dl div { padding: 9px 0; border-bottom: 1px solid var(--line-2); }
.pd-dl dt { font-size: 12px; color: var(--muted); } .pd-dl dd { margin: 2px 0 0; font-weight: 600; font-size: 13.5px; }
.pd-media { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.pd-media figure { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; cursor: pointer; }
.pd-media figure:hover { border-color: var(--accent); }
.pd-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.pd-media figcaption { padding: 8px 10px; }
.pd-media b { display: block; font-size: 13px; } .pd-media small { color: var(--muted); font-size: 12px; }
.pd-sched { overflow-x: auto; }
.pd-shift { display: inline-block; font-size: 11.5px; font-weight: 600; padding: 3px 7px; border-radius: 6px; white-space: nowrap; }
.pd-shift.e { background: var(--blue-soft); color: var(--blue); } .pd-shift.l { background: var(--accent-soft); color: var(--accent); } .pd-shift.off { background: var(--surface-2); color: var(--muted); }
.pd-perm td, .pd-perm th { text-align: center; } .pd-perm td:first-child, .pd-perm th:first-child { text-align: left; }
.pd-perm input { width: 16px; height: 16px; accent-color: var(--accent); }

/* Çekmece, pencere, komut paleti */
.pd-drawer, .pd-modal { position: fixed; inset: 0; z-index: 60; }
.pd-drawer__bg { position: absolute; inset: 0; background: rgba(15, 18, 34, .38); }
.pd-drawer__box { position: absolute; top: 0; right: 0; bottom: 0; width: min(560px, 100%); background: var(--surface); display: flex; flex-direction: column; box-shadow: -30px 0 60px -20px rgba(0, 0, 0, .3); animation: dr .2s ease-out; }
.pd-drawer__box.wide { width: min(760px, 100%); }
@keyframes dr { from { transform: translateX(30px); opacity: 0; } }
.pd-dh { display: flex; justify-content: space-between; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); align-items: flex-start; }
.pd-dh h2 { font-size: 18px; } .pd-dh p { margin: 3px 0 0; color: var(--muted); font-size: 13px; }
.pd-dh__r { display: flex; gap: 8px; align-items: center; }
.pd-db { flex: 1; overflow-y: auto; padding: 18px 20px; display: grid; gap: 14px; align-content: start; }
.pd-db h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 6px 0 -4px; }
.pd-dt { display: grid; gap: 14px; }
.pd-df { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; padding: 14px 20px; border-top: 1px solid var(--line); }
.pd-btn--danger { background: var(--surface); color: var(--err); border-color: var(--err-soft); margin-right: auto; }
.pd-btn--danger:hover { background: var(--err-soft); filter: none; }
.pd-box { background: var(--surface-2); border-radius: 10px; padding: 12px 14px; font-size: 13.5px; }
.pd-box h3 { margin: 0 0 6px !important; }
.pd-box p { margin: 4px 0; }
.pd-note { display: flex; gap: 6px; color: var(--warn); }
.pd-tl { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.pd-tl li { border-top: 3px solid var(--line); padding-top: 8px; font-size: 12.5px; }
.pd-tl li.done { border-color: var(--ok); }
.pd-tl small { display: block; color: var(--muted); }
.pd-table--in { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; display: table; }
.pd-table tfoot td { padding: 8px 16px; color: var(--muted); }
.pd-table tfoot td:last-child { text-align: right; color: var(--ink); }
.pd-table tfoot tr.tot td { font-weight: 700; color: var(--ink); font-size: 15px; border-top: 1px solid var(--line); }
.pd-table--in td input[type=time] { border: 1px solid var(--line); border-radius: 7px; padding: 4px 6px; }
.pd-f { display: grid; gap: 6px; min-width: 0; }
.pd-f > span { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.pd-f small { color: var(--muted); font-size: 12px; }
.pd-f input, .pd-f textarea, .pd-f select { width: 100%; padding: 9px 11px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); outline: none; resize: vertical; min-width: 0; }
.pd-f input:focus, .pd-f textarea:focus, .pd-f select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.pd-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pd-chips--grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.pd-chips label { position: relative; }
.pd-chips input { position: absolute; opacity: 0; }
.pd-chips span { display: block; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; cursor: pointer; }
.pd-chips input:checked + span { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); font-weight: 600; }
.pd-imgpick { display: flex; gap: 16px; align-items: flex-start; }
.pd-imgpick img, .pd-imgpick__e { width: 160px; height: 160px; border-radius: 10px; object-fit: cover; flex: none; background: var(--surface-2); }
.pd-imgpick__e { display: grid; place-content: center; justify-items: center; color: var(--muted); gap: 6px; font-size: 13px; }
.pd-imgpick > div { display: grid; gap: 8px; justify-items: start; }
.pd-mprev { width: 100%; border-radius: 10px; }
.pd-modal__box { position: relative; margin: 12vh auto 0; width: min(600px, calc(100% - 32px)); background: var(--surface); border-radius: 14px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5); }
.pd-cmdk__in { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); color: var(--muted); }
.pd-cmdk__in input { flex: 1; border: 0; outline: none; font-size: 16px; color: var(--ink); background: none; }
.pd-cmdk__list { list-style: none; margin: 0; padding: 6px; max-height: 50vh; overflow-y: auto; }
.pd-cmdk__list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 8px; cursor: pointer; }
.pd-cmdk__list li:hover, .pd-cmdk__list li.on { background: var(--surface-2); }
.pd-cmdk__list small { color: var(--muted); }
.pd-toast--demo svg { color: #ffd27a; }

/* Site düzenleyici */
.pd-editor { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 0; height: calc(100dvh - 37px - 70px); margin: 0 -28px -48px; border-top: 1px solid var(--line); }
.pd-editor__side { display: flex; flex-direction: column; background: var(--surface); border-right: 1px solid var(--line); min-height: 0; }
.pd-editor__top { padding: 16px 18px 6px; }
.pd-editor__top h1 { font-size: 20px; }
.pd-editor__top p { margin: 3px 0 0; font-size: 12.5px; }
.pd-editor__side > .pd-f { padding: 8px 18px; }
.pd-editor__side > .pd-tabs { margin: 6px 18px 0; }
.pd-editor__ctrl { flex: 1; overflow-y: auto; padding: 14px 18px 18px; display: grid; gap: 12px; align-content: start; }
.pd-editor__ctrl h3 { font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 8px 0 -2px; }
.pd-editor__f { display: flex; gap: 8px; justify-content: space-between; padding: 12px 18px; border-top: 1px solid var(--line); }
.pd-editor__prev { display: flex; flex-direction: column; min-width: 0; background: #e6e9ef; }
.pd-editor__bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--surface); border-bottom: 1px solid var(--line); }
.pd-url { flex: 1; display: flex; align-items: center; gap: 6px; background: var(--surface-2); border-radius: 8px; padding: 6px 10px; font-size: 13px; color: var(--ink-2); min-width: 0; overflow: hidden; white-space: nowrap; }
.pd-url svg { width: 14px; height: 14px; color: var(--ok); }
.pd-frame { flex: 1; display: flex; justify-content: center; padding: 16px; min-height: 0; overflow: hidden; }
.pd-frame iframe { width: 100%; height: 100%; border: 0; background: #fff; border-radius: 8px; box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .35); }
.pd-frame--mob iframe { width: 390px; max-width: 100%; border-radius: 26px; border: 10px solid #15171f; }
.pd-presets { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.pd-presets button { display: grid; gap: 6px; border: 1px solid var(--line); background: var(--surface); border-radius: 10px; padding: 8px; cursor: pointer; text-align: left; font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.pd-presets button:hover { border-color: var(--accent); }
.pd-presets span { display: flex; gap: 4px; height: 34px; border-radius: 6px; padding: 6px; border: 1px solid var(--line-2); }
.pd-presets span i { flex: 1; border-radius: 4px; }
.pd-color > span:last-child { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 9px; padding: 4px 8px; }
.pd-color input[type=color] { width: 30px; height: 26px; border: 0; padding: 0; background: none; cursor: pointer; }
.pd-color code { font: 500 12.5px 'JetBrains Mono', monospace; color: var(--muted); }
.pd-logo { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 10px; padding: 10px; }
.pd-logo > div { flex: 1; } .pd-logo b { display: block; } .pd-logo small { color: var(--muted); font-size: 12px; }
.pd-slots { display: grid; gap: 8px; }
.pd-slot { border: 1.5px solid var(--line); border-radius: 10px; padding: 8px; display: grid; gap: 6px; font-size: 13px; }
.pd-slot.on { border-color: var(--accent); }
.pd-slot img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; border-radius: 6px; }
.pd-mgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.pd-mgrid button { border: 2px solid transparent; padding: 0; border-radius: 8px; overflow: hidden; cursor: pointer; background: none; }
.pd-mgrid button.on { border-color: var(--accent); }
.pd-mgrid img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.pd-secs { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pd-secs li { display: flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 9px; padding: 8px 8px 8px 6px; background: var(--surface); }
.pd-secs li.off { opacity: .5; background: var(--surface-2); }
.pd-secs li > div { flex: 1; min-width: 0; }
.pd-secs b { display: block; font-size: 13.5px; } .pd-secs small { color: var(--muted); font-size: 12px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pd-secs button { border: 0; background: none; padding: 4px; border-radius: 6px; cursor: pointer; color: var(--muted); }
.pd-secs button:hover { background: var(--surface-2); color: var(--ink); }
.pd-secs svg { width: 16px; height: 16px; }
svg.up { transform: rotate(180deg); }
.pd-addsec { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.pd-addsec button { display: flex; align-items: center; gap: 6px; border: 1px dashed var(--line); background: none; border-radius: 8px; padding: 7px 9px; font-size: 12.5px; cursor: pointer; color: var(--ink-2); }
.pd-addsec svg { width: 14px; height: 14px; }

@media (max-width: 1280px) { .pd-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } .pd-cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pd-floor { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1100px) {
  .pd-grid--2, .pd-grid--3, .pd-grid--21, .pd-grid--12, .pd-cards--2, .pd-cards--3, .pd-grid--4 { grid-template-columns: minmax(0, 1fr); }
  .pd-editor { grid-template-columns: minmax(0, 1fr); height: auto; margin: 0 -14px; }
  .pd-editor__prev { height: 70vh; }
  .pd-split { grid-template-columns: minmax(0, 1fr); }
  .pd-cats { display: flex; overflow-x: auto; }
  .pd-cats button { flex: none; }
  .pd-cats p { display: none; }
}
@media (max-width: 860px) {
  .pd-kpis, .pd-kpis--4, .pd-kpis--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pd-cards--4 { grid-template-columns: minmax(0, 1fr); }
  .pd-hs { display: none; }
  .pd-crumb span, .pd-crumb svg { display: none; }
  .pd-floor { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pd-tl { grid-template-columns: repeat(5, minmax(60px, 1fr)); overflow-x: auto; }
  .pd-chips--grid { grid-template-columns: repeat(2, 1fr); }
  .pd-dl { grid-template-columns: 1fr; }
  .pd-card--flush { overflow-x: auto; }
  .pd-ph h1 { font-size: 20px; }
}
.pd-frame { position: relative; }
.pd-frame iframe { flex: none; }
.pd-frame--desk iframe { position: absolute; top: 16px; left: 16px; max-width: none; }
