/* Broker school and open editorial homepage, within the existing identity. */
.broker-home {max-width:1400px}
.broker-home .recruitment-hero {max-width:none;display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:clamp(32px,4vw,64px);align-items:start;padding-block:clamp(48px,5vw,72px)}
.broker-home .hero-copy {min-width:0}
.broker-home .recruitment-hero h1 {font-size:clamp(48px,5.6vw,80px);max-width:13ch}
.broker-home .hero-sale {min-width:0;width:100%;max-width:380px;justify-self:end;padding-top:22px;border-top:1px solid var(--line)}
.broker-home .hero-sale h2 {font-family:var(--serif);font-weight:400;font-size:32px;line-height:1.15;overflow-wrap:anywhere}
.hero-sale .example-disclaimer {font-size:14px;line-height:1.6;color:var(--muted);margin:12px 0 22px;max-width:42ch}
.hero-sale .hero-sale-summary>p {display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px 16px;font-size:15px;color:var(--muted)}
.hero-sale .hero-sale-summary>p>strong {display:inline;font-size:26px;font-weight:400;line-height:1.2;letter-spacing:-.02em;color:var(--text);margin:0}
.hero-sale .hero-sale-summary dl {display:block;margin:22px 0 12px}
.hero-sale .hero-sale-summary dt {font-size:14px;line-height:1.6;color:var(--muted)}
.hero-sale .hero-sale-summary .example-broker {padding:0;border:0}
.hero-sale .hero-sale-summary .example-broker dd {font-size:52px;line-height:1.1;letter-spacing:-.03em;margin:8px 0 0}
.hero-sale-planned {font-size:14px;line-height:1.6;color:var(--muted);margin:14px 0 18px}
.hero-sale-details {border-top:1px solid var(--line)}
.hero-sale-details>summary {min-height:44px;padding-block:12px;cursor:pointer;font-size:15px;line-height:1.5;color:var(--accent-text)}
.hero-sale-details[open]>summary {margin-bottom:10px}
.hero-sale .example-presets {gap:8px;margin:12px 0 22px}
.hero-sale .example-presets legend {font-size:14px}
.hero-sale .example-presets button {min-height:44px;padding:10px 13px;font-size:15px}
.hero-sale .sale-breakdown {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;margin:22px 0}
.hero-sale .sale-breakdown dt {font-size:14px;line-height:1.6;color:var(--muted)}
.hero-sale .sale-breakdown dd {font-size:24px;line-height:1.3;margin:8px 0 0;font-variant-numeric:tabular-nums}
.hero-sale .example-note {font-size:14px;line-height:1.75;color:var(--muted);margin:20px 0 12px;max-width:45ch}
.hero-sale .text-link {display:inline-flex;align-items:center;min-height:44px;font-size:15px;line-height:1.5}
.broker-benefit-list {margin:36px 0 0;max-width:1000px}
.broker-benefit-list>div {display:grid;grid-template-columns:minmax(200px,.7fr) minmax(0,1.3fr);gap:30px;padding-block:26px;border-top:1px solid var(--line)}
.broker-benefit-list dt {font-size:24px;line-height:1.4;letter-spacing:-.02em}
.broker-benefit-list dd {margin:0;font-size:17px;line-height:1.8;color:var(--muted);max-width:65ch}
.broker-home .planned-portfolio {padding-block:24px;border-block:1px solid var(--line)}
.planned-portfolio strong {display:block;color:var(--accent-text);font-size:clamp(23px,2.5vw,32px);line-height:1.4;margin-bottom:12px}
.broker-home .recruitment-intro {max-width:720px}
.broker-home section:not(.recruitment-hero) {padding-block:64px;border-top:1px solid var(--line)}
.broker-home section>p {max-width:720px;font-size:17px;line-height:1.8;color:var(--muted);margin:24px 0}
.broker-home h2,.school-heading h1 {letter-spacing:-.03em}
.broker-home .broker-explanation {max-width:900px}
.broker-home .broker-example {padding-block:76px}
.broker-home .broker-life {padding-top:32px}
.broker-life-heading {display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:32px}
.broker-home .broker-life-heading h2 {font-size:clamp(30px,3.3vw,46px);line-height:1.16}
.broker-life-heading .text-link {display:inline-flex;align-items:center;min-height:44px;flex-shrink:0;font-size:16px}
.broker-life-images {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.broker-life-images figure {min-width:0;margin:0}
.broker-life-images img {display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;background:var(--panel-soft)}
.broker-life-images figcaption {display:flex;gap:14px;margin-top:16px;font-size:17px;line-height:1.5}
.broker-life-images figcaption span {color:var(--muted);font-size:12px;letter-spacing:.04em;padding-top:4px}
.broker-home .broker-life-caption {max-width:none;margin:20px 0 0;color:var(--muted);font-size:12px;line-height:1.5}
@media(max-width:767px) {
 .broker-life-heading {display:block;margin-bottom:24px}
 .broker-life-heading .text-link {margin-top:16px}
 .broker-life-images {grid-template-columns:minmax(0,1fr);gap:28px}
 .broker-life-images figcaption {margin-top:12px}
}
.broker-example .example-disclaimer {font-size:14px;color:var(--muted)}
.example-presets[hidden] {display:none}
.example-presets {border:0;padding:0;margin:30px 0;display:flex;flex-wrap:wrap;gap:12px}
.example-presets legend {margin-bottom:12px;font-size:15px}
.example-presets button,.school-button {min-height:46px;padding:12px 20px;border:1px solid var(--line-strong);color:var(--text);font:inherit;background:transparent}
.example-presets button[aria-pressed=true],.school-button[aria-pressed=true] {background:var(--lime);color:var(--button-ink);border-color:var(--lime)}
.example-presets button:hover,.school-button:hover {border-color:var(--lime)}
.sale-example>p {font-size:18px}
.sale-example>p>strong {display:block;font-size:clamp(40px,6vw,68px);font-weight:400;letter-spacing:-.03em;margin-top:8px}
.sale-example dl {display:flex;flex-wrap:wrap;gap:40px 64px;margin-block:36px}
.sale-example dt {font-size:15px;line-height:1.6;max-width:260px;color:var(--muted)}
.sale-example dd {font-size:clamp(30px,4vw,48px);margin:10px 0 0;font-variant-numeric:tabular-nums}
.sale-example .example-broker dd {color:var(--accent-text)}
.broker-home .example-note {font-size:15px;max-width:780px}
.home-lesson-links {list-style:none;padding:0;margin:36px 0;max-width:900px}
.home-lesson-links li {padding-block:22px;border-top:1px solid var(--line)}
.home-lesson-links a {display:inline-flex;align-items:center;min-height:44px;font-size:22px;line-height:1.4}
.home-lesson-links a:hover {color:var(--accent-text)}
.home-lesson-links span {display:block;color:var(--muted);line-height:1.6;font-size:16px}
.school-index,.school-lesson {padding-block:40px 80px;max-width:1300px}
.school-heading {max-width:900px;margin:40px 0}
.school-heading h1 {font-size:clamp(40px,5vw,72px);line-height:1.12;letter-spacing:-.03em;text-wrap:balance}
.school-heading h1 em {font-family:var(--serif);font-weight:400;color:var(--accent-text)}
.school-heading>p {font-size:18px;color:var(--muted);line-height:1.8;max-width:740px}
.school-lessons {list-style:none;padding:0;margin:56px 0}
.school-lessons>li {display:flex;justify-content:space-between;align-items:start;gap:24px;border-top:1px solid var(--line);padding:30px 0}
.school-lessons h2 {font-size:clamp(24px,3vw,34px);letter-spacing:-.02em;line-height:1.3}
.school-lessons h2 a {display:inline-flex;align-items:center;min-height:44px}
.school-lessons h2 a:hover {color:var(--accent-text)}
.school-lessons p {color:var(--muted);font-size:16px;line-height:1.7;max-width:720px;margin:14px 0 0}
.lesson-read-state {color:var(--accent-text);font-size:14px;line-height:1.7;min-width:130px;padding-top:8px}
.school-lesson article {max-width:800px}
.school-objectives {border-block:1px solid var(--line);padding-block:26px;margin:32px 0 44px}
.school-objectives h2 {font-size:24px;letter-spacing:-.02em}
.school-objectives li,.school-reading li {font-size:17px;line-height:1.9;padding-left:4px}
.school-reading h2 {font-size:30px;letter-spacing:-.02em;line-height:1.3;margin:44px 0 18px}
.school-reading p {font-size:18px;line-height:1.85;color:var(--muted);margin:18px 0}
.school-reading a {text-decoration:underline;text-underline-offset:4px;color:var(--accent-text)}
.school-progress {margin:40px 0;padding-top:30px;border-top:1px solid var(--line);max-width:800px}
.school-progress h2 {font-size:26px;letter-spacing:-.02em}
.school-progress p {font-size:16px;line-height:1.75;max-width:720px;color:var(--muted)}
.school-navigation {display:flex;flex-wrap:wrap;align-items:center;gap:16px 30px;margin-top:32px}
.school-navigation>a {display:inline-flex;align-items:center;min-height:48px;line-height:1.5;font-size:16px;max-width:350px}
.school-navigation>a:not(.primary) {text-decoration:underline;text-underline-offset:5px}
@media(min-width:851px) and (max-width:1100px) {.desktop-nav {gap:16px;margin-right:18px}.brand-caption {display:none}.header-inner {gap:18px}}
@media(max-width:640px) {
 .broker-home section:not(.recruitment-hero) {padding-block:40px}
 .broker-home h2 {font-size:36px}
 .broker-home section>p {font-size:16px;line-height:1.8}
 .sale-example dl {gap:26px;flex-direction:column}
 .school-index,.school-lesson {padding-block:24px 50px}
 .school-heading {margin-block:28px}
 .school-heading h1 {font-size:40px}
 .school-lessons>li {flex-direction:column;gap:8px}
 .lesson-read-state {padding-top:0}
 .school-reading p {font-size:17px}
 .school-reading h2 {font-size:27px}
 .school-navigation {align-items:stretch;flex-direction:column}
 .school-navigation>a {max-width:100%}
}

@media(max-width:1000px) {
 .broker-home .recruitment-hero {gap:32px}
 .broker-home .recruitment-hero h1 {font-size:clamp(44px,5.8vw,62px)}
}
@media(max-width:850px) {
 .broker-home .recruitment-hero {grid-template-columns:minmax(0,1fr);gap:38px;padding-block:44px}
 .broker-home .recruitment-hero h1 {font-size:clamp(44px,9vw,72px);max-width:15ch}
 .broker-home .hero-sale {max-width:380px;justify-self:start}
 .broker-benefit-list>div {grid-template-columns:minmax(0,1fr);gap:14px}
 .broker-benefit-list dd {font-size:16px}
 .hero-sale .hero-sale-summary .example-broker dd {font-size:48px}
}

/* The course menu stays available at the start of the index and each lesson. */
.school-lesson-menu {display:none}
@media(max-width:1100px) {
 .school-lesson-menu {display:block;margin:24px 0;border:1px solid var(--line,#d6ddcf);border-radius:7px;background:var(--panel,#fff)}
 .editorial-mobile-index.school-lesson-menu>summary {display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:48px;padding:12px 16px;font-size:15px;line-height:1.5;font-weight:500;cursor:pointer;list-style:none;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
 .school-lesson-menu>summary::-webkit-details-marker {display:none}
 .school-lesson-menu>summary span {margin-left:auto;color:var(--muted,#626c5d);font-size:12px;font-weight:400}
 .school-lesson-menu>summary::after {content:'+';font-size:22px;line-height:1}
 .school-lesson-menu[open]>summary::after {content:'−'}
 .school-lesson-menu nav {margin:0;padding:0 16px 12px}
 .school-lesson-menu nav a {display:flex;align-items:center;min-height:48px;padding:12px 0;font-size:14px;line-height:1.5;color:var(--muted,#626c5d);border-bottom:1px solid var(--line,#d6ddcf);text-decoration:none}
 .school-lesson-menu nav a:last-child {border-bottom:0}
 .school-lesson-menu nav a[aria-current='page'] {color:var(--accent-text,#465c2c);font-weight:600}
}

@media(max-width:850px) {
 .dashboard .workspace-school>.school-index,.dashboard .workspace-school>.school-lesson {padding-top:12px}
 .dashboard .workspace-school .school-heading {margin:24px 0}
 .school-lesson-menu>summary:active {background:var(--panel-soft,#edf0e6)}
}

.school-page .wrap,.school-heading.wrap,.school-page main{max-width:1080px;margin-inline:auto}

.wrap.school-index,.wrap.school-lesson{max-width:1080px;margin-inline:auto}

/* AI agent guides (/learn/grok-bot/): numbered steps, screenshots, prompts */
.school-ai-guides {border-top:1px solid var(--line);padding-top:30px;margin-top:10px}
.school-ai-guides h2 {font-size:clamp(24px,3vw,34px);letter-spacing:-.02em;line-height:1.3}
.school-ai-guides>p {color:var(--muted);font-size:16px;line-height:1.7;max-width:720px}
.school-ai-guides ul {list-style:none;padding:0;margin:18px 0 0;display:grid;gap:14px}
.school-ai-guides li {border:1px solid var(--line);background:var(--panel);padding:20px 22px}
.school-ai-guides li a {display:inline-flex;align-items:center;min-height:44px;font-size:22px;letter-spacing:-.01em;text-decoration:underline;text-underline-offset:5px}
.school-ai-guides li p {color:var(--muted);font-size:16px;line-height:1.7;margin:4px 0 0}
.ai-guide article {max-width:820px}
.guide-toc ol {padding-left:22px}
.guide-toc a {text-decoration:underline;text-underline-offset:4px}
.guide-step {scroll-margin-top:90px}
.guide-step h2 {display:flex;align-items:baseline;gap:14px}
.guide-step-number {flex:none;display:inline-grid;place-items:center;width:38px;height:38px;border-radius:50%;background:var(--lime);color:var(--button-ink);font-size:18px;letter-spacing:0}
.guide-step ol,.guide-step ul {padding-left:22px}
.guide-step code {font-family:var(--mono);font-size:.88em;background:var(--panel-soft);padding:1px 5px}
.guide-shot {margin:26px 0 30px}
.guide-shot img {display:block;width:100%;height:auto;border:1px solid var(--line);border-radius:10px;background:var(--panel)}
.guide-shot-narrow img {max-width:430px}
.guide-shot figcaption {margin-top:10px;font-size:15px;line-height:1.6;color:var(--muted)}
.guide-prompt {margin:22px 0}
.guide-prompt-label {font-size:13px !important;letter-spacing:.06em;text-transform:uppercase;color:var(--accent-text) !important;margin:0 0 8px !important}
.guide-prompt pre {margin:0;max-height:420px;overflow:auto;white-space:pre-wrap;word-break:break-word;background:var(--panel);border:1px solid var(--line-strong);padding:18px 20px;font-family:var(--mono);font-size:14px;line-height:1.65;color:var(--text)}
.guide-prompt pre code {background:none;padding:0;font-size:inherit}
.guide-tip {border-left:3px solid var(--lime);padding-left:16px}
.guide-table-wrap {overflow-x:auto;border:1px solid var(--line)}
.guide-table {width:100%;border-collapse:collapse;font-size:15px;line-height:1.55}
.guide-table th,.guide-table td {text-align:left;vertical-align:top;padding:12px 14px;border-bottom:1px solid var(--line)}
.guide-table thead th {background:var(--panel-soft);font-size:13px;letter-spacing:.04em;text-transform:uppercase}
.guide-table td {color:var(--muted)}
@media (max-width:640px){
 .guide-shot-narrow img {max-width:100%}
 .guide-step h2 {gap:10px}
 .guide-step-number {width:32px;height:32px;font-size:16px}
 .guide-prompt pre {font-size:13px;padding:14px}
 .guide-table {min-width:560px}
}

.home-guide-link {margin-top:22px;font-size:15px}
