@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--ink:#192323;--muted:#788282;--line:#e5e9e6;--soft:#f4f7f4;--green:#20a874;--green2:#e9f7f0;--orange:#e99348;--red:#dd6262}*{box-sizing:border-box}body{margin:0;background:#f7f9f7;color:var(--ink);font:14px Manrope,Arial,sans-serif}button,input,select{font:inherit}button{cursor:pointer;border:0;color:inherit;background:none}.app{display:flex;min-height:100vh}aside{width:258px;background:#fff;border-right:1px solid var(--line);padding:30px 17px 22px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:11px;padding:0 14px 48px}.logo{width:38px;height:38px;background:#183c37;color:#fff;border-radius:10px;display:grid;place-items:center;font:800 23px Georgia}.brandname{font-weight:800;letter-spacing:2px;font-size:18px}.sub{color:#89938f;font:500 9px 'DM Mono';letter-spacing:2px;margin-top:2px}.navlabel{color:#a3aca8;font:500 10px 'DM Mono';letter-spacing:1.4px;padding:0 15px 11px}.nav{height:44px;border-radius:8px;display:flex;align-items:center;gap:12px;padding:0 14px;color:#71807b;width:100%;text-align:left;position:relative}.nav svg{width:18px}.nav.active{background:var(--green2);color:#16875f;font-weight:700}.nav.active i{position:absolute;right:0;width:3px;height:24px;background:var(--green);border-radius:3px}.settingslabel{margin-top:34px}.sidehint{margin: auto 9px 25px;background:#f2f6f3;border-radius:10px;padding:14px 12px;display:flex;gap:9px;color:#378d6e;font-size:11px;line-height:1.5}.sidehint span{color:#87938e}.profile{border-top:1px solid var(--line);padding:18px 6px 0;display:flex;align-items:center;gap:9px;font-size:11px}.profile small{display:block;color:#a1aaa6;font-size:10px;margin-top:3px}.profile svg{margin-left:auto;color:#a4aea9}.avatar{background:#f7d9bf;color:#a45e32;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;font-weight:800}main{flex:1;padding:39px 52px 70px;max-width:1440px;margin:auto;width:100%}header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:38px}.eyebrow{color:#9aa4a0;font:500 10px 'DM Mono';letter-spacing:1.5px;margin-bottom:8px}h1{font-size:29px;letter-spacing:-.8px;margin:0}h2{font-size:20px;letter-spacing:-.4px;margin:0 0 7px}p{margin:0;color:#88928f;line-height:1.55}.header-actions{display:flex;align-items:center;gap:20px}.saved{font-size:11px;color:#86928d}.saved span{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--green);margin-right:6px}.iconbtn{width:35px;height:35px;border:1px solid var(--line);border-radius:8px;color:#78847f}.steps{display:flex;align-items:center;max-width:720px;margin:0 auto 38px}.step{display:flex;align-items:center;gap:10px;color:#a4aeaa;white-space:nowrap}.step b{font:500 11px 'DM Mono';border:1px solid #dce3df;width:29px;height:29px;border-radius:50%;display:grid;place-items:center}.step.current{color:var(--green);font-weight:700}.step.current b{background:var(--green);color:white;border-color:var(--green)}.line{height:1px;background:#dfe6e1;width:100%;margin:0 18px}.panel{background:#fff;border:1px solid var(--line);border-radius:12px;padding:29px 32px;box-shadow:0 8px 30px #314b3d06}.panelhead{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:27px}.tag{background:#f3f6f3;color:#74807b;border-radius:5px;padding:6px 10px;font:500 10px 'DM Mono';white-space:nowrap}.tag.success{color:#16875f;background:var(--green2)}.sourcebox{height:48px;border:1px solid #dbe4df;border-radius:7px;display:flex;align-items:center;padding:0 14px;gap:10px;color:#92a09a}.sourcebox input{border:0;outline:0;flex:1;color:var(--ink)}.sourcebox span{font:500 9px 'DM Mono';color:var(--green);background:var(--green2);padding:5px 7px;border-radius:4px}.or{display:flex;align-items:center;gap:13px;justify-content:center;color:#a6afab;font:500 10px 'DM Mono';margin:22px 0}.or i{height:1px;background:var(--line);width:30%}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:20px 22px}.field{display:block}.field>span{display:block;font-size:11px;font-weight:700;color:#63706b;margin-bottom:8px}.inputwrap{height:43px;border:1px solid #dbe4df;border-radius:7px;display:flex;align-items:center;overflow:hidden;background:#fff}.inputwrap:focus-within{border-color:var(--green)}.inputwrap input,.inputwrap select{border:0;outline:0;flex:1;min-width:0;padding:0 12px;color:var(--ink);background:transparent}.inputwrap em{font-style:normal;font:11px 'DM Mono';color:#9da7a3;padding-right:12px}.info{margin:26px 0 25px;background:#fff8ee;border:1px solid #f3e2cc;color:#af7541;border-radius:7px;padding:12px 14px;display:flex;gap:10px;font-size:11px;line-height:1.5}.primary{background:var(--green);color:#fff;border-radius:7px;height:43px;padding:0 17px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:700;font-size:12px;box-shadow:0 5px 12px #20a8742b}.primary:hover{background:#188e64}.next{margin-left:auto}.secondary{height:42px;border:1px solid #dce4df;border-radius:7px;padding:0 16px;color:#68756f;background:#fff;font-weight:600;font-size:12px}.actions{display:flex;justify-content:flex-end;gap:10px;margin-top:27px}.delivery{background:#f7faf8;border-radius:9px;padding:17px;margin-bottom:19px}.deliverytitle{display:flex;gap:9px;align-items:center;font-size:12px;margin-bottom:13px;color:#42534c}.deliverychoices{display:flex;gap:10px}.deliverychoices button{background:#fff;border:1px solid var(--line);border-radius:7px;padding:12px 14px;display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:145px;text-align:left}.deliverychoices button.chosen{border-color:var(--green);box-shadow:0 0 0 1px var(--green);background:#f3fbf7}.deliverychoices span{font-size:11px}.deliverychoices strong{font-size:12px}.costlist{border-top:1px solid var(--line)}.costrow{display:flex;align-items:center;padding:14px 0;border-bottom:1px solid var(--line);min-height:60px}.costlabel{display:flex;align-items:center;gap:11px;flex:1}.costicon{width:29px;height:29px;border-radius:7px;background:#f1f5f2;color:#6d8077;display:grid;place-items:center}.costicon svg{width:15px}.costlabel b{font-size:12px}.costlabel small{display:block;color:#98a29e;font-size:10px;margin-top:3px}.costvalue{color:#64746d;font:500 12px 'DM Mono'}.mode{display:flex;align-items:center;gap:5px}.mode select{height:33px;border:1px solid var(--line);border-radius:5px;color:#68766f;background:#fff;font-size:10px;padding:0 6px}.mode input{height:33px;width:65px;border:1px solid var(--line);border-radius:5px;padding:0 7px;font:11px 'DM Mono'}.mode span{font:11px 'DM Mono';color:#89948f;width:13px}.linkbtn{font-size:10px;color:var(--green);margin-left:10px}.calcpreview{display:flex;justify-content:space-between;align-items:center;background:#f5f8f5;padding:17px 16px;border-radius:7px;margin-top:22px}.calcpreview span{display:block;color:#7b8982;font-size:10px}.calcpreview b{font-size:12px}.calcpreview>strong{font-size:18px}.resultlayout{display:grid;grid-template-columns:1fr 1fr;gap:20px}.ratebar{display:flex;align-items:center;gap:10px;background:#f6faf7;border-radius:7px;padding:13px;margin-bottom:14px}.ratebar span{color:#7b8982;font-size:10px}.ratebar b{font:500 13px 'DM Mono'}.ratebar small{margin-left:auto;color:#99a39f;font-size:10px}.breakrow{display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px solid #eef1ef;font-size:11px}.breakrow span{color:#738079}.breakrow b{font-weight:600}.totalrow{display:flex;justify-content:space-between;align-items:center;padding:20px 0 11px;font-weight:700}.totalrow b{font-size:25px;letter-spacing:-1px}.profitline{display:flex;justify-content:space-between;background:var(--green2);color:#188760;padding:11px;border-radius:6px;font-size:11px}.full{width:100%;margin-top:23px}.previewprice{font-size:30px;font-weight:800;letter-spacing:-1px;border-bottom:1px solid var(--line);padding:1px 0 20px;margin-bottom:19px}.previewprice small{display:block;color:#9aa59f;font-size:10px;font-weight:500;letter-spacing:0;margin-top:5px}.generated{display:block;position:relative;border-bottom:1px solid var(--line);padding:0 33px 17px 0;margin-bottom:16px}.generated span{font:500 9px 'DM Mono';color:#a1aca6;display:block;margin-bottom:7px}.generated div{font-size:12px;line-height:1.5}.generated button{position:absolute;right:0;top:15px;color:#8b9992}.generated button svg{width:15px}.toast{position:fixed;right:34px;top:26px;background:#193c36;color:#fff;padding:12px 16px;border-radius:7px;display:flex;align-items:center;gap:8px;font-size:12px;z-index:3}.settingspage{max-width:920px}.settingsgrid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.settingcard{padding:25px 26px}.settingcard .panelhead{margin-bottom:21px}.settingcard .panelhead h2{font-size:16px}.settingcard .panelhead svg{color:#7d8b83}.rateinput{display:flex;align-items:flex-end;gap:10px}.rateinput .field{flex:1}.small{height:43px;display:flex;align-items:center;gap:7px}.segmented{display:flex;background:#f3f6f3;padding:3px;border-radius:6px;margin:18px 0 8px}.segmented button{flex:1;padding:8px 0;color:#8a9790;font-size:11px;border-radius:4px}.segmented button.on{background:#fff;color:var(--green);font-weight:700;box-shadow:0 1px 4px #0000000d}.muted{font-size:10px;color:#a1aaa5}.settingline{display:flex;align-items:center;gap:10px;padding:13px 0;border-bottom:1px solid #edf0ee}.settingline>div:first-child{flex:1}.settingline b{font-size:11px;display:block}.settingline small{font-size:9px;color:#9ba6a1;display:block;margin-top:3px}.settingline .mode select{max-width:120px}.settingline .mode input{width:54px}.addbtn{color:var(--green);font-weight:700;font-size:11px;display:flex;align-items:center;gap:7px;padding-top:16px}.remove{color:#c98383}.profitsetting{display:flex;align-items:flex-end;gap:18px}.profitsetting .field{width:170px}.quick{display:flex;gap:5px;padding-bottom:0}.quick button,.rounding button{border:1px solid var(--line);border-radius:5px;padding:8px 10px;font-size:11px;color:#77847d}.quick button:hover,.rounding button.on{border-color:var(--green);color:var(--green);background:var(--green2)}.rounding{border-top:1px solid var(--line);margin-top:22px;padding-top:18px;display:flex;justify-content:space-between;align-items:center;font-size:11px}.rounding>div{display:flex;gap:5px}.settingsfooter{display:flex;justify-content:space-between;align-items:center;margin-top:20px}.settingsfooter>span{color:#829089;font-size:10px;display:flex;align-items:center;gap:6px}.settingsfooter>span svg{color:var(--green)}.danger{color:#b66a6a;font-size:11px;display:flex;align-items:center;gap:7px}.historypage{max-width:950px}.historyintro{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.historyintro h2{font-size:21px}.historylist{display:flex;flex-direction:column;gap:9px}.historyitem{background:#fff;border:1px solid var(--line);border-radius:9px;padding:16px 18px;display:flex;align-items:center;gap:20px}.historydate{font:10px 'DM Mono';color:#a3ada8;width:130px}.historytitle{flex:1}.historytitle b{font-size:12px}.historytitle span{display:block;color:#8f9a94;font-size:10px;margin-top:4px}.historyitem>strong{font-size:16px}.empty{text-align:center;background:#fff;border:1px dashed #d5ded8;padding:70px 20px;border-radius:10px;color:#96a29b}.empty h3{color:#53635b;margin:14px 0 5px}.empty p{font-size:12px}
@media(max-width:900px){aside{width:215px}main{padding:30px 25px}.resultlayout,.settingsgrid{grid-template-columns:1fr}.formgrid{gap:14px}.settingsfooter{padding-bottom:20px}}
@media(max-width:620px){aside{width:64px;padding:20px 8px}.brand{padding:0 5px 35px}.brand>div:last-child,.nav span,.navlabel,.sidehint,.profile>div:not(.avatar),.profile svg{display:none}.nav{justify-content:center;padding:0}.settingslabel{margin-top:20px}main{padding:22px 14px}.header-actions{display:none}h1{font-size:24px}.steps{margin-bottom:25px}.step span{display:none}.line{margin:0 8px}.panel{padding:22px 17px}.formgrid{grid-template-columns:1fr}.panelhead{gap:10px}.costrow{flex-wrap:wrap;gap:8px}.costlabel{min-width:100%}.resultlayout{gap:15px}.deliverychoices button{min-width:0;flex:1}.settingline{flex-wrap:wrap}.settingline>div:first-child{min-width:100%}.settingsfooter{align-items:flex-start;gap:15px;flex-direction:column}.historyitem{flex-wrap:wrap;gap:8px}.historydate{width:100%}}
.source-input{display:flex;gap:10px;margin-bottom:14px}.source-input input{flex:1;min-width:0;height:44px;border:1px solid #dbe4df;border-radius:7px;padding:0 13px;outline:0}.source-input input:focus{border-color:var(--green)}.upload-row{display:flex;align-items:center;gap:12px;color:#8b9791;font-size:10px;margin-bottom:18px}.upload{border:1px dashed #a9cabb;color:var(--green);border-radius:7px;padding:11px 13px;cursor:pointer;font-weight:700;background:#f7fcf9}.upload input{display:none}.source-status{border-radius:8px;padding:13px 15px;margin:14px 0;font-size:11px}.source-status.ok{background:#edf9f2;border:1px solid #c9ead7;color:#1b805d}.source-status.warn{background:#fff8ee;border:1px solid #f1dec1;color:#a56f3c}.source-status span,.source-status small{display:block;color:#7d8b84;margin-top:5px;font-size:10px}.recognized,.manual-card{border:1px solid var(--line);border-radius:9px;padding:20px 18px;margin-top:18px}.recognized-head{display:flex;justify-content:space-between;gap:10px;margin-bottom:18px}.recognized h3,.manual-card h3{font-size:15px;margin:0 0 4px}.recognized .field,.manual-card .field{margin-bottom:15px}.checkline{display:flex;align-items:center;gap:8px;font-size:11px;font-weight:700;margin:15px 0}.checkline input{accent-color:var(--green);width:16px;height:16px}.uncertain{font-size:10px;background:#fff8ee;border-radius:6px;padding:10px;margin:12px 0 16px;color:#9b734a}.manual-card{background:#f8faf8}.manual-card p{font-size:11px;margin-bottom:15px}.notice{background:#fff8ee;color:#956d3e;border-radius:6px;padding:10px;font-size:10px;line-height:1.45;margin-top:15px}.mini{height:33px;width:58px;border:1px solid var(--line);border-radius:5px;padding:0 7px;font-size:11px}.source-input+.upload-row{flex-wrap:wrap}.settingcard .field{margin-bottom:13px}
.ai-actions{margin:16px 0 18px}.ai-actions .primary:disabled{opacity:.55;cursor:wait;box-shadow:none}.ai-error{margin-top:10px;background:#fff0f0;border:1px solid #f0caca;color:#a64f4f;border-radius:6px;padding:10px;font-size:11px;line-height:1.45}.not-generated{background:#f7f9f7;border:1px dashed #cdd8d1;color:#87948d;border-radius:7px;padding:15px;font-size:11px;line-height:1.5}.generated button{border:1px solid var(--line);border-radius:5px;padding:5px 7px;font-size:10px;background:#fff}
