/* OMKEL çalışma dosyaları ve yayın kapağı */
.cover {
  isolation: isolate; position: relative; overflow: hidden;
  background: #102a34; color: #fff;
}
.cover::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgb(7 23 31 / .95) 0%, rgb(7 23 31 / .78) 31%, rgb(7 23 31 / .16) 68%, transparent),
              linear-gradient(0deg, rgb(9 25 33 / .64), transparent 30%);
}
.cover-inner { min-height: clamp(31rem, 42vw, 41rem); display: grid; align-content: space-between; gap: 2rem; padding-block: clamp(3.4rem, 6vw, 6.3rem) 1.45rem; }
.cover-copy { max-width: 34rem; }
.cover-copy h1 { color: white; font-size: clamp(3rem, 5.6vw, 5.8rem); font-weight: 650; letter-spacing: -.055em; line-height: .99; max-width: 11.7ch; text-wrap: balance; }
.cover-copy p { font-size: clamp(1rem,1.3vw,1.22rem); color: #f3f6f6; margin-top: 1.2rem; line-height: 1.55; max-width: 43ch; }
.cover-action { margin-top: 1.45rem; padding: .8rem 1.25rem; border-radius: .2rem; }
.cover-picker { margin: 0; padding: 0; border: 0; min-width: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.cover-picker label { cursor: pointer; font-size: .94rem; line-height: 1.4; padding: .55rem .83rem; color: #fff; border-radius: .18rem; background: #122b32e8; border: 1px solid #9aacae; }
.cover-picker label:hover { border-color: white; }
.cover-picker .scene-input:checked + label { background: #faf8f1; border-color: #faf8f1; color: #142a31; font-weight: 700; }
.cover-picker .scene-input:focus-visible + label { outline: 3px solid #ffc757; outline-offset: 2px; }
.cover-views { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.cover-views img { display: none; height: 100%; width: 100%; object-fit: cover; object-position: 58% 51%; }
#kapak-hat:checked ~ .cover-views .view-hat, #kapak-saha:checked ~ .cover-views .view-saha,
#kapak-atolye:checked ~ .cover-views .view-atolye, #kapak-vagon:checked ~ .cover-views .view-vagon { display: block; }
.dossiers { padding-block: clamp(2.8rem,5.4vw,5.2rem); border-bottom: 1px solid var(--rule); }
.dossiers-head { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: end; margin-bottom: 1.8rem; }
.dossiers h2 { font-size: clamp(2.15rem,3.7vw,3.8rem); letter-spacing: -.045em; }
.dossiers-head p, .dossier-card > p { color: var(--muted); }
.dossier-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(1rem,2.6vw,2.5rem); }
.dossier-card { border-bottom: 1px solid var(--rule); padding-bottom: 1.1rem; }
.dossier-card a { display: block; text-decoration: none; }
.dossier-card a:focus-visible h3, .dossier-card a:hover h3 { color: var(--accent); text-decoration: underline; }
.dossier-card img { width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; }
.dossier-card a > div { border-top: 3px solid var(--accent); padding-top: .85rem; }
.dossier-card .section-kind { margin: 0 0 .35rem; }
.dossier-card h3 { font-size: clamp(1.4rem,2.15vw,2.1rem); letter-spacing: -.035em; }
.dossier-card > p { margin-top: .6rem; line-height: 1.5; }
.file-link { display: block; padding: .9rem 1.05rem; background: var(--tint); border-left: .22rem solid var(--accent); color: var(--ink); font-weight: 650; margin-block: 1.4rem; }
.paper-panel { background: var(--tint); border-top: 3px solid var(--accent); padding: 1.15rem 1.3rem; margin-block: 1.25rem; }
.paper-panel h2, .paper-panel h3 { margin-top: 0; }
.paper-panel p { margin-top: .5rem; }
.file-meta { display: grid; grid-template-columns: repeat(3,1fr); margin: 1.7rem 0 .2rem; border-block: 1px solid var(--rule); }
.file-meta div { padding: .7rem .8rem .7rem 0; }
.file-meta dt { color: var(--muted); font-size: .91rem; }
.file-meta dd { color: var(--ink); margin: .1rem 0 0; font-weight: 650; }
.paper-aside { align-self: start; border-top: 3px solid var(--accent); padding: 1.15rem; background: var(--pale); }
.paper-aside h2 { font-size: 1.25rem; margin-bottom: .7rem; }
.paper-aside ul { list-style: none; padding: 0; margin: 0; }
.paper-aside li + li { margin-top: .6rem; }
.paper-aside a { color: var(--ink); }
.paper-aside .file-link { margin-bottom: 0; }
.paper-question { border-block-start: 1px solid var(--rule); padding-block: .8rem; }
.paper-question summary { cursor: pointer; color: var(--ink); font-weight: 650; }
.energy-bars { margin: 1.5rem 0; padding: clamp(.85rem,3vw,1.7rem); border: 1px solid var(--rule); }
.energy-bars figcaption strong { display: block; color: var(--ink); font-size: 1.18rem; line-height: 1.25; }
.energy-bars figcaption span, .energy-bars > p { display: block; color: var(--muted); font-size: .92rem; }
.energy-bars figcaption span { margin: .35rem 0 .8rem; }
.bar-period { display: grid; grid-template-columns: minmax(3.5rem, .27fr) 1fr; align-items: center; border-top: 1px solid var(--rule); padding-block: .55rem; gap: .5rem; }
.bar-period > b { color: var(--ink); font-size: .92rem; }
.bar-trips > div { display: grid; grid-template-columns: 1rem minmax(0,1fr) 3.6rem; align-items: center; gap: .35rem; line-height: 1.5; }
.bar-trips span, .bar-trips em { color: var(--ink); font-size: .88rem; font-style: normal; font-variant-numeric: tabular-nums; }
.bar-trips i { height: .6rem; width: var(--energy); background: #12646b; }
.bar-trips div:nth-child(2) i { background: #a76613; }
.bar-trips div:nth-child(2) i.gap { width: 100%; background: repeating-linear-gradient(135deg, #fff 0 4px, #cdd6d7 4px 6px); }
.energy-bars > p { margin-top: .55rem; }
@media print { .bar-trips i { print-color-adjust: exact; } }
/* Tren dizisi ve işletme durumlarına göre elektrik akışı */
.train-consist, .trip-modes {
  margin: 1.2rem 0;
  padding: clamp(.8rem, 2.5vw, 1.5rem);
  border: 1px solid #c2d0d8;
  border-radius: .25rem;
  background: #f4f7f9;
}
.train-consist figcaption strong, .train-consist figcaption span { display: block; }
.train-consist figcaption strong { color: var(--ink); font-size: 1.2rem; }
.train-consist figcaption span { color: var(--muted); font-size: .92rem; }
.prose .train-order {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0;
  margin: 1.1rem 0 .15rem;
  list-style: none;
}
.train-order li { position: relative; min-width: 0; text-align: center; }
.prose .train-order li + li { margin: 0; }
.train-order li::before { content: ""; position: absolute; top: 2.38rem; height: 2px; background: #6d828a; inset-inline: 0; }
.train-order li + li::after { content: ""; position: absolute; top: 1.63rem; left: -7%; width: 14%; height: 3px; background: #60717a; }
.wagon-body { display: block; position: relative; height: 2.5rem; margin: 0 5%; }
.wagon-body::before {
  content: ""; position: absolute; inset: .65rem 0 .55rem; z-index: 1;
  border-top: .2rem solid #5c6d76; border-bottom: .22rem solid #485964;
  background: repeating-linear-gradient(90deg, #81939c 0 .55rem, #a5b3bb .55rem .68rem);
  clip-path: polygon(0 0,100% 0,94% 100%,7% 100%);
}
.train-loco .wagon-body::before {
  inset: .3rem 0 .55rem; border: 0;
  background: linear-gradient(to top,#254252 0 25%,#3c5866 25% 70%,#243d4d 70%);
  clip-path: polygon(0 100%,0 44%,12% 44%,18% 0,41% 0,46% 32%,91% 32%,100% 56%,100% 100%);
}
.train-energy .wagon-body::before {
  inset: .32rem 0 .55rem; border: 1px solid #526975; border-radius: .3rem .3rem .05rem .05rem;
  clip-path: none; background: linear-gradient(to top,#284953 0 24%,#c38c46 24% 34%,#f3e6c9 34%);
}
.wagon-body::after {
  content: ""; position: absolute; inset: auto 0 0; height: .8rem;
  background: radial-gradient(circle at 19% 47%,#304954 0 .29rem,transparent .32rem),
              radial-gradient(circle at 81% 47%,#304954 0 .29rem,transparent .32rem);
}
.train-order strong, .train-order small { display: block; line-height: 1.3; overflow-wrap: anywhere; }
.train-order strong { margin-top: .36rem; font-size: clamp(.78rem,1.8vw,1rem); }
.train-order small { font-size: clamp(.72rem,1.45vw,.86rem); color: var(--muted); }
.trip-modes { min-width: 0; }
.trip-modes legend { padding-inline: .38rem; font-weight: 650; color: #294452; }
.trip-modes > label {
  cursor: pointer; display: inline-block; margin: 0 .15rem .32rem 0;
  border: 1px solid #82959d; border-radius: .2rem; padding: .34rem .72rem;
  color: #203846; background: white; font-size: .97rem; font-weight: 650;
}
.trip-modes .scene-input:checked + label { background: #264656; color: white; border-color: #264656; }
.trip-modes .scene-input:focus-visible + label { outline: 3px solid #b86400; outline-offset: 2px; }
.trip-panel { display: none; }
#kip-seyir:checked ~ .trip-panels #akis-seyir,
#kip-manevra:checked ~ .trip-panels #akis-manevra,
#kip-bekleme:checked ~ .trip-panels #akis-bekleme { display: block; }
.trip-panel h3 { margin: .95rem 0 .8rem; font-size: 1.18rem; line-height: 1.3; }
.trip-source {
  position: relative; text-align: center; border-radius: .18rem; padding: .75rem;
  color: white; background: #294b5a; font-weight: 650; line-height: 1.4; font-size: 1rem;
}
.trip-source span { padding-inline: .22rem; color: #ffc984; }
.trip-paths {
  position: relative; margin: .85rem 0 1rem; padding-top: .75rem;
  display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .6rem;
  line-height: 1.45; font-size: .96rem;
}
.trip-source::after, .trip-paths::before, .trip-paths > div::before {
  content: ""; position: absolute; background: #597681;
}
.trip-source::after { width: 2px; height: .88rem; top: 100%; left: calc(50% - 1px); }
.trip-paths::before { top: 0; left: calc(25% - .15rem); right: calc(25% - .15rem); height: 2px; }
.trip-paths > div { position: relative; padding: .7rem .8rem; background: white; border: 1px solid #b6c7cd; }
.trip-paths > div::before {
  width: .64rem; height: .78rem; bottom: 100%; left: calc(50% - .32rem);
  clip-path: polygon(39% 0,61% 0,61% 55%,100% 55%,50% 100%,0 55%,39% 55%);
}
.trip-paths dt { font-weight: 700; color: #214652; }
.trip-paths > .traction-idle { border-style: dashed; color: #495e69; background: #edf1f3; }
.trip-paths > .traction-idle::before { background: #8f9da5; }
.trip-paths dd { margin: .24rem 0 0; }
.trip-energy { font-variant-numeric: tabular-nums; }
@media (max-width: 35rem) {
  .trip-modes > label { padding: .35rem .52rem; }
  .trip-paths { display: grid; grid-template-columns: 1fr; padding: 0 0 0 1.35rem; gap: .55rem; }
  .trip-source::after { left: .35rem; }
  .trip-paths::before { left: .35rem; right: auto; width: 2px; height: auto; top: -.05rem; bottom: .85rem; }
  .trip-paths > div::before { left: -1rem; bottom: auto; top: .82rem; height: 1rem; transform: rotate(-90deg); }
  .trip-paths > div:last-child::after { content: ""; position: absolute; left: -1.12rem; top: 1.35rem; bottom: -1px; width: .32rem; background: #f4f7f9; }
}
@media print {
  .trip-modes > label { display: none; }
  .trip-modes .trip-panel { display: block; break-inside: avoid; }
  .trip-panel + .trip-panel { margin-top: 1rem; }
  .train-consist,.trip-source,.trip-paths,.trip-modes { print-color-adjust: exact; }
}
.paper-question[open] summary { margin-bottom: .6rem; }
/* Elektrik kaynaklarının ve terminal yüklerinin sayfadaki akış şeması */
.terminal-flow {
  --flow-line: #52777b;
  margin: 1.4rem 0;
  padding: clamp(.8rem, 2.7vw, 1.55rem);
  border: 1px solid #c5d3d3;
  border-radius: .3rem;
  background: #f5f8f7;
  color: #18343a;
  line-height: 1.38;
}
.terminal-flow figcaption { margin-bottom: 1.1rem; }
.terminal-flow figcaption strong { display: block; font-size: 1.24rem; }
.terminal-flow figcaption span { display: block; margin-top: .25rem; color: #435d60; font-size: .93rem; }
.terminal-inputs, .terminal-branches { position: relative; display: grid; }
.terminal-inputs { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-bottom: 1.1rem; }
.terminal-input, .terminal-branches a {
  position: relative;
  display: block;
  margin-inline: .26rem;
  padding: .8rem .7rem;
  background: #fff;
  border: 1px solid #afc4c3;
  border-radius: .2rem;
  text-align: center;
  overflow-wrap: anywhere;
}
.terminal-input { border-top: .24rem solid #256569; }
.terminal-input.grid-input { border-top-color: #637389; }
.terminal-flow :is(.terminal-input, .terminal-bus, .terminal-branches a) strong { display: block; font-size: 1rem; line-height: 1.25; }
.terminal-flow :is(.terminal-input, .terminal-bus, .terminal-branches a) span { display: block; margin-top: .32rem; font-size: .86rem; }
.terminal-inputs::after, .terminal-branches::before {
  content: "";
  position: absolute;
  height: 2px;
  background: var(--flow-line);
}
.terminal-inputs::after { bottom: 0; left: 25%; right: 25%; }
.terminal-input::after, .terminal-bus::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 1.15rem;
  left: calc(50% - 1px);
  top: 100%;
  background: var(--flow-line);
}
.terminal-bus {
  position: relative;
  margin: 1rem 0 1.1rem;
  padding: .8rem 1rem;
  border-radius: .2rem;
  background: #213f49;
  color: white;
  text-align: center;
}
.terminal-bus::before, .terminal-branches a::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: calc(50% - .32rem);
  width: .64rem;
  height: 1.05rem;
  background: var(--flow-line);
  clip-path: polygon(40% 0, 60% 0, 60% 57%, 100% 57%, 50% 100%, 0 57%, 40% 57%);
}
.terminal-branches { grid-template-columns: repeat(3, minmax(0, 1fr)); padding-top: 1rem; }
.terminal-branches::before { top: 0; left: 16.6667%; right: 16.6667%; }
.terminal-branches a { color: #183f46; text-decoration: none; }
.terminal-branches a strong { text-decoration: underline; text-underline-offset: .15em; }
.terminal-branches a:hover, .terminal-branches a:focus-visible { background: #e3eeec; }
.balance-table { font-variant-numeric: tabular-nums; }
@media (max-width: 35rem) {
  .terminal-input, .terminal-branches a { margin-inline: .12rem; padding: .6rem .38rem; }
  .terminal-input span { hyphens: auto; }
  .terminal-branches { display: grid; grid-template-columns: 1fr; gap: .5rem; padding: 0 0 0 1.6rem; }
  .terminal-branches::before { left: .55rem; right: auto; top: -.6rem; bottom: 1.6rem; width: 2px; height: auto; }
  .terminal-bus::after { left: .55rem; }
  .terminal-branches a { text-align: left; padding: .65rem .8rem; }
  .terminal-branches a::before { left: -1.04rem; bottom: auto; top: 1.3rem; transform: rotate(-90deg); }
  .terminal-branches a:last-child::after { content: ""; position: absolute; left: -1.3rem; top: 1.86rem; bottom: -1px; width: .48rem; background: #f5f8f7; }
}
@media print {
  .terminal-flow { break-inside: avoid; print-color-adjust: exact; }
}
.paper-question summary:focus-visible { outline: 3px solid #b86400; outline-offset: 2px; }
.split-evidence { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-block: 1.2rem; }
.split-evidence figure { margin: 0; }
@media(max-width: 52rem) {
  .dossier-grid { gap: 1rem; }
  .top-nav { gap: .85rem; flex-wrap: wrap; }
  .cover-copy { max-width: 29rem; }
}
@media(max-width: 42rem) {
  .cover-inner { min-height: auto; gap: 1.1rem; padding-top: 0; padding-bottom: 1.25rem; }
  .cover::after { display: none; }
  .cover-views { position: absolute; top: 0; inset-inline: 0; bottom: auto; height: clamp(11rem,53vw,18rem); }
  .cover-views img { object-position: 65% 55%; }
  .cover-copy { padding-top: calc(clamp(11rem,53vw,18rem) + 1.25rem); }
  .cover-copy h1 { font-size: clamp(2.6rem,9.8vw,3.4rem); max-width: 14ch; }
  .cover-copy p { margin-top: .8rem; }
  .cover-picker { gap: .35rem; }
  .cover-picker label { padding: .45rem .6rem; font-size: .87rem; }
  .dossiers-head, .dossier-grid { grid-template-columns: 1fr; gap: .75rem; }
  .dossier-grid { gap: 1.6rem; }
  .file-meta { grid-template-columns: 1fr; }
  .file-meta div + div { border-top: 1px solid var(--rule); }
  .split-evidence { grid-template-columns: 1fr; }
}
@media print { .cover { color: #102832; background: white; } .cover-copy { padding: 0; } .cover-copy h1,.cover-copy p { color: #102832; } .cover-picker,.cover::after,.paper-aside,.cover-action { display: none; } .cover-inner { min-height: 0; } }
