﻿*{box-sizing:border-box;margin:0;padding:0}
:root{
  --bg:#071a26;
  --panel:#0c2434;
  --panel-2:#103147;
  --line:rgba(255,255,255,.1);
  --text:#f7f2e9;
  --muted:rgba(247,242,233,.68);
  --gold:#f4ba18;
}
body{
  min-height:100vh;
  min-height:100svh;
  min-height:100dvh;
  background:
    radial-gradient(circle at top left,rgba(244,186,24,.12),transparent 24%),
    linear-gradient(135deg,#061520 0%,#0a2130 48%,#10324a 100%);
  color:var(--text);
  font-family:'DM Sans',sans-serif;
  overflow-x:hidden;
}
.admin-layout{
  min-height:100vh;
  min-height:100svh;
  min-height:100dvh;
  display:grid;
  grid-template-columns:280px 1fr;
}
.admin-sidebar{
  padding:28px 22px;
  border-right:1px solid var(--line);
  background:rgba(7,26,38,.86);
  backdrop-filter:blur(22px) saturate(160%);
  -webkit-backdrop-filter:blur(22px) saturate(160%);
}
.admin-brand{
  font-family:'Playfair Display',serif;
  font-size:34px;
  line-height:.95;
}
.admin-brand span{
  display:block;
  margin-top:8px;
  font-family:'DM Sans',sans-serif;
  font-size:11px;
  letter-spacing:.34em;
  text-transform:uppercase;
  color:var(--gold);
}
.admin-note{
  margin-top:18px;
  font-size:13px;
  line-height:1.75;
  color:var(--muted);
}
.panel-nav{
  margin-top:28px;
  display:grid;
  gap:10px;
}
.panel-link{
  width:100%;
  appearance:none;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
  color:var(--text);
  border-radius:18px;
  padding:16px 18px;
  text-align:left;
  font-size:13px;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
  cursor:pointer;
  transition:transform .2s,background .2s,border-color .2s;
}
.panel-link:hover,.panel-link.is-active{
  background:rgba(244,186,24,.14);
  border-color:rgba(244,186,24,.5);
  transform:translateY(-1px);
}
.sidebar-card{
  margin-top:18px;
  padding:18px;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.04);
}
.sidebar-card h3{
  font-size:11px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:rgba(247,242,233,.68);
  margin-bottom:12px;
}
.sidebar-field{
  display:grid;
  gap:6px;
  margin-bottom:12px;
}
.sidebar-field:last-of-type{margin-bottom:0}
.sidebar-field span{
  font-size:10px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:rgba(247,242,233,.58);
}
.sidebar-field input{
  width:100%;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(5,22,35,.5);
  color:var(--text);
  font:inherit;
}
.sidebar-field input::placeholder{color:rgba(247,242,233,.28)}
.sidebar-help{
  margin-top:4px;
  font-size:11px;
  line-height:1.6;
  color:var(--muted);
}
.sidebar-card-actions{
  display:grid;
  gap:10px;
  margin-top:14px;
}
.sidebar-card-actions button{
  appearance:none;
  border:none;
  border-radius:14px;
  padding:13px 14px;
  font-size:11px;
  letter-spacing:.14em;
  text-transform:uppercase;
  font-weight:700;
  cursor:pointer;
  transition:transform .2s,background .2s;
}
.sidebar-card-actions button:hover{transform:translateY(-1px)}
.sidebar-card-actions .primary{background:var(--gold);color:#0d2230}
.sidebar-card-actions .ghost{background:rgba(255,255,255,.08);color:var(--text);border:1px solid rgba(255,255,255,.12)}
.sidebar-status{
  margin-top:12px;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(5,22,35,.45);
  font-size:12px;
  line-height:1.6;
  color:var(--muted);
}
.sidebar-status.is-error{
  color:#ffd3d3;
  border-color:rgba(255,120,120,.32);
}
.admin-main{
  padding:22px;
}
.panel-view{display:none}
.panel-view.is-active{display:block;height:100%}
.workspace-shell{
  height:calc(100vh - 44px);
  height:calc(100svh - 44px);
  height:calc(100dvh - 44px);
  display:grid;
  grid-template-rows:auto 1fr;
  gap:16px;
}
.workspace-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:20px;
  padding:22px 24px;
  border-radius:26px;
  background:rgba(12,36,52,.72);
  border:1px solid var(--line);
  backdrop-filter:blur(20px);
  -webkit-backdrop-filter:blur(20px);
}
.workspace-top h1{
  font-family:'Playfair Display',serif;
  font-size:34px;
  line-height:1;
}
.workspace-top p{
  margin-top:10px;
  max-width:560px;
  font-size:14px;
  line-height:1.75;
  color:var(--muted);
}
.workspace-status{
  padding:14px 16px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.04);
  font-size:12px;
  line-height:1.7;
  color:var(--muted);
}
.workspace-status.is-error{
  color:#ffd3d3;
  border-color:rgba(255,120,120,.32);
}
.workspace-links{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.workspace-links a{
  text-decoration:none;
  white-space:nowrap;
  padding:13px 18px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.05);
  color:var(--text);
  font-size:11px;
  letter-spacing:.14em;
  text-transform:uppercase;
  font-weight:700;
}
.workspace-links a.primary{
  background:var(--gold);
  border-color:transparent;
}
.preview-frame{
  width:100%;
  height:100%;
  border:none;
  border-radius:28px;
  background:#0b2232;
  box-shadow:0 24px 70px rgba(0,0,0,.28);
}
.workspace-top-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.workspace-top-actions button,.workspace-top-actions a{
  appearance:none;
  border:none;
  padding:13px 18px;
  border-radius:999px;
  background:var(--gold);
  color:#0d2230;
  font-size:11px;
  letter-spacing:.14em;
  text-transform:uppercase;
  font-weight:700;
  cursor:pointer;
  text-decoration:none;
}
.tours-shell{
  height:calc(100vh - 44px);
  height:calc(100svh - 44px);
  height:calc(100dvh - 44px);
  display:grid;
  grid-template-rows:auto 1fr;
  gap:16px;
}
.tours-editor{
  min-height:0;
  overflow:auto;
  padding-right:4px;
}
.tours-editor-grid{
  display:grid;
  gap:16px;
}
.tour-grid-library{
  display:grid;
  gap:22px;
}
.tour-grid-group{
  display:grid;
  gap:14px;
}
.tour-grid-group-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
}
.tour-grid-group-head h2{
  font-family:'Playfair Display',serif;
  font-size:30px;
  line-height:1;
}
.tour-grid-group-copy{
  margin-top:8px;
  max-width:620px;
  font-size:13px;
  line-height:1.7;
  color:var(--muted);
}
.tour-grid-group-count{
  display:grid;
  place-items:center;
  min-width:56px;
  height:56px;
  padding:0 12px;
  border-radius:18px;
  background:rgba(244,186,24,.12);
  border:1px solid rgba(244,186,24,.3);
  color:#ffdd8a;
  font-size:22px;
  font-weight:700;
}
.tours-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:16px;
}
.tour-grid-card{
  display:grid;
  gap:16px;
  padding:22px;
  border-radius:26px;
  border:1px solid var(--line);
  background:rgba(12,36,52,.72);
  backdrop-filter:blur(20px);
  -webkit-backdrop-filter:blur(20px);
  text-decoration:none;
  color:var(--text);
  transition:transform .24s,border-color .24s,box-shadow .24s;
}
.tour-grid-card:hover{
  transform:translateY(-3px);
  border-color:rgba(244,186,24,.36);
  box-shadow:0 24px 60px rgba(0,0,0,.18);
}
.tour-grid-card-add{
  align-content:center;
  background:
    radial-gradient(circle at top right,rgba(244,186,24,.12),transparent 40%),
    rgba(12,36,52,.72);
}
.tour-grid-add-mark{
  width:58px;
  height:58px;
  border-radius:18px;
  display:grid;
  place-items:center;
  background:rgba(244,186,24,.12);
  border:1px solid rgba(244,186,24,.34);
  color:var(--gold);
  font-size:30px;
  line-height:1;
}
.tour-grid-card-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
}
.tour-grid-badges{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  justify-content:flex-end;
}
.tour-grid-kicker{
  font-size:10px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:rgba(247,242,233,.54);
}
.tour-grid-card h3{
  margin-top:10px;
  font-family:'Playfair Display',serif;
  font-size:28px;
  line-height:1;
}
.tour-grid-copy{
  font-size:13px;
  line-height:1.75;
  color:var(--muted);
}
.tour-grid-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:36px;
  padding:0 12px;
  border-radius:999px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  font-size:10px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:rgba(247,242,233,.72);
  text-align:center;
}
.tour-grid-badge.is-type{
  background:rgba(39,117,147,.12);
  border-color:rgba(39,117,147,.26);
  color:#b9e4ef;
}
.tour-grid-badge.is-type.is-combo{
  background:rgba(244,186,24,.14);
  border-color:rgba(244,186,24,.34);
  color:#ffdd8a;
}
.tour-grid-badge.is-featured{
  background:rgba(244,186,24,.14);
  border-color:rgba(244,186,24,.36);
  color:#ffdd8a;
}
.tour-grid-empty{
  padding:18px;
  border-radius:22px;
  border:1px dashed rgba(255,255,255,.12);
  background:rgba(255,255,255,.03);
  color:var(--muted);
  font-size:13px;
  line-height:1.7;
}
.tour-grid-stats{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
.tour-grid-stat{
  padding:14px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.04);
}
.tour-grid-stat span{
  display:block;
  font-size:10px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:rgba(247,242,233,.52);
  margin-bottom:8px;
}
.tour-grid-stat strong{
  display:block;
  font-size:14px;
  line-height:1.6;
  color:var(--text);
}
.tour-grid-card-footer{
  margin-top:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding-top:4px;
  font-size:11px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:#ffdd8a;
}
.editor-shell{
  width:min(1180px,calc(100% - 36px));
  margin:24px auto 40px;
  display:grid;
  gap:16px;
}
.editor-topbar{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:20px;
  padding:22px 24px;
  border-radius:26px;
  background:rgba(12,36,52,.72);
  border:1px solid var(--line);
  backdrop-filter:blur(20px);
  -webkit-backdrop-filter:blur(20px);
}
.editor-back{
  display:inline-flex;
  align-items:center;
  gap:8px;
  text-decoration:none;
  font-size:11px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:#ffdd8a;
}
.editor-kicker{
  margin-top:18px;
  font-size:10px;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:rgba(247,242,233,.56);
}
.editor-topbar h1{
  margin-top:10px;
  font-family:'Playfair Display',serif;
  font-size:40px;
  line-height:1;
}
.editor-topbar p{
  margin-top:12px;
  max-width:620px;
  font-size:14px;
  line-height:1.75;
  color:var(--muted);
}
.editor-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:flex-end;
}
.editor-actions a,.editor-actions button{
  appearance:none;
  border:none;
  padding:13px 18px;
  border-radius:999px;
  background:var(--gold);
  color:#0d2230;
  font-size:11px;
  letter-spacing:.14em;
  text-transform:uppercase;
  font-weight:700;
  cursor:pointer;
  text-decoration:none;
}
.editor-actions .ghost{
  background:rgba(255,255,255,.06);
  color:var(--text);
  border:1px solid rgba(255,255,255,.12);
}
.editor-panel{
  padding:22px;
  border-radius:26px;
  border:1px solid var(--line);
  background:rgba(12,36,52,.72);
  backdrop-filter:blur(20px);
  -webkit-backdrop-filter:blur(20px);
}
.editor-panel-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom:18px;
}
.editor-panel-kicker{
  font-size:10px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:rgba(247,242,233,.56);
}
.editor-panel-head h2{
  margin-top:8px;
  font-family:'Playfair Display',serif;
  font-size:28px;
  line-height:1;
}
.editor-panel-head p{
  margin-top:10px;
  font-size:13px;
  line-height:1.7;
  color:var(--muted);
  max-width:580px;
}
.editor-summary-card{
  min-width:240px;
  padding:16px 18px;
  border-radius:20px;
  border:1px solid rgba(255,255,255,.1);
  background:rgba(255,255,255,.04);
}
.editor-summary-card span{
  display:block;
  font-size:10px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:rgba(247,242,233,.54);
}
.editor-summary-card strong{
  display:block;
  margin-top:8px;
  font-size:20px;
  color:var(--text);
}
.editor-summary-card p{
  margin-top:10px;
  font-size:12px;
  line-height:1.65;
  color:var(--muted);
}
.editor-inline-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.editor-inline-actions button{
  appearance:none;
  border:none;
  padding:12px 16px;
  border-radius:999px;
  background:rgba(255,255,255,.08);
  color:var(--text);
  font-size:11px;
  letter-spacing:.14em;
  text-transform:uppercase;
  font-weight:700;
  cursor:pointer;
}
.editor-inline-actions .primary{
  background:var(--gold);
  color:#0d2230;
}
.tour-editor-card{
  padding:22px;
  border-radius:26px;
  border:1px solid var(--line);
  background:rgba(12,36,52,.72);
  backdrop-filter:blur(20px);
  -webkit-backdrop-filter:blur(20px);
}
.tour-editor-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom:18px;
}
.tour-editor-head h3{
  font-family:'Playfair Display',serif;
  font-size:28px;
  line-height:1;
}
.tour-editor-head p{
  margin-top:8px;
  font-size:12px;
  line-height:1.6;
  color:var(--muted);
}
.tour-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.05);
  font-size:10px;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:rgba(247,242,233,.78);
  white-space:nowrap;
}
.tour-form-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
.tour-field{
  display:grid;
  gap:6px;
}
.tour-field.wide{grid-column:1/-1}
.tour-field span{
  font-size:10px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:rgba(247,242,233,.58);
}
.tour-field input,.tour-field textarea,.tour-field select{
  width:100%;
  padding:13px 14px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(5,22,35,.5);
  color:var(--text);
  font:inherit;
}
.tour-field select{
  appearance:none;
  cursor:pointer;
}
.tour-field textarea{
  resize:vertical;
  min-height:112px;
}
.tour-toggle{
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:2px;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(5,22,35,.5);
  font-size:12px;
  color:var(--text);
}
.tour-toggle input{width:auto}
.season-stack{
  display:grid;
  gap:12px;
  margin-top:18px;
}
.season-card{
  padding:16px;
  border-radius:20px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
}
.season-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:12px;
}
.season-title{
  font-size:11px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:rgba(247,242,233,.68);
}
.season-remove{
  appearance:none;
  border:none;
  background:rgba(255,255,255,.08);
  color:var(--text);
  border-radius:999px;
  padding:10px 12px;
  font-size:10px;
  letter-spacing:.14em;
  text-transform:uppercase;
  font-weight:700;
  cursor:pointer;
}
.season-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
.season-field{
  display:grid;
  gap:6px;
}
.season-field span{
  font-size:10px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:rgba(247,242,233,.54);
}
.season-field input{
  width:100%;
  padding:12px 13px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(5,22,35,.44);
  color:var(--text);
  font:inherit;
}
.tour-editor-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:18px;
}
.tour-editor-actions button{
  appearance:none;
  border:none;
  padding:12px 16px;
  border-radius:999px;
  background:rgba(255,255,255,.08);
  color:var(--text);
  font-size:11px;
  letter-spacing:.14em;
  text-transform:uppercase;
  font-weight:700;
  cursor:pointer;
}
.tour-editor-actions button.primary{background:var(--gold);color:#0d2230}
@media(max-width:980px){
  .admin-layout{grid-template-columns:1fr}
  .admin-sidebar{border-right:none;border-bottom:1px solid var(--line)}
  .workspace-shell{height:auto}
  .tours-shell{height:auto}
  .preview-frame{min-height:78vh}
  .tour-form-grid,.season-grid{grid-template-columns:1fr}
}
@media(max-width:720px){
  .admin-sidebar{padding:22px 16px}
  .admin-brand{font-size:28px}
  .admin-note{font-size:12px;line-height:1.7}
  .admin-main{padding:14px}
  .workspace-shell,.tours-shell{gap:12px}
  .workspace-top{
    padding:18px 16px;
    flex-direction:column;
    align-items:stretch;
  }
  .workspace-top h1{font-size:28px}
  .workspace-top p{font-size:13px;max-width:none}
  .workspace-links,.workspace-top-actions{
    width:100%;
    flex-direction:column;
  }
  .workspace-links a,.workspace-top-actions a,.workspace-top-actions button{
    width:100%;
    text-align:center;
    justify-content:center;
  }
  .workspace-status{padding:12px 14px}
  .preview-frame{min-height:62vh;border-radius:22px}
  .tours-grid{grid-template-columns:1fr}
  .tour-grid-group-head{flex-direction:column;align-items:flex-start}
  .tour-grid-badges{justify-content:flex-start}
  .tour-grid-card{padding:18px}
  .tour-grid-card h3{font-size:24px}
  .tour-grid-card-top,.tour-grid-stats,.editor-panel-head,.editor-actions{
    grid-template-columns:1fr;
    flex-direction:column;
  }
  .tour-grid-stats{grid-template-columns:1fr}
  .editor-shell{width:min(100% - 20px,1180px);margin:14px auto 24px}
  .editor-topbar{padding:18px 16px;flex-direction:column;align-items:stretch}
  .editor-topbar h1{font-size:30px}
  .editor-topbar p{font-size:13px;max-width:none}
  .editor-actions a,.editor-actions button{width:100%;text-align:center;justify-content:center}
  .editor-panel{padding:18px}
  .editor-summary-card{min-width:0;width:100%}
  .tour-editor-card{padding:18px}
  .tour-editor-head{flex-direction:column}
  .tour-editor-head h3{font-size:24px}
  .season-head{
    flex-direction:column;
    align-items:flex-start;
  }
  .tour-editor-actions button{width:100%}
}
@media(max-width:560px){
  .panel-nav{grid-template-columns:repeat(2,minmax(0,1fr))}
  .panel-link{padding:14px 12px;font-size:10px;letter-spacing:.1em;text-align:center}
  .sidebar-card{padding:14px}
  .workspace-top,.editor-topbar,.editor-panel,.tour-grid-card,.tour-editor-card{padding:16px}
  .preview-frame{min-height:56vh;min-height:56svh;border-radius:18px}
  .editor-shell{width:min(100% - 12px,1180px);margin:12px auto 18px}
  .sidebar-field input,.tour-field input,.tour-field textarea,.tour-field select,.season-field input{font-size:16px}
  .workspace-links a,.workspace-top-actions a,.workspace-top-actions button,.editor-actions a,.editor-actions button,.sidebar-card-actions button,.tour-editor-actions button{min-height:48px;display:flex;align-items:center;justify-content:center}
  .tour-toggle{align-items:flex-start}
}
