:root{font-family:Inter,Segoe UI,Arial,sans-serif;color:#e7edf3;background:#111820;font-size:13px}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{color:#dce5ef;background:#293543;border:1px solid #394b5c;border-radius:6px;padding:8px 10px;cursor:pointer}button:hover{background:#3c5164}button.active{background:#134a69;border-color:#3b9bc4;color:white}button.primary{background:#db5f36;color:white;border-color:#db5f36}header{height:66px;display:flex;align-items:center;gap:14px;padding:0 15px;border-bottom:1px solid #33404c;background:#1b2631}.brand{display:flex;align-items:baseline;gap:8px;white-space:nowrap}.brand b{font-size:20px}.brand span{color:#f27b4d}.brand small{font-size:10px;color:#a5b6c5}#project{min-width:185px;max-width:270px;flex:1;background:#111b25;color:white;border:1px solid #3a4b5c;padding:8px;border-radius:6px}.header-actions,.tabs{display:flex;gap:5px}.header-actions button{white-space:nowrap}.work{height:calc(100vh - 66px);display:grid;grid-template-columns:248px minmax(0,1fr) 252px}.left,.right{overflow:auto;background:#1b2631}.left{border-right:1px solid #354251}.right{border-left:1px solid #354251}section{padding:15px;border-bottom:1px solid #354251}h3{font-size:11px;letter-spacing:1.2px;color:#9eafbe;margin:0 0 12px}.hint{font-size:11px;color:#9baebf;line-height:1.55}.toolgrid{display:grid;grid-template-columns:1fr 1fr;gap:6px}.toolgrid button{text-align:left;font-size:12px;padding:8px 6px}.stack{display:grid;gap:6px}.lib-item{display:flex;align-items:center;justify-content:space-between;width:100%;margin-bottom:5px;text-align:left}.lib-item small{font-size:10px;color:#b6c7d5}#layers>div{display:flex;gap:7px;align-items:center;margin:8px 0}#layers label{flex:1;cursor:pointer}#layers input[type=radio]{accent-color:#f27b4d}#layers input[type=checkbox]{accent-color:#64a3d9}.swatch{width:11px;height:11px;border-radius:2px}main{display:flex;flex-direction:column;min-width:0}.bar{height:43px;background:#23303d;display:flex;gap:12px;padding:5px 12px;align-items:center;border-bottom:1px solid #354251}.bar label{display:flex;align-items:center;gap:5px}.bar input[type=number]{width:55px;background:#141d26;color:white;border:1px solid #4a5968;border-radius:3px;padding:3px}.bar button{padding:4px 10px}.bar span{margin-left:auto;color:#94adbe;font-size:11px}#canvasWrap{min-height:0;flex:1;position:relative;background:#101a22}#drawing{width:100%;height:100%;display:block;touch-action:none;cursor:crosshair}.floating{position:absolute;left:14px;bottom:14px;background:#14212ce8;border:1px solid #324452;border-radius:6px;padding:7px 10px;color:#a6bbc9;font-size:11px;pointer-events:none}.status{height:29px;background:#23303d;display:flex;justify-content:space-between;gap:12px;padding:7px 10px;color:#9cb3c5;font-size:10px}.right label{display:block;color:#afc1d0;font-size:11px;margin-bottom:10px}.right label input,.right label select{width:100%;display:block;background:#121d27;color:#e4edf4;border:1px solid #405366;border-radius:5px;margin-top:5px;padding:7px}.prop-grid{display:grid;grid-template-columns:1fr 1fr;gap:4px}.prop-grid label{margin-bottom:5px}.prop-grid input{width:100%!important}.prop-full{grid-column:1/-1}#toast{position:fixed;bottom:38px;right:280px;background:#f2f5f7;color:#1a2935;border-radius:8px;padding:12px 18px;box-shadow:0 6px 25px #0008;display:none;max-width:380px;z-index:3}@media(max-width:1150px){.work{grid-template-columns:208px minmax(0,1fr) 205px}.brand small{display:none}header{gap:5px;padding:0 5px}.header-actions button{padding:6px}.tabs button{padding:6px}}@media print{@page{size:landscape;margin:8mm}header,.left,.right,.bar,.status,.floating{display:none!important}body,.work,main,#canvasWrap{display:block!important;width:100%!important;height:100%!important;background:white!important;overflow:visible!important}#drawing{width:100%!important;height:90vh!important;background:white!important}#gridLayer{display:none!important}}
