*{box-sizing:border-box}body{margin:0;background:#f8f5f7;color:#211821;font:15px system-ui,sans-serif}header{background:#140b12;display:flex;align-items:center;gap:24px;padding:12px 5%;color:white}header img{width:min(330px,50vw);margin-right:auto}a{color:#b90057}header a{color:white}button{border:0;border-radius:7px;background:#d60065;color:white;padding:10px 16px;cursor:pointer;font-weight:600}main{max-width:1250px;margin:28px auto;display:grid;grid-template-columns:260px 1fr;gap:24px;padding:0 20px}aside,.snapshot,article,dialog{background:white;border:1px solid #e8dce3;border-radius:14px;padding:24px}aside{align-self:start}small{color:#b90057;font-weight:800;letter-spacing:.12em}h1{font-size:38px;margin:8px 0}label{display:block;margin:12px 0}input:not([type=checkbox]),select,textarea{display:block;width:100%;padding:10px;border:1px solid #cfc3cb;border-radius:6px;margin-top:5px}textarea{min-height:120px}.bar{display:flex;align-items:center;justify-content:space-between}article{margin:12px 0;white-space:pre-wrap;overflow-wrap:anywhere}article img,article video{display:block;max-width:100%;max-height:420px;margin:12px 0}dialog{width:min(560px,95vw)}dialog::backdrop{background:#15091499}#status{color:#a00049;padding:8px}.reply{margin-left:24px;border-left:4px solid #d60065}@media(max-width:720px){main{grid-template-columns:1fr}header{gap:8px}h1{font-size:29px}}
button{background:var(--brand,#d60065)}
/* Unified forum layout */
header{position:sticky;top:0;z-index:5;background:#fff;color:#211821;border-bottom:1px solid #eadfe5;padding:10px max(18px,calc((100vw - 1420px)/2));gap:16px}header img{width:180px;height:58px;object-fit:contain;margin-right:0}header a{color:var(--brand)}#brandtitle{margin-right:auto;font-size:17px}main#layout{max-width:1450px;grid-template-columns:minmax(195px,235px) minmax(0,1fr) minmax(210px,285px);gap:20px;margin:20px auto}.layout-column{min-width:0;display:flex;flex-direction:column;gap:16px}.widget-card,.feed-widget{background:white;border:1px solid #ece6ea;border-radius:17px;padding:20px;box-shadow:0 4px 18px #38203908}.widget-card h2{font-size:18px;margin:0 0 12px}.widget-card p{white-space:pre-wrap;line-height:1.6}.widget-card img{max-width:100%;border-radius:10px}.snapshot{background:linear-gradient(125deg,#fff,#fff0f7);border-radius:18px}.fixed-notice{max-width:1410px;margin:16px auto 0;padding:12px 18px;background:#fff8fc;border:1px solid #eedce7;border-radius:10px;font-size:13px}#studioBar{position:sticky;top:79px;z-index:4;background:#251c25;color:white;padding:12px 20px;display:flex;gap:8px;flex-wrap:wrap;align-items:center}#studioBar[hidden]{display:none}#studioBar button,.widget-tools button{padding:7px 11px;font-size:12px}.widget-tools{display:flex;flex-wrap:wrap;gap:5px;padding:7px;background:#f1e2eb;border-radius:9px 9px 0 0}.widget-hidden{opacity:.5}.widget-shell:has(.widget-tools){outline:1px dashed #d497b5;outline-offset:2px;border-radius:12px}button{background:var(--brand)}@media(max-width:1000px){main#layout{grid-template-columns:220px minmax(0,1fr)}.layout-column.right{grid-column:1/-1}}@media(max-width:650px){main#layout{grid-template-columns:1fr;padding:0 12px}.layout-column.right{grid-column:auto}header img{width:100px}#brandtitle{font-size:13px}#studioBar{position:static}.fixed-notice{margin:10px}header{position:static}}
.drag-handle{cursor:grab;display:inline-flex;align-items:center;padding:6px 10px;font-weight:700;color:#573047;user-select:none}.drag-handle:active{cursor:grabbing}.drop-target{outline:3px solid var(--brand)!important;background:#ffe5f1}.layout-column{min-height:100px}.layout-column:has(.widget-tools){padding:6px;border:1px dashed #d8c6d0;border-radius:12px}#studioBar button:hover,.widget-tools button:hover{filter:brightness(.9)}[hidden]{display:none!important}#feedHeading button{white-space:nowrap}#status:empty{display:none}

#adminAccess{font-size:13px;white-space:nowrap;text-decoration:none;border:1px solid #e8dce3;border-radius:7px;padding:9px 12px}header{flex-wrap:wrap}#studioBar[hidden]{display:none!important}
/* Full-width section placement above and below the existing columns. */
main#layout>.layout-column.top,main#layout>.layout-column.bottom{grid-column:1/-1;min-height:0}.layout-column.top{order:-1}.layout-column.bottom{order:5}.section-add{background:transparent;border:2px dashed #d5b4c5;color:var(--brand,#d60065);padding:15px;width:100%;border-radius:12px}.section-add:hover{background:#fff1f8}.custom-section{overflow-wrap:anywhere}.custom-section p{margin-bottom:0}.custom-section img{display:block;max-height:360px;object-fit:contain;margin:12px auto}.widget-tools{align-items:center}#liveInspector{max-height:85vh;overflow:auto}

body[data-studio="true"] #account,body[data-studio="true"] #new,body[data-studio="true"] #feed article button{display:none!important}

.posting-notice{display:block;margin:8px 0;color:#666;font-size:.85rem}

#boardNav{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}#boardNav button{background:white;color:#29212b;border:1px solid #c6a3b4;padding:10px 14px;border-radius:8px}#boardNav button[aria-pressed=true]{background:#a51d58;color:white}#new[hidden]{display:none}
#mapPanel{margin-top:16px;background:#fff;border:1px solid #e9dce4;border-radius:14px;padding:12px;color:#29212b}#regionalMap{height:340px;width:100%;border-radius:9px;background:#eeedf0;isolation:isolate;z-index:0}#mapPanel:fullscreen{display:flex;flex-direction:column;background:white;padding:20px}#mapPanel:fullscreen #regionalMap{flex:1;min-height:0}.map-controls{display:flex;align-items:center;gap:8px;margin-bottom:10px;flex-wrap:wrap}.map-controls strong{margin-right:auto}.map-controls button{background:white;color:#573047;border:1px solid #dfc6d4;padding:6px 10px;border-radius:8px;font-size:12px}#mapStatus{font-size:13px;line-height:1.5;margin:10px 0}.map-legend{display:flex;gap:14px;flex-wrap:wrap;font-size:12px;margin-bottom:8px}.map-legend span:before{content:'';display:inline-block;width:12px;height:12px;margin-right:5px;vertical-align:middle;border:2px solid #d60065;background:#ffd9ea}.map-legend span+span:before{border-color:#817783;background:#eee8ee}@media(max-width:600px){#regionalMap{height:260px}}

.thread-root{margin:0 0 18px;border:1px solid #eadce4;border-radius:12px;padding:10px;background:white}.thread-replies{margin:6px 0 6px 10px;padding-left:12px;border-left:2px solid #e7b8cf}.thread-replies summary{cursor:pointer;color:#84234f;font-size:13px;padding:8px 0}.thread-branch article.reply{margin:5px 0;background:#faf7f9;padding:12px;border-radius:8px}.thread-branch article h3{font-size:14px}.thread-branch .thread-replies .thread-replies .thread-replies{margin-left:0;padding-left:5px}@media(max-width:600px){.thread-replies{margin-left:2px;padding-left:6px}}
/* v6.16 administrator workspace */
body[data-studio=true] #studioBar{background:#fff;color:#302733;border-bottom:1px solid #e8dce4;box-shadow:0 4px 18px #2415250a;gap:7px}body[data-studio=true] #studioBar strong{letter-spacing:.1em;font-size:11px;margin-right:12px}body[data-studio=true] #studioBar button{background:#f5edf2;color:#492a3b;border:1px solid #eadce4;border-radius:8px}body[data-studio=true] #studioBar button:hover{background:#ffe4f0}#studioDrawer{position:fixed;right:16px;top:145px;bottom:16px;width:min(370px,calc(100vw - 32px));z-index:20;overflow:auto;padding:18px;background:#fff;border:1px solid #eadce4;box-shadow:0 16px 55px #30203035;border-radius:16px}#studioDrawer .drawer-head{display:flex;justify-content:space-between;align-items:center}#studioDrawer h2{font-size:18px;margin:0}#studioDrawer .drawer-tabs{display:flex;gap:5px;margin:16px 0}#studioDrawer .drawer-tabs button{flex:1;background:#f4edf1;color:#3d2634;padding:9px 6px;font-size:12px}#studioDrawer .drawer-tabs button[aria-pressed=true]{background:var(--brand);color:white}#studioDrawer .library-card{display:block;text-align:left;width:100%;margin:8px 0;background:#faf7f9;color:#352332;border:1px solid #e9dce5;padding:14px;cursor:grab}#studioDrawer .library-card small{display:block;font-size:11px;font-weight:400;letter-spacing:0;color:#71616c;margin-top:5px}#studioDrawer p{font-size:13px;line-height:1.5}#studioDrawer textarea{min-height:110px}#studioDrawer .ai-status{overflow-wrap:anywhere}#studioDrawer button:disabled{opacity:.5;cursor:wait}@media(max-width:650px){#studioDrawer{top:10px;bottom:10px}}
.data-source-card,.data-binding-panel{padding:12px;border:1px solid #e2dce2;border-radius:10px;margin:10px 0;background:white;color:#211821}.data-source-card small{display:block;margin:5px 0}.data-source-card button,.dynamic-data button{margin:4px}.data-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px}.data-cards article{border:1px solid #e2dce2;padding:10px;border-radius:8px}.dynamic-data table{width:100%;border-collapse:collapse;overflow-wrap:anywhere}.dynamic-data th,.dynamic-data td{padding:8px;text-align:left;border-bottom:1px solid #e2dce2}.dynamic-data p{margin:6px 0;overflow-wrap:anywhere}.dynamic-data>strong{font-size:2rem}dialog textarea{width:100%;box-sizing:border-box}
