/* mactomac — derleme adımı gerektirmeyen tek stil dosyası.
   Renk, gölge ve ölçüler :root'taki değişkenlerden gelir; koyu tema yalnız değişkenleri değiştirir. */

/* ---------- 1. Değişkenler ---------- */
:root {
    color-scheme: light;
    --bg: #f6f7f9;
    --surface: #ffffff;
    --surface-2: #f2f4f7;
    --input-bg: #ffffff;
    --text: #101828;
    --text-2: #475467;
    --text-3: #667085;
    --line: #e4e7ec;
    --line-strong: #d0d5dd;
    --primary: #2f5bea;
    --primary-hover: #2449c9;
    --primary-text: #ffffff;
    --primary-soft: #eef2fe;
    --link: #2f5bea;
    --ring: rgba(47, 91, 234, 0.25);
    --ok: #067647;
    --ok-soft: #ecfdf3;
    --ok-line: #abefc6;
    --warn: #b54708;
    --warn-soft: #fffaeb;
    --warn-line: #fedf89;
    --bad: #b42318;
    --bad-soft: #fef3f2;
    --bad-line: #fecdca;
    --star: #f59e0b;
    --terminal-bg: #0d1117;
    --terminal-line: #1f2632;
    --terminal-text: #e6edf3;
    --radius: 10px;
    --radius-lg: 14px;
    --shadow-xs: 0 1px 2px rgba(16, 24, 40, 0.05);
    --shadow-lg: 0 16px 32px -8px rgba(16, 24, 40, 0.14), 0 4px 8px -2px rgba(16, 24, 40, 0.06);
    --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
    --wrap: 1120px;
    --header-h: 64px;
}
@media (prefers-color-scheme: dark) {
    :root {
        color-scheme: dark;
        --bg: #0c0e13;
        --surface: #14171e;
        --surface-2: #1b1f28;
        --input-bg: #0f1217;
        --text: #eceef3;
        --text-2: #b4bcc9;
        --text-3: #8d96a7;
        --line: #252a35;
        --line-strong: #343a48;
        --primary: #4766e8;
        --primary-hover: #5876f0;
        --primary-text: #ffffff;
        --primary-soft: rgba(102, 132, 255, 0.14);
        --link: #8ea6ff;
        --ring: rgba(120, 148, 255, 0.4);
        --ok: #47cd89;
        --ok-soft: rgba(71, 205, 137, 0.1);
        --ok-line: rgba(71, 205, 137, 0.32);
        --warn: #fdb022;
        --warn-soft: rgba(253, 176, 34, 0.1);
        --warn-line: rgba(253, 176, 34, 0.32);
        --bad: #f97066;
        --bad-soft: rgba(249, 112, 102, 0.1);
        --bad-line: rgba(249, 112, 102, 0.35);
        --star: #fbbf24;
        --terminal-bg: #090c10;
        --terminal-line: #232a36;
        --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.4);
        --shadow-lg: 0 16px 40px -8px rgba(0, 0, 0, 0.6), 0 4px 10px -2px rgba(0, 0, 0, 0.4);
    }
}

/* ---------- 2. Temel ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg);
    color: var(--text);
    font: 15px/1.6 var(--font);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
main { flex: 1 0 auto; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 2px; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
h1, h2, h3 { color: var(--text); line-height: 1.25; }
h1 { font-size: 28px; font-weight: 700; letter-spacing: -0.025em; margin: 0 0 8px; }
h2 { font-size: 18px; font-weight: 650; letter-spacing: -0.015em; margin: 32px 0 12px; }
h3 { font-size: 15px; font-weight: 600; margin: 0 0 8px; }
p { margin: 0 0 12px; }
ul, ol { margin: 0 0 12px; padding-left: 20px; }
li + li { margin-top: 4px; }
strong { font-weight: 600; }
.ikon { flex: 0 0 auto; vertical-align: -3px; }

/* ---------- 3. Sayfa düzeni: üst çubuk, menü, alt bilgi ---------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
main.wrap { width: 100%; padding-top: 32px; padding-bottom: 64px; }

.ust {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
}
/* Yarı saydam üst çubuk yalnız iki özelliği de bilen tarayıcıda; color-mix bilinmezse arka plan saydam kalırdı. */
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) and (background: color-mix(in srgb, red 50%, transparent)) {
    .ust {
        background: color-mix(in srgb, var(--surface) 84%, transparent);
        -webkit-backdrop-filter: saturate(180%) blur(14px);
        backdrop-filter: saturate(180%) blur(14px);
    }
}
.ust-ic { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.marka { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
.marka:hover { text-decoration: none; }
.marka-simge {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    color: #ffffff;
    background: linear-gradient(135deg, #5b7cff 0%, #2a44d4 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), var(--shadow-xs);
}
.menu { display: flex; align-items: center; gap: 16px; flex: 1; }
.ana-nav { display: flex; align-items: center; gap: 2px; }
.ana-nav a {
    padding: 6px 12px;
    border-radius: 8px;
    color: var(--text-2);
    font-size: 14px;
    font-weight: 500;
}
.ana-nav a:hover { color: var(--text); background: var(--surface-2); text-decoration: none; }
.ana-nav a.etkin { color: var(--text); background: var(--surface-2); }
.hesap { display: flex; align-items: center; gap: 8px; margin-left: auto; }

.menu-dugme { display: none; }
.acilir { position: relative; }
button.hesap-dugme {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 38px;
    padding: 0 10px 0 4px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    color: var(--text);
    font-weight: 500;
    box-shadow: none;
}
button.hesap-dugme:hover { background: var(--surface-2); }
.hesap-ad { max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.avatar {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary-soft);
    color: var(--link);
    font-size: 13px;
    font-weight: 700;
}
.acilir-panel {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    min-width: 248px;
    padding: 6px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}
.acilir-panel.acik { display: block; }
.acilir-baslik { display: grid; padding: 8px 10px 10px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.acilir-baslik strong { font-size: 14px; }
.acilir-baslik span { color: var(--text-3); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acilir-panel a,
.acilir-panel button {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 0;
    justify-content: flex-start;
    padding: 8px 10px;
    border: 0;
    border-radius: 6px;
    background: none;
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    text-align: left;
    box-shadow: none;
}
.acilir-panel a:hover,
.acilir-panel button:hover { background: var(--surface-2); text-decoration: none; }
.acilir-panel .ikon { color: var(--text-3); }
.acilir-ayrac { height: 1px; margin: 6px 0; background: var(--line); }

/* JavaScript kapalıyken açılır menü yerinde düz liste olarak görünür. */
html:not(.js) .hesap-dugme { display: none; }
html:not(.js) .acilir-panel { display: flex; position: static; min-width: 0; padding: 0; border: 0; box-shadow: none; background: none; }
html:not(.js) .acilir-baslik,
html:not(.js) .acilir-ayrac { display: none; }

.alt { margin-top: 48px; border-top: 1px solid var(--line); background: var(--surface); }
.alt-ic { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; padding-top: 32px; padding-bottom: 24px; }
.alt-marka p { max-width: 340px; margin: 10px 0 0; color: var(--text-3); font-size: 13px; }
.alt-baglantilar { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 8px 20px; max-width: 600px; font-size: 13px; }
.alt-baglantilar a { color: var(--text-2); }
.alt-telif { padding-top: 16px; padding-bottom: 28px; border-top: 1px solid var(--line); color: var(--text-3); font-size: 12px; }

/* ---------- 4. Sayfa başlıkları ---------- */
.iz { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; color: var(--text-3); font-size: 13px; }
.iz a { color: var(--text-3); }
.iz a:hover { color: var(--text); }
.sayfa-bas { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 24px; }
.sayfa-bas h1 { margin: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 10px 12px; }
.sayfa-bas p { max-width: 680px; margin: 6px 0 0; color: var(--text-2); }
.sayfa-bas-bilgi { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin-top: 8px; color: var(--text-2); font-size: 14px; }
.sayfa-bas-bilgi > * { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.bolum-bas { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin: 48px 0 20px; }
.bolum-bas h2 { margin: 0; font-size: 22px; letter-spacing: -0.02em; }
.bolum-bas p { margin: 4px 0 0; color: var(--text-2); }

/* ---------- 5. Kutular ve ızgaralar ---------- */
.panel {
    margin-bottom: 16px;
    padding: 20px 24px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xs);
}
.panel > :last-child { margin-bottom: 0; }
.panel > h2:first-child,
.panel > h3:first-child { margin-top: 0; }
.panel h2 { font-size: 16px; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.grid > .panel { margin-bottom: 0; }
.grid.iki { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.row { display: flex; flex-wrap: wrap; gap: 12px; }
.row > * { flex: 1 1 160px; }
.iki-sutun { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
.yan-sutun > .panel { margin-bottom: 0; }

/* ---------- 6. Yazı yardımcıları ---------- */
.muted { color: var(--text-3); }
.small { font-size: 13px; }
.tam { width: 100%; }
.gizli { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- 7. Rozet ve durum etiketleri ---------- */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 1px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface-2);
    color: var(--text-2);
    font-size: 12px;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: 0;
    white-space: nowrap;
    vertical-align: middle;
}
.badge.ok { background: var(--ok-soft); border-color: var(--ok-line); color: var(--ok); }
.badge.warn { background: var(--warn-soft); border-color: var(--warn-line); color: var(--warn); }
.badge.bad { background: var(--bad-soft); border-color: var(--bad-line); color: var(--bad); }
.badge.rozet { background: var(--primary-soft); border-color: transparent; color: var(--link); }
.badge.nokta::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.etiketler { display: flex; flex-wrap: wrap; gap: 6px; }

/* ---------- 8. Bildirimler ---------- */
.flash,
.errors {
    margin-bottom: 20px;
    padding: 12px 16px;
    border: 1px solid;
    border-radius: var(--radius);
    font-size: 14px;
}
.flash { display: flex; align-items: flex-start; gap: 10px; background: var(--ok-soft); border-color: var(--ok-line); color: var(--ok); }
.flash .ikon { margin-top: 2px; }
.flash.uyari { background: var(--warn-soft); border-color: var(--warn-line); color: var(--warn); }
.flash.uyari a { color: inherit; font-weight: 600; }
.kural-liste { margin: 0 0 8px; padding-left: 18px; display: grid; gap: 6px; }
.kural-liste .muted { display: block; }
.errors { background: var(--bad-soft); border-color: var(--bad-line); color: var(--bad); }
.errors ul { margin: 0; padding-left: 18px; }

/* ---------- 9. Düğmeler ---------- */
button,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 8px 16px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: var(--primary);
    color: var(--primary-text);
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    box-shadow: var(--shadow-xs);
    transition: background-color 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s;
}
button:hover,
a.button:hover { background: var(--primary-hover); text-decoration: none; }
.button.ikincil,
button.ikincil { background: var(--surface); color: var(--text); border-color: var(--line-strong); }
.button.ikincil:hover,
button.ikincil:hover { background: var(--surface-2); }
.button.buyuk { min-height: 46px; padding: 10px 22px; font-size: 15px; border-radius: 10px; }
button.link { min-height: 0; padding: 0; border: 0; background: none; color: var(--link); font-weight: 400; box-shadow: none; }
button.link:hover { background: none; text-decoration: underline; }
button.danger,
a.button.danger { min-height: 34px; padding: 6px 12px; background: var(--surface); color: var(--bad); border-color: var(--bad-line); box-shadow: none; }
button.danger:hover,
a.button.danger:hover { background: var(--bad-soft); }

/* ---------- 10. Formlar ---------- */
form.stack { display: grid; gap: 16px; max-width: 560px; }
form.stack > p { margin: 0; }
form.inline { display: inline; }
.panel form + p { margin-top: 8px; }
label { display: grid; gap: 6px; color: var(--text); font-size: 14px; font-weight: 500; }
label.check { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; color: var(--text-2); line-height: 1.5; }
input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
select,
textarea {
    width: 100%;
    min-height: 40px;
    padding: 8px 12px;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    background: var(--input-bg);
    color: var(--text);
    font: inherit;
    font-size: 15px;
    box-shadow: var(--shadow-xs);
    transition: border-color 0.15s, box-shadow 0.15s;
}
input::placeholder,
textarea::placeholder { color: var(--text-3); opacity: 0.8; }
input:not([type="checkbox"]):not([type="radio"]):focus,
select:focus,
textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--ring); }
select {
    -webkit-appearance: none;
    appearance: none;
    padding-right: 36px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}
input[type="checkbox"],
input[type="radio"] { width: 16px; height: 16px; margin: 3px 0 0; flex: 0 0 auto; accent-color: var(--primary); }
textarea { min-height: 96px; line-height: 1.5; resize: vertical; }
textarea.mono { font-family: var(--mono); font-size: 13px; }

/* ---------- 11. Kod ve komut kutuları ---------- */
code { padding: 1px 6px; border-radius: 5px; background: var(--surface-2); font-family: var(--mono); font-size: 0.88em; }
pre {
    margin: 0 0 12px;
    padding: 14px 16px;
    border: 1px solid var(--terminal-line);
    border-radius: var(--radius);
    background: var(--terminal-bg);
    color: var(--terminal-text);
    font: 13px/1.65 var(--mono);
    white-space: pre-wrap;
    word-break: break-all;
    overflow-x: auto;
}
.komut { position: relative; margin-bottom: 12px; }
.komut pre { margin: 0; }
.js .komut pre { padding-right: 150px; }
button.kopyala {
    position: absolute;
    top: 8px;
    right: 8px;
    min-height: 30px;
    padding: 4px 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.07);
    color: #c9d1d9;
    font-size: 12px;
    font-weight: 500;
    box-shadow: none;
}
button.kopyala:hover { background: rgba(255, 255, 255, 0.15); }
html:not(.js) .kopyala { display: none; }
.code-big {
    display: inline-block;
    padding: 12px 20px;
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius);
    background: var(--surface-2);
    font: 700 30px/1.2 var(--mono);
    letter-spacing: 0.12em;
}

/* ---------- 12. Tablolar ---------- */
table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; }
th, td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
th { background: var(--surface-2); color: var(--text-3); font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
.table-scroll { overflow-x: auto; }
.panel.table-scroll { padding: 0; }
.panel.table-scroll > p { margin: 0; padding: 20px 24px; }
.panel.table-scroll th:first-child,
.panel.table-scroll td:first-child { padding-left: 24px; }
.panel.table-scroll th:last-child,
.panel.table-scroll td:last-child { padding-right: 24px; }
.panel > table th:first-child { border-top-left-radius: 8px; }
.panel > table th:last-child { border-top-right-radius: 8px; }
.panel.table-scroll > table th { border-radius: 0; }

/* ---------- 13. Ana sayfa ---------- */
.vitrin { position: relative; isolation: isolate; padding: 40px 0 8px; }
.vitrin::before {
    content: "";
    position: absolute;
    inset: -40px 0 auto;
    height: 420px;
    z-index: -1;
    background: radial-gradient(40% 50% at 40% 45%, var(--primary-soft), transparent);
    pointer-events: none;
}
.vitrin-etiket {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 4px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    color: var(--text-2);
    font-size: 13px;
    font-weight: 500;
}
.vitrin-etiket .ikon { color: var(--link); }
.vitrin h1 { max-width: 840px; margin-bottom: 18px; font-size: clamp(30px, 4.6vw, 50px); line-height: 1.08; letter-spacing: -0.035em; }
.vitrin-alt { max-width: 640px; margin-bottom: 28px; color: var(--text-2); font-size: 18px; line-height: 1.55; }
.vitrin-eylem { display: flex; flex-wrap: wrap; gap: 12px; }
.panel.guven { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 40px 0 0; padding: 0; }
.guven > div { display: flex; align-items: flex-start; gap: 14px; padding: 20px 24px; }
.guven > div + div { border-left: 1px solid var(--line); }
.guven strong { display: block; font-size: 15px; }
.guven p { margin: 2px 0 0; color: var(--text-2); font-size: 14px; }
.simge-kutu {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--primary-soft);
    color: var(--link);
}
.nasil h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font-size: 16px; }
.adimlar { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: adim; }
.adimlar li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; margin: 0; color: var(--text-2); font-size: 14px; counter-increment: adim; }
.adimlar li::before {
    content: counter(adim);
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--surface-2);
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
}
.suzgec label { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.suzgec select { min-width: 200px; }

/* ---------- 14. Makine kartı ve makine sayfası ---------- */
.makine-izgara { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); }
a.makine-kart {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0;
    color: inherit;
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
a.makine-kart:hover { border-color: var(--line-strong); box-shadow: var(--shadow-lg); transform: translateY(-2px); text-decoration: none; }
.makine-kart p { margin: 0; }
.makine-kart-ust { display: flex; align-items: flex-start; gap: 12px; }
.makine-simge {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface-2);
    color: var(--text-2);
}
.makine-kart-ad { display: grid; flex: 1; min-width: 0; }
.makine-kart-ad strong { font-size: 16px; line-height: 1.35; }
.makine-kart-durum { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 4px; }
.ozellik-liste { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; color: var(--text-2); font-size: 14px; }
.ozellik-liste li { display: flex; align-items: center; gap: 8px; margin: 0; }
.ozellik-liste .ikon { color: var(--text-3); }
.makine-kart-alt {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}
.saatler { display: flex; align-items: flex-start; gap: 6px; color: var(--text-3); font-size: 13px; }
.saatler .ikon { margin-top: 2px; }
.fiyat { color: var(--text); font-size: 15px; font-weight: 700; white-space: nowrap; }
.olcu-izgara { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.olcu { padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2); }
.olcu-ad { display: flex; align-items: center; gap: 6px; color: var(--text-3); font-size: 12px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; }
.olcu strong { display: block; margin-top: 4px; font-size: 17px; letter-spacing: -0.01em; }
.takvim-izgara { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.takvim-izgara h3 { color: var(--text-3); font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.saat-liste { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 14px; font-variant-numeric: tabular-nums; }
.saat-liste li { margin: 0; padding: 6px 10px; border-radius: 6px; background: var(--surface-2); }
.kirala-fiyat { margin-bottom: 4px; font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.yan-sutun form.stack { max-width: none; }
.not-kutu { display: flex; gap: 10px; padding: 12px 14px; border-radius: var(--radius); background: var(--surface-2); color: var(--text-2); font-size: 13px; }
.not-kutu .ikon { margin-top: 2px; color: var(--text-3); }

/* Aylık kazanç tahmini (resources/views/owner/_kazanc_tahmini.blade.php). */
.tahmin-kutu { min-height: 24px; }
.tahmin { display: grid; gap: 2px; padding: 14px 16px; border: 1px solid var(--ok-line); border-radius: var(--radius); background: var(--ok-soft); }
.tahmin-ad { display: flex; align-items: center; gap: 6px; color: var(--ok); font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.tahmin-tutar { color: var(--text); font-size: 24px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.tahmin p { margin: 4px 0 0; }

/* Puan ve rozetler (resources/views/machines/_puan.blade.php). */
.yildiz { color: var(--star); }
.yorum { margin: 4px 0 0; white-space: pre-line; overflow-wrap: anywhere; }
.yorum-satir { padding: 12px 0; border-top: 1px solid var(--line); }
.yorum-satir:first-of-type { border-top: 0; padding-top: 0; }
.puan-secim { display: flex; flex-wrap: wrap; gap: 14px; }
form.puan-form { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.puan-secim label.check { align-items: center; }

/* ---------- 15. Kiralamalar ve boş durumlar ---------- */
.bos-durum { display: flex; align-items: center; gap: 14px; }
.bos-durum p { margin: 0; }
.eylem-satir { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; }
.eylem-satir button.danger { min-height: 40px; }
.kiralama-bas { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 12px; margin-bottom: 6px; }
.kiralama-bas strong { font-size: 16px; }

/* ---------- 16. Giriş ve kayıt ---------- */
.giris-kutu { max-width: 440px; margin: 16px auto 0; }
.giris-kutu .sayfa-bas { justify-content: center; text-align: center; }
.giris-kutu .sayfa-bas > div { width: 100%; }
.giris-kutu .sayfa-bas h1 { justify-content: center; }
.giris-kutu .sayfa-bas p { margin-left: auto; margin-right: auto; }
.giris-kutu .panel { padding: 28px; }
.giris-kutu form.stack { max-width: none; }
.giris-kutu .alt-not { margin-top: 16px; color: var(--text-2); text-align: center; font-size: 14px; }
.dis-giris-grup { display: grid; gap: 10px; }
.ayrac-metin { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: var(--text-3); font-size: 13px; }
.ayrac-metin::before,
.ayrac-metin::after { content: ""; flex: 1; height: 1px; background: var(--line); }
/* Google ve Apple ile devam düğmeleri (marka kuralları: Google beyaz/çerçeveli, Apple siyah). */
a.button.dis-giris { display: flex; width: 100%; min-height: 44px; gap: 10px; padding: 10px 16px; }
a.button.dis-google { background: #ffffff; color: #1f1f1f; border: 1px solid #747775; }
a.button.dis-google:hover { background: #f7f8f8; }
a.button.dis-apple { background: #000000; color: #ffffff; }
a.button.dis-apple:hover { background: #1c1c1e; }
@media (prefers-color-scheme: dark) {
    a.button.dis-google { background: #131314; color: #e3e3e3; border-color: #8e918f; }
    a.button.dis-google:hover { background: #1e1f20; }
    a.button.dis-apple { background: #ffffff; color: #000000; }
    a.button.dis-apple:hover { background: #ececec; }
}

/* ---------- 17. Yasal metinler ---------- */
.yasal,
.yasal-kunye { max-width: 820px; }
.yasal { padding: 28px 32px; line-height: 1.7; }
.yasal h2 { margin: 28px 0 8px; font-size: 17px; }
.yasal h2:first-child { margin-top: 0; }
.yasal li + li { margin-top: 6px; }
.yasal-kunye ul { padding-left: 18px; }

/* ---------- 18. Dar ekran ---------- */
@media (max-width: 980px) {
    .iki-sutun { grid-template-columns: minmax(0, 1fr); }
    .panel.guven { grid-template-columns: minmax(0, 1fr); }
    .guven > div + div { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 760px) {
    .wrap { padding: 0 16px; }
    main.wrap { padding-top: 24px; padding-bottom: 48px; }
    h1 { font-size: 24px; }
    .ust-ic { gap: 12px; }
    button.menu-dugme {
        display: inline-grid;
        place-items: center;
        width: 40px;
        min-height: 40px;
        margin-left: auto;
        padding: 0;
        border: 1px solid var(--line);
        background: var(--surface);
        color: var(--text);
        box-shadow: none;
    }
    button.menu-dugme:hover { background: var(--surface-2); }
    .menu {
        position: absolute;
        top: var(--header-h);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 12px 16px 16px;
        background: var(--surface);
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow-lg);
    }
    .js .menu { display: none; }
    .js .menu.acik { display: flex; }
    .ana-nav { flex-direction: column; align-items: stretch; }
    .ana-nav a { padding: 10px 12px; font-size: 15px; }
    .hesap { flex-direction: column; align-items: stretch; margin-left: 0; padding-top: 8px; border-top: 1px solid var(--line); }
    .hesap > .button { width: 100%; }
    .hesap-dugme { display: none !important; }
    .acilir-panel,
    .acilir-panel.acik { display: block; position: static; min-width: 0; padding: 0; border: 0; box-shadow: none; background: none; }
    html:not(.js) .ust-ic { flex-wrap: wrap; height: auto; padding-top: 12px; padding-bottom: 12px; }
    html:not(.js) .menu-dugme { display: none; }
    html:not(.js) .menu { position: static; flex-basis: 100%; padding: 8px 0 0; border: 0; box-shadow: none; }
    .panel { padding: 16px 18px; }
    .panel.table-scroll th:first-child,
    .panel.table-scroll td:first-child { padding-left: 18px; }
    .panel.table-scroll th:last-child,
    .panel.table-scroll td:last-child { padding-right: 18px; }
    .vitrin { padding-top: 16px; }
    .guven > div { padding: 16px 18px; }
    .vitrin-alt { font-size: 16px; }
    .vitrin-eylem .button { flex: 1 1 auto; }
    .makine-izgara,
    .grid.iki { grid-template-columns: minmax(0, 1fr); }
    .olcu-izgara { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .takvim-izgara { grid-template-columns: minmax(0, 1fr); }
    .suzgec,
    .suzgec label { width: 100%; }
    .suzgec select { min-width: 0; }
    .giris-kutu .panel { padding: 20px; }
    .yasal { padding: 20px; }
    .js .komut pre { padding-right: 16px; padding-top: 46px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; }
}
