/* Sihirbaz formu, tasarım seçimi ve belge ölçeği açıklamaları. */
.wizard-disclosure{border:1px solid #dbe3ef;border-radius:12px;background:#f8fafc;margin-top:14px}
.wizard-disclosure>summary{display:list-item;cursor:pointer;padding:14px 16px;color:#334155;font-size:14px;font-weight:700;line-height:1.5;min-height:48px;box-sizing:border-box;overflow-wrap:anywhere}
.wizard-disclosure>summary::marker{color:#4f46e5}
.wizard-disclosure>summary span{font-size:12px;font-weight:500;color:#64748b;margin-left:6px}
.wizard-disclosure[open]>summary{border-bottom:1px solid #dbe3ef}
.wizard-disclosure-body{padding:16px;min-width:0}
.wizard-extra-note,.wizard-example-note,.wizard-template-note{font-size:13px;line-height:1.6;color:#64748b;margin:0 0 14px}
.wizard-about-help{background:#fafaff;margin-top:10px}
.wizard-about-help>summary{font-size:13px}
.wizard-about-help>summary span{color:#4f46e5;font-weight:700}
.wizard-example-text{font-size:15px;line-height:1.7;color:#334155;background:white;border:1px solid #dbe3ef;border-radius:10px;padding:14px;margin:14px 0 10px;overflow-wrap:anywhere}
.wizard-example-status{font-size:13px;line-height:1.5;color:#166534;margin:10px 0 0}
.wizard-example-status:empty{display:none}
.wizard-about-help .wbtn{min-height:44px;white-space:normal;text-align:center}
.wizard-disclosure select{max-width:100%;min-width:0;font-size:16px}
.wizard-template-note{margin-top:-8px}
button.tpl-card{display:block;min-width:0;width:100%;padding:0;font-family:inherit;text-align:left;color:inherit;appearance:none;-webkit-appearance:none}
.tpl-card .tpl-thumb{display:block;height:300px;background:#eef2f7;padding:8px}
.tpl-card .tpl-thumb img{display:block;width:auto;max-width:100%;height:100%;margin:0 auto;object-fit:contain;background:#fff;box-shadow:0 1px 6px #0f172a20}
.tpl-card .tpl-name{gap:6px;align-items:flex-start;line-height:1.4}
.tpl-card .tpl-desc{display:block}
.tpl-card .tpl-check{flex-shrink:0;padding-top:2px}
.tpl-card:focus-visible,.wizard-disclosure>summary:focus-visible{outline:3px solid #6366f1;outline-offset:3px}
.tpl-card[aria-pressed=true] .tpl-name{color:#4338ca}
.wizard-fit-controls{flex-wrap:wrap;justify-content:flex-start;margin-bottom:6px}
.wizard-fit-title{font-size:13px;font-weight:700;color:#334155;margin-right:auto}
.wizard-fit-help{font-size:12px;line-height:1.6;color:#64748b;margin:0 0 12px}
.wizard-fit-controls .zoom-btn{width:44px;height:44px;flex-shrink:0}
@media screen and (min-width:360px) and (max-width:560px){
    #step-7 .panel-card{padding:16px}
    #step-7 .tpl-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}
    .tpl-card .tpl-name{font-size:13px;padding:10px 9px 6px}
    .tpl-card .tpl-desc{font-size:12px;padding:0 9px 10px}
}
@media screen and (max-width:560px){
    .tpl-card .tpl-thumb{height:auto;aspect-ratio:210 / 297}
    .tpl-card .tpl-thumb img{width:100%;height:100%}
    .wizard-disclosure-body{padding:12px}
    .wizard-disclosure>summary{padding:12px;font-size:14px}
    .header-actions .btn-hdr{min-height:40px;display:inline-flex;align-items:center;gap:5px}
    .header-actions{flex-wrap:wrap}
    .wizard-about-help .wbtn{width:100%}
    .wizard-fit-title{flex-basis:100%}
}
@media (prefers-reduced-motion:reduce){button.tpl-card{transition:none}}

/* A4 zemininin sabit yüksekliğini içerik ölçeğiyle tekrar büyütme.
   İçerik daha uzunsa doğal yüksekliğiyle sonraki sayfaya devam eder. */
@media print{
    #printArea .tpl-m,#printArea .tpl-crt,#printArea .tpl-cvc,#printArea .tpl-prs{
        min-height:calc(296mm / var(--cv-content-scale,1))!important;
    }
}
