.ro-spm{--ro-accent:#2563eb;--ro-accent2:#14b8a6;--spm-bg:#f5f8fc;--spm-card:#fff;--spm-text:#172033;--spm-muted:#65728a;--spm-line:#e2e8f0;--spm-seat:#eef4ff;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--spm-text);background:var(--spm-bg);border:1px solid var(--spm-line);border-radius:20px;padding:22px;max-width:100%;box-sizing:border-box;min-height:650px;line-height:1.45}.ro-spm *{box-sizing:border-box}.ro-spm.spm-dark{--spm-bg:#101827;--spm-card:#182235;--spm-text:#f1f5f9;--spm-muted:#aab7ca;--spm-line:#334155;--spm-seat:#26364d}.ro-spm-head{display:flex;align-items:center;gap:13px;margin-bottom:20px}.ro-spm-mark{width:48px;height:48px;display:grid;place-items:center;flex-shrink:0;border-radius:15px;background:linear-gradient(135deg,var(--ro-accent),var(--ro-accent2));color:#fff;font-weight:850;letter-spacing:-1px}.ro-spm-heading{flex:1;min-width:0}.ro-spm h2,.ro-spm h3,.ro-spm p{margin:0}.ro-spm h2{font-size:clamp(21px,2.4vw,29px);font-weight:800;letter-spacing:-.7px;color:var(--spm-text)}.ro-spm-head p,.spm-canvas-top p{color:var(--spm-muted);font-size:13px;margin-top:3px}.ro-spm button,.ro-spm select,.ro-spm input{font:inherit}.ro-spm button{border:1px solid var(--spm-line);background:var(--spm-card);color:var(--spm-text);border-radius:10px;padding:9px 12px;font-weight:650;font-size:13px;cursor:pointer;transition:background .15s,border-color .15s,transform .15s}.ro-spm button:hover{border-color:var(--ro-accent);background:color-mix(in srgb,var(--ro-accent) 12%,var(--spm-card));color:var(--spm-text)}.ro-spm button:focus-visible,.ro-spm input:focus-visible,.ro-spm select:focus-visible{outline:2px solid var(--ro-accent);outline-offset:2px}.ro-spm .spm-primary{background:var(--ro-accent);color:#fff;border-color:var(--ro-accent)}.ro-spm .spm-primary:hover{background:var(--ro-accent2);border-color:var(--ro-accent2);color:#fff}.ro-spm-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:16px}.ro-spm-stats>div{background:var(--spm-card);border:1px solid var(--spm-line);border-radius:13px;padding:13px 15px;display:flex;flex-direction:column;gap:2px}.ro-spm-stats b{font-size:23px;line-height:1.2;color:var(--ro-accent)}.ro-spm-stats span{font-size:12px;color:var(--spm-muted)}.ro-spm-toolbar{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}.ro-spm-workspace{display:grid;grid-template-columns:minmax(220px,270px) minmax(0,1fr);gap:15px;align-items:stretch}.ro-spm-sidebar,.ro-spm-canvas-wrap{border:1px solid var(--spm-line);border-radius:15px;background:var(--spm-card);min-width:0}.ro-spm-sidebar{padding:15px}.spm-panel-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.ro-spm h3{font-size:15px;font-weight:800;color:var(--spm-text)}.spm-guest-count{font-size:11px;border-radius:20px;padding:3px 8px;background:color-mix(in srgb,var(--ro-accent) 12%,var(--spm-card));color:var(--ro-accent);font-weight:750}.ro-spm .spm-search{width:100%;border:1px solid var(--spm-line);border-radius:9px;background:var(--spm-bg);color:var(--spm-text);padding:10px;font-size:13px}.spm-hint{font-size:11px!important;color:var(--spm-muted);margin:9px 0 12px!important}.spm-guest-list{display:flex;flex-direction:column;gap:7px;max-height:480px;overflow:auto}.spm-guest{display:flex;align-items:center;gap:8px;padding:9px;border:1px solid var(--spm-line);border-radius:10px;background:var(--spm-bg);cursor:grab;font-size:12px;min-width:0}.spm-guest:active{cursor:grabbing}.spm-guest-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;font-weight:650}.spm-guest-meta{font-size:10px;color:var(--spm-muted)}.spm-guest-assigned{opacity:.48}.spm-avatar{width:28px;height:28px;border-radius:9px;display:grid;place-items:center;flex-shrink:0;background:color-mix(in srgb,var(--ro-accent2) 20%,var(--spm-card));color:var(--spm-text);font-size:10px;font-weight:800}.spm-empty{font-size:12px;color:var(--spm-muted);padding:18px 5px;text-align:center}.spm-empty[hidden]{display:none}.ro-spm-canvas-wrap{padding:15px;overflow:hidden}.spm-canvas-top{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:15px}.spm-layout-controls{display:flex;gap:8px;flex-wrap:wrap}.spm-layout-controls label{font-size:11px;color:var(--spm-muted);display:flex;align-items:center;gap:5px}.ro-spm select{background:var(--spm-bg);color:var(--spm-text);border:1px solid var(--spm-line);border-radius:8px;padding:7px 25px 7px 8px;font-size:12px;max-width:150px}.spm-room-label{text-align:center;font-size:10px;letter-spacing:2px;color:var(--spm-muted);margin-bottom:8px}.spm-canvas{position:relative;min-height:490px;border:1px dashed var(--spm-line);border-radius:13px;overflow:auto;background-color:var(--spm-bg);background-image:radial-gradient(var(--spm-line) 1px,transparent 1px);background-size:19px 19px;padding:55px 20px 25px;isolation:isolate}.spm-stage{position:absolute;top:12px;left:50%;transform:translateX(-50%);padding:6px 32px;border:1px solid var(--spm-line);border-radius:8px;background:var(--spm-card);font-size:10px;letter-spacing:1.3px;color:var(--spm-muted);white-space:nowrap}.spm-tables{display:flex;flex-wrap:wrap;justify-content:center;align-content:flex-start;gap:34px 25px;min-height:400px}.spm-table{position:relative;width:190px;min-height:150px;display:flex;align-items:center;justify-content:center;cursor:move;touch-action:pan-y;user-select:none}.spm-table.spm-dragging{opacity:.55}.spm-table-core{width:112px;height:82px;position:absolute;display:flex;align-items:center;justify-content:center;text-align:center;padding:8px;background:linear-gradient(145deg,color-mix(in srgb,var(--ro-accent) 15%,var(--spm-card)),var(--spm-card));border:2px solid color-mix(in srgb,var(--ro-accent) 40%,var(--spm-line));border-radius:50%;font-size:12px;font-weight:800;z-index:1;pointer-events:none}.spm-table-rectangle .spm-table-core{width:125px;height:62px;border-radius:12px}.spm-table-classroom .spm-table-core{width:125px;height:60px;border-radius:5px}.spm-seat{position:absolute;width:52px;min-height:33px;border:1px solid var(--spm-line);border-radius:9px;background:var(--spm-seat);color:var(--spm-text);display:flex;align-items:center;justify-content:center;text-align:center;padding:4px;font-size:9px;line-height:1.15;cursor:pointer;z-index:2;overflow:hidden;overflow-wrap:anywhere}.spm-seat.spm-filled{background:color-mix(in srgb,var(--ro-accent2) 19%,var(--spm-card));border-color:var(--ro-accent2);font-weight:750}.spm-seat.spm-drop-target{outline:2px solid var(--ro-accent);outline-offset:2px}.spm-table-label{position:absolute;bottom:-2px;left:50%;transform:translateX(-50%);white-space:nowrap;font-size:10px;color:var(--spm-muted);font-weight:700;cursor:text}.spm-table-tools{position:absolute;top:-4px;right:0;display:flex;gap:3px;z-index:4}.ro-spm .spm-table-tools button{padding:3px 6px;font-size:10px;border-radius:6px}.spm-canvas-footer{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;color:var(--spm-muted);font-size:11px;margin-top:12px}.spm-bottom-guide{border-top:1px solid var(--spm-line);margin-top:18px;padding-top:13px;color:var(--spm-muted);font-size:12px}.spm-credit{text-align:center;font-size:11px;color:var(--spm-muted);margin-top:8px}.spm-credit a{color:var(--ro-accent);text-decoration:none}.spm-credit a:hover{text-decoration:underline}.spm-toast{position:sticky;bottom:12px;margin:10px auto 0;width:max-content;max-width:100%;padding:8px 14px;border-radius:9px;background:var(--spm-text);color:var(--spm-card);font-size:12px;opacity:0;pointer-events:none;transition:opacity .2s;z-index:20}.spm-toast.spm-show{opacity:1}.ro-spm.spm-printing{background:#fff!important;color:#111!important}.ro-spm.spm-printing .ro-spm-toolbar,.ro-spm.spm-printing .ro-spm-sidebar,.ro-spm.spm-printing .ro-spm-head .spm-theme,.ro-spm.spm-printing .spm-table-tools,.ro-spm.spm-printing .spm-canvas-footer,.ro-spm.spm-printing .spm-layout-controls,.ro-spm.spm-printing .spm-bottom-guide,.ro-spm.spm-printing .spm-credit{display:none!important}@media(max-width:800px){.ro-spm{padding:13px}.ro-spm-workspace{grid-template-columns:1fr}.spm-guest-list{max-height:220px}.spm-canvas{min-height:420px}.spm-tables{gap:28px 10px}.spm-table{transform:scale(.92);margin:-6px}.ro-spm-stats{gap:7px}.ro-spm-stats>div{padding:10px}.ro-spm-stats b{font-size:19px}}@media(max-width:480px){.ro-spm-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.ro-spm-head{flex-wrap:wrap}.ro-spm-theme{margin-left:auto}.ro-spm-toolbar button{flex:1 1 auto}.spm-canvas-top{align-items:flex-start}.spm-layout-controls{width:100%}.spm-canvas{padding-left:8px;padding-right:8px}.spm-table{transform:scale(.84);margin:-12px -7px}.spm-tables{gap:20px 0}}
@media print{body *{visibility:hidden!important}.ro-spm,.ro-spm *{visibility:visible!important}.ro-spm{position:absolute;left:0;top:0;width:100%;border:0!important;border-radius:0!important;padding:0!important;background:#fff!important;color:#111!important;min-height:0!important}.ro-spm-head{margin-bottom:10px}.ro-spm h2,.ro-spm h3,.ro-spm p{color:#111!important}.ro-spm-stats{display:none!important}.ro-spm-toolbar,.ro-spm-sidebar,.spm-layout-controls,.spm-canvas-footer,.spm-bottom-guide,.spm-credit,.spm-table-tools,.spm-toast{display:none!important}.ro-spm-workspace{display:block!important}.ro-spm-canvas-wrap{border:0!important;padding:0!important}.spm-canvas{background:#fff!important;background-image:none!important;border:1px solid #bbb!important;overflow:visible!important;min-height:550px!important;padding-top:55px!important}.spm-table-core{background:#f4f7fb!important;color:#111!important;border-color:#667085!important}.spm-seat{background:#fff!important;color:#111!important;border-color:#aaa!important}.spm-seat.spm-filled{background:#e7f8f2!important}.spm-stage{background:#fff!important;color:#111!important}.spm-table-label{color:#111!important}}
