:root{--green:#075a34;--green-dark:#06452c;--green-soft:#eaf3ec;--red:#bf302c;--red-soft:#fbece9;--cream:#f8f7f3;--paper:#fff;--ink:#17291f;--muted:#68746d;--line:#e5e8e1;--orange:#b86627;--orange-soft:#fff4e8;--shadow:0 8px 30px rgba(28,53,38,.055);font-family:Inter,"Avenir Next",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--cream)}
*{box-sizing:border-box}html,body{padding:0;margin:0;min-height:100%}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.4;cursor:not-allowed}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #6fa483;outline-offset:2px}img{max-width:100%}a{color:var(--green)}
#app{min-height:100vh}.shell{display:flex;min-height:100vh}.sidebar{width:255px;background:#fff;border-right:1px solid var(--line);height:100vh;position:sticky;top:0;padding:27px 16px 18px;display:flex;flex-direction:column;gap:24px;flex-shrink:0}.brand{display:flex;align-items:center;gap:11px;padding:0 9px}.brand img{width:43px;height:43px;object-fit:contain;border-radius:50%;border:1px solid var(--line);background:white}.brand strong{display:block;font-family:Georgia,serif;font-size:24px;letter-spacing:-.9px;color:var(--green)}.brand span{display:block;font-size:10px;color:var(--muted);margin-top:1px;letter-spacing:.03em}.nav-label{padding:0 17px;color:#9ca69f;font-weight:750;text-transform:uppercase;font-size:10px;letter-spacing:.16em}.side-nav{display:flex;flex-direction:column;gap:4px;overflow-y:auto}.nav-btn{width:100%;background:transparent;border:0;border-radius:13px;padding:11px 15px;display:flex;align-items:center;gap:12px;color:#526157;text-align:left;font-size:13px;font-weight:650}.nav-btn svg{width:19px;height:19px;flex-shrink:0}.nav-btn:hover{background:#f4f7f3}.nav-btn.active{background:var(--green-soft);color:var(--green)}.side-foot{margin-top:auto;padding:15px;border:1px solid var(--line);border-radius:16px;background:#fbfcfa}.side-foot strong{display:block;font-size:12px}.side-foot p{margin:6px 0 0;font-size:11px;line-height:1.45;color:var(--muted)}
.main{min-width:0;flex:1}.topbar{display:flex;align-items:center;justify-content:space-between;padding:21px 37px;border-bottom:1px solid var(--line);background:rgba(255,255,255,.75);backdrop-filter:blur(8px);gap:20px}.topbar-left{display:flex;align-items:center;gap:11px}.topbar-left .eyebrow{font-size:10px;color:var(--muted);font-weight:700;letter-spacing:.12em;text-transform:uppercase}.topbar-left h1{font-family:Georgia,serif;font-size:23px;font-weight:500;margin:1px 0}.account{display:flex;align-items:center;gap:10px}.account select{max-width:215px;border:1px solid var(--line);background:#fff;border-radius:12px;padding:10px;color:#244b33;font-size:12px;font-weight:700}.avatar{background:#e1efe4;color:var(--green);height:38px;width:38px;display:grid;place-items:center;border-radius:13px;font-weight:800}.mobile-brand{display:none}
.content{max-width:1230px;margin:0 auto;padding:32px 37px 105px}.notice{display:flex;align-items:flex-start;gap:9px;background:#f5eee2;border:1px solid #e7d6b7;border-radius:12px;padding:10px 13px;font-size:12px;color:#786243;margin-bottom:23px;line-height:1.5}.notice svg{height:16px;width:16px;flex-shrink:0;margin-top:1px}.page-title{display:flex;justify-content:space-between;align-items:end;gap:14px;margin-bottom:22px;flex-wrap:wrap}.page-title h2{font-family:Georgia,serif;font-size:30px;line-height:1.1;font-weight:500;margin:0;color:#183824}.page-title p{color:var(--muted);font-size:13px;margin:7px 0 0}.hero{position:relative;overflow:hidden;background:linear-gradient(125deg,#075632 0%,#147449 100%);border-radius:22px;color:#fff;padding:30px 30px;display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:20px;min-height:182px}.hero:after{content:'◉';font-family:Georgia,serif;position:absolute;right:24%;top:-88px;font-size:290px;color:rgba(255,255,255,.055);pointer-events:none}.hero-kicker{font-size:10px;letter-spacing:.15em;text-transform:uppercase;opacity:.77;font-weight:700}.hero h2{font-family:Georgia,serif;font-weight:400;font-size:clamp(26px,3vw,38px);margin:8px 0 9px}.hero p{color:#dbf2e1;max-width:440px;font-size:13px;line-height:1.6;margin:0}.hero img{width:119px;height:119px;object-fit:contain;border-radius:100%;background:#fff;border:4px solid rgba(255,255,255,.45);box-shadow:0 10px 40px rgba(0,0,0,.1);position:relative;z-index:1}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:18px}.grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.grid4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:20px;box-shadow:var(--shadow);min-width:0}.card h3{font-size:15px;margin:0 0 15px;letter-spacing:-.2px}.card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}.card-head h3{margin:0}.card-head .text-btn{white-space:nowrap}.stat{padding:19px 20px}.stat .ico{background:var(--green-soft);border-radius:11px;color:var(--green);height:34px;width:34px;display:grid;place-items:center;margin-bottom:11px}.stat .ico.red{background:var(--red-soft);color:var(--red)}.stat .ico.orange{background:var(--orange-soft);color:var(--orange)}.stat .ico svg{width:18px;height:18px}.stat-label{font-size:12px;color:var(--muted)}.stat-value{font-size:24px;font-weight:750;margin:5px 0 0;letter-spacing:-.7px}.stat-foot{font-size:11px;color:var(--muted);margin-top:6px}.section{margin-top:22px}.section-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 13px}.section-header h3{font-family:Georgia,serif;font-size:22px;font-weight:500;margin:0}.section-header p{margin:3px 0 0;color:var(--muted);font-size:12px}.list-row{display:flex;gap:12px;align-items:center;padding:13px 0;border-top:1px solid #edf0eb;min-width:0}.list-row:first-of-type{border-top:0}.list-info{min-width:0;flex:1}.list-title{font-weight:700;font-size:13px;line-height:1.45}.list-sub{font-size:11px;color:var(--muted);margin-top:3px;line-height:1.5}.list-right{text-align:right;flex-shrink:0}.list-amount{font-size:14px;font-weight:800}.list-icon{width:38px;height:38px;border-radius:12px;background:#eff6f0;display:grid;place-items:center;color:var(--green);flex-shrink:0}.list-icon svg{width:18px;height:18px}.list-icon.red{background:var(--red-soft);color:var(--red)}.tag{display:inline-flex;align-items:center;font-size:10px;line-height:1;padding:7px 9px;border-radius:100px;font-weight:800;white-space:nowrap;background:var(--green-soft);color:var(--green)}.tag.red{background:var(--red-soft);color:var(--red)}.tag.orange{background:var(--orange-soft);color:#99511b}.tag.gray{background:#f1f3f1;color:#68736d}.text-btn{border:none;background:none;color:var(--green);padding:4px 0;font-size:12px;font-weight:750}.text-btn:hover{text-decoration:underline}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:11px;padding:10px 14px;font-weight:750;font-size:12px;border:1px solid var(--green);background:var(--green);color:#fff;min-height:39px}.btn svg{height:16px;width:16px}.btn:hover{filter:brightness(1.06)}.btn.secondary{color:var(--green);background:#fff;border:1px solid #a9c6b2}.btn.light{color:var(--green);background:#eaf5ec;border-color:#eaf5ec}.btn.danger{background:var(--red);border-color:var(--red)}.btn.small{min-height:29px;padding:6px 10px;font-size:11px}.actions{display:flex;gap:9px;flex-wrap:wrap}.empty{padding:30px 12px;text-align:center;color:var(--muted);font-size:13px;line-height:1.6}.empty svg{display:block;margin:0 auto 12px;width:25px;height:25px;color:#83a68e}.msg{border-radius:15px;padding:15px 17px;border:1px solid #dce8db;background:#f8fbf8;margin-bottom:9px}.msg.urgent{border-color:#f1d2cc;background:#fff8f6}.msg-top{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:12px;font-weight:800}.msg p{font-size:12px;line-height:1.7;color:#3d5145;margin:10px 0}.msg-meta{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:11px;color:var(--muted)}
.table-wrap{width:100%;overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}th{font-size:10px;color:#77877b;letter-spacing:.07em;text-transform:uppercase;padding:12px 12px;border-bottom:1px solid var(--line)}td{padding:14px 12px;border-bottom:1px solid #edf0eb;white-space:nowrap}td:first-child{font-weight:650}tr:last-child td{border-bottom:0}.amount-red{color:var(--red);font-weight:800}.highlight{background:var(--green-soft);border-radius:15px;padding:17px;display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:18px}.highlight strong{font-size:21px;color:var(--green)}.highlight p{font-size:12px;margin:4px 0 0;color:#4d6955}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.product{background:#fff;border:1px solid var(--line);border-radius:15px;padding:18px;box-shadow:var(--shadow)}.product .iconbox{display:grid;place-items:center;width:40px;height:40px;background:var(--green-soft);border-radius:11px;color:var(--green);margin-bottom:13px}.product strong{display:block;font-size:14px;line-height:1.5}.product .meta{display:block;margin:5px 0 14px;color:var(--muted);font-size:11px}.product .product-bottom{display:flex;align-items:center;justify-content:space-between;gap:9px}.product .price{color:var(--green);font-weight:800;font-size:14px}.product.low{border-color:#efd0bc}.status-line{display:flex;align-items:center;gap:8px;font-size:12px;color:#496252;margin:15px 0}.dot{width:8px;height:8px;border-radius:50%;background:#5b9970}.dot.red{background:var(--red)}.schedule{display:flex;flex-direction:column;gap:9px}.schedule-row{display:flex;align-items:center;gap:13px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px 16px}.date-tile{width:54px;height:57px;border-radius:12px;background:var(--green-soft);color:var(--green);display:flex;flex-direction:column;align-items:center;justify-content:center;flex-shrink:0}.date-tile strong{font-size:20px;line-height:1}.date-tile span{font-size:10px;font-weight:800;text-transform:uppercase;margin-top:3px}.schedule-main{flex:1;min-width:0}.schedule-main strong{display:block;font-size:14px}.schedule-main p{font-size:11px;color:var(--muted);margin:5px 0 0}.muted{color:var(--muted)}.more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.more-link{border:1px solid var(--line);text-align:left;border-radius:15px;padding:18px;background:#fff;display:flex;align-items:center;gap:12px;color:var(--ink);font-weight:700;font-size:12px}.more-link svg{height:19px;width:19px;color:var(--green)}.footer-note{color:#859087;font-size:11px;margin:30px 0 0;text-align:center;line-height:1.5}.bottom-nav{display:none}
dialog{border:none;border-radius:20px;padding:0;width:min(95vw,510px);max-height:90vh;box-shadow:0 30px 90px rgba(0,0,0,.23);color:var(--ink)}dialog::backdrop{background:rgba(8,29,18,.52);backdrop-filter:blur(3px)}.modal-head{padding:22px 24px 15px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}.modal-head h2{font-family:Georgia,serif;font-size:24px;font-weight:500;margin:0}.close{border:0;background:#f2f4f0;border-radius:50%;width:32px;height:32px;font-size:23px;display:grid;place-items:center;color:var(--green)}.modal-body{padding:20px 24px 24px;overflow:auto;max-height:calc(90vh - 75px)}.fields{display:grid;gap:13px}.field{display:flex;flex-direction:column;gap:6px}.field label{font-weight:750;font-size:12px}.field input,.field select,.field textarea{border:1px solid #d6dfd8;background:#fff;border-radius:10px;padding:12px;font-size:13px;color:var(--ink);min-width:0;width:100%}.field textarea{min-height:95px;resize:vertical}.field small{color:var(--muted);font-size:11px}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}#toast{position:fixed;bottom:90px;left:50%;transform:translateX(-50%) translateY(20px);padding:12px 18px;border-radius:12px;background:#193b28;color:#fff;font-size:12px;box-shadow:0 15px 40px #12342140;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;z-index:1000;max-width:90%;text-align:center}#toast.show{opacity:1;transform:translateX(-50%) translateY(0)}
@media(max-width:1050px){.sidebar{width:215px}.content{padding:26px 25px 100px}.topbar{padding:20px 25px}.grid4{grid-template-columns:repeat(2,minmax(0,1fr))}.grid3{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.sidebar{display:none}.topbar{padding:11px 18px;background:#fff;position:sticky;top:0;z-index:50}.topbar-left{display:none}.mobile-brand{display:flex;align-items:center;gap:9px}.mobile-brand img{width:40px;height:40px;object-fit:contain;border-radius:50%;border:1px solid var(--line)}.mobile-brand strong{font-family:Georgia,serif;font-size:23px;color:var(--green);letter-spacing:-.6px}.account select{max-width:146px;padding:9px 7px;font-size:11px}.account .avatar{display:none}.content{padding:20px 15px 104px}.hero{padding:22px 20px;border-radius:18px;min-height:164px}.hero h2{font-size:26px}.hero p{font-size:12px}.hero img{width:85px;height:85px}.grid2,.grid3,.grid4{gap:10px}.grid2{grid-template-columns:1fr}.grid3,.grid4{grid-template-columns:repeat(2,minmax(0,1fr))}.stat{padding:14px}.stat-value{font-size:20px}.card{padding:15px}.page-title h2{font-size:26px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product{padding:13px}.bottom-nav{position:fixed;bottom:0;left:0;right:0;background:rgba(255,255,255,.98);box-shadow:0 -4px 25px #0a29170a;border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(5,1fr);padding:8px 3px calc(8px + env(safe-area-inset-bottom));z-index:60}.bottom-nav button{border:0;background:none;color:#748179;display:flex;align-items:center;gap:4px;flex-direction:column;font-size:10px;font-weight:750;padding:3px;min-height:45px}.bottom-nav button svg{height:21px;width:21px}.bottom-nav button.active{color:var(--green)}.section-header h3{font-size:20px}.schedule-row{padding:11px}.schedule-row .btn{padding:7px 8px;font-size:10px;min-height:31px}.list-row{gap:9px}.list-title{font-size:12px}.list-amount{font-size:12px}.notice{font-size:11px}.table-wrap{margin:0 -5px}.table-wrap td{padding:12px 9px}dialog{width:calc(100vw - 22px)}.modal-body{padding:18px}.modal-head{padding:18px}}
@media(max-width:390px){.hero img{width:70px;height:70px}.account select{max-width:121px}.hero h2{font-size:23px}.product-grid{grid-template-columns:1fr 1fr}}
