.view-toolbar{display:flex!important;align-items:center;gap:14px!important;flex-wrap:wrap!important;justify-content:space-between!important}.stage-tool-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0;flex:1 1 660px}.view-toolbar>.tabs{margin-left:auto!important;order:10;flex:0 0 auto}.stage-tool-actions .transform-modes{margin:0!important}.view-toolbar>.view-actions:empty{display:none}.input-map-view{min-height:0;overflow:auto;background:#131e19;flex:1;padding:18px;box-sizing:border-box}.input-map-view[hidden]{display:none!important}.input-map-tools{display:flex;gap:16px;justify-content:space-between;align-items:center;flex-wrap:wrap}.input-map-tools strong{display:block;font-size:14px;color:#eff8f2}.input-map-tools small{display:block;color:#9ab0a2;font-size:11px;margin-top:7px}.input-fit-modes{display:flex;gap:6px;flex-wrap:wrap}.input-fit-modes button{height:34px;font-size:11px}.input-transform-fields{display:flex;gap:12px;margin:20px 0 12px;flex-wrap:wrap}.input-transform-fields label{font-size:10px;color:#a9b9af;flex:0 1 140px}.input-transform-fields input{margin-top:7px;width:100%;height:34px;box-sizing:border-box}.input-canvas-wrap{position:relative;border:1px solid #35483d;border-radius:8px;background:#101815;overflow:hidden}.input-canvas-wrap canvas{display:block;width:100%;height:auto;touch-action:none}.input-map-empty{position:absolute;inset:0;display:grid;place-items:center;pointer-events:none;color:#9caf9f;font-size:12px}.input-map-empty[hidden]{display:none}.input-map-help{font-size:11px;color:#9fb5a7;padding-top:13px;line-height:1.8}.input-mode #regionForm,.input-mode #selectionForm,.input-mode #lightForm,.input-mode #transformForm,.input-mode #ledLabelForm{display:none!important}
.home-screen .home-title{margin-bottom:18px}.home-screen .home-heading{margin-bottom:20px}.home-screen .home-layout{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:24px}.home-screen .template-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:18px}.home-screen .template-caption{padding:11px 13px;gap:5px}.home-screen .template-caption b{font-size:14px}.home-screen .template-caption small{font-size:10px;min-height:0}.home-screen .template-meta{font-size:9px}.home-screen .template-preview{aspect-ratio:16/9}.home-screen .home-updates{border-left:1px solid #385042;padding-left:22px;text-align:left}.home-updates .release-kicker{font-size:9px;letter-spacing:1.2px;color:#a4f7cc;text-transform:uppercase}.home-updates h3{font-size:21px;line-height:1.25;margin:12px 0 8px;color:#eff6f0}.home-updates p{font-size:11px;line-height:1.7;color:#9fb4a7}.home-updates ul{padding-left:16px;margin:16px 0;color:#c0d2c5;font-size:11px;line-height:1.8}.home-updates button{width:100%;margin:6px 0 8px}.home-updates .text-link{background:none;border:0;color:#a6bbad;font-size:10px}.home-screen .home-actions{margin-top:0}.wide-dialog:has(.home-screen){width:min(1080px,96vw);max-width:1080px;padding:30px}.release-article{max-width:920px;margin:auto}.release-article .release-lead{color:#a7bcaf;font-size:13px;line-height:1.7;max-width:650px}.release-article h2{font-size:28px;margin:8px 0 12px}.release-article .release-kicker{font-size:10px;letter-spacing:1.2px;color:#a4f7cc}.release-layout{display:grid;grid-template-columns:170px minmax(0,1fr);gap:28px;margin-top:25px}.release-nav{display:flex;flex-direction:column;gap:7px;align-items:stretch}.release-nav button{font-size:11px;text-align:left}.release-section{border-top:1px solid #34483c;padding:22px 0 8px}.release-section:first-child{border-top:0;padding-top:0}.release-section h3{font-size:18px;color:#dbf6e6;margin:0 0 10px}.release-section p,.release-section li{font-size:12px;line-height:1.8;color:#bccdc2}.release-section ul{padding-left:20px}.release-visual{display:block!important;width:100%!important;float:none!important;margin:16px 0!important;border:1px solid #40594b;border-radius:8px;max-height:330px;object-fit:contain;background:#101914}.release-section figcaption{font-size:10px;color:#8da797;margin-bottom:16px}.release-article .release-back{margin-bottom:14px}.release-key{border:1px solid #496453;border-radius:4px;padding:1px 5px;background:#21382a;color:#caffde;font-size:11px}.release-section a{color:#a4f7cc}.connector-install{padding:14px;border:1px solid #3c5a48;border-radius:8px;background:#172a20;margin-top:18px}.connector-install ol{padding-left:18px;font-size:12px;line-height:1.9;color:#bdcfc3}.connector-install .connector-download{display:inline-flex;align-items:center;justify-content:center;background:#a4f7cc;color:#102017;text-decoration:none;border-radius:6px;padding:11px 16px;font-size:12px;font-weight:600}.connector-install p{font-size:11px;color:#acbfb1;line-height:1.7}
@media(min-width:1700px){.stage-tool-actions{flex-basis:auto}.view-toolbar{flex-wrap:nowrap!important}}@media(max-width:800px){.home-screen .home-layout{grid-template-columns:1fr}.home-screen .home-updates{border-left:0;border-top:1px solid #385042;padding:20px 0 0}.release-layout{grid-template-columns:1fr}.release-nav{flex-direction:row;flex-wrap:wrap}.wide-dialog:has(.home-screen){padding:22px}.stage-tool-actions{flex-basis:100%}.view-toolbar>.tabs{margin-left:0!important}}

@media(max-width:1699px){.stage-tool-actions{flex:1 1 100%;flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px}.stage-tool-actions>*{flex-shrink:0}.view-toolbar>.tabs{margin-top:0!important}.view-toolbar{padding-top:10px!important;padding-bottom:10px!important}}

.wide-dialog:has(.home-screen){max-width:1080px!important}@media(max-height:800px){.home-screen .template-preview{height:106px;aspect-ratio:auto}.home-screen .home-heading{margin-bottom:12px}.home-screen .home-title{margin-bottom:12px}.home-screen .template-caption{padding:8px 12px;gap:3px}.wide-dialog:has(.home-screen){padding:24px}.home-screen .home-note{font-size:9px}}

.map-view:not([hidden]), .input-map-view:not([hidden]) {
  display:flex;
  flex-direction:column;
  min-height:0;
}
.map-tools, .map-hint, .input-map-tools, .input-transform-fields, .editor-footer {flex:none}
.map-view .map-board, .input-map-view .input-canvas-wrap {
  position:relative;
  flex:1 0 150px;
  min-height:150px;
  padding:0;
  overflow:hidden;
}
.input-map-view .input-canvas-wrap {
  background-color:#111a16;
  background-image:linear-gradient(45deg,#19231e 25%,transparent 25%,transparent 75%,#19231e 75%),linear-gradient(45deg,#19231e 25%,transparent 25%,transparent 75%,#19231e 75%);
  background-size:20px 20px;
  background-position:0 0,10px 10px;
}
#mapCanvas, #inputMapCanvas {
  display:block;
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  max-height:none;
  box-shadow:none;
  touch-action:none;
}
#mapCanvas:focus-visible, #inputMapCanvas:focus-visible {outline:1px solid #a4f7cc;outline-offset:-2px}
#mapCanvas.pan-ready, #inputMapCanvas.pan-ready {cursor:grab!important}
#mapCanvas.panning, #inputMapCanvas.panning {cursor:grabbing!important}
.editor-footer {display:flex;align-items:center;gap:10px 14px;flex-wrap:wrap;margin-top:10px}
.editor-footer .map-info, .editor-footer .input-map-help {margin:0;padding:0;flex:1 1 250px}
.editor-zoom {
  flex:0 0 auto;
  width:auto;
  min-height:var(--control-height,34px);
  padding:0 8px;
  font-size:11px;
  color:#d9e8df;
  background:#111c16;
  border:1px solid #344a3a;
  border-radius:5px;
}
.map-tools .editor-icon, .input-fit-modes .editor-icon {
  display:inline-grid;
  place-items:center;
  padding:0!important;
  width:var(--control-height,34px);
}
.input-transform-fields {margin-top:12px;gap:8px 12px}
.map-hint {margin:10px 0}
.wide-dialog:has(.home-screen) {
  box-sizing:border-box;
  padding:clamp(14px,3dvh,26px);
  max-height:calc(100dvh - 24px);
}
.home-screen .template-preview {
  height:clamp(60px,calc((100dvh - 480px)/2),155px);
  aspect-ratio:auto;
}
.home-screen .home-heading, .home-screen .home-title {margin-bottom:10px}
.home-screen .template-grid {margin-bottom:12px}
.home-screen .home-actions {padding-top:10px;margin-bottom:6px}
.home-screen .template-caption {padding:7px 10px;gap:3px}
.home-screen .home-updates h3 {margin-top:7px}
.home-screen .home-updates ul {margin:10px 0}
@media(max-width:800px) {
  .home-screen .home-layout {gap:6px}
  .home-screen .home-updates {padding-top:8px}
  .home-screen .home-updates h3 {margin:3px 0}
  .home-screen .home-updates p, .home-screen .home-updates ul {display:none}
  .home-screen .home-updates button {width:auto;margin:4px 6px 6px 0}
  .home-screen .template-preview {height:clamp(44px,calc((100dvh - 500px)/2),120px)}
}
@media(max-height:600px) {
  .home-screen .home-note, .home-screen .template-caption small, .home-screen .template-meta {display:none}
  .home-screen .home-heading {margin-bottom:6px}
  .home-screen .home-title h2 {font-size:22px}
  .home-screen .template-grid {gap:7px}
  .home-screen .template-preview {height:clamp(36px,calc((100dvh - 370px)/2),72px)}
}
