.ss-tools-section,.ss-focus-dialog{--st-paper:#fff;--st-bg:#f5f1f9;--st-line:#e2d8ec;--st-ink:#302439;--st-muted:#71627f;--st-accent:#775090;color:var(--st-ink)}
.ss-page .ss-hero-grid{grid-template-columns:1.25fr 1fr;gap:60px;align-items:center}
.ss-page .ss-hero-copy h1{font-size:clamp(38px,4.7vw,64px);line-height:1.07;letter-spacing:-.045em}
.ss-page .ss-lead{font-size:19px;line-height:1.7;max-width:580px}
.ss-welcome-scene{padding:30px;border:1px solid #ded3eb;border-radius:30px;text-align:center;background:#f5f0fa;color:#70547e;transform:rotate(1deg)}
.ss-welcome-scene>span{font-size:11px;letter-spacing:.08em}.ss-welcome-scene .site-mascot{display:block;width:230px;height:230px;margin:18px auto 4px}.ss-welcome-scene>p{font-size:26px;line-height:1.3;letter-spacing:-.025em}.ss-welcome-scene>div{border-top:1px solid #ded3eb;padding-top:20px;font-size:12px;line-height:1.8}
html[data-theme="dark"] .ss-welcome-scene{background:#272031;border-color:#44364f;color:#dbc7eb}html[data-theme="dark"] .ss-welcome-scene>div{border-color:#44364f}
@media(max-width:800px){.ss-page .ss-hero-grid{grid-template-columns:1fr;gap:28px}.ss-welcome-scene{transform:none;padding:20px}.ss-welcome-scene .site-mascot{width:150px;height:150px}.ss-welcome-scene>p{font-size:23px}.ss-page .ss-lead{font-size:17px}}
html[data-theme="dark"] :is(.ss-tools-section,.ss-focus-dialog){--st-paper:#24202e;--st-bg:#1b1725;--st-line:#44374f;--st-ink:#f1e9f7;--st-muted:#c0b1cf;--st-accent:#c4a0df}
#interface{scroll-margin-top:95px}
.ss-page .ss-tools-section{padding:56px 0}.ss-tools-section .ss-heading{margin-bottom:28px}
.ss-focus-dialog .ss-workspace{grid-template-columns:1fr}.ss-focus-dialog .ss-tool-nav{display:none}
@media(max-width:600px){.ss-page .ss-tools-section{padding:32px 0}.ss-tools-section .ss-heading>p{font-size:16px;line-height:1.65}.ss-tools-section .ss-heading{margin-bottom:20px}}
.ss-tool-panel h3{scroll-margin-top:110px}
.ss-workspace{display:grid;grid-template-columns:280px minmax(0,1fr);gap:32px;align-items:start}
.ss-tool-nav{display:grid;gap:10px;padding-top:12px}
.ss-workspace button{font:inherit;cursor:pointer}
.ss-tool-nav button{display:flex;gap:16px;align-items:center;text-align:left;border:1px solid transparent;background:transparent;border-radius:16px;color:var(--st-muted);padding:18px}
.ss-tool-nav button[aria-pressed="true"]{background:var(--st-paper);border-color:var(--st-line);color:var(--st-ink)}
.ss-tool-nav i{font-size:23px;color:var(--st-accent)}
.ss-tool-nav span{font-size:15px;font-weight:600}.ss-tool-nav small{display:block;font-size:12px;font-weight:400;margin-top:5px;color:var(--st-muted)}
.ss-tool-nav>p{font-size:12px;line-height:1.8;color:var(--st-muted);padding:12px 18px}
.ss-tool-surface{border:1px solid var(--st-line);border-radius:26px;background:var(--st-paper);overflow:hidden;min-width:0;box-shadow:0 24px 65px #22113208}
.ss-tool-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:18px 26px;border-bottom:1px solid var(--st-line);font-size:10px;letter-spacing:.06em;color:var(--st-muted)}
.ss-tool-toolbar>span>span{padding:0 10px}.ss-tool-toolbar button{font-size:12px;background:none;border:0;color:var(--st-accent);padding:8px}
.ss-tool-panel{padding:32px;min-height:450px}.ss-workspace [hidden]{display:none!important}
.ss-tool-heading{display:flex;align-items:center;gap:16px}.ss-tool-heading>div{flex:1;min-width:0}.ss-tool-heading .site-mascot{width:145px;height:145px;flex:none;margin:0}
.ss-tool-label{font-size:10px;text-transform:uppercase;letter-spacing:.1em;color:var(--st-accent)}
.ss-tool-panel h3{font-size:clamp(25px,2.6vw,34px);letter-spacing:-.03em;line-height:1.15;margin:14px 0;color:var(--st-ink)}
.ss-tool-panel p{font-size:15px;line-height:1.7;color:var(--st-muted)}
.ss-mood-options,.ss-phrase-options,.ss-tool-actions{display:flex;flex-wrap:wrap;gap:10px;margin:24px 0}
.ss-mood-options button,.ss-phrase-options button,.ss-tool-actions button{padding:12px 16px;border:1px solid var(--st-line);border-radius:12px;background:var(--st-bg);color:var(--st-ink);font-size:14px;min-height:44px}
.ss-mood-options button[aria-pressed="true"]{border-color:var(--st-accent);box-shadow:inset 0 0 0 1px var(--st-accent)}
.ss-workspace .ss-tool-primary{background:#78528f;color:#fff;border:1px solid #78528f;padding:12px 18px;border-radius:12px;font-size:14px;min-height:44px}
.ss-tool-result{padding:20px;background:var(--st-bg);border-radius:16px}.ss-tool-result p{margin-top:0}
.ss-tool-panel .ss-tool-footnote{font-size:12px;margin-top:24px}
.ss-grounding-content{background:var(--st-bg);border-radius:16px;padding:24px;margin-top:20px}.ss-grounding-content>span{font-size:12px;color:var(--st-accent)}
.ss-grounding-content h4{font-size:23px;line-height:1.3;margin:12px 0;color:var(--st-ink)}
.ss-grounding-content p{margin-bottom:0}
#ss-step-progress{display:block;width:100%;height:5px;margin-top:18px;accent-color:var(--st-accent)}
.ss-tool-panel label{display:block;font-size:13px;color:var(--st-muted);margin-bottom:8px}
#ss-phrase-text{width:100%;box-sizing:border-box;resize:vertical;min-height:135px;padding:18px;font:inherit;font-size:16px;line-height:1.6;color:var(--st-ink);background:var(--st-bg);border:1px solid var(--st-line);border-radius:14px}
.ss-tool-actions a{align-self:center;color:var(--st-accent);font-size:14px;text-underline-offset:4px}
.ss-letter{border:1px solid var(--st-line);border-radius:16px;background:var(--st-bg);margin-top:24px}.ss-letter summary{display:flex;align-items:center;gap:14px;cursor:pointer;list-style:none;padding:20px;color:var(--st-ink);font-size:16px}.ss-letter summary::-webkit-details-marker{display:none}.ss-letter summary>span{margin-left:auto}.ss-letter[open] summary>span{transform:rotate(45deg)}.ss-letter>div{padding:0 24px 24px}.ss-letter>div>span{font-size:14px;color:var(--st-accent)}
.ss-tools-safety{padding:16px 26px;border-top:1px solid var(--st-line);color:var(--st-muted)}.ss-tools-safety summary{cursor:pointer;font-size:12px}.ss-tools-safety p{font-size:13px;line-height:1.7}
.ss-tools-outro{text-align:center;font-size:14px;margin:26px 0 0;color:var(--st-muted)}.ss-tools-outro a{color:var(--st-accent);text-underline-offset:4px}
.ss-workspace :is(button,a,summary,textarea):focus-visible{outline:3px solid var(--st-accent);outline-offset:4px}
.ss-focus-dialog{width:min(1100px,94vw);max-width:none;max-height:92dvh;padding:24px;border:1px solid var(--st-line);border-radius:24px;background:var(--st-bg)}.ss-focus-dialog::backdrop{background:#120e1dd9;backdrop-filter:blur(6px)}
@media(prefers-reduced-motion:no-preference){.ss-letter[open]>div{animation:ss-letter-arrive .3s ease-out}@keyframes ss-letter-arrive{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}}
@media(max-width:900px){.ss-workspace{grid-template-columns:1fr;gap:16px}.ss-tool-nav{grid-template-columns:repeat(2,minmax(0,1fr));padding:0}.ss-tool-nav>p{display:none}.ss-tool-panel{min-height:0}}
@media(max-width:600px){.ss-tool-nav button{padding:12px;gap:10px}.ss-tool-nav span{font-size:13px}.ss-tool-nav small{font-size:11px}.ss-tool-nav i{font-size:18px}.ss-tool-toolbar{padding:12px 16px}.ss-tool-toolbar>span{font-size:8px;max-width:140px}.ss-tool-toolbar>span>span{padding:0 4px}.ss-tool-toolbar button{font-size:11px}.ss-tool-panel{padding:22px 18px}.ss-tool-heading{gap:8px}.ss-tool-heading .site-mascot{width:85px;height:85px}.ss-tool-panel h3{font-size:25px}.ss-tool-heading p{font-size:14px}.ss-tool-label{font-size:9px}.ss-tool-surface{border-radius:20px}.ss-mood-options{gap:8px}.ss-mood-options button{flex:1;padding:10px 8px;font-size:12px}.ss-grounding-content{padding:18px}.ss-grounding-content h4{font-size:21px}.ss-focus-dialog{padding:10px;width:96vw;max-height:96dvh;border-radius:16px}.ss-tool-actions{gap:8px}.ss-tool-actions button{font-size:13px}}
