/* PDF dışa aktarma sayfası */
.xp { display: grid; grid-template-columns: 340px 1fr; min-height: calc(100vh - 5px); }
.xp-side { background: var(--surface); border-right: 1px solid var(--border); padding: 18px 20px 28px; display: flex; flex-direction: column; gap: 16px; overflow-y: auto; height: calc(100vh - 5px); position: sticky; top: 5px; }
.xp-back { font-size: 12.5px; font-weight: 700; color: var(--text-2); text-decoration: none; }
.xp-back:hover { color: var(--blue); }
.xp-brand { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.xp-brand img { height: 44px; }
.xp-brand h1 { margin: 0; font-size: 17px; font-weight: 800; color: var(--navy); }
.xp-brand p { margin: 2px 0 0; font-size: 12px; color: var(--text-2); font-weight: 600; }
.field label { display: flex; justify-content: space-between; align-items: center; }
.field label .link { text-transform: none; letter-spacing: 0; font-size: 11.5px; }
.layouts { display: grid; gap: 8px; }
.layout { display: grid; grid-template-columns: 38px 1fr; gap: 10px; align-items: center; text-align: left; padding: 10px 12px; border: 1px solid var(--border-strong); border-radius: 12px; background: var(--surface); transition: all .15s; }
.layout:hover { border-color: var(--blue); }
.layout.on { border-color: var(--blue); background: var(--blue-soft); box-shadow: 0 0 0 3px var(--blue-soft); }
.layout .th { width: 38px; height: 38px; border-radius: 8px; background: var(--surface-2); display: grid; place-items: center; color: var(--text-2); }
.layout.on .th { color: var(--blue); background: #fff; }
.layout .th .ic { width: 20px; height: 20px; }
.layout b { display: block; font-size: 13px; }
.layout small { color: var(--text-2); font-size: 11.5px; font-weight: 500; line-height: 1.3; }
.seg { width: 100%; }
.seg button { flex: 1; justify-content: center; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px 6px 8px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); font-size: 12px; font-weight: 600; color: var(--text-3); transition: all .15s; }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c); opacity: .3; }
.chip.on { color: var(--text); border-color: color-mix(in srgb, var(--c) 35%, var(--border)); background: color-mix(in srgb, var(--c) 8%, #fff); }
.chip.on .dot { opacity: 1; }
.xp-actions { display: flex; gap: 8px; margin-top: 4px; }
.xp-actions .btn { flex: 1; justify-content: center; padding: 11px; }
.xp-main { padding: 18px; background: #e9edf3; }
.xp-frame { position: relative; height: calc(100vh - 5px - 36px); border-radius: 14px; overflow: hidden; background: #d9dfe8; box-shadow: var(--shadow-md); }
.xp-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.xp-loading { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(233,237,243,.85); font-weight: 700; color: var(--navy); font-size: 14px; backdrop-filter: blur(2px); }
.xp-loading[hidden] { display: none; }
@media (max-width: 900px) {
  .xp { grid-template-columns: 1fr; }
  .xp-side { position: static; height: auto; border-right: 0; border-bottom: 1px solid var(--border); }
  .xp-frame { height: 80vh; }
}
