@charset "UTF-8";
:root{--ink:#3d3659;--muted:#777187;--purple:#8063b8;--line:#e7e1ee;--cream:#fffaf2;--lavender:#eee7fa;--mint:#e7f5ec;--pink:#fbe8ed}
*{box-sizing:border-box}body{margin:0;color:var(--ink);background:#fbf9f5;font-family:"Microsoft YaHei","PingFang SC",system-ui,sans-serif;font-size:14px;background-image:radial-gradient(#dfd6e3 0.7px,transparent .7px);background-size:22px 22px}button,input,textarea{font:inherit}button,a,input,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid #9c79d4;outline-offset:4px}input:focus-visible,textarea:focus-visible{outline:2px solid #a78cce;outline-offset:-2px}[hidden]{display:none!important}.page{max-width:1160px;margin:auto;padding:0 42px}.topbar{height:99px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px;color:var(--ink);font-size:20px;font-weight:800;text-decoration:none;letter-spacing:1px}.brand small{display:block;font-size:9px;letter-spacing:2px;margin-top:4px;font-weight:600;text-transform:uppercase;color:var(--muted)}.brand-mark{display:grid;place-items:center;width:44px;height:44px;background:#e9def7;border:1px solid #d6c7e8;border-radius:15px;color:#8563ba;font-size:31px;transform:rotate(-7deg)}.top-note{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:7px}.top-note i{width:6px;height:6px;background:#85b99b;border-radius:50%}.hero{display:grid;grid-template-columns:1fr 1fr;align-items:center;min-height:330px;padding:34px 8px 30px;gap:32px}.eyebrow{color:var(--purple);font-size:12px;letter-spacing:2px}h1{font-size:49px;line-height:1.23;letter-spacing:2px;margin:17px 0 17px;font-weight:900;position:relative;width:max-content}h1>span:not(.title-star){color:#9171c6}.title-star{position:absolute;top:10px;right:-55px;color:#e9c564;font-size:38px;transform:rotate(12deg)}.hero-copy p{font-size:13px;line-height:1.95;color:var(--muted);margin:0 0 19px}.hero-sticker{display:inline-block;padding:7px 13px;border:1px solid #ddcfed;border-radius:7px;background:#f6f0fd;color:#8163a7;font-size:11px;transform:rotate(-2deg)}.hero-art{position:relative;min-width:0;display:flex;align-items:center;justify-content:center}.hero-art img{width:100%;height:285px;object-fit:contain;border-radius:100px 60px 100px 60px;mix-blend-mode:multiply}.art-caption{position:absolute;bottom:2px;right:30px;background:var(--cream);border:1px solid #d9cbe9;border-radius:12px 12px 12px 0;font-size:11px;padding:8px 15px;color:#8a72aa;transform:rotate(-4deg)}.workspace-heading{display:flex;justify-content:space-between;align-items:center;margin:3px 4px 16px;font-size:13px;font-weight:700}.workspace-heading small{color:#9e94ac;font-size:9px;letter-spacing:1.5px;font-weight:500}.workspace-heading small span{color:#c4a665;margin-left:8px}.tabs{display:flex;gap:10px;position:relative;z-index:1;padding:0 4px}.tab{position:relative;border:1px solid var(--line);border-bottom:0;color:var(--muted);background:#f1eef3;padding:16px 20px;border-radius:15px 15px 0 0;display:flex;align-items:center;gap:9px;font-size:13px;font-weight:600;min-height:57px}.tab[aria-selected="true"]{background:#fff;color:var(--purple);box-shadow:0 3px 0 #fff}.tab-icon{font-family:system-ui,sans-serif;background:#e6dfec;border-radius:7px;width:25px;height:25px;display:grid;place-items:center;font-size:12px}.tab[aria-selected="true"] .tab-icon{background:#ede5f8}.tab-spark{display:none;color:#b398db;margin-left:4px}.tab[aria-selected="true"] .tab-spark{display:inline}.tool-panel{background:#fff;border:1px solid var(--line);border-radius:0 20px 20px 20px;padding:27px 30px 24px;box-shadow:0 6px 0 #eee8f1,0 13px 32px #61507506;min-height:423px}.panel-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:23px}.panel-heading h2{font-size:21px;margin:0 0 7px;letter-spacing:.3px}.panel-heading p{color:var(--muted);font-size:12px;margin:0}.panel-deco{font-size:38px;color:#c2addb;margin-right:7px}.editor-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.editor-box{border:1px solid var(--line);border-radius:13px;overflow:hidden;background:#fff}.result-box{background:#fbf9fe}.editor-heading{display:flex;justify-content:space-between;align-items:center;padding:13px 16px;height:47px;font-size:12px;font-weight:600;border-bottom:1px dashed var(--line)}.text-button{border:0;background:transparent;color:var(--purple);font-size:11px;padding:4px}.text-button:hover{text-decoration:underline}.mini-pill{display:inline-block;background:#eee7f8;padding:4px 8px;border-radius:5px;font-size:9px;color:#8b71b3;letter-spacing:.5px;font-weight:500}textarea{display:block;width:100%;height:149px;resize:vertical;min-height:120px;max-height:500px;border:0;padding:14px 16px;background:transparent;color:var(--ink);font:13px/1.7 ui-monospace,Consolas,"Microsoft YaHei",monospace}textarea::placeholder{color:#aaa2b7;font-size:12px}.editor-bottom{padding:9px 16px;border-top:1px dashed var(--line);font-size:10px;color:#9d94aa;display:flex;align-items:center;justify-content:space-between;min-height:38px}.actions{display:flex;gap:10px;margin-top:21px}.button{border-radius:9px;border:1px solid var(--line);padding:11px 17px;font-size:12px;font-weight:600;transition:background .15s,transform .15s}.button:hover{transform:translateY(-1px)}.primary{background:#9172c6;color:#fff;border-color:#9172c6;box-shadow:0 3px 0 #7657a6}.primary:hover{background:#8060b7}.primary span{margin-left:15px}.secondary{background:#f4effc;color:var(--purple);border-color:#e2d7f2}.clear{background:#fff;color:var(--muted);margin-left:auto}.error{color:#b24964;font-size:12px;line-height:1.6;margin:12px 0 0}.error:empty{display:none}.hint{font-size:11px;line-height:1.8;color:#958aa2;margin:17px 0 0}.hint>span{color:var(--purple)}.little-notes{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin:33px 9px 31px}.little-notes>div{display:flex;align-items:center;gap:12px}.little-notes>div>span{background:#efe9f4;color:#ab8dcb;width:34px;height:34px;display:grid;place-items:center;border-radius:11px;font-size:23px;flex-shrink:0}.little-notes p{font-size:10px;color:#a296a9;line-height:1.9;margin:0}.little-notes strong{font-size:11px;color:#746580;font-weight:600}footer{border-top:1px solid var(--line);padding:20px 3px 26px;display:flex;justify-content:space-between;font-size:10px;color:#a195ac}footer>span:first-child{color:#8d76a7}.fuel-inputs{display:grid;grid-template-columns:1fr 1fr;gap:22px}.number-field label{display:block;font-size:12px;font-weight:600;margin-bottom:9px}.number-field>div{display:flex;align-items:center;border:1px solid var(--line);border-radius:11px;overflow:hidden;background:#fcfaff}.number-field input{width:100%;min-width:0;border:0;background:transparent;padding:15px;font-size:21px;font-weight:700;color:var(--ink)}.number-field div span{white-space:nowrap;padding-right:15px;font-size:11px;color:#9b8ea7}.fuel-caption{display:flex;justify-content:space-between;align-items:center;margin:23px 0 12px;font-size:12px;font-weight:600}.cost-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.cost-card{padding:19px 20px;border-radius:13px;border:1px solid #e4dbf0;background:#f3edfc;min-width:0}.cost-1{background:#edf7ef;border-color:#dcebdd}.cost-2{background:#fff4e6;border-color:#f0e3d0}.distance{font-size:18px;font-weight:800;display:block}.distance small{font-size:11px;font-weight:500}.trip-note{font-size:10px;color:#9685a6;display:flex;justify-content:space-between;margin-top:6px}.trip-note>span{font-size:17px}.cost-card p{margin:15px 0 8px;font-size:11px;color:#877396}.cost{font-size:29px;font-weight:800;color:#8264ad;overflow-wrap:anywhere}.cost-1 .cost{color:#578b70}.cost-2 .cost{color:#ba8751}.liters{font-size:10px;color:#94859d}.formula{display:flex;gap:12px;padding:14px 16px;background:#faf8fc;border:1px dashed var(--line);border-radius:10px;margin-top:18px}.formula>span{font-size:24px;color:#a990c5}.formula strong{font-size:11px;font-weight:600}.formula p{font-size:11px;color:#93859f;line-height:1.6;margin:5px 0 0}.toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%,20px);background:#514264;color:#fff;padding:13px 22px;border-radius:13px;box-shadow:0 5px 20px #31263e20;opacity:0;pointer-events:none;transition:.2s;font-size:12px;z-index:5;max-width:90vw;text-align:center}.toast.show{opacity:1;transform:translate(-50%,0)}[aria-invalid="true"]{background-color:#fff4f6}
@media(min-width:1300px){.hero{min-height:350px}.hero-art img{height:310px}}
@media(max-width:760px){.page{padding:0 22px}.topbar{height:81px}.top-note{font-size:0}.top-note i{width:7px;height:7px}.hero{grid-template-columns:1fr 1fr;gap:6px;padding:28px 0}.eyebrow{font-size:10px;letter-spacing:1px}h1{font-size:36px}.title-star{font-size:25px;right:-33px}.hero-copy p{font-size:11px}.hero-art img{height:235px}.art-caption{font-size:9px;right:0;bottom:15px}.tab{padding:13px 12px;font-size:11px;gap:6px}.tab-spark{display:none!important}.tool-panel{padding:23px 20px}.editor-grid{gap:12px}.actions{gap:7px}.button{padding:11px 13px}.little-notes{gap:10px;margin-left:0;margin-right:0}.little-notes>div{gap:8px}.little-notes>div>span{display:none}.cost-card{padding:16px 13px}.cost{font-size:24px}}
@media(max-width:520px){.page{padding:0 16px}.brand{font-size:17px}.brand-mark{width:39px;height:39px}.hero{grid-template-columns:1fr;position:relative;min-height:303px;overflow:hidden}.hero-copy{position:relative;z-index:1;pointer-events:none}.hero-copy p{max-width:210px;font-size:11px;line-height:1.8}.hero-art{position:absolute;width:225px;right:-30px;top:66px;opacity:.75}.hero-art img{height:190px}.art-caption{bottom:0;right:31px;font-size:9px}.hero-sticker{font-size:10px}.title-star{right:-31px}.workspace-heading small{font-size:0}.workspace-heading small span{font-size:16px}.tabs{gap:5px;padding:0 2px}.tab{padding:12px 9px;flex:1;justify-content:center;font-size:10px;white-space:nowrap}.tab-icon{width:20px;height:20px;font-size:10px}.tool-panel{padding:22px 16px;border-radius:0 15px 15px 15px}.panel-heading h2{font-size:19px}.panel-heading{margin-bottom:18px}.editor-grid{grid-template-columns:1fr}.editor-heading{height:42px}textarea{height:124px}.actions{flex-wrap:wrap;gap:8px}.button{font-size:11px;padding:11px 12px}.primary span{margin-left:5px}.clear{margin-left:0}.hint{font-size:10px}.little-notes{grid-template-columns:1fr;gap:12px;margin:25px 4px}.little-notes>div>span{display:grid;width:30px;height:30px;font-size:20px}.little-notes p br{display:none}.little-notes strong{margin-right:12px}footer{gap:13px;align-items:center}footer>span:last-child{text-align:right;font-size:8px;max-width:180px}.fuel-inputs{grid-template-columns:1fr;gap:15px}.cost-grid{grid-template-columns:1fr}.cost-card{position:relative;padding:17px;display:grid;grid-template-columns:1fr 1fr;align-items:center}.distance{font-size:19px}.trip-note{grid-column:1;grid-row:2;max-width:135px}.cost-card p{grid-column:2;grid-row:1;margin:0;text-align:right}.liters{grid-column:2;grid-row:2;text-align:right}.cost{font-size:27px}.fuel-caption .mini-pill{font-size:8px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
@media(max-width:520px){.tab{min-width:0;white-space:normal;padding:12px 5px;line-height:1.6}.tab-icon{display:none}.hero{gap:14px;padding-bottom:26px}.hero-art{position:relative;top:auto;right:auto;width:100%;opacity:1}.hero-art img{height:172px}.art-caption{right:15px;bottom:-5px}.hero-copy p{max-width:100%}.hero-copy{pointer-events:auto}}
