:root{--ink:#18312d;--muted:#64746e;--green:#17694d;--deep:#104d3a;--mint:#e9f3ed;--line:#dce7df;--cream:#f8f7f2;--white:#fff;--red:#a43333}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Arial,sans-serif;line-height:1.55}a{color:var(--green);text-decoration:none}a:hover{text-decoration:underline}button,input,textarea,select{font:inherit}button{cursor:pointer}.wrap{max-width:1160px;margin:auto;padding:0 24px}.narrow{max-width:690px;margin:60px auto}.top{background:var(--white);border-bottom:1px solid var(--line)}.nav{min-height:76px;display:flex;justify-content:space-between;align-items:center;gap:20px}.brand{font-size:1.35rem;font-weight:850;letter-spacing:-.04em;color:var(--ink)}.brand span{color:var(--green)}nav{display:flex;gap:22px;align-items:center;flex-wrap:wrap}nav a,.linkbtn{font-weight:650;font-size:.91rem;color:var(--ink)}.inline{display:inline}.linkbtn{background:none;border:0;padding:0}.danger{color:var(--red)}.hero{min-height:430px;display:grid;grid-template-columns:1.1fr .9fr;gap:56px;align-items:center;padding:65px 0}.hero h1{font-size:clamp(2.6rem,5vw,4.5rem);line-height:1.08;letter-spacing:-.055em;max-width:680px;margin:0 0 22px}.hero p{font-size:1.15rem;color:var(--muted);max-width:510px;margin:0 0 30px}.button{display:inline-flex;align-items:center;justify-content:center;background:var(--green);border:1px solid var(--green);color:white;border-radius:11px;min-height:46px;padding:10px 20px;font-weight:700;text-decoration:none}.button:hover{background:var(--deep);text-decoration:none}.hero-art{background:#dce9d9;min-height:325px;border-radius:24px;display:flex;flex-direction:column;justify-content:space-between;padding:32px;box-shadow:18px 18px 0 #e7e7d9;transform:rotate(-3deg)}.hero-art span{font-size:.8rem;letter-spacing:.24em;font-weight:850}.hero-art strong{font-size:clamp(2rem,4vw,3.5rem);line-height:1.05;letter-spacing:-.06em;max-width:320px}.hero-art small{font-weight:750}.section{padding:44px 0 80px}.section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:25px}.section-head h2{font-size:2rem;letter-spacing:-.04em;margin:0}.section-head p{margin:4px 0;color:var(--muted)}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.product{background:white;border:1px solid var(--line);border-radius:17px;overflow:hidden}.product-media,.detail-media{background:#e4eee6;display:flex;align-items:center;justify-content:center;color:var(--green);font-weight:800}.product-media{height:205px}.product-media img,.detail-media img{width:100%;height:100%;object-fit:cover}.product-body{padding:22px}.product-body h3{font-size:1.25rem;line-height:1.25;margin:0 0 10px}.product-body h3 a{color:var(--ink)}.product-body p{color:var(--muted);min-height:50px;margin:0 0 22px}.product-end{border-top:1px solid var(--line);padding-top:16px;display:flex;justify-content:space-between;gap:8px;align-items:center}.text-link{font-weight:700;font-size:.9rem}.detail{display:grid;grid-template-columns:1fr 1fr;gap:60px;padding:70px 0 100px}.detail-media{min-height:440px;border-radius:22px;overflow:hidden;font-size:2rem}.detail h1,.narrow h1,.admin-title h1,.thanks h1{font-size:clamp(2rem,4vw,3.3rem);letter-spacing:-.05em;line-height:1.12;margin:18px 0}.back{font-size:.9rem;font-weight:700}.lead{font-size:1.15rem;color:var(--muted)}.description{margin:30px 0;white-space:normal}.price{font-size:1.75rem;font-weight:800}.small{font-size:.86rem;color:var(--muted);margin-top:18px}.panel{background:white;border:1px solid var(--line);border-radius:17px;padding:28px}.form{display:grid;gap:18px;margin:25px 0 80px}.form label{display:grid;gap:7px;font-weight:700;font-size:.94rem}.form input,.form textarea,.form select,.status-form select{border:1px solid #bbcfc2;border-radius:9px;background:white;padding:11px 12px;color:var(--ink);width:100%}.form input:focus,.form textarea:focus,.status-form select:focus{outline:3px solid #c3e6ce;border-color:var(--green)}.form .check{display:flex;align-items:center}.form .check input{width:auto}.form .button{justify-self:start}.notice{background:var(--mint);padding:14px 18px;border-radius:9px}.alert{background:#fbe9e8;color:#8a2424;padding:14px 18px;border-radius:9px}.thanks{text-align:center;padding:110px 0}.thanks p{font-size:1.1rem}.empty{padding:40px;background:white;border:1px solid var(--line);border-radius:12px}.admin-title{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:50px 0 30px}.admin-title h1{margin:0}.admin-title p{color:var(--muted);margin:5px 0 0}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.stats>div{background:white;border:1px solid var(--line);border-radius:14px;padding:22px}.stats span{display:block;color:var(--muted)}.stats strong{display:block;font-size:2.3rem;line-height:1.2;margin-top:8px}.table-wrap{overflow-x:auto;background:white;border:1px solid var(--line);border-radius:14px;margin-bottom:70px}table{border-collapse:collapse;width:100%;min-width:700px}th,td{text-align:left;vertical-align:top;padding:15px;border-bottom:1px solid var(--line);font-size:.91rem}th{background:#f0f5ef;color:#39594a}tr:last-child td{border-bottom:0}.status-form{display:flex;gap:6px;min-width:185px}.status-form select{padding:7px}.smallbtn{border:1px solid var(--green);border-radius:7px;background:white;color:var(--green);font-weight:700;padding:6px 9px}footer{border-top:1px solid var(--line);color:var(--muted);padding:27px 0;font-size:.87rem;margin-top:30px}@media(max-width:800px){.hero,.detail{grid-template-columns:1fr;gap:35px}.hero{padding:55px 0}.hero-art{min-height:250px;max-width:480px}.grid{grid-template-columns:repeat(2,1fr)}.detail{padding-top:45px}.detail-media{min-height:310px}}@media(max-width:570px){.wrap{padding:0 17px}.nav{align-items:flex-start;flex-direction:column;padding-top:15px;padding-bottom:15px;gap:10px}nav{gap:14px}.grid,.stats{grid-template-columns:1fr}.hero-art{transform:none;box-shadow:none}.section{padding-top:20px}.admin-title{align-items:flex-start;flex-direction:column}.narrow{margin:35px auto}.panel{padding:20px}}
.detail-media{align-self:start;aspect-ratio:1;min-height:0}.detail-media img,.product-media img{object-fit:contain}
.form input[type="checkbox"]{width:auto;accent-color:var(--green)}.form label:has(input[type="checkbox"]){display:flex;align-items:center;gap:10px}
.receipt-upload{border:1px solid var(--line);border-radius:12px;padding:20px;background:var(--mint);position:relative}.receipt-upload label{display:block;font-weight:700;margin-bottom:12px}.receipt-upload p{margin:12px 0;overflow-wrap:anywhere}.receipt-file-native{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0!important}button[hidden]{display:none!important}
.receipt-preview{margin:20px 0;background:#f0f4f1;border:1px solid var(--line);border-radius:12px;overflow:hidden}.receipt-preview img{display:block;width:100%;max-height:700px;object-fit:contain}.receipt-preview iframe{display:block;width:100%;height:650px;border:0;background:white}.stock-panel{border:1px solid var(--line);border-radius:12px;padding:20px;min-width:0}.stock-panel legend{font-weight:750;padding:0 8px}.stock-panel small{display:block;margin-top:12px}.order-badge{display:inline-block;background:var(--mint);color:var(--deep);border-radius:24px;font-weight:750;padding:8px 16px}.compact-form{margin-bottom:20px}.narrow>section.panel{margin-bottom:22px}button:disabled{opacity:.5;cursor:not-allowed}
.customer-order{max-width:980px;margin:55px auto}.customer-order h1{font-size:clamp(1.8rem,4vw,3rem);overflow-wrap:anywhere}.customer-order-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.customer-order .panel{margin-bottom:22px}.order-progress{list-style:none;display:flex;gap:12px;padding:0;margin:30px 0}.order-progress li{flex:1;border-top:3px solid var(--line);padding-top:12px;color:var(--muted);font-size:.86rem}.order-progress li.reached{border-color:var(--green);color:var(--deep);font-weight:700}.order-progress span{display:block;font-size:1.2rem}.tracking-history{padding-left:22px}.tracking-history li{padding:8px 0}.business-stats{margin:24px 0;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.business-stats strong{font-size:1.8rem}.report-filters{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));align-items:end;margin-bottom:24px}.report-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:25px 0}.settings-page{max-width:820px;margin:auto}.settings-links{position:sticky;top:0;background:var(--cream);padding:14px 0;z-index:1;border-bottom:1px solid var(--line)}.brand-preview{max-width:180px;max-height:120px;object-fit:contain}.message-preview{white-space:pre-wrap;overflow-wrap:anywhere;background:var(--mint);padding:20px;border-radius:10px;font:14px/1.6 ui-monospace,monospace}.packing-card{margin:20px 0;break-inside:avoid}.packing-columns{display:grid;grid-template-columns:1fr 1fr;gap:25px}code{overflow-wrap:anywhere}nav{gap:14px}@media(max-width:650px){.customer-order-grid,.packing-columns{grid-template-columns:1fr}.order-progress{flex-direction:column;gap:8px}.order-progress li{border-top:0;border-left:3px solid var(--line);padding:5px 12px}.order-progress span{display:inline;margin-right:10px}.settings-links{position:static;gap:12px}}@media print{header,footer,.admin-title button,.report-filters,.report-actions{display:none!important}body{background:white;color:black;font-size:11px}.wrap{max-width:none;padding:0}.packing-card{border:1px solid #888;padding:18px;margin:14px 0;box-shadow:none}.admin-title{margin:10px 0}.packing-columns{grid-template-columns:1fr 1fr}.small{color:#333}}
.customer-order{margin-top:32px}.customer-order>.section-label{margin:0}.customer-order h1{margin:8px 0 10px;line-height:1.12}.customer-order>.lead{margin:0 0 14px}.customer-order>.order-badge{margin:0 0 10px}.order-progress{margin:18px 0 24px}
