/* 排隊怪獸：方案 A｜怪獸樂園全站視覺系統。功能／資料／LINE Auth 不變。 */
:root{
 --monster-ink:#462B52;--monster-purple:#B782D9;--monster-yellow:#FEC55A;
 --monster-pink:#FCA5C7;--monster-lilac:#EAD4F8;--monster-bg:#FCF7FF;
 --ink:#3C2B45;--muted:#785F84;--line:#E8D4F0;--bg:#FCF7FF;
 --primary:#693C8B;--pale:#F2E1FA;--booking-forest:#462B52;
 --booking-cream:#FFF8EA;--booking-mint:#F2E1FA;--booking-rose:#FFE6F0;
 --forest:#462B52;--forest-2:#33203D;--green:#75449A;--green-dark:#54306F;
 --mint:#F2E1FA;--paper:#FCF7FF;--cream:#FFF8EA;--rose:#FFE6F0;
 --shadow:0 12px 30px rgba(70,43,82,.09);
}
html{accent-color:#74449A}
body{color:#3C2B45;background:radial-gradient(circle at 93% 4%,#F0E0F9,transparent 38rem),radial-gradient(circle at 0 45%,#FEEAF3,transparent 33rem),#FCF7FF}
a{color:#734599}a:hover{color:#48295D}
:where(a,button,input,select,textarea,[role=button]):focus-visible{outline:3px solid #F5B948!important;outline-offset:3px}
:where(h1,h2,h3,.brand,.logo,.shop-name){color:#462B52}
:where(.muted,.small,.section-sub,.caption){color:#785F84}
:where(.card,.panel,.main-panel,.routecard,.merchant-card,.stat,.staff-record,.cross-ticket,.cross-record,.screen,.receipt-card){border-color:#E7D0F0;border-radius:22px;box-shadow:0 9px 27px rgba(70,43,82,.07)}
:where(input:not([type=checkbox]):not([type=radio]),select,textarea,.field,.search,.slot){background:#FFFCFF;border:1px solid #DEC7EB;color:#462B52;border-radius:13px}
:where(.btn,.btn-solid,.btn.primary,.action,.site-auth-button){border-radius:14px}
:where(.btn.primary,.btn-solid,.action.primary,.primary-btn){background:#693C8B;color:#fff;border:1px solid #693C8B;box-shadow:0 8px 18px rgba(105,60,139,.17)}
:where(.btn.primary,.btn-solid,.action.primary,.primary-btn):hover{background:#532F74;color:#fff}
:where(.btn.secondary,.btn-pale,.btn-outline,.btn.outline,.action.light,.action.outline-light){background:#F1DFF9;color:#462B52;border-color:#D9BEE8}
:where(.btn.secondary,.btn-pale,.btn-outline,.btn.outline):hover{background:#E9D2F6}
:where(.eyebrow,.pill,.public-note,.tag){background:#F0DDF9;color:#714394;border-color:#E0C6F0}
:where(.notice,.tag.ok){background:#E5F5EC;color:#286C49}
:where(.alert){background:#FFF2D4;color:#8A5B26}
:where(.rows th,thead th){background:#F0E3F8;color:#624576}
:where(.rows tr:hover td,tbody tr:hover td){background:#FCF5FF}
:where(.side-item.active,.cross-tabs button.active,.tabs a.active,.tabs button.active,.slot.active,.staff-choice input:checked+span){background:#E7D0F6!important;color:#542A77!important;border-color:#AC79CD!important}
:where(.side-item:hover,.header-links a:hover,.headlinks a:hover){background:#F2E5FA;color:#5C327D}
:where(.stat,.routecard,.merchant-card){background:linear-gradient(145deg,#fff 58%,#F8E9FC)}
:where(.stat strong,.ticket,.call,.serial-value,.queue-board-current){color:#633385}
:where(.queue-board,.cross-ticket-stat){background:#F5E9FB;border-color:#E4C8F0}
.site-auth-name .site-auth-avatar{background:#EDD9FA;color:#5B317D}
.site-auth-button:not(.site-auth-login){border-color:#DDC2EB;background:#FFF9FF;color:#562D75}
.site-auth-button.site-auth-login{background:#087A43!important;color:#fff!important;border-color:#087A43!important;box-shadow:none!important}
.logo-mark,.brandmark,.brand-mark,.brand-icon,.app-mark,.logo:has(+span){background:#EDD6FB url("./monster-mascot.svg") center/95% no-repeat!important;color:transparent!important;text-indent:-9999px;overflow:hidden;border:2px solid #DBB8EE!important;border-radius:15px!important}
.logo-mark:after{display:none}
body>header,.site-head,.page-header{border-color:#EAD6F2}
.site-head,body:has(#root)>header{background:rgba(252,247,255,.96)}
:where(.site-head .navlinks,.headlinks a,.header-links a,.nav-group){color:#62466E}
.nav-group--external{border-color:#DEC7E8}
.page-header{background:linear-gradient(135deg,#E5C3F6,#F9E4F4 72%,#FFF2D9)!important}
.page-header :where(h1,h2,.hero-heading,.brand){color:#462B52!important}
.page-header .hero-heading{position:relative;padding-right:150px}
.page-header .hero-heading:after{content:"";position:absolute;top:-48px;right:10px;width:152px;height:178px;background:url("./monster-mascot.svg") center/contain no-repeat;pointer-events:none}
.page-header .site-auth-dark .site-auth-name{color:#462B52}
body:has(.site-head) .hero{background:radial-gradient(circle at 90% 0%,#F7D7EF,transparent 38%),linear-gradient(125deg,#F1D8FA,#FCEBFA 68%,#FFF5DE)}
body:has(.site-head) .hero:before{background:#D4A7EC;opacity:.45}
body:has(.site-head) .hero:after{background:#FECFE1;opacity:.55}
body:has(.site-head) h1 em{color:#8450B3}
body:has(.site-head) h1 em:after{background:#FEC55A}
body:has(.site-head) .lead{color:#6D5578}
body:has(.site-head) .mock-ring{background:radial-gradient(circle at 40% 32%,#FCEBFF,#DCC0EE)}
body:has(.site-head) .mock-scene:before{content:"";position:absolute;width:185px;height:235px;right:-18px;top:-32px;z-index:4;pointer-events:none;background:url("./monster-mascot.svg") center/contain no-repeat;transform:rotate(8deg)}
body:has(.site-head) .phone{border-color:#4B2C5C;background:#FFF9FF}
body:has(.site-head) .phone-notch{background:#462B52}
body:has(.site-head) .phone-card{background:#F1DDF9}
body:has(.site-head) .phone-action{background:#693C8B}
body:has(.site-head) .slot-mini.active{background:#FEC55A;border-color:#E5AE43;color:#462B52}
body:has(.site-head) .step-no{background:#EDCFF9}
body:has(.site-head) .icon{background:#E9D0F8;color:#623580}
body:has(.site-head) .icon.peach{background:#FFE1EA;color:#9D5276}
body:has(.site-head) .icon.yellow{background:#FFF0BB;color:#8A641F}
body:has(.site-head) .industry{background:#F8EDFC;border-color:#E4C9EE;color:#57376B}
body:has(.site-head) .closing{background:#462B52}
body:has(#root) .hero{background:linear-gradient(128deg,#E4BEF3,#F7E0F8 65%,#FFF1D4)!important;color:#462B52;box-shadow:0 12px 28px rgba(70,43,82,.1)}
body:has(#root) .hero h1{color:#462B52}
body:has(#root) .hero .muted{color:#6B507A}
body:has(#root) .hero .eyebrow{color:#633C80!important;background:#FBEAFB!important}
body:has(#root) .routecard:before{background:#FEC55A}
body:has(#root) .routecard:nth-child(2n):before{background:#FCA5C7}
body:has(#root) .card .card{background:#FCF7FF;border-color:#E9D6F1}
body[data-portal=staff] .card,body[data-portal=platform] .card{background:#FFFDFE}
body[data-portal=staff] .staff-mobile-nav{background:#FCF7FF}
:where(.tabs a[aria-current=page],.tabs a.active){background:#714193!important;color:#fff!important}
:where(.results-header h2,.merchant-card h3){color:#462B52}
:where(.explore-view-switch button[aria-pressed=true]){background:#E9CFF8!important;color:#462B52!important}
body:has(.top .brand-icon) .hero{background:linear-gradient(125deg,#E5C3F6,#FBE8F6)!important;color:#462B52}
body:has(.top .brand-icon) .hero :where(h1,p){color:#462B52}
body:has(#single-board){background:#FCF7FF}
body:has(#single-board)>header{background:#462B52!important;color:#fff!important}
body:has(#single-board)>header :where(.shop-title,#clock){color:#fff}
body:has(#single-board) .panel.current{background:#F0D8F9!important;border-color:#DCC0ED}
body:has(#single-board) .panel.next{background:#FFFDFE;border-color:#E6C9F1}
body:has(#single-board) :where(#current,.unit-now){color:#5B2E7E!important}
body:has(#single-board) .unit-card{background:#FFFDFE;border-color:#E6C9F1}
body:has(#single-board) .underline{background:#FEC55A}
body:has(#single-board) #upcoming li:not(.empty){background:#FFE8AF;color:#462B52;border-radius:16px}
body:has(#single-board) footer{background:#F8EAFD;border-color:#E8D2F1}
@media(max-width:980px){body:has(.site-head) .mock-scene:before{width:130px;height:165px;right:0}.page-header .hero-heading:after{width:110px;height:125px}}
@media(max-width:620px){body:has(.site-head) .mock-scene:before{width:115px;height:146px;right:-6px;top:-23px}.page-header .hero-heading{padding-right:70px}.page-header .hero-heading:after{width:75px;height:90px;right:0;top:-25px}:where(.card,.panel,.main-panel,.merchant-card){border-radius:18px}}
@media(prefers-reduced-motion:reduce){*::before,*::after{animation:none!important;transition:none!important}}

/* Monster Arcade: the playful shop-exploration mode uses the same purple family. */
.explore-view-switch{background:#F4E5FA;border-color:#E2C7F0}
.explore-view-switch button{color:#623C7A}
.explore-view-switch button[aria-pressed="true"]{background:#FFF9FF;color:#542D71}
.explore-filter-row select{border-color:#DCC4EC;color:#462B52}
.category-pill{border-color:#E1C9ED;color:#59366F;background:#FFFCFF}
.category-pill[aria-pressed="true"]{background:#6C398F;color:#fff;border-color:#6C398F}
.arcade-plain-btn{background:#FFF8FF;color:#573570;border-color:#DEC5E9}
.arcade-plain-btn:hover{background:#EED7FA}
.arcade-world{background:linear-gradient(180deg,#E8CAFA,#F4DFF9 62%,#FFF1CF);border-color:#CA9BE4;box-shadow:inset 0 0 0 6px #FFF1FF65}
.region-choice{border-color:#A879C4;background:#FFF9E9;color:#583771;box-shadow:0 8px 0 #CEAAE2,0 14px 26px #50315C24}
.arcade-street{background:#E2C4F1;border-color:#9B6FB8;box-shadow:0 12px 30px #462B521F}
.arcade-street-view{background:linear-gradient(180deg,#EAD5FC 0 40%,#F4DCEC 40% 69%,#FFE7C0 69% 73%,#9D8AA8 73% 94%,#D3BDD8 94%);border-color:#B48BC7}
.arcade-street-view:before{background:repeating-linear-gradient(90deg,#FFE6A8 0 36px,transparent 36px 65px)}
.arcade-controls button{border-color:#AE82C9;background:#FFF7EA;color:#583477}
.arcade-controls button:hover{background:#F4DDFB}
.arcade-panel{border-color:#E3C8EE;background:#FFFBFE}
.arcade-empty{background:#FFF6E4;border-color:#E3BF79;color:#795D4B}
.street-shop{color:#462B52}
.street-shop .shop-name-bubble{background:#FFF9FE;border-color:#E0C8ED}
body:has(.poster)>header{background:#462B52!important;color:#fff!important}
body:has(.poster) .poster{border:2px solid #EAD4F8}
body:has(.poster) .controls{border-color:#E1CAED;border-radius:20px}
body:has(.poster) button{border-radius:13px}


/*
 * Mobile pastel contrast repair.
 * Directory's legacy dark-header CSS still paints nav text, the hero eyebrow
 * and the hero description almost white. Since Monster World switches that
 * header to a pale lavender gradient, these text colors MUST be overridden
 * by selectors more specific than the original component stylesheet.
 * Keep the light monster palette: only improve foreground/background contrast.
 */
.page-header .header-links > a{
  color:#4B2B5B;
  background:rgba(255,248,255,.88);
  border:1px solid #B48AC9;
  font-weight:800;
}
.page-header .header-links > a:hover,
.page-header .header-links > a:focus-visible{
  color:#3C204C;
  background:#FFFFFF;
  border-color:#80549A;
}
.page-header .hero-heading .eyebrow{
  display:inline-block;
  width:max-content;
  max-width:100%;
  padding:4px 10px;
  border-radius:7px;
  background:#FFF8FF;
  color:#4B2B5B;
  letter-spacing:.12em;
}
.page-header .hero-heading > p:not(.eyebrow){
  color:#523B61;
  font-weight:600;
  line-height:1.75;
}
.page-header .site-auth-slot.site-auth-dark,
.page-header .site-auth-slot.site-auth-dark .site-auth-name{
  color:#462B52;
}
.page-header .site-auth-slot.site-auth-dark .site-auth-button:not(.site-auth-login){
  color:#4B2B5B;
  background:#FFF8FF;
  border-color:#AE83C7;
  font-weight:800;
}
.page-header .site-auth-slot.site-auth-dark .site-auth-button:not(.site-auth-login):hover{
  color:#3C204C;
  background:#FFFFFF;
  border-color:#80549A;
}
.page-header .site-auth-slot.site-auth-dark .site-auth-button.site-auth-login:hover{
  background:#086B3A!important;
  border-color:#086B3A!important;
}
/* Inputs and inactive navigation are readable on lilac and white surfaces. */
.main-panel .tabs a:not(.active):not([aria-current="page"]){color:#533B60}
.main-panel .intro-copy p{color:#614674}
.main-panel .search::placeholder{color:#665172;opacity:1}
.main-panel .search:focus-visible{outline-color:#80549A}
/* Tight mobile headers should never rely on transparent white-on-pastel pills. */
@media(max-width:620px){
  .page-header .header-links > a{min-height:40px;display:inline-flex;align-items:center;justify-content:center}
  .page-header .hero-heading .eyebrow{font-size:12px}
  .page-header .hero-heading > p:not(.eyebrow){font-size:14px}
}

/* Queue Monster | branded product design system v2 | 2026-11-06
   Single visual language for every website route and its legacy /saas/ alias.
   Cosmetic only: never change auth, data policies, booking actions or QR values. */
:root {
  --qm-ink:#35233F;
  --qm-purple:#693C8B;
  --qm-purple-deep:#462B52;
  --qm-purple-soft:#F1E1FB;
  --qm-lilac:#E8CBF6;
  --qm-pink:#FCA5C7;
  --qm-pink-soft:#FFF0F6;
  --qm-yellow:#FEC55A;
  --qm-cream:#FFF7E5;
  --qm-paper:#FCF8FF;
  --qm-line:#E7D6EF;
  --qm-muted:#6E5A7C;
  --qm-radius:20px;
  --qm-shadow:0 9px 28px rgba(70,43,82,.08);
}
html { -webkit-text-size-adjust:100%; }
body[data-monster-page] {
  --ink:var(--qm-ink);
  --muted:var(--qm-muted);
  --line:var(--qm-line);
  --bg:var(--qm-paper);
  --primary:var(--qm-purple);
  --pale:var(--qm-purple-soft);
  --forest:var(--qm-purple-deep);
  --green:var(--qm-purple);
  --green-dark:var(--qm-purple-deep);
  --shadow:var(--qm-shadow);
  background:radial-gradient(circle at 94% 0%,#F4E6FB 0,transparent 31rem),radial-gradient(circle at 0 45%,#FFF0F6 0,transparent 28rem),var(--qm-paper);
  color:var(--qm-ink);
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Noto Sans TC","PingFang TC","Microsoft JhengHei",system-ui,sans-serif;
  -webkit-font-smoothing:antialiased;
}
body[data-monster-page] :is(h1,h2,h3,h4){letter-spacing:-.028em;color:var(--qm-purple-deep)}
body[data-monster-page] :is(button,input,select,textarea){font-family:inherit}
body[data-monster-page] :is(button,a,[role="button"],input,select,textarea):focus-visible{outline:3px solid #F0B644!important;outline-offset:3px}
body[data-monster-page] :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea){
  border-color:#D7BDE7;color:var(--qm-ink);background:#FFFCFF;border-radius:12px;
}
body[data-monster-page] :is(input,textarea)::placeholder{color:#786484;opacity:1}
body[data-monster-page] :is(.card,.panel,.merchant-card,.routecard,.controls,.surface,.config,.main-panel,.content-section,.screen,.staff-record,.stat){
  border-color:var(--qm-line);
}
body[data-monster-page] :is(.card,.panel,.merchant-card,.routecard,.main-panel,.controls,.config,.surface) {
  box-shadow:var(--qm-shadow);
}
body[data-monster-page] :is(.eyebrow,.kicker,.section-index){color:#643781}
body[data-monster-page] :is(.muted,.sub,.desc,.help,.small,.caption){color:var(--qm-muted)}
body[data-monster-page] :is(.btn,.action,.primary-btn,button.primary,button.secondary-action,.cta,.site-auth-button){
  border-radius:12px;transition:background-color .15s,color .15s,border-color .15s,box-shadow .15s;
}
body[data-monster-page] :is(.btn.primary,.btn-solid,.primary-btn,button.primary,.action.primary,.top-link.primary,.cta) {
  color:#fff;background:var(--qm-purple);border-color:var(--qm-purple);
  box-shadow:0 6px 15px rgba(105,60,139,.13);
}
body[data-monster-page] :is(.btn.primary,.btn-solid,.primary-btn,button.primary,.action.primary,.top-link.primary,.cta):hover:not(:disabled) {
  color:#fff;background:#512A72;border-color:#512A72;
}
body[data-monster-page] :is(.btn.secondary,.btn.outline,.btn-outline,.secondary-action,.action.light,.action.outline-light){
  color:#57336B;background:#FFF9FF;border:1px solid #DABCEB;
}
body[data-monster-page] :is(.btn.secondary,.btn.outline,.btn-outline,.secondary-action,.action.light,.action.outline-light):hover {
  background:#F3E4FD;border-color:#A477C3;
}
body[data-monster-page] :is(.tag,.pill,.badge,.public-note){border-color:#D8B8E9}
body[data-monster-page] :is(.site-auth-button.site-auth-login){background:#087A43!important;border-color:#087A43!important;color:#fff!important}
body[data-monster-page] :is(.site-auth-button.site-auth-login):hover{background:#066835!important;border-color:#066835!important}
body[data-monster-page] :is(.site-auth-button:not(.site-auth-login)){background:#FFF9FF;color:#58376B;border-color:#D9BDE6}
body[data-monster-page] :is(.site-auth-button:not(.site-auth-login)):hover{background:#F2E1FB}
body[data-monster-page] :is(.brandmark,.brand-mark,.brand-icon,.logo-mark,.app-mark){
  flex-shrink:0;border:2px solid #DBB7EB!important;border-radius:14px!important;
  background:#F3E2FB url("./monster-mascot.svg") center / 89% no-repeat!important;
  color:transparent!important;
}
body[data-monster-page] :is(.brandmark,.brand-mark,.brand-icon,.logo-mark,.app-mark)::after{display:none}
body[data-monster-page] :is(.rows th,thead th){background:#F1E4F9;color:#513167}
body[data-monster-page] :is(.rows tr:hover td,tbody tr:hover td){background:#FCF5FF}
body[data-monster-page] :is(.notice,.tag.ok){border-color:#B8E0C5;background:#E8F6EE;color:#206447}
body[data-monster-page] :is(.alert,.warning){border-color:#F2D99D;background:#FFF5D9;color:#7E5C1D}

/* Shared operational shell: customer / store staff / platform admin */
body[data-monster-page="index"] header{
  background:rgba(255,251,255,.97);border-bottom:1px solid #E6D4EF;box-shadow:0 2px 12px rgba(70,43,82,.04);
}
body[data-monster-page="index"] .brand{color:#462B52;font-weight:900}
body[data-monster-page="index"] .brandmark{box-shadow:0 3px 11px rgba(105,60,139,.1)}
body[data-monster-page="index"] .headlinks a{color:#624674;border-radius:12px}
body[data-monster-page="index"] .headlinks a.active{color:#4F2770;background:#EAD3F8;font-weight:900}
body[data-monster-page="index"] .layout>aside{
  background:#FFFCFF;border:1px solid #E7D6EF;border-radius:19px;box-shadow:0 7px 22px rgba(70,43,82,.045);
}
body[data-monster-page="index"] .side-item{color:#624D72;border-radius:11px}
body[data-monster-page="index"] .side-item.active{
  background:#EBD6F8!important;color:#512974!important;box-shadow:inset 3px 0 0 #8756AE!important;
}
body[data-monster-page="index"] .side-item:hover{background:#F4E8FB;color:#4D2B66}
body[data-monster-page="index"] .toolbar .eyebrow{background:#F3E4FB;color:#643B80}
body[data-monster-page="index"] .toolbar h1{color:#462B52}
body[data-monster-page="index"] .stat{
  border:1px solid #E6D2EF;background:linear-gradient(145deg,#FFFDFE 58%,#F9EBFF);
  box-shadow:0 5px 16px rgba(70,43,82,.04);
}
body[data-monster-page="index"] .stat strong{color:#663386}
body[data-monster-page="index"] .card{
  border-color:#E8D8F0;background:#FFFCFF;box-shadow:0 5px 18px rgba(70,43,82,.045);
}
body[data-monster-page="index"] .card .card{background:#FCF7FF;box-shadow:none}
body[data-monster-page="index"] .btn.primary{background:#693C8B!important;color:#fff!important;border:1px solid #693C8B!important}
body[data-monster-page="index"] .btn.primary:hover:not(:disabled){background:#532A75!important}
body[data-monster-page="index"] .btn.secondary{background:#F0DFF9!important;color:#4D2B64!important;border:1px solid #D6BCE8!important}
body[data-monster-page="index"] .btn.outline{background:#FFFCFF!important;color:#593973!important;border:1px solid #D6BCE8!important}
body[data-monster-page="index"] .btn.danger{background:#FFF0F1;color:#9F3146;border-color:#F0C4D0}
body[data-monster-page="index"] .side-title{color:#887397}
body[data-monster-page="index"] .staff-record{border-color:#E5D3EE;background:#FFFDFE;border-radius:15px}
body[data-monster-page="index"] .staff-record .tag{background:#F2E5F9;color:#583477}
body[data-monster-page="index"] .staff-context-bar{background:#F9EEFD;border-color:#E5CEF0}
body[data-monster-page="index"] .staff-dashboard-grid .card{background:#FFFCFF}
body[data-monster-page="index"] .staff-dash-row{border-bottom-color:#F0E3F6}
body[data-monster-page="index"] .staff-dash-row strong{color:#493156}
body[data-monster-page="index"] .staff-dash-row span{color:#765E85}
body[data-monster-page="index"] .staff-mobile-nav{
  background:rgba(255,250,255,.98);border-top:1px solid #E2CDEE;box-shadow:0 -5px 24px rgba(70,43,82,.09)
}
body[data-monster-page="index"] .staff-mobile-nav .side-item{color:#644B72}
body[data-monster-page="index"] .staff-mobile-nav .side-item.active,
body[data-monster-page="index"] .staff-mobile-more[open]>summary{background:#ECD9F9!important;color:#512775!important}
body[data-monster-page="index"] .staff-mobile-popup{border:1px solid #E0C8EE;background:#FFFBFF}
body[data-monster-page="index"] :is(.staff-choice input:checked+span,.slot.active,.cross-tabs button.active){background:#E8D1F6!important;color:#542B76!important;border-color:#AA77CA!important}
body[data-monster-page="index"] .booking-calendar-weekdays{background:#F1E4F9;color:#56326A}
body[data-monster-page="index"] .booking-calendar-cell{border-color:#EBDAF3}
body[data-monster-page="index"] .staff-dashboard-quick .btn{font-weight:850}
body[data-monster-page="index"] .customer-history-link{color:#693C8B!important}
body[data-monster-page="index"] .receipt-card{border:2px solid #E4D0F0}
body[data-monster-page="index"] .guide-link{background:#F7ECFC;color:#56346A;border-color:#E4CCEF}

/* Tight, readable store operations: intentionally less decorative than the marketing pages. */
body[data-monster-page="index"][data-portal="staff"]{
  --bg:#FAF6FC;--muted:#715F7E;--line:#E7D6EF;
  background:linear-gradient(180deg,#F9EFFD 0,#FCF8FF 180px);
  color:#352A3E;line-height:1.55;
}
body[data-monster-page="index"][data-portal="staff"] .top{min-height:64px}
body[data-monster-page="index"][data-portal="staff"] .layout>aside{border-radius:17px;padding:12px 10px}
body[data-monster-page="index"][data-portal="staff"] .side-item{font-weight:800;font-size:13px}
body[data-monster-page="index"][data-portal="staff"] .card{
  background:#FFFDFE;border:1px solid #E7D8EF;border-radius:17px;
  padding:18px 19px;box-shadow:0 4px 16px rgba(70,43,82,.045);
}
body[data-monster-page="index"][data-portal="staff"] .card h2{color:#4D2F60;font-size:17px}
body[data-monster-page="index"][data-portal="staff"] .toolbar h1{color:#462B52}
body[data-monster-page="index"][data-portal="staff"] .stat{border-radius:15px}
body[data-monster-page="index"][data-portal="staff"] :is(.btn,.side-item){min-height:42px}
body[data-monster-page="index"][data-portal="platform"]{
  background:linear-gradient(180deg,#F2E6FA 0,#FCF8FF 220px);
}

/* Marketing / customer store discovery share the same mascot and playful pastel panels. */
body[data-monster-page="home"] .site-head{
  background:rgba(255,251,255,.96);border-bottom:1px solid #E7D6EF;
  box-shadow:0 2px 16px rgba(70,43,82,.05);
}
body[data-monster-page="home"] .navlinks a{color:#55356C}
body[data-monster-page="home"] .hero{
  background:radial-gradient(circle at 90% 15%,#F6CFEA,transparent 36%),linear-gradient(120deg,#F0D3FB,#FCE9F7 68%,#FFF2D7)!important;
  border:1px solid #E7CFF1;box-shadow:0 17px 48px rgba(70,43,82,.12);
}
body[data-monster-page="home"] :is(.cards .card,.showcase,.tv-feature,.step,.industry,.faq-list){
  border-color:#E7D6EF;box-shadow:var(--qm-shadow)
}
body[data-monster-page="home"] .btn-solid{background:#693C8B;border-color:#693C8B}
body[data-monster-page="home"] .closing{background:#462B52;color:#fff}
body[data-monster-page="home"] .closing :is(h2,p){color:#fff}
body[data-monster-page="directory"] .page-header{
  background:linear-gradient(130deg,#E5C3F6,#F8DEF1 68%,#FFF2D9)!important;
  border-bottom:1px solid #D8B8E9;
}
body[data-monster-page="directory"] .page-header .hero-heading h1{color:#462B52}
body[data-monster-page="directory"] .main-panel{
  background:#FFFCFF;border:1px solid #E7D6EF;border-radius:24px;
  box-shadow:0 16px 42px rgba(70,43,82,.09);
}
body[data-monster-page="directory"] .tabs a{color:#5B416F}
body[data-monster-page="directory"] .tabs a.active,
body[data-monster-page="directory"] .tabs a[aria-current="page"]{
  background:#693C8B!important;border-color:#693C8B!important;color:#fff!important;
}
body[data-monster-page="directory"] .merchant-card{
  background:#fff;border:1px solid #E8D7F0;border-radius:20px;
  box-shadow:0 6px 20px rgba(70,43,82,.06)
}
body[data-monster-page="directory"] .merchant-card:hover{border-color:#BE91D7}
body[data-monster-page="directory"] .search-field:focus-within{border-color:#9F6AC1;box-shadow:0 0 0 3px #EDDCF7}
body[data-monster-page="directory"] .result-count{color:#5F4370}
body[data-monster-page="directory"] .category-pill[aria-pressed="true"]{background:#693C8B;border-color:#693C8B;color:#fff}

/* Public full-screen queue board: strong contrast and the same brand, no visual noise. */
body[data-monster-page="board"]{background:#FBF7FE;color:#462B52}
body[data-monster-page="board"]>header{background:#462B52!important;border-color:#462B52;color:#fff}
body[data-monster-page="board"]>header :is(h1,#clock){color:#fff}
body[data-monster-page="board"] .shop-icon{
  display:inline-grid;place-items:center;width:58px;height:58px;border-radius:16px;
  background:#F1DDF9 url("./monster-mascot.svg") center / 90% no-repeat!important;
  border:2px solid #E8C8F1;color:transparent;font-size:0;
}
body[data-monster-page="board"] .panel.current{
  background:linear-gradient(135deg,#F0D9FA,#F9EDFF)!important;
  border:2px solid #D5ABE8;border-radius:28px;
}
body[data-monster-page="board"] .panel.next{
  border:2px solid #E6CEF0;background:#FFFDFF;border-radius:28px
}
body[data-monster-page="board"] :is(#current,.unit-now){color:#573078!important}
body[data-monster-page="board"] .label{color:#67477B}
body[data-monster-page="board"] #upcoming li:not(.empty){background:#FFE8AE;color:#432C50;border:1px solid #E9BF67}
body[data-monster-page="board"] footer{background:#F7E9FD;border-top:1px solid #E4C8EF}
body[data-monster-page="board"] .board-controls button{border-color:#D8B7E8;background:#FFFCFF;color:#4C2F60}

/* Merchant sign-in and signup should be the exact same product, not a separate green portal. */
body[data-monster-page="merchant-register"]{
  background:radial-gradient(circle at 5% 18%,#F1D8FA,transparent 33rem),#FCF8FF;
}
body[data-monster-page="merchant-register"]>header{
  background:rgba(255,252,255,.96);border-bottom:1px solid #E7D6EF
}
body[data-monster-page="merchant-register"] .brand{color:#462B52}
body[data-monster-page="merchant-register"] .intro .eyebrow{background:#F2DFFA;color:#613780}
body[data-monster-page="merchant-register"] .intro h1{color:#462B52}
body[data-monster-page="merchant-register"] .intro h1 span{color:#74449A}
body[data-monster-page="merchant-register"] .benefit>div{
  border-color:#E5CDEE;background:#FFF9FF;color:#503764;border-radius:14px;
}
body[data-monster-page="merchant-register"] .benefit b{background:#FEC55A;color:#462B52}
body[data-monster-page="merchant-register"] .panel{
  border:1px solid #E1CBEA;background:#FFFCFF;border-radius:24px;
  box-shadow:0 22px 56px rgba(70,43,82,.1);
}
body[data-monster-page="merchant-register"] .tabs{background:#F0E1F8;border-color:#E0C6EF}
body[data-monster-page="merchant-register"] .tabs button[aria-selected="true"]{
  background:#693C8B;color:#fff;border-color:#693C8B
}
body[data-monster-page="merchant-register"] button.primary{background:#693C8B;color:#fff;border:1px solid #693C8B}
body[data-monster-page="merchant-register"] button.secondary-action{background:#FFF9FF;color:#54336B;border:1px solid #DABEEA}

/* Merchant documentation uses brand purple for headings and stages, not a separate green theme. */
body[data-monster-page="merchant-center"] .top{
  background:rgba(255,251,255,.97);border-bottom:1px solid #E5D1EF
}
body[data-monster-page="merchant-center"] .top-link{color:#593F6D}
body[data-monster-page="merchant-center"] .top-link.primary{color:#fff;background:#693C8B;border-color:#693C8B}
body[data-monster-page="merchant-center"] .hero{
  color:#462B52;background:linear-gradient(128deg,#E9CBF8,#F9E0F1 72%,#FFF0CB)!important;
  border:1px solid #DCBCE9
}
body[data-monster-page="merchant-center"] .hero :is(h1,p){color:#462B52}
body[data-monster-page="merchant-center"] .hero-steps span{background:#FFF9FE;border-color:#DABBE7;color:#55346E}
body[data-monster-page="merchant-center"] .side{
  background:#FFFCFF;border-color:#E7D6EF;box-shadow:0 5px 20px rgba(70,43,82,.045)
}
body[data-monster-page="merchant-center"] .side a{color:#59416C}
body[data-monster-page="merchant-center"] .side a:hover{background:#F1E4FA;color:#462B52}
body[data-monster-page="merchant-center"] .section-index{background:#ECD6F8;color:#572D76}
body[data-monster-page="merchant-center"] .content-section{
  background:#FFFCFF;border-color:#E9D8F0;border-radius:21px
}
body[data-monster-page="merchant-center"] .demo-btn{background:#693C8B;color:#fff}
body[data-monster-page="merchant-center"] .screen-header{background:#EFE0F8;border-color:#DFC7EB}
body[data-monster-page="merchant-center"] .flow-step{background:#F7ECFC;border-color:#E2CBEE}

/* Poster workspace and printable output use the same brand while preserving white QR zones. */
body[data-monster-page="poster"]>header{background:#462B52!important;color:#fff}
body[data-monster-page="poster"]>header h1{color:#fff}
body[data-monster-page="poster"] .controls{
  background:#FFFCFF;border:1px solid #E4CFED;border-radius:20px
}
body[data-monster-page="poster"] .actions button:not(.secondary){
  background:#693C8B;color:#fff;border:1px solid #693C8B
}
body[data-monster-page="poster"] .actions .secondary{background:#F3E5FA;color:#55336D;border-color:#D8BCE7}
body[data-monster-page="poster"] .poster{
  border:2px solid #E4C9F0;background:#fff;color:#462B52
}
body[data-monster-page="poster"] .poster .kicker{color:#693C8B}
body[data-monster-page="poster"] .poster .action{background:#693C8B;color:#fff}
body[data-monster-page="poster"] .qrwrap{background:#fff}

/* General-purpose configurable clinic, salon and restaurant view. */
body[data-monster-page="template"]>header{background:#FFFCFF;border-color:#E6D6EF}
body[data-monster-page="template"]>header .brand{color:#462B52}
body[data-monster-page="template"]>header .logo{
  background:#EED9FB url("./monster-mascot.svg") center / 90% no-repeat!important;
  font-size:0;color:transparent!important;border:2px solid #DDBBEF;border-radius:12px
}
body[data-monster-page="template"] .config,
body[data-monster-page="template"] .surface{
  background:#FFFCFF;border:1px solid #E6D6EE;border-radius:21px
}
body[data-monster-page="template"] .surface-head{background:#F3E6FB;border-bottom:1px solid #E1CBEC}
body[data-monster-page="template"] .action-grid .action.active{
  background:#EAD5F8;color:#4C2770;border-color:#B589D4
}
body[data-monster-page="template"] .surface-content .cta{background:#693C8B;color:#fff;border-color:#693C8B}
body[data-monster-page="template"] .metric b{color:#613485}
body[data-monster-page="template"] .note{background:#FFF6DC;color:#6C4D24;border-color:#EBD7A3}

/* Legal / offline pages also belong to the branded product. */
body[data-monster-page="privacy"],
body[data-monster-page="terms"]{background:#FCF8FF}
body[data-monster-page="privacy"]>header,
body[data-monster-page="terms"]>header{
  background:#FFF9FE;border-bottom:1px solid #E5CEEE;
  display:flex;justify-content:space-between;align-items:center;gap:15px
}
body[data-monster-page="privacy"]>header>a:first-child,
body[data-monster-page="terms"]>header>a:first-child{
  display:inline-flex;align-items:center;gap:12px;font-size:18px;font-weight:900;
  color:#462B52;text-decoration:none
}
body[data-monster-page="privacy"]>header>a:first-child::before,
body[data-monster-page="terms"]>header>a:first-child::before{
  content:"";display:inline-block;width:38px;height:38px;flex-shrink:0;
  border:1px solid #DEBFEB;border-radius:12px;
  background:#F2E0FB url("./monster-mascot.svg") center / 92% no-repeat
}
body[data-monster-page="privacy"]>main,
body[data-monster-page="terms"]>main{
  max-width:850px;background:#FFFCFF;border:1px solid #E7D4F0;
  border-radius:22px;box-shadow:var(--qm-shadow);padding:clamp(20px,4vw,38px)
}
body[data-monster-page="privacy"]>main h2,
body[data-monster-page="terms"]>main h2{border-bottom:1px solid #F0E3F5;padding-bottom:7px}
body[data-monster-page="privacy"] :is(a,footer),
body[data-monster-page="terms"] :is(a,footer){color:#65437A}
body[data-monster-page="offline"]{background:#FCF8FF}
body[data-monster-page="offline"] main{
  width:min(100%,490px);background:#FFFCFF;border:1px solid #E3CAEF;
  border-radius:24px;box-shadow:0 20px 52px rgba(70,43,82,.09);
  text-align:left;padding:clamp(22px,5vw,40px)
}
body[data-monster-page="offline"] main::before{
  content:"";display:block;width:66px;height:72px;margin:0 0 12px;
  background:url("./monster-mascot.svg") center / contain no-repeat
}
body[data-monster-page="offline"] h1{color:#462B52}
body[data-monster-page="offline"] p,body[data-monster-page="offline"] small{color:#6E5A7C}
body[data-monster-page="offline"] button{background:#693C8B;border-color:#693C8B;color:#fff;min-height:44px}

/* Mobile-first touch targets, controlled density and consistent rhythm. */
@media(max-width:950px){
 body[data-monster-page="index"][data-portal="staff"] .container{
   padding-bottom:calc(112px + env(safe-area-inset-bottom,0px));
 }
 body[data-monster-page="index"] .staff-mobile-nav{border-radius:19px 19px 0 0}
 body[data-monster-page="index"] .staff-mobile-nav .side-item.active{
   background:#EAD1F8!important;color:#522775!important
 }
 body[data-monster-page="index"][data-portal="staff"] .layout>aside{display:none}
}
@media(max-width:620px){
 body[data-monster-page] {overflow-x:clip}
 body[data-monster-page="index"][data-portal="staff"] .top{padding:10px 13px;min-height:58px}
 body[data-monster-page="index"][data-portal="staff"] .brandmark{width:39px;height:39px}
 body[data-monster-page="index"][data-portal="staff"] .card{
   border-radius:16px;padding:15px;margin-bottom:11px
 }
 body[data-monster-page="index"][data-portal="staff"] .toolbar{margin-bottom:12px}
 body[data-monster-page="index"][data-portal="staff"] .toolbar h1{font-size:24px}
 body[data-monster-page="index"][data-portal="staff"] :is(.btn,.staff-mobile-nav>.side-item,.staff-mobile-more>summary){min-height:44px}
 body[data-monster-page="index"] .staff-mobile-popup{max-width:calc(100vw - 24px)}
 body[data-monster-page="directory"] .main-panel{border-radius:18px}
 body[data-monster-page="directory"] .merchant-card{border-radius:17px}
 body[data-monster-page="merchant-register"] .panel{padding:20px;border-radius:19px}
 body[data-monster-page="merchant-center"] .hero{border-radius:22px}
 body[data-monster-page="board"]>header{gap:10px}
 body[data-monster-page="board"] .shop-icon{width:44px;height:44px}
 body[data-monster-page="board"] .panel{border-radius:19px}
 body[data-monster-page="privacy"]>main,
 body[data-monster-page="terms"]>main{margin:12px;border-radius:17px}
 body[data-monster-page="privacy"]>header,
 body[data-monster-page="terms"]>header{flex-wrap:wrap}
}
@media print{
 body[data-monster-page="poster"] .poster{
  border:0!important;box-shadow:none!important;background:#fff!important
 }
 body[data-monster-page="poster"]>header,body[data-monster-page="poster"] .controls{display:none!important}
}
@media(prefers-reduced-motion:reduce){
 body[data-monster-page] *,body[data-monster-page] *::before,body[data-monster-page] *::after{
  transition:none!important;animation:none!important;scroll-behavior:auto!important
 }
}


/* Shared company onboarding profile: platform and merchant use identical controls. */
.merchant-profile{display:grid;gap:18px;margin-top:20px;min-width:0}
.merchant-profile-section{min-width:0;border:1px solid #e8d9f1;border-radius:16px;padding:18px;background:#fffdfd}
.merchant-profile-section h3{font-size:16px;line-height:1.45;font-weight:850;margin:0 0 14px;color:#493259}
.merchant-profile-section .grid{align-items:start}
.merchant-profile-section label{color:#514361}
.merchant-profile-section .field{background:white;border:1px solid #d7c4e8;min-height:44px}
.merchant-profile-section .field:focus-visible,.merchant-logo-file:focus-visible,.merchant-color-picker:focus-visible{outline:3px solid #b595d4;outline-offset:2px}
.merchant-description{resize:vertical;display:block;min-height:84px}
.merchant-logo-row{display:flex;gap:18px;align-items:center;flex-wrap:wrap;min-width:0}
.merchant-logo-frame{width:112px;height:112px;flex:0 0 112px;border:2px dashed #d3c5df;border-radius:18px;display:flex;align-items:center;justify-content:center;background:#faf6ff;overflow:hidden;color:#8b7c98;font-size:12px;text-align:center}
.merchant-logo-frame img{width:100%;height:100%;object-fit:contain}
.merchant-logo-frame img[hidden],.merchant-logo-frame span[hidden]{display:none!important}
.merchant-logo-actions{flex:1;min-width:180px;display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.merchant-logo-file{display:block;max-width:100%;width:100%;font-size:13px;color:#453154}
.merchant-logo-file::file-selector-button{background:#ead9f9;color:#4e2d65;border:1px solid #d6b6eb;border-radius:9px;padding:9px 13px;font-weight:800;margin-right:10px;cursor:pointer}
.merchant-logo-actions .small{line-height:1.5;margin:0}
.merchant-clear-logo{font-size:12px;padding:7px 12px;min-height:32px}
.merchant-color-editor{margin-top:14px}
.merchant-color-row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.merchant-color-picker{width:70px;height:52px;padding:4px;border:2px solid #ccbbdb;border-radius:12px;cursor:pointer;background:white}
.merchant-color-hint{font-size:13px;color:#756884;flex:1;min-width:190px}
.merchant-colors{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:13px 0}
.merchant-color-swatch{width:32px;height:32px;flex:0 0 32px;border-radius:50%;border:3px solid white;box-shadow:0 0 0 1px #ccc0d7;cursor:pointer}
.merchant-color-swatch.selected{box-shadow:0 0 0 3px #694480,0 0 0 5px white}
.merchant-color-swatch:focus-visible{outline:3px solid #694480;outline-offset:3px}
.merchant-color-preview{border-radius:13px;padding:14px 18px;display:flex;gap:8px;align-items:center;justify-content:space-between;flex-wrap:wrap;min-height:64px}
.merchant-color-preview span{font-size:12px;opacity:.9}
.merchant-color-preview strong{font-size:17px;letter-spacing:.2px}
.merchant-profile-actions{display:flex;align-items:center;justify-content:flex-end;margin:19px 0 3px}
.merchant-profile-actions .btn{min-height:46px}
body[data-portal="platform"] .merchant-profile-section,
body[data-portal="staff"] .merchant-profile-section{box-shadow:0 3px 10px rgba(84,52,108,.035)}
@media(max-width:620px){
 .merchant-profile-section{padding:14px}
 .merchant-logo-row{align-items:flex-start}
 .merchant-logo-frame{width:92px;height:92px;flex-basis:92px}
 .merchant-logo-actions{min-width:145px}
 .merchant-color-hint{min-width:140px}
 .merchant-profile-actions .btn{width:100%}
}


/* Platform enterprise list: every row action has one consistent button style. */
body[data-monster-page="index"][data-portal="platform"] .platform-row-actions{
 display:grid;
 grid-template-columns:repeat(3,minmax(0,1fr));
 align-items:center;
 gap:10px;
 min-width:300px;
}
body[data-monster-page="index"][data-portal="platform"] .platform-row-actions>.btn{
 display:inline-flex;
 box-sizing:border-box;
 align-items:center;
 justify-content:center;
 width:100%;
 min-width:0;
 min-height:48px;
 margin:0;
 padding:9px 11px;
 line-height:1.25;
 font-size:14px;
 font-weight:850;
 text-align:center;
 text-decoration:none;
 white-space:nowrap;
 border-radius:14px;
}
body[data-monster-page="index"][data-portal="platform"] .platform-row-actions>.btn:focus-visible{
 outline:3px solid #A777C5;
 outline-offset:2px;
}

/* The operational portal brand is an accessible, real home link. */
body[data-monster-page="index"] header a.brand{
  display:block;
  width:max-content;
  max-width:100%;
  text-decoration:none;
  color:#462B52;
}
body[data-monster-page="index"] header a.brand:focus-visible{
  outline:3px solid #693C8B;
  outline-offset:5px;
  border-radius:8px;
}


/* Chinese-first store search title: retain the original light title plate
   while moving the meaningful heading into it instead of duplicating text. */
body[data-monster-page="directory"] .page-header .hero-heading h1.eyebrow{
  display:inline-block;
  width:auto;
  max-width:100%;
  margin:0 0 16px;
  padding:9px 18px;
  background:#FFF8FF;
  border:1px solid #E8D3F1;
  border-radius:12px;
  color:#462B52;
  font-size:clamp(22px,3vw,35px);
  line-height:1.35;
  letter-spacing:-.035em;
  font-weight:900;
  white-space:normal;
  box-shadow:0 4px 16px rgba(70,43,82,.06);
}
@media(max-width:520px){
  body[data-monster-page="directory"] .page-header .hero-heading h1.eyebrow{
    font-size:clamp(21px,6vw,28px);
    padding:10px 12px;
  }
}

/* Queue-board controls were only 36px high on iPhone-class devices. */
@media(max-width:620px){
 body[data-monster-page="board"] button,
 body:has(#single-board) button{min-height:44px;touch-action:manipulation}
}


/* Mobile touch targets: brand links and navigation controls must have an easy
   44px hit area without widening the viewport or altering desktop layouts. */
@media(max-width:620px){
 body[data-monster-page="home"] .site-head .logo,
 body[data-monster-page="directory"] .page-header .brand,
 body[data-monster-page="merchant-register"] header .brand,
 body[data-monster-page="merchant-center"] .top-links .top-link,
 body[data-monster-page="index"] header a.brand,
 body[data-monster-page="index"] header .headlinks a,
 body[data-monster-page="directory"] footer a,
 body[data-monster-page="index"] footer a{
   min-height:44px;
   box-sizing:border-box;
   display:inline-flex;
   align-items:center;
   touch-action:manipulation;
 }
 body[data-monster-page="home"] .menu-panel .mobile-menu-close{
   min-height:44px;
   touch-action:manipulation;
 }
}


/* Tenant branding is restricted to customer pages: platform and staff retain Queue Monster identity. */
body[data-monster-page="index"][data-portal="customer"]{--primary:var(--merchant-accent,#693C8B)}
body[data-monster-page="index"][data-portal="customer"] .customer-shop-toolbar{
 padding:15px 18px;background:linear-gradient(120deg,color-mix(in srgb,var(--merchant-accent,#693C8B) 10%,white),#fff 85%);
 border:1px solid color-mix(in srgb,var(--merchant-accent,#693C8B) 24%,white);
 border-left:5px solid var(--merchant-accent,#693C8B);border-radius:19px;margin-bottom:20px;
}
body[data-monster-page="index"][data-portal="customer"] .customer-shop-identity{display:flex;align-items:center;gap:16px;min-width:0;width:100%}
body[data-monster-page="index"][data-portal="customer"] .customer-shop-avatar{
 width:76px;height:76px;flex:0 0 76px;display:grid;place-items:center;overflow:hidden;
 border:1px solid color-mix(in srgb,var(--merchant-accent,#693C8B) 26%,white);border-radius:17px;background:white;
}
body[data-monster-page="index"][data-portal="customer"] .customer-shop-avatar img{width:100%;height:100%;object-fit:contain}
body[data-monster-page="index"][data-portal="customer"] .customer-shop-avatar-fallback{font-size:18px;font-weight:850;color:var(--merchant-ink,#462B52)}
body[data-monster-page="index"][data-portal="customer"] .customer-shop-title{min-width:0;flex:1}
body[data-monster-page="index"][data-portal="customer"] .customer-shop-title h1{margin:2px 0 4px;color:#382341;font-size:clamp(23px,3.5vw,34px);overflow-wrap:anywhere}
body[data-monster-page="index"][data-portal="customer"] .customer-shop-overline{font-size:12px;font-weight:800;letter-spacing:.04em;color:var(--merchant-ink,#462B52)}
body[data-monster-page="index"][data-portal="customer"] .customer-shop-title .muted{font-size:13px}

/* Booking/queue first: login occupies the primary card; the public board is secondary. */
body[data-monster-page="index"][data-portal="customer"] .customer-entry-card{
 padding:26px 28px;margin:0 0 10px;border-radius:20px;
 border:1px solid color-mix(in srgb,var(--merchant-accent,#693C8B) 25%,white);
}
body[data-monster-page="index"][data-portal="customer"] .customer-entry-card h2{margin:0 0 12px;font-size:clamp(23px,3vw,30px)}
body[data-monster-page="index"][data-portal="customer"] .customer-entry-card p{margin:0 0 18px;max-width:50em;line-height:1.65}
body[data-monster-page="index"][data-portal="customer"] .customer-entry-card .btn{
 min-height:46px;display:inline-flex;align-items:center;justify-content:center;padding:11px 22px;
}
body[data-monster-page="index"][data-portal="customer"] .customer-public-board-link{margin:12px 0 28px;font-size:14px}
body[data-monster-page="index"][data-portal="customer"] .customer-public-board-link a{
 color:var(--merchant-ink,#462B52);text-decoration:underline;text-underline-offset:3px;
}
@media(max-width:620px){
 body[data-monster-page="index"][data-portal="customer"] .customer-entry-card{padding:20px 18px}
 body[data-monster-page="index"][data-portal="customer"] .customer-entry-card .btn{width:100%;box-sizing:border-box}
}

body[data-monster-page="index"][data-portal="customer"] :is(.btn.primary,.slot.active){
 background:var(--merchant-accent,#693C8B)!important;color:var(--merchant-contrast,#fff)!important;
 border-color:var(--merchant-accent,#693C8B)!important;box-shadow:none;
}
body[data-monster-page="index"][data-portal="customer"] .btn.primary:hover:not(:disabled){filter:brightness(.95)}
body[data-monster-page="index"][data-portal="customer"] :is(.side-item.active,.cross-tabs button.active){
 background:color-mix(in srgb,var(--merchant-accent,#693C8B) 17%,white)!important;
 border-color:var(--merchant-accent,#693C8B)!important;color:var(--merchant-ink,#462B52)!important;
 box-shadow:inset 4px 0 0 var(--merchant-accent,#693C8B);
}
body[data-monster-page="index"][data-portal="customer"] :is(.routecard,.stat){
 border-color:color-mix(in srgb,var(--merchant-accent,#693C8B) 19%,white);
 background:linear-gradient(145deg,#fff 65%,color-mix(in srgb,var(--merchant-accent,#693C8B) 9%,white));
}
body[data-monster-page="index"][data-portal="customer"] :is(.routecard strong,.ticket,.call,.stat strong){color:var(--merchant-ink,#462B52)}
body[data-monster-page="index"][data-portal="customer"] .routecard:before{background:var(--merchant-accent,#693C8B)!important}
body[data-monster-page="index"][data-portal="customer"] .customer-platform-credit{
 margin:22px 0 0;padding:16px 6px 4px;border-top:1px solid #E8D6EF;
 display:flex;gap:5px;align-items:center;justify-content:center;flex-wrap:wrap;font-size:12px;color:#786A81;
}
body[data-monster-page="index"][data-portal="customer"] .customer-platform-credit a{
 display:inline-flex;align-items:center;gap:5px;font-weight:850;color:#62417B;text-decoration:none;
}
body[data-monster-page="index"][data-portal="customer"] .customer-platform-credit a:hover{text-decoration:underline}
body[data-monster-page="index"][data-portal="customer"] .customer-platform-icon{
 width:20px;height:20px;display:inline-block;background:#EDD6FB url("./monster-mascot.svg") center/95% no-repeat;border-radius:6px;
}
@media(max-width:620px){
 body[data-monster-page="index"][data-portal="customer"] .customer-shop-toolbar{padding:12px 13px;margin-bottom:12px}
 body[data-monster-page="index"][data-portal="customer"] .customer-shop-avatar{width:58px;height:58px;flex-basis:58px;border-radius:13px}
 body[data-monster-page="index"][data-portal="customer"] .customer-shop-identity{gap:12px}
 body[data-monster-page="index"][data-portal="customer"] .customer-shop-title h1{font-size:24px}
}


/* Shop-powered queue board: store branding is visible; platform attribution remains identifiable. */
body[data-monster-page="board"]>header{
 background:var(--merchant-board-accent,#462B52)!important;color:var(--merchant-board-contrast,#fff)!important;
}
body[data-monster-page="board"]>header :is(.shop-title h1,#clock){color:var(--merchant-board-contrast,#fff)!important}
body[data-monster-page="board"] .shop-icon{overflow:hidden;background:#fff;color:var(--merchant-board-ink,#462B52);border-color:#fff}
body[data-monster-page="board"] .shop-icon img{display:block;width:100%;height:100%;object-fit:contain}
body[data-monster-page="board"] .shop-icon img[hidden],body[data-monster-page="board"] .shop-icon span[hidden]{display:none!important}
body[data-monster-page="board"] .panel.current{
 background:color-mix(in srgb,var(--merchant-board-accent,#693C8B) 15%,white)!important;
 border-color:color-mix(in srgb,var(--merchant-board-accent,#693C8B) 20%,white);
}
body[data-monster-page="board"] :is(#current,.unit-now){color:var(--merchant-board-ink,#462B52)!important}
body[data-monster-page="board"] .underline{background:var(--merchant-board-accent,#693C8B)}
body[data-monster-page="board"] .board-platform-credit{font-size:13px;font-weight:800;color:#65467B;text-decoration:none}
body[data-monster-page="board"] .board-platform-credit:hover{text-decoration:underline}
@media(max-width:780px){
 body[data-monster-page="board"] .shop-icon:has(img:not([hidden])){display:grid;width:46px;height:46px;flex-basis:46px;border-width:2px}
}


/* Queue board merchant-brand specificity fix: override legacy :has(#single-board) rules. */
/* The old body:has(#single-board) selector contains an ID and was overriding the merchant theme. */
body[data-monster-page="board"]:has(#single-board)>header{
 background:var(--merchant-board-accent,#462B52)!important;
 border-color:var(--merchant-board-accent,#462B52)!important;
 color:var(--merchant-board-contrast,#FFFFFF)!important;
}
body[data-monster-page="board"]:has(#single-board)>header :is(h1,#clock){
 color:var(--merchant-board-contrast,#FFFFFF)!important;
}
body[data-monster-page="board"]:has(#single-board) .panel.current{
 background:color-mix(in srgb,var(--merchant-board-accent,#693C8B) 14%,white)!important;
 border-color:color-mix(in srgb,var(--merchant-board-accent,#693C8B) 34%,white)!important;
}
body[data-monster-page="board"]:has(#single-board) .panel.next{
 background:#FFFFFF;
 border-color:color-mix(in srgb,var(--merchant-board-accent,#693C8B) 24%,white);
}
body[data-monster-page="board"]:has(#single-board) :is(#current,.unit-now){
 color:var(--merchant-board-ink,#462B52)!important;
}
body[data-monster-page="board"]:has(#single-board) .label{
 color:var(--merchant-board-ink,#462B52);
}
body[data-monster-page="board"]:has(#single-board) .underline{
 background:var(--merchant-board-accent,#693C8B)!important;
}
body[data-monster-page="board"]:has(#single-board) #upcoming li:not(.empty){
 background:color-mix(in srgb,var(--merchant-board-accent,#693C8B) 19%,white);
 border:1px solid color-mix(in srgb,var(--merchant-board-accent,#693C8B) 36%,white);
 color:var(--merchant-board-ink,#462B52);
}
body[data-monster-page="board"]:has(#single-board) .unit-card{
 background:color-mix(in srgb,var(--merchant-board-accent,#693C8B) 8%,white);
 border-color:color-mix(in srgb,var(--merchant-board-accent,#693C8B) 27%,white);
}
body[data-monster-page="board"]:has(#single-board) footer{
 background:color-mix(in srgb,var(--merchant-board-accent,#693C8B) 7%,white);
 border-color:color-mix(in srgb,var(--merchant-board-accent,#693C8B) 21%,white);
}

/* Customer portal: one quiet services entry, with subviews only inside the hub. */
body[data-monster-page="index"][data-portal="customer"] .customer-service-nav{margin:0 0 18px}
body[data-monster-page="index"][data-portal="customer"] .customer-service-title{margin:0 0 10px}
body[data-monster-page="index"][data-portal="customer"] .customer-service-title h2{margin:0;font-size:19px;line-height:1.35}
body[data-monster-page="index"][data-portal="customer"] .customer-service-title .small{margin:3px 0 0;font-size:13px}
body[data-monster-page="index"][data-portal="customer"] .customer-service-switcher{
 display:flex;flex-wrap:wrap;gap:5px;padding:5px;background:#F8F0FC;
 border:1px solid #E8D9F2;border-radius:14px
}
body[data-monster-page="index"][data-portal="customer"] .customer-service-switcher button{
 flex:1 1 120px;min-height:42px;border:1px solid transparent;border-radius:10px;
 padding:9px 12px;background:transparent;color:#685477;font-size:14px;font-weight:750;
 cursor:pointer;transition:background .15s,color .15s
}
body[data-monster-page="index"][data-portal="customer"] .customer-service-switcher button.active{
 background:#fff;color:var(--merchant-ink,#462B52);
 border-color:color-mix(in srgb,var(--merchant-accent,#693C8B) 30%,white);
 box-shadow:0 2px 7px rgba(70,43,82,.08)
}
body[data-monster-page="index"][data-portal="customer"] .customer-service-switcher button:focus-visible{
 outline:3px solid var(--merchant-accent,#693C8B);outline-offset:2px
}
