:root{font-family:"Noto Sans SC","Microsoft YaHei",system-ui,-apple-system,sans-serif;color:#182b2b;background:#f5f8f6;font-synthesis:none}
*{box-sizing:border-box}
body{margin:0;min-width:320px}
button,input{font:inherit}
button{cursor:pointer}
[hidden]{display:none!important}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.site-shell{max-width:1180px;margin:auto;padding:0 32px}
.topbar{height:76px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e5ece8;margin-bottom:28px}
.brand{display:flex;align-items:center;gap:11px;font-weight:800;color:#123e34;font-size:20px;letter-spacing:.02em}
.brand small{font-size:13px;font-weight:500;color:#72847c;margin-left:9px;letter-spacing:0}
.brand-symbol{display:inline-grid;place-items:center;width:36px;height:36px;background:#126c50;color:white;border-radius:11px;font-family:Georgia,serif;font-size:24px;font-style:italic}
.text-button{border:0;background:none;color:#60716b;font-size:13px;padding:8px 0}
.text-button:hover{color:#126c50}
.eyebrow{display:flex;align-items:center;gap:8px;color:#16845e;font-size:13px;font-weight:700;letter-spacing:.04em}
.eyebrow-dot{width:8px;height:8px;border-radius:50%;background:#20b47e;box-shadow:0 0 0 4px #dff5e9}
.as-of{font-weight:500;color:#889991;margin-left:9px;letter-spacing:0}
.heading-row{display:flex;align-items:end;justify-content:space-between;gap:24px;margin:0 0 20px}
.heading-row h1{margin-bottom:0}
.heading-meta{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap}
.data-date{white-space:nowrap;color:#6e8476;background:#e6f1e9;border-radius:30px;padding:9px 14px;font-size:12px}
.rebate-card{background:linear-gradient(115deg,#edf8ef,#f9fcf7);border:1px solid #d9eadd;border-radius:17px;padding:15px 20px 13px;margin-bottom:14px}
.rebate-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:9px}
.rebate-head h2{color:#137950;font-size:14px;font-weight:800;margin:0}
.rebate-tier{color:#167a55;background:#d9eee0;border-radius:20px;padding:4px 9px;font-size:11px;font-weight:750}
.rebate-metrics{display:flex;align-items:end;gap:25px}
.rebate-metric{min-width:0;flex:1}
.rebate-metric>span{display:block;color:#72907a;font-size:11px;margin-bottom:2px}
.rebate-metric strong{display:block;color:#164d38;font-size:26px;line-height:1.2;font-weight:850;letter-spacing:-.025em;font-variant-numeric:tabular-nums;white-space:nowrap}
.rebate-metric strong small{font-size:12px;font-weight:650;letter-spacing:0}
.rebate-result{border-left:1px solid #d5e6d9;padding-left:22px}
.rebate-track{position:relative;height:8px;background:#d8e9dd;border-radius:20px;overflow:visible;margin-top:12px}
.rebate-track>span{display:block;height:100%;border-radius:20px;background:linear-gradient(90deg,#3aaa76,#137953)}
.rebate-marker{position:absolute;top:-3px;left:60%;height:14px;border-left:2px dashed #779985}
.rebate-milestones{display:flex;justify-content:space-between;gap:8px;color:#819686;font-size:10px;margin-top:6px}
.rebate-milestones span:nth-child(2){margin-left:20px}
.rebate-next,.rebate-unavailable{color:#78907e;font-size:11px;line-height:1.5;margin:6px 0 0}
h1{font-size:clamp(28px,4vw,42px);line-height:1.25;letter-spacing:-.025em;margin:0 0 10px;font-weight:800;color:#172d29}
.subtitle{color:#75857e;font-size:15px;line-height:1.6;margin:0}
.store-id{white-space:nowrap;color:#809087;background:#ecf2ee;border-radius:30px;padding:9px 14px;font-size:12px}
.summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.summary-card{text-align:left;border:1px solid #e2eae5;border-radius:18px;background:white;min-height:126px;padding:17px 20px;display:flex;flex-direction:column;align-items:start;box-shadow:0 10px 28px rgba(20,56,42,.035);transition:transform .18s,box-shadow .18s}
.summary-card:is(button):hover{transform:translateY(-2px);box-shadow:0 14px 34px rgba(20,56,42,.09)}
.summary-current{background:#136a50;color:white;border-color:#136a50;background-image:radial-gradient(circle at 100% 0%,rgba(137,229,176,.28),transparent 45%)}
.summary-label{font-size:14px;font-weight:650}
.summary-card strong{font-size:40px;line-height:1.15;letter-spacing:-.04em;margin:6px 0 2px}
.summary-note{font-size:12px;color:#8c9a92}
.summary-current .summary-note{color:#c2e5d7}
.summary-soon .summary-label,.summary-soon strong{color:#a86a17}
.summary-expired .summary-label,.summary-expired strong{color:#6d7773}
.data-notice{display:flex;align-items:flex-start;gap:14px;background:#e9f2ec;border:1px solid #dbeae0;border-radius:14px;padding:16px 18px;margin:23px 0 47px;color:#426654}
.notice-icon{display:grid;place-items:center;flex:0 0 21px;width:21px;height:21px;border-radius:50%;background:#55906e;color:white;font-size:13px;font-weight:800;font-family:Georgia,serif}
.data-notice strong{display:block;font-size:13px;margin-bottom:3px}
.data-notice p{font-size:12px;line-height:1.6;margin:0}
.list-section{margin-top:28px;padding-bottom:50px}
.list-heading{display:flex;justify-content:space-between;align-items:end;gap:24px}
.section-kicker{font-size:12px;color:#16906a;font-weight:700;letter-spacing:.08em}
h2{font-size:23px;letter-spacing:-.02em;margin:0;color:#1e3430}
.search-wrap{display:block;width:min(310px,100%)}
.search-wrap input{width:100%;border:1px solid #dce5df;background:#fff;border-radius:12px;padding:12px 15px;outline:none;color:#253d35;box-shadow:0 2px 8px rgba(23,65,47,.025)}
.search-wrap input:focus{border-color:#61ae89;box-shadow:0 0 0 3px #d8efe2}
.search-wrap input::placeholder{color:#a0aaa4}
.tabs{display:flex;gap:29px;border-bottom:1px solid #dde7df;margin:18px 0 18px;overflow-x:auto}
.tab{display:flex;align-items:center;gap:7px;white-space:nowrap;padding:0 0 14px;border:0;border-bottom:2px solid transparent;background:none;color:#7a8980;font-weight:650;font-size:14px}
.tab span{font-size:11px;font-weight:700;padding:2px 7px;border-radius:20px;background:#e8eeea;color:#7a8980}
.tab.is-active{color:#126c50;border-bottom-color:#15976b}
.tab.is-active span{background:#d9eee3;color:#168560}
.product-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.product-card{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 15px;background:white;border:1px solid #e3eae5;border-radius:17px;padding:19px 20px 16px;box-shadow:0 6px 20px rgba(21,62,41,.027)}
.product-topline{display:flex;align-items:center;gap:10px;margin-bottom:11px}
.state-chip{display:inline-block;border-radius:6px;padding:4px 8px;font-size:10px;line-height:1.2;font-weight:800}
.state-normal{background:#e5f4eb;color:#16845c}
.state-soon{background:#fff0d8;color:#ac6a0d}
.state-expired{background:#edf0ee;color:#687670}
.product-id{color:#a1aca5;font-size:10px}
.product-card h3{font-size:16px;line-height:1.4;color:#19362d;margin:0 0 6px;font-weight:750}
.product-meta{font-size:12px;line-height:1.55;color:#829087;margin:0}
.meta-divider{margin:0 4px;color:#abb7af}
.product-status{text-align:right;align-self:center;min-width:94px}
.status-caption{display:block;color:#8b9a90;font-size:11px;margin-bottom:3px}
.days-number{font-size:28px;line-height:1;color:#147a55;letter-spacing:-.04em}
.days-number small{font-size:13px;font-weight:600;letter-spacing:0}
[data-panel="soon"] .days-number{color:#b46c0c}
.expired-date{font-size:14px;color:#687670}
.product-dates{grid-column:1/-1;border-top:1px solid #eef2ee;padding-top:11px;display:flex;gap:16px;flex-wrap:wrap;color:#9ba89f;font-size:11px}
.product-dates b{color:#697b70;font-weight:650;margin-left:4px}
.empty-state{text-align:center;padding:68px 20px;background:#fff;border:1px dashed #d9e5dc;border-radius:18px;color:#50685c}
.empty-state strong{display:block;font-size:16px}
.empty-state p{font-size:13px;color:#97a69c}
.empty-illustration{display:grid;place-items:center;width:48px;height:48px;margin:0 auto 15px;border-radius:50%;background:#eaf5ed;color:#38946b;font-size:25px}
.empty-search{color:#84948a;text-align:center;padding:50px}
.footer{display:flex;justify-content:space-between;gap:18px;border-top:1px solid #e4ebe5;padding:25px 0 30px;color:#9aa89d;font-size:11px}
.login-page{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 50% 0%,#e3f3e9,transparent 55%),#f5f8f6}
.login-card{width:min(440px,100%);background:white;border:1px solid #e0e9e1;border-radius:22px;padding:38px;box-shadow:0 16px 60px rgba(22,63,43,.07)}
.login-card h1{font-size:27px;margin:25px 0 14px}
.login-card p{line-height:1.7;color:#64776a;font-size:14px}
.login-card .muted{font-size:12px;color:#9caaa0}
.brand-mark{display:inline-block;color:#157a58;font-size:13px;font-weight:800;letter-spacing:.06em}
.admin-shell{max-width:1000px}
.admin-shell main{padding-bottom:70px}
.admin-shell h1{margin:16px 0 12px}
.admin-card{background:white;border:1px solid #e0e9e1;border-radius:20px;padding:25px;margin-top:25px;box-shadow:0 8px 26px rgba(20,56,42,.03)}
.admin-step{display:flex;gap:14px;align-items:start;margin-bottom:23px}
.admin-step>span{display:grid;place-items:center;flex:none;width:35px;height:35px;background:#dbefe4;color:#137451;border-radius:10px;font-size:13px;font-weight:800}
.admin-step h2{font-size:19px;margin:2px 0 5px}
.admin-step p{font-size:13px;color:#839287;margin:0}
.upload-form{display:flex;align-items:end;gap:14px;flex-wrap:wrap}
.upload-form label{display:flex;flex-direction:column;gap:8px;min-width:190px;color:#4b6254;font-size:12px;font-weight:700}
.upload-form input{border:1px solid #dbe5dc;border-radius:10px;padding:10px 11px;min-height:43px;max-width:350px;background:#fff;color:#354d3f}
.upload-form input[type=file]{width:330px;max-width:100%}
.primary-button,.secondary-button{border:0;border-radius:10px;padding:11px 17px;min-height:43px;font-weight:750;font-size:13px}
.primary-button{color:#fff;background:#146f51}
.primary-button:hover{background:#0d5c42}
.secondary-button{color:#176d4c;background:#e7f2e9}
.secondary-button:hover{background:#d5e9db}
.form-hint{color:#98a69b;font-size:11px;margin:15px 0 0;line-height:1.5}
.admin-alert{margin-top:22px;border-radius:12px;padding:13px 15px;font-size:13px}
.admin-alert.error{background:#fff0ed;color:#a24334;border:1px solid #f4d3cc}
.admin-alert.success{background:#e5f4e8;color:#1c7450;border:1px solid #cfe8d5}
.snapshot-list{display:grid;gap:13px}
.snapshot-card{border:1px solid #e5ece6;border-radius:13px;padding:17px}
.snapshot-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}
.snapshot-head strong{color:#263d30;font-size:15px}
.snapshot-state{font-size:11px;padding:5px 9px;border-radius:20px;background:#edf0ed;color:#718075;font-weight:700}
.snapshot-state.active{background:#e4f3e8;color:#178159}
.snapshot-state.pending{background:#fff1dc;color:#a96b17}
.snapshot-facts{display:flex;gap:10px 18px;flex-wrap:wrap;color:#8b9a8e;font-size:11px}
.snapshot-facts b{color:#4f6657;font-weight:750}
.snapshot-file{font-size:11px;color:#a1aca3;margin:12px 0}
.snapshot-files{border-top:1px solid #edf2ed;margin-top:14px;padding-top:12px;color:#6f8274;font-size:11px}
.snapshot-files strong{display:block;color:#486451;font-size:12px;margin-bottom:6px}
.snapshot-files ul{list-style:none;padding:0;margin:0;display:grid;gap:5px}
.snapshot-files li{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}
.snapshot-files li span:last-child{color:#9aa89c}
.snapshot-card form{margin-top:15px}
.admin-empty{color:#89998d;font-size:13px}
@media(max-width:760px){.site-shell{padding:0 18px}.topbar{height:66px;margin-bottom:22px}.brand{font-size:17px}.brand small{display:block;font-size:10px;margin:0}.heading-row{align-items:start;flex-direction:column;gap:12px;margin-bottom:19px}.heading-meta{justify-content:flex-start}.store-id,.data-date{font-size:11px;padding:7px 11px}.summary-grid{gap:9px}.summary-card{min-height:116px;padding:14px 13px;border-radius:15px}.summary-card strong{font-size:35px;margin:7px 0 3px}.summary-label{font-size:12px}.summary-note{font-size:10px;line-height:1.4}.list-section{margin-top:25px}.list-heading{flex-direction:column;align-items:stretch;gap:14px}.search-wrap{width:100%}.tabs{gap:21px;margin-top:18px}.product-list{grid-template-columns:1fr}.product-card{padding:17px}.admin-card{padding:18px}.upload-form{align-items:stretch;flex-direction:column}.upload-form label,.upload-form input[type=file]{width:100%;max-width:100%}}
@media(max-width:420px){.summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.summary-current{grid-column:1/-1;min-height:112px}.summary-card strong{font-size:32px}.summary-current strong{margin:4px 0}.product-status{min-width:80px}.product-dates{gap:5px 12px}}
@media(max-width:760px){.rebate-card{padding:14px 15px 12px}.rebate-metrics{gap:12px}.rebate-metric strong{font-size:21px}.rebate-result{padding-left:12px}.rebate-milestones{font-size:10px}}
@media(max-width:420px){.rebate-metric strong{font-size:17px}.rebate-metric strong small{font-size:10px}.rebate-milestones span:nth-child(2){margin-left:0}}
.lookup-form{display:flex;flex-direction:column;gap:8px;margin:20px 0 16px}
.lookup-form label{font-size:12px;color:#64776a;font-weight:700}
.lookup-form input{border:1px solid #d6e3d8;border-radius:10px;padding:12px 14px;font-size:15px;min-height:46px;width:100%}
.lookup-form input:focus{outline:2px solid #146f51;outline-offset:1px}
.lookup-form .primary-button{margin-top:4px}
