/* Manuela Hotel: sade CSS. Renk ve tipografi değerleri aşağıdaki değişkenlerdedir. */
:root {
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Outfit", "Segoe UI", system-ui, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --paper: #f4f0e8;
  --paper-2: #e7e1d6;
  --card: #fbf9f4;
  --ink: #1c1915;
  --muted: #5c564e;
  --line: #ddd6c8;
  --pine: #1e4a42;
  --pine-2: #2c655a;
  --foam: #e4eee9;
  --danger: #8c3a30;
  --pending: #c5362b;
  --confirmed: #1d7a45;
  --inhouse: #1d5aa6;
  --absent: #8a5a12;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-2xl: 36px;
  --shadow: 0 18px 50px rgb(28 25 21 / 0.08);
}

/* ------------------------------------------------------------ temel */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; border: 0 solid var(--line); }
html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body { background: var(--paper); color: var(--ink); font-family: var(--font-sans); font-size: 1rem; line-height: 1.5; }
h1, h2, h3, h4 { font-size: inherit; font-weight: 400; }
h1, h2 { font-family: var(--font-display); text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img, svg, video, iframe { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; background: transparent; }
button:not(:disabled), summary { cursor: pointer; }
table { border-collapse: collapse; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--pine); outline-offset: 2px; }

/* ------------------------------------------------------------ yerleşim */
.page { min-height: 100vh; }
.wrap { width: 100%; max-width: 72rem; margin-inline: auto; padding-inline: 1rem; }
.wrap.narrow { max-width: 48rem; }
.wrap.slim { max-width: 36rem; }
.main-pad { padding-block: 2rem; }
.section-pad { padding-block: 2.5rem; }
.section { padding-top: 5rem; scroll-margin-top: 5rem; }
.stack { display: grid; gap: 1rem; align-content: start; }
.split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: .75rem; }
.cols-2 { display: grid; gap: .75rem; }
.form-stack { display: grid; gap: .75rem; }
@media (min-width: 640px) { .cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.mt-1 { margin-top: .25rem; } .mt-2 { margin-top: .5rem; } .mt-3 { margin-top: .75rem; }
.mt-4 { margin-top: 1rem; } .mt-5 { margin-top: 1.25rem; } .mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; } .mb-3 { margin-bottom: .75rem; } .mb-4 { margin-bottom: 1rem; }

/* ------------------------------------------------------------ yazı */
.text-xs { font-size: .75rem; line-height: 1rem; }
.text-sm { font-size: .875rem; line-height: 1.25rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.muted { color: var(--muted); }
.strong { font-weight: 500; }
.mono { font-family: var(--font-mono); }
.upper { text-transform: uppercase; }
.nums { font-variant-numeric: tabular-nums; }
.block { display: block; }
.display { font-family: var(--font-display); }
.title { font-family: var(--font-display); font-size: 2.25rem; line-height: 2.5rem; }
.headline { font-family: var(--font-display); font-size: 2.25rem; line-height: 2.5rem; }
.heading { font-family: var(--font-display); font-size: 1.875rem; line-height: 2.25rem; }
.subtitle { font-family: var(--font-display); font-size: 1.5rem; line-height: 2rem; }
.minor-title { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.75rem; }
@media (min-width: 640px) { .headline { font-size: 3rem; line-height: 1; } }
.lead { max-width: 42rem; color: var(--muted); }
.price { font-size: 1.125rem; line-height: 1.75rem; font-variant-numeric: tabular-nums; }
.danger-text { color: var(--danger); }
.pine-text { color: var(--pine); }
.pine-link { display: inline-block; color: var(--pine); }
.ink-link { display: inline-block; color: var(--ink); }
.underline { text-decoration: underline; }
a.mt-2, a.mt-3, a.mt-4 { display: inline-block; }
.form-error { font-size: .875rem; color: var(--danger); margin-top: .75rem; }
.form-stack .form-error { margin-top: 0; }

/* ------------------------------------------------------------ düğme ve alan */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; height: 2.75rem; padding-inline: 1rem; border-radius: var(--r-md); border: 1px solid transparent; font-size: .875rem; font-weight: 500; white-space: nowrap; transition: transform .15s ease-out, background-color .15s ease-out, opacity .15s ease-out; }
.btn:active { transform: scale(.98); }
.btn:disabled { pointer-events: none; opacity: .5; }
.btn-primary { background: var(--pine); color: var(--paper); }
.btn-primary:hover { background: var(--pine-2); }
.btn-secondary { border-color: var(--line); background: var(--card); color: var(--ink); }
.btn-secondary:hover { background: var(--paper-2); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--paper-2); }
.btn-danger { border-color: rgb(140 58 48 / .3); color: var(--danger); }
.btn-danger:hover { background: rgb(140 58 48 / .05); }
.btn-lg { height: 3rem; padding-inline: 1.25rem; font-size: 1rem; border-radius: var(--r-lg); }
.btn-sm { height: 2.25rem; padding-inline: .75rem; border-radius: var(--r-sm); }
.btn.block { display: flex; width: 100%; white-space: normal; }
.btn.fit { width: fit-content; }

.field { display: grid; gap: .375rem; font-size: .875rem; align-content: start; min-width: 0; }
.field > span { font-weight: 500; }
.field > small { font-size: .75rem; color: var(--muted); }
input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), select, textarea {
  width: 100%; min-width: 0; height: 2.75rem; padding-inline: .75rem; border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--card); color: var(--ink); font-size: 1rem; outline: none;
}
input[type="date"] { -webkit-appearance: none; appearance: none; display: block; }
input[type="number"] { font-variant-numeric: tabular-nums; }
input[type="file"] { padding-block: .55rem; font-size: .875rem; }
textarea { min-height: 6rem; height: auto; padding-block: .5rem; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { border-color: var(--pine); }
::placeholder { color: rgb(92 86 78 / .7); }
input[type="checkbox"] { width: 1rem; height: 1rem; accent-color: var(--pine); flex: none; }
.check { display: flex; align-items: flex-start; gap: .75rem; font-size: .875rem; }
.check input { margin-top: .125rem; }
.check.center { align-items: center; gap: .5rem; }
.check.center input { margin-top: 0; }

.card { border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--card); padding: 1.25rem; }
.card.pad-4 { padding: 1rem; }

.hp { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); }

/* ------------------------------------------------------------ üst menü */
.site-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid var(--line); background: var(--paper); }
.site-header.overlay { position: absolute; inset-inline: 0; top: 0; z-index: 20; border: 0; background: transparent; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding-block: 1rem; }
.brand { min-width: 0; }
.brand-name { display: block; font-family: var(--font-display); font-size: 1.25rem; line-height: 1; color: var(--ink); }
.brand-place { font-size: .75rem; color: var(--muted); }
.overlay .brand-name { color: var(--paper); }
.overlay .brand-place { color: rgb(244 240 232 / .75); }
.header-tools { display: flex; align-items: center; gap: .25rem; }
.nav-wide { display: none; align-items: center; gap: .125rem; font-size: .875rem; }
.nav-wide a, .nav-menu nav a { display: block; border-radius: var(--r-md); padding: .5rem .75rem; color: var(--ink); }
.nav-wide a:hover, .nav-menu nav a:hover { background: var(--paper-2); }
.overlay .nav-wide a { color: rgb(244 240 232 / .9); }
.overlay .nav-wide a:hover { background: rgb(244 240 232 / .1); }
.nav-menu summary { display: flex; align-items: center; height: 2.25rem; padding-inline: .75rem; border-radius: var(--r-md); font-size: .875rem; list-style: none; }
.nav-menu summary::-webkit-details-marker { display: none; }
.overlay .nav-menu summary { color: var(--paper); }
.nav-menu nav { position: absolute; left: 1rem; right: 1rem; top: calc(100% - .25rem); display: grid; padding: .5rem; border-radius: var(--r-xl); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: .875rem; z-index: 40; }
.overlay .nav-menu nav { background: rgb(28 25 21 / .92); border-color: transparent; }
.overlay .nav-menu nav a { color: var(--paper); }
.overlay .nav-menu nav a:hover { background: rgb(244 240 232 / .1); }
.lang { display: flex; padding: .125rem; }
.lang a { display: flex; align-items: center; height: 2.25rem; padding-inline: .75rem; border-radius: var(--r-sm); font-size: .875rem; text-transform: uppercase; color: var(--ink); }
.lang a:hover { background: var(--paper-2); }
.lang a[aria-current] { background: var(--pine); color: var(--paper); }
.overlay .lang a { color: var(--paper); }
.overlay .lang a:hover { background: rgb(244 240 232 / .1); }
.overlay .lang a[aria-current] { background: var(--paper); color: var(--ink); }
@media (min-width: 768px) { .nav-wide { display: flex; } .nav-menu { display: none; } }
@media (min-width: 768px) and (max-width: 899px) { .nav-wide a { padding-inline: .4rem; } }

/* ------------------------------------------------------------ alt bilgi */
.site-footer { margin-top: 4rem; border-top: 1px solid var(--line); }
.footer-grid { display: grid; gap: 1.5rem; padding-block: 2.5rem; font-size: .875rem; color: var(--muted); }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.footer-name { font-family: var(--font-display); font-size: 1.125rem; color: var(--ink); }
.footer-map { padding-bottom: 2.5rem; }
.map-frame { overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-xl); }
.map-frame iframe { width: 100%; height: 18rem; background: var(--paper-2); }
.whatsapp { position: fixed; right: 1rem; bottom: 1rem; z-index: 30; display: flex; align-items: center; justify-content: center; width: 3.5rem; height: 3.5rem; border-radius: 999px; background: #25d366; color: #fff; box-shadow: var(--shadow); }
.whatsapp svg { width: 2rem; height: 2rem; }

/* ------------------------------------------------------------ ana sayfa */
.hero { position: relative; background: var(--ink); }
.hero-stage { position: relative; height: 78vh; height: 78svh; min-height: 520px; max-height: 880px; }
.hero-slides { position: absolute; inset: 0; overflow: hidden; }
.hero-slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 1; transition: opacity 1s ease; }
.hero-slides img.entering { opacity: 0; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(to top, var(--ink), rgb(28 25 21 / .15) 50%, rgb(28 25 21 / .5)); }
.hero-text { position: absolute; inset-inline: 0; bottom: 0; z-index: 10; padding-bottom: 4rem; color: var(--paper); }
.hero-kicker { font-size: .875rem; letter-spacing: .025em; color: rgb(244 240 232 / .8); }
.hero-text h1 { margin-top: .5rem; font-size: 3.75rem; line-height: 1; }
.hero-line { margin-top: 1rem; max-width: 36rem; }
@media (min-width: 640px) { .hero-text h1 { font-size: 6rem; } .hero-line { font-size: 1.125rem; } }
.hero-search { position: relative; z-index: 15; margin-top: -2.5rem; }
.search-card { border: 1px solid var(--line); border-radius: var(--r-2xl); background: var(--card); padding: 1rem; box-shadow: var(--shadow); }
@media (min-width: 640px) { .search-card { padding: 1.5rem; } }
.search-form { display: grid; gap: .75rem; }
.search-grid { display: grid; gap: .75rem; }
.search-submit { width: 100%; }
@media (min-width: 640px) { .search-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .search-grid { grid-template-columns: 1fr 1fr .7fr .7fr auto; align-items: end; } .search-submit { width: auto; } }
.search-form .form-error { margin-top: 0; }

.intro { display: grid; gap: 2rem; align-items: center; }
.intro-photo { width: 100%; height: 20rem; object-fit: cover; border-radius: var(--r-2xl); }
@media (min-width: 768px) { .intro { grid-template-columns: 5fr 7fr; } .intro-photo { height: 28rem; } }

.board-grid { display: grid; gap: 1rem; margin-top: 2rem; }
@media (min-width: 768px) { .board-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.board { border: 1px solid var(--line); border-radius: var(--r-2xl); background: var(--card); padding: 2rem; }
.board h3 { font-family: var(--font-display); font-size: 1.875rem; line-height: 2.25rem; }
.board-includes { color: var(--muted); }
.board-plus { background: var(--pine); border-color: var(--pine); color: var(--paper); }
.board-plus .board-includes { color: rgb(244 240 232 / .8); }

.rooms-grid { display: grid; gap: 1.5rem; margin-top: 2rem; align-items: start; }
.rooms-photo { width: 100%; height: 20rem; object-fit: cover; border-radius: var(--r-2xl); }
@media (min-width: 1024px) { .rooms-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rooms-photo { position: sticky; top: 1.5rem; height: 32rem; } }
.room-card { border: 1px solid var(--line); border-radius: var(--r-2xl); background: var(--card); padding: 1.25rem; }
.room-card h3 { font-family: var(--font-display); font-size: 1.5rem; line-height: 2rem; }
.price-list { display: grid; gap: .25rem; margin-top: .75rem; font-size: .875rem; font-variant-numeric: tabular-nums; }

.cove { display: grid; margin-top: 5rem; padding-inline: 0; overflow: hidden; scroll-margin-top: 5rem; }
.cove img { width: 100%; height: 20rem; object-fit: cover; }
.cove-text { background: var(--ink); color: var(--paper); padding: 3rem 1.5rem; }
.cove-lead { margin-top: 1rem; max-width: 28rem; color: rgb(244 240 232 / .9); }
.cove-note { margin-top: 1.5rem; font-size: .875rem; color: rgb(244 240 232 / .7); }
@media (min-width: 640px) { .cove-text { padding-inline: 2.5rem; } }
@media (min-width: 768px) { .cove { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cove img { height: 100%; min-height: 28rem; } }
.facts { display: grid; gap: 2rem; }
@media (min-width: 768px) { .facts { grid-template-columns: 5fr 7fr; } }

/* ------------------------------------------------------------ galeri ve video */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { height: 2.75rem; padding-inline: 1rem; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--card); font-size: .875rem; }
.chip[aria-selected="true"] { background: var(--pine); border-color: var(--pine); color: var(--paper); }
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin-top: 1.5rem; }
.shots img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-xl); }
.shots span { display: block; margin-top: .5rem; font-size: .875rem; }
@media (min-width: 768px) { .shots { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.lightbox { position: fixed; inset: 0; width: 100%; height: 100%; max-width: 100%; max-height: 100%; padding: 1rem; background: rgb(28 25 21 / .9); border: 0; }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: transparent; }
.lightbox img { max-width: 100%; max-height: 85vh; max-height: 85svh; object-fit: contain; border-radius: var(--r-xl); }
.lightbox-close { position: absolute; top: 1rem; right: 1rem; height: 2.75rem; padding-inline: 1rem; border-radius: var(--r-md); background: var(--paper); color: var(--ink); font-size: .875rem; }
.videos { display: grid; gap: 1.5rem; margin-top: 2rem; }
@media (min-width: 768px) { .videos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.video-frame { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 1px solid var(--line); border-radius: var(--r-xl); }
.video-file { background: var(--ink); }

/* ------------------------------------------------------------ müsait odalar */
.offers { display: grid; gap: 1rem; margin-top: 1.25rem; }
.offer { display: grid; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--card); }
.offer > img { width: 100%; height: 12rem; object-fit: cover; }
.offer-body { padding: 1.25rem; min-width: 0; }
.offer-prices { display: grid; gap: .75rem; margin-top: 1rem; }
.offer-price { border: 1px solid var(--line); border-radius: var(--r-lg); padding: .75rem; }
@media (min-width: 640px) { .offer-prices { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 768px) { .offer { grid-template-columns: 240px 1fr; } .offer > img { height: 100%; } }

/* ------------------------------------------------------------ rezervasyon */
.checkout-bar { border-bottom: 1px solid var(--line); background: var(--paper); }
.checkout-bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: .75rem; height: 4rem; }
.back { display: inline-flex; align-items: center; gap: .25rem; font-size: .875rem; }
.back svg, .lock { width: 1rem; height: 1rem; }
.lock { color: var(--pine); }
.checkout-brand { font-family: var(--font-display); font-size: 1.25rem; }
.checkout-safe { display: none; }
@media (min-width: 640px) { .checkout-safe { display: inline; } }
.checkout-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; align-items: start; padding-block: 2rem; }
.checkout-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; order: 2; }
.summary { order: 1; height: fit-content; }
@media (min-width: 1024px) { .checkout-grid { grid-template-columns: minmax(0, 1fr) 22rem; } .checkout-form { order: 1; } .summary { order: 2; position: sticky; top: 1.5rem; } }
.stay-head { display: grid; gap: 1rem; margin-top: .75rem; }
.stay-head img { width: 100%; height: 9rem; object-fit: cover; border-radius: var(--r-lg); }
@media (min-width: 640px) { .stay-head { grid-template-columns: 11rem minmax(0, 1fr); } .stay-head img { height: 100%; } }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.tags li { border-radius: var(--r-sm); background: var(--foam); color: var(--pine); padding: .25rem .5rem; font-size: .75rem; }
.facts-row { display: grid; gap: .75rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
@media (min-width: 640px) { .facts-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card-face { margin-top: 1rem; border-radius: var(--r-xl); background: var(--pine); color: var(--paper); padding: 1.25rem; }
.card-number { margin-top: 1.5rem; font-family: var(--font-mono); font-size: 1.25rem; letter-spacing: .1em; overflow-wrap: anywhere; }
.card-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; font-size: .875rem; }
.card-foot span:first-child { min-width: 0; overflow-wrap: anywhere; }
.summary-lines { display: grid; gap: .75rem; margin-top: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); font-size: .875rem; }
.summary-lines li, .summary-terms div { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; }
.summary-terms { display: grid; gap: .5rem; margin-top: 1rem; font-size: .875rem; }
.summary-terms dt { color: var(--muted); }
.summary-total { display: flex; align-items: flex-end; justify-content: space-between; gap: .75rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.total { font-family: var(--font-display); font-size: 1.875rem; line-height: 2.25rem; font-variant-numeric: tabular-nums; }

.record { display: grid; gap: .75rem; font-size: .875rem; }
.record div { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: .75rem; padding-bottom: .5rem; border-bottom: 1px solid var(--line); }
.record div:last-child { border-bottom: 0; }
.record dt { color: var(--muted); }
.record dd { font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
@media print {
  .no-print { display: none !important; }
  body { background: #fff; }
}

/* ------------------------------------------------------------ ön büro */
.sans { font-family: var(--font-sans); }
.center-text { text-align: center; }
.min-0 { min-width: 0; }
.nowrap { white-space: nowrap; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wrap-anywhere { overflow-wrap: anywhere; }
.split.top { align-items: flex-start; }
.stack.tight { gap: .75rem; }
.stack.loose { gap: 1.25rem; }
.stack.looser { gap: 1.5rem; }
.stack > *, .form-stack > * { min-width: 0; }
.stack, .form-stack { grid-template-columns: minmax(0, 1fr); }
.actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.actions.middle { align-items: center; gap: .75rem; }

.desk-login { display: grid; place-items: center; min-height: 100vh; padding-inline: 1rem; }
.login-card { width: 100%; max-width: 24rem; }
.desk-header { border-bottom: 1px solid var(--line); background: var(--card); }
.desk-top { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding-block: 1rem; }
.desk-nav { display: flex; gap: .25rem; overflow-x: auto; padding-bottom: .75rem; }
.desk-nav a { display: flex; flex: none; align-items: center; height: 2.75rem; padding-inline: .75rem; border-radius: var(--r-md); font-size: .875rem; }
.desk-nav a:hover { background: var(--paper-2); }
.desk-nav a[aria-current] { background: var(--pine); color: var(--paper); }
.desk-main { padding-block: 1.5rem; }
.desk-banner { margin-bottom: 1rem; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--foam); padding: .75rem 1rem; font-size: .875rem; }
.toasts { position: fixed; top: 1rem; left: 50%; transform: translateX(-50%); z-index: 60; display: grid; gap: .5rem; width: min(100% - 2rem, 22rem); pointer-events: none; }
.toast { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--card); box-shadow: var(--shadow); padding: .75rem 1rem; font-size: .875rem; }
.toast.error { border-color: var(--danger); color: var(--danger); }
.toast.success { border-color: var(--confirmed); color: var(--confirmed); }

.kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
@media (min-width: 1024px) { .kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.trio, .duo, .bar-lists, .day-columns { display: grid; grid-template-columns: minmax(0, 1fr); gap: .75rem; }
@media (min-width: 640px) { .trio { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 768px) { .duo { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .bar-lists { grid-template-columns: repeat(2, minmax(0, 1fr)); } .day-columns { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.day-columns { margin-top: .75rem; }
.big-number { font-family: var(--font-display); font-size: 2.25rem; line-height: 2.5rem; font-variant-numeric: tabular-nums; }
.amount { font-size: 1.5rem; line-height: 2rem; font-variant-numeric: tabular-nums; }
.occupancy { display: flex; align-items: flex-end; gap: .25rem; margin-top: 1rem; }
.occupancy > div { display: flex; flex: 1; flex-direction: column; align-items: center; gap: .25rem; min-width: 0; }
.occupancy-track { display: flex; align-items: flex-end; width: 100%; height: 6rem; border-radius: var(--r-sm); background: var(--paper-2); }
.occupancy-track div { width: 100%; border-radius: var(--r-sm); background: var(--pine); }
.occupancy span { font-size: .75rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.tally { display: grid; gap: .25rem; margin-top: .5rem; }
.tally li { display: flex; justify-content: space-between; gap: .75rem; }

.movement { display: flex; align-items: flex-end; gap: .25rem; height: 7rem; margin-top: .75rem; }
.movement > div { display: flex; flex: 1; align-items: flex-end; min-width: 0; }
.movement > div > div { width: 100%; border-radius: 4px; background: var(--pine); }
.movement-ends { display: flex; justify-content: space-between; margin-top: .5rem; font-size: .75rem; color: var(--muted); }
.bars { display: grid; gap: .5rem; margin-top: .75rem; }
.bars li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .75rem; font-size: .875rem; }
.bars li > span:last-child { display: flex; align-items: center; gap: .5rem; }
.bars i { display: block; height: .5rem; border-radius: 4px; background: var(--pine); }
.bars b { width: 2rem; text-align: right; font-weight: 400; font-variant-numeric: tabular-nums; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-xl); }
.visit-table { width: 100%; min-width: 860px; text-align: left; font-size: .875rem; }
.visit-table thead { background: var(--paper-2); color: var(--muted); }
.visit-table th, .visit-table td { padding: .5rem .75rem; text-align: left; }
.visit-table th { font-weight: 500; }
.visit-table tbody tr { border-top: 1px solid var(--line); }

.focus-line { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: .75rem; font-size: .875rem; }
.booking-tabs { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1rem; padding-block: .25rem; }
.booking-tab { display: inline-flex; flex: none; align-items: center; gap: .5rem; height: 2.75rem; padding-inline: 1rem; border-radius: var(--r-md); font-size: .875rem; white-space: nowrap; color: var(--paper); }
.booking-tab span { font-variant-numeric: tabular-nums; opacity: .8; }
.booking-tab[aria-selected="true"] { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--ink); }
.tone-pending { background: var(--pending); }
.tone-confirmed { background: var(--confirmed); }
.tone-checked_in { background: var(--inhouse); }
.tone-checked_out { background: var(--muted); }
.tone-no_show { background: var(--absent); }
.tone-cancelled { background: var(--danger); }
.tone-open { border: 1px solid var(--line); background: var(--card); color: var(--ink); }
.tone-open:hover { background: var(--paper-2); }
.tone-open span { color: var(--muted); opacity: 1; }
.tone-open[aria-selected="true"] { border-color: var(--pine); background: var(--pine); color: var(--paper); box-shadow: none; }
.tone-open[aria-selected="true"] span { color: var(--paper); opacity: .8; }
.search-box { max-width: 28rem; margin-top: 1rem; }
.stays { display: grid; grid-template-columns: minmax(0, 1fr); gap: .75rem; margin-top: 1rem; }
.stay { --edge: var(--ink); border: 2px solid var(--edge); border-radius: var(--r-xl); background: var(--card); padding: 1rem; scroll-margin: 1rem; }
.stay.status-pending { --edge: var(--pending); }
.stay.status-confirmed { --edge: var(--confirmed); }
.stay.status-checked_in { --edge: var(--inhouse); }
.stay.focused { box-shadow: 0 0 0 2px var(--edge); }
.status-form select { max-width: 12rem; }

.modal { position: fixed; inset: 0; margin: auto; width: min(100% - 2rem, 640px); max-height: 85vh; max-height: 85svh; overflow-y: auto; padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--card); color: var(--ink); box-shadow: var(--shadow); }
.modal::backdrop { background: rgb(28 25 21 / .4); }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; }
.modal-close { flex: none; width: 2.25rem; height: 2.25rem; border-radius: var(--r-sm); font-size: 1.25rem; line-height: 1; color: var(--muted); }
.modal-close:hover { background: var(--paper-2); }

.view-tabs { display: flex; gap: .25rem; }
.view-tabs a, .period-tabs a { display: flex; flex: none; align-items: center; height: 2.75rem; padding-inline: .75rem; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--card); font-size: .875rem; }
.view-tabs a[aria-selected="true"] { border-color: var(--pine); background: var(--pine); color: var(--paper); }
.calendar-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin-top: 1rem; }
.calendar-nav > div { display: flex; gap: .5rem; }
.legend { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .75rem; font-size: .75rem; color: var(--muted); }
.legend li { display: inline-flex; align-items: center; gap: .5rem; }
.legend span { display: inline-block; width: .75rem; height: .75rem; border-radius: 3px; }
.fill-pending { background: var(--pending); }
.fill-confirmed { background: var(--confirmed); }
.fill-checked_in { background: var(--inhouse); }
.fill-block { background: var(--ink); }
.fill-empty { background: var(--card); }
.calendar { overflow-x: auto; margin-top: 1rem; border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--card); }
.cal-row { display: grid; grid-template-columns: 8rem minmax(0, 1fr); border-bottom: 1px solid var(--line); }
.cal-row:last-child { border-bottom: 0; }
.cal-room { position: sticky; left: 0; z-index: 10; min-width: 0; overflow: hidden; background: var(--card); padding: .5rem .75rem; font-size: .875rem; }
.cal-head .cal-room { font-size: .75rem; color: var(--muted); }
.cal-grid { display: grid; }
.cal-day { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 2.75rem; padding-inline: .25rem; font-size: .75rem; line-height: 1rem; font-variant-numeric: tabular-nums; }
.cal-day:hover { background: var(--paper-2); }
.cal-day.selected { background: var(--pine); color: var(--paper); }
.cal-day.today:not(.selected) .cal-num { text-decoration: underline; text-decoration-color: var(--pine); text-decoration-thickness: 2px; }
.cal-lane { position: relative; min-width: 0; }
.cal-cell { display: block; height: 3rem; border-left: 1px solid var(--line); }
.calendar.dense .cal-cell { height: 2rem; }
.cal-cell.selected { background: var(--foam); }
.cal-bars { position: absolute; inset: 0; pointer-events: none; }
.cal-bar { position: absolute; top: .25rem; bottom: .25rem; overflow: hidden; padding-inline: .5rem; border-radius: var(--r-sm); background: var(--inhouse); color: var(--paper); font-size: .75rem; line-height: 2.5rem; white-space: nowrap; text-overflow: ellipsis; pointer-events: auto; }
.bar-pending { background: var(--pending); }
.bar-confirmed { background: var(--confirmed); }
.day-list { display: grid; gap: .5rem; margin-top: .5rem; font-size: .875rem; }
.day-list li { border-top: 1px solid var(--line); padding-top: .5rem; }
.day-list li:first-child { border-top: 0; padding-top: 0; }
.guest-link { text-decoration: underline; text-decoration-color: rgb(30 74 66 / .4); text-underline-offset: 2px; }

.beds { display: grid; gap: .5rem; }
.beds .stack.tight { gap: .5rem; }
.bed-row { display: grid; grid-template-columns: minmax(0, 1fr) 5rem auto; gap: .5rem; }
.rate-room { border-top: 1px solid var(--line); padding-top: .75rem; }
.period-tabs { display: flex; gap: .5rem; overflow-x: auto; }
.period-tabs a { background: transparent; }
.period-tabs a[aria-current] { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.block-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); padding: .75rem 1rem; font-size: .875rem; }
.notice-body { margin-top: .75rem; font-family: var(--font-sans); font-size: .875rem; color: var(--muted); white-space: pre-wrap; overflow-wrap: anywhere; }
.dashed { border: 1px dashed var(--line); border-radius: var(--r-xl); padding: 1rem; }
input.sort-input { max-width: 6rem; }
.media-card { border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--card); padding: .75rem; }
.media-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: .75rem; }
.media-row > img, .media-row > video { width: 100%; height: 7rem; object-fit: cover; border-radius: var(--r-lg); }
.media-row.video > img, .media-row.video > video { height: 6rem; background: var(--ink); }
@media (min-width: 640px) { .media-row { grid-template-columns: 140px minmax(0, 1fr); } .media-row.video { grid-template-columns: 180px minmax(0, 1fr); } }
a.chip { display: inline-flex; align-items: center; }
/* Takvimde oda tiplerini ayıran çizgi */
.cal-row.cal-type-start { border-top: 2px solid var(--line-strong, var(--ink-soft, #b9b2a6)); }
.cal-head + .cal-row.cal-type-start { border-top: 0; }
