/* All rules are scoped to the JapanMelody public price shortcode. */
.jmpv{--jm-bg:#fff9fb;--jm-card:#fff;--jm-ink:#322d3b;--jm-muted:#7d7181;--jm-accent:#c25587;--jm-accent-strong:#a3376c;--jm-soft:#fae8ef;--jm-line:#eadde4;--jm-wash:#f8eef3;--jm-shadow:0 16px 38px rgba(95,51,70,.07);font-family:system-ui,-apple-system,"Microsoft JhengHei","Noto Sans TC",sans-serif;color:var(--jm-ink);background:var(--jm-bg);border:1px solid var(--jm-line);border-radius:26px;overflow:hidden;line-height:1.65;box-sizing:border-box;max-width:1150px;margin:20px auto 36px;isolation:isolate}
.jmpv *{box-sizing:border-box}.jmpv button,.jmpv input,.jmpv select{font:inherit}.jmpv [hidden]{display:none!important}.jmpv a{color:inherit;text-decoration:none!important}.jmpv h2,.jmpv h3,.jmpv h4,.jmpv p{margin:0}.jmpv--lilac{--jm-bg:#faf8ff;--jm-card:#fff;--jm-ink:#342d47;--jm-muted:#786c8e;--jm-accent:#8566bc;--jm-accent-strong:#6845a0;--jm-soft:#eee7fb;--jm-line:#e8def6;--jm-wash:#f5effd}
.jmpv--matcha{--jm-bg:#f7faf6;--jm-card:#fff;--jm-ink:#283e35;--jm-muted:#708176;--jm-accent:#508c70;--jm-accent-strong:#347055;--jm-soft:#e7f2e8;--jm-line:#d8e9dd;--jm-wash:#eef7f0}
.jmpv--champagne{--jm-bg:#fffcf7;--jm-card:#fff;--jm-ink:#42352c;--jm-muted:#897767;--jm-accent:#b88b53;--jm-accent-strong:#906432;--jm-soft:#f8eddd;--jm-line:#eadfcb;--jm-wash:#faf2e5}
.jmpv--sky{--jm-bg:#f7fbff;--jm-card:#fff;--jm-ink:#263d52;--jm-muted:#708495;--jm-accent:#498dbd;--jm-accent-strong:#2d6c9a;--jm-soft:#e7f2fc;--jm-line:#d9e9f5;--jm-wash:#f0f8ff}
.jmpv--midnight{--jm-bg:#131827;--jm-card:#20263a;--jm-ink:#f6f0ff;--jm-muted:#bac0d2;--jm-accent:#bc8dff;--jm-accent-strong:#9d6ce7;--jm-soft:#3c3158;--jm-line:#39415b;--jm-wash:#1c2235;--jm-shadow:0 14px 38px rgba(0,0,0,.22)}
.jmpv .jmpv-hero{background:radial-gradient(circle at 92% 2%,var(--jm-soft) 0,transparent 43%),linear-gradient(135deg,var(--jm-wash),var(--jm-bg));padding:42px 46px 39px;border-bottom:1px solid var(--jm-line);position:relative}
.jmpv .jmpv-hero__top{display:flex;justify-content:space-between;align-items:center}.jmpv .jmpv-kicker{font-size:12px;letter-spacing:.16em;font-weight:800;color:var(--jm-accent-strong)}
.jmpv .jmpv-hero__sparkle{font-size:55px;color:var(--jm-accent);opacity:.37;line-height:1}.jmpv .jmpv-hero h2{font-size:38px;line-height:1.25;color:var(--jm-ink);font-weight:800;letter-spacing:.025em;margin:12px 0!important}.jmpv .jmpv-hero p{font-size:16px;color:var(--jm-muted);margin:0!important}.jmpv .jmpv-hero__chips{display:flex;gap:9px;flex-wrap:wrap;margin-top:22px}.jmpv .jmpv-hero__chips span{font-size:12px;color:var(--jm-accent-strong);border:1px solid var(--jm-line);border-radius:20px;background:var(--jm-card);padding:5px 11px}
.jmpv .jmpv-section-head{margin:36px 40px 17px;display:flex;align-items:end;justify-content:space-between;gap:20px}.jmpv .jmpv-section-head--table{margin-top:45px}.jmpv .jmpv-eyebrow{font-size:11px;font-weight:800;letter-spacing:.15em;color:var(--jm-accent-strong)}.jmpv .jmpv-section-head h3{font-size:25px;line-height:1.3;color:var(--jm-ink);font-weight:800;margin:5px 0 7px!important}.jmpv .jmpv-section-head p{font-size:13px;color:var(--jm-muted)}.jmpv .jmpv-version{white-space:nowrap;display:inline-block;font-size:12px;font-weight:700;border:1px solid var(--jm-line);border-radius:99px;padding:7px 12px;color:var(--jm-muted);background:var(--jm-card)}
.jmpv .jmpv-calculator{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,1fr);gap:18px;padding:0 40px}.jmpv .jmpv-form{background:var(--jm-card);padding:25px;border:1px solid var(--jm-line);border-radius:20px;box-shadow:var(--jm-shadow);display:grid;grid-template-columns:1fr 1fr;gap:17px 16px;margin:0!important}.jmpv .jmpv-field{min-width:0}.jmpv .jmpv-field--wide{grid-column:1/-1}.jmpv .jmpv-field label{display:block;font-size:13px;font-weight:750;color:var(--jm-ink);margin-bottom:7px}.jmpv .jmpv-field input,.jmpv .jmpv-field select{display:block;width:100%;height:45px;border:1px solid var(--jm-line);background:var(--jm-bg);border-radius:10px;color:var(--jm-ink);padding:8px 11px;outline:none;min-width:0;box-shadow:none}.jmpv .jmpv-field input:focus,.jmpv .jmpv-field select:focus{border-color:var(--jm-accent);box-shadow:0 0 0 3px var(--jm-soft)}.jmpv .jmpv-field input:disabled,.jmpv .jmpv-field select:disabled{opacity:.65}.jmpv .jmpv-field small{font-size:11px;display:block;color:var(--jm-muted);margin-top:7px}.jmpv .jmpv-form__footer{grid-column:1/-1;display:flex;align-items:center;gap:13px;margin-top:2px}.jmpv .jmpv-form__footer p{font-size:11px;color:var(--jm-muted)}.jmpv .jmpv-primary{border:0;display:inline-flex;align-items:center;justify-content:center;gap:20px;background:var(--jm-accent);color:white!important;padding:12px 23px;border-radius:12px;font-weight:800;font-size:14px;min-height:45px;cursor:pointer;box-shadow:0 8px 17px rgba(0,0,0,.08);transition:transform .15s,filter .15s}.jmpv .jmpv-primary:hover,.jmpv .jmpv-primary:focus{filter:brightness(.94);transform:translateY(-1px)}
.jmpv .jmpv-result{border-radius:20px;background:linear-gradient(145deg,var(--jm-soft),var(--jm-card));border:1px solid var(--jm-line);padding:26px 24px;min-width:0;min-height:350px;display:flex;flex-direction:column;justify-content:center;gap:10px}.jmpv .jmpv-result__pre{font-size:11px;letter-spacing:.14em;color:var(--jm-accent-strong);font-weight:800}.jmpv .jmpv-result__placeholder{font-size:16px;color:var(--jm-muted);margin-top:8px}.jmpv .jmpv-result__caption{font-size:12px;color:var(--jm-muted)}.jmpv .jmpv-result__price{font-size:36px;line-height:1.2;font-weight:850;color:var(--jm-accent-strong);letter-spacing:-.02em}.jmpv .jmpv-result__sub{font-size:12px;color:var(--jm-muted)}.jmpv .jmpv-result__lines{margin-top:11px;border-top:1px solid var(--jm-line)}.jmpv .jmpv-result__line,.jmpv .jmpv-result__surcharge{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid var(--jm-line);font-size:12px}.jmpv .jmpv-result__line small{display:block;font-size:11px;color:var(--jm-muted)}.jmpv .jmpv-result__line b,.jmpv .jmpv-result__surcharge b{white-space:nowrap;color:var(--jm-ink);font-size:13px}.jmpv .jmpv-result__surcharge{margin-top:4px;color:var(--jm-accent-strong);font-weight:750}.jmpv .jmpv-result__fine{font-size:11px;color:var(--jm-muted);margin:8px 0 0!important}.jmpv .jmpv-result__warning{color:#b14f4f;font-size:17px;font-weight:750}.jmpv--midnight .jmpv-result__warning{color:#ffc5bb}
.jmpv .jmpv-tables{margin:0 40px;background:var(--jm-card);border:1px solid var(--jm-line);border-radius:20px;overflow:hidden;box-shadow:var(--jm-shadow)}.jmpv .jmpv-tabbar{display:flex;gap:0;border-bottom:1px solid var(--jm-line);background:var(--jm-wash)}.jmpv .jmpv-tabbar button{background:transparent;border:0;border-bottom:3px solid transparent;color:var(--jm-muted);cursor:pointer;font-size:14px;font-weight:750;padding:16px 24px}.jmpv .jmpv-tabbar button.is-active{color:var(--jm-accent-strong);border-bottom-color:var(--jm-accent);background:var(--jm-card)}.jmpv .jmpv-panel-intro{display:flex;align-items:baseline;justify-content:space-between;gap:15px;padding:21px 24px 7px}.jmpv .jmpv-panel-intro h4{font-size:18px;font-weight:750;color:var(--jm-ink)}.jmpv .jmpv-panel-intro span{font-size:12px;color:var(--jm-muted)}.jmpv .jmpv-table-filter{padding:6px 24px 14px}.jmpv .jmpv-table-filter label{display:flex;align-items:center;gap:13px;color:var(--jm-muted);font-size:12px}.jmpv .jmpv-table-filter select{border:1px solid var(--jm-line);background:var(--jm-bg);color:var(--jm-ink);border-radius:8px;padding:9px 12px;max-width:260px}.jmpv .jmpv-table-scroll{max-width:100%;overflow-x:auto}.jmpv .jmpv-table{border-collapse:separate;border-spacing:0;width:100%;font-size:13px;text-align:center;color:var(--jm-ink);margin:0!important;background:transparent}.jmpv .jmpv-table th,.jmpv .jmpv-table td{padding:11px 15px;border-bottom:1px solid var(--jm-line);border-left:0;border-right:0;background:transparent;vertical-align:middle}.jmpv .jmpv-table thead th{font-size:13px;font-weight:800;background:var(--jm-soft);color:var(--jm-accent-strong);white-space:nowrap}.jmpv .jmpv-table tbody th{font-weight:750;white-space:nowrap;color:var(--jm-ink);background:var(--jm-wash)}.jmpv .jmpv-table tbody td{font-variant-numeric:tabular-nums;font-weight:650}.jmpv .jmpv-table tbody tr:hover{background:var(--jm-wash)}.jmpv .jmpv-table--ft td strong{font-weight:850;display:block;color:var(--jm-accent-strong);white-space:nowrap}.jmpv .jmpv-table--ft td small{font-size:11px;color:var(--jm-muted);display:block;white-space:nowrap;font-weight:400}.jmpv .jmpv-footnote{padding:15px 24px 19px;font-size:12px;color:var(--jm-muted);line-height:1.8}
.jmpv .jmpv-notes-grid{padding:0 40px;display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.jmpv .jmpv-note{padding:20px;border:1px solid var(--jm-line);border-radius:16px;background:var(--jm-card)}.jmpv .jmpv-note span{font-size:11px;color:var(--jm-accent-strong);font-weight:800}.jmpv .jmpv-note h4{font-size:15px;color:var(--jm-ink);font-weight:800;margin:7px 0!important}.jmpv .jmpv-note p{font-size:12px;color:var(--jm-muted);line-height:1.8}.jmpv .jmpv-end{display:flex;align-items:center;justify-content:space-between;gap:28px;margin:43px 40px 40px;border-radius:19px;padding:28px;background:var(--jm-soft);border:1px solid var(--jm-line)}.jmpv .jmpv-end h3{font-size:20px;line-height:1.4;margin:7px 0!important;color:var(--jm-ink);font-weight:800}.jmpv .jmpv-end p{font-size:12px;color:var(--jm-muted)}.jmpv .jmpv-cta{white-space:nowrap}.jmpv .jmpv-empty,.jmpv .jmpv-notice{padding:50px 34px;text-align:center;margin:25px 40px;border:1px dashed var(--jm-line);border-radius:18px;background:var(--jm-card);color:var(--jm-muted)}.jmpv .jmpv-empty h3{font-size:24px;color:var(--jm-ink)}.jmpv .jmpv-empty__icon{font-size:50px;color:var(--jm-accent)}
@media(max-width:960px){.jmpv .jmpv-calculator{grid-template-columns:1fr}.jmpv .jmpv-result{min-height:200px}.jmpv .jmpv-notes-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){.jmpv{border-radius:16px;margin:10px auto}.jmpv .jmpv-hero{padding:30px 22px}.jmpv .jmpv-hero h2{font-size:30px}.jmpv .jmpv-hero__sparkle{font-size:35px}.jmpv .jmpv-section-head{margin:28px 16px 14px;display:block}.jmpv.jmpv .jmpv-calculator{padding:0 15px}.jmpv .jmpv-form{padding:18px;grid-template-columns:1fr;gap:14px}.jmpv .jmpv-field--wide,.jmpv .jmpv-form__footer{grid-column:1}.jmpv .jmpv-form__footer{display:block}.jmpv .jmpv-form__footer button{width:100%}.jmpv .jmpv-form__footer p{text-align:center;margin-top:7px}.jmpv .jmpv-tables{margin:0 15px}.jmpv .jmpv-tabbar button{padding:13px 17px;font-size:13px}.jmpv .jmpv-panel-intro{display:block;padding:17px 15px 6px}.jmpv .jmpv-panel-intro span{font-size:11px}.jmpv .jmpv-table-filter{padding:8px 13px 12px}.jmpv .jmpv-table-filter label{display:block}.jmpv .jmpv-table-filter select{width:100%;max-width:none;margin-top:5px}.jmpv .jmpv-table{min-width:510px;font-size:12px}.jmpv .jmpv-table th,.jmpv .jmpv-table td{padding:9px 11px}.jmpv .jmpv-notes-grid{padding:0 15px;grid-template-columns:1fr;gap:10px}.jmpv .jmpv-note{padding:16px}.jmpv .jmpv-end{margin:27px 15px;padding:22px;display:block}.jmpv .jmpv-end .jmpv-cta{margin-top:17px;width:100%}.jmpv .jmpv-empty,.jmpv .jmpv-notice{margin:20px 14px;padding:28px 18px}}

.jmpv .jmpv-th-machines{display:block;font-size:10px;font-weight:500;line-height:1.4;white-space:normal;margin-top:4px;opacity:.85}.jmpv .jmpv-detail-map{margin:13px 24px;border:1px solid var(--jm-line);border-radius:10px;overflow:hidden}.jmpv .jmpv-detail-map summary{cursor:pointer;background:var(--jm-wash);font-size:12px;font-weight:700;padding:10px 15px;color:var(--jm-accent-strong)}.jmpv .jmpv-map-cell{font-size:11px;font-weight:500!important;line-height:1.7;min-width:160px}.jmpv .jmpv-detail-map .jmpv-table{font-size:11px}.jmpv .jmpv-detail-map .jmpv-table th{min-width:115px}

/* V1.2.0: minimum drink spend separated from the karaoke subtotal. */
.jmpv .jmpv-result__breakdown{border:1px solid var(--jm-line);border-radius:12px;background:var(--jm-wash);padding:8px 12px;margin:9px 0 1px}
.jmpv .jmpv-result__sum{display:flex;justify-content:space-between;gap:14px;padding:8px 1px;font-size:12px;color:var(--jm-ink)}
.jmpv .jmpv-result__sum + .jmpv-result__sum{border-top:1px solid var(--jm-line)}
.jmpv .jmpv-result__sum span small{display:block;color:var(--jm-muted);font-size:11px;margin-top:3px}
.jmpv .jmpv-result__sum b{white-space:nowrap;color:var(--jm-ink);font-size:13px;font-variant-numeric:tabular-nums}
.jmpv .jmpv-result__sum--total{font-weight:850;color:var(--jm-accent-strong)}
.jmpv .jmpv-result__sum--total b{color:var(--jm-accent-strong);font-size:15px}

/* Holiday calendar; original native date input remains the form's value. */
.jm-holiday-picker{position:relative;min-width:0;width:100%;font-family:inherit}
.jm-calendar-native{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;padding:0!important;margin:0!important;opacity:0!important;pointer-events:none!important}
.jm-holiday-picker button{font:inherit;min-width:0;box-sizing:border-box;cursor:pointer;line-height:1.3}
.jm-holiday-picker .jm-calendar-trigger{width:100%;min-height:45px;text-align:left;color:var(--jm-ink,#263342)!important;background:var(--jm-card,#fff)!important;border:1px solid var(--jm-line,#d4dee1)!important;border-radius:9px;padding:10px 12px;font-size:15px;font-weight:500}
.jm-holiday-picker .jm-calendar-panel{position:absolute;top:calc(100% + 4px);left:0;z-index:1000;display:block;width:min(310px,calc(100vw - 38px));padding:10px;border:1px solid #c9d4dd;border-radius:12px;box-shadow:0 8px 25px #18293630;background:#fff;color:#203344}
.jm-holiday-picker .jm-calendar-panel[hidden]{display:none!important}
.jm-calendar-bar{display:grid;grid-template-columns:32px 1fr 32px;align-items:center;gap:5px;text-align:center;margin-bottom:7px}
.jm-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center}
.jm-holiday-picker .jm-calendar-nav,.jm-holiday-picker .jm-calendar-day{border:1px solid transparent!important;background:#f2f5f8!important;color:#203344!important;border-radius:5px;padding:0!important;min-height:32px;font-size:14px;font-weight:500}
.jm-holiday-picker .jm-calendar-week{background:transparent;font-size:12px;font-weight:bold;padding:4px 0}
.jm-holiday-picker .jm-calendar-red{color:#b42332!important}
.jm-holiday-picker .jm-calendar-selected{background:#d3e9ed!important;border-color:#4d8290!important;font-weight:800}
.jm-holiday-picker .jm-calendar-today{box-shadow:inset 0 0 0 1px #1b8277}
.jm-holiday-picker button:disabled{opacity:.5;cursor:not-allowed}
.jm-holiday-picker button:focus-visible{outline:2px solid #286d91;outline-offset:1px}
.jm-calendar-legend{font-size:11px;color:#526476;margin-top:8px;text-align:center}
