/* Başlangıç ön ekranı (gezi.js). Açıkken sayfa dikey kayar; kabuk gizlenir. Tokenlar: tokens.css */
.btn-trip {
  flex: none; display: inline-flex; align-items: center; gap: var(--s2); min-height: var(--tap); max-width: 55%; padding: 0 var(--s3);
  border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--surface); color: var(--ink); font-size: var(--fs-xs); font-weight: 600; white-space: nowrap;
}
.btn-trip:hover { border-color: var(--ink-2); }
.trip-sum { color: var(--ink-2); font-weight: 500; overflow: hidden; text-overflow: ellipsis; min-width: 0; font-variant-numeric: tabular-nums; }
.trip-edit { color: var(--sea); font-weight: 700; }
@media (max-width: 420px) { .day-title { display: none; } .btn-trip { margin-left: auto; } }

html.gate-open, html.gate-open body { height: auto; min-height: 100%; overflow: visible; overflow-x: clip; }
html.gate-open body.app { display: block; }
html.gate-open :is(.topbar, .ribbon-wrap, #main, .tabbar, .skip) { display: none; }

.gate { background: var(--paper); min-height: 100dvh; padding: var(--s5) var(--s4) var(--s6); }
.gate-inner { max-width: 880px; margin: 0 auto; }
.gate-brand { display: flex; margin-bottom: var(--s5); }
.gate h2 { margin: 0; font-size: clamp(var(--fs-xl), 1.1rem + 2.2vw, var(--fs-2xl)); line-height: 1.08; letter-spacing: -0.025em; font-weight: 800; outline: none; text-wrap: balance; }
.gate-lede { margin: var(--s2) 0 var(--s5); color: var(--ink-2); max-width: 56ch; }
.gate-form { display: grid; gap: var(--s4); max-width: 640px; }
.gate-summary { margin: 0; padding: var(--s3); border-radius: var(--r-control); background: var(--alert-wash); color: var(--alert); font-weight: 600; }
.gate-group { position: relative; display: grid; gap: var(--s2); margin: 0; padding: var(--s4); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); min-width: 0; }
.gate-group > legend { display: flex; align-items: center; gap: var(--s2); font-weight: 700; padding: 0 var(--s2); }
/* Başlangıç ve bitiş tek rota: vapur hattı gibi kesik çizgiyle bağlanır */
.gate-group > legend::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--dawn); }
.gate-group + .gate-group > legend::before { background: var(--surface); box-shadow: inset 0 0 0 3px var(--sea); }
.gate-group:first-of-type::after { content: ""; position: absolute; left: calc(var(--s4) + var(--s2) + 4px); top: 100%; height: calc(var(--s4) + 6px); border-left: 2px dashed var(--ink-2); opacity: 0.5; }
.gate input:focus { border-color: var(--sea); outline: none; box-shadow: 0 0 0 3px var(--sea-wash); }
.gate input[aria-invalid="true"] { border-color: var(--alert); }
.gate-check { display: flex; align-items: center; gap: var(--s2); min-height: var(--tap); }
.gate-check input { width: 22px; height: 22px; accent-color: var(--sea); }
.gate-err { margin: 0; font-size: var(--fs-xs); color: var(--alert); font-weight: 600; }
.gate-actions { display: grid; gap: var(--s2); }
@media (min-width: 640px) { .gate { padding-top: var(--s7); } .gate-actions { grid-template-columns: 1fr auto; } }
.gate input[type="datetime-local"] { min-width: 0; }
.gate-note { margin: 0; padding: var(--s2) var(--s3); border: 1px solid var(--line); border-radius: var(--r-control); background: var(--surface-2); color: var(--ink); font-size: var(--fs-sm); }
