/* Contextual roster and compact operating controls; existing B theme variables. */
body:not(.release-ready931) .system-area61>span{visibility:hidden}
.workspace83 .ruler-origin{display:flex;align-items:center;justify-content:center;gap:1px;pointer-events:auto}
.workspace83 .ruler-close931{border:0;background:transparent;color:inherit;font-size:13px;line-height:1;width:12px;height:20px;padding:0;flex:none;cursor:pointer}
.ruler-close931:focus-visible{outline:2px solid var(--accent);outline-offset:1px}
.workspace83 .system-area61 #user-guide,.workspace83 .system-area61>button{height:42px!important;min-height:42px!important;padding:10px 12px!important;font-size:14px!important;line-height:20px!important;display:flex;align-items:center;justify-content:center;box-sizing:border-box;margin:0!important}
.margin-presets931{display:flex;gap:8px;align-items:center}
.margin-presets931>.btn{width:auto!important;margin:0!important}
.workspace83 .layout-grid64 .grid-settings61 .grid-controls{display:grid!important;grid-template-columns:minmax(100px,1fr) minmax(116px,1fr);gap:8px;align-items:start}
.workspace83 .layout-grid64 .grid-settings61 label{display:flex;flex-direction:column;gap:4px;white-space:nowrap;line-height:20px;margin:0!important;align-self:start}
.workspace83 .layout-grid64 .grid-settings61 input{width:100%!important;margin:0!important;align-self:start}
.excel-shell61.app.workspace83 .canvas-quick64.spaced-toolbar931{gap:8px!important}
.excel-shell61.app.workspace83 .canvas-quick64.spaced-toolbar931 :is(.canvas-edit65,.list-launchers83,.selection-tools74){gap:8px!important}
.excel-shell61.app.workspace83 .canvas-quick64.spaced-toolbar931 .list-launchers83{border-left:0!important;padding-left:0!important}
.workspace83 .right:has(.roster-mode931){overflow:hidden}
.excel-shell61.app.workspace71.workspace80.workspace83>.right>.right-inner:has(.roster-mode931){height:100%!important;max-height:100%!important;overflow:hidden!important;display:block!important}
.excel-shell61.app.workspace71.workspace80.workspace83 .right [data-right-pane=settings].roster-mode931{display:flex!important;flex-direction:column;gap:8px;min-height:0;overflow:hidden!important;padding-bottom:0!important}
.workspace83 .right .roster-panel931,.workspace83 .right .roster-section931{margin-top:0!important;padding:0!important}
.workspace83 .selection-top931{flex:none;display:flex;flex-direction:column;gap:8px;margin:0!important;padding:0 0 8px;border-bottom:1px solid var(--line78);font-size:14px;line-height:1.4}
.workspace83 .selection-top931 p,.workspace83 .table-numbers931 p{margin:0!important;font-size:13px;line-height:1.4}
.workspace83 .selection-top931 label{font-size:14px;margin:0!important}
.workspace83 .selection-top931 .btn,.workspace83 .roster-person931,.workspace83 .table-numbers931 .btn{font-size:14px;line-height:20px;min-height:32px;height:auto;padding:5px 8px}
.seat-bar931{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px}
.workspace83 .seat-bar931>.btn{width:auto!important}
.selected-location931{overflow-wrap:anywhere}
.current-person931{display:grid;grid-template-columns:1fr auto;gap:4px 8px;align-items:center}
.current-person931>strong{grid-column:1/-1}
.current-person931>span{overflow-wrap:anywhere}
.workspace83 .current-person931>.btn{width:auto!important}
.number-control931{display:grid!important;grid-template-columns:40px minmax(0,1fr);align-items:center;gap:4px 8px}
.number-control931>small{grid-column:2;font-size:13px}
.workspace83 .selection-top931 .field,.workspace83 .table-numbers931 .field{font-size:14px;min-height:32px;padding:5px 8px;line-height:20px}
.seat-purpose931{display:flex;flex-direction:column;gap:4px}
.seat-purpose931 .segmented-buttons{display:flex;gap:4px}
.hide-number931{display:flex!important;align-items:center;gap:6px}
.seat-actions931{display:flex;gap:8px}
.seat-actions931>.btn{flex:1;min-width:0}
.workspace83 .inline-error931{color:var(--danger,#a63838)!important;font-size:13px;overflow-wrap:anywhere}
.roster-panel931{min-height:80px;flex:1;display:flex;flex-direction:column;gap:8px;overflow:hidden}
.workspace83 .roster-panel931 h2{font-size:14px;margin:0!important;flex:none}
.workspace83 .roster-panel931>.field{font-size:14px;height:34px;min-height:34px;padding:6px 8px;flex:none}
.roster-scroll931{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;display:block}
.roster-section931{margin:0 0 8px;padding:0;border:0}
.workspace83 .roster-section931 h3,.roster-section931>summary{font-size:14px;line-height:20px;margin:0 0 6px;padding:0;font-weight:600}
.roster-section931>summary{cursor:pointer}
.workspace83 .roster-person931{width:100%;display:flex;flex-direction:column;align-items:flex-start;gap:2px;text-align:left;white-space:normal;margin:0 0 6px;overflow-wrap:anywhere}
.workspace83 .roster-person931 small{font-size:13px;color:var(--ink);margin:0}
.workspace83 .roster-person931.ready-person931{background:var(--accent-soft,#edf7f8);border-color:var(--accent);color:var(--ink)}
.roster-person931 strong{font-size:13px;font-weight:400}
body.placing931 #canvas,body.placing931 #canvas .seat{cursor:copy!important}
#canvas .seat.placement-hover931{outline:2px solid var(--accent);outline-offset:2px}
.workspace83 .table-numbers931{display:flex;flex-direction:column;gap:4px;margin:0 0 8px;font-size:14px}
.table-number-row931{display:grid;grid-template-columns:auto minmax(56px,1fr) auto;gap:8px;align-items:center}
.workspace83 .table-number-row931>.btn{width:auto!important}
@media print{.roster-panel931,.selection-top931{display:none!important}}

.toolbar-separator931{flex:none;width:1px;height:24px;background:var(--line78);align-self:center}

/* Short drawers scroll as one document rather than squeezing the roster. */
.excel-shell61.app.workspace71.workspace80.workspace83>.right.roster-flow931>.right-inner{overflow:auto!important}
.excel-shell61.app.workspace71.workspace80.workspace83 .right.roster-flow931 [data-right-pane=settings].roster-mode931{height:auto!important;min-height:100%;overflow:visible!important}
.right.roster-flow931 .roster-panel931{flex:none;min-height:0;overflow:visible}
.right.roster-flow931 .roster-scroll931{flex:none;min-height:180px;overflow:visible;overscroll-behavior:auto}
.placement-banner931{grid-column:1/3;grid-row:3;min-width:0;min-height:32px;padding:6px 8px;box-sizing:border-box;font-size:14px;line-height:20px;background:var(--ui-right);color:var(--ink);border-bottom:1px solid var(--line78);overflow-wrap:anywhere}
.excel-shell61.app.workspace71.workspace78.workspace80.workspace81.workspace82.workspace83.workspace87:has(.placement-banner931){grid-template-rows:214px 40px auto minmax(0,1fr) 44px!important}
.excel-shell61.app.workspace83:has(.placement-banner931)>.main>:is(.workspace,.canvas-window-placeholder86){grid-row:4!important}
.excel-shell61.app.workspace83:has(.placement-banner931)>.main>.canvas-statusbar{grid-row:5!important}
@media print{.placement-banner931{display:none!important}}
