/* baslangic sayfa stili: yalnız kart içi; iskelet ve başlık sayfa-standardi.css'tedir */
:root{
    --bg:var(--color-bg-primary); --surface:var(--color-bg-card); --surface-2:var(--color-bg-elevated); --border:var(--color-border-secondary);
    --text:var(--color-text-primary); --text-dim:var(--color-text-secondary); --accent:var(--color-accent-primary); --accent-dim: rgba(18,149,235,0.15);
    --danger:var(--color-error); --success:var(--color-success); --radius: 14px;
  }
.app-content h2{ font-size: 18px; margin: 0 0 6px; }
.app-content .card{ background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; }
.app-content .sr-only{ position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.app-content 
  .steps{ list-style: none; display: flex; gap: 8px; padding: 0; margin: 0 0 18px; flex-wrap: wrap; }
.app-content .steps li{ flex: 1 1 140px; border: 1px solid var(--border); border-radius: 10px; padding: 8px 12px; font-size: 13px; color: var(--text-dim); background: var(--surface); }
.app-content .steps li[aria-current="step"]{ border-color: var(--accent); color: var(--text); background: var(--accent-dim); }
.app-content .steps li.done{ color: var(--text); border-color: var(--success); }
.app-content .steps .mark{ font-weight: 700; margin-inline-end: 6px; }
.app-content fieldset{ border: 0; margin: 0 0 14px; padding: 0; }
.app-content legend{ font-size: 16px; font-weight: 600; padding: 0; margin-bottom: 10px; }
.app-content .choice{ display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--border); background: var(--surface-2); border-radius: 10px; padding: 12px 14px; margin-bottom: 8px; cursor: pointer; min-height: 48px; }
.app-content .choice:has(input:checked){ border-color: var(--accent); background: var(--accent-dim); }
.app-content .choice input{ margin-top: 3px; width: 20px; height: 20px; flex-shrink: 0; }
.app-content .choice .t{ font-weight: 600; font-size: 14px; }
.app-content .choice .d{ font-size: 13px; color: var(--text-dim); }
.app-content .fixed-line{ font-size: 13px; color: var(--text-dim); margin: 0 0 14px; }
.app-content .chips{ display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.app-content .chip{ display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--border); background: var(--surface-2); border-radius: 999px; padding: 8px 14px; min-height: 44px; font-size: 13px; cursor: pointer; }
.app-content .chip:has(input:checked){ border-color: var(--accent); background: var(--accent-dim); }
.app-content .chip input{ width: 18px; height: 18px; }
.app-content label.fl{ font-size: 13px; color: var(--text-dim); display: block; margin-bottom: 4px; }
.app-content input[type="text"], .app-content select{ background: var(--surface-2); border: 1px solid var(--border); color: var(--text); border-radius: 8px; padding: 10px 12px; font-size: 14px; min-height: 44px; width: 100%; max-width: 280px; }
.app-content .tpl{ background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; padding: 16px; margin-bottom: 12px; }
.app-content .tpl h3{ font-size: 15px; margin: 0 0 4px; }
.app-content .tpl p{ font-size: 13px; color: var(--text-dim); margin: 0 0 10px; }
.app-content .tpl .params{ display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.app-content .tpl .param select{ width: auto; min-width: 120px; }
.app-content .tpl .note{ font-size: 12.5px; color: var(--text-dim); margin: 8px 0 0; }
.app-content .tpl.applied{ border-color: var(--success); }
.app-content .btn{ display: inline-block; border: 1px solid transparent; border-radius: 10px; padding: 10px 18px; font-size: 14px; font-weight: 600; cursor: pointer; min-height: 44px; text-decoration: none; text-align: center; font-family: inherit; }
.app-content .btn-primary{ background: #0d79c0; color: #fff; }
.app-content .btn-primary:disabled{ opacity: 0.55; cursor: not-allowed; }
.app-content .btn-ghost{ background: transparent; border-color: var(--border); color: var(--text); }
.app-content .actions{ display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 8px; }
.app-content a.link{ color: #6cb8f0; text-decoration: underline; display: inline-block; padding: 8px 2px; }
.app-content .msg{ font-size: 13px; margin: 10px 0 0; }
.app-content .msg.err{ color: var(--danger); }
.app-content .state-card{ text-align: center; padding: 28px 16px; color: var(--text-dim); }
.app-content .state-card .st{ font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.app-content .alarm-line{ border-top: 1px solid var(--border); padding: 8px 0; font-size: 13.5px; }
.app-content .alarm-line:first-child{ border-top: 0; }
.app-content .skeleton{ height: 64px; border-radius: 10px; background: linear-gradient(90deg, var(--surface-2) 25%, #243044 50%, var(--surface-2) 75%); background-size: 200% 100%; animation: sh 1.4s infinite; margin-bottom: 10px; }
@keyframes sh{ 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce){
.app-content .skeleton{ animation: none; }
}
.app-content a:focus-visible, .app-content button:focus-visible, .app-content input:focus-visible, .app-content select:focus-visible, .app-content h2:focus-visible{ outline: 2px solid var(--accent); outline-offset: 2px; }
.app-content h2:focus{ outline: none; }
/* Geniş ekranda sihirbaz 1500 px'e yayılmasın: adımlar ve kart okunur genişlikte ortalanır (mobil/tablet değişmez) */
@media (min-width: 1100px){
.app-content .steps, .app-content .card{ max-width: 880px; margin-inline-start: auto; margin-inline-end: auto; }
}
.js-center{justify-content:center;}
.js-mt14{margin-top:14px;}
