:root{
  color-scheme:light;
  --page-bg:#f7f7f3;
  --page-glow:rgba(209,230,215,.34);
  --surface-card:linear-gradient(145deg,#fff,#fbfcf9);
  --bg:var(--page-bg);
  --card:#fefefc;
  --ink:#172019;
  --muted:#69736b;
  --line:#e5e9e3;
  --green:#176c46;
  --green-2:#23845a;
  --green-soft:#e9f4ed;
  --lime:#d8ef9d;
  --amber:#f2b84b;
  --amber-soft:#fff4d9;
  --red:#b93a3a;
  --red-soft:#fff0ee;
  --shadow:0 16px 46px rgba(30,55,38,.08);
  --radius:24px;
  --safe-bottom:env(safe-area-inset-bottom,0px);
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","PingFang SC","Microsoft YaHei",sans-serif;
}
*{box-sizing:border-box}
html{background:var(--bg);scroll-behavior:smooth}
body{margin:0;background:
  radial-gradient(circle at 90% -5%,var(--page-glow),transparent 30rem),
  var(--bg);color:var(--ink);min-width:320px}
button,input,select{font:inherit}
button,a{-webkit-tap-highlight-color:transparent}
button{cursor:pointer}
a{color:inherit;text-decoration:none}
.site-shell{min-height:100dvh}
.topbar{height:68px;display:flex;align-items:center;justify-content:space-between;padding:10px 18px;max-width:1120px;margin:auto}
.brand{display:flex;align-items:center;gap:10px;min-width:0}
.brand-mark{width:38px;height:38px;border-radius:13px;background:var(--green);color:#fff;display:grid;place-items:center;font-weight:900;box-shadow:0 8px 20px rgba(23,108,70,.22)}
.brand b,.brand small{display:block}.brand b{font-size:16px;letter-spacing:.01em}.brand small{font-size:11px;color:var(--muted);margin-top:1px}
.icon-link{padding:9px 12px;background:rgba(255,255,255,.75);border:1px solid var(--line);border-radius:999px;font-size:13px;font-weight:700}
.app{width:min(100%,1120px);margin:auto;padding:8px 16px calc(92px + var(--safe-bottom));outline:none}
.page-head{margin:9px 2px 22px}.page-head.row{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.eyebrow{margin:0 0 7px;color:var(--green);font-size:12px;font-weight:850;letter-spacing:.08em}
h1,h2,h3,p{margin-top:0}h1{font-size:clamp(27px,7vw,46px);line-height:1.06;letter-spacing:-.04em;margin-bottom:8px}h2{font-size:21px;letter-spacing:-.025em;margin-bottom:12px}h3{font-size:16px;margin-bottom:6px}
.lead{color:var(--muted);font-size:14px;line-height:1.6;margin-bottom:0}
.hero{border-radius:30px;padding:24px;background:linear-gradient(145deg,#163e2b,#0d5f3c 70%,#14734a);color:#fff;box-shadow:0 22px 55px rgba(16,82,52,.22);position:relative;overflow:hidden}
.hero:after{content:"";position:absolute;width:180px;height:180px;border-radius:50%;right:-60px;top:-70px;background:rgba(216,239,157,.16)}
.hero-kicker{color:#d9efdf;font-size:12px;font-weight:800;letter-spacing:.07em}.hero-count{font-size:24px;font-weight:900;margin:8px 0 24px;letter-spacing:-.02em}.hero-count span{color:var(--lime)}
.hero-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px 14px;position:relative;z-index:1}.hero-stat small{display:block;color:rgba(255,255,255,.7);font-size:12px;margin-bottom:5px}.hero-stat strong{font-size:clamp(20px,6vw,30px);line-height:1;font-variant-numeric:tabular-nums;letter-spacing:-.035em}.hero-stat.wide{grid-column:1/-1;border-top:1px solid rgba(255,255,255,.14);padding-top:17px;display:flex;align-items:end;justify-content:space-between}.hero-stat.wide strong{color:var(--lime)}
.compass{overflow:hidden;box-shadow:0 12px 34px rgba(30,55,38,.07)}.compass-block{padding:18px}.compass-block+.compass-block{border-top:1px solid var(--line)}.compass-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.compass-head small,.scale-block>small{display:block;color:var(--muted);font-size:11px;font-weight:750;margin-bottom:3px}.compass-head h2{font-size:19px;margin:0}.compass-toggle{flex:0 0 auto;display:flex;padding:3px;border-radius:11px;background:#eef1ec}.compass-toggle button{min-height:31px;padding:6px 10px;border:0;border-radius:9px;background:transparent;color:var(--muted);font-size:11px;font-weight:800}.compass-toggle button.active{background:#fff;color:var(--green);box-shadow:0 2px 8px rgba(24,48,31,.08)}
.structure-list{display:grid;gap:12px;margin-top:16px}.structure-line{display:flex;align-items:baseline;justify-content:space-between;gap:10px}.structure-line b{font-size:13px}.structure-line span{color:var(--muted);font-size:11px;white-space:nowrap}.structure-track{height:5px;margin-top:6px;border-radius:999px;background:#edf1eb;overflow:hidden}.structure-track i{display:block;height:100%;border-radius:inherit;background:var(--green-2)}.compass-empty{padding:16px 0 2px;color:var(--muted);font-size:12px}
.scale-block strong{display:block;font-size:20px;line-height:1.25;letter-spacing:-.025em;font-variant-numeric:tabular-nums}.serving-block{background:#fafbf8}.serving-control{display:flex;align-items:center;justify-content:space-between;gap:14px}.serving-block label{color:var(--muted);font-size:12px;font-weight:750}.serving-block select{min-width:170px;max-width:230px;height:38px;padding:0 34px 0 11px;border:1px solid var(--line);border-radius:11px;background:#fff;color:var(--ink);font-weight:800;outline:none}.serving-block select:focus{border-color:var(--green-2);box-shadow:0 0 0 3px rgba(35,132,90,.1)}.serving-block>strong{display:block;margin-top:13px;font-size:16px;line-height:1.3;font-variant-numeric:tabular-nums}.serving-block>p{margin:5px 0 0;color:var(--muted);font-size:10px;line-height:1.5}.missing-spec-note{display:block;margin-top:9px;padding:8px 10px;border-radius:10px;background:var(--amber-soft);color:#7a5514;font-size:10px;font-weight:750;line-height:1.45}.missing-spec-note[hidden]{display:none}
.finance-block{padding-top:20px;padding-bottom:21px}.finance-cost{display:grid;grid-template-columns:1fr auto;align-items:baseline;gap:2px 12px;padding-bottom:16px}.finance-cost span{color:var(--muted);font-size:12px}.finance-cost strong{font-size:22px;letter-spacing:-.03em;font-variant-numeric:tabular-nums}.finance-cost small{grid-column:1/-1;color:var(--muted);font-size:10px}.finance-primary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding-top:17px;border-top:1px solid var(--line)}.finance-primary>div{min-width:0}.finance-primary span{display:block;color:var(--muted);font-size:12px}.finance-primary strong{display:block;margin-top:5px;font-size:clamp(25px,7vw,34px);line-height:1.05;letter-spacing:-.045em;font-variant-numeric:tabular-nums;white-space:nowrap}.finance-primary small{display:block;margin-top:7px;color:var(--muted);font-size:10px;line-height:1.35}.finance-primary .margin-note{display:inline-flex;padding:4px 7px;border-radius:999px;background:var(--green-soft);color:var(--green);font-weight:800}.finance-three{grid-template-columns:repeat(3,minmax(0,1fr));padding-top:0;border-top:0}.finance-three strong{font-size:clamp(21px,4.5vw,30px)}
.home-page-head .page-head{margin:3px 2px 10px}.home-page-head h1{font-size:clamp(25px,6.4vw,36px);margin-bottom:0}.home-batch-scale{margin:6px 0 0;color:var(--muted);font-size:13px;font-weight:750;font-variant-numeric:tabular-nums}.home-finance{padding:15px}.home-finance .finance-primary>div{display:flex;min-width:0;flex-direction:column}.home-finance .finance-primary span{font-weight:750}.home-finance .finance-primary strong{margin-top:5px}.home-finance .finance-primary small{min-height:14px;margin-top:5px}.home-finance .margin-note{align-self:flex-start;background:transparent;padding:0;border-radius:0;color:var(--muted);font-weight:750}.home-secondary-grid{display:grid;gap:10px;margin-top:10px}.home-availability{padding:14px}.home-availability .serving-control{align-items:center}.home-availability label{color:var(--muted);font-size:12px;font-weight:800}.home-availability select{min-width:104px;max-width:150px;height:32px;padding:0 30px 0 10px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);font-size:12px;font-weight:800;outline:none}.home-availability>strong{display:block;margin-top:7px;font-size:clamp(27px,7.5vw,34px);line-height:1.15;letter-spacing:-.04em;font-variant-numeric:tabular-nums}.home-availability>p,.home-cycle-note{margin:6px 0 0;color:var(--muted);font-size:10px;line-height:1.5}.home-secondary-grid .sales-cycle{margin:0;display:flex;min-height:0;padding:14px;flex-direction:column}.home-secondary-grid .cycle-heading strong{margin-top:3px}.home-secondary-grid .home-cycle-note{margin-top:6px}.home-secondary-grid .daily-stepper-row{margin-top:9px;padding-top:9px}.home-structure{margin-top:18px;box-shadow:0 8px 24px rgba(30,55,38,.04)}.home-recent{margin-top:18px;margin-bottom:8px}.home-empty-state{margin-top:10px;padding:28px 20px;text-align:center}.home-empty-state h2{margin-bottom:7px}.home-empty-state p{margin:0 0 18px;color:var(--muted);font-size:13px;line-height:1.6}.home-empty-state .btn{display:inline-flex;align-items:center;justify-content:center}.home-recent-list .list-compact-row{cursor:pointer}
.home-route{background:#f6f8f7}.home-route .topbar{height:58px;padding:8px 16px}.home-route .brand{gap:8px}.home-route .brand-mark{width:28px;height:28px;border-radius:999px;background:#167a56;font-size:13px;box-shadow:none}.home-route .brand b{font-size:15px}.home-route .brand small{font-size:10px}.home-route .icon-link{display:none}.home-route .app{padding-top:6px}.home-route .card{border-color:#e6ebe8;border-radius:18px;box-shadow:0 8px 24px rgba(17,24,39,.04)}.home-route .home-page-head h1{color:#111827;font-size:clamp(24px,6.1vw,32px);font-weight:750;letter-spacing:-.035em}.home-route .home-batch-scale{color:#8a9196;font-size:12px;font-weight:700}.home-route .home-finance{background:#fff}.home-route .home-finance .finance-three>div{justify-content:flex-start}.home-route .home-finance .finance-three span{color:#697178;font-size:11px;font-weight:500}.home-route .home-finance .finance-three strong{color:#111827;font-weight:750;letter-spacing:-.035em}.home-route .home-finance .finance-three small{color:#899196;font-weight:400}.home-route .home-finance .finance-three>div+div{border-left:1px solid #edf0ee}.home-route .home-availability,.home-route .sales-cycle{background:#fff}.home-route .home-availability label,.home-route .cycle-heading small{color:#374151;font-size:12px;font-weight:650}.home-route .home-availability select{border-color:#e6ebe8;border-radius:999px;color:#374151;font-weight:600}.home-route .home-availability>strong,.home-route .cycle-heading strong{color:#111827;font-weight:750}.home-route .cycle-heading strong{color:#167a56}.home-route .home-availability>p,.home-route .home-cycle-note{color:#828b91;font-size:11px;line-height:1.55}.home-route .daily-stepper-row{border-top:1px solid #edf0ee}.home-route .daily-stepper-row>span{color:#4b5563;font-weight:500}.home-route .daily-stepper{gap:6px;border:0;border-radius:0;background:transparent;overflow:visible}.home-route .daily-stepper button{width:32px;height:32px;border:1px solid #dce8e1;border-radius:9px;background:#eef7f2;color:#167a56;font-size:17px}.home-route .daily-stepper label{height:32px;padding:0 9px;border:0;border-radius:9px;background:#eef7f2}.home-route .daily-stepper input{width:34px;font-size:14px}.home-route .daily-stepper em{color:#167a56}.home-route .home-structure{overflow:hidden}.home-route .home-structure .compass-head{align-items:flex-end}.home-route .home-structure .compass-head small{display:none}.home-route .home-structure .compass-head h2{color:#111827;font-size:16px;font-weight:700}.home-route .home-structure .compass-toggle{gap:16px;padding:0;border-radius:0;background:transparent}.home-route .home-structure .compass-toggle button{min-height:28px;padding:0 2px 6px;border-bottom:2px solid transparent;border-radius:0;color:#6b7280;font-weight:500}.home-route .home-structure .compass-toggle button.active{border-bottom-color:#16a085;background:transparent;color:#111827;box-shadow:none}.home-route .structure-track{height:5px;background:#edf1ef}.home-route .structure-track i{background:#27b66f}.home-route .section-title h2{color:#111827;font-size:16px;font-weight:700}.home-route .section-title a{color:#167a56;font-size:11px}.home-route .bottom-nav{background:rgba(255,255,255,.96);border-color:#e6ebe8;box-shadow:0 -8px 24px rgba(17,24,39,.05)}.home-route .bottom-nav a.active{background:transparent;color:#16a085}.home-empty-mascot{display:block;width:min(100%,230px);height:auto;margin:0 auto -2px}.home-route .home-empty-state{padding:16px 20px 28px}.home-route .home-empty-state h2{color:#111827;font-size:17px;font-weight:700}.home-route .home-empty-state .btn.primary{min-height:40px;padding:8px 20px;border-radius:12px;background:#16a085;border-color:#16a085;box-shadow:0 6px 14px rgba(22,160,133,.18)}
.section{margin-top:24px}.section-title{display:flex;align-items:end;justify-content:space-between;gap:12px;margin:0 2px 12px}.section-title h2{margin:0}.section-title a{font-size:13px;color:var(--green);font-weight:800}
.card{background:var(--card);border:1px solid rgba(222,228,220,.86);border-radius:var(--radius);box-shadow:var(--shadow)}
.turnover-card{padding:18px}.turnover-top{display:flex;justify-content:space-between;gap:16px}.turnover-result strong{display:block;font-size:26px;letter-spacing:-.04em}.turnover-result small{color:var(--muted)}
.turnover-summary{display:flex;justify-content:space-between;gap:12px;margin-top:14px;padding-top:13px;border-top:1px solid var(--line);color:var(--muted);font-size:11px}.turnover-summary b{display:block;margin-top:2px;color:var(--ink);font-size:13px}
.inline-input{display:flex;align-items:center;background:#f3f5f1;border-radius:14px;padding:6px 10px;min-width:118px}.inline-input input{width:64px;border:0;background:transparent;text-align:right;font-weight:800;color:var(--ink);outline:none}.inline-input span{font-size:12px;color:var(--muted);margin-left:4px}
.sales-cycle{padding:18px 18px 17px;margin-bottom:30px;box-shadow:0 8px 24px rgba(30,55,38,.05)}.cycle-heading small{display:block;color:var(--muted);font-size:11px;font-weight:800}.cycle-heading strong{display:block;margin-top:4px;font-size:clamp(28px,8vw,36px);line-height:1.08;letter-spacing:-.045em;font-variant-numeric:tabular-nums}.cycle-heading p{margin:7px 0 0;color:var(--muted);font-size:11px;line-height:1.45}.daily-stepper-row{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:16px;padding-top:14px;border-top:1px solid var(--line)}.daily-stepper-row>span{color:var(--muted);font-size:12px;font-weight:750}.daily-stepper{display:flex;align-items:center;min-height:38px;border:1px solid var(--line);border-radius:12px;background:#f8faf7;overflow:hidden}.daily-stepper button{width:40px;height:38px;border:0;background:transparent;color:var(--green);font-size:20px;line-height:1;font-weight:700}.daily-stepper button:active{background:var(--green-soft)}.daily-stepper label{display:flex;align-items:center;justify-content:center;gap:3px;height:28px;padding:0 8px;border-left:1px solid var(--line);border-right:1px solid var(--line)}.daily-stepper input{width:42px;border:0;background:transparent;color:var(--ink);font-size:15px;font-weight:850;text-align:right;outline:0;font-variant-numeric:tabular-nums;-moz-appearance:textfield}.daily-stepper input::-webkit-inner-spin-button,.daily-stepper input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.daily-stepper em{color:var(--muted);font-size:11px;font-style:normal}.daily-results{display:flex;align-items:center;gap:7px;margin-top:12px;color:var(--muted);font-size:11px;line-height:1.4}.daily-results b{color:var(--ink);font-size:12px;font-variant-numeric:tabular-nums}.daily-results i{color:#bdc4bc;font-style:normal}
.micro-note{font-size:12px;color:var(--muted);margin:14px 0 0;line-height:1.45}
.segmented{display:grid;grid-template-columns:1fr 1fr;padding:4px;background:#eef1ec;border-radius:14px}.segmented button{border:0;border-radius:11px;padding:9px;background:transparent;color:var(--muted);font-size:13px;font-weight:750}.segmented button.active{background:#fff;color:var(--green);box-shadow:0 3px 12px rgba(24,48,31,.08)}
.quick-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px}.action-card{display:block;padding:17px;min-height:116px;position:relative;overflow:hidden}.action-card b{display:block;font-size:17px;margin-bottom:6px}.action-card p{color:var(--muted);font-size:12px;line-height:1.45;margin:0 0 14px}.action-card span{color:var(--green);font-size:13px;font-weight:850}.action-card.primary{background:var(--amber-soft);border-color:#f1ddb1}.action-card.primary span{color:#8d5a00}
.empty-card{text-align:center;padding:36px 22px}.empty-icon{width:58px;height:58px;border-radius:20px;background:var(--green-soft);color:var(--green);display:grid;place-items:center;margin:0 auto 16px;font-size:28px}.empty-card p{color:var(--muted);font-size:14px;line-height:1.6}
.btn{min-height:44px;padding:11px 16px;border:1px solid var(--line);border-radius:14px;background:#fff;color:var(--ink);font-weight:800}.btn:disabled{opacity:.48;cursor:not-allowed}.btn.primary{background:var(--green);border-color:var(--green);color:#fff}.btn.soft{background:var(--green-soft);border-color:transparent;color:var(--green)}.btn.danger{color:var(--red);background:var(--red-soft);border-color:#f5cfca}.btn.block{width:100%}.btn-row{display:flex;gap:10px;flex-wrap:wrap}.btn-row .btn{flex:1}
.beer-list{display:grid;gap:12px}.beer-card{padding:16px}.beer-card-head{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:flex-start;gap:10px}.beer-index{display:grid;place-items:center;min-width:31px;height:31px;border-radius:10px;background:var(--green-soft);color:var(--green);font-size:12px;font-weight:900;font-variant-numeric:tabular-nums}.beer-name{font-size:17px;font-weight:900;line-height:1.3}.beer-meta{color:var(--muted);font-size:12px;margin-top:3px}.beer-order{display:flex;gap:3px}.beer-order button{width:27px;height:27px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--muted);font-size:12px}.beer-order button:disabled{opacity:.28}.beer-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.beer-actions .btn{min-height:36px;padding:7px 11px;font-size:11px}.beer-stock{margin-left:auto;align-self:center;color:var(--muted);font-size:11px;white-space:nowrap}.source-pill{display:inline-flex;margin-top:8px;padding:4px 7px;border-radius:7px;background:#f2f4f1;color:var(--muted);font-size:10px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.beer-purchase{margin:8px 0 0 41px;color:var(--muted);font-size:11px}.beer-purchase i{color:#c6ccc5;font-style:normal}.beer-remaining{display:flex;align-items:center;gap:7px;margin:7px 0 0 41px;color:var(--muted);font-size:10px}.remaining-input{display:inline-flex;align-items:center;height:29px;padding:0 7px;border:1px solid var(--line);border-radius:8px;background:#fff}.remaining-input input{width:54px;border:0;outline:0;background:transparent;color:var(--ink);font-size:13px;font-weight:850}.remaining-input em{font-style:normal;color:var(--muted)}.beer-remaining>small{color:#9ba29b;font-size:9px}.beer-spec-prices{display:grid;gap:1px;margin:9px 0 0 41px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:5px 0}.beer-spec-line{min-height:35px;display:grid;grid-template-columns:52px minmax(74px,auto) 1fr;align-items:baseline;gap:8px}.beer-spec-line small{color:var(--muted);font-size:11px}.beer-spec-line strong{color:var(--ink);font-size:19px;line-height:1;font-variant-numeric:tabular-nums;letter-spacing:-.025em}.beer-spec-line span{color:#8a918a;font-size:10px;font-weight:500}.beer-spec-line .below-reference,.inline-margin.below-reference{color:#9a7650}.beer-card-aux{display:flex;gap:6px;flex-wrap:wrap;margin:7px 0 0 41px}.beer-card-aux span{padding:3px 6px;border-radius:7px;background:#f1f4f0;color:#7b837c;font-size:9px}
.beer-all-specs{margin:8px 0 0 41px;border-top:1px solid var(--line)}.beer-all-specs>summary{list-style:none;display:flex;justify-content:space-between;align-items:center;padding:9px 1px 3px;color:var(--green);font-size:11px;font-weight:850;cursor:pointer;outline:none}.beer-all-specs>summary:focus-visible{outline:2px solid var(--green);outline-offset:2px;border-radius:4px}.beer-all-specs>summary::-webkit-details-marker{display:none}.beer-all-specs>summary span{transition:transform .15s}.beer-all-specs[open]>summary span{transform:rotate(90deg)}.all-spec-list{display:grid;gap:6px;padding:8px 0}.all-spec-row{display:grid;grid-template-columns:minmax(0,1fr) 92px auto;align-items:center;gap:7px;padding:8px 9px;border-radius:10px;background:#f6f8f4}.all-spec-row>div:first-child{min-width:0}.all-spec-row b{display:block;font-size:11px}.all-spec-row small{display:block;color:var(--muted);font-size:9px;line-height:1.35}.inline-price{display:flex;align-items:center;height:34px;border:1px solid var(--line);border-radius:9px;background:#fff;padding:0 7px}.inline-price span{color:var(--muted);font-size:11px}.inline-price input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:var(--ink);font-size:15px;font-weight:900}.all-spec-row .inline-margin{white-space:nowrap;font-size:9px}.beer-all-specs>.mini-link{display:inline-block;margin:2px 0 5px}
.list-add-row{margin-bottom:12px}.list-add-row .list-add{min-height:40px;padding-top:8px;padding-bottom:8px;border-radius:12px}.list-toolbar{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);align-items:center;gap:8px;margin-bottom:12px}.list-toolbar .btn{display:flex;min-width:0;min-height:40px;align-items:center;justify-content:center;padding:8px 11px;border-radius:12px;font-size:12px;line-height:1;white-space:nowrap}.empty-actions{display:flex;flex-direction:column;align-items:center;gap:12px}.beer-taste-pill{display:inline-flex;align-items:center;min-height:18px;margin-top:5px;padding:0 6px;border-radius:6px;background:#f0f4ef;color:#667269;font-size:9px;font-weight:750}.inline-cost{display:inline-flex;align-items:center;height:25px;margin:0 2px;padding:0 4px;border:1px solid var(--line);border-radius:7px;background:#fff}.inline-cost em{color:var(--muted);font-size:10px;font-style:normal}.inline-cost input{width:51px;border:0;outline:0;background:transparent;color:var(--ink);font-size:11px;font-weight:850;text-align:right;-moz-appearance:textfield}.inline-cost input::-webkit-inner-spin-button,.inline-cost input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.pricing-limit-dialog .inventory-dialog-card>div{grid-template-columns:1fr 1fr}.pricing-limit-dialog .inventory-dialog-card a{display:flex;align-items:center;justify-content:center}
.list-save-row{display:flex;justify-content:center;margin:20px 0 6px}.list-save-row .btn{min-width:168px}.list-save-dialog>.inventory-dialog-backdrop{border:0}.list-save-dialog .inventory-dialog-card{padding:24px}.list-save-local-state{display:inline-flex;margin-bottom:10px;padding:4px 8px;border-radius:999px;background:var(--green-soft);color:var(--green);font-size:10px;font-weight:850}.list-save-dialog .inventory-dialog-card>h2{margin-bottom:6px;font-size:21px}.list-save-dialog .list-save-local-note{margin:0;color:var(--muted);font-size:12px;line-height:1.55}.list-save-dialog .list-save-pro-value{display:block;margin-top:19px;padding-top:18px;border-top:1px solid var(--line)}.list-save-pro-value h3{margin:0 0 6px;font-size:17px}.list-save-pro-value>p{margin:0 0 12px;color:var(--muted);font-size:12px;line-height:1.55}.list-save-pro-value ul{display:grid;grid-template-columns:1fr 1fr;gap:8px 12px;margin:0;padding:0;list-style:none}.list-save-pro-value li{position:relative;padding-left:13px;color:#475149;font-size:11px;line-height:1.45}.list-save-pro-value li:before{content:'·';position:absolute;left:2px;color:var(--green);font-weight:900}.list-save-dialog .list-save-dialog-actions{display:grid;grid-template-columns:1fr;gap:10px;margin-top:20px}.list-save-dialog-actions .mini-link{min-height:38px}
.list-heading-row .page-head{margin-bottom:10px}.list-mode-switch{display:inline-flex;align-items:center;margin:0 2px 14px;padding:2px;border:1px solid var(--line);border-radius:11px;background:#eef1ec}.list-mode-switch button{min-width:62px;height:34px;padding:0 10px;border:0;border-radius:9px;background:transparent;color:var(--muted);font-size:12px;font-weight:800;line-height:1;white-space:nowrap}.list-mode-switch button.active{background:#fff;color:var(--green);box-shadow:0 1px 5px rgba(24,48,31,.09)}.list-mode-switch button:focus-visible{outline:2px solid var(--green);outline-offset:1px}
.beer-card.compact-card{padding:13px 14px}.compact-card .beer-card-head{gap:8px}.compact-card .beer-heading-copy{min-width:0}.compact-card .beer-index{min-width:27px;height:27px;border-radius:8px;font-size:11px}.compact-card .beer-name{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-size:16px;line-height:1.25}.compact-card .beer-meta{margin-top:2px;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.compact-card .source-pill{margin-top:4px;padding:0;background:transparent;font-size:9px}.compact-card .beer-order{gap:2px}.compact-card .beer-order button{width:25px;height:25px;border-radius:7px;font-size:11px;padding:0}.remaining-error{display:none;position:absolute;z-index:2;left:0;top:30px;padding:5px 7px;border-radius:7px;background:var(--red-soft);color:var(--red);font-size:9px;box-shadow:0 4px 12px rgba(185,58,58,.08)}.remaining-error.show{display:block}.compact-prices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:7px 0 0 35px;padding:8px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.beer-price-cell{min-width:0;text-align:center;border-left:1px solid #edf0eb}.beer-price-cell:first-child{border-left:0}.beer-price-cell>small{display:block;color:var(--muted);font-size:10px;font-weight:700}.beer-price-input{display:flex;align-items:center;justify-content:center;gap:1px;min-width:0;margin-top:2px;color:var(--ink)}.beer-price-input em{font-size:15px;font-style:normal;font-weight:900}.beer-price-input input{width:58px;min-width:0;border:0;border-bottom:1px solid transparent;background:transparent;color:var(--ink);font-size:20px;line-height:1.1;font-weight:900;text-align:center;outline:0;font-variant-numeric:tabular-nums;-moz-appearance:textfield}.beer-price-input input::-webkit-inner-spin-button,.beer-price-input input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.beer-price-input input:focus{border-bottom-color:var(--green)}.beer-price-cell>span:last-child{display:block;min-height:12px;margin-top:2px;color:#8a918a;font-size:9px;font-weight:500;white-space:nowrap}.beer-price-cell>span.below-reference{color:#9a7650}.compact-specs{margin:0 0 0 35px;border:0}.compact-specs>summary{padding:7px 0 5px;color:var(--muted);font-size:9px;font-weight:700}.compact-specs>summary span{transform:none!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.compact-specs>summary strong{display:flex;align-items:center;gap:4px;color:var(--green);font-size:10px;white-space:nowrap}.compact-specs>summary i{font-style:normal;transition:transform .15s}.compact-specs[open]>summary i{transform:rotate(90deg)}.compact-specs .all-spec-list{padding-top:6px}.compact-specs>.mini-link{margin-bottom:3px}.beer-card-footer{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:5px;margin:0 0 0 35px;padding-top:5px;border-top:1px solid var(--line)}.beer-business-info{display:flex;min-width:0;align-items:center;gap:3px;color:var(--muted);font-size:9px;white-space:nowrap}.beer-business-info>i,.compact-business-info>i{color:#b9c0ba;font-style:normal}.beer-business-info .inline-cost{flex:0 0 auto;height:26px;margin:0;padding:0 3px}.beer-business-info .inline-cost input{width:42px;font-size:10px}.beer-business-info b,.compact-business-info b{font-weight:inherit}.beer-card-ops,.compact-list-actions{display:flex;flex:0 0 auto;align-items:center}.beer-card-ops a,.beer-card-ops button,.compact-list-actions a,.compact-list-actions button{display:inline-flex;min-width:44px;min-height:40px;align-items:center;justify-content:center;padding:0 4px;border:0;background:transparent;font-size:10px;font-weight:800;line-height:1}.beer-card-ops a,.compact-list-actions a{color:var(--green)}.beer-card-ops button,.compact-list-actions button{color:var(--red)}
.list-compact{display:grid;grid-template-columns:minmax(0,1fr);overflow:hidden;border:1px solid var(--line);border-radius:16px;background:#fff}.list-compact-row{width:100%;min-width:0;border:0;border-bottom:1px solid var(--line);background:#fff;color:var(--ink)}.list-compact-row:last-child{border-bottom:0}.list-compact-row:hover{background:#fafbf8}.compact-list-main{width:100%;min-width:0;display:grid;grid-template-columns:25px minmax(0,1fr) 112px;align-items:start;gap:8px;padding:10px 11px;border:0;background:transparent;color:var(--ink);text-align:left}.compact-list-main:focus-visible{position:relative;z-index:1;outline:2px solid var(--green);outline-offset:-2px}.compact-list-index{display:grid;place-items:center;width:25px;height:25px;border-radius:8px;background:var(--green-soft);color:var(--green);font-size:10px;font-weight:900;font-variant-numeric:tabular-nums}.compact-list-info{min-width:0;display:flex;flex-direction:column;align-items:flex-start}.compact-list-info strong{display:-webkit-box;width:100%;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;color:var(--ink);font-size:14px;font-weight:900;line-height:18px}.compact-list-info small{display:block;width:100%;margin-top:3px;overflow:hidden;color:var(--muted);font-size:10px;line-height:14px;text-overflow:ellipsis;white-space:nowrap}.compact-list-info em{display:inline-flex;align-items:center;min-height:18px;margin-top:5px;padding:0 6px;border-radius:6px;background:#f0f4ef;color:#667269;font-size:9px;font-style:normal;font-weight:750}.compact-result-prices{display:grid;gap:2px;min-width:0}.compact-result-price{display:grid;grid-template-columns:minmax(0,1fr) 33px;align-items:baseline;gap:5px;min-width:0;white-space:nowrap}.compact-result-price b{display:flex;align-items:baseline;justify-content:flex-end;gap:4px;color:var(--ink);font-size:14px;line-height:18px;font-weight:900;text-align:right;font-variant-numeric:tabular-nums}.compact-result-price b i{color:#8a918a;font-size:8px;font-style:normal;font-weight:650}.compact-result-price small{color:var(--muted);font-size:9px;line-height:18px;text-align:left}.compact-list-footer{display:flex;min-width:0;min-height:40px;align-items:center;justify-content:space-between;gap:4px;margin:0 11px 0 44px;border-top:1px solid #edf0eb}.compact-business-info{min-width:0;color:var(--muted);font-size:9px;line-height:1;white-space:nowrap}.compact-business-info i{margin:0 2px}.list-focus-target{animation:listFocus 1.5s ease}@keyframes listFocus{0%,100%{box-shadow:var(--shadow)}25%,70%{box-shadow:0 0 0 3px rgba(23,108,70,.18),var(--shadow)}}
@media(max-width:340px){.beer-card-footer{margin-left:31px;gap:1px}.beer-business-info,.compact-business-info{font-size:8px}.beer-business-info{gap:2px}.beer-business-info .inline-cost input{width:37px}.beer-card-ops a,.beer-card-ops button,.compact-list-actions a,.compact-list-actions button{min-width:38px;padding:0 2px}.compact-list-main{grid-template-columns:23px minmax(0,1fr) 104px;gap:6px;padding-left:9px;padding-right:9px}.compact-list-footer{margin-left:38px;margin-right:7px;gap:1px}.inventory-remaining-label{font-size:0}.inventory-remaining-label:after{content:"余";font-size:8px}}
.source-options{display:grid;gap:12px}.source-option{padding:20px;display:flex;gap:15px;align-items:center}.source-option-icon{flex:0 0 auto;width:50px;height:50px;border-radius:17px;background:var(--green-soft);color:var(--green);display:grid;place-items:center;font-size:22px;font-weight:900}.source-option.vendor .source-option-icon{background:var(--amber-soft);color:#8d5a00}.source-option p{margin:4px 0 0;color:var(--muted);font-size:12px}.source-option .arrow{margin-left:auto;color:var(--muted);font-size:20px}
.form-card{padding:19px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px 12px}.field{display:grid;gap:7px}.field.full{grid-column:1/-1}.field label{font-size:12px;color:var(--muted);font-weight:750}.field input,.field select{width:100%;min-height:46px;border:1px solid var(--line);border-radius:13px;background:#fbfcfa;padding:10px 12px;color:var(--ink);outline:none}.field input:focus,.field select:focus{border-color:var(--green-2);box-shadow:0 0 0 3px rgba(35,132,90,.1)}.field .suffix-wrap{position:relative}.field .suffix-wrap input{padding-right:48px}.field .suffix{position:absolute;right:12px;top:50%;transform:translateY(-50%);color:var(--muted);font-size:12px}.field-help{font-size:11px;color:var(--muted);line-height:1.45}.field-error{font-size:11px;color:var(--red);min-height:14px}.form-actions{display:flex;gap:10px;margin-top:20px}.form-actions .btn{flex:1}
.pricing-cost{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;padding:19px}.pricing-cost small{color:var(--muted);display:block;font-size:12px}.pricing-cost strong{font-size:32px;letter-spacing:-.04em}.pricing-cost p{margin:5px 0 0;font-size:12px;color:var(--muted)}
.margin-chips{display:flex;gap:8px;overflow-x:auto;padding:2px 1px 8px;scrollbar-width:none}.margin-chips::-webkit-scrollbar{display:none}.margin-chip{flex:0 0 auto;min-width:64px;border:1px solid var(--line);background:#fff;border-radius:15px;padding:12px 10px;color:var(--ink);font-weight:850}.margin-chip.active{background:var(--green);color:#fff;border-color:var(--green)}
.theory-card{padding:20px;background:linear-gradient(140deg,#fbfff8,#eef7e9)}.theory-card small{color:var(--muted)}.theory-card strong{font-size:34px;display:block;margin-top:4px;letter-spacing:-.04em}.candidate-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:12px}.candidate{border:1px solid var(--line);background:#fff;border-radius:17px;padding:13px 8px;text-align:center}.candidate:hover,.candidate.selected{border-color:var(--green);box-shadow:0 0 0 2px rgba(23,108,70,.09)}.candidate b{display:block;font-size:20px}.candidate span{display:block;color:var(--muted);font-size:10px;margin-top:5px}.candidate.member b{font-size:18px}.candidate.member span{line-height:1.4}
.price-entry{margin-top:12px;display:grid;grid-template-columns:1fr auto;gap:9px}.price-entry input{min-width:0;height:50px;border:1px solid var(--line);border-radius:15px;background:#fff;padding:10px 14px;font-weight:900;font-size:20px;outline:none}.price-entry input:focus{border-color:var(--green)}
.metrics{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:var(--line);border:1px solid var(--line);border-radius:20px;overflow:hidden;margin-top:12px}.metric{background:#fff;padding:14px}.metric small{display:block;color:var(--muted);font-size:10px;margin-bottom:4px}.metric strong{font-size:16px;font-variant-numeric:tabular-nums}.warning{display:none;color:var(--red);background:var(--red-soft);border-radius:12px;padding:10px 12px;margin-top:10px;font-size:12px}.warning.show{display:block}
.pricing-section{margin-top:26px}.pricing-section-head{display:flex;align-items:end;justify-content:space-between;gap:10px;margin-bottom:11px}.pricing-section-head h2{margin:0}.pricing-section-head small{color:var(--muted)}
.custom-margin{display:flex;align-items:center;gap:6px;margin-top:8px}.custom-margin input{width:88px;border:1px solid var(--line);border-radius:12px;padding:9px 10px}.custom-margin .btn{min-height:38px;padding:7px 11px;font-size:12px}
.target-margin-section{margin-top:0}.serving-spec-list{display:grid;gap:10px}.serving-spec-editor{border:1px solid var(--line);border-radius:16px;background:#fff;overflow:hidden}.serving-spec-editor summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 14px;cursor:pointer}.serving-spec-editor summary::-webkit-details-marker{display:none}.serving-spec-editor summary span{min-width:0}.serving-spec-editor summary b{display:block;font-size:15px}.serving-spec-editor summary small{display:block;margin-top:3px;color:var(--muted);font-size:10px}.serving-spec-editor summary strong{font-size:20px;font-variant-numeric:tabular-nums}.serving-spec-editor summary:after{content:'⌄';color:var(--muted);font-size:14px}.serving-spec-editor[open] summary:after{transform:rotate(180deg)}.spec-editor-body{padding:14px;border-top:1px solid var(--line);background:#fbfcfa}.spec-suggestion{display:grid;grid-template-columns:1fr auto;align-items:baseline;gap:3px 12px}.spec-suggestion span{color:var(--muted);font-size:11px}.spec-suggestion strong{font-size:24px}.spec-suggestion small{grid-column:1/-1;color:var(--muted);font-size:10px}.candidate-grid.compact{margin-top:10px}.candidate-grid.compact .candidate{padding:9px 5px;border-radius:12px}.candidate-grid.compact .candidate b{font-size:16px}.plan-list{display:grid;gap:8px;margin-top:12px}.plan-row{display:grid;grid-template-columns:minmax(54px,.65fr) minmax(104px,1fr) auto;align-items:center;gap:6px 9px;padding:10px;border-radius:12px;background:#f1f4f0}.plan-row label{font-size:11px;font-weight:800}.plan-row small{grid-column:1/-1;color:var(--muted);font-size:10px}.plan-row small b{color:var(--ink)}.plan-row .danger-text{grid-column:1/-1;justify-self:start}.plan-price-input{display:flex;align-items:center;border:1px solid var(--line);border-radius:10px;background:#fff;padding:0 8px}.plan-price-input span{color:var(--muted);font-size:12px}.plan-price-input input{width:100%;min-width:0;height:35px;border:0;background:transparent;color:var(--ink);font-weight:900;outline:0}.add-plan{margin-top:11px}.danger-text{color:var(--red)}.delete-spec{display:block;margin-top:13px}.delete-spec:disabled{color:#adb3ad;cursor:not-allowed}.add-spec-card{padding:14px;margin-top:11px}.add-spec-card>label{display:block;margin-bottom:9px;font-size:12px;font-weight:850}.add-spec-row{display:flex;gap:8px;flex-wrap:wrap}.add-spec-row select{flex:1 1 150px;min-width:0;height:42px;border:1px solid var(--line);border-radius:11px;background:#fff;padding:0 10px}.custom-spec-input{flex:1 1 120px;display:flex;align-items:center;border:1px solid var(--line);border-radius:11px;background:#fff;padding:0 10px}.custom-spec-input[hidden]{display:none}.custom-spec-input input{width:100%;min-width:0;height:40px;border:0;outline:0}.custom-spec-input span{color:var(--muted);font-size:11px}.add-spec-row .btn{min-height:42px;padding:9px 14px}
.sticky-save{position:sticky;bottom:calc(78px + var(--safe-bottom));z-index:8;margin-top:24px;background:rgba(246,247,242,.9);backdrop-filter:blur(10px);padding:9px 0}
.vendor-search{padding:18px}.vendor-search-row{display:grid;grid-template-columns:1fr auto;gap:9px}.vendor-search input{min-width:0;border:1px solid var(--line);border-radius:14px;padding:11px 13px;outline:none}.vendor-status{margin:12px 1px 0;color:var(--muted);font-size:12px;line-height:1.5}.vendor-status.error{color:var(--red)}
.vendor-directory{display:grid;gap:10px;max-width:760px}.vendor-entry{width:100%;min-height:68px;padding:12px 15px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;text-align:left;color:var(--ink);transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}.vendor-entry:hover{transform:translateY(-1px);border-color:#cbd8cc;box-shadow:0 12px 30px rgba(30,55,38,.1)}.vendor-entry-main{min-width:0;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:3px 10px}.vendor-entry-main small{color:var(--muted);font-size:11px;font-weight:750}.vendor-entry-main b{font-size:16px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vendor-entry-main>span{grid-column:1/-1;color:var(--green);font-size:11px;font-weight:800}.vendor-entry-arrow{color:var(--green);font-size:28px;font-weight:400;line-height:1}.vendor-lock{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:999px;background:var(--amber-soft);color:#8d5a00;font-size:9px;font-style:normal;font-weight:850}.vendor-directory-loading{margin:0 2px 12px;color:var(--muted);font-size:13px}.vendor-access-card{max-width:520px;padding:20px}.vendor-access-card .btn{margin-top:16px}.vendor-access-error{min-height:18px;margin-top:9px;color:var(--red);font-size:12px}
.vendor-city-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:12px;row-gap:14px;max-width:760px}.vendor-city-entry{min-height:108px;padding:20px 18px;display:grid;grid-template-columns:minmax(0,1fr) 32px;column-gap:12px;align-items:center;text-align:left;color:var(--ink);background:#f3f7f3;border-color:#e1ebe4;border-radius:18px;box-shadow:0 6px 18px rgba(31,72,48,.045);transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease,transform .12s ease}.vendor-city-entry:hover{background:#eef5f1;border-color:#d5e4da;box-shadow:0 8px 22px rgba(31,72,48,.07)}.vendor-city-entry:active{background:#e9f2ec;transform:scale(.98)}.vendor-city-entry:focus-visible{outline:2px solid rgba(30,110,62,.3);outline-offset:2px}.vendor-city-entry b{font-size:21px;font-weight:700;line-height:1.3}.vendor-city-entry span{grid-column:1;color:#69736c;font-size:14px;line-height:1.45;margin-top:6px}.vendor-city-entry i{grid-column:2;grid-row:1/3;display:grid;place-items:center;width:32px;height:32px;border:1px solid #d7e4da;border-radius:50%;background:rgba(255,255,255,.72);color:var(--green);font-size:20px;line-height:1;font-style:normal}.vendor-city-back{margin-bottom:10px}.source-option-disabled{opacity:.72;cursor:not-allowed}
.vendor-section{margin-top:24px}.recommendation-section{margin:2px 0 22px}.recommendation-section .section-title small{color:var(--muted);font-size:11px}.recommendation-strip{display:flex;gap:10px;overflow-x:auto;padding:2px 2px 10px;scroll-snap-type:x proximity;scrollbar-width:none}.recommendation-strip::-webkit-scrollbar{display:none}.recommendation-card{flex:0 0 min(76vw,260px);padding:0;overflow:hidden;text-align:left;display:grid;grid-template-columns:76px minmax(0,1fr);min-height:150px;scroll-snap-align:start;color:var(--ink)}.recommendation-card>img,.recommendation-image{width:76px;height:100%;min-height:150px;object-fit:cover;background:linear-gradient(145deg,var(--green),#0d4e34);color:var(--lime);display:grid;place-items:center;font-size:28px;font-weight:900}.recommendation-body{min-width:0;padding:12px 12px 11px;display:flex;flex-direction:column;align-items:flex-start}.recommendation-tag{font-style:normal;font-size:10px;font-weight:900;border-radius:999px;padding:4px 7px;background:var(--green-soft);color:var(--green);margin-bottom:7px}.recommendation-tag.type-special{background:var(--red-soft);color:var(--red)}.recommendation-tag.type-campaign,.recommendation-tag.type-new{background:var(--amber-soft);color:#8d5a00}.recommendation-body b{font-size:14px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.recommendation-body small,.recommendation-body span{display:block;color:var(--muted);font-size:10px;margin-top:4px;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}.recommendation-body strong{margin-top:auto;padding-top:8px;font-size:17px;color:var(--ink)}.recommendation-body em{font-size:10px;color:var(--muted);font-style:normal}.recommendation-loading{color:var(--muted);font-size:12px;margin:0 2px 14px}
.vendor-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:18px 2px 10px}.vendor-toolbar small{color:var(--muted)}.vendor-products{display:grid;gap:10px}.vendor-product{padding:14px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px}.vendor-product input{width:20px;height:20px;accent-color:var(--green)}.vendor-product b{font-size:14px;display:block}.vendor-product p{font-size:11px;color:var(--muted);margin:4px 0 0}.vendor-price{font-weight:900;color:var(--green);white-space:nowrap}.vendor-import-bar{position:sticky;bottom:calc(78px + var(--safe-bottom));padding:10px 0;background:rgba(246,247,242,.9);backdrop-filter:blur(10px);margin-top:12px}
.vendor-filter-bar{padding:12px;position:sticky;top:8px;z-index:7}.vendor-quick-search{height:44px;display:flex;align-items:center;gap:9px;padding:0 12px;border-radius:14px;background:#f3f5f1}.vendor-quick-search span{font-size:20px;color:var(--muted)}.vendor-quick-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:var(--ink)}.vendor-filter-tools{display:flex;gap:7px;overflow-x:auto;margin-top:9px;padding-bottom:1px;scrollbar-width:none}.vendor-filter-tools::-webkit-scrollbar{display:none}.vendor-filter{position:relative;flex:0 0 auto}.vendor-filter summary{list-style:none;min-height:34px;padding:8px 11px;border:1px solid var(--line);border-radius:11px;background:#fff;color:var(--ink);font-size:11px;font-weight:800;white-space:nowrap}.vendor-filter summary::-webkit-details-marker{display:none}.vendor-filter[open] .filter-chips{display:flex}.filter-chips{display:none;position:fixed;z-index:30;left:12px;right:12px;top:150px;max-height:50vh;overflow:auto;flex-wrap:wrap;gap:8px;padding:16px;border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:0 24px 60px rgba(25,45,31,.2)}.filter-chip{min-height:38px;padding:8px 12px;border:1px solid var(--line);border-radius:12px;background:#f7f8f5;color:var(--ink);font-size:12px}.filter-chip.active{background:var(--green);border-color:var(--green);color:#fff}.empty-card.compact{padding:24px 18px}
.inventory-progress{display:grid;grid-template-columns:1fr auto;align-items:center;gap:7px 12px;margin:-6px 1px 14px;padding:13px 15px;border:1px solid var(--line);border-radius:15px;background:rgba(255,255,255,.78)}.inventory-progress span{color:var(--muted);font-size:11px;font-weight:750}.inventory-progress strong{font-size:13px}.inventory-progress>i{grid-column:1/-1;height:5px;overflow:hidden;border-radius:999px;background:#e7ece5}.inventory-progress>i b{display:block;height:100%;border-radius:inherit;background:var(--green-2);transition:width .18s ease}.inventory-list{display:grid;gap:12px}.inventory-card{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) 112px;gap:12px;padding:15px;transition:border-color .18s ease,box-shadow .18s ease}.inventory-card.checked{border-color:#bcd8c5;box-shadow:0 10px 28px rgba(23,108,70,.07)}.inventory-card-copy{min-width:0;display:flex;flex-direction:column}.inventory-card-head{display:grid;grid-template-columns:27px minmax(0,1fr);gap:8px;align-items:start}.inventory-card-head>span{display:grid;place-items:center;width:27px;height:27px;border-radius:9px;background:var(--green-soft);color:var(--green);font-size:10px;font-weight:900}.inventory-card-head h2{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;margin:1px 0 3px;font-size:15px;line-height:19px}.inventory-card-head p{margin:0;overflow:hidden;color:var(--muted);font-size:10px;line-height:15px;text-overflow:ellipsis;white-space:nowrap}.inventory-facts{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:14px 0 9px}.inventory-facts div{min-width:0}.inventory-facts dt{color:var(--muted);font-size:9px}.inventory-facts dd{margin:2px 0 0;font-size:13px;font-weight:850;font-variant-numeric:tabular-nums}.inventory-status{align-self:flex-start;margin-top:auto;padding:4px 7px;border-radius:999px;background:#f1f3ef;color:var(--muted);font-size:9px;font-weight:850}.inventory-card.checked .inventory-status{background:var(--green-soft);color:var(--green)}.inventory-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:10px}.inventory-actions button{min-width:0;min-height:34px;padding:6px 5px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--ink);font-size:10px;font-weight:800}.inventory-actions .inventory-confirm{grid-column:1/-1;grid-row:2;background:var(--green-soft);border-color:#d5e9db;color:var(--green)}.inventory-barrel-wrap{display:flex;min-width:0;flex-direction:column;align-items:center}.inventory-capacity{height:19px;color:var(--muted);font-size:10px;font-weight:800}.inventory-barrel-control{position:relative;width:108px;height:184px;touch-action:none;user-select:none;-webkit-user-select:none;outline:0;cursor:ns-resize}.inventory-barrel-control:focus-visible .inventory-barrel-shell{box-shadow:0 0 0 3px rgba(35,132,90,.16)}.inventory-barrel-shell{position:absolute;left:7px;top:5px;width:69px;height:169px;overflow:hidden;border:2px solid #aab2aa;border-radius:34px 34px 22px 22px;background:linear-gradient(90deg,#edf0ec,#fff 38%,#e7ebe6);box-shadow:inset 8px 0 14px rgba(100,112,103,.08),inset -8px 0 14px rgba(100,112,103,.10);transition:box-shadow .15s ease}.inventory-barrel-shell:before{content:"";position:absolute;z-index:4;left:-2px;right:-2px;top:-2px;height:16px;border:2px solid #939d95;border-radius:50%;background:linear-gradient(#f8faf7,#dfe4df)}.inventory-barrel-shell:after{content:"";position:absolute;z-index:4;left:-2px;right:-2px;bottom:-3px;height:15px;border:2px solid #939d95;border-radius:50%;background:rgba(224,229,224,.72)}.inventory-liquid{position:absolute;z-index:1;left:0;right:0;bottom:0;min-height:0;background:linear-gradient(90deg,#bc7a13,#f0bd48 44%,#cf8c1d);transition:height .05s linear}.inventory-liquid:before{content:"";position:absolute;left:0;right:0;top:-6px;height:12px;border-radius:50%;background:#f4cb69;box-shadow:0 2px 4px rgba(98,61,10,.18)}.inventory-liquid i{position:absolute;right:13px;top:18%;width:5px;height:5px;border:1px solid rgba(255,255,255,.62);border-radius:50%;box-shadow:-22px 32px 0 -1px rgba(255,255,255,.36),5px 69px 0 rgba(255,255,255,.32)}.inventory-barrel-ribs{position:absolute;z-index:5;inset:0;display:flex;flex-direction:column;justify-content:space-around;pointer-events:none}.inventory-barrel-ribs i{display:block;height:2px;background:rgba(112,122,114,.52);box-shadow:0 1px rgba(255,255,255,.5)}.inventory-scale{position:absolute;left:82px;top:8px;bottom:12px;width:27px;color:#7b847d;font-size:8px;pointer-events:none}.inventory-scale span{position:absolute;left:0;transform:translateY(50%);white-space:nowrap;font-variant-numeric:tabular-nums}.inventory-scale span:first-child{transform:translateY(0)}.inventory-current{margin-top:1px;color:var(--ink);font-size:16px;line-height:1;font-variant-numeric:tabular-nums}.inventory-empty{max-width:560px;margin:auto}.inventory-finish{position:sticky;z-index:8;bottom:calc(72px + var(--safe-bottom));display:grid;grid-template-columns:auto minmax(160px,240px);align-items:center;justify-content:end;gap:12px;margin:18px 0 0;padding:9px 10px;border:1px solid rgba(220,226,218,.88);border-radius:15px;background:rgba(246,247,242,.92);backdrop-filter:blur(12px)}.inventory-finish span{color:var(--muted);font-size:11px;font-weight:800}.inventory-finish .btn{width:100%}.inventory-dialog[hidden]{display:none}.inventory-dialog{position:fixed;z-index:60;inset:0;display:grid;place-items:center;padding:20px}.inventory-dialog-backdrop{position:absolute;inset:0;background:rgba(18,28,21,.48);backdrop-filter:blur(3px)}.inventory-dialog-card{position:relative;width:min(100%,410px);padding:22px;border-radius:20px;background:#fff;box-shadow:0 28px 80px rgba(0,0,0,.25)}.inventory-dialog-card h2{margin-bottom:8px}.inventory-dialog-card p{margin-bottom:20px;color:var(--muted);font-size:13px}.inventory-dialog-card>div{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.settings-list{display:grid;gap:12px}.settings-group{padding:18px}.settings-group h2{margin-bottom:4px}.settings-group>p{color:var(--muted);font-size:12px;line-height:1.5;margin-bottom:17px}.data-note{padding:15px;background:var(--amber-soft);border:1px solid #f0dba9;border-radius:17px;color:#745018;font-size:12px;line-height:1.55}
.pro-entry-card{padding:20px}.pro-entry-card h2{margin:8px 0 6px;font-size:20px}.pro-entry-card p{margin:0 0 15px;color:var(--muted);font-size:12px;line-height:1.6}.pro-entry-card .mini-link{margin-left:10px}.pro-entry-card>small{display:block;margin-top:9px;color:var(--muted)}.pro-label{display:inline-flex;padding:4px 8px;border-radius:999px;background:var(--green-soft);color:var(--green);font-size:10px;font-weight:900;letter-spacing:.03em}.pro-entry-card.pending .pro-label{background:var(--amber-soft);color:#8d5a00}.pro-entry-card.expired .pro-label{background:#eef0ec;color:#687169}.pro-quick-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.pro-scenes{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:16px}.pro-scenes article{padding:15px;border:1px solid var(--line);border-radius:15px;background:#fff}.pro-scenes b{font-size:14px}.pro-scenes p{margin:5px 0 0;color:var(--muted);font-size:11px;line-height:1.55}.pro-plans{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:13px 0}.pro-plan{position:relative;min-width:0;padding:14px 10px;border:1px solid var(--line);border-radius:14px;background:#fff;color:var(--ink);text-align:left}.pro-plan.active{border-color:var(--green);box-shadow:0 0 0 2px rgba(23,108,70,.09)}.pro-plan i{position:absolute;right:8px;top:8px;padding:3px 6px;border-radius:999px;background:var(--amber-soft);color:#825400;font-size:9px;font-style:normal;font-weight:900}.pro-plan b{display:block;font-size:12px}.pro-plan strong{display:block;margin-top:10px;font-size:21px}.pro-plan strong small{font-size:10px;color:var(--muted)}.micro-note{margin:10px 0 0;color:var(--muted);font-size:10px;line-height:1.5}.pro-compare{margin-top:15px;padding:18px}.pro-compare h2{margin-bottom:12px}.pro-table{overflow:hidden;border:1px solid var(--line);border-radius:12px}.pro-table>div{display:grid;grid-template-columns:minmax(110px,1.2fr) 1fr 1.2fr;border-top:1px solid var(--line)}.pro-table>div:first-child{border-top:0;background:#f4f6f2}.pro-table span,.pro-table b{padding:9px 8px;font-size:10px;line-height:1.35}.pro-table span:nth-child(n+2),.pro-table b:nth-child(n+2){border-left:1px solid var(--line)}.auth-card,.account-card,.pending-detail,.import-card,.menu-tools,.copy-output{padding:20px}.auth-card .mini-link{display:block;margin:14px auto 0}.warning{min-height:18px;margin-top:10px;color:var(--red);font-size:11px}.btn-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.inventory-compare{padding:18px}.inventory-compare>div:not(.btn-row){display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--line);font-size:11px}.inventory-compare>div span{color:var(--muted);text-align:right}.import-card input[type=file]{display:block;width:100%;margin:14px 0;padding:11px;border:1px dashed var(--line);border-radius:12px}.import-preview{max-height:320px;overflow:auto;margin:12px 0}.import-preview>div{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid var(--line);font-size:11px}.import-preview span{color:var(--muted);text-align:right}.template-switch{display:flex;gap:7px;margin-bottom:13px}.template-switch button{padding:8px 10px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);font-size:11px;font-weight:800}.template-switch button.active{border-color:var(--green);background:var(--green-soft);color:var(--green)}#menuCanvas{display:block;width:100%;height:auto;margin-top:14px;border:1px solid var(--line);border-radius:12px}.copy-output{min-height:120px;margin:14px 0;background:#f4f6f2;border-radius:12px;white-space:pre-wrap;font-size:13px;line-height:1.7}
.pricing-pro-action{display:flex;justify-content:flex-end;margin:-7px 2px 12px}
.cloud-save-status{display:block;min-height:18px;margin-top:9px;color:var(--green);font-size:12px;font-weight:800}.cloud-save-status.error{color:var(--red)}
.menu-history-list{padding:4px 18px}.menu-history-list button{width:100%;display:flex;align-items:center;justify-content:space-between;padding:14px 0;border:0;border-bottom:1px solid var(--line);background:transparent;color:var(--ink);text-align:left}.menu-history-list button:last-child{border-bottom:0}.menu-history-list span{display:grid;gap:3px}.menu-history-list b{font-size:14px}.menu-history-list small{color:var(--muted);font-size:11px}.menu-history-list i{color:var(--muted);font-size:20px;font-style:normal}.menu-history-detail{padding:6px 18px}.menu-history-detail article{display:grid;grid-template-columns:28px minmax(0,1fr);gap:4px 9px;padding:12px 0;border-bottom:1px solid var(--line)}.menu-history-detail article:last-child{border-bottom:0}.menu-history-detail article>span{grid-row:1/3;color:var(--green);font-size:11px;font-weight:900}.menu-history-detail article>div{min-width:0}.menu-history-detail article b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.menu-history-detail article small{display:block;margin-top:2px;color:var(--muted);font-size:10px}.menu-history-detail article>strong{grid-column:2;color:var(--ink);font-size:11px;line-height:1.5}
.inventory-beer-history{margin-top:14px;padding:18px}.inventory-beer-history select{width:100%;height:42px;margin:10px 0;border:1px solid var(--line);border-radius:11px;background:#fff;padding:0 10px}.inventory-beer-history p{display:flex;justify-content:space-between;gap:12px;margin:0;padding:9px 0;border-bottom:1px solid var(--line);font-size:11px}.inventory-beer-history p span{color:var(--muted)}
.promo-copy-card{padding:20px}.promo-copy-controls{display:grid;grid-template-columns:1fr 1fr;gap:10px}.promo-copy-controls select{width:100%;height:42px;border:1px solid var(--line);border-radius:11px;background:#fff;padding:0 10px}.promo-copy-card textarea.copy-output{display:block;width:100%;min-height:260px;resize:vertical;border:1px solid var(--line);outline:0;color:var(--ink);font:inherit;line-height:1.7}.promo-copy-card textarea.copy-output:focus{border-color:var(--green);box-shadow:0 0 0 3px rgba(23,108,70,.08)}
.back-link{display:inline-flex;align-items:center;gap:5px;border:0;background:none;padding:0;font-size:13px;font-weight:800;color:var(--green);margin:2px 0 15px}.mini-link{border:0;background:none;padding:0;color:var(--green);font-weight:800;font-size:12px}.danger-zone{margin-top:22px}
.account-settings-page{width:min(100%,520px);margin:0 auto}.account-page-head{margin-bottom:14px}.account-page-head h1{margin-bottom:5px;font-size:clamp(25px,6.5vw,32px);font-variant-numeric:tabular-nums}.account-page-head .lead{margin-top:0}.account-card{padding:16px 18px}.account-card>h2{margin:0 0 7px;font-size:17px}.account-action-list{display:grid}.account-action{display:flex;width:100%;min-height:52px;align-items:center;justify-content:space-between;padding:0;border:0;border-top:1px solid var(--line);background:transparent;color:var(--ink);font-size:13px;font-weight:800;text-align:left}.account-action>span{display:flex;align-items:center;gap:11px}.account-action>span>i{display:grid;width:29px;height:29px;place-items:center;border-radius:9px;background:var(--green-soft);color:var(--green);font-size:11px}.account-action>i{color:#9aa29c;font-size:10px}.account-action.danger{color:var(--red)}.account-action.danger>span>i{background:var(--red-soft);color:var(--red)}.account-password-card{margin-top:12px;padding:17px 18px}.account-password-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.account-password-head h2{margin:0;font-size:17px}.account-password-fields{display:grid;gap:12px}.account-password-fields .field{gap:5px}.account-password-fields input{min-height:43px}.account-password-error{display:none;margin:10px 0 0;padding:8px 10px;border-radius:10px;background:var(--red-soft);color:var(--red);font-size:11px;line-height:1.45}.account-password-error.show{display:block}.account-password-card .btn{min-height:44px;margin-top:14px}
.bottom-nav{position:fixed;z-index:20;left:50%;bottom:0;transform:translateX(-50%);width:min(100%,520px);display:grid;grid-template-columns:repeat(4,1fr);align-items:end;padding:8px 10px calc(8px + var(--safe-bottom));background:rgba(255,255,255,.94);border:1px solid rgba(220,226,218,.9);border-bottom:0;border-radius:22px 22px 0 0;box-shadow:0 -12px 40px rgba(26,51,34,.10);backdrop-filter:blur(18px)}.bottom-nav a{min-height:46px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#7b847d;font-size:10px;font-weight:750;border-radius:14px}.bottom-nav a span{font-size:19px;line-height:1}.bottom-nav a.active{color:var(--green);background:var(--green-soft)}.bottom-nav .nav-add{background:var(--green);color:#fff}.bottom-nav .nav-add.active{background:#105a39;color:#fff}
.toast{position:fixed;left:50%;bottom:calc(88px + var(--safe-bottom));transform:translate(-50%,18px);z-index:50;background:#142019;color:#fff;padding:11px 15px;border-radius:13px;font-size:13px;box-shadow:0 12px 32px rgba(0,0,0,.2);opacity:0;pointer-events:none;transition:.22s ease;max-width:calc(100vw - 32px);text-align:center}.toast.show{opacity:1;transform:translate(-50%,0)}
.skeleton{height:74px;border-radius:18px;background:linear-gradient(90deg,#eef1ec,#f9faf7,#eef1ec);background-size:200% 100%;animation:pulse 1.2s infinite}@keyframes pulse{to{background-position:-200% 0}}
@media(min-width:760px){
  .home-secondary-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}.home-finance{padding:18px}.home-finance .finance-three strong{font-size:30px}
  .app{padding:24px 28px 90px}.topbar{height:78px;padding:14px 28px}.home-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);gap:22px;align-items:start}.home-side .section:first-child{margin-top:0}.home-side .beer-list{grid-template-columns:1fr}.hero{padding:30px}.hero-grid{gap:24px}.structure-list{grid-template-columns:1fr 1fr;column-gap:22px}.quick-actions{grid-template-columns:1fr}.beer-list,.vendor-products{grid-template-columns:1fr 1fr}.list-compact{grid-template-columns:repeat(2,minmax(0,1fr))}.list-compact-row:nth-child(odd){border-right:1px solid var(--line)}.list-compact-row:nth-last-child(-n+2){border-bottom:0}.vendor-entry-main{grid-template-columns:auto minmax(0,1fr) auto;gap:0 14px}.vendor-entry-main>span{grid-column:auto}.recommendation-card{flex-basis:280px;grid-template-columns:88px minmax(0,1fr)}.recommendation-card>img,.recommendation-image{width:88px}.form-card{padding:24px}.source-options{grid-template-columns:1fr 1fr}.candidate-grid{max-width:620px}.settings-list{grid-template-columns:1fr 1fr}.inventory-list{grid-template-columns:repeat(2,minmax(0,1fr))}.inventory-actions{grid-template-columns:1fr 1.4fr 1fr}.inventory-actions .inventory-confirm{grid-column:auto;grid-row:auto}.inventory-finish{bottom:94px}.bottom-nav{bottom:18px;border:1px solid var(--line);border-radius:22px;padding:8px;box-shadow:0 16px 46px rgba(26,51,34,.14)}.sticky-save,.vendor-import-bar{bottom:94px}.toast{bottom:112px}}
@media(min-width:1020px){.pricing-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(340px,.85fr);gap:28px;align-items:start}.pricing-layout .pricing-section:first-child{margin-top:0}.beer-list{grid-template-columns:repeat(2,1fr)}.hero-count{font-size:29px}}
@media(max-width:599px){.finance-three{grid-template-columns:repeat(3,minmax(0,1fr));gap:0}.finance-three>div{padding:0 5px;border-left:1px solid var(--line)}.finance-three>div:first-child{padding-left:0;border-left:0}.finance-three>div:nth-child(2){text-align:center}.finance-three>div:last-child{padding-right:0;text-align:right}.finance-three strong{font-size:clamp(14px,3.8vw,19px)}.finance-three span{font-size:11px}.finance-three small{font-size:9px}.finance-primary .margin-note{padding:3px 6px}}
@media(max-width:599px){.home-finance .finance-three>div:nth-child(2){align-items:center}.home-finance .finance-three>div:last-child{align-items:flex-end}.home-finance .finance-three strong{font-size:clamp(17px,4.9vw,22px)}.home-finance .finance-three small{max-width:96px;line-height:1.35}.home-finance .finance-primary .margin-note{padding:0}.home-page-head .eyebrow{margin-bottom:4px}.home-structure .compass-block{padding-top:16px;padding-bottom:16px}}
@media(max-width:599px){.home-route .home-finance .finance-three>div{padding-left:8px;padding-right:8px}.home-route .home-finance .finance-three>div:first-child{padding-left:0}.home-route .home-finance .finance-three>div:last-child{padding-right:0}.home-route .home-finance .finance-three>div+div{border-left-color:#edf0ee}.home-route .home-finance .finance-three strong{font-size:clamp(17px,5.3vw,21px)}.home-route .home-secondary-grid{gap:9px}.home-route .home-structure{margin-top:12px}.home-route .home-recent{margin-top:14px}.home-route .compass-block{padding:14px}.home-route .structure-list{gap:9px;margin-top:12px}}

/* Custom sale specifications: order is a presentation concern; calculations keep using the existing core. */
.beer-price-cell{touch-action:pan-y;transition:opacity .15s ease,transform .15s ease}.beer-price-cell.sorting,.serving-spec-editor.sorting{opacity:.62;transform:scale(.985)}
.spec-volume-button{display:block;width:100%;min-height:24px;padding:2px 3px;border:0;background:transparent;color:var(--muted);font-size:10px;font-weight:700;cursor:pointer}.spec-volume-button:hover,.spec-volume-button:focus-visible{color:var(--green)}
.serving-spec-editor{transition:opacity .15s ease,transform .15s ease}.serving-spec-editor.disabled-spec{background:#f6f7f4;opacity:.76}.serving-spec-editor>summary>.spec-drag-handle{flex:0 0 auto;color:#a6aea7;font-size:13px;letter-spacing:-4px;cursor:grab;touch-action:none}.serving-spec-editor>summary>span:nth-child(2){flex:1;min-width:0}.spec-management-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;margin-bottom:10px}.spec-management-actions .mini-link:disabled{color:#b8beb8;cursor:not-allowed}
.serving-volume-dialog .inventory-dialog-card>div.serving-volume-presets{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin:12px 0}.serving-volume-presets button{min-height:38px;padding:6px;border:1px solid var(--line);border-radius:10px;background:#f6f8f4;color:var(--ink);font-size:11px;font-weight:800}.serving-volume-presets button.active{border-color:var(--green);background:var(--green-soft);color:var(--green)}.serving-volume-input{display:flex;align-items:center;height:44px;margin:0 0 16px;padding:0 11px;border:1px solid var(--line);border-radius:11px}.serving-volume-input input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:var(--ink);font-size:17px;font-weight:850}.serving-volume-input span{color:var(--muted);font-size:12px}.serving-volume-dialog .inventory-dialog-card>div:last-child{display:grid;grid-template-columns:1fr 1fr;gap:9px}
@media(max-width:480px){.compass-block{padding:16px}.compass-head{align-items:center}.compass-head h2{font-size:17px}.compass-toggle button{padding-left:8px;padding-right:8px}.finance-primary{gap:11px 9px}.serving-block select{min-width:162px}.turnover-summary{align-items:flex-start}.sales-cycle{padding:16px;margin-bottom:28px}.daily-results{gap:5px}}
@media(max-width:480px){.pro-scenes{grid-template-columns:1fr}.pro-plans{grid-template-columns:1fr}.pro-plan{display:grid;grid-template-columns:1fr auto;align-items:center}.pro-plan strong{margin:0}.pro-table{overflow-x:auto}.pro-table>div{min-width:390px}.pro-quick-actions .btn{flex:1 1 calc(50% - 8px)}.inventory-compare>div:not(.btn-row),.import-preview>div{display:block}.inventory-compare>div span,.import-preview span{display:block;margin-top:4px;text-align:left}}
@media(max-width:480px){.promo-copy-controls{grid-template-columns:1fr}.promo-copy-card textarea.copy-output{min-height:300px}}
@media(max-width:374px){.app{padding-left:12px;padding-right:12px}.topbar{padding-left:13px;padding-right:13px}.hero{padding:20px}.hero-stat strong{font-size:19px}.candidate-grid{gap:6px}.candidate{padding-left:4px;padding-right:4px}.quick-actions{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.compass-head{display:block}.compass-toggle{width:max-content;margin-top:10px}.serving-control{align-items:flex-start;flex-direction:column;gap:7px}.serving-block select{width:100%;max-width:none}.finance-primary strong{font-size:22px}.daily-results{flex-wrap:wrap}.daily-results i{display:none}}
.beer-remaining>strong{color:var(--ink);font-size:11px}.beer-stock-summary>strong{color:var(--ink);font-size:10px}.inventory-summary{margin:-6px 1px 10px;color:var(--ink);font-size:14px;font-weight:900;font-variant-numeric:tabular-nums}.inventory-previous{grid-column:1/-1}.inventory-previous dd{font-size:11px}.inventory-sealed{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:2px 0 8px;color:var(--muted);font-size:10px;font-weight:800}.inventory-sealed>div{display:grid;grid-template-columns:32px minmax(42px,auto) 32px;align-items:center;gap:4px}.inventory-sealed button{width:32px;height:32px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--green);font-size:17px;font-weight:850}.inventory-sealed button:disabled{color:#b5bbb5;opacity:.5}.inventory-sealed strong{text-align:center;color:var(--ink);font-size:13px;font-variant-numeric:tabular-nums}.inventory-item-total{margin-bottom:7px;padding:6px 8px;border-radius:8px;background:#f3f5f1;color:#69736b;font-size:10px;font-weight:800;font-variant-numeric:tabular-nums}
.inventory-sticky{position:sticky;z-index:12;top:8px;margin:-6px 1px 14px;padding:10px 12px;border:1px solid rgba(215,223,214,.92);border-radius:14px;background:rgba(250,251,248,.95);box-shadow:0 8px 24px rgba(27,54,35,.09);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
.inventory-sticky .inventory-summary{margin:0;color:var(--ink);font-size:12px;line-height:1.35;white-space:nowrap}
.inventory-sticky .inventory-progress{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px;margin:6px 0 0;padding:0;border:0;border-radius:0;background:transparent}
.inventory-sticky .inventory-progress strong{font-size:11px;line-height:1;white-space:nowrap}
.inventory-sticky .inventory-progress>i{grid-column:auto;width:100%;height:4px}
.inventory-status{white-space:nowrap}
@media(max-width:374px){.inventory-sticky{padding:9px 10px}.inventory-sticky .inventory-summary{font-size:11px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
.import-summary{margin:14px 0 4px;color:var(--ink);font-size:12px;font-weight:850}.import-preview{margin:8px 0 12px}.import-preview>div{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr) auto;align-items:center;gap:10px}.import-preview b,.import-preview span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.import-preview small{color:var(--muted);text-align:right;white-space:nowrap}
@media(max-width:480px){.import-preview>div{display:grid;grid-template-columns:minmax(0,1fr) auto}.import-preview>div span{grid-column:1/-1;margin-top:2px}.import-preview>div small{grid-column:2;grid-row:1;text-align:right}}
.list-search{display:flex;align-items:center;gap:8px;height:40px;margin:0 0 10px;padding:0 12px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--muted)}.list-search span{font-size:17px;line-height:1}.list-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:var(--ink);font-size:12px}.list-search-empty{margin-top:10px;padding:18px;text-align:center;color:var(--muted);font-size:12px}.list-search-empty[hidden],[data-item-card][hidden],[data-compact-item][hidden]{display:none!important}
@media(min-width:760px){.list-search{max-width:420px}}

/* 轻盘库：固定两行标题，并让状态、桶身、液位结果共用桶身中心轴。 */
.inventory-page-head{margin-bottom:18px}
.inventory-page-head h1{margin-bottom:6px;font-size:clamp(27px,7vw,40px);line-height:1.02}
.inventory-page-head h1 span{display:block;white-space:nowrap}
.inventory-barrel-wrap{--barrel-shell-left:7px;--barrel-shell-width:69px;--barrel-axis-width:calc(var(--barrel-shell-width) + var(--barrel-shell-left) * 2);display:flex;min-width:0;flex-direction:row;align-items:flex-start}
.inventory-barrel-axis{display:flex;width:108px;min-width:108px;flex-direction:column;align-items:flex-start}
.inventory-capacity{width:var(--barrel-axis-width);text-align:center}
.inventory-barrel-stage{position:relative;width:108px;height:184px}
.inventory-barrel-stage .inventory-barrel-control{position:absolute;z-index:1;inset:0;width:108px;height:184px}
.inventory-barrel-stage .inventory-barrel-shell{left:var(--barrel-shell-left);width:var(--barrel-shell-width)}
.inventory-barrel-stage .inventory-scale{z-index:2}
.inventory-current{display:block;width:var(--barrel-axis-width);text-align:center}

/* 我的：沿用首页层级，把账户、经营习惯和本机数据收敛为紧凑列表。 */
.settings-route{background:var(--page-bg)}
.settings-route .app{width:min(100%,760px);padding-top:24px}
.settings-page{display:grid;gap:16px}
.settings-page-head{padding:2px 2px 0}
.settings-page-head h1{margin:0;color:#111827;font-size:clamp(27px,7vw,36px);font-weight:750;letter-spacing:-.04em}
.settings-page-head p{margin:7px 0 0;color:var(--muted);font-size:12px;line-height:1.55}
.settings-page .card{background:var(--surface-card);border-color:#e3e9e4;border-radius:18px;box-shadow:0 8px 24px rgba(17,24,39,.045)}
.settings-identity-card{display:flex;min-height:122px;align-items:center;justify-content:space-between;gap:18px;padding:19px;background:linear-gradient(140deg,#fdfefa,#eef7f1)!important}
.settings-account-tier{display:block;color:var(--green);font-size:19px;font-weight:850;letter-spacing:-.02em}
.settings-identity-card p{margin:7px 0 0;color:#34443a;font-size:12px;font-weight:650}
.settings-identity-card small{display:block;margin-top:5px;color:var(--muted);font-size:10px}
.settings-identity-actions{display:flex;flex:0 0 auto;align-items:center;gap:10px}
.settings-identity-actions .btn{display:inline-flex;min-height:40px;align-items:center;justify-content:center;padding:8px 14px;border-radius:12px;font-size:12px}
.settings-identity-actions .mini-link{min-height:40px;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap}
.settings-manage-link{display:inline-flex;min-height:44px;align-items:center;gap:8px;color:var(--green);font-size:12px;font-weight:800;white-space:nowrap}
.settings-manage-link i,.settings-row i,.settings-link-row i,.settings-pro-link>i,.settings-about-link i{font-style:normal;font-weight:500}
.settings-section{display:grid;gap:9px}
.settings-section-head{padding:0 2px}
.settings-section-head h2{margin:0;color:#111827;font-size:17px;font-weight:750;letter-spacing:-.02em}
.settings-section-head p{margin:4px 0 0;color:var(--muted);font-size:10px}
.settings-list-card{overflow:hidden}
.settings-row{border-bottom:1px solid #edf0ed}
.settings-row:last-child{border-bottom:0}
.settings-row summary{list-style:none;display:flex;min-height:56px;align-items:center;justify-content:space-between;gap:16px;padding:0 16px;cursor:pointer}
.settings-row summary::-webkit-details-marker{display:none}
.settings-row summary>span{color:#263129;font-size:13px;font-weight:650}
.settings-row summary>strong{display:flex;align-items:center;gap:9px;color:#465049;font-size:12px;font-weight:650;white-space:nowrap;font-variant-numeric:tabular-nums}
.settings-row summary i{color:#9aa29c;font-size:18px;transition:transform .16s ease}
.settings-row[open] summary i{transform:rotate(90deg)}
.settings-row-editor,.settings-row-note{padding:13px 16px 15px;border-top:1px solid #edf0ed;background:rgba(246,248,245,.78)}
.settings-row-editor label{display:block;margin-bottom:7px;color:var(--muted);font-size:10px;font-weight:700}
.settings-row-editor .suffix-wrap{position:relative;max-width:260px}
.settings-row-editor input{width:100%;height:42px;padding:8px 54px 8px 11px;border:1px solid var(--line);border-radius:11px;background:#fff;color:var(--ink);font-size:14px;font-weight:750;outline:none}
.settings-row-editor input:focus{border-color:var(--green-2);box-shadow:0 0 0 3px rgba(35,132,90,.1)}
.settings-row-editor .suffix{position:absolute;right:11px;top:50%;transform:translateY(-50%);color:var(--muted);font-size:11px}
.settings-row-note{color:var(--muted);font-size:11px;line-height:1.55}
.settings-pro-link,.settings-about-link{display:flex;min-height:72px;align-items:center;justify-content:space-between;gap:16px;padding:15px 17px}
.settings-pro-link{background:linear-gradient(140deg,#fdfefa,#f3f8f4)!important}
.settings-pro-link span{min-width:0}
.settings-pro-link b{display:block;color:#1d2921;font-size:14px}
.settings-pro-link small{display:block;margin-top:4px;overflow:hidden;color:var(--muted);font-size:10px;text-overflow:ellipsis;white-space:nowrap}
.settings-pro-link>i{color:var(--green);font-size:20px}
.settings-link-row{width:100%;min-height:54px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 16px;border:0;border-bottom:1px solid #edf0ed;background:transparent;color:#263129;text-align:left}
.settings-link-row:last-child{border-bottom:0}
.settings-link-row>span{font-size:13px;font-weight:650}
.settings-link-row>strong{display:flex;align-items:center;gap:9px;color:#6d756f;font-size:11px;font-weight:650;white-space:nowrap}
.settings-link-row i{color:#9aa29c;font-size:18px}
.settings-link-row.danger>span{color:#b34b4b}
.settings-link-row.danger i{color:#c48a8a}
.settings-about-link{min-height:54px;margin-bottom:4px;padding-top:0;padding-bottom:0;color:#616b64;font-size:12px;font-weight:650}
.settings-about-link strong{display:flex;align-items:center;gap:9px;color:#929a94;font-size:10px;font-weight:550}
@media(max-width:480px){
  .settings-route .app{padding-top:18px}
  .settings-page{gap:14px}
  .settings-identity-card{min-height:116px;padding:17px;align-items:flex-start;flex-direction:column;gap:12px}
  .settings-identity-actions{width:100%}
  .settings-identity-actions .btn{flex:1}
  .settings-identity-actions .mini-link{flex:1}
}

/* Pro 已开通：我的工作台。仅重排入口，沿用既有路由与事件。 */
.settings-route:has(.pro-workbench){background:
  radial-gradient(circle at 84% 5%,rgba(222,240,222,.52),transparent 25rem),
  radial-gradient(circle at 12% 30%,rgba(255,247,226,.48),transparent 22rem),
  var(--page-bg)}
.settings-route:has(.pro-workbench) .app{width:min(100%,860px);padding-top:18px}
.pro-workbench{display:grid;gap:18px}
.pro-workbench-brand{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 2px}
.pro-workbench-brand .brand-mark{width:42px;height:42px;border-radius:14px;font-size:18px}
.pro-workbench-brand .brand b{font-size:17px}
.pro-workbench-brand .brand small{font-size:10px}
.pro-workbench-identity{display:inline-flex;min-height:36px;max-width:48%;align-items:center;padding:7px 14px;border:1px solid rgba(35,132,90,.27);border-radius:999px;background:rgba(255,255,255,.78);box-shadow:0 5px 16px rgba(31,62,41,.055);color:#18231c;font-size:12px;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pro-workbench-hero{position:relative;min-height:182px;display:flex;align-items:center;padding:24px 190px 28px 10px;overflow:hidden}
.pro-workbench-hero>div{position:relative;z-index:2}
.pro-workbench-hero p{margin:0 0 12px;color:#111827;font-size:19px;font-weight:800;letter-spacing:-.025em}
.pro-workbench-hero h1{max-width:460px;margin:0;color:#111827;font-size:clamp(26px,5vw,38px);font-weight:850;line-height:1.22;letter-spacing:-.045em}
.pro-workbench-hero h1 span{color:var(--green-2)}
.pro-workbench-hero img{position:absolute;right:18px;bottom:-8px;width:178px;height:auto;filter:drop-shadow(0 10px 18px rgba(103,68,34,.14));pointer-events:none}
.pro-tools-panel{padding:20px;border-color:#e2e8e2;border-radius:20px;background:rgba(255,255,255,.83);box-shadow:0 12px 32px rgba(31,51,37,.065)}
.pro-tools-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:16px}
.pro-tools-head h2{display:flex;align-items:center;gap:9px;margin:0;color:#101912;font-size:21px;font-weight:850}
.pro-tools-head h2 i{color:var(--green);font-size:19px}
.pro-tools-head p{margin:0;color:var(--green);font-size:11px;font-weight:750;white-space:nowrap}
.pro-tools-head p i{margin-left:4px}
.pro-tools-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.pro-tool-card{position:relative;display:flex;min-width:0;min-height:148px;flex-direction:column;align-items:flex-start;padding:15px;border:1px solid rgba(219,225,219,.92);border-radius:17px;background:#fbfcfa;color:#111827;text-align:left;box-shadow:0 5px 16px rgba(30,48,35,.035);transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease,filter .16s ease}
.pro-tool-card:hover{transform:translateY(-2px);border-color:rgba(35,132,90,.3);box-shadow:0 10px 24px rgba(30,48,35,.08)}
.pro-tool-card:active{transform:translateY(0) scale(.985);filter:brightness(.985)}
.pro-tool-card:focus-visible{outline:3px solid rgba(35,132,90,.17);outline-offset:2px}
.pro-tool-card:disabled{cursor:wait;opacity:.72}
.pro-tool-icon{display:grid;width:45px;height:45px;place-items:center;margin-bottom:12px;border-radius:999px;background:#e8f4e5;color:#58952f;font-size:19px}
.pro-tool-card.tone-mint .pro-tool-icon{background:#e7f3ec;color:#24855b}
.pro-tool-card.tone-violet .pro-tool-icon{background:#eeeafb;color:#7563b8}
.pro-tool-card.tone-blue .pro-tool-icon{background:#e7f1f7;color:#327c9e}
.pro-tool-card.tone-amber .pro-tool-icon{background:#fff0d4;color:#d28b00}
.pro-tool-card.tone-rose .pro-tool-icon{background:#fbe9ed;color:#cf5674}
.pro-tool-chevron{position:absolute;right:15px;top:30px;color:#172019;font-size:12px}
.pro-tool-card>b{display:block;max-width:calc(100% - 16px);margin:0 0 7px;color:#111827;font-size:15px;font-weight:800;line-height:1.3}
.pro-tool-card>small{display:block;color:#6e7770;font-size:11px;line-height:1.55}
.pro-tool-beta{position:absolute;right:12px;top:12px;padding:4px 8px;border-radius:999px;background:#fde9ed;color:#cd5874;font-size:9px;font-style:normal;font-weight:850}
.pro-tool-card.tone-rose .pro-tool-chevron{top:60px}
.pro-tool-save-state{display:block;min-height:14px;margin-top:auto;padding-top:5px;color:var(--green);font-size:9px;line-height:1.25}
.pro-tool-save-state:empty{min-height:0;padding-top:0}
.pro-tool-save-state.error{color:var(--red)}
.pro-account-entry{display:grid;grid-template-columns:54px minmax(0,1fr) auto;align-items:center;gap:14px;min-height:116px;padding:17px 19px;border-color:#e2e8e2;border-radius:20px;background:rgba(255,255,255,.82);box-shadow:0 9px 27px rgba(31,51,37,.055);transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}
.pro-account-entry:hover{border-color:rgba(35,132,90,.28);box-shadow:0 13px 28px rgba(31,51,37,.08)}
.pro-account-entry:active{transform:scale(.99)}
.pro-account-icon{display:grid;width:50px;height:50px;place-items:center;border-radius:999px;background:#e6f3e9;color:#248759;font-size:23px}
.pro-account-copy{display:block;min-width:0}
.pro-account-copy b{display:block;color:#111827;font-size:17px;font-weight:820}
.pro-account-copy small{display:block;margin-top:4px;color:#727a74;font-size:11px;line-height:1.45}
.pro-account-copy em{display:block;margin-top:12px;padding-top:10px;border-top:1px solid #e8ece8;color:var(--green);font-size:11px;font-style:normal;font-weight:750}
.pro-account-entry>i{color:#172019;font-size:14px}
@media(min-width:700px){
  .pro-tools-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
  .pro-tool-card{min-height:160px}
  .pro-workbench-hero{min-height:205px;padding-left:18px}
  .pro-workbench-hero img{right:42px;width:200px}
}
@media(max-width:430px){
  .settings-route:has(.pro-workbench) .app{padding-top:14px}
  .pro-workbench{gap:14px}
  .pro-workbench-brand .brand-mark{width:38px;height:38px;border-radius:13px;font-size:16px}
  .pro-workbench-brand .brand b{font-size:15px}
  .pro-workbench-identity{min-height:34px;padding:6px 11px;font-size:11px}
  .pro-workbench-hero{min-height:166px;padding:20px 130px 20px 4px}
  .pro-workbench-hero p{margin-bottom:10px;font-size:17px}
  .pro-workbench-hero h1{font-size:clamp(24px,7vw,30px);line-height:1.24}
  .pro-workbench-hero img{right:2px;bottom:-4px;width:142px}
  .pro-tools-panel{padding:16px 14px;border-radius:19px}
  .pro-tools-head{margin-bottom:13px}
  .pro-tools-head h2{font-size:18px}
  .pro-tools-head p{font-size:9px}
  .pro-tools-grid{gap:9px}
  .pro-tool-card{min-height:141px;padding:13px;border-radius:15px}
  .pro-tool-icon{width:41px;height:41px;margin-bottom:10px;font-size:17px}
  .pro-tool-chevron{right:13px;top:27px}
  .pro-tool-card>b{font-size:14px}
  .pro-tool-card>small{font-size:10px}
  .pro-tool-beta{right:10px;top:10px}
  .pro-tool-card.tone-rose .pro-tool-chevron{top:56px}
  .pro-account-entry{grid-template-columns:48px minmax(0,1fr) auto;min-height:108px;padding:15px 16px}
  .pro-account-icon{width:46px;height:46px;font-size:20px}
  .pro-account-copy b{font-size:16px}
  .pro-account-copy small,.pro-account-copy em{font-size:10px}
}
@media(max-width:350px){
  .pro-workbench-hero{padding-right:116px}
  .pro-workbench-hero img{right:-7px;width:128px}
  .pro-tools-head p{max-width:120px;text-align:right;white-space:normal}
  .pro-tools-panel{padding-left:11px;padding-right:11px}
  .pro-tools-grid{gap:7px}
  .pro-tool-card{min-height:137px;padding:11px}
  .pro-tool-card>b{font-size:13px}
  .pro-tool-card>small{font-size:9px}
  .pro-tool-chevron{right:11px}
  .pro-account-entry{grid-template-columns:43px minmax(0,1fr) auto;gap:10px;padding-left:13px;padding-right:13px}
  .pro-account-icon{width:42px;height:42px;font-size:18px}
}

/* 首页次级经营结果：只压缩“预计可售 / 预计卖完”两张卡片的纵向空间。 */
.home-route .home-availability{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  grid-template-areas:
    "label result select"
    "note note note"
    "missing missing missing";
  align-items:center;
  column-gap:8px;
  row-gap:0;
  padding:12px 14px;
}
.home-route .home-availability .serving-control{display:contents}
.home-route .home-availability .serving-control label{grid-area:label;white-space:nowrap}
.home-route .home-availability .serving-control select{grid-area:select}
.home-route .home-availability>strong{
  grid-area:result;
  display:block;
  min-width:0;
  margin:0;
  font-size:clamp(21px,4.5vw,30px);
  line-height:1.05;
  white-space:nowrap;
}
.home-route .home-availability>p{grid-area:note;margin-top:5px}
.home-route .home-availability>.missing-spec-note{grid-area:missing}

.home-route .home-secondary-grid .sales-cycle{
  display:grid;
  grid-template-columns:auto auto minmax(0,1fr);
  align-items:baseline;
  column-gap:8px;
  padding:12px 14px;
}
.home-route .sales-cycle .cycle-heading{display:contents}
.home-route .home-secondary-grid .cycle-heading strong{
  min-width:0;
  margin:0;
  font-size:clamp(21px,4.5vw,30px);
  line-height:1.05;
  white-space:nowrap;
}
.home-route .home-secondary-grid .home-cycle-note{
  min-width:0;
  margin:0;
  text-align:right;
  white-space:nowrap;
}
.home-route .home-secondary-grid .daily-stepper-row{grid-column:1/-1;margin-top:7px;padding-top:7px}

@media(max-width:599px){
  .home-route .home-availability>strong,
  .home-route .home-secondary-grid .cycle-heading strong{font-size:clamp(17px,5.3vw,21px)}
}
@media(max-width:340px){
  .home-route .home-availability{column-gap:6px;padding-left:12px;padding-right:12px}
  .home-route .home-availability select{min-width:96px;padding-left:9px;padding-right:26px}
  .home-route .home-secondary-grid .sales-cycle{column-gap:6px;padding-left:12px;padding-right:12px}
  .home-route .home-secondary-grid .home-cycle-note{font-size:10px}
}

/* Pro · 历史酒单 */
.menu-history-route .topbar{display:none}.menu-history-route .app{width:min(100%,760px);padding-top:8px}.menu-history-page{display:grid;gap:14px;padding-bottom:12px}.menu-history-nav{display:grid;grid-template-columns:40px 1fr 40px;align-items:center;min-height:48px}.menu-history-nav>a,.menu-history-nav>button{display:grid;width:40px;height:40px;place-items:center;border:0;border-radius:12px;background:transparent;color:var(--ink);font-size:17px}.menu-history-nav>a:hover,.menu-history-nav>button:hover{background:rgba(25,71,44,.055)}.menu-history-nav>strong{text-align:center;font-size:17px;font-weight:850}.menu-history-hero{position:relative;min-height:118px;display:flex;align-items:center;overflow:hidden;padding:15px 150px 17px 10px}.menu-history-hero h1{margin:0;color:#101712;font-size:24px;font-weight:850;line-height:1.42;letter-spacing:-.035em}.menu-history-hero img{position:absolute;right:14px;bottom:-9px;width:128px;filter:drop-shadow(0 8px 14px rgba(89,61,35,.12));pointer-events:none}.menu-history-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px}.menu-history-toolbar>div{display:flex;gap:8px}.menu-history-toolbar button{min-height:36px;padding:7px 17px;border:1px solid var(--line);border-radius:999px;background:rgba(255,255,255,.72);color:#4f5952;font-size:12px;font-weight:750}.menu-history-toolbar button.active{border-color:var(--green);background:var(--green);color:#fff;box-shadow:0 6px 16px rgba(22,117,75,.16)}.menu-history-toolbar>span{color:var(--muted);font-size:11px;font-weight:700}.menu-history-list{display:grid;gap:11px;padding:0}.menu-history-card{position:relative;width:100%;display:block;padding:17px 18px;border-color:#e2e7e0;background:linear-gradient(140deg,rgba(255,255,255,.96),rgba(247,249,245,.88));color:var(--ink);text-align:left;appearance:none;cursor:pointer;transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease}.menu-history-card:hover{transform:translateY(-2px);border-color:rgba(35,132,90,.3);box-shadow:0 12px 28px rgba(29,60,39,.08)}.menu-history-card:active{transform:scale(.99)}.menu-history-card:focus-visible{outline:3px solid rgba(35,132,90,.16);outline-offset:2px}.menu-history-card-title{display:grid;min-width:0;padding-right:40px}.menu-history-card-title b{overflow:hidden;color:#172019;font-size:15px;font-weight:850;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.menu-history-card-title small{margin-top:4px;color:var(--muted);font-size:10px}.menu-history-latest{position:absolute;right:40px;top:16px;min-height:21px;padding:3px 8px;border-radius:999px;background:#e5f2e7;color:var(--green);font-size:9px;font-weight:850}.menu-history-latest:empty{display:none}.menu-history-chevron{position:absolute;right:18px;top:20px;color:#26312a;font-size:11px}.menu-history-scale{display:flex;align-items:center;gap:13px;margin:14px 0 11px;color:#253028;font-size:12px;font-variant-numeric:tabular-nums}.menu-history-scale b{font-weight:800}.menu-history-scale i{color:#a6aea8;font-style:normal}.menu-history-finance{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding-top:11px;border-top:1px solid #edf0eb}.menu-history-finance span{display:grid;min-width:0;gap:3px}.menu-history-finance span+span{padding-left:12px;border-left:1px solid #edf0eb}.menu-history-finance small{overflow:hidden;color:#737d75;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.menu-history-finance b{overflow:hidden;color:#18221b;font-size:13px;font-weight:850;text-overflow:ellipsis;white-space:nowrap;font-variant-numeric:tabular-nums}.menu-history-finance span:last-child b{color:var(--green)}.menu-history-filter-empty{padding:28px;text-align:center}.menu-history-filter-empty p{margin:0 0 10px;color:var(--muted)}.menu-history-filter-empty button{border:0;background:transparent;color:var(--green);font-weight:800}.menu-history-empty{display:grid;justify-items:center;padding:34px 24px;text-align:center}.menu-history-empty img{width:112px;margin:-12px 0 4px;filter:drop-shadow(0 7px 12px rgba(89,61,35,.1))}.menu-history-empty h2{margin:0 0 9px;font-size:19px}.menu-history-empty p{margin:0 0 20px;color:var(--muted);font-size:12px;line-height:1.65}.menu-history-empty .btn{min-width:150px}.menu-history-detail-summary{overflow:hidden;padding:18px}.menu-history-detail-title{position:relative;min-height:76px;display:flex;align-items:flex-start;padding-right:104px}.menu-history-detail-title h1{margin:0;color:#161e18;font-size:17px;font-weight:850;line-height:1.4}.menu-history-detail-title p{margin:5px 0 0;color:var(--muted);font-size:10px}.menu-history-detail-title img{position:absolute;right:-2px;bottom:-11px;width:96px;filter:drop-shadow(0 6px 10px rgba(89,61,35,.11))}.menu-history-detail-summary .menu-history-scale{margin-top:13px;padding-top:12px;border-top:1px solid #edf0eb}.menu-history-beers{padding:17px 16px}.menu-history-beers-head{margin-bottom:4px}.menu-history-beers-head h2{margin:0;font-size:15px}.menu-history-beers-head h2 small{color:var(--muted);font-size:10px;font-weight:650}.menu-history-beer{display:grid;grid-template-columns:25px minmax(0,1fr) auto;gap:5px 8px;padding:13px 0;border-bottom:1px solid #edf0eb}.menu-history-beer-number{display:grid;width:22px;height:22px;place-items:center;border-radius:7px;background:var(--green);color:#fff;font-size:9px;font-weight:850}.menu-history-beer-main{min-width:0}.menu-history-beer-main>b{display:block;overflow:hidden;font-size:12px;font-weight:850;text-overflow:ellipsis;white-space:nowrap}.menu-history-beer-main>small{display:block;overflow:hidden;margin-top:3px;color:var(--muted);font-size:9px;text-overflow:ellipsis;white-space:nowrap}.menu-history-beer-main>em{display:inline-block;margin-top:5px;padding:2px 6px;border-radius:999px;background:#eef4eb;color:#66745e;font-size:8px;font-style:normal}.menu-history-beer-stock{align-self:start;color:#667068;font-size:9px;white-space:nowrap}.menu-history-beer-prices{grid-column:2/-1;display:flex;flex-wrap:wrap;gap:7px 16px}.menu-history-beer-prices span{display:flex;align-items:baseline;gap:5px}.menu-history-beer-prices b{font-size:10px}.menu-history-beer-prices small{color:var(--muted);font-size:8px}.menu-history-expand{width:100%;min-height:42px;margin:5px 0 -5px;border:0;background:transparent;color:var(--green);font-size:11px;font-weight:800}.menu-history-detail-actions{display:grid;gap:9px;padding:0 4px}.menu-history-detail-actions .btn{min-height:46px}.danger-outline{border-color:rgba(199,69,69,.46)!important;background:rgba(255,255,255,.7)!important;color:#c64c4c!important}.menu-history-dialog{position:fixed;z-index:80;inset:0;display:grid;place-items:center;padding:20px}.menu-history-dialog-backdrop{position:absolute;inset:0;border:0;background:rgba(23,31,26,.5);backdrop-filter:blur(4px)}.menu-history-dialog-card{position:relative;width:min(100%,380px);padding:23px;border-radius:20px;background:#fff;box-shadow:0 26px 80px rgba(0,0,0,.24);text-align:center}.menu-history-dialog-card h2{margin:0 0 10px;font-size:19px}.menu-history-dialog-card p{margin:0 0 21px;color:var(--muted);font-size:12px;line-height:1.65}.menu-history-dialog-card>div{display:grid;grid-template-columns:1fr 1fr;gap:9px}
@media(min-width:760px){.menu-history-route .app{padding-top:18px}.menu-history-page{gap:17px}.menu-history-hero{min-height:140px;padding-left:22px}.menu-history-hero h1{font-size:28px}.menu-history-hero img{right:38px;width:148px}.menu-history-card{padding:20px 22px}.menu-history-finance b{font-size:15px}.menu-history-detail-summary,.menu-history-beers{padding:22px}.menu-history-detail-title h1{font-size:20px}}
@media(max-width:430px){.menu-history-route .app{padding-left:14px;padding-right:14px}.menu-history-page{gap:12px}.menu-history-hero{min-height:106px;padding:10px 118px 12px 4px}.menu-history-hero h1{font-size:21px}.menu-history-hero img{right:2px;width:112px}.menu-history-card{padding:15px}.menu-history-card-title{padding-right:33px}.menu-history-latest{right:34px;top:14px}.menu-history-chevron{right:15px;top:18px}.menu-history-scale{gap:9px;margin-top:12px}.menu-history-finance span+span{padding-left:8px}.menu-history-finance b{font-size:12px}.menu-history-detail-title{padding-right:86px}.menu-history-detail-title img{width:84px}.menu-history-beer-prices{gap:6px 11px}}
@media(max-width:340px){.menu-history-route .app{padding-left:10px;padding-right:10px}.menu-history-toolbar button{padding-left:12px;padding-right:12px}.menu-history-card-title b{font-size:14px}.menu-history-finance small{font-size:8px}.menu-history-finance b{font-size:11px}.menu-history-beer{grid-template-columns:23px minmax(0,1fr)}.menu-history-beer-stock{grid-column:2}.menu-history-beer-prices{grid-column:2}}

/* 首页：从单次测算结果升级为“周转 → 利润 → 结构 → 重点 → 行动”的运营阅读顺序。 */
.home-route .app{width:min(100%,760px)}
.home-route .home-page-head .page-head{margin-bottom:15px}
.home-route .home-operating-lead{margin:7px 0 0;color:#59645d;font-size:13px;line-height:1.45}
.home-route .home-batch-scale{margin-top:8px;color:#68736c;font-size:13px;font-weight:800}
.home-route .home-module-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.home-route .home-module-head .eyebrow{margin-bottom:4px;font-size:10px;letter-spacing:.09em}
.home-route .home-module-head h2{margin:0;color:#111827;font-size:20px;font-weight:800;line-height:1.18}
.home-route .home-turnover,.home-route .home-profit,.home-route .home-insights,.home-route .home-growth{margin-top:12px;padding:18px}
.home-route .home-turnover{background:linear-gradient(145deg,#f4fbf7,#fff 68%);border-color:#dce9e1}
.home-route .home-serving-picker{display:flex;min-height:34px;align-items:center;gap:4px;color:#7a837d;font-size:10px;white-space:nowrap}
.home-route .home-serving-picker select{height:32px;min-width:76px;padding:0 24px 0 9px;border:1px solid #dce7e0;border-radius:999px;background:#fff;color:#374151;font-size:11px;font-weight:750;outline:none}
.home-route .home-turnover-result{margin-top:17px}
.home-route .home-turnover-result strong{display:block;color:#126e49;font-size:clamp(36px,10vw,52px);font-weight:850;line-height:1;letter-spacing:-.05em;font-variant-numeric:tabular-nums}
.home-route .home-turnover-result p{margin:8px 0 0;color:#5f6b64;font-size:12px;font-weight:650}
.home-route .home-turnover .daily-stepper-row{margin-top:15px;padding-top:13px;border-top:1px solid #e2ebe5}
.home-route .home-turnover .daily-stepper input{width:42px}
.home-route .home-target-row{display:grid;gap:7px;margin-top:14px}
.home-route .home-target-row>span{color:#4c5951;font-size:12px;font-weight:750;white-space:nowrap}
.home-route .home-target-result{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-top:12px;padding:12px;border-radius:13px;background:#fff}
.home-route .home-target-result b{font-size:13px;line-height:1.4}
.home-route .home-target-result span{color:#158054;font-size:11px;font-weight:800;white-space:nowrap}
.home-route .home-operating-note,.home-route .home-loss-note{margin:10px 0 0;color:#7a847e;font-size:10px;line-height:1.55}
.home-route .home-loss-note{margin-top:4px}
.home-route .home-turnover .missing-spec-note{display:block;margin-top:8px;color:#a16d17;font-size:10px;font-weight:750}
.home-route .home-profit{position:relative;overflow:hidden;background:linear-gradient(145deg,#fff9f3,#fff 65%);border-color:#efe4d9}
.home-route .home-profit .home-module-head img{position:absolute;right:-7px;top:-12px;width:86px;pointer-events:none;filter:drop-shadow(0 6px 9px rgba(123,72,31,.12))}
.home-route .home-profit .home-module-head>div{position:relative;z-index:1}
.home-route .home-profit-result{display:flex;align-items:baseline;gap:10px;margin-top:18px}
.home-route .home-profit-result strong{color:#111827;font-size:clamp(34px,9vw,48px);font-weight:850;line-height:1;letter-spacing:-.045em;font-variant-numeric:tabular-nums}
.home-route .home-profit-result span{color:#a56622;font-size:12px;font-weight:800}
.home-route .home-profit-breakdown{display:grid;grid-template-columns:1fr 1fr;gap:0;margin-top:16px;border-top:1px solid #efe8e1;border-bottom:1px solid #efe8e1}
.home-route .home-profit-breakdown p{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0;padding:12px 0;color:#747d77;font-size:11px}
.home-route .home-profit-breakdown p+p{padding-left:14px;border-left:1px solid #efe8e1}
.home-route .home-profit-breakdown b{color:#28312b;font-size:13px;font-variant-numeric:tabular-nums}
.home-route .home-profit-judgment{padding-top:13px}
.home-route .home-profit-judgment>b{font-size:13px}
.home-route .home-profit-judgment>a{display:inline-block;margin-left:7px;color:#a66a24;font-size:10px;font-weight:800}
.home-route .home-profit-judgment p{margin:6px 0 0;color:#7b837e;font-size:10px;line-height:1.55}
.home-route .home-structure{margin-top:12px}
.home-route .home-structure .compass-block{padding:18px}
.home-route .home-structure-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:0;width:100%;margin-top:15px;border-bottom:1px solid #e7ebe8}
.home-route .home-structure-tabs button{min-height:34px;padding:0 4px 8px!important;text-align:center}
.home-route .home-structure-judgment{margin-bottom:14px;padding:13px;border-radius:13px;background:#f4f7f4}
.home-route .home-structure-judgment b{font-size:13px}
.home-route .home-structure-judgment p{margin:5px 0 0;color:#6e7871;font-size:10px;line-height:1.55}
.home-route .home-structure .structure-list{display:block;margin-top:13px}
.home-route .home-structure .structure-row+.structure-row{margin-top:10px}
.home-route .home-insights{background:linear-gradient(145deg,#fff,#f9fbf8)}
.home-route .home-insight{position:relative;display:grid;grid-template-columns:30px minmax(0,1fr) auto;gap:10px;padding:15px 0;border-bottom:1px solid #e9edea}
.home-route .home-insight:last-child{padding-bottom:0;border-bottom:0}
.home-route .home-insight>span{display:grid;width:27px;height:27px;place-items:center;border-radius:9px;background:#e7f3eb;color:#167a52;font-size:10px;font-weight:850}
.home-route .home-insight h3{margin:1px 0 5px;font-size:14px}
.home-route .home-insight p{margin:0;color:#58635c;font-size:11px;line-height:1.55}
.home-route .home-insight small{display:block;margin-top:5px;color:#858d88;font-size:9px;line-height:1.5}
.home-route .home-insight>a{align-self:start;color:#167a52;font-size:9px;font-weight:800;white-space:nowrap}
.home-route .home-insights-empty{margin:14px 0 0;color:#7b847e;font-size:11px;line-height:1.55}
.home-route .home-growth{background:linear-gradient(145deg,#f4faf6,#fffdf8)}
.home-route .home-growth-headline{margin:12px 0 0;color:#176c46;font-size:13px;font-weight:800;line-height:1.5}
.home-route .home-growth-explanation{margin:5px 0 0;color:#68736c;font-size:10px;line-height:1.55}
.home-route .home-growth-list{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:15px}
.home-route .home-growth-list article{padding:12px;border:1px solid #e5ebe6;border-radius:14px;background:rgba(255,255,255,.8)}
.home-route .home-growth-list b{font-size:12px}
.home-route .home-growth-list p{margin:5px 0 0;color:#717b74;font-size:10px;line-height:1.5}
.home-route .home-output-beta{margin-top:14px;padding:15px;border-radius:15px;background:#153f2c;color:#fff}
.home-route .home-output-beta>span{font-size:10px;font-weight:800;color:#dbece1}.home-route .home-output-beta>span i{margin-left:4px;padding:2px 6px;border-radius:999px;background:rgba(255,255,255,.13);font-style:normal}
.home-route .home-output-beta>h3{margin:7px 0 12px;font-size:14px;line-height:1.45}
.home-route .home-output-beta>.btn{min-height:39px;border-color:#fff;background:#fff;color:#15583a;box-shadow:none}
.home-route .home-weekly-plan{margin-top:13px;padding-top:12px;border-top:1px solid rgba(255,255,255,.15)}
.home-route .home-weekly-actions h4{margin:0 0 7px;color:#fff;font-size:12px}
.home-route .home-weekly-actions article{display:grid;grid-template-columns:24px minmax(0,1fr);gap:8px;padding:8px 0}
.home-route .home-weekly-actions article>span{display:grid;width:22px;height:22px;place-items:center;border-radius:7px;background:rgba(255,255,255,.13);color:#d8efdf;font-size:8px;font-weight:850}
.home-route .home-weekly-actions article b{color:#fff;font-size:10px}
.home-route .home-weekly-actions article p{margin:3px 0 0;color:rgba(255,255,255,.78);font-size:9px;line-height:1.5}
.home-route .home-weekly-details{margin-top:7px;border-top:1px solid rgba(255,255,255,.12)}
.home-route .home-weekly-details>div{display:grid;grid-template-columns:72px minmax(0,1fr);gap:9px;padding:10px 0;border-bottom:1px solid rgba(255,255,255,.11)}
.home-route .home-weekly-details>div:last-child{border-bottom:0}
.home-route .home-weekly-plan b{color:#d8efdf;font-size:10px}
.home-route .home-weekly-plan p{margin:0;color:rgba(255,255,255,.82);font-size:10px;line-height:1.55}
.home-route .home-recent{margin-top:16px}
@media(min-width:760px){
  .home-route .home-turnover,.home-route .home-profit,.home-route .home-insights,.home-route .home-growth{padding:22px}
  .home-route .home-growth-list{grid-template-columns:repeat(4,1fr)}
}
@media(max-width:430px){
  .home-route .home-turnover,.home-route .home-profit,.home-route .home-insights,.home-route .home-growth{padding:16px}
  .home-route .home-module-head h2{font-size:19px}
  .home-route .home-target-result{align-items:flex-start;flex-direction:column;gap:4px}
  .home-route .home-profit-result{display:grid;gap:5px}
  .home-route .home-profit-breakdown p{display:grid;gap:3px}.home-route .home-profit-breakdown p+p{padding-left:11px}
}
@media(max-width:350px){
  .home-route .home-growth-list{grid-template-columns:1fr}
  .home-route .home-insight{grid-template-columns:28px minmax(0,1fr)}
  .home-route .home-insight>a{grid-column:2}
}

.home-route .home-finance .finance-three>div{align-items:center;text-align:center}
.home-route .home-finance .finance-three .margin-note{align-self:center}
@media(max-width:599px){
  .home-route .home-finance .finance-three>div:first-child>*{transform:translateX(4px)}
  .home-route .home-finance .finance-three>div:last-child>*{transform:translateX(-4px)}
}

/* 首页核心经营结果：三色语义背景、图标层级与毛利猫咪装饰。 */
.home-route .home-finance{position:relative;overflow:visible;padding:0}
.home-route .home-finance .finance-three{gap:0;overflow:visible;border-radius:inherit}
.home-route .home-finance .finance-stat{
  position:relative;
  min-height:142px;
  justify-content:center;
  padding:17px 8px 15px;
}
.home-route .home-finance .finance-stat-cost{background:linear-gradient(145deg,#e8f7ef 0%,#f6fbf8 100%)}
.home-route .home-finance .finance-stat-revenue{background:linear-gradient(145deg,#eaf4ff 0%,#f8fbff 100%)}
.home-route .home-finance .finance-stat-profit{background:linear-gradient(145deg,#fff0e3 0%,#fff9f4 100%)}
.home-route .home-finance .finance-stat:first-child{border-radius:17px 0 0 17px}
.home-route .home-finance .finance-stat:last-child{border-radius:0 17px 17px 0}
.home-route .home-finance .finance-icon{
  display:grid;
  place-items:center;
  font-family:"Font Awesome 6 Free";
  font-style:normal;
  font-weight:900;
  width:34px;
  height:34px;
  margin-bottom:8px;
  border-radius:999px;
  font-size:15px;
  transform:none!important;
}
.home-route .home-finance .finance-icon::before{line-height:1}
.home-route .home-finance .finance-stat-cost .finance-icon{background:#d6f1e2;color:#149263}
.home-route .home-finance .finance-stat-revenue .finance-icon{background:#dbeaff;color:#2f80dc}
.home-route .home-finance .finance-stat-profit .finance-icon{background:#ffe0c2;color:#f08a24}
.home-route .home-finance .finance-stat-cost strong{color:#0d7a52}
.home-profit-cat{
  position:absolute;
  z-index:2;
  top:-39px;
  right:-5px;
  width:76px;
  height:auto;
  pointer-events:none;
  filter:drop-shadow(0 5px 8px rgba(123,72,31,.14));
  transform:none!important;
}
@media(max-width:599px){
  .home-route .home-finance .finance-stat{min-height:126px;padding:14px 5px 12px}
  .home-route .home-finance .finance-icon{width:30px;height:30px;margin-bottom:6px;font-size:13px}
  .home-route .home-finance .finance-stat:first-child>*{transform:none}
  .home-route .home-finance .finance-stat:last-child>*{transform:none}
  .home-profit-cat{top:-31px;right:-3px;width:62px}
}
@media(max-width:340px){
  .home-route .home-finance .finance-stat{min-height:121px;padding-left:3px;padding-right:3px}
  .home-route .home-finance .finance-icon{width:28px;height:28px}
  .home-profit-cat{top:-27px;width:56px}
}

/* Keglink Pro：购买决策前移，权益与对比使用同一套紧凑信息层级。 */
.pro-sales-page{width:min(100%,760px);margin:0 auto;display:grid;gap:18px}
.pro-sales-page>.back-link{margin-bottom:-4px}
.pro-sales-hero{position:relative;min-height:154px;overflow:hidden;padding:7px 96px 9px 2px}
.pro-sales-hero-copy{position:relative;z-index:1}
.pro-sales-hero .eyebrow{margin-bottom:7px}
.pro-sales-hero h1{max-width:480px;margin:0;font-size:clamp(27px,6.5vw,39px);line-height:1.08;letter-spacing:-.035em}
.pro-sales-hero .lead{max-width:500px;margin:9px 0 0;color:var(--muted);font-size:12px;line-height:1.55}
.pro-core-line{max-width:520px;margin:12px 0 0;color:var(--ink);font-size:13px;font-weight:850;line-height:1.6}
.pro-hero-cat{position:absolute;right:5px;bottom:0;width:98px;height:auto;pointer-events:none;filter:drop-shadow(0 8px 13px rgba(113,69,31,.15))}
.pro-section-head{margin-bottom:13px}
.pro-section-head .eyebrow{margin-bottom:4px}
.pro-section-head h2{margin:0;font-size:18px;line-height:1.25;letter-spacing:-.015em}
.pro-purchase-card,.pro-use-card,.pro-output-card,.pro-bottom-cta{padding:18px}
.pro-purchase-card>h2{margin:0;font-size:18px}
.pro-plan-stack{grid-template-columns:1fr;gap:8px;margin:12px 0}
.pro-plan-choice{display:flex;min-height:59px;align-items:center;justify-content:space-between;gap:12px;padding:10px 13px;border-radius:13px;text-align:left;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease}
.pro-plan-choice:hover{border-color:#b7cabd}
.pro-plan-choice.active{border-color:var(--green);background:linear-gradient(90deg,#f2faf5,#fff);box-shadow:0 0 0 2px rgba(23,108,70,.08)}
.pro-plan-choice>span{display:flex;min-width:0;align-items:center;gap:8px}
.pro-plan-choice b{display:block;font-size:14px}
.pro-plan-choice strong{flex:0 0 auto;margin:0;font-size:21px;font-variant-numeric:tabular-nums}
.pro-plan-choice strong small{margin-left:1px;font-size:11px;font-weight:700;color:var(--muted)}
.pro-recommended{display:inline-flex;padding:3px 7px;border-radius:999px;background:var(--amber-soft);color:#825400;font-size:9px;font-style:normal;font-weight:900}
.pro-purchase-card>.btn{min-height:45px}
.pro-login-link{display:block;margin:12px auto 0}
.pro-purchase-card>.micro-note{text-align:center}
.pro-included-section{padding:4px 1px 0}
.pro-included-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.pro-included-grid article{display:flex;min-width:0;align-items:center;gap:10px;padding:13px;border:1px solid rgba(220,226,218,.78);border-radius:13px;background:rgba(255,255,255,.72)}
.pro-feature-icon{display:grid;width:34px;height:34px;flex:0 0 34px;place-items:center;border-radius:11px;background:var(--green-soft);color:var(--green);font-size:14px}
.pro-included-grid article:nth-child(2) .pro-feature-icon{background:#e9f1ff;color:#3478c7}
.pro-included-grid article:nth-child(3) .pro-feature-icon{background:#f1edf9;color:#7657a8}
.pro-included-grid article:nth-child(4) .pro-feature-icon{background:#fff1df;color:#b56a19}
.pro-included-grid b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}
.pro-included-grid p{margin:3px 0 0;color:var(--muted);font-size:10px}
.pro-compare-new{margin:0;padding:18px}
.pro-compare-new .pro-table{border-color:#e7ebe5;border-radius:13px}
.pro-compare-new .pro-table>div{grid-template-columns:minmax(84px,1.04fr) minmax(64px,.74fr) minmax(122px,1.32fr);min-width:0;border-top-color:#edf0ec}
.pro-compare-new .pro-table>div:first-child{background:#f5f7f3}
.pro-compare-new .pro-table span,.pro-compare-new .pro-table b{display:flex;min-width:0;align-items:center;padding:10px 8px;font-size:10px;line-height:1.4;word-break:break-word}
.pro-compare-new .pro-table span:nth-child(n+2),.pro-compare-new .pro-table b:nth-child(n+2){border-left-color:#edf0ec}
.pro-compare-new .pro-table>div span:nth-child(3),.pro-compare-new .pro-table>div b:nth-child(3){background:#f7fbf8;color:#145d3e;font-weight:800}
.pro-beta{display:inline-flex;align-items:center;margin-left:3px;padding:2px 5px;border-radius:999px;background:#eef0ec;color:#788078;font-size:8px;font-weight:850;line-height:1.2;vertical-align:middle}
.pro-use-list{display:grid}
.pro-use-list article{display:grid;grid-template-columns:39px minmax(0,1fr);align-items:center;gap:10px;padding:11px 0;border-top:1px solid var(--line)}
.pro-use-list article:first-child{border-top:0;padding-top:1px}
.pro-use-list article:last-child{padding-bottom:0}
.pro-use-mark{display:grid;width:34px;height:34px;place-items:center;border-radius:10px;background:#f0f5f1;color:var(--green);font-size:13px;font-weight:900}
.pro-use-mark-text{font-size:8px;letter-spacing:-.02em}
.pro-use-list b{display:block;font-size:13px}
.pro-use-list p{margin:3px 0 0;color:var(--muted);font-size:10px;line-height:1.45}
.pro-output-card{background:linear-gradient(135deg,#fff,#f7faf7)}
.pro-output-now{margin:0;color:var(--ink);font-size:13px;font-weight:850;line-height:1.55}
.pro-output-card>.micro-note{margin-top:6px}
.pro-bottom-cta{display:grid;grid-template-columns:auto minmax(150px,1fr);align-items:center;gap:12px}
.pro-bottom-cta>div p{margin:0 0 2px;color:var(--muted);font-size:10px}
.pro-bottom-cta>div strong{font-size:21px;font-variant-numeric:tabular-nums;white-space:nowrap}
.pro-bottom-cta>div small{font-size:10px;color:var(--muted)}
.pro-bottom-cta>.btn{min-height:44px}
.pro-bottom-cta>.pro-login-link{grid-column:1/-1;margin:0 auto}
@media(max-width:480px){
  .pro-sales-page{gap:15px}
  .pro-sales-hero{min-height:148px;padding-right:72px}
  .pro-sales-hero h1{font-size:27px}
  .pro-core-line{font-size:12px}
  .pro-hero-cat{right:0;width:78px}
  .pro-included-grid article{gap:8px;padding:11px 9px}
  .pro-feature-icon{width:30px;height:30px;flex-basis:30px;border-radius:9px;font-size:12px}
  .pro-compare-new .pro-table{overflow:visible}
  .pro-compare-new .pro-table>div{min-width:0}
}
@media(max-width:340px){
  .pro-sales-hero{min-height:154px;padding-right:54px}
  .pro-sales-hero h1{font-size:25px}
  .pro-hero-cat{right:-8px;width:66px}
  .pro-included-grid{gap:7px}
  .pro-included-grid article{gap:6px;padding:10px 7px}
  .pro-included-grid b{font-size:12px}
  .pro-compare-new,.pro-purchase-card,.pro-use-card,.pro-output-card,.pro-bottom-cta{padding:15px}
  .pro-compare-new .pro-table span,.pro-compare-new .pro-table b{padding:9px 5px;font-size:9px}
  .pro-bottom-cta{grid-template-columns:auto minmax(132px,1fr);gap:9px}
}

/* Pro 申请：套餐选择后的轻量注册页。 */
body:has(.pro-register-page) .topbar{display:none}
body:has(.pro-register-page) .app{padding-top:18px}
.pro-register-page{width:min(100%,500px);margin:0 auto;padding-bottom:8px}
.pro-register-page>.back-link{margin-bottom:4px}
.pro-register-hero{position:relative;min-height:176px;padding:15px 3px 22px}
.pro-register-hero h1{position:relative;z-index:2;margin:0;color:#111827;font-size:clamp(26px,7vw,34px);font-weight:800;line-height:1.35;letter-spacing:-.035em}
.pro-register-hero h1>span{display:block}
.pro-register-emphasis{color:var(--green)}
.pro-register-hero p{position:relative;z-index:2;margin:13px 0 0;color:var(--muted);font-size:13px;line-height:1.65}
.pro-register-hero>img{position:absolute;z-index:4;right:8px;bottom:-25px;width:126px;height:auto;pointer-events:none;filter:drop-shadow(0 9px 14px rgba(120,74,35,.15))}
.pro-register-cat-note{position:absolute;z-index:3;right:4px;top:76px;color:var(--green);font-size:10px;font-weight:850;transform:rotate(-3deg)}
.pro-register-cat-note i{display:block;margin:5px 18px 0 auto;font-size:15px;transform:rotate(22deg)}
.pro-selected-plan{position:relative;z-index:2;display:grid;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:11px;margin:0 0 14px;padding:15px 16px;border-color:#e1e9e2;background:linear-gradient(110deg,#f9fcf8,#fff);box-shadow:0 10px 28px rgba(27,63,38,.07)}
.pro-selected-plan-icon{display:grid;width:44px;height:44px;place-items:center;border-radius:999px;background:#eef6e8;color:#77a94c;font-size:19px}
.pro-selected-plan p{display:flex;align-items:center;gap:7px;margin:0}
.pro-selected-plan p b{font-size:16px}
.pro-selected-plan strong{display:block;margin-top:4px;color:var(--muted);font-size:14px;font-weight:650}
.pro-selected-plan strong small{margin-left:2px;font-size:10px}
.pro-selected-state{display:flex;align-items:center;gap:5px;color:var(--green);font-size:11px;font-weight:850;white-space:nowrap}
.pro-selected-state i{font-size:18px}
.pro-register-form{padding:20px 18px 17px;border-radius:19px;box-shadow:0 12px 32px rgba(31,51,37,.07)}
.pro-register-fields{display:grid;gap:16px;margin-bottom:16px}
.pro-register-form .field{gap:7px}
.pro-register-form .field label{color:var(--ink);font-size:12px;font-weight:850}
.auth-field-control{position:relative;display:flex;min-height:48px;align-items:center;border:1px solid var(--line);border-radius:13px;background:#fbfcfa;transition:border-color .15s ease,box-shadow .15s ease}
.auth-field-control:focus-within{border-color:var(--green-2);box-shadow:0 0 0 3px rgba(35,132,90,.1)}
.auth-field-control>i{width:40px;flex:0 0 40px;color:#8b948d;text-align:center;font-size:12px}
.auth-field-control input{min-width:0;min-height:46px;padding:10px 42px 10px 0;border:0;background:transparent;box-shadow:none!important}
.auth-field-control input[type=tel]{padding-right:12px}
.auth-field-control input::placeholder{color:#a3aaa4}
.auth-password-toggle{position:absolute;right:1px;top:1px;display:grid;width:44px;height:44px;place-items:center;border:0;background:transparent;color:#7e8881;font-size:13px}
.auth-field-help{color:var(--muted);font-size:10px;line-height:1.4}
.auth-field-error{color:var(--red);font-size:10px;line-height:1.35}
.auth-field-error:empty{display:none}
.pro-register-form .btn.primary{min-height:46px;border-radius:13px;font-size:14px}
.pro-register-form>.mini-link{margin-top:12px}
.pro-register-form>.warning{margin-bottom:-8px;text-align:center}
.pro-register-benefits{margin:20px 0 3px;padding:0 2px}
.pro-register-benefits>p{margin:0 0 12px;color:#7e897f;font-size:11px;text-align:center}
.pro-register-benefits>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}
.pro-register-benefits article{min-width:0;text-align:center}
.pro-register-benefits article>span{display:grid;width:38px;height:38px;margin:0 auto 7px;place-items:center;border-radius:999px;background:#eef6e8;color:var(--green);font-size:15px}
.pro-register-benefits b{display:block;overflow:hidden;color:var(--green);font-size:10px;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}
.pro-register-benefits small{display:block;margin-top:3px;color:var(--muted);font-size:8px;line-height:1.35}
@media(max-width:374px){
  .pro-register-hero{min-height:167px;padding-top:12px}
  .pro-register-hero h1{font-size:24px}
  .pro-register-hero p{font-size:12px}
  .pro-register-hero>img{right:1px;bottom:-21px;width:105px}
  .pro-register-cat-note{right:0;top:73px;font-size:9px}
  .pro-selected-plan{grid-template-columns:40px minmax(0,1fr) auto;padding:14px 12px}
  .pro-selected-plan-icon{width:39px;height:39px;font-size:16px}
  .pro-selected-plan p b{font-size:14px}
  .pro-selected-state{font-size:10px}
  .pro-register-form{padding:17px 14px 15px}
  .pro-register-benefits>div{gap:2px}
  .pro-register-benefits b{font-size:9px}
}

/* Pro 申请提交后的状态页。 */
body:has(.pro-application-page) .topbar{display:none}
body:has(.pro-application-page) .app{padding-top:0}
.pro-application-page{width:min(100%,500px);margin:0 auto;padding-bottom:10px}
.pro-status-nav{position:relative;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;min-height:54px;margin-bottom:14px}
.pro-status-nav a{display:flex;min-height:44px;align-items:center;gap:8px;color:#111827;font-size:13px;font-weight:700}
.pro-status-nav a i{font-size:13px}
.pro-status-nav strong{font-size:15px;font-weight:800}
.pro-status-hero{position:relative;min-height:220px;padding:30px 4px 50px}
.pro-status-title{display:flex;align-items:center;gap:10px}
.pro-status-check{display:grid;width:34px;height:34px;flex:0 0 34px;place-items:center;border-radius:999px;background:#178459;color:#fff;font-size:16px}
.pro-status-title h1{margin:0;color:#111827;font-size:25px;font-weight:850;letter-spacing:-.035em}
.pro-status-hero h2{position:relative;z-index:2;margin:22px 0 11px;color:#111827;font-size:23px;font-weight:850;line-height:1.35;letter-spacing:-.035em}
.pro-status-hero>p{position:relative;z-index:2;margin:0;color:#68716b;font-size:13px;line-height:1.7}
.pro-status-hero>img{position:absolute;z-index:3;right:24px;bottom:-18px;width:142px;height:auto;pointer-events:none;filter:drop-shadow(0 10px 15px rgba(115,72,38,.16))}
.pro-status-cat-note{position:absolute;z-index:2;right:5px;top:75px;color:#178459;font-size:10px;font-weight:850;transform:rotate(-3deg)}
.pro-status-cat-note i{display:block;margin:7px 20px 0 auto;font-size:16px;transform:rotate(22deg)}
.pro-status-card{position:relative;z-index:4;margin:0 0 18px;padding:20px 18px 17px;border-color:#e2e9e3;border-radius:20px;box-shadow:0 12px 32px rgba(31,51,37,.08)}
.pro-status-plan{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:11px;margin-bottom:17px}
.pro-status-plan-icon{display:grid;width:46px;height:46px;place-items:center;border-radius:999px;background:#eef6e8;color:#78a94f;font-size:20px}
.pro-status-plan>div{display:flex;min-width:0;align-items:center;gap:8px}
.pro-status-plan b{font-size:17px;white-space:nowrap}
.pro-status-plan em{padding:4px 8px;border-radius:999px;background:#fff3cf;color:#c48600;font-size:10px;font-style:normal;font-weight:850;white-space:nowrap}
.pro-application-page.is-active .pro-status-plan em{background:#e8f5e8;color:#218349}
.pro-status-plan>i{color:#778078;font-size:20px}
.pro-application-page.is-active .pro-status-plan>i{color:#258b5e}
.pro-status-card dl{display:grid;gap:11px;margin:0 0 17px;padding:0 2px}
.pro-status-card dl>div{display:grid;grid-template-columns:82px minmax(0,1fr);align-items:center}
.pro-status-card dt{color:#7a827d;font-size:13px}
.pro-status-card dd{margin:0;color:#39413c;font-size:13px;font-weight:650}
.pro-status-card .btn.primary{display:flex;min-height:48px;align-items:center;justify-content:center;gap:8px;border-radius:14px;font-size:14px}
.pro-status-card-note{margin:10px 0 0;color:#818a84;font-size:10px;text-align:center}
.pro-status-card-note i{margin-right:5px;color:#65a274}
.pro-status-active-note{margin:2px 0 14px;color:#248759;font-size:12px;font-weight:750;text-align:center}
.pro-status-active-note i{margin-right:5px}
.pro-status-card .warning{margin:9px 0 0;text-align:center}
.pro-status-contact{display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:12px;margin:0 0 23px;padding:18px;border:1px solid #e7eee6;border-radius:19px;background:#f3f8f1}
.pro-status-contact>span{display:grid;width:42px;height:42px;place-items:center;border-radius:999px;background:#e9f4e6;color:#20875b;font-size:18px}
.pro-status-contact h2{margin:0 0 5px;color:#16784f;font-size:15px}
.pro-status-contact p{margin:0;color:#68716b;font-size:11px;line-height:1.65}
.pro-status-steps{margin:0 0 20px;padding:0 6px}
.pro-status-steps>p{display:flex;align-items:center;justify-content:center;gap:10px;margin:0 0 15px;color:#6d776f;font-size:11px}
.pro-status-steps>p i{width:22px;height:1px;background:#b6d7a5}
.pro-status-steps>div{display:grid;grid-template-columns:1fr 20px 1fr 20px 1fr;align-items:start}
.pro-status-steps>div>i{margin-top:19px;color:#b7d7a7;font-size:11px;text-align:center}
.pro-status-steps article{text-align:center}
.pro-status-steps article>span{display:grid;width:45px;height:45px;margin:0 auto 5px;place-items:center;border-radius:999px;background:#eef6e8;color:#68a44e;font-size:18px}
.pro-status-steps article>b{display:block;color:#68716b;font-size:10px}
.pro-status-steps article>small{display:block;margin-top:2px;color:#303833;font-size:10px;line-height:1.45}
.pro-status-tip{display:flex;align-items:center;gap:12px;margin:0;padding:14px 17px;border-radius:17px;background:#fff8dd;color:#8b6508}
.pro-status-tip>i{font-size:22px}
.pro-status-tip p{margin:0;font-size:11px;line-height:1.55}
.pro-status-tip b{font-weight:800}
@media(max-width:374px){
  .pro-status-nav{margin-bottom:7px}
  .pro-status-hero{min-height:207px;padding-top:23px}
  .pro-status-title h1{font-size:22px}
  .pro-status-check{width:31px;height:31px;flex-basis:31px;font-size:14px}
  .pro-status-hero h2{font-size:20px}
  .pro-status-hero>p{font-size:12px}
  .pro-status-hero>img{right:7px;width:120px}
  .pro-status-cat-note{right:-2px;top:69px;font-size:9px}
  .pro-status-card{padding:18px 14px 15px}
  .pro-status-plan{grid-template-columns:42px minmax(0,1fr) auto}
  .pro-status-plan-icon{width:41px;height:41px;font-size:17px}
  .pro-status-plan b{font-size:15px}
  .pro-status-card dl>div{grid-template-columns:70px minmax(0,1fr)}
  .pro-status-contact{padding:15px 13px}
  .pro-status-steps{padding:0}
}

/* 历史酒单卡覆盖旧版列表按钮规则 */
.menu-history-list .menu-history-card{position:relative;width:100%;display:block;padding:17px 18px;border:1px solid #e2e7e0;border-radius:17px;background:linear-gradient(140deg,rgba(255,255,255,.96),rgba(247,249,245,.88));color:var(--ink);text-align:left;appearance:none}
.menu-history-list .menu-history-card:last-child{border-bottom:1px solid #e2e7e0}
.menu-history-list .menu-history-card-title{display:grid;min-width:0;gap:0;padding-right:40px}
.menu-history-list .menu-history-card-title b{overflow:hidden;font-size:15px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}
.menu-history-list .menu-history-card-title small{margin-top:4px;font-size:10px}
.menu-history-list .menu-history-latest{position:absolute;right:40px;top:16px;display:block;min-height:21px;padding:3px 8px;border-radius:999px;background:#e5f2e7;color:var(--green);font-size:9px;font-weight:850}
.menu-history-list .menu-history-latest:empty{display:none}
.menu-history-list .menu-history-chevron{position:absolute;right:18px;top:20px;display:block;color:#26312a}
.menu-history-list .menu-history-chevron i{font-size:11px}
.menu-history-list .menu-history-scale{display:flex;gap:13px}
.menu-history-list .menu-history-scale i{color:#a6aea8;font-size:10px}
.menu-history-list .menu-history-finance{display:grid}
.menu-history-list .menu-history-finance span{display:grid;min-width:0;gap:3px}
.menu-history-list .menu-history-finance small{font-size:9px}
.menu-history-list .menu-history-finance b{font-size:13px}
@media(max-width:430px){.menu-history-list .menu-history-card{padding:15px}.menu-history-list .menu-history-latest{right:34px;top:14px}.menu-history-list .menu-history-chevron{right:15px;top:18px}}
@media(max-width:340px){.menu-history-list .menu-history-card-title b{font-size:14px}.menu-history-list .menu-history-finance small{font-size:8px}.menu-history-list .menu-history-finance b{font-size:11px}}

/* 历史盘库：列表负责快速浏览，详情负责相邻两次盘库的变化对比。 */
.inventory-history-route .topbar{display:none}
.inventory-history-route .app{width:min(100%,680px);padding-top:8px}
.inventory-history-page{display:grid;gap:13px;padding-bottom:12px}
.inventory-history-nav{display:grid;grid-template-columns:40px 1fr 40px;align-items:center;min-height:48px}
.inventory-history-nav>a{display:grid;width:40px;height:40px;place-items:center;border-radius:12px;color:var(--ink);font-size:16px}
.inventory-history-nav>a:hover{background:rgba(25,71,44,.055)}
.inventory-history-nav>strong{text-align:center;font-size:17px;font-weight:850}
.inventory-history-hero{position:relative;min-height:148px;overflow:hidden;padding:15px 145px 18px 7px}
.inventory-history-hero h1{margin:0;color:#101712;font-size:25px;font-weight:850;line-height:1.4;letter-spacing:-.035em}
.inventory-history-hero h1 span{color:var(--green)}
.inventory-history-hero p{margin:10px 0 0;color:var(--muted);font-size:11px;line-height:1.6}
.inventory-history-hero img{position:absolute;right:5px;bottom:-11px;width:136px;height:auto;filter:drop-shadow(0 8px 14px rgba(89,61,35,.12));pointer-events:none}
.inventory-history-recent,.inventory-history-summary-card,.inventory-history-compare-card,.inventory-history-changes,.inventory-history-lines,.inventory-history-first{padding:18px;border-color:#e3e9e2;border-radius:18px;background:var(--surface-card);box-shadow:0 9px 26px rgba(27,57,37,.055)}
.inventory-history-section-title{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.inventory-history-section-title h2{margin:0;font-size:15px;font-weight:850}
.inventory-history-section-title small{color:var(--muted);font-size:10px;font-weight:650}
.inventory-history-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:14px;padding:13px 0;border-top:1px solid #edf0eb;border-bottom:1px solid #edf0eb}
.inventory-history-stats>span{display:grid;min-width:0;gap:4px;text-align:center}
.inventory-history-stats>span+span{border-left:1px solid #edf0eb}
.inventory-history-stats b{overflow:hidden;font-size:16px;font-weight:850;text-overflow:ellipsis;white-space:nowrap;font-variant-numeric:tabular-nums}
.inventory-history-stats small{color:var(--muted);font-size:9px}
.inventory-history-recent-change{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:12px;color:var(--muted);font-size:10px;font-weight:750}
.inventory-change{display:inline-flex;align-items:baseline;gap:4px;color:#68716b;font-size:13px;font-weight:850;white-space:nowrap;font-variant-numeric:tabular-nums}
.inventory-change.down{color:var(--green)}
.inventory-change.up{color:#b56a19}
.inventory-change small{display:block;color:var(--muted);font-size:8px;font-weight:650}
.inventory-history-list-head{display:flex;align-items:center;justify-content:space-between;padding:6px 3px 0}
.inventory-history-list-head h2{margin:0;font-size:16px;font-weight:850}
.inventory-history-list-head span{color:var(--muted);font-size:11px;font-weight:700}
.inventory-history-list{display:grid;gap:10px}
.inventory-history-card{position:relative;display:block;padding:16px;border-color:#e3e8e1;border-radius:17px;background:var(--surface-card);color:var(--ink);box-shadow:0 8px 24px rgba(27,57,37,.045);transition:transform .15s ease,border-color .15s ease}
.inventory-history-card:hover{transform:translateY(-2px);border-color:rgba(35,132,90,.28)}
.inventory-history-card>i{position:absolute;right:16px;top:18px;color:#27322a;font-size:10px}
.inventory-history-card h3{margin:0;padding-right:28px;font-size:14px;font-weight:850;font-variant-numeric:tabular-nums}
.inventory-history-card>p{margin:5px 0 0;color:var(--muted);font-size:10px}
.inventory-history-card-numbers{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}
.inventory-history-card-numbers>span{display:grid;gap:4px}
.inventory-history-card-numbers small,.inventory-history-card-label{color:var(--muted);font-size:9px}
.inventory-history-card-numbers b{font-size:18px;font-weight:850;font-variant-numeric:tabular-nums}
.inventory-history-card-numbers .inventory-change{font-size:17px}
.inventory-first-label{color:var(--green);font-size:12px!important}
.inventory-history-card-label{display:block;margin-top:12px}
.inventory-history-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}
.inventory-history-tags em{padding:4px 8px;border-radius:999px;background:#eaf4ed;color:#3d6650;font-size:9px;font-style:normal;font-weight:750}
.inventory-history-detail-hero{position:relative;min-height:112px;overflow:hidden;padding:19px 126px 16px 7px}
.inventory-history-detail-hero h1{margin:0;font-size:24px;font-weight:850;letter-spacing:-.035em}
.inventory-history-detail-hero p{margin:7px 0 0;color:var(--muted);font-size:11px}
.inventory-history-detail-hero img{position:absolute;right:8px;bottom:-13px;width:116px;filter:drop-shadow(0 7px 12px rgba(89,61,35,.11));pointer-events:none}
.inventory-history-summary-card .inventory-history-stats{margin:0;border:0;padding:0}
.inventory-history-compare-card>p{margin:12px 0 0;padding-top:11px;border-top:1px solid #edf0eb;color:var(--muted);font-size:10px}
.inventory-history-total-change{display:grid;grid-template-columns:1fr 22px 1fr auto;align-items:center;gap:8px;margin-top:15px}
.inventory-history-total-change>span:not(.inventory-change){display:grid;gap:4px;text-align:center}
.inventory-history-total-change>span>b{font-size:17px;font-weight:850;font-variant-numeric:tabular-nums}
.inventory-history-total-change>span>small{color:var(--muted);font-size:9px}
.inventory-history-total-change>i{color:#818a83;font-size:12px;text-align:center}
.inventory-history-total-change>.inventory-change{display:grid;justify-items:center;gap:1px;font-size:16px}
.inventory-history-changes h2,.inventory-history-lines h2{margin:0 0 5px;font-size:15px}
.inventory-history-changes article{display:grid;grid-template-columns:20px minmax(0,1fr) auto;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid #edf0eb}
.inventory-history-changes article:last-child{border-bottom:0;padding-bottom:0}
.inventory-history-changes article>span:first-child,.inventory-history-line-head>span{display:grid;width:18px;height:18px;place-items:center;border-radius:6px;background:var(--green);color:#fff;font-size:8px;font-weight:850}
.inventory-history-changes article b{display:block;overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}
.inventory-history-changes article small{display:block;margin-top:3px;color:var(--muted);font-size:9px}
.inventory-history-first b{font-size:14px}
.inventory-history-first p{margin:6px 0 0;color:var(--muted);font-size:11px;line-height:1.55}
.inventory-history-lines h2 small{color:var(--muted);font-size:10px;font-weight:650}
.inventory-history-lines>article{padding:13px 0;border-bottom:1px solid #edf0eb}
.inventory-history-line-head{display:grid;grid-template-columns:20px minmax(0,1fr) auto;align-items:center;gap:9px}
.inventory-history-line-head b{overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}
.inventory-history-line-head>small{color:var(--muted);font-size:9px;white-space:nowrap}
.inventory-history-line-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:10px 0 0 29px}
.inventory-history-line-values>span{display:grid;gap:3px}
.inventory-history-line-values small{color:var(--muted);font-size:8px}
.inventory-history-line-values b,.inventory-history-line-values .inventory-change{font-size:11px;font-weight:800}
.inventory-history-expand{width:100%;min-height:42px;margin:6px 0 -7px;border:0;background:transparent;color:var(--green);font-size:11px;font-weight:800}
.inventory-history-delete{min-height:46px;margin-top:2px}
.inventory-history-empty{display:grid;justify-items:center;padding:34px 24px;text-align:center}
.inventory-history-empty img{width:116px;margin:-11px 0 3px;filter:drop-shadow(0 7px 12px rgba(89,61,35,.1))}
.inventory-history-empty h2{margin:0 0 8px;font-size:19px}
.inventory-history-empty p{margin:0 0 20px;color:var(--muted);font-size:12px;line-height:1.65}
.inventory-history-empty .btn{min-width:150px}
.inventory-history-dialog{position:fixed;z-index:80;inset:0;display:grid;place-items:center;padding:20px}
.inventory-history-dialog-backdrop{position:absolute;inset:0;border:0;background:rgba(23,31,26,.5);backdrop-filter:blur(4px)}
.inventory-history-dialog-card{position:relative;width:min(100%,380px);padding:23px;border-radius:20px;background:#fff;box-shadow:0 26px 80px rgba(0,0,0,.24);text-align:center}
.inventory-history-dialog-card h2{margin:0 0 10px;font-size:19px}
.inventory-history-dialog-card p{margin:0 0 21px;color:var(--muted);font-size:12px;line-height:1.65}
.inventory-history-dialog-card>div{display:grid;grid-template-columns:1fr 1fr;gap:9px}
@media(min-width:760px){.inventory-history-route .app{padding-top:18px}.inventory-history-page{gap:16px}.inventory-history-hero{min-height:165px;padding-left:18px}.inventory-history-hero h1{font-size:29px}.inventory-history-hero img{right:28px;width:154px}.inventory-history-card{padding:19px}.inventory-history-detail-hero{padding-left:18px}.inventory-history-detail-hero img{right:30px}}
@media(max-width:430px){.inventory-history-route .app{padding-left:14px;padding-right:14px}.inventory-history-hero{min-height:137px;padding:10px 116px 12px 3px}.inventory-history-hero h1{font-size:22px}.inventory-history-hero img{right:-2px;width:118px}.inventory-history-detail-hero{min-height:103px;padding:16px 100px 12px 3px}.inventory-history-detail-hero h1{font-size:21px}.inventory-history-detail-hero img{right:-1px;width:100px}.inventory-history-recent,.inventory-history-summary-card,.inventory-history-compare-card,.inventory-history-changes,.inventory-history-lines,.inventory-history-first{padding:16px}.inventory-history-total-change{grid-template-columns:1fr 18px 1fr auto;gap:5px}.inventory-history-total-change>span>b{font-size:15px}.inventory-history-total-change>.inventory-change{font-size:14px}.inventory-history-line-values{margin-left:27px}}
@media(max-width:340px){.inventory-history-hero{padding-right:96px}.inventory-history-hero h1{font-size:20px}.inventory-history-hero img{width:100px}.inventory-history-stats b{font-size:14px}.inventory-history-total-change{grid-template-columns:1fr 14px 1fr auto}.inventory-history-total-change>span>b{font-size:13px}.inventory-history-total-change>.inventory-change{font-size:12px}.inventory-history-card-numbers b{font-size:16px}.inventory-history-line-head>small{font-size:8px}.inventory-history-line-values{gap:4px;margin-left:26px}}

/* 首页结构四维切换需覆盖旧版两项切换的局部样式。 */
.home-route .home-structure .home-structure-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;width:100%;padding:0;border-radius:0;background:transparent}
.home-route .home-structure .home-structure-tabs button{min-width:0;padding:0 4px 8px!important;text-align:center}
.home-route .home-structure .home-structure-tabs button.active{border-bottom-color:#16a085;background:transparent;color:#111827;box-shadow:none}
.home-route .home-structure .compass-head h2{font-size:20px}
@media(max-width:430px){.home-route .home-structure .compass-head h2{font-size:19px}}

/* 概览收口：用“周转 → 结构 → 重点 → 怎么卖”组织阅读，并统一首页字号。 */
.home-route .home-page-head .page-head{margin-bottom:0}
.home-route .home-page-head h1{font-size:clamp(30px,8vw,32px);font-weight:700;line-height:1.25}
.home-route .home-operating-lead{font-size:15px;line-height:1.6}
.home-route .home-batch-scale{margin-top:8px;font-size:14px;line-height:1.5}
.home-route .home-operating-path{display:flex;align-items:center;justify-content:space-between;gap:3px;margin:16px 0;padding:0 2px;white-space:nowrap}
.home-route .home-operating-path button{min-width:0;padding:3px 0;border:0;background:transparent;color:#374151;font-family:inherit;font-size:13px;font-weight:600;line-height:1.5;cursor:pointer}
.home-route .home-operating-path em{color:#168259;font-style:normal;font-weight:800}
.home-route .home-operating-path i{color:#c1c8c4;font-style:normal;font-size:12px}
.home-route .home-stage{scroll-margin-top:72px}
.home-route .home-turnover-stage{display:grid;gap:12px}
.home-route .home-turnover-stage>.card{margin-top:0}
.home-route .home-structure,.home-route .home-insights,.home-route .home-growth{margin-top:30px}
.home-route .home-module-head .eyebrow,.home-route .home-structure .eyebrow{margin-bottom:5px;font-size:13px;line-height:1.5;letter-spacing:.06em}
.home-route .home-module-head h2,.home-route .home-structure .compass-head h2{font-size:clamp(23px,6vw,25px);font-weight:700;line-height:1.3}
.home-route .home-serving-picker{font-size:13px;line-height:1.5}
.home-route .home-serving-picker select{font-size:13px}
.home-route .home-turnover::after,.home-route .home-turnover::before{content:none!important;display:none!important}
.home-route .home-turnover-result strong,.home-route .home-profit-result strong{font-size:clamp(42px,11vw,46px);font-weight:700;line-height:1.05}
.home-route .home-turnover-result p,.home-route .home-profit-result span{font-size:14px;line-height:1.5}
.home-route .home-turnover .daily-stepper-row>span,.home-route .home-target-row>span{font-size:14px}
.home-route .home-target-result b{font-size:16px;line-height:1.5}
.home-route .home-target-result span{font-size:13px;line-height:1.5}
.home-route .home-operating-note,.home-route .home-loss-note,.home-route .home-turnover .missing-spec-note{font-size:13px;line-height:1.5}
.home-route .home-turnover .missing-spec-note[hidden]{display:none}
.home-route .home-profit-breakdown p{font-size:13px;line-height:1.5}
.home-route .home-profit-breakdown b{font-size:15px}
.home-route .home-profit-judgment>b{font-size:17px;line-height:1.5}
.home-route .home-profit-judgment>a{font-size:13px}
.home-route .home-profit-judgment p{font-size:14px;line-height:1.6}
.home-route .home-structure-tabs button{font-size:14px}
.home-route .home-structure-judgment{margin-bottom:16px;padding:14px 15px}
.home-route .home-structure-judgment b{font-size:17px;line-height:1.5}
.home-route .home-structure-judgment p{font-size:14px;line-height:1.6}
.home-route .structure-line b,.home-route .structure-line span{font-size:14px}
.home-route .home-status-list{display:grid;gap:11px;margin-top:18px}
.home-route .home-status{display:grid;grid-template-columns:28px minmax(0,1fr);align-items:center;gap:10px}
.home-route .home-status>span{display:grid;width:28px;height:28px;place-items:center;border-radius:50%;background:#e5f4eb;color:#168259;font-size:15px;font-weight:800}
.home-route .home-status.warn>span{background:#fff0e3;color:#b76417}
.home-route .home-status.observe>span{background:#f0f2f1;color:#7b8580}
.home-route .home-status b{font-size:16px;line-height:1.5}
.home-route .home-insights-summary{margin:18px 0 0;font-size:17px;font-weight:600;line-height:1.5}
.home-route .home-insights-next{margin:6px 0 0;color:#707a74;font-size:14px;line-height:1.6}
.home-route .home-growth-headline{font-size:17px;font-weight:600;line-height:1.5}
.home-route .home-growth-explanation{font-size:15px;line-height:1.6}
.home-route .home-growth-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.home-route .home-growth-list article{padding:14px}
.home-route .home-growth-list b{font-size:16px;line-height:1.5}
.home-route .home-growth-list p{font-size:14px;line-height:1.6}
.home-route .home-output-beta{margin-top:18px;padding:18px;border-radius:17px}
.home-route .home-output-beta>span{font-size:13px}
.home-route .home-output-beta>h3{font-size:16px;line-height:1.5}
.home-route .home-output-beta>.btn{font-size:15px}
.home-route .home-weekly-plan{margin-top:14px;padding-top:14px}
.home-route .home-weekly-actions h4{font-size:17px;line-height:1.5}
.home-route .home-weekly-actions article{grid-template-columns:31px minmax(0,1fr);gap:10px;padding:10px 0}
.home-route .home-weekly-actions article>span{width:29px;height:29px;font-size:12px}
.home-route .home-weekly-actions article b{font-size:15px;line-height:1.5}
.home-route .home-weekly-actions article p{font-size:13px;line-height:1.55}
.home-route .home-plan-link{display:block;margin-top:10px;padding-top:13px;border-top:1px solid rgba(255,255,255,.15);color:#fff;font-size:14px;font-weight:700;text-decoration:none}
.home-route .home-recent{margin-top:30px}

.weekly-plan-route{background:#f5f7f5}
.weekly-plan-route .topbar,.weekly-plan-route .bottom-nav{display:none}
.weekly-plan-route .app{width:min(100%,760px);padding:0 16px 52px}
.weekly-plan-nav{display:grid;grid-template-columns:44px 1fr 44px;align-items:center;height:58px}
.weekly-plan-nav a{color:#1f3529;font-size:30px;text-decoration:none}
.weekly-plan-nav strong{text-align:center;font-size:15px}
.weekly-plan-hero{margin:0 -16px;padding:28px 24px 30px;background:linear-gradient(145deg,#174d35,#0f3525);color:#fff}
.weekly-plan-hero p{margin:0;color:#cfe5d8;font-size:13px;font-weight:700}.weekly-plan-hero p i{margin-left:5px;padding:2px 7px;border-radius:999px;background:rgba(255,255,255,.12);font-style:normal}
.weekly-plan-hero h1{margin:9px 0 8px;font-size:32px;line-height:1.25}.weekly-plan-hero>b{font-size:16px;line-height:1.5}
.weekly-plan-actions{margin:20px 0;padding:20px;border-radius:18px;background:#eaf5ee}
.weekly-plan-actions h2,.weekly-plan-sections h2{margin:0;font-size:20px;line-height:1.3}
.weekly-plan-actions article{display:grid;grid-template-columns:32px minmax(0,1fr);gap:11px;padding:15px 0;border-bottom:1px solid #d7e8dd}
.weekly-plan-actions article:last-child{padding-bottom:0;border:0}.weekly-plan-actions article>span{display:grid;width:30px;height:30px;place-items:center;border-radius:9px;background:#168259;color:#fff;font-size:12px;font-weight:800}
.weekly-plan-actions article b{font-size:16px;line-height:1.5}.weekly-plan-actions article p,.weekly-plan-sections p{margin:4px 0 0;color:#5e6a63;font-size:15px;line-height:1.6}
.weekly-plan-sections{display:grid;gap:12px}.weekly-plan-sections .card{padding:18px;box-shadow:none}
@media(min-width:760px){.weekly-plan-route .app{padding-left:0;padding-right:0}.weekly-plan-hero{margin:0;padding-left:34px;border-radius:0 0 22px 22px}.weekly-plan-sections{grid-template-columns:1fr 1fr}}
@media(max-width:430px){
  .home-route .home-turnover,.home-route .home-profit,.home-route .home-insights,.home-route .home-growth{padding:18px}
  .home-route .home-module-head h2,.home-route .home-structure .compass-head h2{font-size:23px}
  .home-route .home-growth-list{grid-template-columns:1fr}
  .home-route .home-operating-path button{font-size:12px}
}
/* v42: one answer per stage; presentation changes scoped to overview and plan. */
.home-route .home-turnover,.home-route .home-profit,.home-route .home-structure,.home-route .home-insights,.home-route .home-growth{box-shadow:none;border:0;border-radius:14px}
.home-route .home-module-head h2,.home-route .home-structure .compass-head h2{font-size:24px;line-height:1.35}
.home-route .home-turnover-result strong,.home-route .home-profit-result strong{font-size:44px}
.home-route .home-turnover-result{display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin:18px 0 14px}
.home-route #homeTargetResult{font-size:17px;line-height:1.6;color:#168259}
.home-route #homeTargetResult[data-status="slow_turnover"]{color:#a45c21}
.home-route .home-turnover-result p{margin:0;font-size:14px}
.home-route .daily-stepper-row,.home-route .home-target-row{margin-top:12px}
.home-route .home-calculation-basis{margin-top:14px;color:#6b756f;font-size:13px}
.home-route .home-calculation-basis summary{cursor:pointer;list-style:none;padding:5px 0}
.home-route .home-calculation-basis summary::-webkit-details-marker{display:none}
.home-route .home-calculation-basis summary span{display:inline-block;margin-left:3px}
.home-route .home-calculation-basis[open] summary span{transform:rotate(90deg)}
.home-route .home-calculation-basis .home-loss-note{margin:8px 0 0;line-height:1.6}
.home-route .home-profit-result{display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.home-route .home-profit-result span{font-size:16px;line-height:1.6;font-weight:600}
.home-route .home-finance-relation{display:flex;flex-wrap:nowrap;gap:8px;margin-top:12px;color:#7d8781;font-size:15px;font-weight:400;line-height:1.6;white-space:nowrap}
.home-route .home-finance-relation b{color:#556159;font-weight:650}
.home-route .home-profit-judgment{margin-top:12px;padding:0;border:0;background:none}
.home-route .home-profit-judgment a{color:#69796f;font-size:14px}
.home-route .home-profit-judgment a[hidden]{display:none}
.home-route .home-profit-judgment p{margin:6px 0 0;color:#859088;font-size:13px;line-height:1.6}
.home-route .home-structure-judgment{padding:0;margin:16px 0;background:none;border:0;border-radius:0}
.home-route .home-structure-explanation{margin:14px 0 0;color:#6b756f;font-size:15px;line-height:1.6}

/* v51: clarify the current pace, desired turnover target, and daily-cup gap. */
.home-route .home-turnover-result{align-items:flex-start}
.home-route .home-turnover-result .home-cycle-basis{color:#536159;font-size:14px;font-weight:600}
.home-route .home-turnover-result .home-sellable{margin-top:-3px;color:#89938d;font-size:13px;font-weight:500}
.home-route .home-turnover .daily-stepper-row{display:grid;justify-content:stretch;gap:10px;margin-top:18px;padding-top:17px}
.home-route .home-turnover .daily-stepper-row>span{color:#344139;font-size:14px;font-weight:700;white-space:normal}
.home-route .home-turnover .daily-stepper{justify-self:start}
.home-route .home-turnover .daily-stepper label{min-width:76px}
.home-route .home-turnover .daily-stepper input{width:44px;font-size:17px;font-weight:800}
.home-route .home-turnover .daily-stepper em{color:#758078;font-size:12px;font-weight:600}
.home-route .home-target-row{gap:12px;margin-top:18px;padding-top:17px;border-top:1px solid #e2ebe5}
.home-route .home-target-heading{display:flex;align-items:baseline;justify-content:space-between;gap:14px}
.home-route .home-target-heading>span{color:#344139;font-size:14px;font-weight:700}
.home-route .home-target-heading output{color:#6f7a73;font-size:13px;font-weight:600;white-space:nowrap}
.home-route .home-target-heading output b{color:#168259;font-size:17px;font-weight:800;font-variant-numeric:tabular-nums}
.home-route .home-target-slider{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;color:#8a948e;font-size:11px;font-weight:600}
.home-route .home-target-slider input{--target-progress:32.2%;width:100%;height:32px;margin:0;padding:0;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;appearance:none;touch-action:pan-x}
.home-route .home-target-slider input::-webkit-slider-runnable-track{height:4px;border-radius:999px;background:linear-gradient(to right,#168259 0 var(--target-progress),#dce8e1 var(--target-progress) 100%)}
.home-route .home-target-slider input::-webkit-slider-thumb{width:18px;height:18px;margin-top:-7px;border:3px solid #fff;border-radius:50%;background:#168259;box-shadow:0 1px 5px rgba(20,92,60,.28);-webkit-appearance:none;appearance:none}
.home-route .home-target-slider input::-moz-range-track{height:4px;border:0;border-radius:999px;background:#dce8e1}
.home-route .home-target-slider input::-moz-range-progress{height:4px;border-radius:999px;background:#168259}
.home-route .home-target-slider input::-moz-range-thumb{width:12px;height:12px;border:3px solid #fff;border-radius:50%;background:#168259;box-shadow:0 1px 5px rgba(20,92,60,.28)}
.home-route .home-target-slider input:focus-visible{outline:3px solid rgba(22,130,89,.16);outline-offset:2px;border-radius:999px}
.home-route .home-target-result{display:block;margin:0;padding:13px 14px;border:0;border-radius:12px;background:#edf7f1;color:#344b3e}
.home-route .home-target-result p{margin:0;font-size:14px;font-weight:600;line-height:1.55}
.home-route .home-target-result small{display:block;margin-top:4px;color:#66756c;font-size:13px;line-height:1.5}
.home-route .home-target-result b{color:#167a56;font-size:inherit;font-weight:800}
.home-route .home-target-result[data-relation="unknown"]{background:#f3f6f4;color:#6f7a73}
.home-route .home-insights .home-module-head h2{font-size:16px;color:#69796f;font-weight:500}
.home-route .home-insights-summary{margin:12px 0 0;font-size:23px;line-height:1.4;font-weight:700}
.home-route .home-status-list{display:flex;flex-wrap:wrap;gap:8px 14px;margin:14px 0}
.home-route .home-status{display:flex;gap:5px}
.home-route .home-status>span{display:inline;width:auto;height:auto;border-radius:0;background:none!important;font-size:14px}
.home-route .home-status b{font-size:13px;font-weight:500;color:#6b756f}
.home-route .home-insights-next{font-size:15px}
.home-route .home-growth-context{margin:10px 0 8px;color:#6b756f;font-size:15px;line-height:1.6}
.home-route .home-weekly-actions{margin-top:16px}
.home-route .home-weekly-actions article{display:grid;grid-template-columns:26px minmax(0,1fr);gap:10px;padding:14px 0;border-bottom:1px solid #edf0ed}
.home-route .home-weekly-actions article>span{display:block;width:auto;height:auto;background:none;border-radius:0;color:#168259;font-size:14px;line-height:1.6}
.home-route .home-weekly-actions article b{color:#243b2d;font-size:16px}
.home-route .home-weekly-actions article p{margin:5px 0 0;color:#6b756f;font-size:15px;line-height:1.6}
.home-route .home-growth-list article{background:none;border:0;border-radius:0;border-top:1px solid #edf0ed;padding:14px 0}
.home-route .home-growth-list p{font-size:15px}
.home-route .home-selling-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin-top:18px}
.home-route .home-selling-footer>span{color:#89948d;font-size:13px}
.home-route .home-plan-link{display:inline-block;margin:0;padding:8px 0;border:0;color:#168259;font-size:15px}
.weekly-plan-sections{display:flex;flex-direction:column;gap:0}
.weekly-plan-sections>section{padding:20px 4px;border-bottom:1px solid #dde5de}
.weekly-plan-sections h2{font-size:19px}
.weekly-plan-sections .weekly-goal{padding:18px;background:#fff;border-radius:12px;border:0}
.weekly-featured p{display:grid;grid-template-columns:25px minmax(0,1fr);gap:2px 8px;padding-top:10px}
.weekly-featured em{grid-row:span 2;color:#168259;font-size:13px;font-style:normal}
.weekly-featured b{color:#2c4233;font-weight:600}
.weekly-featured small{font-size:13px}
.weekly-tag{display:inline-block;margin-right:8px;padding:1px 6px;background:#e6eee7;color:#567260;font-size:13px}
.weekly-platforms{padding:4px 18px;background:#fff;border-radius:12px;margin-top:16px}
.weekly-platforms section{padding:18px 0;border-bottom:1px solid #edf0ed}
.weekly-platforms section:last-child{border:0}
.weekly-platforms h2{font-size:15px;color:#168259}
.weekly-platforms dl{display:grid;grid-template-columns:62px minmax(0,1fr);gap:8px 12px;margin:14px 0 0;font-size:15px;line-height:1.6}
.weekly-platforms dt{color:#89948d;font-size:13px}
.weekly-platforms dd{margin:0;color:#344a3c}
.weekly-plan-sections .weekly-notice{border:0}
.weekly-notice h2{font-size:15px;color:#6b756f}
@media(max-width:360px){.home-route .home-turnover .home-module-head{gap:8px}.home-route .home-turnover .home-module-head h2{font-size:22px}.home-route .home-serving-picker{font-size:0;gap:0}.home-route .home-serving-picker select{width:80px;min-width:0;max-width:80px;font-size:13px}}

/* v43: the four-stage path becomes a lightweight sticky progress navigation. */
.home-route .home-operating-path-sentinel{display:block;height:1px;margin-top:15px;pointer-events:none}
.home-route .home-operating-path{
  position:-webkit-sticky;
  position:sticky;
  z-index:35;
  top:env(safe-area-inset-top,0px);
  min-height:44px;
  margin:0 0 16px;
  padding:0;
  isolation:isolate;
}
.home-route .home-operating-path button{
  position:relative;
  display:flex;
  flex:1 1 0;
  align-items:center;
  justify-content:center;
  min-width:0;
  min-height:40px;
  padding:2px 4px;
  color:#69736d;
  font-weight:500;
}
.home-route .home-operating-path button.active{color:#168259;font-weight:600}
.home-route .home-operating-path button::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:1px;
  width:18px;
  height:2px;
  border-radius:2px;
  background:#168259;
  opacity:0;
  transform:translateX(-50%);
}
.home-route .home-operating-path button.active::after{opacity:1}
.home-route .home-operating-path.is-stuck{height:44px}
.home-route .home-operating-path.is-stuck::before{
  content:"";
  position:absolute;
  z-index:-1;
  top:calc(-1 * env(safe-area-inset-top,0px));
  left:50%;
  width:100vw;
  height:calc(100% + env(safe-area-inset-top,0px));
  border-bottom:1px solid rgba(218,225,220,.88);
  background:rgba(255,255,255,.96);
  box-shadow:0 3px 10px rgba(20,48,31,.045);
  transform:translateX(-50%);
  -webkit-backdrop-filter:blur(12px);
  backdrop-filter:blur(12px);
}
.home-route .home-operating-path.is-stuck>i{display:none}
.home-route .home-stage{scroll-margin-top:calc(56px + env(safe-area-inset-top,0px))}
@media(max-width:430px){
  .home-route .home-operating-path{gap:0}
  .home-route .home-operating-path button{min-height:40px;padding-left:1px;padding-right:1px;font-size:12px}
  .home-route .home-operating-path>i{flex:0 0 8px;text-align:center;font-size:9px}
}

/* Shared home/list workflow brand header. */
:is(.home-route,.list-brand-route) .topbar{height:58px;padding:8px 16px}
:is(.home-route,.list-brand-route) .brand{gap:8px}
:is(.home-route,.list-brand-route) .brand-mark{width:28px;height:28px;border-radius:999px;background:#167a56;font-size:13px;box-shadow:none}
:is(.home-route,.list-brand-route) .brand b{font-size:15px}
:is(.home-route,.list-brand-route) .brand small{font-size:10px}
:is(.home-route,.list-brand-route) .icon-link{display:none}
@media(max-width:430px){.home-route .home-module-head h2,.home-route .home-structure .compass-head h2{font-size:23px}.home-route .home-turnover-result strong,.home-route .home-profit-result strong{font-size:42px}.home-route .home-insights .home-module-head h2{font-size:16px}.home-route .home-growth-list{grid-template-columns:1fr}}

/* v55: CURRENT venue entry and activation flow. */
.current-entry-card{display:grid;grid-template-columns:48px minmax(0,1fr) auto 12px;align-items:center;gap:12px;margin-top:16px;padding:16px;color:#f8fafc!important;background:linear-gradient(135deg,#151927 0%,#263b6d 100%)!important;border:0!important;overflow:hidden;text-decoration:none;box-shadow:0 12px 28px rgba(23,35,65,.16)!important}
.current-entry-card>span:nth-child(2){display:grid;gap:3px;min-width:0}
.current-entry-card em{color:#a9f45b;font-size:10px;font-style:normal;font-weight:800;letter-spacing:.12em}
.current-entry-card b{font-size:16px;line-height:1.25}
.current-entry-card small{color:rgba(248,250,252,.7);font-size:12px;line-height:1.45}
.current-entry-card>strong{align-self:start;padding:4px 8px;border:1px solid rgba(255,255,255,.24);border-radius:999px;color:#eefbdf;font-size:10px;white-space:nowrap}
.current-entry-card>i{font-style:normal;color:#a9f45b;font-size:22px}
.current-entry-mark{display:grid;place-items:center;width:48px;height:48px;border-radius:16px;background:#a9f45b;color:#111827;font-size:24px;font-weight:900;box-shadow:inset 0 0 0 1px rgba(255,255,255,.45)}
.current-entry-card.tone-live .current-entry-mark,.current-entry-card.tone-ready .current-entry-mark{background:#67e8f9}
.current-entry-card.tone-rejected .current-entry-mark,.current-entry-card.tone-suspended .current-entry-mark{background:#fda4af}
.current-entry-card.is-loading,.current-entry-card.tone-loading{opacity:.82}

.current-venue-route{background:#f1f3ef}
.current-venue-route .app{width:min(100%,860px);padding:14px 16px 112px}
.current-venue-page{display:grid;gap:16px}
.current-venue-page>.back-link{justify-self:start;padding:7px 2px;color:#52615a;font-size:13px;text-decoration:none}
.current-venue-hero{position:relative;min-height:260px;padding:30px 26px;border-radius:28px;overflow:hidden;color:#fff;background:radial-gradient(circle at 86% 14%,rgba(169,244,91,.24),transparent 32%),linear-gradient(145deg,#111827,#273c70);box-shadow:0 18px 42px rgba(24,35,65,.2)}
.current-venue-hero:after{content:"";position:absolute;right:-52px;bottom:-74px;width:210px;height:210px;border:34px solid rgba(169,244,91,.16);border-radius:50%}
.current-venue-hero>p{position:relative;z-index:1;margin:0 0 52px;color:#a9f45b;font-size:11px;font-weight:900;letter-spacing:.18em}
.current-venue-hero h1{position:relative;z-index:1;max-width:620px;margin:0;font-size:clamp(34px,7vw,54px);line-height:1.03;letter-spacing:-.05em}
.current-venue-hero>span{position:relative;z-index:1;display:block;max-width:480px;margin-top:18px;color:rgba(255,255,255,.7);font-size:14px;line-height:1.7}
.current-venue-hero>i{position:absolute;right:-8px;top:12px;color:rgba(255,255,255,.045);font-size:80px;font-style:normal;font-weight:900;letter-spacing:-.08em;transform:rotate(-6deg)}
.current-venue-hero.tone-live{background:radial-gradient(circle at 86% 14%,rgba(103,232,249,.28),transparent 32%),linear-gradient(145deg,#10212a,#14596a)}
.current-steps{display:grid;grid-template-columns:auto 1fr auto 1fr auto;align-items:center;gap:9px;padding:4px 8px;color:#94a099;font-size:11px}
.current-steps>span{display:flex;align-items:center;gap:6px;white-space:nowrap}
.current-steps b{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#e2e7e2;color:#77827b;font-size:10px}
.current-steps>span.done{color:#263a31;font-weight:700}
.current-steps>span.done b{background:#a9f45b;color:#172019}
.current-steps>i{height:1px;background:#d7ddd8}
.current-status-banner{display:grid;grid-template-columns:auto minmax(0,1fr);gap:14px;padding:16px 18px;border:1px solid #dce3dd;border-radius:18px;background:#fbfcfa}
.current-status-banner>span{align-self:start;padding:5px 9px;border-radius:999px;background:#e8ede9;color:#536159;font-size:10px;font-weight:800}
.current-status-banner b{font-size:15px}
.current-status-banner p{margin:4px 0 0;color:#77847c;font-size:12px;line-height:1.55}
.current-status-banner.tone-live>span,.current-status-banner.tone-ready>span{background:#d8f8fb;color:#126271}
.current-status-banner.tone-pending>span{background:#fff0c7;color:#8b5a00}
.current-status-banner.tone-rejected>span,.current-status-banner.tone-suspended>span{background:#ffe0e5;color:#a12e43}
.current-venue-form,.current-publish-panel,.current-menu-panel,.current-login-gate,.current-page-loading,.current-page-error{border-color:#dfe5df!important;box-shadow:0 10px 28px rgba(34,53,42,.055)!important}
.current-venue-form{padding:22px}
.current-form-head,.current-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:20px}
.current-form-head span,.current-panel-head span,.current-publish-panel>div>span{color:#416553;font-size:10px;font-weight:900;letter-spacing:.12em}
.current-form-head h2,.current-panel-head h2,.current-publish-panel h2{margin:5px 0 0;color:#17231d;font-size:21px;line-height:1.25}
.current-form-head>small{max-width:180px;color:#8b968f;font-size:11px;text-align:right;line-height:1.5}
.current-form-grid textarea{box-sizing:border-box;width:100%;resize:vertical;min-height:86px;padding:12px;border:1px solid #dce2dd;border-radius:12px;background:#fff;color:#243129;font:inherit;line-height:1.55;outline:0}
.current-form-grid textarea:focus{border-color:#3b8a67;box-shadow:0 0 0 3px rgba(59,138,103,.1)}
.current-location-box{display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:11px;margin-top:16px;padding:13px;border:1px dashed #cfd8d1;border-radius:16px;background:#f7f9f6}
.current-location-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:13px;background:#e5ebe6;color:#64756b}
.current-location-box.has-location{border-style:solid;border-color:#c6e4d5;background:#f4fbf7}
.current-location-box.has-location .current-location-icon{background:#d8f2e4;color:#187b53}
.current-location-box>div{display:grid;gap:3px;min-width:0}
.current-location-box b{font-size:13px}
.current-location-box small{overflow:hidden;color:#7e8b83;font-size:11px;text-overflow:ellipsis;white-space:nowrap}
.current-location-box .btn{min-height:36px;padding:7px 10px;font-size:11px}
.current-price-setting{display:flex;align-items:flex-start;gap:11px;margin-top:14px;padding:14px;border-radius:15px;background:#f6f8f5;cursor:pointer}
.current-price-setting input{width:18px;height:18px;margin:1px 0 0;accent-color:#227a58}
.current-price-setting span{display:grid;gap:4px}
.current-price-setting b{font-size:13px}
.current-price-setting small{color:#7b887f;font-size:11px;line-height:1.5}
.current-review-warning{margin:12px 0 0;color:#9a6710;font-size:11px;line-height:1.5}
.current-form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px;padding-top:18px;border-top:1px solid #edf0ed}
.current-publish-panel{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 22px}
.current-publish-panel p{max-width:520px;margin:7px 0 0;color:#738078;font-size:12px;line-height:1.55}
.current-menu-panel{padding:22px}
.current-panel-head .btn{flex:0 0 auto}
.current-menu-list{border-top:1px solid #e9ede9}
.current-menu-row{display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid #edf0ed}
.current-menu-row.is-hidden{opacity:.58}
.current-menu-index{color:#a7b0aa;font-size:11px;font-variant-numeric:tabular-nums}
.current-menu-row>div{display:grid;gap:3px;min-width:0}
.current-menu-row b{overflow:hidden;font-size:14px;text-overflow:ellipsis;white-space:nowrap}
.current-menu-row small{overflow:hidden;color:#7c8981;font-size:11px;text-overflow:ellipsis;white-space:nowrap}
.current-menu-row em{justify-self:start;margin-top:3px;padding:3px 6px;border-radius:5px;background:#f0f2ef;color:#7a857e;font-size:9px;font-style:normal}
.current-menu-row em.matched{background:#dff5e8;color:#24704f}
.current-menu-row>button{min-width:52px;padding:7px;border:1px solid #d8dfda;border-radius:10px;background:#fff;color:#315b46;font:inherit;font-size:11px;cursor:pointer}
.current-menu-empty{padding:26px 12px;text-align:center;background:#f7f9f6;border-radius:16px}
.current-menu-empty p,.current-menu-privacy{margin:6px 0 0;color:#849088;font-size:11px;line-height:1.55}
.current-menu-privacy{margin-top:14px}
.current-login-gate,.current-page-loading,.current-page-error{padding:28px;text-align:center}
.current-login-gate .current-entry-mark{margin:0 auto 14px}
.current-login-gate h2,.current-page-error h2{margin:0;font-size:21px}
.current-login-gate p,.current-page-error p{max-width:440px;margin:8px auto 18px;color:#76827a;font-size:13px;line-height:1.65}
.current-login-gate>div{display:flex;justify-content:center;gap:10px}
.current-page-loading{color:#758078;font-size:13px}

@media(max-width:560px){
  .current-entry-card{grid-template-columns:44px minmax(0,1fr) 10px;gap:10px;padding:14px}
  .current-entry-mark{width:44px;height:44px;border-radius:14px;font-size:21px}
  .current-entry-card>strong{display:none}
  .current-venue-route .app{padding-left:12px;padding-right:12px}
  .current-venue-hero{min-height:236px;padding:24px 20px;border-radius:24px}
  .current-venue-hero>p{margin-bottom:44px}
  .current-venue-hero h1{font-size:37px}
  .current-steps{gap:5px;padding-left:1px;padding-right:1px}
  .current-steps>span{display:grid;justify-items:center;gap:4px;font-size:9px}
  .current-venue-form,.current-menu-panel{padding:18px 15px}
  .current-form-head{display:block}
  .current-form-head>small{display:block;max-width:none;margin-top:8px;text-align:left}
  .current-location-box{grid-template-columns:38px minmax(0,1fr)}
  .current-location-box .btn{grid-column:1/-1;width:100%}
  .current-form-actions,.current-publish-panel{display:grid}
  .current-form-actions .btn,.current-form-actions a,.current-publish-panel .btn{width:100%}
  .current-panel-head{display:grid}
  .current-panel-head .btn{width:100%}
  .current-menu-row{grid-template-columns:24px minmax(0,1fr) auto;gap:8px}
  .current-login-gate>div{display:grid}
}

/* v56: CURRENT 正式 Logo 与面向酒馆用户的品牌介绍。既有接入和经营逻辑不变。 */
.current-entry-logo{display:block;width:48px;height:48px;border-radius:16px;object-fit:cover;box-shadow:0 0 0 1px rgba(255,255,255,.34),0 8px 18px rgba(4,8,28,.3)}
.current-about-card{padding:24px!important;border-color:#dfe5df!important;box-shadow:0 10px 28px rgba(34,53,42,.055)!important;overflow:hidden}
.current-about-brand{display:grid;grid-template-columns:88px minmax(0,1fr);align-items:center;gap:20px;padding-bottom:22px;border-bottom:1px solid #e8ece8}
.current-about-brand img{display:block;width:88px;height:88px;border-radius:22px;object-fit:cover;box-shadow:0 12px 26px rgba(30,24,92,.2)}
.current-about-brand span{color:#6650e8;font-size:10px;font-weight:900;letter-spacing:.16em}
.current-about-brand h2{margin:7px 0 0;color:#17231d;font-size:clamp(23px,4vw,31px);line-height:1.2;letter-spacing:-.035em}
.current-about-lead{margin:22px 0 0;color:#17231d;font-size:17px;font-weight:800;line-height:1.55}
.current-about-points{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:18px}
.current-about-points p{display:grid;align-content:start;gap:12px;min-height:118px;margin:0;padding:15px;border-radius:16px;background:#f4f5f2}
.current-about-points b{color:#725cff;font-size:10px;letter-spacing:.1em}
.current-about-points span{color:#39463f;font-size:12px;line-height:1.65}
.current-about-note{margin:20px 0 0;color:#707d75;font-size:13px;line-height:1.7}
.current-about-last{margin:5px 0 0;color:#39463f;font-size:13px;font-weight:700;line-height:1.7}
.current-about-actions{display:flex;align-items:center;gap:18px;margin-top:20px}
.current-about-actions .current-visit-button{display:flex;align-items:center;justify-content:space-between;gap:26px;min-width:250px;border-color:#563df1;background:#563df1;color:#fff;text-decoration:none;box-shadow:0 9px 22px rgba(86,61,241,.2)}
.current-about-actions .current-visit-button:hover{border-color:#4630d6;background:#4630d6}
.current-visit-button span{font-size:16px}
.current-about-actions small{color:#8a958e;font-size:10px;font-weight:700;letter-spacing:.08em}
.current-gate-logo{display:block;width:76px;height:76px;margin:0 auto 16px;border-radius:20px;object-fit:cover;box-shadow:0 10px 24px rgba(30,24,92,.2)}
@media(max-width:560px){
  .current-entry-logo{width:44px;height:44px;border-radius:14px}
  .current-about-card{padding:19px 17px!important}
  .current-about-brand{grid-template-columns:72px minmax(0,1fr);gap:15px;padding-bottom:18px}
  .current-about-brand img{width:72px;height:72px;border-radius:18px}
  .current-about-brand h2{font-size:22px}
  .current-about-lead{font-size:15px}
  .current-about-points{grid-template-columns:1fr;gap:8px}
  .current-about-points p{grid-template-columns:28px minmax(0,1fr);gap:8px;min-height:0;padding:13px 14px}
  .current-about-points span{font-size:12px;line-height:1.55}
  .current-about-actions{display:grid;gap:11px}
  .current-about-actions .current-visit-button{width:100%;min-width:0}
  .current-about-actions small{text-align:center}
  .current-gate-logo{width:70px;height:70px;border-radius:18px}
}
