:root{--panel:#ffffff;--line:#dbe4ee;--text:#0f172a;--muted:#64748b;--shadow:0 10px 30px rgba(2,8,23,.12)}
*{box-sizing:border-box}
html,body{height:100%}
body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--text);background:linear-gradient(135deg,#eaf6ff 0%,#f8fafc 45%,#eef2ff 100%)}
.app{min-height:100vh;display:grid;grid-template-columns:340px 1fr;gap:18px;padding:18px}
.sidebar{background:linear-gradient(180deg,rgba(15,23,42,.97),rgba(17,24,39,.95));color:#fff;border-radius:24px;padding:22px;box-shadow:0 18px 44px rgba(2,8,23,.28);display:flex;flex-direction:column;gap:16px;position:sticky;top:18px;max-height:calc(100vh - 36px);overflow:auto}
.brand{display:flex;gap:14px;align-items:center}.mark{width:54px;height:54px;border-radius:16px;display:grid;place-items:center;font-size:24px;font-weight:800;color:#fff;background:linear-gradient(135deg,#0ea5e9,#2563eb)}
.brand h1{margin:0;font-size:1.35rem}.brand p{margin:4px 0 0;color:#cbd5e1}
.note,.status,.entry{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.11);border-radius:18px;padding:14px 16px;line-height:1.5}
.status h2,.entry h2,.nav h2{margin:0 0 10px;font-size:1rem;color:#e2e8f0}.status .label{font-size:.83rem;text-transform:uppercase;letter-spacing:.08em;color:#bfdbfe}.status .value{margin-top:4px;font-weight:800;font-size:1.12rem;color:#fff}
.field-label{display:block;font-size:.9rem;color:#bfdbfe;margin-bottom:8px;font-weight:700}.event-row{display:grid;grid-template-columns:1fr auto;gap:10px}.post-row{margin-top:10px}
.event-input{width:100%;min-height:56px;border-radius:16px;border:1px solid rgba(255,255,255,.16);background:#fff;color:#0f172a;padding:0 16px;font-size:1.6rem;font-weight:700;letter-spacing:.14em;text-align:center;outline:none}
.load-btn,.secondary-btn,.nav-btn{border-radius:16px;cursor:pointer;font-weight:800}
.load-btn{border:0;min-width:92px;min-height:56px;padding:0 16px;background:linear-gradient(135deg,#0ea5e9,#2563eb);color:#fff}
.secondary-btn{border:1px solid var(--line);min-height:42px;padding:0 14px;background:#f8fafc;color:#0f172a}
.nav{display:grid;gap:10px}.nav-btn{width:100%;text-align:left;border:0;background:#fff;color:#0f172a;padding:16px 18px;box-shadow:0 8px 22px rgba(15,23,42,.18);display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:1rem}.nav-btn small{color:#475569;font-weight:700;white-space:nowrap}.nav-btn.kiosk{background:linear-gradient(135deg,#fef3c7,#ffedd5)}
.main{display:grid;grid-template-rows:auto auto 1fr;gap:16px;min-width:0}.hero,.toolbar,.viewer{background:var(--panel);border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow)}
.hero{padding:22px 24px}.hero h2{margin:0 0 8px;font-size:1.8rem}.hero p{margin:0;color:#475569;line-height:1.55}
.toolbar{padding:14px 16px;display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.chips,.toolbar-actions{display:flex;gap:10px;flex-wrap:wrap}
.chip{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 14px;border-radius:999px;background:#eff6ff;border:1px solid #dbeafe;font-weight:700}.chip strong{color:#0369a1}
.viewer{overflow:hidden;display:flex;flex-direction:column;min-height:68vh}.viewer-header{padding:16px 18px;border-bottom:1px solid var(--line);background:linear-gradient(180deg,#ffffff,#f8fbff)}.viewer-title{margin:0;font-size:1.2rem}.viewer-sub{margin:4px 0 0;color:var(--muted);font-size:.94rem}.viewer-body{flex:1;min-height:460px;background:#fff;padding:0}
#divRRPublish,#divRRRegStart{width:100%;min-height:460px}.placeholder{min-height:460px;display:grid;place-items:center;padding:28px}.placeholder-card{width:min(760px,100%);background:#fff;border:1px solid var(--line);border-radius:24px;padding:28px;box-shadow:0 12px 28px rgba(15,23,42,.08)}.placeholder-card h3{margin:0 0 10px;font-size:1.5rem}.placeholder-card p,.placeholder-card li{color:#475569;line-height:1.6}code{background:#f1f5f9;padding:2px 6px;border-radius:6px}
@media (max-width:1080px){.app{grid-template-columns:1fr}.sidebar{position:relative;top:auto;max-height:none}}
@media (max-width:680px){.app{padding:12px;gap:12px}.sidebar,.hero,.toolbar,.viewer{border-radius:18px}.event-row{grid-template-columns:1fr}.hero h2{font-size:1.45rem}.event-input{font-size:1.35rem}}
