/* Mini-program showcase: mobile chat is the product surface at every viewport. */
.mini-showcase{display:grid;grid-template-columns:minmax(0,1fr) 420px;align-items:center;gap:100px;max-width:1050px;margin-inline:auto;padding:32px 30px 16px;text-align:left}
.mini-story h2{font-size:39px;line-height:1.42;font-weight:640;letter-spacing:-1.6px}.mini-story-lead{color:var(--text-secondary);font-size:16px;line-height:1.95;margin-top:21px}.mini-story .eyebrow{font-size:12px;letter-spacing:1.5px}.mini-story .demo-tabs{flex-direction:column;gap:7px;align-items:stretch;margin-top:29px;margin-bottom:0}.mini-story .demo-tab{display:flex;align-items:center;gap:13px;border-radius:11px;padding:14px 16px;text-align:left;background:transparent;min-height:74px;white-space:normal;border:1px solid transparent}.mini-story .demo-tab:hover{background:#f7fdfb}.mini-story .demo-tab.active{background:#fff;border-color:#dff6ee;box-shadow:0 6px 23px #47ae880c}.mini-step-number{font-size:12px;color:var(--text-secondary);flex-shrink:0;width:24px}.mini-story .demo-tab>span:nth-child(2){flex:1}.mini-story .demo-tab b{font-size:16px;display:block;line-height:1.7;font-weight:550;color:var(--text-body)}.mini-story .demo-tab small{font-size:12px;display:block;color:var(--text-secondary);line-height:1.7;margin-top:2px}.mini-story .demo-tab.active b{color:var(--text-secondary)}.mini-story .demo-tab>.icon{color:var(--muted);width:17px;height:17px}.mini-story-foot{font-size:12px;color:var(--text-secondary);display:flex;align-items:center;gap:8px;margin-top:23px}.mini-green-dot{height:6px;width:6px;border-radius:50%;background:#79ab92}.mini-viewer{min-width:0;width:100%;max-width:420px;margin-inline:auto}.mini-device-label{display:flex;justify-content:space-between;font-size:12px;color:var(--text-secondary);margin:0 5px 13px}.mini-device-label>span:last-child{font-size:12px;color:var(--text-secondary)}.mini-app{position:relative;isolation:isolate;display:flex;flex-direction:column;height:686px;min-width:0;width:100%;border:1px solid #d2efe4;border-radius:25px;background:#f4fbf8;overflow:hidden;box-shadow:0 25px 75px -25px #32806340,0 0 0 7px #e5f8f150;color:var(--text-body)}.mini-status{padding:15px 23px 5px;height:36px;display:flex;align-items:center;justify-content:space-between;flex-shrink:0;background:#fff;font-size:12px;font-weight:650;color:var(--text-body)}.mini-system-icons{display:flex;align-items:center;gap:6px;font-size:9px;letter-spacing:-1px}.mini-battery{display:inline-block;width:20px;height:10px;border:1px solid currentColor;border-radius:3px;position:relative;margin-left:4px}.mini-battery:before{content:'';position:absolute;top:2px;left:2px;right:3px;bottom:2px;background:currentColor;border-radius:1px}.mini-battery:after{content:'';position:absolute;height:4px;width:1px;background:currentColor;right:-3px;top:2px}.mini-topbar{display:flex;align-items:center;justify-content:space-between;gap:7px;padding:2px 12px 11px;background:#fff;flex-shrink:0;min-height:53px}.mini-topbar>b{font-size:15px;font-weight:650;white-space:nowrap}.mini-top-actions{display:flex;align-items:center;gap:0;width:75px;flex-shrink:0}.mini-top-actions button,.mini-input-bar>button{display:grid;place-items:center;width:34px;height:36px;border:0;background:transparent;padding:6px;border-radius:6px}.mini-top-actions .icon{width:20px;height:20px}.wechat-capsule{height:29px;width:79px;border:1px solid #d8e5e0;border-radius:20px;display:flex;align-items:center;justify-content:center;gap:9px;color:#222;flex-shrink:0}.wechat-capsule>span:first-child{font-size:12px;font-weight:750;letter-spacing:1px;margin-top:-4px}.wechat-capsule>i{height:14px;width:1px;background:#e0ebe7}.capsule-circle{width:14px;height:14px;border:1.5px solid currentColor;border-radius:50%;position:relative}.capsule-circle:after{content:'';position:absolute;inset:3px;border:1px solid currentColor;border-radius:50%}.mini-advisor .mini-status,.mini-advisor .mini-topbar{background:#222826;color:#fff}.mini-advisor .wechat-capsule{color:#fff;border-color:#ffffff44}.mini-advisor .wechat-capsule>i{background:#ffffff44}.mini-client-context{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:13px 14px;margin:12px 13px 0;background:#fff;border:1px solid #e2eeea;border-radius:12px;flex-shrink:0}.mini-client-context>div{min-width:0;flex:1}.mini-client-context b{font-size:14px;display:inline-block;margin-right:7px;line-height:1.7;word-break:break-all}.mini-client-context span{color:var(--text-body);font-size:12px;white-space:nowrap}.mini-client-context small{display:block;color:var(--text-secondary);font-size:12px;margin-top:4px;line-height:1.6}.mini-client-context>button{border:0;color:var(--text-body);background:transparent;font-size:12px;padding:8px 0;flex-shrink:0}.mini-chat-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:17px 15px 25px;scrollbar-width:thin;scrollbar-color:#cbe8dd transparent}.mini-welcome{padding:25px 3px 0;text-align:center}.mini-ai-mark{display:inline-grid;place-items:center;width:52px;height:52px;border-radius:15px;background:#ecfaf5;color:var(--text-body);font-size:25px;font-weight:700;border:1px solid #def5ed}.mini-welcome h3{font-size:20px;font-weight:650;margin-top:18px;letter-spacing:-.7px;line-height:1.6}.mini-welcome>p{font-size:12px;color:var(--text-secondary);line-height:1.8;margin:7px 0 23px}.mini-quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.mini-quick-grid>button{display:flex;align-items:center;justify-content:center;min-height:46px;padding:10px;border-radius:9px;background:#fff;border:1px solid #e2f0eb;font-size:13px;color:var(--text-body)}.mini-quick-grid>button:first-child{background:#f2fbf8;border-color:#d4f2e7;color:var(--text-body)}.mini-quick-grid>button:last-child{grid-column:1/-1}.mini-drive-entry{display:flex;align-items:center;width:100%;gap:10px;background:#fff;border:1px solid #e2f0eb;border-radius:10px;padding:14px;margin-top:18px;text-align:left}.mini-drive-entry>.icon{width:21px;height:21px;color:var(--text-body)}.mini-drive-entry>span{flex:1}.mini-drive-entry b{display:block;font-size:14px;font-weight:550}.mini-drive-entry small{display:block;font-size:12px;color:var(--text-secondary);line-height:1.7;margin-top:4px}.mini-drive-entry>.icon:last-child{width:16px;height:16px;color:var(--text-secondary)}.mini-message{margin-bottom:20px;font-size:14px;line-height:1.85;overflow-wrap:anywhere}.mini-user{display:flex;justify-content:flex-end}.mini-user>p{max-width:88%;padding:12px 15px;background:#2b926c;color:#fff;border-radius:13px 13px 3px 13px}.mini-assistant{display:flex;align-items:flex-start;gap:8px}.mini-message-avatar{display:grid;place-items:center;width:25px;height:25px;margin-top:3px;border-radius:7px;background:#e8f8f2;color:var(--text-body);font-size:11px;font-weight:600;flex-shrink:0}.mini-ai-content{min-width:0;flex:1;color:var(--text-body);padding:1px 0}.mini-ai-content>p+p{margin-top:11px}.mini-ai-content h4{font-size:15px;margin:15px 0 9px;color:var(--text-body)}.mini-ai-content ul{margin:9px 0 12px;padding-left:20px;font-size:13px;line-height:1.85}.mini-thinking{display:flex;align-items:center;gap:8px;color:var(--text-secondary);font-size:12px;margin-bottom:11px}.mini-thinking>span{font-size:13px}.mini-tool-node{font-size:12px;color:var(--text-secondary);display:flex;align-items:center;gap:8px;margin-bottom:7px}.mini-tool-node>span{color:var(--accent)}.mini-document-card{background:#fff;border:1px solid #dcf0e9;border-radius:12px;overflow:hidden;margin:0 0 23px}.mini-doc-head{display:flex;align-items:center;gap:9px;padding:13px 12px;background:#fdfefe}.mini-doc-head>div{flex:1;min-width:0}.mini-doc-head b{font-size:13px;display:block;overflow-wrap:anywhere;font-weight:600}.mini-doc-head small{display:block;font-size:12px;color:var(--text-secondary);margin-top:5px;line-height:1.5}.mini-doc-head .file-icon{width:28px;height:35px}.mini-doc-status{font-size:12px;color:var(--accent-strong);background:#eff9f3;padding:3px 6px;border-radius:5px;white-space:nowrap}.mini-doc-row{display:flex;justify-content:space-between;gap:7px;padding:11px 14px;border-top:1px solid #eef6f3;font-size:12px;color:var(--text-secondary)}.mini-doc-row>span{overflow-wrap:anywhere}.mini-doc-row>small{font-size:12px;color:var(--accent-strong);flex-shrink:0}.mini-doc-actions{border-top:1px solid #e7f6f1;display:flex;justify-content:space-between;gap:10px;padding:10px 12px}.mini-doc-actions>button{border:0;background:transparent;font-size:12px;color:var(--text-secondary);padding:3px 0}.mini-doc-actions>button:last-child{color:var(--text-body);display:flex;align-items:center;gap:5px}.mini-doc-actions .icon{width:14px;height:14px}.mini-quote{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:var(--text-body);background:#effaf6;padding:8px 13px;flex-shrink:0}.mini-quote>button{border:0;background:transparent;font-size:18px;color:var(--text-secondary);padding:0 4px}.mini-input-bar{display:flex;align-items:center;gap:3px;padding:10px 9px 8px;border-top:1px solid #e2eeea;background:#fff;flex-shrink:0}.mini-input-bar>input{width:0;min-width:0;flex:1;min-height:37px;border:0;background:#f0f7f4;border-radius:8px;font:inherit;font-size:13px;line-height:1.5;padding:8px 10px;color:var(--text-body)}.mini-input-bar>input::placeholder{color:var(--text-secondary)}.mini-input-bar>.mini-send{color:var(--text-body)}.mini-input-bar>.mini-send:disabled{color:var(--text-secondary)}.mini-input-bar .icon{width:20px;height:20px}.mini-input-bar>button{width:29px;padding:4px;flex-shrink:0}.mini-homebar{background:#fff;display:flex;justify-content:center;padding:9px 0 10px;flex-shrink:0}.mini-homebar>span{height:4px;width:105px;border-radius:3px;background:#222826}.mini-preview-hint{font-size:12px;color:var(--text-secondary);line-height:1.7;min-height:41px;text-align:center;margin-top:18px}.mini-artifact{display:flex;align-items:center;gap:9px;width:100%;border:1px solid #d2f1e6;border-radius:9px;background:#fff;color:var(--text-secondary);padding:12px 10px;margin-top:15px;text-align:left}.mini-artifact>.icon{width:23px;height:23px}.mini-artifact>span:first-of-type{flex:1;min-width:0}.mini-artifact b{display:block;font-size:12px;font-weight:550;color:var(--text-body);overflow-wrap:anywhere}.mini-artifact small{font-size:12px;color:var(--text-secondary);display:block;line-height:1.7;margin-top:4px}.mini-artifact>span:last-child{font-size:12px;flex-shrink:0}.mini-source-chip{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--text-secondary);background:#eaf9f3;border:1px solid #dcf3eb;border-radius:20px;padding:7px 11px;margin-left:32px}.mini-source-chip .icon{width:14px;height:14px}.mini-new-hint{padding:30px 10px;text-align:center}.mini-new-hint h4{font-size:15px;line-height:1.8;color:var(--text-body)}.mini-new-hint p{font-size:12px;color:var(--text-secondary);line-height:1.9;margin-top:11px}.mini-overlay{position:absolute;inset:35px 0 0;background:#232b2838;display:flex;align-items:flex-end;z-index:10}.mini-sheet{padding:20px 19px 24px;background:#fff;border-radius:18px 18px 0 0;max-height:100%;width:100%;overflow:auto;box-shadow:0 -10px 40px #24644d15}.mini-sheet-head{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:20px}.mini-sheet-head>b{font-size:16px;font-weight:600;overflow-wrap:anywhere}.mini-sheet-head>button{border:0;background:#f0f7f4;color:var(--text-secondary);border-radius:50%;width:27px;height:27px;font-size:20px;flex-shrink:0}.mini-source-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px}.mini-source-grid>button{display:flex;flex-direction:column;align-items:center;gap:8px;border:1px solid #e4f3ee;border-radius:11px;background:#fafefc;padding:19px 7px;color:var(--text-body)}.mini-source-grid>button>b{font-size:13px;font-weight:500;line-height:1.6}.mini-source-grid>button>small{font-size:12px;color:var(--text-secondary);line-height:1.6}.mini-source-grid .icon{height:23px;width:23px}.mini-sheet-note{font-size:12px;color:var(--text-secondary);line-height:1.9;margin:14px 0}.mini-sheet-cancel{width:100%;min-height:38px;font-size:14px;color:var(--text-secondary);background:#f4faf8;border:0;border-radius:8px;margin-top:20px}.mini-menu-list{display:grid;gap:8px}.mini-menu-list button{display:flex;align-items:center;gap:10px;border:0;background:#f4fcf9;border-radius:8px;color:var(--text-body);font-size:14px;padding:13px}.mini-menu-list .icon{height:20px;width:20px}.mini-recent{margin-top:22px;display:grid;gap:9px}.mini-recent>span{color:var(--text-secondary);font-size:12px}.mini-recent>button{background:transparent;border:0;color:var(--text-body);font-size:13px;padding:9px 0;text-align:left}.mini-customer-options{display:grid;gap:8px}.mini-customer-options>button{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:17px 10px;border:1px solid #e5f2ed;background:#fafdfc;border-radius:8px;color:var(--text-body);font-size:13px}.mini-customer-options small{font-size:12px;white-space:nowrap;color:var(--text-secondary)}.mini-report-preview>span{font-size:12px;color:var(--text-secondary)}.mini-report-preview h4{font-size:20px;line-height:1.6;margin:18px 0 15px}.mini-report-preview h5{font-size:14px;margin:20px 0 10px}.mini-report-preview p,.mini-report-preview ul{font-size:13px;color:var(--text-secondary);line-height:1.95}.mini-report-preview ul{padding-left:20px}.mini-library-choice{display:flex;gap:9px;align-items:center;font-size:14px;padding:16px 8px;color:var(--text-secondary);background:#fafdfc;border-radius:8px}.mini-library-choice>input{accent-color:#2b926c;width:16px;height:16px}.mini-library-choice>.icon{height:20px;width:20px}.mini-sheet-primary{display:block;width:100%;background:#2b926c;color:#fff;border:0;font-size:14px;padding:11px;border-radius:8px;margin-top:18px}.role-mini-prompts{display:grid;grid-template-columns:1fr 1fr;gap:9px}.role-mini-prompts>span{padding:10px 7px;color:var(--text-secondary);font-size:12px;border:1px solid #ddf4ec;border-radius:7px;background:#fafdfc;text-align:center}.role-mini-prompts>span:last-child{grid-column:1/-1}.role-mini-input{margin-top:23px;background:#f1faf7;padding:12px;border-radius:7px;font-size:12px;color:var(--text-secondary);display:flex;justify-content:space-between}.role-preview{max-width:365px;min-height:430px;border-radius:21px;border:1px solid #daf4ea;padding:22px;background:#fff;box-shadow:0 20px 50px #42987810}.role-preview .preview-header{padding-bottom:16px;border-bottom:1px solid #eff9f5}.role-preview .preview-tag{font-size:12px}.role-preview .preview-task small{line-height:1.8}.role-preview .preview-task{align-items:flex-start;gap:8px}.role-preview .preview-task>.status-pill{margin-top:2px}.role-preview .preview-bottom{font-size:12px;line-height:1.7}.role-workbench-summary{display:flex;align-items:baseline;gap:7px;color:var(--text-body);background:#f3fbf8;border:1px solid #e0f6ee;border-radius:11px;padding:17px;margin-top:23px}.role-workbench-summary strong{font-size:32px}.role-workbench-summary span{font-size:13px}.role-workbench-summary small{font-size:12px;margin-left:auto}.role-workbench-label{margin:23px 0 2px;font-size:13px;color:var(--text-body)}.role-workbench-actions{display:flex;gap:7px;margin-top:19px}.role-workbench-actions>span{flex:1;text-align:center;background:#f1fbf7;color:var(--text-secondary);border-radius:6px;padding:10px 4px;font-size:12px}.role-customer-context{background:#f6fcfa;border-radius:8px;padding:12px;margin-top:18px;color:var(--text-secondary);font-size:12px}.role-customer-context>b{display:block;color:var(--text-body);font-size:14px;margin-bottom:6px}.role-ai-message{font-size:13px;line-height:1.95;color:var(--text-secondary);margin-top:20px;padding:0 4px}.role-ai-message small{display:block;color:var(--text-secondary);font-size:12px;margin-bottom:10px}.role-preview .mini-artifact{margin-top:20px;pointer-events:none}.mini-app button:hover{filter:brightness(.97)}.mini-app :is(button,input):focus-visible{outline:2px solid #78d8b5;outline-offset:2px}.mini-app input,.mini-app button{font-family:inherit}.mini-app input:focus-visible{outline-offset:0}
@media(max-width:1100px){.mini-showcase{grid-template-columns:minmax(0,1fr) 395px;gap:50px;padding-inline:15px}.mini-story h2{font-size:35px}.mini-story-lead{font-size:15px}.mini-app{height:672px}.mini-welcome h3{font-size:19px}}
@media(max-width:850px){.mini-showcase{grid-template-columns:minmax(0,1fr) 350px;gap:28px;padding-inline:0}.mini-story h2{font-size:29px;letter-spacing:-1px}.mini-story-lead{font-size:14px}.mini-story .demo-tab{padding:12px 9px;gap:8px}.mini-story .demo-tab b{font-size:14px}.mini-story .demo-tab small{font-size:12px}.mini-step-number{width:19px}.mini-story .demo-tab>.icon{display:none}.mini-app{height:660px}.mini-welcome{padding-top:22px}.mini-welcome h3{font-size:18px}.mini-welcome>p{font-size:12px}.mini-topbar{padding-inline:9px}.mini-topbar>b{font-size:14px}.mini-top-actions{width:68px}.wechat-capsule{width:71px;gap:7px}.mini-story-foot{font-size:12px;line-height:1.7}.mini-preview-hint{font-size:12px}.role-preview{padding-inline:17px}.preview-tag{display:none}}
@media(max-width:680px){.mini-showcase{grid-template-columns:1fr;gap:30px;padding:18px 0 0}.mini-story{text-align:center}.mini-story .eyebrow{font-size:12px;letter-spacing:1px}.mini-story h2{font-size:30px;line-height:1.45}.mini-story h2 br{display:none}.mini-story-lead{font-size:14px;line-height:1.9;margin-top:14px}.mini-story-lead br{display:none}.mini-story .demo-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:24px}.mini-story .demo-tab{min-height:55px;padding:10px;gap:7px;margin:0;align-items:center}.mini-story .demo-tab b{font-size:13px;font-weight:500}.mini-story .demo-tab small{display:none}.mini-step-number{width:17px;font-size:12px}.mini-story-foot{justify-content:center;margin-top:15px;font-size:12px}.mini-viewer{max-width:385px}.mini-app{height:655px;border-radius:21px;box-shadow:0 20px 45px -20px #32806340,0 0 0 5px #e5f8f150}.mini-device-label{font-size:12px}.mini-topbar{padding-inline:10px}.mini-topbar>b{font-size:14px}.mini-top-actions{width:70px}.wechat-capsule{width:75px}.mini-chat-scroll{padding:17px 13px 21px}.mini-welcome{padding-top:24px}.mini-welcome h3{font-size:18px}.mini-quick-grid>button{font-size:13px}.mini-drive-entry{padding:13px 11px}.mini-message{font-size:14px}.mini-user>p{max-width:89%}.mini-ai-content ul{font-size:13px}.mini-source-grid>button{padding:16px 6px}.mini-source-grid>button b{font-size:13px}.mini-source-grid>button small{font-size:12px}.mini-preview-hint{min-height:0;font-size:12px;margin-top:17px}.mini-sheet{padding-inline:17px}.mini-story .demo-tab.active{box-shadow:0 3px 15px #47ae8809}.role-preview{padding:20px 17px;min-height:395px}.role-mini-prompts>span{font-size:12px}.role-workbench-summary{padding:13px;gap:5px}.role-workbench-summary strong{font-size:29px}.role-workbench-summary small{font-size:12px}.role-workbench-actions{gap:5px}.role-workbench-actions>span{font-size:12px}.role-preview .preview-task small{font-size:12px}.role-preview .preview-task b{font-size:13px}.role-preview .preview-task>.status-pill{font-size:12px}.role-panel{padding-inline:20px}.mini-client-context{padding:11px 12px}.mini-client-context small{font-size:12px}.mini-client-context b{font-size:13px}}
@media(max-width:370px){.mini-app{height:640px}.mini-topbar>b{font-size:13px}.mini-top-actions{width:65px}.mini-top-actions button{width:31px}.wechat-capsule{width:66px;gap:6px}.mini-status{padding-inline:18px}.mini-welcome h3{font-size:16px}.mini-quick-grid>button{font-size:12px}.mini-doc-head{gap:6px;padding:12px 10px}.mini-doc-head .file-icon{display:none}.mini-client-context{margin-inline:10px;gap:5px}.mini-client-context b{font-size:13px}.mini-client-context span{display:block}.mini-client-context small{font-size:12px}.mini-input-bar{padding-inline:6px;gap:1px}.mini-input-bar>input{font-size:12px;padding-inline:7px}.mini-story .demo-tab{padding-inline:8px;gap:5px}.mini-story .demo-tab b{font-size:12px}.role-panel{padding-inline:17px}}
@media(prefers-reduced-motion:no-preference){html:not(.reduce-motion) .mini-chat-scroll.is-changing{animation:entrance .25s var(--ease)}}

/* One desktop fold: headline and scene controls beside the complete mini-program. */
.hero h1 > .hero-heading-static, .hero h1 > .hero-heading-dynamic { color:var(--ink); }
.hero-heading-static, .hero-heading-dynamic { white-space: nowrap; }
.hero-rotator {
  position: relative;
  display: inline-block;
  width: 4em;
  height: 1.28em;
  vertical-align: bottom;
  overflow: hidden;
  letter-spacing: 0;
  text-align: left;
}
.hero-comma { color: var(--accent); }
.hero-track { display: flex; width: 100%; }
.hero-character-window { display: block; flex: 0 0 1em; width: 1em; height: 1.28em; overflow: hidden; }
.hero-character-track { display: flex; flex-direction: column; width: 100%; will-change: transform; }
.hero-character { display: block; flex: 0 0 1.28em; height: 1.28em; line-height: 1.28; white-space: nowrap; }
/* These two explicitly requested movements are controlled by the page motion switch. */
#hero-track .hero-character-track { transition: transform 420ms cubic-bezier(.16, 1, .3, 1) var(--character-delay, 0ms) !important; }
#hero-track.is-resetting .hero-character-track { transition: none !important; }
.hero {
  --hero-header-height: 85px;
  padding: 0;
  background: radial-gradient(ellipse 55% 75% at 82% 68%, #edfaf5 0%, #f8fdfb 52%, transparent 100%), #fff;
}
.hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 400px);
  align-items: center;
  column-gap: clamp(40px, 7vw, 110px);
  min-height: calc(100svh - var(--hero-header-height));
  padding-block: 24px;
}
.hero .hero-content { min-width: 0; text-align: left; }
.hero h1 {
  margin-top: 0;
  font-size: clamp(44px, 4.4vw, 68px);
  line-height: 1.28;
  letter-spacing: -2.6px;
}
.hero .hero-description { margin-top: 22px; font-size: 16px; line-height: 1.9; }
.hero .hero-actions { justify-content: flex-start; gap: 12px; margin-top: 26px; }
.hero .hero-actions .button { min-height: 50px; padding-inline: 20px; font-size: 15px; }
.hero .mini-story .demo-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 34px 0 0;
}
.hero .mini-story .demo-tab { min-height: 72px; padding: 11px 13px; gap: 9px; margin: 0; }
.hero .mini-story .demo-tab b { font-size: 14px; line-height: 1.7; }
.hero .mini-story .demo-tab small { font-size: 12px; line-height: 1.7; }
.hero .mini-story .demo-tab > .icon { display: none; }
.hero .mini-step-number { width: 19px; }
.hero .demo-bottom { gap: 16px; align-items: flex-start; margin-top: 18px; font-size: 12px; line-height: 1.8; }
.hero .demo-bottom p { max-width: 390px; min-height: 44px; }
.hero .demo-bottom .text-button { flex-shrink: 0; font-size: 12px; }
.hero .mini-viewer { max-width: 400px; }
.hero .mini-device-label { margin-bottom: 10px; line-height: 20px; }
.hero .mini-app {
  /* Leave room for the header, outer spacing and hint text. */
  height: clamp(440px, calc(100svh - var(--hero-header-height) - 136px), 690px);
}
.hero .mini-preview-hint { min-height: 42px; line-height: 1.75; margin-top: 14px; }
@media (max-width: 1100px) and (min-width: 761px) {
  .hero-stage { grid-template-columns: minmax(0, 1fr) 350px; column-gap: 34px; }
  .hero h1 { font-size: clamp(35px, 4.5vw, 49px); letter-spacing: -1.8px; }
  .hero .hero-description { font-size: 14px; }
  .hero .hero-description br { display: none; }
  .hero .hero-actions { gap: 8px; flex-wrap: wrap; }
  .hero .hero-actions .button { padding-inline: 12px; font-size: 13px; gap: 7px; min-height: 44px; }
  .hero .mini-story .demo-tab { padding: 9px 8px; gap: 6px; min-height: 64px; }
  .hero .mini-story .demo-tab b { font-size: 13px; }
  .hero .mini-story .demo-tab small { display: none; }
  .hero .mini-step-number { width: 16px; }
}
@media (max-width: 850px) { .hero { --hero-header-height: 75px; } }
@media (min-width: 761px) and (max-height: 800px) {
  .hero-stage { padding-block: 18px; }
  .hero h1 { font-size: clamp(35px, 4.1vw, 59px); }
  .hero .hero-description { margin-top: 18px; }
  .hero .hero-actions { margin-top: 20px; }
  .hero .mini-story .demo-tabs { margin-top: 24px; }
  .hero .mini-story .demo-tab { min-height: 64px; padding-block: 8px; }
  .hero .demo-bottom { margin-top: 14px; }
  .hero .mini-welcome { padding-top: 8px; }
  .hero .mini-ai-mark { width: 42px; height: 42px; border-radius: 12px; font-size: 22px; }
  .hero .mini-welcome h3 { margin-top: 12px; }
  .hero .mini-welcome > p { margin-bottom: 16px; }
  .hero .mini-quick-grid { gap: 7px; }
  .hero .mini-quick-grid > button { min-height: 40px; padding-block: 8px; }
  .hero .mini-drive-entry { margin-top: 12px; padding-block: 10px; }
}
@media (max-width: 760px) {
  .hero-stage { grid-template-columns: minmax(0, 1fr); row-gap: 26px; min-height: 0; padding-block: 26px 30px; }
  .hero .hero-content { text-align: center; }
  .hero h1 { font-size: clamp(34px, 7vw, 49px); letter-spacing: -1.8px; }
  .hero .hero-description { font-size: 14px; margin-top: 18px; }
  .hero .hero-description br { display: none; }
  .hero .hero-actions { justify-content: center; flex-wrap: wrap; margin-top: 20px; gap: 9px; }
  .hero .hero-actions .button { min-height: 44px; font-size: 13px; padding-inline: 14px; gap: 8px; }
  .hero .mini-story .demo-tabs { margin-top: 24px; gap: 6px; }
  .hero .mini-story .demo-tab { min-height: 48px; padding: 9px 10px; gap: 6px; }
  .hero .mini-story .demo-tab b { font-size: 12px; }
  .hero .mini-story .demo-tab small { display: none; }
  .hero .mini-step-number { width: 17px; }
  .hero .demo-bottom { text-align: left; margin-top: 12px; gap: 10px; }
  .hero .mini-viewer { max-width: 385px; }
  .hero .mini-app { height: clamp(490px, calc(100svh - 170px), 620px); }
}

/* Shared website palette: black typography with restrained green accents. */
@media (min-width: 681px) {
  .nav { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
  .nav > .brand { justify-self: start; }
  .nav-links { margin-inline: 0; }
}
:root {
  --ink: #191a23;
  --muted: #808080;
  --accent: #28b894;
  --accent-soft: #edf8f2;
  --line: #e3ebe6;
}
.hero { background: radial-gradient(ellipse 48% 72% at 82% 64%, #eaf7ef 0%, #f7fbf8 56%, transparent 100%), #fff; }
.hero h1, .hero h1 > .hero-heading-static, .hero h1 > .hero-heading-dynamic { color: var(--ink); }
.brand-mark { background: var(--accent); }
.hero .hero-description { color: var(--text-secondary); }
.text-button { color: var(--ink); }
.text-button:hover { color: var(--accent-strong); }
.text-button .icon { color: var(--accent); }
.feature-icon, .eco-icon { color: var(--accent); background: var(--accent-soft); }
.mini-story .demo-tab b { color: var(--ink); }
.mini-story .demo-tab.active { border-color: #c1e2cf; background: #f8fcfa; box-shadow: inset 3px 0 0 var(--accent); }
.mini-story .demo-tab.active b { color: var(--ink); }
.mini-story .demo-tab:hover { background: #f0f8f3; }
.mini-app { border-color: #d7e5dc; background: #f5f8f6; box-shadow: 0 25px 75px -25px #24543830, 0 0 0 7px #e5f1e950; }
.mini-user > p { color: var(--text-body); background: #dff2e7; border: 1px solid #c9e7d5; }
.mini-ai-mark, .mini-message-avatar { color: var(--ink); background: #e4f2e9; border-color: #cde5d7; }
.mini-quick-grid > button:first-child { color: var(--ink); background: #edf7f0; border-color: #c6e4d2; }
.mini-source-chip, .mini-quote { color: var(--text-body); background: #eaf4ee; border-color: #d6e7dc; }
.mini-artifact b { color: var(--ink); }
.mini-input-bar > .mini-send { color: var(--accent-strong); }
.mini-advisor .mini-status, .mini-advisor .mini-topbar { background: #1c2721; color: #fff; }
.role-tabs button[aria-selected="true"] { color: var(--ink); border-color: #c5dfce; }
.role-tabs button[aria-selected="true"] .icon { color: var(--accent); }
.role-visual { background: radial-gradient(ellipse, #eaf7ef 0%, #f6faf7 55%, #fff 72%); }
.role-workbench-summary { color: var(--ink); background: #eff8f2; border-color: #d4e9dc; }
.closing { background: radial-gradient(ellipse 53% 110% at 50% 130%, #cdebd9 0%, #eaf7ef 53%, #f7fbf8 100%); }
.closing-brand { color: var(--ink); }
.closing p { color: var(--text-secondary); }
@media (max-width: 680px) {
  .mini-story .demo-tab.active { box-shadow: inset 3px 0 0 var(--accent); }
}

.hero .mini-story .demo-tabs { position: relative; isolation: isolate; }
.hero .mini-story .demo-tab { position: relative; z-index: 1; }
#demo-tab-indicator {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  pointer-events: none;
  border: 1px solid #c1e2cf;
  border-radius: 11px;
  background: #f8fcfa;
  box-shadow: inset 3px 0 0 var(--accent);
  will-change: transform;
  transition: transform 560ms cubic-bezier(.22, 1, .36, 1), width 560ms var(--ease), height 560ms var(--ease) !important;
}
#demo-tab-indicator.is-resetting { transition: none !important; }
.hero .mini-story .has-sliding-indicator .demo-tab,
.hero .mini-story .has-sliding-indicator .demo-tab.active {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

/* A quiet brand backdrop: information paths converge around the mini-program. */
.hero { isolation: isolate; }
.hero-stage { position: relative; z-index: 1; }
.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}
.hero-brand-watermark {
  position: absolute;
  left: max(-18px, calc((100vw - 1540px) / 2));
  bottom: -.15em;
  font-size: clamp(150px, 15vw, 255px);
  font-weight: 750;
  line-height: 1.15;
  letter-spacing: -.065em;
  white-space: nowrap;
  color: #f0f6f2;
  -webkit-text-stroke: 1px #d7e5dc;
  text-shadow: 0 10px 22px #365d4508;
  opacity: .85;
}
.hero-flow-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-orbit-lines { opacity: .5; }
.hero-reading-wash {
  position: absolute;
  top: 22%;
  bottom: 22%;
  left: 0;
  width: 63%;
  background: radial-gradient(ellipse at 47% 50%, #fff 28%, #ffffffd9 50%, #ffffff00 73%);
}
@media (max-height: 800px) and (min-width: 761px) {
  .hero-brand-watermark { font-size: clamp(110px, 11vw, 160px); bottom: -.19em; opacity: .7; }
  .hero-flow-art { opacity: .8; }
}
@media (max-width: 1100px) {
  .hero-brand-watermark { left: -25px; opacity: .65; }
  .hero-orbit-lines { opacity: .3; }
}
@media (max-width: 760px) {
  .hero-brand-watermark { display: none; }
  .hero-flow-art { width: 200%; max-width: none; left: -60%; opacity: .6; }
  .hero-reading-wash { top: 0; left: 0; width: 100%; height: 420px; bottom: auto; background: linear-gradient(#ffffffc9, #ffffff00); }
}

.hero-signal-network {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}
.signal-routes, .signal-secondary-rails { fill: none; }
.signal-routes { stroke: #b8dac7; stroke-width: 1.05; opacity: .8; }
.signal-secondary-rails { stroke: #d0e6d9; stroke-width: 1; opacity: .7; }
.signal-core { fill: #20b184; }
@media (max-width: 760px) {
  .signal-routes { opacity: .65; }
  .signal-secondary-rails { opacity: .45; }
}

/* The hover bridge keeps the code open while moving from the button into its card. */
.mini-access { position: relative; justify-self: end; flex-shrink: 0; }
.mini-access-button {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 126px; min-height: 42px; padding: 0 23px;
  border: 0; border-radius: 999px; background: #191c1a; color: #fff;
  font: inherit; font-size: 14px; font-weight: 600; white-space: nowrap;
  cursor: pointer; transition: background 180ms ease;
}
.mini-access-button:hover, .mini-access.is-open .mini-access-button { background: #303833; }
.mini-access-panel {
  position: absolute; top: 100%; right: 0; width: 236px; padding-top: 14px;
  opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-7px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
}
.mini-access.is-open .mini-access-panel { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
.mini-access-card { padding: 19px 17px 17px; border: 1px solid #e2ebe5; border-radius: 16px; background: #fff; box-shadow: 0 16px 45px #173a271c; text-align: center; }
.mini-access-code { display: block; width: 200px; height: 200px; object-fit: contain; margin: 0 auto; background: #fff; }
.mini-access-pending { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: #f5f8f6; border-radius: 10px; color: var(--muted); font-size: 13px; }
.mini-access-pending .icon { width: 35px; height: 35px; color: #94ad9d; }
.mini-access-card p { margin-top: 13px; color: var(--text-secondary); font-size: 13px; line-height: 1.7; }
@media (min-width: 681px) and (max-width: 900px) {
  .nav { gap: 14px; }
  .nav-links { gap: 18px; font-size: 13px; }
  .nav > .brand { font-size: 22px; }
  .nav .brand-ai { font-size: 21px; }
  .mini-access-button { min-width: 112px; padding-inline: 17px; }
}
@media (max-width: 680px) {
  .nav { gap: 10px; }
  .mini-access-button { min-width: 108px; min-height: 38px; padding-inline: 15px; font-size: 13px; }
  .mini-access-panel { padding-top: 13px; }
}
@media (max-width: 380px) {
  .nav { gap: 8px; }
  .nav > .brand { font-size: 19px; gap: 7px; }
  .nav .brand-ai { font-size: 18px; }
  .nav .brand-mark { width: 32px; height: 32px; font-size: 21px; border-radius: 10px; }
  .mini-access-button { min-width: 102px; padding-inline: 12px; }
}

/* The product descriptor stays beside the wordmark on desktop. */
.nav .brand-wordmark { display: inline-flex; align-items: center; gap: 10px; }
.nav .brand-descriptor { font-size: 22px; font-weight: 600; letter-spacing: 0; }
@media (min-width: 681px) and (max-width: 1100px) {
  .nav { grid-template-columns: max-content minmax(0, 1fr) auto; gap: 18px; }
  .nav-links { justify-self: center; gap: 16px; font-size: 13px; }
  .nav .brand-wordmark { gap: 8px; }
  .nav .brand-descriptor { font-size: 18px; }
}
@media (max-width: 850px) {
  .nav .brand-wordmark { flex-direction: column; align-items: flex-start; gap: 1px; line-height: 1.25; }
  .nav .brand-descriptor { font-size: 14px; font-weight: 500; }
}

/* Typography hierarchy measured from workbuddy.cn on 2026-09-07. */
.nav-links a { color: var(--ink); font-weight: 700; line-height: 1.6; }
.nav-links a:hover { color: var(--accent-strong); }
.mini-access-button { font-size: 16px; font-weight: 500; line-height: 1.6; }
.brand { font-weight: 700; }
.hero h1 { font-size: clamp(40px, 4.167vw, 60px); font-weight: 700; line-height: 1.333333; letter-spacing: -.03em; }
.hero-rotator, .hero-character-window { height: 1.333333em; }
.hero-character { height: 1.333333em; flex-basis: 1.333333em; line-height: 1.333333; }
.hero .hero-description { color: var(--ink); font-size: 20px; font-weight: 500; line-height: 2; letter-spacing: 0; }
.hero .mini-story .demo-tab b { color: var(--ink); font-size: 16px; font-weight: 600; line-height: 1.5; }
.hero .mini-story .demo-tab small { color: var(--text-secondary); font-size: 13px; line-height: 1.6; }
.section-heading h2 { font-size: clamp(32px, 4.167vw, 60px); font-weight: 700; line-height: 1.2; letter-spacing: -.025em; }
.section-heading > p:last-child:not(.eyebrow) { color: var(--text-secondary); font-size: 18px; font-weight: 400; line-height: 1.8; }
.eyebrow, .scene-index, .knowledge-number { color: var(--muted); font-size: 13px; font-weight: 500; line-height: 1.6; }
.capability h3, .knowledge-card h3 { color: var(--ink); font-size: 24px; font-weight: 600; line-height: 1.4; letter-spacing: 0; }
.capability p, .role-copy > p, .knowledge-card > p { color: var(--text-body); font-size: 16px; line-height: 1.75; }
.role-copy h3 { color: var(--ink); font-size: 40px; font-weight: 700; line-height: 1.3; letter-spacing: -.02em; }
.plain-checks { color: var(--text-body); font-size: 16px; }
.plain-checks li { line-height: 1.5; }
.plain-checks li::before { color: var(--accent); }
.text-button { font-size: 16px; font-weight: 500; }
.role-tabs button { color: var(--text-secondary); font-size: 16px; font-weight: 500; }
.wechat-layout .section-heading > p:last-child { color: var(--text-secondary); }
.closing h2 { font-size: clamp(32px, 3.473vw, 50px); font-weight: 700; line-height: 1.2; letter-spacing: -.025em; }
.mini-preview-hint, .preview-tag, .mini-welcome > p, .mini-drive-entry small,
.mini-client-context small, .mini-doc-head small, .mini-artifact small,
.mini-input-bar > input::placeholder, .mini-sheet-note, .guide-bottom > span { color: var(--muted); }
.footer-links { color: var(--text-secondary); font-size: 14px; }
.footer-bottom { color: var(--muted); font-size: 14px; line-height: 1.6; }
.site-footer { --footer-paper: #f7f8f9; padding: 56px 0 30px; background: var(--footer-paper); }
.footer-shell { width: min(1680px, calc(100% - 96px)); margin-inline: auto; container-type: inline-size; }
.footer-signature { display: flex; align-items: center; justify-content: center; width: 100%; padding-block: 12px 48px; color: #dfe2e1; font-size: clamp(60px, 18cqw, 286px); font-weight: 750; line-height: 1.12; letter-spacing: -.055em; }
.footer-signature-name { white-space: nowrap; }
.footer-signature-name > span { display: inline-block; margin-left: .15em; font-family: Arial, sans-serif; font-weight: 800; letter-spacing: -.065em; }
.footer-meta { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 24px; padding-top: 20px; }
.footer-copyright, .footer-address { color: #8a939b; font-size: 13px; line-height: 1.8; }
.footer-copyright { white-space: nowrap; }
.footer-address { font-style: normal; text-align: right; overflow-wrap: anywhere; }
.footer-meta > .footer-links { justify-self: end; }
.footer-meta .footer-links > button { color: #7c858b; background: #edf0ef; }
@media (max-width: 1100px) {
  .footer-shell { width: calc(100% - 56px); }
  .footer-meta { gap: 18px; }
}
@media (max-width: 760px) {
  .site-footer { padding: 28px 0 24px; }
  .footer-shell { width: calc(100% - 40px); }
  .footer-signature { padding-block: 8px 24px; }
  .footer-meta { grid-template-columns: minmax(0, 1fr) auto; gap: 12px 16px; padding-top: 12px; }
  .footer-copyright, .footer-address { font-size: 12px; }
  .footer-copyright { white-space: normal; }
  .footer-address { grid-column: 1 / -1; grid-row: 2; text-align: left; }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .hero h1 { font-size: clamp(34px, 4.1vw, 45px); }
  .hero .hero-description { font-size: 16px; line-height: 1.8; }
  .hero .mini-story .demo-tab b { font-size: 14px; }
  .role-copy h3 { font-size: 32px; }
  .mini-access-button { font-size: 14px; }
}
@media (min-width: 761px) and (max-height: 800px) {
  .hero h1 { font-size: clamp(34px, 4.1vw, 56px); }
  .hero .hero-description { font-size: 18px; line-height: 1.8; }
}
@media (max-width: 760px) {
  .hero h1 { font-size: clamp(32px, 7vw, 49px); }
  .hero .hero-description { font-size: 16px; line-height: 1.8; }
  .hero .mini-story .demo-tab b { font-size: 14px; }
  .section-heading h2, .closing h2 { font-size: 32px; line-height: 1.35; }
  .section-heading > p:last-child:not(.eyebrow) { font-size: 16px; line-height: 1.75; }
  .capability h3, .knowledge-card h3 { font-size: 21px; }
  .role-copy h3 { font-size: 28px; }
  .plain-checks, .role-copy .text-button { font-size: 15px; }
  .mini-access-button { font-size: 13px; }
}

/* Short scenario films share one stable device frame. */
.role-preview.role-replay { position: relative; display: flex; flex-direction: column; height: 530px; min-height: 530px; padding: 20px 20px 15px; overflow: hidden; color: var(--text-body); }
.role-replay .preview-header { flex-shrink: 0; min-height: 43px; padding-bottom: 15px; }
.role-replay .preview-header b { white-space: nowrap; font-size: 13px; }
.replay-context-slot { flex-shrink: 0; }
.replay-context { display: flex; align-items: center; gap: 9px; padding: 11px 10px; margin: 12px 0 0; background: #f1f7f3; border-radius: 9px; font-size: 13px; }
.replay-context > div, .replay-customer-choice > div { flex: 1; min-width: 0; }
.replay-context b, .replay-customer-choice b { display: block; font-size: 13px; font-weight: 600; }
.replay-context small, .replay-customer-choice small { display: block; font-size: 12px; color: var(--muted); line-height: 1.6; margin-top: 2px; }
.replay-client-avatar { width: 30px; height: 33px; border: 1px solid #d7e9df; border-radius: 8px; display: grid; place-items: center; background: #e6f2eb; color: var(--accent-strong); font-size: 14px; flex-shrink: 0; }
.replay-screen { flex: 1; min-height: 0; overflow: hidden; padding: 17px 0 12px; }
.replay-scene-content { display: flex; flex-direction: column; gap: 13px; animation: replay-scene-enter 220ms ease both; }
.replay-welcome { text-align: center; padding: 5px 0 4px; }
.replay-welcome-mark { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid #cfe7da; border-radius: 12px; background: #e8f5ed; font-size: 19px; font-weight: 650; }
.replay-welcome h4 { margin-top: 13px; font-size: 17px; font-weight: 600; line-height: 1.7; letter-spacing: -.5px; }
.replay-welcome p { font-size: 12px; color: var(--muted); line-height: 1.7; margin-top: 4px; }
.replay-prompts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.replay-prompts > span { text-align: center; padding: 11px 4px; border: 1px solid #deebe3; border-radius: 8px; font-size: 12px; background: #fbfdfb; }
.replay-drive { display: flex; gap: 9px; align-items: center; padding: 12px; border-radius: 9px; background: #f4f9f6; }
.replay-drive > div { flex: 1; }.replay-drive b { display: block; font-size: 13px; font-weight: 550; }.replay-drive small { display: block; color: var(--muted); margin-top: 3px; font-size: 12px; }
.replay-drive .icon { width: 19px; height: 19px; color: var(--accent-strong); }
.replay-user { align-self: flex-end; max-width: 93%; padding: 11px 13px; border: 1px solid #d1e9db; border-radius: 12px 12px 3px 12px; background: #e3f3e9; font-size: 13px; line-height: 1.8; }
.replay-file { flex-shrink: 0; overflow: hidden; border: 1px solid #e1ece5; border-radius: 10px; background: #fff; }
.replay-file-head { display: flex; align-items: center; gap: 8px; padding: 12px 10px; }
.replay-file-head > span { display: grid; place-items: center; width: 29px; height: 34px; flex-shrink: 0; background: #edf6f0; border-radius: 6px; }
.replay-file-head .icon { width: 18px; height: 18px; color: var(--accent-strong); }
.replay-file-head > div { flex: 1; min-width: 0; }
.replay-file-head b { display: block; font-size: 13px; font-weight: 600; }
.replay-file-head small { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; line-height: 1.6; }
.replay-file-head em { font-style: normal; font-size: 12px; color: var(--accent-strong); flex-shrink: 0; }
.replay-file-action { padding: 9px 12px; border-top: 1px solid #e5eee8; color: var(--accent-strong); font-size: 12px; text-align: right; transition: background 180ms ease; }
.replay-file-action span { margin-left: 5px; }
.replay-file-progress { height: 3px; background: #edf5f0; }
.replay-file-progress i { display: block; width: 100%; height: 100%; background: #24b68e; transform-origin: left; transform: scaleX(0); }
.replay-thinking { display: flex; align-items: center; gap: 4px; color: var(--muted); font-size: 12px; padding-block: 4px; }
.replay-thinking > span:nth-child(2) { margin-inline: 4px 5px; }
.replay-thinking > i { width: 3px; height: 3px; border-radius: 50%; background: #55a685; animation: replay-thinking 800ms ease-in-out infinite alternate; }
.replay-thinking > i:nth-last-child(2) { animation-delay: 140ms; }.replay-thinking > i:last-child { animation-delay: 280ms; }
.replay-avatar { width: 25px; height: 25px; display: inline-grid; place-items: center; background: #e8f4ed; color: var(--accent-strong); border-radius: 7px; font-size: 10px; font-weight: 600; flex-shrink: 0; }
.replay-answer { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; line-height: 1.85; }
.replay-answer > div { flex: 1; min-width: 0; }
.replay-answer p { min-height: 47px; overflow-wrap: anywhere; }
.role-replay[data-phase="result"] .replay-answer p { min-height: 0; }
.replay-checklist { display: grid; gap: 7px; padding: 11px 10px; border: 1px solid #e1eee6; background: #f6faf7; border-radius: 9px; margin-top: 11px; }
.replay-checklist > span { display: flex; align-items: flex-start; gap: 6px; font-size: 12px; }
.replay-checklist .icon { width: 15px; height: 15px; flex-shrink: 0; color: var(--accent); margin-top: 3px; }
.replay-source { display: inline-block; font-size: 12px; color: var(--muted); margin-top: 6px; }
.replay-process { padding-left: 33px; font-size: 12px; color: var(--accent-strong); }
.replay-composer { flex-shrink: 0; margin-top: 2px; }
.replay-input-row { display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 7px 8px 7px 10px; border: 1px solid #e8f0ea; border-radius: 9px; background: #f2f7f4; }
.replay-input-text { flex: 1; color: var(--muted); font-size: 12px; line-height: 1.8; min-width: 0; }
.is-typing .replay-input-text { color: var(--text-body); }
.is-typing .replay-input-text::after { content: ''; display: inline-block; height: 13px; width: 1px; background: #24a17b; vertical-align: -2px; margin-left: 2px; animation: replay-caret 650ms steps(1) infinite; }
.replay-send { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 7px; color: #8ca295; flex-shrink: 0; transition: background 180ms ease; }
.replay-send .icon { width: 18px; height: 18px; }
.is-typing .replay-send { background: #24b68e; color: #fff; }
.replay-quote { display: flex; align-items: center; gap: 6px; padding: 7px 9px; margin-bottom: 6px; font-size: 12px; border-radius: 7px; background: #eef6f0; color: var(--muted); }
.replay-quote .icon { width: 14px; height: 14px; }.replay-quote span { margin-left: auto; }
.replay-intro { padding: 11px 0 10px; }.replay-intro small { font-size: 12px; color: var(--muted); }.replay-intro h4 { font-size: 21px; margin-block: 10px; font-weight: 600; }.replay-intro p { font-size: 13px; color: var(--muted); }
.replay-customer-choice { display: flex; align-items: center; gap: 9px; border: 1px solid #cfe6d9; border-radius: 10px; padding: 14px 10px; background: #f6fbf8; transition: background 180ms ease; }
.replay-customer-choice.is-muted { background: #fff; border-color: #e7eee9; opacity: .7; }
.replay-tip { font-size: 13px; color: var(--muted); text-align: center; padding-top: 14px; }
.replay-workbench-total { display: flex; align-items: baseline; gap: 7px; padding: 14px; border: 1px solid #d6e9dd; border-radius: 10px; background: #eff8f2; }
.role-replay[data-replay-role="team"]:is([data-phase="workbench"], [data-phase="result"]) .replay-scene-content { gap: 10px; }
.replay-workbench-total strong { font-size: 31px; font-weight: 650; line-height: 1.2; }.replay-workbench-total span { font-size: 13px; }.replay-workbench-total small { margin-left: auto; font-size: 12px; color: var(--muted); }
.replay-section-label { font-size: 12px; color: var(--muted); margin-top: 3px; }
.replay-task-row { display: flex; align-items: center; gap: 8px; padding: 11px 8px; border: 1px solid #e6eee8; border-radius: 9px; transition: background 180ms ease; }
.replay-task-icon { display: grid; place-items: center; width: 27px; height: 32px; flex-shrink: 0; border-radius: 6px; background: #f5f3e9; color: #b79447; }
.replay-task-icon .icon { width: 16px; height: 16px; }.replay-task-row > div { flex: 1; min-width: 0; }.replay-task-row b { display: block; font-size: 12px; font-weight: 600; line-height: 1.6; }.replay-task-row small { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); line-height: 1.5; }.replay-task-row em { font-size: 12px; color: var(--accent-strong); font-style: normal; }
.replay-task-row.is-done { background: #f2f9f5; border-color: #d4eade; }.is-done .replay-task-icon { color: var(--accent-strong); background: #e4f3eb; }
.replay-workbench-tools { display: flex; gap: 6px; }.replay-workbench-tools span { flex: 1; font-size: 12px; text-align: center; padding: 10px 2px; background: #f2f8f4; border-radius: 7px; color: var(--text-secondary); }
.replay-task-context { font-size: 12px; color: var(--muted); padding: 9px 11px; background: #f7f9f7; border-radius: 7px; }
.replay-confirm { border: 1px solid #c3e5d4; border-radius: 8px; padding: 11px 8px; text-align: center; font-size: 13px; color: var(--accent-strong); background: #edf8f1; }
.replay-complete { color: var(--accent-strong); background: #edf8f1; border-radius: 8px; padding: 10px; text-align: center; font-size: 12px; line-height: 1.8; }
.replay-target-active { background: #d9efe2 !important; box-shadow: inset 0 0 0 1px #b6deca; }
.replay-timeline { height: 2px; margin-top: 8px; background: #edf4ef; flex-shrink: 0; overflow: hidden; }
.replay-timeline i { display: block; height: 100%; background: #85cfb2; transform-origin: left; }
.replay-cursor { position: absolute; left: 0; top: 0; z-index: 3; width: 21px; height: 26px; pointer-events: none; opacity: 0; transition: transform 430ms cubic-bezier(.22,1,.36,1), opacity 120ms ease; }
.replay-cursor > svg { width: 21px; height: 26px; fill: #264d3b; stroke: #fff; stroke-width: 1.5; filter: drop-shadow(0 2px 3px #163d2930); position: relative; z-index: 1; }
.replay-cursor.is-visible { opacity: 1; }
.replay-cursor > i { position: absolute; left: -11px; top: -11px; width: 25px; height: 25px; border: 2px solid #37b38b; border-radius: 50%; opacity: 0; }
.replay-cursor.is-tapping > i { animation: replay-tap 320ms ease-out both; }
.role-replay[data-playing="false"] * { animation-play-state: paused !important; }
@keyframes replay-scene-enter { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@keyframes replay-thinking { from { opacity: .3; transform: translateY(0); } to { opacity: 1; transform: translateY(-2px); } }
@keyframes replay-caret { 50% { opacity: 0; } }
@keyframes replay-tap { from { opacity: .7; transform: scale(.4); } to { opacity: 0; transform: scale(1.3); } }
@media (max-width: 1100px) { .role-preview.role-replay { padding-inline: 15px; } .replay-file-head { flex-wrap: wrap; } .replay-file-head em { margin-left: auto; } }
@media (max-width: 680px) {
  .role-preview.role-replay { height: 520px; min-height: 520px; padding: 18px 14px 13px; }
  .replay-welcome h4 { font-size: 16px; }
  .replay-context { padding-inline: 8px; gap: 7px; }
}
/* Financing report scene: source material, progress, and an openable report. */
.finance-report-source { display: flex; align-items: center; gap: 6px; padding: 9px 11px; margin: 0 0 12px 32px; border: 1px solid #ddebe3; border-radius: 8px; background: #fff; color: var(--text-secondary); font-size: 12px; line-height: 1.6; }
.finance-report-source .icon { width: 15px; height: 15px; flex-shrink: 0; color: #248666; }
.finance-report-progress { display: flex; flex-wrap: wrap; gap: 7px 10px; margin: 0 0 15px 32px; }
.finance-report-progress > span { display: inline-flex; align-items: center; gap: 3px; color: var(--text-secondary); font-size: 12px; line-height: 1.6; }
.finance-report-progress .icon { width: 13px; height: 13px; color: #1bb58b; }
.finance-report-card { display: block; width: 100%; min-width: 0; margin-top: 12px; padding: 13px; border: 1px solid #cde5d7; border-top: 3px solid #1db890; border-radius: 10px; background: #fff; color: var(--text-body); text-align: left; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.finance-report-card:hover { border-color: #1db890; box-shadow: 0 4px 14px #19976d12; }
.finance-report-card:focus-visible { outline: 2px solid #1db890; outline-offset: 3px; }
.finance-report-card-head, .finance-report-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; line-height: 1.7; }
.finance-report-card-head { color: #4b6d5d; margin-bottom: 8px; }
.finance-report-card-head > span:first-child, .finance-report-card-bottom > span:last-child { display: inline-flex; align-items: center; gap: 5px; }
.finance-report-card-head > span:last-child { padding: 1px 5px; background: #edf6f1; border-radius: 4px; font-size: 10px; letter-spacing: .5px; }
.finance-report-card .icon { width: 14px; height: 14px; flex-shrink: 0; }
.finance-report-card > b { display: block; font-size: 15px; line-height: 1.6; font-weight: 650; }
.finance-report-company { display: block; margin-top: 2px; color: var(--text-secondary); font-size: 12px; line-height: 1.7; }
.finance-report-outline { display: grid; gap: 5px; padding: 11px 0; margin-top: 7px; border-top: 1px solid #edf3ef; }
.finance-report-outline > span { display: flex; align-items: baseline; gap: 8px; font-size: 12px; line-height: 1.7; }
.finance-report-outline i { color: #689481; font-size: 10px; font-style: normal; }
.finance-report-card-bottom { padding-top: 9px; border-top: 1px solid #edf3ef; color: var(--text-secondary); font-size: 11px; }
.finance-report-card-bottom > span:last-child { color: #217e5c; white-space: nowrap; }
@keyframes finance-report-reveal { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
@media(prefers-reduced-motion:no-preference) {
  html:not(.reduce-motion) .finance-report-progress > span,
  html:not(.reduce-motion) .finance-report-result { animation: finance-report-reveal .35s var(--ease) var(--report-delay) both; }
}
/* Interactive customer list, profile, and follow-up form. */
.mini-customer-mode .mini-input-bar, .mini-customer-mode .mini-top-actions { display: none; }
.mini-customer-mode .mini-topbar::before { content: ''; width: 75px; flex-shrink: 0; }
.mini-customer-mode .mini-chat-scroll { padding: 15px; }
.customer-manager-root { color: var(--text-body); }
.cm-screen { display: grid; gap: 13px; }
.cm-screen h3, .cm-screen h4, .cm-screen p { margin: 0; }
.cm-heading { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.cm-heading > div > span { display: block; font-size: 12px; color: var(--text-secondary); margin-bottom: 3px; }
.cm-heading h3 { font-size: 18px; font-weight: 650; line-height: 1.5; letter-spacing: -.5px; }
.cm-replay { background: transparent; border: 0; padding: 8px 0 8px 8px; color: #527164; font-size: 12px; }
.cm-overview { display: grid; grid-template-columns: repeat(3,1fr); background: #e8f4ed; border: 1px solid #d2e8da; border-radius: 12px; padding: 10px 0; }
.cm-overview > div { text-align: center; }
.cm-overview > div + div { border-left: 1px solid #d2e5d9; }
.cm-overview b { display: block; font-size: 23px; font-weight: 650; line-height: 1.25; }
.cm-overview span { display: block; font-size: 11px; margin-top: 3px; color: var(--text-secondary); }
.cm-filters { display: flex; gap: 17px; border-bottom: 1px solid #dce9e1; }
.cm-filters button { background: transparent; border: 0; border-bottom: 2px solid transparent; font-size: 13px; color: var(--text-secondary); padding: 2px 1px 8px; }
.cm-filters button[aria-pressed="true"] { border-bottom-color: #1db890; color: var(--text-body); font-weight: 600; }
.cm-filters button > span { display: inline-block; background: #e4eee8; padding: 0 5px; border-radius: 4px; font-size: 11px; margin-left: 3px; }
.cm-list { display: grid; gap: 9px; }
.cm-customer { display: block; width: 100%; padding: 11px 12px; background: #fff; border: 1px solid #dce9e1; border-radius: 11px; color: var(--text-body); text-align: left; transition: border-color .25s, box-shadow .25s, transform .25s; }
.cm-customer-top { display: flex; align-items: center; gap: 9px; }
.cm-avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #e6f3eb; color: #248061; font-size: 17px; font-weight: 600; flex-shrink: 0; }
.cm-identity { flex: 1; min-width: 0; }
.cm-identity b { display: block; font-size: 14px; font-weight: 600; line-height: 1.5; }
.cm-identity small { display: block; margin-top: 1px; font-size: 11px; color: var(--text-secondary); line-height: 1.5; }
.cm-customer-top > .icon { width: 14px; height: 14px; color: #83978d; }
.cm-customer-tags { display: flex; gap: 6px; margin-top: 8px; }
.cm-customer-tags > span { display: block; border-radius: 4px; background: #f0f5f2; padding: 2px 6px; font-size: 10px; line-height: 1.5; color: #52685c; }
.cm-customer-tags > .cm-pending { background: #f8f2e6; color: #796843; }
.cm-customer-tags > .cm-done { background: #e2f3e9; color: #287759; }
.cm-latest { display: block; margin-top: 6px; font-size: 11px; line-height: 1.6; color: var(--text-secondary); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.cm-customer-updated { border-color: #a6d8bd; }
.cm-navigation { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.cm-navigation button { display: flex; align-items: center; gap: 5px; background: transparent; border: 0; color: var(--text-body); font-size: 13px; padding: 4px 0; }
.cm-navigation button .icon { width: 14px; height: 14px; transform: rotate(180deg); }
.cm-navigation > span { color: var(--text-secondary); font-size: 11px; }
.cm-profile { display: flex; gap: 11px; align-items: center; padding: 13px 0 2px; }
.cm-profile .cm-avatar { width: 43px; height: 43px; font-size: 21px; }
.cm-profile h3 { font-size: 18px; font-weight: 650; line-height: 1.5; }
.cm-profile p { font-size: 12px; color: var(--text-secondary); margin-top: 4px; }
.cm-detail-fields { padding: 5px 12px; background: #fff; border: 1px solid #dce9e1; border-radius: 11px; }
.cm-detail-fields > div { display: flex; justify-content: space-between; gap: 9px; padding: 10px 0; font-size: 12px; line-height: 1.5; }
.cm-detail-fields > div + div { border-top: 1px solid #edf3ef; }
.cm-detail-fields span { color: var(--text-secondary); flex-shrink: 0; }
.cm-detail-fields b { font-weight: 500; text-align: right; }
.cm-detail-fields .cm-status { color: #257857; }
.cm-history h4 { font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.cm-history-entry { position: relative; padding-left: 14px; border-left: 1px solid #cbe4d6; margin-left: 3px; padding-bottom: 10px; }
.cm-history-entry::before { content: ''; position: absolute; left: -3px; top: 5px; width: 5px; height: 5px; border-radius: 50%; background: #9bbdad; }
.cm-history-entry > span { display: block; font-size: 11px; color: var(--text-secondary); margin-bottom: 4px; }
.cm-history-entry p { font-size: 12px; line-height: 1.75; overflow-wrap: anywhere; }
.cm-history-new::before { background: #1db890; }
.cm-saved { display: flex; align-items: center; gap: 6px; padding: 9px 10px; background: #e5f4eb; border: 1px solid #c6e4d3; border-radius: 8px; color: #27684c; font-size: 12px; line-height: 1.6; }
.cm-saved .icon { width: 15px; height: 15px; flex-shrink: 0; }
.cm-primary { display: flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid #1aa17c; background: #1db890; width: 100%; color: #132b21; min-height: 41px; padding: 10px; border-radius: 9px; font-size: 13px; font-weight: 600; }
.cm-primary .icon { width: 16px; height: 16px; }
.cm-editor-client { display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px solid #dce9e1; border-radius: 10px; background: #fff; }
.cm-editor-client b { display: block; font-size: 14px; font-weight: 600; }
.cm-editor-client small { display: block; font-size: 12px; color: var(--text-secondary); margin-top: 4px; }
.cm-editor { display: grid; gap: 10px; padding-top: 5px; }
.cm-editor label { font-size: 13px; font-weight: 600; }
.cm-editor textarea { width: 100%; min-height: 132px; resize: vertical; border: 1px solid #cce1d5; background: #fff; border-radius: 10px; padding: 12px; color: var(--text-body); font-family: inherit; font-size: 13px; line-height: 1.8; }
.cm-editor textarea:focus-visible { outline: 2px solid #1db890; outline-offset: 2px; }
.cm-editor p { font-size: 11px; line-height: 1.7; color: var(--text-secondary); margin-bottom: 9px; }
.cm-demo-target { border-color: #1db890; box-shadow: 0 0 0 3px #1db89020, 0 5px 12px #15896112; }
.cm-empty { min-height: 160px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; color: var(--text-secondary); font-size: 12px; }
.cm-empty .icon { color: #1db890; }
.cm-empty b { font-size: 14px; color: var(--text-body); }
@media(prefers-reduced-motion:no-preference) {
  html:not(.reduce-motion) .cm-screen { animation: entrance .28s var(--ease); }
  html:not(.reduce-motion) .cm-saved, html:not(.reduce-motion) .cm-history-new { animation: finance-report-reveal .35s var(--ease); }
}
@media(max-width:380px) {
  .mini-customer-mode .mini-topbar::before { width: 65px; }
  .cm-customer { padding-inline: 10px; }
  .cm-heading h3 { font-size: 17px; }
}
/* Local case marketplace; existing selectors retained for the homepage scene. */
.mini-skill-mode .mini-input-bar, .mini-skill-mode .mini-top-actions { display: none; }
.mini-skill-mode .mini-topbar::before { content: ''; width: 75px; flex-shrink: 0; }
.mini-skill-mode .mini-chat-scroll { padding: 15px; }
.skill-store-root { color: var(--text-body); }
.skill-store-root h3, .skill-store-root h4, .skill-store-root p { margin: 0; }
.skill-store-root h3:focus { outline: none; }
.case-upload-entry { width: 100%; display: flex; align-items: center; gap: 10px; padding: 12px; text-align: left; border: 1px solid #bedfd0; border-radius: 12px; background: #edf8f1; color: var(--text-body); }
.case-upload-entry > span:nth-child(2) { flex: 1; min-width: 0; }
.case-upload-entry b { display: block; font-size: 14px; line-height: 1.6; }
.case-upload-entry small { display: block; color: #567264; font-size: 12px; line-height: 1.6; }
.case-upload-entry > .icon { width: 16px; height: 16px; color: #198764; }
.case-upload-icon { display: grid; place-items: center; background: #fff; color: #198764; width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0; }
.skill-product-bottom > .case-price { color: #167052; font-size: 18px; font-weight: 650; }
.case-price small { color: #6e8076; font-size: 11px; font-weight: 400; }
.case-flow-note { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 7px; padding: 4px 0; font-size: 11px; line-height: 1.6; color: #61786b; }
.case-flow-note i { color: #4b997a; font-style: normal; }
.case-primary, .case-secondary { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: 9px; padding: 11px 14px; font: inherit; font-size: 13px; line-height: 1.5; min-height: 42px; }
.case-primary { border: 1px solid #167554; background: #167554; color: #fff; font-weight: 600; }
.case-primary:hover { background: #105f43; border-color: #105f43; }
.case-primary .icon { width: 16px; height: 16px; }
.case-secondary { background: #fff; color: #476354; border: 1px solid #dce9e1; }
.case-full { width: 100%; }
.case-preview { padding: 14px; background: #f0f7f3; border-radius: 11px; color: #526b5e; font-size: 13px; line-height: 1.9; }
.case-section-label { display: block; color: #263e31; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.case-chapter { color: #429173; font-size: 11px; margin-right: 9px; }
.case-purchase-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 15px 0 3px; border-top: 1px solid #dce9e1; }
.case-purchase-bar b, .case-order b { font-size: 25px; font-weight: 650; color: #167052; }
.case-purchase-bar small { display: block; margin-top: 3px; font-size: 11px; line-height: 1.6; color: #718076; }
.case-demo-note, .case-download-status { font-size: 11px; line-height: 1.8; color: #738579; }
.case-download-status { text-align: center; }
.case-order { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #dce9e1; font-size: 13px; }
.case-success { display: flex; align-items: center; gap: 10px; padding: 14px 12px; background: #e9f6ee; border: 1px solid #cbe7d6; border-radius: 12px; }
.case-success > span { display: grid; place-items: center; width: 30px; height: 30px; color: #177a55; background: #d3ecde; border-radius: 50%; flex-shrink: 0; }
.case-success b { display: block; font-size: 14px; line-height: 1.7; }
.case-success small { display: block; font-size: 12px; color: #577563; line-height: 1.7; }
.case-upload-form { display: grid; gap: 13px; }
.case-upload-form label { display: grid; gap: 7px; font-size: 13px; line-height: 1.5; }
.case-upload-form input { box-sizing: border-box; width: 100%; min-width: 0; background: #fff; color: var(--text-body); border: 1px solid #d0e2d7; border-radius: 9px; padding: 11px; font: inherit; }
.case-upload-form input:focus-visible { outline: 2px solid #1db890; outline-offset: 2px; }
.case-file-picker { display: grid; justify-items: center; gap: 6px; padding: 17px 12px; background: #f4faf6; color: #367359; border: 1px dashed #afd4c0; border-radius: 12px; }
.case-file-picker b { font-size: 13px; }
.case-file-picker small { font-size: 11px; color: #718076; }
.case-form-error { font-size: 12px; color: #b24536; }
.case-author-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.case-author-stats > div { display: grid; gap: 5px; padding: 14px; background: #eef7f2; border-radius: 10px; }
.case-author-stats b { font-size: 23px; color: #167052; }
.case-author-stats small { font-size: 11px; line-height: 1.7; color: #597564; }
.skill-store-root h3, .skill-store-root h4, .skill-store-root b, .skill-store-root p { overflow-wrap: anywhere; }
.skill-shop { display: grid; gap: 12px; }
.skill-shop-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.skill-shop-eyebrow { display: block; color: #567264; font-size: 12px; line-height: 1.6; margin-bottom: 3px; }
.skill-shop-heading h3 { font-size: 18px; font-weight: 650; line-height: 1.5; letter-spacing: -.5px; }
.skill-shop-heading > button { padding: 8px 0 8px 8px; border: 0; background: transparent; color: #527164; font-size: 12px; flex-shrink: 0; }
.skill-categories { display: flex; gap: 7px; }
.skill-categories button { border: 1px solid transparent; border-radius: 20px; padding: 6px 13px; font-size: 12px; line-height: 1.5; background: transparent; color: var(--text-secondary); }
.skill-categories button[aria-pressed="true"] { background: #e2f2e9; color: #19251f; border-color: #c4e4d2; }
.skill-products { display: grid; gap: 10px; }
.skill-product { padding: 11px 12px; background: #fff; border: 1px solid #dce9e1; border-radius: 12px; transition: border-color .25s, box-shadow .25s, transform .25s; }
.skill-product-featured { border-color: #bde0cd; background: linear-gradient(120deg,#f4fbf7,#fff 75%); }
.skill-product-head { display: flex; align-items: center; gap: 9px; }
.skill-product-icon { width: 35px; height: 35px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; background: #e8f4ed; color: #198764; }
.skill-product-icon .icon { width: 20px; height: 20px; }
.skill-product-head > div { min-width: 0; flex: 1; }
.skill-product-head h4 { font-size: 14px; line-height: 1.5; font-weight: 650; }
.skill-product-head small { display: block; color: var(--text-secondary); font-size: 12px; line-height: 1.5; margin-top: 2px; }
.skill-product-badge { padding: 3px 6px; font-size: 12px; line-height: 1.5; border-radius: 5px; color: #527164; background: #f0f7f3; white-space: nowrap; }
.skill-product > p { font-size: 12px; line-height: 1.7; margin-top: 7px; color: var(--text-secondary); }
.skill-product-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.skill-product-bottom > span { font-size: 12px; color: #65756c; }
.skill-product-bottom button { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 29px; padding: 5px 12px; border: 1px solid #c6e3d3; background: #e7f5ed; color: #18231d; border-radius: 7px; font-size: 12px; line-height: 1.5; }
.skill-product-bottom button .icon { width: 14px; height: 14px; }
.skill-product-picked { transform: translateY(-2px); border-color: #20b78b; box-shadow: 0 5px 15px #20966e14; }
.skill-product-picked button { background: #1db890; border-color: #1db890; }
.skill-creator-note { display: flex; gap: 9px; align-items: center; padding: 11px 3px 1px; }
.skill-creator-note > .icon { width: 23px; height: 23px; color: #259f78; flex-shrink: 0; }
.skill-creator-note b { display: block; font-size: 13px; line-height: 1.6; font-weight: 600; }
.skill-creator-note small { display: block; color: var(--text-secondary); font-size: 12px; line-height: 1.6; margin-top: 2px; }
.skill-use-screen { display: grid; gap: 14px; }
.skill-use-navigation { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.skill-use-navigation button { display: flex; align-items: center; gap: 6px; padding: 5px 0; border: 0; background: transparent; font-size: 13px; color: var(--text-body); }
.skill-use-navigation button .icon { width: 14px; height: 14px; transform: rotate(180deg); }
.skill-use-navigation > span { font-size: 12px; color: var(--text-secondary); }
.skill-selected { display: flex; gap: 9px; align-items: center; padding: 12px; border: 1px solid #cce5d7; border-radius: 11px; background: #fff; }
.skill-selected > div { min-width: 0; flex: 1; }
.skill-selected b { display: block; font-size: 14px; line-height: 1.6; }
.skill-selected small { display: block; font-size: 12px; line-height: 1.6; color: var(--text-secondary); }
.skill-selected > span:last-child { font-size: 12px; color: #397258; white-space: nowrap; }
.skill-user-request { justify-self: end; max-width: 90%; }
.skill-user-request > small { display: block; text-align: right; font-size: 12px; color: var(--text-secondary); margin-bottom: 5px; }
.skill-user-request p { font-size: 14px; line-height: 1.7; padding: 11px 13px; background: #dff2e7; border: 1px solid #c6e6d3; border-radius: 12px 12px 3px 12px; }
.skill-run-output { display: grid; gap: 12px; }
.skill-loading { display: flex; gap: 12px; align-items: center; padding: 23px 10px; }
.skill-loading b { display: block; font-size: 14px; line-height: 1.7; }
.skill-loading small { display: block; font-size: 12px; color: var(--text-secondary); line-height: 1.8; }
.skill-loading-dots { display: flex; gap: 4px; flex-shrink: 0; }
.skill-loading-dots i { width: 5px; height: 5px; border-radius: 50%; background: #1bb088; }
.skill-generated { background: #fff; border: 1px solid #dce9e1; border-radius: 11px; padding: 13px 14px; }
.skill-generated-label { display: flex; align-items: center; gap: 5px; font-size: 12px; color: #43705b; margin-bottom: 7px; }
.skill-generated-label .icon { width: 15px; height: 15px; }
.skill-generated h4 { font-size: 15px; font-weight: 650; line-height: 1.6; }
.skill-generated ul { padding: 0; margin: 9px 0 0; list-style: none; display: grid; gap: 6px; }
.skill-generated li { font-size: 13px; line-height: 1.7; color: var(--text-secondary); }
.skill-usage { border-top: 1px solid #dce9e1; padding-top: 11px; }
.skill-usage > div { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 13px; }
.skill-usage b { font-size: 19px; font-weight: 650; }
.skill-usage b small { font-size: 12px; font-weight: 400; color: var(--text-secondary); }
.skill-usage p { margin-top: 4px; font-size: 12px; color: var(--text-secondary); line-height: 1.7; }
.skill-creator-income { display: flex; gap: 9px; align-items: center; padding: 13px 11px; border: 1px solid #bfdfcb; border-left: 3px solid #1db890; border-radius: 10px; background: #eaf6ef; }
.skill-income-icon { display: grid; place-items: center; width: 26px; height: 26px; background: #d4eddf; border-radius: 50%; flex-shrink: 0; color: #188261; }
.skill-income-icon .icon { width: 15px; height: 15px; }
.skill-creator-income small { display: block; font-size: 12px; line-height: 1.6; color: #43705b; }
.skill-creator-income b { display: block; font-size: 13px; font-weight: 600; line-height: 1.7; margin-top: 3px; }
@keyframes skill-dot { 50% { transform: translateY(-3px); opacity: .4; } }
@media(prefers-reduced-motion:no-preference) {
  html:not(.reduce-motion) .skill-use-screen, html:not(.reduce-motion) .skill-generated, html:not(.reduce-motion) .skill-creator-income { animation: entrance .3s var(--ease); }
  html:not(.reduce-motion) .skill-loading-dots i { animation: skill-dot .7s infinite; }
  html:not(.reduce-motion) .skill-loading-dots i:nth-child(2) { animation-delay: .12s; }
  html:not(.reduce-motion) .skill-loading-dots i:nth-child(3) { animation-delay: .24s; }
}
@media(max-width:380px) {
  .skill-product-badge { display: none; }
  .skill-product { padding-inline: 10px; }
  .skill-shop-heading h3 { font-size: 17px; }
  .skill-selected { padding: 10px; }
  .mini-skill-mode .mini-topbar::before { width: 65px; }
}

/* Brand artwork keeps its original proportions at every display size. */
.brand-mark,.brand-mark.tiny,.brand-mark.small,.nav .brand-mark{display:inline-block;background:transparent;border-radius:0;box-shadow:none;object-fit:contain;vertical-align:middle}
