.consumer :is(.owner-team-page,.team-person-page){padding-top:25px;padding-bottom:32px}
.consumer .team-page-intro h1{font-size:25px;line-height:1.5;margin:0 0 9px;text-wrap:balance}
.consumer .team-page-intro p{font-size:13px;line-height:1.85;color:var(--muted);margin:0;max-width:65ch}
.team-house{margin-top:30px}
.team-house-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-bottom:15px}
.team-house-heading>div{min-width:0;flex:1}
.consumer .team-house-heading h2{font-size:21px;margin:0 0 4px;overflow-wrap:anywhere}
.consumer .team-house-heading p{font-size:12px;color:var(--muted);margin:0;overflow-wrap:anywhere}
.team-house-heading>a{display:grid;place-items:center;min-width:44px;min-height:44px;color:var(--brand);background:var(--pale);border-radius:12px}
.team-house-heading .icon{width:20px;height:20px}
.team-service{padding:21px 0 5px}
.team-service>header{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding-bottom:6px}
.consumer .team-service h3{font-size:15px;line-height:1.7;margin:0;font-weight:600;overflow-wrap:anywhere}
.team-service>header>small{flex:none;color:var(--muted);font-size:11px}
.team-service-links{display:flex;flex-wrap:wrap;gap:4px 18px;margin-top:9px}
.team-service-links>a{display:flex;align-items:center;gap:5px;min-height:44px;font-size:12px;color:var(--brand)}
.team-service-links .icon{width:13px;height:13px}
.team-service-roster{display:flex;flex-wrap:wrap;gap:0 16px;padding-top:8px}
.team-service-roster>a{display:flex;align-items:center;gap:6px;min-height:44px;color:var(--brand);font-size:12px}
.team-service-roster span{font-size:11px;color:var(--muted)}
.team-panel{padding:18px 16px 16px;background:var(--paper);border:1px solid var(--line);border-radius:16px}
.team-panel-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.consumer .team-panel-heading h3{font-size:17px;line-height:1.5;margin:0}
.team-panel-heading>span{font-size:11px;color:var(--muted)}
.team-people-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:23px 10px;padding:22px 0 7px}
.team-person{display:flex;flex-direction:column;align-items:center;min-width:0;color:var(--ink);text-align:center;border-radius:10px}
.team-portrait{display:block;position:relative;width:100%;flex:none}
.team-avatar{display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;object-position:center top;border-radius:10px;background:var(--pale);color:var(--brand)}
.team-person>.team-portrait{width:min(100%,76px);margin-bottom:7px}
.team-person .team-avatar{aspect-ratio:1;border-radius:50%;object-position:center 17%}
.team-photo-caption{position:absolute;bottom:6px;left:6px;padding:2px 5px;background:var(--paper);color:var(--brand);border-radius:3px;font-size:10px;line-height:1.6}
.team-avatar-neutral{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px}
.team-avatar-neutral>.icon{width:29px;height:29px;stroke-width:1.4}
.team-avatar-neutral>small{font-size:10px;line-height:1.7;color:var(--brand)}
.team-person>strong{font-size:14px;line-height:1.7;font-weight:600;margin-top:6px;overflow-wrap:anywhere}
.team-person-position{position:absolute;bottom:-7px;left:50%;transform:translateX(-50%);display:block;width:max-content;min-width:46px;max-width:calc(100% + 6px);padding:3px 5px;color:var(--brand);background:var(--pale);border-radius:5px;font-size:11px;line-height:1.4;white-space:nowrap}
.team-person-primary .team-person-position{color:var(--paper);background:var(--brand);font-size:12px;font-weight:600;padding-block:4px}
.team-person-primary>strong{color:var(--brand)}
.team-history{margin-top:7px;border-bottom:1px solid var(--line)}
.team-history>summary{display:flex;align-items:center;justify-content:space-between;gap:14px;list-style:none;cursor:pointer;min-height:48px;font-size:12px;color:var(--muted)}
.team-history>summary::-webkit-details-marker{display:none}
.team-history>summary>.icon{width:13px;height:13px}
.team-history[open]>summary>.icon{transform:rotate(90deg)}
.team-active-services{margin-top:12px}
.team-past-services{margin-top:0}
.consumer .team-empty-note{font-size:13px;line-height:1.85;color:var(--muted);margin:15px 0}
.house-team-summary{margin:4px 0 25px}
.team-summary-heading{display:flex;align-items:center;justify-content:space-between;gap:14px}
.consumer .team-summary-heading h2{font-size:18px;margin:0}
.team-summary-heading>a{display:flex;align-items:center;gap:4px;min-height:44px;font-size:12px;color:var(--brand)}
.team-summary-heading>a>.icon{width:13px;height:13px}
.team-person-hero{display:flex;align-items:center;gap:23px;margin:6px 0 14px}
.team-person-hero>.team-portrait{width:116px;flex:0 0 116px}
.team-person-hero .team-avatar{border-radius:12px;height:145px}
.team-person-hero>div{flex:1;min-width:0}
.consumer .team-person-hero h1{font-size:29px;line-height:1.4;margin:0 0 5px;overflow-wrap:anywhere}
.consumer .team-person-trade{font-size:15px;line-height:1.8;margin:0 0 9px;overflow-wrap:anywhere}
.team-person-state{display:inline-flex;align-items:center;gap:5px;font-size:11px;line-height:1.7;color:var(--brand);padding:3px 7px;background:var(--pale);border-radius:4px}
.team-person-state .icon{width:12px;height:12px}
.consumer .team-person-house{display:flex;align-items:flex-start;gap:5px;margin:12px 0 0;font-size:12px;line-height:1.7;color:var(--muted);overflow-wrap:anywhere}
.team-person-house .icon{width:13px;height:13px;flex:none;margin-top:3px}
.consumer .team-person-origin{font-size:11px;line-height:1.8;color:var(--muted);margin:0 0 23px}
.team-person-rating{padding:19px 0 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);color:var(--brand)}
.team-rating-main{display:flex;align-items:center;gap:20px;padding-bottom:5px}
.team-rating-value{flex:none;white-space:nowrap}
.team-rating-value strong{font-size:38px;font-weight:600;line-height:1.3;letter-spacing:-.025em;font-variant-numeric:tabular-nums}
.team-rating-value>span{font-size:13px}
.team-rating-value.is-empty strong{font-size:24px}
.consumer .team-person-rating h2{font-size:13px;font-weight:600;margin:0 0 3px}
.consumer .team-person-rating p{font-size:12px;line-height:1.85;margin:0;color:var(--muted)}
.team-person-rating details{font-size:11px}
.team-person-rating details>p{padding:0 0 16px}
.team-person-rating summary,.team-tag-basis summary{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:44px;cursor:pointer;color:var(--muted);list-style:none}
.team-person-rating summary::-webkit-details-marker,.team-tag-basis summary::-webkit-details-marker{display:none}
.team-person-rating summary .icon,.team-tag-basis summary .icon{width:12px;height:12px}
.team-person-rating details[open] summary .icon,.team-tag-basis[open] summary .icon{transform:rotate(90deg)}
.team-person-section{margin-top:30px}
.team-detail-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:15px}
.consumer .team-detail-heading h2{font-size:18px;line-height:1.6;margin:0}
.team-detail-heading>small{font-size:11px;color:var(--muted);flex:none}
.team-tags{display:flex;gap:8px;flex-wrap:wrap}
.team-tags>span{background:var(--pale);color:var(--brand);padding:6px 9px;border-radius:5px;font-size:12px;line-height:1.7}
.team-tag-basis{font-size:12px;line-height:1.85;color:var(--muted);margin-top:4px}
.consumer .team-tag-basis p{font-size:12px;line-height:1.85;margin:5px 0 10px;color:var(--muted)}
.team-person-scope>article{padding:17px 0;border-bottom:1px solid var(--line)}
.team-person-scope>article:first-child{padding-top:0}
.team-person-scope>article>div{display:flex;justify-content:space-between;align-items:baseline;gap:13px}
.consumer .team-person-scope h3{font-size:14px;font-weight:600;margin:0;line-height:1.7;overflow-wrap:anywhere}
.team-person-scope>article>div>span{flex:none;font-size:11px;color:var(--brand)}
.consumer .team-person-scope p{font-size:13px;line-height:1.85;margin:7px 0 0;color:var(--muted);overflow-wrap:anywhere}
.consumer .team-person-scope .team-scope-position{display:flex;align-items:center;gap:6px;color:var(--brand);font-size:12px;margin-top:9px}
.team-scope-position .icon{width:13px;height:13px;flex:none}
.team-person-scope small{font-size:11px;color:var(--muted)}
.team-person-history{border-bottom:0;margin-top:5px}
.team-reviews>article{padding:19px 0;border-bottom:1px solid var(--line)}
.team-reviews>article:first-child{padding-top:0}
.team-reviews header{display:flex;align-items:center;gap:10px}
.team-review-avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--pale);color:var(--brand);flex:none}
.team-review-avatar .icon{width:17px;height:17px}
.team-reviews header>div{flex:1;min-width:0}
.team-reviews strong{display:block;font-size:13px;font-weight:600}
.team-reviews header>div>small{display:block;font-size:10px;color:var(--muted);line-height:1.7}
.team-review-score{font-size:20px;line-height:1.4;color:var(--brand);font-weight:600;font-variant-numeric:tabular-nums;flex:none}
.team-review-score>small{font-size:11px;font-weight:400}
.consumer .team-reviews p{font-size:14px;line-height:1.9;margin:14px 0 0;color:var(--ink);overflow-wrap:anywhere}
.team-reviews-empty{padding:22px 18px;text-align:center;background:var(--pale);border-radius:12px;color:var(--brand)}
.team-reviews-empty>.icon{width:25px;height:25px}
.consumer .team-reviews-empty p{font-size:14px;font-weight:600;margin:7px 0 4px}
.team-reviews-empty>small{font-size:12px;line-height:1.8}
:is(.owner-team-page,.team-person-page,.house-team-summary) :is(a,summary):focus-visible{outline:2px solid var(--brand);outline-offset:3px;border-radius:4px}
:is(.owner-team-page,.team-person-page,.house-team-summary) ::selection{background:var(--brand);color:var(--paper)}
@media(hover:hover){.team-person:hover .team-avatar{outline:2px solid var(--brand);outline-offset:3px}.team-house-heading>a:hover{background:var(--line)}}
@media(max-width:360px){.team-service>header{align-items:flex-start;gap:8px}.team-service>header>small{max-width:70px;white-space:normal;text-align:right}.team-panel{padding:16px 12px}.team-people-grid{gap:21px 9px}.team-person>strong{font-size:13px}.team-person-position{font-size:10px;min-width:40px;padding:3px 4px}}
@media(max-width:360px){.team-person-hero{gap:17px}.team-person-hero>.team-portrait{width:104px;flex-basis:104px}.team-person-hero .team-avatar{height:130px}.consumer .team-person-hero h1{font-size:26px}.consumer .team-person-trade{font-size:14px}.team-detail-heading{gap:8px}.team-detail-heading>small{font-size:10px}}
.team-tag-rule{margin-top:8px;font-size:12px;line-height:1.7;color:var(--muted)}
