.history-page{max-width:1260px;color:var(--foreground);font-family:var(--font-body,"Inter",sans-serif);margin:auto;padding:24px 24px 80px}.history-page a,.history-offers a{color:inherit;text-underline-offset:4px}.history-page :is(a,button,input,textarea,select):focus-visible,.history-offers a:focus-visible{outline:2px solid var(--gold);outline-offset:4px}.history-page h1{font:400 clamp(34px,5vw,58px)/1.15 var(--font-display,"Playfair Display",Georgia,serif);letter-spacing:-.035em;text-wrap:balance;max-width:850px;margin:16px 0 24px}.history-page h2{font:400 clamp(25px,3vw,34px)/1.25 var(--font-display,"Playfair Display",Georgia,serif);margin:12px 0 20px}.history-page h3{font-size:19px;line-height:1.4}.history-page p{max-width:78ch;line-height:1.75}.history-kicker{color:var(--foreground-muted);letter-spacing:.12em;text-transform:uppercase;font-size:12px}.history-intro{color:var(--foreground-muted);max-width:750px;font-size:18px}.history-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:30px 0;display:grid}.history-card{border:1px solid var(--border);background:var(--surface);border-radius:12px;overflow:hidden}.history-card-body{padding:24px}.history-card img{object-fit:cover;object-position:50% 20%;background:var(--surface-hover);width:100%;height:200px;display:block}.history-card h2{font-size:26px}.history-card p{font-size:14px}.history-tag{border:1px solid var(--gold-border);border-radius:20px;padding:5px 9px;font-size:12px;display:inline-block}.history-actions{flex-wrap:wrap;align-items:center;gap:12px;margin:20px 0;display:flex}.history-page button,.history-button{border:1px solid var(--gold-border);background:var(--surface);min-height:44px;color:var(--foreground);font:500 13px/1.4 var(--font-body,"Inter",sans-serif);cursor:pointer;border-radius:2px;justify-content:center;align-items:center;padding:10px 18px;text-decoration:none;display:inline-flex}.history-page .history-primary{background:var(--foreground);color:var(--background);border-color:var(--foreground)}.history-page button[aria-pressed=true]{border-color:var(--gold);background:var(--surface-hover)}.history-page button:disabled{opacity:.6;cursor:wait}.history-page [hidden],.history-offers [hidden]{display:none!important}.history-panel,.history-step{border:1px solid var(--border);background:var(--surface);border-radius:12px;margin:24px 0;padding:clamp(20px,4vw,36px)}.history-step{scroll-margin-top:100px}.history-step[open]{border-color:var(--gold-border)}.history-step summary{cursor:pointer;font-size:20px;line-height:1.5}.history-step summary span{color:var(--foreground-muted);margin-inline-end:10px;font-size:13px}.history-sources{border-inline-start:2px solid var(--gold-border);margin-block:24px;padding-inline-start:18px}.history-sources p{font-size:13px}.history-question{border:1px solid var(--border);border-radius:8px;margin:18px 0;padding:18px}.history-question label{align-items:center;gap:10px;min-height:44px;display:flex}.history-question input{width:18px;height:18px}.history-map-label{color:var(--foreground-muted);border:1px solid var(--border);border-radius:6px;padding:12px;font-size:13px}.history-status{min-height:1.6em;color:var(--foreground-muted);font-size:14px}.history-page progress{width:100%;accent-color:var(--gold);height:8px}.history-page label:not(.history-question label){margin-block:16px 6px;font-size:14px;display:block}.history-page :is(input:not([type=radio]):not([type=checkbox]),textarea,select){box-sizing:border-box;border:1px solid var(--border);background:var(--background);width:100%;color:var(--foreground);font:inherit;border-radius:6px;padding:12px}.history-page textarea{resize:vertical;min-height:100px}.history-page dialog{border:1px solid var(--gold-border);background:var(--background);width:min(560px,100% - 48px);max-height:85dvh;color:var(--foreground);border-radius:12px;padding:24px;overflow:auto}.history-page dialog::backdrop{background:#0008}.history-item{border-top:1px solid var(--border);padding-block:18px}.history-item p{white-space:pre-wrap;overflow-wrap:anywhere}.history-item ul{padding-inline-start:20px}.history-tabs{flex-wrap:wrap;gap:10px;display:flex}.history-place-map{border:1px solid var(--border);aspect-ratio:16/8;object-fit:cover;background:var(--surface-hover);border-radius:12px;width:100%}.history-step .history-actions a{overflow-wrap:anywhere;max-width:100%}.history-offers{max-width:1000px;font-family:var(--font-body,"Inter",sans-serif);margin:16px auto 36px;padding:0 24px}.history-offer-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.history-offer{border:1px solid var(--border);background:var(--surface);color:var(--foreground);border-radius:12px;padding:22px;text-decoration:none;display:block}.history-offer strong{font:400 22px/1.3 var(--font-display,"Playfair Display",Georgia,serif);margin:8px 0;display:block}.history-offer span{color:var(--foreground-muted);font-size:13px;line-height:1.6}.history-offer:hover{border-color:var(--gold)}.history-offers>p{text-align:center;color:var(--foreground-muted);font-size:13px}.search-home[data-has-query=true] .history-offers{display:none}@media (width<=760px){.history-grid,.history-offer-grid{grid-template-columns:1fr}.history-card img{height:220px}.history-page{padding-inline:18px;padding-top:16px}.history-offers{padding-inline:20px}.history-offer{padding:18px}.history-offer strong{font-size:21px}}@media (prefers-reduced-motion:no-preference){.history-offer{transition:border-color .15s,transform .15s}.history-offer:hover{transform:translateY(-2px)}}.history-journey-hero{grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);align-items:center;gap:48px;margin:24px 0 42px;display:grid}.history-hero-copy h1{margin-top:18px;font-size:clamp(36px,4.1vw,60px);line-height:1.08}.history-hero-copy .history-intro{font-size:17px}.history-hero-copy>p:last-of-type{color:var(--foreground-muted);font-size:14px}.history-hero-art{min-width:0;margin:0}.history-hero-art img{aspect-ratio:4/3;object-fit:cover;object-position:center;border:1px solid var(--gold-border);border-radius:8px;width:100%;height:auto;display:block}.history-hero-art figcaption,.history-notebook-art figcaption{text-align:end;color:var(--foreground-muted);margin-top:9px;font-size:11px;line-height:1.6}.history-page .history-primary{background:var(--gold);border-color:var(--gold);color:var(--primary-foreground);gap:18px;padding-inline:24px;font-weight:600}.history-workspace{grid-template-columns:230px minmax(0,1fr);align-items:start;gap:28px;scroll-margin-top:90px;display:grid}.history-workspace:has(.history-chapters[hidden]){grid-template-columns:1fr}.history-chapters{border:1px solid var(--border);border-radius:8px;flex-direction:column;margin-block:24px;display:flex;position:sticky;top:100px;overflow:hidden}.history-chapters a{color:var(--foreground-muted);border-bottom:1px solid var(--border);padding:20px 16px;font-size:13px;line-height:1.6;text-decoration:none;display:block}.history-chapters a:last-child{border-bottom:0}.history-chapters a:hover,.history-chapters a:focus-visible{color:var(--gold);background:var(--surface-hover)}.history-workspace .history-step{margin-block:24px;padding:30px}.history-step summary{font-family:var(--font-display,"Playfair Display",Georgia,serif);font-size:29px;line-height:1.25}.history-step summary span{font-family:var(--font-body,"Inter",sans-serif);letter-spacing:.1em;text-transform:uppercase;margin-bottom:8px;font-size:10px;display:block}.history-step:not([open]) summary{font-size:21px}.history-sources>div{border-top:1px solid var(--border);padding:14px 0}.history-sources>div:first-child{border-top:0}.history-progress-row{border-top:1px solid var(--gold-border);justify-content:space-between;align-items:center;gap:30px;padding-top:20px;display:flex}.history-progress-row>[data-history-progress]{flex:1;max-width:650px}.history-notebook-link{white-space:nowrap;font-size:13px;color:var(--gold)!important}.history-builder-entry{border:1px solid var(--gold-border);background:var(--surface);border-radius:8px;justify-content:space-between;align-items:center;gap:40px;margin:36px 0 56px;padding:28px 32px;display:flex}.history-builder-entry h2{margin:8px 0 12px;font-size:28px}.history-builder-entry p{max-width:70ch;margin-bottom:0;font-size:14px}.history-builder-entry .history-button{flex-shrink:0}.history-record{border-inline-start:2px solid var(--gold);background:var(--surface-hover);white-space:pre-wrap;margin:20px 0 8px;padding:18px 20px;font-size:15px;line-height:1.75}.history-record-cite{color:var(--foreground-muted);margin:0 0 24px;font-size:11px}.history-builder-results{padding:0;list-style:none}.history-builder-results a{border-top:1px solid var(--border);flex-direction:column;gap:7px;padding:18px;text-decoration:none;display:flex}.history-builder-results a:hover{background:var(--surface-hover)}.history-builder-results span{color:var(--foreground-muted);font-size:13px}.history-generated-heading{border-top:1px solid var(--gold-border);margin-top:44px;padding-top:28px}.history-generated-heading h2{max-width:800px;font-size:40px}.history-notebook-hero{border-bottom:1px solid var(--gold-border);grid-template-columns:1fr 310px;align-items:center;gap:50px;margin-bottom:20px;padding-bottom:36px;display:grid}.history-notebook-hero h1{font-size:clamp(38px,5vw,62px)}.history-notebook-art{border:1px solid var(--gold-border);background:var(--surface);margin:0;padding:10px;transform:rotate(2deg);box-shadow:0 15px 35px #0002}.history-notebook-art img{object-fit:cover;width:100%;height:210px;display:block}.history-notebook-art figcaption{text-align:center}.history-notebook-principles{letter-spacing:.06em;color:var(--foreground-muted);flex-wrap:wrap;gap:12px 22px;margin-top:24px;font-size:11px;display:flex}.history-notebook-principles span:before{content:"◇";color:var(--gold);margin-inline-end:8px}[data-history-notebook] .history-panel{border-radius:8px}[data-history-notebook] .history-item{grid-template-columns:130px minmax(0,1fr);column-gap:24px;padding-block:24px;display:grid}[data-history-notebook] .history-item>.history-kicker{color:var(--gold);grid-row:1/5;align-self:start;font-size:10px}[data-history-notebook] .history-item>h3,[data-history-notebook] .history-item>p,[data-history-notebook] .history-item>ul,[data-history-notebook] .history-item>.history-actions{grid-column:2}[data-history-notebook] .history-item>h3{font:400 24px/1.4 var(--font-display,"Playfair Display",Georgia,serif);margin:0 0 14px}[data-history-notebook] .history-item>p{border-inline-start:1px solid var(--gold-border);padding-inline-start:18px;font-size:14px}[data-history-notebook] .history-item>ul{color:var(--foreground-muted);font-size:12px;line-height:1.8}@media (width<=900px){.history-journey-hero{gap:24px}.history-workspace{grid-template-columns:190px minmax(0,1fr);gap:18px}.history-notebook-hero{grid-template-columns:1fr 220px;gap:26px}.history-step summary{font-size:25px}}@media (width<=700px){.history-journey-hero{grid-template-columns:1fr;gap:24px;margin-top:12px}.history-hero-art{grid-row:2}.history-hero-art img{aspect-ratio:16/9}.history-workspace{display:block}.history-chapters{white-space:nowrap;flex-direction:row;margin-bottom:0;position:static;overflow:auto}.history-chapters a{border-bottom:0;border-inline-end:1px solid var(--border);padding:12px 16px;font-size:11px}.history-workspace .history-step{padding:22px}.history-progress-row{flex-direction:column;align-items:start;gap:12px}.history-progress-row>[data-history-progress]{width:100%}.history-builder-entry{padding:24px;display:block}.history-builder-entry .history-button{margin-top:22px}.history-notebook-hero{display:block}.history-notebook-art{display:none}[data-history-notebook] .history-item{display:block}[data-history-notebook] .history-item>.history-kicker{margin-bottom:12px;display:block}.history-generated-heading h2{font-size:32px}}.history-offers-heading{text-align:center;margin:0 0 20px}.history-offers-heading h2{font:400 27px/1.3 var(--font-display,Georgia,serif);margin:0 0 8px}.history-offers-heading p{max-width:66ch;color:var(--foreground-muted);margin:0 auto;font-size:14px;line-height:1.65}.history-offers-links{flex-wrap:wrap;justify-content:center;gap:6px 24px;margin-top:18px;display:flex}.history-offers-links a{align-items:center;min-height:44px;font-size:14px;display:inline-flex}.history-step-status{scroll-margin-top:100px}.history-resume{border:1px solid var(--gold-border);background:var(--surface);border-radius:8px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 20px;margin:0 0 18px;padding:16px 20px;text-decoration:none;display:flex}.history-resume span{color:var(--foreground-muted);font-size:12px}.history-resume strong{font-size:15px;font-weight:500}.history-resume:hover{border-color:var(--gold)}
