@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Noto+Sans+SC:wght@400;500;600;700&display=swap');
:root{font-family:'DM Sans','Noto Sans SC',system-ui,sans-serif;color:#18243b;background:#f5f7fb;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer}.hidden{display:none!important}.app-shell{display:flex;min-height:100vh}.sidebar{width:238px;flex:none;background:#101929;color:#fff;padding:30px 18px 22px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;gap:11px;padding:0 13px}.brand-mark{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:#30c6b6;color:#0b2532;font-size:21px;font-weight:700;box-shadow:0 7px 24px #19bdad2c}.brand strong{display:block;font-size:20px;letter-spacing:2px;line-height:1.1}.brand small{display:block;color:#71839d;font-size:9px;letter-spacing:2px;margin-top:5px}.side-caption{margin:58px 13px 17px;color:#8391a7;font-size:12px;font-weight:600;letter-spacing:1px;display:flex;justify-content:space-between}.side-caption span{font-size:9px;color:#53647a;letter-spacing:1.5px}.nav{display:grid;gap:6px}.nav-item{border:0;color:#a1afc1;background:transparent;padding:14px 13px;border-radius:10px;text-align:left;display:flex;align-items:center;gap:13px;font-size:13px;font-weight:600;transition:.2s}.nav-item:hover{background:#1b2a3d;color:#fff}.nav-item.active{color:#54ded0;background:#1b343f;box-shadow:inset 3px 0 #31c7b5}.nav-icon{font-size:22px;width:20px;line-height:1;text-align:center;font-weight:400}.nav-index{margin-left:auto;color:#64768b;font-size:10px;letter-spacing:1px}.nav-item.active .nav-index{color:#4d9c9a}.sidebar-bottom{margin-top:auto}.connection-card{display:flex;align-items:center;gap:11px;border:1px solid #2a384a;background:#172335;padding:13px;border-radius:11px;margin-bottom:13px}.connection-card strong{display:block;font-size:11px;font-weight:600;color:#dde9f1}.connection-card small{display:block;color:#74869c;font-size:10px;margin-top:4px}.pulse{width:8px;height:8px;flex:none;border-radius:50%;background:#3ed7ba;box-shadow:0 0 0 4px #3ed7ba18}.settings-link{border:0;background:none;color:#8da2b7;width:100%;display:flex;align-items:center;gap:10px;padding:11px 14px;font-size:12px;text-align:left}.settings-link span:last-child{margin-left:auto}.settings-link:hover{color:#fff}.main{flex:1;min-width:0}.topbar{height:69px;background:#fff;border-bottom:1px solid #e9edf3;display:flex;align-items:center;justify-content:space-between;padding:0 43px}.breadcrumb{color:#99a4b4;font-size:12px}.breadcrumb span{padding:0 12px;color:#c9d0da}.breadcrumb strong{color:#33445b;font-weight:600}.top-actions{display:flex;align-items:center;gap:21px}.today{color:#96a1af;font-size:11px}.avatar{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#e6f8f4;color:#159c8e;font-size:10px;font-weight:700}.main-inner{max-width:1440px;margin:auto;padding:39px 45px 70px}.tab-page{display:none}.tab-page.active{display:block}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:29px}.eyebrow{display:flex;align-items:center;gap:8px;color:#21b8aa;font-size:10px;letter-spacing:2px;font-weight:700}.eyebrow>span:first-child{width:5px;height:5px;background:#27c4b3;border-radius:50%}.eyebrow-line{width:30px;height:1px;background:#8fded4;margin-left:3px}.page-heading h1{font-size:31px;letter-spacing:-1px;margin:10px 0 7px;font-weight:700;color:#18253b}.title-dot{color:#23c3b2}.page-heading p{margin:0;color:#8290a3;font-size:13px}.heading-badge{border:1px solid #deecea;background:#effaf7;color:#289b90;padding:10px 15px;border-radius:7px;font-size:11px;font-weight:600;letter-spacing:.5px}.heading-badge span{font-size:14px;margin-right:6px}.card{background:#fff;border:1px solid #e8edf3;border-radius:12px;box-shadow:0 9px 28px #172d5108}.collect-input,.search-panel{padding:22px 25px 18px}.card-top{display:flex;justify-content:space-between;align-items:center}.card-top>div{display:flex;align-items:center;gap:10px}.card-top h2{margin:0;font-size:14px;font-weight:700;color:#23334a}.step{display:grid;place-items:center;width:23px;height:23px;border-radius:6px;background:#e8f8f4;color:#29b7a8;font-size:10px;font-weight:700}.subtle{color:#a0adbc;font-size:11px}.url-form{display:flex;gap:10px;margin-top:21px}.input-wrap{height:48px;border:1px solid #e1e7ef;background:#fbfcfe;border-radius:7px;display:flex;align-items:center;flex:1;min-width:0;transition:.2s}.input-wrap:focus-within{border-color:#28c4b3;box-shadow:0 0 0 3px #28c4b31c}.link-symbol{width:42px;text-align:center;color:#8c9eb3;font-size:20px}.input-wrap input{background:transparent;border:0;outline:0;width:100%;padding-right:14px;color:#27364b;font-size:12px}.input-wrap input::placeholder{color:#abb7c5}.primary-button{border:0;border-radius:7px;background:#24bda9;color:#fff;padding:0 19px;min-height:46px;display:inline-flex;align-items:center;justify-content:center;gap:24px;font-size:12px;font-weight:700;white-space:nowrap;box-shadow:0 5px 13px #21baa72a;transition:.2s}.primary-button:hover{background:#1aa997;transform:translateY(-1px)}.primary-button:disabled{opacity:.55;cursor:wait;transform:none}.primary-button span:last-child{font-size:17px;font-weight:400}.input-hint{display:flex;align-items:center;gap:7px;color:#8d9bab;font-size:10px;margin-top:13px}.small-dot{width:5px;height:5px;border-radius:50%;background:#26c9b5}.input-hint button{border:0;background:transparent;color:#18aa9b;padding:0 3px;font-size:10px}.results-grid{display:grid;grid-template-columns:minmax(0,1.14fr) minmax(350px,.86fr);gap:18px;margin-top:20px}.article-card,.word-card{min-height:395px;padding:22px 23px;overflow:hidden}.card-tag{color:#a2adbb;background:#f4f6f9;font-size:9px;padding:6px 9px;border-radius:5px;letter-spacing:1px;font-weight:700}.card-tag.blue{background:#edf5ff;color:#6a9bd0}.empty-state,.word-empty{height:320px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.empty-state strong,.word-empty strong{color:#5d6e83;font-size:13px}.empty-state p,.word-empty p{color:#acb7c5;font-size:11px;margin:8px 0 0}.empty-art{width:96px;height:101px;position:relative;margin-bottom:17px}.sheet{position:absolute;width:63px;height:76px;border:1px solid #d4ebe8;border-radius:7px;background:#f9fefd;top:9px;left:18px}.sheet.s1{transform:rotate(-14deg);left:11px;top:15px;background:#eff9f7}.sheet.s2{transform:rotate(6deg);box-shadow:0 4px 15px #d7eeea}.sheet span{display:block;width:33px;height:4px;background:#d3e9e5;border-radius:3px;margin:16px 0 0 13px}.sheet span+span{margin-top:8px;width:39px}.sheet span:last-child{width:26px}.empty-art i{position:absolute;right:0;top:0;font-size:20px;color:#30c7b6;font-style:normal}.orbit{height:113px;width:113px;border:1px dashed #b9dedd;border-radius:50%;position:relative;margin-bottom:20px;display:grid;place-items:center;background:radial-gradient(circle,#ecfaf8 0 36%,transparent 37%)}.orbit:before,.orbit:after{content:'';position:absolute;inset:14px;border:1px solid #e3efee;border-radius:50%}.orbit:after{inset:31px}.orbit b{font-size:27px;color:#35bdb1;z-index:1;font-weight:500}.orb{position:absolute;border-radius:50%;z-index:2}.orb-a{width:9px;height:9px;background:#30cbb9;top:18px;left:9px}.orb-b{width:6px;height:6px;background:#99d2f1;right:-4px;top:55px}.orb-c{width:5px;height:5px;background:#b3dbd4;bottom:14px;left:24px}.article-result{padding-top:20px}.result-meta{display:flex;gap:15px;color:#91a0b0;font-size:10px}.result-meta span+span{color:#1aaa9a}.article-result h3{font-size:20px;line-height:1.5;margin:11px 0;color:#1d2c42}.result-description{color:#7e8ea0;font-size:12px;line-height:1.7;margin:0}.result-divider{height:1px;background:#edf0f4;margin:20px 0}.article-content{white-space:pre-wrap;color:#4c5b6d;font-size:12px;line-height:2;max-height:410px;overflow:auto;padding-right:5px}.result-bottom{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #edf0f4;padding-top:16px;margin-top:20px;color:#a2adba;font-size:11px}.text-button{color:#1cae9f;background:none;border:0;padding:2px 0;font-size:11px;font-weight:700}.text-button:hover{text-decoration:underline}.text-button:disabled{color:#acb7c3;cursor:not-allowed;text-decoration:none}#wordChart{height:300px;width:100%}.keyword-list{display:flex;flex-wrap:wrap;gap:6px;max-height:92px;overflow:auto}.keyword-list span{border-radius:4px;background:#eff9f7;color:#269f93;font-size:10px;padding:5px 7px}.keyword-list span:nth-child(3n){background:#f0f5fb;color:#6389ad}.search-note{color:#a2acb9;font-size:10px;margin:13px 0 0}.demo-label{background:#fff6e9;color:#c28d45;border-radius:5px;padding:6px 9px;font-size:10px}.section-heading{display:flex;justify-content:space-between;align-items:center;margin:28px 1px 14px}.section-heading h2{font-size:16px;margin:0 0 5px}.section-heading p{font-size:11px;color:#9aa8b7;margin:0}.section-heading>span{color:#a7b3c0;font-size:10px;letter-spacing:1px}.search-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.search-placeholder{grid-column:1/-1;display:flex;align-items:center;justify-content:center;flex-direction:column;height:265px;border:1px dashed #dbe4ee;border-radius:11px;background:#fbfcfe;color:#9eafbe}.search-placeholder span{font-size:40px;line-height:1}.search-placeholder strong{font-size:13px;color:#718094;margin-top:15px}.search-placeholder p{font-size:11px}.search-card{padding:19px;min-height:198px;display:flex;flex-direction:column}.search-card .search-card-top{display:flex;justify-content:space-between;color:#8a9bab;font-size:10px}.search-card-top span:first-child{color:#1cab9b;font-weight:700}.search-card h3{font-size:15px;line-height:1.55;margin:20px 0 8px;color:#243248}.search-card p{color:#8b99a9;font-size:11px;line-height:1.7;margin:0;flex:1}.search-card-footer{border-top:1px solid #edf0f4;padding-top:13px;margin-top:16px;display:flex;justify-content:space-between;align-items:center;color:#8d9cab;font-size:10px}.search-card-footer b{color:#e6935d;font-size:12px}.rewrite-toolbar{display:flex;align-items:center;gap:19px;padding:18px 22px;margin-bottom:18px}.style-control{display:flex;align-items:center;gap:12px}.style-control label{font-size:11px;color:#8594a6;font-weight:600;white-space:nowrap}.style-control select{background:#f8fafc;border:1px solid #e0e7ee;border-radius:6px;height:38px;padding:0 35px 0 12px;font-size:12px;color:#2a3c52;outline:0}.style-description{font-size:11px;color:#a2afbd;flex:1}.rewrite-toolbar .primary-button{min-height:40px}.rewrite-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.editor-card{min-height:510px;display:flex;flex-direction:column;overflow:hidden}.editor-heading{display:flex;align-items:center;justify-content:space-between;padding:20px 21px;border-bottom:1px solid #edf0f4}.editor-heading>div{display:flex;align-items:center;gap:9px}.editor-heading h2{font-size:13px;margin:0}.editor-heading>span{color:#9ba9b7;font-size:10px}.editor-marker{height:7px;width:7px;border-radius:50%}.original-marker{background:#85a5ce}.output-marker{background:#2ac7b7}.editor-card textarea{border:0;resize:vertical;min-height:395px;outline:0;padding:23px;color:#3c4b5e;font-size:12px;line-height:2;flex:1}.editor-card textarea::placeholder{color:#b3becc}.editor-footer{border-top:1px solid #edf0f4;padding:14px 21px;display:flex;align-items:center;justify-content:space-between;color:#a0acba;font-size:10px}.output-card{background:#fcfefd}.rewrite-output{padding:23px;white-space:pre-wrap;overflow:auto;max-height:555px;flex:1;color:#415269;font-size:12px;line-height:2}.empty-output{display:flex;align-items:center;justify-content:center;flex-direction:column;color:#a8b6c3;text-align:center}.empty-output .sparkle{font-size:41px;color:#67cfc3}.empty-output strong{font-size:13px;color:#718497;margin-top:8px}.empty-output p{font-size:11px;margin-top:6px}.notice{display:flex;align-items:flex-start;gap:12px;margin-top:18px;border:1px solid #d9ece9;background:#f0faf8;padding:14px 17px;border-radius:8px;color:#269e92}.notice p{margin:0;font-size:11px;line-height:1.7}.notice span{font-size:15px}.history-stats{display:grid;grid-template-columns:1fr 1fr 1fr;gap:16px}.stat-card{height:130px;border:1px solid #e7edf3;background:#fff;border-radius:10px;padding:20px 22px;display:flex;flex-direction:column}.stat-card>span{color:#8393a5;font-size:11px}.stat-card strong{font-size:30px;color:#24334a;line-height:1.5}.stat-card small{font-size:9px;color:#b2bdc9;letter-spacing:1px;margin-top:auto}.stat-accent{background:#182a3c}.stat-accent>span{color:#a5bac8}.stat-accent strong{font-size:19px;color:#e9fff9;margin-top:10px}.stat-accent strong span{color:#3ad5bd;margin-left:9px}.stat-accent small{color:#63839a}.history-heading{margin-top:31px}.history-list{display:grid;gap:11px}.history-row{background:#fff;border:1px solid #e8edf3;border-radius:9px;padding:17px 19px;display:flex;align-items:center;gap:16px}.history-icon{width:40px;height:40px;display:grid;place-items:center;flex:none;background:#eaf8f5;color:#26ad9f;font-size:19px;border-radius:8px}.history-main{min-width:0;flex:1}.history-main h3{margin:0 0 6px;font-size:13px;color:#2c3d53;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.history-main p{margin:0;color:#a3afbc;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.history-date{color:#9caab8;font-size:10px;white-space:nowrap}.history-actions{display:flex;gap:12px}.history-actions button{border:0;background:transparent;color:#21ae9f;font-size:11px}.history-actions button:last-child{color:#a9b4c0}.history-empty{height:245px;display:grid;place-content:center;text-align:center;color:#a8b7c4;border:1px dashed #dce5ee;border-radius:10px}.history-empty strong{color:#738498;font-size:13px}.history-empty p{font-size:11px}.toast{position:fixed;bottom:24px;right:25px;background:#16283a;color:#fff;padding:12px 17px;border-radius:7px;font-size:12px;box-shadow:0 12px 30px #12263d2e;opacity:0;transform:translateY(10px);pointer-events:none;transition:.25s;z-index:10;max-width:360px}.toast.show{opacity:1;transform:translateY(0)}.toast.error{background:#a04442}.settings-dialog{border:0;border-radius:13px;padding:0;width:min(600px,calc(100vw - 28px));max-height:min(790px,90vh);box-shadow:0 25px 90px #1125384d;color:#24344a}.settings-dialog::backdrop{background:#0d1d32a6;backdrop-filter:blur(3px)}.dialog-head{padding:22px 26px 18px;display:flex;justify-content:space-between;align-items:flex-start;border-bottom:1px solid #ebeff3}.dialog-eyebrow{font-size:9px;color:#23b5a5;letter-spacing:2px;font-weight:700}.dialog-head h2{font-size:21px;margin:5px 0 0}.close-button{background:#f3f6f9;border:0;width:30px;height:30px;border-radius:6px;color:#7d8ca0;font-size:20px}.dialog-body{padding:0 26px;overflow:auto;max-height:620px}.settings-section{padding:20px 0;border-bottom:1px solid #edf0f3}.settings-section h3{font-size:14px;margin:0 0 5px}.settings-section>p{font-size:11px;color:#91a0b0;line-height:1.6;margin:0 0 17px}.radio-row{display:flex;gap:10px;margin-bottom:15px}.radio-row label{border:1px solid #e1e8ee;border-radius:6px;padding:9px 12px;font-size:11px;cursor:pointer;color:#52647a}.radio-row label:has(input:checked){border-color:#30bea9;background:#eefaf7;color:#159c8f}.radio-row input{accent-color:#28baa8;margin-right:6px}.field-label{font-size:11px;font-weight:600;color:#53647a;display:block;margin:12px 0}.field-label small{font-size:10px;color:#9caab9;font-weight:400}.field-label input{display:block;width:100%;height:38px;margin-top:7px;border:1px solid #e0e7ef;border-radius:6px;padding:0 11px;outline:0;color:#314157;font-size:11px}.field-label input:focus{border-color:#28bba9}.settings-footnote{font-size:10px;color:#97a4b3;line-height:1.6;margin:15px 0 18px}.dialog-actions{padding:16px 26px;display:flex;justify-content:flex-end;gap:10px;border-top:1px solid #edf0f3;background:#fff}.secondary-button{background:#f3f6f8;border:0;border-radius:6px;padding:0 20px;color:#748498;font-size:11px}.dialog-actions .primary-button{min-height:38px;gap:15px}@media(max-width:1050px){.sidebar{width:205px}.main-inner{padding:35px 27px}.topbar{padding:0 27px}.results-grid{grid-template-columns:1fr}.article-card,.word-card{min-height:330px}.search-results{grid-template-columns:repeat(2,1fr)}}@media(max-width:700px){.app-shell{display:block}.sidebar{width:100%;height:auto;position:static;padding:15px 18px;display:block}.brand{display:inline-flex;padding:0}.brand-mark{width:34px;height:34px;font-size:18px}.brand strong{font-size:17px}.side-caption,.sidebar-bottom{display:none}.nav{display:flex;overflow:auto;margin-top:16px;gap:5px}.nav-item{white-space:nowrap;padding:10px 11px;font-size:11px}.nav-icon{font-size:16px;width:auto}.nav-index{display:none}.topbar{height:49px;padding:0 18px}.today{display:none}.main-inner{padding:27px 17px 45px}.page-heading{align-items:flex-start;gap:10px}.page-heading h1{font-size:26px}.page-heading p{font-size:11px;line-height:1.6}.heading-badge{display:none}.collect-input,.search-panel{padding:18px}.subtle{display:none}.url-form{flex-direction:column}.url-form .primary-button{width:100%}.results-grid,.rewrite-grid,.history-stats{grid-template-columns:1fr}.search-results{grid-template-columns:1fr}.rewrite-toolbar{flex-wrap:wrap;gap:11px}.style-description{min-width:100%}.rewrite-toolbar .primary-button{width:100%}.editor-card{min-height:390px}.editor-card textarea{min-height:290px}.history-row{flex-wrap:wrap}.history-date{margin-left:56px}.history-actions{margin-left:auto}.stat-card{height:105px}.settings-dialog{max-height:90vh}}
.ai-provider-row{flex-wrap:wrap}.ai-config{background:#f8fbfc;border:1px solid #e8eff1;border-radius:7px;padding:10px 14px;margin-top:8px}.provider-endpoint{font-size:10px;color:#8998a8;margin:4px 0 10px}.provider-endpoint strong{font-weight:600;color:#279f95;margin-left:5px}.field-label select{display:block;width:100%;height:38px;margin-top:7px;border:1px solid #e0e7ef;border-radius:6px;padding:0 11px;outline:0;color:#314157;font-size:11px;background:#fff}.demo-hint{border:1px solid #e5ecef;background:#f7fafb;border-radius:7px;padding:13px;color:#7d8da0;font-size:11px;margin-top:10px}
.top-link{font-size:11px;color:#1eab9e;text-decoration:none;white-space:nowrap}.top-link:hover{text-decoration:underline}.logout-link{border:0;background:transparent;color:#9ba8b7;font-size:11px;padding:0;white-space:nowrap}.logout-link:hover{color:#2b3c52}@media(max-width:700px){.top-actions{gap:10px}.top-link,.logout-link{font-size:10px}.topbar .avatar{display:none}}
.trends-panel{padding:21px 24px}.trends-panel select{height:34px;border:1px solid #dce6ed;border-radius:6px;background:#f9fbfc;color:#34495d;padding:0 9px;font-size:11px}.trends-panel p{margin:15px 0 0;color:#94a2b1;font-size:11px}.trend-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:17px}.trend-stats .stat-card{height:115px}.trend-stats #trendTop{font-size:20px;margin-top:10px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.trend-results{grid-template-columns:1.3fr .7fr}.trend-chart-card,.trend-list-card{min-height:390px;padding:22px}.trend-chart-card #trendChart{height:325px;width:100%}.trend-list{margin-top:20px;display:grid;gap:8px;max-height:315px;overflow:auto}.trend-row{display:flex;align-items:center;gap:12px;padding:10px 12px;background:#f8fafc;border-radius:7px}.trend-rank{color:#3bbcab;font-size:10px;font-weight:700;width:22px}.trend-row strong{font-size:12px;color:#314357;flex:1}.trend-row span:last-child{font-size:10px;color:#91a1b0}.trend-empty{height:290px;display:grid;place-content:center;text-align:center;color:#a1afbd;font-size:12px;line-height:1.8}@media(max-width:850px){.trend-stats{grid-template-columns:1fr 1fr 1fr}.trend-results{grid-template-columns:1fr}}@media(max-width:600px){.trend-stats{grid-template-columns:1fr}.trend-stats .stat-card{height:95px}}
