/* Each original presentation keeps its own first screen. Teams follow below. */
.agent-dialog.has-team-recommendations[open]{display:block;overflow:hidden;max-height:calc(100svh - 24px);padding-bottom:52px}
.agent-page-scroll{height:100%;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#5c5472 #11141e;border-radius:inherit}
.agent-page-intro{position:relative;height:100%;min-height:0;isolation:isolate}
/* A reserved bottom rail keeps the shared cue off portraits, copy and controls.
   Keep its space while hidden so scrolling never shifts the presentation. */
.agent-scroll-cue{position:absolute;z-index:18;left:50%;bottom:3px;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-width:126px;min-height:46px;padding:3px 14px;border:0;border-radius:10px;background:transparent;color:#dcd4f0;font:500 .7rem/1.4 "DM Sans",sans-serif;letter-spacing:.04em;cursor:pointer;transition:opacity .35s ease,visibility .35s ease,color .2s ease}
.agent-scroll-cue:hover{color:#fff}
.agent-scroll-cue:focus-visible{outline:2px solid #d3c2f4;outline-offset:3px}
.agent-scroll-arrow{display:block;font-size:1rem;line-height:1.15;animation:agentScrollDrift 3.4s ease-in-out infinite}
.agent-scroll-cue.is-scrolled{opacity:0;visibility:hidden;pointer-events:none}
.agent-scroll-cue.is-scrolled .agent-scroll-arrow{animation:none}
@keyframes agentScrollDrift{0%,100%{transform:translateY(-2px);opacity:.55}50%{transform:translateY(2px);opacity:1}}
@media(prefers-reduced-motion:reduce){.agent-scroll-cue{transition:none}.agent-scroll-arrow{animation:none}}
.team-recommendations{padding:48px 4% 44px;background:radial-gradient(ellipse at 80% 15%,#422a672b,transparent 55%),linear-gradient(145deg,#101822,#100f19);border-top:1px solid #b7a2dc30;color:#f2f3f8}
.team-section-heading{max-width:760px;margin-bottom:30px}
.team-eyebrow{margin:0 0 12px;color:#b5a1e8;font:600 .67rem/1.5 "DM Sans",sans-serif;letter-spacing:.17em}
.team-section-heading h2{margin:0 0 16px;font-family:"Playfair Display",Georgia,serif;font-size:clamp(1.9rem,3.5vw,3rem);font-weight:600;line-height:1.1;letter-spacing:-.035em}
.team-section-heading>p:not(.team-eyebrow){margin:0;color:#bec3d1;font-size:1rem;line-height:1.6}
.team-section-heading strong{color:#e9e1ff;font-weight:500}
.team-independent{display:block;margin-top:12px;color:#a8b0bf;font-size:.82rem;line-height:1.5}
.team-recommendation-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.team-card{display:flex;flex-direction:column;min-width:0;padding:20px;border:1px solid #bba7e52b;border-radius:18px;background:linear-gradient(145deg,#2424359c,#131a249e);box-shadow:inset 0 1px #ffffff06}
.team-card-top{display:grid;min-height:60px;margin-bottom:16px}
.team-card-label,.team-person-tip{grid-area:1 / 1}
.team-card-label{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#9cabc0;font-size:.6rem;font-weight:600;letter-spacing:.11em}
.team-card-label>span:last-child{color:#c4b3e9}
.team-portraits{display:grid;grid-template-columns:repeat(3,minmax(0,100px));gap:8px;margin-bottom:19px;align-items:stretch}
/* Portraits are decorative: hover belongs to the card, never the media UI. */
.agent-portrait-media{pointer-events:none;user-select:none;-webkit-user-drag:none}
.agent-portrait-media::-webkit-media-controls{display:none!important}
.agent-portrait-media::-webkit-media-controls-enclosure{display:none!important}
.team-person{--portrait-accent:#bda6ef;position:relative;flex:1;min-width:0;max-width:100px;outline-offset:4px;border-radius:11px;background:#191b26}
.team-person-hunter{--portrait-accent:#83d5f0}.team-person-pulse{--portrait-accent:#84dbf5}.team-person-nova{--portrait-accent:#d3a0f5}.team-person-operator{--portrait-accent:#ffa296}.team-person-studio{--portrait-accent:#ffb185}
.team-person>.agent-portrait-media{display:block;width:100%;height:auto;aspect-ratio:4 / 5;object-fit:cover;object-position:center 22%;border-radius:11px;border:1px solid #c7bad530;transition:border-color .2s,filter .2s}
.team-person-name{position:absolute;inset:auto 0 0;padding:22px 7px 8px;border-radius:0 0 11px 11px;background:linear-gradient(transparent,#080c16ed);text-align:center;color:#fff;font-size:.72rem;font-weight:600}
.team-person-tip{align-self:start;visibility:hidden;opacity:0;padding:10px 12px;border:1px solid #bda6ef;border-radius:10px;background:#121b2b;color:#f4f4f9;font-size:.78rem;line-height:1.5;transition:opacity .15s}
.team-person:is(:hover,:focus-visible)>.agent-portrait-media{border-color:var(--portrait-accent);filter:brightness(1.08)}
.team-card:has(.team-person:is(:hover,:focus)) .team-card-label{visibility:hidden}
.team-card:has(.team-person[data-tip="0"]:hover) .team-person-tip[data-tip="0"],
.team-card:has(.team-person[data-tip="1"]:hover) .team-person-tip[data-tip="1"],
.team-card:has(.team-person[data-tip="2"]:hover) .team-person-tip[data-tip="2"],
.team-card:not(:has(.team-person:hover)):has(.team-person[data-tip="0"]:focus) .team-person-tip[data-tip="0"],
.team-card:not(:has(.team-person:hover)):has(.team-person[data-tip="1"]:focus) .team-person-tip[data-tip="1"],
.team-card:not(:has(.team-person:hover)):has(.team-person[data-tip="2"]:focus) .team-person-tip[data-tip="2"]{visibility:visible;opacity:1}
.team-person:focus-visible{outline:2px solid var(--portrait-accent)}
.team-card h3{margin:0 0 10px;color:#f3effb;font-size:1rem;font-weight:600;line-height:1.4}
.team-message{margin:0 0 12px;color:#d6c5f7;font-size:.96rem;font-weight:500;line-height:1.45}
.team-explanation{margin:0 0 20px;color:#b9c2d1;font-size:.8rem;line-height:1.65}
.team-flow{display:flex;flex-wrap:wrap;align-items:center;gap:7px;color:#dae3ed;font-size:.7rem;line-height:1.6}
.team-flow-arrow{color:#a895d7}
.team-card>.team-flow{margin-top:auto;padding-top:10px;border-top:1px solid #c7bad51c}
.team-build-button,.team-save-button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:46px;margin-top:18px;padding:12px 15px;border:1px solid #b6a1e066;border-radius:10px;background:linear-gradient(110deg,#604c9270,#32354e);color:#f6f1ff;font:600 .8rem/1.4 "DM Sans",sans-serif;cursor:pointer;transition:background .2s,border-color .2s}
.team-build-button:hover,.team-save-button:hover{border-color:#d4bfff;background:linear-gradient(110deg,#7056a7,#3a4467)}
.team-build-button:focus-visible,.team-save-button:focus-visible,.team-builder-close:focus-visible{outline:2px solid #cdb8ff;outline-offset:4px}
.team-builder{width:min(980px,calc(100% - 28px));max-width:980px;max-height:calc(100svh - 28px);margin:auto;padding:0;overflow:auto;overscroll-behavior:contain;border:1px solid #b7a0db66;border-radius:24px;background:radial-gradient(ellipse at top right,#392654,#121824 65%);color:#f2f2f8;box-shadow:0 36px 100px #000b;color-scheme:dark}
.team-builder::backdrop{background:#030610bd;backdrop-filter:blur(10px)}
.team-builder-bar{position:sticky;top:0;z-index:4;display:flex;align-items:center;justify-content:space-between;padding:12px 22px;background:#141725f5;border-bottom:1px solid #ae99cb24}
.team-builder-bar>span{font-size:.63rem;letter-spacing:.17em;color:#bcb1d5}
.team-builder-close{width:40px;height:40px;flex:none;border:1px solid #bcacd044;border-radius:50%;background:#252638;color:#f5edff;font-size:1.5rem;cursor:pointer}
.team-builder-content{padding:28px 32px 32px}
.team-builder-content>header h2{margin:0 0 12px;font-family:"Playfair Display",Georgia,serif;font-size:2.6rem;line-height:1.1;letter-spacing:-.035em}
.team-builder-content>header>p:last-child{margin:0;color:#b9c1cf;font-size:.92rem;line-height:1.6}
.team-builder-layout{display:grid;grid-template-columns:1.1fr 1fr;gap:26px;margin-top:28px;align-items:start}
.team-options{display:grid;gap:9px;min-width:0;margin:0;padding:0;border:0}
.team-options legend{padding:0;margin:0 0 14px;color:#dce3ed;font-size:.85rem;font-weight:600}
.team-option{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid #acb4cc29;border-radius:12px;background:#141d2b;cursor:pointer}
.team-option:has(input:checked){border-color:var(--portrait-accent);background:#2a293c}
.team-option:focus-within{outline:2px solid #d0b9ff;outline-offset:3px}
.team-option input{width:18px;height:18px;flex:none;margin:0;accent-color:#bda2ef}
.team-option .agent-portrait-media{width:46px;height:58px;flex:none;border-radius:8px;object-fit:cover;object-position:center 22%}
.team-option>span{min-width:0}
.team-option strong,.team-option small,.team-option>span>span{display:block}
.team-option strong{font-size:.88rem;font-weight:600;color:#f1eff8}
.team-option small{margin-top:2px;color:var(--portrait-accent);font-size:.7rem}
.team-option>span>span{margin-top:5px;color:#bcc5d4;font-size:.72rem;line-height:1.5}
.team-summary{padding:24px;border:1px solid #bca7dd36;border-radius:16px;background:#101723ad}
.team-summary h3{font-size:1.4rem;margin:0 0 12px;font-weight:500;line-height:1.25}
.team-selection{min-height:24px;color:#d4c0f6;font-size:.9rem;line-height:1.6}
.team-summary-flow>p{color:#b9c4d3;font-size:.78rem;line-height:1.65}
.team-summary-flow .team-workflow-label{font-size:.6rem;letter-spacing:.12em;color:#a4adc1;margin-top:22px}
.team-summary-flow .team-flow{font-size:.8rem}
.team-pricing{margin-top:22px;padding-top:20px;border-top:1px solid #b9accf29}
.team-pricing>span{display:block;color:#a6b1c4;font-size:.75rem}
.team-pricing strong{display:block;margin-top:5px;color:#ede8f8;font-size:1.15rem;font-weight:500}
.team-pricing p,.team-builder-note,.team-save-help,.team-save-status{color:#adb8c9;font-size:.74rem;line-height:1.6}
.team-builder-note{margin-top:20px}
.team-save-button{background:linear-gradient(110deg,#65509b,#414a71)}
.team-save-button:disabled{opacity:.45;cursor:not-allowed}
.team-save-status{color:#9ce5cb;margin-bottom:0}
@media(max-width:980px){
 .agent-dialog.has-team-recommendations[open]{height:calc(100svh - 24px)}
 .studio-dialog .agent-page-intro,.operator-dialog .agent-page-intro{height:auto;min-height:100%}
 .team-recommendation-grid{gap:12px}.team-card{padding:15px}
}
@media(max-width:900px){.hunter-dialog .agent-page-intro,.nova-dialog .agent-page-intro{height:auto;min-height:100%}}
@media(max-width:720px){
 .pulse-dialog .agent-page-intro{height:auto;min-height:100%}
 .team-recommendations{padding:34px 20px}.team-recommendation-grid{grid-template-columns:1fr;gap:20px}
 .team-card{padding:20px}.team-portraits{grid-template-columns:repeat(3,minmax(0,96px))}
 .team-explanation{font-size:.86rem}.team-message{font-size:1rem}.team-card h3{font-size:1.05rem}
 .team-builder-layout{grid-template-columns:1fr}.team-builder-content{padding:24px 20px}.team-builder-content>header h2{font-size:2rem}
 .team-builder-bar{padding:10px 16px}.team-summary{padding:20px}.team-builder{border-radius:18px}
 .team-section-heading h2{max-width:14ch}
}
@media(min-width:721px) and (max-height:650px){.pulse-dialog .agent-page-intro{min-height:620px}}
@media(min-width:901px) and (max-height:650px){.hunter-dialog .agent-page-intro,.nova-dialog .agent-page-intro{min-height:620px}}
@media(min-width:981px) and (max-height:650px){.studio-dialog .agent-page-intro,.operator-dialog .agent-page-intro{min-height:620px}}
@media(prefers-reduced-motion:reduce){.team-person>.agent-portrait-media,.team-person-tip,.team-build-button,.team-save-button{transition:none}}

/* Keep narrow cards and selection controls proportional without cropping portraits. */
@media(max-width:360px){
 .team-recommendations{padding:28px 14px}
 .team-card{padding:16px}
 .team-builder-content{padding:22px 14px}
 .team-option{gap:9px;padding:10px}
 .team-summary{padding:16px}
}

@media(min-width:721px) and (max-width:1100px){.team-card-top{min-height:98px}}

/* Pavilion theme: configuration dialog only. Agent presentations and their
   recommendation cards retain their existing styles and behavior. */
.team-builder{
 --team-ink:#293a30;
 --team-muted:#56685b;
 --team-focus:#3d6653;
 color-scheme:light;
 color:var(--team-ink);
 font-family:"Segoe UI",Arial,sans-serif;
 border-color:#d2d4c3;
 background-color:#f5f2e8;
 background-image:linear-gradient(115deg,#fcfaf2f5 0%,#f7f5eae8 55%,#f3f2e5bf 100%),url("assets/scroll/pavilion-floor.png");
 background-position:center top;
 background-size:cover;
 background-repeat:no-repeat;
 background-attachment:local;
 box-shadow:inset 0 1px 0 #fffffff2,0 30px 90px #24312459;
 scrollbar-color:#94a28e #efeddf;
}
.team-builder::backdrop{background:#2635268c;backdrop-filter:blur(8px)}
.team-builder .team-builder-bar{
 background:#faf8eef2;
 border-bottom-color:#cdd2c4b8;
 box-shadow:inset 0 1px 0 #ffffffbd;
 backdrop-filter:blur(14px);
}
.team-builder .team-builder-bar>span{color:#637364;font-weight:650}
.team-builder .team-builder-close,
.team-builder .flow-menu-button{
 border-color:#c4cbbb;
 background:linear-gradient(180deg,#fffdf5,#e9e8dc);
 color:#354c3c;
 box-shadow:inset 0 1px 0 #ffffffde,0 2px 5px #5261480c;
 font-family:inherit;
}
.team-builder .team-builder-close:hover,
.team-builder .flow-menu-button:hover{background:linear-gradient(180deg,#fffef9,#dde3d3);border-color:#8fa38e}
.team-builder .team-builder-content>header h2{
 font-family:inherit;
 font-size:2.55rem;
 font-weight:700;
 color:#2d4c3d;
 letter-spacing:-.045em;
}
.team-builder .team-eyebrow{color:#63765f;font-family:inherit;font-weight:650}
.team-builder .team-builder-content>header>p:last-child{color:#536558}
.team-builder .team-options legend{color:#354c3c;font-weight:650}
.team-builder .team-option{
 border-color:#cdd2c1;
 background:linear-gradient(135deg,#fffdf7f2,#eeeee2ed);
 box-shadow:inset 0 1px 0 #ffffffc9,0 2px 5px #46563b05;
}
.team-builder .team-person-pulse{--team-agent-ink:#31645e}
.team-builder .team-person-hunter{--team-agent-ink:#385d77}
.team-builder .team-person-nova{--team-agent-ink:#715985}
.team-builder .team-person-operator{--team-agent-ink:#885d46}
.team-builder .team-person-studio{--team-agent-ink:#8d634d}
.team-builder .team-option:hover{border-color:#95aa91;background:#fcfcf2}
.team-builder .team-option:has(input:checked){
 border-color:var(--team-agent-ink,#5c7c68);
 background:linear-gradient(135deg,#f9fbf1f5,#e6eddfef);
 box-shadow:inset 3px 0 0 var(--team-agent-ink,#5c7c68),inset 0 1px 0 #ffffffe0;
}
.team-builder .team-option:focus-within{outline:3px solid var(--team-focus);outline-offset:3px}
.team-builder .team-option input{accent-color:#426c55;color-scheme:light}
.team-builder .team-option .agent-portrait-media{border:1px solid #c3c9b9;box-shadow:0 1px 4px #31432c14}
.team-builder .team-option strong{color:#293d30;font-weight:650}
.team-builder .team-option small{color:var(--team-agent-ink,#506a55);font-weight:500}
.team-builder .team-option>span>span{color:#526357}
.team-builder .team-summary{
 min-width:0;
 border-color:#c9cfbc;
 background:linear-gradient(145deg,#fffdf7f5,#ececddf5);
 box-shadow:inset 0 1px 0 #ffffffeb,0 5px 18px #45543a0b;
}
.team-builder .team-summary h3{color:#2d4435;font-weight:650;letter-spacing:-.025em}
.team-builder .team-selection{color:#3f5c48;font-weight:600;overflow-wrap:anywhere}
.team-builder .team-summary-flow>p{color:#536557}
.team-builder .team-summary-flow .team-workflow-label{color:#6a7865;font-weight:600}
.team-builder .team-flow{color:#354e3c}
.team-builder .team-flow-arrow{color:#6b816c}
.team-builder .team-pricing{border-top-color:#c2cbb797}
.team-builder .team-pricing>span{color:#677664}
.team-builder .team-pricing strong{color:#334a39;font-weight:600}
.team-builder .team-pricing p,
.team-builder .team-builder-note,
.team-builder .team-save-help,
.team-builder .team-save-status{color:#596a5b;overflow-wrap:anywhere}
.team-builder .team-contact-button,
.team-builder .team-save-button,
.team-builder .team-copy-button,
.team-builder .team-share-button,
.team-builder .trial-share{
 max-width:100%;
 border-radius:11px;
 font-family:inherit;
 font-weight:650;
 line-height:1.4;
}
.team-builder .team-contact-button{
 border-color:#29382d;
 border-top-color:#617060;
 background:linear-gradient(180deg,#39473a,#28372b);
 color:#fffef7;
 box-shadow:inset 0 1px 0 #ffffff17,0 5px 12px #2d44251c;
}
.team-builder .team-contact-button:hover:enabled{border-color:#415941;background:linear-gradient(180deg,#42533f,#30442f)}
.team-builder .team-save-button,
.team-builder .team-copy-button,
.team-builder .team-share-button,
.team-builder .trial-share{
 border-color:#bdc7b0;
 background:linear-gradient(180deg,#fffdf3,#e6e7d8);
 color:#354c38;
 box-shadow:inset 0 1px 0 #ffffffed,0 2px 5px #394c2e0a;
}
.team-builder .team-save-button:hover:enabled,
.team-builder .team-copy-button:hover:enabled,
.team-builder .team-share-button:hover:enabled,
.team-builder .trial-share:hover:enabled{border-color:#8ca486;background:linear-gradient(180deg,#fffef7,#dbe4d0)}
.team-builder .team-contact-button>span[aria-hidden="true"],
.team-builder .team-save-button>span[aria-hidden="true"]{
 display:grid;
 place-items:center;
 width:27px;
 height:27px;
 flex:none;
 border:1px solid #ffffff24;
 border-radius:7px;
 background:#ffffff0b;
 line-height:1;
}
.team-builder .team-save-button>span[aria-hidden="true"]{border-color:#adbca07d;background:#fffdf570;color:#556e4f}
.team-builder .team-contact-button:disabled,
.team-builder .team-save-button:disabled,
.team-builder .team-copy-button:disabled,
.team-builder .team-share-button:disabled,
.team-builder .trial-share:disabled{opacity:1;color:#778171;border-color:#d0d4c4;background:#e7e8de;box-shadow:none;cursor:not-allowed}
.team-builder .trial-share-url{
 min-width:0;
 border-color:#bdc8b2;
 border-radius:9px;
 background:#fffdf4;
 color:#354c38;
 font-family:inherit;
 font-size:.78rem;
 line-height:1.5;
 box-shadow:inset 0 1px 2px #354c3810;
}
.team-builder .team-save-status{color:#35624a;font-weight:600}
.team-builder :is(button,input,a):focus-visible{outline:3px solid var(--team-focus);outline-offset:3px}
@media(max-width:720px){
 .team-builder{background-position:67% top}
 .team-builder .team-builder-content>header h2{font-size:2rem}
 .team-builder .team-builder-bar>span{letter-spacing:.12em}
}

/* Native configuration: generous portraits, with the original media and controls. */
.team-builder{
 width:min(1200px,calc(100% - 32px));
 max-width:1200px;
 max-height:calc(100svh - 32px);
 border-radius:24px;
 background-image:linear-gradient(115deg,#fcfaf2f7,#f7f5ecef 62%,#eff0e3e8),url("assets/scroll/pavilion-floor.png");
}
.team-builder .team-builder-bar{min-height:70px;padding:12px 26px;gap:12px}
.team-builder .team-builder-brand{display:flex;align-items:center;gap:17px;min-width:0}
.team-builder .team-builder-brand>img{display:block;width:142px;height:auto;flex:none;padding:8px 12px;border-radius:9px;background:#2e4139;box-sizing:content-box}
.team-builder .team-builder-brand>span{font-size:10px;letter-spacing:.16em;white-space:nowrap}
.team-builder .team-builder-close{width:44px;height:44px;min-width:44px;min-height:44px;font-size:25px}
.team-builder .flow-menu-button{min-width:58px;min-height:44px;margin-left:auto;margin-right:0;font-size:13px}
.team-builder .team-builder-content{padding:25px 28px 28px}
.team-builder .team-builder-content>header .team-eyebrow{margin-bottom:8px;font-size:10px}
.team-builder .team-builder-content>header h2{margin-bottom:8px;font-size:34px;line-height:1.12}
.team-builder .team-builder-content>header>p:last-child{font-size:14px;line-height:1.5}
.team-builder .team-builder-layout{grid-template-columns:minmax(0,1.9fr) minmax(320px,1fr);gap:24px;margin-top:22px;align-items:start}
.team-builder .team-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.team-builder .team-options legend{width:100%;margin-bottom:12px;font-size:14px;line-height:1.5}
.team-builder .team-agent-count{float:right;padding:4px 9px;border:1px solid #c5cfbb;border-radius:20px;background:#edf0e3;font-size:11px;font-weight:600;white-space:nowrap}
.team-builder .team-option{position:relative;display:grid;grid-template-columns:106px minmax(0,1fr);align-items:center;gap:13px;min-width:0;min-height:156px;padding:12px;border-radius:16px;transition:border-color .18s,background .18s,box-shadow .18s}
.team-builder .team-option input{position:absolute;top:13px;right:13px;z-index:1;width:20px;height:20px;margin:0;cursor:pointer}
.team-builder .team-option .agent-portrait-media{grid-column:1;grid-row:1;display:block;width:106px;height:132px;aspect-ratio:4/5;border-radius:11px;object-fit:cover;object-position:center 22%;border-color:#bfc8b6;box-shadow:0 3px 8px #233b2724}
.team-builder .team-option>span{grid-column:2;grid-row:1;display:block;align-self:center;padding-top:20px;min-width:0}
.team-builder .team-option strong{font-size:18px;font-weight:700;line-height:1.18;letter-spacing:-.025em}
.team-builder .team-option small{margin-top:5px;font-size:12px;font-weight:600;line-height:1.3}
.team-builder .team-option>span>span{margin-top:9px;font-size:11.5px;line-height:1.45}
.team-builder .team-option:has(input:checked){box-shadow:inset 0 0 0 1px var(--team-agent-ink,#5c7c68),0 3px 10px #3e503012}
.team-builder .team-summary{position:sticky;top:92px;padding:22px;border-radius:18px}
.team-builder .team-summary .team-eyebrow{margin-bottom:8px;font-size:10px;letter-spacing:.15em}
.team-builder .team-summary h3{margin-bottom:10px;font-size:24px;line-height:1.18}
.team-builder .team-selection{min-height:0;margin:0 0 12px;font-size:14px;line-height:1.5}
.team-builder .team-summary-flow>p{margin:0 0 10px;font-size:12px;line-height:1.5}
.team-builder .team-summary-flow .team-workflow-label{margin:16px 0 7px;font-size:10px}
.team-builder .team-summary-flow .team-flow{margin-bottom:8px;font-size:12px;gap:5px}
.team-builder .team-pricing{margin-top:16px;padding-top:14px}
.team-builder .team-pricing>span{font-size:11px}
.team-builder .team-pricing strong{font-size:18px}
.team-builder .team-pricing p{margin:6px 0 0;font-size:11px;line-height:1.5}
.team-builder .team-builder-note{margin:13px 0 0;font-size:11px;line-height:1.5}
.team-builder :is(.team-contact-button,.team-save-button,.trial-share){display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:46px;margin-top:12px;padding:11px 14px;font-size:12px;line-height:1.4;cursor:pointer}
.team-builder .team-contact-button{min-height:48px;margin-top:18px}
.team-builder .team-save-help{margin:11px 0 0;font-size:10.5px;line-height:1.45}
.team-builder .team-save-status{margin:9px 0 0;font-size:11px;line-height:1.5}
.team-builder .trial-share-url{min-height:44px;font-size:12px;overflow:hidden}
@media(min-width:1101px) and (min-height:820px){
 .team-builder .team-builder-content{padding:28px 30px 30px}
 .team-builder .team-builder-content>header h2{font-size:39px}
 .team-builder .team-builder-layout{grid-template-columns:minmax(0,2.1fr) minmax(330px,1fr);gap:26px;margin-top:26px}
 .team-builder .team-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
 .team-builder .team-option{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:12px;min-height:0}
 .team-builder .team-option .agent-portrait-media{width:100%;height:166px;aspect-ratio:auto;object-position:center 22%}
 .team-builder .team-option input{top:21px;right:21px;width:21px;height:21px}
 .team-builder .team-option>span{padding:13px 1px 2px}
 .team-builder .team-option strong{font-size:20px}
 .team-builder .team-option small{font-size:12px}
 .team-builder .team-option>span>span{font-size:11.5px;margin-top:8px;min-height:50px}
 .team-builder .team-summary{padding:24px}
}
@media(min-width:721px) and (max-height:780px){
 .team-builder .team-builder-bar{min-height:64px;padding:10px 24px}
 .team-builder .team-builder-content{padding:18px 24px 22px}
 .team-builder .team-builder-content>header h2{font-size:31px;margin-bottom:5px}
 .team-builder .team-builder-content>header .team-eyebrow{margin-bottom:5px}
 .team-builder .team-builder-layout{margin-top:17px;gap:20px}
 .team-builder .team-option{grid-template-columns:96px minmax(0,1fr);gap:11px;padding:10px;min-height:144px}
 .team-builder .team-option .agent-portrait-media{width:96px;height:124px}
 .team-builder .team-option strong{font-size:17px}
 .team-builder .team-option small{font-size:11px}
 .team-builder .team-option>span>span{font-size:11px;margin-top:7px}
 .team-builder .team-summary{top:80px;padding:18px}
 .team-builder .team-summary h3{font-size:22px}
 .team-builder .team-pricing{margin-top:12px;padding-top:11px}
 .team-builder .team-builder-note{margin-top:10px}
 .team-builder :is(.team-contact-button,.team-save-button,.trial-share){margin-top:9px;min-height:44px;padding-block:9px}
 .team-builder .team-contact-button{margin-top:14px}
}
@media(min-width:721px) and (max-width:1100px){
 .team-builder .team-builder-layout{grid-template-columns:minmax(0,1.45fr) minmax(280px,1fr);gap:18px}
 .team-builder .team-options{grid-template-columns:1fr}
 .team-builder .team-option{grid-template-columns:106px minmax(0,1fr);min-height:152px}
 .team-builder .team-option .agent-portrait-media{width:106px;height:132px}
}
@media(max-width:720px){
 .team-builder{width:calc(100% - 20px);max-height:calc(100svh - 20px);border-radius:18px}
 .team-builder .team-builder-bar{min-height:66px;padding:10px 14px;gap:9px}
 .team-builder .team-builder-brand{gap:0}
 .team-builder .team-builder-brand>img{width:106px;padding:7px 9px;border-radius:8px}
 .team-builder .team-builder-brand>span{display:none}
 .team-builder .team-builder-content{padding:23px 16px 22px}
 .team-builder .team-builder-content>header h2{font-size:30px}
 .team-builder .team-builder-content>header>p:last-child{font-size:13px;line-height:1.5}
 .team-builder .team-builder-layout{display:flex;flex-direction:column;gap:24px;margin-top:22px}
 .team-builder .team-options{display:grid;width:100%;grid-template-columns:1fr;gap:12px}
 .team-builder .team-options legend{font-size:13px;line-height:26px;margin-bottom:12px}
 .team-builder .team-agent-count{font-size:10px;padding:2px 8px;line-height:20px}
 .team-builder .team-option{grid-template-columns:112px minmax(0,1fr);gap:14px;min-height:164px;padding:12px}
 .team-builder .team-option .agent-portrait-media{width:112px;height:140px}
 .team-builder .team-option strong{font-size:19px}
 .team-builder .team-option small{font-size:12px}
 .team-builder .team-option>span>span{font-size:11.5px}
 .team-builder .team-summary{position:relative;top:auto;width:100%;padding:22px}
 .team-builder :is(.team-contact-button,.team-save-button,.trial-share){min-height:48px;font-size:13px}
}
@media(max-width:360px){
 .team-builder .team-builder-bar{padding-inline:11px;gap:7px}
 .team-builder .team-builder-brand>img{width:91px;padding-inline:8px}
 .team-builder .flow-menu-button{min-width:53px;padding-inline:9px}
 .team-builder .team-builder-content{padding:21px 12px}
 .team-builder .team-options legend{font-size:12px}
 .team-builder .team-agent-count{font-size:9px;padding-inline:7px}
 .team-builder .team-option{grid-template-columns:96px minmax(0,1fr);gap:12px;padding:10px;min-height:146px}
 .team-builder .team-option .agent-portrait-media{width:96px;height:126px}
 .team-builder .team-option strong{font-size:18px}
 .team-builder .team-option small{font-size:11px}
 .team-builder .team-option>span>span{font-size:11px}
 .team-builder .team-summary{padding:18px}
}
