/* OD Yedek yerel ekranı. Renkler oteldestek.com ile aynı aileden; kırmızı yalnız kırmızı durum ve ana eylem için. */
@font-face { font-family: "Instrument Sans"; font-weight: 400; font-display: swap; src: url(fonts/InstrumentSans-400-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Sans"; font-weight: 400; font-display: swap; src: url(fonts/InstrumentSans-400-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Sans"; font-weight: 600; font-display: swap; src: url(fonts/InstrumentSans-600-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Sans"; font-weight: 600; font-display: swap; src: url(fonts/InstrumentSans-600-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 700; font-display: swap; src: url(fonts/BricolageGrotesque-700-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 700; font-display: swap; src: url(fonts/BricolageGrotesque-700-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --ink: #1C344C;
  --ink-2: #55647A;
  --paper: #F7F5F2;
  --surface: #FFFFFF;
  --line: #DCE3EB;
  --mist: #EEF1F5;
  --red: #C41E3A;
  --red-wash: #FDE8EB;
  --green: #1F7A4D;
  --green-wash: #E6F3EC;
  --amber: #9A6A12;
  --amber-wash: #FBF1DE;
  --gray: #8592A3;
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --text: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  --mono: Consolas, "Cascadia Mono", monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.55 var(--text); }
main { max-width: 760px; margin: 0 auto; padding: 8px 20px 48px; }

.top { max-width: 760px; margin: 0 auto; padding: 20px 20px 8px; display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.brand { font: 700 19px/1 var(--display); color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.device { color: var(--ink-2); font-size: 14px; }
.foot { max-width: 760px; margin: 0 auto; padding: 0 20px 28px; color: var(--ink-2); font-size: 13px; }

h1 { font: 700 30px/1.15 var(--display); letter-spacing: -0.015em; margin: 20px 0 8px; }
h2 { font: 700 19px/1.3 var(--display); margin: 34px 0 10px; }
.lead { color: var(--ink-2); max-width: 62ch; margin: 0 0 22px; }
.hint { color: var(--ink-2); font-size: 14px; font-weight: 400; }
code { font: 14px/1.4 var(--mono); background: var(--mist); padding: 1px 5px; border-radius: 4px; word-break: break-all; }
code.big { font-size: 16px; padding: 6px 10px; display: inline-block; }

/* Durum: soldaki renkli şerit ekranın tek "gösterişli" öğesi. */
.state { display: grid; grid-template-columns: 14px 1fr; gap: 0 22px; margin: 18px 0 26px; }
.spine { border-radius: 7px; background: var(--state); min-height: 100%; }
.state-green, .state-yesil { --state: var(--green); --wash: var(--green-wash); }
.state-sari { --state: var(--amber); --wash: var(--amber-wash); }
.state-kirmizi { --state: var(--red); --wash: var(--red-wash); }
.state-gri { --state: var(--gray); --wash: var(--mist); }
.sentence { font: 700 clamp(34px, 6vw, 52px)/1.05 var(--display); letter-spacing: -0.025em; margin: 6px 0 10px; color: var(--ink); }
.state-kirmizi .sentence { color: var(--red); }
.detail { margin: 0; font-size: 18px; color: var(--ink-2); }

.problem { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 18px 0 0; padding: 14px 16px; background: var(--wash, var(--red-wash)); border-radius: 8px; max-width: 62ch; }
.problem dt { font-weight: 600; }
.problem dd { margin: 0; }
.problem.standalone { margin-bottom: 20px; }
.note { background: var(--mist); border-radius: 8px; padding: 10px 14px; max-width: 62ch; font-size: 15px; }
.notice { background: var(--green-wash); border-radius: 8px; padding: 10px 14px; }
.error { background: var(--red-wash); color: #8E1129; border-radius: 8px; padding: 10px 14px; font-weight: 600; }
.testline { color: var(--ink-2); font-size: 15px; margin: 0 0 8px; }

.actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 22px 0; }
.actions form { margin: 0; }
button, .button {
  font: 600 15px/1 var(--text); color: var(--ink); background: var(--surface);
  border: 1px solid var(--line); border-radius: 8px; padding: 12px 18px; cursor: pointer;
  text-decoration: none; display: inline-block;
}
button:hover, .button:hover { border-color: var(--ink-2); }
.primary { background: var(--red); border-color: var(--red); color: #fff; }
.primary:hover { background: #A8182F; border-color: #A8182F; }
.quiet { background: transparent; border-color: transparent; text-decoration: underline; text-underline-offset: 3px; padding-left: 6px; padding-right: 6px; }
button:disabled { opacity: .6; cursor: progress; }
button.link { background: none; border: 0; padding: 0; color: var(--ink); text-decoration: underline; font-weight: 400; font-size: 16px; }
form.inline { display: inline; }
:focus-visible { outline: 3px solid #3B82C4; outline-offset: 2px; }

.history { width: 100%; border-collapse: collapse; font-size: 15px; }
.history th { text-align: left; font-weight: 600; color: var(--ink-2); padding: 6px 10px 6px 0; border-bottom: 1px solid var(--line); }
.history td { padding: 9px 10px 9px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.history td:first-child { white-space: nowrap; color: var(--ink-2); }
.mark { display: inline-block; width: 1.2em; font-weight: 700; color: var(--green); }
tr.bad .mark { color: var(--red); }
tr.warn .mark { color: var(--amber); }

label { display: block; font-weight: 600; margin: 14px 0 6px; }
input, textarea { font: 16px/1.4 var(--text); color: var(--ink); width: 100%; max-width: 520px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
textarea.code, textarea.key { font-family: var(--mono); font-size: 14px; max-width: 100%; }
input[type=checkbox], input[type=radio] { width: auto; margin: 0 8px 0 0; accent-color: var(--ink); transform: scale(1.15); }
label.check, label.radio { display: flex; align-items: center; font-weight: 400; margin: 8px 0; }
label.confirm { font-weight: 600; margin: 22px 0 0; }
fieldset { border: 0; padding: 0; margin: 0 0 18px; }
legend { font: 700 17px/1.3 var(--display); margin-bottom: 4px; }
fieldset.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px 18px; }
.profile { border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.paths { margin: 0 0 0 30px; padding: 0; list-style: none; color: var(--ink-2); font-size: 14px; }
.paths li { margin: 3px 0; }
.tag { font-size: 12px; background: var(--mist); color: var(--ink); padding: 2px 7px; border-radius: 10px; }
.row { display: flex; gap: 14px; flex-wrap: wrap; align-items: flex-end; }
.row > div { flex: 1 1 140px; }
.row input { max-width: none; }

.steps { max-width: 760px; margin: 6px auto 0; padding: 0 20px; display: flex; gap: 6px; list-style: none; counter-reset: s; flex-wrap: wrap; }
.steps li { counter-increment: s; font-size: 14px; color: var(--ink-2); padding: 4px 10px 4px 0; }
.steps li::before { content: counter(s) ". "; }
.steps li[aria-current] { color: var(--ink); font-weight: 600; }

.choices { display: grid; gap: 12px; max-width: 560px; }
.choice { display: block; text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-left: 6px solid var(--ink); border-radius: 8px; padding: 16px 18px; }
.choice:hover { border-color: var(--ink-2); border-left-color: var(--red); }
.choice strong { display: block; font: 700 19px/1.3 var(--display); }
.choice span { color: var(--ink-2); font-size: 15px; }

.pick { list-style: none; padding: 0; margin: 0 0 18px; max-width: 620px; }
.pick a { display: flex; flex-direction: column; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.pick a:hover strong { text-decoration: underline; }
.pick span, .pick code { color: var(--ink-2); font-size: 14px; background: none; padding: 0; }
.files { list-style: none; padding: 0; margin: 8px 0; max-height: 420px; overflow: auto; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.files li { border-bottom: 1px solid var(--mist); padding: 0 12px; }
.files label { margin: 0; padding: 8px 0; }
.files .name { flex: 1; word-break: break-all; }
.files .size { color: var(--ink-2); font-size: 13px; white-space: nowrap; margin-left: 10px; }
.search { margin-bottom: 8px; }
.links { padding-left: 18px; }
.links li { margin: 6px 0; }
.links a { color: var(--ink); }

[hidden] { display: none !important; }

@media (max-width: 520px) {
  .state { grid-template-columns: 8px 1fr; gap: 0 14px; }
  .history td:nth-child(2), .history th:nth-child(2) { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
.confirm-box { background: var(--amber-wash); border-radius: 10px; padding: 14px 18px; margin: 0 0 18px; max-width: 640px; }
.confirm-box p { margin: 6px 0; }
label.radio .hint, label.check .hint { margin-left: 8px; }
fieldset.panel legend { float: left; width: 100%; padding: 0; margin: 0 0 4px; }
fieldset.panel legend + * { clear: both; }

/* Panel eklemeleri */
.top nav { margin-left: auto; display: flex; gap: 14px; flex-wrap: wrap; font-size: 15px; }
.top nav a { color: var(--ink); }
.top nav form { margin: 0; }
.cards { display: grid; gap: 12px; margin: 10px 0 24px; }
.card { background: var(--surface); border: 1px solid var(--line); border-left: 6px solid var(--state, var(--ink)); border-radius: 8px; padding: 14px 16px; }
.card h3 { font: 700 18px/1.3 var(--display); margin: 0 0 6px; }
.card h3 a { color: var(--ink); }
.card .problem { margin-top: 8px; }
.devices-list { list-style: none; padding: 0; margin: 8px 0; }
.devices-list li { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; padding: 10px 0; border-bottom: 1px solid var(--line); }
.devices-list a { color: var(--ink); font-weight: 600; }
.dot { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--ink-2); }
.dot::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--state); }
details > summary { cursor: pointer; font-weight: 600; margin: 8px 0; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; margin: 8px 0 18px; }
.kv dt { color: var(--ink-2); }
.kv dd { margin: 0; }
.once { background: var(--amber-wash); border-radius: 10px; padding: 14px 18px; margin: 14px 0; }
.once code { font-size: 22px; letter-spacing: 1px; }
.danger { color: var(--red); border-color: var(--red); }
table.plain { width: 100%; border-collapse: collapse; font-size: 15px; }
table.plain th, table.plain td { text-align: left; padding: 8px 10px 8px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.qr img { width: 200px; height: 200px; image-rendering: pixelated; }
select { font: 16px/1.4 var(--text); padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); max-width: 100%; }
@media print { .top nav, .actions, .foot, form { display: none !important; } body { background: #fff; } }
input.narrow { max-width: 160px; display: inline-block; }
