:root{--ink:#193a43;--muted:#73807d;--paper:#fff;--bg:#f4f6f2;--line:#e2e7e0;--yellow:#f5cf58;--mint:#c4e3d3;--radius:12px;font-family:ui-rounded,'Avenir Next','Segoe UI',sans-serif;color:var(--ink);font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:var(--bg);font-size:14px}button,input,textarea,select{font:inherit;color:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.4}button,select,input,textarea{outline-offset:4px}button:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:3px solid #397b9c}.hidden{display:none!important}.app-header{height:92px;background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:18px;padding:0 26px}.brand{display:flex;align-items:center;gap:13px}.brand-mark{width:40px;height:40px;display:grid;grid-template-columns:repeat(2,1fr);gap:4px;background:var(--ink);border-radius:11px;padding:8px;transform:rotate(-5deg)}.brand-mark i{border-radius:2px;background:var(--yellow)}.brand-mark i:nth-child(2){background:#c4e3d3}.brand-mark i:nth-child(3){background:#f0ae8e}.brand-text{font-weight:850;font-size:14px;letter-spacing:1.6px;white-space:nowrap}.brand-text span{display:block;font-size:8px;letter-spacing:1.4px;margin-top:4px;font-weight:650;color:#73807d}.header-divider{height:31px;width:1px;background:var(--line);margin:0 9px}h1{font-size:23px;letter-spacing:-.8px;font-weight:750;white-space:nowrap;margin:0}h1>span{position:relative;z-index:0}h1>span:after{content:'';position:absolute;bottom:0;left:0;right:0;height:7px;background:var(--yellow);z-index:-1;border-radius:3px}.header-actions{display:flex;align-items:center;gap:9px}.button{border:1px solid transparent;border-radius:9px;padding:10px 14px;font-weight:700;font-size:12px;display:inline-flex;gap:8px;align-items:center;justify-content:center;min-height:39px;transition:background .15s,transform .15s}.button:hover:not(:disabled){transform:translateY(-1px)}.button.dark{background:var(--ink);color:#fff}.button.dark:hover{background:#2b5058}.button.subtle{border-color:var(--line);background:white}.button.subtle:hover{background:#f4f6f2}.button.full{width:100%;justify-content:space-between}.icon{width:17px;height:17px;display:inline-block;vertical-align:middle;flex-shrink:0;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.icon-button{border:0;background:transparent;width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;flex-shrink:0}.icon-button:hover:not(:disabled){background:#edf1eb}.privacy-badge{display:flex;align-items:center;gap:6px;font-size:11px;font-weight:600;border:0;background:#edf5ef;padding:9px 11px;border-radius:25px;margin-right:7px;color:#477159}.privacy-badge .icon{width:15px;height:15px}.app-layout{height:calc(100dvh - 92px);min-height:640px;display:grid;grid-template-columns:300px 1fr}.sidebar{background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;min-height:0}.sidebar-heading{padding:28px 24px 20px}.eyebrow{font-size:9px;letter-spacing:1.7px;color:var(--muted);font-weight:750}h2{font-size:22px;letter-spacing:-.6px;margin:8px 0 0;font-weight:750}.tabs{display:flex;margin:0 18px;padding:0 0 3px;border-bottom:1px solid var(--line);gap:1px}.tabs button{border:0;background:transparent;padding:11px 9px 13px;font-size:12px;font-weight:700;color:#7b8985;position:relative;white-space:nowrap}.tabs button.active{color:var(--ink)}.tabs button.active:after{content:'';position:absolute;height:3px;background:var(--ink);border-radius:2px;bottom:-4px;left:8px;right:8px}.tab-count{background:#eaf0e9;border-radius:4px;padding:1px 4px;font-size:9px;margin-left:2px}.sidebar-content{overflow-y:auto;padding:25px 24px 15px;flex:1;scrollbar-width:thin}.section-title{display:flex;align-items:center;justify-content:space-between}h3{font-size:15px;letter-spacing:-.2px;margin:0;font-weight:750}.muted{color:var(--muted);font-size:12px;line-height:1.7;margin:10px 0 22px}.small{font-size:10.5px;line-height:1.65}.setting{display:flex;align-items:center;justify-content:space-between;margin:17px 0 21px;font-size:12px;font-weight:650;gap:6px}.stepper{display:flex;height:35px;border:1px solid var(--line);border-radius:8px;overflow:hidden;background:#fff}.stepper button{border:0;background:transparent;width:29px;font-size:18px}.stepper button:hover{background:#eff3ed}.stepper input{font-size:12px;width:33px;text-align:center;border:0;background:transparent;font-weight:750;appearance:textfield;-moz-appearance:textfield}.stepper input::-webkit-inner-spin-button{appearance:none}.field-label{font-size:11px;font-weight:700;display:block;margin:15px 0 9px}.shape-choices{display:flex;gap:10px}.shape-choice{flex:1;display:flex;flex-direction:column;align-items:center;gap:10px;padding:14px 5px 12px;background:white;border:1px solid var(--line);border-radius:9px;font-size:11px;font-weight:650}.shape-choice.active{background:#f0f6f0;border:1.5px solid #749d89}.shape-picture{display:flex;gap:2px;height:37px;align-items:center;justify-content:center;width:100%}.shape-picture i{width:25px;height:12px;border:1px solid #779a88;background:#d1e5d8;border-radius:2px;position:relative}.shape-picture i:after{content:'';height:100%;width:1px;background:#9cb8a6;position:absolute;left:50%;top:0}.shape-picture.block{flex-direction:column;gap:1px}.shape-picture.block i{height:11px}.shape-picture.row i{width:23px;height:23px}.capacity-note{display:flex;align-items:center;gap:8px;padding:16px 0;font-size:11px;color:var(--muted)}.capacity-note strong{color:var(--ink)}.capacity-note .icon{width:16px}.sidebar-callout{display:flex;gap:11px;padding:16px 14px;background:#faf7ed;border:1px solid #f1eacf;border-radius:10px;margin-top:24px}.callout-number{font-size:10px;border:1px solid #d9c786;border-radius:50%;width:23px;height:23px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.sidebar-callout strong{font-size:11px}.sidebar-callout p{font-size:10.5px;color:#8c8368;line-height:1.6;margin:6px 0 9px}.text-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:0;background:transparent;padding:2px 0;font-size:11px;font-weight:700}.text-button .icon{width:14px;height:14px}.text-button:hover{text-decoration:underline}.sidebar-footer{display:flex;gap:6px;align-items:center;font-size:9px;color:#8c9790;padding:16px 22px;border-top:1px solid var(--line)}.sidebar-footer .icon{width:12px;height:12px}.local-note{display:flex;gap:8px;background:#eff5ed;padding:11px;border-radius:8px;margin:12px 0 15px;font-size:10.5px;line-height:1.6;color:#617666}.local-note .icon{width:16px;margin-top:3px}.local-note p{margin:0}.local-note strong{color:#3c6250;display:block}.upload-button{width:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;padding:16px;border:1px dashed #bfcfc0;background:#fbfcf9;border-radius:9px}.upload-button:hover{background:#eff5ed}.upload-button .icon{width:21px;height:21px;color:#6b8e77}.upload-button strong{font-size:12px}.upload-button small{font-size:9px;color:var(--muted)}textarea{width:100%;resize:vertical;min-height:130px;max-height:300px;border:1px solid var(--line);border-radius:8px;padding:11px;font-size:12px;line-height:1.6;background:#fff}textarea::placeholder{color:#a0aaa3}.input-foot{font-size:9px;color:var(--muted);display:flex;justify-content:space-between;margin:6px 0 16px}select{width:100%;padding:11px 30px 11px 10px;border:1px solid var(--line);border-radius:8px;background:#fff;font-size:12px}.checkbox-row{font-size:10px;display:flex;gap:6px;align-items:center;margin:11px 0}.csv-picker{background:#f4f6f1;padding:0 12px 12px;border-radius:8px;overflow:hidden;margin-top:14px}.danger{color:#a7514b}.rule-add{margin-top:18px}.rules-list{margin:22px 0}.rule-row{display:flex;gap:8px;align-items:center;justify-content:space-between;padding:11px 10px;border:1px solid var(--line);border-radius:8px;margin-bottom:8px;font-size:11px;background:#fafbf8}.rule-row .pair{display:flex;align-items:center;flex-wrap:wrap;gap:6px;line-height:1.6}.rule-row .pair .icon{width:13px;color:#a48b73}.rule-row .icon-button{width:23px;height:23px}.rule-row.conflicted{border-color:#d9aa96;background:#fff5ee}.empty-rules{padding:28px 10px;text-align:center;border:1px dashed var(--line);border-radius:9px}.empty-rules .icon{width:26px;height:26px;color:#b0beb1;margin-bottom:8px}.empty-rules p{margin:3px 0;font-size:11px;color:var(--muted);line-height:1.6}.tip-note{display:flex;gap:8px;color:var(--muted);font-size:10px;line-height:1.7;margin-top:20px}.tip-note .icon{width:15px;flex-shrink:0;margin-top:3px}.tip-note p{margin:0}.inspector{margin-top:25px;padding-top:22px;border-top:1px solid var(--line)}.inspector h3{font-size:13px}.selection-tag{font-size:9px;letter-spacing:1px;text-transform:uppercase;color:var(--muted);display:block;margin-bottom:8px}.inspector input[type=text]{width:100%;border:1px solid var(--line);padding:9px;border-radius:7px;margin:10px 0;font-size:12px;font-weight:650}.rotate-row{display:flex;gap:8px;margin-top:12px}.rotate-row button{flex:1;padding:8px 4px;font-size:11px}.colour-swatches{display:flex;gap:7px;margin-top:13px}.colour-swatches button{width:20px;height:20px;border:1px solid #0001;border-radius:50%;padding:0}.colour-swatches button.selected{outline:2px solid var(--ink);outline-offset:2px}.angle-note{color:var(--muted);font-size:10px;margin:10px 0}.workspace{padding:26px 28px 0;display:flex;flex-direction:column;min-width:0;min-height:0}.workspace-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:23px}.room-title{display:flex;gap:7px;align-items:center}.room-title input{border:0;background:transparent;font-size:23px;font-weight:750;letter-spacing:-.7px;padding:0;max-width:360px;width:185px;min-width:130px}.room-title input:focus{outline:0;border-bottom:1px solid #91a995}.room-title>.icon{width:13px;height:13px;color:#99a39a}.workspace-heading p{margin:7px 0 0;font-size:11px;color:var(--muted)}.plan-actions{display:flex;gap:12px;align-items:center}.shuffle{background:var(--yellow);padding:12px 18px;font-size:12px;color:var(--ink);border-color:#e5bc40}.shuffle:hover{background:#f4c63b}.shuffle .icon{width:19px;height:19px}.canvas-toolbar{display:flex;align-items:center;gap:15px;margin-bottom:15px;min-height:37px}.mode-switch{display:flex;border:1px solid #dce4da;border-radius:9px;background:#e8ede5;padding:3px;gap:2px;flex-shrink:0}.mode-switch button{border:0;border-radius:6px;background:transparent;display:flex;gap:6px;align-items:center;justify-content:center;color:#839184;font-size:11px;font-weight:700;padding:7px 12px}.mode-switch button.active{background:#fff;color:var(--ink);box-shadow:0 1px 4px #193a4312}.mode-switch .icon{width:14px;height:14px}.mode-caption{font-size:10.5px;color:#849086;flex:1;line-height:1.5}.canvas-toolbar>.text-button{color:#7d8b7d;white-space:nowrap;font-size:10px}.room-viewport{position:relative;flex:1;min-height:350px;border:1px solid #dce3d7;border-radius:13px;background:#fbfcf7;overflow:hidden;box-shadow:0 3px 9px #193a4303}#room{width:100%;height:100%;display:block;touch-action:none;user-select:none}#roomLayer .table-group{cursor:pointer}#roomLayer .table-border{fill:transparent;stroke:#9eafa3;stroke-dasharray:7 6;stroke-width:1.5;opacity:0}#roomLayer .table-group.selected .table-border{opacity:.85}#roomLayer .desk-body{stroke:#97b5a5;stroke-width:1.5}#roomLayer .desk-division{stroke:#ffffffb5;stroke-width:1.5}#roomLayer .desk-edge{stroke:#0000000d;stroke-width:3}#roomLayer .seat-hit{fill:transparent;stroke-width:3;stroke:transparent}#roomLayer .seat:hover .seat-hit{fill:#ffffff40}#roomLayer .seat.selected-seat .seat-hit{stroke:#28575d;fill:#ffffff70}#roomLayer .seat.drop-target .seat-hit{stroke:#316e68;fill:#fff9}#roomLayer .pupil-name{font-size:18px;fill:#213e42;font-weight:650;pointer-events:none}#roomLayer .empty-name{font-size:15px;font-weight:400;fill:#46645c;opacity:.48}#roomLayer .chair{fill:#fff;stroke:#adbbb0;stroke-width:1.3}#roomLayer .table-name{font-size:17px;font-weight:750;fill:#4c635b;pointer-events:none}#roomLayer .table-count{font-size:13px;fill:#84948a;pointer-events:none}#roomLayer .table-handle{fill:#fff;stroke:#d4ded3;stroke-width:1}#roomLayer .grip{fill:#a9b9ac}#roomLayer .selected-desk .desk-body{stroke:var(--ink);stroke-width:3}#roomLayer .table-rotate{fill:white;stroke:#92aa98;stroke-width:1;cursor:pointer}#roomLayer .table-rotate-label{font-size:22px;fill:#526f60;pointer-events:none}#roomLayer .conflict-mark{fill:#a34f42;font-size:17px;font-weight:750;pointer-events:none}#room[data-mode=tables] .table-group{cursor:grab}#room[data-mode=desks] .desk-group{cursor:grab}#room[data-mode=pupils] .seat.occupied{cursor:grab}#room.dragging{cursor:grabbing!important}.room-status{position:absolute;left:17px;bottom:17px;display:flex;gap:6px;align-items:center;background:#fffffff0;padding:7px 10px;border:1px solid #e4eae1;border-radius:20px;font-size:10px;color:#6c816e;pointer-events:none}.status-dot{width:6px;height:6px;border-radius:50%;background:#85ae8c}.room-status.warning{color:#a8643e}.room-status.warning .status-dot{background:#cb8e68}.canvas-controls{position:absolute;bottom:15px;right:15px;display:flex;align-items:center;padding:4px;background:#fff;border:1px solid var(--line);border-radius:9px;box-shadow:0 2px 6px #193a4308}.canvas-controls button{height:28px;min-width:29px;border:0;background:transparent;border-radius:5px;font-size:17px;display:flex;align-items:center;justify-content:center}.canvas-controls button:hover{background:#f0f4ed}#fitBtn{font-size:10px;padding:0 8px}.canvas-controls>span{height:17px;width:1px;background:var(--line);margin:0 4px}.canvas-controls .icon{width:14px;height:14px}.unseated-panel{background:#fff;border:1px solid var(--line);border-radius:10px;margin-top:13px;min-height:56px;padding:15px 17px;transition:background .15s,border .15s}.unseated-panel.drop-target{background:#e8f4eb;border:2px dashed #7ca68b}.unseated-heading{display:flex;align-items:center;gap:7px;color:#819080;font-size:10.5px}.unseated-heading>.icon{width:15px;height:15px}.unseated-heading strong{font-weight:650;color:#526a58}.unseated-heading>span:not(.tray-hint):not(:first-child){font-size:9px;min-width:17px;height:17px;border-radius:5px;background:#edf2e9;display:inline-flex;align-items:center;justify-content:center}.tray-hint{margin-left:auto;font-size:10px;color:#a2ada0}.unseated-list{display:flex;gap:7px;flex-wrap:wrap;max-height:105px;overflow-y:auto}.unseated-list:not(:empty){padding-top:13px}.pupil-chip{background:#edf4ec;border:1px solid #d7e3d2;border-radius:7px;padding:7px 12px;font-size:11px;font-weight:650;cursor:grab;touch-action:none}.pupil-chip.selected{outline:2px solid var(--ink)}.workspace-footer{display:flex;justify-content:space-between;padding:15px 0;font-size:9px;color:#a0ab9d;align-items:center}.workspace-footer>span:first-child{display:flex;align-items:center;gap:5px}.keycap{border:1px solid #d9e0d4;border-radius:4px;padding:2px 4px;font-size:8px}.footer-dot{margin:0 6px}.conflict-banner{font-size:11px;padding:11px 14px;background:#fff1e3;border:1px solid #eacfb0;border-radius:8px;margin-bottom:12px;color:#956241}.conflict-banner button{font:inherit;color:inherit;background:transparent;border:0;text-decoration:underline;font-weight:700;cursor:pointer}.toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);max-width:calc(100vw - 40px);padding:13px 20px;border-radius:10px;background:var(--ink);color:white;font-size:12px;box-shadow:0 8px 30px #193a4333;z-index:500;line-height:1.5;pointer-events:none}.toast.error{background:#954e43}.drag-ghost{position:fixed;pointer-events:none;z-index:1000;border-radius:8px;padding:10px 17px;background:#fff9e2;color:var(--ink);border:2px solid var(--ink);box-shadow:0 5px 17px #193a4325;transform:translate(-50%,-50%);font-size:14px;font-weight:700}dialog{border:1px solid var(--line);border-radius:17px;padding:25px;max-width:500px;width:calc(100% - 36px);color:var(--ink);box-shadow:0 20px 90px #193a4325}dialog::backdrop{background:#193a4355;backdrop-filter:blur(3px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.dialog-heading h2{margin:0;font-size:21px}#dialogBody{font-size:13px;line-height:1.8;color:#677c70}#dialogBody p{margin:0 0 14px}#dialogBody strong{color:var(--ink)}.dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:20px}.help-step{display:flex;gap:13px;margin:16px 0}.help-step>span{display:flex;align-items:center;justify-content:center;width:25px;height:25px;flex-shrink:0;border-radius:50%;background:#edf3e8;font-weight:700}.help-step p{margin:0!important}.help-step strong{display:block}#printView{display:none}
@media(min-width:1700px){.app-layout{grid-template-columns:320px 1fr}.sidebar-content{padding:26px 27px}.workspace{padding-left:38px;padding-right:38px}.sidebar-heading{padding-left:27px}.room-title input{font-size:25px}.brand{gap:17px}}
@media(max-width:1300px){.privacy-badge span:last-child{display:none}.privacy-badge{background:transparent;margin:0;padding:7px}.brand-text{display:none}.header-divider{margin:0 5px}.mode-caption{font-size:10px}.canvas-toolbar{gap:10px}.workspace{padding:22px 20px 0}.app-layout{grid-template-columns:280px 1fr}.sidebar-content{padding:22px 20px}.sidebar-heading{padding:24px 20px 18px}.tray-hint{font-size:9px}.room-title input{font-size:22px}}
@media(max-width:1000px){.header-actions .button>span:not([data-icon]){display:none}.header-actions .button{padding:10px}.app-header{padding:0 20px;height:78px}h1{font-size:20px}.app-layout{height:calc(100dvh - 78px);grid-template-columns:260px 1fr}.sidebar-heading h2{font-size:20px}.sidebar-heading .eyebrow{font-size:8px}.mode-caption{display:none}.canvas-toolbar>.text-button{margin-left:auto}.mode-switch button{padding:7px 9px}.tray-hint{display:none}.workspace-footer>span:first-child{display:none}.workspace-footer{justify-content:flex-end}.sidebar-footer{font-size:8px;padding:14px 16px}.tabs{margin:0 12px}.tabs button{padding-left:7px;padding-right:7px;font-size:11px}.room-title input{max-width:200px}.plan-actions{gap:6px}.shuffle{padding:10px 12px}.workspace-heading{align-items:flex-start}.room-title input{width:160px}}
@media(max-width:740px){.app-header{padding:0 15px;height:auto;min-height:78px;flex-wrap:wrap;gap:13px;padding-top:16px;padding-bottom:14px}.header-divider{display:none}.brand{gap:10px}.brand-mark{width:31px;height:31px;border-radius:8px;padding:6px;gap:3px}h1{font-size:18px}.header-actions{margin-left:auto;gap:1px}.header-actions .button{border:0;padding:9px;background:transparent;color:var(--ink);min-height:32px}.header-actions #printBtn{background:var(--ink);color:white}.header-actions .privacy-badge{padding:5px}.header-actions #helpBtn{width:28px}.app-layout{display:flex;flex-direction:column;height:auto;min-height:0}.sidebar{border-right:0;border-bottom:1px solid var(--line)}.sidebar-heading{display:none}.tabs{margin:0 18px;padding-top:5px;justify-content:space-between}.tabs button{font-size:12px;padding:13px 12px}.sidebar-content{max-height:360px;padding:18px 22px}.sidebar-footer{display:none}.tab-panel{max-width:550px;margin:0 auto}.sidebar-callout{margin-top:15px}.section-title .icon{display:none}.muted{margin:7px 0 14px}.setting{display:inline-flex;width:calc(50% - 10px);margin:10px 0;font-size:11px}.setting+.setting{margin-left:14px}.stepper button{width:25px}.stepper input{width:27px}.shape-choices{max-width:260px}.shape-picture{height:25px}.shape-picture.block i{height:7px}.shape-choice{padding:8px;gap:6px}.capacity-note{position:relative;float:right;margin-top:-74px;padding:0}.sidebar-content #panel-setup>.small{margin-bottom:0}.sidebar-callout{padding:11px}.sidebar-callout p{margin:3px 0}.sidebar-callout .callout-number{display:none}.sidebar-callout>div{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.sidebar-callout p{display:none}.sidebar-callout strong{font-size:10px}.sidebar-callout .text-button{font-size:10px}.workspace{padding:20px 14px 0}.workspace-heading{margin-bottom:16px}.canvas-toolbar{gap:5px;margin-bottom:10px}.mode-switch button{font-size:11px;padding:6px 9px}.canvas-toolbar>.text-button{font-size:9px}.room-viewport{height:500px;flex:none;min-height:350px}.workspace-footer{padding:12px 0}.unseated-panel{padding:13px}.room-status{left:10px;bottom:12px;font-size:8px;padding:6px 8px}.canvas-controls{right:10px;bottom:10px}.room-title input{font-size:21px;max-width:190px;width:160px}.inspector{max-width:550px;margin:18px auto 0;padding-top:15px}.inspector .setting{width:100%;margin:10px 0}.inspector .rotate-row{max-width:280px}.inspector input[type=text]{max-width:220px;display:block}.local-note{font-size:10px}.upload-button{padding:12px}.upload-button small{display:none}#panel-class textarea{min-height:90px;height:90px}#panel-rules>.field-label{display:inline-block;width:40%;margin-right:4%}#panel-rules>select{width:55%}.rule-add{margin-top:12px}.rules-list{margin:14px 0}.tip-note{margin-top:10px}.empty-rules{padding:12px}.empty-rules>.icon{display:none}}
@media(max-width:440px){.app-header{gap:8px}.brand{width:100%;justify-content:center}.header-actions{width:100%;justify-content:center;gap:9px}.header-actions .button>span:not([data-icon]){display:inline;font-size:10px}.header-actions .button{padding:7px 8px}.header-actions #helpBtn{margin-right:1px}.room-viewport{height:400px}.setting{display:flex;width:100%;margin:7px 0}.setting+.setting{margin-left:0}.sidebar-content{max-height:320px}.room-title input{font-size:19px;width:150px}.shuffle{font-size:10px;padding:10px}.plan-actions{gap:1px}.shuffle .icon{width:15px}.canvas-toolbar>.text-button{font-size:0}.canvas-toolbar>.text-button .icon{width:16px;height:16px}.mode-switch{flex:1}.mode-switch button{flex:1}.room-status{bottom:52px}.workspace-heading p{font-size:10px}}
@page{size:A4 landscape;margin:10mm}@media print{body{background:white!important}.app-header,.app-layout,dialog,.toast,.drag-ghost{display:none!important}#printView{display:block!important;font-family:'Segoe UI',sans-serif;color:#193a43}.print-header{display:flex;justify-content:space-between;align-items:flex-end;border-bottom:2px solid #193a43;padding-bottom:8px}.print-header h1{font-size:20px;letter-spacing:-.5px}.print-header p{font-size:9px;margin:5px 0 0}.print-header>span{font-size:9px}#printView svg{width:100%;height:158mm;display:block;overflow:visible}#printView .desk-body{stroke:#97b5a5;stroke-width:1.5}#printView .desk-division{stroke:#fff;stroke-width:1.5}#printView .desk-edge{stroke:#0000000d;stroke-width:3}#printView .pupil-name{font-size:18px;font-weight:650;fill:#213e42}#printView .empty-name{font-size:15px;fill:#8b9b92}#printView .chair{fill:white;stroke:#adbbb0;stroke-width:1.3}#printView .table-name{font-size:17px;fill:#4c635b;font-weight:750}#printView .table-count{font-size:13px;fill:#84948a}#printView .table-handle{fill:white;stroke:#d4ded3;stroke-width:1}#printView .grip{display:none}#printView .table-border,#printView .table-rotate,#printView .table-rotate-label,#printView .conflict-mark{display:none}#printView .seat-hit{fill:none;stroke:none}.print-foot{font-size:9px;line-height:1.5;border-top:1px solid #dce3d7;padding-top:8px;display:flex;justify-content:space-between;gap:20px}.print-warning{color:#9a4d37;white-space:pre-line}*{-webkit-print-color-adjust:exact;print-color-adjust:exact}}

/* Individual table settings and modular desk interactions. */
.table-count-setting{display:flex;width:100%;margin:14px 0 18px}.table-list-heading{display:flex;justify-content:space-between;color:var(--muted);font-size:9px;letter-spacing:.35px;padding:0 2px 8px}.table-settings{border-top:1px solid var(--line);border-bottom:1px solid var(--line);max-height:216px;overflow-y:auto;scrollbar-width:thin}.table-setting-row{display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:43px;padding:5px 1px}.table-setting-row+.table-setting-row{border-top:1px solid #edf0eb}.table-setting-row>label{display:flex;align-items:center;gap:7px;font-size:11px;font-weight:700;min-width:0;overflow-wrap:anywhere}.table-colour-dot{height:9px;width:9px;flex-shrink:0;border:1px solid #193a431c;border-radius:3px}.table-setting-row .stepper{height:30px;flex-shrink:0}.table-setting-row .stepper button{width:26px}.table-setting-row .stepper input{width:31px}.build-summary{display:flex;justify-content:space-between;align-items:center;gap:7px;margin:15px 0}.build-summary .capacity-note{position:static;float:none;padding:0;margin:0;gap:5px;font-size:10px}.pop-sound,.snap-toggle{display:flex;align-items:center;gap:5px;font-size:10px;color:#687e70;white-space:nowrap;cursor:pointer}.pop-sound input,.snap-toggle input{accent-color:var(--ink);margin:0;width:13px;height:13px;cursor:pointer}.snap-toggle{font-size:10px;margin-left:auto;flex-shrink:0}.shape-picture.joined{position:relative;width:30px;height:36px;display:block}.shape-picture.joined i{position:absolute;border:1px solid #8ba391;border-radius:2px;background:#c3d8c7;margin:0}.shape-picture.joined i:nth-child(1){width:24px;height:12px;left:3px;top:0}.shape-picture.joined i:nth-child(2){width:12px;height:24px;left:3px;top:12px}.shape-picture.joined i:nth-child(3){width:12px;height:24px;left:15px;top:12px}.desk-surface{transform-box:fill-box;transform-origin:center}.front-label text{fill:#647c6c}.mode-caption{max-width:310px}
@media(max-width:1200px){.canvas-toolbar{flex-wrap:wrap}.mode-caption{display:none}.canvas-toolbar>.text-button{margin-left:0}.snap-toggle{margin-left:auto}}
@media(max-width:740px){.table-count-setting{display:flex;width:100%;margin:7px 0 15px}.table-settings{max-height:172px}.shape-picture.joined{height:36px}.build-summary .capacity-note{position:static;float:none;margin:0}.sidebar-content{max-height:440px}.sidebar-content #panel-setup>.small{margin-top:11px}.table-setting-row{min-height:40px}.shape-choices{max-width:none}.shape-choice{padding:10px 5px}.canvas-toolbar{gap:8px}.snap-toggle{margin-left:auto}.canvas-toolbar>.text-button{margin-left:0}.pop-sound{font-size:10px}}
@media(max-width:440px){.sidebar-content{max-height:420px}.snap-toggle{margin-left:0;font-size:9px}.mode-switch{flex:1 0 100%}.canvas-toolbar>.text-button{font-size:10px;margin-left:auto}.table-list-heading{font-size:10px}.table-setting-row>label{font-size:12px}}

/* Partner rules and the teaching end of the room. */
.rule-type-switch{display:flex;gap:4px;border:1px solid var(--line);border-radius:9px;padding:4px;background:#eef2ec;margin:15px 0 18px}.rule-type-switch button{flex:1;border:0;border-radius:6px;background:transparent;font-size:11px;font-weight:700;min-height:35px;padding:7px 4px;color:#788b7e}.rule-type-switch button.active{background:white;color:var(--ink);box-shadow:0 1px 4px #193a4314}.rule-scope-hint{font-size:10px;line-height:1.65;color:var(--muted);margin:8px 0 0}.rule-details{min-width:0;flex:1}.rule-details .pair strong{overflow-wrap:anywhere}.rule-details .pair>span{color:#8c9e91;font-size:10px}.rule-kind{display:block;font-size:9px;line-height:1.6;margin-top:5px;color:#7e796d}.rule-kind.together{color:#507866}.front-setting{display:flex;align-items:center;gap:7px;flex-shrink:0;margin-left:auto;font-size:10px;color:#73877a}.front-switch{display:flex;gap:2px;padding:3px;border-radius:7px;border:1px solid var(--line);background:#eaf0e7}.front-switch button{font-size:10px;font-weight:650;border:0;border-radius:4px;background:transparent;padding:5px 8px;color:#819182}.front-switch button.active{background:white;color:var(--ink);box-shadow:0 1px 3px #193a4312}.canvas-toolbar{flex-wrap:wrap;gap:11px}.mode-caption{flex:1 1 160px;max-width:220px}.snap-toggle{margin-left:0}.tabs button{padding-left:7px;padding-right:7px}.front-label{pointer-events:none}
@media(max-width:1200px){.front-setting{margin-left:auto}.snap-toggle{margin-left:0}.canvas-toolbar{gap:8px}}
@media(max-width:740px){.front-setting{font-size:9px;gap:5px}.front-switch button{font-size:9px;padding:5px 7px}.rule-type-switch button{font-size:12px}.rule-type-switch{margin-top:12px}.rule-scope-hint{font-size:11px}#panel-rules>.rule-scope-hint{width:100%}.rule-kind{font-size:10px}}
@media(max-width:440px){.front-setting{margin-left:0}.canvas-toolbar{gap:8px}.mode-switch{flex-basis:100%}.snap-toggle{margin-left:auto}.canvas-toolbar>.text-button{margin-left:auto}.front-switch button{padding:5px 9px}}

#roomLayer .seat-hit,#roomLayer .seat:hover .seat-hit,#roomLayer .seat.selected-seat .seat-hit{fill:transparent}#roomLayer .desk-edge{stroke:none}#roomLayer .desk-division{stroke:white;stroke-width:2}
