@font-face{font-family:Inter;src:url('/assets/Inter-Regular.ttf')}@font-face{font-family:Inter;src:url('/assets/Inter-SemiBold.ttf');font-weight:600}@font-face{font-family:Inter;src:url('/assets/Inter-Bold.ttf');font-weight:700}@font-face{font-family:'IBM Plex Mono';src:url('/assets/IBMPlexMono-Regular.ttf')}
:root{--text:#28293d;--muted:#555770;--faint:#818396;--background:#f9f9fa;--surface:#fff;--border:#e4e4eb;--primary:#564baa;--hover:#45398f;--selected:#f8f7ff;--green:#0b7a2c;--red:#a22a3c;--orange:#a95600;--radius:9px;--sidebar:232px;font-family:Inter,sans-serif;color:var(--text);font-synthesis:none;font-size:14px}
*{box-sizing:border-box}body{margin:0;background:var(--background)}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.48}a{color:var(--primary);text-decoration:none}button,input,select,textarea,a{outline-offset:3px}button:focus-visible,a:focus-visible{outline:2px solid var(--primary)}input:focus,textarea:focus,select:focus{outline:2px solid #dedaFE;border-color:var(--primary)}svg{display:block;width:19px;height:19px;flex-shrink:0}input,select,textarea{border:1px solid var(--border);border-radius:6px;background:white;padding:10px 11px;min-width:0;width:100%}select{min-height:39px}label{font-weight:600;font-size:13px;display:block}label>input,label>select,label>textarea{margin-top:7px;font-size:14px;font-weight:400}input[type=checkbox]{width:16px;height:16px;accent-color:var(--primary);cursor:pointer;margin:0}input[type=range]{padding:0;accent-color:var(--primary)}h1,h2,h3,p{margin:0}h1{font-size:26px;letter-spacing:-1px;line-height:1.25;font-weight:600}h2{font-size:19px;letter-spacing:-.45px;font-weight:600}h3{font-size:15px;font-weight:600}.muted{color:var(--muted)}.mono{font-family:'IBM Plex Mono',monospace;font-size:12px}.app-shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar);background:white;border-right:1px solid var(--border);display:flex;flex-direction:column;padding:30px 15px 17px;z-index:20}.brand{display:flex;flex-direction:column;gap:12px;padding:0 16px 36px}.brand img{width:148px;height:auto}.brand span{font-size:12px;letter-spacing:.11em;text-transform:uppercase;color:var(--muted)}nav{display:grid;gap:6px}.nav-button{height:43px;display:flex;align-items:center;gap:12px;border:0;border-radius:7px;background:transparent;padding:0 13px;text-align:left;color:var(--muted);font-size:13px;font-weight:600}.nav-button:hover{background:#f6f6f8}.nav-button.active{background:#f0eef9;color:var(--primary)}.nav-count{margin-left:auto;font-size:11px;font-weight:600;background:#e9e5f6;padding:2px 5px;border-radius:4px}.nav-count:empty{display:none}.sidebar-bottom{margin-top:auto;padding-top:70px}.connection-card{background:#fafafb;border:1px solid var(--border);width:100%;display:flex;align-items:center;gap:10px;padding:13px 10px;border-radius:8px;text-align:left}.connection-card>span:nth-child(2){flex:1;min-width:0}.connection-card strong{font-size:12px;display:block}.connection-card small{display:block;font-size:10px;color:var(--muted);margin-top:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.connection-card svg{width:16px;color:#77788c}.connection-orb{width:9px;height:9px;background:#aaaaba;border-radius:50%;flex-shrink:0}.connection-orb.online{background:#17984c;box-shadow:0 0 0 4px #eaf7ee}.local-mark{display:flex;align-items:center;gap:7px;color:var(--faint);font-size:10px;padding:19px 7px 0}.local-mark svg{width:13px;height:13px}.local-mark .mono{font-size:10px;margin-left:auto}.main-shell{margin-left:var(--sidebar)}.topbar{height:73px;display:flex;align-items:center;justify-content:space-between;padding:0 32px;background:#fff;border-bottom:1px solid var(--border);gap:10px}.breadcrumb{display:flex;align-items:center;gap:13px;font-size:12px;color:var(--muted)}.breadcrumb strong{font-weight:500;color:var(--text)}.crumb-divider{color:#bfc0cc}.topbar-actions{display:flex;align-items:center;gap:19px}.save-state{color:var(--faint);font-size:11px}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;border-radius:6px;padding:10px 14px;min-height:39px;font-size:13px;font-weight:600;white-space:nowrap;background:var(--primary);color:#fff;transition:background .13s,border .13s}.button:hover{background:var(--hover)}.button svg{width:16px;height:16px}.button-secondary{background:#fff;border-color:var(--border);color:var(--text)}.button-secondary:hover{background:#f7f7fa;border-color:#c7c5d7}.button-quiet{background:transparent;color:var(--muted);border-color:transparent}.button-quiet:hover{background:#f1eff8;color:var(--primary)}.button-small{font-size:12px;min-height:33px;padding:7px 10px}.button-danger{color:var(--red);background:#fff;border-color:#ead1d7}.button-danger:hover{background:#fff3f5}.status-dot{width:6px;height:6px;border-radius:50%;background:#aaaab6}.status-dot.online{background:var(--green)}.icon-button{width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;background:transparent;border:1px solid transparent;border-radius:5px;color:var(--muted);padding:6px}.icon-button:hover{background:#f0eef7;border-color:#e5e0f6;color:var(--primary)}.icon-button svg{width:17px;height:17px}.menu-toggle{display:none}.page{padding:30px 32px 45px;max-width:1600px;margin:0 auto}.page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:25px}.page-heading p{margin-top:9px;color:var(--muted);font-size:13px;line-height:1.6}.heading-actions{display:flex;gap:9px;flex-shrink:0}.intro-strip{border:1px solid #e1ddf3;border-radius:9px;background:linear-gradient(105deg,#f1eefc 0%,#faf9fe 82%);padding:22px 24px;display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:28px}.intro-strip h2{font-size:17px;margin-bottom:7px}.intro-strip p{max-width:630px;font-size:12px;color:var(--muted);line-height:1.65}.intro-icon{width:43px;height:43px;border-radius:10px;background:white;border:1px solid #e6dffa;display:grid;place-items:center;flex-shrink:0;color:var(--primary)}.intro-copy{flex:1}.section-line{display:flex;align-items:center;justify-content:space-between;margin:5px 0 17px;gap:10px}.section-line h2{font-size:15px}.section-line p{font-size:11px;color:var(--faint)}.project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}.project-card{border:1px solid var(--border);border-radius:9px;background:white;overflow:hidden;transition:border-color .15s,transform .15s,box-shadow .15s}.project-card:hover{border-color:#bcb4de;box-shadow:0 6px 20px #26244109;transform:translateY(-2px)}.project-preview{height:234px;background:#f0f0f3;display:flex;align-items:center;justify-content:center;position:relative;border:0;width:100%;padding:22px;cursor:pointer}.label-housing{background:#fff;border:4px solid #ececef;border-radius:8px;padding:10px;box-shadow:0 5px 10px #16172912,0 0 0 1px #dadbe2;display:flex;align-items:center;justify-content:center}.label-housing canvas{display:block;width:156px;max-height:171px;object-fit:contain;image-rendering:auto}.project-preview .project-dim{position:absolute;left:13px;top:12px;font-size:10px;color:#77788b;background:#ffffffb8;border:1px solid #e3e3e9;padding:3px 5px;border-radius:4px}.project-meta{padding:15px 17px 14px}.project-meta h3{font-size:13px}.project-description{font-size:11px;color:var(--muted);margin-top:6px}.project-footer{display:flex;align-items:center;justify-content:space-between;padding:10px 16px;border-top:1px solid #f0f0f4}.palette-marks{display:flex;gap:4px;align-items:center}.palette-marks i{width:10px;height:10px;border:1px solid #dedee5;border-radius:50%}.project-footer .button{padding:5px 8px;font-size:11px;min-height:27px}.project-footer-actions{display:flex;gap:4px}.project-footer .icon-button{width:27px;height:27px}.library-footer{display:flex;align-items:center;gap:8px;margin-top:21px;color:var(--faint);font-size:11px;line-height:1.6}.library-footer svg{width:15px;height:15px;flex-shrink:0}.empty-state{min-height:320px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px dashed #d4d1e2;border-radius:10px;background:#fff;padding:38px;text-align:center}.empty-state>svg{width:39px;height:39px;color:#9a93bc;margin-bottom:22px}.empty-state h2{font-size:18px;margin-bottom:10px}.empty-state p{font-size:13px;color:var(--muted);line-height:1.65;max-width:460px;margin-bottom:21px}.panel{background:#fff;border:1px solid var(--border);border-radius:9px}.panel-title{font-size:13px;font-weight:600;padding:16px 18px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between}.text-note{font-size:11px;line-height:1.6;color:var(--faint)}.badge{display:inline-flex;align-items:center;gap:5px;padding:4px 7px;border-radius:5px;font-size:11px;font-weight:500;background:#f1f1f5;color:var(--muted);white-space:nowrap}.badge.success{color:var(--green);background:#eaf7ee}.badge.warning{color:var(--orange);background:#fff4e6}.badge.danger{color:var(--red);background:#fff0f3}.badge.violet{color:var(--primary);background:#f0edfa}.stats-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:20px}.stat{border:1px solid var(--border);border-radius:8px;background:#fff;padding:18px 19px}.stat span{font-size:11px;color:var(--muted);display:block;margin-bottom:12px}.stat strong{font-size:26px;font-weight:600;letter-spacing:-1px}.stat small{color:var(--faint);font-size:10px;margin-left:8px}.fleet-toolbar{display:flex;gap:10px;align-items:center;padding:13px 16px;border-bottom:1px solid var(--border);flex-wrap:wrap}.search-field{position:relative;flex:1;min-width:180px;max-width:330px}.search-field svg{position:absolute;left:11px;top:11px;width:16px;height:16px;color:#8b8b9f}.search-field input{padding-left:35px;font-size:12px;height:38px}.fleet-toolbar select{width:190px;font-size:12px;height:38px}.toolbar-spacer{flex:1}.selection-count{font-size:12px;color:var(--muted)}.table-scroll{overflow:auto}table{border-collapse:collapse;width:100%;white-space:nowrap;text-align:left}th{font-size:10px;letter-spacing:.035em;text-transform:uppercase;font-weight:600;color:#828394;background:#fcfcfd;padding:12px 15px;border-bottom:1px solid var(--border)}td{padding:14px 15px;font-size:12px;border-bottom:1px solid #eeeef3}tr:last-child td{border-bottom:0}tbody tr:hover{background:#fcfbff}.label-id{font-family:'IBM Plex Mono';font-size:11px;color:var(--primary);border:0;background:none;padding:0;text-align:left;cursor:pointer}.label-id:hover{text-decoration:underline}.device-meta{font-size:10px;color:#8d8e9f;margin-top:6px}.battery-line{display:flex;gap:7px;align-items:center}.battery-line svg{width:16px;height:16px;color:#75758c}.gateway-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;margin:17px 0 24px}.gateway{border:1px solid var(--border);border-radius:8px;padding:15px;background:#fff;display:flex;gap:12px}.gateway-symbol{width:33px;height:33px;background:#f4f2fb;border:1px solid #e6e0f5;display:grid;place-items:center;border-radius:7px;color:var(--primary)}.gateway-info{flex:1}.gateway h3{font-family:'IBM Plex Mono';font-size:11px;margin-bottom:6px}.gateway p{font-size:10px;color:var(--faint);margin-top:7px}.fleet-footer{padding:13px 16px;display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--border);gap:10px;font-size:11px;color:var(--muted)}.pager{display:flex;align-items:center;gap:9px}.alert{background:#fff8ed;color:#895811;border:1px solid #f1dfbe;padding:12px 14px;border-radius:7px;font-size:12px;line-height:1.6;margin:12px 0}.editor-page{padding:22px 25px 28px;max-width:1800px;margin:auto}.editor-heading{display:flex;gap:12px;align-items:center;margin-bottom:20px}.editor-title{flex:1;min-width:150px}.editor-title input{font-size:21px;font-weight:600;border:1px solid transparent;padding:4px 0;background:transparent;letter-spacing:-.5px;max-width:450px}.editor-title input:hover{border-bottom-color:#b8b3d0}.editor-title p{font-size:10px;color:var(--faint);margin-top:3px}.editor-actions{display:flex;gap:8px}.editor-layout{display:grid;grid-template-columns:180px minmax(280px,1fr) 260px;gap:16px;align-items:start}.tools-panel{padding:15px 12px;min-height:550px}.tools-panel h3{font-size:11px;letter-spacing:.05em;text-transform:uppercase;color:var(--faint);padding:2px 4px 12px}.tool-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-bottom:25px}.tool-button{border:1px solid var(--border);border-radius:6px;background:white;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:66px;padding:9px 3px;font-size:10px;color:var(--muted)}.tool-button:hover{color:var(--primary);border-color:#c5bce8;background:var(--selected)}.tool-button svg{width:18px;height:18px}.layers-list{display:grid;gap:3px}.layer{border:1px solid transparent;background:white;display:flex;align-items:center;gap:7px;padding:9px 6px;border-radius:5px;font-size:10px;width:100%;text-align:left;color:var(--muted)}.layer svg{width:13px;height:13px}.layer>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.layer.active{background:#f2eefb;border-color:#e4ddf6;color:var(--primary)}.layer:hover{background:#f6f4fa}.workspace{border:1px solid var(--border);border-radius:9px;overflow:hidden;background:#eeeef2}.workspace-top{min-height:47px;background:white;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:7px;padding:8px 12px;font-size:10px;color:var(--muted)}.workspace-top select{width:142px;padding:5px;font-size:10px;min-height:28px}.zoom-buttons{display:flex;align-items:center;gap:1px}.zoom-buttons span{width:38px;text-align:center;font-size:10px}.zoom-buttons .icon-button{width:25px;height:25px}.canvas-surround{min-height:477px;display:flex;align-items:center;justify-content:center;padding:35px 20px;overflow:auto;background-color:#eeeef2;background-image:radial-gradient(#d6d5e0 .8px,transparent .8px);background-size:15px 15px}.editor-housing{background:#fff;border:7px solid #ececf0;border-radius:12px;padding:13px;box-shadow:0 16px 40px #28293d14,0 0 0 1px #d5d5df;display:inline-flex;position:relative;max-width:none;flex-shrink:0}.editor-canvas{background:#fff;display:block;touch-action:none;cursor:default}.canvas-caption{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;background:#fff;border-top:1px solid var(--border);font-size:10px;color:var(--faint)}.inspector{min-height:550px;overflow:hidden}.inspector-tabs{display:flex;border-bottom:1px solid var(--border)}.inspector-tab{flex:1;border:0;border-bottom:2px solid transparent;background:#fff;padding:15px 8px;font-size:11px;color:var(--muted)}.inspector-tab.active{border-bottom-color:var(--primary);color:var(--primary);font-weight:600}.inspector-content{padding:17px 16px}.form-grid{display:grid;gap:14px}.form-grid label{font-size:11px;font-weight:500}.form-grid input,.form-grid select,.form-grid textarea{font-size:12px;padding:9px;min-height:34px}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}.field-hint{font-size:10px;color:var(--faint);line-height:1.5;margin-top:5px}.inspector-divider{height:1px;background:var(--border);margin:19px 0}.swatches{display:flex;gap:8px;margin-top:8px}.swatch{width:29px;height:29px;border:1px solid #dadbe4;border-radius:5px;position:relative}.swatch.active::after{content:'';position:absolute;inset:-4px;border:2px solid var(--primary);border-radius:7px}.inspector-actions{display:flex;justify-content:space-between;margin-top:13px}.layer-placeholder{padding:50px 8px;text-align:center;font-size:12px;color:var(--faint);line-height:1.6}.field-checkbox{display:flex;align-items:center;gap:8px;font-size:11px!important;font-weight:400!important}.field-checkbox input{margin:0;width:15px;height:15px;min-height:0;padding:0}.editor-bottom{margin-top:14px;display:flex;justify-content:space-between;gap:16px;align-items:center;font-size:10px;color:var(--faint)}.keyboard-hint{display:flex;gap:10px}.key{border:1px solid #d7d7e0;background:white;border-radius:3px;padding:1px 3px;font-family:'IBM Plex Mono';font-size:9px}.modal{border:1px solid #dddbe8;border-radius:12px;padding:0;color:var(--text);box-shadow:0 25px 90px #18152c33;max-width:calc(100vw - 32px);width:550px;background:#fff}.modal::backdrop{background:#21203465;backdrop-filter:blur(3px)}.modal-header{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding:23px 25px 19px;border-bottom:1px solid var(--border)}.modal-header h2{font-size:19px;margin-bottom:7px}.modal-header p{color:var(--muted);font-size:12px;line-height:1.6}.modal-body{padding:21px 25px}.modal-footer{padding:17px 25px;display:flex;justify-content:flex-end;gap:9px;border-top:1px solid var(--border)}.connection-fields{display:grid;gap:16px}.connection-fields label{font-size:12px}.connection-fields input,.connection-fields select{font-size:13px}.subtle-info{font-size:11px;color:var(--muted);line-height:1.6;padding:12px 14px;background:#f7f6fb;border-radius:7px;margin-bottom:20px}.connection-switch{display:flex;align-items:flex-start;gap:9px;font-size:12px;line-height:1.5}.connection-switch input{margin-top:2px}.manual-credentials{display:grid;gap:14px}.store-choice{margin-top:19px;border-top:1px solid var(--border);padding-top:20px}.store-choice select{margin-top:10px}.error-inline{background:#fff1f3;color:var(--red);padding:11px 13px;border-radius:6px;font-size:12px;margin-top:13px;line-height:1.6}.success-inline{background:#eaf7ee;color:var(--green);padding:11px 13px;border-radius:6px;font-size:12px;margin-top:13px;line-height:1.6}.publish-modal{width:680px}.publish-body{display:grid;grid-template-columns:220px 1fr;gap:24px}.publish-preview{background:#f0f0f4;border:1px solid var(--border);border-radius:8px;padding:19px;display:flex;flex-direction:column;align-items:center;gap:12px;align-self:start}.publish-preview canvas{max-width:180px;height:auto;box-shadow:0 3px 9px #00000012;background:white}.publish-preview small{font-family:'IBM Plex Mono';font-size:10px;color:var(--muted)}.target-list{max-height:220px;overflow:auto;display:grid;gap:6px;margin-top:12px}.target-option{display:flex;gap:9px;padding:9px;border:1px solid var(--border);border-radius:6px;font-size:11px;font-weight:400;align-items:center}.target-option span{flex:1}.target-option small{font-size:10px;color:var(--faint)}.publish-note{margin-top:15px;font-size:11px;color:var(--muted);line-height:1.6}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.detail-item span{display:block;font-size:10px;color:var(--faint);margin-bottom:6px}.detail-item strong{font-size:12px;font-weight:500;word-break:break-all}.detail-modal{width:570px}.toast{position:fixed;bottom:26px;left:calc(50% + var(--sidebar)/2);transform:translate(-50%,12px);background:#28293d;color:#fff;border-radius:8px;padding:13px 19px;font-size:12px;line-height:1.5;box-shadow:0 5px 25px #17162425;max-width:500px;z-index:100;pointer-events:none;opacity:0;transition:opacity .15s,transform .15s}.toast.show{opacity:1;transform:translate(-50%,0)}.toast.error{background:#922d43}.loading-spinner{width:15px;height:15px;border:2px solid #dedbea;border-top-color:var(--primary);border-radius:50%;animation:spin .7s linear infinite;display:inline-block}.skeleton{animation:pulse 1s ease infinite;background:#edeaf5;border-radius:6px}.history-table td:last-child{max-width:290px;white-space:normal;line-height:1.55}.view-notice{font-size:11px;color:var(--faint);margin-top:16px;line-height:1.6}.gateways-title{font-size:12px;font-weight:600;margin-top:24px}.hidden{display:none!important}.fleet-select-store{display:flex;align-items:center;gap:9px;font-size:12px}.fleet-select-store strong{max-width:220px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.55}}
@media(min-width:1550px){.project-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.project-preview{height:262px}.label-housing canvas{width:178px;max-height:193px}.editor-layout{grid-template-columns:200px minmax(340px,1fr) 290px}.canvas-surround{min-height:555px}}
@media(max-width:1200px){:root{--sidebar:205px}.sidebar{padding-left:10px;padding-right:10px}.brand img{width:139px}.nav-button{font-size:12px}.page{padding:25px}.topbar{padding:0 25px}.project-preview{height:200px}.label-housing canvas{width:130px;max-height:142px}.editor-layout{grid-template-columns:140px minmax(250px,1fr) 224px;gap:12px}.editor-page{padding:20px}.editor-actions .button{font-size:11px;padding:8px 10px}.tools-panel{padding:14px 9px}.inspector-content{padding:15px 12px}.canvas-surround{padding:25px 10px}.project-grid{gap:14px}}
@media(max-width:1020px){.editor-layout{grid-template-columns:135px minmax(240px,1fr)}.inspector{grid-column:1 / -1;min-height:0}.inspector-content .form-grid{grid-template-columns:1fr 1fr}.inspector-divider{grid-column:1/-1;margin:4px}.inspector-tabs{max-width:320px}.tools-panel{min-height:510px}.canvas-surround{min-height:440px}.page-heading .heading-actions{flex-wrap:wrap;justify-content:flex-end}.stats-row{grid-template-columns:1fr 1fr}.intro-strip{padding:19px}.intro-icon{display:none}.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.project-preview{height:230px}.label-housing canvas{width:156px;max-height:171px}.save-state{display:none}.editor-heading{flex-wrap:wrap}.editor-actions{margin-left:auto}}
@media(max-width:720px){:root{--sidebar:0px}.sidebar{width:225px;transform:translateX(-100%);transition:transform .2s}.sidebar.open{transform:translateX(0);box-shadow:10px 0 40px #17162422}.main-shell{margin:0}.menu-toggle{display:flex}.topbar{height:61px;padding:0 16px}.breadcrumb{font-size:10px;gap:8px;margin-right:auto}.topbar-actions{gap:7px}.topbar .button{font-size:10px;padding:7px}.topbar .button svg{display:none}.page{padding:24px 16px}.page-heading{flex-direction:column;gap:15px;margin-bottom:19px}.page-heading h1{font-size:24px}.page-heading p{font-size:12px}.heading-actions{width:100%;justify-content:flex-start!important}.heading-actions .button{font-size:11px}.intro-strip{padding:17px;display:block}.intro-strip h2{font-size:15px}.intro-strip .button{margin-top:14px}.project-grid{gap:11px}.project-preview{height:198px;padding:23px 10px 15px}.label-housing{padding:8px;border-width:3px}.label-housing canvas{width:128px;max-height:142px}.project-meta{padding:13px 12px}.project-meta h3{font-size:12px}.project-description{font-size:10px}.project-footer{padding:8px 9px}.project-footer-actions .button{font-size:10px;padding:4px 6px}.project-footer-actions .icon-button{display:none}.library-footer{font-size:10px}.section-line p{max-width:160px;text-align:right;font-size:10px}.editor-page{padding:18px 12px}.editor-heading{gap:10px}.editor-title input{font-size:20px}.editor-actions{width:100%;justify-content:flex-end}.editor-layout{grid-template-columns:1fr}.tools-panel{min-height:0;padding:12px;display:flex;gap:10px;align-items:center;overflow:auto}.tools-panel h3{display:none}.tool-grid{display:flex;margin:0;gap:5px}.tool-button{min-width:57px;min-height:51px;padding:6px;font-size:9px;gap:5px}.tool-button svg{width:15px;height:15px}.layers-list{display:none}.workspace{grid-column:1}.canvas-surround{min-height:415px}.inspector{grid-column:1}.inspector-content .form-grid{grid-template-columns:1fr 1fr;gap:13px}.inspector-content{padding:16px}.workspace-top{padding:8px 10px}.editor-bottom{padding:0 4px;flex-wrap:wrap}.keyboard-hint{display:none}.stats-row{gap:9px}.stat{padding:15px}.stat strong{font-size:24px}.stat small{display:block;margin:7px 0 0}.fleet-toolbar{padding:11px}.fleet-toolbar select{width:150px}.search-field{max-width:none;min-width:160px}.fleet-toolbar .button{font-size:10px}.fleet-toolbar .toolbar-spacer{display:none}.modal-header{padding:20px}.modal-body{padding:19px 20px}.modal-footer{padding:15px 20px}.publish-body{grid-template-columns:1fr}.publish-preview{max-width:260px;margin:0 auto}.publish-preview canvas{max-width:160px}.toast{left:50%;width:calc(100% - 30px);max-width:500px;bottom:17px}.connection-card{background:white}.gateway-grid{grid-template-columns:1fr}.history-table th,.history-table td{padding:12px}.fleet-select-store{font-size:11px}}
@media(max-width:370px){.project-grid{grid-template-columns:1fr}.project-preview{height:240px}.label-housing canvas{width:170px;max-height:183px}.inspector-content .form-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}

.tools-panel,.layers-list,.layer{min-width:0;max-width:100%}.layer>span{min-width:0}.layer{overflow:hidden}

.kit-lookup{display:flex;gap:8px;margin-top:12px}.kit-lookup input{flex:1;font-family:"IBM Plex Mono";font-size:12px}.connection-modal{max-height:calc(100vh - 30px)}.connection-modal .modal-body{overflow-y:auto;max-height:calc(100vh - 210px)}

.discovered-list{display:grid;gap:6px;max-height:230px;overflow:auto;margin-top:10px}.gateway-choice{display:grid;grid-template-columns:55px 1fr;gap:5px 12px;padding:10px;border:1px solid var(--border);background:white;border-radius:6px;text-align:left;font-size:11px}.gateway-choice strong{font-family:"IBM Plex Mono";color:var(--primary)}.gateway-choice small{grid-column:2;font-size:10px;color:var(--faint)}.gateway-choice:hover{border-color:#bfb6e0;background:var(--selected)}

@media(min-width:721px){.project-preview .label-housing{max-width:100%;min-width:0}.project-preview .label-housing canvas{width:235px;max-width:100%;height:auto}.project-preview{height:225px}}

.register-modal{width:590px;max-height:calc(100dvh - 30px);overflow-y:auto}.register-store{display:flex;align-items:center;flex-wrap:wrap;gap:7px 12px;border:1px solid var(--border);background:var(--selected);border-radius:7px;padding:12px 14px;margin-bottom:20px}.register-store>span{font-size:11px;color:var(--muted);flex-basis:100%}.register-store strong{font-size:13px;font-weight:600}.register-store small{font-size:11px;color:var(--muted)}#registerIDs{resize:vertical;min-height:115px;line-height:1.65;text-transform:none}.register-summary{font-size:12px;color:var(--muted);line-height:1.6;margin:17px 0 9px}.register-list{max-height:250px;overflow-y:auto;border:1px solid var(--border);border-radius:7px}.register-list:empty{display:none}.register-row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px;min-width:0}.register-row>.mono{min-width:0;overflow-wrap:anywhere}.register-row>.badge{flex-shrink:0;max-width:55%;white-space:normal;text-align:right}.register-list>.register-row+.register-row,.register-result+.register-result{border-top:1px solid var(--border)}.register-result p{padding:0 12px 11px;font-size:11px;line-height:1.6;color:var(--muted)}.register-modal .modal-footer{flex-wrap:wrap}.register-modal .modal-footer .hidden+button{margin-left:auto}.register-modal .modal-footer #registerReset{margin-right:auto}
@media(max-width:720px){.register-modal .modal-footer{gap:7px}.register-modal .modal-footer .button{font-size:11px;padding:8px 10px}.register-row{padding:9px 10px}.register-row>.mono{font-size:11px}.register-row>.badge{font-size:10px;max-width:52%}.register-modal .modal-body{padding:17px}}

.inventory-palette{display:inline-flex;gap:4px}.inventory-palette i{width:13px;height:13px;border:1px solid #aaa;border-radius:3px}.inventory-table td{vertical-align:middle}.inventory-table strong{font-size:12px;font-weight:600}.inventory-project{max-width:225px;white-space:normal;font-size:11px;line-height:1.5}.inventory-table .label-id{white-space:normal;text-align:left;max-width:230px}.inventory-table .mono{font-size:11px}
