:root{color-scheme:light;--ink:#202a43;--muted:#788296;--blue:#4163ed;--line:#e8ecf3;--pale:#f7f9fc}
*{box-sizing:border-box}
body{margin:0;background:#fff;color:var(--ink);font-family:Arial,"PingFang SC","Microsoft YaHei","Noto Sans CJK SC",sans-serif;font-size:14px;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
button,input,textarea{font:inherit}
button,a,input,textarea{-webkit-tap-highlight-color:transparent}
button{cursor:pointer;border:0}
button:disabled{opacity:.5;cursor:wait}
a,button{transition:background .18s,color .18s,box-shadow .18s}
:focus-visible{outline:3px solid #4163ed80;outline-offset:4px}
.container{max-width:1180px;margin:auto;padding:0 30px}
.site-header{height:82px;border-bottom:1px solid #f1f3f7;background:#fff}
.nav-inner{display:flex;align-items:center;justify-content:space-between;height:100%;gap:24px}
.brand{display:inline-flex;align-items:center;gap:10px;font-size:20px;letter-spacing:-.7px;font-weight:750;white-space:nowrap}
.brand-mark{width:34px;height:34px;display:inline-flex;justify-content:center;align-items:center;background:var(--blue);color:#fff;border-radius:10px;font-size:27px;font-weight:800;line-height:1;letter-spacing:-3px;padding-right:4px}
.brand-mark span{color:#b8c7ff;font-size:17px;align-self:flex-start;margin-top:5px}
nav{display:flex;align-items:center;gap:34px;font-size:13px;font-weight:550}
nav>a:not(.button){padding:30px 0;position:relative;color:#667087}
nav>a.active{color:var(--blue)}
nav>a.active:after{content:"";width:14px;height:3px;background:var(--blue);position:absolute;bottom:18px;left:calc(50% - 7px);border-radius:3px}
.button{display:inline-flex;justify-content:center;align-items:center;gap:10px;background:var(--blue);color:#fff;padding:14px 22px;border:1px solid transparent;border-radius:8px;font-weight:550;line-height:1.3;white-space:nowrap}
.button:hover{background:#2b4dd4;box-shadow:0 5px 16px #4163ed25}
.button.small{padding:10px 15px;font-size:12px}
.button.secondary{background:#fff;border-color:#dfe5ee;color:#43506a}
.button.secondary:hover{background:#f4f6fb}
main{padding-top:32px!important;padding-bottom:72px!important;min-height:calc(100vh - 168px)}
.back-link{display:inline-flex;align-items:center;gap:8px;color:var(--muted);font-size:12px}
.back-link:hover{color:var(--blue)}
.detail-heading{display:flex;align-items:flex-start;gap:20px;margin:38px 0 32px}
.tool-icon{display:grid;place-items:center;width:58px;height:58px;flex-shrink:0;border-radius:12px;color:var(--blue);background:#edf1ff}
.tool-icon svg{width:27px;height:27px}
.category{display:block;font-size:11px;color:var(--muted);margin:2px 0 10px}
h1{font-size:30px;font-weight:650;letter-spacing:-.7px;margin:0 0 12px;line-height:1.35}
.detail-heading p{font-size:13px;color:var(--muted);margin:0;line-height:1.8}
h2{font-size:15px;font-weight:600;margin:0}
.workbench{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff;box-shadow:0 8px 30px #293d6d03}
.workbench-heading{display:flex;justify-content:space-between;align-items:center;padding:20px 26px;border-bottom:1px solid var(--line);background:#fafbfe;gap:16px}
.workbench-heading>span{color:#8c96a9;font-size:11px}
.editor-grid{display:grid;grid-template-columns:1fr 1.15fr}
.upload-pane,.text-pane{padding:26px;min-width:0}
.text-pane{border-left:1px solid var(--line)}
.field-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}
.field-heading label{font-size:13px;font-weight:550}
.field-heading>span{font-size:11px;color:#8e98aa;white-space:nowrap}
.field-heading b{font-weight:400}
.drop{min-height:210px;padding:30px 18px;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;background:#fafbff;border:1px dashed #cfd9f2;border-radius:9px;text-align:center;cursor:pointer;transition:background .18s,border-color .18s}
.drop:hover,.drop.over{background:#f0f4ff;border-color:var(--blue)}
.drop:focus-within{outline:2px solid #4163ed80;outline-offset:3px}
.drop input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.upload-icon{display:grid;place-items:center;background:#edf1ff;border-radius:12px;width:46px;height:46px;margin-bottom:7px;color:var(--blue)}
.upload-icon svg{width:23px;height:23px}
.drop strong{font-size:13px;font-weight:550;overflow-wrap:anywhere;max-width:100%}
.drop>span:not(.upload-icon){font-size:10px;color:var(--muted);line-height:1.8}
.drop small{color:#929daf;font-size:10px}
.field-tip{margin:12px 0 0;font-size:11px;color:#8b95a8;line-height:1.8}
textarea{display:block;width:100%;height:210px;min-height:210px;resize:vertical;border:1px solid #e4e9f2;border-radius:9px;background:#fff;color:var(--ink);padding:18px;line-height:1.9;font-size:13px}
textarea::placeholder{color:#a0aabc}
textarea:focus{outline:2px solid #4163ed33;outline-offset:1px;border-color:#a5b6f7}
.status{font-size:12px;line-height:1.8;color:#57795c;margin:10px 0 0;min-height:0;overflow-wrap:anywhere}
.status:empty{display:none}
.error{color:#bb4545!important}
.workbench-actions{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 26px;border-top:1px solid var(--line);background:#fcfdff}
.consent{margin:0;color:var(--muted);font-size:12px;line-height:1.7}
.primary{min-width:162px}
.primary svg{width:18px;height:18px}
.result{border-top:1px solid var(--line);padding:24px 26px;background:#f8faff}
.result-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.result-heading>span{color:var(--muted);font-size:12px}
.result-media{display:flex;align-items:center;gap:20px;margin-top:16px}
audio{width:100%;min-width:0;height:42px}
.result-media a{font-size:12px;flex-shrink:0}
.history{margin-top:34px;border:1px solid var(--line);border-radius:12px;padding:23px 26px}
.history-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}
.history-heading p{font-size:11px;color:#929bad;margin:9px 0 0}
.text-button{display:inline-flex;align-items:center;gap:6px;padding:7px 0 7px 12px;background:none;color:var(--blue);font-size:12px}
.text-button>span{font-size:18px}
.muted{font-size:12px;color:#97a1b3;text-align:center;margin:0;padding:32px 12px 18px}
.history-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 0;border-top:1px solid var(--line);font-size:12px}
.history-row:first-child{margin-top:20px}
.history-row>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;color:#5c6881}
.history-row>button{flex-shrink:0;font-size:11px;padding:8px 12px;border-radius:6px;background:#eef2ff;color:var(--blue)}
.site-footer{background:#fcfdff;border-top:1px solid var(--line);padding:27px 0;color:#949fb3;font-size:11px}
.site-footer>.container{display:flex;justify-content:space-between;gap:16px}
.hidden{display:none!important}
body.embedded{padding:2px 0 10px}
body.embedded .site-header,body.embedded .page-intro,body.embedded .site-footer{display:none}
body.embedded main{max-width:none;padding:0!important;min-height:0}
body.embedded .history{margin-top:24px}
@media(max-width:850px){nav{gap:20px}nav>a:not(.active){display:none}.container{padding-left:22px;padding-right:22px}.site-header{height:68px}nav>a:not(.button){padding:23px 0}nav>a.active:after{bottom:12px}.brand{font-size:18px}.editor-grid{grid-template-columns:1fr}.text-pane{border-left:0;border-top:1px solid var(--line)}.detail-heading{margin:28px 0;gap:15px}.tool-icon{width:48px;height:48px}h1{font-size:26px}.upload-pane,.text-pane{padding:22px}.drop{min-height:190px}.workbench-heading,.workbench-actions,.result{padding:20px 22px}main{padding-top:25px!important;padding-bottom:40px!important}.history{padding:22px}.detail-heading p{font-size:12px}.site-footer>.container{font-size:10px}}
@media(max-width:480px){.container{padding-left:18px;padding-right:18px}.workbench-heading>span{display:none}.workbench-actions{flex-direction:column;align-items:stretch;gap:18px}.primary{width:100%}.result-media{flex-direction:column;align-items:stretch;gap:12px}.consent{font-size:11px}.field-heading label{font-size:12px}.upload-pane,.text-pane{padding:20px 18px}.history{padding:20px 18px}.drop{padding:24px 12px}.drop strong{font-size:12px}.site-footer>.container{flex-wrap:wrap}.history-row{gap:10px}.history-row>button{padding:7px 9px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* Visitor typography: readable upload limits, guidance and mobile inputs. */
.category,.workbench-heading>span,.field-heading>span,.drop>span:not(.upload-icon),.drop small,.consent,.history-heading p,.site-footer,.site-footer>.container{font-size:12px;line-height:1.8}
.field-heading label,.drop strong{font-size:14px;line-height:1.6}
.detail-heading p{font-size:14px}.field-tip{font-size:13px}.field-tip,.drop small,.history-heading p,.field-heading>span{color:#66758c}
h2{font-size:16px;line-height:1.5}.muted{font-size:13px;line-height:1.8}.text-button,.history-row>button{font-size:13px}
textarea{font-size:15px}.primary{font-size:16px}
@media(max-width:850px){textarea,input:not([type="file"]){font-size:16px}}
