/* AARO Studio: original editorial previews, accessible in all three themes. */
.sg-gallery{width:100%;margin:44px auto 12px;color:var(--ink,#f3f3f3);font-family:inherit;text-align:left}
.sg-gallery[hidden],.sg-prompt-guide[hidden],.sg-prompt-copy[hidden]{display:none}
.sg-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}
.sg-heading>div>span{font-size:10px;letter-spacing:.18em;color:var(--muted,#a7a7ac)}
.sg-heading h2{font-size:clamp(19px,2.1vw,25px);line-height:1.3;letter-spacing:-.04em;font-weight:500;margin:8px 0 0;color:var(--ink,#f3f3f3)}
.sg-gallery button,.sg-dialog button{font-family:inherit;cursor:pointer}
.sg-prompt-help{border:0;background:transparent;color:var(--muted,#a7a7ac);font-size:12px;white-space:nowrap;padding:10px 0 10px 12px}
.sg-prompt-help span{margin-left:8px}
.sg-prompt-help:hover{color:var(--ink,#f3f3f3)}
.sg-filters{display:flex;gap:6px;overflow:auto;padding:0 0 17px;scrollbar-width:thin}
.sg-filters button{font-size:12px;white-space:nowrap;padding:8px 16px;border:1px solid transparent;border-radius:30px;color:var(--muted,#a7a7ac);background:transparent;min-height:36px}
.sg-filters button[aria-pressed=true]{background:var(--panel,#202126);border-color:var(--line,#ffffff20);color:var(--ink,#f3f3f3)}
.sg-filters button:hover{color:var(--ink,#f3f3f3);border-color:var(--line,#ffffff20)}
.sg-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 20px}
.sg-card{display:block;text-align:left;padding:0;border:0;border-radius:14px;background:transparent;color:inherit;min-width:0}
.sg-preview{aspect-ratio:1.63;position:relative;overflow:hidden;isolation:isolate;border:1px solid #ffffff12;border-radius:12px;padding:22px;color:#1d2928;box-sizing:border-box;background:#d4dfd7;transition:transform .3s,border-color .3s}
.sg-card:hover .sg-preview{transform:translateY(-3px);border-color:#7a878b}
.sg-card:focus-visible,.sg-gallery button:focus-visible,.sg-dialog button:focus-visible{outline:2px solid var(--ink,#eee);outline-offset:5px}
.sg-preview.sg-sage{background:linear-gradient(135deg,#e6eadf,#c5d3c4);color:#203d30}
.sg-preview.sg-sand{background:linear-gradient(135deg,#f2eade,#dfcfb8);color:#4e3e2d}
.sg-preview.sg-blue{background:linear-gradient(135deg,#e4eaf0,#bbcbdc);color:#213b54}
.sg-preview.sg-rose{background:linear-gradient(135deg,#efdfdb,#d3b9b6);color:#563731}
.sg-preview.sg-slate{background:linear-gradient(135deg,#202629,#0d1113);color:#e2e6e3}
.sg-eyebrow{display:block;position:relative;z-index:2;font-size:7px;letter-spacing:.15em;text-transform:uppercase;opacity:.75;margin-bottom:24px}
.sg-preview>strong{display:block;position:relative;z-index:2;font-size:clamp(17px,2vw,30px);letter-spacing:-.055em;line-height:1.06;font-weight:600;max-width:78%}
.sg-card-caption{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 2px 0}
.sg-card-caption strong{display:block;font-weight:500;font-size:13px;color:var(--ink,#eee)}
.sg-card-caption small{display:block;color:var(--muted,#a7a7ac);font-size:11px;margin-top:5px}
.sg-card-arrow{font-size:18px;color:var(--muted,#a7a7ac);opacity:0;transform:translate(-4px,4px);transition:opacity .2s,transform .2s}
.sg-card:hover .sg-card-arrow,.sg-card:focus-visible .sg-card-arrow{opacity:1;transform:none}
.sg-graphic{position:absolute;right:-12px;bottom:-22px;width:52%;height:76%;opacity:.75;transform:rotate(-24deg)}
.sg-graphic i{position:absolute;width:85%;height:85%;border:1px solid currentColor;border-radius:50%;opacity:.24}
.sg-graphic i:nth-child(2){transform:translate(18px,-12px)}
.sg-graphic i:nth-child(3){transform:translate(36px,-24px);background:radial-gradient(circle at 30% 30%,#fff9,transparent 60%)}
.sg-document .sg-preview{background:#fff}
.sg-document>strong{font-family:Georgia,serif;letter-spacing:-.035em;font-weight:400;max-width:83%}
.sg-paper-lines{position:absolute;left:22px;bottom:30px;width:52%;display:grid;gap:5px}
.sg-paper-lines i{height:2px;background:currentColor;opacity:.14}
.sg-paper-lines i:last-child{width:67%}
.sg-page-number{position:absolute;bottom:13px;left:22px;font-size:6px;letter-spacing:.14em;opacity:.6}
.sg-document:after{content:'';position:absolute;width:16%;height:100%;right:0;top:0;border-left:1px solid #0001;background:#fff2}
.sg-sheet>strong{font-size:20px;max-width:90%}
.sg-sheet .sg-eyebrow{margin-bottom:12px}
.sg-mini-sheet{position:absolute;left:22px;right:22px;bottom:14px;border:1px solid #263e3820;border-radius:4px;overflow:hidden;background:#ffffff9c;font-size:7px;color:#34473f;transform:perspective(400px) rotateX(6deg);transform-origin:bottom}
.sg-sheet-top{display:flex!important;justify-content:space-between;padding:6px 8px;font-size:6px;letter-spacing:.1em;background:#ffffff70}
.sg-mini-sheet>div:not(.sg-sheet-top){display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr}
.sg-mini-sheet>div:nth-child(2){background:#b7cabc55;font-weight:600}
.sg-mini-sheet span{padding:4px 7px;border-right:1px solid #263e3812;border-bottom:1px solid #263e3812}
.sg-sheet-top span{border:0;padding:0}
.sg-mini-nav{display:flex;justify-content:space-between;position:absolute;top:16px;left:22px;right:22px;font-size:7px;z-index:3}
.sg-mini-nav b{font-size:11px;letter-spacing:-.05em}
.sg-mini-nav>span{opacity:.65}
.sg-website .sg-eyebrow{opacity:0;margin-bottom:40px}
.sg-website>strong{font-size:25px;max-width:80%}
.sg-orbit{position:absolute;right:2%;bottom:-23%;width:48%;aspect-ratio:1;border-radius:50%;border:1px solid currentColor;opacity:.22;transform:rotate(-35deg)}
.sg-orbit i{position:absolute;inset:15%;border:1px solid currentColor;border-radius:50%}
.sg-orbit i:last-child{inset:32%;background:currentColor;filter:blur(12px)}
.sg-research-chart{position:absolute;bottom:25px;right:24px;left:24px;height:43%;display:flex;align-items:end;gap:8px;border-bottom:1px solid #34475a40;opacity:.6}
.sg-research-chart i{flex:1;background:currentColor;opacity:.27;height:30%}
.sg-research-chart i:nth-child(2){height:42%}.sg-research-chart i:nth-child(3){height:35%}.sg-research-chart i:nth-child(4){height:60%}.sg-research-chart i:nth-child(5){height:70%}.sg-research-chart i:nth-child(6){height:88%}
.sg-research-chart>span{position:absolute;bottom:-15px;left:0;font-size:6px;letter-spacing:.13em}
.sg-flow{display:flex;align-items:center;position:absolute;left:22px;right:22px;bottom:28px;font-size:8px}
.sg-flow span{border:1px solid currentColor;border-radius:5px;padding:10px 8px;background:#ffffff12}.sg-flow i{height:1px;background:currentColor;flex:1;opacity:.3}
.sg-code-lines{position:absolute;bottom:20px;left:22px;font-family:monospace;font-size:8px;line-height:1.7;display:grid;opacity:.65;white-space:pre}
.sg-code>strong{font-size:23px}
.sg-footnote{margin:24px 0 0!important;text-align:center;color:var(--muted,#a7a7ac)!important;font-size:11px!important;letter-spacing:.01em}
.sg-prompt-guide{margin:0 0 20px;padding:18px 20px;border:1px solid var(--line,#ffffff20);border-radius:12px;background:var(--panel,#202126)}
.sg-prompt-guide strong{font-size:13px;font-weight:500}.sg-prompt-guide p{font-size:12px;line-height:1.7;color:var(--muted,#a7a7ac);margin:8px 0 0}
.sg-dialog{width:min(920px,calc(100vw - 40px));max-height:calc(100dvh - 40px);padding:0;border:1px solid var(--line,#ffffff20);border-radius:20px;background:var(--panel,#17191b);color:var(--ink,#f0f0ed);box-shadow:0 36px 130px #0009;overflow:auto}
.sg-dialog::backdrop{background:#03070ab3;backdrop-filter:blur(12px)}
.sg-dialog-top{display:flex;align-items:center;justify-content:space-between;padding:18px 24px;border-bottom:1px solid var(--line,#ffffff20)}
.sg-dialog-top>span{font-size:10px;letter-spacing:.14em;color:var(--muted,#a7a7ac)}
.sg-dialog-top button{width:34px;height:34px;background:transparent;border:1px solid var(--line,#ffffff20);border-radius:50%;font-size:22px;color:var(--ink,#eee)}
.sg-dialog-layout{display:grid;grid-template-columns:1fr 1fr;gap:24px;padding:24px}
.sg-dialog .sg-preview{width:100%;aspect-ratio:1.5;padding:24px}
.sg-dialog .sg-preview>strong{font-size:28px}
.sg-dialog .sg-sheet>strong{font-size:20px}
.sg-detail h2{font-size:23px;font-weight:500;letter-spacing:-.04em;line-height:1.3;margin:22px 0 8px;color:var(--ink,#eee)}
.sg-detail p{font-size:13px;line-height:1.6;margin:0 0 16px;color:var(--ink,#eee)}
.sg-detail>span{font-size:11px;line-height:1.6;display:block;color:var(--muted,#a7a7ac)}
.sg-artifact{border:1px solid var(--line,#ffffff20);border-radius:12px;min-width:0;overflow:hidden;background:var(--bg,#101113)}
.sg-artifact-label{display:flex;justify-content:space-between;align-items:center;padding:13px 16px;border-bottom:1px solid var(--line,#ffffff20);font-size:9px;letter-spacing:.1em;color:var(--muted,#a7a7ac)}
.sg-artifact-label>span{font-size:8px;letter-spacing:.06em}
.sg-artifact pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;line-height:1.9;max-height:350px;overflow:auto;margin:0;padding:18px;color:var(--ink,#eee);font-family:ui-monospace,SFMono-Regular,Consolas,monospace;tab-size:2}
.sg-artifact iframe{width:100%;height:350px;border:0;display:block;background:#f4f3ee}
.sg-prompt-section{padding:0 24px 20px}
.sg-prompt-section label{display:block;font-size:11px;font-weight:600;color:var(--ink,#eee)}
.sg-prompt-section p{font-size:12px;line-height:1.7;margin:8px 0 0;color:var(--muted,#a7a7ac)}
.sg-prompt-copy{width:100%;min-height:100px;padding:10px;box-sizing:border-box;background:var(--bg,#101113);color:var(--ink,#eee);border:1px solid var(--line,#ffffff20);margin-top:12px}
.sg-dialog-actions{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap;padding:18px 24px;border-top:1px solid var(--line,#ffffff20);position:sticky;bottom:0;background:var(--panel,#17191b)}
.sg-dialog-actions button{padding:11px 16px;border:1px solid var(--line,#ffffff20);border-radius:9px;font-size:12px;color:var(--ink,#eee);background:transparent}
.sg-dialog-actions button:first-child{margin-right:auto}
.sg-dialog-actions button.sg-primary{background:var(--ink,#eee);border-color:transparent;color:var(--bg,#101113)}
body[data-theme=light] .sg-dialog{background:var(--panel,#fff);color:#202326}
body[data-theme=matrix] .sg-preview{filter:saturate(.55)}
@media(min-width:1400px){.sg-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.sg-preview>strong{font-size:24px}.sg-sheet>strong{font-size:17px}}
@media(max-width:680px){.sg-gallery{margin-top:32px}.sg-heading{align-items:flex-start;gap:10px}.sg-heading h2{font-size:19px}.sg-heading>div>span{font-size:8px}.sg-prompt-help{font-size:11px;padding-top:2px}.sg-grid{gap:20px 12px}.sg-preview{padding:14px;aspect-ratio:1.18}.sg-preview>strong{font-size:19px;max-width:100%}.sg-eyebrow{font-size:5px;margin-bottom:18px}.sg-mini-nav{left:14px;right:14px;font-size:5px}.sg-mini-nav b{font-size:9px}.sg-website .sg-eyebrow{margin-bottom:30px}.sg-card-caption strong{font-size:12px;line-height:1.5}.sg-card-caption small{font-size:10px}.sg-card-arrow{display:none}.sg-mini-sheet{left:10px;right:10px;bottom:10px;font-size:5px}.sg-mini-sheet span{padding:3px}.sg-sheet-top{font-size:5px;padding:4px}.sg-sheet>strong{font-size:15px}.sg-sheet .sg-eyebrow{margin-bottom:10px}.sg-paper-lines{left:14px;bottom:28px}.sg-page-number{left:14px;font-size:4px}.sg-research-chart{right:14px;left:14px;gap:4px}.sg-research-chart>span{font-size:4px}.sg-flow{left:10px;right:10px;bottom:24px;font-size:5px}.sg-flow span{padding:8px 4px}.sg-code-lines{font-size:5px;left:12px;bottom:14px}.sg-dialog{width:calc(100vw - 24px);max-height:calc(100dvh - 24px);border-radius:16px}.sg-dialog-layout{grid-template-columns:1fr;padding:18px;gap:18px}.sg-dialog-top{padding:12px 18px}.sg-dialog .sg-preview{aspect-ratio:1.8}.sg-dialog .sg-preview>strong{font-size:29px}.sg-dialog .sg-eyebrow{font-size:7px}.sg-artifact pre{max-height:230px}.sg-artifact iframe{height:270px}.sg-prompt-section{padding:0 18px 18px}.sg-dialog-actions{padding:14px 18px;gap:8px;justify-content:stretch}.sg-dialog-actions button{flex:1;padding:12px 9px;font-size:11px}.sg-dialog-actions button:first-child{flex-basis:100%;margin:0}.sg-dialog .sg-mini-sheet{left:22px;right:22px;font-size:7px}.sg-dialog .sg-mini-sheet span{padding:4px 7px}.sg-dialog .sg-sheet>strong{font-size:20px}.sg-dialog .sg-code-lines{font-size:8px;left:24px}.sg-dialog .sg-flow{font-size:8px;left:24px;right:24px}.sg-dialog .sg-flow span{padding:10px}.sg-dialog .sg-research-chart>span{font-size:6px}}
@media(prefers-reduced-motion:reduce){.sg-preview,.sg-card-arrow{transition:none}}
