/* Extends accepted Clean Blue & White tokens; Shell and its Logo remain intact. */
main.team-main{padding:0 12px 8px;overflow:hidden;min-height:0}
.team-page{height:100%;min-height:0;display:flex;flex-direction:column;gap:10px;--store-column:57px;--row-height:54px;--day-list-height:146px}
.team-page .income-locations{flex:none;margin:0 -12px;padding:10px 12px 0;background:var(--white);border:0;border-radius:0;min-height:48px}
.team-page .income-location-strip{gap:7px;scrollbar-width:none}
.team-page .income-location{flex:none;min-height:34px;padding:7px 15px;font-size:0.75rem;white-space:nowrap}
.team-schedule{flex:none;min-height:0;background:white;border:1px solid #e6edf6;border-radius:16px;overflow:hidden;touch-action:pan-y}
.team-schedule .sch-header{padding:12px 10px 10px;border-bottom:1px solid var(--line);background:#fff}
.team-schedule .sch-header-top{display:flex;align-items:center;justify-content:space-between;margin:0 2px 9px}
.team-schedule .sch-header-top h2{margin:0;font-size:0.875rem;font-weight:700}
.team-demo{color:#8796aa;font-size:0.625rem;letter-spacing:.04em}
.team-schedule .sch-header-week{display:grid;grid-template-columns:32px minmax(0,1fr) 32px;align-items:center;gap:6px}
.team-week-arrow{display:grid;place-items:center;width:32px;height:36px;padding:5px;border:1px solid #e8eef7;background:#f8faff;border-radius:10px;color:var(--blue)}
.team-week-arrow svg{width:17px;height:17px}
.team-schedule .sch-week-center{text-align:center;min-width:0}
.team-schedule .sch-week-center>strong{display:block;font-size:0.875rem;line-height:1.5;font-variant-numeric:tabular-nums;letter-spacing:-.02em}
.team-schedule .sch-week-meta{display:flex;align-items:center;justify-content:center;gap:6px;min-height:24px;flex-wrap:wrap}
.team-week-state{display:inline-flex;align-items:center;gap:3px;font-size:0.625rem;color:#8794a8;white-space:nowrap}
.team-week-state svg{width:11px;height:11px;stroke-width:1.8}
.team-week-state.editable{color:var(--blue)}
.team-inherited{font-size:0.5625rem;color:#8e9bb0;white-space:nowrap}
.team-this-week{padding:3px 5px;border:0;border-radius:5px;background:var(--blue-soft);color:var(--blue);font-size:0.625rem;white-space:nowrap}
.team-this-week:disabled{background:transparent;color:#a4aebe}
.team-grid{display:grid;grid-template-columns:var(--store-column) repeat(7,minmax(0,1fr));width:100%;align-items:stretch}
.team-date-row{background:#f8faff;border-bottom:1px solid #eaf0f8}
.team-axis{display:flex;align-items:center;justify-content:center;font-size:0.625rem;color:#99a5b6}
.team-date{padding:7px 0 6px;display:flex;flex-direction:column;align-items:center;gap:3px;line-height:1.2}
.team-date>span{font-size:0.5625rem;color:#92a0b5}
.team-date>strong{font-size:0.875rem;font-weight:650;min-width:24px;height:24px;display:grid;place-items:center;border-radius:8px;font-variant-numeric:tabular-nums}
.team-date.is-today>strong{background:var(--blue);color:white}
.team-store-viewport{height:calc(var(--row-height)*3);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.team-store-viewport::-webkit-scrollbar,.team-day-names::-webkit-scrollbar,.team-people::-webkit-scrollbar{display:none}
.team-store-row{height:var(--row-height);border-bottom:1px solid #eef2f8}
.team-store-name{display:flex;align-items:center;justify-content:center;text-align:center;padding:0 3px;font-size:0.625rem;font-weight:650;color:#50647e;min-width:0;overflow:hidden;overflow-wrap:anywhere;border-right:1px solid #eef2f8}
.team-count{margin:0;padding:0;border:0;border-right:1px solid #f1f4f9;background:white;color:var(--blue);font-size:1.0625rem;font-weight:650;font-variant-numeric:tabular-nums;min-width:0}
.team-count:active,.team-plan-cell:active{background:var(--blue-soft)}
.team-board-footer{border-top:1px solid #edf2f8;display:flex;align-items:center;justify-content:space-between;gap:5px;min-height:28px;padding:5px 9px;color:#9aa6b8;font-size:0.5625rem;line-height:1.5}
.team-board-footer span:last-child{white-space:nowrap}
.team-single-row{align-items:stretch}
.team-single-day{min-width:0;border-right:1px solid #f0f3f8;padding-bottom:4px}
.team-day-count{border:0;background:white;display:block;width:100%;height:29px;font-size:0.8125rem;font-weight:650;color:#617693;padding:4px 0}
.team-day-count small{font-size:0.5rem;font-weight:400;margin-left:1px;color:#a1adbd}
.team-day-names{height:var(--day-list-height);overflow:auto;overscroll-behavior:contain;scrollbar-width:none;padding:0 2px;display:flex;flex-direction:column;gap:4px;-webkit-overflow-scrolling:touch}
.team-name-tag{flex:none;display:block;width:100%;min-width:0;min-height:27px;padding:5px 1px;border:1px solid #dfe9ff;border-radius:6px;background:#edf3ff;color:#225bc9;font-size:0.625rem;font-weight:550;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:16px}
.team-empty-day{text-align:center;color:#bdc6d2;font-size:0.6875rem;padding:8px 0}
.team-personnel{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;padding:2px 1px 0;max-height:165px}
.team-section-title{display:flex;justify-content:space-between;align-items:center;margin:0 2px 9px;gap:8px;flex:none}
.team-section-title h2{font-size:0.8125rem;margin:0;font-weight:650}
.team-section-title h2 small{font-weight:400;color:#99a5b6;font-size:0.625rem;margin-left:7px}
.team-section-title>span{font-size:0.5625rem;color:#a1acbc}
.team-people{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));grid-auto-rows:45px;gap:7px;height:97px;max-height:97px;min-height:35px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none;align-content:start;flex:0 1 auto;-webkit-overflow-scrolling:touch}
.team-person-tile{border:1px solid #e8edf5;background:white;border-radius:10px;display:flex;align-items:center;justify-content:center;gap:1px;padding:4px 2px;min-width:0;color:#50647e;font-size:0.6875rem;font-weight:550}
.team-person-tile>span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}
.team-person-tile.selected{background:var(--blue);border-color:var(--blue);color:white;box-shadow:0 3px 8px #105cff18}
.team-person-tile.team-first{background:var(--blue-soft);border-color:#dce7ff;color:var(--blue);flex-direction:column;font-size:0.5rem}
.team-first>b{font-size:1.25rem;line-height:18px;font-weight:400}
.team-first svg{width:19px;height:19px}
.team-demo-note{font-size:0.5625rem;color:#a9b3c2;text-align:center;line-height:1.4;margin:auto 0 0;padding-top:2px;flex:none}
.team-person-heading{display:flex;align-items:center;gap:9px;flex:none;padding:10px 1px 0;min-height:48px}
.team-person-heading .back-button{width:33px;height:34px;border-radius:10px}
.team-person-heading .back-button svg{width:17px;height:17px}
.team-person-heading h1{font-size:1.0625rem;line-height:1.4;margin:0;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.team-person-heading h1 span{font-size:0.75rem;color:#8290a5;font-weight:450}
.team-plan-cell{min-width:0;background:white;border:0;border-right:1px solid #f1f4f9;display:grid;place-items:center;padding:0}
.team-plan-marker{width:24px;height:24px;background:var(--blue);color:white;border-radius:7px;font-size:0.8125rem;display:grid;place-items:center}
.team-plan-blank{display:block;min-width:24px;min-height:24px}
.team-person-viewport{height:calc(var(--row-height)*4);max-height:calc(var(--row-height)*4)}
.is-person .team-schedule .sch-header-top{display:none}
.is-person .team-schedule .sch-header{padding-top:12px}
.is-historical .team-count,.is-historical .team-store-name,.is-historical .team-name-tag{color:#9aa5b6}
.is-historical .team-name-tag{background:#f2f4f7;border-color:#e9edf2}
.is-historical .team-plan-marker{background:#bdc6d4}
.is-historical .team-date>strong{color:#97a3b5}
.team-space-empty{margin:22px 6px;background:white;padding:25px 22px;border:1px solid var(--line);border-radius:18px}
.team-space-empty h1{font-size:1.3125rem;margin:14px 0}
.team-space-empty p{font-size:0.8125rem;color:var(--muted);line-height:1.8}
.team-dialog{width:min(420px,calc(100vw - 28px));max-height:min(78dvh,650px);overflow:auto;border-radius:20px;padding:22px;box-shadow:0 18px 80px #14254526}
.team-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}
.team-dialog h2{font-size:1.125rem;line-height:1.5;margin:0}
.team-dialog-heading>button{width:32px;height:32px;border:0;background:#f3f6fb;border-radius:9px;font-size:1.4375rem;color:#8190a6}
.team-dialog p{font-size:0.75rem;color:#8b98aa;line-height:1.7;margin:13px 0 18px}
.team-dialog label{display:block;font-size:0.75rem;color:#697a92;margin:0 0 8px}
.team-dialog input{font:inherit;font-size:1rem;min-height:44px;width:100%;border:1px solid #dce5f3;border-radius:10px;padding:10px 12px;color:var(--ink);background:white}
.team-dialog .team-form-error{color:var(--danger);font-size:0.6875rem;min-height:15px;margin:7px 0 10px}
.team-dialog h3{font-size:0.75rem;color:#74869e;font-weight:550;margin:20px 0 10px}
.team-picker{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
.team-picker-name{font-size:0.75rem;min-height:38px;padding:7px 2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-radius:8px;border:1px solid #e4eaf2;background:#f4f6f9;color:#8e9aab}
.team-picker-name.selected{color:var(--blue);border-color:#d6e4ff;background:#eaf1ff}
.team-done{margin-top:23px}
@media(max-width:359px){.team-page{--store-column:49px;gap:8px}.team-page .income-location{padding:7px 12px}.team-name-tag{font-size:0.5625rem}.team-schedule .sch-week-center>strong{font-size:0.75rem}.team-inherited{font-size:0.5rem}.team-people{gap:5px}.team-person-tile{font-size:0.625rem}.team-board-footer{font-size:0.5rem;padding:5px 6px}}
@media(max-height:740px){.team-page{--row-height:46px;--day-list-height:132px;gap:8px}.team-schedule .sch-header{padding-top:9px;padding-bottom:7px}.team-schedule .sch-header-top{margin-bottom:5px}.team-date{padding-top:5px;padding-bottom:4px}.team-people{grid-auto-rows:40px;height:87px;max-height:87px}.team-section-title{margin-bottom:7px}.team-demo-note{font-size:0.5rem}.team-page .income-locations{padding-top:7px;min-height:43px}}
@media(max-height:640px){.team-page{--row-height:38px;--day-list-height:113px;gap:6px}.team-schedule .sch-header-top{display:none}.team-date{gap:1px;padding:3px 0}.team-date>strong{height:21px;font-size:0.75rem}.team-name-tag{min-height:23px;line-height:15px;padding-top:3px;padding-bottom:3px}.team-day-names{gap:3px}.team-person-heading{padding-top:5px;min-height:39px}.team-person-viewport{height:calc(var(--row-height)*3.5)}.team-board-footer{min-height:23px;font-size:0.5rem}.team-demo-note{display:none}.team-person-tile{border-radius:8px}.team-people{grid-auto-rows:35px;height:77px;max-height:77px}.team-page .income-locations{min-height:38px;padding-top:5px}.team-page .income-location{min-height:30px;padding-top:5px;padding-bottom:5px}}
