.lab-profile-editor{min-width:0;max-width:100%;color:#294b3b;overflow-wrap:anywhere;container:profile-editor/inline-size}.profile-intro{margin:0 0 12px!important;color:#607369;font-size:calc(13px * var(--text-scale,1))}.profile-tabs{display:flex;gap:6px;border-bottom:1px solid #d6e3da;margin-bottom:16px;padding-bottom:8px}.profile-tabs button{border:0;background:transparent;border-radius:9px;padding:9px 15px;color:#597165}.profile-tabs button[aria-selected=true]{background:#e0efe5;color:#21583b;font-weight:700}.profile-tabs small{font-size:calc(11px * var(--text-scale,1));margin-left:5px}.profile-structure-workspace{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:24px;align-items:start}.profile-front-panel,.profile-section-editor{min-width:0}.profile-front-caption{display:flex;gap:10px;justify-content:space-between;align-items:center;margin:0 0 10px;font-size:calc(13px * var(--text-scale,1))}.profile-front-caption span{color:#718378;font-size:calc(12px * var(--text-scale,1))}.profile-front{display:flex;flex-direction:column;min-height:260px;height:clamp(260px,40vh,430px);border:7px solid #879e8e;border-radius:5px;background:#e4ece4;padding:5px;gap:5px;overflow:auto}.lab-profile-editor .profile-front-section{display:flex;flex-direction:column;flex-basis:0;flex-shrink:0;min-height:50px;border:1px solid #bdcec1;border-radius:3px;padding:5px;background:#f6faf5;color:#4b6756;text-align:left;justify-content:center;box-shadow:inset 0 -4px #d6e2d7}.lab-profile-editor .profile-front-section.selected{border:2px solid #368b60;background:#e4f2e7;color:#184c31;box-shadow:0 0 0 2px #7ab58f35}.profile-front-section strong{font-size:calc(12px * var(--text-scale,1));font-weight:600}.profile-front-cells{display:grid;gap:3px;min-width:0;margin-top:3px}.profile-front-cells>span{padding:5px 4px;border:1px solid #bdcfc0;background:#fff9;font-size:calc(11px * var(--text-scale,1));overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center}.profile-section-editor h3{font-size:calc(15px * var(--text-scale,1));margin:0 0 10px}.lab-profile-editor .profile-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px}.lab-profile-editor .profile-fields label{margin:0}.lab-profile-editor .profile-advanced{padding:11px 0;border-color:#e0e9e1;margin-top:8px}.lab-profile-editor .profile-advanced summary{font-size:calc(12px * var(--text-scale,1));font-weight:600;color:#64796c}.lab-profile-editor .profile-advanced p,.profile-slot-summary{font-size:calc(12px * var(--text-scale,1));color:#738479;margin:8px 0}.profile-actions{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0}.profile-actions button{font-size:calc(12px * var(--text-scale,1));padding:7px 10px}.profile-warning{font-size:calc(12px * var(--text-scale,1));color:#9a5d1c;margin:8px 0}.profile-warning:empty{display:none}.profile-save-state{font-size:calc(12px * var(--text-scale,1));background:#f0f6ee;border-radius:8px;padding:8px 12px;margin:16px 0 0!important;color:#56705d}.lab-profile-editor .profile-resource,.lab-profile-editor .profile-group{border:1px solid #dce7de;border-radius:9px;padding:10px 12px;margin:7px 0;background:#fbfdf9}.profile-resource>summary,.profile-group>summary{display:list-item;font-size:calc(13px * var(--text-scale,1))}.profile-resource>summary small,.profile-group>summary small{font-size:calc(11px * var(--text-scale,1));font-weight:400;color:#738375;margin-left:12px}.profile-resource[open]>.profile-fields,.profile-group[open]>.profile-fields{margin-top:12px}.lab-profile-editor .quiet.danger{font-size:calc(12px * var(--text-scale,1));color:#965e49;background:transparent;border:0;padding:6px 0;margin-top:8px}.profile-pane>h3{font-size:calc(14px * var(--text-scale,1));margin:20px 0 8px}.profile-pane>p{font-size:calc(12px * var(--text-scale,1));color:#718174}.lab-profile-editor [hidden]{display:none!important}.lab-profile-editor [readonly]{background:#f1f4ef;color:#718174}
@media(max-width:760px){.profile-structure-workspace{grid-template-columns:1fr;gap:18px}.profile-front{height:280px;min-height:220px}.profile-tabs{gap:2px}.profile-tabs button{padding:10px 12px;flex:1}.profile-tabs small{display:none}.profile-front-caption{font-size:calc(12px * var(--text-scale,1))}.lab-profile-editor .profile-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-section-editor>div:first-child{display:grid;grid-template-columns:1fr 1fr;gap:8px}.profile-section-editor h3,.profile-section-editor .profile-advanced,.profile-slot-summary{grid-column:1/-1}.profile-section-editor label{min-width:0}.lab-profile-editor input,.lab-profile-editor select,.lab-profile-editor textarea{font-size:calc(16px * var(--text-scale,1))}.profile-resource>summary,.profile-group>summary{min-height:24px}}

@container profile-editor (max-width:420px){.lab-profile-editor .profile-fields{grid-template-columns:1fr}.profile-front-caption{align-items:flex-start;flex-direction:column;gap:4px}.profile-tabs button{padding:9px 7px;font-size:calc(12px * var(--text-scale,1))}.profile-front{height:260px}.profile-section-editor>div:first-child{grid-template-columns:1fr}}

.division-intro{display:flex;flex-direction:column;gap:5px;margin:0 0 12px}.division-intro strong{font-size:calc(16px * var(--text-scale,1));color:#24543b}.division-intro span{font-size:calc(12px * var(--text-scale,1));color:#718174}.division-presets{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-bottom:14px}.division-presets>span{font-size:calc(12px * var(--text-scale,1));color:#64796c}.division-presets>button{display:flex;align-items:center;gap:7px;font-size:calc(12px * var(--text-scale,1));padding:7px 10px;min-height:38px}.division-preset-icon{width:25px;height:25px;border:1.5px solid #71947a;background-image:linear-gradient(to right,transparent calc(100% - 1px),#71947a 0),linear-gradient(to bottom,transparent calc(100% - 1px),#71947a 0);background-size:calc(100% / var(--c)) 100%,100% calc(100% / var(--r));border-radius:2px}.division-custom{font-size:calc(12px * var(--text-scale,1));margin-left:auto}.division-custom>summary{cursor:pointer;padding:9px;color:#456950}.division-custom[open]{flex-basis:100%;border:1px solid #dae5d9;border-radius:10px;padding:6px 12px}.division-custom>div{display:flex;align-items:end;gap:8px;flex-wrap:wrap}.division-custom label{flex:1;min-width:90px}.division-custom small{display:block;margin:8px 0;color:#758274}.division-workspace{display:grid;grid-template-columns:minmax(0,1fr) 208px;gap:16px;align-items:start}.division-cabinet{min-width:0}.division-front{display:flex;flex-direction:column;height:360px;min-height:250px;overflow:auto;padding:7px;gap:7px;border:7px solid #8ca391;border-radius:7px;background:#dce8dd;overscroll-behavior:contain}.division-layer{min-height:72px;flex-basis:0;display:flex;flex-direction:column;gap:4px}.division-layer-name{font-size:calc(11px * var(--text-scale,1));color:#5b7763;padding-left:4px;flex:none}.division-cells{display:grid;min-height:44px;flex:1;gap:4px}.lab-profile-editor .division-cell{min-width:0;border:1px solid #becfbc;border-radius:4px;background:#f8fbf5;padding:8px 4px;color:#4d6755;display:flex;flex-direction:column;justify-content:center;box-shadow:inset 0 -3px #d4dfd2}.division-cell span{font-size:calc(12px * var(--text-scale,1));white-space:nowrap}.division-cell small{font-size:calc(10px * var(--text-scale,1));margin-top:3px;color:#7b8b77}.lab-profile-editor .division-cell.selected{background:#d7eddb;border:2px solid #39875c;box-shadow:0 0 0 1px #39875c;color:#1c5735}.division-cell:focus-visible{outline:3px solid #d6a64d;outline-offset:1px}.division-selection{font-size:calc(13px * var(--text-scale,1));font-weight:600;margin:0 0 10px!important;color:#375f43}.division-tools>button{width:100%;display:grid;grid-template-columns:38px minmax(0,1fr);gap:4px 8px;align-items:center;text-align:left;min-height:80px;margin:0 0 9px;padding:10px;background:#f3f9ef;border-color:#c6dcbf;white-space:normal}.division-tools>button strong{font-size:calc(13px * var(--text-scale,1));font-weight:600}.division-tools>button small{grid-column:2;font-size:calc(11px * var(--text-scale,1));line-height:1.6;color:#70816e}.division-cut-icon{grid-row:1/3;width:32px;height:32px;border:2px solid #588564;position:relative;border-radius:3px;background:#fff}.division-cut-icon:after{content:'';position:absolute;background:#588564}.division-cut-icon.vertical:after{width:2px;top:0;bottom:0;left:calc(50% - 1px)}.division-cut-icon.horizontal:after{height:2px;left:0;right:0;top:calc(50% - 1px)}.division-help{font-size:calc(11px * var(--text-scale,1));line-height:1.8;color:#7b8676;margin:10px 0}.division-history{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}.division-history button{font-size:calc(12px * var(--text-scale,1));padding:6px 9px}.division-history button:last-child{margin-left:auto;background:transparent}.division-summary{font-size:calc(12px * var(--text-scale,1));padding:9px 12px;background:#edf5e9;border-radius:8px;color:#496d4f;margin:12px 0 0}.division-error{color:#a24a32;font-size:calc(12px * var(--text-scale,1));margin:8px 0}.division-error:empty{display:none}.profile-dimension-details{border-top:1px solid #e1e9df;margin-top:14px;padding-top:12px}.profile-dimension-details>summary{cursor:pointer;font-size:calc(12px * var(--text-scale,1));color:#68816e}.profile-dimension-details>div{padding-top:10px}.profile-dimension-details .profile-section-editor{margin-top:12px}
@container profile-editor (max-width:650px){.division-workspace{grid-template-columns:1fr}.division-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.division-selection,.division-help{grid-column:1/-1}.division-tools>button{margin:0}.division-front{height:300px}.division-tools>button{grid-template-columns:28px minmax(0,1fr);padding:8px}.division-cut-icon{width:25px;height:25px}.division-tools>button strong{font-size:calc(12px * var(--text-scale,1))}}
@container profile-editor (max-width:360px){.division-tools{grid-template-columns:1fr}.division-presets>button{padding:7px}.division-history button:last-child{margin-left:0}.division-front{height:280px}.division-custom{margin-left:0}}
