/* Symbol-based stand planner, shared by web and portable. */
#planner .planner-layout{grid-template-columns:320px minmax(0,1fr);align-items:start;gap:20px}
#planner .plan-tools{display:block;min-width:0}#planner .plan-palette{display:grid;grid-template-columns:1fr 1fr;gap:7px;max-height:350px;overflow:auto;padding:3px 6px 3px 2px;margin-bottom:15px}
.plan-symbol{border:1px solid #dbe3d4;border-radius:8px;padding:9px 7px;background:#fff;color:#213e37;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:5px;min-height:107px;font-size:11px;line-height:1.4;cursor:pointer}.plan-symbol svg{width:52px;height:52px;flex-shrink:0}.plan-symbol:hover{border-color:#718f62;background:#f7faef}.plan-symbol.active{border:2px solid #315f45;background:#edf4e6;padding:8px 6px}.plan-symbol:focus-visible{outline:3px solid #9abc70;outline-offset:2px}
.plan-choice{display:flex;gap:12px;align-items:center;padding:12px;border:1px solid #c9d7bd;background:#f3f7ed;border-radius:8px;margin:12px 0}.plan-choice svg{width:62px;height:62px;flex-shrink:0}.plan-choice strong,.plan-choice span,.plan-choice small{display:block}.plan-choice strong{font-size:14px;margin:4px 0}.plan-choice small,.plan-choice span{font-size:11px;color:#6e7b64}
.plan-workspace{min-width:0}.plan-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:7px}.plan-toolbar .segmented{margin:0;min-width:230px}.plan-toolbar .btn{padding:9px 10px;font-size:12px}.plan-hint{font-size:12px;color:#4a6346;min-height:34px;margin:10px 0}.plan-stage canvas.placing{cursor:crosshair}.plan-selected{display:flex;gap:10px;align-items:center;font-size:12px;min-height:47px;margin:9px 0}.plan-selected svg{width:38px;height:38px;flex-shrink:0}.plan-bottom{display:flex;align-items:center;gap:20px;justify-content:space-between}.plan-bottom .two{max-width:280px;gap:12px}.plan-bottom .field{margin:0}.plan-bottom .btn{font-size:12px}.plan-inventory{margin-top:18px}.plan-inventory summary{font-weight:600;font-size:13px;cursor:pointer}#planner #plan-counts{max-height:180px;overflow:auto;margin-top:10px;display:grid;grid-template-columns:1fr 1fr;gap:0 18px}#planner .plan-count{width:100%;background:transparent;border:0;border-bottom:1px solid #e0e8d9;align-items:center;cursor:pointer;color:#30492e;text-align:left;gap:9px}.plan-count svg{width:28px;height:28px;flex-shrink:0}.plan-count span{flex:1}.plan-count:hover{background:#f5f8ef}
@media(max-width:1000px){#planner .planner-layout{grid-template-columns:260px minmax(0,1fr)}.plan-bottom{flex-wrap:wrap;gap:10px}}
@media(max-width:760px){#planner .planner-layout{grid-template-columns:1fr}#planner .plan-tools{display:grid;grid-template-columns:1fr 1fr;gap:10px}#planner .plan-palette{grid-column:1/-1;grid-template-columns:repeat(3,1fr);max-height:225px;margin:0}.plan-choice{grid-column:1/-1;margin:0}.plan-tools>.small{display:none}#plan-product-field{grid-column:1/-1}.plan-symbol{min-height:100px}.plan-toolbar .segmented{flex:1}.plan-hint{min-height:0}.plan-bottom .two{grid-template-columns:1fr 1fr}#planner .plan-stage{min-height:0}#planner #plan-counts{display:grid;grid-template-columns:1fr}}

.plan-angle{display:flex;gap:6px;align-items:center;font-size:12px}.plan-angle input{width:76px;padding:8px}.plan-placement-help{margin:0 0 16px}#plan-canvas{touch-action:none}
.stand-orientation{padding:18px;margin-bottom:20px;background:#f4f8fa;border:1px solid #b4cbd0;border-radius:12px}.stand-orientation h3{margin:0 0 14px}.stand-open-sides{display:flex;flex-wrap:wrap;gap:14px 24px}.stand-orientation input[type=range]{width:100%;padding:0;accent-color:#237044}.stand-orientation .two{margin-top:18px}
#planner .plan-stage{display:block}.stand-view-toolbar{position:sticky;top:0;z-index:3;display:flex;align-items:center;gap:10px;padding:10px 14px;background:#f4f8fa;border-bottom:1px solid #b4cbd0;font-size:13px}.stand-view-toolbar input[type=range]{min-width:50px;flex:1;padding:0;accent-color:#237044}.stand-view-toolbar input[type=number]{width:72px;padding:6px}.stand-view-toolbar label{white-space:nowrap}@media(max-width:550px){.stand-view-toolbar{gap:6px;padding:8px;font-size:11px}.stand-view-toolbar input[type=number]{width:59px}}
