.filters{flex-wrap:wrap}.filters button{flex:1 0 28%;font-size:11px}.model-create{display:flex;align-items:center;justify-content:space-between;width:100%;color:var(--green);margin:16px 0 6px;border-color:#a7c1b0;background:var(--pale)}.model-create span{font-size:20px}.model small{font-size:11px;color:var(--green)}.library{max-height:calc(100vh - 149px);overflow:auto}.model-create:focus-visible{outline-offset:1px}#modelComposer{padding:15px 0;border-bottom:1px solid var(--line)}#modelComposer h3{font-size:14px;margin:0 0 14px}#modelComposer label{font-size:11px;display:block;margin-bottom:10px}#modelComposer input,#modelComposer select{display:block;width:100%;padding:8px;margin-top:5px;font-size:12px}#modelComposer input[type=number]{direction:ltr}#modelComposer small{font-size:11px;color:var(--muted)}.composer-dims{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.composer-actions{display:flex;gap:5px}.composer-actions button{font-size:11px;padding:7px 9px}.save-model{width:100%;font-size:11px;color:var(--green);margin-top:5px}#modelError{font-size:11px;color:var(--danger)}.parts-switch{display:flex;gap:8px;margin:22px 0}.parts-switch button{font-size:13px;padding:10px 20px}.parts-switch .active{background:var(--green);border-color:var(--green);color:white}.cut-intro{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:28px 0 18px}.cut-intro h2{font-size:20px}.cut-intro p{margin-bottom:0;font-size:12px}.unit-note{font-size:11px;color:var(--muted);white-space:nowrap}.cut-settings{display:flex;flex-wrap:wrap;align-items:center;gap:20px;background:white;border:1px solid var(--line);border-radius:12px;padding:18px 20px}.cut-settings fieldset{display:flex;align-items:center;gap:8px;border:0;padding:0;margin:0;min-width:0}.cut-settings legend{font-size:12px;font-weight:600;margin-bottom:8px}.cut-settings fieldset>span{padding-top:20px;color:var(--muted)}.cut-settings label{font-size:11px;color:var(--muted)}.cut-settings input[type=number]{display:block;width:85px;padding:7px;direction:ltr;font-size:14px;margin-top:4px}.cut-checks{display:flex;flex-direction:column;gap:7px}.cut-checks label{display:flex;align-items:center;gap:5px;color:var(--ink)}.cut-checks input{accent-color:var(--green);width:15px;height:15px}.cut-checks small{font-size:11px;color:var(--muted)}#runNesting{margin-right:auto;font-size:12px}.cut-status{font-size:12px;margin:16px 0;min-height:24px}.plan-summary{display:flex;flex-wrap:wrap;gap:22px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:16px 0;margin-bottom:20px;font-size:12px}.plan-summary strong{font-size:18px;font-weight:600;margin-left:5px}.plan-toolbar{display:flex;justify-content:space-between;gap:18px;align-items:end;margin-bottom:18px;flex-wrap:wrap}.plan-toolbar label{display:flex;flex-direction:column;gap:6px;font-size:11px;color:var(--muted)}.plan-toolbar select{min-width:280px;max-width:100%;font-size:12px}.plan-exports{display:flex;flex-wrap:wrap;gap:6px}.plan-exports button{font-size:11px;padding:9px 12px}.plan-workspace{display:grid;grid-template-columns:minmax(0,1fr) 270px;border:1px solid var(--line);border-radius:12px;background:white;overflow:hidden}.sheet-stage{padding:22px;min-width:0;background:#f9faf7}.sheet-ruler{display:flex;justify-content:space-between;font-size:11px;gap:12px;margin-bottom:22px}.sheet-ruler b{white-space:nowrap;font-weight:500}.sheet-map{display:block;width:100%;height:auto;overflow:visible}.sheet-map g[role=button]{cursor:pointer;outline:none}.sheet-map g:focus-visible rect{stroke:#0f5235;stroke-width:4}.sheet-map g:hover rect{stroke:#153b2b;stroke-width:2}.sheet-caption{font-size:11px!important;margin:20px 0 0;line-height:2}.piece-panel{border-right:1px solid var(--line);padding:20px}.piece-panel h3{font-size:13px;margin:0 0 15px}.piece-id{font-size:12px;background:var(--pale);padding:4px 8px;border-radius:4px;display:inline-block;color:var(--green)}.piece-panel h4{font-size:17px;margin:13px 0 4px}.piece-panel p{font-size:11px;margin-bottom:18px}.piece-panel dl{display:grid;grid-template-columns:auto 1fr;font-size:11px;gap:12px 8px;margin-bottom:25px}.piece-panel dt{color:var(--muted)}.piece-panel dd{margin:0;text-align:left}.piece-list-heading{padding-top:18px;border-top:1px solid var(--line)}#sheetPieces{max-height:310px;overflow:auto}#sheetPieces button{display:grid;grid-template-columns:95px 1fr;align-items:center;text-align:right;width:100%;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:9px 5px;font-size:11px}#sheetPieces button.active{background:var(--pale);color:var(--green)}#sheetPieces small{grid-column:2;font-size:11px;color:var(--muted)}.cut-method{border-top:1px solid var(--line);margin-top:24px;padding:18px 0}.cut-method summary{font-size:12px;cursor:pointer}.cut-method p{max-width:85ch;font-size:12px!important;line-height:2.1;margin-top:15px}#layoutPrintArea{display:none}.notice ul{padding-right:20px;max-height:180px;overflow:auto;line-height:2.2}#partsBody td:first-child{direction:ltr;font-size:11px}#partsView{max-width:1440px}.scene{justify-content:flex-start}.canvas{align-items:flex-end}.scene{padding-top:90px}.unit-tag{max-width:170px;overflow:hidden;text-overflow:ellipsis}.model span{overflow-wrap:anywhere}.selected-caption{display:none}
.sheet-config{background:white;border:1px solid var(--line);border-radius:10px}.sheet-config summary{display:flex;justify-content:space-between;gap:20px;padding:14px 18px;font-size:12px;cursor:pointer;list-style:none}.sheet-config summary span:last-child{color:var(--green);white-space:nowrap}.sheet-config[open] summary{border-bottom:1px solid var(--line)}.sheet-config .cut-settings{border:0;border-radius:0;background:none}.repack-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.repack-row p{margin:12px 0;font-size:11px}.repack-row button{white-space:nowrap;font-size:11px;padding:6px 10px}.parts-switch{margin:15px 0 20px}#partsView .page-head p{margin-bottom:0}.plan-summary{padding:13px 0;margin-bottom:14px}.sheet-stage{min-height:300px}
.map-zoom{display:flex;align-items:center;gap:7px;justify-content:flex-end;direction:ltr;margin:-8px 0 12px;font-size:11px}.map-zoom button{padding:4px 9px;font-size:11px}.map-zoom button:last-child{direction:rtl}#sheetDrawing{overflow:auto;direction:ltr;padding:3px}.sheet-map{max-width:none}#sheetDrawing .sheet-map{max-height:none}
@media(max-width:1100px){.plan-toolbar{align-items:start}.plan-workspace{grid-template-columns:minmax(0,1fr) 235px}.sheet-stage{padding:16px}.plan-summary{gap:15px}.cut-settings{gap:18px}#runNesting{margin-right:0}}
@media(max-width:820px){.library{max-height:none}.plan-workspace{grid-template-columns:1fr}.piece-panel{border-right:0;border-top:1px solid var(--line)}.piece-panel dl{max-width:400px}#sheetPieces{display:grid;grid-template-columns:repeat(2,1fr);gap:0 15px;max-height:240px}.piece-panel h4{font-size:16px}.sheet-ruler{flex-wrap:wrap}.unit-note{display:none}.plan-toolbar label{width:100%}.plan-toolbar select{width:100%;min-width:0}.plan-exports{width:100%}.cut-settings{gap:16px 22px}}
@media(max-width:540px){.library{overflow:visible}.model-create{margin:10px 0;width:100%;padding:5px 12px}.filters{width:100%;margin:10px 0;flex-wrap:nowrap}.filters button{flex:1;padding:7px 4px;font-size:11px}.catalog{max-width:100%}.parts-switch button{padding:9px 14px;font-size:12px}.cut-intro h2{font-size:18px}.cut-settings{padding:16px;gap:18px}.cut-settings fieldset{flex:1 0 100%;gap:14px}.cut-settings input[type=number]{width:110px;font-size:16px}.cut-settings label{font-size:12px}.cut-checks{width:100%;gap:10px}#runNesting{width:100%;padding:12px}.plan-summary{display:grid;grid-template-columns:1fr 1fr;gap:16px 10px;font-size:11px}.plan-summary strong{display:block;font-size:20px;margin-bottom:3px}.plan-exports{display:grid;grid-template-columns:1fr 1fr;gap:8px}.plan-exports button{font-size:11px;padding:10px}.sheet-stage{padding:16px 10px}.sheet-ruler{font-size:11px;gap:8px;margin-bottom:16px}.piece-panel{padding:18px}#sheetPieces{display:block}.sheet-caption{font-size:11px!important}.cut-method summary{line-height:2}.composer-dims input{font-size:16px!important}#modelComposer select,#modelComposer input{font-size:16px}.scene{padding-top:90px}.canvas{height:340px}}
@media print{body[data-print=layout]>*{display:none!important}body[data-print=layout]>#layoutPrintArea{display:block!important}body[data-print=layout] .print-sheet{break-before:page;page-break-before:always;padding:10px}body[data-print=layout] .print-sheet:first-child{break-before:auto;page-break-before:auto}body[data-print=layout] .print-sheet h2{font-size:15px}body[data-print=layout] .print-sheet p{font-size:11px}body[data-print=layout] .sheet-map{max-height:120mm;width:100%;print-color-adjust:exact}body[data-print=layout] table{white-space:normal}body:not([data-print=layout]) .parts-switch,body:not([data-print=layout]) #cutLayout{display:none!important}body:not([data-print=layout]) #cutList{display:block!important}#print{display:none!important}}
