@import url('/fonts.css');
:root{--bg:#fbfcf9;--surface:#fff;--sidebar:#f1f4ed;--ink:#21372d;--muted:#7c877d;--line:#e4e9df;--green:#234d39;--green-dark:#163a28;--lime:#d9ef9a;--soft:#f3f6ee;--shadow:0 16px 54px #263c2312;font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none;font-size:14px}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}a{color:inherit;text-decoration:none}button{border:0;background:none}button:disabled{cursor:default;opacity:.5}svg{flex-shrink:0;vertical-align:middle}a,button{touch-action:manipulation}button:focus-visible,a:focus-visible{outline:3px solid #9bbd6f;outline-offset:3px}h1,h2,h3,p{margin-top:0}h1{font-size:35px;line-height:1.15;letter-spacing:-1.2px;font-weight:550}h2{font-size:19px;font-weight:600;letter-spacing:-.4px}h3{font-size:15px;font-weight:600}p{line-height:1.65}small{font-size:12px}.muted{color:var(--muted)}.full-width{width:100%;grid-column:1/-1}.tag,.count{display:inline-flex;border:1px solid var(--line);padding:5px 8px;border-radius:6px;font-size:10px;letter-spacing:.4px;color:var(--muted);font-weight:500}.count{margin-left:5px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid transparent;border-radius:9px;padding:11px 16px;font-size:12px;font-weight:550;white-space:nowrap;transition:background .15s,transform .15s}.btn:hover:not(:disabled){transform:translateY(-1px)}.primary{background:var(--green);color:#fff}.primary:hover:not(:disabled){background:var(--green-dark)}.secondary{border-color:var(--line);background:var(--surface)}.secondary:hover{background:var(--soft)}.danger{color:#a64334;background:#fff0eb}.text-button{display:inline-flex;align-items:center;gap:7px;padding:4px 0;font-size:12px;font-weight:550;color:var(--green)}.small-btn{padding:8px 12px;font-size:11px}.icon-btn{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:34px;height:34px;border-radius:7px;color:var(--muted)}.icon-btn:hover{background:var(--soft);color:var(--ink)}.tiny{width:26px;height:26px}.live-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#6c9d4f;flex-shrink:0}
.sidebar{position:fixed;inset:0 auto 0 0;width:256px;background:var(--sidebar);border-right:1px solid var(--line);display:flex;flex-direction:column;padding:25px 17px 13px;z-index:30}.brand{display:flex;align-items:center;gap:9px;font-size:33px;font-weight:650;letter-spacing:-1.8px;padding:0 11px;margin-bottom:31px}.brand-mark{display:flex;width:32px;height:32px;align-items:center;justify-content:center;color:var(--green);font-size:40px;line-height:1}.brand-dot{color:#80a05a}.local-label{margin-left:auto;background:#e6eadd;padding:4px 6px;border-radius:4px;letter-spacing:1.2px;font-size:8px;color:#7a846b;font-weight:600}.new-chat{background:var(--green);color:#fff;display:flex;align-items:center;gap:10px;border-radius:10px;padding:13px 14px;font-size:13px;font-weight:550}.new-chat span{margin-left:auto;font-size:9px;font-weight:400;color:#c3d4bf;border:1px solid #ffffff24;padding:2px 4px;border-radius:4px}.search-trigger{display:flex;gap:10px;align-items:center;padding:16px 12px;font-size:11px;color:var(--muted);text-align:left}.nav-caption,.history-heading{font-size:9px;letter-spacing:1.15px;font-weight:650;color:#8d9687;margin:20px 12px 10px}.nav-item{display:flex;align-items:center;gap:11px;padding:10px 12px;border-radius:8px;font-size:12px;margin-bottom:3px;color:#667365}.nav-item:hover{background:#e8ede2}.nav-item.active{background:#e3ebd9;color:#27472e;font-weight:600}.nav-item .live-dot{margin-left:auto}.history-heading{display:flex;align-items:center;justify-content:space-between;margin-top:24px;margin-bottom:3px}.chat-list{overflow:auto;flex:1;min-height:35px}.history-empty{padding:16px 13px;font-size:11px;line-height:1.75;color:#9aa291}.history-row{display:flex;align-items:center;border-radius:7px;padding:2px 2px 2px 10px;margin:3px 0;color:#6a7568}.history-row>a{display:flex;gap:8px;align-items:center;min-width:0;flex:1;padding:8px 0;font-size:11px}.history-row span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-row button{opacity:0}.history-row:hover,.history-row.selected{background:#e5ebdd}.history-row:hover button,.history-row.selected button{opacity:1}.sidebar-bottom{padding-top:13px}.usage-card{padding:14px;background:#e8eddf;border-radius:10px;border:1px solid #e0e6d8}.usage-card>div:first-child{display:flex;justify-content:space-between;font-size:10px}.usage-card strong{font-size:10px;font-weight:650}.usage-track{height:4px;background:#d6dfc8;border-radius:8px;margin:11px 0 7px;overflow:hidden}.usage-track i{height:100%;display:block;background:#628143;border-radius:8px}.usage-card small{font-size:9px;color:#8b947c}.usage-card>a{display:flex;justify-content:space-between;font-size:11px;font-weight:600;border-top:1px solid #d9e1ce;padding-top:11px;margin-top:12px}.profile{display:flex;align-items:center;gap:10px;width:100%;text-align:left;padding:17px 5px 1px}.avatar{width:33px;height:33px;background:#e3e8db;border:1px solid #d9e0cd;color:#758164;font-size:11px;font-weight:550;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0}.profile>span:nth-child(2){flex:1}.profile b{font-size:11px;font-weight:550}.profile small{display:block;color:#8b9382;font-size:9px;margin-top:4px}.avatar.big{width:50px;height:50px}.main-shell{margin-left:256px;min-height:100dvh}.topbar{height:76px;display:flex;align-items:center;justify-content:space-between;padding:0 35px;border-bottom:1px solid #edf0e8}.topbar-left,.topbar-right{display:flex;gap:14px;align-items:center}.top-title{font-weight:600;font-size:13px}.top-divider{height:15px;width:1px;background:var(--line)}#page-title{font-size:11px;color:#8a9387;max-width:400px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.beta{font-size:8px;letter-spacing:.6px;padding:3px 5px;border:1px solid var(--line);border-radius:4px;color:#8a9481}.private-note{font-size:10px;color:#8b9587;display:flex;align-items:center;gap:6px}.notification-button{position:relative}.notification-button i{position:absolute;width:5px;height:5px;border-radius:100%;background:#d5a669;right:5px;top:4px}.mobile-menu{display:none}
.welcome{max-width:880px;margin:0 auto;padding:49px 40px 25px}.welcome-intro{text-align:center;margin-bottom:28px}.intro-chip{display:inline-flex;align-items:center;gap:6px;font-size:8px;letter-spacing:1.8px;color:#80966b;font-weight:600;background:#f0f5e7;border:1px solid #e4ecd7;padding:6px 10px;border-radius:50px;margin-bottom:18px}.intro-chip span{font-size:16px;line-height:10px}.welcome h1{font-size:45px;font-weight:550;letter-spacing:-1.8px;line-height:1.13;margin-bottom:17px}.welcome h1>span{color:#799663}.welcome-intro>p{font-size:12px;color:#8c9486;line-height:1.8}.composer{border:1px solid #dce4d4;border-radius:16px;background:var(--surface);box-shadow:0 5px 26px #233e2307;padding:14px 15px 10px}.composer:focus-within{border-color:#a8c188;box-shadow:0 0 0 3px #adc38d12}.composer textarea{display:block;resize:none;width:100%;min-height:42px;max-height:180px;border:0;outline:0;padding:3px 2px 10px;background:transparent;font-size:13px;line-height:1.6;color:var(--ink)}.composer textarea::placeholder{color:#a2aa9a}.composer-bottom{display:flex;align-items:center;justify-content:space-between}.composer-bottom>div{display:flex;align-items:center;gap:5px}.mode-pill{display:flex;align-items:center;gap:5px;background:#f4f6f0;border:1px solid #e9ede2;font-size:9px;padding:6px 9px;border-radius:7px;color:#7d8974}.mode-pill.on{background:#e6efda;color:#426637}.send-button{width:34px;height:34px;border-radius:10px;background:var(--green);color:#e6efd7;display:flex;align-items:center;justify-content:center}.composer-note{text-align:center;font-size:9px;color:#a5ad9f;margin:10px 0 23px}.suggestion-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:11px;margin-bottom:32px}.suggestion-card{text-align:left;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:17px 13px 16px;position:relative;min-height:134px;transition:transform .15s,box-shadow .15s}.suggestion-card:hover{transform:translateY(-3px);box-shadow:0 8px 20px #3246220a}.suggestion-icon{display:inline-flex;width:34px;height:34px;border-radius:9px;align-items:center;justify-content:center;flex-shrink:0;margin-bottom:13px}.peach{background:#fbede3;color:#c18961}.lime{background:#edf3d7;color:#84984d}.lavender{background:#eeebf6;color:#9485ae}.mint{background:#e5f0e7;color:#6f9b7a}.suggestion-card strong{font-weight:550;font-size:11px;display:block;margin-bottom:6px;letter-spacing:-.15px}.suggestion-card small{font-size:9px;color:#9aa08f}.card-arrow{position:absolute;right:11px;top:18px;color:#aeb5a5}.home-market{border:1px solid var(--line);border-radius:12px;background:#fffefa;padding:18px 20px}.section-title{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:22px}.section-title>div{display:flex;align-items:center;gap:9px}.section-title h2,.section-title h3{margin:0}.section-title a{display:flex;align-items:center;gap:7px;font-size:10px;color:#7d8e6d}.home-market .section-title{margin-bottom:13px}.home-market h3{font-size:11px;font-weight:600}.home-market .muted{font-size:9px;border-left:1px solid var(--line);padding-left:9px}.home-market-content{display:flex;gap:32px;align-items:center}.current-price{min-width:185px}.current-price>small{color:#929a88;font-size:10px}.current-price>div{font-size:31px;font-weight:500;letter-spacing:-1px;margin:9px 0 14px}.current-price>div>span{font-size:10px;color:#a0a691;letter-spacing:0;margin-left:6px}.source-label{display:flex;gap:4px;align-items:center;color:#8ca176;font-size:8px}.mini-chart{flex:1;min-width:0}.price-chart{height:210px;display:flex;gap:12px;padding:18px 0 26px;position:relative}.chart-y{display:flex;flex-direction:column;justify-content:space-between;font-size:9px;color:#9da690;width:35px;padding-bottom:0}.chart-bars{display:flex;align-items:flex-end;gap:5px;flex:1;border-bottom:1px solid var(--line);background:repeating-linear-gradient(to top,transparent 0,transparent calc(50% - 1px),#e8eddf66 calc(50% - 1px),#e8eddf66 50%);position:relative}.chart-column{height:100%;flex:1;min-width:0;display:flex;flex-direction:column;justify-content:flex-end;position:relative}.chart-bar{background:#d3ddc1;border-radius:4px 4px 0 0;min-height:3px;transition:height .4s}.chart-column.current .chart-bar{background:#4f7750}.chart-column.best .chart-bar{background:#a8c779}.chart-column>span{position:absolute;top:100%;left:50%;transform:translateX(-50%);font-size:9px;color:#a0a78f;margin-top:8px}.bar-tooltip{display:none;position:absolute;bottom:calc(100% + 5px);left:50%;transform:translateX(-50%);padding:8px;background:var(--ink);color:#fff;border-radius:6px;font-size:9px;z-index:4;white-space:nowrap}.bar-tooltip b{display:block;margin-top:3px}.chart-column:hover .bar-tooltip{display:block}.chart-column:hover .chart-bar{background:#8cac68}.compact{height:105px;padding-top:5px;padding-bottom:18px;gap:8px}.compact .chart-y{font-size:7px;width:22px}.compact .chart-bars{gap:3px}.compact .chart-bar{border-radius:3px 3px 0 0}.compact .chart-column>span{font-size:7px;margin-top:5px}.chart-legend{display:flex;gap:18px;align-items:center;font-size:9px;color:#8b9680;margin-top:9px}.chart-legend>span{display:flex;gap:5px;align-items:center}.chart-legend i{width:6px;height:6px;border-radius:2px;background:#d3ddc1}.chart-legend i.mint{background:#a8c779}.compact+.chart-legend{font-size:7px;gap:13px;margin-top:2px}.welcome-footer{text-align:center;display:flex;gap:8px;align-items:center;justify-content:center;color:#a4ad98;font-size:9px;margin-top:24px}.welcome-footer span{font-size:17px;color:#b3c19d}
.page{max-width:1240px;margin:auto;padding:42px 42px 60px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:25px;margin-bottom:32px}.eyebrow{font-size:9px;letter-spacing:1.6px;color:#8c9f79;font-weight:600;margin-bottom:11px}.page-heading h1{margin-bottom:12px}.page-heading p{font-size:12px;color:var(--muted);margin:0}.metric-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:25px}.metric-card{padding:22px;background:var(--surface);border:1px solid var(--line);border-radius:13px}.metric-card>div{display:flex;align-items:center;justify-content:space-between;color:#94a087}.metric-card small{font-size:10px}.metric-card>strong{display:block;font-size:26px;font-weight:500;letter-spacing:-.9px;margin-top:15px}.metric-card strong>span{font-size:9px;letter-spacing:0;margin-left:4px;color:var(--muted)}.metric-card p{margin:9px 0 0;color:#9ba48f;font-size:10px}.metric-card .medium-number{font-size:25px}.panel{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:25px;margin-bottom:22px}.panel>h2{margin:13px 0 10px}.panel>p{font-size:12px;color:var(--muted)}.soft-panel{background:var(--soft)}.soft-panel p{line-height:1.9}.two-columns{display:grid;grid-template-columns:1fr 1fr;gap:22px}.round-icon{width:44px;height:44px;background:#e4edd8;display:flex;align-items:center;justify-content:center;border-radius:50%;color:#87a264;margin-bottom:20px}.best-hours>div{display:flex;align-items:center;gap:18px;padding:14px 0;border-bottom:1px solid var(--line);font-size:13px}.best-hours>div:last-child{border:0}.best-hours strong{margin-left:auto;font-size:12px;font-weight:550}.rank{font-size:11px;color:#91a578}.data-note{font-size:10px!important;color:#99a18f!important;line-height:1.7;margin-top:19px!important;margin-bottom:0}.data-note a{text-decoration:underline;text-underline-offset:3px}.insight-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}.insight-grid p{font-size:11px;color:var(--muted)}.insight-grid a{font-size:11px;color:#64874d}.supply-summary{padding:15px 0;border-bottom:1px solid var(--line)}.supply-summary:last-child{border:0}.supply-summary>div:first-child{display:flex;gap:12px;align-items:center}.supply-summary .suggestion-icon{margin:0}.supply-summary b{font-size:12px}.supply-summary small{display:block;color:var(--muted);font-size:10px;margin-top:4px}.supply-summary strong{margin-left:auto;font-size:19px;font-weight:500}.supply-stats{display:flex;gap:15px;color:#849477;font-size:10px;margin-top:17px}.comparison{font-size:10px;color:#8c976f;margin:12px 0 0}.empty-state{text-align:center;padding:32px 15px}.empty-state>span{display:inline-flex;align-items:center;justify-content:center;width:64px;height:64px;border-radius:20px;background:var(--soft);color:#a2b18a;margin-bottom:19px}.empty-state h3{font-size:16px;font-weight:500}.empty-state p{font-size:11px;color:var(--muted);max-width:330px;margin:0 auto 18px}.upload-banner{display:flex;align-items:center;gap:22px;background:#f0f4e8;border:1px dashed #d4dfc3;border-radius:14px;padding:26px;margin-bottom:25px}.upload-banner>div:nth-child(2){flex:1}.upload-banner h2{font-size:17px;margin-bottom:8px}.upload-banner p{font-size:11px;color:#8a977a;margin:0}.upload-illustration{width:66px;height:76px;background:#fafdF4;color:#91a777;border:1px solid #e3eacf;border-radius:10px;display:flex;align-items:center;justify-content:center;transform:rotate(-6deg)}.table-scroll{overflow:auto}.data-table{width:100%;border-collapse:collapse;text-align:left}.data-table th{font-size:10px;font-weight:500;color:#8d9980;padding:12px 10px;border-bottom:1px solid var(--line)}.data-table td{padding:18px 10px;font-size:11px;border-bottom:1px solid var(--line)}.data-table tr:last-child td{border:0}.data-table small{display:block;color:#9ca58f;font-size:9px;margin-top:6px}.consumption-summary{display:flex;align-items:center;gap:25px;margin:22px 0}.consumption-summary>strong{font-size:24px;font-weight:500}.consumption-summary strong span{display:block;font-size:10px;color:var(--muted);margin-top:7px}.consumption-summary>p{margin-left:auto;font-size:10px;color:var(--muted)}.consumption-summary .tag{margin-right:5px}.daily-bars{height:130px;display:flex;gap:8px;align-items:end;margin:20px 0}.daily-bars>div{height:100%;flex:1;display:flex;flex-direction:column;justify-content:end;position:relative}.daily-bars i{background:#c6d9ae;border-radius:5px 5px 0 0}.daily-bars small{position:absolute;top:100%;font-size:9px;color:var(--muted);margin-top:5px}.status-banner{display:flex;align-items:center;gap:16px;background:#eef4e7;border:1px solid #dfe8d4;border-radius:12px;padding:20px 23px;margin-bottom:26px}.status-banner>div{flex:1}.status-banner b{font-size:12px}.status-banner p{font-size:10px;color:#8c9b7c;margin:6px 0 0}.status-icon{color:#8ca66f}.alert-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:19px;margin-bottom:25px}.alert-card{padding:22px;background:var(--surface);border:1px solid var(--line);border-radius:13px}.alert-card.paused{opacity:.65}.alert-card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px}.alert-card .suggestion-icon{margin:0}.switch{width:34px;height:20px;border-radius:20px;background:#dce2d4;padding:3px;display:flex;align-items:center}.switch i{height:14px;width:14px;background:#fff;border-radius:50%;transition:transform .2s;box-shadow:0 1px 3px #0001}.switch.on{background:#6e9453}.switch.on i{transform:translateX(14px)}.alert-card h3{margin-bottom:9px;font-size:14px}.alert-card>p{font-size:11px;color:var(--muted);min-height:38px}.alert-threshold{font-size:29px;font-weight:500;margin:20px 0}.alert-threshold>span{font-size:11px;color:var(--muted)}.alert-footer{border-top:1px solid var(--line);padding-top:12px;display:flex;align-items:center;justify-content:space-between}.alert-footer>span{font-size:10px;color:#8c9981;display:flex;gap:5px;align-items:center}.last-check{font-size:9px;color:#a3ad99;display:block;margin-top:9px}.inline-heading{display:flex;align-items:center;gap:12px}.inline-heading h2{margin:0}.report-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.report-card{border:1px solid var(--line);border-radius:14px;background:var(--surface);padding:24px}.report-icon{display:flex;align-items:center;justify-content:center;width:55px;height:65px;background:#eff4e6;color:#93a775;border-radius:10px;margin-bottom:25px}.report-card h2{font-size:19px;margin:14px 0 10px;line-height:1.4}.report-card p{font-size:11px;color:var(--muted)}.report-card footer{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding-top:15px;margin-top:25px;font-size:10px;color:var(--muted)}.tool-divider{height:1px;background:var(--line);margin:28px 0}.source-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.source-card{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:9px;padding:16px;color:#81936b}.source-card>div{flex:1}.source-card b{font-size:12px;color:var(--ink);font-weight:550}.source-card small{display:block;font-size:9px;color:var(--muted);margin-top:5px}.simulation-result{background:#ecf4df;padding:22px;border-radius:11px;margin-top:25px}.simulation-result>span{display:block;font-size:11px;color:#82956a}.simulation-result>strong{display:block;font-size:36px;font-weight:500;margin:9px 0}.simulation-result p{font-size:10px;color:#8a977b;margin:0}
.conversation{height:calc(100dvh - 76px);max-width:900px;margin:auto;display:flex;flex-direction:column;padding:15px 45px 0}.conversation-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.status-pill{display:flex;align-items:center;gap:7px;color:#91a17e;font-size:10px}.messages{flex:1;min-height:0;overflow:auto;padding:10px 5px;scroll-behavior:smooth;scrollbar-width:thin;scrollbar-color:#dce3d4 transparent}.message{margin-bottom:26px;padding:9px 4px}.message-label{display:flex;gap:8px;align-items:center;font-size:11px;margin-bottom:10px}.message-label b{font-weight:600}.message-spark{font-size:26px;color:#6e9753;line-height:22px}.message.user{max-width:85%;margin-left:auto;background:#eef2e7;padding:15px 20px;border-radius:14px 14px 3px 14px}.message.user .message-label{color:#81966b;font-size:10px}.message-content{font-size:13px;color:#52634e;line-height:1.8}.message-content p:last-child{margin-bottom:0}.message-actions{display:flex;align-items:center;gap:7px;margin-top:10px;color:#a2ae96}.message-actions small{font-size:9px}.conversation-composer{background:var(--bg);padding-top:12px}.conversation-composer .composer-note{margin-bottom:16px}.markdown p{line-height:1.8;margin:0 0 12px}.markdown h2{font-size:20px;margin:25px 0 12px}.markdown h3{font-size:16px;margin:20px 0 11px}.markdown h4{font-size:14px;margin:17px 0 10px}.markdown a{color:#5e8b3b;text-decoration:underline;text-underline-offset:3px}.markdown ul{padding-left:23px;margin:10px 0 17px}.markdown li{margin:6px 0}.markdown strong{font-weight:600;color:var(--ink)}.markdown code{background:var(--soft);padding:2px 5px;border-radius:4px;font-size:11px}.markdown table{width:100%;border-collapse:collapse;font-size:11px;margin:12px 0 18px}.markdown td{border:1px solid var(--line);padding:9px}.markdown tr:first-child{background:var(--soft);font-weight:600}.thinking{display:flex;gap:4px;align-items:center;color:#9eaa94}.thinking i{width:5px;height:5px;border-radius:50%;background:#a3b68e;animation:pulse 1.3s infinite}.thinking i:nth-child(2){animation-delay:.2s}.thinking i:nth-child(3){animation-delay:.4s}.thinking span{margin-left:9px;font-size:10px}.chat-proposal{border:1px solid #dce8cc;background:#f3f8ec;border-radius:10px;padding:15px;display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:18px}.chat-proposal>div{display:flex;gap:10px;align-items:center;color:#75985b}.chat-proposal b{font-size:11px}.chat-proposal small{display:block;font-size:10px;margin-top:4px}.inline-error{padding:15px;border:1px solid #eadccc;background:#fcf6ee;border-radius:8px;color:#9b7653;font-size:12px}
.billing-notice{border:1px solid #eee2ca;background:#fffbf1;display:flex;gap:14px;padding:18px 20px;border-radius:10px;color:#a18a58;margin-bottom:25px}.billing-notice b{font-size:12px;display:block;margin-bottom:5px}.billing-notice span{font-size:10px;line-height:1.7;display:block}.usage-overview{display:flex;align-items:center;justify-content:space-between;background:var(--surface);border:1px solid var(--line);border-radius:13px;padding:26px 32px;margin-bottom:35px}.usage-overview h2{font-size:28px;font-weight:500}.usage-overview h2>span{font-size:17px;color:#a0aa94}.usage-overview p{font-size:10px;color:var(--muted);margin-bottom:0;max-width:470px}.usage-ring{width:94px;height:94px;border-radius:50%;background:conic-gradient(#77994d var(--usage),#edf1e5 0);padding:7px;flex-shrink:0;margin-left:15px}.usage-ring>span{height:100%;background:var(--surface);border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:24px}.usage-ring small{font-size:9px;margin-top:4px;color:var(--muted)}.plan-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:25px}.plan-card{padding:29px 24px 24px;border:1px solid var(--line);border-radius:14px;background:var(--surface);position:relative}.plan-card.featured{border:1px solid #8cae60;box-shadow:0 3px 20px #aac18815}.plan-ribbon{position:absolute;top:-11px;left:50%;transform:translateX(-50%);background:#648441;color:#fff;padding:5px 13px;border-radius:20px;font-size:8px;letter-spacing:1px;white-space:nowrap}.plan-card h2{font-size:21px}.plan-card>p{font-size:10px;color:var(--muted);min-height:30px}.plan-price{font-size:37px;letter-spacing:-1.1px;margin:24px 0;font-weight:500}.plan-price>span{font-size:11px;font-weight:400;color:var(--muted);letter-spacing:0;margin-left:4px}.plan-card ul{padding:0;list-style:none;margin-bottom:28px}.plan-card li{display:flex;gap:9px;align-items:center;font-size:11px;margin:15px 0;color:#7c8b6c}.plan-card .btn{width:100%}.pack-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.pack{display:flex;gap:14px;align-items:center;border:1px solid var(--line);padding:18px;border-radius:10px}.pack .suggestion-icon{margin:0}.pack>div{flex:1}.pack b{font-size:11px}.pack small{display:block;font-size:9px;color:var(--muted);margin-top:5px}
.modal-backdrop{position:fixed;inset:0;background:#19251b45;backdrop-filter:blur(5px);z-index:100;display:flex;align-items:center;justify-content:center;padding:24px}.modal{width:min(100%,480px);max-height:90dvh;overflow:auto;background:var(--surface);border:1px solid var(--line);border-radius:18px;box-shadow:0 24px 100px #15201435}.modal.wide{width:min(100%,740px)}.modal>header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:1px solid var(--line);position:sticky;top:0;background:var(--surface);z-index:2}.modal>header h2{font-size:18px;margin:0}.modal-body{padding:24px}.modal p{font-size:12px;color:var(--muted)}label{display:flex;flex-direction:column;gap:8px;font-size:11px;font-weight:500;color:#6f8064;margin-bottom:18px}input,select{width:100%;height:42px;border:1px solid var(--line);background:var(--surface);border-radius:8px;padding:9px 11px;font-size:12px;color:var(--ink);outline:none}input:focus,select:focus{border-color:#9fb87e;box-shadow:0 0 0 3px #bccda21a}input[type=file]{height:auto;padding:13px;font-size:11px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 17px}.form-intro{font-size:11px!important;margin-bottom:23px;line-height:1.8}.form-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;border-top:1px solid var(--line);padding-top:20px;margin-top:10px}.form-actions>.text-button{margin-right:auto}.field-note{font-size:10px!important;color:#9ca68e!important;line-height:1.75;margin-top:-5px}.settings-profile{display:flex;gap:14px;align-items:center;margin-bottom:26px}.settings-profile h3{margin-bottom:5px}.settings-profile p{font-size:10px;margin:0}.integration-list{border-top:1px solid var(--line);padding-top:20px;margin-bottom:20px}.integration-list>div{display:flex;justify-content:space-between;font-size:11px;padding:10px 0;border-bottom:1px solid var(--line);color:var(--muted)}.integration-list b{font-size:10px;color:#839a69;font-weight:500}.chat-menu-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:22px;border-top:1px solid var(--line);padding-top:20px}.search-results>a{display:flex;gap:11px;align-items:center;padding:13px 6px;border-bottom:1px solid var(--line);font-size:12px}.search-results>a:hover{background:var(--soft)}.notification{display:flex;align-items:flex-start;gap:15px;padding:18px 0;border-bottom:1px solid var(--line)}.notification h3{font-size:13px;margin-bottom:7px}.notification p{font-size:11px;margin-bottom:7px}.notification small{font-size:9px;color:var(--muted)}.notification.unread h3::after{content:"";display:inline-block;width:5px;height:5px;border-radius:50%;background:#92b568;margin-left:8px}.report-actions{display:flex;gap:10px;justify-content:flex-end;margin-bottom:28px}.printable-report{font-size:12px}.csv-example{font-family:Consolas,monospace;font-size:10px;background:var(--soft);padding:15px;border-radius:8px;line-height:1.8;overflow:auto;margin-bottom:25px}.auth-options{display:flex;justify-content:space-between;margin-top:20px}#toast-root{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);display:flex;flex-direction:column;gap:8px;z-index:200;width:max-content;max-width:90vw}.toast{background:#274a34;color:#f4f8ed;font-size:12px;padding:14px 22px;border-radius:10px;box-shadow:0 8px 30px #1d351c24;animation:toast-in .2s ease-out}.toast.error{background:#8a5e43}.page-loading{display:flex;align-items:center;justify-content:center;gap:15px;min-height:220px;color:var(--muted);font-size:12px}.initial-loader{height:100dvh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:15px;color:#83956f}.brand-spark{font-size:65px;color:var(--green)}.spinner{width:20px;height:20px;border:2px solid #cdd9bc;border-top-color:#5e8243;border-radius:50%;animation:spin 1s linear infinite;display:inline-block}.spinner.small{width:15px;height:15px}.skeleton-bar{height:130px;border-radius:8px;background:linear-gradient(90deg,#f0f3e9,#f9fbf5,#f0f3e9);background-size:200%;animation:pulse 2s infinite}.empty-chart{text-align:center;color:var(--muted);font-size:11px;padding:30px}.warning-text{color:#b29a66;font-size:9px}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.4}}@keyframes toast-in{from{transform:translateY(10px);opacity:0}to{transform:translateY(0);opacity:1}}
[data-theme=dark]{--bg:#172019;--surface:#202b22;--sidebar:#1c281f;--ink:#e2e9d9;--muted:#9ba993;--line:#354332;--green:#5b7e45;--green-dark:#4d6e38;--soft:#263424}
[data-theme=dark] .topbar{border-color:var(--line)}[data-theme=dark] .home-market{background:var(--surface)}[data-theme=dark] .new-chat{background:#3c5c32}[data-theme=dark] .usage-card,[data-theme=dark] .profile .avatar{background:#2e3d29;border-color:#3f5036}[data-theme=dark] .nav-item.active,[data-theme=dark] .history-row.selected,[data-theme=dark] .history-row:hover{background:#31432b;color:#d2e1be}[data-theme=dark] .message.user{background:#2e3c27}[data-theme=dark] .message-content{color:#c2d0b8}[data-theme=dark] .mode-pill,[data-theme=dark] .intro-chip{background:#2c3b25;border-color:#3b4e31}[data-theme=dark] .billing-notice{background:#39321e;border-color:#55472b}[data-theme=dark] .upload-banner,[data-theme=dark] .status-banner,[data-theme=dark] .chat-proposal,[data-theme=dark] .simulation-result{background:#2a3c22;border-color:#405534}[data-theme=dark] .usage-track{background:#415334}[data-theme=dark] .usage-card>a{border-color:#425337}
@media(min-width:1450px){.welcome{padding-top:76px;max-width:940px}.welcome h1{font-size:51px}.welcome-intro{margin-bottom:34px}.suggestion-card{min-height:145px}.home-market{margin-top:38px}.welcome-footer{margin-top:29px}}
@media(max-width:1100px){.sidebar{width:228px;padding-left:13px;padding-right:13px}.main-shell{margin-left:228px}.topbar{padding:0 25px}.welcome{padding:42px 28px 25px}.welcome h1{font-size:40px}.suggestion-grid{gap:8px}.suggestion-card{padding:14px 10px}.suggestion-card strong{font-size:10px}.suggestion-card small{font-size:8px}.current-price{min-width:150px}.home-market-content{gap:15px}.page{padding:35px 27px}.metric-grid{grid-template-columns:repeat(2,1fr)}.alert-grid,.report-grid{grid-template-columns:repeat(2,1fr)}.source-grid{grid-template-columns:1fr}.pack-grid{grid-template-columns:1fr}.plan-grid{gap:12px}.plan-card{padding:25px 17px}.page-heading h1{font-size:29px}.two-columns{gap:15px}.panel{padding:21px}.private-note{display:none}.insight-grid{gap:18px}}
@media(max-width:760px){.sidebar{width:256px;transform:translateX(-100%);transition:transform .2s;box-shadow:15px 0 50px #16281220}.sidebar-open .sidebar{transform:translateX(0)}.main-shell{margin-left:0}.mobile-menu{display:flex}.topbar{height:65px;padding:0 18px}.topbar-left{gap:10px}.topbar-right{gap:7px}.top-divider,.top-title,.beta{display:none}#page-title{font-size:11px;max-width:230px}.welcome{padding:34px 20px 25px}.welcome h1{font-size:37px}.welcome-intro{margin-bottom:24px}.welcome-intro>p{font-size:11px}.suggestion-grid{grid-template-columns:repeat(2,1fr);gap:10px}.suggestion-card{min-height:124px;padding:15px}.suggestion-card strong{font-size:11px}.suggestion-card small{font-size:9px}.home-market{padding:17px}.home-market-content{display:block}.current-price{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:14px}.current-price>small{width:100%}.current-price>div{margin:0;font-size:29px}.current-price .source-label{margin-left:auto}.compact{height:100px}.home-market .muted{display:none}.welcome-footer{font-size:8px}.page{padding:30px 20px 45px}.page-heading{display:block;margin-bottom:24px}.page-heading>.btn{margin-top:18px}.page-heading h1{font-size:30px}.page-heading p{font-size:11px}.metric-grid{gap:10px}.metric-card{padding:17px}.metric-card>strong{font-size:25px}.metric-card .medium-number{font-size:22px}.two-columns{grid-template-columns:1fr;gap:0}.panel{padding:20px}.section-title{gap:8px}.section-title>div{flex-wrap:wrap}.section-title h2{font-size:16px}.section-title .btn{font-size:9px;padding:8px}.insight-grid{grid-template-columns:1fr;gap:20px}.insight-grid>div{border-bottom:1px solid var(--line);padding-bottom:15px}.insight-grid>div:last-child{border:0;padding:0}.upload-banner{padding:21px;flex-wrap:wrap;gap:15px}.upload-banner>div:nth-child(2){flex-basis:65%}.upload-illustration{width:48px;height:60px}.upload-banner>.btn{margin-left:63px}.alert-grid,.report-grid{grid-template-columns:1fr}.status-banner{align-items:flex-start;padding:18px;flex-wrap:wrap}.status-banner>.btn{margin-left:39px}.plan-grid{grid-template-columns:1fr;gap:24px}.plan-card{padding:28px}.plan-card>p{min-height:0}.usage-overview{padding:22px;gap:8px}.usage-overview h2{font-size:23px}.usage-overview h2>span{font-size:12px;display:block;margin-top:7px}.usage-ring{width:76px;height:76px;padding:6px}.usage-ring>span{font-size:20px}.usage-overview p{font-size:9px}.billing-notice span{font-size:10px}.pack{padding:15px;gap:10px}.pack b{font-size:10px}.pack .btn{padding:8px 10px}.conversation{height:calc(100dvh - 65px);padding:12px 17px 0}.message-content{font-size:12px}.message.user{max-width:90%}.conversation-toolbar{margin-bottom:5px}.chat-proposal{flex-wrap:wrap}.modal-backdrop{padding:13px}.modal{border-radius:14px;max-height:93dvh}.modal>header{padding:16px 20px}.modal-body{padding:20px}.form-grid{gap:0 12px}.form-grid label{font-size:10px}.report-actions{flex-wrap:wrap}.consumption-summary{flex-wrap:wrap;gap:15px}.consumption-summary>p{margin-left:0;width:100%}.desktop-break{display:none}.composer textarea{font-size:12px}.data-table{min-width:550px}}
.message-content{font-size:15px;line-height:1.8}.composer textarea{font-size:15px}.nav-item{font-size:13px}.history-row>a{font-size:12px}.profile b{font-size:12px}.search-trigger{font-size:12px}
@media(max-width:760px){.message-content{font-size:15px}.composer textarea{font-size:16px}.welcome-intro>p,.page-heading p{font-size:13px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{body{background:#fff;color:#111}#app,#toast-root,.modal>header,.report-actions{display:none!important}.modal-backdrop{position:static;background:none;display:block;padding:0}.modal{width:100%!important;max-height:none;border:0;box-shadow:none;overflow:visible}.modal-body{padding:0}.printable-report{font-size:11pt}.printable-report a{color:#111}.printable-report h2{page-break-after:avoid}}
