/* Hesaplamalı rüzgâr mühendisliği dersleri: ml.css üzerine küçük eklemeler (satır içi SVG şekiller, ön standart kutusu) */

/* --- Şekiller (satır içi SVG, açık/koyu temaya uyumlu) --- */
.cwe-fig { margin: 28px 0; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); padding: 14px 12px 10px; }
.cwe-fig svg { display: block; width: 100%; height: auto; max-width: 680px; margin: 0 auto; overflow: visible; }
.cwe-fig figcaption { padding: 10px 4px 2px; font-size: .9rem; line-height: 1.6; color: var(--muted); }
.cwe-fig figcaption b { color: var(--fg); }

.sv-text { fill: var(--fg); font-family: inherit; font-size: 17px; }
.sv-text-sm { fill: var(--muted); font-family: inherit; font-size: 15px; }
.sv-text-b { fill: var(--fg); font-family: inherit; font-size: 17px; font-weight: 700; }
.sv-text-acc { fill: var(--blue-strong); font-family: inherit; font-size: 17px; font-weight: 700; }
.sv-text-inv { fill: var(--paper); font-family: inherit; font-size: 17px; font-weight: 700; }
.sv-math { fill: var(--fg); font-family: "Cambria Math", "STIX Two Math", Georgia, serif; font-size: 18px; font-style: italic; }

.sv-line { stroke: var(--fg); stroke-width: 1.6; fill: none; }
.sv-thin { stroke: var(--muted); stroke-width: 1; fill: none; }
.sv-grid { stroke: var(--line); stroke-width: 1; fill: none; }
.sv-dash { stroke-dasharray: 6 4; }
.sv-acc { stroke: var(--blue); stroke-width: 2.4; fill: none; }
.sv-ok { stroke: var(--ok); stroke-width: 2.2; fill: none; }
.sv-warn { stroke: #b45309; stroke-width: 2.2; fill: none; }
.sv-fill { fill: var(--panel); stroke: var(--muted); stroke-width: 1.2; }
.sv-accfill { fill: var(--blue-soft); stroke: var(--blue); stroke-width: 1.6; }
.sv-okfill { fill: color-mix(in srgb, var(--ok) 14%, var(--paper)); stroke: var(--ok); stroke-width: 1.6; }
.sv-bld { fill: var(--graphite); stroke: var(--fg); stroke-width: 1.2; }
.sv-ground { fill: var(--edge); stroke: var(--muted); stroke-width: 1; }
.sv-marker { fill: var(--fg); }
:root[data-theme="dark"] .sv-warn { stroke: #fbbf24; }

/* --- "Ön standartta" kutusu --- */
.ml-box-onstandart { border-left-color: var(--blue); }
.ml-box-onstandart .k-label { color: var(--blue-strong); }
.ml-box-kriter { border-left-color: var(--ok); }
.ml-box-kriter .k-label { color: var(--ok); }

/* --- Kısa terim sözlüğü ve kaynak notu --- */
.cwe-note { margin: 22px 0; padding: 14px 16px; border: 1px dashed var(--line); border-radius: 8px; background: var(--panel); font-size: .95rem; line-height: 1.65; color: var(--muted); }
.cwe-note strong { color: var(--fg); }
.cwe-terms { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px 18px; margin: 18px 0; padding: 0; list-style: none; }
.cwe-terms li { padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); font-size: .95rem; line-height: 1.55; }
.cwe-terms b { display: block; color: var(--fg); }
.cwe-terms span { color: var(--muted); }

@media (max-width: 520px) {
  .cwe-fig { padding: 10px 6px 8px; }
}
