:root {
  color-scheme: light;
  --ink: #202a31;
  --muted: #7c878e;
  --faint: #aeb7bc;
  --line: #e8ecec;
  --panel: #ffffff;
  --canvas: #f7f8f7;
  --sidebar: #f2f4f2;
  --green: #375d53;
  --green-dark: #2a4c43;
  --green-wash: #eaf1ed;
  --lime: #ddf477;
  --blue: #dde9f4;
  --peach: #f5dccd;
  --lilac: #ece6fa;
  --shadow: 0 24px 64px rgba(31, 48, 43, 0.11);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--canvas); }
body { margin: 0; min-height: 100vh; color: var(--ink); background: var(--canvas); }
button, textarea { font: inherit; }
button { color: inherit; }
button:focus-visible, textarea:focus-visible { outline: 3px solid rgba(91, 133, 117, .38); outline-offset: 3px; }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: 252px minmax(0, 1fr); }
.sidebar { min-height: 100vh; padding: 25px 16px 16px; display: flex; flex-direction: column; background: var(--sidebar); border-right: 1px solid #e9edeb; }
.brand { display: flex; align-items: center; gap: 11px; padding: 0 8px; color: var(--ink); text-decoration: none; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; color: var(--green); background: #e2eddf; border-radius: 13px; }
.brand-mark svg { width: 24px; height: 24px; }
.brand-copy { display: grid; gap: 1px; }
.brand-copy strong { font-size: 17px; letter-spacing: -.04em; }
.brand-copy small { color: #8b9693; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.new-chat { width: 100%; margin: 34px 0 31px; padding: 11px 12px; display: flex; align-items: center; gap: 10px; color: #fff; background: var(--green); border: 0; border-radius: 11px; cursor: pointer; font-size: 12px; font-weight: 650; box-shadow: 0 5px 14px rgba(55, 93, 83, .16); transition: transform .18s ease, background .18s ease; }
.new-chat:hover { background: var(--green-dark); transform: translateY(-1px); }
.new-chat svg, .nav-item svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.new-chat kbd { margin-left: auto; color: rgba(255,255,255,.68); font-size: 9px; font-weight: 500; }
.side-section { display: grid; gap: 5px; margin-bottom: 26px; }
.side-heading { margin: 0 9px 5px; color: #98a19d; font-size: 9px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.nav-item, .recent-item { min-height: 37px; padding: 0 10px; display: flex; align-items: center; gap: 10px; border: 0; border-radius: 8px; background: transparent; color: #5d6a68; text-align: left; cursor: pointer; font-size: 11px; }
.nav-item:hover, .recent-item:hover { background: rgba(255,255,255,.7); color: var(--ink); }
.nav-item.is-active { color: var(--green-dark); background: #e5ece7; font-weight: 700; }
.nav-count { margin-left: auto; padding: 3px 6px; border: 1px solid #dce5df; border-radius: 99px; color: #6b8176; font-size: 9px; }
.recent-section { gap: 2px; }
.recent-item { min-width: 0; color: #77817e; font-size: 10px; }
.recent-item span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.recent-dot { flex: 0 0 7px; width: 7px; height: 7px; border-radius: 50%; }
.recent-dot.mint { background: #8fb8a0; }
.recent-dot.lilac { background: #b2a1d8; }
.recent-dot.peach { background: #dfaa8e; }
.sidebar-spacer { flex: 1; min-height: 34px; }
.free-card { display: flex; align-items: center; gap: 9px; padding: 11px 10px; border: 1px solid #e2e8e3; border-radius: 11px; background: rgba(255,255,255,.69); }
.free-card-icon { width: 26px; height: 26px; display: grid; place-items: center; color: #597866; background: #e9f2e5; border-radius: 8px; font-size: 13px; }
.free-card div:nth-child(2) { min-width: 0; display: grid; gap: 3px; }
.free-card strong { font-size: 10px; }
.free-card span:not(.free-check) { color: #8c9791; font-size: 9px; }
.free-check { margin-left: auto; color: #71967d; font-size: 12px; }
.profile-row { min-width: 0; margin-top: 17px; padding: 11px 4px 2px; display: flex; align-items: center; gap: 9px; border-top: 1px solid #e4e8e6; }
.profile-avatar { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 50%; background: #d9e2df; color: #4b635b; font-family: Georgia, serif; font-size: 13px; }
.profile-copy { min-width: 0; display: grid; gap: 3px; }
.profile-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 9px; }
.profile-copy small { color: #929b97; font-size: 9px; }
.icon-button { width: 32px; height: 32px; display: inline-grid; place-items: center; padding: 0; border: 0; border-radius: 8px; background: transparent; color: #6d7976; cursor: pointer; }
.icon-button:hover { background: rgba(255,255,255,.75); }
.icon-button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.profile-menu { margin-left: auto; }

.main-shell { min-width: 0; min-height: 100vh; display: flex; flex-direction: column; }
.topbar { height: 66px; padding: 0 35px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-bottom: 1px solid #eaeeec; background: rgba(250,251,250,.84); }
.breadcrumb { display: flex; align-items: center; gap: 10px; color: #929b99; font-size: 11px; }
.breadcrumb i { color: #c2cac6; font-style: normal; }
.breadcrumb strong { color: #53605c; font-weight: 600; }
.topbar-actions { display: flex; align-items: center; gap: 8px; }
.agent-status { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; color: #61706a; background: #f0f4f0; border: 1px solid #e4ebe4; border-radius: 99px; font-size: 10px; font-weight: 650; }
.status-dot, .live-pill i { width: 6px; height: 6px; display: inline-block; border-radius: 50%; background: #87a77b; box-shadow: 0 0 0 3px #e1ebdf; }
.preview-tag { margin-left: 2px; padding: 3px 5px; border-radius: 5px; background: #fff; color: #88958f; font-size: 8px; font-weight: 600; }
.sound-toggle { min-height: 31px; display: inline-flex; align-items: center; gap: 6px; padding: 0 9px; border: 1px solid #e5eae6; border-radius: 8px; color: #73807b; background: #fff; cursor: pointer; font-size: 9px; transition: background .15s, color .15s, border .15s; }
.sound-toggle:hover { border-color: #cbd9cd; color: var(--green); }
.sound-toggle[aria-pressed="false"] { color: #99a19e; background: #f5f6f5; }
.sound-toggle svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.mobile-menu { display: none; }
.page-grid { width: min(1280px, 100%); flex: 1; margin: 0 auto; padding: 39px 46px 25px; display: grid; grid-template-columns: minmax(0, 1fr) 265px; gap: clamp(30px, 5vw, 72px); }
.work-area { min-width: 0; display: flex; flex-direction: column; }
.welcome-block { margin: 49px 0 30px; animation: lift-in .5s ease both; }
.eyebrow { display: flex; align-items: center; gap: 7px; color: #71817a; font-size: 9px; font-weight: 750; letter-spacing: .14em; }
.eyebrow-mark { color: #8eaa6e; font-size: 13px; }
h1 { margin: 18px 0 11px; color: #202b30; font-family: Georgia, "Times New Roman", serif; font-size: clamp(38px, 4.2vw, 55px); font-weight: 400; line-height: 1.03; letter-spacing: -.055em; }
h1 span { color: #597467; font-style: italic; }
.welcome-copy { margin: 0; color: #7d8885; font-size: 12px; line-height: 1.7; }
.welcome-badges { margin-top: 19px; display: flex; align-items: center; gap: 9px; color: #78847f; font-size: 9px; }
.tiny-check { width: 13px; height: 13px; margin-right: 3px; display: inline-grid; place-items: center; border-radius: 50%; color: #557b62; background: #e1eee2; font-size: 8px; font-style: normal; }
.badge-divider { color: #c2cbc6; }
.suggestion-grid[hidden] { display: none; }
.suggestion-grid { margin-top: auto; margin-bottom: 17px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; transition: opacity .25s, transform .25s; }
.suggestion-card { min-width: 0; min-height: 69px; padding: 10px 9px; display: flex; align-items: center; gap: 8px; border: 1px solid #e7ece9; border-radius: 11px; background: rgba(255,255,255,.74); text-align: left; cursor: pointer; transition: transform .16s ease, border .16s ease, box-shadow .16s ease; }
.suggestion-card:hover { transform: translateY(-2px); border-color: #cbd9cf; box-shadow: 0 8px 20px rgba(44,70,56,.06); }
.suggestion-icon { width: 27px; height: 27px; flex: 0 0 27px; display: grid; place-items: center; border-radius: 8px; font-size: 15px; }
.suggestion-icon.garden { color: #4f7e5f; background: #e4f0e2; }
.suggestion-icon.lamp { color: #8e7696; background: #eee8f4; }
.suggestion-icon.picnic { color: #b07a4d; background: #f8ebdc; }
.suggestion-card > span:nth-child(2) { min-width: 0; display: grid; gap: 4px; }
.suggestion-card strong { overflow: hidden; color: #53615c; font-size: 9px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.suggestion-card small { overflow: hidden; color: #98a29e; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.suggestion-card > svg { width: 14px; height: 14px; flex: 0 0 14px; margin-left: auto; fill: none; stroke: #adb6b1; stroke-width: 1.6; }

.composer { padding: 13px 15px 10px; border: 1px solid #dfe7e2; border-radius: 15px; background: #fff; box-shadow: 0 8px 24px rgba(46,68,58,.045); transition: border .18s, box-shadow .18s; }
.composer:focus-within { border-color: #a7c1ad; box-shadow: 0 10px 30px rgba(46,88,64,.10); }
.composer textarea { width: 100%; min-height: 52px; max-height: 170px; padding: 3px 2px 9px; display: block; resize: none; overflow-y: auto; border: 0; outline: none; background: transparent; color: #29352f; font-size: 13px; line-height: 1.55; }
.composer textarea::placeholder { color: #a5aeaa; }
.composer textarea:focus-visible { outline: none; }
.composer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 7px; border-top: 1px solid #f0f2f0; }
.composer-note { min-width: 0; display: flex; align-items: center; gap: 6px; color: #9ba49f; font-size: 8px; line-height: 1.4; }
.privacy-icon { color: #78927e; font-size: 12px; }
.composer-actions { display: flex; align-items: center; gap: 11px; }
.char-count { color: #b0b8b4; font-size: 8px; }
.send-button { width: 31px; height: 31px; display: grid; place-items: center; border: 0; border-radius: 9px; color: #fff; background: var(--green); cursor: pointer; transition: transform .15s, background .15s; }
.send-button:hover { transform: translateY(-1px); background: var(--green-dark); }
.send-button:disabled { cursor: wait; opacity: .6; }
.send-button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.disclosure { margin: 10px 3px 0; display: flex; align-items: center; gap: 6px; color: #a1aaa5; font-size: 8px; line-height: 1.5; }
.disclosure-dot { width: 5px; height: 5px; flex: 0 0 5px; border-radius: 50%; background: #a7baa3; }

.activity-rail { padding-top: 37px; display: flex; flex-direction: column; gap: 13px; }
.activity-card { padding: 17px 16px 15px; border: 1px solid #e7ece8; border-radius: 14px; background: rgba(255,255,255,.82); box-shadow: 0 8px 28px rgba(46,68,58,.035); }
.rail-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 7px; }
.rail-kicker { color: #9aa59f; font-size: 8px; font-weight: 750; letter-spacing: .12em; }
.rail-heading h2 { margin: 5px 0 0; color: #394841; font-family: Georgia, serif; font-size: 16px; font-weight: 400; letter-spacing: -.025em; }
.live-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 7px; border-radius: 99px; color: #779080; background: #f0f5ef; font-size: 8px; }
.live-pill i { width: 5px; height: 5px; box-shadow: none; }
.context-box { margin-top: 18px; padding: 10px; display: flex; align-items: center; gap: 9px; border: 1px solid #edf0ed; border-radius: 10px; background: #fafbf9; }
.context-icon { width: 27px; height: 27px; flex: 0 0 27px; display: grid; place-items: center; border-radius: 8px; color: #698c72; background: #eaf2e7; }
.context-icon svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linejoin: round; }
.context-box div { min-width: 0; display: grid; gap: 3px; }
.context-box strong { color: #5a6a61; font-size: 9px; font-weight: 650; }
.context-box span:not(.context-icon) { overflow: hidden; color: #a2aba6; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.workflow-heading { margin: 21px 0 7px; display: flex; justify-content: space-between; color: #a1aba5; font-size: 8px; font-weight: 750; letter-spacing: .1em; }
.workflow-heading span:last-child { color: #81968a; font-weight: 600; letter-spacing: 0; }
.workflow-list { margin: 0; padding: 0; list-style: none; }
.workflow-step { position: relative; min-height: 48px; display: grid; grid-template-columns: 24px minmax(0, 1fr) 10px; align-items: center; gap: 8px; opacity: .46; transition: opacity .25s; }
.workflow-step:not(:last-child)::after { position: absolute; top: 34px; left: 11px; width: 1px; height: 18px; background: #e6ebe7; content: ""; }
.workflow-step.is-current, .workflow-step.is-complete { opacity: 1; }
.step-marker { width: 23px; height: 23px; display: grid; place-items: center; border: 1px solid #e3e9e4; border-radius: 8px; color: #96a29b; background: #fff; font-size: 7px; transition: background .2s, color .2s, border .2s; }
.workflow-step.is-current .step-marker { border-color: #ccdbce; color: #567b61; background: #eff5ef; }
.workflow-step.is-complete .step-marker { border-color: #73947b; color: #fff; background: #73947b; }
.workflow-step.is-complete .step-marker span { display: none; }
.workflow-step.is-complete .step-marker::after { content: "✓"; font-size: 10px; }
.workflow-step div { min-width: 0; display: grid; gap: 3px; }
.workflow-step strong { color: #617068; font-size: 9px; font-weight: 650; }
.workflow-step small { overflow: hidden; color: #a4ada7; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.step-state { width: 5px; height: 5px; border-radius: 50%; background: #e1e6e2; }
.workflow-step.is-current .step-state { background: #92b37e; box-shadow: 0 0 0 3px #edf3e9; animation: breathe 1.3s ease-in-out infinite; }
.workflow-step.is-complete .step-state { background: #73947b; }
.rail-divider { height: 1px; margin: 13px 0; background: #edf0ed; }
.companion-note { display: flex; align-items: center; gap: 9px; }
.companion-avatar { position: relative; width: 29px; height: 29px; flex: 0 0 29px; display: grid; place-items: center; border-radius: 10px; color: #496553; background: linear-gradient(140deg, #dcebd5, #edf1dc); font-family: Georgia, serif; font-size: 16px; font-style: italic; }
.companion-avatar i { position: absolute; right: -2px; bottom: -1px; width: 7px; height: 7px; border: 2px solid white; border-radius: 50%; background: #7eaa75; }
.companion-note div { min-width: 0; }
.companion-note strong { color: #607068; font-size: 9px; font-weight: 650; }
.companion-note p { margin: 3px 0 0; color: #99a39d; font-size: 8px; line-height: 1.5; }
.tip-card { min-height: 69px; padding: 12px 13px; display: flex; align-items: center; gap: 10px; border: 1px solid #ece9de; border-radius: 12px; background: #fbfaf5; }
.tip-spark { width: 27px; height: 27px; flex: 0 0 27px; display: grid; place-items: center; border-radius: 9px; color: #a08144; background: #f3eddc; font-size: 12px; }
.tip-card p { margin: 4px 0 0; color: #89887c; font-family: Georgia, serif; font-size: 10px; line-height: 1.45; }
.rail-footnote { margin: auto 3px 0; padding-top: 14px; color: #a3aca7; font-size: 8px; line-height: 1.55; }

.conversation { display: grid; gap: 14px; margin: 0 0 20px; }
.conversation:empty { display: none; }
.welcome-block.is-compact { margin-top: 9px; margin-bottom: 19px; }
.welcome-block.is-compact h1 { font-size: clamp(27px, 3.2vw, 38px); }
.welcome-block.is-compact .welcome-copy { display: none; }
.welcome-block.is-compact .welcome-badges { margin-top: 11px; }
.message { max-width: 680px; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; animation: lift-in .28s ease both; }
.message-avatar { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 9px; color: #4c6958; background: #e7efe4; font-family: Georgia, serif; font-size: 14px; font-style: italic; }
.message.is-user .message-avatar { color: #6a6478; background: #eeeaf5; font-family: inherit; font-size: 10px; font-style: normal; }
.message-body { min-width: 0; padding-top: 2px; }
.message-heading { margin: 0 0 4px; color: #596961; font-size: 9px; font-weight: 700; }
.message-text { margin: 0; color: #73807a; font-size: 11px; line-height: 1.65; overflow-wrap: anywhere; white-space: pre-wrap; }
.message.is-confirmation { max-width: 390px; padding: 8px 10px; grid-template-columns: 20px minmax(0, 1fr); gap: 7px; border: 1px solid #edf0ed; border-radius: 8px; background: linear-gradient(135deg, #fff 0%, #f8faf7 100%); }
.message.is-confirmation .message-avatar { width: 19px; height: 19px; border-radius: 6px; font-size: 10px; }
.message.is-confirmation .message-heading { font-size: 7px; letter-spacing: .08em; text-transform: uppercase; }
.message.is-confirmation .message-text { color: #65736a; font-size: 7px; letter-spacing: .015em; line-height: 1.35; }
.message.is-user { margin-left: auto; max-width: 86%; padding: 10px 12px; grid-template-columns: 22px minmax(0, 1fr); border: 1px solid #e9eceb; border-radius: 11px 11px 3px 11px; background: #fff; }
.message.is-user .message-avatar { width: 21px; height: 21px; border-radius: 7px; }
.message.is-user .message-heading { display: none; }
.message.is-user .message-text { color: #4d5a54; }
.result-card { margin-left: 38px; padding: 14px 15px; border: 1px solid #e5eae6; border-radius: 12px; background: linear-gradient(135deg,#fff 0%,#f8faf7 100%); animation: lift-in .35s ease both; }
.result-label { display: flex; align-items: center; gap: 7px; color: #7d8c81; font-size: 8px; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; }
.result-label span { width: 6px; height: 6px; border-radius: 50%; background: #a8bd91; }
.result-card h3 { margin: 10px 0 6px; color: #43544a; font-family: Georgia, serif; font-size: 16px; font-weight: 400; }
.result-card p { margin: 0; color: #7c8781; font-size: 10px; line-height: 1.65; }
.result-footer { margin-top: 11px; padding-top: 9px; display: flex; align-items: center; gap: 7px; border-top: 1px solid #edf0ed; color: #9da7a0; font-size: 8px; }
.result-footer span { color: #748d79; }
.typing-dots { display: inline-flex; align-items: center; gap: 4px; }
.typing-dots i { width: 4px; height: 4px; border-radius: 50%; background: #8ea591; animation: dot-bounce .85s ease-in-out infinite; }
.typing-dots i:nth-child(2) { animation-delay: .12s; }
.typing-dots i:nth-child(3) { animation-delay: .24s; }

.prank-overlay { position: fixed; z-index: 40; inset: 0; display: grid; place-items: center; overflow-y: auto; padding: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left)); background: radial-gradient(ellipse at 50% 42%, rgba(115, 12, 24, .5) 0, rgba(22, 7, 12, .93) 42%, rgba(2, 3, 6, .98) 100%); backdrop-filter: blur(3px); animation: overlay-in .08s ease-out both; }
.prank-overlay[hidden] { display: none; }
.prank-card { width: min(690px, 100%); margin: auto; padding: 13px 22px 22px; overflow: visible; border: 1px solid rgba(211, 149, 143, .38); border-radius: 20px; color: #f1eee6; background: radial-gradient(circle at 50% 35%, rgba(101, 13, 22, .32) 0, rgba(18, 19, 23, .96) 47%, rgba(8, 10, 14, .98) 100%); box-shadow: 0 28px 100px rgba(0,0,0,.72), 0 0 62px rgba(155, 20, 32, .28); text-align: center; animation: scare-impact .38s cubic-bezier(.14,.82,.2,1.15) both; }
.prank-label { display: flex; align-items: center; justify-content: center; gap: 7px; color: #e7b7b4; font-size: 9px; font-weight: 850; letter-spacing: .2em; }
.alert-mark { width: 17px; height: 17px; display: inline-grid; place-items: center; border: 1px solid rgba(233, 114, 111, .66); border-radius: 50%; color: #ff837a; font-size: 12px; line-height: 1; }
.scare-stage { position: relative; width: min(92vw, 500px); height: min(50vh, 420px); margin: 0 auto -7px; display: grid; place-items: center; }
.scare-halo { position: absolute; width: min(79vw, 380px); height: min(79vw, 380px); border-radius: 50%; background: radial-gradient(circle, rgba(229, 40, 49, .4), rgba(126, 12, 33, .17) 48%, transparent 73%); filter: blur(10px); }
.spooky-face { position: relative; z-index: 1; width: min(88vw, 420px); height: auto; aspect-ratio: 1; max-width: 100%; max-height: 100%; overflow: visible; filter: drop-shadow(0 12px 26px rgba(0,0,0,.72)) drop-shadow(0 0 14px rgba(184, 29, 36, .26)); animation: face-slam .43s cubic-bezier(.12,.82,.22,1.14) both; transform-origin: center; }
.face-horns { fill: #171819; stroke: #8e9289; stroke-width: 2.3; stroke-linejoin: round; }
.face-shadow { fill: #11171d; stroke: #a1a198; stroke-width: 2.5; }
.face-shape { stroke: #e1dfd2; stroke-width: 1.8; }
.face-brow { fill: none; stroke: #282729; stroke-width: 10; stroke-linecap: round; filter: drop-shadow(0 2px 2px rgba(0,0,0,.5)); }
.face-socket { fill: #151416; }
.face-eye { fill: #ff382d; }
.face-nose { fill: #656e6b; opacity: .95; }
.face-mouth { fill: #171518; stroke: #343338; stroke-width: 2.5; }
.face-teeth { fill: #f4efdc; stroke: #d6d0bd; stroke-width: 1; stroke-linejoin: round; }
.face-fangs { fill: #fff8e8; stroke: #d6d0bd; stroke-width: 1; stroke-linejoin: round; }
.prank-card h2 { margin: 5px 0 8px; color: #f3eee7; font-family: Georgia, serif; font-size: clamp(25px, 4.8vw, 34px); font-weight: 400; letter-spacing: -.035em; }
.prank-card h2 em { color: #ff9a83; font-weight: 400; }
.prank-card p { max-width: 540px; margin: 0 auto; color: #d4d0c9; font-size: 12px; line-height: 1.6; }
.prank-reveal-note { display: block; margin: 9px auto 0; max-width: 440px; color: #aeb4ae; font-size: 10px; line-height: 1.55; }
.return-button { margin-top: 16px; padding: 11px 16px; border: 0; border-radius: 9px; color: #17251e; background: #d9ee9c; cursor: pointer; font-size: 12px; font-weight: 750; transition: background .16s; }
.return-button:hover { background: #e6f8b2; }
.return-button span { margin-left: 7px; }
.toast { position: fixed; z-index: 30; left: 50%; bottom: 20px; max-width: calc(100vw - 30px); padding: 10px 14px; transform: translate(-50%, 12px); border: 1px solid #dce6de; border-radius: 10px; background: #fff; box-shadow: 0 8px 28px rgba(25,40,32,.1); color: #647269; font-size: 10px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@keyframes lift-in { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
@keyframes breathe { 50% { box-shadow: 0 0 0 5px #edf3e9; } }
@keyframes dot-bounce { 0%, 60%, 100% { transform: translateY(0); opacity: .56; } 30% { transform: translateY(-3px); opacity: 1; } }
@keyframes overlay-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes scare-impact { 0% { opacity: 0; transform: scale(.86) translateY(22px); } 58% { opacity: 1; transform: scale(1.035) translateY(0); } 76% { transform: scale(.99) translateX(-4px); } 90% { transform: scale(1.01) translateX(3px); } 100% { opacity: 1; transform: scale(1) translateX(0); } }
@keyframes face-slam { 0% { opacity: .08; transform: scale(.28) rotate(-7deg); } 72% { opacity: 1; transform: scale(1.08) rotate(1deg); } 100% { opacity: 1; transform: scale(1) rotate(0); } }

@media (max-width: 1080px) {
  .page-grid { grid-template-columns: minmax(0, 1fr) 235px; padding-right: 28px; padding-left: 28px; gap: 26px; }
  .suggestion-grid { grid-template-columns: 1fr; }
  .suggestion-card { min-height: 53px; }
}
@media (max-width: 800px) {
  .app-shell { grid-template-columns: minmax(0,1fr); }
  .sidebar { position: fixed; z-index: 15; top: 0; bottom: 0; left: 0; width: 270px; min-height: 0; transform: translateX(-102%); transition: transform .22s ease; box-shadow: 10px 0 28px rgba(25,40,32,.08); }
  .sidebar.is-open { transform: translateX(0); }
  .main-shell { min-height: 100vh; }
  .mobile-menu { display: inline-grid; margin-left: -7px; }
  .topbar { height: 58px; padding: 0 16px; }
  .breadcrumb { margin-right: auto; font-size: 10px; }
  .topbar-actions { gap: 5px; }
  .agent-status { padding: 6px 8px; font-size: 9px; }
  .agent-status .preview-tag { display: none; }
  .sound-toggle { width: 31px; min-width: 31px; height: 31px; justify-content: center; padding: 0; }
  .sound-toggle span { display: none; }
  .page-grid { display: block; padding: 23px 18px 25px; }
  .welcome-block { margin: 48px 0 23px; }
  .activity-rail { display: none; }
  .suggestion-grid { margin-top: 9px; grid-template-columns: 1fr; }
  .suggestion-card { min-height: 52px; }
  .composer { position: sticky; bottom: 9px; z-index: 2; box-shadow: 0 10px 32px rgba(36,55,45,.13); }
  .disclosure { margin-bottom: 18px; }
}
@media (max-width: 460px) {
  .breadcrumb span, .breadcrumb i { display: none; }
  .topbar { gap: 5px; }
  .agent-status { gap: 5px; }
  .page-grid { padding-right: 14px; padding-left: 14px; }
  .welcome-block { margin-top: 39px; }
  h1 { font-size: 39px; }
  .welcome-badges { flex-wrap: wrap; gap: 6px; font-size: 8px; }
  .composer-note { max-width: 205px; }
  .char-count { display: none; }
  .prank-card { padding: 10px 14px 17px; }
  .scare-stage { height: min(46vh, 340px); margin-bottom: -5px; }
  .spooky-face { width: min(88vw, 360px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .prank-card, .spooky-face { transform: none !important; animation: none !important; }
}
