@font-face{
  font-family:Inter;
  src:url('assets/fonts/InterVariable.woff2') format('woff2');
  font-weight:100 900;
  font-display:swap
}
:root{
  --red:#b4181a;
  --deep:#7e0f12;
  --soft:#f9e9e8;
  --bg:#fcfaf7;
  --ink:#282322;
  --muted:#766e69;
  --border:#e7ded8;
  --warm:#f4efe8;
  --green:#2e7d57;
  --green-bg:#eaf5ef;
  font-family:Inter,Arial,sans-serif;
  color:var(--ink);
  background:var(--bg);
  font-synthesis:none;
  font-size:13px
}
*{
  box-sizing:border-box
}
body{
  margin:0;
  -webkit-font-smoothing:antialiased
}
button,input,select,textarea{
  font:inherit;
  color:inherit
}
button{
  cursor:pointer
}
button:disabled{
  opacity:.45;
  cursor:not-allowed
}
button,a,input,select,textarea{
  outline-offset:3px
}
:focus-visible{
  outline:3px solid #b4181a66
}
a{
  color:var(--red)
}
h1,h2,h3,p{
  margin-top:0
}
h1{
  font-size:24px;
  line-height:1.3;
  margin-bottom:4px
}
h2{
  font-size:16px;
  line-height:1.4;
  margin-bottom:5px
}
h3{
  font-size:13px;
  margin-bottom:5px
}
p{
  line-height:1.6
}
.muted{
  color:var(--muted)
}
.tiny{
  font-size:10px
}
.small-text{
  font-size:12px
}
.icon{
  width:18px;
  height:18px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
  flex:none
}
.logo{
  display:block;
  width:87px;
  height:auto
}
.row{
  display:flex;
  align-items:center;
  gap:10px
}
.between{
  justify-content:space-between
}
.wrap{
  flex-wrap:wrap
}
.grow{
  flex:1;
  min-width:0
}
.stack{
  display:grid;
  gap:16px
}
.two-columns{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px
}
.btn{
  border:1px solid var(--border);
  border-radius:9px;
  background:#fff;
  padding:10px 14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  font-size:12px;
  font-weight:600;
  min-height:36px;
  text-decoration:none
}
.btn.primary{
  background:var(--red);
  color:#fff;
  border-color:var(--red)
}
.btn.danger{
  background:var(--soft);
  border-color:var(--soft);
  color:var(--red)
}
.btn.ghost{
  background:transparent;
  border-color:transparent
}
.btn.small{
  padding:6px 9px;
  min-height:29px;
  font-size:11px
}
.btn.full{
  width:100%
}
.btn:hover:not(:disabled){
  filter:brightness(.97)
}
.icon-btn{
  border:1px solid var(--border);
  border-radius:7px;
  background:white;
  width:28px;
  height:28px;
  display:inline-grid;
  place-items:center;
  color:var(--muted)
}
.icon-btn .icon{
  width:14px;
  height:14px
}
.field{
  display:grid;
  gap:7px;
  margin-bottom:16px;
  min-width:0
}
.field>span{
  font-size:11px;
  font-weight:600
}
.field input,.field select,.field textarea,.search-input{
  width:100%;
  padding:11px 12px;
  border:1px solid var(--border);
  border-radius:9px;
  background:var(--bg);
  font-size:12px;
  min-width:0
}
.field textarea{
  min-height:86px;
  resize:vertical
}
.field small{
  font-size:10px;
  color:var(--muted)
}
.check-label{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:12px;
  margin:10px 0
}
.check-label input{
  accent-color:var(--red)
}
.field input[type=file]{
  background:white
}
.switch-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:14px 0;
  border-bottom:1px solid var(--border)
}
.switch-row:last-child{
  border:0
}
.switch{
  appearance:none;
  width:34px;
  height:19px;
  border-radius:20px;
  background:#c9c4c0;
  position:relative;
  cursor:pointer;
  flex:none
}
.switch:checked{
  background:var(--red)
}
.switch:before{
  content:'';
  position:absolute;
  background:#fff;
  width:15px;
  height:15px;
  border-radius:50%;
  top:2px;
  left:2px
}
.switch:checked:before{
  left:17px
}
.badge{
  display:inline-flex;
  align-items:center;
  gap:5px;
  border-radius:8px;
  padding:5px 8px;
  font-size:10px;
  background:var(--warm);
  color:var(--muted);
  white-space:nowrap
}
.badge.red{
  background:var(--soft);
  color:var(--red)
}
.badge.green{
  background:var(--green-bg);
  color:var(--green)
}
.badge.amber{
  background:#fff2df;
  color:#9d6b24
}
.notice{
  display:flex;
  align-items:center;
  gap:9px;
  border-radius:9px;
  padding:11px 13px;
  font-size:11px;
  line-height:1.5;
  background:var(--green-bg);
  color:var(--green)
}
.notice.red{
  background:var(--soft);
  color:var(--red)
}
.notice.amber{
  background:#fff2df;
  color:#8a632b
}
.notice.neutral{
  background:var(--warm);
  color:var(--muted)
}
.panel{
  background:#fff;
  border:1px solid var(--border);
  border-radius:16px;
  overflow:hidden
}
.panel-pad{
  padding:20px
}
.panel-title{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:18px;
  gap:12px
}
.panel-title h2{
  margin:0
}
.empty{
  text-align:center;
  padding:30px;
  color:var(--muted)
}
.empty>.icon{
  width:28px;
  height:28px
}
.empty p{
  margin:10px 0
}
.avatar{
  width:34px;
  height:34px;
  border-radius:50%;
  background:var(--soft);
  color:var(--red);
  display:inline-grid;
  place-items:center;
  flex:none;
  object-fit:cover;
  font-size:11px;
  font-weight:600
}
.avatar.large{
  width:96px;
  height:96px;
  font-size:26px
}
.tabs{
  display:flex;
  gap:8px;
  flex-wrap:wrap
}
.tab{
  border:0;
  border-radius:8px;
  background:var(--warm);
  padding:8px 12px;
  color:var(--muted);
  font-size:11px
}
.tab.active{
  background:var(--soft);
  color:var(--red);
  font-weight:600
}
.inline-error{
  color:var(--red);
  font-size:12px;
  line-height:1.5;
  padding:10px 0
}
.admin-shell{
  display:grid;
  grid-template-columns:236px minmax(0,1fr);
  min-height:100vh;
  --red:#bd0714;
  --deep:#8b0610;
  --soft:#fff0f0;
  --bg:#f6f6f8;
  --ink:#1e2028;
  --muted:#81838e;
  --border:#eaebef;
  font-size:14px;
  background:var(--bg);
  color:var(--ink)
}
.sidebar{
  background:linear-gradient(160deg,#84090e 0%,#a60a10 53%,#73090d 100%);
  color:white;
  padding:26px 13px 20px;
  display:flex;
  flex-direction:column;
  position:sticky;
  top:0;
  height:100vh
}
.sidebar .logo{
  filter:brightness(0) invert(1);
  width:108px;
  margin:5px 17px 0
}
.brand-caption{
  font-size:12px;
  color:#edcdcd;
  margin:8px 0 19px;
  padding:0 17px 24px;
  border-bottom:1px solid #ffffff20
}
.sidebar nav{
  display:grid;
  gap:5px
}
.nav-item{
  border:0;
  background:none;
  color:#f9dfdf;
  padding:13px;
  display:flex;
  align-items:center;
  gap:12px;
  text-align:left;
  border-radius:9px;
  font-size:13px;
  font-weight:500
}
.nav-item.active{
  background:#d81b25ad;
  color:white;
  font-weight:700
}
.nav-item .icon{
  width:21px;
  height:21px
}
.sidebar-foot{
  margin-top:auto;
  border-top:1px solid #ffffff24;
  padding-top:16px;
  font-size:12px;
  color:#e6c2c2
}
.admin-main{
  padding:76px 35px 38px;
  min-width:0;
  max-width:1780px;
  width:100%;
  margin:0 auto
}
.page-head{
  min-height:94px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:22px 0;
  border-bottom:1px solid var(--border);
  margin-bottom:22px
}
.page-head p{
  font-size:14px;
  color:var(--muted);
  margin:5px 0 0
}
.admin-main .page-head h1{
  font-size:30px;
  letter-spacing:-.9px;
  line-height:1.2
}
.admin-shell h2{
  font-size:16px;
  font-weight:800
}
.admin-shell h3{
  font-size:15px
}
.admin-shell .panel{
  border-radius:16px;
  box-shadow:0 4px 20px #00000005
}
.admin-shell .panel-pad{
  padding:22px
}
.admin-shell .btn{
  padding:12px 17px;
  min-height:42px;
  border-radius:10px;
  font-size:13px;
  font-weight:700;
  gap:9px
}
.admin-shell .btn.small{
  padding:8px 11px;
  min-height:34px;
  font-size:12px;
  border-radius:8px
}
.admin-shell .icon-btn{
  width:32px;
  height:32px
}
.admin-shell .icon-btn .icon{
  width:16px;
  height:16px
}
.admin-shell .field>span{
  font-size:12px;
  font-weight:700
}
.admin-shell .field input,.admin-shell .field select,.admin-shell .field textarea,.admin-shell .search input{
  font-size:13px;
  background:white
}
.admin-shell .field small,.admin-shell .tiny,.admin-shell .demo-caption,.admin-shell .clock-note{
  font-size:11px
}
.admin-shell .small-text,.admin-shell .check-label{
  font-size:13px
}
.admin-shell .tab{
  padding:9px 13px;
  font-size:12px;
  font-weight:700
}
.admin-shell .section-card p,.admin-shell .activity-card p{
  font-size:12px
}
.admin-shell .food-row,.admin-shell .wizard-step{
  font-size:12px
}
.admin-shell .category-card strong{
  font-size:13px
}
.admin-shell .category-card small{
  font-size:11px
}
.actions{
  display:flex;
  align-items:center;
  gap:9px;
  flex-wrap:wrap
}
.kpis{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
  margin:16px 0 20px
}
.kpi{
  display:flex;
  gap:11px;
  align-items:center;
  padding:20px 21px;
  background:white;
  border:1px solid var(--border);
  border-radius:13px
}
.kpi-icon{
  width:40px;
  height:40px;
  flex:none;
  background:var(--green-bg);
  color:var(--green);
  border-radius:8px;
  display:grid;
  place-items:center
}
.kpi-icon.red{
  background:var(--soft);
  color:var(--red)
}
.kpi strong{
  font-size:31px;
  font-weight:800;
  display:block;
  letter-spacing:-.5px
}
.kpi span{
  font-size:12px;
  color:var(--muted)
}
.dashboard-grid{
  display:grid;
  grid-template-columns:1.5fr 1fr;
  gap:16px
}
.chart{
  display:flex;
  gap:20px;
  align-items:end;
  height:190px;
  padding:20px 10px 0
}
.chart-column{
  flex:1;
  display:flex;
  align-items:center;
  flex-direction:column;
  justify-content:end;
  height:100%;
  gap:9px;
  font-size:10px;
  color:var(--muted)
}
.chart-bar{
  border-radius:9px 9px 0 0;
  background:var(--soft);
  width:100%;
  max-width:45px;
  min-height:2px
}
.chart-bar.highlight{
  background:var(--red)
}
.list-row{
  display:flex;
  align-items:center;
  gap:12px;
  padding:13px 0;
  border-bottom:1px solid #f3eeea
}
.list-row:last-child{
  border:0
}
.list-row p{
  margin:3px 0 0;
  font-size:12px;
  color:var(--muted)
}
.table-tools{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center;
  margin-bottom:16px;
  flex-wrap:wrap
}
.search{
  display:flex;
  align-items:center;
  gap:8px;
  background:var(--bg);
  border:1px solid var(--border);
  border-radius:9px;
  padding:0 12px;
  min-width:250px;
  max-width:430px;
  width:100%
}
.search .icon{
  color:var(--red);
  width:15px;
  height:15px
}
.search input{
  border:0;
  background:transparent;
  padding:12px 0;
  outline:none;
  min-width:0;
  width:100%;
  font-size:12px
}
.table-wrap{
  overflow:auto
}
.data-table{
  width:100%;
  border-collapse:collapse;
  text-align:left;
  font-size:13px
}
.data-table th{
  padding:15px 19px;
  background:var(--warm);
  color:var(--muted);
  font-size:11px;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:.05em
}
.data-table td{
  padding:13px 19px;
  border-bottom:1px solid #f2ede8
}
.data-table .name{
  font-size:13px;
  font-weight:700
}
.data-table small{
  font-size:11px;
  color:var(--muted);
  display:block;
  margin-top:4px
}
.pagination{
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-size:12px;
  color:var(--muted);
  padding-top:16px
}
.editor-layout,.content-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 350px;
  gap:16px;
  align-items:start
}
.section-card{
  padding:18px;
  border:1px solid var(--border);
  border-radius:12px;
  background:#fff;
  margin-bottom:15px
}
.section-card p{
  font-size:10px;
  color:var(--muted);
  margin:3px 0 12px
}
.food-row{
  display:flex;
  gap:10px;
  align-items:center;
  background:var(--bg);
  border:1px solid #f3ece6;
  border-radius:7px;
  padding:10px;
  margin:6px 0;
  font-size:11px
}
.food-row:before{
  content:'•';
  color:var(--red)
}
.activity-card{
  display:flex;
  align-items:center;
  gap:16px;
  border:1px solid var(--border);
  border-radius:12px;
  padding:15px;
  background:#fff;
  margin-bottom:12px
}
.activity-time{
  min-width:78px;
  padding:16px 10px;
  text-align:center;
  font-size:14px;
  font-weight:600;
  border-radius:9px;
  background:var(--warm);
  color:var(--red)
}
.activity-card:nth-child(2) .activity-time,.activity-card:nth-child(4) .activity-time{
  background:var(--red);
  color:#fff
}
.activity-card p{
  font-size:10px;
  color:var(--muted);
  margin:4px 0
}
.settings-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
  margin-top:20px
}
.settings-grid .panel-title{
  padding-bottom:12px;
  border-bottom:1px solid var(--border)
}
.color-swatch{
  width:22px;
  height:22px;
  border-radius:5px;
  display:inline-block;
  vertical-align:middle;
  margin-right:5px
}
.map-toolbar{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center;
  padding-bottom:12px;
  flex-wrap:wrap
}
.tools{
  display:flex;
  gap:5px;
  flex-wrap:wrap
}
.tool{
  font-size:10px;
  padding:6px 8px;
  border:1px solid var(--border);
  border-radius:7px;
  background:#fff;
  color:var(--muted)
}
.tool.active{
  background:var(--soft);
  border-color:#d18a8b;
  color:var(--red)
}
.map-viewport{
  position:relative;
  overflow:hidden;
  border-radius:10px;
  background:#fff;
  border:1px solid var(--border);
  touch-action:none;
  min-height:330px
}
.map-svg{
  width:100%;
  height:auto;
  display:block;
  min-height:330px;
  max-height:530px;
  touch-action:none
}
.map-svg text{
  font-family:Inter,sans-serif;
  pointer-events:none
}
.map-wall{
  stroke:#4b4541;
  stroke-width:5;
  stroke-linecap:round
}
.map-area{
  fill:var(--warm);
  stroke:var(--border);
  stroke-width:1
}
.map-table{
  fill:white;
  stroke:#d9cdc4;
  stroke-width:1.5
}
.map-table.selected{
  fill:var(--red);
  stroke:var(--red)
}
.map-route{
  stroke:var(--red);
  stroke-width:4;
  stroke-dasharray:7 10;
  fill:none;
  stroke-linejoin:round;
  stroke-linecap:round;
  animation:route-move 1.6s linear infinite
}
.map-point{
  cursor:pointer
}
.map-selected{
  stroke:var(--red)!important;
  stroke-width:3!important
}
.map-handle{
  fill:white;
  stroke:var(--red);
  stroke-width:2;
  cursor:nwse-resize
}
.map-bottom{
  display:flex;
  justify-content:space-between;
  margin-top:10px;
  font-size:10px;
  color:var(--muted)
}
.map-legend{
  display:flex;
  gap:13px;
  align-items:center;
  font-size:10px;
  color:var(--muted);
  flex-wrap:wrap
}
.map-legend i{
  width:6px;
  height:6px;
  border-radius:50%;
  display:inline-block;
  margin-right:5px;
  background:var(--red)
}
.map-legend i.green{
  background:var(--green)
}
.qr-box{
  display:grid;
  justify-items:center;
  gap:12px
}
.qr-box svg{
  width:170px;
  height:170px
}
.route-list{
  max-height:180px;
  overflow:auto;
  font-size:11px
}
.route-list .list-row{
  padding:8px 0
}
.inspector{
  max-height:800px;
  overflow:auto
}
.inspector .two-columns{
  gap:10px
}
.inspector .field{
  margin-bottom:12px
}
.guest-shell{
  min-height:100vh;
  min-height:100svh;
  display:grid;
  grid-template-columns:minmax(310px,1fr) 404px;
  justify-content:center;
  align-items:center;
  gap:85px;
  background:radial-gradient(circle at 90% 25%,#e6b2a3 0,transparent 20%),linear-gradient(132deg,#5b060d,#a60b15 43%,#60070d);
  padding:38px max(6%,calc((100vw - 1240px)/2));
  position:relative;
  overflow:hidden
}
.guest-shell:before{
  content:"";
  position:absolute;
  bottom:-270px;
  left:-170px;
  width:800px;
  height:800px;
  border:1px solid #ffffff2a;
  border-radius:50%;
  box-shadow:0 0 0 80px #ffffff08,0 0 0 150px #ffffff07;
  pointer-events:none
}
.guest-story{
  position:relative;
  z-index:1;
  color:white
}
.guest-story>.logo{
  width:176px;
  filter:brightness(0) invert(1)
}
.guest-story .story-eyebrow{
  margin:18px 0 0;
  color:#ffbdbf;
  font-size:11px;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase
}
.guest-story h2{
  font-size:clamp(35px,3.9vw,60px);
  line-height:1.06;
  letter-spacing:-1.9px;
  max-width:600px;
  margin:29px 0 17px;
  font-weight:750
}
.guest-story>p:not(.story-eyebrow){
  max-width:460px;
  font-size:15px;
  line-height:1.8;
  color:#ffeaeb
}
.story-checks{
  display:grid;
  gap:15px;
  margin:28px 0 34px
}
.story-checks>div{
  display:flex;
  align-items:center;
  gap:12px;
  color:#ffe4e6;
  font-size:13px
}
.story-checks .icon{
  width:23px;
  height:23px;
  padding:4px;
  border-radius:50%;
  border:1px solid #ffbdbf65;
  color:#ffa7aa
}
.story-tag{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:9px 13px;
  border:1px solid #ffffff24;
  border-radius:30px;
  background:#ffffff14;
  color:#ffe4e6;
  font-size:11px
}
.story-tag .icon{
  width:14px;
  height:14px
}
.presentation-switch{
  display:flex;
  gap:5px
}
.presentation-switch .btn{
  font-size:12px;
  border:0;
  min-height:40px;
  padding:10px 13px;
  background:transparent;
  color:#60636d
}
.presentation-switch .btn.primary{
  background:#a90916;
  color:white
}
.presentation-switch .icon{
  width:16px;
  height:16px
}
.phone-mockup{
  margin:0 auto;
  width:404px;
  position:relative;
  z-index:1
}
.phone-mockup:before,.phone-mockup:after{
  content:"";
  width:3px;
  background:#141414;
  border-radius:3px 0 0 3px;
  position:absolute;
  left:-3px
}
.phone-mockup:before{
  height:28px;
  top:110px
}
.phone-mockup:after{
  height:58px;
  top:160px;
  box-shadow:0 72px #141414
}
.guest-shell .phone-frame{
  width:404px;
  height:min(894px,calc(100svh - 76px));
  min-height:650px;
  max-height:894px;
  border:7px solid #141414;
  border-radius:47px;
  background:white;
  box-shadow:0 0 0 2px #9d8589,0 27px 100px #1a000b80
}
.phone-status{
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:38px;
  z-index:9;
  display:flex;
  align-items:center;
  justify-content:space-between;
  background:white;
  color:#101116;
  padding:0 29px;
  font-size:12px;
  font-weight:750;
  pointer-events:none
}
.phone-notch{
  width:108px;
  height:27px;
  position:absolute;
  top:0;
  left:50%;
  transform:translateX(-50%);
  background:#141414;
  border-radius:0 0 20px 20px
}
.phone-status-icons{
  display:flex;
  align-items:center;
  gap:4px
}
.phone-status-icons svg{
  width:16px;
  height:13px
}
.phone-status-icons svg:last-child{
  width:24px
}
.guest-shell .phone-screen{
  padding-top:38px;
  background:white;
  scrollbar-width:none
}
.guest-shell .phone-screen::-webkit-scrollbar{
  display:none
}
.phone-winner .phone-status{
  background:#ad1020;
  color:white
}
.phone-frame{
  width:390px;
  height:844px;
  background:var(--bg);
  border:1px solid var(--border);
  border-radius:28px;
  overflow:hidden;
  position:relative;
  isolation:isolate;
  flex:none
}
.phone-screen{
  height:100%;
  overflow:auto;
  overscroll-behavior:contain;
  scrollbar-width:thin;
  padding:0 0 78px
}
.phone-screen.no-bottom{
  padding-bottom:0
}
.guest-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:23px 24px 16px
}
.guest-header .logo{
  width:82px
}
.guest-header .badge{
  border-radius:20px;
  font-size:9px
}
.guest-content{
  padding:10px 24px 24px
}
.guest-content h1{
  font-size:22px;
  font-weight:750;
  margin-bottom:6px
}
.guest-content h2{
  font-size:16px
}
.guest-content>.muted{
  font-size:12px
}
.guest-content .search{
  min-width:0;
  margin:22px 0
}
.guest-quick{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
  margin:14px 0 22px
}
.guest-quick button{
  border:1px solid var(--border);
  background:#fff;
  border-radius:12px;
  text-align:center;
  padding:14px 8px;
  min-height:104px
}
.guest-quick .icon{
  background:var(--soft);
  color:var(--red);
  width:31px;
  height:31px;
  padding:7px;
  border-radius:9px;
  margin-bottom:10px
}
.guest-quick strong{
  font-size:12px;
  display:block;
  margin-bottom:5px
}
.guest-quick small{
  font-size:10px;
  color:var(--muted)
}
.map-cta{
  width:100%;
  border:0;
  background:var(--red);
  color:#fff;
  padding:20px 16px;
  border-radius:14px;
  text-align:left;
  display:flex;
  align-items:center;
  gap:12px;
  margin:18px 0
}
.map-cta strong{
  font-size:15px;
  display:block
}
.map-cta small{
  font-size:10px;
  display:block;
  margin-top:7px;
  color:#f6dada
}
.map-cta .icon{
  background:white;
  color:var(--red);
  width:38px;
  height:38px;
  padding:9px;
  border-radius:11px;
  margin-left:auto
}
.guest-bottom{
  position:absolute;
  bottom:0;
  left:0;
  right:0;
  height:78px;
  display:flex;
  justify-content:space-around;
  background:white;
  border-top:1px solid #f3eee8;
  padding:13px 12px env(safe-area-inset-bottom,8px);
  z-index:5
}
.guest-bottom button{
  border:0;
  background:transparent;
  display:grid;
  justify-items:center;
  gap:5px;
  font-size:10px;
  font-weight:650;
  color:var(--muted);
  min-width:70px
}
.guest-bottom button.active{
  color:var(--red)
}
.guest-bottom .icon{
  width:21px;
  height:21px
}
.guest-quick button,.mobile-section,.mobile-activity,.guest-table-card,.guest-place{
  box-shadow:0 4px 15px #4c112005
}
.guest-quick button:hover,.guest-place:hover{
  background:#fff5f6;
  border-color:#ebc5c8
}
.mobile-section summary:after{
  content:"⌄";
  color:var(--red);
  font-size:18px;
  margin-left:auto
}
.mobile-section[open] summary:after{
  transform:rotate(180deg)
}
.guest-welcome{
  padding-top:0
}
.welcome-art{
  background:radial-gradient(circle at 100% 0%,#fae3e1,transparent 45%),linear-gradient(135deg,#fff8f8,#fff);
  border:1px solid #f4e0e0;
  border-radius:20px;
  padding:27px 20px 22px;
  text-align:center;
  margin:8px 0 20px
}
.logo-ring{
  width:105px;
  height:78px;
  border:2px solid #f3c7c9;
  border-radius:24px;
  display:grid;
  place-items:center;
  margin:0 auto 18px;
  background:white;
  box-shadow:0 7px 20px #c5071811
}
.logo-ring .logo{
  width:72px
}
.welcome-eyebrow{
  font-size:10px;
  font-weight:750;
  text-transform:uppercase;
  letter-spacing:.12em;
  color:var(--red)
}
.welcome-art h1{
  margin:9px 0;
  font-size:22px;
  letter-spacing:-.5px
}
.welcome-art p{
  margin:0;
  color:#84858c;
  font-size:12px;
  line-height:1.7
}
.welcome-origin{
  display:flex;
  align-items:center;
  gap:8px;
  border-radius:11px;
  background:var(--green-bg);
  color:var(--green);
  padding:11px 12px;
  margin:0 0 17px;
  font-size:11px
}
.guest-welcome .welcome-card{
  padding:0;
  border:0;
  margin:0;
  min-height:0
}
.guest-welcome .field input{
  height:48px;
  background:white;
  font-size:14px
}
.guest-welcome .field>span{
  font-size:12px
}
.guest-welcome .btn{
  min-height:46px;
  font-size:13px;
  box-shadow:0 6px 15px #b9041820
}
.guest-welcome .inline-error:empty{
  display:none
}
.welcome-privacy{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  color:#92939b;
  font-size:10px;
  margin:22px 0 8px
}
.welcome-privacy .icon{
  width:14px;
  height:14px
}
@media(max-width:1220px){
  .guest-shell{
    gap:30px;
    padding-left:5%;
    padding-right:5%
  }
}
@media(max-width:930px){
  .guest-shell{
    display:flex;
    justify-content:center;
    padding-top:80px
  }
  .guest-story{
    display:none
  }
  .guest-shell .phone-frame{
    height:min(894px,calc(100svh - 110px))
  }
}
.welcome-card{
  margin:14px 24px 20px;
  padding:24px;
  border:1px solid var(--border);
  border-radius:16px;
  background:white;
  min-height:480px;
  display:flex;
  flex-direction:column
}
.welcome-card h1{
  font-size:24px;
  margin:20px 0 8px
}
.welcome-card p{
  font-size:12px;
  color:var(--muted);
  margin-bottom:45px
}
.welcome-card .notice{
  margin:22px 0 17px
}
.welcome-card .field input{
  height:46px
}
.welcome-foot{
  padding:0 24px;
  font-size:10px;
  color:var(--muted)
}
.welcome-foot p{
  text-align:center;
  font-size:9px;
  margin:18px 0
}
.guest-back{
  border:1px solid var(--border);
  background:white;
  width:34px;
  height:34px;
  border-radius:9px;
  display:grid;
  place-items:center
}
.guest-page-title{
  display:flex;
  align-items:center;
  gap:12px;
  font-size:14px;
  font-weight:600;
  flex:1
}
.guest-place{
  display:flex;
  align-items:center;
  gap:12px;
  width:100%;
  text-align:left;
  border:1px solid var(--border);
  background:#fff;
  border-radius:12px;
  padding:16px 14px;
  margin:10px 0
}
.guest-place .icon{
  color:var(--red)
}
.guest-place strong{
  font-size:11px;
  display:block
}
.guest-place p{
  margin:5px 0 0;
  font-size:9px;
  color:var(--muted)
}
.guest-place.highlight{
  background:var(--soft)
}
.guest-map .map-svg{
  min-height:260px;
  height:300px;
  width:100%
}
.guest-map .map-viewport{
  min-height:260px
}
.guest-table-card{
  background:white;
  border:1px solid var(--border);
  border-radius:12px;
  padding:15px;
  margin:13px 0
}
.guest-table-card strong{
  font-size:25px;
  color:var(--red)
}
.reference-card{
  display:flex;
  gap:12px;
  padding:14px;
  background:white;
  border:1px solid var(--border);
  border-radius:12px;
  margin:14px 0
}
.reference-art{
  width:52px;
  height:52px;
  border-radius:8px;
  background:#dfd3c8;
  flex:none;
  display:grid;
  place-items:center;
  color:#8c7566
}
.reference-card p{
  font-size:10px;
  color:var(--muted);
  margin:4px 0
}
.reference-photo{
  width:58px;
  height:58px;
  object-fit:cover;
  border-radius:8px
}
.mobile-section{
  width:100%;
  padding:16px;
  text-align:left;
  border:1px solid var(--border);
  border-radius:12px;
  background:white;
  margin:11px 0
}
.mobile-section summary{
  cursor:pointer;
  list-style:none;
  display:flex;
  gap:12px;
  align-items:center
}
.mobile-section .icon{
  padding:6px;
  width:30px;
  height:30px;
  background:var(--soft);
  color:var(--red);
  border-radius:8px
}
.mobile-section strong{
  font-size:12px
}
.mobile-section p{
  font-size:10px;
  color:var(--muted);
  margin:5px 0
}
.mobile-section ul{
  padding-left:20px;
  font-size:11px;
  line-height:1.9
}
.mobile-activity{
  padding:16px;
  border:1px solid var(--border);
  border-radius:12px;
  background:#fff;
  display:flex;
  gap:13px;
  align-items:center;
  margin:12px 0
}
.mobile-activity .activity-time{
  min-width:61px;
  font-size:13px;
  padding:18px 8px
}
.mobile-activity p{
  font-size:10px;
  color:var(--muted);
  margin:4px 0
}
.mobile-activity:nth-child(even) .activity-time{
  background:var(--red);
  color:white
}
.banner-card{
  width:100%;
  border:0;
  border-radius:14px;
  overflow:hidden;
  background:var(--red);
  color:white;
  text-align:left;
  padding:0;
  display:block;
  margin:14px 0
}
.banner-card img{
  width:100%;
  display:block;
  height:auto
}
.raffle-banner{
  background:radial-gradient(circle at 75% 14%,#e3302f 0,transparent 40%),linear-gradient(125deg,#8a0006,#bb000f 65%,#780008);
  color:#fff;
  border-radius:13px;
  padding:17px;
  display:flex;
  position:relative;
  overflow:hidden;
  min-height:192px;
  gap:4px
}
.raffle-banner:before{
  content:'✦   ✧   ✦';
  color:#ffad25;
  letter-spacing:23px;
  position:absolute;
  right:-7px;
  top:20px;
  opacity:.7;
  transform:rotate(-16deg);
  pointer-events:none
}
.raffle-banner .banner-copy{
  width:68%;
  position:relative;
  z-index:1
}
.raffle-banner .banner-label{
  display:inline-block;
  background:#fbd664;
  color:#8e0a10;
  font-size:10px;
  font-weight:900;
  padding:4px 8px;
  border-radius:8px;
  margin-bottom:8px
}
.raffle-banner strong{
  font-size:19px;
  line-height:1.08;
  display:block;
  margin:0 0 7px;
  font-weight:800
}
.raffle-banner strong em{
  color:#ffd25a;
  font-style:normal
}
.raffle-banner p{
  font-size:11px;
  line-height:1.45;
  color:#fff9;
  margin:0 0 9px
}
.raffle-banner .banner-cta{
  background:#fff;
  color:#bd0714;
  font-size:11px;
  font-weight:900;
  border-radius:8px;
  padding:7px 8px;
  display:inline-block
}
.raffle-banner .cup-illus{
  width:85px;
  height:136px;
  transform:rotate(13deg);
  position:absolute;
  right:12px;
  bottom:6px;
  filter:drop-shadow(6px 7px 7px #22000080)
}
.banner-fallback{
  padding:22px
}
.banner-fallback strong{
  display:block;
  font-size:18px;
  margin:10px 0
}
.banner-fallback p{
  font-size:11px;
  margin:5px 0;
  color:#fbdcdd
}
.banner-fallback .badge{
  background:#fff2d6;
  color:var(--deep)
}
.wizard-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) 350px;
  gap:16px
}
.wizard{
  display:grid;
  grid-template-columns:190px minmax(0,1fr);
  min-height:560px
}
.wizard-steps{
  border-right:1px solid var(--border);
  padding:22px 18px
}
.wizard-step{
  display:flex;
  align-items:center;
  gap:10px;
  background:none;
  border:0;
  padding:15px 0;
  text-align:left;
  width:100%;
  color:var(--muted);
  font-size:11px
}
.wizard-step>span{
  width:30px;
  height:30px;
  border-radius:50%;
  background:var(--warm);
  display:grid;
  place-items:center;
  flex:none
}
.wizard-step.active{
  color:var(--red);
  font-weight:600
}
.wizard-step.active>span{
  background:var(--red);
  color:white
}
.wizard-body{
  padding:24px
}
.category-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:12px
}
.category-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:12px;
  padding:22px;
  text-align:left
}
.category-card.active{
  border-color:var(--red);
  background:var(--soft);
  color:var(--red)
}
.category-card strong{
  display:block;
  margin:14px 0 4px
}
.category-card small{
  font-size:10px;
  color:var(--muted)
}
.block-card{
  border:1px solid var(--border);
  border-radius:12px;
  padding:14px;
  margin:12px 0
}
.wizard-preview{
  width:100%;
  max-height:620px;
  overflow:auto;
  background:var(--bg);
  border:1px solid var(--border);
  border-radius:18px;
  padding:16px
}
.editor-preview .phone-frame{
  transform-origin:top left;
  width:390px;
  height:650px;
  border-radius:18px
}
.editor-preview{
  height:545px;
  overflow:hidden
}
.preview-scale{
  transform:scale(.79);
  transform-origin:top left
}
.block-image{
  width:100%;
  border-radius:12px;
  display:block;
  margin:12px 0
}
.block-text{
  font-size:12px;
  white-space:pre-line;
  color:var(--muted)
}
.fact-row{
  padding:13px;
  background:white;
  border:1px solid var(--border);
  border-radius:10px;
  margin:10px 0;
  font-size:12px
}
.fact-row strong{
  display:block;
  font-size:10px;
  color:var(--red);
  margin-bottom:5px
}
.raffle-admin{
  display:grid;
  grid-template-columns:.85fr 1.1fr 1fr;
  gap:16px;
  align-items:start
}
.raffle-admin .panel{
  min-width:0
}
.participant-list{
  max-height:350px;
  overflow:auto
}
.roulette{
  height:320px;
  border-radius:16px;
  position:relative;
  overflow:hidden;
  background:#fffaf8;
  border:1px solid #e8d6ce;
  perspective:600px;
  touch-action:none;
  user-select:none;
  cursor:grab;
  margin:18px auto;
  width:100%;
  max-width:300px;
  box-shadow:inset 12px 0 25px #ead5cf,inset -12px 0 25px #ead5cf
}
.roulette:before,.roulette:after{
  content:'';
  position:absolute;
  left:0;
  right:0;
  height:80px;
  z-index:3;
  pointer-events:none
}
.roulette:before{
  top:0;
  background:linear-gradient(#e2cac8,transparent)
}
.roulette:after{
  bottom:0;
  background:linear-gradient(transparent,#e2cac8)
}
.roulette-selection{
  position:absolute;
  top:125px;
  left:8px;
  right:8px;
  height:70px;
  border:2px solid var(--red);
  border-radius:10px;
  z-index:2;
  background:#f9e9e833;
  pointer-events:none
}
.roulette-selection:before,.roulette-selection:after{
  content:'›';
  position:absolute;
  top:17px;
  left:-9px;
  font-size:25px;
  font-weight:700;
  color:var(--red)
}
.roulette-selection:after{
  content:'‹';
  left:auto;
  right:-9px
}
.roulette-number{
  position:absolute;
  top:136px;
  left:0;
  right:0;
  text-align:center;
  height:48px;
  line-height:48px;
  font-size:40px;
  font-weight:700;
  font-variant-numeric:tabular-nums;
  letter-spacing:4px;
  pointer-events:none
}
.roulette-msg{
  text-align:center;
  font-size:11px;
  color:var(--muted);
  line-height:1.7;
  margin:8px 0
}
.guest-draw{
  text-align:center;
  min-height:100%;
  padding:15px 24px 32px
}
.guest-draw h1{
  color:var(--deep);
  font-size:25px;
  margin:15px 0
}
.guest-draw .block-image{
  max-height:160px;
  object-fit:contain
}
.winner{
  background:#ad1020;
  color:white;
  text-align:center;
  padding:30px 24px 40px;
  min-height:100%;
  position:relative;
  overflow:hidden
}
.winner h1{
  font-size:34px;
  line-height:1.1;
  color:white;
  margin:22px 0
}
.winner h1 em{
  font-style:normal;
  color:#ffd469
}
.winner>p{
  font-size:15px;
  color:#ffecdf
}
.winner-card{
  position:relative;
  background:white;
  border-radius:18px;
  padding:28px 20px;
  color:var(--ink);
  margin:25px 0
}
.winner-card h2{
  font-size:25px;
  margin:18px 0 8px
}
.winner-card .fact-row{
  background:var(--soft);
  color:var(--muted);
  border:0;
  margin-top:24px;
  line-height:1.8
}
.winner .btn{
  background:#fff;
  color:var(--red);
  position:relative
}
.confetti{
  position:absolute;
  inset:0;
  pointer-events:none
}
.confetti i{
  position:absolute;
  width:8px;
  height:16px;
  background:#f2bd52;
  left:var(--left);
  top:-20px;
  animation:confetti-fall 4s linear infinite;
  animation-delay:var(--delay)
}
.modal-mask{
  position:fixed;
  inset:0;
  background:#28232288;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
  z-index:100;
  backdrop-filter:blur(2px)
}
.phone-frame .modal-mask{
  position:absolute;
  padding:12px
}
.dialog{
  width:560px;
  max-width:100%;
  max-height:90%;
  overflow:auto;
  border:1px solid var(--border);
  border-radius:18px;
  background:white;
  padding:24px;
  box-shadow:0 12px 60px #0002
}
.dialog.wide{
  width:820px
}
.dialog-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  margin-bottom:17px
}
.dialog-head h2{
  font-size:18px;
  margin:0
}
.dialog-actions{
  display:flex;
  justify-content:end;
  gap:10px;
  margin-top:18px
}
.phone-frame .dialog{
  padding:18px
}
.phone-frame .two-columns{
  grid-template-columns:1fr
}
.toast{
  position:fixed;
  right:24px;
  bottom:75px;
  padding:13px 17px;
  background:var(--ink);
  color:white;
  border-radius:11px;
  z-index:150;
  font-size:12px;
  max-width:420px;
  line-height:1.5
}
.phone-frame .toast{
  position:absolute;
  left:15px;
  right:15px;
  bottom:85px;
  max-width:none;
  font-size:11px
}
.toast.error{
  background:var(--red)
}
.demo-toolbar{
  position:fixed;
  right:24px;
  top:20px;
  z-index:70;
  display:flex;
  align-items:center;
  gap:6px;
  padding:5px;
  background:#ffffffed;
  border:1px solid #ffffff44;
  border-radius:13px;
  box-shadow:0 7px 22px #1600072e
}
.demo-toolbar.mode-guest{
  left:24px;
  right:auto
}
.demo-tools{
  position:relative;
  border-left:1px solid var(--border);
  padding-left:6px
}
.demo-tools>summary{
  cursor:pointer;
  background:transparent;
  color:#60636d;
  border-radius:9px;
  padding:10px;
  font-size:12px;
  font-weight:600;
  list-style:none;
  display:flex;
  align-items:center;
  gap:8px;
  min-height:40px
}
.demo-tools>summary::-webkit-details-marker{
  display:none
}
.demo-tools>summary:hover,.demo-tools[open]>summary{
  background:var(--soft);
  color:var(--red)
}
.demo-tools-body{
  position:absolute;
  right:0;
  top:calc(100% + 14px);
  width:340px;
  padding:20px;
  max-height:calc(100svh - 100px);
  overflow:auto;
  background:white;
  border:1px solid var(--border);
  border-radius:16px;
  box-shadow:0 18px 60px #23060c33;
  color:var(--ink)
}
.mode-guest .demo-tools-body{
  right:auto;
  left:calc(-1 * (340px - 100%))
}
.demo-tools-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:12px;
  font-size:15px
}
.demo-tool-section{
  padding:16px 0;
  border-top:1px solid var(--border)
}
.demo-tool-section h2{
  font-size:13px;
  margin-bottom:14px;
  color:var(--red)
}
.demo-tools-body .field{
  margin-bottom:12px
}
.demo-tools-body .field>span{
  font-size:12px
}
.demo-tools-body input,.demo-tools-body select{
  font-size:13px
}
.demo-caption{
  font-size:10px;
  color:var(--muted);
  line-height:1.6
}
.storage-warning{
  margin-bottom:16px
}
.startup{
  padding:30px
}
.clock-note{
  font-size:10px;
  color:var(--muted);
  margin-top:10px
}
.hidden{
  display:none!important
}
@keyframes route-move{
  to{
    stroke-dashoffset:-34
  }
}
@keyframes confetti-fall{
  to{
    transform:translateY(1000px) rotate(600deg)
  }
}
@media(max-width:1180px){
  .admin-shell{
    grid-template-columns:200px minmax(0,1fr)
  }
  .sidebar{
    padding:25px 16px
  }
  .admin-main{
    padding:76px 22px 30px
  }
  .editor-layout,.content-layout,.wizard-grid{
    grid-template-columns:minmax(0,1fr) 290px
  }
  .raffle-admin{
    grid-template-columns:1fr 1fr
  }
  .raffle-admin>.panel:last-child{
    grid-column:1/-1
  }
  .kpi{
    padding:18px
  }
  .kpi strong{
    font-size:27px
  }
  .wizard{
    grid-template-columns:150px 1fr
  }
  .editor-preview{
    height:480px
  }
  .preview-scale{
    transform:scale(.65)
  }
}
@media(max-width:950px){
  .admin-shell{
    grid-template-columns:76px minmax(0,1fr)
  }
  .sidebar{
    padding:25px 12px
  }
  .sidebar .logo{
    width:48px;
    margin:5px auto 20px
  }
  .brand-caption,.nav-item span,.sidebar-foot{
    display:none
  }
  .nav-item{
    justify-content:center;
    padding:12px
  }
  .editor-layout,.content-layout,.wizard-grid{
    grid-template-columns:1fr
  }
  .wizard-grid>aside{
    display:none
  }
  .kpis{
    grid-template-columns:repeat(2,1fr)
  }
  .dashboard-grid{
    grid-template-columns:1fr 1fr
  }
  .settings-grid{
    grid-template-columns:1fr
  }
  .inspector{
    max-height:none
  }
}
@media(max-width:640px){
  .admin-shell{
    display:block;
    padding-top:60px
  }
  .sidebar{
    height:auto;
    position:relative;
    padding:10px;
    display:block
  }
  .sidebar>.logo{
    display:none
  }
  .sidebar nav{
    display:flex;
    overflow:auto;
    gap:4px
  }
  .nav-item{
    min-width:43px
  }
  .admin-main{
    padding:0 12px 90px
  }
  .page-head{
    align-items:flex-start;
    flex-direction:column;
    gap:12px
  }
  .admin-main .page-head h1{
    font-size:25px
  }
  .dashboard-grid,.two-columns,.raffle-admin{
    grid-template-columns:1fr
  }
  .raffle-admin>.panel:last-child{
    grid-column:auto
  }
  .kpi strong{
    font-size:26px
  }
  .kpi-icon{
    display:none
  }
  .kpis{
    gap:8px
  }
  .guest-shell{
    padding:0;
    display:block;
    background:white
  }
  .guest-shell:before,.phone-mockup:before,.phone-mockup:after,.phone-status{
    display:none
  }
  .phone-mockup{
    width:100%
  }
  .guest-shell .phone-frame{
    border:0;
    border-radius:0;
    width:100%;
    height:100dvh;
    min-height:0;
    max-height:none;
    box-shadow:none
  }
  .guest-shell .phone-screen{
    padding-top:0
  }
  .guest-header{
    padding-top:calc(63px + env(safe-area-inset-top,0px))
  }
  .winner{
    padding-top:calc(70px + env(safe-area-inset-top,0px))
  }
  .demo-toolbar,.demo-toolbar.mode-guest{
    top:7px;
    right:9px;
    left:auto;
    gap:3px;
    padding:4px;
    box-shadow:0 4px 15px #0001
  }
  .presentation-switch .btn{
    padding:8px;
    font-size:11px;
    min-height:36px
  }
  .demo-tools>summary{
    padding:8px;
    min-height:36px
  }
  .demo-tools>summary span{
    display:none
  }
  .demo-tools-body,.mode-guest .demo-tools-body{
    right:0;
    left:auto;
    width:min(340px,calc(100vw - 22px));
    max-height:calc(100svh - 80px);
    padding:18px
  }
  .phone-frame .toast{
    bottom:110px
  }
  .wizard{
    display:block
  }
  .wizard-steps{
    display:flex;
    padding:12px;
    border-right:0;
    border-bottom:1px solid var(--border);
    gap:8px;
    overflow:auto
  }
  .wizard-step{
    font-size:10px;
    padding:0;
    min-width:52px;
    flex-direction:column;
    gap:4px
  }
  .wizard-body{
    padding:18px
  }
  .dialog{
    padding:18px
  }
  .map-svg,.map-viewport{
    min-height:250px
  }
  .table-tools .search{
    min-width:0
  }
  .data-table td,.data-table th{
    padding:10px
  }
  .category-card{
    padding:15px
  }
}
@media(prefers-reduced-motion:reduce){
  *,*:before,*:after{
    animation:none!important;
    transition:none!important;
    scroll-behavior:auto!important
  }
  .confetti{
    display:none
  }
}
.login-intro{
  padding-top:30px
}
.login-intro>p{
  margin-bottom:60px
}
.login-intro>.notice{
  margin-bottom:16px
}
.login-intro .welcome-card{
  margin:0 0 16px;
  padding:16px;
  min-height:0;
  border-radius:14px
}
.login-intro .welcome-card .field input{
  height:48px
}
.login-intro .welcome-foot{
  padding:14px;
  display:flex;
  align-items:center;
  gap:10px;
  background:var(--warm);
  border-radius:10px
}
.login-intro .welcome-foot .icon{
  color:var(--red)
}
.login-intro .inline-error:empty{
  display:none
}
.banner-card[aria-disabled=true]{
  cursor:default
}
/* Consulta de mesas e impressão de referências publicadas. */
.map-consult-layout{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:18px;align-items:start}
.map-consult-layout .search{max-width:none;margin-bottom:16px}
.map-consult-layout .map-toolbar{flex-wrap:wrap;gap:10px}
#admin-map{touch-action:none;cursor:grab}
#admin-map .map-point{cursor:pointer}
.map-results{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px;max-height:160px;overflow:auto}
.table-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;background:var(--bg);padding:16px;border-radius:12px;margin:18px 0}
.table-summary strong{display:block;font-size:24px}.table-summary small{font-size:11px;color:var(--muted)}
.table-guests{max-height:480px;overflow:auto;margin-top:16px;padding-right:4px}
.table-guest{padding:14px 0;border-bottom:1px solid var(--border)}
.table-guest .row+.row{margin-top:10px}.table-guest small{display:block;margin-top:4px;font-size:11px;color:var(--muted)}
.qr-selection{max-height:300px;overflow:auto;display:grid;grid-template-columns:1fr 1fr;margin:16px 0}
#qr-print-sheet{display:none}.qr-print-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.qr-label{background:white;color:#111;padding:12px;text-align:center;border:1px dashed #ccc;display:flex;flex-direction:column;align-items:center;break-inside:avoid}
.qr-label h2{font-size:16px;margin:6px 0}.qr-label svg{width:160px;height:160px}.qr-label small{font-size:11px}.qr-label span,.qr-label code{font-size:10px}
.qr-label code{max-width:100%;overflow-wrap:anywhere;line-height:1.15}
@media(max-width:950px){.map-consult-layout{grid-template-columns:1fr}}
@media(max-width:640px){.qr-selection,.qr-print-grid{grid-template-columns:1fr}.table-guests{max-height:none}}
@media print{
  @page{size:A4 portrait;margin:12mm}
  body{background:white!important}body>*{display:none!important}body>#qr-print-sheet{display:block!important}
  .qr-print-grid{grid-template-columns:85mm 85mm;gap:6mm;justify-content:start}
  .qr-label{width:85mm;height:80mm;padding:4mm;border:1px dashed #bbb;overflow:hidden;break-inside:avoid;page-break-inside:avoid}
  .qr-label svg{width:48mm;height:48mm;flex:none}.qr-label h2{font-size:12pt;line-height:1.1;margin:2mm 0}.qr-label small{font-size:8pt}.qr-label span,.qr-label code{font-size:7pt}
}

/* Identity is scoped to the published application or an explicit draft preview. */
.logo.custom-logo,.sidebar .logo.custom-logo,.guest-story>.logo.custom-logo{filter:none;object-fit:contain;max-height:82px;width:auto;max-width:100%}
.branding-color{display:grid;grid-template-columns:100px minmax(0,1fr);gap:16px;align-items:end}
.branding-color input[type=color]{height:44px;width:100%;padding:4px;cursor:pointer}
.branding-logo-preview{display:flex;align-items:center;justify-content:center;padding:24px;background:var(--bg);border:1px dashed var(--border);border-radius:12px;margin:16px 0;min-height:110px}
.branding-logo-preview .logo{max-height:90px;width:auto;max-width:100%;object-fit:contain}
.identity-previews{color:var(--bg-ink);background:var(--bg);border-radius:14px;padding:14px;overflow:hidden}
.identity-previews>h3{margin:0 0 12px}
.identity-admin-preview{display:grid;grid-template-columns:100px minmax(0,1fr);border:1px solid var(--border);border-radius:12px;overflow:hidden;margin-bottom:24px;font-size:12px}
.identity-admin-preview>aside{background:var(--deep);color:var(--on-deep);padding:14px 10px}
.identity-admin-preview>aside .logo{width:78px;object-fit:contain}
.identity-admin-preview>aside p{display:flex;gap:5px;align-items:center;font-size:10px}
.identity-admin-preview>div{padding:12px;background:var(--bg);color:var(--bg-ink)}
.identity-admin-preview .panel-pad{padding:12px;margin-top:14px}
.identity-admin-preview .btn{font-size:10px;min-height:30px;padding:8px;white-space:normal}
.identity-phone-preview{width:100%;max-width:300px;height:380px;margin:0 auto;border:8px solid #171717;border-radius:28px;overflow:hidden;position:relative;box-shadow:0 10px 24px #0002}
.identity-phone-preview .phone-screen{height:100%;overflow:auto;padding:0;background:var(--bg)}
.identity-phone-preview .guest-header{position:static;padding:14px}
.identity-phone-preview .guest-content{padding:18px}
.identity-phone-preview .guest-content h2{font-size:21px}
.identity-phone-preview .guest-content p{font-size:12px}
.identity-phone-preview .panel-pad{padding:14px;margin:16px 0}
.identity-phone-preview .btn{font-size:11px;min-height:36px;padding:10px}
.identity-shortcuts{font-size:11px;justify-content:space-between}
.brand-scope[data-theme=custom]{color:var(--bg-ink)}
.brand-scope[data-theme=custom] :is(.panel,.section-card,.activity-card,.category-card,.block-card,.banner-campaign,.dialog,.mobile-section,.mobile-activity,.quick-card,.welcome-card,.guest-header,.guest-bottom,.search,.list-row,.field input,.field select,.field textarea,.icon-btn,.btn.secondary,.fact-row,.map-surface){background:var(--surface);color:var(--ink)}
.brand-scope[data-theme=custom] :is(.panel,.section-card,.activity-card,.category-card,.block-card,.banner-campaign,.dialog,.mobile-section,.mobile-activity) .muted{color:var(--muted)}
.brand-scope[data-theme=custom] :is(.phone-screen,.guest-content,.guest-map,.identity-admin-preview>div){background:var(--bg);color:var(--bg-ink)}
.brand-scope[data-theme=custom] :is(.page-head p,.guest-content>p){color:var(--bg-muted)}
.brand-scope[data-theme=custom] :is(.btn.primary,.activity-time,.mobile-activity:nth-child(even) .activity-time,.banner-card,.wizard-step.active>span,.guest-bottom button.active){background:var(--red);color:var(--on-primary)}
.brand-scope[data-theme=custom] :is(.badge.red,.avatar,.table-summary,.tab.active,.notice.neutral,.category-card.active,.guest-checkin,.guest-info,.block-editor-note){background:var(--soft);color:var(--soft-ink)}
.brand-scope[data-theme=custom] .sidebar{background:linear-gradient(160deg,var(--deep),var(--red));color:var(--on-primary)}
.brand-scope[data-theme=custom] .sidebar :is(.brand-caption,.nav-item,.sidebar-foot){color:inherit}
.brand-scope[data-theme=custom] .nav-item.active{background:var(--red);color:var(--on-primary)}
.brand-scope[data-theme=custom].guest-shell{background:radial-gradient(circle at 90% 25%,#ffffff44,transparent 20%),linear-gradient(132deg,var(--deep),var(--red) 43%,var(--deep))}
.brand-scope[data-theme=custom] .guest-story{color:var(--on-deep)}
.brand-scope[data-theme=custom] .guest-story :is(.story-eyebrow,.story-checks,.story-tag,p){color:inherit}
.brand-scope[data-theme=custom] .welcome-art{background:var(--soft);color:var(--soft-ink)}
.brand-scope[data-theme=custom] .welcome-art p{color:inherit}
.brand-scope[data-theme=custom] .guest-bottom button:not(.active){color:var(--ink)}
@media(max-width:640px){.brand-scope[data-theme=custom].guest-shell{background:var(--bg)}.identity-admin-preview{grid-template-columns:80px minmax(0,1fr)}}
.brand-scope[data-theme=custom] :is(.guest-quick button,.guest-table-card,.guest-place,.reference-card,.logo-ring){background:var(--surface);color:var(--ink)}
.brand-scope[data-theme=custom] :is(.map-cta,.guest-quick .icon){background:var(--red);color:var(--on-primary)}
.brand-scope[data-theme=custom] .map-cta small{color:inherit}
.brand-scope[data-theme=custom] .map-cta .icon{background:var(--surface);color:var(--ink)}
.brand-scope[data-theme=custom] .welcome-eyebrow{color:var(--soft-ink)}
.brand-scope[data-theme=custom] .wizard-step.active{color:var(--ink)}
.brand-scope[data-theme=custom] .guest-place.highlight{border-color:var(--red)}

/* Rich campaigns and a phone preview, sharing the current typography and icons. */
.banner-campaigns{display:grid;gap:18px;margin-top:20px}
.banner-campaign{display:grid;grid-template-columns:240px minmax(0,1fr);gap:24px;border:1px solid var(--border);border-radius:16px;padding:20px;background:#fff;overflow:hidden}
.campaign-visual .banner-card{margin:0}
.campaign-visual .raffle-banner{min-height:220px}
.campaign-details h3{font-size:18px;margin:14px 0 5px}
.campaign-category{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:750;color:var(--muted)}
.campaign-public-title{font-weight:600;margin:4px 0 8px;font-size:14px}
.campaign-meta{display:grid;grid-template-columns:1fr 1fr;gap:14px 24px;margin:18px 0}
.campaign-meta dt{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:12px;margin-bottom:5px}
.campaign-meta dd{margin:0;font-size:13px}
.campaign-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center;border-top:1px solid var(--border);padding-top:16px;margin-top:14px}
.campaign-order{margin-left:auto;display:flex;gap:6px}
.wizard-step small{display:block;font-size:11px;font-weight:400;margin-top:5px;color:var(--muted);line-height:1.4}
.wizard-step strong{font-size:13px}
.wizard-step.done>span{background:var(--soft);color:var(--red)}
.wizard-step.done .icon{width:17px;height:17px}
.wizard-step[aria-current=step] small{color:var(--muted)}
.category-card{position:relative;min-height:155px}
.category-card>.icon{width:26px;height:26px}
.category-radio{width:15px;height:15px;border:1px solid var(--border);border-radius:50%;position:absolute;right:15px;top:17px;background:#fff}
.category-card.active .category-radio{border:4px solid var(--red)}
.editor-group{border:1px solid var(--border);padding:18px;border-radius:12px;margin:20px 0;background:var(--surface,#fff)}
.editor-group>h3{margin:0 0 18px}
.blocks-editor{margin:20px 0 16px}
.blocks-editor>summary{cursor:pointer;font-weight:750;padding:12px 0;display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.blocks-editor>p{margin:4px 0 18px}
.cover-preview-image{display:block;max-width:100%;width:auto;max-height:200px;object-fit:contain;margin:12px 0 18px;border-radius:10px}
.cover-empty{padding:24px;text-align:center;border:1px dashed var(--border);border-radius:10px;color:var(--muted);margin:12px 0 18px}
.campaign-preview-panel{align-self:start;position:sticky;top:24px}
.preview-tabs{flex-wrap:wrap;gap:7px;margin:16px 0 22px}
.preview-tabs .btn{flex:1;justify-content:center;white-space:normal;line-height:1.35}
.campaign-phone{width:294px;height:572px;position:relative;margin:0 auto}
.campaign-phone>.phone-frame{width:390px;height:760px;transform:scale(.75);transform-origin:top left;border:8px solid #181818;border-radius:42px;overflow:hidden;position:relative;box-shadow:0 8px 30px #0003;background:#fff}
.campaign-phone .phone-screen{position:absolute;inset:28px 0 69px;padding:0;overflow:auto;background:var(--bg)}
.campaign-phone .guest-header{position:static}
.campaign-phone .guest-content{padding:18px;background:#fff}
.campaign-phone .guest-content h1{font-size:23px}
.campaign-phone .guest-content .block-text{font-size:13px;white-space:pre-wrap}
.campaign-phone .guest-bottom{height:69px;padding:12px}
.campaign-phone .guest-bottom>span{display:grid;justify-items:center;font-size:11px;gap:5px;color:var(--muted)}
.campaign-phone .guest-bottom>span:first-child{color:var(--red)}
.preview-status{height:28px;display:flex;align-items:center;justify-content:space-between;padding:0 20px;font-size:12px;background:var(--surface,#fff);color:var(--ink)}
.preview-notch{display:block;background:#181818;width:110px;height:22px;border-radius:0 0 15px 15px}
.mini-fake-search{display:flex;gap:10px;align-items:center;border:1px solid var(--border);padding:12px;border-radius:12px;margin:18px 0;color:var(--muted);font-size:12px}
.mini-quick{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:16px 0}
.mini-quick>div{padding:14px 5px;border:1px solid var(--border);border-radius:10px;display:grid;justify-items:center;gap:7px;font-size:11px;text-align:center}
.brand-scope[data-theme=custom] .editor-group{color:var(--ink)}
.brand-scope[data-theme=custom] .campaign-phone .guest-content{background:var(--bg);color:var(--bg-ink)}
@media(max-width:1200px){.wizard-grid{grid-template-columns:minmax(0,1fr)}.campaign-preview-panel{position:static}.campaign-preview-panel>h2,.campaign-preview-panel>p,.campaign-preview-panel>.preview-tabs{max-width:390px;margin-left:auto;margin-right:auto}.wizard-grid>aside{display:block}}
@media(max-width:950px){.wizard-grid>aside{display:block}.banner-campaign{grid-template-columns:200px minmax(0,1fr);gap:18px}.campaign-meta{grid-template-columns:1fr}}
@media(max-width:640px){.banner-campaign{grid-template-columns:1fr;padding:16px}.campaign-visual{max-width:320px}.campaign-meta{grid-template-columns:1fr 1fr}.wizard-step strong{font-size:10px}.wizard-step small{display:none}.campaign-preview-panel{padding:16px}.editor-group{padding:14px}.two-columns{grid-template-columns:1fr}}
@media(max-width:380px){.campaign-phone{width:260px;height:507px}.campaign-phone>.phone-frame{transform:scale(.6667)}}
.brand-scope[data-theme=custom] .icon{color:inherit}
.brand-scope[data-theme=custom] .kpi-icon.red{background:var(--soft);color:var(--soft-ink)}
.brand-scope[data-theme=custom] input::placeholder{color:var(--muted);opacity:1}
.brand-scope[data-theme=custom] .map-route{stroke:var(--map-route)}
.sidebar .logo.custom-logo{max-width:calc(100% - 34px);max-height:72px}
.guest-header .logo.custom-logo{width:auto;max-width:140px;max-height:36px}
.logo-ring .logo.custom-logo{width:auto;max-width:90px;max-height:64px}
.identity-admin-preview>aside .logo.custom-logo{width:auto;max-width:78px;max-height:40px}
