:root{color:#1c242b;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;--ink:#1c242b;--muted:#66717b;--subtle:#8a949c;--line:#dce1e4;--line-strong:#c9d0d4;--panel:#fff;--canvas:#f3f5f6;--accent:#137f74;--accent-dark:#0c685f;--accent-soft:#e3f2ef;--danger:#c43b50;--warning:#d19720;--focus:#137f743d;background:#f3f5f6;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{background:var(--canvas);min-width:320px;min-height:100vh;margin:0}button,input{font:inherit;letter-spacing:0}button{color:inherit}button:focus-visible,input:focus-visible{outline:3px solid var(--focus);outline-offset:2px}button:disabled{cursor:not-allowed;opacity:.48}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}#root,.app-shell{min-height:100vh}.topbar{background:var(--panel);border-bottom:1px solid var(--line);grid-template-columns:1fr auto auto;align-items:center;gap:28px;height:72px;padding:0 32px;display:grid}.brand,.connection-summary,.toolbar-actions,.profile-title,.panel-heading,.settings-heading,.profile-detail-header,.event-log-heading{align-items:center;display:flex}.brand{gap:12px;min-width:0}.brand-mark{background:var(--ink);border-radius:5px;grid-template-columns:repeat(2,8px);place-content:center;gap:3px;width:26px;height:26px;display:grid}.brand-mark span{background:#dff1ed;border-radius:1px;width:8px;height:8px}.brand>div:last-child,.connection-summary>div,.settings-heading>div,.profile-detail-header>div:last-child{flex-direction:column;min-width:0;display:flex}.brand strong{font-size:14px;line-height:18px}.brand>div:last-child span{color:var(--muted);font-size:12px}.connection-summary{gap:10px;min-width:220px}.connection-dot{background:#9ba4aa;border-radius:50%;flex:none;width:9px;height:9px;box-shadow:0 0 0 4px #eef0f1}.connection-summary.connected .connection-dot{background:#1f9b6e;box-shadow:0 0 0 4px #e1f2ea}.connection-summary.error .connection-dot{background:var(--danger);box-shadow:0 0 0 4px #f8e7ea}.connection-summary strong{font-size:12px;line-height:16px}.connection-summary span{max-width:230px;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:11px;line-height:15px;overflow:hidden}.button,.icon-button{cursor:pointer;white-space:nowrap;border:1px solid #0000;border-radius:6px;justify-content:center;align-items:center;gap:8px;height:38px;font-size:13px;font-weight:650;display:inline-flex}.button{padding:0 15px}.button.compact{height:32px;padding:0 11px;font-size:12px}.button.primary{color:#fff;background:var(--accent);border-color:var(--accent)}.button.primary:hover:not(:disabled){background:var(--accent-dark)}.button.secondary,.icon-button{color:var(--ink);border-color:var(--line-strong);background:#fff}.button.secondary:hover:not(:disabled),.icon-button:hover:not(:disabled){background:#f5f7f7}.button.ghost{background:0 0;border-color:#0000}.icon-button{width:36px;padding:0}.icon-button.danger{color:var(--danger)}.main-tabs{background:var(--panel);border-bottom:1px solid var(--line);align-items:end;gap:24px;height:52px;padding:0 32px;display:flex}.main-tabs button{height:51px;color:var(--muted);cursor:pointer;background:0 0;border:0;align-items:center;gap:7px;padding:0 3px;font-size:13px;font-weight:600;display:flex;position:relative}.main-tabs button:after{content:"";background:0 0;height:2px;position:absolute;bottom:-1px;left:0;right:0}.main-tabs button.active{color:var(--ink)}.main-tabs button.active:after{background:var(--accent)}.capability-banner{color:#654c12;background:#fff6dc;border-bottom:1px solid #ead6a4;align-items:center;gap:10px;padding:10px 32px;font-size:12px;display:flex}main{min-height:calc(100vh - 124px)}.layout-workspace{grid-template-columns:minmax(560px,1fr) clamp(360px,22vw,440px);min-height:calc(100vh - 124px);display:grid}.board-section{min-width:0;padding:24px 28px 40px}.section-toolbar{justify-content:space-between;align-items:center;gap:16px;min-height:40px;margin-bottom:18px;display:flex}.profile-title{gap:10px;min-width:0}.profile-title input{width:min(260px,42vw);color:var(--ink);background:0 0;border:0;border-bottom:1px solid #0000;padding:5px 3px;font-size:20px;font-weight:720}.profile-title input:hover,.profile-title input:focus{border-bottom-color:var(--line-strong)}.dirty-pill,.firmware-badge,.live-label{text-transform:uppercase;border-radius:999px;align-items:center;font-size:10px;font-weight:700;display:inline-flex}.dirty-pill{color:#7a5614;background:#fff0c8;padding:4px 7px}.toolbar-actions{flex-wrap:wrap;gap:8px}.layer-switcher{border:1px solid var(--line-strong);background:#e9edef;border-radius:7px;grid-template-columns:repeat(4,1fr);width:min(100%,1024px);margin:0 auto 20px;display:grid}.layer-switcher button{min-width:0;height:42px;color:var(--muted);border:0;border-right:1px solid var(--line-strong);cursor:pointer;background:0 0;justify-content:center;align-items:center;gap:7px;padding:0 10px;font-size:12px;font-weight:650;display:flex}.layer-switcher button:last-child{border-right:0}.layer-switcher button.active{color:var(--ink);box-shadow:inset 0 -2px 0 var(--accent);background:#fff}.layer-switcher button span{width:20px;height:20px;color:var(--muted);background:#eef1f2;border-radius:4px;place-items:center;font-size:10px;display:grid}.device-stage{background:#2a3035;border:1px solid #1a1f22;border-radius:8px;width:min(100%,clamp(700px,38vw,820px));margin:0 auto;padding:22px 26px 28px;position:relative;overflow:hidden;box-shadow:0 18px 40px #1c242b29}.section-toolbar{width:min(100%,1024px);margin-left:auto;margin-right:auto}.device-stage:before{pointer-events:none;content:"";background-image:linear-gradient(#ffffff06 1px,#0000 1px),linear-gradient(90deg,#ffffff05 1px,#0000 1px);background-size:10px 10px;position:absolute;inset:0}.device-label{color:#aeb6ba;justify-content:space-between;align-items:baseline;margin-bottom:16px;display:flex;position:relative}.device-label span{letter-spacing:2px;font-size:9px}.device-label strong{letter-spacing:1px;font-size:10px}.encoder-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:18px;display:grid;position:relative}.encoder-control{grid-template-columns:minmax(0,1fr) 58px minmax(0,1fr);align-items:center;gap:8px;min-width:0;display:grid}.encoder-control button{color:#c7cdd0;cursor:pointer;background:#343b40;border:1px solid #475057;border-radius:5px;align-items:center;gap:5px;min-width:0;height:36px;padding:0 8px;font-size:9px;display:flex;overflow:hidden}.encoder-control button span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.encoder-control button.selected{color:#fff;border-color:#4fc0af;box-shadow:0 0 0 2px #4fc0af33}.encoder-knob{background:#555f66;border:3px solid #15191c;border-radius:50%;width:58px;height:58px;position:relative;box-shadow:inset 0 0 0 2px #727d84,0 4px 8px #00000052}.encoder-knob span{background:#d8dddf;width:2px;height:12px;position:absolute;top:7px;left:50%;transform:translate(-50%)}.key-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid;position:relative}.key{aspect-ratio:1.18;color:#dbe0e2;cursor:pointer;background:#3a4247;border:1px solid #535e65;border-bottom:4px solid #1a1f22;border-radius:6px;flex-direction:column;justify-content:center;align-items:center;gap:6px;min-width:0;padding:8px;display:flex;overflow:hidden}.key:hover{background:#414a50}.key.selected{color:#fff;background:#245c57;border-color:#58c6b5 #58c6b5 #193c39;box-shadow:0 0 0 2px #58c6b538}.key>span{text-align:center;text-overflow:ellipsis;white-space:nowrap;width:100%;font-size:11px;font-weight:700;overflow:hidden}.key small{color:#8f9a9f;font-size:8px}.key.selected small{color:#a8d8d1}.assignment-panel{background:var(--panel);border-left:1px solid var(--line);flex-direction:column;min-width:0;padding:24px;display:flex}.panel-heading{justify-content:space-between;gap:12px;margin-bottom:18px}.panel-heading>div:first-child{min-width:0}.panel-heading span,.page-heading span,.profile-detail-header span,.event-log-heading span{color:var(--muted);text-transform:uppercase;font-size:10px;font-weight:700}.panel-heading h2,.profile-detail-header h2,.event-log-heading h2{color:var(--ink);margin:2px 0 0;font-size:17px}.keycode-badge{color:#44505a;background:#edf0f1;border-radius:4px;flex:none;padding:6px 8px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px}.current-assignment{border-top:1px solid var(--line);border-bottom:1px solid var(--line);grid-template-columns:1fr auto;gap:3px 10px;padding:12px 0;display:grid}.current-assignment span,.current-assignment small{color:var(--muted);font-size:11px}.current-assignment strong{max-width:170px;color:var(--ink);text-overflow:ellipsis;white-space:nowrap;grid-row:span 2;align-self:center;font-size:13px;overflow:hidden}.search-field{height:38px;color:var(--muted);border:1px solid var(--line-strong);border-radius:6px;align-items:center;gap:8px;margin:16px 0 10px;padding:0 10px;display:flex}.search-field input{border:0;outline:0;flex:1;min-width:0;font-size:12px}.search-field button{cursor:pointer;background:0 0;border:0;place-items:center;width:22px;height:22px;padding:0;display:grid}.assignment-groups{border-bottom:1px solid var(--line);grid-template-columns:repeat(5,minmax(58px,1fr));margin-bottom:10px;display:grid;overflow-x:auto}.assignment-groups button{min-width:0;height:34px;color:var(--muted);cursor:pointer;white-space:nowrap;background:0 0;border:0;border-bottom:2px solid #0000;padding:0 4px;font-size:9px;font-weight:700}.assignment-groups button.active{color:var(--accent);border-bottom-color:var(--accent)}.assignment-list{border:1px solid var(--line);border-radius:6px;height:clamp(240px,36vh,420px);overflow:auto}.assignment-list>button{text-align:left;border:0;border-bottom:1px solid var(--line);cursor:pointer;background:#fff;justify-content:space-between;align-items:center;width:100%;min-height:46px;padding:7px 10px;display:flex}.assignment-list>button:last-child{border-bottom:0}.assignment-list>button:hover,.assignment-list>button.active{background:var(--accent-soft)}.assignment-list>button>span{flex-direction:column;flex:1;min-width:0;display:flex}.assignment-list strong{color:var(--ink);font-size:11px;line-height:15px}.assignment-list small{color:var(--muted);font-size:9px;line-height:13px}.assignment-list kbd{color:#425159;text-overflow:ellipsis;white-space:nowrap;background:#edf1f2;border:1px solid #d7dee0;border-bottom-width:2px;border-radius:4px;flex:none;max-width:88px;padding:4px 6px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:9px;overflow:hidden}.assignment-list>button.active kbd{color:#255f57;background:#fff;border-color:#aad7d0}.assignment-empty{min-height:120px;color:var(--muted);place-items:center;font-size:11px;display:grid}.numeric-editor{margin-top:auto;padding-top:15px}.numeric-editor summary{color:var(--muted);cursor:pointer;text-transform:uppercase;font-size:10px;font-weight:700}.numeric-editor form{padding-top:10px}.numeric-editor form>label{color:var(--muted);text-transform:uppercase;align-items:center;gap:5px;margin-bottom:6px;font-size:10px;font-weight:700;display:flex}.help-tip{display:inline-flex}.numeric-editor form>div{grid-template-columns:1fr auto;gap:7px;display:grid}.numeric-editor input{border:1px solid var(--line-strong);border-radius:5px;min-width:0;height:32px;padding:0 9px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px}.page-section{max-width:1180px;margin:0 auto;padding:34px 32px 56px}.page-heading{justify-content:space-between;align-items:center;gap:20px;margin-bottom:26px;display:flex}.page-heading h1{color:var(--ink);overflow-wrap:anywhere;margin:3px 0 0;font-size:25px}.page-heading>div:first-child,.profile-detail-header>div:last-child{min-width:0}.profiles-layout,.status-layout{grid-template-columns:minmax(280px,.8fr) minmax(430px,1.2fr);gap:22px;display:grid}.profile-list,.profile-detail,.status-list,.slot-indicators,.status-settings,.event-log{background:var(--panel);border:1px solid var(--line);border-radius:8px}.profile-list{align-self:start;overflow:hidden}.profile-row{text-align:left;border:0;border-bottom:1px solid var(--line);cursor:pointer;background:#fff;grid-template-columns:40px 1fr auto auto;align-items:center;gap:11px;width:100%;min-height:68px;padding:10px 13px;display:grid}.profile-row:last-child{border-bottom:0}.profile-row.active{background:var(--accent-soft);box-shadow:inset 3px 0 0 var(--accent)}.profile-avatar{color:#fff;background:#47555d;border-radius:6px;flex:none;place-items:center;width:40px;height:40px;font-size:11px;font-weight:800;display:grid}.profile-avatar.large{width:54px;height:54px;font-size:14px}.profile-row>span{flex-direction:column;min-width:0;display:flex}.profile-row strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.profile-row small,.profile-detail small{color:var(--muted);font-size:10px}.profile-row i{background:var(--warning);border-radius:50%;width:7px;height:7px}.profile-detail{padding:22px}.profile-detail-header{border-bottom:1px solid var(--line);gap:14px;padding-bottom:20px}.profile-detail-header h2,.profile-detail-header small{overflow-wrap:anywhere}.profile-stats{border-bottom:1px solid var(--line);grid-template-columns:repeat(4,1fr);gap:0;margin:0;padding:22px 0;display:grid}.profile-stats div{border-right:1px solid var(--line);padding:0 14px}.profile-stats div:first-child{padding-left:0}.profile-stats div:last-child{border-right:0}.profile-stats dt{color:var(--muted);text-transform:uppercase;margin-bottom:5px;font-size:9px;font-weight:700}.profile-stats dd{color:var(--ink);margin:0;font-size:15px;font-weight:700}.profile-actions{flex-wrap:wrap;gap:8px;padding-top:20px;display:flex}.profile-actions .icon-button{margin-left:auto}.profile-note{color:#5d6871;background:#f2f5f6;border-radius:6px;gap:10px;margin-top:20px;padding:12px;font-size:11px;line-height:16px;display:flex}.profile-note svg{flex:none}.firmware-badge{color:#317061;background:#e3f2ed;gap:6px;padding:6px 9px}.firmware-badge span{background:#2b9e7d;border-radius:50%;width:7px;height:7px}.status-list{padding:8px 16px}.status-row{border-bottom:1px solid var(--line);grid-template-columns:22px minmax(0,1fr) auto auto;align-items:center;gap:12px;min-height:67px;padding:8px 0;display:grid}.status-row:last-child{border-bottom:0}.status-row.active{background:#f6faf9;margin:0 -16px;padding-left:16px;padding-right:16px}.status-swatch{border:2px solid #fffc;border-radius:4px;width:18px;height:18px;box-shadow:0 0 0 1px #1b23292e}.status-row>div{flex-direction:column;min-width:0;display:flex}.status-row strong{font-size:12px}.status-row small{color:var(--muted);overflow-wrap:anywhere;font-size:10px}.live-label{color:var(--accent);background:var(--accent-soft);padding:4px 7px}.status-column{flex-direction:column;align-self:start;gap:22px;display:flex}.slot-indicators{padding:8px 16px}.slot-heading{border-bottom:1px solid var(--line);flex-direction:column;gap:2px;padding:12px 0 10px;display:flex}.slot-heading strong{font-size:12px}.slot-heading span{color:var(--muted);font-size:10px}.slot-row{border-bottom:1px solid var(--line);grid-template-columns:22px minmax(0,1fr);align-items:center;gap:12px;padding:12px 0;display:grid}.slot-row:last-child{border-bottom:0}.slot-row>div{flex-direction:column;min-width:0;display:flex}.slot-row strong{font-size:12px}.slot-row small{color:var(--muted);font-size:10px}.slot-buttons{flex-wrap:wrap;grid-column:1/-1;gap:6px;display:flex}.slot-buttons .button.active{color:var(--accent);border-color:var(--accent);background:var(--accent-soft)}.status-settings{align-self:start;padding:22px}.settings-heading{border-bottom:1px solid var(--line);gap:11px;padding-bottom:16px}.settings-heading svg{color:var(--accent)}.settings-heading strong{font-size:13px}.settings-heading span{color:var(--muted);font-size:10px}.ttl-control{grid-template-columns:1fr auto;align-items:center;gap:20px;padding:22px 0;display:grid}.ttl-control input[type=range]{accent-color:var(--accent)}.ttl-control>div{align-items:center;gap:7px;display:flex}.ttl-control input[type=number]{border:1px solid var(--line-strong);border-radius:5px;width:62px;height:34px;padding:0 8px}.ttl-control span{color:var(--muted);font-size:10px}.lighting-preview{background:#2d3438;border-radius:7px;align-items:center;gap:16px;padding:18px;display:flex}.preview-key{background:#137f74;border:1px solid #81dacd;border-bottom:4px solid #162b29;border-radius:6px;flex:none;width:48px;height:48px;box-shadow:0 0 16px #33ceb46b}.preview-key.pulse{animation:2.4s ease-in-out infinite pulse}.lighting-preview>div:last-child{flex-direction:column;display:flex}.lighting-preview strong{color:#fff;font-size:12px}.lighting-preview span{color:#bfc8cc;margin-top:3px;font-size:10px;line-height:15px}.lighting-editor{border-top:1px solid var(--line);margin-top:18px;padding-top:17px}.lighting-editor-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.lighting-editor-heading>div{flex-direction:column;display:flex}.lighting-editor-heading span,.color-controls label>span,.lighting-slider label span{color:var(--muted);text-transform:uppercase;font-size:10px;font-weight:700}.lighting-editor-heading strong{color:var(--ink);margin-top:3px;font-size:13px}.lighting-layer-tabs{border:1px solid var(--line-strong);border-radius:6px;grid-template-columns:repeat(4,1fr);margin-top:16px;display:grid;overflow:hidden}.lighting-layer-tabs button{min-width:0;height:34px;color:var(--muted);border:0;border-right:1px solid var(--line-strong);cursor:pointer;background:#fff;font-size:11px;font-weight:650}.lighting-layer-tabs button:last-child{border-right:0}.lighting-layer-tabs button.active{color:var(--ink);background:var(--accent-soft);box-shadow:inset 0 -2px 0 var(--accent)}.color-controls{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:16px;display:grid}.color-controls label{border:1px solid var(--line);border-radius:6px;grid-template-columns:auto 32px minmax(0,1fr);align-items:center;gap:8px;min-width:0;padding:9px;display:grid}.color-controls input{cursor:pointer;background:0 0;border:0;width:30px;height:30px;padding:0}.color-controls code{color:var(--ink);text-overflow:ellipsis;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:10px;overflow:hidden}.effect-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:16px;display:grid}.effect-grid button{min-width:0;min-height:62px;color:var(--ink);text-align:left;border:1px solid var(--line-strong);cursor:pointer;background:#fff;border-radius:6px;flex-direction:column;align-items:flex-start;gap:3px;padding:10px;display:flex}.effect-grid button:hover,.effect-grid button.active{background:var(--accent-soft);border-color:var(--accent)}.effect-grid strong{font-size:11px}.effect-grid span,.lighting-firmware-note{color:var(--muted);font-size:10px;line-height:15px}.lighting-slider{gap:7px;margin-top:16px;display:grid}.lighting-slider label{justify-content:space-between;gap:12px;display:flex}.lighting-slider label strong{color:var(--ink);font-size:11px}.lighting-slider input{width:100%;accent-color:var(--accent)}.lighting-firmware-note{margin:15px 0 0}.inline-error{color:#862b3a;background:#fcecef;border-radius:5px;margin-top:14px;padding:10px;font-size:11px}.diagnostic-grid{grid-template-columns:repeat(4,1fr);gap:12px;display:grid}.metric{background:var(--panel);border:1px solid var(--line);border-radius:7px;grid-template-columns:auto 1fr;gap:4px 8px;min-width:0;padding:16px;display:grid}.metric svg{color:var(--muted);grid-row:span 3}.metric.good svg{color:var(--accent)}.metric span{color:var(--muted);text-transform:uppercase;font-size:9px;font-weight:700}.metric strong{text-overflow:ellipsis;white-space:nowrap;font-size:14px;overflow:hidden}.metric small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:9px;overflow:hidden}.event-log{margin-top:18px;overflow:hidden}.event-log-heading{border-bottom:1px solid var(--line);justify-content:space-between;padding:15px 18px}.event-table{max-height:380px;overflow:auto}.event-row{border-bottom:1px solid var(--line);grid-template-columns:8px 76px 76px minmax(0,1fr);align-items:center;gap:8px;min-height:42px;padding:7px 18px;font-size:11px;display:grid}.event-row:last-child{border-bottom:0}.event-row time,.event-row>span:last-child{color:var(--muted)}.event-row strong{text-transform:uppercase;font-size:9px}.event-mark{background:#929ba1;border-radius:50%;width:7px;height:7px}.event-mark.success,.event-mark.action{background:#2a9d78}.event-mark.warning{background:var(--warning)}.event-mark.error{background:var(--danger)}.empty-state{color:var(--muted);text-align:center;padding:40px;font-size:12px}.busy-overlay,.modal-backdrop{z-index:20;background:#151b1f73;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.busy-panel,.modal{background:#fff;border-radius:8px;width:min(100%,390px);padding:22px;box-shadow:0 24px 70px #10161940}.busy-panel{grid-template-columns:auto 1fr;align-items:center;gap:12px;display:grid}.busy-panel>div:nth-child(2){justify-content:space-between;font-size:12px;display:flex}.busy-panel>div:nth-child(2) span{color:var(--muted)}.progress-track{background:#e7ebed;border-radius:5px;grid-column:1/-1;height:5px;overflow:hidden}.progress-track span{background:var(--accent);height:100%;display:block}.modal{text-align:center}.modal-icon{width:42px;height:42px;color:var(--accent);background:var(--accent-soft);border-radius:50%;place-items:center;margin:0 auto 14px;display:grid}.modal h2{margin:0;font-size:18px}.modal p{color:var(--muted);margin:9px 0 22px;font-size:12px;line-height:18px}.modal-actions{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.spin{animation:.9s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.55;box-shadow:0 0 8px #33ceb438}}@media (width<=980px){.layout-workspace{grid-template-columns:1fr}.assignment-panel{border-top:1px solid var(--line);border-left:0;min-height:560px}.assignment-list{height:270px}.diagnostic-grid{grid-template-columns:repeat(2,1fr)}}@media (width<=860px){.profiles-layout,.status-layout{grid-template-columns:minmax(0,1fr)}.profile-list,.profile-detail,.status-list,.status-settings{min-width:0}}@media (width<=760px){.topbar{grid-template-columns:1fr auto;gap:12px;height:auto;padding:12px 16px}.connection-summary{grid-area:2/1/auto/-1;min-width:0}.main-tabs{justify-content:space-between;gap:0;height:50px;padding:0 12px}.main-tabs button{height:49px;padding:0 8px;font-size:11px}.capability-banner{align-items:flex-start;padding:10px 16px;line-height:16px}.board-section,.page-section{padding:18px 14px 34px}.section-toolbar{grid-template-columns:minmax(0,1fr) auto;align-items:flex-start;display:grid}.profile-title{flex-direction:column;align-items:flex-start;gap:3px;overflow:hidden}.profile-title input{text-overflow:ellipsis;white-space:nowrap;width:100%;min-width:0;font-size:17px;overflow:hidden}.layer-switcher button{flex-direction:column;gap:2px;height:50px;padding:3px;font-size:9px}.layer-switcher button span{width:17px;height:17px}.device-stage{padding:16px 12px 18px}.encoder-row{gap:8px}.encoder-control{grid-template-columns:minmax(0,1fr) 42px minmax(0,1fr);gap:4px}.encoder-knob{width:42px;height:42px}.encoder-control button{justify-content:center;padding:0 3px}.encoder-control button span{display:none}.key-grid{gap:6px}.key{gap:3px;padding:4px}.key>span{font-size:9px}.assignment-panel{min-height:auto;padding:20px 14px 32px}.assignment-list{height:300px}.page-heading{align-items:flex-start;margin-bottom:18px}.page-heading h1{font-size:21px}.page-heading .toolbar-actions{flex-direction:column-reverse;align-items:stretch}.profile-stats{grid-template-columns:repeat(2,1fr);row-gap:18px}.profile-stats div:nth-child(2){border-right:0}.profile-actions .icon-button{margin-left:0}.diagnostic-grid{grid-template-columns:1fr}.event-row{grid-template-columns:8px 62px 1fr}.event-row>span:last-child{grid-column:2/-1}.numeric-editor input,.profile-title input,.search-field input,.ttl-control input{font-size:16px}}@media (width<=520px){.section-toolbar{grid-template-columns:minmax(0,1fr);gap:8px}.section-toolbar .toolbar-actions{justify-content:flex-end}.profile-title{width:100%}.page-heading{flex-wrap:wrap}.page-heading>.toolbar-actions{flex-direction:row;justify-content:flex-end;width:100%}.status-row{grid-template-columns:20px minmax(0,1fr) auto;gap:9px}.status-row .live-label{display:none}}@media (width<=420px){.brand>div:last-child span{display:none}.topbar>.button{width:38px;padding:0;font-size:0}.main-tabs button{flex-direction:column;justify-content:center;gap:2px;padding:0 6px;font-size:9px}.ttl-control{grid-template-columns:1fr}}@media (width<=350px){.board-section,.page-section,.assignment-panel{padding-left:10px;padding-right:10px}.device-stage{padding-left:9px;padding-right:9px}.main-tabs{padding-left:6px;padding-right:6px}.main-tabs button{padding-left:4px;padding-right:4px}.key-grid{gap:5px}.key>span{font-size:8px}}
