:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#263a32;background:#f6f7f4;font-synthesis:none;--green:#25674e;--muted:#7b867f;--border:#e4e8e2;--surface:#fff;--sidebar:#172b24}*{box-sizing:border-box}body{margin:0}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.icon-definitions{position:absolute;width:0;height:0;overflow:hidden}button,input{font:inherit}button,a,input,label{ -webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-decoration:none}button:disabled{cursor:wait;opacity:.6}button:focus-visible,a:focus-visible,input:focus-visible,.dropzone:focus-within{outline:3px solid #83b797;outline-offset:3px}[hidden]{display:none!important}.sidebar{width:244px;position:fixed;inset:0 auto 0 0;background:var(--sidebar);color:#edf4ee;padding:36px 22px 20px;display:flex;flex-direction:column;z-index:5}.brand{display:flex;align-items:center;gap:11px;font-weight:750;font-size:30px;letter-spacing:-1.5px;padding:0 9px}.brand-mark{width:35px;height:35px;background:#c4e59a;color:#20362a;display:grid;place-items:center;border-radius:9px}.brand-mark svg{width:25px;height:25px}.brand-dot{color:#c4e59a;margin-left:-10px}.workspace{display:flex;align-items:center;gap:10px;margin:39px 0 30px;padding:13px 10px;border:1px solid #395044;border-radius:8px;font-size:11px;font-weight:550}.workspace-avatar{padding:8px 10px;background:#31463b;border-radius:5px;font-size:13px}.workspace small,.workspace-footer small{display:block;color:#92a69a;font-size:10px;margin-top:5px;font-weight:400}.workspace-indicator{width:5px;height:5px;background:#b6d992;border-radius:50%;margin-left:auto}.nav-label{font-size:9px;letter-spacing:1.7px;color:#8fa497;margin:0 13px 13px}nav{display:flex;flex-direction:column;gap:7px}nav a{display:flex;align-items:center;gap:12px;padding:12px 13px;border-radius:7px;color:#aec0b4;font-size:12px}nav a:hover{background:#233b30}nav a[aria-current=page]{background:#c6e49f;color:#203529;font-weight:600}.nav-count{margin-left:auto;font-size:10px;padding:2px 6px;border-radius:4px;background:#20352915}.sidebar-bottom{margin-top:auto;padding-top:36px}.sidebar-note{padding:20px 15px 24px;border-bottom:1px solid #35493d}.small-orbit{display:block;color:#c4e59a;font-size:25px;margin-bottom:12px}.sidebar-note strong{font-size:16px;line-height:1.5;font-weight:500;letter-spacing:-.3px}.sidebar-note p{font-size:11px;line-height:1.8;color:#91a598}.workspace-footer{display:flex;gap:9px;align-items:center;font-size:10px;padding:22px 3px 0}.footer-logo{background:#31483b;border-radius:50%;display:grid;place-items:center;width:29px;height:29px;color:#c4e59a;font-weight:600}.shell{margin-left:244px}.topbar{height:75px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:0 40px;font-size:11px;background:#fafbf9}.breadcrumb{color:#89928b}.slash{margin:0 13px;color:#bcc3bc}.connection{display:flex;align-items:center;gap:7px;color:#68776c;font-size:10px}.status-dot{width:6px;height:6px;display:inline-block;background:#639466;border-radius:50%;flex-shrink:0}.connection.offline .status-dot{background:#be7058}main{max-width:1550px;margin:auto;padding:37px 40px 20px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:31px}.eyebrow{font-size:9px;letter-spacing:1.8px;color:#748477;font-weight:650;margin-bottom:11px}h1{font-size:30px;letter-spacing:-1.15px;font-weight:600;margin:0 0 10px}p{color:var(--muted);font-size:12px;line-height:1.6;margin:0}h2{font-size:15px;font-weight:600;letter-spacing:-.3px;margin:0}h3{font-size:17px;font-weight:550}.button{border:1px solid #dce2da;background:white;color:#385144;display:inline-flex;justify-content:center;align-items:center;gap:8px;border-radius:6px;min-height:39px;padding:10px 15px;font-size:11px;font-weight:550;white-space:nowrap;transition:background .15s,transform .15s}.button:hover{background:#eff3eb}.button:active{transform:translateY(1px)}.button svg{width:15px;height:15px}.button.primary{background:var(--green);color:#fff;border-color:var(--green)}.button.primary:hover{background:#1b513c}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:24px}.stat{border:1px solid var(--border);border-radius:9px;padding:20px 21px;background:#fff}.stat-top{font-size:11px;color:#6c7b70;display:flex;align-items:center;justify-content:space-between;gap:10px}.stat-top svg{width:16px;height:16px;color:#90a28f}.stat>strong{display:block;font-weight:500;font-size:34px;letter-spacing:-1.3px;line-height:1.4;margin:12px 0 6px}.stat>strong.version-value{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:26px;line-height:1.83;letter-spacing:-1px;overflow:hidden;text-overflow:ellipsis}.stat-foot{font-size:10px;color:#8a958b}.stat.accent{background:#edf3e7;border-color:#dce7d3}.stat.accent .stat-top,.stat.accent strong{color:#365d3e}.overview-grid{display:grid;grid-template-columns:1.8fr 1fr;gap:24px;margin-bottom:24px}.panel{background:#fff;border:1px solid var(--border);border-radius:9px;min-width:0;overflow:hidden}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:23px 24px}.panel-heading p{font-size:10px;margin-top:6px}.text-link{display:flex;align-items:center;gap:6px;font-size:10px;color:#50745b;white-space:nowrap}.text-link svg{width:14px;height:14px}.release-list{padding:0 24px 11px}.release-item{display:flex;gap:13px;align-items:center;padding:18px 0;border-top:1px solid #edf0e9}.release-icon{width:39px;height:43px;border:1px solid #e1e8dc;background:#f5f7f1;border-radius:7px;display:grid;place-items:center;color:#6c856a}.release-copy{min-width:0;flex:1}.release-title{display:flex;gap:9px;align-items:center;margin-bottom:6px}.release-title strong{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:13px;font-weight:550;overflow-wrap:anywhere}.badge{font-size:9px;border-radius:4px;padding:3px 6px;white-space:nowrap;display:inline-flex;align-items:center;gap:5px}.badge.green{background:#edf4e6;color:#587748}.badge.gray{background:#f0f2ef;color:#89928a}.release-meta{font-size:10px;color:#91988f}.download-icon{padding:8px;color:#71866d;border:1px solid #e6eae2;border-radius:6px;display:grid;place-items:center}.download-icon:hover{background:#f0f5e9}.download-icon svg{width:14px;height:14px}.ota-promo{background:#eaf0e2;border:1px solid #dfe6d7;border-radius:9px;padding:21px 24px 24px;overflow:hidden;position:relative}.ota-promo .eyebrow{font-size:8px;letter-spacing:1.3px}.ota-promo h2{font-size:22px;font-weight:500;line-height:1.3;letter-spacing:-.7px}.ota-promo p{font-size:10px;line-height:1.7;margin:11px 0 18px;max-width:230px;color:#849079}.promo-button{background:transparent;border-color:#bfceb2;justify-content:space-between;width:100%;color:#536d49;font-size:10px}.promo-art{height:99px;position:relative;display:grid;place-items:center;margin-bottom:13px}.orbit{position:absolute;border:1px solid #cfdbbf;border-radius:50%;transform:rotate(-25deg)}.orbit-one{width:160px;height:85px}.orbit-two{width:206px;height:115px;opacity:.55}.chip-art{width:59px;height:59px;display:grid;place-items:center;color:#72905d;background:#dbe7c9;border:5px solid #eaf0de;border-radius:14px;transform:rotate(-12deg);box-shadow:0 5px 15px #64814015}.chip-art svg{width:34px;height:34px;stroke-width:1.2}.orbit-node{width:6px;height:6px;background:#90a477;position:absolute;top:18px;left:27%;border:2px solid #edf3e7;border-radius:50%;box-shadow:0 0 0 4px #dce6cd}.signal-pill{position:absolute;bottom:7px;right:9%;background:#f6f8f1;border:1px solid #d7e2ca;border-radius:4px;padding:5px 7px;font-size:7px;letter-spacing:1px;display:flex;align-items:center;gap:5px}.signal-pill .status-dot{width:4px;height:4px}.count{font-family:ui-monospace,monospace;color:#86917e;background:#f0f3eb;border-radius:5px;padding:3px 6px;font-size:10px;margin-left:7px;vertical-align:middle}.table-tools{display:flex;gap:8px;align-items:center}.search{position:relative;display:flex;align-items:center}.search svg{position:absolute;left:11px;color:#9ba59a;width:14px;height:14px}.search input{width:212px;min-height:35px;padding:8px 10px 8px 33px;background:#fff;font-size:10px;border:1px solid #e4e8e1;border-radius:5px;color:#344838}.search input::placeholder{color:#9aA397}.icon-button{min-height:35px;width:35px;padding:8px}.table-wrap{position:relative;overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{background:#fafbf8;border-block:1px solid #edf0e9;padding:11px 24px;font-size:9px;font-weight:500;color:#8b9587}td{padding:17px 24px;font-size:10px;border-bottom:1px solid #eff1ec;color:#71816f}tbody tr:last-child td{border-bottom:0}.device-name{display:flex;align-items:center;gap:9px;font-size:11px;color:#41533e;font-weight:500}.device-name svg{color:#9ba990;width:15px;height:15px}.version-tag{font-family:ui-monospace,monospace;font-size:10px;padding:4px 7px;border:1px solid #e6eadf;border-radius:4px;background:#fafbf7;color:#75866b}.table-action{font-size:10px;color:#57744c;background:none;border:0;padding:5px}.table-action:hover{text-decoration:underline}.table-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 24px;border-top:1px solid #edf0e9;font-size:9px;color:#939c8b}.table-footer>span:last-child{display:flex;align-items:center;gap:6px}.muted-dot{background:#acb79d;width:4px;height:4px}.main-footer{display:flex;justify-content:space-between;gap:12px;color:#9aa391;font-size:9px;margin-top:27px;padding:0 2px}.footer-divider{padding:0 8px;color:#bcc4b4}.empty{text-align:center!important;padding:45px 20px!important;font-size:12px;color:#8c9886;white-space:normal;line-height:1.8}.empty strong{display:block;font-size:14px;color:#546b4c;font-weight:500}.empty .button{margin-top:15px}.release-list>.empty{min-height:230px;display:flex;flex-direction:column;align-items:center;justify-content:center}.file-name{display:block;color:#949d8c;font-size:9px;margin-top:8px;max-width:240px;overflow:hidden;text-overflow:ellipsis}.checksum{font-family:ui-monospace,monospace;font-size:10px;cursor:pointer;background:#f8faf4;border:1px solid #e6ecdf;border-radius:4px;padding:5px 8px;color:#6c7f60}.ota-layout{display:grid;grid-template-columns:1fr 1fr;gap:24px}.form-body{padding:0 24px 25px}form label:not(.dropzone){display:block;font-size:11px;font-weight:550;margin:20px 0 9px}form input:not([type=file]){width:100%;border:1px solid #dfe5d8;border-radius:6px;padding:12px 13px;font-size:12px;color:#365032;background:#fff}.field-help{font-size:10px;color:#8d9786;margin-top:8px}.notice{padding:13px 15px;background:#f1f5eb;border:1px solid #e1e9d8;color:#6f815f;font-size:11px;line-height:1.6;border-radius:6px;margin:20px 0}.notice.error{background:#fff4ef;border-color:#f0d9cd;color:#a1573f}.result-body{padding:30px;text-align:center;display:flex;align-items:center;flex-direction:column;gap:10px}.result-icon{width:56px;height:56px;display:grid;place-items:center;background:#eef4e7;border:1px solid #dfe9d3;border-radius:50%;color:#6f9055}.result-icon svg{width:25px;height:25px}.result-body h3{margin:9px 0 0}.result-body p{max-width:280px}.result-body .button{margin-top:10px}.result-details{width:100%;text-align:left;font-size:11px;background:#f8faf4;border-radius:6px;padding:16px;margin-top:7px}.result-details div{display:flex;justify-content:space-between;gap:15px;padding:6px 0;overflow-wrap:anywhere}.result-details span{color:#8b9680}.result-details code{word-break:break-all;font-size:9px;display:block;margin-top:10px;line-height:1.6;color:#718161}dialog{border:1px solid #e0e7d9;border-radius:13px;width:470px;max-width:calc(100vw - 32px);padding:28px;box-shadow:0 24px 100px #11231830;color:#2e442c}dialog::backdrop{background:#172b2470;backdrop-filter:blur(3px)}.dialog-header{display:flex;align-items:center;justify-content:space-between}.dialog-header h2{font-size:23px;letter-spacing:-.6px}.dialog-header .eyebrow{font-size:8px}.close-button{border:0;background:#f2f5ee;border-radius:50%;width:30px;height:30px;color:#829474;font-size:23px;line-height:1}.dialog-description{font-size:11px;margin:13px 0 24px}.dropzone{display:flex;align-items:center;flex-direction:column;justify-content:center;gap:10px;border:1px dashed #bacbaa;background:#f8faf4;border-radius:8px;padding:25px 15px;margin:23px 0 14px;position:relative;cursor:pointer}.dropzone.dragging{background:#e8f0de;border-color:#6b9150}.dropzone svg{color:#7c9765;width:26px;height:26px}.dropzone strong{font-size:12px;font-weight:500;max-width:100%;overflow-wrap:anywhere}.dropzone span{font-size:10px;color:#94a085}.dropzone input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.upload-note{font-size:10px;color:#8a997b;display:flex;align-items:center;gap:7px;margin:16px 0 25px}.upload-note svg{width:13px;height:13px}.dialog-actions{display:flex;justify-content:flex-end;gap:9px;padding-top:19px;border-top:1px solid #e9eee2}.progress-heading{font-size:10px;display:flex;justify-content:space-between;color:#748965;margin-top:18px}progress{width:100%;height:5px;accent-color:var(--green)}.toast{position:fixed;bottom:25px;right:25px;max-width:calc(100vw - 40px);padding:15px 22px;border-radius:8px;background:#224d36;color:#fff;font-size:12px;box-shadow:0 5px 25px #172b2430;z-index:30}.noscript{position:fixed;inset:0 0 auto;background:#fff0de;padding:20px;text-align:center;z-index:50}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(min-width:1500px){main{padding-top:45px}.overview-grid{grid-template-columns:2fr 1fr}.release-item{padding:22px 0}}@media(max-width:1150px){.sidebar{width:210px;padding-inline:15px}.shell{margin-left:210px}main{padding:28px 25px 20px}.topbar{padding-inline:25px}.stat{padding:17px}.stats{gap:12px}.overview-grid{gap:18px;grid-template-columns:1.5fr 1fr}.panel-heading{padding:20px}th,td{padding-left:20px;padding-right:20px}.search input{width:180px}.ota-promo{padding:18px}.stat-foot{font-size:9px}.page-heading h1{font-size:27px}}@media(max-width:900px){.sidebar{width:76px;padding-inline:13px;align-items:center}.brand{padding:0;font-size:0;gap:0}.brand-dot,.workspace,.nav-label,.sidebar-bottom,.nav-count{display:none}.brand-mark{width:39px;height:39px}.sidebar nav{margin-top:40px;width:100%}nav a{font-size:0;gap:0;justify-content:center;padding:14px}nav a svg{width:20px;height:20px}.shell{margin-left:76px}.stats{grid-template-columns:repeat(2,1fr)}.overview-grid{grid-template-columns:1.3fr 1fr}.table-footer>span:last-child{display:none}.ota-layout{grid-template-columns:1fr}.page-heading{gap:12px}.page-heading p{font-size:11px}}@media(max-width:640px){.sidebar{position:sticky;top:0;inset:auto;width:100%;height:62px;flex-direction:row;justify-content:space-between;padding:10px 17px}.brand-mark{width:32px;height:32px}.brand-mark svg{width:22px;height:22px}.sidebar nav{margin:0;flex-direction:row;width:auto;gap:7px}nav a{padding:10px}.shell{margin-left:0}.topbar{height:51px;padding-inline:20px;font-size:10px}.topbar>.table-tools{width:auto}.topbar>div:first-child{white-space:nowrap}.connection{font-size:9px}.topbar .breadcrumb,.topbar .slash{display:none}main{padding:25px 17px 20px}.page-heading{align-items:flex-start;flex-direction:column;margin-bottom:22px;gap:18px}.page-heading h1{font-size:27px}.page-heading>.button{font-size:10px;min-height:36px;padding:9px 13px}.stats{gap:10px;margin-bottom:18px}.stat{padding:16px 14px}.stat>strong{font-size:30px}.stat>strong.version-value{font-size:22px}.stat-top{font-size:10px}.stat-foot{font-size:8px}.overview-grid{grid-template-columns:1fr;gap:18px;margin-bottom:18px}.ota-promo{padding:24px}.promo-art{position:absolute;width:145px;right:3px;top:30px;opacity:.6}.ota-promo h2,.ota-promo p{position:relative;max-width:220px}.ota-promo .promo-button{width:max-content;gap:30px}.panel-heading{flex-wrap:wrap;gap:14px;padding:20px 17px}.device-heading{align-items:flex-start}.table-tools{width:100%}.search{flex:1}.search input{width:100%}.panel-heading>.search{flex-basis:100%}th,td{padding:14px 17px}.release-list{padding-inline:17px}.release-title strong{font-size:12px}.table-footer{padding:13px 17px;font-size:8px}.main-footer{font-size:8px}.result-body{padding:25px}.form-body{padding-inline:18px}dialog{padding:23px}.text-link{font-size:9px}.sidebar nav a[aria-current=page]{background:#c6e49f}.main-footer{flex-wrap:wrap}}
/* Device families, remote commands, and ESP32 documentation. */
select {
  font: inherit;
  font-size: 12px;
  color: #365032;
  border: 1px solid #dfe5d8;
  border-radius: 6px;
  background: white;
  padding: 10px 30px 10px 12px;
}
select:focus-visible { outline: 3px solid #83b797; outline-offset: 2px; }
form select { width: 100%; }
.type-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: -4px 0 24px; padding: 16px 20px; border: 1px solid #e1e7db; border-radius: 8px; background: #f0f4eb; }
.type-toolbar .eyebrow { display: block; margin-bottom: 5px; font-size: 8px; }
.type-toolbar p { font-size: 10px; }
.type-toolbar select { min-width: 125px; font-size: 11px; }
.badge.type-ems { color: #36674f; background: #e9f3eb; }
.badge.type-bms { color: #496a95; background: #eaf0f8; }
.badge.type-unknown { color: #94723e; background: #f7f0e3; }
.device-subline { display: flex; align-items: center; gap: 8px; margin: 7px 0 0 24px; font-size: 9px; color: #8c9885; }
.device-actions { display: flex; align-items: center; gap: 10px; }
.trigger-button { min-height: 31px; padding: 7px 9px; font-size: 10px; }
.trigger-button svg { width: 13px; height: 13px; }
.trigger-button:disabled { cursor: default; }
.release-title { flex-wrap: wrap; }
.docs-layout { display: grid; gap: 22px; }
.docs-body { padding: 0 24px 24px; min-width: 0; }
.docs-body > p + p { margin-top: 14px; }
.docs-body input { font: inherit; font-size: 12px; color: #365032; border: 1px solid #dfe5d8; border-radius: 6px; background: white; padding: 11px 12px; width: 100%; }
.docs-body label { display: block; font-size: 11px; font-weight: 550; margin: 12px 0 9px; }
.docs-body label input, .docs-body label select { margin-top: 9px; width: 100%; }
.docs-body .field-help { font-size: 10px; }
.docs-controls { display: grid; grid-template-columns: 1fr 1.5fr 1fr; gap: 15px; }
.docs-body pre { padding: 18px; margin: 8px 0 22px; overflow-x: auto; background: #f4f7f0; border: 1px solid #e1e9db; border-radius: 7px; font-size: 11px; line-height: 1.8; color: #4e6544; }
.docs-body code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; overflow-wrap: anywhere; }
.docs-body p code, .docs-list code { background: #f0f4e9; padding: 2px 4px; border-radius: 3px; font-size: 11px; color: #577548; }
.code-heading { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-top: 20px; font-size: 10px; color: #78886c; }
.text-button { font: inherit; font-size: 10px; border: 0; background: transparent; padding: 6px 8px; color: #3e704f; cursor: pointer; }
.text-button:hover { background: #edf3e5; border-radius: 4px; }
.docs-list { padding-left: 18px; margin: 18px 0 0; font-size: 12px; line-height: 1.8; color: #788570; }
.docs-list li + li { margin-top: 8px; }
.integration-flow { display: flex; gap: 12px; margin: 0 0 22px; }
.integration-flow span { flex: 1; padding: 14px; border-radius: 6px; background: #edf3e5; color: #5e7b49; font-size: 11px; }
.method { color: #44764a; background: #eaf2e3; padding: 3px 6px; border-radius: 4px; font-family: ui-monospace, monospace; font-size: 10px; margin-right: 6px; }
.docs-layout .panel-heading code { overflow-wrap: anywhere; }
.result-details strong { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .type-toolbar { padding: 13px; gap: 12px; align-items: flex-start; }
  .type-toolbar p { line-height: 1.8; }
  .type-toolbar select { min-width: 105px; padding: 9px; }
  .docs-body { padding: 0 17px 20px; }
  .docs-controls { grid-template-columns: 1fr; gap: 0; }
  .integration-flow { flex-direction: column; gap: 7px; }
  .integration-flow span { padding: 11px 14px; }
  .sidebar nav { gap: 3px; }
  .sidebar nav a { padding: 9px; }
  .docs-body pre { font-size: 10px; }
}
/* Keep language selection accessible without crowding the status on small screens. */
.language-picker { display: flex; align-items: center; }
.language-picker select { font-size: 10px; max-width: 160px; padding: 8px 24px 8px 10px; }
.topbar { gap: 16px; }
html[lang="id"] .workspace { font-size: 10px; }
html[lang="id"] .page-heading h1 { overflow-wrap: anywhere; }
@media (max-width: 900px) {
  .topbar .connection { display: none; }
}
@media (max-width: 640px) {
  .topbar { gap: 8px; padding-inline: 17px; }
  .topbar > div:first-child { min-width: 0; white-space: normal; }
  .topbar > .table-tools { flex-shrink: 0; gap: 6px; }
  .language-picker select { max-width: 142px; font-size: 9px; }
  html[lang="id"] .page-heading h1 { font-size: 25px; }
}
/* Row edit/delete actions and destructive confirmations. */
.row-icon { padding: 8px; color: #71866d; background: white; border: 1px solid #e6eae2; border-radius: 6px; display: grid; place-items: center; }
.row-icon:hover { background: #f0f5e9; }
.row-icon svg { width: 14px; height: 14px; }
.row-icon.danger { color: #a1573f; }
.row-icon.danger:hover { background: #fff4ef; border-color: #f0d9cd; }
.device-actions .row-icon, .device-actions .download-icon { flex-shrink: 0; }
.row-actions { gap: 6px; }
.button.danger { background: #b4553a; color: #fff; border-color: #b4553a; }
.button.danger:hover { background: #95442d; }
#confirm-dialog .dialog-description { font-size: 12px; line-height: 1.7; }
