/* Product and operate surfaces extend the Hub's cream/forest journal identity. */
body.hub .hub-product-hero{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:clamp(32px,5vw,76px);align-items:center;padding:56px 0 62px;border-bottom:1px solid var(--ink)}
body.hub .hub-product-intro h1{font-size:clamp(3.1rem,5.6vw,5.3rem);line-height:1.03;max-width:13ch;font-weight:600;letter-spacing:-.035em;margin-bottom:28px}
body.hub .hub-product-intro .intro{max-width:40ch;font-size:18px;line-height:1.7;color:var(--ink)}
body.hub .hub-product-intro .actions{gap:20px;margin:28px 0 18px}
body.hub .button svg,body.hub .hub-sheet-open svg{flex-shrink:0;margin-left:12px;transition:transform 220ms cubic-bezier(.16,1,.3,1)}
body.hub .button:hover svg,body.hub .hub-sheet-open:hover svg{transform:translateX(4px)}
body.hub .hub-start-note{font-size:14px;color:var(--muted);margin:0}
body.hub .hub-example-sheet{background:var(--surface);padding:30px 32px 20px;border-top:3px double var(--ink);align-self:stretch}
body.hub .hub-sheet-heading h2{font-size:29px;line-height:1.18;max-width:22ch;margin:0 0 12px;font-weight:600}
body.hub .hub-sheet-heading>span{font-size:13px;color:var(--muted);display:block;margin-bottom:20px}
body.hub .hub-example-inputs{margin:0 0 12px;padding:0 0 14px;border-bottom:1px solid var(--line)}
body.hub .hub-example-inputs>div{display:grid;grid-template-columns:90px minmax(0,1fr);gap:16px;margin:10px 0;font-size:14px;line-height:1.6}
body.hub .hub-example-inputs dt{font-weight:650}body.hub .hub-example-inputs dd{margin:0}
body.hub .hub-example-choice{padding:16px 0;border-bottom:1px solid var(--line)}
body.hub .hub-example-choice h3{font-size:26px;margin:0 0 6px;font-weight:600}body.hub .hub-example-choice p{font-size:14px;line-height:1.65;margin:0}
body.hub .hub-example-choice a{font-size:13px;display:inline-flex;align-items:center;min-height:44px}
body.hub .hub-sheet-open{justify-content:space-between;width:100%;padding:16px 0 0}
body.hub .hub-task-section,body.hub .hub-product-reading,body.hub .hub-product-faq{padding:52px 0;border-bottom:1px solid var(--line)}
body.hub .hub-section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:32px;margin-bottom:28px}
body.hub .hub-section-heading h2{max-width:20ch;font-size:38px;font-weight:600;margin:0}
body.hub .hub-section-heading p{max-width:42ch;font-size:15px;margin:0;color:var(--muted)}
body.hub .hub-task-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:40px}
body.hub .hub-task-links>a{display:block;padding:24px 0;border-top:1px solid var(--line);text-decoration:none;color:var(--ink);min-height:100px}
body.hub .hub-task-links span{display:block;font:600 27px/1.2 Newsreader,Georgia,serif;letter-spacing:-.025em;margin-bottom:8px}
body.hub .hub-task-links small{display:block;font-size:14px;line-height:1.6;color:var(--muted)}
body.hub .hub-task-links>a:hover span{text-decoration:underline;color:var(--accent);text-underline-offset:5px}body.hub .hub-all-tasks{margin-top:18px}
body.hub .hub-product-method{display:grid;grid-template-columns:1fr 1.1fr;gap:64px;padding:56px 0;border-bottom:1px solid var(--line)}
body.hub .hub-product-method h2{font-size:42px;max-width:18ch;font-weight:600}body.hub .hub-product-method>div>p{max-width:44ch;font-size:16px}
body.hub .hub-method-steps{list-style:none;counter-reset:hub-method;margin:0;padding:0}
body.hub .hub-method-steps li{counter-increment:hub-method;position:relative;padding:20px 0 20px 44px;border-top:1px solid var(--line);margin:0}
body.hub .hub-method-steps li::before{content:counter(hub-method);position:absolute;left:0;top:21px;color:var(--accent);font-size:15px;font-weight:650;font-variant-numeric:tabular-nums}
body.hub .hub-method-steps strong{display:block;margin-bottom:8px;font-size:17px}body.hub .hub-method-steps p{font-size:15px;margin:0;color:var(--muted)}
body.hub .hub-reading-actions{display:flex;gap:28px;flex-wrap:wrap;margin-top:20px}
body.hub .hub-product-faq{max-width:850px;border-bottom:0}body.hub .hub-product-faq h2{font-size:38px;font-weight:600}
body.hub .hub-product-faq details p{font-size:16px;max-width:70ch;margin:0}
body.hub .hub-product-close{padding:36px 36px;margin:0 0 64px;background:var(--accent);color:var(--paper);display:flex;align-items:center;justify-content:space-between;gap:36px}
body.hub .hub-product-close h2{font-size:42px;font-weight:600;margin-bottom:10px}body.hub .hub-product-close p{margin:0;color:var(--paper);font-size:16px}
body.hub .hub-product-close .button{background:var(--tint);border-color:var(--tint);color:var(--ink)}body.hub .hub-product-close .button:hover{background:var(--paper);border-color:var(--paper)}
body.hub .hub-product-close a:focus-visible{outline-color:var(--paper)}
body.hub .hub-nav-action{font-weight:650;color:var(--accent)}
body.hub .hub-workspace-header{padding:48px 0 28px;max-width:900px}body.hub .hub-workspace-header h1{font-size:clamp(2.6rem,4.4vw,4rem);font-weight:600}
body.hub .hub-workspace-header .intro{max-width:65ch;font-size:18px;margin-bottom:0}
body.hub .hub-workspace-layout{display:grid;grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr);gap:clamp(32px,4vw,64px);align-items:start;margin:12px 0 48px}
body.hub .hub-selector-input{padding-top:24px;border-top:2px solid var(--ink)}body.hub .hub-selector-input h2{font-size:28px;margin-bottom:24px;font-weight:600}
body.hub .hub-field{margin-bottom:24px}body.hub .hub-field label{display:block;font-size:15px;font-weight:650;margin-bottom:9px}body.hub .hub-field label span{font-weight:400;color:var(--muted)}
body.hub .hub-field select,body.hub .hub-field textarea{width:100%;background:var(--paper);border-color:var(--muted);min-height:50px;font-size:16px}
body.hub .hub-field textarea{min-height:112px;line-height:1.65}body.hub .hub-field .form-note{margin:8px 0 0;font-size:13px}
body.hub .hub-selector-submit{width:100%;justify-content:space-between;margin-bottom:12px}body.hub .hub-example-load{border-top:1px solid var(--line);padding-top:20px;margin-top:24px}
body.hub .hub-example-load p{margin:0;font-size:14px}body.hub button.text-link{font-family:'DM Sans',Arial,sans-serif;color:var(--accent);background:transparent;border:0;border-radius:2px;padding:0;min-height:44px;text-align:left;text-decoration:underline;text-underline-offset:4px}
body.hub #hub-feedback{color:var(--accent-dark);font-size:14px;margin:16px 0 0;line-height:1.6;overflow-wrap:anywhere}
body.hub .hub-selector-output{min-width:0;background:var(--surface);padding:28px 30px;border-top:2px solid var(--accent)}
body.hub .hub-result-empty{padding:42px 0;min-height:480px}body.hub .hub-result-empty svg{color:var(--accent);margin-bottom:24px}body.hub .hub-result-empty h2{font-size:34px;font-weight:600}
body.hub .hub-result-empty p{color:var(--muted);font-size:16px}body.hub .hub-result-empty ul{padding-left:20px;font-size:15px;color:var(--muted)}
body.hub .hub-result-header h2{font-size:32px;font-weight:600;margin-bottom:12px}body.hub .hub-result-header{padding-bottom:14px;border-bottom:1px solid var(--line);margin-bottom:22px}
body.hub [data-hub-results-body]>p{font-size:15px;line-height:1.65}body.hub [data-hub-results-body] h3{font-size:26px;font-weight:600;margin:24px 0 10px}
body.hub [data-hub-results-body] article{padding:22px 0;border-bottom:1px solid var(--line)}body.hub [data-hub-results-body] article h3{margin-top:0}
body.hub [data-hub-results-body] article p{font-size:15px;margin-bottom:12px;line-height:1.7}body.hub [data-hub-results-body] article a{font-size:14px;display:inline-flex;align-items:center;min-height:44px;margin-right:18px}
body.hub [data-hub-results-body] article strong{font-weight:650}body.hub [data-hub-results-body] ul,body.hub [data-hub-results-body] ol{font-size:15px;line-height:1.75;padding-left:22px}
body.hub .hub-candidate-name{font-size:29px;font-weight:600;line-height:1.2;margin:0 0 6px}body.hub .hub-candidate-role{font-size:13px!important;color:var(--accent-dark);font-weight:650;margin-bottom:14px!important}
body.hub .hub-candidate-links .hub-byline{font-size:12px;margin-top:8px}body.hub .hub-result-order,body.hub .hub-result-boundary{font-size:13px!important;color:var(--muted)}
body.hub [data-hub-saved-list] .hub-saved-title{font-size:28px;font-weight:600;line-height:1.2;margin:0 0 8px}body.hub [data-hub-saved-list] .hub-saved-title a{font:inherit;min-height:44px;color:var(--ink)}
body.hub .hub-copy-text{width:100%;background:var(--paper);font-size:15px;line-height:1.7;min-height:260px}body.hub .hub-copy-fallback label{display:block;font-size:15px;margin:12px 0 8px}
body.hub .hub-delete-confirm{padding:18px 0;flex-basis:100%}body.hub .hub-delete-confirm p{color:var(--ink);margin-bottom:14px}body.hub .hub-delete-confirm .button{margin:0 12px 8px 0}
body.hub .hub-prompt-editor{margin-top:32px}body.hub .hub-prompt-editor h3{font-size:27px;margin-bottom:10px;font-weight:600}body.hub .hub-prompt-editor h3 label{font-weight:600}
body.hub .hub-prompt-editor p{font-size:14px;color:var(--muted)}body.hub #hub-prompt{width:100%;min-height:260px;background:var(--paper);border-color:var(--muted);font-size:15px;line-height:1.75}
body.hub .hub-result-actions,body.hub .hub-save-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:20px 0 0}body.hub .hub-save-actions{justify-content:space-between;gap:16px;margin-top:14px}
body.hub .hub-save-actions+.form-note{margin:4px 0 0;font-size:13px}body.hub button:disabled{cursor:not-allowed}
body.hub .hub-workspace-note{display:grid;grid-template-columns:.7fr 1.3fr;column-gap:48px;padding:32px 0 56px;border-top:1px solid var(--line)}body.hub .hub-workspace-note h2{font-size:29px;grid-row:span 2;font-weight:600}
body.hub .hub-workspace-note p{font-size:15px;margin-bottom:12px}body.hub .hub-workspace-note a{justify-self:start}
body.hub .hub-saved-workspace{padding:22px 0 36px;border-top:2px solid var(--ink)}body.hub .hub-saved-toolbar{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:22px}
body.hub .hub-saved-toolbar h2{font-size:29px;font-weight:600;margin:0}body.hub #hub-saved-status{color:var(--accent-dark);font-size:14px}
body.hub [data-hub-saved-list]>article{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px 36px;border-bottom:1px solid var(--line);padding:24px 0}
body.hub [data-hub-saved-list] h3{font-size:28px;font-weight:600;margin:0 0 8px}body.hub [data-hub-saved-list] p{font-size:14px;margin:0 0 8px;color:var(--muted);overflow-wrap:anywhere}
body.hub [data-hub-saved-list] .hub-saved-actions{display:flex;flex-wrap:wrap;gap:18px;align-items:center}body.hub [data-hub-saved-list] a{display:inline-flex;align-items:center;min-height:44px;font-size:15px;font-weight:650}
body.hub [data-hub-saved-list] .hub-saved-empty{display:block;background:var(--surface);padding:32px;margin-bottom:18px;border-bottom:0}body.hub [data-hub-saved-list] .hub-saved-empty h3{font-size:32px;margin-bottom:12px}
body.hub .hub-clear-all{margin-top:24px}body.hub .hub-workspace-header .hub-byline{margin-top:18px}
@media(max-width:1050px){body.hub .hub-product-hero{gap:32px}body.hub .hub-example-sheet{padding:26px 24px 18px}body.hub .hub-product-intro .actions{align-items:flex-start;flex-direction:column;gap:4px}body.hub .hub-workspace-layout{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:32px}}
@media(max-width:800px){body.hub .hub-product-hero{grid-template-columns:1fr;padding:36px 0 40px;gap:32px}body.hub .hub-product-intro h1{font-size:clamp(3rem,9vw,4.5rem);margin-bottom:20px}body.hub .hub-product-intro .intro{font-size:17px;max-width:50ch}body.hub .hub-product-intro .actions{flex-direction:row;align-items:center;gap:12px;margin:22px 0 12px}body.hub .hub-example-sheet{padding:26px 24px 18px;max-width:650px}body.hub .hub-sheet-heading h2{max-width:none}body.hub .hub-section-heading{display:block;margin-bottom:24px}body.hub .hub-section-heading h2{font-size:34px;margin-bottom:14px}body.hub .hub-task-section,body.hub .hub-product-reading,body.hub .hub-product-faq{padding:38px 0}body.hub .hub-product-method{grid-template-columns:1fr;gap:24px;padding:40px 0}body.hub .hub-product-method h2{font-size:36px}body.hub .hub-product-close{padding:28px;align-items:flex-start;flex-direction:column;gap:24px;margin-bottom:44px}body.hub .hub-product-close h2{font-size:36px}body.hub .hub-workspace-header{padding:36px 0 24px}body.hub .hub-workspace-header h1{font-size:clamp(2.6rem,7vw,3.7rem)}body.hub .hub-workspace-layout{grid-template-columns:1fr;gap:32px;margin:4px 0 36px}body.hub .hub-result-empty{min-height:0;padding:16px 0}body.hub .hub-selector-output{padding:24px}body.hub .hub-workspace-note{grid-template-columns:1fr;gap:12px;padding:28px 0 40px}body.hub .hub-workspace-note h2{grid-row:auto;margin-bottom:4px}body.hub .hub-saved-toolbar{align-items:flex-start}body.hub [data-hub-saved-list]>article{grid-template-columns:1fr;gap:12px}}
@media(max-width:520px){body.hub .hub-task-links{grid-template-columns:1fr}body.hub .hub-task-links>a{padding:20px 0;min-height:0}body.hub .hub-task-links span{font-size:26px}body.hub .hub-product-intro .actions{flex-direction:column;align-items:flex-start;gap:6px}body.hub .hub-example-sheet{padding:22px 20px 16px}body.hub .hub-example-inputs>div{grid-template-columns:74px minmax(0,1fr);gap:12px}body.hub .hub-sheet-heading h2{font-size:27px}body.hub .hub-reading-actions{gap:8px 24px}body.hub .hub-selector-output{padding:22px 20px}body.hub .hub-result-actions{align-items:stretch;flex-direction:column}body.hub .hub-save-actions{align-items:flex-start;flex-direction:column;gap:0}body.hub .hub-saved-toolbar{flex-direction:column;gap:18px}body.hub .hub-product-close{padding:24px}body.hub .hub-result-header h2{font-size:29px}body.hub #hub-prompt{font-size:16px}body.hub .hub-field textarea{font-size:16px}}
@media(prefers-reduced-motion:reduce){body.hub .button svg,body.hub .hub-sheet-open svg{transition:none;transform:none}}
@media print{body.hub .hub-selector-input,body.hub .hub-result-actions,body.hub .hub-save-actions,body.hub .hub-example-load,body.hub .hub-workspace-note,body.hub .hub-result-empty{display:none!important}body.hub .hub-workspace-layout{display:block}body.hub .hub-selector-output{background:white;padding:0;border:0}body.hub #hub-results[hidden]{display:none!important}body.hub #hub-prompt{border:0;min-height:0}}
