.dixen-dashboard{position:relative;isolation:isolate;min-height:85vh;padding:128px 0 96px;color:var(--fg);background:var(--bg)}
.dixen-dashboard [hidden]{display:none!important}
.dashboard-background{position:absolute;inset:0 0 auto;height:680px;overflow:hidden;z-index:-1;pointer-events:none}
.dashboard-background video{width:100%;height:100%;object-fit:cover;opacity:.45}
.dashboard-background:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent,var(--bg)),radial-gradient(900px circle at 50% -8%,rgba(150,12,18,.2),transparent 58%)}
.dixen-dashboard svg{width:18px;height:18px;flex-shrink:0}
.dixen-dashboard button:focus-visible,.dixen-dashboard a:focus-visible{outline:2px solid var(--fg);outline-offset:4px}
.dixen-dashboard [data-dashboard-account],.dixen-dashboard [data-admin-account]{display:grid;grid-template-columns:220px minmax(0,1fr);gap:40px;align-items:start}
.dashboard-gate{display:grid;place-items:center;min-height:55vh;padding:24px}
.dashboard-login{max-width:460px;text-align:center;padding:40px!important}
.dashboard-login h1{font-size:40px;letter-spacing:-.035em;margin:20px 0}
.dashboard-login p{margin-bottom:24px;color:var(--fg-50)}
.dashboard-sidebar{position:sticky;top:96px;display:flex;flex-direction:column;gap:24px}
.dashboard-profile{padding:0 0 24px;display:flex;gap:12px;align-items:center;border-bottom:1px solid var(--border)}
.dashboard-avatar{width:40px;height:40px;flex-shrink:0;display:grid;place-items:center;overflow:hidden;border-radius:50%;background:var(--fg-05)}
.dashboard-avatar img{width:100%;height:100%;object-fit:cover}
.dashboard-avatar .real-logo{width:30px;height:30px}
.dashboard-profile>div{min-width:0}
.dashboard-profile strong{display:block;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dashboard-profile>div>span{display:block;color:var(--fg-50);font-size:12px;margin-top:4px}
.dashboard-menu{display:flex;flex-direction:column;gap:8px}
.dashboard-menu button,.dashboard-sidebar-bottom button,.dashboard-sidebar-bottom a{display:flex;align-items:center;gap:12px;padding:12px 16px;width:100%;border:1px solid transparent;border-radius:999px;background:none;color:var(--fg-50);font:inherit;font-size:14px;font-weight:500;text-align:left;cursor:pointer;text-decoration:none}
.dashboard-menu button[aria-pressed=true]{color:var(--bg);background:var(--fg);border-color:var(--fg)}
.dashboard-menu button:not([aria-pressed=true]):hover,.dashboard-sidebar-bottom a:hover,.dashboard-sidebar-bottom button:hover{color:var(--fg);background:var(--fg-05)}
.dashboard-sidebar-bottom{border-top:1px solid var(--border);padding-top:16px;margin-top:8px}
.dashboard-sidebar-bottom a{font-size:12px}
.dashboard-sidebar-bottom a svg{width:15px;transform:rotate(180deg)}
.dashboard-workspace{min-width:0}





.dashboard-heading{margin:0 0 32px}
.dashboard-heading>p{margin:0 0 12px;text-transform:uppercase;letter-spacing:.12em;color:var(--fg-50);font-size:11px;font-weight:500}
.dashboard-heading h1{font-size:clamp(32px,3.5vw,48px);font-weight:700;line-height:1.08;letter-spacing:-.035em;margin:0;overflow-wrap:anywhere}
.dashboard-summary-grid{display:grid;grid-template-columns:2fr 1fr;gap:24px}
.dashboard-card{border:1px solid var(--border);border-radius:20px;background:var(--fg-05,rgba(255,255,255,.03));overflow:hidden}
.dashboard-ticket-count{padding:24px;min-height:165px}
.dashboard-label{font-size:11px;letter-spacing:.08em;color:var(--fg-50);text-transform:uppercase;margin:0 0 12px}
.dashboard-card h2{font-size:18px;font-weight:500;letter-spacing:-.025em;line-height:1.4;margin:0;color:var(--fg)}

.dashboard-ticket-count>strong{display:block;font-size:36px;font-weight:500;line-height:1.3;letter-spacing:-.04em}
.dashboard-text-button{display:inline-flex;align-items:center;gap:8px;background:none;border:0;padding:0;color:var(--fg-50);font:inherit;font-size:13px;text-decoration:none;cursor:pointer}
.dashboard-text-button:hover{color:var(--fg)}
.dashboard-text-button svg{width:14px;height:14px}
.dashboard-ticket-count>.dashboard-text-button{margin-top:12px}
.dashboard-recent{margin-top:24px}
.dashboard-recent>.dashboard-card{min-height:250px}
.dashboard-recent header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:24px;border-bottom:1px solid var(--border)}
.dashboard-empty-orders{text-align:center;padding:32px 24px;color:var(--fg-50);font-size:13px;line-height:1.7}
.dashboard-empty-orders p{margin:0}
.dashboard-empty-tickets{padding:24px;color:var(--fg-50);font-size:13px;line-height:1.7}
.dashboard-empty-tickets p{margin:0 0 20px}
.dashboard-locked{max-width:520px;margin:80px auto;text-align:center}
.dashboard-lock-icon{display:grid;place-items:center;width:64px;height:64px;border:1px solid var(--border);border-radius:20px;background:var(--fg-05);margin:0 auto 24px;color:var(--fg-50)}
.dashboard-lock-icon svg{width:28px;height:28px}
.dashboard-locked h2{font-size:24px;letter-spacing:-.035em;font-weight:500;margin:0 0 12px}
.dashboard-locked p{font-size:14px;line-height:1.7;margin:0 0 24px;color:var(--fg-50)}
.dashboard-guides-description{color:var(--fg-50);line-height:1.7;margin:0 0 24px}
.dashboard-guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.dashboard-guide{padding:28px;text-decoration:none;font:inherit;text-align:left;color:var(--fg);cursor:pointer}
.dashboard-guide:not(:disabled):hover{border-color:var(--fg-50)}
.dashboard-guide:disabled{opacity:.45;cursor:not-allowed}
.dashboard-guide span{display:flex;align-items:center;gap:8px;margin-top:24px;color:var(--fg-50);font-size:13px}





@media(max-width:1000px){.dixen-dashboard [data-dashboard-account],.dixen-dashboard [data-admin-account]{grid-template-columns:180px minmax(0,1fr);gap:24px}.dashboard-summary-grid{grid-template-columns:1fr}}
@media(max-width:760px){.dixen-dashboard{padding:96px 0 64px}.dixen-dashboard [data-dashboard-account],.dixen-dashboard [data-admin-account]{display:block}.dashboard-sidebar{position:relative;top:auto;gap:16px;margin-bottom:32px}.dashboard-profile{padding-bottom:16px;padding-right:72px}.dashboard-menu{flex-direction:row;overflow-x:auto;gap:8px}.dashboard-menu button{width:auto;flex-shrink:0;white-space:nowrap;font-size:12px;padding:10px 14px}.dashboard-menu button svg{width:16px}.dashboard-sidebar-bottom{position:absolute;right:0;top:0;margin:0;border:0;padding:0}.dashboard-sidebar-bottom a{display:none}.dashboard-sidebar-bottom button{font-size:12px;width:auto;padding:10px}.dashboard-heading{margin:32px 0 24px}.dashboard-heading h1{font-size:32px}.dashboard-locked{margin:56px auto}.dashboard-guide-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.dashboard-background video{display:none}.dashboard-background{background:url('/assets/pricing/pricing-bg-fallback.webp') center/cover no-repeat}}

.dashboard-menu button{transition:background-color .2s,color .2s,border-color .2s}
.dashboard-guide{transition:border-color .2s,transform .2s}
.dashboard-guide:not(:disabled):hover{transform:translateY(-3px)}
@media(prefers-reduced-motion:reduce){.dashboard-menu button,.dashboard-guide{transition:none}.dashboard-guide:hover{transform:none}}

[data-dashboard-panel="overview"]{display:grid;grid-template-columns:2fr 1fr;gap:24px}
[data-dashboard-panel="overview"]>.dashboard-summary-grid{display:contents}
[data-dashboard-panel="overview"] .dashboard-ticket-count{grid-column:2;grid-row:1}
[data-dashboard-panel="overview"] .dashboard-recent>.dashboard-card:first-child{grid-column:1;grid-row:1 / span 2;align-self:start}
[data-dashboard-panel="overview"] .dashboard-recent>.dashboard-card:last-child{grid-column:2;grid-row:2}
@media(max-width:1000px){[data-dashboard-panel="overview"]{grid-template-columns:1fr}[data-dashboard-panel="overview"] .dashboard-ticket-count,[data-dashboard-panel="overview"] .dashboard-recent>.dashboard-card:first-child,[data-dashboard-panel="overview"] .dashboard-recent>.dashboard-card:last-child{grid-column:auto;grid-row:auto}}

/* pedidos: em aberto (código + cancelar), finalizado (chaves) ou cancelado */
.dashboard-order-status{font-size:11px;letter-spacing:.08em;text-transform:uppercase;padding:3px 9px;border-radius:999px;border:1px solid rgba(255,255,255,.14);color:var(--fg-50);white-space:nowrap}
.dashboard-order-status-open{border-color:rgba(255,196,0,.45);color:#ffd35c}
.dashboard-order-status-done{border-color:rgba(70,200,120,.45);color:#7fe0a3}
.dashboard-order-status-cancelled{opacity:.7}
.dashboard-order-open{display:grid;gap:10px;justify-items:start}
.admin-order-lines{margin:8px 0;padding-left:18px;color:var(--fg-70,#ccc);font-size:14px}
.admin-order-total{margin:0 0 8px;font-weight:600}
.admin-order-actions{display:flex;gap:8px;flex-wrap:wrap}
.admin-staff-form{display:grid;gap:12px;grid-template-columns:1fr 1fr auto;align-items:end;margin-bottom:16px}
@media (max-width:720px){.admin-staff-form{grid-template-columns:1fr}}
