
:root {
  --brick: #c83e36;
  --dark-brick: #ae1e20;
  --blue: #29549a;
  --dark-blue: #22437b;
  --sky: #88bce7;
  --aqua: #91c9ea;
  --green: #418155;
  --yellow: #f4d240;
  --sand: #f8de79;
  --bg: #f8fafc;
  --card: #ffffff;
  --border: #dbe4f0;
  --ink: #0f172a;
  --muted: #64748b;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --radius: 28px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: 'Open Sans', Arial, sans-serif; color: var(--ink); background: linear-gradient(180deg, #ffffff 0%, rgba(145,201,234,0.16) 100%); }
.page { max-width: 1280px; margin: 0 auto; padding: 16px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.hero { overflow: hidden; background: linear-gradient(135deg, var(--brick) 0%, var(--dark-brick) 22%, var(--blue) 70%, var(--dark-blue) 100%); color: white; }
.hero-inner { display: grid; gap: 20px; grid-template-columns: 1.25fr .75fr; padding: 28px; align-items: start; }
.brand-row { display:flex; align-items:center; flex-wrap:wrap; gap:12px; margin-bottom:16px; }
.brand-logo { max-height: 72px; max-width: 360px; object-fit: contain; border-radius: 14px; background: rgba(255,255,255,.08); padding: 6px 8px; }
.brand-chip { border-radius: 999px; padding: 10px 16px; font-size: 13px; font-family: 'Montserrat', Arial, sans-serif; font-weight: 700; background: rgba(255,255,255,.14); }
.brand-chip.subtle { background: rgba(255,255,255,.10); }
h1, h2, h3, .stat-value, .view-title { font-family: 'Montserrat', Arial, sans-serif; }
h1 { margin: 0; font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.05; }
p { margin: 0; }
.hero-text { margin-top: 10px; line-height: 1.65; color: rgba(255,255,255,.92); max-width: 68ch; }
.glass { background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.22); box-shadow: none; backdrop-filter: blur(10px); }
.hero-right { padding: 18px; }
.view-meta { font-size: 13px; color: rgba(255,255,255,.82); }
.view-title { font-size: 1.2rem; font-weight: 700; margin-top: 6px; }
.view-text { color: rgba(255,255,255,.92); line-height: 1.6; margin-top: 12px; }
.content { margin-top: 24px; display: grid; gap: 24px; }
.stats-grid { display: grid; gap: 16px; grid-template-columns: repeat(4, 1fr); }
.stat-card { padding: 16px; }
.stat-label { font-size: 13px; color: var(--muted); }
.stat-value { font-size: 2rem; font-weight: 800; margin-top: 8px; }
.stat-sub { font-size: 13px; color: var(--muted); margin-top: 6px; }
.accent-brick { color: var(--brick); } .accent-blue { color: var(--blue); } .accent-green { color: var(--green); } .accent-darkblue { color: var(--dark-blue); }
.progress { width: 100%; height: 8px; background: #e2e8f0; border-radius: 999px; overflow: hidden; margin-top: 12px; }
.progress > div { height: 100%; width: 0%; background: linear-gradient(90deg, var(--green), var(--blue)); }
.filter-card { padding: 0; }
.filters { display: grid; gap: 16px; grid-template-columns: repeat(4, 1fr); padding: 20px; }
label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 600; color: #334155; }
input, select, textarea { width: 100%; border: 1px solid #cbd5e1; border-radius: 18px; padding: 12px 14px; font: inherit; background: white; color: var(--ink); }
.section-card .section-inner { padding: 22px; }
.section-desc { margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.events-list { display: grid; gap: 16px; margin-top: 16px; }
.event-card { border: 1px solid var(--border); border-radius: 24px; overflow: hidden; background: white; }
.event-stripe { height: 6px; background: linear-gradient(90deg, var(--brick), var(--blue), var(--green)); }
.event-body { padding: 18px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.tag { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 7px 12px; font-size: 13px; border: 1px solid var(--border); }
.tag.soft { background: #f1f5f9; border-color: #f1f5f9; }
.event-name { font-size: 1.15rem; margin: 0 0 8px; }
.event-place, .event-info { color: #475569; line-height: 1.6; }
.empty-state { border: 1px dashed var(--border); border-radius: 24px; padding: 40px 20px; text-align: center; color: var(--muted); }
.employee-layout { display: grid; gap: 24px; grid-template-columns: 1.1fr 0.9fr; }
.side-column { display: grid; gap: 24px; }
.textarea { min-height: 320px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; resize: vertical; line-height: 1.5; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.btn { border: 0; border-radius: 18px; font: inherit; cursor: pointer; padding: 12px 16px; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.btn-primary { background: var(--yellow); color: #0f172a; font-family: 'Montserrat', Arial, sans-serif; font-weight: 700; margin-top: 14px; }
.btn-brick { background: var(--brick); color: white; font-family: 'Montserrat', Arial, sans-serif; font-weight: 700; }
.btn-secondary { background: #e2e8f0; color: #0f172a; }
.upload-box { margin-top: 14px; }
.upload-label { display: inline-block; margin-bottom: 10px; font-weight: 700; color: var(--dark-blue); }
.help-text { color: var(--muted); font-size: 12px; line-height: 1.5; margin-top: 10px; }
.error { color: #b91c1c; font-size: 13px; margin-top: 8px; }
.hidden { display: none !important; }
.codebox { background: #f8fafc; border-radius: 16px; padding: 12px; font-family: ui-monospace, monospace; font-size: 12px; overflow: auto; margin-top: 14px; }
.instructions { padding-left: 18px; line-height: 1.7; color: #334155; margin-top: 14px; }
.swatches { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 14px; }
.swatch { border-radius: 18px; padding: 16px; font-size: 14px; font-weight: 700; }
.swatch span { font-size: 12px; opacity: .9; }
.swatch.brick { background: var(--brick); color: white; }
.swatch.blue { background: var(--blue); color: white; }
.swatch.green { background: var(--green); color: white; }
.swatch.yellow { background: var(--yellow); color: #0f172a; }
@media (max-width: 1100px) { .hero-inner, .employee-layout { grid-template-columns: 1fr; } .stats-grid, .filters { grid-template-columns: repeat(2,1fr);} }
@media (max-width: 700px) { .page { padding: 12px; } .hero-inner { padding: 20px; } .stats-grid, .filters, .swatches { grid-template-columns: 1fr; } .brand-logo { max-width: 100%; } }
