/* onar.css — Model Onarım (tools/model-onar.html). Taban: bluep.css, admin.css, uretim.css (card, btn, dropzone, status, container …) */
.onar-page .visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.onar-page .container { max-width: 980px; }
.or-card { padding: 22px; }
.or-card h3 { margin: 22px 0 10px; font-size: 1.05rem; }
#or-drop { display: grid; justify-items: center; gap: 6px; padding: 34px 18px; text-align: center; cursor: pointer; border: 2px dashed var(--border-strong, var(--border)); border-radius: 16px; background: color-mix(in srgb, var(--accent) 5%, var(--surface)); transition: border-color .15s, background .15s; }
#or-drop:hover, #or-drop.over, #or-drop:focus-within { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, var(--surface)); }
#or-drop span { color: var(--muted); font-size: .9rem; }
.or-file { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; padding: 8px 8px 8px 14px; font-weight: 650; background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; }
.or-file[hidden], #or-results-wrap[hidden], #or-result[hidden] { display: none; }
.or-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-bottom: 12px; }
.or-stats .stat { padding: 10px 12px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; }
.or-stats .stat b { display: block; font-size: 1.2rem; letter-spacing: -.01em; }
.or-stats .stat span { color: var(--muted); font-size: .78rem; }
.or-stats .stat.ok { border-color: color-mix(in srgb, var(--ok, #16a34a) 55%, transparent); }
.or-stats .stat.warn { border-color: color-mix(in srgb, var(--warn, #d97706) 60%, transparent); }
.or-table-wrap { overflow-x: auto; margin: 6px 0 10px; border: 1px solid var(--border); border-radius: 12px; }
.or-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .88rem; }
.or-table th, .or-table td { padding: 9px 12px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.or-table th { font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--surface-2); }
.or-table tr:last-child td { border-bottom: 0; }
.or-state.ok { color: var(--ok, #16a34a); font-weight: 700; }
.or-state.warn { color: var(--warn, #b45309); font-weight: 650; }
.or-hint { margin: 10px 0; color: var(--muted); font-size: .9rem; line-height: 1.55; }
.or-notes { margin: 10px 0 14px; padding-left: 1.2em; display: grid; gap: 6px; font-size: .9rem; line-height: 1.5; }
.or-notes .warn { color: var(--warn, #b45309); }
.or-info, .or-faq { margin-top: 34px; }
.or-info h2, .or-faq h2 { font-size: 1.25rem; margin: 0 0 14px; }
.or-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; }
.or-grid .card { padding: 16px 18px; }
.or-grid h3 { margin: 0 0 8px; font-size: 1.02rem; }
.or-grid p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.6; }
.or-faq details { margin-bottom: 8px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; }
.or-faq summary { padding: 13px 16px; font-weight: 650; cursor: pointer; }
.or-faq details[open] summary { border-bottom: 1px solid var(--border); }
.or-faq details p { margin: 0; padding: 12px 16px 14px; color: var(--muted); line-height: 1.6; }
@media (max-width: 520px) {
  .or-card { padding: 16px; }
  .or-stats { grid-template-columns: 1fr 1fr; }
  .or-stats .stat b { font-size: 1.05rem; }
  .or-table { min-width: 480px; font-size: .82rem; }   /* dar ekranda sütun başlıkları harf harf kırılıyordu: tablo yatay kayar (kap: .or-table-wrap) */
  .or-table th { white-space: nowrap; }
  .or-table th, .or-table td { padding: 8px; }
  .or-table td { overflow-wrap: anywhere; }
}
.or-done { margin: 4px 0 10px; padding: 10px 14px; font-weight: 650; color: #065f46; background: #d1fae5; border: 1px solid #6ee7b7; border-radius: 12px; overflow-wrap: anywhere; }
.or-done[data-state="warn"] { color: #78350f; background: #fef3c7; border-color: #f59e0b; }
.or-done:empty { display: none; }
.or-card.has-file .dropzone { padding: 12px 16px; }
.or-card.has-file .dropzone span { display: none; }
#or-repair.is-done { background: transparent; color: var(--accent); border: 1px solid var(--accent); box-shadow: none; }

.or-progress { margin-top: 14px; padding: 14px 16px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 14px; display: grid; gap: 8px; }
.or-progress[hidden], #or-cancel[hidden] { display: none; }
.or-bar { height: 10px; overflow: hidden; background: color-mix(in srgb, var(--text) 10%, transparent); border-radius: 999px; }
.or-bar i { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 55%, #7dd3fc)); background-size: 200% 100%; border-radius: 999px; transition: width .35s ease; animation: or-sheen 1.6s linear infinite; }
@keyframes or-sheen { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .or-bar i { animation: none; } }
.or-prog-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: .92rem; }
.or-prog-row span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.or-progress small { color: var(--muted); font-size: .8rem; line-height: 1.45; }
.or-progress .btn { justify-self: start; }
