:root{font-family:Arial,Noto Sans SC,Microsoft YaHei,sans-serif;color:#222b34;background:#f6f7f9;font-synthesis:none}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}.app-shell{height:100%;min-height:620px;display:flex;flex-direction:column;overflow:hidden}.topbar{height:70px;flex:none;display:flex;align-items:center;gap:18px;padding:0 25px;background:#fff;border-bottom:1px solid #e9edf0;z-index:3}.brand{display:flex;align-items:center;gap:10px;min-width:193px}.brand-icon{width:36px;height:36px;border-radius:11px;background:#ec6449;color:#fff;display:grid;place-items:center;box-shadow:0 4px 10px #ed63473b}.brand-words{display:flex;flex-direction:column;line-height:1}.brand-words strong{font-family:Arial,sans-serif;font-size:22px;font-weight:800;letter-spacing:-1.7px;color:#18222a}.brand-words strong span{color:#ed6349}.brand-words small{font-size:8px;font-weight:800;letter-spacing:2.3px;color:#8b98a3;margin-top:4px}.top-divider{height:26px;width:1px;background:#e6eaee;flex:none}.top-divider.small{margin:0 -4px}.document-name{display:flex;align-items:center;gap:9px;min-width:200px}.doc-avatar{width:27px;height:27px;border-radius:7px;background:#f4f5f7;color:#657584;display:grid;place-items:center}.document-name input{border:0;outline:0;background:transparent;width:170px;color:#2e3944;font-weight:700;font-size:12px;text-overflow:ellipsis}.saved-dot,.local-badge span,.canvas-live-dot,.status-dot{width:7px;height:7px;border-radius:50%;background:#54bb8b;flex:none}.top-spacer{flex:1}.local-badge{display:flex;align-items:center;gap:7px;color:#818f9a;font-size:11px;font-weight:600;white-space:nowrap}.local-badge span{width:6px;height:6px}.icon-btn{border:0;background:transparent;color:#667582;width:33px;height:33px;display:grid;place-items:center;border-radius:8px}.icon-btn:hover{background:#f4f6f8;color:#273640}.primary-button{border:0;border-radius:9px;background:#eb6349;color:#fff;min-height:37px;padding:0 14px;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-size:12px;font-weight:800;box-shadow:0 4px 9px #eb63492b;white-space:nowrap}.primary-button:hover{background:#dc543b}.workspace{flex:1;min-height:0;display:grid;grid-template-columns:270px minmax(320px,1fr) 297px}.sidebar{background:#fff;min-height:0;display:flex;flex-direction:column}.left-sidebar{border-right:1px solid #e9edf0}.right-sidebar{border-left:1px solid #e9edf0}.side-tabs{height:59px;padding:10px 17px;border-bottom:1px solid #edf0f3;display:flex;gap:4px;flex:none}.side-tabs button{border:0;border-radius:8px;background:transparent;color:#7a8995;flex:1;display:flex;align-items:center;justify-content:center;gap:8px;font-size:12px;font-weight:700;white-space:nowrap}.side-tabs button.active{background:#fff0ec;color:#e6644c}.sidebar-scroll,.inspector-scroll{overflow:auto;scrollbar-width:thin;scrollbar-color:#d4dbe0 transparent;min-height:0}.side-intro{padding:25px 21px 14px}.eyebrow{display:block;font:800 9px Arial,sans-serif;color:#eb674f;letter-spacing:2px}.side-intro h2,.inspector-head h2{margin:6px 0 5px;font-size:17px;letter-spacing:-.5px;color:#25303b}.side-intro p{margin:0;color:#97a2ab;font-size:10.5px;line-height:1.6}.catalog-section{padding:15px 15px 0}.catalog-heading{display:flex;justify-content:space-between;align-items:center;padding:0 7px 9px;color:#687887;font-size:10px;font-weight:800;letter-spacing:.3px}.catalog-heading span{font-size:9px;color:#abb6be}.pattern-list{display:flex;flex-direction:column;gap:5px}.pattern-card{height:55px;border:1px solid transparent;border-radius:9px;display:flex;align-items:center;transition:background .15s,border-color .15s}.pattern-card:hover{background:#f8f9fa}.pattern-card.selected{background:#fff4f0;border-color:#f9d8ce}.pattern-main{flex:1;min-width:0;display:flex;align-items:center;gap:11px;text-align:left;border:0;background:transparent;padding:7px 0 7px 9px;color:inherit}.pattern-icon{width:36px;height:36px;display:grid;place-items:center;flex:none;border:1px solid #e8edf1;background:#f7f8f9;border-radius:8px;font:700 23px Arial,sans-serif;color:#4c5964;line-height:1}.selected .pattern-icon{background:#fff;border-color:#f5d4ca;color:#df6049}.pattern-copy{display:flex;flex-direction:column;min-width:0;gap:3px}.pattern-copy strong{font-size:11px;color:#34414c;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pattern-copy small{font-size:9px;color:#9aa6af;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pattern-add{width:25px;height:27px;border:0;background:transparent;color:#a1acb5;display:grid;place-items:center;margin-right:4px;border-radius:6px;opacity:0}.pattern-card:hover .pattern-add,.pattern-card.selected .pattern-add{opacity:1}.pattern-add:hover{background:#f7e2db;color:#d9563d}.layer-panel .side-intro{padding-bottom:18px}.add-layer-row{display:flex;gap:6px;padding:0 17px 20px}.add-layer-row button{flex:1;height:33px;border:1px solid #e9eef1;border-radius:7px;background:#fff;display:flex;align-items:center;justify-content:center;gap:4px;color:#677681;font-size:10px;font-weight:700}.add-layer-row button:hover{border-color:#efab99;color:#dc5c43}.layer-list{display:flex;flex-direction:column;gap:4px;padding:0 13px}.layer-item{height:55px;display:flex;align-items:center;gap:9px;border-radius:8px;padding:0 8px;cursor:pointer;border:1px solid transparent}.layer-item:hover{background:#f8f9fa}.layer-item.active{background:#fff4f0;border-color:#f9d8ce}.layer-glyph{width:31px;height:31px;display:grid;place-items:center;border-radius:7px;color:#818e9a;background:#f3f6f7;flex:none}.layer-glyph.board{color:#e3674f;background:#fceae4}.layer-name{min-width:0;display:flex;flex-direction:column;gap:2px;flex:1}.layer-name strong{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.layer-name small{font-size:9px;color:#a1acb5}.layer-lock{color:#a5afb7}.layer-eye{border:0;background:none;color:#9aa7b1;padding:4px;display:grid;place-items:center}.layer-eye:hover{color:#e8664d}.layer-tip{display:flex;gap:8px;margin:22px 19px;padding:12px;background:#f6f8f8;border-radius:8px;color:#83939d;font-size:10px;line-height:1.6}.layer-tip svg{flex:none;color:#58ae82}.stage{min-width:0;min-height:0;display:flex;flex-direction:column;background:#f6f7f9}.stage-toolbar{height:59px;flex:none;display:flex;align-items:center;gap:13px;padding:0 26px;background:#fff;border-bottom:1px solid #e9edf0}.toolbar-group{display:flex;align-items:center;gap:9px}.tool-indicator{width:31px;height:31px;border-radius:8px;display:grid;place-items:center;color:#e25f47;background:#fff2ee}.toolbar-label{font-size:11px;color:#61717d;font-weight:800}.toolbar-divider{height:21px;width:1px;background:#e7ebee}.toolbar-group.subtle{gap:2px}.toolbar-group.subtle button,.zoom-control button{width:31px;height:30px;border:0;background:transparent;color:#788896;display:grid;place-items:center;border-radius:7px}.toolbar-group.subtle button:hover,.zoom-control button:hover{background:#edf0f3;color:#33434e}.stage-toolbar-spacer{flex:1}.page-chip{display:flex;align-items:center;gap:7px;color:#667784;font-size:11px;font-weight:800}.page-chip span{font-weight:500;color:#a1adb6}.canvas-scroll{flex:1;min-height:0;overflow:auto;display:flex;align-items:flex-start;justify-content:center;background-color:#f5f6f8;background-image:radial-gradient(#dbe1e6 .65px,transparent .65px);background-size:17px 17px}.canvas-wrap{min-width:max-content;padding:30px 40px 32px}.canvas-caption{display:flex;align-items:center;justify-content:space-between;color:#8a9aa5;font-size:10px;font-weight:600;margin-bottom:15px}.canvas-caption span:first-child{display:flex;align-items:center;gap:7px}.canvas-live-dot{width:6px;height:6px}.paper-shadow{background:#fff;box-shadow:0 2px 4px #4e667a12,0 14px 35px #4e667a21,0 0 0 1px #c5cdd341;position:relative;transition:width .15s,height .15s}.paper-shadow svg{display:block;touch-action:none}.canvas-layer{cursor:move}.selection-outline{vector-effect:non-scaling-stroke}.page-footnote{display:flex;align-items:center;justify-content:center;gap:6px;color:#a5b0b9;font-size:10px;margin-top:20px}.stage-bottom{height:43px;flex:none;display:flex;align-items:center;justify-content:space-between;padding:0 22px;background:#fff;border-top:1px solid #e9edf0;color:#83919b;font-size:10px;font-weight:700}.status-left{display:flex;align-items:center;gap:8px}.status-dot{width:6px;height:6px}.status-dot.warn{background:#e8a041}.status-divider{height:13px;width:1px;background:#dce3e8;margin:0 7px}.zoom-control{display:flex;align-items:center;gap:4px}.zoom-control span{width:37px;text-align:center;color:#50606c}.inspector-head{height:59px;flex:none;border-bottom:1px solid #edf0f3;display:flex;align-items:center;justify-content:space-between;padding:0 20px}.inspector-head h2{font-size:15px;margin:2px 0 0}.inspector-head svg{color:#99a6af}.inspector-scroll{padding-bottom:30px}.selected-layer-summary{min-height:78px;display:flex;align-items:center;gap:10px;padding:16px 18px;border-bottom:1px solid #edf0f3}.summary-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:9px;color:#e0614a;background:#fff1eb;flex:none}.selected-layer-summary>div:nth-child(2){min-width:0;flex:1;display:flex;flex-direction:column;gap:4px}.selected-layer-summary strong{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.selected-layer-summary small{font-size:9px;color:#a2acb5}.summary-actions{display:flex;gap:1px}.summary-actions button{background:transparent;border:0;color:#9cabb4;width:23px;height:24px;display:grid;place-items:center;border-radius:5px}.summary-actions button:hover{background:#fff0eb;color:#d85a43}.inspector-section{padding:20px 20px 21px;border-bottom:1px solid #edf0f3}.section-title{display:flex;align-items:center;justify-content:space-between;font-size:11px;font-weight:800;color:#34424e;margin-bottom:16px}.precision-tag{color:#e27258;background:#fff2ed;border-radius:5px;padding:3px 6px;font-size:9px;display:inline-flex;align-items:center;gap:3px}.field-stack{display:flex;flex-direction:column;gap:13px}.field{display:flex;flex-direction:column;gap:6px;min-width:0}.field-label{font-size:10px;font-weight:700;color:#74838f}.field input:not([type=color]),.field select,.field textarea,.measure-input input{width:100%;height:34px;border:1px solid #e3e8eb;border-radius:7px;padding:0 10px;background:#fff;color:#34424d;font-size:11px;outline:0}.field input:focus,.field select:focus,.field textarea:focus,.measure-input input:focus{border-color:#f0a28e;box-shadow:0 0 0 3px #fbece6}.field select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23909da7' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center;padding-right:28px}.input-wrap{position:relative}.input-wrap input{padding-right:38px!important}.input-wrap .unit{position:absolute;right:10px;top:50%;transform:translateY(-50%);color:#a0acb5;font-size:10px;font-weight:700}.text-field textarea{height:auto;min-height:75px;padding:9px;resize:vertical;line-height:1.5}.text-field small{color:#a0acb5;font-size:9px;line-height:1.5}.field input[type=color]{width:100%;height:34px;padding:3px;border:1px solid #e3e8eb;border-radius:7px;background:#fff}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:9px}.dimension-card{border:1px solid #e9eef1;border-radius:9px;background:#f9fafb;display:flex;align-items:center;padding:12px}.dimension-card>div{display:flex;flex:1;flex-direction:column;gap:5px}.dimension-card>div span{font-size:9px;color:#9aa6af}.dimension-card strong{font-size:16px;letter-spacing:-.5px;color:#2e3b45}.dimension-card strong small{font-size:10px;color:#9faab3;font-weight:500}.dimension-cross{font-size:16px;color:#b5bfc6;padding:0 10px}.hint-copy{font-size:9px;color:#9ca8b1;line-height:1.55;margin:9px 0 0}.checkbox-row{display:flex;align-items:center;gap:8px;color:#667582;font-size:11px;cursor:pointer}.checkbox-row input{accent-color:#e8684f}.page-section{background:#fcfcfd}.issues{margin:18px;border-radius:8px;background:#fff7e9;border:1px solid #f4dfbc;padding:12px;color:#9b6c2a;font-size:10px}.issues strong{font-size:11px}.issues p{margin:7px 0 0;line-height:1.5}.inspector-help{display:flex;gap:8px;color:#9aa8b1;font-size:10px;line-height:1.55;padding:21px}.inspector-help svg{flex:none;color:#59ad81}.empty-selection{padding:30px 16px;text-align:center;color:#a0aeb8;display:flex;align-items:center;flex-direction:column;gap:8px;border-bottom:1px solid #edf0f3}.empty-selection strong{color:#60707c;font-size:12px}.empty-selection span{font-size:10px}.mobile-notice{display:none}.toast{position:fixed;left:50%;bottom:22px;transform:translate(-50%);z-index:20;border-radius:8px;background:#26343e;color:#fff;padding:11px 16px;font-size:12px;box-shadow:0 8px 22px #18222a32}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#25313c78;z-index:10;display:grid;place-items:center;padding:18px}.export-modal{width:min(530px,100%);background:#fff;border-radius:14px;box-shadow:0 30px 90px #1a293644;overflow:hidden}.modal-head{display:flex;justify-content:space-between;padding:25px 27px 19px}.modal-head h2{font-size:20px;letter-spacing:-.6px;margin:6px 0 4px}.modal-head p{font-size:11px;color:#91a0aa;margin:0}.modal-head button{border:0;background:#f3f5f6;color:#788792;border-radius:7px;width:28px;height:28px;display:grid;place-items:center}.format-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;padding:0 26px 21px}.format-grid button{height:95px;border:1px solid #e7ecef;border-radius:9px;background:#fff;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:7px;padding:13px;color:#82919d;text-align:left}.format-grid button.active{border-color:#ef9a82;background:#fff5f1;color:#e5644c}.format-grid strong{color:#33424d;font-size:12px}.format-grid small{font-size:9px;white-space:nowrap;color:#9daab3}.export-settings{border-top:1px solid #edf0f3;padding:19px 27px 22px}.export-settings .section-title{margin-bottom:15px}.export-settings>.field{margin-bottom:15px}.compensation{display:flex;align-items:center;justify-content:space-between;margin-top:20px;padding:13px;border-radius:9px;background:#f7f9fa;gap:10px}.compensation>div:first-child{display:flex;flex-direction:column;gap:4px}.compensation strong{font-size:10px;color:#43515d}.compensation small{font-size:9px;color:#9cabb4}.measure-input{position:relative;width:95px;flex:none}.measure-input input{padding-right:25px}.measure-input span{position:absolute;right:9px;top:10px;color:#9da9b2;font-size:9px}.comp-note{font-size:10px;color:#aa7132;margin:10px 0 0;line-height:1.4}.modal-footer{border-top:1px solid #edf0f3;padding:17px 27px;display:flex;align-items:center;justify-content:space-between}.modal-footer>div{display:flex;flex-direction:column;gap:3px}.modal-footer strong{font-size:12px}.modal-footer span{font-size:10px;color:#9ca9b3}.modal-warning{padding:0 27px 15px;color:#b9823d;font-size:10px}@media(max-width:1120px){.workspace{grid-template-columns:230px minmax(300px,1fr) 270px}.local-badge{display:none}.brand{min-width:160px}.canvas-wrap{padding-left:25px;padding-right:25px}}@media(max-width:800px){.workspace{grid-template-columns:210px minmax(320px,1fr)}.right-sidebar{display:none}.topbar{gap:12px;padding:0 15px}.brand{min-width:auto}.brand-words small{display:none}.document-name{min-width:120px}.document-name input{width:120px}}@media(max-width:590px){.app-shell{overflow:auto;min-height:0}.workspace{display:none}.topbar{height:64px}.top-divider,.document-name,.top-action{display:none!important}.mobile-notice{display:grid;place-items:center;flex:1;background:#f6f7f9;color:#7d8c97;font-size:13px;text-align:center;padding:40px}.primary-button{min-height:34px}}.inspector-toggle{display:none;align-items:center;gap:6px;border:1px solid #e6ebee;border-radius:7px;background:#fff;color:#6f7f8b;height:30px;padding:0 9px;font-size:10px;font-weight:800}.inspector-close{border:0;background:transparent;color:#96a4ad;display:none;place-items:center;width:28px;height:28px}.inspector-backdrop{display:none}@media(max-width:800px){.inspector-toggle{display:flex}.right-sidebar{display:flex;position:fixed;right:0;top:0;bottom:0;width:min(310px,85vw);z-index:8;box-shadow:-12px 0 30px #27384524;transform:translate(105%);transition:transform .2s}.right-sidebar.open{transform:translate(0)}.inspector-backdrop{display:block;position:fixed;top:0;right:0;bottom:0;left:0;background:#1f2c3760;z-index:7}.inspector-close{display:grid}}@media(max-width:590px){.app-shell{height:100%;min-height:0;overflow:hidden}.workspace{display:flex;flex-direction:column;overflow:auto}.left-sidebar{height:40vh;min-height:260px;flex:none;border-right:0;border-bottom:1px solid #e9edf0}.stage{height:70vh;min-height:450px;flex:none}.right-sidebar{display:flex}.topbar .brand{min-width:0}.brand-words strong{font-size:20px}.topbar .primary-button{margin-left:auto}.stage-toolbar{padding:0 12px}.page-chip span{display:none}.canvas-wrap{padding:25px}.add-layer-row{flex-wrap:wrap}.add-layer-row button{min-width:60px}}.annotation-toggle{margin-top:15px;line-height:1.5}.board-children{margin:1px 0 6px 23px;padding-left:8px;border-left:1px solid #e9edf0}.child-item{height:42px;gap:7px}.child-branch{width:7px;height:1px;background:#d9e1e6;margin-left:-8px}.child-glyph{width:23px;height:23px;border-radius:5px;background:#f3f6f7;color:#70818e;display:grid;place-items:center;font-size:9px;font-weight:800;flex:none}.child-item .layer-name strong{font-size:10px}.child-item .layer-name small{font-size:8px}.child-hit-area{cursor:move}.board-child-controls{margin-top:19px;padding-top:16px;border-top:1px solid #edf0f3}.board-child-controls .section-title{margin-bottom:8px}.child-control{display:flex;align-items:center;justify-content:space-between;min-height:33px;border:1px solid #e9eef1;border-radius:7px;margin-top:6px;padding:0 6px 0 10px}.child-control>button:first-child{border:0;background:none;color:#52616d;text-align:left;font-size:10px;font-weight:700;flex:1}.child-control:hover{border-color:#f0c2b5;background:#fffaf8}.reset-child{margin-top:14px;border:1px solid #e5ebee;border-radius:7px;background:#fff;color:#758590;padding:7px 10px;font-size:10px;font-weight:700}.reset-child:hover{color:#df6049;border-color:#f0c2b5}.side-tabs{padding-left:10px;padding-right:10px}.side-tabs button{gap:5px}.side-tabs .tab-label{display:inline-block;min-width:3.2em;text-align:center}.layer-order{border:0;background:none;color:#a8b3ba;width:17px;height:25px;display:grid;place-items:center;padding:0}.layer-order:hover{color:#e8664d}.board-orientation{display:flex;flex-direction:column;gap:12px;margin-top:17px;padding-top:15px;border-top:1px solid #edf0f3}.child-extra{display:flex;flex-direction:column;gap:13px;margin-top:16px}.new-modal{width:min(600px,100%);background:#fff;border-radius:14px;box-shadow:0 30px 90px #1a293644;overflow:hidden}.new-modal-body{padding:0 27px 24px;display:flex;flex-direction:column;gap:17px}.paper-options{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;max-height:260px;overflow:auto}.paper-options button{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:5px;height:58px;border:1px solid #e7ecef;border-radius:8px;background:#fff;padding:9px 11px;color:#35434d}.paper-options button.active{background:#fff5f1;border-color:#ef9a82}.paper-options strong{font-size:11px}.paper-options span{font-size:9px;color:#9aa6af}.new-modal .modal-footer{gap:10px}.new-modal .modal-footer span{font-size:10px;color:#98a6ae}.layout-panel .side-intro{padding-bottom:17px}.layout-section{padding:17px 18px;border-top:1px solid #edf0f3;display:flex;flex-direction:column;gap:11px}.layout-title{font-size:11px;color:#34424e}.layout-actions{display:flex;gap:6px}.layout-actions button{flex:1;min-height:32px;border:1px solid #e3e8eb;border-radius:7px;background:#fff;color:#637480;display:inline-flex;align-items:center;justify-content:center;gap:5px;font-size:10px;font-weight:700}.layout-actions button:hover{border-color:#efad9e;color:#df6049}.layout-actions button.apply{background:#e9654b;color:#fff;border-color:#e9654b}.layout-section .two-fields{gap:10px}.layout-section .field select{width:100%;height:34px;border:1px solid #e3e8eb;border-radius:7px;padding:0 10px;background:#fff;color:#34424d;font-size:11px}.axis-tabs{display:flex;gap:5px}.axis-tabs button{flex:1;border:1px solid #e6ebee;background:#fff;border-radius:6px;padding:6px;color:#778793;font-size:10px}.axis-tabs button.active{background:#fff0ec;border-color:#f3b9a9;color:#df6049}.layout-empty{font-size:10px;color:#a0acb5}.dimension-item{display:flex;align-items:center;gap:3px;border:1px solid #ebeff2;border-radius:6px;padding:6px}.dimension-item button{background:none;border:0;color:#98a7b1;padding:3px}.export-dimensions{margin-top:11px}.language-switch{display:flex;align-items:center;gap:2px;height:30px;padding:0 4px 0 7px;border:1px solid #e5ebee;border-radius:8px;background:#fff;color:#95a2ac;flex:none}.language-switch svg{flex:none}.language-switch button{border:0;background:transparent;color:#7a8995;font-size:10px;font-weight:800;padding:0 6px;height:22px;border-radius:6px}.language-switch button:hover{background:#f2f5f6;color:#4a5b68}.language-switch button.active{background:#fff0ec;color:#e6644c}.brand{min-width:220px}.brand-words strong{font-size:18px;letter-spacing:-.5px}.brand-words small{font-size:7px;letter-spacing:1.4px}.compat-note{margin:12px 0 0;padding:9px;border:1px solid #f2d6a5;border-radius:7px;background:#fff9ed;color:#9a6b28;font-size:9px;line-height:1.5}@media(max-width:800px){.topbar{gap:7px;padding:0 12px}.brand{min-width:145px;width:145px;gap:7px}.brand-icon{width:31px;height:31px}.brand-words strong{font-size:14px;white-space:nowrap}.brand-words small{display:none}.document-name{min-width:0;width:155px}.document-name input{width:125px}.topbar .icon-btn{width:27px}.topbar .primary-button{padding:0 8px;font-size:10px}.topbar .top-divider{display:none}.language-switch{padding:0 2px 0 5px}.language-switch button{padding:0 4px;font-size:9px}}@media(max-width:590px){.brand{width:auto;min-width:0}.topbar .top-action{display:none!important}.topbar .primary-button,.language-switch{margin-left:auto}}@media(max-width:800px){.side-tabs{padding-left:6px;padding-right:6px;gap:1px}.side-tabs button{min-width:0;padding:0 2px;font-size:10px;gap:3px}.side-tabs button svg{width:14px;height:14px;flex:none}}.layer-list{padding:0 10px}.layer-item{gap:6px;padding:0 7px;position:relative}.layer-item .layer-glyph{width:29px;height:29px}.layer-caret{width:16px;height:22px;flex:none;border:0;background:none;color:#93a1ab;display:grid;place-items:center;padding:0;border-radius:5px}.layer-caret:hover{background:#eef1f3;color:#e8664d}.layer-caret.empty{pointer-events:none}.layer-tray{position:absolute;right:31px;top:50%;transform:translateY(-50%);display:flex;gap:1px;padding:2px;border-radius:7px;background:#fff;box-shadow:0 3px 10px #27384521,0 0 0 1px #eef1f4;opacity:0;pointer-events:none;transition:opacity .12s}.layer-item:hover .layer-tray,.layer-item.active .layer-tray{opacity:1;pointer-events:auto}.layer-item.active .layer-tray{background:#fffaf7}.layer-item .layer-order{width:20px;height:20px}.layer-item .layer-eye{padding:3px;margin-left:-1px}.name-input{width:100%;height:23px;border:1px solid #f0a28e;border-radius:5px;padding:0 5px;font-size:11px;font-weight:700;color:#2e3944;outline:0;background:#fff;box-shadow:0 0 0 3px #fbece6}.layer-list-head{display:flex;align-items:center;justify-content:space-between;padding:0 18px 9px;color:#98a5ae;font-size:10px;font-weight:700}.layer-fold-all{display:inline-flex;align-items:center;gap:3px;border:0;background:none;color:#7b8b97;font-size:10px;font-weight:700;padding:2px 5px;border-radius:5px}.layer-fold-all:hover{background:#f2f5f6;color:#e8664d}.board-children{margin:1px 0 6px 33px;padding-left:9px}.child-item{height:40px;gap:6px}.child-branch{width:9px;margin-left:-9px}.child-glyph{width:22px;height:22px}.snap-layer{pointer-events:none}.snap-guide{fill:none;stroke-width:.4;stroke-dasharray:2.2 1.4}.snap-guide.layer{stroke:#2c8ad6}.snap-guide.page{stroke:#8b98a3;stroke-dasharray:1.1 1.7}.snap-guide.spacing{stroke:#e08b2b;stroke-dasharray:none}.snap-guide.grid{stroke:#9aa7b1}.snap-label{font-size:3.2px;font-weight:700;fill:#9c5f16;dominant-baseline:middle}.snap-label-bg{fill:#fff7ea;stroke:#f0d3a8;stroke-width:.16}.drag-readout{display:inline-flex;align-items:center;gap:7px}.drag-readout strong{color:#3d4c58}.snap-tag{display:inline-flex;align-items:center;gap:4px;padding:2px 7px;border-radius:20px;background:#eaf4fd;color:#1f72b5;font-weight:800}.snap-tag.warn{background:#fdeee9;color:#c9522f}.snap-group button.active{background:#fff0ec;color:#e9654b}.snap-grid{height:26px;border:1px solid #e6ebee;border-radius:6px;background:#fff;color:#63757f;font-size:10px;font-weight:700;padding:0 3px;outline:0}.snap-grid:disabled{opacity:.45}.align-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:4px}.align-grid button{height:30px;border:1px solid #e3e8eb;border-radius:7px;background:#fff;color:#637480;display:grid;place-items:center}.align-grid button:hover{border-color:#efad9e;color:#df6049;background:#fffaf8}@media(max-width:590px){.snap-grid{display:none}}.dimension-hit{fill:none;stroke:transparent;stroke-width:3;pointer-events:stroke}.dimension-hit.axis-x{cursor:ns-resize}.dimension-hit.axis-y{cursor:ew-resize}.dimension-hit:hover{stroke:#4d86a521}.dimension-hit.selected{stroke:#4d86a538}.pick-outline{fill:none;stroke:#2c8ad6;stroke-width:.28;stroke-dasharray:2 1.6;opacity:.55}.pick-edge{fill:none;stroke-width:.9;stroke-linecap:round}.pick-edge.hover{stroke:#2c8ad6}.pick-edge.pending{stroke:#e9654b;stroke-dasharray:2.4 1.4}.dimension-input{position:absolute;transform:translate(-50%,-50%);width:88px;height:24px;border:1px solid #4d86a5;border-radius:6px;background:#fff;color:#1d5f80;font-size:11px;font-weight:700;text-align:center;padding:0 6px;outline:0;box-shadow:0 4px 14px #2b42571f,0 0 0 3px #4d86a526;z-index:2}.dimension-hint{display:inline-flex;align-items:center;gap:6px;color:#1f72b5;font-weight:800}.tool-indicator.active{background:#eaf4fd;color:#1f72b5}.dimension-value{font-size:10px;color:#2b6f95;white-space:nowrap}.pick-page{stroke:#2c8ad6;stroke-width:.4;stroke-dasharray:3 2;opacity:.45}.dimension-mode,.dimension-mode .canvas-layer,.dimension-mode .child-hit-area{cursor:crosshair}.dimension-item.active{border-color:#efad9e;background:#fff7f4}.dimension-pick{flex:1;min-width:0;border:0;background:none;padding:0;text-align:left;color:#687a87;font-size:9px;line-height:1.4;cursor:pointer}.dimension-pick:hover{color:#df6049}.layout-only-hint{border:1px solid #d9e6f0;background:#f2f8fd;color:#2b6f95;border-radius:20px;height:26px;padding:0 11px;font-size:10px;font-weight:800;white-space:nowrap}.layout-only-hint:hover{border-color:#a9cde4;background:#e9f4fc}.dimension-inspector .selected-layer-summary{border-bottom:1px solid #edf0f3}.orientation-picker{display:flex;align-items:center;gap:12px}.orientation-picker .field-label{flex:none}.orientation-picker .axis-tabs{flex:1}.orientation-picker .axis-tabs button{display:inline-flex;align-items:center;justify-content:center;gap:5px}.stage{position:relative}.tool-banner{position:absolute;top:70px;left:50%;transform:translate(-50%);z-index:5;display:flex;align-items:center;gap:11px;max-width:calc(100% - 32px);padding:8px 9px 8px 13px;border-radius:11px;background:#2b6f95;color:#fff;box-shadow:0 8px 24px #1c4a6633;animation:tool-banner-in .18s ease-out;pointer-events:none}.tool-banner-icon{width:25px;height:25px;border-radius:7px;background:#ffffff2b;display:grid;place-items:center;flex:none}.tool-banner-text{display:flex;flex-direction:column;gap:2px;line-height:1.25;min-width:0}.tool-banner-text strong{font-size:11px;font-weight:800}.tool-banner-text span{font-size:10px;color:#d8e9f4}.tool-banner-esc{font-size:9px;color:#bcd8ea;white-space:nowrap}.tool-banner button{pointer-events:auto;display:inline-flex;align-items:center;gap:4px;border:0;border-radius:7px;background:#fff;color:#1f5f80;height:26px;padding:0 10px;font-size:10px;font-weight:800;white-space:nowrap;flex:none}.tool-banner button:hover{background:#eaf4fd}@keyframes tool-banner-in{0%{opacity:0;transform:translate(-50%,-6px)}to{opacity:1;transform:translate(-50%)}}@media(max-width:800px){.tool-banner{top:64px;gap:8px;padding:7px 8px 7px 10px}.tool-banner-esc{display:none}}.conflict-block{margin:14px 0 0;padding:11px 12px;border:1px solid #f0d3a8;border-radius:9px;background:#fff8ec;color:#8a5a1c}.conflict-block strong{display:block;font-size:11px}.conflict-block p{margin:6px 0 0;font-size:10px;line-height:1.5}.conflict-block ul{margin:7px 0 0;padding-left:16px;font-size:10px;line-height:1.6}.conflict-actions{display:flex;gap:6px;margin-top:11px}.conflict-actions button{flex:1;min-height:28px;border:1px solid #e6d3b4;border-radius:7px;background:#fff;color:#8a5a1c;font-size:10px;font-weight:800}.conflict-actions button.apply{background:#e08b2b;border-color:#e08b2b;color:#fff}.conflict-actions button:hover{border-color:#d9a75c}.flip-dimension{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:30px;border:1px solid #e3e8eb;border-radius:7px;background:#fff;color:#5b7d92;font-size:10px;font-weight:800}.flip-dimension:hover{border-color:#a9cde4;color:#2b6f95;background:#f4fafe}.layout-title.collapsible{display:flex;align-items:center;gap:6px;width:100%;border:0;background:none;padding:0;color:#34424e;font-size:11px;font-weight:800;text-align:left}.layout-title.collapsible svg{flex:none;color:#95a2ac;transition:transform .15s}.layout-title.collapsible.open svg{transform:rotate(90deg)}.layout-title.collapsible:hover{color:#df6049}.layout-title .count-chip{margin-left:6px;padding:1px 6px;border-radius:9px;background:#eaf4fd;color:#2b6f95;font-size:9px;font-weight:800}.section-body{display:flex;flex-direction:column;gap:11px}.layout-sub-tabs{display:flex;gap:4px;padding:12px 14px 0}.layout-sub-tabs button{flex:1;display:inline-flex;align-items:center;justify-content:center;gap:5px;height:32px;border:1px solid #e6ebee;border-radius:8px;background:#fff;color:#697b88;font-size:11px;font-weight:800}.layout-sub-tabs button:hover{border-color:#efad9e;color:#df6049}.layout-sub-tabs button.active{background:#fff0ec;border-color:#f3b9a9;color:#df6049}.layout-sub-tabs .count-chip{padding:1px 6px;border-radius:9px;background:#eaf4fd;color:#2b6f95;font-size:9px;font-weight:800}.layout-sub-tabs button.active .count-chip{background:#fff;color:#df6049}.panel-hint{margin:0;padding:14px 18px;color:#97a2ab;font-size:10.5px;line-height:1.65;border-bottom:1px solid #edf0f3}
