:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Noto Sans JP",Meiryo,sans-serif;color:#243b58;background:#f0f5fc;font-size:14px;font-synthesis:none;--ink:#243b58;--muted:#52647a;--teal:#243b58;--line:#dce5f0;--paper:#fffefb}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit;color:inherit}button,a,input,select,textarea{outline-offset:4px}button{min-height:38px;border:1px solid var(--line);border-radius:9px;background:#fffefb;padding:8px 12px;cursor:pointer;transition:background .15s,box-shadow .15s}button:hover{background:#f0f5fc}button:disabled{opacity:.4;cursor:not-allowed}button.primary{background:var(--teal);color:white;border-color:var(--teal)}button.primary:hover{background:#243b58}button.danger{color:#ac4a3c;background:#fff5f2}button.icon{padding:7px 11px;font-size:18px;min-width:38px}button.active{background:#dce5f0;border-color:#52647a;color:#243b58}button.flat{border-color:transparent;background:transparent}a{color:var(--teal);text-decoration:none}input,select,textarea{width:100%;border:1px solid #dce5f0;border-radius:8px;background:white;padding:9px 10px;min-height:38px}input[type=range]{padding:0}textarea{resize:vertical;min-height:72px}label{font-size:12px;color:#52647a;display:block;line-height:1.8}h1,h2,h3,p{margin:0}h2{font-size:17px}h3{font-size:13px}small,.muted{color:var(--muted)}.brand{display:flex;align-items:center;gap:10px;white-space:nowrap}.brand-mark{width:34px;height:34px;background:#243b58;color:#f7f5df;border-radius:10px;display:grid;place-items:center;font-family:Georgia,serif;font-size:23px}.brand b{font-size:17px;letter-spacing:-.4px}.brand small{font-size:10px;display:block;letter-spacing:1.5px}.topbar{height:76px;display:flex;align-items:center;gap:24px;padding:0 28px;border-bottom:1px solid var(--line);background:var(--paper)}.topbar .spacer{flex:1}.top-title{font-size:14px;font-weight:650;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tag{font-size:11px;background:#f0f5fc;border:1px solid #dce5f0;color:#52647a;border-radius:20px;padding:5px 9px;white-space:nowrap}.actions{display:flex;align-items:center;gap:8px}.local-ribbon{background:#f1f0e6;color:#7b765d;font-size:11px;letter-spacing:.3px;padding:7px 28px;border-bottom:1px solid #e5e3d6}.editor{height:calc(100dvh - 105px);min-height:590px;display:grid;grid-template-columns:244px minmax(0,1fr) 268px}.side{overflow:auto;background:var(--paper);padding:22px 18px;border-right:1px solid var(--line)}.side.right{border-left:1px solid var(--line);border-right:0}.side .section{padding-bottom:22px;margin-bottom:22px;border-bottom:1px solid var(--line)}.section-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.eyebrow{font-size:10px;letter-spacing:1.6px;color:var(--muted);margin-bottom:6px}.toolgrid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.toolgrid button{display:flex;align-items:center;gap:10px;padding:12px 9px;font-size:12px}.symbol{font-size:24px;line-height:1;width:28px;text-align:center;color:#52647a}.toolgrid button span:last-child{white-space:nowrap}.upload{width:100%;border:1px dashed #8193aa;background:#f0f5fc;padding:16px 8px;margin:6px 0 8px}.help{font-size:11px;line-height:1.8;color:#52647a;margin-top:8px}.fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}.fields .wide{grid-column:1/-1}.stack{display:flex;flex-direction:column;gap:10px}.stage-area{min-width:0;display:flex;flex-direction:column;background:#f0f5fc;position:relative}.toolbar{min-height:63px;padding:12px 20px;display:flex;align-items:center;gap:6px;background:#f0f5fc;border-bottom:1px solid var(--line);flex-wrap:wrap}.toolbar .divider{height:20px;width:1px;background:#dce5f0;margin:0 5px}.toolbar .right-tools{margin-left:auto;display:flex;gap:6px}.toolbar button{font-size:12px}.canvas-wrap{flex:1;position:relative;min-height:260px;overflow:hidden;background-image:radial-gradient(#8193aa .8px,transparent .8px);background-size:18px 18px}.stage-svg{width:100%;height:100%;position:absolute;inset:0;touch-action:none;user-select:none;-webkit-user-select:none;outline-offset:-5px}.stage-svg.pan{cursor:grab}.stage-svg.pan:active{cursor:grabbing}.stage-svg.placing{cursor:crosshair}.stage-svg .object{cursor:pointer}.stage-svg .object:focus{outline:none}.stage-svg .object:focus .hit{stroke:#243b58;stroke-width:3}.stage-svg text{pointer-events:none;font-family:inherit}.stage-svg .symbol-shape{vector-effect:non-scaling-stroke}.stage-svg .dimmed{opacity:.15}.stage-svg .selected .selection-box{display:block}.selection-box{display:none;fill:none;stroke:#e6a13d;stroke-width:2;vector-effect:non-scaling-stroke;stroke-dasharray:5 3}.canvas-label{position:absolute;top:18px;left:20px;font-size:11px;letter-spacing:.7px;background:#ffffffce;color:#52647a;border:1px solid #dce5f0;border-radius:20px;padding:7px 12px;pointer-events:none}.zoom-controls{position:absolute;right:20px;bottom:20px;display:flex;align-items:center;gap:3px;background:var(--paper);border:1px solid var(--line);padding:5px;border-radius:12px;box-shadow:0 3px 12px #243b5809}.zoom-controls button{border:0;background:transparent}.zoom-value{font-size:11px;min-width:42px;text-align:center}.stage-footer{display:flex;gap:20px;align-items:center;font-size:11px;color:#52647a;padding:12px 20px;background:#f0f5fc;border-top:1px solid var(--line);flex-wrap:wrap}.dot{width:7px;height:7px;display:inline-block;border-radius:50%;background:#2870cc;margin-right:5px}.warning{font-size:11px;line-height:1.7;color:#8c7954;background:#f4efdf;border:1px solid #e7dfc9;padding:11px 12px;border-radius:8px}.countgrid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.countcard{background:#f0f5fc;padding:13px;border-radius:9px}.countcard b{font-size:26px;font-weight:550;display:block;color:#243b58}.countcard small{font-size:11px}.inventory-row{display:flex;justify-content:space-between;gap:8px;padding:8px 0;border-bottom:1px solid #f0f5fc;font-size:12px}.inventory-row .swatch{width:8px;height:8px;display:inline-block;border-radius:50%;margin-right:7px}.selected-title{display:flex;align-items:center;gap:8px;margin:0 0 16px}.selected-title strong{font-size:15px}.empty-select{padding:20px 8px;text-align:center;font-size:12px;line-height:1.9;color:#52647a}.empty-select .big{font-size:30px;display:block;margin-bottom:12px}.full{width:100%}.mt{margin-top:12px}.hidden{display:none!important}.save-state{font-size:11px;color:#52647a;white-space:nowrap}.save-state.dirty{color:#b17832}.home{max-width:1120px;margin:0 auto;padding:55px 28px}.welcome{display:flex;justify-content:space-between;gap:24px;align-items:center;margin-bottom:35px}.welcome h1{font-size:30px;letter-spacing:-1px;font-weight:600;margin:7px 0 12px}.welcome p{color:#52647a;line-height:1.8;font-size:13px}.home-actions{display:flex;gap:10px;flex-wrap:wrap}.project-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.project-card{background:var(--paper);border:1px solid #dce5f0;border-radius:14px;overflow:hidden;text-align:left;padding:0;min-height:200px}.project-card .preview{background:#dce5f0;height:106px;display:grid;place-items:center;font-size:32px;color:#52647a;letter-spacing:6px;border-bottom:1px solid var(--line)}.project-card .info{padding:20px}.project-card h3{font-size:15px;margin-bottom:12px}.project-card .meta{display:flex;justify-content:space-between;font-size:11px;color:#52647a}.login{max-width:580px;margin:60px auto;padding:32px;background:var(--paper);border:1px solid var(--line);border-radius:18px}.login h1{font-size:29px;line-height:1.6;letter-spacing:-1px}.login p{line-height:1.9;color:#52647a;margin:18px 0}.login-buttons{display:grid;grid-template-columns:1fr 1fr;gap:12px}.login button{padding:16px}.home .warning{margin-top:28px}.viewer{height:calc(100dvh - 76px);display:flex;flex-direction:column;min-height:400px}.viewer-tools{background:var(--paper);padding:16px 24px;border-bottom:1px solid var(--line);display:flex;gap:16px;align-items:center}.searchbox{position:relative;max-width:400px;flex:1}.searchbox input{padding-left:35px;background:#f0f5fc}.searchbox:before{content:'⌕';font-size:23px;color:#52647a;position:absolute;top:3px;left:11px}.viewer-stats{font-size:12px;color:#52647a;white-space:nowrap}.viewer-main{flex:1;min-height:0;display:flex;position:relative}.viewer-main .stage-area{flex:1}.viewer .canvas-wrap{min-height:0}.viewer-bottom{background:var(--paper);padding:12px 24px;display:flex;align-items:center;gap:12px;border-top:1px solid var(--line);font-size:11px;color:#52647a;line-height:1.5}.legend{display:flex;gap:14px;flex-wrap:wrap}.legend span{white-space:nowrap}.seat-detail{width:290px;background:var(--paper);padding:24px;border-left:1px solid var(--line);overflow:auto}.seat-detail .detail-head{display:flex;align-items:center;justify-content:space-between}.seat-detail .seat-badge{font-size:11px;letter-spacing:2px;color:#52647a}.seat-detail h2{font-size:28px;margin:12px 0 8px}.seat-detail .instrument-title{color:var(--teal);font-weight:600;font-size:17px;margin-bottom:20px}.seat-detail dl{font-size:12px;line-height:1.8}.seat-detail dt{color:#52647a;margin-top:16px}.seat-detail dd{margin:4px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}.no-results{position:absolute;left:50%;top:60px;transform:translateX(-50%);background:white;border:1px solid var(--line);border-radius:10px;padding:10px 14px;font-size:12px;pointer-events:none;z-index:2}.loading{padding:80px;text-align:center;color:#52647a}#toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);background:#243b58;color:white;padding:13px 22px;border-radius:10px;opacity:0;pointer-events:none;transition:.2s;z-index:100;max-width:min(90vw,600px);font-size:13px}#toast.visible{opacity:1;transform:translate(-50%,0)}dialog{border:1px solid #dce5f0;border-radius:18px;padding:28px;max-width:620px;width:calc(100vw - 32px);background:var(--paper);color:var(--ink);box-shadow:0 25px 100px #243b5835}dialog::backdrop{background:#243b5865;backdrop-filter:blur(3px)}.modal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.modal-body{font-size:13px;line-height:1.9}.modal-body p{margin:12px 0}.modal-body .actions{margin-top:20px;justify-content:flex-end}.modal-body .linkbox{font-size:12px;margin:12px 0}.page-preview{max-height:240px;max-width:100%;display:block;margin:12px auto;border:1px solid var(--line);background:white}.kbd{font-size:10px;color:#52647a;background:#f0f5fc;border:1px solid #dce5f0;padding:1px 4px;border-radius:4px}.mobile-props{display:none}.read-error{padding:80px 24px;text-align:center}.read-error h1{font-size:23px;margin-bottom:15px}.read-error p{color:#52647a;line-height:1.8}.row-btns{display:flex;gap:6px;flex-wrap:wrap}.help-text{font-size:12px;line-height:1.9;color:#52647a}.error{color:#b14f3a}
@media(min-width:1600px){.editor{grid-template-columns:260px minmax(0,1fr) 290px}.side{padding:24px}}
@media(max-width:1100px){.topbar{padding:0 18px;gap:14px}.editor{grid-template-columns:200px minmax(0,1fr) 230px}.side{padding:18px 12px}.toolgrid button{padding:10px 6px;gap:4px}.toolbar{padding:10px}.topbar .brand small{display:none}.toolbar .right-tools{margin-left:0}.save-state{display:none}}
@media(max-width:850px){.editor{grid-template-columns:180px minmax(0,1fr)}.side.right{position:fixed;right:0;top:105px;bottom:0;z-index:5;width:280px;box-shadow:-10px 0 40px #243b5820;display:none}.side.right.open{display:block}.mobile-props{display:inline-flex}.top-title{max-width:260px}.topbar{gap:10px}.topbar .brand b{font-size:15px}.viewer-main .seat-detail{position:absolute;right:14px;top:16px;bottom:16px;border:1px solid var(--line);border-radius:14px;box-shadow:0 8px 36px #243b5818;width:270px}.project-grid{grid-template-columns:repeat(2,1fr)}.viewer-bottom{padding:10px 16px}.viewer-bottom .warning-short{display:none}}
@media(max-width:600px){.topbar{height:68px;padding:0 14px;gap:10px}.topbar .brand small{display:none}.topbar .brand b{display:none}.brand-mark{width:32px;height:32px}.top-title{font-size:12px;max-width:none;flex:1}.topbar .tag{display:none}.topbar .actions{gap:5px}.topbar button{font-size:12px;padding:8px 10px}.local-ribbon{padding:7px 14px;font-size:10px}.editor{height:calc(100dvh - 97px);grid-template-columns:1fr;min-height:650px;grid-template-rows:auto minmax(380px,1fr)}.side.left{padding:10px;overflow-x:auto;display:flex;gap:12px;border-right:0;border-bottom:1px solid var(--line)}.side.left .section{border:0;padding:0;margin:0;flex-shrink:0}.side.left .section-head,.side.left .help,.side.left .eyebrow{display:none}.side.left .toolgrid{display:flex;gap:6px}.side.left .toolgrid button{width:60px;flex-direction:column;font-size:10px;gap:3px;padding:8px 4px}.side.left .background-section{display:none}.side.left .batch-launch{padding:9px;min-width:60px;height:65px;margin:0;font-size:11px}.side.left .backup-section{display:none}.toolbar{min-height:54px;padding:8px;gap:4px}.toolbar button{font-size:11px;padding:7px}.toolbar .right-tools{margin-left:auto}.toolbar .divider{margin:0 2px}.toolbar .hide-phone{display:none}.side.right{top:97px}.stage-footer{font-size:10px;padding:10px 12px;gap:8px}.stage-footer .edit-hint{display:none}.zoom-controls{right:12px;bottom:12px}.canvas-label{top:12px;left:12px;font-size:10px}.home{padding:30px 18px}.welcome{display:block}.welcome h1{font-size:25px}.home-actions{margin-top:22px}.project-grid{grid-template-columns:1fr}.login{margin:24px 16px;padding:24px}.login h1{font-size:25px}.login-buttons{grid-template-columns:1fr}.viewer{height:calc(100dvh - 68px)}.viewer-tools{padding:12px;gap:10px;flex-wrap:wrap}.searchbox{max-width:none;flex-basis:100%}.viewer-stats{font-size:11px;flex:1}.viewer-tools .hint{font-size:11px}.viewer-main .seat-detail{top:auto;left:10px;right:10px;bottom:10px;max-height:48%;width:auto;border-radius:16px;padding:18px 22px}.seat-detail h2{font-size:22px;margin:8px 0}.seat-detail .instrument-title{font-size:15px;margin:0}.seat-detail dl{display:grid;grid-template-columns:70px 1fr;gap:6px;margin-bottom:0}.seat-detail dt,.seat-detail dd{margin:0}.seat-detail .detail-head .seat-badge{font-size:10px}.viewer-bottom{font-size:10px;padding:9px 12px}.viewer-bottom .legend{gap:9px}.viewer-bottom .read-only-label{margin-left:auto;white-space:nowrap}.viewer .canvas-label{font-size:10px}.viewer .zoom-controls{bottom:14px}.viewer.detail-open .zoom-controls{top:12px;bottom:auto}.viewer.detail-open .canvas-label{display:none}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}

.scale-card{background:#f0f5fc;border:1px solid #8193aa;border-radius:10px;padding:12px;margin-top:14px;font-size:12px;line-height:1.7}.scale-card p{margin:8px 0}.scale-card b{font-size:12px}.calibration-banner{position:absolute;z-index:4;top:42px;left:12px;right:12px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 16px;background:#fff8eb;border:1px solid #dbb87c;border-radius:10px;color:#754b1e;font-size:13px;box-shadow:0 4px 18px #694e1510}.calibration-banner small{display:block;font-size:11px;margin-top:3px}.calibration-banner button{flex-shrink:0}.calibrating{cursor:crosshair!important}.scale-ruler{position:absolute;bottom:18px;left:18px;pointer-events:none;color:#243b58;background:#fffefae8;padding:7px 10px;border-radius:7px;font-size:11px;line-height:1.5}.scale-ruler i{display:block;height:7px;border:1.5px solid #243b58;border-top:0;margin:2px 0 4px}.scale-ruler small{font-size:9px;color:#52647a}.hidden{display:none!important}
@media(max-width:600px){.scale-ruler{bottom:64px;left:12px}.calibration-banner{font-size:12px;padding:10px;top:34px}.viewer.detail-open .scale-ruler{display:none}}
/* Touch and desktop share selection, shape handles, and editing controls. */
button{touch-action:manipulation}.wizard-steps{display:flex;list-style:none;padding:0;gap:8px;margin:0 0 20px}.wizard-steps li{flex:1;background:#f0f5fc;padding:10px;border-radius:8px;text-align:center;color:#52647a;font-size:12px}.wizard-steps .current{background:#243b58;color:white}.source-card{padding:30px;background:#f0f5fc;border:1px dashed #52647a;border-radius:12px;margin:15px 0}.part-input{display:grid;grid-template-columns:minmax(110px,1fr) 70px 65px 110px 38px;gap:8px;align-items:end;padding:12px 0;border-bottom:1px solid var(--line)}.part-input button{padding:8px}.segmented{display:flex;gap:10px;margin-bottom:14px}.segmented button{flex:1}.add-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.add-grid button{display:flex;align-items:center;flex-direction:column;gap:8px;padding:16px 8px}.parts-list{display:grid;gap:8px}.parts-list button{display:flex;justify-content:space-between;gap:12px;padding:14px;text-align:left}.parts-list span{font-size:12px;color:#52647a}.selection-actions{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0;padding:12px;background:#f0f5fc;border-radius:10px}.selection-actions strong{width:100%}.selection-actions button{font-size:12px}.locked .symbol-shape{stroke-dasharray:3 2}.touch-dock,.mobile-save{display:none}.save-alert{background:#fff0d6;color:#794916;display:flex;gap:10px;align-items:center;padding:8px 16px;font-size:12px}.save-alert button{flex-shrink:0}.save-alert:not(.hidden)~.editor{height:calc(100dvh - 165px)}#wizard-preview svg{width:100%;max-height:230px;border:1px solid var(--line);border-radius:10px}#wizard-preview p{margin:8px 0}.stage-svg [data-handle]{cursor:grab;touch-action:none}.stage-svg [data-handle]:focus circle{stroke:#c87824;stroke-width:4}.precision-view{position:absolute;right:14px;top:120px;width:180px;background:#fffefa;border:1px solid #8193aa;border-radius:14px;box-shadow:0 8px 28px #243b5822;padding:10px;z-index:4}.precision-view svg{width:100%;height:140px;border-radius:9px}.precision-view small{display:block;font-size:10px;margin-top:6px}.precision-arrows{display:flex;gap:3px}.precision-arrows button{padding:8px;flex:1}.quick-start{display:grid;gap:6px}dialog{max-height:90dvh;overflow:auto}.touch-dock button{min-height:44px}.side.right.open{scrollbar-gutter:stable}
@media(max-width:850px){.side.right{top:auto;bottom:0;left:0;right:0;width:100%;max-height:48dvh;border-radius:20px 20px 0 0;box-shadow:0 -12px 40px #243b5820;padding:18px 20px;z-index:8}.side.right .section-head{position:sticky;top:-18px;background:var(--paper);padding:10px 0;z-index:1}.mobile-save{display:inline;margin-left:auto}.local-ribbon{display:flex;align-items:center;gap:10px}.touch-dock{display:flex;gap:7px;justify-content:space-around;background:var(--paper);padding:8px 10px max(8px,env(safe-area-inset-bottom));border-top:1px solid var(--line)}.touch-dock button{flex:1;padding:9px 5px;font-size:12px}.stage-footer{padding:6px 12px}.stage-footer .edit-hint{display:none}.toolbar{gap:5px}.toolbar #select-mode,.toolbar #pan-mode,.toolbar #duplicate,.toolbar #delete,.toolbar #lock-selection{display:none}.toolbar .right-tools{margin-left:auto}.calibration-banner{flex-wrap:wrap;padding:10px}.calibration-banner div{flex:1;min-width:160px}.calibration-banner button{min-height:44px}.precision-view{width:154px;top:145px}.precision-view svg{height:110px}}
@media(max-width:600px){.editor{min-height:0;height:calc(100dvh - 97px);display:flex;flex-direction:column}.editor>.side.left{display:none}.editor>.stage-area{flex:1;min-height:0}.canvas-wrap{min-height:180px}.toolbar{min-height:54px;flex-wrap:nowrap}.toolbar #unit-mode{white-space:nowrap}.toolbar .divider{display:none}.stage-footer{font-size:9px;gap:5px}.stage-footer #scale-status{max-width:75%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topbar .actions #preview{display:none}.topbar .top-title{font-size:12px}.topbar .actions button{min-height:42px}.save-state{display:none}.mobile-save{display:inline!important}.save-alert:not(.hidden)~.editor{height:calc(100dvh - 165px)}.part-input{grid-template-columns:1fr 1fr 1fr;gap:8px}.part-input label:first-child{grid-column:1/3}.part-input label:nth-child(4){grid-column:1/3}.part-input button{grid-column:3}.modal-body input,.modal-body select,.modal-body textarea,.side.right input,.side.right select,.side.right textarea{font-size:16px;min-height:44px}dialog{padding:20px 18px;max-height:91dvh}.wizard-steps li{padding:8px 4px}.stage-svg{touch-action:none}.canvas-label{font-size:9px;padding:5px 8px}.precision-view{top:135px;right:8px}.zoom-controls{bottom:10px}.scale-ruler{bottom:62px}.home-actions{display:grid;grid-template-columns:1fr;width:100%}.home-actions button{padding:15px}.save-alert{font-size:11px;padding:7px;max-height:68px}.save-alert span{overflow:auto}}

.placement-banner{position:absolute;top:42px;left:12px;right:12px;z-index:4;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 12px;border:1px solid #8193aa;border-radius:12px;background:#f0f5fc;color:#243b58;font-size:13px;box-shadow:0 2px 8px #243b5810}.placement-banner button{min-height:44px;white-space:nowrap}.placement-banner.hidden{display:none}

/* Editing guides never appear in the read-only stage. */
.area-guide{--guide:#52647a;opacity:.38}.area-guide.active{opacity:.75}.area-guide.free{--guide:#a68b62}.area-guide .guide-boundary>*{fill:var(--guide);fill-opacity:.045;stroke:var(--guide);stroke-width:1;stroke-dasharray:5 6;vector-effect:non-scaling-stroke}.area-guide .guide-line,.area-guide .guide-center{fill:none;stroke:var(--guide);stroke-width:1;vector-effect:non-scaling-stroke}.area-guide .guide-center{stroke-dasharray:2 3}.area-guide text{fill:var(--guide);font-size:16px;stroke:#fffefa;stroke-width:3px;paint-order:stroke}.area-toolbar{position:absolute;top:56px;left:14px;right:14px;z-index:3;display:flex;align-items:center;gap:8px;max-width:460px;padding:8px 12px;background:#fffffff0;border:1px solid #dce5f0;border-radius:12px;box-shadow:0 3px 12px #243b5808}.area-toolbar>span{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.area-toolbar button{padding:8px 12px;min-height:42px}.area-toolbar label{display:flex;align-items:center;gap:12px;width:100%;font-size:12px}.area-toolbar select{flex:1;margin:0;min-width:0;min-height:42px}.area-create{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:18px 0}.area-create button{display:flex;flex-direction:column;align-items:center;gap:6px;min-height:80px;padding:12px 4px}.area-create b{font-size:24px;color:var(--green,#243b58)}.area-options{display:grid;gap:10px;margin:18px 0}.area-options label{display:flex;align-items:center;gap:8px}.area-options input{width:20px;height:20px;margin:0}.area-toolbar.hidden{display:none}
@media(max-width:850px){#areas-open{padding:8px;font-size:12px}.toolbar{gap:4px}.area-toolbar{left:10px;right:10px}}
.toolgrid{grid-template-columns:repeat(2,minmax(0,1fr))}.toolgrid button{min-width:0;gap:5px;padding:12px 6px}.toolgrid button span:last-child{white-space:normal}.toolgrid .symbol{flex-shrink:0;width:24px}.toolgrid button[data-place="chair-set"]{grid-column:1/-1}.toolgrid button[data-place="chair-set"] .symbol{width:36px}.left .section-head{flex-wrap:wrap;gap:6px}
.guide-switch{display:flex;align-items:center;gap:10px;padding:12px;background:#f0f5fc;border-radius:10px}.guide-switch input{width:22px;height:22px;margin:0}.area-guide.arc .guide-boundary path{fill:none}#guide-workflow{max-width:620px}#guide-workflow>span{white-space:normal;line-height:1.5}.area-create button{font-size:12px}

#area-toolbar{flex-wrap:wrap}.guide-gap-control{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;border-top:1px solid #dce5f0;padding-top:8px}.guide-gap-control button{min-width:44px;min-height:44px;font-size:22px;padding:4px 12px}.guide-gap-control span{text-align:center;font-size:12px}.guide-gap-control b{font-variant-numeric:tabular-nums;font-size:15px}.guide-gap-control small{display:block;color:#52647a;font-size:10px;margin-top:3px}.stand-symbol{stroke-linecap:round}
