:root{--bg:#f7f7fb;--paper:#fff;--ink:#242137;--muted:#92909f;--sub:#6e6b81;--line:#edecf3;--violet:#6b50e8;--violet-dark:#5236cd;--violet-soft:#f0ecff;--radius:22px;--shadow:0 5px 20px rgba(43,31,87,.035);font-family:Inter,"PingFang SC","Microsoft YaHei",system-ui,sans-serif;font-size:16px;color:var(--ink);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{color:inherit;cursor:pointer}button{border:0;background:none}a{color:inherit;text-decoration:none}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #bcadff;outline-offset:3px}input,textarea,select{border:1px solid #e4e2ed;border-radius:12px;background:#fff;color:var(--ink);padding:13px;min-width:0}input::placeholder,textarea::placeholder{color:#aaa7b7}textarea{resize:vertical;line-height:1.8;width:100%}img{max-width:100%;display:block}svg.icon{width:20px;height:20px;flex-shrink:0;vertical-align:middle}h1,h2,h3,p{margin:0}h1{font-size:30px;font-weight:700;letter-spacing:-1px}h2{font-size:21px;font-weight:650;letter-spacing:-.4px}h3{font-size:18px;font-weight:600}.muted{color:var(--muted)}.sub{color:var(--sub)}.small{font-size:14px}.mono{font-variant-numeric:tabular-nums}.eyebrow{font-size:14px;letter-spacing:2px;color:var(--violet);font-weight:700}.stack{display:flex;flex-direction:column;gap:16px}.row{display:flex;align-items:center;gap:10px}.spread{display:flex;align-items:center;justify-content:space-between;gap:16px}.hidden{display:none!important}.break{overflow-wrap:anywhere}.primary,.secondary,.ghost,.danger-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:12px;padding:12px 20px;font-weight:600;min-height:44px;transition:background .18s,transform .18s}.primary{background:var(--violet);color:white;box-shadow:0 5px 12px #6b50e81c}.primary:hover{background:var(--violet-dark);transform:translateY(-1px)}.secondary{background:#fff;border:1px solid var(--line)}.secondary:hover{background:#faf9ff}.ghost{color:var(--violet);padding:9px 10px;font-weight:500}.danger-button{color:#cb465b;background:#fff1f3}.icon-button{display:inline-grid;place-items:center;width:36px;height:36px;border:1px solid var(--line);border-radius:10px;background:#fff}.icon-button:hover{color:var(--violet);background:var(--violet-soft)}.text-button{color:var(--violet);padding:4px}.full{width:100%}.pill{display:inline-flex;align-items:center;gap:5px;border-radius:7px;background:#f4f3f8;padding:5px 8px;color:var(--sub);font-size:14px;white-space:nowrap}.badge{display:inline-flex;gap:5px;align-items:center;color:var(--violet);background:var(--violet-soft);font-size:14px;padding:5px 8px;border-radius:6px}.panel{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.section-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:29px 0 18px}.section-head .section-sub{font-size:14px;color:var(--muted);margin-top:6px}.brand-symbol{background:var(--violet);color:white;width:38px;height:38px;border-radius:12px;font-size:31px;line-height:38px;text-align:center;display:inline-block;font-weight:400}.brand-logo{width:38px;height:38px;object-fit:contain;border-radius:10px}.brand-copy strong{display:block;font-size:20px;letter-spacing:-.5px}.brand-copy small{display:block;color:var(--muted);font-size:14px;letter-spacing:2px;margin-top:4px}
.sidebar{width:222px;background:#fff;border-right:1px solid var(--line);height:100dvh;position:fixed;inset:0 auto 0 0;padding:32px 20px 22px;display:flex;flex-direction:column;z-index:20}.brand{display:flex;gap:11px;align-items:center}.sidebar .brand{padding-left:9px}.nav-label{color:#b0adbc;font-size:14px;letter-spacing:1.5px;margin:44px 13px 13px}.side-nav{display:flex;flex-direction:column;gap:7px}.side-nav a{display:flex;align-items:center;gap:13px;border-radius:12px;padding:14px 15px;color:#7d798e;font-size:14px}.side-nav a.active{color:var(--violet);background:var(--violet-soft);font-weight:650}.side-nav a:hover{background:#f7f5ff}.side-nav .nav-label{margin:22px 13px 8px}.sidebar-bottom{margin-top:auto}.sidebar-upgrade{padding:18px 14px;background:linear-gradient(140deg,#f3efff,#faf8ff);border:1px solid #eee7ff;border-radius:16px;margin-bottom:24px}.sidebar-upgrade h3{font-size:14px;margin:9px 0 6px}.sidebar-upgrade p{font-size:14px;color:#9b90b2;line-height:1.8}.sidebar-upgrade button{font-size:14px;padding:9px;min-height:34px;width:100%;margin-top:12px;border-radius:8px}.side-foot{display:flex;justify-content:space-between;font-size:14px;color:#b0adbc;padding:0 8px}.side-foot button{padding:0;font-size:14px;color:#a29cad}.shell{margin-left:222px;min-height:100dvh}.topbar{height:84px;padding:0 44px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);background:#fdfdff}.topbar-crumb{color:#aaa6b7;font-size:14px}.topbar-crumb strong{font-weight:500;color:#605a75}.topbar .brand{display:none}.topbar-actions{display:flex;align-items:center;gap:18px}.points-chip{display:flex;align-items:center;gap:7px;font-size:14px;color:#8e84a4;background:#f1edfc;padding:8px 12px;border-radius:9px}.points-chip strong{font-size:16px;color:var(--violet);font-weight:650}.avatar{width:34px;height:34px;border-radius:50%;background:#eae5fd;display:grid;place-items:center;color:var(--violet);font-size:14px}.avatar.large{width:62px;height:62px;font-size:23px;background:linear-gradient(135deg,#8063f1,#b4a0ff);color:white}.main{max-width:1460px;margin:auto;padding:31px 44px 40px}.page-intro{margin:0 0 26px}.page-intro h1{font-size:27px}.page-intro p{font-size:14px;color:var(--muted);margin-top:9px}.bottom-nav{display:none}.demo-bar{margin:-10px 0 20px;padding:10px 14px;border:1px solid #efdfb4;background:#fffaf0;color:#9a7835;border-radius:10px;display:flex;gap:7px;align-items:center;font-size:14px;line-height:1.6}.demo-bar svg{width:15px;height:15px;flex-shrink:0}
.hero{min-height:300px;overflow:hidden;position:relative;background:#eeebfb;border:1px solid #e6e0f5;border-radius:24px;display:flex;align-items:center}.hero-copy{padding:34px 38px;max-width:58%;position:relative;z-index:2}.hero .eyebrow{display:flex;align-items:center;gap:8px;color:#8d79be;font-size:14px;letter-spacing:2.1px}.hero .eyebrow:before{content:'';width:16px;height:1px;background:#a591d2}.hero h1{font-size:35px;font-weight:550;line-height:1.55;letter-spacing:-1.2px;margin:17px 0 12px;color:#352954}.hero h1 em{font-style:normal;color:#7256cb}.hero p{font-size:14px;color:#9386aa;line-height:1.8}.hero .primary{margin-top:24px;font-size:14px;padding:12px 20px;min-height:43px}.hero-art{position:absolute;right:-25px;top:50%;height:116%;width:56%;object-fit:contain;transform:translateY(-50%);pointer-events:none}.hero-number{position:absolute;right:26px;bottom:21px;color:#9d8dbb;font-size:14px;letter-spacing:2px}.hero-custom{background:#ebe7f7}.hero-custom .hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.hero-custom:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(245,240,255,.95),rgba(245,240,255,.65) 50%,rgba(245,240,255,.08))}.hero-custom .hero-copy{z-index:2}.carousel-dots{position:absolute;left:38px;bottom:13px;display:flex;gap:4px;z-index:3}.carousel-dots button{height:4px;width:13px;border-radius:3px;background:#c8bcdf;padding:0}.carousel-dots button.active{width:23px;background:#8063c7}.feature-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.feature-card{border:1px solid var(--line);border-radius:18px;text-align:left;padding:22px 21px 18px;background:#fff;position:relative;overflow:hidden;min-height:176px;transition:transform .2s,box-shadow .2s}.feature-card:hover{transform:translateY(-4px);box-shadow:0 12px 24px #30215b0a}.feature-icon{width:45px;height:45px;border-radius:13px;display:grid;place-items:center;margin-bottom:17px;position:relative}.feature-icon svg{height:24px;width:24px}.feature-card:nth-child(1) .feature-icon{background:#eee9ff;color:#8b6de4}.feature-card:nth-child(2) .feature-icon{background:#fff0e9;color:#df9b7b}.feature-card:nth-child(3) .feature-icon{background:#e9f5ee;color:#79ac8c}.feature-card:nth-child(4) .feature-icon{background:#edf1ff;color:#91a3e4}.feature-card h3{font-size:16px;margin-bottom:8px}.feature-card p{font-size:14px;line-height:1.7;color:var(--muted)}.feature-card .arrow{position:absolute;right:18px;top:26px;color:#c6bfd5}.feature-card .tiny-label{position:absolute;right:14px;top:17px;background:#f6f5f9;color:#aaa5b5;font-size:14px;padding:4px 6px;border-radius:5px}.home-lower{display:grid;grid-template-columns:1.3fr 1fr;gap:20px;margin-top:27px}.guide-panel{padding:24px;position:relative;overflow:hidden}.guide-panel .eyebrow{font-size:14px;letter-spacing:1.6px;color:#b2a4c8;margin-bottom:10px}.guide-panel h3{font-size:19px;font-weight:550}.guide-panel p{font-size:14px;color:#a29aad;margin:10px 0 16px;line-height:1.8}.guide-panel .ghost{font-size:14px;padding:0;min-height:20px}.guide-symbol{position:absolute;right:26px;top:28px;font-size:71px;color:#e7dff6;font-family:Georgia,serif;transform:rotate(-12deg)}.jump-panel{padding:24px}.jump-panel h3{font-size:16px}.jump-list{display:flex;gap:9px;flex-wrap:wrap;margin-top:15px}.jump-item{font-size:14px;padding:10px 12px;background:#f7f6fb;border-radius:9px;display:flex;align-items:center;gap:8px;color:#80768f}.jump-empty{font-size:14px;color:#aaa3b6;line-height:1.9;margin-top:14px}.home-foot{margin:26px 0 0;color:#c0bbcc;font-size:14px;text-align:center;letter-spacing:1px}
.studio-layout{display:grid;grid-template-columns:minmax(330px,415px) minmax(0,1fr);align-items:start;gap:25px}.studio-panel{padding:25px;overflow:hidden}.segmented{display:flex;padding:4px;background:#f5f3fa;border-radius:12px;gap:4px}.segmented button{flex:1;padding:11px 5px;font-size:14px;border-radius:9px;color:#91899e;white-space:nowrap;display:flex;align-items:center;justify-content:center;gap:6px}.segmented button svg{width:15px;height:15px}.segmented button.selected{background:#fff;box-shadow:0 3px 9px #47316e0a;color:var(--violet);font-weight:650}.form-group{margin-top:25px}.form-label{font-weight:600;font-size:14px;margin-bottom:12px;display:flex;align-items:center;justify-content:space-between;gap:8px}.form-label small{font-weight:400;font-size:14px;color:#a8a2b4}.prompt-wrap{border:1px solid #e7e3ef;background:#fdfcfe;border-radius:12px;overflow:hidden;transition:border .2s}.prompt-wrap:focus-within{border-color:#b6a3f7}.prompt-wrap textarea{border:0;border-radius:0;min-height:156px;font-size:14px;outline:0!important;resize:vertical;background:transparent;padding:14px 14px 2px}.prompt-foot{display:flex;justify-content:space-between;align-items:center;padding:7px 12px 11px;color:#b3abbe;font-size:14px}.prompt-foot button{color:#b2a6c2;font-size:14px;padding:0}.style-chips{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}.style-chip{padding:5px 9px;border:1px solid #eeeaf4;border-radius:7px;color:#a19aac;background:#fff;font-size:14px}.style-chip:hover{border-color:#c9b9ff;color:var(--violet)}.size-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.size-option{padding:12px 5px 9px;border:1px solid #e9e5f1;border-radius:11px;background:white;display:flex;flex-direction:column;gap:4px;align-items:center;justify-content:center;min-height:91px}.size-option.selected{border-color:#a38af4;color:var(--violet);background:#f8f5ff}.size-shape-wrap{height:28px;display:grid;place-items:center;margin-bottom:5px}.size-shape{display:block;max-height:27px;max-width:38px;background:#d6cef0;border-radius:3px}.size-option.selected .size-shape{background:#9677ec}.size-option span{font-size:14px}.size-option small{font-size:14px;color:#b3a9c3}.size-option:nth-child(4),.size-option:nth-child(5){min-height:80px}.choice-row{display:flex;gap:8px;flex-wrap:wrap}.choice-row button{flex:1;min-width:46px;border:1px solid #e9e5f1;border-radius:9px;padding:10px 7px;font-size:14px;color:#8a809c}.choice-row button.selected{background:#f3efff;border-color:#b7a2f7;color:#7654dc;font-weight:600}.upload-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.upload-grid.frames{grid-template-columns:repeat(2,1fr)}.upload-box{position:relative;height:99px;min-width:0;border:1px dashed #d9d2e8;background:#faf9fc;border-radius:11px;overflow:hidden;text-align:center;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;color:#b1a6c1;font-size:14px;cursor:pointer}.upload-box svg{width:24px;height:24px}.upload-box:hover{background:#f4f0ff;border-color:#ac92f1}.upload-box input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;padding:0}.upload-box:focus-within{outline:3px solid #bcadff}.upload-box img{height:100%;width:100%;object-fit:cover}.upload-delete{position:absolute;top:4px;right:4px;background:#242137b3;color:#fff;width:22px;height:22px;border-radius:50%;font-size:14px;z-index:2}.upload-caption{position:absolute;bottom:0;left:0;right:0;background:#2d23408c;color:white;padding:5px;font-size:14px}.upload-help{font-size:14px;color:#b7aebe;margin-top:9px;line-height:1.7}.form-submit{margin-top:26px;border-top:1px solid var(--line);padding-top:20px}.form-submit .primary{width:100%;font-size:14px}.cost-line{display:flex;justify-content:center;align-items:center;gap:4px;margin-top:11px;color:#aaa0b8;font-size:14px}.cost-line strong{color:#8a72be;font-weight:500}.capability-note{padding:11px 12px;border-radius:10px;margin:17px 0 0;line-height:1.8;background:#fff9ed;color:#ac8b51;font-size:14px}.studio-results .section-head{margin:4px 0 18px}.studio-results h2{font-size:18px}.studio-results .ghost{font-size:14px;padding:4px}.result-note{font-size:14px;color:#b5a9c4;margin-top:7px;line-height:1.7}.empty-state{min-height:334px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:34px;text-align:center;border:1px dashed #e4dfed;border-radius:20px;background:#fdfcfe}.empty-art{display:grid;place-items:center;width:71px;height:71px;border:1px solid #e9e3f4;border-radius:22px;background:#f5f1fc;color:#c9b9e5;margin-bottom:22px;transform:rotate(-6deg)}.empty-art svg{width:30px;height:30px;transform:rotate(6deg)}.empty-state h3{font-size:16px;font-weight:500;margin-bottom:10px;color:#8e819f}.empty-state p{font-size:14px;color:#b0a6bd;line-height:1.9;max-width:260px}.empty-state .secondary{font-size:14px;margin-top:20px;padding:9px 14px;min-height:36px}.task-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.task-card{background:#fff;border:1px solid var(--line);border-radius:15px;overflow:hidden}.task-preview{aspect-ratio:1.25;background:#f5f2fb;position:relative;display:flex;align-items:center;justify-content:center;color:#b9a8d8;overflow:hidden}.task-preview img,.task-preview video{width:100%;height:100%;object-fit:cover;aspect-ratio:1.25}.task-preview.video{aspect-ratio:1.1}.task-preview.video video{object-fit:contain;aspect-ratio:1.1;background:#eee9f8}.task-placeholder{display:flex;align-items:center;gap:9px;flex-direction:column;font-size:14px}.task-placeholder svg{width:30px;height:30px}.status-badge{position:absolute;left:10px;top:10px;font-size:14px;border-radius:6px;padding:5px 7px;display:flex;align-items:center;gap:4px;background:#fffef0e8;color:#a08a43}.status-badge.succeeded{background:#eaf7eeeb;color:#6e9e81}.status-badge.failed{background:#fff0f2ef;color:#c37e88}.task-body{padding:14px}.task-prompt{line-height:1.7;font-size:14px;color:#867b96;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:37px}.task-tags{display:flex;gap:5px;margin:10px 0}.task-tags .pill{font-size:14px;padding:3px 5px}.task-foot{border-top:1px solid var(--line);padding-top:11px;display:flex;justify-content:space-between;gap:5px;align-items:center;color:#b5aabe;font-size:14px}.task-foot .icon-button{width:26px;height:26px;border-radius:7px}.task-foot .icon{width:12px;height:12px}.task-error{background:#fff5f6;color:#b57b87;padding:8px 10px;font-size:14px;line-height:1.7;border-radius:7px;margin-top:9px}.task-demo{font-size:14px;color:#a38a54;background:#fff8e7;padding:6px 10px;text-align:center}.history-filter{display:flex;gap:8px;margin-bottom:22px;align-items:center;flex-wrap:wrap}.filter-tab{padding:9px 16px;border-radius:9px;font-size:14px;color:#9d91ac;border:1px solid transparent}.filter-tab.selected{background:#fff;border-color:#e7dff4;color:var(--violet)}.history-filter .push{margin-left:auto}.history-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.pager{display:flex;gap:10px;justify-content:center;align-items:center;margin:25px 0;font-size:14px;color:#a297b0}.pager button{width:32px;height:32px;border-radius:8px;border:1px solid var(--line);background:#fff}.template-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.template-card{overflow:hidden}.template-visual{height:130px;position:relative;background:#ede6fa;display:flex;align-items:center;justify-content:center;overflow:hidden;color:#aa95d3}.template-visual:before,.template-visual:after{content:'';position:absolute;border:1px solid currentColor;border-radius:50%;width:165px;height:165px;opacity:.22}.template-visual:after{width:113px;height:113px}.template-visual .icon{width:43px;height:43px;position:relative;z-index:1;stroke-width:1}.template-card:nth-child(3n+2) .template-visual{background:#f8ecdf;color:#d7b399}.template-card:nth-child(3n+3) .template-visual{background:#e6efe9;color:#aac4b0}.template-visual .badge{position:absolute;left:14px;top:13px;background:#ffffff9e;font-size:14px;color:inherit}.template-body{padding:20px}.template-body h3{font-size:16px}.template-body p{font-size:14px;color:#aaa0b5;line-height:1.9;margin:10px 0 17px;min-height:42px}.template-body .secondary{font-size:14px;padding:9px 13px;min-height:34px;width:100%}.guide-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;padding:22px;margin:0 0 26px}.guide-step{display:flex;gap:13px;align-items:center}.guide-step b{width:31px;height:31px;flex-shrink:0;border-radius:50%;background:#f1ebff;color:#ab92d8;font-weight:400;font-family:Georgia,serif;font-size:19px;display:grid;place-items:center}.guide-step h3{font-size:14px;margin-bottom:5px}.guide-step p{font-size:14px;color:#aaa1b7;line-height:1.7}.profile-head{padding:28px;display:flex;align-items:center;justify-content:space-between;gap:20px}.profile-user{display:flex;align-items:center;gap:17px}.profile-user h2{font-size:21px;margin-bottom:9px}.profile-user p{font-size:14px;color:#9c90af;margin-top:6px}.profile-stat{display:flex;align-items:center;gap:25px}.profile-stat div{text-align:center}.profile-stat strong{font-size:28px;display:block;color:#7253b7;letter-spacing:-1px}.profile-stat span{display:block;font-size:14px;color:#ab9dbc;margin-top:6px}.plan-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.plan-card{padding:24px 20px;position:relative;overflow:hidden}.plan-card.highlight{border-color:#c6b3ee;background:linear-gradient(150deg,#fff,#f7f2ff)}.plan-label{font-size:14px;color:#af9bc8;letter-spacing:1.5px;margin-bottom:15px}.plan-card h3{font-size:18px}.plan-price{margin:20px 0 6px;font-size:31px;font-weight:550;letter-spacing:-1px;color:#4e3a6f}.plan-price small{font-size:14px;margin-right:3px}.plan-period{color:#b7a9c3;font-size:14px}.plan-benefit{margin:21px 0 19px;padding-top:18px;border-top:1px solid #eee6f5;color:#a595b4;line-height:2.1;font-size:14px;min-height:66px}.plan-benefit strong{color:#82669f;font-weight:500}.plan-card .secondary,.plan-card .primary{font-size:14px;padding:10px;min-height:37px;width:100%}.account-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:25px}.account-links{padding:8px 21px}.account-link{padding:17px 0;display:flex;gap:11px;align-items:center;width:100%;border-bottom:1px solid var(--line);text-align:left;font-size:14px;color:#8e7fa1}.account-link:last-child{border:0}.account-link svg{width:17px;height:17px}.account-link .tail{margin-left:auto;color:#c3b6cd;font-size:14px}.ledger-panel{padding:21px}.ledger-panel h3{font-size:16px;margin-bottom:16px}.ledger-row{display:flex;justify-content:space-between;gap:13px;border-top:1px solid var(--line);padding:13px 0;font-size:14px;color:#9485a6;align-items:center}.ledger-row small{display:block;font-size:14px;color:#b8abc6;margin-top:5px}.ledger-row strong{font-size:16px;font-weight:500;color:#8667b1}.ledger-row strong.minus{color:#b5a6c2}.ledger-empty{font-size:14px;color:#b9acc5;padding:20px 0}.login-welcome{text-align:center;padding:40px 24px}.login-welcome h2{margin:20px 0 10px}.login-welcome p{font-size:14px;color:#aa9cb9;line-height:2}.login-welcome .primary{margin-top:23px}.login-welcome .brand-symbol{width:56px;height:56px;line-height:56px;font-size:43px;border-radius:17px}
dialog{border:1px solid #e9e2f1;border-radius:23px;padding:0;max-width:440px;width:calc(100% - 32px);background:#fff;color:var(--ink);box-shadow:0 30px 90px #281b4b22;max-height:calc(100dvh - 48px);overflow:auto}dialog::backdrop{background:#28213655;backdrop-filter:blur(5px)}.modal-content{padding:28px}.modal-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:23px}.modal-head h2{font-size:22px}.modal-head button{width:29px;height:29px;border-radius:50%;background:#f7f3fa;color:#b3a6bf;display:grid;place-items:center}.modal-head button svg{width:16px;height:16px}.modal-desc{font-size:14px;color:#a99bb7;line-height:1.9;margin-bottom:23px}.login-form label:not(.consent){display:block;font-size:14px;color:#9c8bae;margin-bottom:9px}.login-form input:not([type=checkbox]){width:100%;font-size:14px}.login-form .form-group{margin-top:19px}.sms-input{display:flex;gap:10px}.sms-input input{flex:1}.sms-input button{flex-shrink:0;color:var(--violet);background:#f4efff;border-radius:10px;padding:0 13px;font-size:14px}.consent{display:flex;align-items:flex-start;gap:6px;font-size:14px;color:#ac9cba;line-height:1.9;margin:20px 0 21px}.consent input{accent-color:var(--violet);margin-top:3px;flex-shrink:0}.consent button{padding:0;font-size:14px;color:#9476bd}.inline-message{font-size:14px;color:#bd8e45;background:#fff8ea;padding:10px 12px;border-radius:8px;line-height:1.8;margin-top:12px}.legal-body{white-space:pre-wrap;font-size:14px;color:#9684a6;line-height:2;overflow-wrap:anywhere}.detail-media{margin:15px 0;display:flex;flex-direction:column;gap:12px}.detail-media img,.detail-media video{max-width:100%;border-radius:12px}.detail-prompt{font-size:14px;line-height:1.9;color:#9b8bad;white-space:pre-wrap;overflow-wrap:anywhere}.detail-meta{display:flex;gap:6px;flex-wrap:wrap;margin:12px 0}.dialog-actions{display:flex;gap:10px;margin-top:23px}.dialog-actions>*{flex:1;font-size:14px}.error-screen{max-width:500px;margin:80px auto;padding:28px;text-align:center}.error-screen h2{margin-bottom:15px}.error-screen p{color:#a18eaf;font-size:14px;line-height:2;margin-bottom:20px}.boot-screen{height:100dvh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:24px}.boot-screen strong{font-weight:500;color:#9d8db6;font-size:19px}.loader{display:inline-block;width:17px;height:17px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:spin .8s linear infinite;color:#a88bdb}.loader.small{width:12px;height:12px}#toasts{position:fixed;bottom:30px;left:calc(50% + 111px);transform:translateX(-50%);z-index:100;display:flex;align-items:center;flex-direction:column;gap:8px;pointer-events:none;width:max-content;max-width:calc(100vw - 30px)}.toast{padding:12px 20px;background:#3c3053ee;color:#faf5ff;border-radius:12px;box-shadow:0 5px 20px #30214011;font-size:14px;line-height:1.8;animation:toast-in .2s ease;max-width:100%}.toast.error{background:#8f4e61f2}.noscript{padding:40px;text-align:center}.fade-in{animation:appear .3s ease}.skeleton{height:200px;background:linear-gradient(90deg,#f0ebf6,#f9f6fc,#f0ebf6);background-size:200% 100%;animation:shimmer 1.4s infinite;border-radius:18px}.loading-line{text-align:center;padding:45px;color:#b2a1c3;font-size:14px}
@keyframes spin{to{transform:rotate(360deg)}}@keyframes appear{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@keyframes toast-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes shimmer{to{background-position:-200% 0}}
@media(min-width:1500px){.main{padding-top:37px}.hero{min-height:330px}.hero h1{font-size:39px}.feature-card{min-height:187px;padding:26px}.hero-copy{padding-left:44px}}
@media(max-width:1200px){.sidebar{width:195px;padding-left:14px;padding-right:14px}.shell{margin-left:195px}.main{padding:26px 27px 35px}.topbar{padding:0 27px}.hero h1{font-size:29px}.hero-copy{padding:29px}.hero{min-height:280px}.feature-grid{gap:12px}.feature-card{padding:19px 15px}.feature-card p{font-size:14px}.studio-layout{grid-template-columns:minmax(320px,370px) minmax(0,1fr);gap:20px}.studio-panel{padding:20px}.task-grid{grid-template-columns:1fr}.history-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.plan-grid{gap:10px}.plan-card{padding:21px 14px}.plan-card h3{font-size:16px}#toasts{left:calc(50% + 97px)}}
@media(max-width:960px){.sidebar{width:78px;padding:28px 11px}.sidebar .brand{padding:0;justify-content:center}.sidebar .brand-copy,.sidebar .nav-label,.sidebar .side-nav a span,.sidebar-upgrade,.side-foot{display:none}.side-nav{margin-top:38px;gap:13px}.side-nav a{padding:14px;justify-content:center}.sidebar-bottom .side-nav{margin:0}.shell{margin-left:78px}.topbar{height:72px}.main{padding:24px}.feature-grid{gap:10px}.feature-card{min-height:166px}.feature-card h3{font-size:14px}.hero h1{font-size:29px}.hero p{font-size:14px}.hero-art{right:-50px;width:60%}.hero-copy{max-width:64%}.studio-layout{grid-template-columns:minmax(310px,350px) minmax(0,1fr);gap:18px}.history-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.plan-grid{grid-template-columns:repeat(2,1fr)}.template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-lower{gap:14px;grid-template-columns:1fr 1fr}.guide-symbol{right:12px;font-size:50px}.guide-panel{padding:21px}.guide-panel h3{font-size:16px}.guide-panel p{max-width:180px}.jump-panel{padding:21px}.guide-steps{padding:20px;gap:12px}.guide-step{gap:8px}.guide-step b{height:26px;width:26px}.guide-step p{font-size:14px}.account-grid{grid-template-columns:1fr 1fr}#toasts{left:calc(50% + 39px)}}
@media(max-width:720px){.sidebar{display:none}.shell{margin-left:0}.topbar{height:70px;padding:0 21px;border-bottom:0;background:var(--bg);gap:8px}.topbar .brand{display:flex;gap:8px}.topbar .brand-symbol,.topbar .brand-logo{width:31px;height:31px;line-height:31px;border-radius:10px;font-size:26px}.topbar .brand-copy strong{font-size:16px}.topbar .brand-copy small{font-size:14px;letter-spacing:1.5px;margin-top:3px}.topbar-crumb{display:none}.topbar-actions{gap:10px}.topbar-actions .ghost{font-size:14px;padding:7px}.topbar-actions .avatar{display:none}.points-chip{font-size:14px;padding:7px 9px;border-radius:8px;gap:5px}.points-chip svg{width:13px;height:13px}.points-chip strong{font-size:14px}.main{padding:14px 20px 105px}.page-intro{margin-bottom:21px}.page-intro h1{font-size:24px}.page-intro p{font-size:14px;line-height:1.7;margin-top:7px}.bottom-nav{display:flex;position:fixed;inset:auto 0 0;background:#ffffffed;border-top:1px solid #eeebf5;backdrop-filter:blur(16px);padding:10px 15px calc(10px + env(safe-area-inset-bottom));z-index:30;justify-content:space-around}.bottom-nav a{display:flex;flex-direction:column;align-items:center;gap:5px;padding:3px 25px;color:#b3a7c1;font-size:14px;position:relative}.bottom-nav a.active{color:var(--violet)}.bottom-nav a.active:before{content:'';width:28px;height:24px;background:#efe8ff;border-radius:8px;position:absolute;top:0;z-index:-1}.bottom-nav svg{height:20px;width:20px;stroke-width:1.7}.hero{min-height:244px;border-radius:20px}.hero-copy{padding:24px;max-width:77%}.hero h1{font-size:26px;letter-spacing:-1px;margin:14px 0 9px;line-height:1.45}.hero .eyebrow{font-size:14px;letter-spacing:1.8px;gap:6px}.hero .eyebrow:before{width:10px}.hero p{font-size:14px;max-width:175px;line-height:1.9}.hero .primary{padding:10px 13px;min-height:36px;font-size:14px;margin-top:17px;border-radius:9px}.hero .primary svg{width:13px;height:13px}.hero-art{height:91%;width:66%;right:-64px;top:53%;opacity:.9}.hero-number{font-size:14px;right:15px;bottom:14px}.carousel-dots{left:24px;bottom:10px}.section-head{margin:24px 0 15px}.section-head h2{font-size:19px}.section-head .section-sub{font-size:14px}.section-head>.muted{font-size:14px}.feature-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.feature-card{min-height:162px;padding:20px 18px 17px;border-radius:16px}.feature-icon{width:40px;height:40px;border-radius:12px;margin-bottom:15px}.feature-icon svg{width:22px;height:22px}.feature-card h3{font-size:16px;margin-bottom:7px}.feature-card p{font-size:14px}.feature-card .arrow{right:15px;top:23px}.feature-card .arrow svg{width:16px;height:16px}.feature-card .tiny-label{font-size:14px;right:12px;top:14px}.home-lower{grid-template-columns:1fr;margin-top:20px;gap:14px}.guide-panel{padding:22px}.guide-panel h3{font-size:18px}.guide-panel p{max-width:none;margin:9px 0 14px;font-size:14px}.guide-symbol{right:25px;top:22px;font-size:66px}.jump-panel{padding:22px}.home-foot{font-size:14px;letter-spacing:.5px;margin-top:22px}.studio-layout{grid-template-columns:1fr;gap:25px}.studio-panel{padding:21px;border-radius:19px}.segmented button{font-size:14px;padding:11px 6px}.form-group{margin-top:25px}.form-label{font-size:14px}.prompt-wrap textarea{min-height:156px;font-size:14px}.size-grid{grid-template-columns:repeat(3,1fr)}.size-option{min-height:93px}.size-option:nth-child(4),.size-option:nth-child(5){min-height:86px}.upload-box{height:98px}.upload-grid.frames .upload-box{height:125px}.form-submit{margin-top:24px}.form-submit .primary{height:47px}.studio-results .section-head{margin-top:0}.task-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.task-body{padding:11px}.task-tags{gap:3px;flex-wrap:wrap}.task-tags .pill{font-size:14px;padding:3px 4px}.task-prompt{font-size:14px;min-height:34px}.task-foot{font-size:14px;flex-wrap:wrap;gap:7px}.task-foot .row{gap:5px}.task-foot .icon-button{width:24px;height:24px}.history-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.empty-state{min-height:280px}.demo-bar{margin:0 0 16px;padding:9px 11px;font-size:14px;border-radius:9px;align-items:flex-start}.demo-bar svg{margin-top:2px;flex-shrink:0}.history-filter{margin-bottom:18px;gap:3px}.filter-tab{font-size:14px;padding:8px 12px}.history-filter .push{font-size:14px}.template-grid{gap:12px}.template-visual{height:110px}.template-visual .icon{width:35px;height:35px}.template-body{padding:15px}.template-body h3{font-size:14px}.template-body p{font-size:14px;margin:8px 0 14px;min-height:57px}.template-body .secondary{font-size:14px;padding:9px 6px;border-radius:9px}.guide-steps{grid-template-columns:1fr;padding:20px;gap:18px;margin-bottom:22px}.guide-step{gap:13px}.guide-step b{width:30px;height:30px}.guide-step p{font-size:14px}.profile-head{padding:22px;flex-wrap:wrap;gap:22px}.profile-user h2{font-size:19px}.profile-user .avatar.large{width:51px;height:51px;font-size:22px}.profile-stat{width:100%;border-top:1px solid var(--line);padding-top:20px;justify-content:space-between}.profile-stat div{text-align:left}.profile-stat strong{font-size:25px}.profile-stat .secondary{font-size:14px;padding:9px 13px;min-height:35px}.plan-grid{gap:12px}.plan-card{padding:20px 16px;border-radius:17px}.plan-card h3{font-size:16px}.plan-price{font-size:28px;margin-top:16px}.plan-label{font-size:14px;margin-bottom:12px}.plan-benefit{font-size:14px;margin-top:18px;margin-bottom:17px;padding-top:15px}.account-grid{grid-template-columns:1fr;gap:16px;margin-top:22px}.account-links,.ledger-panel{padding:8px 21px}.ledger-panel{padding-top:21px;padding-bottom:10px}.login-welcome{padding:34px 22px}.login-welcome p{font-size:14px}.modal-content{padding:25px}.modal-head h2{font-size:21px}#toasts{left:50%;bottom:calc(84px + env(safe-area-inset-bottom))}.toast{font-size:14px;padding:11px 15px}.error-screen{margin:35px 0}.dialog-actions{flex-wrap:wrap}.status-badge{font-size:14px;left:7px;top:7px}}
@media(max-width:370px){.main{padding-left:15px;padding-right:15px}.topbar{padding:0 16px}.hero-copy{padding:21px}.hero h1{font-size:24px}.hero-art{right:-70px}.feature-card{padding:18px 15px}.feature-card p{font-size:14px}.studio-panel{padding:17px}.bottom-nav a{padding-left:19px;padding-right:19px}.task-grid{gap:9px}.task-foot{flex-direction:column;align-items:flex-start}.points-chip{font-size:14px}.points-chip strong{font-size:14px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

.auth-tabs{margin:0 0 4px}.auth-links{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:19px;flex-wrap:wrap}.auth-links button{font-size:14px;color:var(--violet);padding:5px 0}.auth-hint{font-size:14px;line-height:1.7;color:#a498b1;margin-top:8px}.auth-hint:empty{display:none}.status-badge.storing{background:#eef1ffed;color:#7860b6}

/* Readable H5 type, editable identity and a compact home workspace. */
:root{font-size:16px;--muted:#81798f;--sub:#70667f}
input,textarea,select,.login-form input:not([type=checkbox]),.prompt-wrap textarea{font-size:16px}
.page-intro p,.modal-desc,.legal-body,.detail-prompt,.task-prompt,.account-link,.template-body p,.login-welcome p,.ledger-row{font-size:16px;color:#786d88}
.result-note,.form-label small,.upload-help,.profile-help,.plan-period,.plan-benefit,.profile-user p,.ledger-row small,.auth-hint,.prompt-foot,.size-option small{font-size:14px;color:#8b7f9b}
.form-label,.segmented button,.choice-row button,.form-submit .primary,.login-form label:not(.consent),.plan-card .primary,.plan-card .secondary,.size-option span,.auth-links button{font-size:16px}
.consent,.consent button,.sms-input button,.toast,.inline-message,.dialog-actions>*{font-size:14px}
.profile-user{min-width:0}.profile-user>div:last-child{min-width:0}.profile-user h2{overflow-wrap:anywhere}.profile-head{flex-wrap:wrap}
.avatar{position:relative;overflow:hidden;flex-shrink:0}.avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:inherit}.avatar-fallback{display:grid;place-items:center;width:100%;height:100%}.profile-avatar-button{padding:0;cursor:pointer}.profile-avatar-button:after{content:'+';position:absolute;bottom:0;right:0;background:var(--violet);font-size:18px;color:white;width:22px;height:22px;border-radius:50%;border:2px solid white;line-height:18px}.profile-edit-link{display:flex;align-items:center;gap:6px;margin:0 0 10px;font-size:14px}.profile-edit-link svg{height:14px;width:14px}
.profile-avatar-editor{display:flex;align-items:center;gap:20px;margin:10px 0 16px}.editor-avatar{width:90px;height:90px;font-size:30px}.avatar-upload-label{position:relative;cursor:pointer;overflow:hidden;margin:0!important;color:var(--violet)!important;font-size:16px!important;display:inline-flex!important}.avatar-upload-label input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}.remove-avatar{display:block;margin-top:12px;font-size:14px}.profile-help{line-height:1.7}.profile-head .badge{display:inline-flex}
.task-preview{min-height:150px;isolation:isolate}.task-preview img{object-fit:contain;background:#f1ecf8}.task-preview.video video{object-fit:contain}.task-preview>button{display:block;align-self:stretch}.preview-fallback{display:none;position:absolute;inset:0;align-items:center;justify-content:center;gap:9px;flex-direction:column;background:#f5f2fb;font-size:14px;color:#8b7c9d;padding:25px 12px;text-align:center}.preview-fallback button{color:var(--violet);padding:5px;text-decoration:underline}.media-unavailable .preview-fallback{display:flex}.status-badge{z-index:2;pointer-events:none}.task-foot{flex-wrap:wrap;row-gap:10px}.task-foot .row{gap:6px}.task-foot .icon-button{width:34px;height:34px}.task-foot .icon{width:17px;height:17px}.task-tags{flex-wrap:wrap}.task-tags .pill{font-size:14px}.task-prompt{min-height:54px}.cost-line{flex-wrap:wrap;line-height:1.7;font-size:14px}.size-option small{font-size:14px}.upload-grid.frames .upload-box{height:auto;min-height:120px}.upload-grid.frames .upload-box img{position:absolute;inset:0}.upload-grid.frames .upload-box .upload-caption{z-index:1}
body[data-route="home"] .main{padding-top:24px;padding-bottom:92px;max-width:1320px}
body[data-route="home"] .hero{min-height:232px}
body[data-route="home"] .hero-copy{padding:26px 34px;max-width:67%}
body[data-route="home"] .hero h1{font-size:32px;margin:10px 0;line-height:1.35}
body[data-route="home"] .hero p{font-size:16px;line-height:1.7}
body[data-route="home"] .hero .eyebrow{font-size:14px;letter-spacing:2px}
body[data-route="home"] .hero .primary{font-size:16px;margin-top:17px;min-height:42px;padding:9px 16px}
.home-section-head{margin:22px 0 15px}.home-section-head h2{font-size:22px}.home-section-head .section-sub{font-size:14px;margin-top:7px}.home-more{white-space:nowrap;font-size:14px;padding:8px 0 8px 8px}
body[data-route="home"] .feature-card{min-height:170px;padding:18px 19px}
body[data-route="home"] .feature-card h3{font-size:18px;line-height:1.4;margin-bottom:7px}
body[data-route="home"] .feature-card p{font-size:14px;line-height:1.65}
body[data-route="home"] .feature-icon{height:42px;width:42px;margin-bottom:12px}
body[data-route="home"] .feature-card .tiny-label{font-size:14px;padding:4px 5px}
.bottom-nav a{font-size:14px}.jump-list{gap:12px}.jump-item{font-size:16px;line-height:1.5}
@media(min-width:721px){body[data-route="home"] .bottom-nav{display:flex;position:fixed;left:222px;right:0;bottom:0;z-index:30;background:#ffffffef;backdrop-filter:blur(16px);border-top:1px solid var(--line);padding:12px 8%;justify-content:space-around}body[data-route="home"] .bottom-nav a{display:flex;flex-direction:column;align-items:center;gap:5px;padding:2px 25px;color:#988aa9}body[data-route="home"] .bottom-nav a.active{color:var(--violet)}body[data-route="home"] .bottom-nav svg{width:21px;height:21px}}
@media(min-width:721px) and (max-width:1200px){body[data-route="home"] .bottom-nav{left:195px}}
@media(min-width:721px) and (max-width:960px){body[data-route="home"] .bottom-nav{left:78px}}
@media(max-width:1100px){.studio-layout{grid-template-columns:minmax(340px,410px) minmax(0,1fr)}.side-nav a{font-size:15px}.sidebar-upgrade h3{font-size:15px}.sidebar-upgrade button{font-size:14px}.task-grid{grid-template-columns:1fr}.history-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:820px){.studio-layout{grid-template-columns:1fr}.studio-results .task-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){
  .topbar{height:68px;padding:0 18px}.topbar .brand-copy strong{font-size:17px}.topbar .brand-copy small{display:none}.topbar-actions{gap:8px}.topbar-actions .avatar{display:grid;width:32px;height:32px}.topbar-actions .ghost{font-size:14px;padding:6px}.points-chip{font-size:14px;padding:7px 8px}.points-chip strong{font-size:16px}.points-chip svg{width:15px;height:15px}.main{padding:16px 18px 108px}.page-intro h1{font-size:27px}.page-intro p{font-size:16px}.eyebrow{font-size:14px;letter-spacing:1.3px}
  body[data-route="home"] .main{padding:10px 18px 86px}
  body[data-route="home"] .hero{min-height:222px;border-radius:20px}
  body[data-route="home"] .hero-copy{padding:22px;max-width:85%}
  body[data-route="home"] .hero h1{font-size:27px;line-height:1.4;margin:10px 0 8px}
  body[data-route="home"] .hero p{font-size:14px;max-width:220px;line-height:1.75}
  body[data-route="home"] .hero .eyebrow{font-size:14px;letter-spacing:1.2px}
  body[data-route="home"] .hero .primary{font-size:15px;min-height:40px;margin-top:14px;padding:9px 14px}
  body[data-route="home"] .hero-art{right:-66px;width:62%;opacity:.7}
  .hero-number{font-size:14px;right:13px;bottom:12px}.carousel-dots{left:22px;bottom:10px}.home-section-head{margin:18px 0 13px}.home-section-head h2{font-size:20px;letter-spacing:-.6px}.home-section-head .section-sub{font-size:14px;margin-top:5px}
  body[data-route="home"] .feature-grid{gap:12px}
  body[data-route="home"] .feature-card{min-height:142px;padding:15px 14px;border-radius:16px}
  body[data-route="home"] .feature-icon{height:36px;width:36px;margin-bottom:10px;border-radius:11px}
  body[data-route="home"] .feature-icon svg{height:21px;width:21px}
  body[data-route="home"] .feature-card h3{font-size:17px;margin-bottom:5px}
  body[data-route="home"] .feature-card p{font-size:14px;line-height:1.55}
  body[data-route="home"] .feature-card .tiny-label{font-size:14px;right:9px;top:15px;padding:3px 4px}
  body[data-route="home"] .feature-card .arrow{top:21px;right:14px}
  .bottom-nav{padding:9px 12px calc(9px + env(safe-area-inset-bottom))}.bottom-nav a{padding:4px 20px;gap:5px;font-size:14px}.bottom-nav svg{width:22px;height:22px}
  .studio-panel{padding:18px}.segmented button{font-size:15px;padding:12px 3px;gap:5px}.segmented button svg{width:16px;height:16px}.form-label{align-items:flex-start;flex-wrap:wrap;gap:5px}.form-label small{font-size:14px}.prompt-wrap textarea{font-size:16px;min-height:190px}.style-chip{font-size:14px}.choice-row button{font-size:16px;min-width:52px}.form-submit .primary{font-size:17px;height:48px}.upload-box{font-size:14px;min-height:105px}.upload-help{font-size:14px}.task-grid,.history-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.task-body{padding:13px}.task-preview{min-height:145px}.task-foot{font-size:14px}.task-foot .row{gap:3px}.task-foot .icon-button{width:32px;height:32px}.task-prompt{font-size:15px;min-height:51px}.task-tags .pill{font-size:14px}.status-badge{font-size:14px}.profile-user h2{font-size:21px}.profile-user .avatar.large{width:62px;height:62px}.profile-stat .secondary{font-size:15px}.profile-stat span{font-size:14px}.plan-card{padding:19px 15px}.plan-card h3{font-size:18px}.plan-label{font-size:14px;letter-spacing:.5px}.plan-benefit{font-size:14px}.plan-card .primary,.plan-card .secondary{font-size:15px}.template-body h3{font-size:17px}.template-body p{font-size:15px}.template-body .secondary{font-size:14px}.modal-content{padding:23px}.modal-head h2{font-size:22px}.modal-desc{font-size:16px}.auth-tabs button{font-size:16px}.consent{font-size:14px}.consent button{font-size:14px}.sms-input{gap:8px}.sms-input button{font-size:14px;padding:0 10px}.login-form input:not([type=checkbox]){font-size:16px}.toast{font-size:14px}.dialog-actions>*{font-size:16px}.profile-avatar-editor{gap:16px}.editor-avatar{width:80px;height:80px}.avatar-upload-label{padding:10px 14px}.ledger-row{font-size:15px}.ledger-row small{font-size:14px}
}
@media(max-width:370px){.topbar{padding:0 14px}.topbar .brand-copy strong{font-size:16px}.topbar-actions{gap:5px}.points-chip span{display:none}.main{padding-left:14px;padding-right:14px}body[data-route="home"] .main{padding-left:14px;padding-right:14px}body[data-route="home"] .feature-card{padding:14px 11px}body[data-route="home"] .feature-card h3{font-size:16px}.home-section-head h2{font-size:18px}.home-more{font-size:14px}.bottom-nav a{padding-left:18px;padding-right:18px}.task-grid,.history-grid,.studio-results .task-grid{grid-template-columns:1fr}.profile-head{padding:18px}.profile-user{gap:12px}}
@media(max-height:760px) and (min-width:721px){body[data-route="home"] .topbar{height:68px}body[data-route="home"] .main{padding-top:18px;padding-bottom:84px}body[data-route="home"] .hero{min-height:210px}body[data-route="home"] .hero-copy{padding:20px 30px}body[data-route="home"] .hero h1{font-size:29px}body[data-route="home"] .feature-card{min-height:150px}body[data-route="home"] .feature-icon{margin-bottom:8px}.home-section-head{margin-top:17px;margin-bottom:12px}}
@media(max-height:740px) and (max-width:720px){body[data-route="home"] .hero{min-height:196px}body[data-route="home"] .hero-copy{padding-top:18px;padding-bottom:20px}body[data-route="home"] .hero h1{font-size:25px}body[data-route="home"] .feature-card{min-height:132px}body[data-route="home"] .feature-icon{height:30px;width:30px;margin-bottom:7px}.home-section-head{margin-top:15px;margin-bottom:11px}}
.upload-grid.frames .upload-box{min-height:0}
.brand-copy small{display:none}.sidebar{overflow-y:auto}.sidebar>.nav-label{margin-top:32px}.sidebar-upgrade{padding:15px 13px}
.home-section-head h2{line-height:1.4}.home-section-head .section-sub{line-height:1.5}

/* Compact short-phone layout: content stays in normal flow and may grow for long copy. */
@media(max-width:720px){
  body[data-route="home"] .main{padding-bottom:calc(86px + env(safe-area-inset-bottom))}
}
@media(max-width:720px) and (max-height:760px){
  body[data-route="home"] .topbar{height:60px}
  body[data-route="home"] .main{padding-top:8px;padding-bottom:calc(80px + env(safe-area-inset-bottom))}
  body[data-route="home"] .hero{min-height:0}
  body[data-route="home"] .hero-copy{width:100%;max-width:none;padding:16px}
  body[data-route="home"] .hero .eyebrow{display:none}
  body[data-route="home"] .hero h1{font-size:24px;line-height:1.35;margin:0 0 8px;letter-spacing:-.5px}
  body[data-route="home"] .hero p{font-size:14px;line-height:1.5;max-width:none}
  body[data-route="home"] .hero .primary{display:flex;width:max-content;max-width:100%;font-size:16px;line-height:20px;min-height:40px;margin-top:12px;padding:10px 14px}
  body[data-route="home"] .hero-art{right:-45px;width:52%;height:112%;opacity:.3}
  body[data-route="home"] .hero-number{right:12px;bottom:14px;font-size:14px}
  body[data-route="home"] .carousel-dots{left:auto;right:70px;bottom:20px}
  body[data-route="home"] .home-section-head{margin:12px 0 10px}
  body[data-route="home"] .home-section-head h2{font-size:18px;line-height:1.4}
  body[data-route="home"] .home-section-head .section-sub{display:none}
  body[data-route="home"] .feature-grid{gap:10px}
  body[data-route="home"] .feature-card{display:grid;grid-template-columns:32px minmax(0,1fr);grid-template-rows:auto auto;column-gap:9px;row-gap:4px;align-content:center;min-height:96px;padding:12px;border-radius:14px}
  body[data-route="home"] .feature-icon{grid-column:1;grid-row:1 / span 2;align-self:center;width:32px;height:32px;margin:0;border-radius:10px}
  body[data-route="home"] .feature-icon svg{width:21px;height:21px}
  body[data-route="home"] .feature-card h3{grid-column:2;grid-row:1;font-size:16px;line-height:1.35;margin:0;overflow-wrap:normal}
  body[data-route="home"] .feature-card p,body[data-route="home"] .feature-card .arrow{display:none}
  body[data-route="home"] .feature-card .tiny-label{position:static;grid-column:2;grid-row:2;justify-self:start;font-size:14px;line-height:1.5;padding:0;background:transparent;border-radius:0}
}

/* Record lists load thumbnails; original media is only mounted in the detail dialog. */
.task-preview-button{position:relative;width:100%;height:100%;padding:0;min-height:inherit}
.task-preview-button img{display:block;width:100%;height:100%;object-fit:contain}
.preview-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:42px;height:42px;border-radius:50%;color:white;background:#37254bbd;font-size:20px;pointer-events:none;padding-left:3px}
.record-pager{flex-wrap:wrap;gap:10px 18px;margin:22px 0;font-size:14px;line-height:1.6}
.pager-total{color:#8f819f}.pager-controls{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap}
.record-pager button{width:auto;min-width:64px;min-height:40px;height:auto;padding:8px 10px;font-size:14px;white-space:nowrap}
.record-pager button:disabled{opacity:.42;cursor:default}.record-pager .pager-controls>span{white-space:nowrap}
@media(max-width:720px){.record-pager{gap:9px}.record-pager .pager-total{flex-basis:100%;text-align:center}.record-pager button{min-height:42px}.preview-play{width:36px;height:36px;font-size:18px}}

.account-grid.account-menu{grid-template-columns:minmax(0,1fr)}

/* Agent accounts keep currency and creative points in separate, explicit fields. */
.agent-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.agent-balance{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;padding:22px 25px}.agent-balance span{display:block;font-size:16px;color:#82728f;margin-bottom:10px}.agent-balance strong{font-size:30px;color:#6b4b97;overflow-wrap:anywhere}.agent-balance small{font-size:15px;font-weight:400;margin-left:8px}.agent-balance .text-button{display:flex;align-items:center;gap:6px;white-space:nowrap}
.agent-stats article{padding:22px}.agent-stats article>span{display:block;font-size:14px;color:#82728f;margin-bottom:12px}
.agent-stats strong{display:block;font-size:27px;line-height:1.35;color:#6b4b97;overflow-wrap:anywhere}.agent-stats strong small{font-size:14px;font-weight:400;margin-left:7px;color:#8d7b9e}
.agent-summary-note{display:flex;align-items:flex-start;gap:18px;justify-content:space-between;margin:16px 0 24px}
.agent-summary-note p,.agent-help{font-size:14px;line-height:1.8;color:#82728f}.agent-summary-note .text-button{flex-shrink:0;display:flex;align-items:center;gap:5px;white-space:nowrap}
.agent-create-panel,.agent-records{padding:25px;margin-top:22px}.agent-create-panel h2{font-size:21px;margin-bottom:9px}
.agent-create-panel fieldset{border:0;padding:0;margin:0;min-width:0}.agent-create-panel fieldset:disabled{opacity:.7}
.agent-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.agent-form-grid .form-group{min-width:0;margin-top:20px}
.agent-form-grid label{display:block;font-size:16px;font-weight:500;margin-bottom:9px}.agent-form-grid input{width:100%;font-size:16px;min-height:46px}.agent-form-grid .agent-help{margin-top:6px}
.agent-deduction{padding:13px 15px;background:#f6f0ff;border-radius:10px;color:#745393;font-size:15px;line-height:1.8;margin:19px 0 17px}
.agent-create-panel .primary{min-height:46px;font-size:16px}.agent-feedback{padding:12px 15px;border-radius:10px;font-size:15px;line-height:1.8;margin:15px 0 0;overflow-wrap:anywhere}.agent-feedback.error{background:#fff1f2;color:#974f61}.agent-feedback.success{background:#edf7f0;color:#437955}
.agent-records .history-filter{margin-bottom:18px}.agent-record-list{display:grid;gap:15px}.agent-record{border:1px solid var(--line);border-radius:12px;padding:18px}
.agent-record-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.agent-record-head strong{font-size:17px;color:#665174}.agent-record-head div>span{display:block;font-size:14px;color:#938299;margin-top:5px}.agent-record-head time{font-size:14px;color:#938299;white-space:nowrap}
.agent-record dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:17px 0 0;padding-top:14px;border-top:1px solid var(--line)}.agent-record dl>div{min-width:0}.agent-record dt{font-size:14px;color:#938299}.agent-record dd{font-size:16px;margin:6px 0 0;color:#665174;overflow-wrap:anywhere;line-height:1.5}
.agent-record .agent-commission{color:#8760ad;font-size:19px}.agent-order-id{font-size:14px;color:#938299;line-height:1.6;margin-top:8px;overflow-wrap:anywhere}.agent-empty{font-size:16px;color:#938299;line-height:1.8;padding:25px 0;text-align:center}
@media(max-width:1000px){.agent-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.agent-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.agent-form-grid .form-group:last-child{grid-column:1/-1}}
@media(max-width:720px){.agent-stats{gap:12px}.agent-stats article{padding:17px}.agent-stats strong{font-size:23px}.agent-summary-note{flex-direction:column;gap:9px;margin-bottom:20px}.agent-create-panel,.agent-records{padding:18px}.agent-form-grid{grid-template-columns:minmax(0,1fr);gap:0}.agent-create-panel .primary{width:100%}.agent-record{padding:15px}.agent-record-head{flex-wrap:wrap;gap:7px}.agent-record dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.agent-record dl>div:last-child{grid-column:1/-1}.agent-records .filter-tab{flex:1;padding:10px 8px;font-size:16px}}

/* Public greenbook reading uses thumbnails; originals open only on request. */
.greenbook-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.greenbook-card{display:flex;flex-direction:column;overflow:hidden;text-decoration:none;color:inherit}.greenbook-card-cover{aspect-ratio:1.75;display:grid;place-items:center;background:#f1ecf8;color:#a18abb;overflow:hidden}.greenbook-card-cover>img{width:100%;height:100%;object-fit:cover}.greenbook-card-cover>.icon{width:46px;height:46px}.greenbook-card-copy{padding:22px}.greenbook-card-copy h2{font-size:20px;line-height:1.55;overflow-wrap:anywhere}.greenbook-card-copy p{font-size:16px;line-height:1.8;color:#8b7a9a;margin-top:11px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.greenbook-card-copy>span{display:flex;gap:7px;align-items:center;color:#8b64ad;font-size:14px;margin-top:18px}
.greenbook-detail{max-width:880px;margin:0 auto;padding-bottom:20px}.greenbook-article{overflow:hidden;margin-top:20px}.greenbook-article-body{padding:30px}.greenbook-article-body h1{font-size:30px;line-height:1.5;margin:18px 0 22px;overflow-wrap:anywhere}.greenbook-full-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:18px;line-height:1.95;color:#65556f}.greenbook-tags{display:flex;flex-wrap:wrap;gap:8px 13px;margin-top:24px;color:#8d64a4;font-size:16px;line-height:1.7}.greenbook-tags span{overflow-wrap:anywhere}
.greenbook-slides{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;border-radius:13px}.greenbook-slides::-webkit-scrollbar{display:none}.greenbook-slides>.greenbook-main-image{flex:0 0 100%;min-width:0;scroll-snap-align:start;scroll-snap-stop:always}
.greenbook-gallery{background:#faf8fd;padding:20px}.greenbook-main-image{display:block;width:100%;padding:0;aspect-ratio:4/3;max-height:440px;overflow:hidden;background:#f0eaf7;border-radius:13px}.greenbook-main-image>img{display:block;width:100%;height:100%;object-fit:contain}.greenbook-main-image>span{display:flex;align-items:center;justify-content:center;height:100%;gap:10px;color:#9984ad;font-size:16px}.greenbook-gallery-controls{display:flex;align-items:center;justify-content:center;gap:13px;margin-top:13px}.greenbook-gallery-controls span{font-size:14px;color:#8d7e9b;text-align:center}.greenbook-gallery-controls button{width:36px;min-height:36px;flex-shrink:0;border:1px solid #e6ddf0;border-radius:9px;background:white;color:#8b6ea8}.greenbook-gallery-controls button:disabled{opacity:.35}.greenbook-thumbnails{display:flex;gap:9px;overflow-x:auto;padding:12px 2px 3px}.greenbook-thumbnails>button{width:70px;height:70px;flex-shrink:0;border:2px solid transparent;border-radius:9px;padding:2px;background:#f1eaf8;overflow:hidden;color:#a28ab8}.greenbook-thumbnails>button.selected{border-color:#aa89d1;background:#fff}.greenbook-thumbnails img{width:100%;height:100%;object-fit:cover;border-radius:5px}
.greenbook-content-tools{display:flex;flex-wrap:wrap;gap:10px;margin-top:27px}.greenbook-content-tools>button{font-size:15px;min-height:44px}.greenbook-help{font-size:14px;line-height:1.8;color:#93829e;margin:15px 0 0}.greenbook-status{padding:13px 15px;border-radius:10px;background:#f2ecfb;color:#7f6298;font-size:15px;line-height:1.8;margin:20px 0 10px;overflow-wrap:anywhere}.greenbook-status.error{background:#fff2f2;color:#a15c6b}.greenbook-actions{position:sticky;bottom:22px;z-index:5;display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:22px;padding:12px;background:#fff;border:1px solid #ddd6e8;border-radius:16px;box-shadow:0 4px 16px #45315612;backdrop-filter:none;-webkit-backdrop-filter:none}.greenbook-actions>button{min-height:58px;font-size:17px;font-weight:700;padding:10px 12px;flex-wrap:wrap;gap:4px 8px;line-height:24px;transform:none;transition:background .18s}.greenbook-actions>.secondary{color:#242137;border-color:#ddd6e8}.greenbook-actions small{display:block;flex-basis:100%;font-size:14px;font-weight:500;line-height:20px}.greenbook-actions>.secondary small{color:#51485f}.greenbook-save-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:18px}.greenbook-save-grid>button{aspect-ratio:1;background:#f3edf8;border-radius:10px;overflow:hidden;padding:0}.greenbook-save-grid img{height:100%;width:100%;object-fit:contain}
@media(min-width:1500px){.greenbook-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:720px){body[data-route="greenbook"] .main{padding-bottom:calc(108px + env(safe-area-inset-bottom))}.greenbook-grid{grid-template-columns:minmax(0,1fr);gap:16px}.greenbook-card{display:grid;grid-template-columns:112px minmax(0,1fr)}.greenbook-card-cover{aspect-ratio:auto;min-height:148px}.greenbook-card-copy{padding:17px}.greenbook-card-copy h2{font-size:18px}.greenbook-card-copy p{font-size:15px;margin-top:7px;-webkit-line-clamp:2}.greenbook-card-copy>span{margin-top:12px}.greenbook-detail{padding-bottom:106px}.greenbook-article{margin-top:17px}.greenbook-article-body{padding:21px}.greenbook-article-body h1{font-size:25px;margin:16px 0 20px}.greenbook-full-text{font-size:17px;line-height:1.95}.greenbook-gallery{padding:13px}.greenbook-main-image{max-height:none}.greenbook-gallery-controls{gap:7px}.greenbook-gallery-controls span{font-size:14px}.greenbook-thumbnails>button{width:60px;height:60px}.greenbook-actions{position:fixed;left:12px;right:12px;bottom:calc(74px + env(safe-area-inset-bottom));margin:0;padding:9px;gap:9px;border-radius:14px}.greenbook-actions>button{font-size:16px;min-height:58px}.greenbook-content-tools>button{flex:1;white-space:nowrap;font-size:14px;padding:10px}.greenbook-status{font-size:15px}.greenbook-help{font-size:14px}}

/* Keep fixed reading controls out of the page entrance transform. */
body[data-route="greenbook"] .main.fade-in{animation:none}
.greenbook-actions>button:hover{transform:none}

/* Membership time and point balance are independent requirements. */
.usage-gate{max-width:740px;margin:20px auto;padding:34px;text-align:center}.usage-gate .empty-art{margin:0 auto 20px}.usage-gate h2{font-size:24px;line-height:1.45}.usage-gate p{font-size:16px;color:var(--muted);line-height:1.85;margin:14px auto 23px;max-width:600px;overflow-wrap:anywhere}.usage-gate .primary{min-height:46px;font-size:16px}.usage-history-link{display:flex;justify-content:center;align-items:center;gap:7px;margin:22px 0}.modal-content .usage-gate{border:0;box-shadow:none;padding:8px 0;margin:0}.membership-expiry{font-size:15px!important;line-height:1.7;color:#816d98!important;overflow-wrap:anywhere}.plan-tabs{max-width:540px;margin-bottom:17px}.plan-tabs>button{font-size:17px;min-height:48px}.plan-kind-note{font-size:16px;line-height:1.8;color:var(--muted);margin:0 0 24px}.plan-period{font-size:15px;line-height:1.7}.greenbook-article .usage-gate{padding:20px 16px;margin-top:24px}.greenbook-article .usage-gate .empty-art{display:none}.greenbook-article .usage-gate h2{font-size:20px}.greenbook-actions>button:disabled{opacity:.6;cursor:not-allowed}
@media(max-width:720px){.usage-gate{padding:26px 20px}.usage-gate h2{font-size:23px}.usage-gate p{font-size:16px}.membership-expiry{max-width:235px}.plan-tabs{max-width:none}.plan-tabs>button{font-size:16px}.plan-kind-note{font-size:15px}.plan-period{font-size:14px}}

/* Personal services, settings and sign-out have separate visual groups. */
.account-grid.account-menu{gap:30px}
.account-group{min-width:0}
.account-group-title{margin:0 0 12px 4px;font-size:16px;font-weight:600;line-height:1.5;color:#645570}
.account-settings{padding-top:5px}
.account-settings .account-links{background:#faf9fc;border-color:#e8e4ee;box-shadow:none}
.account-settings .account-link{color:#756b80}
.account-logout{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;min-height:52px;margin-top:18px;padding:13px 18px;border:1px solid #eedee4;border-radius:14px;background:#fff9fa;color:#a05068;font-size:16px;font-weight:500;transition:background .2s,border-color .2s}
.account-logout .icon{width:18px;height:18px}
.account-logout:hover{background:#fff0f3;border-color:#dfb9c5}
.account-logout:focus-visible{outline:3px solid #c3b1ee;outline-offset:3px}
@media(max-width:720px){.account-grid.account-menu{gap:26px}.account-group-title{margin-bottom:10px}.account-settings{padding-top:3px}.account-logout{margin-top:16px}}

/* Homepage shortcuts sit above the navigation; extra entries scroll horizontally. */
body[data-route="home"] .main{display:flex;flex-direction:column;min-height:calc(100dvh - 84px);padding-bottom:calc(86px + env(safe-area-inset-bottom))}
body[data-route="home"] .hero,body[data-route="home"] .feature-grid{flex-shrink:0}
.home-jumps{margin-top:auto;padding-top:14px;min-width:0;flex-shrink:0}
.home-jumps-track{display:flex;gap:12px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding:3px;padding:4px 3px 7px;scrollbar-width:thin;scrollbar-color:#dad5ee transparent}
.home-jump-card{display:flex;align-items:center;gap:12px;flex:0 0 360px;min-width:0;max-width:100%;min-height:76px;padding:10px 12px;background:#fff;border:1px solid #efedfa;border-radius:14px;box-shadow:0 3px 10px #6b50e80e;scroll-snap-align:start}
.home-jump-card:only-child{flex-basis:100%}
.home-jump-icon{position:relative;display:grid;place-items:center;width:52px;height:52px;flex:0 0 52px;border-radius:11px;background:#f0ecff;color:var(--violet);overflow:hidden}
.home-jump-icon>.icon{width:26px;height:26px}.home-jump-icon img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;background:#fff}
.home-jump-copy{flex:1;min-width:0}.home-jump-copy h3{font-size:16px;font-weight:650;line-height:24px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;letter-spacing:0}.home-jump-copy p{font-size:14px;line-height:21px;color:#85838e;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.home-jump-button{flex:0 0 auto;max-width:40%;min-height:36px;border-radius:999px;padding:7px 14px;background:#3a9b59;color:#fff;font-size:14px;line-height:20px;font-weight:600;overflow-wrap:anywhere;transition:background .15s}
.home-jump-button:hover{background:#2e8248}.home-jump-button:focus-visible{outline-color:#97d2aa}
@media(max-width:720px){body[data-route="home"] .main{min-height:calc(100dvh - 68px)}.home-jump-card{flex-basis:100%;gap:9px;padding:9px 10px}.home-jump-button{padding:7px 12px}}
@media(max-width:720px) and (min-height:761px){body[data-route="home"] .hero{min-height:210px}body[data-route="home"] .feature-card{min-height:128px;padding:12px 13px}body[data-route="home"] .feature-icon{width:32px;height:32px;margin-bottom:8px}body[data-route="home"] .feature-card h3{margin-bottom:4px}}
@media(min-width:721px) and (max-height:760px){body[data-route="home"] .main{min-height:calc(100dvh - 68px)}}
@media(max-width:720px) and (max-height:760px){body[data-route="home"] .main{min-height:calc(100dvh - 60px)}}
@media(max-width:370px){.home-jump-icon{width:44px;height:44px;flex-basis:44px}.home-jump-card{gap:8px}.home-jump-button{padding:7px 10px}}
/* AI copywriting: discover a specialist and continue a private conversation. */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
body[data-route="copywriting"] .main{max-width:1420px;animation:none}
.cw-hero{display:flex;align-items:center;flex-wrap:wrap;gap:22px;padding:30px 32px;margin-bottom:22px;border-radius:22px;background:linear-gradient(120deg,#41309c,#272269 70%,#292963);color:white;position:relative;overflow:hidden}
.cw-hero>div{flex:1;min-width:0}.cw-hero .eyebrow{color:#cdc3ff;font-size:12px;letter-spacing:1.6px}.cw-hero h1{font-size:29px;line-height:1.5;margin:7px 0}.cw-hero p{color:#e1dcfa;font-size:15px;line-height:1.7}.cw-history-button{display:flex;align-items:center;justify-content:center;gap:7px;padding:11px 14px;border:1px solid #ffffff40;border-radius:12px;color:white;background:#ffffff0d;font-size:14px;flex-shrink:0}.cw-history-button:hover{background:#ffffff20}
.cw-search{display:flex;align-items:stretch;width:100%;gap:8px}.cw-search input{flex:1;min-width:0;background:#ffffff18;color:white;border:1px solid #ffffff3b;padding:12px 15px}.cw-search input::placeholder{color:#e0dced}.cw-search button{display:flex;align-items:center;gap:6px;color:#362778;background:white;border-radius:12px;padding:0 16px;font-weight:600;font-size:14px}

.cw-agent-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.cw-agent-card{display:flex;flex-direction:column;position:relative;border:1px solid var(--line);background:white;border-radius:18px;overflow:hidden;box-shadow:var(--shadow);transition:transform .2s,box-shadow .2s;min-width:0}.cw-agent-card:hover{transform:translateY(-3px);box-shadow:0 9px 24px #41337612}.cw-agent-cover{height:76px;background:var(--agent-color);position:relative;overflow:hidden}.cw-agent-cover:after{content:'';position:absolute;right:-10px;top:-32px;width:106px;height:106px;border-radius:50%;background:#ffffff20}.cw-avatar{display:inline-grid;place-items:center;position:relative;flex-shrink:0;border-radius:50%;background:var(--agent-color,#6c58e8);color:white;width:44px;height:44px;font-weight:700;font-size:21px;overflow:hidden}.cw-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.cw-agent-card>.cw-avatar{align-self:center;margin-top:-28px;border:3px solid white;width:58px;height:58px;font-size:25px;box-shadow:0 3px 10px #2c214520}.cw-agent-copy{display:flex;align-items:center;flex-direction:column;text-align:center;padding:14px 17px 19px;flex:1}.cw-agent-copy h2{font-size:17px;line-height:1.5;letter-spacing:0;overflow-wrap:anywhere}.cw-agent-copy p{font-size:14px;line-height:1.7;color:#70697d;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:9px 0 14px;min-height:48px}.cw-agent-copy>span{font-size:14px;color:var(--violet);display:flex;align-items:center;gap:7px;margin-top:auto}.cw-agent-copy>span svg{width:16px;height:16px}
.cw-history-list{display:flex;flex-direction:column;gap:12px}.cw-history-row{display:flex;align-items:center;padding:6px 14px 6px 6px;border-radius:16px;gap:8px}.cw-history-row>a{display:flex;align-items:center;gap:14px;flex:1;padding:14px;min-width:0}.cw-history-row>a>div{min-width:0;flex:1}.cw-history-row h2{font-size:17px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;line-height:1.7}.cw-history-row p{font-size:14px;color:#776b88;margin-top:4px;line-height:1.7}
.cw-chat{display:flex;flex-direction:column;gap:0;min-height:calc(100dvh - 155px);max-width:1050px;margin:auto}.cw-chat-head{display:flex;align-items:center;gap:13px;background:linear-gradient(110deg,#4935ab,#28236c);padding:18px 20px;border-radius:18px;color:white;flex-shrink:0}.cw-chat-head>div{min-width:0;flex:1}.cw-chat-head h1{font-size:20px;line-height:1.5;letter-spacing:0}.cw-chat-head p{font-size:14px;color:#e0d9fa;line-height:1.6;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-top:3px}.cw-chat-head .cw-avatar{border:2px solid #ffffff80}.cw-back,.cw-head-action{display:grid;place-items:center;flex-shrink:0;width:35px;height:35px;border:1px solid #ffffff40;background:#ffffff12;border-radius:10px;color:white}.cw-back{font-size:25px}.cw-chat-messages{padding:28px 2px 20px;display:flex;flex-direction:column;gap:25px;flex:1;min-width:0}.cw-turn{display:flex;flex-direction:column;gap:20px}.cw-message{display:flex;align-items:flex-start;gap:12px;min-width:0}.cw-message .cw-avatar{width:36px;height:36px;font-size:17px;margin-top:3px}.cw-message-body{white-space:pre-wrap;overflow-wrap:anywhere;font-size:16px;line-height:1.85;background:#fff;border:1px solid #eae5f5;border-radius:3px 17px 17px 17px;padding:16px 19px;box-shadow:0 3px 13px #40325e03;min-width:0}.cw-message-body .loader{display:inline-block;vertical-align:middle;margin-right:5px}.cw-answer{max-width:calc(100% - 48px);min-width:0;flex:1}.cw-message-user{align-items:flex-end;flex-direction:column;gap:6px;padding-left:48px}.cw-message-user .cw-message-body{background:#eee8ff;border-color:#e5dcff;color:#35245d;border-radius:17px 3px 17px 17px;max-width:90%;box-shadow:none}.cw-message-user>small{font-size:12px;color:#81738f}.cw-message-meta{display:flex;align-items:center;gap:16px;flex-wrap:wrap;color:#7c6d8b;font-size:12px;margin-top:7px}.cw-message-meta .text-button{display:flex;align-items:center;gap:5px;font-size:13px}.cw-message-meta .icon{width:15px;height:15px}.cw-failed{color:#a5364e;background:#fff7f7;border-color:#f3dfe4}.cw-notice{font-size:14px;line-height:1.8;padding:10px 14px;background:#f0ebfc;border-radius:12px;color:#645178;margin-bottom:10px;overflow-wrap:anywhere}.cw-notice.error{color:#a0364a;background:#fff1f4}.cw-request{padding:17px 20px;border:1px solid #e5dcf5;border-radius:15px;background:#f6f2ff;color:#60516d;line-height:1.8;font-size:14px}.cw-request-content{white-space:pre-wrap;overflow-wrap:anywhere;color:#382b46;margin:10px 0}.cw-request button{margin-top:8px}.cw-compose-wrap{position:sticky;bottom:0;z-index:5;background:var(--bg);padding:8px 0 0;margin-top:auto}.cw-composer{border:1px solid #ded7ee;background:white;border-radius:17px;padding:5px 8px 9px;box-shadow:0 -4px 16px #3e285003}.cw-composer textarea{border:0;padding:11px 12px;background:transparent;resize:vertical;min-height:86px;max-height:260px}.cw-composer textarea:focus{outline:none}.cw-composer:focus-within{border-color:#b2a1e8;box-shadow:0 0 0 2px #e8e0fc}.cw-compose-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:0 4px 0 12px}.cw-compose-footer>span{font-size:12px;color:#7d6f8d;line-height:1.6}.cw-compose-footer>.primary{min-height:40px;padding:8px 15px;font-size:14px}.cw-access-note{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#f0eafd;border-radius:12px;padding:9px 12px;font-size:14px;margin-bottom:8px;color:#645273}
@media(max-width:1250px){.cw-agent-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:720px){body[data-route="copywriting"] .main{padding:16px 14px 96px}.cw-hero{padding:21px 19px;margin-bottom:16px;border-radius:18px;gap:17px}.cw-hero h1{font-size:24px}.cw-hero p{font-size:14px}.cw-hero .eyebrow{font-size:10px}.cw-history-button{font-size:12px;gap:5px;padding:9px 10px}.cw-history-button svg{width:16px;height:16px}.cw-agent-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.cw-agent-cover{height:64px}.cw-agent-card>.cw-avatar{width:51px;height:51px;font-size:23px;margin-top:-24px}.cw-agent-copy{padding:12px 11px 16px}.cw-agent-copy h2{font-size:16px}.cw-agent-copy p{font-size:13px;line-height:1.7;min-height:44px;margin:8px 0 12px}.cw-agent-copy>span{font-size:13px}.cw-chat{min-height:calc(100dvh - 180px)}.cw-chat-head{padding:13px 12px;gap:9px;border-radius:15px}.cw-chat-head h1{font-size:17px}.cw-chat-head p{font-size:12px;-webkit-line-clamp:1}.cw-chat-head>.cw-avatar{width:34px;height:34px;font-size:17px}.cw-back,.cw-head-action{width:29px;height:32px}.cw-head-action svg{width:17px;height:17px}.cw-chat-messages{padding:22px 0;gap:22px}.cw-message{gap:8px}.cw-message .cw-avatar{width:29px;height:29px;font-size:14px}.cw-answer{max-width:calc(100% - 37px)}.cw-message-body{padding:12px 14px;font-size:16px;line-height:1.8;border-radius:3px 14px 14px 14px}.cw-message-user{padding-left:25px}.cw-message-user .cw-message-body{max-width:95%}.cw-compose-wrap{bottom:calc(76px + env(safe-area-inset-bottom));padding-top:7px}.cw-compose-footer{gap:5px;padding-left:5px}.cw-compose-footer>span{font-size:11px}.cw-compose-footer>.primary{padding:8px 12px}.cw-composer textarea{min-height:76px;max-height:200px;padding:9px}.cw-history-row{padding-right:7px}.cw-history-row>a{gap:10px;padding:11px}.cw-history-row h2{font-size:16px}.cw-history-row p{font-size:12px}.cw-history-row .cw-avatar{width:36px;height:36px;font-size:18px}.cw-access-note{font-size:12px;padding:7px 10px}}
@media(max-width:370px){.cw-hero{padding:18px 15px}.cw-hero h1{font-size:22px}.cw-hero>div{flex-basis:100%}.cw-history-button{position:absolute;top:17px;right:15px}.cw-hero .eyebrow{max-width:120px;line-height:1.6}.cw-chat-head{gap:6px}.cw-chat-head>.cw-avatar{display:none}.cw-compose-footer>span{max-width:150px}}
/* Keep functional text comfortably readable on the small-screen layout. */
.cw-message-user>small,.cw-message-meta,.cw-message-meta .text-button,.cw-compose-footer>span{font-size:14px}
.cw-chat-head h1{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:720px){.cw-history-button,.cw-agent-copy p,.cw-agent-copy>span,.cw-chat-head p,.cw-compose-footer>span,.cw-history-row p,.cw-access-note{font-size:14px}.cw-agent-copy h2,.cw-history-row h2{font-size:17px}.cw-hero .eyebrow{font-size:12px}.cw-agent-copy p{min-height:48px}.cw-compose-footer{align-items:center;gap:10px}.cw-compose-footer>span{flex:1;min-width:0}.cw-compose-footer>.primary{flex-shrink:0}}
