/* Free speaker tools: hub cards, shared tool layout, fee calculator, bio generator, one-sheet maker, speech timer. */

.tools-hero .tools-lede{max-width:46em}
.tools-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:16px;padding-bottom:24px}
.tool-card{display:flex;flex-direction:column;gap:8px;min-width:0;padding:24px;border-radius:var(--radius-lg);background:var(--surface);border:1px solid var(--line);color:inherit;text-decoration:none;box-shadow:var(--shadow-sm);transition:transform .2s var(--ease),box-shadow .2s,border-color .2s}
.tool-card:hover{transform:translateY(-3px);box-shadow:var(--shadow);border-color:var(--line-strong)}
.tool-card h2,.tool-card h3{font-family:var(--font-display);font-size:1.35rem;font-weight:550;margin:6px 0 0}
.tool-card p{margin:0;color:var(--text-2);font-size:.94rem}
.tool-card .res-more{margin-top:auto;padding-top:8px;font-weight:650;color:var(--accent-text);font-size:.9rem}
.tool-card-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:var(--accent-soft);color:var(--accent-text)}
.tools-grid-compact{padding-bottom:0}
.tools-grid-compact .tool-card{padding:20px}

/* Shared tool layout */
.tool-section{padding-bottom:24px}
.tool-shell{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:28px;align-items:start}
.tool-form{min-width:0}
.tool-result{position:sticky;top:92px;min-width:0}
.tool-group{border:0;padding:0;margin:0 0 22px;min-width:0}
.tool-group legend{padding:0;margin:0 0 10px;font-weight:700;font-size:.98rem;color:var(--text)}
.tool-options{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:8px}
.tool-options-row{display:flex;flex-wrap:wrap}
.tool-option{flex-direction:row;align-items:flex-start;gap:10px;margin:0;min-height:var(--target);padding:11px 14px;border:1px solid var(--line);border-radius:14px;background:var(--surface);cursor:pointer;font-weight:500;transition:border-color .15s,background .15s}
.tool-option:hover{border-color:var(--line-strong)}
.tool-option input{flex:none;width:18px;height:18px;margin:2px 0 0;padding:0;accent-color:var(--accent)}
.tool-option span{display:flex;flex-direction:column;gap:2px;min-width:0}
.tool-option strong{font-weight:650;font-size:.92rem;color:var(--text)}
.tool-option small{font-size:.8rem;line-height:1.35}
.tool-option:has(input:checked){border-color:var(--accent);background:var(--accent-soft)}
.tool-option:has(input:focus-visible){outline:3px solid var(--focus);outline-offset:2px}
.tool-options-row .tool-option{padding:10px 14px}
.tool-more{margin:4px 0 0;padding:14px 16px;border:1px dashed var(--line-strong);border-radius:14px;background:var(--surface-2)}
.tool-more summary{cursor:pointer;font-weight:650;min-height:var(--target);display:flex;align-items:center}
.tool-grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}
.tool-actions{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0 0}
.tool-next{margin-top:18px;padding:18px;border-radius:16px;background:var(--surface-2);border:1px solid var(--line)}
.tool-next strong{display:block;font-size:1rem;margin-bottom:4px}
.tool-next p{margin:0;font-size:.9rem;color:var(--text-2)}
.tool-next-wide{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;margin-top:22px}
.tool-next-wide>div:first-child{flex:1 1 320px}
.tool-next-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.link-btn{background:none;border:0;padding:8px 4px;min-height:var(--target);color:var(--muted);font:500 .9rem var(--font-body);cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.link-btn:hover{color:var(--text)}
.tool-submit{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:8px}

/* Fee calculator */
.fee-card .eyebrow{margin-bottom:6px}
.fee-range{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px;margin:6px 0 2px;font-family:var(--font-display);font-size:clamp(2.1rem,4vw,2.7rem);font-weight:560;letter-spacing:-.02em;line-height:1.05}
.fee-range i{font-style:normal;color:var(--muted);font-weight:400}
.fee-sub{margin:0 0 16px;color:var(--muted);font-size:.9rem}
.fee-keys{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0}
.fee-keys div{padding:12px 14px;border-radius:14px;background:var(--surface-2);border:1px solid var(--line)}
.fee-keys dt{display:flex;align-items:center;gap:6px;font-size:.74rem;letter-spacing:.08em;text-transform:uppercase;font-weight:700;color:var(--muted)}
.fee-keys dd{margin:4px 0 0;font-family:var(--font-display);font-size:1.6rem;font-weight:560}
.tip-btn{display:inline-grid;place-items:center;width:22px;height:22px;padding:0;border-radius:50%;border:1px solid var(--line-strong);background:var(--surface);color:var(--text-2);font:700 .72rem var(--font-body);cursor:help}
.fee-floor-note{margin:10px 0 0;font-size:.84rem;color:var(--text-2);line-height:1.5}
.fee-verdict{margin:14px 0 0;padding:12px 14px;border-radius:14px;font-size:.92rem;line-height:1.5}
.fee-verdict strong{display:block;font-size:1rem;margin-bottom:2px}
.fee-verdict.good{background:var(--good-soft);color:var(--good)}
.fee-verdict.warn{background:var(--warn-soft);color:var(--warn)}
.fee-verdict.bad{background:var(--bad-soft);color:var(--bad)}
.fee-why{margin:14px 0 0}
.fee-why summary{cursor:pointer;font-weight:650;min-height:var(--target);display:flex;align-items:center}
.fee-why ul{margin:4px 0 0;padding-left:18px;font-size:.88rem;color:var(--text-2);display:grid;gap:6px}
.fee-why b{color:var(--text)}

/* Bio generator */
.bio-tool{grid-template-columns:minmax(0,1fr)}
.bio-tool .tool-form{max-width:860px}
.bio-tool textarea{min-height:0}
.bio-tool .tool-group-inline{margin:14px 0}
.bio-results{margin-top:28px;scroll-margin-top:90px}
.bio-results:focus{outline:none}
.bio-results-head h2{margin-bottom:4px}
.bio-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:16px}
.bio-out{display:flex;flex-direction:column;gap:8px;padding:22px}
.bio-out header{display:flex;align-items:center;justify-content:space-between;gap:10px}
.bio-out h3{margin:0}
.bio-hint{margin:0;font-size:.82rem;color:var(--muted)}
.bio-text{flex:1;color:var(--text);line-height:1.65}
.bio-text p{margin:0 0 .7em}
.bio-out .ghost{align-self:flex-start}
.bio-out[data-out="headline"] .bio-text{font-family:var(--font-display);font-size:1.3rem;line-height:1.3}
.bio-tips{margin-top:16px}
.bio-tips ul{margin:6px 0 0;padding-left:18px;display:grid;gap:6px;color:var(--text-2)}

/* One-sheet maker */
.sheet-tool{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr)}
.sheet-form{padding:22px}
.sheet-pair{display:grid;grid-template-columns:minmax(0,1fr);gap:0;padding:4px 0 8px;border-bottom:1px solid var(--line)}
.sheet-pair:last-of-type{border-bottom:0}
.sheet-pair label{margin:8px 0}
.sheet-photo-field input[type=file]{padding:9px}
.sheet-swatches{display:flex;flex-wrap:wrap;gap:10px}
.sheet-swatch{margin:0;width:44px;height:44px;border-radius:50%;border:3px solid var(--surface);box-shadow:0 0 0 1px var(--line-strong);cursor:pointer;flex-direction:row}
.sheet-swatch input{position:absolute;opacity:0;width:1px;height:1px}
.sheet-swatch:has(input:checked){box-shadow:0 0 0 3px var(--accent)}
.sheet-swatch:has(input:focus-visible){outline:3px solid var(--focus);outline-offset:3px}
.sw-spotlight{background:linear-gradient(135deg,#15161a 50%,#ff5a2c 50%)}
.sw-navy{background:linear-gradient(135deg,#13233f 50%,#d9a441 50%)}
.sw-forest{background:linear-gradient(135deg,#17362b 50%,#58a778 50%)}
.sw-plum{background:linear-gradient(135deg,#3b1f3f 50%,#d46a92 50%)}
.sw-charcoal{background:linear-gradient(135deg,#26282c 50%,#9aa0a8 50%)}
.sheet-preview-col{position:sticky;top:92px;min-width:0}
.sheet-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.sheet-print-tip{margin:8px 0 12px;font-size:.82rem;color:var(--muted)}
.sheet-frame{border-radius:10px;box-shadow:var(--shadow-lg);overflow:hidden}

/* The one-sheet itself: a Letter page whose type scales with its width (container query units), so the
   on-screen preview and the printed PDF look the same. Fixed light colors: it is a printed document. */
.os-page{--os-dark:#15161a;--os-accent:#ff5a2c;--os-soft:#fff1ea;--os-ink:#b2380f;
  container-type:inline-size;aspect-ratio:8.5/11;display:flex;flex-direction:column;overflow:hidden;background:#fff;color:#1d1e22;font-family:var(--font-body);line-height:1.5;color-scheme:light}
.os-navy{--os-dark:#13233f;--os-accent:#d9a441;--os-soft:#f7f1e2;--os-ink:#7d5a10}
.os-forest{--os-dark:#17362b;--os-accent:#58a778;--os-soft:#eaf5ee;--os-ink:#256043}
.os-plum{--os-dark:#3b1f3f;--os-accent:#d46a92;--os-soft:#fbecf2;--os-ink:#932a52}
.os-charcoal{--os-dark:#26282c;--os-accent:#9aa0a8;--os-soft:#f1f2f4;--os-ink:#454a52}
.os-head{position:relative;display:flex;align-items:center;gap:4.5cqi;padding:6cqi 6.5cqi 5.5cqi;background:var(--os-dark);color:#fff}
.os-head::after{content:"";position:absolute;left:0;right:0;bottom:0;height:1.1cqi;background:var(--os-accent)}
.os-photo{flex:none;display:grid;place-items:center;width:19cqi;height:19cqi;border-radius:50%;overflow:hidden;border:.8cqi solid var(--os-accent);background:var(--os-soft);color:var(--os-dark);font:600 6cqi/1 var(--font-display)}
.os-photo img{width:100%;height:100%;object-fit:cover}
.os-id{min-width:0}
.os-name{margin:0;font-family:var(--font-display);font-size:6.2cqi;font-weight:560;line-height:1.05;letter-spacing:-.02em;color:#fff;overflow-wrap:anywhere}
.os-headline{margin:1.4cqi 0 0;font-size:2.55cqi;line-height:1.4;color:rgba(255,255,255,.88)}
.os-body{flex:1;min-height:0;display:grid;grid-template-columns:1.6fr 1fr;gap:5cqi;padding:5cqi 6.5cqi 4cqi}
.os-page h3{margin:0 0 1.2cqi;font:700 1.5cqi/1.2 var(--font-body);letter-spacing:.14em;text-transform:uppercase;color:var(--os-ink)}
.os-main h3+p{margin-bottom:3.4cqi}
.os-bio{margin:0;font-size:1.9cqi;line-height:1.58;white-space:pre-line}
.os-talks{list-style:none;margin:0;padding:0;display:grid;gap:2.2cqi;counter-reset:talk}
.os-talks li{position:relative;padding-left:5.2cqi;counter-increment:talk}
.os-talks li::before{content:counter(talk);position:absolute;left:0;top:.1cqi;display:grid;place-items:center;width:3.6cqi;height:3.6cqi;border-radius:50%;background:var(--os-soft);color:var(--os-ink);font:700 1.7cqi/1 var(--font-body)}
.os-talks strong{display:block;font-family:var(--font-display);font-size:2.35cqi;font-weight:600;line-height:1.25;color:#15161a}
.os-talks span{display:block;margin-top:.6cqi;font-size:1.75cqi;color:#44464d}
.os-side{padding-left:4cqi;border-left:.25cqi solid #e8e2d7;display:flex;flex-direction:column;gap:3.4cqi}
.os-side p{margin:0;font-size:1.75cqi;color:#2f3036}
.os-side blockquote{margin:0 0 2.2cqi;padding:2.2cqi 2.4cqi;border-radius:1.4cqi;background:var(--os-soft)}
.os-side blockquote p{font-family:var(--font-display);font-style:italic;font-size:1.85cqi;line-height:1.45;color:#1d1e22}
.os-side cite{display:block;margin-top:1cqi;font-style:normal;font-size:1.45cqi;color:#55575e}
.os-foot{display:flex;flex-wrap:wrap;align-items:center;gap:1cqi 3.2cqi;padding:3cqi 6.5cqi;border-top:.6cqi solid var(--os-accent);background:var(--os-soft);font-size:1.7cqi;color:#1d1e22}
.os-foot strong{font-family:var(--font-display);font-size:2.2cqi;color:var(--os-dark)}
.os-page .is-empty{color:#9a9ca3}
.os-head .is-empty{color:rgba(255,255,255,.55)}
[hidden]{display:none!important}
#printSheet{display:none}

@media print{
  @page{size:letter;margin:0}
  html.printing-sheet body>*:not(#printSheet){display:none!important}
  html.printing-sheet #printSheet{display:block}
  html.printing-sheet #printSheet .os-page{width:8.5in;height:11in;aspect-ratio:auto;-webkit-print-color-adjust:exact;print-color-adjust:exact}
  html.printing-sheet body{background:#fff}
}

/* Speech length calculator */
.speech-tabs{display:inline-flex;gap:4px;padding:4px;margin-bottom:10px;border-radius:999px;background:var(--surface-2);border:1px solid var(--line)}
.speech-tab{min-height:40px;padding:8px 16px;border:0;border-radius:999px;background:none;color:var(--text-2);font:650 .9rem var(--font-body);cursor:pointer}
.speech-tab.is-active{background:var(--ink);color:var(--on-ink)}
@media (prefers-color-scheme:dark){.speech-tab.is-active{background:var(--on-ink);color:var(--ink)}}
.speech-big{margin:6px 0 2px;font-family:var(--font-display);font-size:clamp(2.6rem,5vw,3.4rem);font-weight:560;letter-spacing:-.02em;line-height:1}
.speech-paces{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.speech-paces li{display:flex;justify-content:space-between;gap:12px;padding:10px 14px;border-radius:12px;background:var(--surface-2);border:1px solid var(--line);font-size:.9rem}
.speech-paces li.is-current{border-color:var(--accent);background:var(--accent-soft)}
.speech-paces b{white-space:nowrap}
.speech-extra{margin:12px 0 0;font-size:.88rem;color:var(--text-2)}
.speech-table-wrap{margin:36px 0 0}
.speech-table-scroll{overflow-x:auto;border-radius:var(--radius);border:1px solid var(--line);background:var(--surface)}
.speech-table{width:100%;border-collapse:collapse;font-size:.92rem;min-width:520px}
.speech-table th,.speech-table td{padding:11px 14px;text-align:right;border-bottom:1px solid var(--line)}
.speech-table th:first-child{text-align:left}
.speech-table thead th{font-size:.8rem;letter-spacing:.04em;background:var(--surface-2)}
.speech-table thead small{display:block;font-weight:500}
.speech-table tbody tr:last-child th,.speech-table tbody tr:last-child td{border-bottom:0}

/* Explainer under each tool */
.tool-explainer{padding-top:48px}
.tool-explainer-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
.tool-explainer-grid h2{font-size:1.3rem;margin-bottom:8px}
.tool-explainer-grid p{color:var(--text-2);line-height:1.7;margin:0}
.tool-explainer-grid a{color:var(--accent-text);font-weight:600}

@media (max-width:980px){
  .tool-shell,.sheet-tool{grid-template-columns:minmax(0,1fr)}
  .tool-result,.sheet-preview-col{position:static}
  .tool-explainer-grid{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:640px){
  .tool-grid-2,.bio-grid,.fee-keys{grid-template-columns:minmax(0,1fr)}
  .tool-options{grid-template-columns:minmax(0,1fr)}
  .tool-next-actions .btn{flex:1 1 100%}
}
@media (prefers-reduced-motion:reduce){.tool-card:hover{transform:none}}
