.nested-breadcrumb{display:flex;align-items:center;gap:5px;flex-wrap:wrap;max-width:100%;margin:0 0 9px;pointer-events:auto;font-size:10px;color:#819079}.nested-breadcrumb button{background:#f8faf2;border:1px solid #d3ddc8;padding:5px 8px;border-radius:5px;font-size:10px;color:#587244;max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nested-breadcrumb button[aria-current]{background:#e1e9d7}.nested-inspector{padding:14px 0}.nested-inspector h2{font:23px var(--serif);margin:9px 0}.nested-inspector p{font-size:10px;line-height:1.7;color:#7c8775;margin:10px 0}.nested-inspector .mini-label{letter-spacing:1px}.nested-ports{margin:16px 0}.nested-ports h3{font-size:11px;margin:14px 0 6px}.nested-port-row{display:flex;justify-content:space-between;gap:6px;padding:7px 0;border-bottom:1px solid var(--line);font-size:10px}.nested-port-row span{display:flex;align-items:center;gap:4px}.nested-port-row b{font:9px var(--mono);white-space:nowrap}.nested-picker{display:grid;grid-template-columns:1fr 1fr;gap:12px}.nested-choice{background:#eef1e6;border:1px solid #d4ddc9;border-radius:9px;padding:16px;text-align:left}.nested-choice strong{display:block;margin:8px 0;font:20px var(--serif)}.nested-choice small{font-size:10px;line-height:1.7;color:#7f8975;display:block}.nested-choice:disabled{opacity:.5}.nested-preview{border:1px solid var(--line);border-radius:8px;background:#edf2e5;padding:12px;margin:12px 0;font-size:11px;line-height:1.8}.nested-placement{margin:12px 0;padding:12px;border:1px solid #cbdac2;background:#edf4e7;border-radius:8px;font-size:11px;line-height:1.6}.nested-badge{font-size:9px;color:#6a83a1}.nested-link-form{max-width:560px}.nested-link-form select{margin:6px 0 14px}
.stage.is-grid:has(.nested-breadcrumb) .stage-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;row-gap:8px}.nested-breadcrumb{grid-column:1 / -1}.stage.is-grid:has(.nested-breadcrumb) .grid-view{top:145px}
.nested-breadcrumb{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin}.nested-breadcrumb button{flex-shrink:0}
.stage.is-grid:has(.nested-breadcrumb) .grid-view{top:0}.stage.is-grid:has(.nested-breadcrumb) .grid-tools,.stage.is-grid:has(.nested-breadcrumb) .layer-controls{top:120px}
@media(max-width:640px){.nested-picker{grid-template-columns:1fr}.nested-breadcrumb button{max-width:140px}.stage.is-grid:has(.nested-breadcrumb) .grid-view{top:0}.stage.is-grid:has(.nested-breadcrumb) .grid-tools,.stage.is-grid:has(.nested-breadcrumb) .layer-controls{top:132px}}
.group-selection-panel{padding:20px 18px}.group-selection-panel h2{font:26px var(--serif);margin:15px 0}.group-selection-panel p{font-size:11px;line-height:1.8;color:#77856b}.group-selection-panel .full{margin:8px 0}.group-selection-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:15px 0}.selection-count{font-size:12px;color:#658051;margin-left:auto}.selection-list{display:grid;grid-template-columns:1fr 1fr;gap:9px;max-height:48vh;overflow:auto;padding:2px}.selection-choice{display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:14px;border:1px solid #d6ddca;border-radius:8px;background:#f2f4eb;color:#526447;min-width:0}.selection-choice>span:not(.selection-check){min-width:0;flex:1}.selection-choice b{font-size:12px;display:block;overflow-wrap:anywhere}.selection-choice small{display:block;font-size:10px;color:#78846d;line-height:1.7;margin-top:4px}.selection-choice[aria-checked=true]{background:#e3ecd8;border-color:#879e70;box-shadow:inset 0 0 0 1px #879e70}.selection-check{flex-shrink:0;width:18px;height:18px;border:1px solid #9caa8b;border-radius:4px;display:grid;place-items:center}.selection-choice[aria-checked=true] .selection-check{background:#617d4d;color:white}.selection-choice[aria-checked=true] .selection-check:after{content:'✓'}.group-preview-counts{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.group-preview-counts span{background:#e5eddb;padding:10px;border-radius:6px;font-size:11px}.group-free{color:#537445;font-size:12px}.group-port-list{display:grid;gap:8px}.group-port-list h3{font-size:14px;margin:12px 0 3px}.group-port-list>p{font-size:12px;color:#78846d}
@media(max-width:640px){.selection-list{grid-template-columns:1fr;max-height:43vh}.selection-choice{padding:11px}.group-selection-actions .selection-count{width:100%;margin:2px 0}.grid-tools .grid-toolbar{row-gap:3px}.stage.is-grid:has(.nested-breadcrumb) .layer-legend{display:none}}
.template-choice{min-width:0}.template-preview{display:block;width:100%;max-width:280px;height:auto;aspect-ratio:280/184;object-fit:contain;margin:0 auto 10px;pointer-events:none}.template-choice strong,.template-choice small{overflow-wrap:anywhere}
