.team-workspace { max-width:1180px; margin:auto; }
.team-header,.team-section-heading { display:flex; justify-content:space-between; align-items:flex-start; gap:20px; margin-bottom:24px; }
.team-header h1 { margin:4px 0 10px; }
.team-header p { color:#586b60; max-width:640px; line-height:1.6; }
.team-form { padding:24px; border:1px solid #d9e2da; background:#fff; border-radius:6px; display:grid; gap:16px; margin-bottom:32px; }
.team-form h3 { margin:0; }
.team-form label { display:grid; gap:7px; font-size:14px; font-weight:600; }
.team-form input,.team-form select,.team-form textarea { width:100%; padding:11px 12px; border:1px solid #b8c8bd; border-radius:4px; background:#fff; color:#172b24; font:inherit; box-sizing:border-box; }
.team-fields { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.team-form button { justify-self:start; }
.team-table-wrap { overflow:auto; border:1px solid #d9e2da; border-radius:5px; margin-bottom:28px; }
.team-table { border-collapse:collapse; width:100%; background:#fff; text-align:left; font-size:14px; }
.team-table th { padding:14px 18px; font-weight:600; background:#f3f6f1; }
.team-table td { padding:16px 18px; border-top:1px solid #e3e9e1; vertical-align:top; line-height:1.6; overflow-wrap:anywhere; }
.team-table td:first-child { min-width:180px; }
.team-button-row { display:flex; flex-wrap:wrap; gap:8px; }
.team-workspace button,.team-invitation button { min-height:44px; }
.team-empty { padding:24px; border:1px dashed #b8c8bd; color:#53675b; line-height:1.6; }
.team-workspace [role=alert],.team-invitation [role=alert] { color:#913329; padding:12px 0; }
.team-workspace .muted { color:#586b60; font-size:13px; font-weight:400; line-height:1.6; }
.team-invitation { margin:8vh auto; max-width:560px; padding:30px; background:#fff; border:1px solid #d9e2da; border-radius:6px; line-height:1.7; }
.team-invitation [data-invitation-controls] { display:flex; flex-wrap:wrap; gap:12px; }
.team-tabs { display:flex; gap:4px; flex-wrap:wrap; border-bottom:1px solid #d9e2da; margin:0 0 28px; }
.team-tabs button { background:none; border:0; padding:12px 16px; color:#52665a; border-bottom:2px solid transparent; border-radius:0; font:inherit; cursor:pointer; }
.team-tabs button[aria-current=page] { color:#174e37; border-bottom-color:#22664d; font-weight:600; }
.team-metrics { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); border:1px solid #d9e2da; background:#fff; margin-bottom:28px; border-radius:5px; }
.team-metrics div { padding:20px; border-right:1px solid #d9e2da; display:grid; gap:12px; }
.team-metrics div:last-child { border:0; }
.team-metrics span { font-size:13px; color:#52665a; }
.team-metrics strong { font-size:28px; font-weight:600; }
.team-queue-heading { display:flex; align-items:center; justify-content:space-between; gap:15px; margin:20px 0; }
.team-filters { display:flex; gap:20px; flex-wrap:wrap; align-items:end; margin-bottom:20px; }
.team-filters label { display:grid; gap:8px; font-size:14px; }
.team-filters select { padding:10px 12px; border:1px solid #b8c8bd; border-radius:4px; background:#fff; }
.team-check { display:flex!important; align-items:center; gap:10px!important; min-height:44px; }
.team-check input { appearance:auto!important; width:18px!important; height:18px!important; padding:0!important; flex:0 0 18px; }
.team-assignment-list article { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:20px; align-items:center; padding:22px 0; border-top:1px solid #d9e2da; }
.team-assignment-list p,.team-prose { white-space:pre-wrap; overflow-wrap:anywhere; line-height:1.7; }
.team-title-link { background:none; border:0; padding:0; color:#183d2c; font:inherit; text-align:left; text-decoration:underline; text-underline-offset:4px; cursor:pointer; }
.team-status { font-size:12px; text-transform:uppercase; letter-spacing:.06em; color:#52665a; }
.team-detail-heading { margin:28px 0; }
.team-detail-heading h2 { margin:12px 0; font-size:28px; overflow-wrap:anywhere; }
.team-detail-layout { display:grid; grid-template-columns:minmax(0,1fr) 260px; gap:28px; align-items:start; }
.team-detail-section { padding:22px; border:1px solid #d9e2da; background:#fff; border-radius:5px; margin-bottom:22px; min-width:0; }
.team-detail-section h3 { font-size:17px; margin:0 0 18px; }
.team-detail-section h4 { font-size:14px; margin:18px 0 6px; }
.team-detail-section .team-form { margin-top:20px; margin-bottom:0; padding:0; border:0; }
.team-history,.team-discussion,.team-notifications { margin:0; padding:0; list-style:none; }
.team-history li { padding:14px 0; border-bottom:1px solid #e3e9e1; font-size:13px; line-height:1.6; }
.team-history time,.team-discussion time { color:#586b60; font-size:12px; }
.team-discussion li { padding:16px 0; border-bottom:1px solid #e3e9e1; }
.team-discussion p { white-space:pre-wrap; overflow-wrap:anywhere; line-height:1.7; margin-bottom:0; }
.team-notifications li { display:flex; flex-wrap:wrap; justify-content:space-between; gap:16px; padding:20px 0; border-bottom:1px solid #d9e2da; }
.team-unread { font-size:12px; color:#22664d; margin-left:12px; }
.team-review { padding:16px; border-left:3px solid #22664d; background:#f1f6f1; }
.team-workspace button:focus-visible { outline:2px solid #22664d; outline-offset:3px; }
@media(max-width:950px) { .team-detail-layout { grid-template-columns:1fr; } }
@media(max-width:700px) { .team-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); } .team-metrics div { border-bottom:1px solid #d9e2da; padding:16px; } .team-queue-heading { flex-wrap:wrap; } .team-assignment-list article { grid-template-columns:1fr;gap:10px; } .team-assignment-list button { justify-self:start; } .team-detail-section { padding:18px; } .team-tabs button { padding:10px; font-size:13px; } }
@media(max-width:700px) { .team-header,.team-section-heading { flex-direction:column;gap:10px; } .team-fields { grid-template-columns:1fr; } .team-form { padding:18px; } .team-invitation { margin:24px 14px;padding:22px; } }
