:root{--brand-green: #0E8B57;--deep-green: #0A5C36;--leaf-green: #78C030;--harvest-gold: #C09030;--light-gold: #D8A848;--cream: #F5F8F3;--ink: #1F2A24;--ink-soft: #5F6B64;--line: #E5EEE7;--card: #FFFFFF;--danger: #D23F43;--danger-bg: #FDECEC;--warn: #B07A15;--warn-bg: #FFF4DE;--success-bg: #EAF5EC;--info: #2F80ED;--info-bg: #EAF2FD;--gold-bg: #FFF4DE;--purple: #8E59FF;--purple-bg: #F1EAFF;--tile-green: #0E8B57;--tile-blue: #2F80ED;--tile-gold: #C47F0E;--tile-purple: #8E59FF;--tile-red: #FF5A5F;--table-head-bg: #EAF5EC;--table-head-ink: #1F2A24;--radius: 10px;--radius-card: 12px;--shadow: 0 1px 3px rgba(31, 42, 36, .06);--shadow-card: 0 1px 3px rgba(31, 42, 36, .06);--content-max: 1440px;font-family:Inter,Segoe UI,system-ui,-apple-system,Noto Sans,Noto Sans Devanagari,sans-serif}[data-theme=dark]{--cream: #141a16;--card: #1d2520;--ink: #e6ebe7;--ink-soft: #9fb0a5;--line: #2c3a31;--danger-bg: #3a2422;--warn-bg: #3a3320;--success-bg: #1f3427;--info: #7cb0e0;--info-bg: #202b38;--gold-bg: #3a3320;--purple: #b79cff;--purple-bg: #2b2440;--tile-green: #157a4f;--tile-blue: #2a6fd0;--tile-gold: #a86c0c;--tile-purple: #7448e0;--tile-red: #d94a4f;--table-head-bg: #223128;--table-head-ink: #e6ebe7;--shadow: 0 1px 4px rgba(0, 0, 0, .4);--shadow-card: 0 1px 4px rgba(0, 0, 0, .4);--deep-green: #8fd694;--harvest-gold: #dcb45c;--warn: #dcb45c;--danger: #e58579}*{box-sizing:border-box;margin:0;padding:0}body{background:var(--cream);color:var(--ink);font-size:15px;-webkit-font-smoothing:antialiased;overflow-x:hidden}.wordmark{font-family:Roboto Slab,serif;font-weight:900;letter-spacing:.5px}.wordmark .agri{color:var(--deep-green)}.wordmark .marts{color:var(--harvest-gold)}.tagline{color:var(--ink-soft);font-size:12px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:none;border-radius:var(--radius);cursor:pointer;font-size:14px;font-weight:600;padding:11px 18px;transition:background .15s,transform .05s}.btn:active{transform:scale(.98)}.btn-primary{background:var(--brand-green);color:#fff;width:100%}.btn-primary:hover{background:var(--deep-green)}.btn-ghost{background:transparent;color:var(--brand-green);border:1px solid var(--line)}.btn-ghost:hover{background:var(--success-bg)}.field{margin-bottom:14px;text-align:left}.field label{display:block;font-size:12px;color:var(--ink-soft);margin-bottom:5px;font-weight:600}.field input,.field select{width:100%;height:42px;padding:0 12px;border:1px solid var(--line);border-radius:8px;background:var(--card);font-size:14px;color:var(--ink)}.field input:focus,.field select:focus{outline:none;border-color:var(--brand-green);box-shadow:0 0 0 3px #1878481f}.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius-card);box-shadow:var(--shadow-card)}.error-msg{background:var(--danger-bg);color:var(--danger);border-radius:8px;padding:9px 12px;font-size:13px;margin-bottom:12px}.success-msg{background:var(--success-bg);color:var(--deep-green);border-radius:8px;padding:9px 12px;font-size:13px;margin-bottom:12px}.gold-divider{display:flex;align-items:center;gap:10px;color:var(--harvest-gold);font-size:10px;letter-spacing:2px}.gold-divider:before,.gold-divider:after{content:"";flex:1;height:1px;background:var(--harvest-gold);opacity:.35}.scroll-hint-mobile{display:none}@media (max-width: 700px){.scroll-hint-mobile{display:block;font-size:11px;color:var(--ink-soft);margin:0 0 6px}}@media (max-width: 700px){.inventory-summary-grid{grid-template-columns:repeat(2,1fr)!important}}.auth-page{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:20px}.auth-card{width:100%;max-width:380px;padding:32px 28px 26px;text-align:center}.auth-logo{width:92px;height:92px;margin:0 auto 10px;display:block}.page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:16px}.page-head-eyebrow{font-size:11px;font-weight:700;letter-spacing:1px;text-transform:uppercase;color:var(--deep-green);margin-bottom:4px}.page-head h1{font-size:22px;line-height:1.2;color:var(--ink)}.page-head-sub{font-size:13px;color:var(--ink-soft);margin-top:4px}.page-head-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.card-title{font-size:16px;font-weight:700;color:var(--ink);margin-bottom:12px;display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.card-sub{font-size:12px;color:var(--ink-soft);font-weight:500}.kpi-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:16px}.kpi-tile{border-radius:var(--radius-card);padding:12px 16px;color:#fff;min-width:0;display:flex;flex-direction:column;gap:2px;box-shadow:var(--shadow-card)}.kpi-tile-label{font-size:12px;font-weight:700;opacity:.95}.kpi-tile-value{font-size:22px;font-weight:800;line-height:1.15;letter-spacing:-.3px;word-break:break-word}.kpi-tile-hint{font-size:12px;opacity:.9}.kpi-green{background:var(--tile-green)}.kpi-blue{background:var(--tile-blue)}.kpi-gold{background:var(--tile-gold)}.kpi-purple{background:var(--tile-purple)}.kpi-red{background:var(--tile-red)}.chips{display:flex;gap:8px;flex-wrap:wrap}.chip{display:inline-flex;align-items:center;gap:6px;padding:8px 14px;border-radius:10px;border:1px solid var(--line);background:var(--card);color:var(--ink);font-size:13px;font-weight:700;cursor:pointer;transition:background .12s,border-color .12s}.chip:hover{border-color:var(--brand-green)}.chip-active{background:var(--success-bg);border-color:var(--success-bg);color:var(--deep-green)}.pill{display:inline-block;padding:3px 10px;border-radius:999px;font-size:11px;font-weight:700;white-space:nowrap}.pill-green{background:var(--success-bg);color:var(--deep-green)}.pill-red{background:var(--danger-bg);color:var(--danger)}.pill-gold{background:var(--warn-bg);color:var(--warn)}.pill-blue{background:var(--info-bg);color:var(--info)}.pill-purple{background:var(--purple-bg);color:var(--purple)}.pill-grey{background:var(--cream);color:var(--ink-soft)}.card table:not(.tpl-root *) thead tr,.card table:not(.tpl-root *) thead th{background:var(--table-head-bg);color:var(--table-head-ink)}.card table:not(.tpl-root *) thead th{font-size:12px;font-weight:700;text-transform:none;letter-spacing:0}.card table:not(.tpl-root *) thead th:first-child{border-top-left-radius:8px;border-bottom-left-radius:8px}.card table:not(.tpl-root *) thead th:last-child{border-top-right-radius:8px;border-bottom-right-radius:8px}@media (max-width: 1023px){.only-desktop{display:none!important}}@media (min-width: 1024px){.only-mobile{display:none!important}}.two-col,.side-col{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;align-items:start}.stack-16>*+*{margin-top:16px}.field-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:0 16px}@media (min-width: 1024px){:root{--radius-card: 16px}.page-head{margin-bottom:16px}.page-head h1{font-size:28px}.page-head-sub{font-size:14px}.card-title{font-size:18px}.kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px}.kpi-tile{padding:10px 16px;flex-direction:row;align-items:center;flex-wrap:wrap;column-gap:12px}.kpi-tile-label{flex:1 1 100%;font-size:12px}.kpi-tile-value{font-size:22px}.kpi-tile-hint{font-size:12px;margin-left:auto}.btn{padding:12px 20px;font-size:14px}.btn-sm{padding:7px 14px;font-size:13px}.field input,.field select,.field textarea{height:44px;border-radius:10px}.field label{font-size:13px}.card table:not(.tpl-root *) th,.card table:not(.tpl-root *) td{padding-top:12px!important;padding-bottom:12px!important}.two-col{grid-template-columns:repeat(2,minmax(0,1fr))}.side-col{grid-template-columns:minmax(0,2fr) minmax(320px,1fr)}.side-col>.sticky-side{position:sticky;top:88px}.field-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.field-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.field-grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}}.hero-band{position:relative;overflow:hidden;border-radius:var(--radius-card);background:linear-gradient(100deg,#eaf5ec,#f3f8ee 45%,#dcefe2);border:1px solid var(--line);padding:20px 22px;margin-bottom:16px}[data-theme=dark] .hero-band{background:linear-gradient(100deg,#1f3427,#1d2a22,#203a2b)}.hero-band .hero-eyebrow{font-size:11px;font-weight:800;letter-spacing:1.2px;text-transform:uppercase;color:var(--deep-green)}.hero-band h2{font-size:22px;color:var(--deep-green);margin:4px 0 6px;line-height:1.15}.hero-band .hero-slogan{font-size:14px;color:var(--deep-green);font-weight:600}.hero-band .hero-text{font-size:13px;color:var(--ink-soft);margin-top:4px}.hero-art{position:absolute;inset:0 0 0 auto;width:45%;background-size:cover;background-position:center right;pointer-events:none;-webkit-mask-image:linear-gradient(90deg,transparent,#000 40%);mask-image:linear-gradient(90deg,transparent,#000 40%)}@media (min-width: 1024px){.hero-art-dashboard{background-image:url(/assets/hero-farmer.webp);width:62%;-webkit-mask-image:linear-gradient(90deg,transparent,#000 32%);mask-image:linear-gradient(90deg,transparent,#000 32%)}.hero-art-landing{background-image:url(/assets/hero-landing.webp);width:52%;background-position:center bottom;-webkit-mask-image:linear-gradient(90deg,transparent 10%,#000 48%);mask-image:linear-gradient(90deg,transparent 10%,#000 48%)}.hero-band.has-art{min-height:120px}.hero-band.has-art>:not(.hero-art){position:relative;z-index:1;max-width:48%}}[data-theme=dark] .hero-art{opacity:.85}@media (min-width: 1024px){.hero-band{padding:18px 28px;margin-bottom:16px}.hero-band h2{font-size:26px;margin:2px 0 4px}.hero-band .hero-slogan{font-size:15px}.hero-band .hero-text{font-size:13px;margin-top:2px}}.public-topbar{display:flex;align-items:center;gap:14px;background:var(--card);border-bottom:1px solid var(--line);padding:12px 32px;min-height:72px}@media (min-width: 1024px){.auth-page{min-height:calc(100vh - 72px);align-items:flex-start;padding-top:48px}.auth-card{max-width:440px;padding:36px 32px 30px}.auth-card-login{max-width:460px;text-align:left}.auth-card-login form .btn-primary{margin-top:6px;height:48px}.auth-card-login>p{text-align:left!important}.auth-card-setup{max-width:560px!important}}@media (max-width: 1023px){:root{--radius: 12px;--radius-card: 16px;--shadow-card: 0 4px 14px rgba(31, 42, 36, .07)}.content{padding:16px 16px 96px}.content h1{font-size:28px!important;font-weight:500!important;letter-spacing:-.3px;color:var(--ink)}.page-head{margin-bottom:12px}.page-head-sub{font-size:13px}.card:not(.invoice-print){border-radius:16px;box-shadow:0 4px 14px #1f2a2412}.card-title,.sale-grid .card>p:first-child,.pur-card-title,.m-card-title{font-size:20px!important;font-weight:500!important;margin-bottom:12px!important;color:var(--ink)!important}.field label{font-size:14px;font-weight:500;color:var(--ink-soft);margin-bottom:8px}.field input,.field select,.field textarea{height:48px!important;border-radius:12px;font-size:15px;padding:0 14px}.btn{border-radius:12px;font-size:15px}.btn-primary{min-height:48px}.btn-sm{min-height:0;padding:8px 14px;font-size:13px;border-radius:10px}.chip,.sale-mode-btn,.m-chip{min-height:48px;border-radius:12px!important;font-size:15px!important;font-weight:500!important;padding:0 16px;justify-content:flex-start}.chip-active,.sale-mode-btn.chip-active{border:1.5px solid var(--brand-green)!important;background:var(--success-bg)!important;color:var(--deep-green)!important}.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:16px}.kpi-tile{border-radius:16px;padding:16px 18px 18px;min-height:118px;position:relative;gap:10px;box-shadow:0 6px 16px #1f2a241f}.kpi-tile:after{content:"";position:absolute;right:16px;bottom:16px;width:18px;height:22px;background:linear-gradient(#fff,#fff) 0 100% / 6px 14px no-repeat,linear-gradient(#fff,#fff) 100% 100% / 6px 22px no-repeat;border-radius:2px;opacity:.95}.kpi-tile-label{font-size:14px;font-weight:500}.kpi-tile-value{font-size:30px;font-weight:500;letter-spacing:-.5px}.kpi-tile-hint{display:none}.hero-band{padding:18px 18px 16px;margin-bottom:16px;min-height:150px}.hero-band h2{font-size:26px;font-weight:500;line-height:1.15}.hero-band .hero-slogan{font-size:14px;font-weight:500}.hero-band .hero-text{display:none}.hero-art-dashboard{background-image:url(/assets/hero-farmer.webp);width:52%;background-position:right center;-webkit-mask-image:linear-gradient(90deg,transparent,#000 45%);mask-image:linear-gradient(90deg,transparent,#000 45%)}.hero-band.has-art>:not(.hero-art){position:relative;z-index:1;max-width:58%}.card table:not(.tpl-root *) thead th{font-size:13px;font-weight:500;padding:12px 10px!important}.card table:not(.tpl-root *) td{padding-top:12px!important;padding-bottom:12px!important;font-size:14px}.scroll-hint-mobile{margin:8px 0 0;color:var(--ink-soft)}.party-tools{flex-direction:column;align-items:stretch!important;gap:8px!important}.party-tools>span{display:none}.party-tools-lbl{font-size:14px;color:var(--ink-soft);font-weight:500}.party-tools input{height:48px!important;border-radius:12px!important;padding:0 14px!important;font-size:15px}.party-tools .btn-primary{width:100%!important;min-height:48px}.party-tools .btn-ghost{display:none}.fab-home{width:60px;height:60px;bottom:22px;right:22px;box-shadow:0 8px 20px #0e8b5759}}@media (min-width: 1024px){.party-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}.auth-v2{display:block;padding:22px 16px 60px;min-height:calc(100vh - 68px)}.auth-wrap{max-width:480px;margin:0 auto;text-align:left}.auth-wrap-wide{max-width:560px}.auth-h1{font-size:30px;font-weight:700;color:var(--deep-green);margin:6px 0 4px;letter-spacing:-.3px}.auth-dot{color:var(--deep-green)}.auth-sub{font-size:15px;color:var(--ink-soft);margin-bottom:20px}.auth-v2 .auth-card{max-width:none;text-align:left;padding:24px 22px}.auth-card-title{font-size:22px;font-weight:700;margin-bottom:4px}.auth-card-sub{font-size:13px;color:var(--ink-soft);margin-bottom:14px}.auth-v2 .auth-card .btn-primary{height:52px;font-size:16px}.auth-foot{display:flex;justify-content:space-between;align-items:center;margin-top:18px;padding-top:16px;border-top:1px solid var(--line);font-size:14px;color:var(--ink-soft)}.auth-foot a{color:var(--brand-green);font-weight:700;text-decoration:none}.auth-tag{text-align:center;color:var(--ink-soft);font-size:14px;margin-top:40px}@media (max-width: 1023px){.public-topbar{padding:12px 16px;min-height:68px}.auth-v2 .content h1,.auth-h1{font-weight:700!important}}@media (min-width: 1024px){.auth-v2{padding:40px 32px 60px}.auth-wrap{max-width:520px}.auth-h1{font-size:34px;color:var(--ink)}.auth-v2 .auth-card{padding:30px 30px 26px}}.shell{min-height:100vh;display:flex;flex-direction:column}.topbar{display:flex;align-items:center;gap:12px;background:var(--card);border-bottom:1px solid var(--line);padding:10px 16px;position:sticky;top:0;z-index:20;min-height:64px}.topbar-brand{display:flex;align-items:center;gap:10px;min-width:0;flex:1 1 auto;overflow:hidden}.topbar-brand-text{display:flex;flex-direction:column;min-width:0}.topbar-shop{font-size:14px;color:var(--ink);font-weight:700;margin-top:1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.topbar-right{margin-left:auto;display:flex;align-items:center;gap:10px;flex-shrink:0}.topbar-user{font-size:13px;color:var(--ink-soft)}.role-badge{font-size:10px;font-weight:700;letter-spacing:1px;background:var(--success-bg);color:var(--deep-green);border:1px solid var(--brand-green);border-radius:20px;padding:3px 10px}.btn-sm{padding:6px 12px;font-size:13px}.shell-body{display:flex;flex:1}.content{flex:1;padding:18px 18px 88px;min-width:0}.topbar-tagline,.topbar-shopblock{display:none}.topbar-user-btn{display:flex;align-items:center;gap:10px;background:none;border:none;padding:0;cursor:pointer;border-radius:12px}.topbar-user-btn>.avatar-btn{cursor:pointer}.topbar-user-text{display:none}@media (min-width: 1024px){.topbar{padding:12px 32px;min-height:72px;gap:20px}.topbar-brand{flex:0 0 auto}.topbar-tagline{display:block;font-size:11px;margin-top:-1px}.topbar-brand .topbar-shop{display:none}.topbar-shopblock{display:flex;flex-direction:column;min-width:0;padding-left:20px;border-left:1px solid var(--line)}.topbar-shopblock-name{font-size:16px;font-weight:700;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.topbar-shopblock-place{font-size:12px;color:var(--ink-soft);margin-top:1px}.topbar-user-btn{padding:4px 8px 4px 4px}.topbar-user-btn:hover{background:var(--cream)}.topbar-user-text{display:flex;flex-direction:column;align-items:flex-start;line-height:1.2}.topbar-user-name{font-size:14px;font-weight:700;color:var(--ink)}.topbar-user-role{font-size:11px;color:var(--ink-soft);font-weight:600}.content{padding:26px 32px 96px;max-width:calc(var(--content-max) + 64px);margin:0 auto;width:100%}.profile-dropdown{max-width:300px;border-radius:16px}.dropdown-overlay{padding-top:72px;padding-right:32px}}.fab-home{display:flex;position:fixed;bottom:18px;right:18px;z-index:30;width:50px;height:50px;border-radius:50%;background:var(--brand-green);color:#fff;align-items:center;justify-content:center;font-size:21px;text-decoration:none;box-shadow:0 4px 14px #00000040}.fab-home:active{background:var(--deep-green)}@media (max-width: 899px){.topbar-user{display:none}.topbar{gap:8px;padding:10px 12px}.topbar-right{gap:6px}}@media (max-width: 640px){.dashboard-summary-grid{grid-template-columns:1fr 1fr!important}}.avatar-btn{width:36px;height:36px;border-radius:50%;border:none;cursor:pointer;color:#fff;font-weight:700;font-size:15px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.avatar-lg{width:48px;height:48px;font-size:19px}.dropdown-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;display:flex;align-items:flex-start;justify-content:flex-end;padding:60px 14px 0}.profile-dropdown{width:100%;max-width:260px;background:var(--card);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow, 0 8px 24px rgba(0,0,0,.15));overflow:hidden}.profile-summary{display:flex;align-items:center;gap:10px;padding:14px}.profile-menu{display:flex;flex-direction:column;border-top:1px solid var(--line)}.profile-menu button{display:flex;align-items:center;gap:8px;text-align:left;padding:11px 14px;background:none;border:none;cursor:pointer;font-size:13px;color:var(--ink);font-weight:600}.profile-menu button:hover{background:var(--cream)}.profile-menu button+button{border-top:1px solid var(--line)}@media (max-width: 1023px){.topbar{min-height:68px;padding:10px 16px}.topbar-brand .topbar-shop{font-size:11px;font-weight:500;letter-spacing:.4px;text-transform:uppercase;color:var(--ink-soft)}.topbar-right .btn-ghost.btn-sm{width:42px;height:42px;padding:0;border-radius:12px;background:var(--success-bg);border-color:var(--success-bg);font-size:16px}.avatar-btn{width:42px;height:42px;border-radius:50%;background:var(--success-bg)!important;color:var(--deep-green);font-size:16px}}
