:root{
  --bg:#ffffff;
  --bg-alt:#f6f7fb;
  --text:#111827;
  --muted:#6b7280;
  --border:rgba(17,24,39,.12);
  --shadow:0 10px 30px rgba(17,24,39,.08);
  --radius:18px;
  --radius-sm:12px;
  --container:1120px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,"Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  background:var(--bg);
  line-height:1.55;
}

.container{
  width:min(var(--container), calc(100% - 32px));
  margin:0 auto;
}

.editor-toolbar{
  position:sticky;
  top:0;
  z-index:50;
  display:flex;
  gap:10px;
  align-items:center;
  justify-content:flex-start;
  padding:10px 16px;
  background:rgba(255,255,255,.9);
  backdrop-filter:saturate(180%) blur(10px);
  border-bottom:1px solid var(--border);
}

.editor-toolbar button{
  border:1px solid var(--border);
  background:#fff;
  padding:8px 12px;
  border-radius:999px;
  font-weight:600;
  cursor:pointer;
  transition:transform .06s ease, box-shadow .18s ease;
}
.editor-toolbar button:hover{box-shadow:0 8px 20px rgba(17,24,39,.08)}
.editor-toolbar button:active{transform:translateY(1px)}
.editor-toolbar button.active{
  border-color:rgba(16,185,129,.35);
  box-shadow:0 10px 24px rgba(16,185,129,.14);
}

.editor-hint{
  color:var(--muted);
  font-size:13px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.site-header{
  border-bottom:1px solid var(--border);
  background:linear-gradient(180deg, rgba(15,23,42,.96) 0%, rgba(15,23,42,.92) 60%, rgba(15,23,42,.88) 100%);
  color:#fff;
}

.header-content{
  display:flex;
  gap:18px;
  align-items:center;
  padding:28px 0 26px;
}

.logo-area{flex:0 0 auto}
.logo{
  width:92px;
  height:92px;
  object-fit:contain;
  border-radius:16px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.18);
  padding:8px;
}

.workshop-label{
  margin:0 0 8px;
  font-size:12px;
  letter-spacing:.02em;
  color:rgba(255,255,255,.82);
}

.header-text h1{
  margin:0;
  font-size:38px;
  line-height:1.12;
  letter-spacing:-.02em;
}
.subtitle{
  margin:10px 0 0;
  font-size:17px;
  color:rgba(255,255,255,.88);
  max-width:70ch;
}
.theme{
  margin:10px 0 0;
  font-size:15px;
  color:rgba(255,255,255,.78);
  max-width:80ch;
}
.meta{
  margin:14px 0 0;
  color:rgba(255,255,255,.85);
  font-weight:600;
  font-size:14px;
}

.key-issues{
  background:#fff;
  border-bottom:1px solid var(--border);
}
.key-issues-row{
  display:flex;
  gap:10px;
  padding:14px 0;
  overflow:auto;
  scrollbar-width:thin;
}
.key-issue-pill{
  border:1px solid var(--border);
  background:#fff;
  padding:10px 14px;
  border-radius:999px;
  cursor:pointer;
  white-space:nowrap;
  font-weight:700;
  color:var(--text);
  transition:transform .06s ease, box-shadow .18s ease, border-color .18s ease;
}
.key-issue-pill:hover{
  box-shadow:0 10px 24px rgba(17,24,39,.08);
  border-color:rgba(17,24,39,.2);
}
.key-issue-pill:active{transform:translateY(1px)}

main{padding:22px 0 46px}

.hero{
  padding:18px 0 8px;
}
.hero-layout{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:22px;
  align-items:start;
}
.hero-text h2{
  margin:0 0 8px;
  font-size:28px;
  letter-spacing:-.01em;
}
.hero-text p{
  margin:10px 0 0;
  color:rgba(17,24,39,.86);
}

.workshop-intro .intro-main{
  margin:10px 0 0;
  color:rgba(17,24,39,.86);
}

.notes-box{
  margin-top:14px;
  padding:14px 16px;
  border:1px solid var(--border);
  border-radius:var(--radius-sm);
  background:var(--bg-alt);
}

.notes-box h4{
  margin:0 0 8px;
  font-size:14px;
  letter-spacing:.01em;
}

.notes-box ol{
  margin:0;
  padding-left:18px;
  color:rgba(17,24,39,.84);
}

.notes-box li{
  margin:6px 0;
}

.organizers, .participation-info{
  margin-top:18px;
  padding:16px 16px 14px;
  border:1px solid var(--border);
  border-radius:var(--radius);
  background:#fff;
  box-shadow:0 10px 30px rgba(17,24,39,.04);
}
.organizers h3, .participation-info h3{
  margin:0 0 8px;
  font-size:16px;
  letter-spacing:.01em;
}
.organizers p, .participation-info p{
  margin:8px 0 0;
  color:rgba(17,24,39,.84);
}

.hero-image-wrapper{
  position:sticky;
  top:74px;
}
.hero-image{
  width:100%;
  height:auto;
  border-radius:var(--radius);
  border:1px solid var(--border);
  box-shadow:var(--shadow);
  display:block;
}

.section{
  padding:54px 0;
}
.section.alt{
  background:var(--bg-alt);
  border-top:1px solid rgba(17,24,39,.06);
  border-bottom:1px solid rgba(17,24,39,.06);
}
.section h2{
  margin:0 0 10px;
  font-size:28px;
  letter-spacing:-.01em;
}
.section-intro{
  margin:0 0 18px;
  color:rgba(17,24,39,.75);
  max-width:95ch;
}

.tracks-grid, .schedule-grid, .excursions-grid{
  display:grid;
  gap:14px;
}
.tracks-grid{grid-template-columns:repeat(3, minmax(0,1fr))}
.schedule-grid{grid-template-columns:repeat(2, minmax(0,1fr))}
.excursions-grid{grid-template-columns:repeat(2, minmax(0,1fr))}

.track-card, .schedule-card, .excursion-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:18px 18px 16px;
  box-shadow:0 10px 26px rgba(17,24,39,.04);
}
.track-card h3, .schedule-card h3, .excursion-card h3{
  margin:0 0 8px;
  font-size:16px;
}
.track-card p, .schedule-card p, .excursion-card p{
  margin:8px 0 0;
  color:rgba(17,24,39,.78);
}

.schedule-title{font-weight:800}
.schedule-location{color:rgba(17,24,39,.65); font-weight:600}
.excursion-date{font-weight:800}
.excursion-itinerary strong{font-weight:800}

.submission-layout{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:18px;
  align-items:start;
}
.submission-details{
  margin:14px 0 0;
  padding-left:18px;
}
.submission-details li{margin:8px 0}
.link{
  color:#0b63d1;
  text-decoration:none;
  font-weight:700;
}
.link:hover{text-decoration:underline}

.contact-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:18px;
  box-shadow:var(--shadow);
}
.contact-card h3{margin:0 0 10px}

.site-footer{
  background:#0f172a;
  color:#fff;
  margin-top:30px;
}
.footer-content{
  padding:20px 0 22px;
}
.footer-content p{margin:0}
.footer-small{
  margin-top:10px !important;
  color:rgba(255,255,255,.78);
  font-size:13px;
}
code{
  background:rgba(255,255,255,.08);
  padding:2px 6px;
  border-radius:8px;
}

.error-banner{
  background:#fff1f2;
  border-bottom:1px solid rgba(225,29,72,.25);
  color:#9f1239;
  padding:10px 16px;
  font-weight:800;
}

.editable{
  outline:2px dashed rgba(59,130,246,.45);
  outline-offset:4px;
  border-radius:8px;
  padding:2px 4px;
}

/* Responsive */
@media (max-width: 980px){
  .header-content{flex-direction:column; align-items:flex-start}
  .hero-layout{grid-template-columns:1fr; }
  .hero-image-wrapper{position:relative; top:auto}
  .tracks-grid{grid-template-columns:1fr}
  .schedule-grid{grid-template-columns:1fr}
  .excursions-grid{grid-template-columns:1fr}
  .submission-layout{grid-template-columns:1fr}
}
