.sm-page .pm-hero{background:#f3f7f5}
.sm-page .pm-hero-copy h1 strong{color:#1e7567}
.sm-hero-window{display:flex;flex-direction:column;background:#f7f8f7;overflow:hidden}
.sm-page .pm-product-window.sm-hero-window{aspect-ratio:auto;height:auto}

.sm-body{display:grid;grid-template-columns:128px 1fr;min-height:548px;background:#f7f8f7}
.sm-side{padding:14px 8px 10px;border-right:1px solid #e6ebe8;background:#f3f5f4;display:flex;flex-direction:column;gap:2px}
.sm-brand{display:flex;align-items:center;gap:7px;min-width:0;padding:2px 6px 12px}
.sm-brand img{width:26px;height:26px;border-radius:6px;object-fit:cover;flex:0 0 auto}
.sm-brand div{display:flex;flex-direction:column;min-width:0}
.sm-brand b{color:#1a2420;font-size:8px;font-weight:650;letter-spacing:.01em}
.sm-brand small{margin-top:1px;color:#8b9692;font-size:6px}
.sm-side>small{padding:4px 8px 6px;color:#9aa4a0;font-size:7px}
.sm-side span{height:26px;padding:0 8px;border-radius:6px;display:flex;align-items:center;gap:7px;color:#5f6f69;font-size:8px;white-space:nowrap}
.sm-side span.active{background:#fff;color:#1c3d36;font-weight:600;box-shadow:0 1px 2px rgba(22,40,36,.05)}
.sm-side svg{width:12px;height:12px;flex:0 0 auto}
.sm-version{margin-top:auto;padding:8px 8px 2px;color:#a3ada9;font-size:6px;font-style:normal}

.sm-main{min-width:0;display:flex;flex-direction:column;background:#f7f8f7}
.sm-topbar{height:42px;padding:0 14px;display:flex;align-items:center;gap:10px;color:#4b625b}
.sm-context{display:flex;align-items:center;gap:8px;white-space:nowrap}
.sm-context small{color:#9aa5a1;font-size:7px}
.sm-context b{color:#2c3331;font-size:8px;font-weight:550}
.sm-top-search{height:26px;margin-left:auto;padding:0 8px;border:1px solid transparent;border-radius:16px;background:linear-gradient(#fff,#fff) padding-box,linear-gradient(90deg,#7ec8ff,#c9a6ff 45%,#f3b4c8 75%,#f6d38a) border-box;display:flex;align-items:center;gap:6px;min-width:168px}
.sm-top-search svg{width:11px;height:11px;color:#8b9692}
.sm-top-search span{color:#9aa4a0;font-size:7px}
.sm-top-search em{margin-left:auto;color:#b0b8b4;font-size:6px;font-style:normal}
.sm-avatar{width:22px;height:22px;border-radius:50%;background:#1f6b4a;color:#fff;font-size:8px;font-weight:600;display:grid;place-items:center;flex:0 0 auto}

.sm-create{flex:1;padding:8px 28px 14px;display:flex;flex-direction:column;min-height:0}
.sm-create-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.sm-create-head h2{margin:0;color:#1a1f1d;font-size:13px;font-weight:650}
.sm-create-head>div{display:flex;align-items:center;gap:8px;color:#8b9692;font-size:7px;white-space:nowrap}
.sm-create-head b{height:22px;padding:0 8px;border:1px solid #e1e6e3;border-radius:5px;background:#fff;color:#3d4a46;font-size:7px;font-weight:500;display:inline-flex;align-items:center;gap:2px}
.sm-create-head b svg{width:10px;height:10px}
.sm-field{height:30px;margin-top:8px;padding:0 10px;border:1px solid #e6ebe8;border-radius:6px;background:#fff;display:flex;align-items:center;gap:12px}
.sm-field>span{width:42px;color:#6d7874;font-size:7px;flex:0 0 auto}
.sm-field>i{color:#c5cdca;font-size:7px;font-style:normal}
.sm-select{flex:1;display:flex;align-items:center;gap:6px;color:#2a3330;font-size:7px;font-style:normal}
.sm-select svg{width:11px;height:11px;color:#7d8884}
.sm-select svg:last-child{margin-left:auto;color:#9aa4a0}
.sm-mic-optional{margin-top:8px;display:flex;align-items:center;gap:4px;color:#7b8682;font-size:7px}
.sm-mic-optional svg{width:9px;height:9px}
.sm-record-bar{height:34px;margin-top:12px;padding:0 8px;border:1px solid #e6ebe8;border-radius:8px;background:#fff;display:flex;align-items:center;gap:10px}
.sm-record-bar>b{height:22px;padding:0 10px;border-radius:11px;background:#e7f6ee;color:#1c7a52;font-size:7px;font-weight:600;display:inline-flex;align-items:center;gap:4px}
.sm-record-bar>b svg{width:11px;height:11px}
.sm-record-bar>strong{color:#1a1f1d;font-size:9px;font-weight:650}
.sm-record-bar>small{color:#9aa4a0;font-size:6px}
.sm-recog-label{margin-top:14px;color:#2a3330;font-size:8px;font-weight:650}
.sm-recog-box{flex:1;min-height:148px;margin-top:8px;padding:10px 12px;border:1px solid #e6ebe8;border-radius:8px;background:#fff;color:#c5cdca;font-size:7px}
.sm-create>p{margin:10px 0 0;color:#b0b8b4;font-size:6px;line-height:1.7}

.sm-path{display:flex;align-items:center;gap:6px;color:#7d8d87;font-size:7px}
.sm-path b{color:#24584c;font-weight:600}
.sm-path svg{width:10px;height:10px}

.sm-flow{padding:88px 0 36px;background:#fff;border-bottom:1px solid #dce4e0}
.sm-flow-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr))}
.sm-flow-grid article{min-height:132px;padding:26px 22px;border-right:1px solid #e4ebe7;display:flex;flex-direction:column}
.sm-flow-grid article:last-child{border-right:0}
.sm-flow-grid span{color:#287565;font-size:11px;font-weight:600}
.sm-flow-grid b{margin-top:10px;color:#1d4038;font-size:15px;font-weight:600}
.sm-flow-grid p{margin:8px 0 0;color:#6d7d77;font-size:12px;line-height:1.65}

.sm-pains{background:#f6f8f6}
.sm-pain-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.sm-pain-grid article{min-height:210px;padding:26px 24px;border:1px solid #d7e0dc;border-radius:8px;background:#fff}
.sm-pain-grid span{color:#287565;font-size:12px;font-weight:600}
.sm-pain-grid h3{margin:12px 0 0;color:#173e36;font-size:20px;font-weight:500;line-height:1.4}
.sm-pain-grid p{margin:12px 0 0;color:#667872;font-size:14px;line-height:1.8}

.sm-usage{background:#fff}
.sm-console{display:grid;grid-template-columns:.9fr 1.1fr;border:1px solid #d5dfda;border-radius:8px;background:#fff;box-shadow:0 24px 65px rgba(18,63,58,.08);overflow:hidden}
.sm-console-side{padding:28px 26px;background:#103f39;color:#fff}
.sm-console-side>span{color:#a7d0c4;font-size:11px;font-weight:600;letter-spacing:.04em}
.sm-console-side h3{margin:14px 0 10px;font-size:28px;font-weight:500;line-height:1.35}
.sm-console-side>p{margin:0;color:rgba(255,255,255,.72);font-size:13px;line-height:1.8}
.sm-audio{margin-top:22px;padding:14px;border-radius:8px;background:rgba(255,255,255,.08);display:grid;grid-template-columns:42px 1fr;gap:12px;align-items:center}
.sm-audio button{width:42px;height:42px;border:0;border-radius:50%;background:#fff;color:#123f3a;display:grid;place-items:center;cursor:pointer}
.sm-audio button svg{width:16px;height:16px}
.sm-audio b{display:block;font-size:13px;font-weight:600}
.sm-audio small{display:block;margin-top:4px;color:rgba(255,255,255,.68);font-size:11px}
.sm-audio-bar{height:4px;margin-top:10px;border-radius:3px;background:rgba(255,255,255,.18);display:block;overflow:hidden}
.sm-audio-bar b{width:0;height:100%;display:block;border-radius:3px;background:#b7e2d4}
.sm-audio.is-playing .sm-audio-bar b{width:100%;transition:width 8s linear}
.sm-transcript-list{margin:18px 0 0;padding:0;list-style:none;display:grid;gap:10px}
.sm-transcript-list li{padding-top:10px;border-top:1px solid rgba(255,255,255,.14);color:rgba(255,255,255,.86);font-size:12px;line-height:1.65}
.sm-transcript-list strong{color:#fff}

.sm-console-main{padding:26px 28px 24px;background:#f7faf8}
.sm-task-card{padding:20px 20px 16px;border:1px solid #dbe4df;border-radius:8px;background:#fff}
.sm-task-card .sm-path{font-size:11px}
.sm-task-card h3{margin:12px 0 0;color:#163e36;font-size:22px;font-weight:600}
.sm-desc-label{margin-top:16px;color:#287565;font-size:11px;font-weight:600}
.sm-task-card .sm-desc{margin:8px 0 0;color:#4d625c;font-size:13px;line-height:1.8}
.sm-generate-btn{width:100%;margin-top:18px;height:46px;justify-content:center}
.sm-generate-btn svg{width:16px;height:16px}
.sm-generate-btn:disabled{cursor:default;opacity:1}
.sm-result{margin-top:14px;padding:14px;border:1px solid #d5e6df;border-radius:8px;background:#f3faf7}
.sm-result[hidden]{display:none}
.sm-result-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.sm-result-head b{color:#1c5c4c;font-size:13px}
.sm-result-head span{color:#6f827c;font-size:11px}
.sm-result-grid{margin-top:12px;display:grid;grid-template-columns:1fr 1fr;gap:10px}
.sm-result section{padding:12px;border-radius:6px;background:#fff;border:1px solid #e1ebe6}
.sm-result h4{margin:0 0 8px;color:#24483f;font-size:12px;font-weight:600}
.sm-result ul,.sm-result ol{margin:0;padding:0;list-style:none;display:grid;gap:7px}
.sm-result li{display:flex;align-items:center;gap:7px;color:#3f5851;font-size:12px;line-height:1.45}
.sm-result li svg{width:13px;height:13px;color:#287565;flex:0 0 auto}
.sm-result ol li em{margin-left:auto;color:#80918b;font-style:normal;font-size:11px;white-space:nowrap}
.sm-result.is-in{animation:sm-rise .35s ease}

.sm-shot{height:100%;padding:18px}
.sm-shot-card{padding:14px;border:1px solid #e1e7e4;border-radius:6px;background:#fff}
.sm-shot-card+.sm-shot-card{margin-top:10px}
.sm-shot-top{display:flex;align-items:center;gap:10px}
.sm-shot-top>span{width:34px;height:34px;border-radius:6px;background:#e5f1ec;color:#21725f;display:grid;place-items:center;flex:0 0 auto}
.sm-shot-top svg{width:16px;height:16px}
.sm-shot-top div{display:flex;flex-direction:column;min-width:0}
.sm-shot-top small{color:#8c9994;font-size:8px}
.sm-shot-top b{margin-top:3px;color:#24483f;font-size:11px;font-weight:600}
.sm-shot-top em{margin-left:auto;padding:4px 7px;border-radius:4px;background:#e7f3ee;color:#1f6b58;font-size:8px;font-style:normal;white-space:nowrap}
.sm-shot p{margin:10px 0 0;color:#5c716b;font-size:11px;line-height:1.7}
.sm-shot-row{min-height:36px;display:flex;align-items:center;gap:8px;border-bottom:1px solid #e7ece9;color:#445e57;font-size:11px}
.sm-shot-row:last-child{border-bottom:0}
.sm-shot-row svg{width:13px;height:13px;color:#287565}
.sm-shot-row em{margin-left:auto;color:#80918b;font-style:normal;font-size:10px}
.sm-record-btn{height:36px;margin-top:12px;border:0;border-radius:18px;background:#123f3a;color:#fff;font-size:11px;display:inline-flex;align-items:center;gap:7px;padding:0 14px}
.sm-record-btn i{width:8px;height:8px;border-radius:50%;background:#ff5d55}

.sm-scene-list{display:grid;gap:8px}
.sm-scene-list article{padding:12px;border:1px solid #e1e7e4;border-radius:6px;background:#fff;display:grid;grid-template-columns:28px 1fr auto;gap:8px;align-items:center}
.sm-scene-list span{width:28px;height:28px;border-radius:6px;background:#e7f1ed;color:#21725f;display:grid;place-items:center}
.sm-scene-list svg{width:14px;height:14px}
.sm-scene-list b{display:block;color:#24483f;font-size:12px}
.sm-scene-list small{color:#80918b;font-size:10px}
.sm-scene-list em{color:#1f6b58;font-style:normal;font-size:11px}

@media(max-width:1100px){
  .sm-flow-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .sm-flow-grid article:nth-child(3){border-right:0}
  .sm-flow-grid article:nth-child(n+4){border-top:1px solid #e4ebe7}
  .sm-console{grid-template-columns:1fr}
}
@media(max-width:800px){
  .sm-top-search{display:none}
  .sm-body{grid-template-columns:1fr}
  .sm-side{display:none}
  .sm-create{padding:8px 16px 14px}
  .sm-flow-grid,.sm-pain-grid,.sm-result-grid{grid-template-columns:1fr}
  .sm-flow-grid article{border-right:0;border-bottom:1px solid #e4ebe7;min-height:0;padding:20px 0}
  .sm-flow-grid article:last-child{border-bottom:0}
  .sm-console-side h3{font-size:24px}
  .sm-result-head{align-items:flex-start;flex-direction:column}
}
@media(max-width:520px){
  .sm-create-head{align-items:flex-start;flex-direction:column}
  .sm-record-bar>small{display:none}
  .sm-task-card h3{font-size:18px}
  .sm-console-side,.sm-console-main{padding:20px 16px}
  .sm-scene-list article{grid-template-columns:28px 1fr}
  .sm-scene-list em{grid-column:2}
}
@media(prefers-reduced-motion:reduce){
  .sm-line,.sm-result.is-in{animation:none}
  .sm-audio.is-playing .sm-audio-bar b{transition:none;width:42%}
}
@keyframes sm-rise{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
