/* Team Time Off — deliberately small, accessible and phone-first. */
.team-leave-layout{display:grid;gap:16px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.team-leave-panel{min-width:0}
.team-leave-quick{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 17px}
.team-leave-quick button{min-height:48px;flex:1}
.team-leave-panel h3{margin:0 0 8px}
.team-leave-panel .modal-form{display:grid;gap:12px}
.team-leave-panel label{display:grid;gap:6px}
.team-leave-panel input,.team-leave-panel select,.team-leave-panel textarea{min-width:0;width:100%;font-size:16px;min-height:46px;border:1px solid #d2d2d7;border-radius:12px;background:#fff;padding:10px 12px;color:#1d1d1f}
.team-leave-panel textarea{min-height:70px}
.team-leave-panel .two-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.team-leave-help{font-size:12px;line-height:1.5;color:#5c6570}
.team-leave-list-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}
.team-leave-tabs{display:flex;flex-wrap:wrap;gap:6px}
.team-leave-tabs button{min-height:42px;border-radius:12px}
.team-leave-tabs [aria-pressed=true]{background:#eaf3ff;border-color:#9ac9ff;color:#005bb5}
.team-leave-item{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:14px 0;border-bottom:1px solid #e5e5e7}
.team-leave-item:last-child{border-bottom:0}
.team-leave-item strong,.team-leave-item small{display:block}
.team-leave-item small{margin-top:4px;color:#666970;font-size:12px}
.team-leave-note{font-size:12px;color:#48494c;line-height:1.45;margin:9px 0 0;overflow-wrap:anywhere}
.team-leave-actions{display:grid;gap:8px;justify-items:end;flex:none}
.team-leave-status{font-size:11px;border-radius:999px;background:#f2f2f5;padding:7px 9px;color:#4f5862;white-space:nowrap}
.team-leave-approved,.team-leave-acknowledged{background:#e7f8ed;color:#15613a}
.team-leave-pending,.team-leave-notified{background:#eaf3ff;color:#1557a4}
.team-leave-rejected{background:#fff0ef;color:#8b3932}
.team-review-buttons{display:flex;gap:10px;flex-wrap:wrap}
.team-review-buttons button{flex:1;min-height:48px}
@media(max-width:900px){.team-leave-layout{grid-template-columns:1fr}}
@media(max-width:690px){.team-leave-layout{gap:12px}.team-leave-panel .two-fields{gap:8px}.team-leave-quick button{flex:1 1 140px}.team-leave-item{flex-wrap:wrap}.team-leave-actions{width:100%;display:flex;align-items:center;justify-content:space-between}}
/* Fast exchange: clear quote is an instant calculation, not a request. */
.upgrade-condition{margin:0;padding:0;border:0;min-width:0}
.upgrade-condition legend{font-size:12px;font-weight:650;color:#50535a;margin-bottom:8px}
.upgrade-condition-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.upgrade-condition-options label{margin:0;cursor:pointer;position:relative}
.upgrade-condition-options input{position:absolute;opacity:0;width:1px;height:1px}
.upgrade-condition-options span{display:flex;align-items:center;justify-content:center;text-align:center;min-height:48px;border:1px solid #d2d2d7;border-radius:12px;background:#fff;color:#30343a;padding:9px 7px;font-size:12px;font-weight:650}
.upgrade-condition-options input:checked+span{border-color:#0071e3;background:#eaf3ff;color:#005eb8}
.upgrade-condition-options input:focus-visible+span{outline:3px solid #84bfff;outline-offset:2px}
@media(max-width:355px){.upgrade-condition-options{gap:5px}.upgrade-condition-options span{font-size:11px;padding:6px}}

.upgrade-quick-choices{display:grid;gap:12px}
.sell-exchange-entry{display:inline-flex;align-items:center;gap:8px;min-height:43px;padding:9px 14px;margin:0 0 10px;border-radius:12px;color:#005eb8;border-color:#bed6f4}

/* Floor UX polish: fast staff navigation and trustworthy one-tap reporting. */
.team-flow-links{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.team-flow-links button{min-height:44px}
.team-sick-confirm{display:grid;gap:13px}
.team-sick-confirm p{font-size:14px;line-height:1.58;margin:0;color:#363a41}
.team-sick-confirm .muted{font-size:12px;color:#656a74}
.team-sick-confirm button{min-height:52px;font-weight:700}
.team-leave-quick .primary{background:#0071e3;color:#fff}
.team-leave-quick .primary:hover{background:#0066cc}
.team-leave-panel .modal-form button[type=submit]{min-height:50px}
.team-leave-item{overflow-wrap:anywhere}
.team-leave-item .team-leave-status{max-width:100%}
.upgrade-shortcuts{display:flex;flex-wrap:wrap;align-items:center;gap:7px;min-width:0;margin-top:-5px}
.upgrade-chip{display:inline-flex;align-items:center;justify-content:center;min-height:43px;max-width:100%;border-radius:999px;
 border:1px solid #d7dce3;background:#fff;padding:9px 13px;font-size:12px;font-weight:670;line-height:1.3;
 color:#414751;white-space:normal;text-align:center;cursor:pointer;transition:background .12s,border-color .12s}
.upgrade-chip:focus-visible{outline:3px solid #7dbbff;outline-offset:2px}
.upgrade-chip[aria-pressed=true]{border-color:#0071e3;background:#eaf3ff;color:#005eb8}
.upgrade-chip:hover{border-color:#85b8f5}
.upgrade-chip-stock{background:#f8fbff}
.upgrade-chip-note{font-size:11px;font-weight:650;color:#576578;flex:1 0 100%}
.upgrade-shortcuts:empty{display:none}
@media(max-width:690px){
 .team-flow-links{width:100%}.team-flow-links button{flex:1 1 auto}
 .team-leave-quick button{flex:1 1 155px;min-height:52px}
 .upgrade-shortcuts{gap:6px}
 .upgrade-chip{min-height:44px;font-size:12px;padding:10px 12px}
}
@media(prefers-reduced-motion:reduce){.upgrade-chip{transition:none}}
