/* =========================================================
   COOKIETERIA OS 6.0.3 — FINAL CONSOLIDADO
   Camada visual final. Mantém compatibilidade com as fases
   anteriores e corrige estrutura, navegação e responsividade.
   ========================================================= */

:root{
  --final-bg:#f5f1ec;
  --final-bg-soft:#fbf8f4;
  --final-surface:#ffffff;
  --final-surface-warm:#fffaf1;
  --final-ink:#281812;
  --final-muted:#745f56;
  --final-line:rgba(71,42,30,.13);
  --final-line-strong:rgba(71,42,30,.2);
  --final-brand:#ba3902;
  --final-brand-dark:#7f2506;
  --final-yellow:#ffeb88;
  --final-success:#1d7a46;
  --final-warning:#b56a08;
  --final-danger:#a72b20;
  --final-radius-xl:30px;
  --final-radius-lg:22px;
  --final-radius-md:16px;
  --final-radius-sm:12px;
  --final-shadow-xl:0 28px 80px rgba(64,31,16,.15);
  --final-shadow-lg:0 16px 42px rgba(64,31,16,.10);
  --final-shadow-md:0 8px 24px rgba(64,31,16,.075);
  --final-shadow-sm:0 3px 12px rgba(64,31,16,.055);
  --final-content:1240px;
  --final-nav-height:82px;
}

html{
  min-height:100%;
  background:var(--final-bg);
  scroll-behavior:smooth;
  -webkit-text-size-adjust:100%;
}

body{
  min-height:100%;
  color:var(--final-ink);
  background:
    radial-gradient(circle at 7% -8%,rgba(255,235,136,.34),transparent 34rem),
    radial-gradient(circle at 100% 12%,rgba(186,57,2,.06),transparent 26rem),
    linear-gradient(180deg,var(--final-bg-soft),var(--final-bg));
  padding-bottom:calc(var(--final-nav-height) + env(safe-area-inset-bottom));
  font-feature-settings:"kern" 1,"liga" 1,"calt" 1;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

button,input,select,textarea{font:inherit}
button,a{-webkit-tap-highlight-color:transparent}
button{cursor:pointer}
button:disabled{cursor:not-allowed}

:focus-visible{
  outline:3px solid rgba(186,57,2,.28)!important;
  outline-offset:3px;
}

.os-icon-sprite{
  position:absolute!important;
  width:0!important;
  height:0!important;
  overflow:hidden!important;
  pointer-events:none!important;
}

.app-shell{
  width:min(100%,var(--final-content));
  max-width:var(--final-content)!important;
  margin:0 auto;
}

.content,
.app-main,
.main-content{
  width:100%;
  padding-left:clamp(14px,2.4vw,30px)!important;
  padding-right:clamp(14px,2.4vw,30px)!important;
  padding-bottom:calc(var(--final-nav-height) + 42px + env(safe-area-inset-bottom))!important;
}

/* ---------- Cabeçalho ---------- */
.hero{
  margin:clamp(10px,2vw,22px) clamp(10px,2vw,22px) 14px!important;
  padding:clamp(18px,3vw,30px)!important;
  min-height:126px;
  border-radius:var(--final-radius-xl)!important;
  border:1px solid rgba(255,255,255,.16);
  background:
    radial-gradient(circle at 84% 18%,rgba(255,235,136,.24),transparent 16rem),
    linear-gradient(135deg,#3d170d 0%,#7d2509 48%,#ba3902 100%)!important;
  box-shadow:0 22px 58px rgba(89,31,10,.23)!important;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
  overflow:hidden;
}

.hero:before{
  content:"";
  position:absolute;
  inset:0;
  background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);
  background-size:28px 28px;
  mask-image:linear-gradient(90deg,transparent,black 35%,black);
  pointer-events:none;
}

.hero:after{
  width:260px!important;
  height:260px!important;
  right:-105px!important;
  top:-130px!important;
  background:rgba(255,235,136,.13)!important;
}

.brand-row{
  min-width:0;
  flex:1 1 auto;
  gap:16px!important;
}

.brand-mark{
  width:58px!important;
  height:58px!important;
  flex:0 0 58px;
  border-radius:19px!important;
  background:rgba(255,255,255,.1)!important;
  border:1px solid rgba(255,255,255,.18);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.15);
}

.brand-mark img{width:42px;height:42px;object-fit:contain}
.hero h1{font-size:clamp(25px,3.1vw,38px)!important;letter-spacing:-.045em;margin:4px 0 7px!important}
.hero p{font-size:clamp(12px,1.35vw,14px)!important;line-height:1.5;max-width:620px!important;color:rgba(255,255,255,.82)}
.hero .eyebrow{color:var(--final-yellow)}

.hero-actions{
  position:relative;
  z-index:2;
  display:flex;
  justify-content:flex-end;
  align-items:center;
  flex-wrap:wrap;
  gap:9px;
  flex:0 1 490px;
}

.profile-chip,.notify-btn,.access-btn,.install-btn{
  min-height:46px!important;
  border-radius:15px!important;
  border:1px solid rgba(255,255,255,.18)!important;
  background:rgba(255,255,255,.10)!important;
  color:#fff!important;
  box-shadow:none!important;
  backdrop-filter:blur(10px);
}

.notify-btn,.access-btn,.install-btn{padding:10px 13px!important;font-weight:800!important}
.profile-chip:hover,.notify-btn:hover,.access-btn:hover,.install-btn:hover{background:rgba(255,255,255,.17)!important;transform:translateY(-1px)}
.notify-count{background:var(--final-yellow)!important;color:var(--final-brand-dark)!important}
.profile-avatar{background:var(--final-yellow)!important;color:var(--final-brand-dark)!important}

/* ---------- Estrutura de painéis ---------- */
.panel{padding-top:2px}
.panel.active{animation:finalPanelIn .24s ease both}
@keyframes finalPanelIn{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}

.section-title{
  margin:clamp(24px,3vw,38px) 0 16px!important;
  gap:16px!important;
}

.section-title:first-child{margin-top:22px!important}
.section-title h2{
  font-size:clamp(1.7rem,3.4vw,2.55rem)!important;
  line-height:1.02!important;
  letter-spacing:-.05em!important;
  color:var(--final-ink);
}
.section-title h3{letter-spacing:-.025em}
.section-title p{max-width:760px}
.section-title.compact{margin:0 0 16px!important}
.section-title.compact h3{font-size:clamp(1.1rem,2vw,1.35rem)}

.eyebrow.yellow{
  padding:6px 10px!important;
  border-radius:999px!important;
  color:#623500!important;
  background:linear-gradient(135deg,#ffefa4,var(--final-yellow))!important;
  box-shadow:inset 0 0 0 1px rgba(92,49,0,.08);
}

.muted{color:var(--final-muted)!important;font-weight:600!important}
.sync-state,.api-badge{
  border:1px solid var(--final-line)!important;
  background:rgba(255,255,255,.78)!important;
  box-shadow:var(--final-shadow-sm);
}

/* ---------- Cartões e métricas ---------- */
.quick-status{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:12px!important;
  margin:16px 0!important;
}
.quick-status.four{grid-template-columns:repeat(4,minmax(0,1fr))!important}

.status-card,.smart-stat,.metrics-grid article{
  min-height:118px!important;
  padding:18px!important;
  border:1px solid var(--final-line)!important;
  border-radius:var(--final-radius-lg)!important;
  background:linear-gradient(150deg,#fff,var(--final-surface-warm))!important;
  box-shadow:var(--final-shadow-sm)!important;
  overflow:hidden;
}
.status-card:before,.smart-stat:before,.metrics-grid article:before{
  content:"";
  position:absolute;
  left:0;right:0;top:0;height:4px;
  background:linear-gradient(90deg,var(--final-brand),#de6d31,var(--final-yellow));
  opacity:.86;
}
.status-card.urgent{background:linear-gradient(150deg,#fff,#fff2e9)!important}
.status-card strong,.smart-stat strong,.metrics-grid article strong{
  color:var(--final-brand-dark)!important;
  font-size:clamp(1.55rem,3.2vw,2.15rem)!important;
  letter-spacing:-.045em;
}
.status-card small,.smart-stat small,.metrics-grid article small{font-weight:650!important;color:var(--final-muted)!important}
.label{color:var(--final-muted)!important;font-size:10px!important;letter-spacing:.12em!important}

.action-card,.wide-card,.form-card,.premium-card,.item-card,.list-card,.connection-card{
  border:1px solid var(--final-line)!important;
  border-radius:var(--final-radius-lg)!important;
  background:var(--final-surface)!important;
  box-shadow:var(--final-shadow-sm)!important;
}

.form-card,.premium-card{padding:clamp(16px,2.2vw,24px)!important}
.wide-card{padding:clamp(18px,2.5vw,28px)!important}
.item-card,.list-card{padding:16px!important}

.item-card,.list-card,.action-card,.form-card,.premium-card{
  transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease;
}
.item-card.is-clickable:hover,.list-card:hover,.action-card:hover{
  border-color:rgba(186,57,2,.24)!important;
  box-shadow:var(--final-shadow-md)!important;
  transform:translateY(-2px);
}

.action-grid{
  grid-template-columns:repeat(auto-fit,minmax(190px,1fr))!important;
  gap:13px!important;
}
.action-card{
  min-height:126px!important;
  padding:18px!important;
  position:relative;
  overflow:hidden;
}
.action-card:before{
  content:"";
  position:absolute;
  inset:auto -36px -48px auto;
  width:110px;height:110px;border-radius:50%;
  background:rgba(255,235,136,.24);
}
.action-card:after{
  content:"→";
  position:absolute;
  right:16px;
  bottom:14px;
  color:var(--final-brand);
  font-size:18px;
  font-weight:900;
}
.action-card span{font-size:18px!important;color:var(--final-brand-dark)!important;position:relative}
.action-card small{padding-right:26px;position:relative}

.meta-grid{
  grid-template-columns:repeat(auto-fit,minmax(150px,1fr))!important;
  gap:9px!important;
}
.meta{
  min-width:0;
  padding:12px!important;
  border:1px solid rgba(71,42,30,.07);
  border-radius:14px!important;
  background:linear-gradient(145deg,#fffaf4,#fff)!important;
}
.meta b{overflow-wrap:anywhere}

.card-list{gap:11px!important}
.empty-state{
  padding:28px!important;
  border:1px dashed var(--final-line-strong)!important;
  border-radius:var(--final-radius-lg)!important;
  background:rgba(255,255,255,.58)!important;
}

/* ---------- Formulários ---------- */
input,select,textarea,
.search-box input,
.form-card input,.form-card select,.form-card textarea{
  width:100%;
  min-height:50px!important;
  padding:12px 14px!important;
  border:1px solid rgba(71,42,30,.17)!important;
  border-radius:14px!important;
  color:var(--final-ink)!important;
  background:#fff!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.8)!important;
}
textarea{min-height:98px!important}
input::placeholder,textarea::placeholder{color:#a3938b;opacity:1}
input:focus,select:focus,textarea:focus{
  border-color:var(--final-brand)!important;
  box-shadow:0 0 0 4px rgba(186,57,2,.10)!important;
}
.form-card label,.phase9-form label,.phase10-form label,.phase11-form label{
  color:#5f4a41!important;
  letter-spacing:.025em!important;
}

.primary-btn,.secondary-btn,.mini-btn,.refresh-btn,.text-btn{
  min-height:44px;
  border-radius:14px!important;
  font-weight:800!important;
  transition:transform .16s ease,box-shadow .16s ease,filter .16s ease!important;
}
.primary-btn{
  color:#fff!important;
  border:1px solid var(--final-brand)!important;
  background:linear-gradient(135deg,var(--final-brand),var(--final-brand-dark))!important;
  box-shadow:0 9px 20px rgba(186,57,2,.20)!important;
}
.secondary-btn,.mini-btn{
  color:var(--final-brand-dark)!important;
  border:1px solid rgba(186,57,2,.22)!important;
  background:#fff!important;
  box-shadow:var(--final-shadow-sm)!important;
}
.primary-btn:hover,.secondary-btn:hover,.mini-btn:hover,.refresh-btn:hover{transform:translateY(-1px);filter:saturate(1.04)}
.primary-btn:active,.secondary-btn:active,.mini-btn:active,.refresh-btn:active{transform:translateY(0) scale(.99)}

.pill,.status-pill{
  border:1px solid rgba(71,42,30,.08);
  font-weight:850!important;
}

/* ---------- Dashboard ---------- */
.home-cockpit{
  border-radius:30px!important;
  background:
    radial-gradient(circle at 87% 13%,rgba(255,235,136,.23),transparent 15rem),
    linear-gradient(135deg,#3c1a10,#7f270b 58%,#ba3902)!important;
  box-shadow:0 22px 58px rgba(82,31,13,.19)!important;
  border:1px solid rgba(255,255,255,.10)!important;
}
.home-cockpit h3{font-size:clamp(1.45rem,3vw,2.05rem)!important;letter-spacing:-.04em}
.health-ring{box-shadow:inset 0 0 0 1px rgba(255,255,255,.15),0 10px 30px rgba(0,0,0,.12)}
.home-smart-stats{gap:12px!important}
.home-premium-grid,.home-product-pulse{gap:14px!important}
.decision-item{border-radius:16px!important}

/* ---------- Listas e tabelas ---------- */
table{width:100%;border-collapse:separate;border-spacing:0}
th{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--final-muted);text-align:left}
th,td{padding:12px 13px;border-bottom:1px solid var(--final-line)}
tbody tr:hover{background:rgba(255,235,136,.10)}

/* ---------- Login ---------- */
.login-gate{
  background:
    radial-gradient(circle at 15% 5%,rgba(255,235,136,.65),transparent 26rem),
    radial-gradient(circle at 95% 85%,rgba(186,57,2,.10),transparent 24rem),
    linear-gradient(160deg,#fffaf0,#f4efea)!important;
  padding:max(20px,env(safe-area-inset-top)) 16px max(20px,env(safe-area-inset-bottom))!important;
}
.login-card{
  width:min(600px,100%)!important;
  padding:clamp(25px,5vw,48px)!important;
  border-radius:34px!important;
  border:1px solid rgba(186,57,2,.16)!important;
  background:rgba(255,255,255,.94)!important;
  box-shadow:var(--final-shadow-xl)!important;
  backdrop-filter:blur(18px);
}
.login-card:before{height:7px!important}
.login-logo{width:78px!important;height:78px!important;object-fit:contain;margin-bottom:10px}
.login-card h1{font-size:clamp(2rem,6vw,3.1rem)!important;letter-spacing:-.055em;color:var(--final-brand-dark)}
.login-card>p{line-height:1.6}
.access-steps{gap:9px!important}
.access-step{border-radius:15px!important}
.account-access-actions .primary-btn,.account-access-actions .secondary-btn,.login-form>.primary-btn,.login-form>.secondary-btn{min-height:54px!important}
.recognized-account{border-radius:18px!important}

/* ---------- Modal e folhas ---------- */
.sheet-backdrop,.profile-modal-backdrop,.dedication-modal-backdrop,.receipt-overlay,.kitchen-order-overlay{
  backdrop-filter:blur(12px)!important;
  -webkit-backdrop-filter:blur(12px)!important;
}
.bottom-sheet,.profile-modal,.receipt-modal,.kitchen-order-modal{
  border:1px solid rgba(255,255,255,.35)!important;
  box-shadow:var(--final-shadow-xl)!important;
}
.sheet-close{display:grid;place-items:center}
.receipt-modal{border-radius:28px!important}
.receipt-preview-wrap{border-radius:20px!important;background:#eae6e1!important}

/* ---------- Navegação inferior ---------- */
.bottom-nav{
  left:50%!important;
  bottom:0!important;
  width:min(980px,calc(100% - 20px))!important;
  transform:translateX(-50%)!important;
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
  gap:4px!important;
  padding:8px 8px max(8px,env(safe-area-inset-bottom))!important;
  border:1px solid rgba(71,42,30,.11)!important;
  border-bottom:0!important;
  border-radius:23px 23px 0 0!important;
  background:rgba(255,255,255,.93)!important;
  box-shadow:0 -10px 35px rgba(63,34,20,.11)!important;
  backdrop-filter:blur(24px) saturate(1.2)!important;
  -webkit-backdrop-filter:blur(24px) saturate(1.2)!important;
  z-index:1000!important;
}
.bottom-nav a{
  min-width:0;
  height:62px!important;
  min-height:62px!important;
  border-radius:15px!important;
  gap:4px!important;
  color:#7d6d65!important;
  font-size:10.5px!important;
  font-weight:800!important;
  transition:background .16s ease,color .16s ease,transform .16s ease!important;
}
.bottom-nav a svg{
  width:21px;height:21px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.9;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.bottom-nav a span{font-size:10.5px!important;line-height:1!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}
.bottom-nav a.active{
  color:var(--final-brand-dark)!important;
  background:linear-gradient(145deg,rgba(255,235,136,.58),rgba(186,57,2,.08))!important;
  box-shadow:inset 0 0 0 1px rgba(186,57,2,.08)!important;
}
.bottom-nav a:active{transform:scale(.97)}

.toast{
  bottom:calc(var(--final-nav-height) + 18px + env(safe-area-inset-bottom))!important;
  border-radius:16px!important;
  background:#2d1710!important;
  box-shadow:var(--final-shadow-lg)!important;
}

/* =========================================================
   CENTRAL “MAIS” — RECONSTRUÍDA
   ========================================================= */
.final-more-panel{padding-bottom:26px}
.more-hero{
  position:relative;
  overflow:hidden;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:24px;
  margin:22px 0 18px;
  padding:clamp(22px,4vw,38px);
  border-radius:30px;
  color:#fff;
  background:
    radial-gradient(circle at 85% 12%,rgba(255,235,136,.28),transparent 16rem),
    linear-gradient(135deg,#40190e,#7d260a 56%,#ba3902);
  box-shadow:0 22px 56px rgba(80,30,12,.20);
}
.more-hero:after{
  content:"";
  position:absolute;
  width:240px;height:240px;border-radius:50%;
  right:-100px;bottom:-150px;
  border:48px solid rgba(255,255,255,.055);
}
.more-hero-copy,.more-profile-summary{position:relative;z-index:1}
.more-hero h2{font-size:clamp(2rem,4.5vw,3.4rem);letter-spacing:-.055em;line-height:1;margin:8px 0 12px}
.more-hero p{max-width:690px;color:rgba(255,255,255,.82);line-height:1.6}
.more-profile-summary{
  min-width:230px;
  display:flex;
  align-items:center;
  gap:12px;
  padding:13px 15px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:18px;
  background:rgba(255,255,255,.10);
  backdrop-filter:blur(12px);
}
.more-profile-avatar{
  width:46px;height:46px;flex:0 0 46px;
  display:grid;place-items:center;
  border-radius:15px;
  background:var(--final-yellow);
  color:var(--final-brand-dark);
  font-size:18px;font-weight:950;
}
.more-profile-summary small,.more-profile-summary strong,.more-profile-summary em{display:block}
.more-profile-summary small{text-transform:uppercase;letter-spacing:.09em;font-size:9px;color:rgba(255,255,255,.62);font-weight:850}
.more-profile-summary strong{font-size:16px;margin:2px 0}
.more-profile-summary em{font-size:11px;color:rgba(255,255,255,.76);font-style:normal}

.more-search-wrap{
  position:relative;
  display:flex;
  align-items:center;
  margin:0 0 8px;
}
.more-search-wrap>svg{
  position:absolute;
  left:16px;
  width:21px;height:21px;
  fill:none;stroke:var(--final-muted);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;
  pointer-events:none;
  z-index:1;
}
.more-search-wrap input{
  height:58px!important;
  padding-left:49px!important;
  padding-right:48px!important;
  border-radius:18px!important;
  box-shadow:var(--final-shadow-sm)!important;
  font-size:16px!important;
}
.more-search-wrap button{
  position:absolute;
  right:9px;
  width:38px;height:38px;min-height:38px;
  border:0;
  border-radius:12px;
  background:#f1ebe6;
  color:var(--final-muted);
  font-size:22px;
  line-height:1;
}
.more-result-line{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:0 3px 14px;
  color:var(--final-muted);
  font-size:11px;
  font-weight:750;
}
.more-result-line strong{color:var(--final-brand-dark)}
.more-groups{display:grid;gap:18px}
.more-group{
  padding:clamp(17px,2.5vw,24px);
  border:1px solid var(--final-line);
  border-radius:25px;
  background:rgba(255,255,255,.76);
  box-shadow:var(--final-shadow-sm);
  backdrop-filter:blur(8px);
}
.more-group>header{margin-bottom:14px}
.more-group>header h3{font-size:clamp(1.18rem,2.2vw,1.5rem);letter-spacing:-.035em;margin:4px 0 5px}
.more-group>header p{font-size:12px;color:var(--final-muted);line-height:1.45}
.more-group-kicker{
  display:block;
  color:var(--final-brand);
  font-size:9px;
  letter-spacing:.14em;
  text-transform:uppercase;
  font-weight:900;
}
.more-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
.more-card{
  width:100%;
  min-height:88px;
  display:grid;
  grid-template-columns:50px minmax(0,1fr) 22px;
  align-items:center;
  gap:12px;
  padding:13px;
  text-align:left;
  color:var(--final-ink);
  border:1px solid rgba(71,42,30,.11);
  border-radius:18px;
  background:linear-gradient(145deg,#fff,#fffaf4);
  box-shadow:0 3px 12px rgba(63,34,20,.045);
  transition:transform .17s ease,border-color .17s ease,box-shadow .17s ease,background .17s ease;
}
.more-card:hover{
  transform:translateY(-2px);
  border-color:rgba(186,57,2,.24);
  box-shadow:var(--final-shadow-md);
  background:#fff;
}
.more-card:active{transform:translateY(0) scale(.992)}
.more-icon{
  width:50px;height:50px;
  display:grid;place-items:center;
  border-radius:16px;
  color:var(--final-brand-dark);
  background:linear-gradient(145deg,rgba(255,235,136,.70),rgba(186,57,2,.08));
  box-shadow:inset 0 0 0 1px rgba(186,57,2,.07);
}
.more-icon svg{
  width:24px;height:24px;
  fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;
}
.more-card-copy{min-width:0}
.more-card-copy strong,.more-card-copy small{display:block}
.more-card-copy strong{font-size:14px;line-height:1.25;color:var(--final-ink)}
.more-card-copy small{font-size:11px;line-height:1.4;color:var(--final-muted);margin-top:4px}
.more-arrow{color:var(--final-brand);font-size:25px;font-weight:500;line-height:1;text-align:center}
.more-card-featured{
  border-color:rgba(186,57,2,.20);
  background:linear-gradient(145deg,#fff9dc,#fff);
}
.more-card-about .more-icon{color:#734b00;background:linear-gradient(145deg,#fff3a9,#fff9df)}
.more-card-danger{background:linear-gradient(145deg,#fff,#fff2ef)}
.more-card-danger .more-icon{color:var(--final-danger);background:#fee9e5}
.more-card-danger .more-card-copy strong,.more-card-danger .more-arrow{color:var(--final-danger)}
.more-card[hidden],.more-group[hidden]{display:none!important}
.more-empty{
  min-height:220px;
  display:grid;
  place-items:center;
  align-content:center;
  gap:8px;
  margin-top:18px;
  padding:28px;
  text-align:center;
  border:1px dashed var(--final-line-strong);
  border-radius:24px;
  background:rgba(255,255,255,.60);
}
.more-empty[hidden]{display:none!important}
.more-empty svg{width:34px;height:34px;fill:none;stroke:var(--final-brand);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.more-empty p{color:var(--final-muted)}

/* ---------- Sobre o OS e dedicatória ---------- */
.phase12-tabs{
  top:max(0px,env(safe-area-inset-top))!important;
  padding:10px 0 14px!important;
  background:linear-gradient(var(--final-bg) 74%,transparent)!important;
}
.phase12-tabs button{min-height:43px!important;border-radius:999px!important}
.phase12-hero{border-radius:30px!important}
.phase12-letter{box-shadow:var(--final-shadow-xl)!important}
.dedication-modal{border-radius:30px!important}
.dedication-modal h2{letter-spacing:-.05em}

/* ---------- iPad / tablet ---------- */
@media (min-width:900px){
  .content{padding-left:30px!important;padding-right:30px!important}
  .phase7-profile-grid,.phase8-grid,.phase9-grid,.phase10-grid,.phase11-grid,.phase13-grid{gap:18px!important}
}

@media (max-width:980px){
  .hero{align-items:flex-start;flex-direction:column}
  .hero-actions{flex:0 0 auto;width:100%;justify-content:flex-start}
  .more-hero{grid-template-columns:1fr}
  .more-profile-summary{width:100%;min-width:0}
  .quick-status.four{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

@media (max-width:760px){
  :root{--final-nav-height:78px}
  .hero{margin:9px 9px 12px!important;padding:18px!important;border-radius:24px!important}
  .brand-mark{width:50px!important;height:50px!important;flex-basis:50px}
  .brand-mark img{width:36px;height:36px}
  .hero-actions{gap:7px}
  .profile-chip{flex:1 1 170px}
  .notify-btn,.access-btn{flex:1 1 auto}
  .content{padding-left:12px!important;padding-right:12px!important}
  .section-title{align-items:flex-start!important}
  .section-title:not(.compact){flex-direction:column!important}
  .quick-status{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}
  .status-card{min-height:104px!important;padding:14px!important}
  .status-card strong{font-size:1.55rem!important}
  .more-grid{grid-template-columns:1fr}
  .more-hero{border-radius:24px;padding:22px 19px}
  .more-group{border-radius:22px;padding:16px}
  .more-card{min-height:84px}
  .bottom-nav{width:100%!important;border-left:0!important;border-right:0!important;border-radius:20px 20px 0 0!important}
}

@media (max-width:520px){
  .hero-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}
  .profile-chip{grid-column:1/-1}
  .notify-label{display:none}
  .quick-status{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .status-card{padding:12px!important}
  .status-card strong{font-size:1.35rem!important}
  .status-card small{font-size:10px!important}
  .label{font-size:8px!important}
  .quick-status.four{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .action-grid{grid-template-columns:1fr 1fr!important;gap:9px!important}
  .action-card{min-height:116px!important;padding:15px!important}
  .action-card span{font-size:16px!important}
  .meta-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .bottom-nav{gap:1px!important;padding-left:3px!important;padding-right:3px!important}
  .bottom-nav a{height:58px!important;min-height:58px!important;border-radius:13px!important;font-size:9px!important}
  .bottom-nav a svg{width:19px;height:19px}
  .bottom-nav a span{font-size:9px!important}
  .more-result-line{align-items:flex-start;flex-direction:column;gap:3px}
  .more-card{grid-template-columns:46px minmax(0,1fr) 16px;padding:11px;gap:10px}
  .more-icon{width:46px;height:46px;border-radius:14px}
  .more-card-copy strong{font-size:13.5px}
  .more-card-copy small{font-size:10.5px}
  .login-card{border-radius:27px!important}
}

@media (max-width:370px){
  .action-grid{grid-template-columns:1fr!important}
  .quick-status{grid-template-columns:1fr!important}
  .quick-status.four{grid-template-columns:1fr 1fr!important}
  .bottom-nav a span{font-size:8px!important}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}

/* =========================================================
   6.0.2 — Login público neutro e perfil somente após autenticação
========================================================= */
.login-card{
  width:min(590px,calc(100vw - 28px))!important;
  padding:clamp(24px,4vw,42px)!important;
}
.login-card #loginLead{
  max-width:48ch;
  margin:0 0 4px;
  color:#70584d!important;
  font-size:clamp(14px,2vw,16px)!important;
  font-weight:680!important;
  line-height:1.58!important;
}
.access-steps{
  margin:24px 0 20px!important;
  gap:10px!important;
}
.access-step{
  min-height:64px;
  padding:11px 12px!important;
  border-radius:17px!important;
}
.access-step strong{font-size:12px!important;white-space:normal!important;line-height:1.2}
.access-step small{font-size:10px!important;line-height:1.25!important}
.account-access-actions{
  margin-top:18px!important;
  gap:11px!important;
}
.account-access-actions button,
.login-form>button{
  cursor:pointer;
  font-family:inherit;
}
.login-waiting{
  display:flex;
  align-items:center;
  gap:14px;
  margin-top:18px;
  padding:16px 17px;
  border:1px solid rgba(186,57,2,.18);
  border-radius:18px;
  background:linear-gradient(135deg,#fff8e4,#fffdf8);
  box-shadow:0 10px 24px rgba(73,35,18,.06);
}
.login-waiting[hidden]{display:none!important}
.login-waiting-spinner{
  width:28px;
  height:28px;
  flex:0 0 28px;
  border:3px solid rgba(186,57,2,.15);
  border-top-color:#ba3902;
  border-radius:50%;
  animation:ckosAccessSpin .85s linear infinite;
}
.login-waiting strong,
.login-waiting small{display:block}
.login-waiting strong{color:#6f2108;font-size:14px;line-height:1.25}
.login-waiting small{margin-top:4px;color:#7a665c;font-size:11px;line-height:1.45}
@keyframes ckosAccessSpin{to{transform:rotate(360deg)}}
.login-form{
  margin-top:18px!important;
  gap:12px!important;
}
.login-form .recognized-account{margin-bottom:2px}
.manual-key-fallback{
  border:1px solid rgba(82,55,43,.14);
  border-radius:16px;
  background:#fffdf9;
  overflow:hidden;
}
.manual-key-fallback summary{
  padding:13px 15px;
  color:#6d554b;
  font-size:12px;
  font-weight:850;
  cursor:pointer;
  list-style:none;
}
.manual-key-fallback summary::-webkit-details-marker{display:none}
.manual-key-fallback summary:after{
  content:'+';
  float:right;
  color:#ba3902;
  font-size:18px;
  line-height:12px;
}
.manual-key-fallback[open] summary:after{content:'−'}
.manual-key-fields{
  display:grid;
  gap:10px;
  padding:0 14px 14px;
}
.login-help{
  margin-top:14px!important;
  padding-top:13px;
  border-top:1px solid rgba(82,55,43,.1);
  color:#806b61!important;
  font-weight:700!important;
  line-height:1.48!important;
}
.login-status:not(:empty){
  margin-top:12px!important;
  padding:11px 13px;
  border-radius:13px;
  background:#fff5e9;
  border:1px solid rgba(186,57,2,.12);
}
.login-status.ok:not(:empty){background:#eff8ee;border-color:rgba(20,101,29,.15)}
.login-status.error:not(:empty){background:#fff1ec;border-color:rgba(186,57,2,.2)}
@media(max-width:620px){
  .login-gate{padding:12px!important;align-items:center!important}
  .login-card{width:100%!important;padding:24px 18px 21px!important;border-radius:26px!important}
  .login-card h1{font-size:clamp(2rem,11vw,2.75rem)!important}
  .access-steps{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important;margin:20px 0 16px!important}
  .access-step{display:block!important;min-height:94px;padding:9px 8px!important}
  .access-step>span{width:27px!important;height:27px!important;margin-bottom:8px}
  .access-step strong{font-size:10px!important}
  .access-step small{font-size:8.5px!important;margin-top:4px!important}
  .account-access-actions .primary-btn,
  .account-access-actions .secondary-btn{min-height:52px!important}
}
@media(prefers-reduced-motion:reduce){.login-waiting-spinner{animation:none}}


/* 6.0.2 — proteção da tela pública */
body.auth-locked #phase7ProfileModal,
body.auth-locked #maickelDedicationModal {
  display: none !important;
}


/* =========================================================
   6.0.3 — STATUS DA LOJA INTEGRADO AO OS
========================================================= */
.home-store-control{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:18px;
  margin:18px 0 20px;
  padding:20px;
  border:1px solid rgba(104,53,30,.13);
  border-radius:24px;
  background:linear-gradient(135deg,rgba(255,255,255,.98),rgba(255,248,232,.9));
  box-shadow:0 18px 54px rgba(83,39,19,.09);
}
.home-store-control[data-tone="closed"],
.home-store-control[data-tone="problem"]{background:linear-gradient(135deg,#fff,#fff2ed)}
.home-store-control[data-tone="busy"],
.home-store-control[data-tone="soon"]{background:linear-gradient(135deg,#fff,#fff8d9)}
.home-store-indicator,
.store-status-light{
  width:18px;height:18px;border-radius:999px;
  background:#2ea65a;
  box-shadow:0 0 0 8px rgba(46,166,90,.12),0 0 24px rgba(46,166,90,.32);
  flex:0 0 auto;
}
.home-store-indicator.is-closed,.store-status-light.is-closed,
.home-store-indicator.is-problem,.store-status-light.is-problem{background:#ba3902;box-shadow:0 0 0 8px rgba(186,57,2,.12),0 0 24px rgba(186,57,2,.28)}
.home-store-indicator.is-busy,.store-status-light.is-busy,
.home-store-indicator.is-soon,.store-status-light.is-soon{background:#d59a00;box-shadow:0 0 0 8px rgba(213,154,0,.13),0 0 24px rgba(213,154,0,.28)}
.home-store-indicator.is-apology,.store-status-light.is-apology,
.home-store-indicator.is-custom,.store-status-light.is-custom{background:#7f54b3;box-shadow:0 0 0 8px rgba(127,84,179,.12),0 0 24px rgba(127,84,179,.26)}
.home-store-copy{min-width:0}
.home-store-heading{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:4px}
.home-store-heading h3{margin:0;font-size:clamp(21px,2.4vw,30px);letter-spacing:-.035em;color:var(--text,#2d1d17)}
.home-store-copy p{margin:7px 0 5px;color:var(--muted,#715e54);line-height:1.55}
.home-store-copy>small{display:block;color:rgba(70,45,33,.62);font-weight:700}
.home-store-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.store-mode-badge,.store-preview-pill{
  display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border-radius:999px;
  background:#e7f7eb;color:#16733a;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.035em
}
.store-mode-badge.is-closed,.store-mode-badge.is-problem,.store-preview-pill.is-closed,.store-preview-pill.is-problem{background:#ffe8df;color:#a42f00}
.store-mode-badge.is-busy,.store-mode-badge.is-soon,.store-preview-pill.is-busy,.store-preview-pill.is-soon{background:#fff2b8;color:#855c00}
.store-mode-badge.is-apology,.store-mode-badge.is-custom,.store-preview-pill.is-apology,.store-preview-pill.is-custom{background:#f0e7fb;color:#694092}
.store-status-title-row{align-items:flex-end}
.store-status-title-row p{margin:7px 0 0}
.store-status-hero{
  display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:20px;
  padding:24px;margin:18px 0 22px;border-radius:26px;border:1px solid rgba(104,53,30,.14);
  background:linear-gradient(135deg,#fff,#fff9ef);box-shadow:0 18px 58px rgba(75,37,18,.09)
}
.store-status-hero[data-tone="closed"],.store-status-hero[data-tone="problem"]{background:linear-gradient(135deg,#fff,#fff1eb)}
.store-status-hero[data-tone="busy"],.store-status-hero[data-tone="soon"]{background:linear-gradient(135deg,#fff,#fff8d9)}
.store-status-hero-copy .label{display:block;color:rgba(78,48,35,.58);font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.055em}
.store-status-hero-copy h3{margin:5px 0 6px;font-size:clamp(27px,4vw,42px);line-height:1;letter-spacing:-.05em;color:#7f2506}
.store-status-hero-copy p{margin:0;color:#66534a;line-height:1.55;max-width:760px}
.store-status-meta{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.store-status-meta span{display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border-radius:999px;background:rgba(255,255,255,.75);border:1px solid rgba(104,53,30,.11);font-size:11px;font-weight:800;color:#5d493f}
.store-status-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,.8fr);gap:18px;align-items:start}
.store-status-form{display:grid;gap:18px}
.store-mode-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.store-mode-option{
  width:100%;min-height:76px;display:flex;align-items:center;gap:12px;text-align:left;
  padding:13px 14px;border-radius:18px;border:1px solid rgba(104,53,30,.13);
  background:#fff;color:#33221b;box-shadow:none;cursor:pointer;transition:.18s ease
}
.store-mode-option:hover{transform:translateY(-1px);border-color:rgba(186,57,2,.32);box-shadow:0 10px 26px rgba(86,39,18,.08)}
.store-mode-option.selected{border:2px solid #ba3902;background:#fff8e8;box-shadow:0 12px 30px rgba(186,57,2,.12)}
.store-mode-option span:last-child{display:grid;gap:3px}
.store-mode-option strong{font-size:14px}
.store-mode-option small{font-size:11px;color:#7a675d;line-height:1.35}
.store-mode-dot{width:13px;height:13px;border-radius:99px;background:#2ea65a;box-shadow:0 0 0 5px rgba(46,166,90,.1);flex:0 0 auto}
.store-mode-option[data-tone="closed"] .store-mode-dot,.store-mode-option[data-tone="problem"] .store-mode-dot{background:#ba3902;box-shadow:0 0 0 5px rgba(186,57,2,.1)}
.store-mode-option[data-tone="busy"] .store-mode-dot,.store-mode-option[data-tone="soon"] .store-mode-dot{background:#d59a00;box-shadow:0 0 0 5px rgba(213,154,0,.1)}
.store-mode-option[data-tone="apology"] .store-mode-dot,.store-mode-option[data-tone="custom"] .store-mode-dot{background:#7f54b3;box-shadow:0 0 0 5px rgba(127,84,179,.1)}
.store-message-field{display:grid;gap:7px}
.store-message-field>span{font-size:12px;font-weight:900;text-transform:uppercase;color:#7f2506;letter-spacing:.04em}
.store-message-field textarea{min-height:116px}
.store-message-field small{color:#7a675d;line-height:1.45}
.store-status-form-actions{display:flex;gap:10px;flex-wrap:wrap}
.store-status-preview-card{position:sticky;top:18px}
.store-status-preview{display:grid;gap:10px;margin:16px 0;padding:19px;border-radius:20px;background:linear-gradient(135deg,#fff8e8,#fff);border:1px solid rgba(186,57,2,.13)}
.store-status-preview strong{font-size:22px;letter-spacing:-.03em;color:#7f2506}
.store-status-preview p{margin:0;color:#66534a;line-height:1.55}
.store-status-help{display:grid;gap:4px;margin-top:17px}
.store-status-help strong{color:#7f2506}
.store-status-help p{margin:0 0 9px;color:#735f55;line-height:1.45}
.more-card[data-nav="loja"] .more-icon{background:linear-gradient(135deg,#ffeb88,#ffe05d);color:#7f2506}
@media(max-width:900px){
  .home-store-control,.store-status-hero{grid-template-columns:auto minmax(0,1fr)}
  .home-store-actions,.store-status-hero>button{grid-column:1/-1;justify-content:stretch}
  .home-store-actions>*{flex:1}
  .store-status-hero>button{width:100%}
  .store-status-layout{grid-template-columns:1fr}
  .store-status-preview-card{position:static}
}
@media(max-width:600px){
  .home-store-control{padding:17px;gap:14px;border-radius:21px}
  .home-store-heading{display:grid;gap:7px}
  .home-store-actions{display:grid;grid-template-columns:1fr}
  .store-status-hero{padding:19px;gap:15px;border-radius:22px}
  .store-mode-grid{grid-template-columns:1fr}
  .store-status-form-actions{display:grid}
  .store-status-form-actions>*{width:100%}
}

/* =========================================================
   NA BRASA OS DEMO 1.0 — CAMADA COMERCIAL
   ========================================================= */
.demo-environment{
  --final-brand:#9f2e0d;
  --final-brand-dark:#651b09;
  --final-yellow:#ffcc67;
  --final-bg:#f4eee7;
  --final-bg-soft:#fffaf4;
  --final-ink:#24140e;
  background:
    radial-gradient(circle at 10% -5%,rgba(255,196,87,.33),transparent 31rem),
    radial-gradient(circle at 95% 4%,rgba(159,46,13,.10),transparent 28rem),
    linear-gradient(180deg,#fffaf4,#f4eee7);
}
.demo-environment .primary-btn{background:linear-gradient(135deg,#b83910,#7e2109);box-shadow:0 12px 30px rgba(126,33,9,.21)}
.demo-environment .primary-btn:hover{filter:brightness(1.05);transform:translateY(-1px)}
.demo-environment .hero{margin-top:0}

.demo-login-gate{
  background:
    linear-gradient(115deg,rgba(20,10,6,.86),rgba(73,20,5,.62)),
    radial-gradient(circle at 73% 16%,rgba(255,196,87,.34),transparent 25rem),
    linear-gradient(135deg,#180b07,#6f1d08 58%,#bd4a17);
}
.demo-login-gate:before{
  content:"";position:absolute;inset:0;pointer-events:none;opacity:.17;
  background-image:radial-gradient(circle at center,rgba(255,255,255,.8) 0 1px,transparent 1.5px);
  background-size:28px 28px;
  mask-image:linear-gradient(90deg,#000,transparent 80%);
}
.demo-login-card{max-width:760px!important;padding:clamp(26px,4.5vw,52px)!important;border:1px solid rgba(255,255,255,.52)!important;box-shadow:0 38px 100px rgba(0,0,0,.34)!important;background:rgba(255,252,247,.97)!important;backdrop-filter:blur(18px)}
.demo-login-brand{display:flex;align-items:center;gap:15px;margin-bottom:19px}
.demo-login-brand .login-logo{width:82px!important;height:82px!important;margin:0!important;border-radius:24px;box-shadow:0 14px 34px rgba(126,33,9,.19)}
.demo-login-brand>div{display:grid;gap:4px}
.demo-login-brand small{color:#7e665b;font-weight:750}
.demo-login-card h1{font-size:clamp(42px,7vw,72px)!important;line-height:.94!important;letter-spacing:-.065em!important;margin:0 0 18px!important;color:#7e2109!important}
.demo-login-card>p{font-size:clamp(16px,2.2vw,20px)!important;line-height:1.56!important;max-width:630px}
.demo-access-steps{grid-template-columns:repeat(3,1fr)!important;margin:28px 0 22px!important}
.demo-access-steps .access-step{min-height:86px!important;align-items:flex-start!important;background:#fff!important;border:1px solid rgba(126,33,9,.13)!important}
.demo-access-steps .access-step.active{background:linear-gradient(145deg,#fff4d8,#fff)!important;border-color:rgba(159,46,13,.38)!important}
.demo-access-steps .access-step span{background:#9f2e0d!important;color:#fff!important}
.demo-access-steps .access-step strong{font-size:13px}
.demo-access-steps .access-step small{line-height:1.35}
.demo-login-actions{display:grid!important;grid-template-columns:1.3fr 1fr!important;gap:12px!important}
.demo-login-actions button{min-height:58px!important;margin:0!important}
.demo-login-proof{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0 0}
.demo-login-proof span{padding:9px 12px;border-radius:999px;background:#f5efe9;border:1px solid rgba(126,33,9,.09);color:#5f463b;font-size:12px;font-weight:800}
.demo-login-card .login-help{font-size:13px!important;margin-top:14px!important;color:#806a60!important}

.demo-ribbon{
  display:grid;grid-template-columns:auto auto 1fr auto;align-items:center;gap:12px;
  margin:0 18px;padding:10px 14px;border-radius:0 0 17px 17px;
  color:#fff;background:linear-gradient(90deg,#6a1c09,#a7330f 65%,#ca571d);
  box-shadow:0 12px 30px rgba(83,23,7,.18);position:relative;z-index:12;
}
.demo-ribbon span{padding:5px 9px;border-radius:999px;background:#ffcc67;color:#501505;font-size:10px;font-weight:950;letter-spacing:.12em}
.demo-ribbon strong{font-size:13px}
.demo-ribbon small{opacity:.78}
.demo-ribbon button{border:1px solid rgba(255,255,255,.28);color:#fff;background:rgba(255,255,255,.1);border-radius:10px;padding:8px 11px;font-size:11px;font-weight:850}
.demo-ribbon button:hover{background:rgba(255,255,255,.18)}
.demo-environment .hero{border-top-left-radius:0!important;border-top-right-radius:0!important}
.demo-environment .brand-mark img{border-radius:18px}
.demo-environment .access-btn{background:#fff4da!important;color:#742009!important;border-color:rgba(159,46,13,.18)!important}

.demo-tour-open,.demo-profile-open{overflow:hidden!important}
.demo-tour-backdrop,.demo-profile-backdrop{
  position:fixed;inset:0;z-index:2147483600;display:grid;place-items:center;padding:18px;
  background:rgba(23,13,9,.72);backdrop-filter:blur(16px);animation:demoFade .22s ease both;
}
.demo-tour-backdrop[hidden],.demo-profile-backdrop[hidden]{display:none!important}
.demo-tour{
  width:min(940px,100%);max-height:min(820px,calc(100dvh - 36px));overflow:auto;
  display:grid;grid-template-columns:minmax(270px,.82fr) minmax(0,1.18fr);
  border-radius:34px;background:#fffaf4;border:1px solid rgba(255,255,255,.65);
  box-shadow:0 44px 140px rgba(0,0,0,.42);position:relative;animation:demoLift .28s cubic-bezier(.2,.85,.25,1) both;
}
.demo-tour-close{position:absolute;top:17px;right:17px;z-index:3;width:42px;height:42px;border-radius:50%;border:1px solid rgba(73,33,19,.15);background:rgba(255,255,255,.88);color:#7e2109;font-size:25px;line-height:1}
.demo-tour-visual{min-height:560px;padding:38px;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;position:relative;background:linear-gradient(150deg,#6a1c09,#a7330f 58%,#df7029);color:#fff;border-radius:34px 0 0 34px}
.demo-tour-visual:before,.demo-tour-visual:after{content:"";position:absolute;border-radius:50%;filter:blur(1px)}
.demo-tour-visual:before{width:330px;height:330px;right:-140px;top:-70px;background:rgba(255,204,103,.28)}
.demo-tour-visual:after{width:260px;height:260px;left:-120px;bottom:-80px;background:rgba(255,255,255,.09)}
.demo-tour-visual>span{font-size:98px;line-height:1;position:relative;z-index:1;text-shadow:0 18px 40px rgba(0,0,0,.22)}
.demo-tour-brand{position:relative;z-index:1;font-size:28px;font-weight:950;letter-spacing:-.04em}
.demo-tour-brand small{display:block;font-size:11px;letter-spacing:.2em;opacity:.7;margin-top:4px}
.demo-tour-copy{padding:clamp(34px,5vw,62px);display:flex;flex-direction:column;justify-content:center}
.demo-tour-kicker{font-size:11px;font-weight:950;letter-spacing:.14em;color:#a7330f;margin-bottom:13px}
.demo-tour-copy h2{font-size:clamp(30px,4vw,48px);line-height:1.03;letter-spacing:-.05em;margin:0 0 18px;color:#2c160e}
.demo-tour-copy>p{font-size:16px;line-height:1.65;color:#70584e;margin:0}
.demo-tour-bullets{display:flex;flex-wrap:wrap;gap:8px;margin:24px 0}
.demo-tour-bullets span{padding:9px 12px;border-radius:999px;background:#f5ece5;color:#65483c;font-size:12px;font-weight:800}
.demo-tour-dots{display:flex;gap:7px;margin:8px 0 24px}
.demo-tour-dots button{width:9px;height:9px;border:0;border-radius:99px;background:#d9cbc2;padding:0;transition:.2s ease}
.demo-tour-dots button.active{width:30px;background:#a7330f}
.demo-tour-actions{display:grid;grid-template-columns:1fr 1.45fr;gap:10px}
.demo-tour-actions button{min-height:52px}
.demo-tour-skip{border:0;background:none;color:#866e64;font-size:12px;font-weight:800;margin:16px auto 0;text-decoration:underline;text-underline-offset:3px}

.demo-profile-modal{width:min(920px,100%);max-height:calc(100dvh - 36px);overflow:auto;padding:clamp(26px,4vw,46px);border-radius:32px;background:#fffaf4;box-shadow:0 44px 140px rgba(0,0,0,.4);position:relative}
.demo-profile-modal h2{font-size:clamp(30px,5vw,48px);letter-spacing:-.05em;margin:9px 0 8px}
.demo-profile-modal>p{color:#745d52;max-width:680px;line-height:1.55}
.demo-profile-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-top:25px}
.demo-profile-grid>button{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;text-align:left;padding:19px;border-radius:20px;border:1px solid rgba(91,43,24,.13);background:#fff;transition:.2s ease;color:#2a170f}
.demo-profile-grid>button:hover{transform:translateY(-2px);border-color:rgba(159,46,13,.35);box-shadow:0 14px 34px rgba(72,30,13,.10)}
.demo-profile-grid>button>span{display:grid;place-items:center;width:48px;height:48px;border-radius:15px;background:#ffcc67;color:#6c1c08;font-weight:950;font-size:18px}
.demo-profile-grid strong{display:block;font-size:17px}
.demo-profile-grid small{display:block;color:#9f2e0d;font-weight:850;margin:3px 0 5px}
.demo-profile-grid p{margin:0;color:#776158;font-size:12px;line-height:1.45}
.demo-profile-grid i{font-style:normal;font-size:28px;color:#a7330f}

.demo-customization-hero{padding:clamp(25px,4vw,44px)!important;background:linear-gradient(135deg,#fff1cc,#fff)!important}
.demo-customization-hero h3{font-size:clamp(26px,4vw,42px);letter-spacing:-.045em;max-width:760px}
.demo-customization-hero p{font-size:16px;line-height:1.65;max-width:880px;color:#6d564b}
.demo-license-card{margin-top:18px;padding:clamp(25px,4vw,42px)!important;background:linear-gradient(135deg,#6a1c09,#a7330f)!important;color:#fff!important}
.demo-license-card span{display:inline-block;padding:7px 10px;border-radius:999px;background:#ffcc67;color:#581606;font-size:11px;font-weight:950;letter-spacing:.08em;text-transform:uppercase}
.demo-license-card h3{font-size:clamp(25px,4vw,40px);line-height:1.08;letter-spacing:-.045em;max-width:800px;margin:17px 0 12px;color:#fff}
.demo-license-card p{max-width:800px;line-height:1.6;color:rgba(255,255,255,.78)}

@keyframes demoFade{from{opacity:0}to{opacity:1}}
@keyframes demoLift{from{opacity:0;transform:translateY(18px) scale(.985)}to{opacity:1;transform:none}}

@media(max-width:760px){
  .demo-access-steps{grid-template-columns:1fr!important}
  .demo-login-actions{grid-template-columns:1fr!important}
  .demo-ribbon{grid-template-columns:auto 1fr auto;margin:0 8px}
  .demo-ribbon small{display:none}
  .demo-tour{grid-template-columns:1fr}
  .demo-tour-visual{min-height:165px;border-radius:28px 28px 0 0;padding:25px;flex-direction:row;align-items:flex-end}
  .demo-tour-visual>span{font-size:66px}
  .demo-tour-copy{padding:30px 24px 26px}
  .demo-tour-copy h2{font-size:31px}
  .demo-profile-grid{grid-template-columns:1fr}
}
@media(max-width:520px){
  .demo-login-card{padding:24px 19px!important;border-radius:26px!important}
  .demo-login-brand .login-logo{width:64px!important;height:64px!important;border-radius:18px}
  .demo-login-card h1{font-size:43px!important}
  .demo-login-proof{display:grid}
  .demo-ribbon{grid-template-columns:auto 1fr;gap:8px;padding:9px 11px}
  .demo-ribbon button{grid-column:1/-1;width:100%}
  .demo-tour-backdrop,.demo-profile-backdrop{padding:8px}
  .demo-tour,.demo-profile-modal{border-radius:25px;max-height:calc(100dvh - 16px)}
  .demo-tour-visual{border-radius:25px 25px 0 0}
  .demo-tour-actions{grid-template-columns:1fr}
}

/* Defesa visual do onboarding: nenhuma ocorrência operacional cobre o tour. */
.demo-tour-open .kitchen-order-overlay,
.demo-profile-open .kitchen-order-overlay{display:none!important}
