/* /ai-training/ pages (scripts/build-ai-training.mjs), Nov 2026 redesign.
   Loads after /sb.css and /sb-article.css and uses only their tokens. sb-article.css already styles the shared
   long-form parts (crumbs, hero, quote, before/after grid, method rows, card, FAQ, related list). This file holds
   only what this family adds: the worked-task card, the waitlist form row, the city pages (proof line, covers,
   booking calendar in a browser frame) and the hub index. Linked with a content hash, so after editing it rerun
   the generator (or scripts/redesign-2026-11/ai-training.py) to update every page's link. */

/* ---------- profession pages ---------- */
.art .at-hero .at-outcome{font-size:1.2rem;line-height:1.45;letter-spacing:-.015em}
.art .at-hero .at-actions{margin-top:20px}
/* the quote sits on the hero's bottom rule: one rule between them, not two */
.art > .at-hero + .at-quote{margin-top:0;border-top:0}
.art .at-section > .at-intro{color:var(--gray)}

/* the one worked task: a ruled card, before/after inside */
.art .at-first-job{padding:24px;border:1px solid var(--rule);border-radius:16px;background:#fff}
.art .at-first-job h3{margin-block:0 4px}
.art .at-first-job .at-transformation{margin-block:16px 0}
.art .at-first-job .at-example{margin-block:14px 0 0}
.art .at-label-ai::before{content:"";display:inline-block;width:6px;height:6px;margin-right:7px;border-radius:50%;background:var(--sb);vertical-align:.15em}
.art .at-chip-next{background:#fff;box-shadow:inset 0 0 0 1px var(--rule);color:var(--gray)}
.art .at-jobs summary span{min-width:0}
.art .at-outro{margin-block:18px 0;color:var(--ink2)}

/* sb-article.css zeroes the card margins (they sit in sidebars elsewhere); here they are column children */
.art > :is(.at-card,.at-final){margin-top:var(--art-gap)}

/* the workshop card */
.art .at-card .at-format{margin-block:2px 12px}
.art .at-card .at-ticks{margin-block:14px 16px}
.art .at-card .at-note,.art .at-final .at-note{margin-block:12px 0 0}
.art .at-secondary{margin-block:10px 0 0;font-size:14.5px;color:var(--gray)}

/* the closing action: the unchanged waitlist form on one row */
.art .at-final form.capture{display:flex;flex-wrap:wrap;gap:8px;margin-block:14px 0;padding:0;border:0;background:none}
.art .at-final form.capture input[type=email]{flex:1 1 220px;min-width:0;height:44px;padding:0 12px;font:inherit;font-size:15px;color:var(--ink);background:#fff;border:1px solid #d3d8df;border-radius:9px}
.art .at-final form.capture input[type=email]:focus-visible{outline:2px solid var(--sb);outline-offset:1px;border-color:var(--sb)}
.art .at-final form.capture button[type=submit]{flex:none;min-height:44px}
.art .at-final .form-status{flex-basis:100%;margin:0;font-size:14px;color:var(--ink2)}
.art .at-final .form-status:empty{display:none}

/* ---------- city pages ---------- */
.art .at-cred{display:flex;flex-wrap:wrap;align-items:center;gap:10px 20px;margin-block:20px 0;padding-block:14px;border-block:1px solid var(--rule);font-size:14.5px;line-height:1.5;color:var(--ink2)}
.art .at-cred-logos{display:flex;align-items:center;gap:20px;flex:none}
.art .at-cred-logos img{display:block;height:auto;border-radius:0;filter:grayscale(1);opacity:.8}
.art .at-cred-text{flex:1 1 240px;min-width:0}
.art .at-cover-list{list-style:none;counter-reset:at-cover;margin-block:1.2em 0;padding:0;border-top:1px solid var(--rule)}
.art .at-cover-list > li{counter-increment:at-cover;display:grid;grid-template-columns:40px minmax(0,1fr);gap:12px;margin-block:0;padding:16px 0;border-bottom:1px solid var(--rule)}
.art .at-cover-list > li::before{content:counter(at-cover,decimal-leading-zero);font-size:13px;font-weight:600;line-height:1.9;color:var(--gray);font-variant-numeric:tabular-nums}

/* the booking calendar in a browser frame: the page's one job */
.art > .at-book{width:min(calc(100% - 2 * max(20px,env(safe-area-inset-left,0px))),880px)}
.art .at-book > h2{margin-top:0}
.art .at-book-body{max-width:var(--measure);color:var(--gray)}
.art .at-cal{margin-block:22px 0;border:1px solid var(--rule);border-radius:14px;overflow:hidden;background:#fff}
.art .at-cal::before{content:"";display:block;height:34px;border-bottom:1px solid var(--rule);background:radial-gradient(circle at 18px 17px,#d3d8df 4px,transparent 4.5px),radial-gradient(circle at 33px 17px,#d3d8df 4px,transparent 4.5px),radial-gradient(circle at 48px 17px,#d3d8df 4px,transparent 4.5px),var(--chapter)}
.art .at-cal iframe{display:block;width:100%;height:660px;border:0;background:#fff}
.art .at-cal-help{margin-block:12px 0;font-size:13.5px;line-height:1.5;color:var(--gray)}
.art .at-cal-help a{color:var(--ink2)}
.art .at-also p{margin-block:0;font-size:15.5px;color:var(--ink2)}
/* the FAQ's last rule already closes the column: no second rule above the city links */
.art > .at-faq + .at-also{border-top:0;padding-top:0}

/* ---------- the hub ---------- */
.art .at-index{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:var(--rule);border:1px solid var(--rule);border-radius:16px;overflow:hidden}
.art .at-index-group{min-width:0;padding:22px 24px;background:#fff}
.art .at-index-group h2{margin-block:0 10px;font-size:11.5px;line-height:1.4;font-weight:600;letter-spacing:.07em;text-transform:uppercase;color:var(--gray)}
.art .at-index-group ul{list-style:none;margin-block:0;padding:0}
.art .at-index-group li{margin-block:0;padding:0;border-bottom:1px solid var(--weak)}
.art .at-index-group li:last-child{border-bottom:0}
.art .at-index-group a{display:flex;align-items:center;min-height:42px;font-weight:500;text-decoration:none;color:var(--ink)}
.art .at-index-group a:hover{text-decoration:underline}
.art .at-teams-line{padding:20px 24px;background:var(--chapter);border:1px solid var(--rule);border-radius:16px;font-size:15.5px;line-height:1.55;color:var(--ink2)}
.art .at-teams-link{font-weight:600;white-space:nowrap}

/* the newsletter end box: sb-article.css makes every .sb-news-form a flex row (for .sb-newsletter), which shrinks
   this band's .row to its content and drops the button under the field; let the form be a block so .row fills the card */
.art .nl form.sb-news-form{display:block}
.art .nl .fcard > p{margin-block:0}
.art .nl .fcard > .form-status:empty{display:none}

/* ---------- phones ---------- */
@media (max-width:720px){
  .art .at-first-job{padding:18px}
  .art .at-index{grid-template-columns:minmax(0,1fr)}
  .art .at-index-group{padding:18px 20px}
  .art .at-cal iframe{height:720px}
  .art .at-final form.capture button[type=submit]{width:100%}
  .art .at-teams-link{white-space:normal}
}
