:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#242729;background:#fff;font-size:16px;font-synthesis:none;--muted:#737a7f;--border:#e8ebed;--accent:#275c4b;--soft:#f5f7f7}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select{outline-offset:4px}button{cursor:pointer;background:#fff;border:1px solid #dfe4e5;border-radius:9px;padding:9px 14px;color:inherit;font-size:.875rem;white-space:nowrap}button:hover{background:#f1f5f3}button.active,.primary{background:#263d34;color:white;border-color:#263d34}button:disabled{opacity:.5;cursor:default}a{color:#275c4b}h1,h2,h3,p{margin:0}h1{font-size:1.75rem;letter-spacing:-1px;font-weight:620}h2{font-size:1.05rem;font-weight:600}h3{font-size:.9rem;font-weight:600}p{line-height:1.6}.muted,small{color:var(--muted)}small{font-size:.8rem}.shell{display:grid;grid-template-columns:258px 1fr;min-height:100vh}.sidebar{background:#f7f8f8;border-right:1px solid var(--border);padding:28px 16px 18px;display:flex;flex-direction:column;position:fixed;width:258px;inset:0 auto 0 0;z-index:10}.brand{display:flex;align-items:center;gap:10px;margin:0 12px 30px}.brand img{height:28px;width:28px;object-fit:contain}.brand strong{font-size:1.65rem;font-weight:640;letter-spacing:-1.2px}.brand span{font-size:.65rem;letter-spacing:1px;margin-left:auto;color:var(--muted)}.company{display:flex;gap:10px;align-items:center;padding:12px;background:white;border:1px solid var(--border);border-radius:10px;margin-bottom:28px}.avatar{width:34px;height:34px;display:grid;place-items:center;background:#e6ede9;color:#315b48;border-radius:8px;font-size:.75rem;font-weight:700}.company b{display:block;font-size:.875rem}.company small{font-size:.75rem}.side-label{font-size:.7rem;letter-spacing:1.5px;color:#8c9295;margin:20px 12px 12px}.tree button,.side-link{display:flex;align-items:center;gap:10px;border:0;background:transparent;width:100%;text-align:left;padding:11px 12px;font-size:.875rem}.tree button.active,.side-link.active{background:#e6ede9;color:#254c3a}.tree .building{margin-left:10px;width:calc(100% - 10px)}.tree .gateway{margin-left:24px;width:calc(100% - 24px)}.tree .unit{margin-left:42px;width:calc(100% - 42px);border-left:1px solid #d9e0dc;border-radius:0 8px 8px 0}.tree .icon{font-size:1rem;width:18px;color:#6b7870}.tree .count{margin-left:auto;background:#e3e8e5;padding:2px 6px;border-radius:5px;font-size:.7rem}.sidebar-bottom{margin-top:auto;padding:20px 10px 0}.connection{display:flex;align-items:center;gap:7px;font-size:.8rem;color:#47735a}.dot{width:6px;height:6px;display:inline-block;background:#448463;border-radius:50%}.main{grid-column:2;min-width:0}.topbar{height:67px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:0 35px;gap:20px;font-size:.8rem}.crumbs{color:#858c90;display:flex;gap:12px;align-items:center}.crumbs b{color:#3c4548;font-weight:500}.top-actions{display:flex;gap:12px;align-items:center}.demo-pill{font-size:.72rem;padding:5px 9px;border:1px solid #dce5df;border-radius:5px;color:#4b6658;background:#f5f8f6}.workspace{padding:29px 35px 45px;max-width:1700px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:25px}.page-heading p{font-size:.875rem;color:var(--muted);margin-top:7px}.heading-actions{display:flex;gap:8px}.tabs{display:flex;gap:25px;border-bottom:1px solid var(--border);margin-bottom:26px;overflow:auto}.tabs button{border:0;border-radius:0;padding:0 0 14px;background:transparent;color:#7c8386;font-size:.875rem}.tabs button.active{color:#234a37;border-bottom:2px solid #356a4d;font-weight:600}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:24px}.card{border:1px solid var(--border);border-radius:12px;background:#fff;padding:20px}.metric-label{font-size:.8rem;color:#798185;margin-bottom:12px}.metric{font-size:1.85rem;font-weight:550;letter-spacing:-.8px}.metric small{font-size:.85rem;font-weight:400;letter-spacing:0}.metric-note{font-size:.75rem;color:#818a8e;margin-top:7px}.panel{border:1px solid var(--border);border-radius:12px;overflow:hidden;margin-bottom:22px;background:#fff}.panel-head{display:flex;justify-content:space-between;align-items:center;padding:19px 22px;border-bottom:1px solid #f0f2f2;gap:14px}.panel-head p{font-size:.8rem;color:var(--muted);margin-top:4px}.panel-body{padding:22px}.badge{display:inline-flex;align-items:center;gap:6px;font-size:.75rem;font-weight:500;border-radius:5px;background:#eef5ef;color:#487158;padding:5px 8px}.badge.warning{background:#fff4e7;color:#9c6d2b}.badge.danger{background:#fceeed;color:#aa4941}.badge.gray{background:#f0f2f3;color:#737c82}.two-col{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,1fr);gap:22px}.equipment-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.equipment-tile{cursor:pointer;transition:box-shadow .2s}.equipment-tile:hover{box-shadow:0 8px 25px #183c2410}.equipment-top{display:flex;justify-content:space-between;align-items:center}.equipment-art{height:240px;width:100%;border:0;display:block}.equipment-bottom{display:flex;justify-content:space-between;border-top:1px solid var(--border);padding-top:17px;font-size:.8rem}.equipment-bottom b{font-size:1.1rem;display:block;margin-top:5px;font-weight:550}.graphic-wrap{position:relative;min-height:350px;display:grid;grid-template-columns:1fr 205px;align-items:center;padding:10px 25px 5px;gap:16px}.graphic{min-width:0;height:330px}.graphic iframe{width:100%;height:100%;border:0}.readings{display:grid;gap:10px}.reading{padding:10px 13px;background:#f7f9f9;border-radius:8px;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:.8rem}.reading b{font-size:.95rem;font-weight:550}.graphic-status{padding:0 22px 20px;display:flex;flex-wrap:wrap;gap:9px}.info-row{display:flex;justify-content:space-between;gap:20px;padding:13px 0;border-bottom:1px solid #eef1f1;font-size:.875rem}.info-row:last-child{border:0}.info-row span{color:var(--muted)}.info-row b{font-weight:500;text-align:right}.row-actions{display:flex;gap:7px}.toolbar{display:flex;justify-content:space-between;gap:15px;margin-bottom:18px;align-items:center}.toolbar .left{display:flex;gap:8px;align-items:center}.search{width:260px}input,select,textarea{border:1px solid #dce1e2;border-radius:8px;padding:10px 12px;background:white;color:inherit;font-size:.875rem;max-width:100%}select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23717b75' stroke-width='1.5'/%3E%3C/svg%3E");background-position:right 12px center;background-repeat:no-repeat;padding-right:32px}table{border-collapse:collapse;width:100%;text-align:left;font-size:.8rem}th{font-weight:500;color:#7b8589;background:#fafbfb;padding:13px 18px;white-space:nowrap;border-bottom:1px solid var(--border)}td{padding:14px 18px;border-bottom:1px solid #eef1f1;vertical-align:middle}tr:last-child td{border:0}td small{display:block;margin-top:4px}tbody tr:hover{background:#fcfdfc}.table-scroll{overflow:auto}code{font-family:ui-monospace,SFMono-Regular,monospace;font-size:.76rem;background:#f4f6f5;padding:3px 5px;border-radius:4px}.name-cell{font-weight:500;color:#34453d}.empty{padding:45px;text-align:center;color:var(--muted)}.notice{padding:13px 16px;background:#f5f8f6;border:1px solid #e4ebe6;border-radius:9px;font-size:.8rem;line-height:1.6;color:#607267;margin-bottom:20px}.notice.amber{background:#fffaf1;border-color:#f3e7ce;color:#917442}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.field label{display:block;font-size:.8rem;font-weight:500;margin-bottom:8px}.field input,.field select{width:100%}.field small{display:block;margin-top:8px;line-height:1.4}.span-2{grid-column:1/-1}.chart{width:100%;height:220px;display:block}.legend{display:flex;gap:20px;font-size:.75rem;color:#6c7971}.legend i{display:inline-block;width:15px;height:3px;background:#437860;vertical-align:middle;margin-right:5px}.activity{display:flex;gap:12px;padding:15px 0;border-bottom:1px solid #edf0ee;font-size:.8rem;line-height:1.6}.activity .symbol{background:#f2f5f3;width:29px;height:29px;border-radius:8px;text-align:center;padding:2px;color:#668371}.activity small{display:block}.footer-note{font-size:.75rem;color:#8a9295;display:flex;justify-content:space-between;margin-top:24px;gap:12px}.pdf{height:650px;border:0;width:100%;background:#f1f3f3}.config-frame{height:820px;border:0;width:100%}.steps{display:flex;gap:8px;margin-bottom:22px}.step{flex:1;padding:13px 15px;border-radius:8px;background:#f4f7f5;font-size:.8rem}.step b{display:block;margin-bottom:4px}.compact-btn{padding:5px 9px;font-size:.75rem}.week{display:grid;grid-template-columns:repeat(7,1fr);gap:8px}.day{background:#f6f8f7;padding:13px 8px;border-radius:8px;text-align:center;font-size:.8rem}.day b{display:block;margin-bottom:15px}.occupied{background:#dcecdf;color:#477151;border-radius:5px;padding:25px 3px;font-size:.7rem;line-height:1.7}.day.off .occupied{background:#edf0ee;color:#88918b}dialog{border:1px solid #dde4df;border-radius:14px;padding:28px;width:540px;max-width:90vw;box-shadow:0 20px 70px #18251c25}dialog::backdrop{background:#17251d55}dialog h2{margin-bottom:10px}dialog p{font-size:.875rem;color:var(--muted);margin-bottom:20px}dialog .actions{display:flex;justify-content:flex-end;gap:10px;margin-top:25px}#toast{position:fixed;bottom:25px;right:28px;background:#263d34;color:white;padding:14px 20px;border-radius:10px;box-shadow:0 5px 25px #17251d22;font-size:.875rem;opacity:0;pointer-events:none;transition:opacity .2s;z-index:100}#toast.show{opacity:1}.mobile-menu{display:none}.source-model{font-family:ui-monospace,monospace;font-size:.75rem;overflow-wrap:anywhere}.legend-box{border-left:3px solid #c5dace;padding-left:14px;font-size:.8rem;color:#728079;line-height:1.65}.tree-search{width:100%;font-size:.8rem;margin-bottom:8px;background:#fff}.alarm-list{padding:0 22px}.alarm-item{padding:16px 0;border-bottom:1px solid var(--border);display:flex;gap:13px;align-items:center;font-size:.85rem}.alarm-item:last-child{border:0}.alarm-item div{flex:1}.alarm-item small{display:block;margin-top:4px}.inline-link{padding:0;background:none;border:0;color:#3a7155;font-size:.8rem}.mapping-select{max-width:240px;font-size:.8rem}.summary-strip{display:flex;gap:25px;align-items:center;font-size:.8rem;margin:0 0 20px}.summary-strip b{font-size:1.3rem;margin-right:6px}.check{accent-color:#35664c}.mapping-note{max-width:420px}.hidden{display:none!important}@media(min-width:1500px){.graphic{height:390px}.graphic-wrap{min-height:420px}.equipment-art{height:250px}}@media(max-width:1100px){.sidebar{width:220px}.shell{grid-template-columns:220px 1fr}.workspace{padding:25px}.topbar{padding:0 25px}.tabs{gap:18px}.two-col{grid-template-columns:1fr}.graphic-wrap{grid-template-columns:1fr 185px}.cards{gap:12px}.card{padding:16px}.top-actions .muted{display:none}}@media(max-width:760px){.shell{display:block}.sidebar{display:none}.sidebar.open{display:flex;box-shadow:10px 0 30px #0002;width:258px}.mobile-menu{display:block}.topbar{padding:0 16px;height:60px}.crumbs{display:none}.workspace{padding:22px 16px}.page-heading{align-items:flex-start}.page-heading h1{font-size:1.5rem}.heading-actions{flex-wrap:wrap;justify-content:flex-end}.cards,.equipment-grid,.form-grid{grid-template-columns:1fr 1fr;gap:12px}.metric{font-size:1.55rem}.equipment-grid{grid-template-columns:1fr}.graphic-wrap{display:block;padding:10px 14px}.graphic{height:260px}.readings{grid-template-columns:1fr 1fr;margin-bottom:18px}.toolbar{flex-wrap:wrap}.toolbar .left{flex-wrap:wrap}.search{width:100%}.week{overflow:auto;grid-template-columns:repeat(7,95px)}.steps{flex-wrap:wrap}.step{min-width:140px}.top-actions{gap:8px}.summary-strip{flex-wrap:wrap}.form-grid .span-2{grid-column:1/-1}}

.equipment-art iframe{width:100%;height:100%;border:0;min-height:0!important}.graphic iframe{min-height:0!important}.icon-svg{width:17px;height:17px;flex:none;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
/* StatIQ organization/customer shell, aligned to the supplied application screens. */
:root{--border:#e5e5e5;--muted:#858585;--accent:#171717;color:#101010;font-family:Arial,Helvetica,sans-serif}.shell{grid-template-columns:330px minmax(0,1fr);background:#fff}.sidebar{width:330px;background:#fafafa;padding:10px 8px 0;border-right:1px solid #e8e8e8}.brand{border:0;border-radius:0;background:none;display:flex;align-items:center;padding:0 7px;margin:0 0 25px;height:36px;text-align:left;gap:7px;cursor:pointer}.brand img{width:30px;height:30px}.brand>span{margin:0;letter-spacing:0;color:#111}.brand strong{display:block;font-size:14px;letter-spacing:0;font-weight:400}.brand small{font-size:11px;display:block;color:#777;margin-top:2px}.brand:hover{background:none}.tree-heading{display:flex;align-items:center;justify-content:space-between;padding:7px 7px;font-size:12px}.tree-heading button{background:#181818;color:white;border:0;padding:0 4px;font-size:12px;border-radius:5px;line-height:20px;letter-spacing:1px}.tree-search-wrap{padding:3px 5px 8px}.tree-search{font-size:12px;padding:7px 10px;margin:0;background:#fff;border-color:#ededed}.nav-scroll{flex:1;min-height:0;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#aaa transparent}.tree{padding:0 1px 20px}.tree-row{display:flex;align-items:center;min-height:31px;border-radius:5px;position:relative;gap:2px}.tree-row.active{background:#efefef}.tree-row:hover{background:#f0f0f0}.tree-row .tree-expander{width:20px;padding:2px 0;border:0;background:none;color:#333;text-align:center;font-size:14px;flex:none}.tree-row .tree-label{display:flex;align-items:center;gap:9px;min-width:0;width:100%;border:0;background:none;padding:6px 4px;color:#121212;font-size:13px;min-height:31px}.tree-row .tree-label span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tree-row .tree-label small{font-size:10px;margin-left:auto;text-decoration:underline;color:#787878}.tree-row .icon-svg{width:14px;height:14px;stroke-width:1.5;color:#222}.tree-row.level-1{margin-left:23px}.tree-row.level-2{margin-left:46px}.tree-row.level-3{margin-left:69px}.tree-row.level-4{margin-left:92px}.tree-row.level-4:before{content:'';position:absolute;left:-10px;top:0;bottom:0;width:1px;background:#e6e6e6}.tree-row.level-3>.tree-label{padding-left:24px}.tree-row.level-3:has(.tree-expander)>.tree-label{padding-left:4px}.sidebar-bottom{flex:none;margin:0;padding:6px 0 10px;border-top:1px solid #eee}.side-alarm{display:flex;align-items:center;gap:8px;width:100%;padding:8px 10px;border:0;background:none;text-align:left;font-size:13px}.side-alarm span{margin-left:auto;color:#777}.account-button{display:flex;gap:8px;align-items:center;width:100%;border:0;background:none;text-align:left;padding:10px 7px 2px}.account-button .avatar{width:28px;height:28px;background:#f0f0f0;color:#333;border-radius:6px;font-size:10px}.account-button b{display:block;font-size:13px;font-weight:500}.account-button small{display:block;font-size:11px;margin-top:3px;color:#777}.topbar{height:58px;border-bottom:0;justify-content:flex-start;padding:8px 15px;gap:12px;background:#fff;position:sticky;top:0;z-index:7}.sidebar-toggle{padding:4px;border:0;background:none;display:grid;place-items:center}.sidebar-toggle .icon-svg{height:15px;width:15px}.topbar .tabs{background:#f5f5f5;padding:3px;margin:0;border:0;border-radius:9px;gap:0;min-width:0;flex:none;max-width:calc(100% - 240px)}.tabs button{font-size:13px;color:#111;white-space:nowrap;padding:8px 17px;border:0;border-radius:7px;background:none}.tabs button.active{border:1px solid #ededed;background:#fff;color:#111;box-shadow:0 1px 2px #0001;font-weight:400;padding:7px 16px}.topbar .top-actions{margin-left:auto;gap:9px}.demo-pill{font-size:10px;background:#fafafa;color:#888;border-color:#eee}.top-actions .compact-btn{font-size:11px;padding:5px 7px}.workspace{padding:0 15px 28px;max-width:none}.page-banner{display:flex;align-items:center;justify-content:space-between;min-height:100px;border:1px solid #e3e3e3;border-radius:13px;padding:22px;margin-bottom:14px;box-shadow:0 1px 2px #00000012}.page-banner h1{font-size:30px;line-height:1.16;font-weight:600;letter-spacing:-.55px;display:flex;align-items:center;gap:10px}.page-banner p{font-size:12px;line-height:1.6;color:#848484;margin-top:1px}.page-banner p.eyebrow{font-size:12px;margin-bottom:3px}.page-banner.illustrated{min-height:176px}.building-illustration{height:145px;width:210px;object-fit:contain;margin-right:6%;}.favorite-toggle{border:0;padding:0;background:none;color:#333}.favorite-toggle .icon-svg{height:16px;width:16px}.favorite-toggle.is-favorite svg{fill:#111}.summary-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:14px}.summary-card{border:1px solid #e3e3e3;border-radius:13px;box-shadow:0 1px 2px #00000012;padding:22px;min-height:180px}.summary-card h2{font-size:14px;font-weight:500;margin:0 0 17px}.summary-line{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid #e8e8e8;font-size:12px}.summary-line:last-of-type{border:0}.summary-line>span{color:#858585;display:flex;gap:8px;align-items:center}.summary-line .icon-svg{width:14px;height:14px;color:#8b8b8b}.summary-line b,.summary-line button{color:#111;font-weight:400;font-size:12px}.summary-footnote{font-size:10px;color:#999;margin-top:10px;line-height:1.3}.site-map{height:370px;margin-bottom:15px;border-radius:12px;box-shadow:0 1px 2px #00000012}.section-title{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:500;padding:7px 2px 12px;margin:5px 0 12px;border-bottom:1px solid #e6e6e6}.section-title .icon-svg{width:16px;height:16px}.empty-favorites{padding:22px;border:1px dashed #e1e1e1;border-radius:10px;margin-bottom:18px}.empty-favorites h3{font-size:14px;font-weight:500}.empty-favorites p{font-size:12px;color:#888;margin-top:6px}.customer-tile{display:flex;align-items:center;gap:22px;min-width:280px;width:32%;max-width:450px;padding:15px 22px;border-radius:12px;border:1px solid #e4e4e4;text-align:left;white-space:normal;box-shadow:0 1px 2px #0000000c;margin:0 0 20px}.customer-tile img{width:90px;height:95px;object-fit:contain}.customer-tile h2{font-size:16px;margin-bottom:5px}.customer-tile p{font-size:12px;color:#888}.equipment-link{display:inline-flex;gap:8px;align-items:center;color:#151515}.equipment-link .icon-svg{width:14px;height:14px}.panel{border-color:#e4e4e4;border-radius:12px}.panel-head{padding:18px 22px}.panel-head h2{font-size:14px}.panel-head .panel{margin:0}.panel>.toolbar{padding:18px 22px 0}.panel>.panel{margin:0 14px 14px}.panel>.notice{margin:0 14px 14px}.notice{font-size:12px}.cards{gap:14px;margin-bottom:14px}.card{border-radius:12px}.primary,button.active{background:#171717;border-color:#171717;color:white}button:hover{background:#f2f2f2}.primary:hover{background:#333}.tabs button:hover{background:#eee}.tabs button.active:hover{background:#fff}.footer-note{font-size:11px;color:#999}.sidebar-collapsed{grid-template-columns:0 1fr}.sidebar-collapsed .sidebar{display:none}.sidebar-collapsed .main{grid-column:2}.metric{font-size:1.7rem}.toolbar{font-size:14px}.tree .tree-label{border-radius:4px}.account-button:hover{background:#f0f0f0}@media(min-width:1700px){.shell{grid-template-columns:400px minmax(0,1fr)}.sidebar{width:400px}.site-map{height:405px}.summary-card{min-height:182px}.sidebar-collapsed{grid-template-columns:0 1fr}}@media(max-width:1200px){.shell{grid-template-columns:280px minmax(0,1fr)}.sidebar{width:280px}.topbar .tabs{max-width:calc(100% - 70px);flex:1}.top-actions .demo-pill{display:none}.top-actions .compact-btn{max-width:60px;white-space:normal;font-size:10px}.summary-card{padding:18px}.summary-line{font-size:11px}.page-banner h1{font-size:27px}.sidebar-collapsed{grid-template-columns:0 1fr}}@media(max-width:800px){.shell{display:block}.sidebar{display:none}.sidebar.open{display:flex;width:290px;z-index:20;box-shadow:10px 0 30px #0002}.sidebar-collapsed .sidebar.open{display:flex}.topbar{padding:8px 12px;gap:7px}.topbar .tabs{max-width:calc(100% - 70px)}.tabs button{font-size:12px;padding:8px 12px}.tabs button.active{padding:7px 11px}.workspace{padding:0 12px 25px}.summary-cards{grid-template-columns:1fr;gap:10px}.summary-card{min-height:0;padding:18px}.summary-card h2{margin-bottom:7px}.summary-line{font-size:13px}.summary-footnote{font-size:11px}.building-illustration{width:110px;height:100px;margin-right:0}.page-banner.illustrated{min-height:140px}.page-banner{padding:18px}.page-banner h1{font-size:24px}.customer-tile{width:100%;max-width:none}.site-map{height:310px}.topbar .top-actions{display:none}.topbar .tabs{max-width:calc(100% - 30px)}.footer-note{flex-wrap:wrap}}

/* Dashboard schedule strip and the scheduler popup. */
.schedule-strip{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 22px}.schedule-strip p{color:var(--muted);font-size:.875rem;margin-top:4px}.schedule-strip .inline-link{flex-shrink:0}.datasheet-link{border:1px solid var(--border);border-radius:8px;padding:10px 15px;text-decoration:none;font-size:.875rem}
dialog:has(.schedule-editor){width:min(1120px,95vw);max-width:1120px;max-height:92vh;padding:26px;overflow:auto}.schedule-title{display:flex;align-items:center;justify-content:space-between;gap:20px}.schedule-title h2{font-size:1.25rem}.schedule-title p{color:var(--muted);font-size:.875rem;margin-top:4px}.schedule-name{display:flex;align-items:center;gap:14px;margin:22px 0}.schedule-name label{font-size:.875rem}.schedule-name input{flex:1;max-width:350px}.schedule-name .badge{margin-left:auto}.scheduler-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,1fr);gap:24px}.scheduler-layout h3{font-size:1rem;margin-bottom:12px}.scheduler-layout aside{display:flex;flex-direction:column;gap:18px}.scheduler-layout aside>p{font-size:.875rem}.schedule-card{border:1px solid var(--border);border-radius:10px;padding:17px}.schedule-card p{font-size:.875rem}.schedule-card table th,.schedule-card table td{padding:9px 4px;background:white;font-size:.875rem}.schedule-card table input{width:83px;padding:8px}.schedule-keys{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0}.schedule-card small{display:block;line-height:1.5}.schedule-week{display:grid;grid-template-columns:30px repeat(7,minmax(0,1fr));gap:6px;margin:18px 0 22px;font-size:.8rem;text-align:center}.schedule-column{height:200px;position:relative;background:repeating-linear-gradient(to bottom,#f6f7f8 0,#f6f7f8 49px,#e9edef 50px);border:1px solid #e4e8eb;border-radius:6px}.schedule-hours{position:relative;height:200px}.schedule-hours span{position:absolute;right:0;transform:translateY(-50%);color:var(--muted);font-size:.7rem}.schedule-block{position:absolute;left:3px;right:3px;background:#e8eefb;border:1px solid #b3c3e5;border-radius:5px;color:#24529b;padding:5px 1px;font-size:.65rem;overflow:hidden}.schedule-block b{font-weight:550}.schedule-block span{display:block;margin-top:6px}.schedule-day-editor{display:grid;grid-template-columns:50px 70px 1fr 1fr;gap:8px;align-items:center;font-size:.875rem}.schedule-day-editor>span{color:var(--muted);font-size:.8rem}.schedule-day-editor input[type=checkbox]{justify-self:start}.schedule-day-editor input[type=time]{min-width:0;width:100%;padding:7px}.schedule-special{border-top:1px solid var(--border);padding-top:20px;margin-top:24px}.schedule-special .toolbar{margin:0 0 12px}.schedule-exception{display:grid;grid-template-columns:150px minmax(130px,1fr) 110px 125px 125px auto;gap:8px;align-items:center;margin:10px 0;font-size:.875rem}.schedule-exception input{width:100%;min-width:0}.schedule-exception input[type=checkbox]{width:auto}.schedule-editor #schedule-error{color:#b42318;margin-top:14px;font-size:.875rem}.schedule-editor .actions{margin-top:20px;border-top:1px solid var(--border);padding-top:18px}@media(max-width:850px){.scheduler-layout{grid-template-columns:1fr}.schedule-strip{flex-wrap:wrap}.schedule-name{flex-wrap:wrap}.schedule-name .badge{margin-left:0}.schedule-exception{grid-template-columns:1fr 1fr}.schedule-block{font-size:.7rem}}@media(max-width:500px){dialog:has(.schedule-editor){padding:16px}.schedule-block span{display:none}.schedule-block b{font-size:.55rem}.schedule-day-editor{grid-template-columns:35px 55px 1fr 1fr}}

/* Equipment view: graphic first, then compact functional point groups. */
.equipment-dashboard .schedule-strip{padding:12px 18px;margin-bottom:0;box-shadow:none}.equipment-dashboard .schedule-strip h2{font-size:.875rem}.equipment-dashboard .schedule-strip p{font-size:.8rem}.equipment-stage{width:100%;min-height:350px;display:flex;justify-content:center;align-items:center;padding:10px 0 4px}.equipment-hero{height:430px;width:min(1120px,100%);min-width:0}.equipment-hero iframe{height:100%;width:100%;border:0}.dashboard-groups{padding:0 3px 20px}.dashboard-group{margin:0 0 19px}.dashboard-group>h2{font-size:.875rem;color:#3c5260;font-weight:500;padding:0 5px 8px;border-bottom:1px solid #e5e9eb;margin:0 0 10px}.dashboard-point-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;align-items:start}.dashboard-point{border:1px solid #dde3e6;border-radius:5px;background:#fff;min-width:0}.dashboard-point.writable{border-color:#9fbab1;box-shadow:inset -2px 0 #9fbab1}.dashboard-point summary{list-style:none;cursor:pointer;position:relative;padding:12px 11px 17px;display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:53px}.dashboard-point summary::-webkit-details-marker{display:none}.dashboard-point-label{font-size:.875rem;color:#637480;line-height:1.3}.dashboard-point strong{font-size:.875rem;font-weight:500;color:#294c5d;white-space:nowrap}.dashboard-point strong small{font-size:.7rem;color:#926b32;margin-left:6px}.point-chevron{position:absolute;bottom:5px;left:calc(50% - 4px);width:8px;height:5px;fill:none;stroke:#9aa8b0;stroke-width:1.1}.dashboard-point[open] .point-chevron{transform:rotate(180deg)}.dashboard-point[open]{box-shadow:0 3px 10px #263d340b}.dashboard-point-detail{border-top:1px solid #edf0f2;padding:12px;font-size:.8rem}.dashboard-point-detail>div{display:flex;flex-wrap:wrap;justify-content:space-between;gap:5px;padding:4px 0}.dashboard-point-detail>div>span:first-child{color:var(--muted)}.dashboard-point-detail>div>span:last-child{overflow-wrap:anywhere;max-width:100%}.dashboard-point-detail .inline-link{margin-top:8px;padding:5px 0}.equipment-dashboard .dashboard-point summary:hover{background:#fafcfc}.equipment-dashboard .dashboard-point summary:focus-visible{outline:2px solid #799c8e;outline-offset:3px}@media(max-width:1350px){.dashboard-point-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.equipment-hero{height:390px}}@media(max-width:950px){.dashboard-point-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.equipment-hero{height:340px}.equipment-stage{min-height:300px}}@media(max-width:600px){.dashboard-point-grid{grid-template-columns:1fr}.equipment-hero{min-width:680px;height:320px}.equipment-stage{display:block;overflow-x:auto;min-height:320px}.equipment-dashboard .schedule-strip{gap:10px}.dashboard-point summary{min-height:58px}}

.page-banner.equipment-header{padding:10px 6px 16px;min-height:0;border:0;border-radius:0;box-shadow:none;margin-bottom:8px}.page-banner.equipment-header h1{font-size:1.65rem;font-weight:500;letter-spacing:-.6px}.page-banner.equipment-header p{font-size:.8rem;margin-top:5px}

/* Equipment Details owns the controller entry, matching the supplied record flow. */
.controller-entry{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px;border:1px solid var(--border);border-radius:12px;margin-top:22px}.controller-entry h3{font-size:.95rem}.controller-entry p{font-size:.875rem;color:var(--muted);margin-top:6px}.controller-entry-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap}.controller-entry.unsupported button{background:var(--soft);color:var(--muted);border-color:var(--border);opacity:.7;cursor:not-allowed}.controller-entry.unsupported p{color:var(--muted)}dialog:has(.controller-editor){width:min(1320px,96vw);max-width:1320px;max-height:94vh;padding:0;overflow:hidden}.controller-editor-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 22px;border-bottom:1px solid var(--border)}.controller-editor-heading h2{margin:0;font-size:1.1rem}.controller-editor .config-frame{display:block;width:100%;height:min(780px,calc(94vh - 80px));border:0;background:transparent}@media(max-width:650px){.controller-entry{align-items:flex-start;flex-direction:column}.controller-entry-actions{justify-content:flex-start}.controller-editor-heading{padding:14px}}

/* NueGate source layout: compact toolbar, three-column status cards, distinct tabs. */
.gateway-heading{display:flex;align-items:center;gap:12px;padding:19px 7px 23px;border-bottom:1px solid var(--border);margin-bottom:15px}.gateway-heading h1{font-size:.95rem;font-weight:500;letter-spacing:0}.gateway-heading .icon-svg{height:19px;width:19px}.ng-context{font-size:.8rem;color:var(--muted);margin:0 0 15px;line-height:1.6}.ng-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.ng-card{border:1px solid var(--border);border-radius:13px;background:white;padding:22px;box-shadow:0 1px 2px #00000012;min-width:0}.ng-card h2{font-size:.875rem;font-weight:550;margin:0 0 23px;line-height:1.4}.ng-grid>.ng-card{min-height:205px}.ng-details{margin:0;font-size:.8rem}.ng-details>div{display:grid;grid-template-columns:minmax(100px,1fr) minmax(0,1fr);gap:16px;align-items:baseline;margin:0 0 11px}.ng-details>div:last-child{margin-bottom:0}.ng-details dt{color:var(--muted);line-height:1.5}.ng-details dd{margin:0;line-height:1.5;overflow-wrap:anywhere}.ng-badges{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:0 0 16px;font-size:.75rem}.ng-badge{display:inline-block;background:#f2f4f4;border:1px solid var(--border);color:#333;padding:3px 8px;border-radius:14px;font-size:.7rem;line-height:1.3;white-space:nowrap}.ng-badge.active{background:#181b1b;color:white;border-color:#181b1b}.ng-note{font-size:.8rem;color:var(--muted);line-height:1.6;margin-top:16px}.ng-modbus{margin-bottom:20px}.ng-modbus p{font-size:.8rem;color:var(--muted);margin:12px 0}.ng-modbus button{font-size:.8rem}.ng-inventory-toolbar{font-size:.8rem;color:var(--muted);margin:18px 0}.ng-equipment{display:block;text-align:left;white-space:normal;color:inherit;cursor:pointer}.ng-equipment h2{margin-bottom:15px}.ng-equipment:hover{border-color:#acbcb4;background:#f8faf9}.ng-log-tabs{display:flex;gap:4px;margin:0 0 18px}.ng-log-filters{display:grid;grid-template-columns:1fr 2fr;gap:14px;margin-bottom:15px}.ng-log-filters input,.ng-log-filters select{width:100%}.ng-log{padding:16px 20px;border-bottom:1px solid var(--border);font-size:.8rem}.ng-log:last-child{border-bottom:0}.ng-log>div{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.ng-log time{margin-left:auto;color:var(--muted);font-size:.75rem}.ng-log p{margin-top:10px}.ng-log code{background:none;font-size:.7rem;color:var(--muted)}#gateway-settings>.ng-card{margin-bottom:15px}#gateway-settings .field>input{width:100%}.ng-section summary{cursor:pointer;font-size:.9rem;font-weight:500;list-style:none;display:flex;align-items:center;justify-content:space-between;padding:10px 0}.ng-section summary:after{content:'›';color:var(--muted);font-size:20px}.ng-section[open] summary:after{transform:rotate(90deg)}.ng-section summary::-webkit-details-marker{display:none}.ng-section[open] summary{margin-bottom:20px}.ng-section .ng-card{box-shadow:none}#gateway-error{color:#b42318;font-size:.875rem}[data-theme=dark] .ng-card{background:var(--surface);border-color:var(--border)}[data-theme=dark] .ng-equipment:hover{background:var(--surface-raised)}[data-theme=dark] .ng-badge{background:#29353e;color:#cbd7de;border-color:#41515d}[data-theme=dark] .ng-badge.active{background:#cad9d2;color:#1c2b23;border-color:#cad9d2}[data-theme=dark] #gateway-error{color:#ffc1ba}@media(max-width:1100px){.ng-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ng-card{padding:18px}}@media(max-width:700px){.ng-grid,.ng-log-filters{grid-template-columns:1fr}.ng-inventory-toolbar,.ng-inventory-toolbar .left{flex-wrap:wrap}.ng-grid>.ng-card{min-height:0}.ng-log time{margin-left:0}.ng-card h2{margin-bottom:18px}}
/* Nested NueGate cloud controls, matching the supplied options. */
.ng-options-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:18px 0}.ng-options-grid .field{margin:16px 0}.ng-options-grid input,.ng-options-grid select{width:100%}.ng-actions{display:flex;flex-wrap:wrap;gap:9px;margin:18px 0}.ng-register{border:1px solid var(--border);border-radius:10px;margin:18px 0;padding:20px;min-width:0}.ng-register legend{font-weight:600;padding:0 6px}.ng-register details{margin:16px 0}.ng-register details>summary{cursor:pointer;font-size:.875rem;margin-bottom:12px}.ng-register input,.ng-register select{width:100%}.ng-register button{margin-top:14px}.ng-modbus .form-grid{margin:18px 0}.ng-modbus #mb-select{max-width:100%;width:100%}.ng-modbus output,#gateway-settings output{display:block;font-size:.875rem;color:var(--accent);line-height:1.5;margin-top:14px}.ng-section form>button{margin-top:18px}#gateway-settings>form{margin-bottom:15px}#ng-reset-dialog{max-width:470px}#ng-reset-dialog h2{margin-bottom:14px}#ng-reset-dialog p{font-size:.875rem}[hidden]{display:none!important}@media(max-width:800px){.ng-options-grid{grid-template-columns:1fr}}
/* Organization profile matches the supplied full-width form. */
.organization-details .organization-toolbar{display:flex;gap:0;padding:0 0 18px;margin-bottom:16px;border-bottom:1px solid var(--border)}.organization-toolbar button{border-radius:0;padding:8px 13px}.organization-toolbar button:first-child{border-radius:8px 0 0 8px}.organization-toolbar button:last-child{border-radius:0 8px 8px 0;border-left:0}.organization-details .card{padding:24px}.organization-details h2{font-size:.95rem;margin-bottom:28px}.organization-details .field{margin-bottom:26px}.organization-details .field:last-of-type{margin-bottom:0}.organization-details :is(input,select){width:100%;display:block}.organization-details label{font-size:.875rem}.organization-details #profile-error:empty{display:none}.organization-details #profile-error{margin-top:16px;color:#b42318}[data-theme=dark] .organization-details #profile-error{color:#ffc1ba}

.point-applicability{display:block;font-size:.75rem;color:var(--muted);margin-top:4px}.point-applicability-detail{margin-bottom:16px}.point-applicability-detail p{margin:6px 0}.point-icon:disabled{opacity:.35;cursor:not-allowed}

.equipment-document-panel{margin-bottom:20px}.equipment-document-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 22px;border-bottom:1px solid var(--border)}.equipment-document-row:last-child{border-bottom:0}.equipment-document-row h3,.equipment-document-upload h3{font-size:.9375rem;font-weight:500;margin:0}.equipment-document-row p,.equipment-document-upload p{font-size:.8125rem;color:var(--muted);margin:6px 0 0;line-height:1.5}.equipment-document-row .datasheet-link{white-space:nowrap;font-size:.875rem}.equipment-document-upload{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 22px 22px;padding:20px 0 0;border-top:1px dashed var(--border)}.equipment-document-upload button:disabled{opacity:.55;cursor:not-allowed}@media(max-width:650px){.equipment-document-row,.equipment-document-upload{align-items:flex-start;gap:12px}.equipment-document-row{padding:16px}.equipment-document-upload{margin:0 16px 16px}.equipment-document-row h3{line-height:1.5}}

.equipment-document-link{flex-shrink:0;white-space:nowrap;color:var(--text);font-size:.9375rem;font-weight:500;text-decoration:underline;text-underline-offset:3px}.equipment-document-link:hover{text-decoration-thickness:2px}.equipment-document-link:focus-visible{outline:2px solid currentColor;outline-offset:5px;border-radius:2px}

.equipment-document-heading span{font-size:.875rem;font-weight:400;color:var(--muted)}

.controller-review-note{padding:10px 20px;margin:0;color:var(--muted);font-size:.8125rem;border-bottom:1px solid var(--border);line-height:1.5}.alarm-watching>summary{padding:18px 22px;cursor:pointer;font-weight:600}

.controller-editor{display:flex;flex-direction:column;min-height:0}.controller-editor .config-frame{flex:1;min-height:0}
.controller-editor{height:min(900px,94vh)}.controller-editor-heading,.controller-review-note{flex-shrink:0}.controller-editor .config-frame{height:auto;flex:1 1 0}
