/* Amaltas product stories. Scoped to this variant; shared previews stay intact. */
.amaltas-theme main>.story-section{height:auto;min-height:100svh;overflow:visible;padding-block:112px 64px;gap:0}
.story-section{--story-green:#355d3f;--story-gold:#a47c27;--story-soft:#edf1e8;color:var(--ink)}
.story-section .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.story-section .section-heading{width:100%;align-items:end}
.story-section .section-heading h2{max-width:660px}
.story-section .section-heading>p{max-width:365px}
.story-section button{cursor:pointer}
.story-section :is(button,a):focus-visible{outline:2px solid var(--story-green);outline-offset:4px}
.story-kicker{font:10px/1.5 OSMono,monospace;letter-spacing:.07em;text-transform:uppercase;color:var(--muted)}
.story-workspace{border:1px solid var(--line);background:var(--white);border-radius:6px;overflow:hidden;width:100%}
.story-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 24px;border-bottom:1px solid var(--line);font-size:12px}
.story-bar>span{display:flex;align-items:center;gap:10px}
.story-mark{font:600 23px/1 Space,sans-serif;letter-spacing:-.08em;color:var(--story-green)}
.story-sample{color:var(--muted);font-size:11px;text-align:right}
.workflow-presets{display:flex;gap:6px;padding:12px 24px;border-bottom:1px solid var(--line);overflow-x:auto}
.workflow-presets button{flex-shrink:0;font:500 12px/1.5 Plex,sans-serif;padding:8px 14px;color:var(--muted);border:1px solid transparent;border-radius:3px;background:transparent}
.workflow-presets button[aria-selected=true]{background:var(--story-soft);border-color:#c6d2be;color:var(--story-green)}
.automation-body{display:grid;grid-template-columns:1.12fr 1fr;min-height:322px}
.automation-flow{padding:24px 30px;background:#f6f8f2;border-right:1px solid var(--line)}
.automation-step{display:flex;gap:15px;position:relative;padding-bottom:25px}
.automation-step:last-child{padding-bottom:0}
.automation-step:not(:last-child)::after{content:'';position:absolute;left:15px;top:33px;bottom:5px;border-left:1px dashed #b6c6ac}
.step-number{position:relative;z-index:1;display:grid;place-items:center;width:31px;height:31px;flex:0 0 31px;border:1px solid #bdcdb4;border-radius:50%;font:11px OSMono,monospace;color:var(--story-green);background:#f6f8f2}
.automation-step small{display:block;font:9px/1.4 OSMono,monospace;letter-spacing:.07em;color:var(--muted);margin-bottom:6px}
.automation-step h3{font:500 15px/1.4 Plex,sans-serif;margin:0 0 5px}
.automation-step p{font-size:12px;line-height:1.6;color:var(--muted);margin:0;max-width:390px}
.automation-step .step-tag{display:inline-block;margin-top:8px;padding:3px 7px;border:1px solid var(--line);border-radius:2px;font-size:10px;color:var(--story-green)}
.automation-result{padding:24px 28px;display:flex;flex-direction:column;gap:14px}
.automation-result .result-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}
.result-state{color:var(--story-green);font-size:10px;display:flex;align-items:center;gap:6px}
.result-state::before{content:'';width:5px;height:5px;border-radius:50%;background:currentColor}
.result-card{border:1px solid var(--line);border-radius:4px;padding:17px;background:#f7f8f2}
.result-card h3{font:400 24px/1.15 AmaltasNewsreader,Georgia,serif;margin:8px 0 12px;letter-spacing:-.02em}
.result-card p{font-size:12px;line-height:1.7;color:var(--muted);margin:0}
.result-evidence{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
.result-evidence span{font-size:10px;border-bottom:1px solid #c4cfbb;color:var(--story-green);padding-bottom:3px}
.automation-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto}
.story-action{border:1px solid var(--story-green);border-radius:3px;background:var(--story-green);color:#fff;padding:10px 14px;font:500 11px/1.5 Plex,sans-serif}
.automation-actions>span{font-size:10px;color:var(--muted);max-width:145px;line-height:1.5}
.story-footnote{font-size:11px;line-height:1.6;color:var(--muted);margin:13px 0 0}
.thesis-body{display:grid;grid-template-columns:235px minmax(0,1fr)}
.thesis-versions{padding:25px 22px;background:#f3f6ee;border-right:1px solid var(--line)}
.thesis-company{margin-bottom:22px}
.thesis-company strong{display:block;font-size:15px;font-weight:500;margin:6px 0}
.thesis-company>span{font-size:11px;color:var(--muted)}
.thesis-versions [role=tablist]{display:grid;gap:10px}
.thesis-versions button{position:relative;text-align:left;padding:13px 15px;border:1px solid transparent;border-left:2px solid #cbd5c2;background:transparent;color:var(--muted);border-radius:0 3px 3px 0;font:12px/1.5 Plex,sans-serif}
.thesis-versions button[aria-selected=true]{border-color:#c6d2be;border-left-color:var(--story-green);background:var(--white);color:var(--story-green)}
.thesis-versions button time{display:block;font:10px/1.5 OSMono,monospace;margin-bottom:5px}
.thesis-versions button strong{font-weight:500}
.thesis-detail{padding:25px 28px;min-width:0}
.thesis-detail-top{display:flex;justify-content:space-between;gap:12px;align-items:center}
.thesis-author{font-size:11px;color:var(--muted)}
.thesis-detail h3{font:400 29px/1.15 AmaltasNewsreader,Georgia,serif;letter-spacing:-.02em;margin:13px 0 8px}
.thesis-summary{font-size:12px;line-height:1.65;color:var(--muted);max-width:680px}
.thesis-table{width:100%;border-collapse:collapse;text-align:left;margin-top:17px;font-size:12px}
.thesis-table th,.thesis-table td{padding:10px 9px;border-bottom:1px solid var(--line)}
.thesis-table th:first-child,.thesis-table td:first-child{padding-left:0}
.thesis-table thead th{font-size:10px;font-weight:400;color:var(--muted)}
.thesis-table tbody th{font-weight:500}
.thesis-table td:last-child{color:var(--story-green)}
.thesis-note{display:flex;gap:11px;border-left:2px solid #b6994b;background:#f5f2e7;padding:12px 14px;margin-top:18px}
.thesis-note p{font-size:12px;line-height:1.65;margin:0;color:#635a40}
.thesis-note strong{display:block;font-size:10px;margin-bottom:3px;letter-spacing:.03em}
.thesis-detail .result-evidence{margin-top:14px}
.activity-top{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 20px}
.activity-socials{display:flex;flex-wrap:wrap;gap:24px;font-size:12px;color:var(--story-green)}
.activity-controls{display:flex;align-items:center;gap:10px}
.activity-controls button{width:38px;height:38px;border:1px solid var(--line);border-radius:50%;background:transparent;color:var(--story-green);font-size:17px}
.activity-controls button:disabled{opacity:.35;cursor:default}
.activity-count{font:10px OSMono,monospace;color:var(--muted);min-width:44px;text-align:center}
.activity-rail{display:flex;gap:20px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:#b5c2ac transparent;padding:0 0 15px;scroll-behavior:smooth;overscroll-behavior-x:contain}
.activity-card{flex:0 0 calc((100% - 20px)/2);min-width:0;border:1px solid var(--line);border-radius:5px;overflow:hidden;scroll-snap-align:start;display:flex;flex-direction:column;background:var(--white)}
.activity-art{height:140px;position:relative;overflow:hidden;background:#e8eddf;padding:22px 25px;display:flex;flex-direction:column;justify-content:center}
.activity-art>span{font:9px OSMono,monospace;letter-spacing:.1em;color:var(--story-green);z-index:1}
.activity-art strong{position:relative;font:400 31px/1.1 AmaltasNewsreader,Georgia,serif;letter-spacing:-.025em;color:#29452e;z-index:1;margin-top:11px;max-width:290px}
.activity-art img{position:absolute;height:230px;width:345px;object-fit:contain;right:-100px;bottom:-70px;mix-blend-mode:multiply;opacity:.3}
.activity-art.summit-photo{padding:0}
.activity-art.summit-photo img{position:static;width:100%;height:100%;object-fit:cover;object-position:50% 23%;mix-blend-mode:normal;opacity:1}
.activity-art.company{background:#dfe9da}
.activity-copy{padding:20px 24px;display:flex;flex-direction:column;flex:1;align-items:start}
.activity-meta{display:flex;justify-content:space-between;width:100%;gap:12px;color:var(--muted);font-size:10px}
.social-icon{display:inline-grid;place-items:center;width:19px;height:19px;margin-right:6px;color:var(--white);background:var(--story-green);font:600 12px Arial,sans-serif;border-radius:2px;vertical-align:middle}
.activity-copy h3{font:400 25px/1.15 AmaltasNewsreader,Georgia,serif;letter-spacing:-.02em;margin:18px 0 10px}
.activity-copy>p{font-size:13px;line-height:1.7;color:var(--muted);margin:0 0 20px}
.activity-copy>a{margin-top:auto;color:var(--story-green);font-size:12px;border-bottom:1px solid #c6d2be;padding-bottom:3px}
@media(min-width:1600px){.activity-art{height:170px}.automation-body{min-height:360px}}
@media(max-width:900px){.automation-body{grid-template-columns:1fr 1fr}.automation-flow,.automation-result{padding:22px}.thesis-body{grid-template-columns:195px 1fr}.thesis-versions{padding:22px 15px}.thesis-detail{padding:22px}.story-bar{padding:16px 20px}}
@media(max-width:700px){
 .amaltas-theme main>.story-section{padding-block:100px 76px;justify-content:center}
 .automation-body,.thesis-body{grid-template-columns:1fr}
 .story-bar{padding:14px;gap:10px}.story-bar>span{gap:7px;font-size:11px}.story-sample{font-size:9px;max-width:105px}
 .workflow-presets{padding:10px 12px;gap:2px}.workflow-presets button{font-size:11px;padding:7px 9px}
 .automation-flow{border-right:0;border-bottom:1px solid var(--line);padding:20px}
 .automation-step{padding-bottom:20px}.automation-step h3{font-size:14px}.automation-step p{font-size:12px}
 .automation-result{padding:20px;gap:12px}.result-card h3{font-size:25px}
 .automation-actions>span{font-size:10px}.story-footnote{font-size:10px}
 .thesis-versions{border-right:0;border-bottom:1px solid var(--line);padding:16px}
 .thesis-company{margin-bottom:14px}.thesis-company strong{display:inline;margin-right:8px}
 .thesis-company .story-kicker{display:block;margin-bottom:6px}
 .thesis-versions [role=tablist]{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
 .thesis-versions button{padding:10px 7px;font-size:11px;border-left:1px solid transparent;border-bottom:2px solid #cbd5c2}
 .thesis-versions button[aria-selected=true]{border-left-color:#c6d2be;border-bottom-color:var(--story-green)}
 .thesis-versions button time{font-size:9px}.thesis-detail{padding:20px 16px}
 .thesis-detail h3{font-size:28px}.thesis-author{font-size:10px}.thesis-table{font-size:11px}
 .thesis-table th,.thesis-table td{padding:10px 5px}.thesis-table thead th{font-size:9px}
 .thesis-note{padding:11px}.thesis-note p{font-size:11px}.thesis-summary{font-size:12px}
 .activity-top{gap:12px}.activity-socials{gap:12px;font-size:11px}.activity-controls{gap:5px}.activity-controls button{width:33px;height:33px}.activity-count{display:none}
 .activity-rail{gap:14px}.activity-card{flex-basis:90%}.activity-art{height:145px;padding:22px}
 .activity-art strong{font-size:26px;max-width:100%}.activity-art img{right:-150px;opacity:.22}.activity-copy{padding:20px}.activity-copy h3{font-size:26px}
}
@media(prefers-reduced-motion:reduce){.activity-rail{scroll-behavior:auto}}
