@font-face{font-family:PanelSC;src:url('/hmi/assets/fonts/PanelSansSC-500.woff') format('woff');font-display:swap;font-weight:500}
@font-face{font-family:PanelSC;src:url('/hmi/assets/fonts/PanelSansSC-600.woff') format('woff');font-display:swap;font-weight:600}
:root{
 --green:#406284;--green-deep:#2e4a66;--green-light:#dce4ec;
 --ink:#293b4d;--muted:#526578;--line:#bdcbd8;--paper:#e7edf2;
 --nav:88px;--header:76px;--left:370px;--bottom:108px;--gutter:24px;
}
*{box-sizing:border-box}
html,body{margin:0;width:100%;height:100%;overflow:hidden}
body{font-family:PanelSC,'Microsoft YaHei',sans-serif;font-size:18px;font-weight:500;line-height:1.5;color:var(--ink);background:var(--paper);user-select:none;-webkit-user-select:none}
button,input,select{font:inherit;color:inherit}
button{cursor:pointer;touch-action:manipulation;transition:background-color .15s,color .15s}
button:disabled{cursor:default;opacity:.48}
button:focus-visible,select:focus-visible,input:focus-visible{outline:2px solid #406d99;outline-offset:3px}
button:active:not(:disabled){background-color:#cbd9e7!important}
[hidden]{display:none!important}
svg{display:block}button svg{width:24px;height:24px;flex:none}
/* Data pages */
.full-page{height:100%;padding:20px;display:flex;flex-direction:column;min-height:0;gap:20px}.page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;flex:none;min-height:64px}.page-heading>div:first-child{min-width:0}.page-heading p{margin:8px 0 0;font-size:16px;line-height:1.5;color:var(--muted)}.page-heading p .mode-label{margin-left:10px}.page-tools{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex:none}.page-tools .room-select{max-width:230px;width:230px;font-size:17px;font-weight:500}
.page-tools select,.field input,.field select{min-height:46px;padding:9px 12px;border:1px solid var(--line);border-radius:var(--control-radius);background:var(--surface);color:var(--ink);font-size:17px}.page-tools select{min-width:128px}
.table-container{flex:1;min-height:0;overflow:auto;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface)}table{width:100%;border-collapse:collapse;text-align:left;font-size:17px;user-select:text}th{position:sticky;top:0;background:var(--surface-2);color:var(--ink);font-size:16px;font-weight:600;z-index:1}th,td{padding:16px 20px;border-bottom:1px solid var(--line);vertical-align:middle}td{color:var(--ink);font-variant-numeric:tabular-nums}td.number{font-size:23px}td .tag{display:inline-block;padding:4px 9px;border-radius:6px;background:#dce7ef;color:#45617a;font-size:15px}.tag.demo{color:#7a653c;background:#eee7d9}.table-empty td{text-align:center;color:var(--muted);height:200px;font-size:17px}.table-summary{font-size:15px;color:var(--muted);flex:none;min-height:20px}.ack-button{min-height:40px;padding:7px 14px;background:var(--tint);color:var(--ink);border:1px solid var(--line);border-radius:6px;font-size:16px}
.trend-panel{flex:1;min-height:0;display:flex;flex-direction:column;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);padding:24px}.trend-legend{display:flex;align-items:center;gap:24px;font-size:17px;color:var(--muted);margin-bottom:16px}.trend-legend i{display:inline-block;width:16px;height:3px;margin-right:8px;vertical-align:3px;border-radius:3px}.trend-chart{width:100%;flex:1;min-height:0;overflow:visible}.trend-chart .axis{font:15px PanelSC,sans-serif;fill:var(--muted)}.trend-chart .grid{stroke:var(--line)}.trend-chart path{fill:none;stroke-width:2.4;vector-effect:non-scaling-stroke;stroke-linecap:round;stroke-linejoin:round}.trend-details{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;border-top:1px solid var(--line);padding-top:16px;margin-top:16px}.trend-details small{display:block;font-size:16px;color:var(--muted)}.trend-details strong{display:block;font-size:28px;line-height:1.3;font-weight:500;color:var(--ink);margin-top:6px;font-variant-numeric:tabular-nums}
/* Settings: fixed title, tabs and actions; only the fields scroll */
dialog{width:min(960px,calc(100vw - 64px));height:min(728px,calc(100vh - 64px));max-height:none;padding:24px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);color:var(--ink);box-shadow:0 20px 80px #1c324929;overflow:hidden}dialog::backdrop{background:#273d5147;backdrop-filter:blur(3px)}
#settings-form{display:flex;flex-direction:column;height:100%;min-height:0}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex:none;margin-bottom:16px}.eyebrow{font-size:14px;line-height:1.4;color:var(--muted);margin:0 0 4px}.dialog-heading h2{font-size:28px;line-height:1.3;font-weight:600;margin:0;color:var(--ink)}
.settings-tabs{display:flex;gap:24px;border-bottom:1px solid var(--line);flex:none;margin-bottom:20px}.settings-tabs button{border:0;border-bottom:2px solid transparent;background:none;min-height:46px;padding:10px 0;color:var(--muted);font-size:18px}.settings-tabs button.active{color:#2e5378;border-color:#4b769e}
#settings-body{flex:1;min-height:0;overflow:auto;padding:0 12px 8px 0;scrollbar-width:thin;overscroll-behavior:contain}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 24px}.field{display:flex;flex-direction:column;gap:8px;min-width:0;font-size:17px;color:var(--ink)}.field input,.field select{width:100%;min-width:0;user-select:text}.settings-note{font-size:15px;line-height:1.8;color:var(--muted);margin:16px 0 20px}.mapping-group{border:1px solid var(--line);border-radius:10px;padding:16px;margin-top:16px;background:var(--surface)}.mapping-group h3{font-size:19px;font-weight:600;line-height:1.4;margin:0 0 12px}.mapping-row{display:grid;grid-template-columns:1.3fr 1.2fr .85fr .6fr;align-items:center;gap:10px;margin:8px 0;font-size:16px}.mapping-row input,.mapping-row select{width:100%;min-width:0;min-height:42px;padding:8px;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--ink);font-size:16px;user-select:text}.mapping-labels{font-size:15px;color:var(--muted)}.threshold-grid{margin-top:16px;gap:12px 18px}.threshold-grid .field{font-size:16px}
.form-error{font-size:16px;color:#a64737;line-height:1.5;flex:none;margin:8px 0}.form-error:empty{display:none}.dialog-footer{flex:none;display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid var(--line);padding-top:16px;margin-top:16px}.dialog-footer>span{font-size:15px;line-height:1.6;color:var(--muted);max-width:380px}.settings-actions{display:flex;align-items:center;gap:12px;justify-content:flex-end;flex:none}
.resource-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.resource-card{padding:18px;border:1px solid var(--line);border-radius:10px;background:var(--surface);min-width:0}.resource-card small{display:block;font-size:16px;color:var(--muted);margin-bottom:8px}.resource-card strong{display:block;font-size:21px;font-weight:600;line-height:1.45;color:var(--ink);overflow-wrap:anywhere}.resource-wide{grid-column:1/-1}.resource-meter{height:5px;background:#d6e2ed;border-radius:5px;margin-top:14px;overflow:hidden}.resource-meter i{display:block;height:100%;background:#6f94b6;border-radius:5px}
.toast{position:fixed;z-index:50;right:24px;bottom:24px;max-width:600px;padding:16px 22px;border:1px solid #a8bed2;border-radius:10px;background:#e4eef7f5;box-shadow:0 10px 40px #354c6412;color:#345572;font-size:17px;line-height:1.6}

/* AHU controls occupy a toolbar; detailed parameters stay out of the model view. */
.ahu-toolbar{position:absolute;top:var(--gutter);left:calc(var(--left) + 32px);right:var(--gutter);display:flex;gap:12px;align-items:center;z-index:6}.ahu-toolbar button{min-height:44px;padding:8px 14px;border:1px solid #afc1d2;border-radius:7px;background:#eaf1f7;color:#355674;font-size:17px;white-space:nowrap}.ahu-toolbar button.active{background:#41678d;color:#fff;border-color:#41678d}.ahu-modes{display:flex;gap:3px;padding:3px;border:1px solid #afc1d2;border-radius:9px}.ahu-modes button{border:0;min-height:38px}.ahu-toolbar>#ahu-airflow{margin-left:auto}.ahu-note{position:absolute;left:calc(var(--left) + 32px);top:calc(var(--gutter) + 67px);right:24px;color:#526c83;font-size:15px;z-index:5;pointer-events:none}#ahu-dialog{height:min(690px,calc(100vh - 48px));width:min(900px,calc(100vw - 48px))}#ahu-dialog[open]{display:flex;flex-direction:column}.ahu-dialog-note{margin:0 0 18px;color:#526c83;font-size:16px;line-height:1.6}.ahu-parameter-body{overflow:auto;display:grid;grid-template-columns:1fr 1fr;gap:24px 30px;min-height:0}.ahu-parameter-body section{min-width:0;border-top:1px solid var(--line);padding-top:16px}.ahu-parameter-body h3{font-size:19px;margin:0 0 12px}.ahu-range{display:grid;grid-template-columns:1fr auto;gap:5px;margin:14px 0;font-size:17px}.ahu-range output{font-variant-numeric:tabular-nums;color:#355674}.ahu-range input{grid-column:1/-1;width:100%;height:26px;accent-color:#527ca5;touch-action:pan-y}.ahu-select{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:16px;font-size:17px}.ahu-select select{max-width:200px;padding:8px;border:1px solid #afc1d2;background:#f0f5f9;border-radius:6px;color:#355674;font-size:16px;min-height:44px}.ahu-check{display:flex;align-items:center;gap:10px;margin:20px 0;font-size:16px}.ahu-check input{width:20px;height:20px;accent-color:#527ca5}.ahu-focus-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.ahu-alarm-read{font-size:16px;color:#96534a;margin-top:16px}
.equipment-tabs{position:absolute;top:var(--gutter);left:calc(var(--left) + 32px);right:var(--gutter);z-index:6;display:flex;align-items:center;gap:4px;padding:3px;width:max-content;max-width:calc(100% - var(--left) - 56px);border:1px solid #adbed0;border-radius:9px;background:#e7eff6}.equipment-tabs button{min-height:42px;border:0;border-radius:6px;padding:8px 12px;font-size:16px;color:#395d7f;background:transparent;white-space:nowrap}.equipment-tabs button.active{background:#41678d;color:#fff}.exhaust-tabs{gap:12px}.exhaust-tabs>div{display:flex;gap:3px;border-right:1px solid var(--line);padding-right:12px}.ef-actions{position:absolute;right:var(--gutter);bottom:calc(var(--bottom) + 24px);z-index:5;display:flex;gap:10px}.equipment-inline-state{font-size:16px;min-height:24px;color:#526578;margin:12px 0}.special-info .reading-cell strong{font-size:32px}.special-info .equipment-subtitle{margin:10px 0}.special-info .reading-grid{padding:16px 0;gap:14px}.special-info .control-group{margin-top:16px}.special-info .control-buttons{gap:8px}.special-info select{min-height:40px;border:1px solid #aebfd0;border-radius:6px;padding:6px 9px;font-size:16px;background:#edf3f8}.special-info .range-control{grid-template-columns:70px minmax(0,1fr) auto}.equipment-scenario{display:flex;justify-content:space-between;align-items:center;margin-top:16px;font-size:16px}.equipment-local-alarms p{font-size:15px;line-height:1.5;margin:6px 0;color:#a14e3e}body[data-page=fumehood] .fume-state{top:calc(var(--gutter) + 68px)}


/* With appearance tuning removed, inspection uses the full dialog width. */
.ahu-parameter-body>section:last-child{grid-column:1/-1}.ahu-parameter-body .ahu-focus-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
#ahu-dialog::backdrop{backdrop-filter:none;background:#273d5147}
.ahu-parameter-body{overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;scroll-behavior:auto;contain:layout paint;-webkit-overflow-scrolling:touch}

.ahu-parameter-body .ahu-range input{margin:0}

/* Complete page architecture: shared canvas is mounted into each design's visual sheet. */
:root{--accent:#0088b5;--accent-deep:#006c94;--ink:#253c49;--muted:#5b6d77;--line:#cad8df;--paper:#fff;--surface:#fff;--surface-2:#f0f5f7;--tint:#e5f4fa;--plot-a:#0081af;--plot-b:#a56620;--radius:2px;--control-radius:3px;--header:68px;--nav:164px;--gutter:20px;--shadow:none}
.topbar{position:fixed;inset:0 0 auto;height:var(--header);display:grid;grid-template-columns:minmax(220px,1fr) auto auto auto;align-items:center;gap:18px;padding:0 20px;border-bottom:1px solid var(--line);background:#fff;z-index:20}.brand-logo{width:250px;height:36px;object-fit:contain}.brand{min-width:0}.alarm-counters{display:flex;gap:6px}.counter{display:flex;gap:6px;align-items:center;border:0;border-left:1px solid var(--line);height:40px;padding:0 12px;background:none}.counter strong{font-size:26px;font-weight:600;font-variant-numeric:tabular-nums}.counter span{font-size:16px;color:var(--muted)}.critical{color:#b33e31}.warning{color:#926715}.notice{color:#386f8b}.clock{display:flex;align-items:flex-end;flex-direction:column;white-space:nowrap}.clock span{font-size:14px;color:var(--muted)}.clock strong{font-size:24px;line-height:1.2;font-variant-numeric:tabular-nums}.top-actions{display:flex;gap:3px;align-items:center}.icon-button{width:44px;height:44px;display:grid;place-items:center;background:none;border:0;color:var(--accent-deep);padding:0}.theme-button{font-size:16px;min-height:44px;padding:8px 12px;background:var(--tint);color:var(--accent-deep);border:1px solid var(--line);margin-right:8px;white-space:nowrap}.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap!important}
.sidebar{position:fixed;top:var(--header);bottom:0;left:0;width:var(--nav);background:#f2f6f8;border-right:1px solid var(--line);z-index:15}#nav-items{display:flex;flex-direction:column;padding-top:30px;height:100%;overflow:auto}.nav-button{position:relative;display:grid;grid-template-columns:24px 1fr;align-items:center;gap:10px;text-align:left;width:100%;min-height:78px;padding:12px 16px;border:0;border-bottom:1px solid var(--line);background:none;font-size:18px;color:var(--muted)}.nav-index{position:absolute;right:10px;top:4px;font-size:11px;color:#84959f}.nav-button.active{color:var(--accent-deep);background:#fff;border-right:4px solid var(--accent)}.nav-button:hover{background:var(--tint)}
#workspace{position:fixed;left:var(--nav);top:var(--header);right:0;bottom:0;overflow:hidden}#page-content{width:100%;height:100%}.scene-layout{height:100%;display:grid;grid-template-columns:minmax(0,1fr) 320px;grid-template-rows:72px minmax(0,1fr) 84px;grid-template-areas:'head head' 'visual info' 'foot info';gap:16px;padding:18px 20px}.page-masthead{grid-area:head;display:flex;gap:18px;align-items:center;border-bottom:2px solid var(--accent);padding:0 0 12px;min-width:0}.chapter-number{font-size:48px;line-height:1;color:var(--accent);font-weight:500;letter-spacing:-2px;font-variant-numeric:tabular-nums}.eyebrow{font-size:12px;letter-spacing:1.4px;line-height:1.4;margin:0 0 4px;color:var(--accent-deep)}.page-title{margin:0;font-size:28px;line-height:1.3;font-weight:600;white-space:nowrap}.masthead-context{margin-left:auto;display:flex;gap:8px;align-items:flex-end;flex-direction:column;font-size:14px;color:var(--muted)}.mode-label{display:inline-flex;align-items:center;white-space:nowrap;border:1px solid #d4b772;background:#fbf6e8;color:#80601b;padding:3px 8px;font-size:14px;font-weight:500;vertical-align:middle;letter-spacing:0}
.control-sheet{grid-area:info;overflow:auto;min-height:0;scrollbar-width:thin;border-left:1px solid var(--line);padding-left:18px}.overview-info,.equipment-info{width:100%;height:100%;min-width:0}.visual-sheet{grid-area:visual;min-width:0;min-height:0;display:flex;flex-direction:column;background:linear-gradient(150deg,#fff,#f1f6f8);border:1px solid var(--line)}.visual-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:8px 10px;border-bottom:1px solid var(--line);flex:none;background:#fff;min-height:60px}.model-mount{position:relative;flex:1;min-height:0;min-width:0}#model-stage{position:absolute;inset:0;overflow:hidden;touch-action:none}#model-stage canvas{display:block;width:100%;height:100%;outline:none}.model-message{position:absolute;inset:0;display:grid;place-content:center;font-size:17px;color:var(--muted);z-index:1;pointer-events:none}.model-toolbar{position:absolute;right:10px;bottom:10px;display:flex;gap:5px;z-index:3}.model-toolbar .icon-button{background:#fffffff0;border:1px solid var(--line)}.model-caption{position:absolute;left:12px;bottom:20px;font-size:13px;color:var(--muted);max-width:calc(100% - 220px)}.pill-button{min-height:40px;padding:7px 10px;border:1px solid var(--line);background:#fffffff0;font-size:14px;color:var(--ink)}
.event-strip{grid-area:foot;min-height:0;border-top:1px solid var(--line);overflow:hidden}.overview-bottom{display:flex;gap:20px;align-items:center;height:100%;padding:8px 0}.overview-bottom>div:last-child{flex:1;min-width:0}.overview-bottom h3{margin:0 0 4px;font-size:16px;display:flex;align-items:center;gap:8px}.overview-bottom h3 svg{width:18px;height:18px}.alarm-feed{display:grid;gap:2px}.alarm-feed p{margin:0;font-size:14px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.alarm-feed svg{width:15px;height:15px;display:inline;vertical-align:middle;margin-right:8px}.alarm-feed .alert{color:#b33e31}.overview-bottom .equipment-summary{display:none}
.panel-heading{display:flex;gap:10px;align-items:center;margin:0 0 12px}.panel-heading h3{margin:0;font-size:19px;font-weight:600}.panel-heading>svg{width:20px;height:20px;margin-left:auto;color:var(--accent)}.section-no{font-size:13px;display:grid;place-items:center;width:24px;height:24px;background:var(--accent);color:#fff;flex:none}.climate-card{border:0;background:none}.climate-header{border:1px solid var(--line);border-left:3px solid var(--accent);padding:0 8px;margin-bottom:12px}.room-select{width:100%;max-width:100%;height:44px;padding:5px 20px 5px 0;border:0;background:transparent;color:var(--ink);font-size:17px;font-weight:500;text-overflow:ellipsis}.climate-readings{display:grid;grid-template-columns:1fr 1fr;gap:10px;border-bottom:1px solid var(--line);padding-bottom:14px}.climate-reading{font-size:44px;line-height:1.25;letter-spacing:-1px;white-space:nowrap;font-variant-numeric:tabular-nums}.reading-label{display:block;letter-spacing:0;font-size:15px;color:var(--muted);margin-bottom:8px;white-space:nowrap}.climate-reading small{font-size:16px;letter-spacing:0;color:var(--muted);margin-left:2px}.chart-labels{display:flex;justify-content:space-between;font-size:14px;color:var(--muted);margin-top:16px}.sparkline{width:100%;height:58px;margin:6px 0 12px}.sparkline path{stroke-width:2.5;fill:none;vector-effect:non-scaling-stroke;stroke-linecap:round}.climate-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;border-top:1px solid var(--line);padding-top:8px}.climate-stats small,.climate-stats time{display:block;font-size:13px;color:var(--muted)}.climate-stats strong{display:block;font-size:19px;white-space:nowrap;font-weight:500}.climate-stats>div:nth-child(2){text-align:center}.climate-stats>div:last-child{text-align:right}.climate-foot{display:flex;justify-content:space-between;align-items:center;gap:5px;margin-top:8px;font-size:13px;color:var(--muted)}.metric-tabs{display:flex}.metric-tabs button{padding:7px 8px;min-height:40px;border:0;background:none;font-size:15px}.metric-tabs button.active{background:var(--tint);color:var(--accent-deep)}
.operation-panel{margin-top:24px;border-top:2px solid var(--accent);padding-top:14px}.equipment-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.equipment-tile{min-width:0;padding:9px 5px;border:1px solid var(--line);background:var(--surface-2);display:flex;flex-direction:column;gap:6px;align-items:center;text-align:center}.equipment-tile span{min-width:0}.equipment-tile small,.equipment-tile strong{display:block;font-size:14px;white-space:nowrap}.equipment-tile strong{font-weight:600}.status-ring{color:var(--accent);display:block}.status-ring svg{width:24px;height:24px}.mini-stats{display:flex;gap:20px;justify-content:space-between;border-top:1px solid var(--line);padding-top:12px;margin-top:14px}.mini-stat{display:flex;flex-direction:column}.mini-stat strong{font-size:24px;line-height:1.2;font-weight:500}.mini-stat small{font-size:13px;color:var(--muted)}
.info-line{display:flex;justify-content:space-between;gap:8px;font-size:16px;padding:0 0 12px;border-bottom:1px solid var(--line)}.info-line span{color:var(--muted)}.equipment-subtitle{font-size:14px;color:var(--muted);margin:10px 0}.equipment-status{display:flex;align-items:center;gap:8px;color:#237052;font-size:17px}.equipment-status i{width:8px;height:8px;border-radius:50%;background:currentColor}.reading-grid{display:grid;grid-template-columns:1fr 1fr;margin:16px 0;gap:0;border-top:1px solid var(--line);border-left:1px solid var(--line)}.reading-cell{padding:14px 10px;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.reading-cell small{display:block;font-size:15px;color:var(--muted)}.reading-cell strong{display:flex;gap:5px;align-items:baseline;font-size:34px;font-weight:500;line-height:1.3;white-space:nowrap}.reading-cell em{font-size:15px;font-style:normal;color:var(--muted)}.control-group{margin-top:20px;min-width:0}.control-group h3{font-size:18px;margin:0 0 10px}.control-buttons{display:flex;flex-wrap:wrap;gap:8px}.control-button,.secondary-button,.primary-button,.ack-button{min-height:44px;padding:8px 14px;border:1px solid var(--line);border-radius:var(--control-radius);background:var(--surface);font-size:17px;white-space:nowrap}.primary-button,.control-button.active{background:var(--accent);border-color:var(--accent);color:#fff}.control-button.warn{color:#996b14;border-color:#d1b677}.control-button.warn.active{background:#996b14;color:white}.control-note{font-size:14px;color:var(--muted);line-height:1.7;margin:10px 0}.range-control{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;margin:14px 0;font-size:16px}.range-control input{width:100%;min-width:0;accent-color:var(--accent)}.range-control output{white-space:nowrap}
.overview-models,.scene-switch{display:flex;gap:2px}.scene-switch{margin-left:auto}.overview-models button,.scene-switch button{min-height:42px;padding:8px 12px;font-size:16px;border:1px solid var(--line);background:white;color:var(--muted)}.overview-models button.active,.scene-switch button.active{background:var(--accent);color:white;border-color:var(--accent)}.fume-state{padding:8px 12px;background:var(--tint);font-size:15px}.title-group{display:flex;gap:10px;align-items:center}.section-heading{font-size:19px}.page-heading{border-bottom:2px solid var(--accent);padding-bottom:12px;min-height:74px}.page-heading p{font-size:15px}.table-container{border-radius:var(--radius)}th,td{padding:12px 16px}.tag{display:inline-block;padding:3px 8px;background:var(--tint);font-size:14px}.tag.demo{background:#fbf0d6;color:#80601b}tbody tr:nth-child(even){background:var(--surface-2)}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--accent)}button:active:not(:disabled){background-color:var(--tint)!important;color:var(--ink)!important}
/* Model controls now live inside the visual sheet rather than floating over the page. */
.ahu-toolbar,.ahu-note,.equipment-tabs,.ef-actions{position:static;inset:auto;max-width:100%;width:auto}.ahu-toolbar{flex-wrap:wrap;gap:7px;flex:1}.ahu-toolbar button,.equipment-tabs button{font-size:15px;padding:8px 10px;border-radius:var(--control-radius);background:#fff;color:var(--ink);border-color:var(--line)}.ahu-toolbar button.active,.equipment-tabs button.active{background:var(--accent);border-color:var(--accent);color:white}.ahu-modes,.equipment-tabs{border-radius:var(--control-radius);background:#fff;border-color:var(--line)}.ahu-toolbar>#ahu-airflow{margin-left:auto}.ahu-note{width:100%;font-size:13px;color:var(--muted)}.ef-actions{display:flex;gap:8px;margin-left:auto}.ahu-range input,.ahu-check input{accent-color:var(--accent)}.special-info .reading-cell strong{font-size:30px}.special-info .reading-grid{padding:0;gap:0}.special-info .equipment-subtitle{font-size:14px}.special-info select,.ahu-select select{background:#fff;border-color:var(--line);color:var(--ink)}.equipment-inline-state,.ahu-dialog-note,.ahu-range output{color:var(--muted)}.equipment-scenario{gap:10px}.equipment-local-alarms p{color:#a13b2e}.equipment-tabs{flex-wrap:wrap}.ef-actions button{font-size:15px}body[data-model-ready=false] #save-default-camera{opacity:.45;pointer-events:none}
@media(min-width:1600px){:root{--header:76px;--nav:184px;--gutter:28px}.scene-layout{grid-template-columns:minmax(0,1fr) 370px;grid-template-rows:84px minmax(0,1fr) 90px;padding:24px 28px;gap:22px}.brand-logo{width:300px;height:42px}.nav-button{min-height:92px}.page-title{font-size:32px}.climate-reading{font-size:54px}.sparkline{height:90px}.control-sheet{padding-left:24px}.operation-panel{margin-top:30px}.equipment-tile{padding:14px 8px}.full-page{padding:24px 28px}.reading-cell{padding:20px 14px}.reading-cell strong{font-size:42px}}

/* Live log and trend workspaces use available height, with independent table scroll. */
.telemetry-page{gap:12px}.telemetry-page .page-heading{min-height:62px;align-items:center;gap:12px}.telemetry-page .eyebrow{font-size:13px;letter-spacing:1.5px;margin-bottom:4px}
.telemetry-page .page-title{display:flex;gap:14px;align-items:center}
.telemetry-page .page-heading{align-items:flex-start}
.telemetry-page .page-heading>div:first-child{display:flex;flex-direction:column}
.telemetry-page .page-title{order:-1}
.telemetry-page .eyebrow{margin:6px 0 0}
.logger-status{display:grid;grid-template-columns:1.15fr .7fr 1fr;gap:20px;align-items:center;padding:12px 16px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);font-size:16px;min-height:74px;flex:none}
.logger-status>div{min-width:0}.logger-status small{display:block;color:var(--muted);font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.logger-state{display:grid;grid-template-columns:8px 1fr;column-gap:10px}.logger-state i{width:7px;height:7px;background:#2b8162;border-radius:50%;margin-top:9px}.logger-state span{grid-column:2;color:var(--muted);font-size:14px}.logger-state.is-error i{background:#ba4735}.logger-state.is-error strong{color:#a13b2e}
.logger-status meter{display:block;width:100%;height:8px;margin-top:6px;accent-color:var(--accent)}
.telemetry-filters{display:grid;grid-template-columns:1fr 1fr 140px 210px auto;gap:10px;align-items:end;flex:none}
.telemetry-filters label{display:flex;flex-direction:column;gap:5px;min-width:0;color:var(--muted);font-size:14px}
.telemetry-filters select,.telemetry-filters input{width:100%;height:44px;min-width:0;border:1px solid var(--line);border-radius:var(--control-radius);background:var(--surface);padding:8px;color:var(--ink);font-size:16px}
.record-actions{display:flex;align-items:center;gap:10px;flex:none}.record-actions .table-summary{margin-right:auto;max-width:60%;font-size:14px}
.trend-metrics{display:grid;grid-template-columns:1fr 1fr;gap:12px;flex:none}
.trend-metric{display:grid;grid-template-columns:1fr auto;gap:3px 14px;padding:10px 14px;border:1px solid var(--line);border-left:4px solid var(--plot-a);background:var(--surface);border-radius:var(--radius);font-size:16px}
.trend-metric.metric-1{border-left-color:var(--plot-b)}.trend-metric strong{grid-row:1/3;grid-column:2;font-size:32px;line-height:1.2;text-align:right;font-weight:600}.trend-metric small{display:block;color:var(--muted);font-size:13px;font-weight:500}.trend-metric>span:first-child small{display:inline;margin-left:8px}.trend-metric>span:last-child{color:var(--muted);font-size:14px}.trend-metric>span:last-child small{display:inline;margin-left:10px}
.history-plots{display:grid;grid-template-rows:1fr 1fr;gap:10px;flex:1;min-height:0}
.history-plot{display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:10px 14px 6px;min-height:0;overflow:hidden}
.plot-heading{display:flex;justify-content:space-between;gap:10px;flex:none;font-size:16px}.plot-heading span{color:var(--muted);font-size:13px}
.history-chart{flex:1;min-height:70px;width:100%;touch-action:none}.history-chart .axis{font:14px PanelSC,sans-serif;fill:var(--muted)}.history-chart .grid{stroke:var(--line);stroke-width:1;stroke-dasharray:3 4}.series-0{--series:var(--plot-a)}.series-1{--series:var(--plot-b)}.mean-line{stroke:var(--series);fill:none;stroke-width:2;vector-effect:non-scaling-stroke}.range-band{fill:var(--series);fill-opacity:.15;stroke:none}.sample-dot{fill:var(--series)}.crosshair{stroke:var(--ink);stroke-dasharray:4 3;vector-effect:non-scaling-stroke}.plot-inspect{font-size:13px;line-height:20px;color:var(--muted);height:20px;flex:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.point-picker-head{display:flex;gap:10px;align-items:center}.point-picker-head h3{margin-right:auto}.point-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:12px}.point-grid label,.record-all{display:flex;align-items:center;gap:8px;min-height:44px;padding:8px;background:var(--surface);border:1px solid var(--line);border-radius:var(--control-radius);font-size:16px}.point-grid small{color:var(--muted);margin-left:auto}.point-grid input,.record-all input{width:20px;height:20px;accent-color:var(--accent);flex:none}
@media(min-width:1600px){.telemetry-filters{grid-template-columns:1fr 1fr 170px 250px auto}.telemetry-page{gap:18px}.history-plot{padding:16px 20px 12px}.history-chart .axis{font-size:16px}.logger-status{padding:16px 20px}.trend-metric{padding:16px 20px}.theme-button{font-size:17px}}
@media(max-width:1150px){.topbar{gap:8px;grid-template-columns:minmax(150px,1fr) auto auto auto}.theme-button{min-width:125px;font-size:14px}.telemetry-filters{grid-template-columns:1fr 1fr 130px 180px auto}.logger-status{gap:12px}.clock{min-width:130px}.record-actions{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}

.channel-caption{display:none}

/* Bosen HMI composition. Shared screen rules are in unified.css. */


[data-theme=bosen]{--ink:#303c45;--muted:#63727b;--line:#cdd4d8;--paper:#f0f2f3;--surface:#fff;--surface-2:#f2f5f6;--accent:#008bc4;--accent-deep:#006c98;--tint:#e5f3f9;--plot-a:#007aa9;--plot-b:#ba6b22;--radius:0px;--control-radius:2px;--header:64px;--nav:178px}
[data-theme=bosen] button{box-shadow:none}
[data-theme=bosen] .brand-logo{width:200px;height:30px}
[data-theme=bosen] .topbar{gap:10px;padding:0 18px;grid-template-columns:minmax(150px,1fr) auto auto auto}
[data-theme=bosen] .counter{padding:0 9px;border:0;height:40px}
[data-theme=bosen] .counter span{font-size:14px}
[data-theme=bosen] .counter strong{font-size:24px}
[data-theme=bosen] .clock span{font-size:14px}
[data-theme=bosen] .clock strong{font-size:23px}
[data-theme=bosen] .nav-index{display:none}
[data-theme=bosen] .nav-button{min-height:64px;font-size:18px}









[data-theme=bosen]{--nav:0px;--header:138px;--paper:#fff;--accent:#3199c8;--accent-deep:#1976a0;--tint:#e8f4f9;--line:#d3dde1}
[data-theme=bosen] .topbar{height:60px;border-bottom:1px solid #e5eaee;background:white}
[data-theme=bosen] .sidebar{top:60px;bottom:auto;width:100%;height:78px;background:white;border:0;border-bottom:1px solid var(--line)}
[data-theme=bosen] #nav-items{flex-direction:row;height:100%;padding:0 24px;gap:10px;overflow:hidden}
[data-theme=bosen] .nav-button{flex:1;display:flex;flex-direction:column;justify-content:center;gap:3px;min-width:0;min-height:72px;width:auto;text-align:center;border:0;border-bottom:3px solid transparent;font-size:17px;padding:4px 10px;background:white}
[data-theme=bosen] .nav-button.active{border-bottom-color:#3199c8;color:#1684b5}
[data-theme=bosen] .nav-button svg{width:27px;height:27px}
.brand-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;min-height:84px;padding:14px 24px;border-bottom:1px solid var(--line);flex:none;background:#fff}
.brand-heading p{font-size:14px;color:var(--muted);margin:0 0 3px;letter-spacing:.3px}
.brand-heading h2{font-size:28px;margin:0;line-height:1.3;font-weight:600}
.brand-heading-tools{display:flex;align-items:center;gap:18px}
.brand-source{font-size:14px;color:#8c681d;background:#faf5e8;padding:5px 8px;white-space:nowrap}
.brand-heading button,.brand-context select,.brand-context button,.process-context select,.process-context button,.brand-alarm-filter button{min-height:44px;background:#fff;border:1px solid var(--line);border-radius:2px;padding:7px 13px;font-size:17px}
.brand-segments{display:flex;gap:0}
.brand-segments button{border:0;background:none;border-bottom:3px solid transparent;min-height:44px;padding:7px 15px;font-size:17px;color:var(--muted)}
.brand-segments button.active{border-bottom-color:var(--accent);color:var(--accent-deep)}
.brand-overview{height:100%;display:flex;flex-direction:column;min-height:0}
.brand-context{display:flex;align-items:center;gap:24px;padding:10px 24px;min-height:64px;background:#e2e6e8;font-size:17px}
.brand-context label{margin-left:auto;display:flex;align-items:center;gap:12px}
.brand-sample{font-size:14px;color:var(--muted);white-space:nowrap}
.brand-overview-body{flex:1;min-height:0;display:grid;grid-template-columns:148px minmax(0,1fr) 266px;gap:0;padding:18px 20px;background:#f0f2f3}






.brand-room-main{min-width:0;min-height:0;display:flex;flex-direction:column;margin:0 18px;background:#fff}
.room-table-heading,.brand-room-row{display:grid;grid-template-columns:minmax(150px,1fr) 78px 90px 72px;gap:8px;align-items:center;text-align:left}
.room-table-heading{font-size:14px;padding:12px 14px;color:var(--muted);background:#e5eaed;border-bottom:1px solid var(--line)}
.brand-room-list{overflow:auto;min-height:0;flex:1}
.brand-room-row{width:100%;border:0;border-bottom:1px solid #dde4e7;border-left:4px solid transparent;background:white;padding:14px 10px;min-height:76px}
.brand-room-row>span{display:flex;flex-direction:column;min-width:0;font-size:16px;line-height:1.45}.brand-room-row>span b{color:var(--muted);font-size:14px;font-weight:500}.brand-room-row>span span{overflow-wrap:anywhere}
.brand-room-row strong{font-size:25px;font-weight:500;font-variant-numeric:tabular-nums;white-space:nowrap}
.brand-room-row small{font-size:14px;color:#38826f}
.brand-room-row.selected{background:#eaf7fc;border-left-color:var(--accent)}
.brand-room-row[data-quality=unknown] small{color:#927345}
.brand-room-detail{background:#e0e6e9;min-height:0;padding:22px 20px;overflow:auto}
.detail-kicker{font-size:14px;color:var(--muted);letter-spacing:.5px}
.brand-room-detail h3{font-size:22px;line-height:1.5;margin:12px 0 24px}
.brand-room-values{display:flex;gap:24px;border-bottom:1px solid #bdcbd2;padding-bottom:20px}
.brand-room-values div{display:flex;flex-direction:column}.brand-room-values span{font-size:15px;color:var(--muted)}.brand-room-values strong{font-size:38px;font-weight:500;color:#257d9f;line-height:1.6;font-variant-numeric:tabular-nums}.brand-room-values small{font-size:15px;color:var(--muted)}
.room-limits{font-size:16px;line-height:1.9;padding:18px 0;border-bottom:1px solid #bdcbd2}.room-limits>span{font-size:14px;color:var(--muted)}
.brand-room-detail p{font-size:14px;line-height:1.8;color:var(--muted)}
.room-detail-actions{display:flex;flex-direction:column;gap:12px;margin-top:24px}
.room-detail-actions button{display:flex;align-items:center;justify-content:center;gap:12px;border:1px solid #b4c6d0;background:#f6fafc;font-size:17px;min-height:46px}
.room-detail-actions .primary-button{background:var(--accent);color:white;border-color:var(--accent)}
.brand-overview-footer{min-height:60px;background:#e1e7ea;display:flex;align-items:center;gap:24px;padding:8px 24px;font-size:15px}.brand-overview-footer>b{font-size:22px}.brand-overview-footer button{border:0;border-left:1px solid #a9bac4;background:none;color:var(--accent-deep);padding:6px 20px;min-height:44px;font-size:17px}.brand-event-text{margin-left:auto;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:40%}
.brand-model-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:8px;font-size:16px}.brand-model-tools select{max-width:220px;min-height:42px;font-size:16px;border:1px solid var(--line);background:white}.brand-room-main>.model-mount{min-height:120px}
.ae-overview .brand-context{background:white;border-bottom:1px solid var(--line)}
.ae-overview .brand-overview-body{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) 108px;background:#fff;padding:0 26px;gap:14px}
.ae-overview .brand-room-main{margin:0}.ae-overview .brand-room-row{min-height:61px;grid-template-columns:minmax(260px,1fr) 180px 180px 140px;padding:10px 20px}
.ae-overview .room-table-heading{grid-template-columns:minmax(260px,1fr) 180px 180px 140px;padding:10px 24px;background:#edf4f3}
.ae-overview .brand-room-row>span{flex-direction:row;align-items:center;gap:24px;font-size:18px}.ae-overview .brand-room-row>span b{font-size:17px;color:var(--muted)}
.ae-overview .brand-room-row.selected{border-left-color:#5eb291;background:#e9f5ef}.ae-overview .brand-room-row strong{font-size:26px}
.ae-overview .brand-room-detail{display:grid;grid-template-columns:minmax(200px,1fr) 260px 230px 190px;align-items:center;gap:24px;padding:12px 24px;background:#ecf2f5;overflow:hidden;border-top:1px solid #ccd9df}
.ae-overview .detail-kicker,.ae-overview .brand-room-detail p{display:none}.ae-overview .brand-room-detail h3{margin:0;font-size:22px}.ae-overview .brand-room-values{padding:0;border:0;gap:30px}.ae-overview .brand-room-values strong{font-size:32px;line-height:1.25}.ae-overview .brand-room-values small{font-size:14px}.ae-overview .room-limits{padding:0;border:0;font-size:15px}.ae-overview .room-detail-actions{margin:0;gap:5px}.ae-overview .room-detail-actions button{min-height:40px;font-size:16px}.ae-overview .brand-overview-footer{background:white;min-height:42px;font-size:14px;padding-block:0}.ae-overview .brand-overview-footer button{font-size:16px}
/* Equipment uses the original model and telemetry, with a dedicated operation surface. */
[data-theme=bosen] .brand-equipment .chapter-number{display:none}
[data-theme=bosen] .brand-equipment .reading-grid{border:0;gap:0;margin:18px 0}
[data-theme=bosen] .brand-equipment .reading-cell{border:0;border-bottom:1px solid var(--line);padding:12px 0}
[data-theme=bosen] .brand-equipment .equipment-tile{border:0;background:none;flex-direction:row;text-align:left}
[data-theme=bosen] .brand-equipment .visual-sheet{border:0;background:#f2f5f6}
[data-theme=bosen] .brand-equipment .visual-body{display:flex;flex:1;min-height:0;position:relative}
[data-theme=bosen] .brand-equipment .room-directory{display:none}
[data-theme=bosen] .brand-equipment .visual-toolbar>button{min-height:44px;padding:8px 12px;border:1px solid var(--line);background:white;font-size:16px}



.brand-command{display:grid;gap:18px;border-top:1px solid #bfccd3;padding-top:18px}
.command-object{display:flex;flex-direction:column;gap:4px}.command-object span,.command-running>span,.command-frequency{font-size:15px;color:var(--muted)}.command-object b{font-size:20px}.command-object small{font-size:14px;color:#9b7022}
.command-running>div{display:flex;gap:0;margin-top:8px}.command-running button{flex:1;min-height:44px;border:1px solid #c1cdd4;background:white;font-size:17px}.command-running button.active{background:var(--accent);color:white;border-color:var(--accent)}
.command-frequency{display:flex;align-items:center;justify-content:space-between;gap:12px}.command-frequency input{width:90px;height:48px;font-size:24px;text-align:center;border:1px solid #b0c2cd;background:white}
.command-send{display:flex;gap:12px}.command-send button{flex:1;min-height:44px;border:1px solid #b0c2cd;font-size:17px;background:white}.command-send button.primary-button{background:var(--accent);color:white;border-color:var(--accent)}
.command-feedback{font-size:14px;color:var(--muted);line-height:1.6;margin:0;min-height:23px}
[data-theme=bosen] .brand-equipment{grid-template-columns:304px minmax(0,1fr);grid-template-rows:62px minmax(0,1fr) 108px;grid-template-areas:'head head' 'info visual' 'command command';gap:12px 24px;padding:12px 26px 16px}
[data-theme=bosen] .brand-equipment .page-masthead{border:0;padding:0}
[data-theme=bosen] .brand-equipment .control-sheet{border:0;padding:10px 18px 0 0}
[data-theme=bosen] .brand-equipment .event-strip{display:none}
[data-theme=bosen] .brand-command-mount{grid-area:command;background:#edf3f6;min-width:0}
[data-theme=bosen] .brand-command{display:grid;grid-template-columns:200px 220px 220px minmax(200px,1fr);grid-template-rows:62px 23px;gap:4px 26px;padding:10px 24px;border:0;align-items:center}
[data-theme=bosen] .command-running>div{margin:3px 0 0}
[data-theme=bosen] .command-frequency{display:flex;flex-direction:row;font-size:15px}
[data-theme=bosen] .command-feedback{grid-column:2/-1}
[data-theme=bosen] body[data-page=fumehood] .brand-equipment{grid-template-rows:62px minmax(0,1fr) 0}
.brand-dialog{width:560px;height:fit-content;max-height:calc(100vh - 64px);padding:28px;overflow:auto;border:1px solid #aebfc9}
.brand-dialog h2{margin:0;font-size:26px}.brand-dialog-body{font-size:18px;line-height:1.8;margin:24px 0}.brand-dialog dl{display:grid;grid-template-columns:100px 1fr;gap:14px}.brand-dialog dd{margin:0}.brand-dialog footer{display:flex;justify-content:flex-end;gap:16px;border-top:1px solid var(--line);padding-top:20px}.brand-dialog button{min-height:48px;padding:8px 22px;border:1px solid var(--line);background:white;font-size:18px}.brand-dialog .primary-button{background:var(--accent);color:white}
/* Process drawings are continuous ducts and equipment symbols, not a grid of cards. */
.brand-process{height:100%;display:flex;flex-direction:column;background:white}
.process-context{display:flex;align-items:center;gap:18px;padding:10px 24px;border-bottom:1px solid var(--line);min-height:64px;flex-wrap:wrap}
.process-context label{margin-left:auto;display:flex;align-items:center;gap:8px;font-size:16px}.process-context select{max-width:260px}.process-context .brand-sample{display:none}
.process-body{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) 252px;padding:20px 24px;gap:20px}
.process-drawing{display:flex;flex-direction:column;min-width:0;min-height:0}.process-legend{display:flex;align-items:center;gap:20px;color:var(--muted);font-size:14px}.process-legend span{display:flex;align-items:center;gap:6px}.process-legend i{width:24px;height:3px;background:#2497b5}.process-legend i.extract{background:#937477}.process-legend span:last-child{margin-left:auto}
#process-svg{flex:1;display:flex;align-items:center;min-height:0}.process-diagram{width:100%;max-height:100%;overflow:visible}
.duct{fill:none;stroke:#2597b6;stroke-width:4}.duct.return{stroke:#86aaa6;stroke-width:3}.duct.exhaust{stroke:#9a7e7c;stroke-width:3}
.part-hit{fill:#f2f7f8;stroke:#adbec6;stroke-width:1.5}.process-part g,.process-exhaust circle,.process-exhaust path{fill:none;stroke:#668a9d;stroke-width:2.3}
.process-part{cursor:pointer}.process-part.selected .part-hit,.process-exhaust.selected .part-hit{fill:#e6f6fb;stroke:#0591c8;stroke-width:3}.process-part:focus-visible .part-hit,.process-exhaust:focus-visible .part-hit{stroke:#005f95;stroke-width:4}
.process-part[data-process-part=cool] g{stroke:#249ac0}.process-part[data-process-part=heat] g{stroke:#c78042}.process-part[data-process-part=humid] g{stroke:#54a8b0}
.part-name{font:20px PanelSC,sans-serif;fill:#304852}.part-tag{font:11px Arial,sans-serif;letter-spacing:1px;fill:#6b7e88}.pipe-label{font:17px PanelSC,sans-serif;fill:#536c79}.process-reading{font:26px PanelSC,sans-serif;fill:#217599}.process-reading tspan{font-size:16px}.process-scope{font-size:14px;color:var(--muted);padding-top:10px}
#process-detail{border-left:1px solid var(--line);padding:16px 0 0 20px;overflow:auto}.process-detail-title>span{font-size:13px;letter-spacing:1px;color:var(--accent-deep)}.process-detail-title h3{font-size:23px;margin:6px 0 24px}.process-detail-values>div{padding:12px 0;border-bottom:1px solid var(--line)}.process-detail-values span{font-size:15px;color:var(--muted);display:block}.process-detail-values strong{font-size:32px;font-weight:500;white-space:nowrap}.process-detail-values small{font-size:16px}.process-detail-values>p{font-size:18px;color:#8d744c}.process-detail-note{font-size:15px;line-height:1.9;margin:22px 0;color:var(--muted)}.process-detail-actions button{display:block;border:0;background:none;color:var(--accent-deep);padding:10px 0;font-size:17px;min-height:44px;text-align:left}
.process-foot{margin:0 24px;padding:14px 0;border-top:1px solid var(--line)}.process-point-strip{display:flex;justify-content:space-between;gap:24px}.process-point-strip button{border:0;background:none;display:grid;grid-template-columns:auto auto;gap:2px 12px;text-align:left;align-items:baseline;min-height:60px}.process-point-strip span{grid-column:1/-1;font-size:16px;color:var(--muted)}.process-point-strip strong{font-size:29px;color:var(--accent-deep);font-weight:500}.process-point-strip small{font-size:15px;color:var(--muted)}.process-foot>p{font-size:14px;color:var(--muted);margin:8px 0 0}
.ae-process .process-body{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) 95px;padding-top:10px;gap:10px}.ae-process #process-detail{display:flex;align-items:center;gap:30px;border:0;border-top:1px solid var(--line);padding:10px 0;overflow:auto}.ae-process .process-detail-title{min-width:160px}.ae-process .process-detail-title h3{margin:4px 0}.ae-process .process-detail-values{display:flex;gap:30px}.ae-process .process-detail-values>div{border:0;padding:0;min-width:150px}.ae-process .process-detail-note{flex:1;margin:0;max-width:380px}.ae-process .process-detail-actions{margin-left:auto}.ae-process .process-detail-actions button{font-size:16px}.ae-process .process-foot{display:none}.ae-process .process-scope{padding:0}.ae-process .process-diagram{max-height:390px}
/* Alarm list/detail are separate working regions, with no per-field containers. */
.brand-alarms{height:100%;display:flex;flex-direction:column;background:#fff}.brand-alarm-filter{padding:10px 24px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);font-size:15px;color:var(--muted)}.brand-alarm-body{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:26px;padding:20px 24px}.brand-alarm-list{overflow:auto;min-width:0}.alarm-line{display:grid;grid-template-columns:180px minmax(0,1fr);gap:8px 20px;width:100%;border:0;border-bottom:1px solid var(--line);border-left:4px solid transparent;background:white;text-align:left;padding:18px 16px;min-height:90px}.alarm-line time{font-size:14px;color:var(--muted)}.alarm-line b{font-size:18px;font-weight:500}.alarm-line>span{grid-column:2;font-size:15px;color:var(--muted)}.alarm-line.selected{background:var(--tint);border-left-color:var(--accent)}.alarm-line.critical b{color:#b04b42}.alarm-line.warning b{color:#8c692e}#brand-alarm-detail{background:#eff3f5;padding:24px;overflow:auto}#brand-alarm-detail h3{font-size:23px;margin:14px 0 24px}#brand-alarm-detail dl{display:grid;grid-template-columns:60px minmax(0,1fr);gap:16px 10px;font-size:16px}#brand-alarm-detail dt{color:var(--muted)}#brand-alarm-detail dd{margin:0}#brand-alarm-detail>button{margin-top:28px;min-height:48px;width:100%}.brand-alarm-foot{padding:12px 24px;border-top:1px solid var(--line);font-size:14px;color:var(--muted)}.brand-empty{padding:60px 20px;text-align:center;color:var(--muted);font-size:18px}
[data-theme=bosen] .brand-alarm-body{grid-template-columns:330px minmax(0,1fr)}[data-theme=bosen] .brand-alarm-list{grid-column:2;grid-row:1}[data-theme=bosen] #brand-alarm-detail{grid-column:1;grid-row:1;background:#edf4f3}
@media(min-width:1600px){[data-theme=bosen]{--nav:208px;--header:76px}[data-theme=bosen]{--nav:0px;--header:158px}[data-theme=bosen] .topbar{height:72px}[data-theme=bosen] .sidebar{top:72px;height:86px}.brand-heading{min-height:98px;padding-inline:32px}.brand-heading h2{font-size:32px}.brand-overview-body{grid-template-columns:190px minmax(0,1fr) 336px;padding:24px 32px}.brand-room-row{min-height:92px;grid-template-columns:minmax(200px,1fr) 135px 140px 110px}.room-table-heading{grid-template-columns:minmax(200px,1fr) 135px 140px 110px}.brand-room-row>span{font-size:21px}.brand-room-row strong{font-size:32px}.brand-room-row small{font-size:17px}.brand-room-detail{padding:30px}.brand-room-detail h3{font-size:26px}.brand-room-values strong{font-size:48px}.brand-overview-footer{min-height:76px}.ae-overview .brand-overview-body{grid-template-rows:minmax(0,1fr) 124px}.ae-overview .brand-room-row{min-height:92px}.ae-overview .brand-room-detail{grid-template-columns:minmax(240px,1fr) 340px 300px 240px}.brand-equipment .page-title{font-size:32px}[data-theme=bosen] .brand-equipment{grid-template-columns:336px minmax(0,1fr);grid-template-rows:80px minmax(0,1fr) 124px;padding:24px 32px}.process-body{grid-template-columns:minmax(0,1fr) 320px;padding:28px 32px;gap:32px}.process-detail-note{font-size:18px}.process-detail-values strong{font-size:42px}.ae-process .process-diagram{max-height:630px}.ae-process .process-body{grid-template-rows:minmax(0,1fr) 120px}.recorder-body{grid-template-columns:320px minmax(0,1fr)}.ae-recorder .recorder-body{grid-template-columns:minmax(0,1fr) 320px}.recorder-paper .plot-inspect{font-size:16px}.recorder-paper .history-chart .axis{font-size:16px}.recorder-channels select{font-size:18px}.recorder-channels .channel-caption{font-size:16px}.recorder-channels .trend-metric strong{font-size:34px}.recorder-channels .trend-metric>span{font-size:16px}.brand-alarm-body{grid-template-columns:minmax(0,1fr) 400px}[data-theme=bosen] .brand-alarm-body{grid-template-columns:400px minmax(0,1fr)}}








.recorder-paper .plot-heading .channel-a,.recorder-channels .channel-a{color:var(--plot-a);border-bottom:3px solid var(--plot-a)}
.recorder-paper .plot-heading .channel-b,.recorder-channels .channel-b{color:var(--plot-b);border-bottom:3px solid var(--plot-b)}

/* User direction: every main navigation stays on the left, including AE. */
[data-theme=bosen]{--nav:104px;--header:64px}
[data-theme=bosen] .topbar{height:64px}
[data-theme=bosen] .sidebar{top:64px;left:0;bottom:0;height:auto;width:104px;border-right:1px solid var(--line)}
[data-theme=bosen] #nav-items{flex-direction:column;padding:10px 0;gap:0;overflow:auto}
[data-theme=bosen] .nav-button{display:flex;flex-direction:column;justify-content:center;align-items:center;flex:none;width:100%;min-height:76px;gap:6px;padding:8px 0;font-size:17px;border:0;border-left:3px solid transparent}
[data-theme=bosen] .nav-button svg{width:24px;height:24px}
[data-theme=bosen] .nav-button[data-page=records]{margin:0}

[data-theme=bosen] .sidebar{background:#fafcfd}
[data-theme=bosen] .nav-button{background:transparent;color:#677d88}
[data-theme=bosen] .nav-button.active{background:#eaf5fa;border-left:3px solid #279cca;color:#177ca6}
.brand-overview-footer,.brand-alarm-foot{display:none}
@media(min-width:1600px){[data-theme=bosen]{--nav:112px;--header:76px}[data-theme=bosen] .topbar{height:76px}[data-theme=bosen] .sidebar{top:76px;width:112px;height:auto}[data-theme=bosen] .nav-button{min-height:94px;font-size:19px}}

/* Full-width, quiet analytical workspace. No bottom explanatory bar or channel sidebar. */
html .modern-data{display:flex;flex-direction:column;gap:0;padding:0 24px;background:#fff;color:#263640;--plot-a:#2884bb;--plot-b:#9875ce;--line:#e3e8ec;--muted:#6c7b85;min-height:0;overflow:hidden}
html .modern-data .page-heading{padding:20px 0 16px;min-height:96px;align-items:center;border:0;gap:16px}
html .modern-data .page-title{font-size:28px;letter-spacing:-.5px;gap:12px;align-items:center}
html .modern-data .mode-label{font-size:13px;border:0;border-radius:3px;background:#f4f5f6;color:#7a858d;padding:3px 8px}
html .modern-data .data-query-context{font-size:14px;line-height:1.6;margin:7px 0 0;max-width:620px;color:#778792;white-space:normal;min-height:0}
html .modern-data .page-tools{gap:8px;align-self:flex-start;padding-top:6px}
html .modern-data .page-tools button{min-height:40px;font-size:16px;padding:7px 12px;border:1px solid #dce3e8;border-radius:4px;background:#fff;color:#475b69}
html .modern-data .page-tools #export-records,html .modern-data .page-tools #telemetry-refresh{background:#eef5fa;border-color:#d9e8f3;color:#246a94}
html .modern-data .data-recording-state{display:flex;gap:6px;border:0;border-radius:0;padding:0 10px 0 0;min-height:0;font-size:14px;background:none;flex-wrap:wrap;position:relative;max-width:170px}
.data-recording-state .record-ok,.data-recording-state .record-error{display:flex;align-items:center;gap:6px;white-space:nowrap}.data-recording-state i{width:6px;height:6px;border-radius:50%;background:#45a582;display:inline-block}.data-recording-state .record-error{color:#b44d43}.data-recording-state .record-error i{background:#b44d43}.data-recording-state small{font-size:13px;color:#83939c}.data-recording-state .record-error-detail{font-size:13px;color:#ad4c43;white-space:normal}
.data-points{display:flex;align-items:flex-end;gap:24px;min-height:76px;padding:10px 0 12px;border-bottom:1px solid #e5eaee;flex:none}
.data-points>label{display:flex;flex-direction:column;min-width:0;gap:5px;width:340px;max-width:36%;font-size:14px;color:#778792}
.data-points .channel-mark{display:inline-block;width:20px;font-weight:600}.data-points .channel-a{color:var(--plot-a)}.data-points .channel-b{color:var(--plot-b)}
.data-points select{border:0;border-bottom:1px solid #dbe2e7;background:#fff;padding:5px 20px 5px 0;height:38px;min-width:0;width:100%;font-size:17px;color:#344b5b;border-radius:0}
.data-points .channel-caption{display:none}
.data-pagination{margin-left:auto;display:flex;gap:6px;align-items:center}.data-pagination button{min-height:40px;padding:6px 12px;border:1px solid #dce3e8;background:#fff;font-size:16px;border-radius:4px}
.data-time{display:flex;align-items:center;gap:10px;flex:none;min-height:66px;padding:12px 0}
.data-time>label{display:flex;align-items:center;gap:8px;font-size:14px;color:#778792;white-space:nowrap}
.data-time>label:first-child{font-size:0;gap:0}.data-time>label:nth-child(2){font-size:0;gap:0}
.data-time select,.data-time input[type=datetime-local]{font-size:16px;color:#485e6e;height:40px;background:#f8fafb;border:1px solid #e1e7ec;border-radius:4px;padding:5px 10px;min-width:145px}
.data-time input[type=datetime-local]{width:218px}
.data-time button{font-size:16px;min-height:40px;min-width:40px;padding:6px 12px;background:#fff;border:1px solid #e1e7ec;border-radius:4px;color:#536a7b}
.data-time #recorder-hold{margin-right:auto}
.data-time .data-quality-filter select{min-width:125px}
.data-chart-modes{display:flex;gap:0;background:#f2f5f7;padding:3px;border-radius:5px}
.data-chart-modes button{border:0;background:none;min-width:36px;min-height:34px;padding:4px 9px;font-size:15px}
.data-chart-modes button.active{background:white;color:#286d9a;box-shadow:0 1px 3px #20364d15}
.data-range-toggle{font-size:14px!important;gap:5px!important}.data-range-toggle input{width:17px;height:17px;accent-color:#7598b2}
html .modern-data .trend-metrics{display:grid;grid-template-columns:1fr 1fr;gap:32px;padding:4px 0 18px;border-bottom:1px solid var(--line);margin:0;min-height:95px;flex:none}
html .modern-data .trend-metric{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;border:0;border-radius:0;padding:0;background:none;gap:2px 22px}
html .modern-data .trend-metric>span:first-child{grid-column:1/-1;font-size:15px;color:#647985;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html .modern-data .trend-metric>span:first-child small{font-size:14px}
html .modern-data .trend-metric strong{grid-row:2;grid-column:1;text-align:left;font-size:34px;line-height:1.3;font-weight:500;letter-spacing:-1px;white-space:nowrap}
html .modern-data .trend-metric strong small{display:inline;font-size:14px;margin-left:10px;letter-spacing:0;font-weight:500}
html .modern-data .trend-metric>span:last-child{align-self:center;grid-column:2;grid-row:2;font-size:14px;white-space:nowrap}
html .modern-data .trend-metric>span:last-child small{display:block;font-size:13px;margin:2px 0 0;color:#8b98a1}
html .modern-data .metric-0 strong,html .modern-data .metric-0 .channel-mark{color:var(--plot-a)}
html .modern-data .metric-1 strong,html .modern-data .metric-1 .channel-mark{color:var(--plot-b)}
html .modern-data .history-plots{flex:1;min-height:0;display:grid;grid-template-rows:1fr 1fr;gap:10px;padding:10px 0 14px}
html .modern-data .history-plot{min-height:0;border:0;border-bottom:1px solid #e9edf0;background:white;border-radius:0;padding:0 0 5px;overflow:hidden}
html .modern-data .history-plot:last-child{border:0}
html .modern-data .plot-heading{padding:2px 0 0;min-height:25px}
html .modern-data .plot-heading strong,html .modern-data .plot-heading strong span{font-size:15px;color:#5f7483}
html .modern-data .plot-heading>span{font-size:13px;color:#9aa6ae}
html .modern-data .history-chart{min-height:80px;flex:1;width:100%;touch-action:none}
html .modern-data .history-chart .grid{stroke:#edf0f3;stroke-dasharray:none}
html .modern-data .history-chart .axis{font-size:14px;fill:#8796a1}
html .modern-data .history-chart .mean-line{stroke-width:2}
html .modern-data .history-chart .range-band{fill-opacity:.08}
html .modern-data .crosshair{stroke:#728da0;stroke-dasharray:3 4;stroke-width:1}
html .modern-data .plot-inspect{font-size:13px;color:#6b8192;line-height:20px;min-height:20px;text-align:right}
.modern-data.hide-extremes .range-band{display:none}
.modern-data .history-plots[data-mode=a],.modern-data .history-plots[data-mode=b]{grid-template-rows:1fr}
.modern-data .history-plots[data-mode=a] .history-plot:nth-child(2),.modern-data .history-plots[data-mode=b] .history-plot:first-child{display:none}
html .modern-data .table-container{flex:1;min-height:0;border:0;border-radius:0;margin:0;overflow:auto;background:white}
html .modern-data table{font-size:17px;width:100%;table-layout:fixed}
html .modern-data th{font-size:15px;font-weight:500;color:#627789;background:#f4f7f9;line-height:1.4;height:42px;padding:8px 16px;border-bottom:1px solid #dce4e9}
html .modern-data th:first-child{width:27%}html .modern-data th:nth-child(2),html .modern-data th:nth-child(3){width:27%}html .modern-data th:last-child{width:19%}
html .modern-data td{height:39px;padding:6px 16px;border-bottom:1px solid #edf1f4;line-height:1.35;font-size:17px;color:#405768}
html .modern-data td.number{font-size:19px;font-weight:500;font-variant-numeric:tabular-nums;text-align:right;padding-right:34px}
html .modern-data th:nth-child(2),html .modern-data th:nth-child(3){text-align:right;padding-right:34px}
html .modern-data tbody tr:nth-child(even){background:#fafcfd}html .modern-data tbody tr:hover{background:#edf5fb}
html .modern-data .record-time-link{font-size:16px;line-height:1.35;color:#4e6b81;text-align:left;min-height:24px;border:0;background:none;padding:0;text-decoration:none}
html .modern-data .record-time-link:hover{color:#227eaf;text-decoration:underline}
html .modern-data .tag{display:inline-flex;align-items:center;gap:6px;padding:2px 7px;border:0;border-radius:3px;background:#f0f4f6;color:#7b8c97;font-size:13px}
html .modern-data .tag:before{content:'';width:4px;height:4px;border-radius:50%;background:currentColor}
html .modern-data .tag.demo{background:#f3f1fa;color:#8c7daf}
html .modern-data .table-empty td{height:220px;font-size:18px;text-align:center;color:#8697a3}
@media(min-width:1600px){html .modern-data{padding-inline:32px}html .modern-data .page-heading{min-height:110px}html .modern-data .page-title{font-size:32px}html .modern-data .data-query-context{font-size:16px;max-width:900px}.data-points{min-height:88px}.data-points>label{width:460px;font-size:16px}.data-points select{font-size:20px;height:44px}.data-time{min-height:80px}.data-time select,.data-time input[type=datetime-local],.data-time button{height:46px;font-size:18px}.data-time input[type=datetime-local]{width:260px}html .modern-data .trend-metrics{min-height:115px;padding-block:10px 20px}html .modern-data .trend-metric strong{font-size:42px}html .modern-data .trend-metric>span:first-child{font-size:18px}html .modern-data .trend-metric>span:last-child{font-size:17px}html .modern-data .history-chart .axis{font-size:16px}html .modern-data .plot-heading strong span{font-size:18px}html .modern-data .plot-inspect{font-size:16px}html .modern-data td{height:45px;font-size:18px}html .modern-data td.number{font-size:22px}html .modern-data .record-time-link{font-size:18px}html .modern-data th{font-size:17px}}

/* Shared process instrument vocabulary across OG, DK and AE. */
html .plant-page{height:100%;min-height:0;display:flex;flex-direction:column;background:white;color:#435c69;padding:0 18px;overflow:hidden}
.plant-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;min-height:82px;flex:none;border-bottom:1px solid #e5edf0}
.plant-heading>div:first-child{display:flex;align-items:center;gap:20px;min-width:0}.plant-heading h2{margin:0;font-size:28px;font-weight:500;color:#354c59;white-space:nowrap}.plant-heading>div>span{color:#8b9ca7;font-size:15px}
.plant-head-tools{display:flex;align-items:center;gap:12px}.plant-heading .plant-source{font-size:13px;color:#a08850;white-space:nowrap}.plant-heading button{font-size:16px;min-height:42px;background:#fff;border:1px solid #dce5e9;padding:7px 13px;color:#577482;border-radius:2px}
.plant-toolbar{display:flex;gap:20px;align-items:center;flex:none;min-height:62px}.plant-tabs{display:flex;align-self:stretch}.plant-tabs button{background:none;border:0;border-bottom:3px solid transparent;border-radius:0;padding:10px 17px;color:#81959f;font-size:18px}.plant-tabs button.active{color:#2898be;border-bottom-color:#40add3}.plant-topology-note{font-size:13px;color:#99a6ad}.plant-pagination{margin-left:auto;display:flex;align-items:center;gap:10px;white-space:nowrap;color:#82939d;font-size:15px}.plant-pagination button{min-width:38px;height:38px;border:1px solid #e1e9ed;background:white;color:#587887;font-size:19px}.plant-pagination button:disabled{opacity:.35}
.plant-canvas{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;overflow:auto}.plant-diagram{width:100%;max-height:100%;height:auto;display:block;flex:none;overflow:visible;font-family:"Microsoft YaHei","Noto Sans CJK SC",sans-serif;font-variant-numeric:tabular-nums}
.plant-diagram text{fill:#4c6674;font-size:18px;font-weight:400}.plant-diagram .pipe-name{font-size:20px}.plant-diagram .pipe-value{font-size:23px;fill:#39778c}.plant-diagram .pipe-unknown{fill:#98aab2;font-size:18px}.plant-diagram .ahu-title{font-size:21px}.plant-diagram .ahu-state{fill:#7f949f;font-size:17px}.plant-diagram .unit-label{font-size:17px}.plant-diagram .unit-value{font-size:19px;fill:#3f6f81}.plant-diagram .unknown-small,.plant-diagram .sensor-id{font-size:15px;fill:#98aab2}.plant-diagram .damper-label{font-size:17px}.plant-diagram .coil-id{fill:#76aaba;font-size:15px}.plant-diagram .heat-id{fill:#ba9678;font-size:15px}.plant-diagram .filter-feedback{fill:#8b9ea7;font-size:16px}
.plant-duct path{fill:none;stroke-linejoin:round}.plant-duct .duct-outline{stroke:#abc1cc;stroke-width:12}.plant-duct .duct-inner{stroke:#f1f8fb;stroke-width:9}.plant-duct .duct-center{stroke:#85bed4;stroke-width:1.4}.plant-duct.ra .duct-center{stroke:#9bbdb0}.plant-duct.ea .duct-outline{stroke-width:9}.plant-duct.ea .duct-inner{stroke-width:6}.plant-duct.ea .duct-center{stroke:#98b0b8}.plant-arrow{fill:#34a1c9}.plant-arrow.ra{fill:#7daa9a}.plant-arrow.ea{fill:#91aab2}
.plant-component,.plant-room{cursor:pointer;outline:none}.plant-hit{fill:transparent;stroke:transparent;stroke-width:2;pointer-events:all}.plant-component:hover .plant-hit,.plant-component:focus-visible .plant-hit{fill:#c8e9f525;stroke:#5ab0cf;stroke-dasharray:4 3}.ahu-shell{fill:#fcfdfd;stroke:#a4b9c3;stroke-width:1.5;pointer-events:none}.ahu-rail{fill:none;stroke:#e2edf2;stroke-width:5}.ahu-divider{stroke:#b8cbd4;stroke-width:1}.mix-blades{stroke:#91a5af;stroke-width:2.5;fill:none}
.plant-damper rect{fill:#f7fafb;stroke:#8aa2af;stroke-width:1.4}.plant-damper path{stroke:#718c9a;stroke-width:2;fill:none}.plant-damper circle{fill:#688696}
.plant-filter rect{fill:#fcfdfd;stroke:#94a8b3;stroke-width:1.6}.plant-filter path{stroke:#8fa6b4;stroke-width:1.1;fill:none}.plant-coil rect{fill:#f7fbfd;stroke:var(--valve);stroke-width:1.5}.plant-coil path{stroke:var(--valve);fill:none}.plant-coil .coil-fin{stroke-width:.7}.plant-coil .coil-pipe{stroke-width:2}.plant-coil .drain{stroke:#a1bac5;fill:#edf4f7}.plant-valve path{fill:white;stroke:var(--valve);stroke-width:1.6}.plant-valve rect{fill:#f5fafc;stroke:var(--valve);stroke-width:1.3}
.plant-fan circle{stroke:#889faa;stroke-width:1.7;fill:#f6f9fb}.plant-fan .fan-inner{fill:white;stroke:#a4b5be;stroke-width:1.2}.plant-fan .blade{fill:#dce9ef;stroke:#849da9;stroke-width:1.5}.plant-fan .hub{fill:#809ba9;stroke:none}.plant-fan .motor{fill:#eaf0f3;stroke:#91a6b2;stroke-width:1.3}.plant-fan>path{fill:none;stroke:#8da5b2;stroke-width:1.2}.plant-humid path{fill:none;stroke:#a8bcc6;stroke-width:2.5}.plant-humid circle{fill:#a8bcc6}.plant-humid .mist{stroke:#b6c9d1;stroke-width:1.1;stroke-dasharray:3 4}.plant-sensor path{stroke:#92b2c0;stroke-width:2;fill:none}.plant-sensor circle{fill:#b6dce9;stroke:#92b2c0;stroke-width:1.4}
.plant-room .room-wall-fill{fill:#b8d9cd;stroke:#7c9b90;stroke-width:3}.room-wall{fill:none;stroke:#78958b;stroke-width:4}.room-door{stroke:#83a798;stroke-width:1.5;fill:none}.room-window{fill:#98c0b1;stroke:#84a594;stroke-width:1.2}.room-meter{fill:white;stroke:#85bca0;stroke-width:2}.meter-accent{stroke:#89c6a4;stroke-width:6}.plant-room.chosen .room-meter,.plant-room:focus-visible .room-meter,.plant-room:hover .room-meter{stroke:#36a9cd;stroke-width:3}.plant-diagram .room-name{font-size:16px;fill:#4e6875}.plant-diagram .meter-label{font-size:14px;fill:#90a4ae}.plant-diagram .room-temperature{font-size:32px;fill:#3b5e6e;letter-spacing:-1px}.plant-diagram .room-humidity{font-size:19px;fill:#526c78}.plant-diagram .room-unknown{font-size:16px;fill:#719986}.plant-diagram .room-zone-label{font-size:20px;fill:#699881}.room-terminal rect{fill:#ebf4ef;stroke:#8eae9f;stroke-width:1.3}.room-terminal path{fill:none;stroke:#9bb8aa;stroke-width:1.3}.exhaust-shell{fill:white;stroke:#9fb8c4;stroke-width:1.3}.plant-diagram .exhaust-label{font-size:17px}.plant-diagram .exhaust-value{font-size:18px}
.spark-grid{stroke:#edf3f5;stroke-width:1;fill:none}.spark-line{stroke:#65b1ca;fill:none;stroke-width:1.8}.plant-diagram .spark-title{font-size:17px;fill:#7695a2}.plant-diagram .spark-axis{font-size:13px;fill:#9cabb2}.plant-diagram .spark-empty{font-size:16px;fill:#a3b3bc}
.plant-canvas[data-mode=air] .plant-ahu .plant-component:not(.component-fan):not(.component-mix){opacity:.32}.plant-canvas[data-mode=air] [data-plant-spark]{opacity:.2}.plant-canvas[data-mode=temp] .plant-air-network{opacity:.25}.plant-canvas[data-mode=temp] .component-mix,.plant-canvas[data-mode=temp] .component-filter,.plant-canvas[data-mode=temp] .component-exhaust{opacity:.25}
.plant-dialog{position:fixed;inset:0;margin:auto;width:600px;max-width:calc(100vw - 60px);max-height:calc(100vh - 60px);height:fit-content;border:1px solid #cddde5;padding:24px;background:white;color:#435e6c;overflow:auto;border-radius:4px;box-shadow:0 18px 80px #173b4d30}.plant-dialog::backdrop{background:#1b354d60;backdrop-filter:blur(3px)}.plant-dialog-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.plant-dialog h2{font-size:26px;font-weight:500;margin:0}.plant-dialog-head p{font-size:15px;color:#8699a3;margin:8px 0 0}.plant-dialog button{min-height:42px;padding:6px 16px;font-size:17px;border:1px solid #cfdee5;background:white;color:#4f778b;border-radius:2px}.plant-dialog-head>button{border:0;min-width:42px;padding:0;font-size:28px}.plant-dialog .process-detail-title{display:none}.plant-detail{padding:20px 0}.plant-detail .process-detail-values{display:flex;gap:32px}.plant-detail .process-detail-values>div{display:flex;flex-direction:column;gap:8px}.plant-detail strong{font-size:32px;font-weight:500}.plant-detail strong small{font-size:16px}.plant-detail p{line-height:1.7;font-size:16px}.plant-sample{color:#8fa1aa;font-size:14px!important}.plant-dialog-actions{display:flex;justify-content:flex-end;gap:12px;align-items:center;border-top:1px solid #e0e9ed;padding-top:18px}.plant-dialog-actions>span{margin-right:auto;font-size:16px;color:#7f96a1}.plant-room-editor{width:740px}.plant-room-editor form{display:flex;flex-direction:column;min-height:0}.plant-room-list{max-height:40vh;overflow:auto;margin:20px 0 10px}.plant-room-edit-row{display:grid;grid-template-columns:110px 1fr 78px;gap:12px;align-items:center;border-bottom:1px solid #e8eef1;padding:8px 0}.plant-room-edit-row strong{font-size:18px;font-weight:500}.plant-room-edit-row input,.plant-room-add input{height:42px;padding:8px 10px;border:1px solid #dce6eb;border-radius:2px;font-size:17px;min-width:0}.plant-room-edit-row button{font-size:15px;color:#9a7169;border:0}.plant-room-add{display:grid;grid-template-columns:180px 1fr auto;gap:10px;padding:10px 0}.plant-room-note{font-size:14px;line-height:1.65;color:#8a9ca6;margin:8px 0}.plant-room-error{color:#bb6156;font-size:15px;margin:5px 0 15px;min-height:20px}.plant-dialog .plant-save{background:#299abd;color:white;border-color:#299abd}
[data-theme=og] .nav-button{min-height:76px}
@media(min-width:1600px){.plant-page{padding-inline:28px}.plant-heading{min-height:96px}.plant-heading h2{font-size:34px}.plant-heading>div>span{font-size:18px}.plant-toolbar{min-height:72px}.plant-tabs button{font-size:20px}.plant-topology-note{font-size:15px}.plant-pagination{font-size:18px}.plant-heading button{font-size:18px;min-height:46px}[data-theme=og] .nav-button{min-height:94px}}

/* Compact Bosen plant: equipment at the corners, familiar cards at the center. */
html[data-brand=current] .plant-canvas{position:relative;overflow:hidden}
html[data-brand=current] .plant-drawing{position:relative;display:flex;align-items:center;justify-content:center;width:100%;height:100%;min-height:0}
html[data-brand=current] .plant-equipment-status{position:absolute;left:0;top:0;margin:0;white-space:nowrap;pointer-events:none}
html[data-brand=current] .plant-equipment-status[hidden]{display:none}
html[data-brand=current] .plant-diagram.compact-plant{width:100%;height:100%;max-height:100%;overflow:hidden;font-family:inherit}
html[data-brand=current] .plant-duct-legend{position:absolute;right:4px;bottom:10px;display:flex;gap:14px;align-items:center;font-size:15px;line-height:22px;color:#748c9a;white-space:nowrap;pointer-events:none}
html[data-brand=current] .plant-duct-legend span{display:flex;align-items:center;gap:5px}
html[data-brand=current] .plant-duct-legend span::before{content:'';width:20px;height:6px;border-radius:1px;background:var(--duct)}
html[data-brand=current] .oa{--duct:#78bc8f;--duct-edge:#65a97e}
html[data-brand=current] .sa{--duct:#3fb1c9;--duct-edge:#339cb2}
html[data-brand=current] .ra{--duct:#e8c65c;--duct-edge:#d4b14b}
html[data-brand=current] .ea{--duct:#d77c70;--duct-edge:#c36c62}
html[data-brand=current] .compact-plant .plant-duct .duct-outline{stroke:var(--duct-edge);stroke-width:12;stroke-linejoin:round;stroke-linecap:round}
html[data-brand=current] .compact-plant .plant-duct .duct-inner{stroke:var(--duct);stroke-width:8;stroke-linejoin:round;stroke-linecap:round}
html[data-brand=current] .compact-plant .plant-arrow{fill:#fff;stroke:var(--duct-edge);stroke-width:.8}
html[data-brand=current] .compact-plant .pipe-name{fill:var(--duct-edge);font-size:17px}
html[data-brand=current] .compact-plant .ahu-title{font-size:21px;fill:#38596c}
html[data-brand=current] .compact-plant .ahu-state{font-size:16px;fill:#70919d}
html[data-brand=current] .compact-plant .unit-label{font-size:13px;fill:#849ba7}
html[data-brand=current] .compact-plant .device-reading-label{font-size:14px;fill:#7b939f}
html[data-brand=current] .compact-plant .device-reading{font-size:18px;fill:#446d80}
html[data-brand=current] .compact-plant .ahu-shell{fill:#f9fcfd;stroke:#b7cad4;stroke-width:1.5}
html[data-brand=current] .compact-plant .room-meter{fill:#fff;stroke:#93b7c9;stroke-width:1.5}
html[data-brand=current] .compact-plant .meter-accent{stroke:#59abc7;stroke-width:3}
html[data-brand=current] .compact-plant .room-name{font-size:17px;fill:#3b6074}
html[data-brand=current] .compact-plant .room-temperature,
html[data-brand=current] .compact-plant .room-humidity{font-size:29px;fill:#3b6074;letter-spacing:-.4px}
html[data-brand=current] .compact-plant .room-unit{font-size:12px;fill:#7896a5}
html[data-brand=current] .compact-plant .room-card-hint{font-size:12px;fill:#8ca2ae}
html[data-brand=current] .compact-plant .room-card-rule{stroke:#e2eaf0;stroke-width:1}
html[data-brand=current] .compact-plant .plant-room.chosen .room-meter{fill:#fff7e2;stroke:#e5a12b;stroke-width:2}
html[data-brand=current] .compact-plant .plant-room.chosen .meter-accent{stroke:#e5a12b}
html[data-brand=current] .compact-plant .plant-room:not(.chosen):is(:focus-visible,:hover) .room-meter{stroke:#3aa2ca;stroke-width:2}
html[data-brand=current] .compact-plant .exhaust-label{font-size:18px;fill:#466b7e}
html[data-brand=current] .compact-plant .exhaust-value{font-size:17px;fill:#6a8899}
html[data-brand=current] .plant-pagination{position:absolute;bottom:4px;left:50%;transform:translateX(-50%);margin:0}
html[data-brand=current] .plant-pagination[data-single=true]{display:none}

/* Five-reference revision: outlined ducts, a segmented AHU and AE-CZJ room meters. */
html[data-brand=current] .bosen-plant .oa{--duct-fill:#e9f4ed}
html[data-brand=current] .bosen-plant .sa{--duct-fill:#eaf5fa}
html[data-brand=current] .bosen-plant .ra{--duct-fill:#fbf6e6}
html[data-brand=current] .bosen-plant .ea{--duct-fill:#faeeeb}
html[data-brand=current] .bosen-plant .plant-duct .duct-outline{stroke:#97aeba;stroke-width:13.5;stroke-linecap:butt}
html[data-brand=current] .bosen-plant .plant-duct .duct-inner{stroke:var(--duct-fill);stroke-width:10;stroke-linecap:butt}
html[data-brand=current] .bosen-plant .plant-duct .duct-center{stroke:var(--duct);stroke-width:3;stroke-linecap:butt;fill:none}
html[data-brand=current] .bosen-plant .plant-arrow{fill:var(--duct-edge);stroke:none}
html[data-brand=current] .bosen-plant .ahu-roof{fill:#e7eff4;stroke:#9bb3c1;stroke-width:1.2}
html[data-brand=current] .bosen-plant .ahu-side{fill:#d7e4eb;stroke:#9bb3c1;stroke-width:1.2}
html[data-brand=current] .bosen-plant .ahu-shell{fill:#f7fafc;stroke:#9fb5c2;stroke-width:1.5}
html[data-brand=current] .bosen-plant .fan-motor{fill:#e4edf2;stroke:#8ea6b5;stroke-width:1}
html[data-brand=current] .bosen-plant .unit-label{font-size:13px;text-anchor:middle}
html[data-brand=current] .bosen-plant .ahu-parameters .device-reading{font-size:19px;fill:#3b5968}
html[data-brand=current] .bosen-plant .parameter-leader{fill:none;stroke:#a3bbc6;stroke-width:1;pointer-events:none}
html[data-brand=current] .bosen-plant .parameter-tap{fill:white;stroke:#7c9dab;stroke-width:1.2;pointer-events:none}
html[data-brand=current] .bosen-plant .ahu-parameters [data-tone=normal]{fill:#347d66}
html[data-brand=current] .bosen-plant .ahu-parameters [data-tone=alarm]{fill:#c55345}
html[data-brand=current] .bosen-plant .ahu-parameters [data-tone=unknown]{fill:#97a8b0}
html[data-brand=current] .bosen-plant .room-wall-fill{fill:#b4d7cc;stroke:none}
html[data-brand=current] .bosen-plant .room-wall{fill:none;stroke:#7c9993;stroke-width:3}
html[data-brand=current] .bosen-plant .room-window{fill:#8ebbae;stroke:#7d9a94;stroke-width:1}
html[data-brand=current] .bosen-plant .room-door{fill:none;stroke:#7b9d94;stroke-width:1.3}
html[data-brand=current] .bosen-plant .room-meter{fill:white;stroke:#73bd92;stroke-width:2.4}
html[data-brand=current] .bosen-plant .meter-accent{stroke:#73bd92;stroke-width:6}
html[data-brand=current] .bosen-plant .room-name{fill:#4b5962;font-size:16px}
html[data-brand=current] .bosen-plant .room-pv-label{fill:#82959d;font-size:12px}
html[data-brand=current] .bosen-plant .room-temperature{fill:#354b55;font-size:30px;letter-spacing:-.6px}
html[data-brand=current] .bosen-plant .room-humidity{fill:#33434d;font-size:20px;letter-spacing:0}
html[data-brand=current] .bosen-plant .room-card-hint{fill:#91a1a6;font-size:10px}
html[data-brand=current] .bosen-plant .plant-room.chosen .room-meter{fill:white;stroke:#3ca4d2;stroke-width:2.4}
html[data-brand=current] .bosen-plant .plant-room.chosen .meter-accent{stroke:#3ca4d2}
html[data-brand=current] .bosen-plant .plant-room:not(.chosen):is(:focus-visible,:hover) .room-meter{stroke:#3ca4d2;stroke-width:2.4}

.plant-project-editor{width:960px;border-radius:0}.project-editor-tools{display:flex;gap:10px;margin:18px 0}.project-master-list{max-height:48vh;overflow:auto}.project-master-head,.project-master-row{display:grid;grid-template-columns:1fr 290px;gap:10px 20px;padding:12px 4px;border-bottom:1px solid #ccdde6}.project-master-head{color:#8298a4;font-size:14px}.project-master-row label{display:flex;gap:12px;align-items:center;min-width:0}.project-master-row input{width:20px;height:20px;accent-color:#299abd;flex:none}.project-master-row b{font-size:17px;font-weight:500}.project-master-row small{display:block;font-size:12px;color:#8a9ca5;margin-top:5px}.project-master-row select{min-width:0;border:1px solid #c6dce7;padding:8px;color:inherit;background:white;font-size:15px}.project-room-relations{grid-column:1/-1;font-size:12px;color:#718c9a;padding-left:32px}.project-json-label{display:flex;flex-direction:column;gap:8px}.project-json-label textarea{height:43vh;resize:vertical;border:1px solid #bad1de;padding:12px;font:13px/1.6 Consolas,monospace;color:#38576b}.project-validation{font-size:13px;line-height:1.6;color:#4b7f70;max-height:100px;overflow:auto}.plant-project-editor .plant-dialog-actions{position:sticky;bottom:-24px;background:white;padding-bottom:12px}.project-master-row:has(input:checked){background:#edf6fa}

.project-unit-select{width:100%;min-height:38px;margin:10px 0;border:1px solid #bed4df;background:white;color:inherit;font:inherit;padding:5px}

html[data-brand=current] .bosen-plant .pipe-name{font-size:21px;font-weight:500}

@font-face{font-family:AEChinese;src:url(/hmi/assets/fonts/ae-sc.woff) format('woff');font-weight:400 700;font-display:swap}
/* One screen system for all eight Bosen pages. */
/* Bosen preview uses the bundled AEChinese face, including form and SVG text. */
html[data-brand=current] body,html[data-brand=current] button,html[data-brand=current] input,html[data-brand=current] select,html[data-brand=current] textarea,html[data-brand=current] svg,html[data-brand=current] svg text{font-family:AEChinese,"Noto Sans SC","Microsoft YaHei",sans-serif}
:root{--header:64px;--nav:104px;--page-title:28px;--section-title:20px;--body-size:17px;--label-size:14px;--reading-size:32px;--page-padding:20px;--page-head:88px}
html[data-theme=bosen] .topbar{height:var(--header);padding:0 20px;display:grid;grid-template-columns:minmax(200px,1fr) auto auto;gap:18px;background:#fff;border-bottom:1px solid #dce5eb}
.topbar .brand{grid-column:1}.topbar .brand-logo{width:200px;height:32px}
html[data-theme=bosen] .alarm-counters{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;gap:10px;align-items:center;justify-content:center;white-space:nowrap}
html[data-theme=bosen] .counter{height:40px;padding:0 6px;gap:6px;background:none;border:0}
html[data-theme=bosen] .counter strong{font-size:24px;line-height:1}.topbar .counter span{font-size:14px}
html[data-theme=bosen] .clock{grid-column:2;display:flex;flex-direction:row;align-items:baseline;gap:10px;white-space:nowrap}
html[data-theme=bosen] .clock span{font-size:14px;line-height:1.4}.topbar .clock strong{font-size:18px!important;line-height:1.4;font-weight:500}
.topbar .top-actions{grid-column:3;gap:2px}.topbar .top-actions .icon-button{width:40px;height:42px}
html[data-theme=bosen] .sidebar{top:var(--header);width:var(--nav)}
.screen-shell{height:100%;display:flex;flex-direction:column;min-height:0;background:#fff;color:#354e5e}
.screen-header{height:var(--page-head);min-height:var(--page-head);padding:0 var(--page-padding);display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid #e1e8ed;background:#fff;flex:none}
.screen-heading{min-width:0;flex:none}.screen-heading h2{margin:0;font-size:var(--page-title);line-height:36px;font-weight:600;letter-spacing:0;white-space:nowrap;color:#304b5d}
.screen-heading p{margin:4px 0 0;font-size:var(--label-size);line-height:20px;color:#8194a0;white-space:nowrap}
.screen-header-tools{display:flex;align-items:center;justify-content:flex-end;gap:10px;min-width:0;white-space:nowrap}
.screen-source{font-size:13px;line-height:20px;color:#9b8654;margin-right:4px}
.screen-header-tools button,.screen-header-tools select{height:42px;min-height:42px;padding:7px 12px;border:1px solid #d8e3ea;background:#fff;color:#526e80;font-size:16px;border-radius:2px;line-height:24px}
.screen-header-tools .brand-segments button{border:0;border-bottom:2px solid transparent;background:none}.screen-header-tools .brand-segments button.active{border-bottom-color:#319bc4;color:#1984ae}
.screen-header-tools #telemetry-refresh,.screen-header-tools #export-records{background:#edf5fa;border-color:#d9e7ef;color:#287fa5}
.screen-header-tools .data-recording-state{padding:0;max-width:150px;margin-right:5px;gap:5px;font-size:13px;background:none;border:0}
.screen-content{min-height:0;flex:1;overflow:hidden}.screen-content>div,.screen-content>.plant-page{height:100%}
html[data-theme=bosen] .screen-content .scene-layout{grid-template-columns:304px minmax(0,1fr);grid-template-rows:minmax(0,1fr) 108px;grid-template-areas:'info visual' 'command command';gap:16px 24px;padding:16px var(--page-padding)}
html[data-theme=bosen] body[data-page=fumehood] .screen-content .scene-layout{grid-template-rows:minmax(0,1fr);grid-template-areas:'info visual'}
html[data-theme=bosen] .screen-content .control-sheet{padding:0 16px 0 0}
.screen-content .equipment-subtitle{font-size:14px;line-height:1.6;color:#8093a0;margin:10px 0}.screen-content .info-line{font-size:17px;padding:0 0 12px}.screen-content .equipment-status{font-size:18px}
html[data-theme=bosen] .screen-content .reading-cell small{font-size:15px;color:#718b9c}.screen-content .reading-cell strong{font-size:var(--reading-size);font-weight:500;line-height:1.4}.screen-content .reading-cell em{font-size:15px;font-weight:500}
.screen-content h3{font-size:var(--section-title);font-weight:500}
.screen-content button,.screen-content select,.screen-content input{font-size:16px}
.screen-content .visual-toolbar{padding:8px 12px;gap:8px;min-height:56px;border-color:#e1e9ee;background:#f7fafb}
.screen-content .visual-toolbar button,.screen-content .equipment-tabs button,.screen-content .ahu-modes button{min-height:40px;font-size:16px;padding:6px 12px;border-radius:2px}
.screen-content .ae-overview .brand-context{height:56px;min-height:56px;padding:6px var(--page-padding);gap:16px;background:#fff;border-bottom:1px solid #e1e9ee;font-size:16px}
.screen-content .brand-context>span:first-child{display:none}.screen-content .brand-context label{margin-left:0;font-size:15px}.screen-content .brand-context .brand-sample{margin-left:auto;font-size:14px}
.screen-content .brand-context select{height:40px;min-height:40px;font-size:16px;padding:6px 10px}
.screen-content .ae-overview .brand-overview-body{padding:16px var(--page-padding);gap:16px;grid-template-rows:minmax(0,1fr) 108px}
.screen-content .brand-model-tools{padding:0 0 12px;min-height:52px;gap:12px}.screen-content .brand-model-tools button{min-height:40px;font-size:16px;padding:6px 12px}.screen-content .brand-model-tools label{font-size:15px}
.screen-content .ae-overview .brand-room-detail{padding:12px 18px;gap:18px;grid-template-columns:minmax(170px,1fr) 240px 210px 165px}
.screen-content .ae-overview .brand-room-detail h3{font-size:20px}.screen-content .brand-room-detail strong{font-size:var(--reading-size)}
.screen-content .plant-page{padding:0 var(--page-padding)}.screen-content .plant-toolbar{min-height:56px;height:56px;gap:18px}.screen-content .plant-tabs button{font-size:17px;padding:8px 14px;min-height:42px}.screen-content .plant-pagination{font-size:14px}
.screen-content .brand-alarm-filter{min-height:56px;height:56px;padding:6px var(--page-padding);font-size:15px;border-bottom:1px solid #e1e9ee}
.screen-content .brand-alarm-filter button{font-size:16px;min-height:42px}.screen-content .brand-alarm-body{padding:16px var(--page-padding);gap:24px}.screen-content #brand-alarm-detail h3{font-size:20px}
html .screen-content .modern-data{padding:0 var(--page-padding)}
html .screen-content .modern-data .data-query-context{font-size:14px;line-height:20px;margin:8px 0 0;min-height:20px;max-width:none;color:#8296a3}
.screen-content .data-points{min-height:74px;padding:8px 0 12px}.screen-content .data-points select{font-size:17px}.screen-content .data-time{min-height:62px;padding:10px 0;gap:9px}
.screen-content .data-time button,.screen-content .data-time select,.screen-content .data-time input{font-size:16px}.screen-content .data-pagination button{font-size:16px}
html .screen-content .modern-data .trend-metric strong{font-size:var(--reading-size)}
@media(min-width:1600px){:root{--nav:112px;--header:76px;--page-title:32px;--section-title:22px;--reading-size:38px;--page-head:96px;--page-padding:28px}.screen-heading h2{line-height:40px}.screen-heading p{font-size:16px}.screen-header-tools button{font-size:18px;height:46px}.screen-content .brand-room-detail h3{font-size:22px}}

/* The user's saved home title bar is the shared baseline for Bosen pages. */
html[data-brand=current]{--page-head:59px;--overview-left:260px}
html[data-brand=current] .bosen-overview .bosen-overview-body{display:grid;grid-template-columns:var(--overview-left) minmax(0,1fr);grid-template-rows:minmax(0,1fr);gap:18px;padding:16px var(--page-padding);min-height:0;overflow:hidden}
html[data-brand=current] .bosen-overview .brand-room-detail{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:0;padding:18px;overflow:auto;border:0;border-right:1px solid #dce6ec;background:#edf3f6;min-width:0}
html[data-brand=current] .bosen-room-selector{display:flex;flex-direction:column;gap:7px;font-size:14px;color:#718b9a;margin-bottom:22px}
html[data-brand=current] .bosen-room-selector select{width:100%;max-width:100%;min-width:0;height:42px;border:1px solid #cddde5;background:white;padding:7px;font-size:16px;color:#365c71}
html[data-brand=current] .bosen-overview .detail-kicker{display:block;font-size:13px;color:#8395a0;margin-bottom:6px}
html[data-brand=current] .bosen-overview .brand-room-detail h3{font-size:21px;line-height:1.5;white-space:normal;margin:0 0 4px}
html[data-brand=current] .bosen-overview .brand-room-values{display:grid;grid-template-columns:1fr;gap:18px;border-block:1px solid #d7e2e9;padding:18px 0;margin-bottom:18px}
html[data-brand=current] .bosen-overview .brand-room-values>div{display:grid;grid-template-columns:1fr auto;align-items:baseline;column-gap:5px}
html[data-brand=current] .bosen-overview .brand-room-values>div>span{grid-column:1/-1;font-size:15px;color:#75909f}
html[data-brand=current] .bosen-overview .brand-room-values strong{font-size:36px;line-height:1.5;font-weight:500}
html[data-brand=current] .bosen-overview .brand-room-values small{font-size:15px;color:#7893a2}
html[data-brand=current] .bosen-overview .room-limits{font-size:14px;line-height:1.9;margin-bottom:12px}
html[data-brand=current] .bosen-overview #brand-room-quality{display:block;font-size:14px;margin:0 0 8px;color:#8c986f}
html[data-brand=current] .bosen-overview .brand-sample{font-size:12px;color:#899da9;margin-bottom:16px}
html[data-brand=current] .bosen-overview .room-detail-actions{margin-top:auto;display:grid;gap:7px}
html[data-brand=current] .bosen-overview .room-detail-actions button{width:100%;min-height:42px;font-size:16px;justify-content:center}
html[data-brand=current] .bosen-overview .room-detail-actions button:disabled{opacity:.4;cursor:default}
html[data-brand=current] .bosen-overview .brand-room-main{margin:0;min-height:0;overflow:hidden}
html[data-brand=current] .bosen-overview .brand-model-tools{flex:none;min-height:52px;flex-wrap:nowrap;gap:8px}
html[data-brand=current] #floor-room-view{margin-left:auto;color:#7b95a5;font-size:14px}
html[data-brand=current] #floor-return-overview{white-space:nowrap;background:white;border:1px solid #ccdce5;color:#327e9d}
html[data-brand=current] #floor-return-overview:disabled{opacity:.4;cursor:default}
html[data-brand=current] .bosen-overview .brand-room-row,html[data-brand=current] .bosen-overview .room-table-heading{grid-template-columns:minmax(150px,1fr) 100px 100px 80px;padding-inline:12px;gap:8px}
html[data-brand=current] .bosen-overview .brand-room-row>span{gap:12px;min-width:0;font-size:16px}
html[data-brand=current] .bosen-overview .brand-room-row strong{font-size:24px}

/* Larger navigation and a single aligned status/date row. */
html[data-brand=current] .sidebar .nav-button{padding:4px 0;gap:6px}
html[data-brand=current] .sidebar .nav-button svg{width:32px;height:32px;flex:none}
html[data-brand=current] .topbar .alarm-counters{gap:18px;align-items:center}
html[data-brand=current] .topbar .counter{display:grid;grid-template-columns:auto auto;align-items:center;column-gap:6px;height:40px;padding:0}
html[data-brand=current] .topbar .counter strong{display:block;min-width:22px;font-size:28px;line-height:32px;text-align:right}
html[data-brand=current] .topbar .counter span{display:block;font-size:16px;line-height:24px;align-self:center}
html[data-brand=current] .topbar .clock{align-items:center;gap:10px}
html[data-brand=current] .topbar .clock span{font-size:16px;line-height:28px}
html[data-brand=current] .topbar .clock strong{font-size:22px!important;line-height:28px;font-weight:500}
html[data-brand=current] .topbar .top-actions{gap:0}
html[data-brand=current] .topbar #settings-button{width:44px;height:44px}
html[data-brand=current] .topbar #settings-button svg{width:32px;height:32px}
@media(min-width:1600px){html[data-brand=current] .sidebar .nav-button svg{width:36px;height:36px}}

/* Bosen's shared 800p workspace: the same column, gutter and inset everywhere. */
html[data-brand=current]{--parameter-width:260px;--command-height:96px;--panel-gap:var(--page-padding);--panel-inset:18px;--panel-surface:#edf3f6;--panel-line:#d7e3eb;--panel-border-width:3px;--panel-rule-width:2px;--panel-shadow:0 0 5px #2e485b20,0 3px 9px #2e485b12}
/* A quiet edge on primary regions only; controls and inner readouts stay flat. */
html[data-brand=current] #page-content .screen-content #brand-alarm-detail,
html[data-brand=current] #page-content .screen-content :is(.bosen-parameter-panel,.visual-sheet,.brand-room-main,.brand-command-mount,.table-container,.brand-alarm-list,.trend-dashboard-sidebar,.trend-dashboard-main){border:var(--panel-border-width) solid var(--panel-outline);box-shadow:var(--panel-shadow);border-radius:0}
html[data-brand=current] :is(.topbar,.screen-header){border-bottom-width:var(--panel-border-width)}
html[data-brand=current] .sidebar{border-right-width:var(--panel-border-width)}
html[data-brand=current] #page-content .screen-content :is(.brand-model-tools,.visual-toolbar,.brand-alarm-filter,.bosen-overview-identity,.ahu-identity,.ahu-climate-block){border-bottom-width:var(--panel-border-width)}
html[data-brand=current] body .room-metric-card+.room-metric-card{border-top-width:var(--panel-border-width)}
html[data-brand=current] body .screen-content :is(.bosen-parameter-panel .info-line,.bosen-parameter-panel .reading-cell){border-bottom-width:var(--panel-rule-width)}
html[data-brand=current] body .sidebar .nav-button:not(:last-child)::after{height:var(--panel-rule-width)}
html[data-brand=current] .screen-content .scene-layout,
html[data-brand=current] .screen-content .bosen-overview-body{
 padding:var(--page-padding);gap:var(--panel-gap);grid-template-columns:var(--parameter-width) minmax(0,1fr);min-width:0;min-height:0
}
html[data-brand=current] .screen-content .scene-layout{grid-template-rows:minmax(0,1fr) var(--command-height);grid-template-areas:'info visual' 'info command'}
html[data-brand=current] body[data-page=fumehood] .screen-content .scene-layout{grid-template-rows:minmax(0,1fr);grid-template-areas:'info visual'}
html[data-brand=current] .screen-content .bosen-overview-body{grid-template-rows:minmax(0,1fr);grid-template-areas:'info visual'}
html[data-brand=current] .bosen-overview-body>.brand-room-detail{grid-area:info}
html[data-brand=current] .bosen-overview-body>.brand-room-main{grid-area:visual}
html[data-brand=current] .screen-content .bosen-parameter-panel,
html[data-brand=current] .screen-content #brand-alarm-detail{
 display:flex;flex-direction:column;align-items:stretch;gap:0;padding:var(--panel-inset);border:0;background:var(--panel-surface);color:#38576a;min-width:0;min-height:0;overflow:hidden
}
html[data-brand=current] .bosen-parameter-panel>.equipment-info{display:flex;flex-direction:column;min-height:0;height:100%;width:100%}
html[data-brand=current] .screen-content .bosen-parameter-panel h3{font-size:20px;line-height:1.45;font-weight:500;margin:0 0 4px;white-space:normal}
html[data-brand=current] .screen-content .bosen-room-selector{margin:0 0 16px;gap:7px;font-size:14px;line-height:20px}
html[data-brand=current] .bosen-room-selector select{height:42px;padding:7px 8px;font-size:16px;border-radius:2px}
html[data-brand=current] .screen-content .brand-room-values{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 16px;padding:16px 0;border-block:1px solid var(--panel-line)}
html[data-brand=current] .screen-content .brand-room-values>div{display:flex;flex-direction:column;align-items:flex-start;min-width:0;gap:0}
html[data-brand=current] .screen-content .brand-room-values>div>span{font-size:15px;line-height:22px;color:#718d9e}
html[data-brand=current] .screen-content .brand-room-values strong{font-size:32px;line-height:46px;font-weight:500;color:#237c9e}
html[data-brand=current] .screen-content .brand-room-values small{font-size:14px;line-height:20px;color:#718d9e}
html[data-brand=current] .screen-content #brand-room-quality{margin:0;font-size:14px;line-height:22px;color:#8f966b}
html[data-brand=current] .screen-content .bosen-parameter-panel .info-line{padding:0 0 12px;border-bottom:1px solid var(--panel-line);font-size:15px;line-height:24px;gap:10px}
html[data-brand=current] .bosen-parameter-panel .info-line strong{font-size:17px;font-weight:500;color:#38576a}
html[data-brand=current] .screen-content .bosen-parameter-panel .equipment-subtitle{font-size:14px;line-height:21px;margin:9px 0 12px;color:#7d95a3}
html[data-brand=current] .bosen-parameter-panel .equipment-status{font-size:16px;line-height:24px;flex:none}
html[data-brand=current] .bosen-parameter-panel .reading-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px;padding:0;margin:18px 0 16px;border:0;flex:none}
html[data-brand=current] .screen-content .bosen-parameter-panel .reading-cell{min-width:0;padding:10px 0;border:0;border-bottom:1px solid var(--panel-line)}
html[data-brand=current] .bosen-parameter-panel .reading-cell.wide-reading{grid-column:1/-1}
html[data-brand=current] .screen-content .bosen-parameter-panel .reading-cell small{font-size:14px;line-height:22px;color:#718d9e;display:block}
html[data-brand=current] .screen-content .bosen-parameter-panel .reading-cell strong{font-size:30px;line-height:42px;gap:3px;display:flex;align-items:baseline;white-space:nowrap;color:#237c9e;font-weight:500}
html[data-brand=current] .screen-content .bosen-parameter-panel .reading-cell em{font-size:13px;line-height:20px;color:#718d9e;font-weight:400}
html[data-brand=current] .bosen-parameter-panel .control-group{margin-top:16px;flex:none}
html[data-brand=current] .bosen-parameter-panel .control-group h3{font-size:15px;line-height:22px;margin:0 0 8px;color:#718d9e}
html[data-brand=current] .bosen-parameter-panel .control-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
html[data-brand=current] .bosen-parameter-panel .control-buttons button{min-height:40px;padding:6px 8px;font-size:16px;line-height:24px}
html[data-brand=current] .bosen-parameter-panel .control-buttons button:last-child:nth-child(odd){grid-column:1/-1}
html[data-brand=current] .bosen-parameter-panel .control-note{font-size:13px;line-height:20px;margin:8px 0 0}
html[data-brand=current] .bosen-parameter-panel .special-info>.control-group,
html[data-brand=current] .bosen-parameter-panel .equipment-info>#equipment-controls{margin-top:auto}
html[data-brand=current] .bosen-parameter-panel .equipment-local-alarms p{font-size:14px;line-height:21px;margin:8px 0 0}
html[data-brand=current] .screen-content .room-detail-actions,
html[data-brand=current] .bosen-panel-actions{display:grid;gap:8px;margin-top:auto;padding-top:16px;flex:none}
html[data-brand=current] .special-info .bosen-panel-actions{margin-top:12px;padding-top:0}
html[data-brand=current] .screen-content .room-detail-actions button,
html[data-brand=current] .parameter-settings-button{width:100%;min-height:42px;padding:7px 10px;border:1px solid #bdd0dc;border-radius:2px;background:white;color:#287d9f;font-size:16px;line-height:24px}
html[data-brand=current] .screen-content .room-detail-actions .primary-button{background:#319bc4;color:white;border-color:#319bc4}
html[data-brand=current] .screen-content .visual-sheet{border:0;background:#f3f7f9;overflow:hidden;min-width:0;min-height:0}
html[data-brand=current] .screen-content .visual-toolbar{padding:10px 12px;border:0;border-bottom:1px solid #e2eaf0;background:#f7fafb;gap:8px}
html[data-brand=current] .brand-command-mount{grid-area:command;min-width:0;min-height:0;background:var(--panel-surface);padding:0;border:0}
html[data-brand=current] .brand-command-mount .brand-command{display:grid;width:100%;height:100%;grid-template-columns:104px minmax(160px,1fr) 96px 148px;grid-template-rows:56px 16px;gap:4px 16px;padding:10px 16px;border:0;align-items:end}
html[data-brand=current] .brand-command-mount .command-object{grid-column:1;grid-row:1/3;align-self:center;gap:6px;min-width:0}
html[data-brand=current] .brand-command-mount .command-object b{font-size:18px;line-height:24px;font-weight:500}
html[data-brand=current] .brand-command-mount .command-object small{font-size:12px;line-height:18px;white-space:nowrap}
html[data-brand=current] .brand-command-mount .command-running{grid-column:2;grid-row:1}
html[data-brand=current] .brand-command-mount .command-running>span{font-size:13px;line-height:16px;display:block}
html[data-brand=current] .brand-command-mount .command-running>div{margin:4px 0 0;gap:0}
html[data-brand=current] .brand-command-mount .command-running button{height:36px;min-height:36px;padding:5px 10px;font-size:16px;line-height:24px}
html[data-brand=current] .brand-command-mount .command-frequency{grid-column:3;grid-row:1;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:4px;font-size:13px;line-height:16px}
html[data-brand=current] .brand-command-mount .command-frequency input{width:100%;height:36px;padding:4px 6px;font-size:18px;line-height:26px;border-color:#c4d6e1}
html[data-brand=current] .brand-command-mount .command-send{grid-column:4;grid-row:1;gap:8px;align-self:end}
html[data-brand=current] .brand-command-mount .command-send button{height:36px;min-height:36px;padding:5px 8px;font-size:16px;line-height:24px}
html[data-brand=current] .brand-command-mount .command-feedback{grid-column:2/-1;grid-row:2;min-height:16px;font-size:12px;line-height:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html[data-brand=current] .screen-content .plant-page{padding:0}
html[data-brand=current] body .screen-content .plant-canvas{border:0;box-shadow:none}
html[data-brand=current] .screen-content .modern-data{padding:0 var(--page-padding) var(--page-padding)}
html[data-brand=current] .screen-content .brand-alarm-body{padding:var(--page-padding);gap:var(--panel-gap);grid-template-columns:var(--parameter-width) minmax(0,1fr)}
html[data-brand=current] .screen-content #brand-alarm-detail h3{font-size:20px;line-height:28px;margin:12px 0 16px}
html[data-brand=current] #brand-alarm-detail dl{font-size:15px;gap:12px 8px;grid-template-columns:50px minmax(0,1fr);line-height:24px}
html[data-brand=current] #brand-alarm-detail dd{overflow-wrap:anywhere}
html[data-brand=current] #brand-alarm-detail>button{margin-top:auto;min-height:42px;font-size:16px}
html[data-brand=current] #special-dialog{width:min(720px,90vw)}
html[data-brand=current] .special-parameter-body{padding:20px;display:grid;gap:14px}
html[data-brand=current] .special-parameter-body .range-control{margin:0;grid-template-columns:90px minmax(0,1fr) auto}
html[data-brand=current] .special-parameter-body .control-note{margin:0}

/* Every special device has the same type strip and a left-side operation area. */
html[data-brand=current] .screen-content .bosen-special-layout .special-device-toolbar{height:64px;min-height:64px;padding:10px 12px;flex-wrap:nowrap}
html[data-brand=current] .special-device-toolbar>.equipment-tabs{padding:0;gap:4px;border:0;border-radius:0;background:none;flex-wrap:nowrap}
html[data-brand=current] .special-device-toolbar>.equipment-tabs button{height:42px;min-height:42px;padding:8px 14px;line-height:24px}
html[data-brand=current] .bosen-special-layout .special-device-info>.control-group,
html[data-brand=current] .bosen-special-layout .special-device-info>#equipment-controls{margin-top:auto}
html[data-brand=current] .bosen-special-layout .special-device-info>.control-group,
html[data-brand=current] .bosen-special-layout #equipment-controls>.control-group{border-top:1px solid var(--panel-line);padding-top:12px}
html[data-brand=current] .bosen-special-layout #equipment-controls>.control-group{margin-top:0}
html[data-brand=current] .bosen-special-layout .fume-airflow-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px}
html[data-brand=current] .bosen-special-layout .fume-airflow-actions button{min-height:38px;padding:5px 7px;font-size:14px;line-height:24px}
html[data-brand=current] .bosen-special-layout .fume-state{position:static;inset:auto;flex:none;padding:0 0 12px;margin:0 0 12px;background:none;font-size:14px;line-height:22px;color:#718d9e}
html[data-brand=current] .bosen-special-layout .fume-state[data-level=alarm]{color:#a56c13;font-weight:500}

/* 44px touch targets: edits remain a draft until the existing send action. */
html[data-brand=current] .brand-command-mount .brand-command{grid-template-columns:104px minmax(160px,1fr) 200px 148px;grid-template-rows:62px 14px;gap:2px 14px;padding:8px 14px}
html[data-brand=current] .brand-command-mount .command-running>div{margin-top:2px}
html[data-brand=current] .brand-command-mount .command-running button,
html[data-brand=current] .brand-command-mount .command-send button{height:44px;min-height:44px}
html[data-brand=current] .brand-command-mount .command-frequency{gap:2px}
html[data-brand=current] .command-frequency>label{font-size:13px;line-height:16px}
html[data-brand=current] .frequency-stepper{display:grid;grid-template-columns:44px minmax(64px,1fr) 44px;gap:6px;min-width:0}
html[data-brand=current] .brand-command-mount .frequency-stepper button{width:44px;height:44px;min-height:44px;padding:0;border:1px solid #bdd0dc;border-radius:2px;background:white;color:#287d9f;font-size:26px;line-height:40px;touch-action:manipulation}
html[data-brand=current] .brand-command-mount .frequency-stepper button:disabled{opacity:.4}
html[data-brand=current] .brand-command-mount .frequency-stepper input{min-width:0;width:100%;height:44px;padding:4px;font-size:22px;line-height:32px;text-align:center;appearance:textfield;-moz-appearance:textfield}
html[data-brand=current] .frequency-stepper input::-webkit-inner-spin-button,
html[data-brand=current] .frequency-stepper input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
html[data-brand=current] .brand-command-mount .command-feedback{min-height:14px;font-size:12px;line-height:14px}

/* DOM room labels reuse the main camera projection; no text textures or renderer. */
html[data-brand=current] .floor-room-cards{position:absolute;inset:0;z-index:4;overflow:hidden;pointer-events:none;contain:layout style}
html[data-brand=current] .room-card-leaders{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:hidden}
html[data-brand=current] .room-card-leaders path{fill:none;stroke:#6f98aa;stroke-width:1;stroke-opacity:.65;vector-effect:non-scaling-stroke}
html[data-brand=current] .floor-room-card{position:absolute;left:0;top:0;display:flex;flex-direction:column;align-items:flex-start;padding:6px 8px;border:1px solid #91b4c7;border-left:3px solid #48a7c5;border-radius:2px;background:rgba(255,255,255,.97);color:#355a70;pointer-events:auto;overflow:hidden;text-align:left;cursor:pointer;line-height:1.3;touch-action:manipulation}
html[data-brand=current] .floor-room-card[hidden]{display:none}
html[data-brand=current] .touch-room-card{pointer-events:auto;padding:7px 9px;border-left-width:3px;touch-action:manipulation}
html[data-brand=current] .touch-room-card .floor-card-name{font-size:13px;line-height:18px}
html[data-brand=current] .touch-room-card .floor-card-temperature b{font-size:23px;line-height:27px}
html[data-brand=current] .touch-room-card .floor-card-humidity{font-size:14px;line-height:19px}
html[data-brand=current] .floor-card-name{width:100%;font-size:12px;line-height:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html[data-brand=current] .floor-card-temperature{display:flex;gap:3px;align-items:baseline;line-height:24px;white-space:nowrap}
html[data-brand=current] .floor-card-temperature b{font-size:20px;line-height:24px;font-weight:500;font-variant-numeric:tabular-nums}
html[data-brand=current] .floor-card-temperature small{font-size:12px;line-height:18px}
html[data-brand=current] .floor-card-humidity{display:flex;gap:4px;align-items:baseline;font-size:13px;line-height:17px;color:#638696;white-space:nowrap}
html[data-brand=current] .floor-card-humidity b{font-size:13px;line-height:17px;font-weight:500;font-variant-numeric:tabular-nums}
html[data-brand=current] .floor-card-humidity small{font-size:11px;line-height:16px}
html[data-brand=current] .floor-room-card.selected{border-color:#168fbd;border-left-color:#168fbd;background:#f2fbff;z-index:2}
html[data-brand=current] .floor-room-card.selected .floor-card-name{font-size:13px;line-height:18px}
html[data-brand=current] .floor-room-card.selected .floor-card-temperature b{font-size:23px;line-height:26px}
html[data-brand=current] .floor-room-card.preselected{border-color:#eb9300;border-left-color:#eb9300;background:#fff6df;z-index:3}
html[data-brand=current] .floor-room-card:focus-visible{outline:2px solid #eb9300;outline-offset:1px}
html[data-brand=current] .floor-room-card.unconfigured{border-left-color:#a5bac5;color:#7a929f}
html[data-brand=current] .floor-room-card.compact,html[data-brand=current] .floor-room-card.unconfigured{padding:4px 6px}
html[data-brand=current] .floor-room-card:is(.compact,.unconfigured) .floor-card-name{font-size:11px;line-height:14px}
html[data-brand=current] .floor-room-card:is(.compact,.unconfigured) .floor-card-temperature,html[data-brand=current] .floor-room-card:is(.compact,.unconfigured) .floor-card-temperature b{font-size:17px;line-height:19px}
html[data-brand=current] .floor-room-card:is(.compact,.unconfigured) .floor-card-humidity,html[data-brand=current] .floor-room-card:is(.compact,.unconfigured) .floor-card-humidity b{font-size:11px;line-height:15px}

/* A slightly clearer boundary system across all eight Bosen pages. */
html[data-brand=current]{--panel-line:#c1d2df;--panel-outline:#c5d4df}
html[data-brand=current] .topbar{border-bottom-color:#bdcdd9}
html[data-brand=current] .sidebar{border-right-color:#bfceda}
html[data-brand=current] .screen-header{border-bottom-color:#bdcedb}
html[data-brand=current] .sidebar .nav-button:not(:last-child)::after{content:'';position:absolute;left:12px;right:12px;bottom:0;height:1px;background:#dae4ec}
html[data-brand=current] .screen-content .bosen-parameter-panel,html[data-brand=current] .screen-content #brand-alarm-detail{border:1px solid var(--panel-outline)}
html[data-brand=current] .screen-content .visual-sheet,html[data-brand=current] .screen-content .brand-room-main{border:1px solid var(--panel-outline)}
html[data-brand=current] .screen-content .brand-model-tools{padding:7px 10px;min-height:52px;border-bottom:1px solid var(--panel-outline)}
html[data-brand=current] .brand-command-mount{border:1px solid var(--panel-outline)}
html[data-brand=current] .screen-content .visual-toolbar{border-bottom-color:var(--panel-outline)}
html[data-brand=current] .modern-data .data-points,html[data-brand=current] .modern-data th{border-bottom-color:#c3d2de}
html[data-brand=current] .history-chart .grid{stroke:#cfdae4}
html[data-brand=current] .brand-alarm-filter,html[data-brand=current] .alarm-line{border-bottom-color:#c5d5e1}

html[data-brand=current] .bosen-model-room-select{width:208px;max-width:30%;height:40px;min-width:150px;margin:0;padding:7px 8px;border:1px solid #ccdce5;border-radius:1px;background:white;color:#355f77;font-size:15px;line-height:24px}
html[data-brand=current] #floor-room-view{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px}
html[data-brand=current] .floor-room-card .floor-card-name{font-size:14px;line-height:20px}
html[data-brand=current] .floor-card-readings{display:flex;align-items:baseline;justify-content:space-between;gap:10px;width:100%;margin-top:3px}
html[data-brand=current] .floor-card-readings .floor-card-temperature,
html[data-brand=current] .floor-card-readings .floor-card-humidity{display:flex;flex-direction:row;align-items:baseline;gap:3px;min-width:0;margin:0;line-height:28px}
html[data-brand=current] .floor-card-readings .floor-card-temperature b,
html[data-brand=current] .floor-card-readings .floor-card-humidity b{font-size:24px;line-height:28px;font-weight:500;color:#355f77}
html[data-brand=current] .floor-card-readings small{font-size:11px;line-height:16px;color:#6c8b9c}


/* Two independent readouts share the same bounded one-hour telemetry request. */
html[data-brand=current] .screen-content .bosen-parameter-panel.bosen-overview-panel{--overview-inset:16px;container-type:inline-size;padding:var(--overview-inset);border:1px solid var(--panel-outline);border-radius:0;background:#eef4f7;overflow:hidden}
html[data-brand=current] .bosen-overview-identity{flex:none;min-width:0;padding:0 2px 13px;margin-bottom:0;border-bottom:1px solid #d2dfe8}
html[data-brand=current] .screen-content .bosen-overview-identity h3{margin:0;font-size:19px;line-height:28px;font-weight:500;overflow-wrap:anywhere;color:#355467}
html[data-brand=current] .bosen-overview-identity>span{display:block;margin-top:7px;font-size:12px;line-height:18px;color:#8a9ba7}
html[data-brand=current] .screen-content .bosen-overview-panel #brand-room-quality{display:block;margin:0 2px 10px;font-size:13px;line-height:20px;color:#9b854b}
html[data-brand=current] .screen-content .bosen-overview-panel #brand-room-quality[hidden]{display:none}
html[data-brand=current] .bosen-overview-panel .room-inline-trend{display:grid;grid-template-rows:repeat(2,minmax(0,1fr));gap:0;flex:1;min-width:0;min-height:0;margin:0;padding:0;border:0;background:none}
html[data-brand=current] .room-metric-card{display:flex;flex-direction:column;min-height:0;min-width:0;padding-top:18px;overflow:visible;border:0;border-radius:0;background:none;box-shadow:none}
html[data-brand=current] .room-metric-card+.room-metric-card{border-top:1px solid #d2dfe8}
html[data-brand=current] .room-metric-body{flex:none;padding:0 2px}
html[data-brand=current] .room-metric-label{display:block;font-size:16px;line-height:24px;color:#718896}
html[data-brand=current] .room-metric-value{display:flex;align-items:baseline;gap:5px;margin-top:12px;white-space:nowrap;min-width:0}
html[data-brand=current] .screen-content .bosen-overview-panel .room-metric-value strong{font-size:46px;font-weight:400;line-height:56px;letter-spacing:-1.2px;font-variant-numeric:tabular-nums;color:#304e60}
html[data-brand=current] .room-metric-value small{font-size:13px;line-height:20px;color:#8195a2;font-weight:400}
html[data-brand=current] .room-metric-chart{display:block;flex:0 1 76px;width:calc(100% + 2 * var(--overview-inset));height:76px;min-height:48px;margin:12px calc(-1 * var(--overview-inset)) 0;margin-top:auto;overflow:hidden}
html[data-brand=current] .room-metric-chart .room-metric-area{stroke:none}
html[data-brand=current] .room-metric-chart .room-metric-line{fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
html[data-brand=current] .room-metric-chart text{font-size:12px;fill:#93a3ad}
html[data-brand=current] .screen-content .bosen-overview-panel .room-detail-actions{margin:0;padding-top:16px;gap:8px;flex:none}
html[data-brand=current] .screen-content .bosen-overview-panel .room-detail-actions button{height:42px;min-height:42px;padding:7px 10px;font-size:16px;line-height:26px}

/* Flat climate sections: clear names, paired body-colored values and area plots. */
html[data-brand=current] body[data-page=ahu] .screen-content .bosen-parameter-panel{--panel-inset:16px;background:#eef4f7}
html[data-brand=current] .screen-content .bosen-parameter-panel .ahu-identity{display:block;padding:0 0 14px;border-bottom:1px solid var(--panel-line)}
html[data-brand=current] .ahu-identity-label{display:block;margin-bottom:5px;font-size:13px;line-height:20px;color:#78909e}
html[data-brand=current] .ahu-identity-row{display:flex;align-items:baseline;justify-content:space-between;gap:6px;flex-wrap:wrap}
html[data-brand=current] .screen-content .bosen-parameter-panel .ahu-identity-row>strong{font-size:21px;line-height:28px;font-weight:500;color:#344f61}
html[data-brand=current] body[data-page=ahu] .bosen-parameter-panel .ahu-identity-row .equipment-status{margin:0}
html[data-brand=current] .ahu-climate-panel{display:flex;flex-direction:column;flex:1;min-height:0;margin-top:0;gap:0;color:#38576a}
html[data-brand=current] .screen-content .ahu-climate-block{display:flex;flex-direction:column;flex:1;min-height:0;min-width:0;padding:16px 0 0;border:0;border-bottom:1px solid var(--panel-line);background:none}
html[data-brand=current] .ahu-climate-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;min-height:25px;flex:none}
html[data-brand=current] .screen-content .ahu-climate-heading h3{margin:0;font-size:18px;line-height:26px;font-weight:500;color:#3a5668}
html[data-brand=current] .ahu-climate-heading>span{font-size:12px;line-height:20px;color:#8ba0ac}
html[data-brand=current] .ahu-climate-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;flex:none;margin-top:10px;color:inherit}
html[data-brand=current] .ahu-climate-metric{display:flex;flex-direction:column;min-width:0;gap:8px}
html[data-brand=current] .ahu-climate-label{display:block;font-size:14px;line-height:22px;color:#718896}
html[data-brand=current] .ahu-climate-number{display:flex;align-items:baseline;gap:2px;white-space:nowrap;color:#38576a}
html[data-brand=current] .ahu-climate-number strong{font-size:33px;line-height:44px;font-weight:400;letter-spacing:-.7px;color:#304e60;font-variant-numeric:tabular-nums}
html[data-brand=current] .ahu-climate-number small{font-size:11px;line-height:18px;color:#708b9b}
html[data-brand=current] .ahu-climate-chart{display:block;width:calc(100% + 2 * var(--panel-inset));height:82px;min-height:48px;flex:0 1 82px;margin:8px calc(-1 * var(--panel-inset)) 0;margin-top:auto;overflow:hidden}
html[data-brand=current] .ahu-climate-chart text{fill:#849aa7;font-size:17px;font-variant-numeric:tabular-nums}
html[data-brand=current] .ahu-climate-chart .climate-time{font-size:15px;fill:#879eab}
html[data-brand=current] .ahu-frequency{display:flex;align-items:baseline;gap:5px;min-height:46px;padding-top:8px;flex:none;color:inherit}
html[data-brand=current] .ahu-frequency>span{margin-right:auto;font-size:14px;color:#718b9a}
html[data-brand=current] .ahu-frequency strong{font-size:30px;line-height:42px;color:#304e60;font-weight:400;font-variant-numeric:tabular-nums}
html[data-brand=current] .ahu-frequency small{font-size:12px;color:#718b9a}
html[data-brand=current] body[data-page=ahu] .bosen-panel-actions{padding-top:12px}
/* HTML labels and one SVG reuse the main camera; no textures or extra GPU pass. */
html[data-brand=current] .ahu-data-labels{position:absolute;inset:0;z-index:4;pointer-events:none;overflow:hidden;contain:layout style}
html[data-brand=current] .ahu-data-labels[hidden]{display:none}
html[data-brand=current] .ahu-data-labels>svg{position:absolute;inset:0;width:100%;height:100%;overflow:hidden}
html[data-brand=current] .ahu-data-labels path{fill:none;stroke:#779ba9;stroke-opacity:.65;stroke-width:1;vector-effect:non-scaling-stroke}
html[data-brand=current] .ahu-data-label{position:absolute;left:0;top:0;height:48px;padding:5px 7px;border:1px solid #bdd2dc;border-top:2px solid #3ba4b6;border-radius:2px;background:rgba(249,253,255,.95);color:#365e70;display:flex;flex-direction:column;justify-content:center;gap:3px;min-width:0;overflow:hidden;box-sizing:border-box}
html[data-brand=current] .ahu-data-label[hidden]{display:none}
html[data-brand=current] .ahu-data-label>span{font-size:12px;line-height:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html[data-brand=current] .ahu-data-label>strong{font-size:15px;line-height:18px;font-weight:500;white-space:nowrap;font-variant-numeric:tabular-nums}
html[data-brand=current] .ahu-data-label[data-tone=normal]>strong{color:#248266}
html[data-brand=current] .ahu-data-label[data-tone=warm]{border-top-color:#e59b50}
html[data-brand=current] .ahu-data-label[data-tone=warm]>strong{color:#c97a32}
html[data-brand=current] .ahu-data-label[data-tone=alarm]{border-top-color:#df6944;background:#fff6ef}
html[data-brand=current] .ahu-data-label[data-tone=alarm]>strong{color:#d75238}
html[data-brand=current] .ahu-data-label[data-tone=unknown]>strong{color:#8599a5}
html[data-brand=current] .floor-card-hint{font-size:10px;line-height:14px;color:#b67b21;border:0;margin-top:auto;padding-top:4px;width:100%}
html[data-brand=current] .floor-card-hint[hidden]{display:none}
html[data-brand=current] .floor-room-cards .room-card-leaders path{stroke:#d39c46;stroke-opacity:.85}

/* Four bounded series share one query and use the whole analytical workspace. */
html[data-brand=current] .screen-content .trend-dashboard{height:100%;padding:var(--page-padding);gap:0;overflow:hidden;min-height:0}
.trend-dashboard-body{display:grid;grid-template-columns:var(--overview-left,260px) minmax(0,1fr);gap:var(--panel-gap);flex:1;min-height:0}
.trend-dashboard-sidebar{display:flex;flex-direction:column;gap:12px;min-height:0;min-width:0;padding:16px;background:#edf3f6;color:#436477;border-right:1px solid #c5d4df}
.trend-selection-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:24px}.trend-selection-heading h3{margin:0;font-size:18px;font-weight:500}.trend-selection-heading>span{font-size:13px;color:#78909f}
.trend-dashboard-selectors{display:flex;flex-direction:column;gap:8px}.trend-point-slot{display:flex;align-items:center;gap:9px;min-width:0}.trend-point-slot>span{color:var(--chart-color);font-size:15px;border-left:3px solid var(--chart-color);padding-left:6px;line-height:28px}
.trend-dashboard-sidebar select,.trend-dashboard-sidebar input[type=datetime-local]{width:100%;min-width:0;height:42px;padding:6px 7px;border:1px solid #ccdae4;border-radius:1px;background:white;color:#3c5e73;font-size:16px;line-height:28px}
.trend-dashboard-sidebar .trend-point-slot select{flex:1;width:0;font-size:16px}
.trend-dashboard-time{display:grid;gap:10px;border-top:var(--panel-rule-width) solid #cbdbe5;padding-top:12px;margin-top:2px}.trend-dashboard-time>label{display:flex;flex-direction:column;gap:4px;font-size:14px;line-height:20px;color:#718a9a}
.trend-dashboard-sidebar button{min-height:38px;padding:6px 9px;border:1px solid #ccdae4;background:white;color:#4c7289;border-radius:1px;font-size:14px;line-height:24px}
.trend-time-navigation{display:grid;grid-template-columns:40px minmax(0,1fr) 40px;gap:8px}.trend-sidebar-actions{display:flex;align-items:center;justify-content:space-between;gap:6px}.trend-sidebar-actions label{display:flex;align-items:center;gap:5px;font-size:13px;white-space:nowrap;color:#75909f}.trend-sidebar-actions input{width:16px;height:16px;margin:0;accent-color:#288eaf}.trend-sidebar-actions button{font-size:13px;min-height:34px;padding:4px 8px}
.trend-dashboard-main{display:flex;flex-direction:column;min-width:0;min-height:0}.trend-query-summary{flex:none;font-size:13px;line-height:21px;color:#718b9b;overflow-wrap:anywhere}
.trend-dashboard-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));flex:1;min-height:0;border-top:var(--panel-rule-width) solid #c8d7e1}
.trend-dashboard-grid[data-count="1"]{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr)}.trend-dashboard-grid[data-count="2"]{grid-template-rows:minmax(0,1fr)}
.trend-dashboard-grid[data-count="3"] .trend-dashboard-tile:last-child{grid-column:1/-1}
.trend-dashboard-tile{display:flex;flex-direction:column;min-width:0;min-height:0;padding:10px 14px 8px 8px;overflow:hidden;border-bottom:var(--panel-rule-width) solid #cfdae3;color:var(--chart-color)}
.trend-dashboard-tile:nth-child(even){border-left:var(--panel-rule-width) solid #cfdae3;padding-left:16px}.trend-dashboard-grid[data-count="1"] .trend-dashboard-tile,.trend-dashboard-grid[data-count="2"] .trend-dashboard-tile,.trend-dashboard-tile:nth-child(n+3){border-bottom:0}
.trend-tile-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;flex:none;min-height:34px}.trend-tile-heading h3{margin:0;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:18px;font-weight:500;color:#345267}.trend-tile-heading button{border:0;background:none;padding:3px 5px;min-height:34px;font-size:14px;line-height:24px;color:#728c9d}
.trend-tile-reading{display:flex;align-items:baseline;gap:5px;min-height:42px;flex:none}.trend-tile-reading strong{font-size:32px;line-height:42px;font-weight:500;font-variant-numeric:tabular-nums;color:#3a596c}.trend-tile-reading>span{font-size:14px;color:#78909f}
.dashboard-history-chart{display:block;width:100%;height:100%;min-height:0;flex:1;overflow:hidden;touch-action:none;color:var(--chart-color)}
.dashboard-history-chart .axis{fill:#738d9d;font-size:14px}.dashboard-history-chart .grid{stroke:#dbe4eb;stroke-width:1}.dashboard-history-chart .mean-line{fill:none;stroke:var(--chart-color);stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}.dashboard-history-chart .range-band{fill:var(--chart-color);fill-opacity:.1;stroke:none}.dashboard-history-chart .sample-dot{fill:var(--chart-color)}.dashboard-history-chart .crosshair{stroke:#6d899b;stroke-width:1;stroke-dasharray:3 4;vector-effect:non-scaling-stroke}
.trend-dashboard-grid.hide-extremes .range-band{display:none}.trend-tile-detail{height:25px;min-height:25px;padding-top:3px;font-size:13px;line-height:22px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#718b9b;font-variant-numeric:tabular-nums}
.trend-dashboard .trend-recording-status{display:flex;flex-wrap:nowrap;gap:8px;align-items:center;font-size:14px;line-height:22px;color:#749385;margin:0;padding:0;background:none;border:0;min-height:22px}.trend-dashboard .trend-recording-status small{font-size:13px;color:#78909f}.trend-recording-status .record-ok,.trend-recording-status .record-error{display:flex;align-items:center;gap:6px}
@media(min-width:1600px){.trend-dashboard-sidebar{padding:20px;gap:16px}.trend-point-slot select{font-size:16px!important}.trend-dashboard-sidebar select,.trend-dashboard-sidebar input[type=datetime-local]{height:44px;font-size:16px}.trend-tile-heading h3{font-size:18px}.trend-tile-reading strong{font-size:28px}.dashboard-history-chart .axis,.trend-tile-detail{font-size:14px}.trend-query-summary{font-size:14px;height:30px}}

html[data-brand=current]{--status-normal:#278467;--status-stopped:#7d8c97;--status-alarm:#cb4646;--status-warning:#bf7f1d;--status-info:#337f9f;--status-unknown:#8b9aa5}
html[data-brand=current] body .screen-content .equipment-status{display:flex;align-items:center;gap:8px;font-size:16px;line-height:24px;font-weight:500}
html[data-brand=current] body .screen-content .equipment-status>i{display:block;width:8px;height:8px;flex:0 0 8px;border-radius:50%}
html[data-brand=current] [data-status-tone=normal]{--status-color:var(--status-normal)}
html[data-brand=current] [data-status-tone=stopped],html[data-brand=current] [data-status-tone=neutral]{--status-color:var(--status-stopped)}
html[data-brand=current] [data-status-tone=alarm]{--status-color:var(--status-alarm)}
html[data-brand=current] [data-status-tone=warning]{--status-color:var(--status-warning)}
html[data-brand=current] [data-status-tone=info]{--status-color:var(--status-info)}
html[data-brand=current] [data-status-tone=unknown]{--status-color:var(--status-unknown)}
html[data-brand=current] .equipment-status[data-status-tone],html[data-brand=current] [data-status-tone][data-status],html[data-brand=current] .equipment-local-alarms [data-status-tone],html[data-brand=current] .bosen-special-layout .fume-state[data-status-tone],html[data-brand=current] .data-recording-state [data-status-tone]{color:var(--status-color)}
html[data-brand=current] .equipment-status[data-status-tone]>i,html[data-brand=current] .data-recording-state [data-status-tone]>i{background:var(--status-color)}
html[data-brand=current] .equipment-tile[data-status-tone] .status-ring{color:var(--status-color);border-color:var(--status-color)}
html[data-brand=current] .bosen-special-layout [data-demo=sash_mm][data-value="650"]{color:var(--status-alarm);border-color:#dfb2b2}
html[data-brand=current] .bosen-special-layout [data-demo=sash_mm][data-value="650"].active{background:var(--status-alarm);border-color:var(--status-alarm);color:#fff}
html[data-brand=current] .ahu-data-label[data-tone=normal]>strong{color:var(--status-normal)}
html[data-brand=current] .ahu-data-label[data-tone=neutral]>strong{color:var(--status-stopped)}
html[data-brand=current] .ahu-data-label[data-tone=alarm]{border-top-color:var(--status-alarm);background:#fff5f5}
html[data-brand=current] .ahu-data-label[data-tone=alarm]>strong{color:var(--status-alarm)}
html[data-brand=current] .ahu-data-label[data-tone=unknown]>strong{color:var(--status-unknown)}
html[data-brand=current] .bosen-plant [data-tone=normal]{fill:var(--status-normal)}
html[data-brand=current] .bosen-plant [data-tone=stopped],html[data-brand=current] .bosen-plant [data-tone=neutral]{fill:var(--status-stopped)}
html[data-brand=current] .bosen-plant [data-tone=alarm]{fill:var(--status-alarm)}
html[data-brand=current] .bosen-plant [data-tone=unknown]{fill:var(--status-unknown)}
html[data-brand=current] .bosen-plant .ahu-parameters [data-tone=normal]{fill:var(--status-normal)}
html[data-brand=current] .bosen-plant .ahu-parameters [data-tone=alarm]{fill:var(--status-alarm)}
html[data-brand=current] .counter.critical,html[data-brand=current] .alarm-line.critical b{color:var(--status-alarm)}
html[data-brand=current] .counter.warning,html[data-brand=current] .alarm-line.warning b{color:var(--status-warning)}
html[data-brand=current] .counter.notice{color:var(--status-info)}
html[data-brand=current] .screen-source,html[data-brand=current] .brand-source{color:#758b99;background:none}

.record-storage{display:flex;flex-direction:column;justify-content:center;gap:8px;font-size:14px;color:#7b929f}.record-storage strong{font-weight:500;color:#486776}.record-storage span{font-size:12px;line-height:1.5}
.record-picker-heading{display:flex;align-items:center;justify-content:space-between;margin:18px 0 12px}.record-picker-heading h3{margin:0;font-size:20px}.record-picker-heading strong{font-size:15px;font-weight:500;color:#268ba9}
.record-picker-controls{display:flex;gap:14px;align-items:center;margin-bottom:12px}.record-picker-modes{display:flex;flex:none}.record-picker-modes button,.record-picker-scope button,.record-picker-list footer button{background:white;border:1px solid #c3d8e4;border-radius:0;padding:8px 10px;min-height:38px;color:#4e6a78;font:inherit;font-size:14px}.record-picker-modes button+button{border-left:0}.record-picker-modes button.active{color:white;background:#2d99bd;border-color:#2d99bd}.record-picker-controls input{flex:1;min-width:0;height:42px;border:1px solid #c3d8e4;padding:8px 10px;color:inherit;font:inherit;font-size:14px}
[data-record-picker] .record-all{display:flex;align-items:center;gap:10px;margin-bottom:12px;padding:10px;border:1px solid #c9dce6;font-size:14px}.record-picker-body{display:grid;grid-template-columns:1fr;gap:12px}.record-picker-body.with-groups{grid-template-columns:210px minmax(0,1fr)}.record-picker-body>aside{max-height:342px;overflow:auto;border-right:1px solid #c9dce6;padding-right:10px}.record-picker-body>aside[hidden]{display:none}
.record-picker-group{display:flex;gap:8px;align-items:center;border-bottom:1px solid #dbe7ed;min-height:52px}.record-picker-group input,[data-record-picker] input[type=checkbox]{width:18px;height:18px;accent-color:#2d99bd;flex:none}.record-picker-group button{display:flex;flex:1;min-width:0;flex-direction:column;align-items:flex-start;gap:5px;background:transparent;border:0;color:#486979;text-align:left;padding:8px 5px;min-height:50px;font:inherit;font-size:14px}.record-picker-group button.active{background:#e5f2f8;color:#168cb3}.record-picker-group small{font-size:12px;color:#8b9da8}
.record-picker-scope{display:flex;justify-content:flex-end;align-items:center;gap:8px;margin-bottom:8px}.record-picker-scope>span{margin-right:auto;font-size:12px;color:#8299a6}.record-point-rows{display:grid;grid-template-columns:1fr 1fr;gap:6px;max-height:286px;overflow:auto;align-content:start}.with-groups .record-point-rows{grid-template-columns:1fr}.record-point-row{display:flex;gap:10px;align-items:center;padding:8px 10px;min-height:54px;border:1px solid #cedfe8;cursor:pointer}.record-point-row>span{min-width:0;flex:1;display:flex;flex-direction:column;gap:5px}.record-point-row b{font-size:14px;font-weight:500;overflow-wrap:anywhere}.record-point-row small{font-size:11px;color:#849ba7;overflow-wrap:anywhere}.record-point-row>small{flex:none;font-size:12px}.record-point-row:has(input:checked){background:#f1f8fb}.record-point-empty{padding:16px;color:#8a9ea9;font-size:14px}.record-picker-list footer{display:flex;justify-content:flex-end;align-items:center;gap:12px;margin-top:8px}.record-picker-list footer span{font-size:13px;color:#8299a6}.record-picker-list footer button:disabled{opacity:.4}


/* All number fields share the touch keypad; retain physical keyboard entry. */
html[data-brand=current] input[type=number]{appearance:textfield;-moz-appearance:textfield}
html[data-brand=current] input[type=number]::-webkit-inner-spin-button,
html[data-brand=current] input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
html[data-brand=current] dialog::backdrop{backdrop-filter:none}
html[data-brand=current] #settings-body{overflow-x:hidden;overflow-y:auto;touch-action:pan-y;overscroll-behavior:contain;contain:layout paint;-webkit-overflow-scrolling:touch;scroll-behavior:auto}
#numeric-keypad{position:fixed;inset:auto 28px 24px auto;margin:0;width:330px;max-width:calc(100vw - 32px);height:auto;max-height:calc(100vh - 32px);padding:16px;border:1px solid #b9ceda;border-radius:0;background:white;color:#355467;box-shadow:0 8px 28px #25475b2b;overflow:auto}
#numeric-keypad::backdrop{background:#25475b12;backdrop-filter:none}
#numeric-keypad header{display:flex;flex-direction:column;gap:4px;margin-bottom:12px}
#numeric-keypad header strong{font-size:18px;font-weight:500;line-height:26px}
#numeric-keypad header span{font-size:13px;line-height:18px;color:#7a909d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.numeric-keypad-value{display:block;min-height:48px;padding:5px 10px;margin-bottom:12px;border:1px solid #c5d8e3;background:#eef4f7;text-align:right;font-size:28px;line-height:36px;font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.numeric-keypad-error{margin:0 0 10px;color:#b64c3e;font-size:13px;line-height:20px}
.numeric-keypad-keys{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
#numeric-keypad .numeric-keypad-keys button{height:48px;min-height:48px;padding:4px;border:1px solid #c5d8e3;border-radius:1px;background:#f5f9fb;color:#355467;font-size:22px;line-height:32px;touch-action:manipulation}
#numeric-keypad [data-numeric-key="0"]{grid-column:span 2}
#numeric-keypad [data-numeric-key="clear"]{font-size:15px}
#numeric-keypad button:disabled{opacity:.35}
#numeric-keypad footer{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px;padding:0;border:0}
#numeric-keypad footer button{height:46px;min-height:46px;padding:6px;border:1px solid #bdd0dc;border-radius:1px;font-size:17px;touch-action:manipulation}

/* Flat, grouped settings; one control baseline and one vertical scroller. */
html[data-brand=current] #settings-dialog{padding:22px 24px;border-radius:0}
#settings-dialog .dialog-heading{margin-bottom:12px}
#settings-dialog .dialog-heading h2{font-size:28px;line-height:36px}
#settings-dialog .settings-tabs{gap:24px;margin-bottom:0;border-bottom:var(--panel-border-width) solid #c4d7e2}
#settings-dialog .settings-tabs button{height:46px;min-height:46px;padding:8px 0;font-size:18px;line-height:26px;white-space:nowrap}
#settings-dialog #settings-body{padding:4px 10px 8px 3px;scrollbar-gutter:stable;scrollbar-width:thin}
.settings-section{padding:12px 0;min-width:0}
.settings-section+.settings-section{border-top:var(--panel-border-width) solid #d4e1e9}
.settings-section h3{margin:0 0 10px;font-size:18px;line-height:26px;font-weight:500;color:#36576b}
#settings-dialog .settings-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px;align-items:start}
#settings-dialog .settings-grid.settings-three{grid-template-columns:repeat(3,minmax(0,1fr))}
#settings-dialog .field{gap:6px;min-width:0;font-size:15px;line-height:22px;font-weight:400}
#settings-dialog .field>span{min-height:22px}
#settings-dialog input:not([type=checkbox]),#settings-dialog select{box-sizing:border-box;min-width:0;width:100%;height:44px;min-height:44px;margin:0;padding:8px 11px;border:1px solid #bcd0dc;border-radius:1px;background-color:#fff;color:#355467;font-size:17px;line-height:26px}
#settings-dialog select{appearance:none;padding-right:34px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23557180' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center}
#settings-dialog input:focus-visible,#settings-dialog select:focus-visible{outline:2px solid #2e9ec2;outline-offset:0}
.settings-advanced{margin-top:8px}
.settings-advanced summary,.settings-point-group summary{display:flex;align-items:center;gap:10px;min-height:44px;list-style:none;cursor:pointer;user-select:none}
.settings-advanced summary::-webkit-details-marker,.settings-point-group summary::-webkit-details-marker{display:none}
.settings-advanced summary::after,.settings-point-group summary::after{content:'+';margin-left:auto;font-size:22px;color:#658596}
.settings-advanced[open]>summary::after,.settings-point-group[open]>summary::after{content:'−'}
.settings-advanced summary{font-size:14px;color:#6e8795}
.settings-advanced summary{min-height:36px}
.settings-llm-hint{margin:-4px 0 12px;font-size:14px;line-height:22px;color:#748d9b}
.settings-point-group{border-top:var(--panel-rule-width) solid #cbdce6}
.settings-point-group summary{font-size:16px;line-height:24px;color:#365b70}
.settings-point-group summary small{font-size:13px;font-weight:400;color:#8198a5}
.settings-point-group[open]>summary{margin-bottom:6px}
.settings-mapping-head,.settings-mapping-row{display:grid;grid-template-columns:minmax(180px,1.5fr) minmax(160px,1.2fr) minmax(100px,.8fr) minmax(80px,.6fr);gap:12px;align-items:center}
.settings-mapping-head{padding:6px 0;font-size:13px;color:#7b929f;background:#edf4f7}
.settings-mapping-head>span:first-child{padding-left:8px}
.settings-mapping-row{padding:8px 0;border-bottom:1px solid #e2ebf0}
.settings-mapping-row:last-child{border-bottom:0}
.settings-point-name{display:flex;flex-direction:column;gap:4px;min-width:0;padding-left:8px}
.settings-point-name strong{font-size:15px;line-height:22px;font-weight:400;overflow-wrap:anywhere}
.settings-point-name small{font-size:12px;line-height:18px;color:#8b9eaa;overflow-wrap:anywhere}
#settings-dialog .dialog-footer{padding-top:12px;margin-top:8px;border-top:var(--panel-border-width) solid #c4d7e2;justify-content:flex-end}
#settings-dialog .dialog-footer .settings-actions{margin-left:auto}
#settings-dialog .resource-grid{gap:0 20px}
#settings-dialog .resource-card{padding:12px 0;border:0;border-bottom:1px solid #d8e4eb;border-radius:0;background:none}
#settings-dialog .resource-card small{font-size:14px;line-height:22px;margin-bottom:4px}
#settings-dialog .resource-card strong{font-size:17px;line-height:26px;font-weight:400}
#settings-dialog [data-record-picker]{border-top:var(--panel-border-width) solid #d4e1e9;padding-top:2px}
#settings-dialog .record-storage{border-top:1px solid #dbe6ed;margin-top:12px;padding-top:10px;font-size:13px}
#settings-dialog .record-limits{margin-top:14px}
#settings-dialog .record-storage span{font-size:13px;line-height:22px}
#settings-dialog .record-picker-heading h3{font-size:18px;font-weight:500}
#settings-dialog .record-picker-modes button{min-height:44px;font-size:15px}
#settings-dialog .record-picker-controls input{height:44px}
#settings-dialog .record-all{padding:8px 0;border:0;font-size:14px}
@media(max-width:760px){#settings-dialog .settings-grid.settings-three{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-mapping-head,.settings-mapping-row{grid-template-columns:minmax(120px,1.25fr) minmax(115px,1.1fr) 90px 65px;gap:8px}#settings-dialog .settings-tabs{gap:16px}}
