.team-rosters{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));gap:14px;margin:20px 0}.team-roster{border:1px solid #dce4df;border-radius:4px;background:#fff}.team-roster summary{cursor:pointer;padding:18px}.team-roster summary strong{display:block;color:#112820;font-size:1.05rem}.team-roster summary span{display:block;margin-top:5px;font-size:.78rem;color:#60716a}.team-roster-body{padding:0 20px 18px}.team-roster-body p{font-size:.85rem}.team-roster-body ol{padding-left:22px}.team-roster-body li{padding:6px 0;border-top:1px solid #edf1ed}.team-roster-body small{display:block;color:#66776d}.team-table-scroll{overflow-x:auto;max-width:100%;margin:20px 0}.team-table{width:100%;border-collapse:collapse;font-size:.86rem}.team-table caption{text-align:left;padding:10px 0;font-weight:800}.team-table th,.team-table td{padding:12px;text-align:left;border-bottom:1px solid #e1e8e2}.team-table th{font-size:.72rem;text-transform:uppercase;background:#eef3ee;color:#43594c;white-space:nowrap}.team-table td small{display:block;color:#64776a;font-size:.75rem;margin-top:5px}.team-table a{color:#145b3b;text-decoration:underline}.team-plan-summary{display:flex;flex-wrap:wrap;gap:28px;padding:18px 0}.team-plan-summary strong{display:block;font-size:1.55rem;color:#123c27}.team-plan-summary span{font-size:.75rem;color:#617669}.team-stack{display:grid;gap:24px}.team-stack>.portal-card{padding:24px}.team-slot{border:1px solid #d8e2d8;border-radius:3px;padding:18px;margin:15px 0;min-width:0}.team-slot legend{padding:0 7px;font-weight:800;color:#15442c}.team-lineup-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px}.team-inline-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:16px 0}.team-inline-actions form{margin:0}.team-step{border-left:3px solid #96ca3c;padding:10px 16px;margin:18px 0;background:#f3f7ef;color:#294635}.team-step strong{display:block;margin-bottom:5px}.team-roster-editor-row{display:grid;grid-template-columns:30px minmax(0,1fr) auto;gap:9px;align-items:center;margin:10px 0}.team-roster-editor-row select{width:100%;min-width:0}.team-small-button{border:1px solid #b9c8bc;background:#fff;color:#244930;padding:9px 11px;border-radius:3px;cursor:pointer;font-weight:700}.team-help,.team-empty{font-size:.85rem;color:#62756a;line-height:1.65}.team-encounter-card{padding:22px;border:1px solid #d7e2d8;background:#fff;margin:16px 0}.team-encounter-card h2{font-size:1.2rem;margin:14px 0}.team-encounter-card p{font-size:.85rem;color:#5e7165}.team-danger-zone{margin-top:20px;padding-top:18px;border-top:1px solid #dedfda}.team-public-acta{margin:14px 0;border-top:1px solid #dae4dc;padding:12px 0}.team-public-acta summary{cursor:pointer;font-weight:700}.team-actions-title{font-size:1.2rem}.team-slot-options{display:grid;grid-template-columns:1fr 1fr;gap:14px}.team-slot input[type=checkbox]{width:auto}.team-compact-checkbox{display:flex!important;gap:9px;align-items:center}.team-compact-checkbox input{width:auto!important}.team-public-intro{padding:15px;background:#f1f5ec}.team-locked{font-size:.85rem;background:#f6f3e8;color:#665d29;padding:14px}.team-config-slots>.team-slot:first-child{margin-top:0}.team-preview{border:2px solid #b1d462;padding:18px;background:#fbfff6}.team-hidden{display:none!important}@media(max-width:650px){.team-lineup-grid,.team-slot-options{grid-template-columns:1fr}.team-stack>.portal-card{padding:17px}.team-table th,.team-table td{padding:9px}.team-slot{padding:12px}.team-roster-editor-row{grid-template-columns:24px minmax(0,1fr) auto}.team-small-button{padding:9px}.team-plan-summary{gap:20px}}

.team-logo{width:48px;height:48px;object-fit:contain;float:left;margin:0 12px 8px 0}.team-roster summary{min-height:82px}.team-roster-body{clear:both}.team-slot[hidden]{display:none}.team-roster-body .portal-form select{max-width:100%;min-width:0}
.team-responsibility{padding:16px 0;border-top:1px solid #e1e8e2}.team-responsibility h3{margin:0 0 8px}.team-order-row{display:grid;grid-template-columns:76px minmax(0,1fr) auto;gap:14px;align-items:center;padding:12px 0;border-bottom:1px solid #e1e8e2}.team-order-row input{width:100%}.team-order-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.team-order-actions{display:flex;gap:6px}.team-small-button:disabled{opacity:.45;cursor:default}.team-order-actions [hidden]{display:none}@media(max-width:650px){.team-order-row{grid-template-columns:62px minmax(0,1fr) auto;gap:8px}}

.team-dashboard-card { margin-bottom: 24px; }
.team-dashboard-body { display: grid; gap: 20px; padding: 22px 24px 24px; overflow-wrap: anywhere; }
.team-dashboard-body > *, .team-dashboard-body .team-membership { min-width: 0; }
.team-dashboard-body .team-help, .team-dashboard-body .team-empty { margin: 0; }
.team-dashboard-body .team-responsibility { padding: 20px 0 0; }
.team-dashboard-body .team-inline-actions { margin: 16px 0 0; }
.team-dashboard-body .team-rosters { margin: 12px 0 0; }
.team-membership + .team-membership { padding-top: 20px; border-top: 1px solid #e1e8e2; }
.team-recruitment-control { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin: 20px 0; }
.team-recruitment-control form { margin: 0; }
.team-recruitment-status { display: inline-flex; align-items: center; gap: 9px; margin: 0; padding: 9px 13px; font-size: .85rem; font-weight: 700; border: 1px solid currentColor; }
.team-recruitment-status--open { color: #176b3a; background: #edf8f0; }
.team-recruitment-status--closed { color: #a12d26; background: #fff0ee; }
.team-recruitment-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
@media (max-width: 560px) {
    .team-dashboard-body { padding: 20px 17px; }
    .team-dashboard-body .team-inline-actions { align-items: stretch; flex-direction: column; }
    .team-dashboard-body .portal-button { text-align: center; }
    .team-recruitment-control { align-items: stretch; flex-direction: column; }
    .team-recruitment-status { align-self: flex-start; }
    .team-recruitment-control .portal-button { width: 100%; }
}
