.setupbadge{font-size:9px;letter-spacing:1px;color:#8e815b;margin-left:auto}#logout{font-size:11px;margin-left:15px}.loginwrap{max-width:940px;margin:80px auto;display:grid;grid-template-columns:1fr 400px;gap:80px;align-items:center}.loginwrap h1{font-size:58px;line-height:1.12}.loginwrap>div>p{margin-top:22px}.loginpanel{padding:32px;margin:0}.loginpanel h2{font-size:25px}.loginpanel label{margin-top:22px}.loginpanel input{min-height:48px;font-size:16px}.loginpanel .full{min-height:48px;margin:10px 0}.setupnote{font-size:10px;border-top:1px solid #dedfd9;padding-top:17px}.errorbox{background:#f3e1db;color:#985b4c;padding:14px;font-size:12px;line-height:1.6;border-left:3px solid #b36c59;margin:15px 0}.workflowalert{padding:19px 24px;background:#eee8d8;border-left:3px solid #c39d55;margin:0 0 25px}.workflowalert strong{font-size:13px}.workflowalert p{margin-bottom:0;color:#8c7d5a}#workspace{max-width:1200px;margin:auto}[hidden]{display:none!important}button:disabled{cursor:wait;opacity:.6}@media(max-width:760px){.topbar{padding:18px 16px;gap:10px}.setupbadge{font-size:7px}.loginwrap{display:flex;flex-direction:column;align-items:stretch;gap:30px;margin:40px auto;max-width:430px}.loginwrap h1{font-size:42px}.loginpanel{padding:25px}.loginwrap>div>p{margin:12px 0}.loginwrap>div{text-align:center}main{padding-bottom:35px}#workspace header{flex-wrap:wrap;gap:15px}}

#appnav{align-self:stretch}.requestitem{border-top:1px solid var(--line)}#workspace{max-width:none}.workflowalert p{line-height:1.6}#editdialog{max-height:90vh;overflow-y:auto}#editdialog input{font-size:16px}.punchmessage{margin:20px 0;padding:16px 20px;background:#e7eee5;border-left:3px solid #629471}.punchmessage.error{background:#f5e6e1;border-color:#b87361}.punchmessage.saving{background:#e8eefb;border-color:var(--blue)}.requestcontext{background:#eeede7;padding:16px;margin:18px 0}.resolution{background:#e7eee5;padding:13px}.deliverycard{padding:20px;border-top:1px solid var(--line)}.inlinecheck{display:flex;align-items:center;gap:12px}#appmessage{white-space:pre-wrap}@media(max-width:760px){.topbar{align-items:center}#appnav{width:100%;height:40px}.driver-mode #appnav{height:65px}.topbar #logout{margin-left:0}.attendance td{height:110px}.setupbadge{font-size:7px}.teamfilters{flex-wrap:wrap}#workspace{padding-bottom:25px}}
.reviewflags{margin-top:9px;display:flex;gap:5px;flex-wrap:wrap;max-width:220px}.sourcegroups{max-width:270px;white-space:normal}.sourcegroups summary{font-size:10px;padding:10px 0;color:#657fa9}.sourcegroups p{font-size:10px;margin:4px 0}.sourcegroups small{font-size:9px}.teamfilters select{max-width:200px}.teamfilters{align-items:end;gap:12px}.filtercount{font-size:10px;color:#8b939e;margin-left:auto}

/* Keep long territory assignments within the Team table. */
.teamfilters + .scroll > table{table-layout:fixed;white-space:normal;min-width:0}
.teamfilters + .scroll > table th,.teamfilters + .scroll > table td{padding:15px 10px;vertical-align:top;overflow-wrap:anywhere;white-space:normal}
.teamfilters + .scroll > table th:nth-child(1){width:17%}
.teamfilters + .scroll > table th:nth-child(2){width:11%}
.teamfilters + .scroll > table th:nth-child(3){width:24%}
.teamfilters + .scroll > table th:nth-child(4){width:23%}
.teamfilters + .scroll > table th:nth-child(5){width:14%}
.teamfilters + .scroll > table th:nth-child(6){width:11%}
.teamfilters + .scroll .actions{flex-wrap:wrap}
.teamfilters + .scroll .actions button{max-width:100%;padding:9px 10px;font-size:11px;white-space:normal}
.teamfilters + .scroll .sourcegroups{max-width:100%}
@media(max-width:760px){
 .teamfilters + .scroll > table,.teamfilters + .scroll > table tbody{display:block}
 .teamfilters + .scroll > table thead{display:none}
 .teamfilters + .scroll > table tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);border-top:1px solid var(--line);padding:10px}
 .teamfilters + .scroll > table td{display:block;min-width:0;border:0;padding:10px}
 .teamfilters + .scroll > table td:nth-child(1),.teamfilters + .scroll > table td:nth-child(3),.teamfilters + .scroll > table td:nth-child(4){grid-column:1 / -1}
 .teamfilters + .scroll > table td::before{display:block;font-size:9px;color:#7e8997;letter-spacing:1px;margin-bottom:7px}
 .teamfilters + .scroll > table td:nth-child(2)::before{content:'POSITION'}
 .teamfilters + .scroll > table td:nth-child(3)::before{content:'TERRITORIES'}
 .teamfilters + .scroll > table td:nth-child(4)::before{content:'CONTACT'}
 .teamfilters + .scroll > table td:nth-child(5)::before{content:'STATUS / REVIEW'}
 .teamfilters + .scroll > table td:nth-child(6)::before{content:'ACTIONS'}
}
