.mc{--mc-bg:#eef5fb;--mc-card:#fff;--mc-fg:#163755;--mc-muted:#6d849a;--mc-line:#d7e4ef;--mc-accent:#087bda;color:var(--mc-fg);font:14px/1.55 system-ui,'Noto Sans Thai',sans-serif;box-sizing:border-box}.mc[data-mc-theme=dark]{--mc-bg:#0b1724;--mc-card:#142537;--mc-fg:#e0edf8;--mc-muted:#94aec3;--mc-line:#2c455a}.mc *{box-sizing:border-box}.mc h2,.mc h3,.mc p{margin:0 0 10px}.mc button{font:inherit;cursor:pointer;border:1px solid var(--mc-line);border-radius:7px;padding:8px 11px;background:var(--mc-card);color:var(--mc-fg)}.mc button:hover{border-color:var(--mc-accent)}.mc button:focus-visible,.mc input:focus-visible{outline:2px solid #087bda;outline-offset:2px}.mc input,.mc select,.mc textarea{font:inherit;color:var(--mc-fg);background:var(--mc-card);border:1px solid var(--mc-line);border-radius:7px;padding:8px;width:100%;min-width:0}.mc input[type=checkbox]{width:auto}.mc label{font-size:12px;color:var(--mc-muted);display:block;margin:10px 0 4px}.mc textarea{min-height:70px;resize:vertical}.mc small,.mc-muted{color:var(--mc-muted);font-size:12px}.mc-primary{background:#087bda!important;color:white!important;border-color:#087bda!important}.mc-danger{color:#dc3545!important}.mc-page{background:var(--mc-bg);padding:18px;min-width:0}.mc-shell{display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:'top top top' 'left main right' 'bottom bottom bottom';gap:18px;align-items:start;min-width:0}.mc-region{min-width:0;display:flex;flex-direction:column;gap:16px}.mc-region-top{grid-area:top}.mc-region-left{grid-area:left;max-width:280px}.mc-region-main{grid-area:main}.mc-region-right{grid-area:right;max-width:340px}.mc-region-bottom{grid-area:bottom}.mc-region:empty{display:none}.mc-node{min-width:0;position:relative}.mc-content{min-width:0;width:100%}.mc-children{min-width:0}.mc-row>.mc-content>.mc-children{display:flex}.mc-column>.mc-content>.mc-children{display:flex;flex-direction:column}.mc-card-title{font-size:17px}.mc-heading h2{font-size:26px;line-height:1.35}.mc-text p{white-space:pre-wrap}.mc-value{display:block;font-size:27px;line-height:1.3;margin:7px 0;color:inherit}.mc-eyebrow{font-size:13px;color:var(--mc-muted)}.mc-state,.mc-time{display:block;font-size:11px;margin-top:7px}.mc-icon{display:block;flex-shrink:0}.mc-tile>.mc-content{display:flex;flex-direction:column;gap:3px}.mc-tile-head{display:flex;align-items:center;gap:10px}.mc-tile-headtext{min-width:0;flex:1}.mc-tile .mc-eyebrow{font-size:13px;line-height:1.35;display:block}.mc-tile-icon{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;flex-shrink:0;background:#eaf4fd;color:#1769aa}.mc-tile[data-status=warning] .mc-tile-icon{background:#fdf6e0;color:#a87f06}.mc-tile[data-status=alert] .mc-tile-icon{background:#fdf0e2;color:#b96a09}.mc-tile[data-status=critical] .mc-tile-icon{background:#fdeaea;color:#c62f2f}.mc-tile[data-status=offline] .mc-tile-icon{background:#eef2f6;color:#7d8fa1}.mc-chip{font-size:11px;font-weight:700;padding:3px 10px;border-radius:20px;white-space:nowrap;flex-shrink:0;color:var(--chip);background:color-mix(in srgb,var(--chip) 16%,transparent)}.mc-value-row{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin-top:2px}.mc-tile .mc-value{font-size:30px;font-weight:700;margin:0;letter-spacing:-.4px}.mc-delta{display:inline-flex;align-items:center;gap:3px;font-size:12.5px;font-weight:700}.mc-delta.up{color:#d64545}.mc-delta.down{color:#1a8f6a}.mc-delta-arrow{font-size:13px;line-height:1}.mc-tile-note{font-size:11px;color:var(--mc-muted)}.mc-tile .mc-state{font-size:11px;margin-top:4px}.mc-tile .mc-time{display:none}.mc-head-icon{width:42px;height:42px;border-radius:13px;display:inline-grid;place-items:center;flex-shrink:0;margin-right:11px;background:#eaf4fd;color:#1769aa}.mc-has-icon>.mc-content{display:flex;align-items:center}.mc-has-icon .mc-text{margin-bottom:0}.wf-stencil-group{display:flex;align-items:center;justify-content:space-between;width:100%;gap:8px;margin:10px 0 4px;padding:6px 8px;border:none;border-radius:7px;background:#e8f1fa;color:#1c4f74;font:700 11px/1.3 inherit;letter-spacing:.3px;cursor:pointer;text-align:left}.wf-stencil-group:hover{background:#dbeaf7}.wf-stencil-group small{font-weight:600;opacity:.6}.wf-stencil-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(74px,1fr));gap:6px}.wf-stencil{position:relative;display:flex;flex-direction:column;align-items:center;gap:4px;padding:6px 4px;border:1px solid #dbe6f1;border-radius:9px;background:#fff;cursor:grab;font:inherit;color:#2c4f6d}.wf-stencil:hover{border-color:#087bda;box-shadow:0 3px 10px #11558c1f}.wf-stencil:active{cursor:grabbing}.wf-stencil-preview{width:100%;height:42px;display:block;pointer-events:none}.wf-stencil-name{font-size:10px;line-height:1.25;text-align:center;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;word-break:break-word}.wf-stencil-del{position:absolute;top:2px;right:4px;font-size:13px;line-height:1;color:#b33;opacity:.55}.wf-stencil-del:hover{opacity:1}.mc-image-bank{display:grid;grid-template-columns:repeat(auto-fill,minmax(78px,1fr));gap:6px;padding:6px;border:1px dashed var(--mc-line);border-radius:9px;min-height:54px;margin-bottom:6px}.mc-image-chip{position:relative;border:1px solid var(--mc-line);border-radius:8px;overflow:hidden;background:var(--mc-card);cursor:grab;display:flex;flex-direction:column}.mc-image-chip:hover{border-color:#087bda;box-shadow:0 3px 10px #11558c24}.mc-image-chip:active{cursor:grabbing}.mc-image-chip img{width:100%;height:50px;object-fit:cover;display:block;pointer-events:none}.mc-image-grip{position:absolute;top:2px;left:3px;z-index:2;font-size:12px;line-height:1;color:#fff;background:#1f3d5aad;border-radius:4px;padding:2px 4px;letter-spacing:-1px}.mc-image-cap{font-size:9px;line-height:1.25;padding:3px 4px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--mc-muted)}.mc-image-del{position:absolute;top:2px;right:2px;z-index:2;border:none!important;border-radius:4px!important;padding:0 4px!important;font-size:13px;line-height:16px;background:#1f3d5aad!important;color:#fff!important}.mc-image-del:hover{background:#c62f2fdd!important}.mc-media-slot{min-height:0!important;width:100%;height:100%;padding:0!important;border-style:solid!important;display:grid;place-items:center;color:#8aa3ba}.mc-label-blank{display:none!important}.mc-tile .mc-eyebrow{overflow-wrap:normal;word-break:keep-all;font-size:12.5px;line-height:1.3}.mc-tile .mc-tile-icon{width:34px;height:34px;border-radius:10px}.mc-tile .mc-tile-head{gap:8px}.mc-tile .mc-value{font-size:27px}.wf-admin-entry{position:fixed;right:16px;bottom:16px;z-index:900;display:inline-block;padding:9px 14px;border-radius:22px;background:#1769aaee;color:#fff;font:600 12px/1.2 system-ui,'Noto Sans Thai',sans-serif;text-decoration:none;box-shadow:0 4px 14px #0f2a4440;opacity:.55;transition:opacity .15s,transform .15s}.wf-admin-entry:hover,.wf-admin-entry:focus-visible{opacity:1;transform:translateY(-1px)}@media print{.wf-admin-entry{display:none}}.mc-progress{height:12px;background:var(--mc-line);border-radius:20px;overflow:hidden;margin-top:12px}.mc-progress span{display:block;height:100%;border-radius:20px}.mc img,.mc video{max-width:100%;display:block;width:100%;height:auto;object-fit:cover;border-radius:10px}.mc-image img{max-height:340px}.mc-avatar img{border-radius:50%;width:64px;height:64px}.mc-gallery>.mc-content{display:grid;grid-template-columns:repeat(auto-fit,minmax(90px,1fr));gap:10px}.mc-gallery img{height:100px}.mc-media-placeholder,.mc-empty{color:var(--mc-muted);background:color-mix(in srgb,var(--mc-bg) 80%,transparent);border:1px dashed var(--mc-line);border-radius:9px;padding:24px;text-align:center;font-size:12px;min-width:0}.mc-media-placeholder{min-height:120px;display:grid;place-items:center}.mc-diagram{width:100%;height:auto;display:block;aspect-ratio:3/2}.mc-diagram .widget{cursor:default}.mc-chart svg{display:block;width:100%;min-height:120px}.mc-alert-body{padding:14px 18px;border-radius:8px;background:#fff3d9;color:#8f5a00}.mc-badge-body{display:inline-block;padding:4px 9px;border-radius:20px;background:#daf5e9;color:#11734d}.mc-tabbar{display:flex;gap:7px;overflow:auto;margin-bottom:12px}.mc-tabbar button.active{color:#fff;background:#087bda}.mc-flow{font-size:38px;color:#17a4ec}.mc table{border-collapse:collapse;width:100%}.mc td{padding:10px;border-bottom:1px solid var(--mc-line);overflow-wrap:anywhere}.mc-link-button{border:none!important;color:#087bda!important;background:transparent!important}.mc-dialog{width:min(900px,95vw);max-height:90dvh;overflow:auto;border:1px solid var(--mc-line);border-radius:14px;padding:22px;background:var(--mc-card);color:var(--mc-fg)}.mc-dialog::backdrop{background:#0d233c88}.mc-design-node{outline:1px dashed #92aabf;outline-offset:1px;min-height:35px}.mc-design-node:hover{z-index:5}.mc-selected{z-index:5}.mc-editor-canvas .mc-page{padding-top:26px}.mc-design-node:hover{outline-color:#087bda}.mc-design-node.mc-selected{outline:2px solid #087bda;outline-offset:2px}.mc-node-bar{display:none;gap:3px;align-items:center;position:absolute;top:-20px;left:-1px;max-width:calc(100% + 2px);padding:2px 5px;border-radius:5px 5px 0 0;z-index:6;font-size:10px;cursor:grab;overflow:hidden;background:var(--mc-fam);color:#fff;box-shadow:0 2px 6px #0f2a4433}.mc-design-node:hover>.mc-node-bar,.mc-selected>.mc-node-bar{display:flex}.mc-node-bar{--mc-fam:#5a6b7d}.mc-fam-layout{--mc-fam:#1769aa}.mc-fam-content{--mc-fam:#5a6b7d}.mc-fam-data{--mc-fam:#11734d}.mc-fam-water{--mc-fam:#0b7fa8}.mc-fam-form{--mc-fam:#7a4fa3}.mc-type-chip{font-weight:700;white-space:nowrap;flex-shrink:0}.mc-node-name{opacity:.85;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:150px;margin-right:auto}.mc-node-bar .mc-tool{background:#ffffff2e!important;color:#fff!important;border:none!important}.mc-node-bar .mc-tool:hover{background:#ffffff52!important}.mc-bg-pick{width:20px!important;height:17px!important;padding:0!important;cursor:pointer;border:1px solid #ffffff6b!important;border-radius:3px!important;background:none!important}.mc-bg-pick::-webkit-color-swatch-wrapper{padding:1px}.mc-bg-pick::-webkit-color-swatch{border:none;border-radius:2px}.mc-tool{padding:1px 5px!important;font-size:11px!important;background:#fff!important;color:#345!important;line-height:20px}.mc-hidden{opacity:.35}.mc-region-label{font-size:9px;letter-spacing:1.5px;color:#859eb4}.mc-drop-inside{outline:3px solid #21bd9a!important;background:#d9f7ed44!important}.mc-drop-before{border-top:4px solid #21bd9a!important}.mc-drop-after{border-bottom:4px solid #21bd9a!important}.mc-pad{display:none;position:absolute;z-index:9;background:#f59e0b73;border-radius:3px;touch-action:none}.mc-selected>.mc-pad{display:block}.mc-pad:hover,.mc-pad[data-pad-active]{background:#f59e0b}.mc-pad-top,.mc-pad-bottom{left:max(14px,calc(25% - 15px));width:30px;height:9px;cursor:ns-resize}.mc-pad-top{top:0}.mc-pad-bottom{bottom:0}.mc-pad-left,.mc-pad-right{top:max(14px,calc(25% - 15px));height:30px;width:9px;cursor:ew-resize}.mc-pad-left{left:0}.mc-pad-right{right:0}.mc-pad-readout{position:fixed;z-index:1001;background:#1b2f45;color:#fff;font:11px/1.4 system-ui,sans-serif;padding:3px 7px;border-radius:5px;pointer-events:none;white-space:nowrap}.mc-diagram-chip{display:flex;align-items:center;gap:6px;border:1px solid var(--mc-line);border-radius:7px;padding:7px 9px;margin:4px 0;font-size:12px;cursor:grab;background:var(--mc-card)}.mc-diagram-chip:hover{border-color:#087bda}.mc-diagram-chip>span{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mc-diagram-chip small{color:var(--mc-muted)}.mc-landing-badge{font-size:9px;letter-spacing:.5px;background:#087bda;color:#fff;border-radius:4px;padding:1px 4px}.mc-resize{display:none;position:absolute;width:9px;height:9px;background:#fff;border:1px solid #087bda;z-index:8;touch-action:none}.mc-selected>.mc-resize{display:block}.mc-resize-nw{left:-5px;top:-5px;cursor:nwse-resize}.mc-resize-n{left:50%;top:-5px;cursor:ns-resize}.mc-resize-ne{right:-5px;top:-5px;cursor:nesw-resize}.mc-resize-e{right:-5px;top:50%;cursor:ew-resize}.mc-resize-se{right:-5px;bottom:-5px;cursor:nwse-resize}.mc-resize-s{left:50%;bottom:-5px;cursor:ns-resize}.mc-resize-sw{left:-5px;bottom:-5px;cursor:nesw-resize}.mc-resize-w{left:-5px;top:50%;cursor:ew-resize}.mc-workspace{position:fixed;inset:142px 0 28px;z-index:10;display:grid;grid-template-columns:245px minmax(0,1fr) 300px;grid-template-rows:auto minmax(0,1fr);background:var(--mc-bg)}.mc-workspace[hidden]{display:none}.mc-toolbar{grid-column:1/-1;display:flex;align-items:center;flex-wrap:wrap;gap:7px;padding:9px 14px;background:var(--mc-card);border-block:1px solid var(--mc-line)}.mc-toolbar strong{margin-right:auto}.mc-sidebar{padding:15px;background:var(--mc-card);overflow:auto;border-right:1px solid var(--mc-line);min-height:0}.mc-inspector{border-right:0;border-left:1px solid var(--mc-line)}.mc-canvas-scroll{overflow:auto;padding:22px;min-width:0}.mc-editor-canvas{margin:auto;min-height:100%;box-shadow:0 5px 24px #193c5820;transform-origin:top center}.mc-page-item,.mc-layer-item{display:flex;gap:5px;align-items:center;border:1px solid transparent;border-radius:6px;padding:7px;margin:3px 0;cursor:pointer;font-size:12px;overflow-wrap:anywhere}.mc-page-item.active,.mc-layer-item.active{background:#e3f1ff;border-color:#81b7e9;color:#154c7b}.mc-page-item>span{flex:1}.mc-palette{display:grid;grid-template-columns:1fr 1fr;gap:6px}.mc-palette button{font-size:11px;padding:9px 5px}.mc-group-title{font-size:10px;text-transform:uppercase;letter-spacing:1px;color:var(--mc-muted);margin:17px 0 7px}.mc-inspector-tabs{display:flex;flex-wrap:wrap;gap:4px}.mc-inspector-tabs button{font-size:10px;padding:5px 8px}.mc-inspector-tabs .active{background:#087bda;color:white}.mc-field-row{display:grid;grid-template-columns:1fr 1fr;gap:8px}.mc-selected-path{font-size:11px;color:#087bda;overflow-wrap:anywhere;margin-bottom:12px}.mc-actions{display:flex;gap:5px;flex-wrap:wrap}.mc-list-card{border:1px solid var(--mc-line);padding:14px;border-radius:9px;cursor:pointer}.mc-list-card:hover{border-color:#087bda}.mc-template-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.mc-status{font-size:11px;max-width:320px;color:var(--mc-muted)}.mc-status.error{color:#cf293e}.mc-editor-canvas[data-breakpoint=mobile] .mc-shell,.mc-editor-canvas[data-breakpoint=tablet] .mc-shell{display:flex;flex-direction:column}.mc-editor-canvas[data-breakpoint=mobile] .mc-region,.mc-editor-canvas[data-breakpoint=tablet] .mc-region{max-width:100%;width:100%}.mc-editor-canvas[data-breakpoint=mobile] .mc-grid>.mc-content>.mc-children,.mc-editor-canvas[data-breakpoint=mobile] .mc-split>.mc-content>.mc-children{grid-template-columns:minmax(0,1fr)!important}.mc-editor-canvas[data-breakpoint=mobile] .mc-row>.mc-content>.mc-children{flex-wrap:wrap}@media(max-width:1024px){.mc-workspace{grid-template-columns:190px minmax(0,1fr) 260px}.mc-shell{grid-template-columns:minmax(0,1fr);grid-template-areas:'top' 'left' 'main' 'right' 'bottom'}.mc-region-left,.mc-region-right{max-width:100%}}@media(max-width:640px){.mc-split>.mc-content>.mc-children,.mc-grid>.mc-content>.mc-children{grid-template-columns:minmax(0,1fr)!important}.mc-row>.mc-content>.mc-children{flex-wrap:wrap}.mc-page{padding:10px}.mc-workspace{inset:142px 0 28px;grid-template-columns:130px minmax(0,1fr)}.mc-inspector{position:fixed;right:0;bottom:28px;max-height:40vh;width:100%;border-top:1px solid var(--mc-line)}.mc-canvas-scroll{padding:8px;padding-bottom:42vh}.mc-toolbar{font-size:11px}.mc-template-grid{grid-template-columns:1fr}.mc-page-item{font-size:10px}}
@media(prefers-reduced-motion:reduce){.mc *{scroll-behavior:auto!important;transition:none!important}}
.mc [hidden]{display:none!important}.mc-node{max-width:100%}@media(max-width:640px){.mc-node{grid-column:auto!important}}

.mc-context-menu{position:fixed;z-index:1000;background:var(--mc-card);padding:7px;border:1px solid var(--mc-line);box-shadow:0 10px 35px #1234;border-radius:9px;display:flex;flex-direction:column;min-width:170px}.mc-context-menu button{text-align:left;border:none}

.mc-marquee{position:fixed;z-index:999;pointer-events:none;border:1px solid #087bda;background:#087bda22}

.mc-node-bar{position:absolute;top:-12px;left:0;right:0;margin:0;opacity:0;pointer-events:none;max-width:100%;height:26px}.mc-design-node:hover>.mc-node-bar,.mc-selected>.mc-node-bar{opacity:1;pointer-events:auto}.mc-palette button{display:flex;align-items:center;gap:7px;text-align:left}.mc-palette button svg{width:28px;height:24px;flex-shrink:0}.mc-component-icon{display:grid;place-items:center;background:#e6f3fe;color:#087bda;border:1px solid #c7e2f7;border-radius:5px;width:28px;height:24px;font-size:17px}.mc-node-bar>.mc-tool{flex-shrink:0}

#tabs[hidden]{display:none!important}body.mc-public #tabs[hidden]+main{min-height:100dvh}
/* RID11 reference presentation. Shared by editor, preview and public renderer. */
.mc[data-presentation=rid11-reference]{--mc-fg:#10245b;--mc-accent:#0868fb;--mc-muted:#607b96;padding:0 6px 12px;background:#e8f2f7 url('/assets/rid11-landscape.svg') center top/100% 180px no-repeat;font-family:Tahoma,'Leelawadee UI',sans-serif;font-size:14px;container-type:inline-size}
.mc[data-presentation=rid11-reference] .mc-shell{gap:0;display:block}
.mc[data-presentation=rid11-reference] .mc-region{gap:0}
.mc[data-presentation=rid11-reference] .mc-region-label{position:absolute;z-index:8;pointer-events:none}
.mc[data-presentation=rid11-reference] .mc-design-node{min-height:0}
.mc[data-presentation=rid11-reference] .mc-text{margin:0;line-height:1.5}
.mc[data-presentation=rid11-reference] h2{margin:0;font-size:24px;line-height:1.4;color:inherit}
.mc[data-presentation=rid11-reference] .mc-card>.mc-content>.mc-children,.mc[data-presentation=rid11-reference] .mc-column>.mc-content>.mc-children{display:flex;flex-direction:column}
.mc[data-presentation=rid11-reference] .mc-row>.mc-content>.mc-children{align-items:center;gap:12px}
.mc[data-presentation=rid11-reference] button{color:inherit;font:inherit;display:flex;align-items:center;justify-content:center;gap:9px;line-height:1.35;border:0;white-space:nowrap}
.mc[data-presentation=rid11-reference] [data-role=header]{height:84px;color:white;padding:10px 23px;background:linear-gradient(90deg,#0747785c,#104f8870);margin-inline:-6px}
.mc[data-presentation=rid11-reference] [data-role=header]>.mc-content>.mc-children{gap:15px;height:64px}
.mc[data-presentation=rid11-reference] [data-role=brand-mark]{width:52px;flex-shrink:0}
.mc[data-presentation=rid11-reference] [data-role=brand-mark] img{height:63px;object-fit:contain;border-radius:0}
.mc[data-presentation=rid11-reference] [data-role=brand]{width:310px;flex-shrink:0}
.mc[data-presentation=rid11-reference] [data-role=brand-title] h2{font-size:23px;font-weight:700}
.mc[data-presentation=rid11-reference] [data-role=brand-subtitle]{font-size:13px}
.mc[data-presentation=rid11-reference] [data-role=navigation]{background:#173a6580;border-radius:12px}
.mc[data-presentation=rid11-reference] [data-role=navigation]>.mc-content>.mc-children{gap:0}
.mc[data-presentation=rid11-reference] [data-role=navigation] button{background:transparent!important;border-radius:10px;height:46px;padding:0 14px;font-size:13px;color:#fff}
.mc[data-presentation=rid11-reference] [data-role=nav-logical] button{background:#0767ff!important;box-shadow:0 5px 17px #0065ff33}
.mc[data-presentation=rid11-reference] [data-role=search]{flex:1;min-width:170px}
.mc[data-presentation=rid11-reference] [data-role=search] label{margin:0;font-size:0;position:relative}
.mc[data-presentation=rid11-reference] [data-role=search] label:before{content:'⌕';position:absolute;left:13px;top:3px;font-size:27px;color:#91a2b8}
.mc[data-presentation=rid11-reference] [data-role=search] input{height:42px;background:#fff;color:#243851;padding-left:38px;font-size:13px;border:0;border-radius:10px}
.mc[data-presentation=rid11-reference] [data-role=notification] button,.mc[data-presentation=rid11-reference] [data-role=profile] button{background:transparent!important;padding:9px;color:white}
.mc[data-presentation=rid11-reference] [data-role=notification]:after{content:'3';position:absolute;right:0;top:0;border-radius:20px;background:#fa3346;color:white;padding:1px 5px;font-size:10px}
.mc[data-presentation=rid11-reference] [data-role=profile] button{border-radius:50%;background:#fff!important;color:#174171}
.mc[data-presentation=rid11-reference] [data-role=panels]>.mc-content>.mc-children{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(0,1fr);gap:1px;align-items:stretch}
.mc[data-presentation=rid11-reference] [data-role=map-panel],.mc[data-presentation=rid11-reference] [data-role=station-panel]{background:#f8fcfff5;border-radius:16px;padding:18px 22px 12px;box-shadow:0 4px 22px #1639580a;overflow:hidden}
.mc[data-presentation=rid11-reference] [data-role=map-panel]>.mc-content>.mc-children{gap:14px}
.mc[data-presentation=rid11-reference] [data-role=map-heading]{height:66px}
.mc[data-presentation=rid11-reference] [data-role=map-heading]>.mc-content>.mc-children{gap:15px}
.mc[data-presentation=rid11-reference] [data-role=map-title]{flex-shrink:0;width:215px}
.mc[data-presentation=rid11-reference] .mc-head-icon{width:42px;height:44px;background:#edf6ff;color:#0879ec;border-radius:10px;margin-right:12px}
.mc[data-presentation=rid11-reference] [data-role=logical-title] h2{font-size:27px}
.mc[data-presentation=rid11-reference] [data-role=canal-title]{font-size:22px;font-weight:700;padding-left:54px;margin-top:-3px}
.mc[data-presentation=rid11-reference] [data-role=location]{font-size:13px;color:#526b87;white-space:nowrap;margin-top:25px;flex:1}
.mc[data-presentation=rid11-reference] [data-role=open-map] button{background:#f0f7ff!important;color:#10275c;padding:15px;font-size:13px}
.mc[data-presentation=rid11-reference] [data-role=open-map] .mc-icon{color:#0678ea}
.mc[data-presentation=rid11-reference] [data-role=summary]{margin-right:120px}
.mc[data-presentation=rid11-reference] [data-role=summary]>.mc-content>.mc-children{display:grid;grid-template-columns:repeat(var(--mc-summary-columns,4),minmax(0,1fr));gap:12px}
.mc[data-presentation=rid11-reference] .mc-tile,.mc[data-presentation=rid11-reference] [data-role=updated]{border-radius:12px;padding:14px 12px;background:#fff;box-shadow:0 2px 12px #173e6320;min-height:102px}
.mc[data-presentation=rid11-reference] .mc-tile>.mc-content{display:grid;grid-template-columns:48px minmax(0,1fr);column-gap:9px;position:relative}
.mc[data-presentation=rid11-reference] .mc-tile-head{display:contents}
.mc[data-presentation=rid11-reference] .mc-tile-icon{grid-column:1;grid-row:1/4;width:47px;height:52px;color:#0877ec;background:#f0f7ff;border-radius:10px}
.mc[data-presentation=rid11-reference] .mc-tile-icon svg{width:31px;height:31px}
.mc[data-presentation=rid11-reference] .mc-tile-headtext{grid-column:2;grid-row:1}
.mc[data-presentation=rid11-reference] .mc-eyebrow{font-size:12px;color:#3c5478;line-height:1.4}
.mc[data-presentation=rid11-reference] .mc-value-row{grid-column:2;grid-row:2;gap:7px;margin:4px 0 0;flex-wrap:nowrap}
.mc[data-presentation=rid11-reference] .mc-tile .mc-value{font-size:21px;white-space:nowrap;letter-spacing:-.6px}
.mc[data-presentation=rid11-reference] .mc-state{grid-column:2;font-size:9px;line-height:1.3;white-space:nowrap}
.mc[data-presentation=rid11-reference] .mc-tile-note{grid-column:1/-1;text-align:center;font-size:11px;color:#e88713;margin-top:8px}
.mc[data-presentation=rid11-reference] [data-role=summary] .mc-tile-note{display:none}
.mc[data-presentation=rid11-reference] [data-role=updated]{padding:14px 10px}
.mc[data-presentation=rid11-reference] [data-role=update-clock] h2{font-size:11px;font-weight:400;color:#3c5478}
.mc[data-presentation=rid11-reference] [data-role=update-clock] .mc-head-icon{position:absolute;top:14px;left:8px;width:40px;margin:0}
.mc[data-presentation=rid11-reference] [data-role=update-clock] h2,.mc[data-presentation=rid11-reference] [data-role=update-date],.mc[data-presentation=rid11-reference] [data-role=update-time]{padding-left:44px;font-size:11px;line-height:1.7}
.mc[data-presentation=rid11-reference] [data-role=status-legend]{position:absolute;right:23px;top:98px;width:112px;background:#ffffffed;padding:12px 14px;border-radius:12px;z-index:2;font-size:12px;box-shadow:0 2px 12px #173e6308}
.mc[data-presentation=rid11-reference] [data-role=status-legend] .mc-card-title{font-size:12px;margin:0 0 4px}
.mc[data-presentation=rid11-reference] [data-role=status-legend] .mc-children{gap:3px}
.mc[data-presentation=rid11-reference] [data-role=network]{margin-top:0;border-radius:12px;overflow:hidden}
.mc[data-presentation=rid11-reference] [data-role=network] .mc-diagram{aspect-ratio:4/3;width:100%;height:auto;max-height:none}
.mc[data-presentation=rid11-reference] [data-role=network] .mc-link-button{position:absolute;bottom:0;right:0;opacity:0;z-index:3}
.mc[data-presentation=rid11-reference] [data-role=network]:hover .mc-link-button{opacity:1}
.mc[data-presentation=rid11-reference] [data-role=station-panel]{padding:20px 20px 14px}
.mc[data-presentation=rid11-reference] [data-role=station-panel]>.mc-content>.mc-children{gap:12px}
.mc[data-presentation=rid11-reference] [data-role=station-heading]>.mc-content>.mc-children{gap:8px}
.mc[data-presentation=rid11-reference] [data-role=station-title]{flex:1}
.mc[data-presentation=rid11-reference] [data-role=station-title] h2{font-size:22px;white-space:nowrap;letter-spacing:-.6px}
.mc[data-presentation=rid11-reference] [data-role=station-title] .mc-head-icon{width:52px;height:52px;flex-shrink:0}
.mc[data-presentation=rid11-reference] [data-role=station-title] svg{width:34px;height:34px}
.mc[data-presentation=rid11-reference] [data-role=favorite] button,.mc[data-presentation=rid11-reference] [data-role=close-detail] button{background:transparent!important;font-size:27px;padding:0 4px;color:#172d61}
.mc[data-presentation=rid11-reference] [data-role=favorite] button{color:#ffc400}
.mc[data-presentation=rid11-reference] [data-role=station-location]{color:#60728d;font-size:13px;margin-top:-18px;margin-bottom:10px;padding-left:65px}
.mc[data-presentation=rid11-reference] [data-role=station-photo] img{height:auto;aspect-ratio:2.45;max-height:none;width:100%;object-fit:cover;border-radius:11px}
.mc[data-presentation=rid11-reference] [data-role=warning] .mc-alert-body{height:72px;padding:10px 14px 10px 68px;white-space:pre-line;color:#e78a0c;background:#fff5df;position:relative;font-size:13px;line-height:1.9}
.mc[data-presentation=rid11-reference] [data-role=warning] .mc-alert-body:first-line{font-size:20px;font-weight:700}
.mc[data-presentation=rid11-reference] [data-role=warning] .mc-alert-body:before{content:'!';position:absolute;left:14px;top:13px;width:40px;height:43px;clip-path:polygon(50% 0,100% 100%,0 100%);background:#f5a208;color:white;font:bold 31px Tahoma;text-align:center;padding-top:7px}
.mc[data-presentation=rid11-reference] .mc-tabbar{gap:5px;margin:5px 0 12px;overflow:visible}
.mc[data-presentation=rid11-reference] .mc-tabbar button{flex:1;min-width:0;background:#eff5fd;padding:12px 5px;font-size:12px;border-radius:9px}
.mc[data-presentation=rid11-reference] .mc-tabbar button.active{background:#0866fa;color:#fff}
.mc[data-presentation=rid11-reference] [data-role=information]>.mc-content>.mc-card-title{display:none}
.mc[data-presentation=rid11-reference] [data-role=station-metrics]>.mc-content>.mc-children{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.mc[data-presentation=rid11-reference] [data-role=station-metrics] .mc-tile{min-height:108px;padding:13px 10px;background:#fff;box-shadow:0 2px 10px #173e6308}
.mc[data-presentation=rid11-reference] .mc-delta{font-size:10px}
.mc[data-presentation=rid11-reference] [data-role=gallery-title]{font-size:15px;font-weight:700;margin-top:0;margin-bottom:-6px}
.mc[data-presentation=rid11-reference] [data-role=gallery]>.mc-content{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.mc[data-presentation=rid11-reference] [data-role=gallery] img{height:70px;border-radius:9px}
.mc[data-presentation=rid11-reference] [data-role=gallery] img:nth-child(2){object-position:10% center;filter:brightness(.83)}
.mc[data-presentation=rid11-reference] [data-role=gallery] img:nth-child(3){filter:brightness(.94)}
.mc[data-presentation=rid11-reference] [data-role=gallery] img:nth-child(4){filter:brightness(.76)}
.mc[data-presentation=rid11-reference] [data-role=actions]>.mc-content>.mc-children{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.mc[data-presentation=rid11-reference] [data-role=actions] button{width:100%;height:85px;flex-direction:column;gap:7px;white-space:pre-line;border:1px solid #e0ebf7;border-radius:11px;background:#f3f8ff!important;color:#10275d;font-size:12px;padding:7px 4px}
.mc[data-presentation=rid11-reference] [data-role=actions] svg{width:30px;height:30px;color:#0875f4}
.mc[data-presentation=rid11-reference] [data-role=network] .mc-diagram>image{width:1200px;height:800px}
@container (max-width:1200px){.mc[data-presentation=rid11-reference] [data-role=brand]{width:245px}.mc[data-presentation=rid11-reference] [data-role=brand-title] h2{font-size:19px}.mc[data-presentation=rid11-reference] [data-role=navigation] button{padding-inline:9px}.mc[data-presentation=rid11-reference] [data-role=navigation] svg{display:none}.mc[data-presentation=rid11-reference] [data-role=map-heading]>.mc-content>.mc-children{flex-wrap:wrap}.mc[data-presentation=rid11-reference] [data-role=location]{display:none}.mc[data-presentation=rid11-reference] [data-role=station-title] h2{font-size:17px}.mc[data-presentation=rid11-reference] [data-role=station-title] .mc-head-icon{display:none}.mc[data-presentation=rid11-reference] [data-role=station-location]{padding-left:0;margin-top:-7px}.mc[data-presentation=rid11-reference] .mc-tile>.mc-content{grid-template-columns:32px minmax(0,1fr);gap:4px}.mc[data-presentation=rid11-reference] .mc-tile-icon{width:30px;height:38px}.mc[data-presentation=rid11-reference] .mc-tile .mc-value{font-size:17px}.mc[data-presentation=rid11-reference] [data-role=summary]{margin-right:90px}.mc[data-presentation=rid11-reference] [data-role=status-legend]{width:90px;padding:10px;font-size:10px}}
@container (max-width:900px){.mc[data-presentation=rid11-reference] [data-role=panels]>.mc-content>.mc-children{grid-template-columns:1fr;gap:12px}.mc[data-presentation=rid11-reference] [data-role=header]{height:auto;padding:12px}.mc[data-presentation=rid11-reference] [data-role=header]>.mc-content>.mc-children{flex-wrap:wrap;height:auto}.mc[data-presentation=rid11-reference] [data-role=navigation]{order:5;width:100%}.mc[data-presentation=rid11-reference] [data-role=navigation]>.mc-content>.mc-children{justify-content:center}.mc[data-presentation=rid11-reference] [data-role=notification],.mc[data-presentation=rid11-reference] [data-role=profile]{display:none}.mc[data-presentation=rid11-reference] [data-role=station-title] h2{font-size:23px}.mc[data-presentation=rid11-reference] [data-role=station-title] .mc-head-icon{display:grid}.mc[data-presentation=rid11-reference] [data-role=station-location]{padding-left:65px;margin-top:-18px}.mc[data-presentation=rid11-reference] [data-role=map-heading]>.mc-content>.mc-children{flex-wrap:nowrap}.mc[data-presentation=rid11-reference] [data-role=summary]>.mc-content>.mc-children{grid-template-columns:repeat(var(--mc-summary-columns,4),minmax(0,1fr))!important}.mc[data-presentation=rid11-reference] [data-role=station-metrics]>.mc-content>.mc-children{grid-template-columns:repeat(2,minmax(0,1fr))!important}.mc[data-presentation=rid11-reference] [data-role=actions]>.mc-content>.mc-children{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@container (max-width:560px){.mc[data-presentation=rid11-reference] [data-role=header]{padding:9px}.mc[data-presentation=rid11-reference] [data-role=brand]{width:calc(100% - 80px)}.mc[data-presentation=rid11-reference] [data-role=search]{width:100%}.mc[data-presentation=rid11-reference] [data-role=navigation] button{font-size:10px;padding-inline:7px}.mc[data-presentation=rid11-reference] [data-role=map-panel],.mc[data-presentation=rid11-reference] [data-role=station-panel]{padding:15px 12px}.mc[data-presentation=rid11-reference] [data-role=map-heading]{height:75px}.mc[data-presentation=rid11-reference] [data-role=map-title]{width:185px}.mc[data-presentation=rid11-reference] [data-role=logical-title] h2{font-size:23px}.mc[data-presentation=rid11-reference] [data-role=canal-title]{font-size:18px}.mc[data-presentation=rid11-reference] [data-role=open-map] button{font-size:10px;padding:8px;white-space:normal}.mc[data-presentation=rid11-reference] [data-role=open-map] svg{display:none}.mc[data-presentation=rid11-reference] [data-role=summary]{margin-right:0}.mc[data-presentation=rid11-reference] [data-role=summary]>.mc-content>.mc-children{grid-template-columns:repeat(2,minmax(0,1fr))!important}.mc[data-presentation=rid11-reference] [data-role=status-legend]{position:static;width:100%;padding:5px 8px}.mc[data-presentation=rid11-reference] [data-role=status-legend] .mc-card-title{display:none}.mc[data-presentation=rid11-reference] [data-role=status-legend] .mc-children{flex-direction:row;justify-content:space-between}.mc[data-presentation=rid11-reference] [data-role=station-title] h2{font-size:18px}.mc[data-presentation=rid11-reference] [data-role=station-title] .mc-head-icon{width:35px;margin-right:6px}.mc[data-presentation=rid11-reference] [data-role=station-location]{padding-left:42px;font-size:11px}.mc[data-presentation=rid11-reference] [data-role=favorite] button,.mc[data-presentation=rid11-reference] [data-role=close-detail] button{font-size:20px}.mc[data-presentation=rid11-reference] [data-role=warning] .mc-alert-body{font-size:10px;padding-left:60px}.mc[data-presentation=rid11-reference] [data-role=warning] .mc-alert-body:first-line{font-size:18px}.mc[data-presentation=rid11-reference] .mc-tabbar button{font-size:10px}.mc[data-presentation=rid11-reference] [data-role=gallery] img{height:50px}}
body.mc-public:has([data-presentation=rid11-reference])>#tabs{display:none!important}
.mc[data-presentation=rid11-reference] [data-role=header]{width:calc(100% + 12px);max-width:none}
.mc[data-presentation=rid11-reference] .mc-primary{color:inherit!important;background:transparent!important;border-color:transparent!important}
.mc[data-presentation=rid11-reference] [data-role=navigation] .mc-primary{color:white!important}
.mc[data-presentation=rid11-reference] [data-role=nav-logical] .mc-primary{background:#0868ff!important}
.mc[data-presentation=rid11-reference] [data-role=notification] button,.mc[data-presentation=rid11-reference] [data-role=profile] button{font-size:0;width:38px;height:38px;gap:0}
.mc[data-presentation=rid11-reference] [data-role=profile] .mc-primary{background:white!important;color:#174171!important}
.mc[data-presentation=rid11-reference] [data-role=network] .mc-diagram{height:calc((100cqw - 57px)*.63636*.75);aspect-ratio:auto;max-height:none;max-width:none}
.mc[data-presentation=rid11-reference] [data-role=map-heading]{height:66px}
.mc[data-presentation=rid11-reference] [data-role=station-heading]{height:52px}
.mc[data-presentation=rid11-reference] [data-role=station-location]{margin-top:-19px;margin-bottom:0}
.mc[data-presentation=rid11-reference] [data-role=station-panel]>.mc-content>.mc-children{gap:12px}
.mc[data-presentation=rid11-reference] [data-role=station-metrics] .mc-tile{min-height:102px}
.mc[data-presentation=rid11-reference] [data-role=station-panel] .mc-tab>.mc-content>.mc-card-title{display:none}
.mc[data-presentation=rid11-reference] [data-role=station-panel] .mc-tab>.mc-content>.mc-children{padding:0}
@container (max-width:900px){.mc[data-presentation=rid11-reference] [data-role=network] .mc-diagram{height:calc((100cqw - 56px)*.75)}}
.mc[data-presentation=rid11-reference] section[data-role=network]{aspect-ratio:auto;height:auto;display:block}
.mc[data-presentation=rid11-reference] [data-role=network] svg.mc-diagram{height:calc((100cqw - 57px)*.63636*.75)!important}
@container (max-width:900px){.mc[data-presentation=rid11-reference] [data-role=network] svg.mc-diagram{height:calc((100cqw - 56px)*.75)!important}}
.mc[data-presentation=rid11-reference] [data-role=favorite] .mc-primary{color:#ffc400!important}
.mc[data-presentation=rid11-reference] [data-role=map-panel]{background:#f8fcff}
.mc[data-presentation=rid11-reference] [data-role=station-title] h2{font-size:21px}
/* Keep stale/fresh telemetry labels inside the authored card height. */
.mc[data-presentation=rid11-reference] [data-role=station-metrics] .mc-tile{height:108px;min-height:108px}
.mc[data-presentation=rid11-reference] [data-role=station-metrics] .mc-state{position:absolute;bottom:-15px;left:57px;font-size:9px}
.mc[data-presentation=rid11-reference] [data-role=station-metrics] .mc-tile-note{margin-top:7px}
/* Explicit node overrides take precedence over the reference presentation. */
.mc .mc-custom-font>.mc-content>.mc-text{font-size:inherit!important}
.mc .mc-custom-background>.mc-content>button{background:inherit!important}
.mc .mc-custom-color>.mc-content>button,.mc .mc-custom-color>.mc-content>.mc-text{color:inherit!important}
.mc-design-node{cursor:pointer}
.iot-copy-field{display:flex;align-items:stretch;gap:5px}.iot-copy-field>input{flex:1;min-width:0}.iot-copy-button{flex-shrink:0;padding:5px 8px!important;font-size:11px!important;white-space:nowrap;cursor:pointer}.iot-copy-button:disabled{opacity:.4;cursor:default}.iot-copy-panel{margin:12px 0;padding:12px;border:1px solid #7797b055;border-radius:8px;background:#7baedb0a}.iot-copy-actions{display:flex;gap:6px;margin:8px 0}.iot-copy-panel textarea{width:100%;min-height:115px;resize:vertical;font:12px/1.55 Consolas,monospace;white-space:pre}.iot-copy-panel small{display:block;margin-top:6px;font-size:11px;line-height:1.5}
.mc-move-edge{position:absolute;z-index:7;cursor:move;display:block;opacity:0;touch-action:none}
.mc-move-top,.mc-move-bottom{left:9px;right:9px;height:8px}.mc-move-top{top:-4px}.mc-move-bottom{bottom:-4px}
.mc-move-left,.mc-move-right{top:9px;bottom:9px;width:8px}.mc-move-left{left:-4px}.mc-move-right{right:-4px}
.mc-move-edge:hover{opacity:1;background:#087bda22}.mc-move-edge>span{position:absolute;pointer-events:none;left:50%;top:50%;transform:translate(-50%,-50%);background:#fff;color:#087bda;border:1px solid #accce7;border-radius:4px;padding:0 3px;font-size:19px;line-height:23px;box-shadow:0 2px 7px #1232}
.mc-layer-tools,.wf-layer-tools{position:sticky;top:0;z-index:3;display:grid;grid-template-columns:repeat(4,1fr);gap:4px;padding:5px;background:var(--mc-card,#fff);border:1px solid var(--mc-line,#d6e3ee);border-radius:7px}.mc-layer-tools button,.wf-layer-tools button{padding:5px 2px;font-size:10px}.wf-stencil-credit{display:block;margin:4px 5px 8px;color:#53718a;font-size:9px;overflow-wrap:anywhere}
.mc-layer-tools,.wf-layer-tools{position:sticky;top:0;z-index:3;display:grid;grid-template-columns:repeat(4,1fr);gap:4px;padding:5px;background:var(--mc-card,#fff);border:1px solid var(--mc-line,#d6e3ee);border-radius:7px}.mc-layer-tools button,.wf-layer-tools button{padding:5px 2px;font-size:10px}

/* Single status cards can shrink without their retained list setting the size. */
.mc .mc-status-single{min-width:0;min-height:0}
.mc .mc-status-single>.mc-content{max-height:100%;overflow:hidden}
.mc .mc-status-single>.mc-content>.mc-card-title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:4px}
.mc .mc-status-single .mc-current-status{display:flex;align-items:center;gap:4px;min-width:0;white-space:nowrap}
.mc .mc-status-single .mc-current-status>span:last-child{overflow:hidden;text-overflow:ellipsis}

.mc-drop-marker{position:fixed;z-index:10000;pointer-events:none;background:#16b894;border-radius:3px;box-shadow:0 0 0 2px #ffffffd9}
.mc-drop-marker[data-position=inside]{border:2px solid #16b894;background:#16b89422;color:#08755d;font:600 12px system-ui;padding:4px}

.mc-move-destinations{display:grid;gap:16px;max-height:60vh;overflow:auto;padding:4px}
.mc-move-destination{border:1px solid var(--mc-line);border-radius:10px;padding:12px;min-width:0}
.mc-move-destination h3{font-size:13px;overflow-wrap:anywhere}
.mc .mc-insert-slot{display:block;width:100%;min-height:38px;margin:5px 0;border:2px dashed #16a77c;background:#16a77c12;text-align:left;color:#08755d;overflow-wrap:anywhere}
.mc .mc-insert-slot:hover{background:#16a77c30;border-style:solid}
.mc-move-item{margin-left:15px;padding:8px 12px;border-left:3px solid var(--mc-line);font-size:12px;color:var(--mc-muted)}
.mc .mc-move-selected{border-color:#16a77c;font-weight:700}

.mc-color-controls{display:grid;grid-template-columns:32px 54px minmax(0,1fr);align-items:center;gap:8px}

/* Public pages and every saved template use the full viewport. Empty side
   regions no longer reserve white columns, and content can continue below the fold. */
html,body{min-width:0;min-height:100%;}
body.mc-public{min-width:0;min-height:100dvh;overflow-x:hidden;background:#edf5fa;}
body.mc-public main{display:block!important;width:100%;height:auto!important;min-height:100dvh;overflow:visible!important;}
body.mc-public #cmsPublished{width:100%;max-width:none;min-height:100dvh;overflow:visible;}
body.mc-public .mc-page{width:100%;max-width:none;min-height:100dvh;margin:0;padding:clamp(12px,1.4vw,26px);font-size:clamp(16px,1.15vw,18px);line-height:1.55;}
body.mc-public .mc-shell{width:100%;max-width:none;min-height:100%;}
body.mc-public .mc-shell--main-only{grid-template-columns:minmax(0,1fr);grid-template-areas:'top' 'main' 'bottom';}
body.mc-public .mc-shell--main-only>.mc-region-left,body.mc-public .mc-shell--main-only>.mc-region-right{display:none;}
body.mc-public .mc-card-title{font-size:clamp(18px,1.35vw,22px);}
body.mc-public .mc-text p,body.mc-public .mc-eyebrow,body.mc-public .mc-tile-note,body.mc-public .mc-state{font-size:clamp(14px,1vw,17px);line-height:1.5;}
body.mc-public .mc-value{font-size:clamp(27px,2vw,36px);}
body.mc-public .mc-node{min-width:0;max-width:100%;}
@media (max-width:640px){body.mc-public .mc-page{padding:12px;font-size:16px}body.mc-public .mc-value{font-size:28px}}

/* The RID11 dashboard is density-managed, not zoomed.  Text remains readable
   while media and card spacing contract to fit a standard desktop viewport. */
body.mc-public:has(.mc-page[data-presentation=rid11-reference]){overflow:hidden;background:#e8f2f7;}
body.mc-public:has(.mc-page[data-presentation=rid11-reference]) main{height:calc(100dvh - 23px)!important;min-height:0!important;overflow:hidden!important;}
body.mc-public .mc-page[data-presentation=rid11-reference]{height:100%;min-height:0!important;padding:0 6px 6px;font-size:15px;overflow:hidden;}
body.mc-public .mc-page[data-presentation=rid11-reference] .mc-shell{height:100%;overflow:hidden;}
body.mc-public .mc-page[data-presentation=rid11-reference] [data-role=header]{height:76px;padding:8px 22px;}
body.mc-public .mc-page[data-presentation=rid11-reference] [data-role=header]>.mc-content>.mc-children{height:60px;}
body.mc-public .mc-page[data-presentation=rid11-reference] [data-role=panels],body.mc-public .mc-page[data-presentation=rid11-reference] [data-role=panels]>.mc-content,body.mc-public .mc-page[data-presentation=rid11-reference] [data-role=panels]>.mc-content>.mc-children{height:calc(100% - 76px);min-height:0;}
body.mc-public .mc-page[data-presentation=rid11-reference] [data-role=map-panel],body.mc-public .mc-page[data-presentation=rid11-reference] [data-role=station-panel]{height:100%;min-height:0;padding:14px 16px 10px;overflow:hidden;}
body.mc-public .mc-page[data-presentation=rid11-reference] [data-role=map-heading]{height:52px;}
body.mc-public .mc-page[data-presentation=rid11-reference] [data-role=network]{height:calc(100% - 52px);overflow:hidden;}
/* Diagram cards always preserve their authored 3:2 drawing area.  The
   publish runtime supplies an exact contained size; the CMS preview uses the
   same scale value at its available width. */
.mc-diagram[data-diagram-fit=contain]{width:calc(100% * var(--mc-diagram-scale,1))!important;height:auto!important;max-width:100%;margin-inline:auto;}
body.mc-public .mc-page[data-presentation=rid11-reference] [data-role=network] .mc-diagram{width:auto!important;height:auto!important;max-width:100%;max-height:100%;aspect-ratio:auto;margin-inline:auto;}
.mc-range-row{display:flex;align-items:center;gap:8px}.mc-range-row input[type=range]{padding:0;flex:1;accent-color:#087bda}.mc-range-row output{min-width:42px;text-align:right;font-size:12px;font-weight:700;color:var(--mc-fg)}
/* Qt-style vertical spacer: put it directly below a Diagram.  Its parent
   becomes a vertical flex stack and the spacer claims only unused height. */
.mc-children:has(>.mc-spacer-expand){display:flex;flex-direction:column;height:100%;min-height:0;}
.mc-spacer-expand{display:block!important;flex:1 1 auto;min-height:24px!important;height:auto!important;}
.mc-children:has(>.mc-spring-h){flex-direction:row;width:100%;}
.mc-spring-h{min-width:24px!important;width:auto!important;min-height:0!important;}
.mc-design-node.mc-spacer-expand{min-height:32px!important;background:repeating-linear-gradient(135deg,#087bda12 0 8px,#087bda22 8px 16px);outline-color:#087bda;}
.mc-design-node.mc-spacer-expand>.mc-content::before{content:'↕ Vertical Spacer · พื้นที่ดันอัตโนมัติ';display:block;padding:7px;color:#1769aa;font-size:11px;text-align:center;}
.mc-design-node.mc-spring-h>.mc-content::before{content:'↔ Horizontal Spacer · พื้นที่ดันอัตโนมัติ';}
body.mc-public .mc-page[data-presentation=rid11-reference] [data-role=station-heading]{min-height:46px;}
body.mc-public .mc-page[data-presentation=rid11-reference] [data-role=station-title] h2{font-size:22px;}
body.mc-public .mc-page[data-presentation=rid11-reference] [data-role=station-photo] img{height:clamp(150px,25vh,250px);object-fit:cover;}
body.mc-public .mc-page[data-presentation=rid11-reference] [data-role=warning] .mc-alert-body{height:64px;font-size:13px;line-height:1.6;}
body.mc-public .mc-page[data-presentation=rid11-reference] .mc-tabbar{margin:4px 0 8px;}
body.mc-public .mc-page[data-presentation=rid11-reference] .mc-tabbar button{padding:9px 5px;font-size:13px;}
body.mc-public .mc-page[data-presentation=rid11-reference] [data-role=station-metrics] .mc-tile{height:clamp(78px,11vh,102px);min-height:0;padding:10px;}
body.mc-public .mc-page[data-presentation=rid11-reference] [data-role=station-metrics] .mc-state{display:none;}
body.mc-public .mc-page[data-presentation=rid11-reference] [data-role=gallery] img{height:clamp(42px,6vh,64px);}
body.mc-public .mc-page[data-presentation=rid11-reference] [data-role=actions] button{height:clamp(54px,8vh,74px);font-size:13px;}
@media (max-height:780px){body.mc-public .mc-page[data-presentation=rid11-reference] [data-role=header]{height:62px}body.mc-public .mc-page[data-presentation=rid11-reference] [data-role=header]>.mc-content>.mc-children{height:48px}body.mc-public .mc-page[data-presentation=rid11-reference] [data-role=panels],body.mc-public .mc-page[data-presentation=rid11-reference] [data-role=panels]>.mc-content,body.mc-public .mc-page[data-presentation=rid11-reference] [data-role=panels]>.mc-content>.mc-children{height:calc(100% - 62px)}body.mc-public .mc-page[data-presentation=rid11-reference] [data-role=station-photo] img{height:130px}}
.mc-color-swatch{display:block;width:32px;height:32px;border:1px solid #7894aa;border-radius:6px}
.mc .mc-color-controls input[type=color]{width:54px;min-height:42px;height:42px;padding:3px;cursor:pointer}
.mc-color-controls input[type=color]::-webkit-color-swatch-wrapper{padding:0}
.mc-color-controls input[type=color]::-webkit-color-swatch{border:0;border-radius:4px}
