/* Team schedule presentation. No selectors change the management calendar. */
.ts-tabs{display:flex;gap:6px;background:#edf2f7;border:1px solid #d6e0e9;padding:5px;border-radius:13px;max-width:440px;margin:0 0 18px}
.ts-tabs button{flex:1;min-height:43px;border:0;border-radius:9px;background:transparent;color:#405267;font:inherit;font-weight:750;padding:10px 18px;cursor:pointer}
.ts-tabs button.selected{background:#0c385c;color:#fff;box-shadow:0 2px 7px #08243b18}
#ts-page{min-width:0}.ts-description{margin:-3px 0 18px;color:#526579;font-size:14px}
.ts-toolbar,.ts-period,.ts-filters{display:flex;align-items:center;gap:9px}.ts-toolbar{justify-content:space-between;flex-wrap:wrap;margin-bottom:15px}
.ts-period input,.ts-filters select,.ts-search input{width:auto;min-height:42px;border:1px solid #ccd9e4;background:#fff;border-radius:9px;padding:9px 12px;color:#16334e;font:inherit}
.ts-period label,.ts-filters label{margin:0}.ts-period .icon-btn{background:#fff;border:1px solid #d9e2eb;border-radius:9px;font-size:24px;min-width:40px;min-height:42px}
.ts-context{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:13px}
.ts-context>div{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.ts-context strong{font-size:16px;color:#17344c}
.ts-readonly{display:inline-flex;align-items:center;border:1px solid #c8dae9;background:#edf5fc;border-radius:20px;color:#315b7b;padding:4px 9px;font-size:11px;font-weight:750;text-transform:uppercase;letter-spacing:.04em}
.ts-search{margin:0}.ts-search input{min-width:210px}.ts-legend{display:flex;align-items:center;gap:18px;flex-wrap:wrap;font-size:12px;color:#526579;margin:0 0 15px}
.ts-legend>span:first-child{display:inline-flex;align-items:center;gap:6px;font-weight:700}.ts-legend i{display:inline-block;width:13px;height:13px;border-radius:3px;background:#dceffb;border:1px solid #70b5e5}
.ts-department{margin:0 0 18px;background:#fff;border:1px solid #d8e3ed;border-radius:13px;overflow:hidden;box-shadow:0 3px 12px #16354e06}
.ts-section-head{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:60px;padding:13px 17px;background:#f7fafd;border-bottom:1px solid #dbe5ee}
.ts-section-head h2{font-size:16px;margin:0;color:#173650}.ts-published-at{display:block;color:#64778a;font-size:11px;margin-top:4px}.ts-section-head .pill{font-size:10px;white-space:nowrap}
.ts-table-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}.ts-table-scroll:focus-visible{outline:2px solid #1b74aa;outline-offset:-2px}
.ts-table{width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed;min-width:890px}
.ts-table th,.ts-table td{border-bottom:1px solid #e4ebf1;border-right:1px solid #e8eef4;padding:8px;text-align:left;vertical-align:top;background:#fff}
.ts-table tr:last-child>*{border-bottom:0}.ts-table tr>*:last-child{border-right:0;width:60px;text-align:center}
.ts-table thead th{background:#f9fbfd;color:#526b80;font-size:11px;padding:10px 8px;text-align:center}
.ts-table thead th strong,.ts-table thead th span{display:block}.ts-table thead th strong{font-size:12px;color:#183951;margin-top:2px}
.ts-table tr>*:first-child{width:151px;position:sticky;left:0;z-index:2;box-shadow:1px 0 0 #dbe6ef}
.ts-table tbody th{font-size:13px;padding:15px 12px;color:#19384f}.ts-table tbody th span{display:block;overflow-wrap:anywhere}
.ts-table .ts-today{background:#eaf4fc}.ts-table .ts-own-row>*{background:#f0f8fe}.ts-table .ts-own-row>th{border-left:3px solid #338ccb;padding-left:9px}
.ts-you{display:inline-block;margin-top:5px;border-radius:4px;padding:2px 5px;background:#d5eafb;color:#145784;font-size:10px;text-transform:uppercase;letter-spacing:.03em}
.ts-shift{display:flex;width:100%;min-height:47px;flex-direction:column;gap:3px;align-items:flex-start;justify-content:center;margin:0 0 5px;border:1px solid #cbdfed;background:#eaf3fa;color:#173f5d;border-radius:7px;padding:8px 7px;font:inherit;text-align:left;cursor:pointer}
.ts-shift:last-child{margin-bottom:0}.ts-shift strong{font-size:11px;font-weight:750;line-height:1.35}.ts-shift small{font-size:10px;color:#4b6a80}
.ts-shift:hover{background:#dceefa;border-color:#77acd0}.ts-shift:focus-visible,.ts-tabs button:focus-visible,.ts-choice:focus-visible{outline:3px solid #1479b8;outline-offset:2px}
.ts-shift.ts-off{background:#f3f5f7;border-color:#e0e5ea;color:#778898;min-height:40px}.ts-empty-cell{display:block;padding:13px 8px;color:#a8b6c1;text-align:center;font-size:15px}
.ts-table .ts-total{font-weight:750;font-size:13px;color:#365a75;padding-top:18px}.ts-footnote{color:#526579;font-size:12px;line-height:1.65;margin:7px 0}
.ts-empty{padding:23px 18px;color:#667c8d;line-height:1.6}.ts-empty h2{font-size:17px}.ts-day-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:12px;padding:15px}
.ts-day-list .ts-shift{margin:0;min-height:82px;padding:12px}.ts-day-list .ts-shift strong{font-size:14px}.ts-person-name{font-size:12px;font-weight:650;margin-bottom:3px;overflow-wrap:anywhere}
.ts-person-name em{font-size:10px;font-style:normal;color:#245c82;background:#d0eafa;border-radius:4px;padding:2px 5px;margin-left:3px}.ts-day-list .ts-mine{box-shadow:inset 3px 0 #338ccb;background:#e7f5ff}
dialog.ts-modal{width:min(760px,calc(100vw - 28px));max-width:760px;max-height:calc(100dvh - 30px);overflow:auto;border-radius:16px}
.ts-modal .modal-head{position:sticky;top:0;background:#fff;z-index:5;padding-bottom:12px}.ts-request-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:start;margin:17px 0}
.ts-request-pair>section>h3{font-size:14px;color:#294f6c;margin:0 0 12px}.ts-pair-card{border:1px solid #d6e4ef;background:#f4f9fd;border-radius:12px;padding:17px;min-width:0}
.ts-pair-card>.eyebrow{font-size:10px;letter-spacing:.06em;color:#52718c;line-height:1.5}.ts-pair-card h3{font-size:18px;margin:8px 0;color:#173b56;overflow-wrap:anywhere}.ts-pair-card>strong{font-size:13px;color:#48667e;line-height:1.5}
.ts-pair-time{font-size:21px;font-weight:750;color:#123f61;margin:13px 0 7px;line-height:1.4}.ts-pair-time span{font-size:12px;vertical-align:middle}.ts-pair-card p{font-size:13px;color:#355b78;margin:5px 0}.ts-pair-card small{font-size:11px;color:#53748d;display:block;margin-top:9px;line-height:1.6}
.ts-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:290px;overflow:auto;padding:3px}
.ts-choice{display:flex;flex-direction:column;gap:5px;align-items:flex-start;min-height:85px;min-width:0;background:#fff;border:1px solid #cddde9;border-radius:9px;padding:11px;text-align:left;color:#234f6e;font:inherit;cursor:pointer}
.ts-choice strong{font-size:12px}.ts-choice span{font-size:11px;font-weight:700}.ts-choice small{font-size:10px;line-height:1.5;color:#6b8193}.ts-choice.selected{border:2px solid #2786bb;padding:10px;background:#eaf7ff;box-shadow:0 0 0 2px #2186c414}.ts-choice:disabled{opacity:.6;cursor:not-allowed;background:#f4f6f8}
#ts-offer-summary .ts-pair-card{height:100%;margin:0}.ts-consent{font-size:13px;line-height:1.6;align-items:flex-start!important}.ts-consent input{margin-top:4px;min-width:17px;min-height:17px}
.ts-request-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0}.ts-request-fields label{min-width:0}.ts-request-fields select{width:100%;max-width:100%;min-width:0}
.ts-review-heading,.ts-coworker-section>h3{font-size:15px;margin:15px 0 10px;color:#294f6c}.ts-review-pair{align-items:stretch;margin-top:10px}.ts-review-pair>div{min-width:0}.ts-review-pair .ts-pair-card{padding:14px;height:100%}.ts-review-pair .ts-pair-card h3{font-size:16px}.ts-review-pair .ts-pair-card:nth-child(2){background:#f0f8f5;border-color:#c9e2d6}
.ts-unselected{border-style:dashed;min-height:160px}.ts-unselected p{margin-top:16px;color:#607688;font-weight:400}.ts-choice-message{grid-column:1/-1;font-size:13px;line-height:1.6;color:#526b7e;padding:10px;margin:0}.ts-coworker-section{margin:17px 0}.ts-coworker-section>.text-btn{margin-top:9px}
.ts-week-rule{grid-column:1/-1;font-size:13px;line-height:1.6;margin:0 0 15px}.ts-week-rule>span{display:block;margin-top:6px;font-size:12px}.ts-review-pair>.ts-week-rule{margin:0}.ts-end-date{font-size:11px;line-height:1.5;overflow-wrap:anywhere}.ts-pair-card .ts-end-date{margin-top:0}.ts-choice .ts-end-date{margin-top:0}
.ts-manager-warnings h3{font-size:15px;margin:0 0 8px}.ts-manager-warnings>p{font-size:13px;line-height:1.6}.ts-manager-warnings ul{list-style:none;margin:12px 0 0;padding:0}.ts-manager-warnings li{padding:12px 0;border-top:1px solid #decfa8;overflow-wrap:anywhere}.ts-manager-warnings li>strong,.ts-manager-warnings li>span{display:block}.ts-manager-warnings li>span{font-size:12px;margin-top:3px}.ts-manager-warnings li>p{font-size:13px;line-height:1.6;margin:7px 0 0}
.ts-modal .form-actions{position:sticky;bottom:-1px;background:#fff;padding:15px 0;margin-top:15px;border-top:1px solid #e2ebf2;z-index:4}
@media(max-width:780px){
 #ts-page>.page-head{align-items:flex-start;gap:10px}#ts-page>.page-head h1{font-size:23px}#ts-page>.page-head>.actions .btn{font-size:11px;padding:9px 10px}
 .ts-tabs{max-width:none;margin:12px 0 15px}.ts-tabs button{padding:10px 8px;font-size:13px}.ts-description{font-size:12px;line-height:1.5}
 .ts-toolbar{gap:10px}.ts-period{width:100%;justify-content:space-between;gap:6px}.ts-period label{flex:1}.ts-period input{width:100%;padding:9px 6px;min-width:0;font-size:14px}.ts-period .btn{font-size:12px;padding:9px}
 .ts-filters{width:100%;justify-content:space-between}.ts-filters>label{flex:1;min-width:0}.ts-filters select{width:100%;font-size:13px}.ts-filters .segmented button{min-height:42px;font-size:12px;padding:8px 12px}
 .ts-context>div{gap:8px}.ts-context strong{font-size:13px}.ts-search{width:100%}.ts-search input{width:100%;min-width:0;font-size:14px}.ts-legend{font-size:11px;gap:7px;line-height:1.5}
 .ts-section-head{padding:12px;align-items:flex-start}.ts-section-head h2{font-size:14px}.ts-published-at{font-size:10px}.ts-department{border-radius:10px}.ts-table{min-width:790px}.ts-table tr>*:first-child{width:124px}.ts-table tbody th{font-size:12px}
 .ts-table-scroll{scrollbar-width:thin}.ts-day-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px}.ts-day-list .ts-shift{padding:10px}.ts-day-list .ts-shift strong{font-size:12px}.ts-day-list .ts-person-name{font-size:11px}
 dialog.ts-modal{padding:15px;width:calc(100vw - 16px);max-height:calc(100dvh - 16px);margin:auto}.ts-modal .modal-head h2{font-size:20px}.ts-request-pair{grid-template-columns:1fr;gap:13px}.ts-pair-card{padding:13px}.ts-choices{max-height:240px}.ts-pair-time{font-size:20px}.ts-modal .form-actions{gap:9px}.ts-modal .form-actions button{min-height:45px}
 .ts-request-fields{grid-template-columns:1fr;gap:10px}.ts-request-pair.ts-review-pair{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ts-review-pair .ts-pair-card{padding:10px}.ts-review-pair .ts-pair-card h3{font-size:14px;line-height:1.35}.ts-review-pair .ts-pair-card>strong{font-size:11px}.ts-review-pair .ts-pair-time{font-size:16px;margin-top:10px}.ts-review-pair .ts-pair-card>.eyebrow{font-size:10px}.ts-review-pair .ts-pair-card p{font-size:12px}.ts-review-pair .ts-pair-card small{font-size:10px}
}
@media(prefers-reduced-motion:reduce){.ts-table-scroll{scroll-behavior:auto}}
