[data-team-cell],[data-team-day]{-webkit-touch-callout:none;user-select:none;touch-action:pan-x pan-y;cursor:context-menu}[data-team-cell]:focus-visible,[data-team-day]:focus-visible{outline:2px solid #77977b;outline-offset:2px}
.team-cell-dialog{--tc-bg:var(--pp-bg,#fff);--tc-text:var(--pp-text,#253029);--tc-line:var(--pp-line,#dce3dc);--tc-soft:var(--pp-soft,#f4f6f1);inset:0;margin:auto;width:min(650px,calc(100vw - 24px));height:auto;max-height:92dvh;padding:0;border:1px solid var(--tc-line);border-radius:18px;background:var(--tc-bg);color:var(--tc-text);box-shadow:0 20px 80px #0004;overflow:hidden;font:14px/1.5 system-ui,sans-serif}.team-cell-dialog::backdrop{background:#0007}.team-cell-dialog .tc-form{display:flex;flex-direction:column;height:auto;max-height:92dvh;margin:0}.tc-head{display:flex;justify-content:space-between;gap:12px;padding:18px 22px;border-bottom:1px solid var(--tc-line)}.tc-head p{font-size:10px;letter-spacing:.12em;margin:0 0 4px}.tc-head h2{font-size:23px;margin:0}.tc-head span{text-transform:capitalize}.tc-body{padding:18px 22px;overflow-y:auto;min-height:0;overscroll-behavior:contain;display:grid;gap:16px}.team-cell-dialog button,.team-cell-dialog input,.team-cell-dialog select,.team-cell-dialog textarea{font:inherit;color:inherit;border:1px solid var(--tc-line);border-radius:9px;padding:10px;background:var(--tc-bg);box-sizing:border-box;min-height:44px}.team-cell-dialog button{cursor:pointer}.team-cell-dialog button:disabled{opacity:.45;cursor:default}.tc-body label{display:grid;gap:6px}.tc-body input,.tc-body select,.tc-body textarea{width:100%;min-width:0}.tc-services{display:grid;gap:14px}.tc-services fieldset{border:1px solid var(--tc-line);border-radius:12px;padding:12px;margin:0;min-width:0}.tc-services legend{padding:0 7px;font-size:17px;font-weight:700}.tc-services .tc-selected{border-color:#7b9275}.tc-services .tc-changed{border-color:#4387b6;box-shadow:0 0 0 1px #4387b6}.tc-before{margin:0 0 9px;font-size:13px}.tc-statuses{display:flex;flex-wrap:wrap;gap:6px}.tc-statuses button{flex:1;padding:8px 10px;font-size:13px}.tc-statuses button[aria-pressed=true]{background:#476448;border-color:#476448;color:white}.tc-restaurant{margin-top:12px}.tc-after{color:#2877a8;font-size:12px;margin:8px 0 0}.tc-after:empty,.tc-message:empty{display:none}.tc-help,.tc-locked{font-size:12px;opacity:.8;margin:0}.tc-message{color:#b14734;margin:0}.tc-foot{display:flex;justify-content:flex-end;gap:10px;padding:14px 22px;border-top:1px solid var(--tc-line);background:var(--tc-soft)}.team-cell-dialog .tc-save{background:#476448;color:#fff;border-color:#476448;min-width:150px}.tc-close{align-self:flex-start;font-size:22px!important}.tc-swap{display:grid;gap:14px}.tc-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px}.tc-body [hidden]{display:none!important}.tc-swap-preview{padding:10px;background:var(--tc-soft);border-radius:8px}.tc-swap-toggle{width:100%}@media(max-width:520px){.team-cell-dialog{width:calc(100vw - 12px);max-height:95dvh;border-radius:14px}.team-cell-dialog .tc-form{max-height:95dvh}.tc-body,.tc-head{padding:14px}.tc-foot{padding:12px 14px}.tc-statuses button{flex:1 0 28%}}
