:root {
  --bg: #f5f5f2;
  --surface: #ffffff;
  --surface-2: #fafaf8;
  --ink: #141414;
  --ink-2: #55554f;
  --ink-3: #8a8a82;
  --line: #e7e6e1;
  --line-2: #d9d8d2;
  --accent: #e2552b;
  --accent-ink: #ffffff;
  --accent-soft: #fdeee8;
  --ok: #1f8a4c; --ok-soft: #e6f4ec;
  --warn: #b7791f; --warn-soft: #fbf1df;
  --bad: #c53030; --bad-soft: #fbe9e9;
  --info: #2b6cb0; --info-soft: #e7f0fa;
  --side: #111111; --side-ink: #b9b9b2; --side-active: #ffffff;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 4px 16px rgba(0,0,0,.04);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -0.01em; }
h1 { font-size: 24px; font-weight: 700; }
h2 { font-size: 17px; font-weight: 650; }
h3 { font-size: 14px; font-weight: 650; }
.muted { color: var(--ink-3); }
.small { font-size: 13px; }
.mono { font-variant-numeric: tabular-nums; }
.hidden { display: none !important; }

/* ---------- Layout */
.shell { display: grid; grid-template-columns: 232px 1fr; min-height: 100vh; }
.side { background: var(--side); color: var(--side-ink); padding: 20px 14px; position: sticky; top: 0; height: 100vh; align-self: start; display: flex; flex-direction: column; gap: 4px; }
.brand { display: flex; align-items: center; gap: 10px; padding: 4px 10px 22px; color: #fff; }
.brand img { width: 34px; height: 34px; }
.brand b { font-size: 15px; letter-spacing: .02em; display: block; line-height: 1.1; }
.brand span { font-size: 12px; color: var(--side-ink); }
.nav a { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 9px; font-weight: 500; font-size: 14.5px; transition: background .15s, color .15s; }
.nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.nav a.active { background: rgba(255,255,255,.1); color: var(--side-active); }
.nav a.active svg { color: var(--accent); }
.nav svg { width: 18px; height: 18px; flex: none; }
.side .spacer { flex: 1; }
.me { border-top: 1px solid rgba(255,255,255,.08); padding: 14px 10px 0; display: flex; align-items: center; gap: 10px; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: #2a2a2a; color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 600; flex: none; }
.me .who { flex: 1; min-width: 0; line-height: 1.25; }
.me .who b { color: #fff; font-size: 13.5px; font-weight: 600; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.me .who span { font-size: 12px; }
.me button { background: none; border: 0; color: var(--side-ink); cursor: pointer; padding: 6px; border-radius: 8px; }
.me button:hover { color: #fff; background: rgba(255,255,255,.08); }

.main { min-width: 0; padding: 28px 36px 60px; max-width: 1280px; width: 100%; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.page-head p { margin: 4px 0 0; color: var(--ink-3); }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- Componentes */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.card-pad { padding: 20px; }
.card-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); gap: 12px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface); font-weight: 550; font-size: 14px; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s, transform .05s; }
.btn:hover { background: var(--surface-2); border-color: #c9c8c1; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 16px; height: 16px; }
.btn.primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn.primary:hover { background: #2a2a2a; }
.btn.accent { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn.accent:hover { background: #cf4a22; }
.btn.danger { color: var(--bad); }
.btn.ghost { border-color: transparent; background: transparent; }
.btn.ghost:hover { background: rgba(0,0,0,.04); }
.btn.sm { height: 32px; padding: 0 12px; font-size: 13px; border-radius: 8px; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.icon-btn { width: 32px; height: 32px; padding: 0; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 22px; }
.stat { padding: 18px 20px; }
.stat .label { font-size: 13px; color: var(--ink-3); font-weight: 500; }
.stat .value { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; margin-top: 4px; font-variant-numeric: tabular-nums; }
.stat .sub { font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }
.stat.alert .value { color: var(--bad); }

.grid-2 { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); gap: 18px; align-items: start; }
.grid-2 > *, .stats > * { min-width: 0; }

.badge { display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; background: #efefea; color: var(--ink-2); }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .8; }
.badge.ok { background: var(--ok-soft); color: var(--ok); }
.badge.warn { background: var(--warn-soft); color: var(--warn); }
.badge.bad { background: var(--bad-soft); color: var(--bad); }
.badge.info { background: var(--info-soft); color: var(--info); }
.badge.accent { background: var(--accent-soft); color: var(--accent); }
.badge.plain::before { display: none; }

.toolbar { display: flex; gap: 10px; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.search { position: relative; flex: 1; min-width: 200px; }
.search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--ink-3); }
.search input { padding-left: 36px; }
.tabs { display: inline-flex; background: #ecebe6; padding: 3px; border-radius: 10px; gap: 2px; }
.tabs button { border: 0; background: transparent; padding: 6px 14px; border-radius: 8px; font-size: 13.5px; font-weight: 550; color: var(--ink-2); cursor: pointer; }
.tabs button.active { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.08); }

input, select, textarea { width: 100%; height: 38px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--surface); outline: none; transition: border-color .15s, box-shadow .15s; }
textarea { height: auto; min-height: 76px; padding: 10px 12px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(20,20,20,.08); }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238a8a82' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px; }
label.field { display: block; }
label.field > span { display: block; font-size: 13px; font-weight: 550; color: var(--ink-2); margin-bottom: 6px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.check { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; cursor: pointer; }
.check input { width: 16px; height: 16px; accent-color: var(--ink); }

table { width: 100%; border-collapse: collapse; }
th { text-align: left; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3); padding: 10px 16px; border-bottom: 1px solid var(--line); background: var(--surface-2); white-space: nowrap; }
td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
tbody tr.link { cursor: pointer; transition: background .1s; }
tbody tr.link:hover { background: var(--surface-2); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
.t-title { font-weight: 600; }
.t-sub { font-size: 12.5px; color: var(--ink-3); }
.table-wrap { overflow-x: auto; }

.avail { display: flex; align-items: center; gap: 10px; min-width: 120px; }
.bar { flex: 1; height: 6px; background: #ecebe6; border-radius: 99px; overflow: hidden; min-width: 50px; }
.bar i { display: block; height: 100%; background: var(--ok); border-radius: 99px; }
.bar i.low { background: var(--warn); }
.bar i.none { background: var(--bad); }

.list { list-style: none; margin: 0; padding: 0; }
.list li { display: flex; gap: 12px; padding: 12px 20px; border-bottom: 1px solid var(--line); align-items: center; }
.list li:last-child { border-bottom: 0; }
.list .grow { flex: 1; min-width: 0; }
.list .t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--ink-3); }
.dot.saida { background: var(--accent); } .dot.entrada { background: var(--ok); } .dot.material { background: var(--info); }

.empty { text-align: center; padding: 48px 20px; color: var(--ink-3); }
.empty svg { width: 36px; height: 36px; color: var(--line-2); margin-bottom: 8px; }
.empty b { display: block; color: var(--ink-2); font-size: 15px; margin-bottom: 2px; }

.kv { display: grid; grid-template-columns: 140px 1fr; gap: 10px 16px; font-size: 14px; }
.kv dt { color: var(--ink-3); } .kv dd { margin: 0; font-weight: 500; }

.type-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.type-pick button { text-align: left; padding: 16px; border: 1.5px solid var(--line-2); border-radius: 12px; background: var(--surface); cursor: pointer; display: flex; gap: 12px; align-items: flex-start; }
.type-pick button svg { width: 22px; height: 22px; flex: none; margin-top: 2px; color: var(--ink-3); }
.type-pick button b { display: block; font-size: 15px; }
.type-pick button span { font-size: 13px; color: var(--ink-3); }
.type-pick button.active { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(20,20,20,.06); }
.type-pick button.active svg { color: var(--accent); }

.picker-results { max-height: 320px; overflow: auto; border-top: 1px solid var(--line); }
.pick-row { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--line); }
.pick-row:last-child { border-bottom: 0; }
.pick-row.disabled { opacity: .45; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 9px; overflow: hidden; height: 32px; background: var(--surface); }
.qty button { width: 30px; height: 100%; border: 0; background: transparent; cursor: pointer; font-size: 16px; color: var(--ink-2); }
.qty button:hover { background: var(--surface-2); }
.qty input { width: 44px; height: 100%; border: 0; border-radius: 0; text-align: center; padding: 0; box-shadow: none !important; font-variant-numeric: tabular-nums; }

.summary { position: sticky; top: 20px; }
.summary .line { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; }
.summary .total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; font-size: 18px; font-weight: 700; }

/* ---------- Modal e notificações */
.modal-bg { position: fixed; inset: 0; background: rgba(17,17,17,.45); display: grid; place-items: center; padding: 20px; z-index: 50; animation: fade .15s; backdrop-filter: blur(2px); }
.modal { background: var(--surface); border-radius: 16px; width: 100%; max-width: 560px; max-height: calc(100vh - 40px); overflow: auto; box-shadow: 0 20px 60px rgba(0,0,0,.25); animation: pop .18s ease-out; }
.modal header { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.modal .body { padding: 20px 22px; }
.modal footer { display: flex; justify-content: flex-end; gap: 8px; padding: 14px 22px; border-top: 1px solid var(--line); background: var(--surface-2); border-radius: 0 0 16px 16px; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { transform: translateY(8px) scale(.98); opacity: 0; } }
#toasts { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; gap: 8px; z-index: 60; align-items: center; pointer-events: none; }
.toast { background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-size: 14px; box-shadow: 0 8px 24px rgba(0,0,0,.2); animation: pop .2s; }
.toast.error { background: var(--bad); }

/* ---------- Login */
.login { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.login .art { background: var(--side); color: #fff; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.login .art::after { content: ""; position: absolute; right: -170px; bottom: -170px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid var(--accent); opacity: .9; }
.login .art h1 { font-size: 44px; line-height: 1.05; letter-spacing: -0.03em; max-width: 420px; position: relative; z-index: 1; }
.login .art p { color: var(--side-ink); max-width: 380px; position: relative; z-index: 1; }
.login .form { display: grid; place-items: center; padding: 32px; }
.login form { width: 100%; max-width: 360px; display: grid; gap: 16px; }
.login .err { color: var(--bad); font-size: 13.5px; min-height: 20px; }

/* ---------- Telemóvel */
.mobile-bar, .bottom-nav { display: none; }
@media (max-width: 960px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: minmax(0,1fr); }
  .summary { position: static; }
}
@media (max-width: 760px) {
  .shell { grid-template-columns: 1fr; }
  .side { display: none; }
  .main { padding: 76px 16px 96px; }
  .mobile-bar { display: flex; position: fixed; top: 0; left: 0; right: 0; height: 60px; background: var(--side); color: #fff; align-items: center; padding: 0 16px; gap: 10px; z-index: 20; }
  .mobile-bar img { width: 30px; height: 30px; }
  .mobile-bar b { flex: 1; }
  .mobile-bar button { background: none; border: 0; color: #fff; padding: 8px; }
  .bottom-nav { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; bottom: 0; left: 0; right: 0; background: var(--surface); border-top: 1px solid var(--line); z-index: 20; padding-bottom: env(safe-area-inset-bottom); }
  .bottom-nav a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 9px 0 8px; font-size: 11px; color: var(--ink-3); font-weight: 550; }
  .bottom-nav a svg { width: 22px; height: 22px; }
  .bottom-nav a.active { color: var(--ink); }
  .bottom-nav a.active svg { color: var(--accent); }
  .page-head h1 { font-size: 22px; }
  .form-grid, .type-pick { grid-template-columns: 1fr; }
  .hide-sm { display: none; }
  td, th { padding: 10px 12px; }
  .login { grid-template-columns: 1fr; }
  .login .art { padding: 32px 24px; min-height: 220px; }
  .login .art h1 { font-size: 30px; }
  .login .art::after { width: 220px; height: 220px; border-width: 34px; right: -70px; bottom: -90px; }
  .kv { grid-template-columns: 110px 1fr; }
}

/* ---------- Calendário (eventos) */
.dot.evento { background: #7c3aed; }
.cal-bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.cal-bar h2 { font-size: 19px; font-weight: 650; min-width: 180px; text-transform: none; }
.cal-bar .grow { flex: 1; }
.icon-sq { width: 34px; height: 34px; padding: 0; border-radius: 50%; }
.cal-month { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.cal-wd { padding: 8px 8px 6px; font-size: 11.5px; font-weight: 650; color: var(--ink-3); text-transform: uppercase; letter-spacing: .04em; text-align: center; border-bottom: 1px solid var(--line); }
.cal-cell { min-height: 118px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 4px 4px 6px; cursor: pointer; display: flex; flex-direction: column; gap: 2px; min-width: 0; transition: background .12s; }
.cal-cell:nth-child(7n) { border-right: 0; }
.cal-cell:hover { background: var(--surface-2); }
.cal-cell.other { background: #fbfbf9; }
.cal-cell.other .cal-dn { color: var(--ink-3); opacity: .7; }
.cal-cell.drop { background: var(--accent-soft); }
.cal-dn { text-align: center; font-size: 12.5px; font-weight: 600; margin-bottom: 2px; }
.cal-dn span { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; }
.cal-cell.today .cal-dn span, .wk-dh.today b { background: var(--accent); color: #fff; }
.cal-cell.sel .cal-dn span { box-shadow: inset 0 0 0 2px var(--ink); }
.cal-chip { --c: var(--accent); font-size: 12px; line-height: 1.35; padding: 1px 7px; border-radius: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; min-width: 0; }
.cal-chip.band { background: var(--c); color: #fff; font-weight: 550; }
.cal-chip.band.pendente { background: color-mix(in srgb, var(--c) 16%, #fff); color: color-mix(in srgb, var(--c) 80%, #000); box-shadow: inset 3px 0 0 var(--c); }
.cal-chip.timed { color: var(--ink); display: flex; gap: 5px; align-items: center; }
.cal-chip.timed::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); flex: none; }
.cal-chip.timed.pendente::before { background: transparent; box-shadow: inset 0 0 0 2px var(--c); }
.cal-chip.timed:hover { background: rgba(0,0,0,.05); }
.cal-chip.cancelado { opacity: .5; text-decoration: line-through; }
.cal-chip.cont { border-top-left-radius: 0; border-bottom-left-radius: 0; margin-left: -5px; }
.cal-chip.goes { border-top-right-radius: 0; border-bottom-right-radius: 0; margin-right: -5px; }
.cal-more { border: 0; background: none; text-align: left; font-size: 12px; font-weight: 650; color: var(--ink-2); padding: 1px 7px; cursor: pointer; border-radius: 5px; }
.cal-more:hover { background: rgba(0,0,0,.05); }
.cal-dots { display: none; justify-content: center; gap: 3px; flex-wrap: wrap; }
.cal-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--c); }
.cal-agenda { display: none; }
/* semana / dia */
.wk { --n: 7; --hh: 48px; }
.wk-row { display: grid; grid-template-columns: 56px repeat(var(--n), minmax(0, 1fr)); }
.wk-dh { text-align: center; padding: 8px 4px; border-bottom: 1px solid var(--line); cursor: pointer; }
.wk-dh span { display: block; font-size: 11.5px; font-weight: 650; color: var(--ink-3); text-transform: uppercase; letter-spacing: .04em; }
.wk-dh b { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-size: 19px; font-weight: 600; }
.wk-gut { font-size: 10.5px; color: var(--ink-3); text-align: right; padding: 6px 8px 0 0; }
.wk-bc { border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 3px; display: flex; flex-direction: column; gap: 2px; min-height: 30px; min-width: 0; cursor: pointer; }
.wk-body { height: min(640px, calc(100vh - 290px)); overflow-y: auto; position: relative; }
.wk-hours div { height: var(--hh); font-size: 10.5px; color: var(--ink-3); text-align: right; padding-right: 8px; transform: translateY(-7px); }
.wk-col { position: relative; border-left: 1px solid var(--line); height: calc(var(--hh) * 24); cursor: pointer;
  background-image: repeating-linear-gradient(to bottom, transparent 0, transparent calc(var(--hh) - 1px), var(--line) calc(var(--hh) - 1px), var(--line) var(--hh)); }
.wk-col.drop { background-color: var(--accent-soft); }
.wk-ev { --c: var(--accent); position: absolute; border-radius: 6px; padding: 3px 7px; font-size: 12px; line-height: 1.3; overflow: hidden; background: var(--c); color: #fff; border: 1px solid #fff; cursor: pointer; }
.wk-ev b { display: block; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wk-ev.pendente { background: color-mix(in srgb, var(--c) 16%, #fff); color: color-mix(in srgb, var(--c) 80%, #000); border-left: 3px solid var(--c); }
.wk-ev.cancelado { opacity: .5; text-decoration: line-through; }
.wk-now { position: absolute; left: -1px; right: 0; height: 2px; background: var(--bad); z-index: 2; pointer-events: none; }
.wk-now::before { content: ""; position: absolute; left: -5px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--bad); }
.swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.swatches label { width: 26px; height: 26px; border-radius: 50%; background: var(--c); cursor: pointer; display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); }
.swatches input { display: none; }
.swatches input:checked + i { width: 10px; height: 10px; border-radius: 50%; background: #fff; }
.swatches label.auto { background: conic-gradient(#e2552b, #2b6cb0, #1f8a4c, #b7791f, #e2552b); }
.ev-head { border-left: 5px solid var(--c); padding-left: 14px; }
/* orçamento */
.q-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; align-items: start; }
@media (max-width: 1280px) { .q-grid { grid-template-columns: minmax(0, 1fr); } }
.q-lines td { vertical-align: top; }
.q-lines input, .q-lines select { height: 32px; font-size: 13.5px; padding: 0 8px; }
.q-lines .n { width: 70px; text-align: right; }
.q-lines .p { width: 100px; text-align: right; }
.q-lines .warn-line { color: var(--bad); font-size: 12px; font-weight: 600; }
.q-tot .line { display: flex; justify-content: space-between; padding: 5px 0; font-size: 14px; }
.q-tot .line.total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px; font-size: 19px; font-weight: 750; }
.logo-prev { max-width: 180px; max-height: 60px; display: block; margin: 6px 0; }
@media (max-width: 760px) {
  .cal-cell { min-height: 54px; padding: 2px; }
  .cal-cell .cal-chip, .cal-cell .cal-more { display: none; }
  .cal-dots { display: flex; }
  .cal-agenda { display: block; }
  .cal-bar h2 { min-width: 0; font-size: 17px; width: 100%; order: -1; }
  .wk { --hh: 40px; }
  .wk-row { grid-template-columns: 40px repeat(var(--n), minmax(0, 1fr)); }
  .wk-dh b { width: 28px; height: 28px; font-size: 15px; }
}

/* ---------- Maiúsculas: o que se escreve aparece (e fica guardado) em maiúsculas */
input:not([type=password]):not([type=email]):not([type=number]):not([type=date]):not([type=time]):not([name=username]):not([name=email]):not([name=website]):not([name=password]):not([name=current]),
textarea { text-transform: uppercase; }
input::placeholder, textarea::placeholder { text-transform: none; }

/* ---------- Início (funcionários) */
.hero { position: relative; overflow: hidden; display: flex; align-items: center; gap: 24px; background: var(--side); color: #fff; border-radius: 18px; padding: 30px 34px; margin-bottom: 18px; }
.hero::after { content: ""; position: absolute; right: -60px; top: -70px; width: 260px; height: 260px; border-radius: 50%; border: 44px solid var(--accent); opacity: .16; }
.hero-txt { flex: 1; min-width: 0; position: relative; z-index: 1; }
.hero-date { color: #b9b9b2; font-size: 13.5px; font-weight: 550; }
.hero h1 { font-size: 30px; margin: 4px 0 6px; color: #fff; }
.hero p { margin: 0 0 18px; color: #d6d6cf; }
.hero .hot { color: #ff8a65; }
.hero-logo { width: 84px; height: 84px; position: relative; z-index: 1; flex: none; }
.hero-search { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 12px; padding: 6px 6px 6px 14px; max-width: 560px; color: var(--ink); }
.hero-search svg { width: 18px; height: 18px; color: var(--ink-3); flex: none; }
.hero-search input { border: 0; outline: 0; flex: 1; min-width: 0; height: 36px; padding: 0; background: transparent; box-shadow: none; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.tile { display: flex; flex-direction: column; gap: 4px; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .12s, box-shadow .12s, border-color .12s; }
.tile:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.08); border-color: var(--line-2); }
.tile svg { width: 30px; height: 30px; color: var(--accent); margin-bottom: 8px; }
.tile b { font-size: 16px; }
.tile span { font-size: 13px; color: var(--ink-3); }
.tile.accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.tile.accent svg, .tile.accent span { color: #fff; }
.tile.accent span { opacity: .85; }
.day-head { padding: 10px 20px 4px; font-size: 12px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .05em; }
.preview-bar { display: flex; align-items: center; gap: 10px; background: var(--info-soft); color: var(--info); border-radius: 12px; padding: 10px 14px; margin-bottom: 18px; font-size: 14px; }
.preview-bar svg { width: 18px; height: 18px; flex: none; }
.preview-bar span { flex: 1; }
.badge.pulse::before { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }
@media (max-width: 960px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) {
  .hero { padding: 22px 20px; border-radius: 14px; }
  .hero h1 { font-size: 24px; }
  .hero-logo { display: none; }
  .tile { padding: 16px; }
  .tile svg { width: 26px; height: 26px; margin-bottom: 4px; }
  .tile span { font-size: 12px; }
}

/* ---------- Calendário só de consulta + avarias */
.cal-month.ro .cal-cell { min-height: 92px; }
.ro-day { border-top: 1px solid var(--line); }
.tile.warn svg { color: var(--bad); }
.tiles { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1100px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .tiles { grid-template-columns: repeat(2, 1fr); } .tiles .tile.warn { grid-column: 1 / -1; } }
.pick-list { display: grid; gap: 4px; margin-top: 6px; max-height: 260px; overflow: auto; }
.pick-list .pick-row, #fsel .pick-row { border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; display: flex; align-items: center; gap: 10px; }
.list li.fault { align-items: flex-start; }
.f-thumb { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; flex: none; cursor: zoom-in; background: var(--surface-2); }
.f-thumb.none { display: grid; place-items: center; color: var(--ink-3); cursor: default; border: 1px dashed var(--line-2); }
.f-thumb.none svg { width: 22px; height: 22px; }
.f-act { display: flex; gap: 4px; align-items: center; }
.ph { position: relative; }
.ph img { width: 84px; height: 84px; object-fit: cover; border-radius: 10px; display: block; }
.ph button { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(0,0,0,.6); color: #fff; display: grid; place-items: center; cursor: pointer; padding: 0; }
.ph button svg { width: 14px; height: 14px; }
@media (max-width: 760px) {
  .list li.fault { flex-wrap: wrap; }
  .f-act { width: 100%; justify-content: flex-end; }
  .cal-month.ro .cal-cell { min-height: 48px; }
}

/* ---------- Impressão (guia de saída) */
@media screen { .print-only { display: none !important; } }
@media print {
  body { background: #fff; }
  .side, .mobile-bar, .bottom-nav, .no-print, #toasts { display: none !important; }
  .shell { display: block; }
  .main { padding: 0; max-width: none; }
  .card { box-shadow: none; border-color: #ccc; }
  .grid-2 { grid-template-columns: minmax(0,1fr); }
}
.signatures { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 60px; }
.signatures div { border-top: 1px solid #999; padding-top: 6px; font-size: 13px; color: #555; }

.wm { font-weight: 800; letter-spacing: .04em; } .wm i { font-style: normal; font-weight: 600; letter-spacing: .04em; margin-left: .3em; color: var(--accent); }
.brand b.wm { font-size: 16px; }
.login .brand img { width: 44px; height: 44px; } .login .brand b.wm { font-size: 20px; }

/* =====================================================================
   Capricho: botões dinâmicos, transições, tema escuro, abertura, perfil
   ===================================================================== */
:root { --ring: 0 0 0 3px color-mix(in srgb, var(--accent) 30%, transparent); --ease: cubic-bezier(.2,.8,.2,1); --tabs: #ecebe6; --chip-bg: #efefea; --other: #fbfbf9; }
/* Botões */
.btn { position: relative; overflow: hidden; transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s, border-color .18s, color .18s; box-shadow: 0 1px 0 rgba(0,0,0,.03); }
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px -6px rgba(0,0,0,.18); }
.btn:active { transform: translateY(0) scale(.97); box-shadow: none; transition-duration: .06s; }
.btn:focus-visible, .tabs button:focus-visible, .tile:focus-visible, .nav a:focus-visible, a:focus-visible { outline: none; box-shadow: var(--ring); }
.btn.primary { background: linear-gradient(180deg, #2b2b2b, #111); border-color: #111; }
.btn.primary:hover { background: linear-gradient(180deg, #363636, #161616); box-shadow: 0 8px 20px -8px rgba(0,0,0,.45); }
.btn.accent { background: linear-gradient(180deg, #ee6a3f, #d84a20); border-color: #d84a20; box-shadow: 0 2px 8px -2px rgba(226,85,43,.45); }
.btn.accent:hover { background: linear-gradient(180deg, #f2774e, #dc5126); box-shadow: 0 10px 24px -8px rgba(226,85,43,.6); }
.btn.ghost:hover { box-shadow: none; }
.btn svg { transition: transform .25s var(--ease); }
.btn:hover svg { transform: scale(1.12) rotate(-4deg); }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }
.btn.loading { color: transparent !important; pointer-events: none; }
.btn.loading::after { content: ""; position: absolute; inset: 0; margin: auto; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-color: rgba(255,255,255,.9) rgba(255,255,255,.9) transparent transparent; animation: spin .7s linear infinite; }
.btn:not(.primary):not(.accent).loading::after { border-color: var(--ink) var(--ink) transparent transparent; }
@keyframes spin { to { transform: rotate(360deg); } }
.ripple { position: absolute; border-radius: 50%; transform: scale(0); background: currentColor; opacity: .18; animation: ripple .55s ease-out forwards; pointer-events: none; }
@keyframes ripple { to { transform: scale(2.6); opacity: 0; } }
.tabs button { transition: background .18s, color .18s, box-shadow .18s; }
.tabs button:hover:not(.active) { color: var(--ink); }
/* Cartões e mosaicos */
.card { transition: box-shadow .2s var(--ease), border-color .2s; }
.tile { position: relative; overflow: hidden; }
.tile::after { content: ""; position: absolute; inset: auto -40% -60% auto; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, rgba(226,85,43,.12), transparent 70%); transition: transform .4s var(--ease); }
.tile:hover::after { transform: scale(1.6); }
.tile:hover svg { transform: translateY(-2px) scale(1.08); }
.tile svg { transition: transform .25s var(--ease); }
.tile.accent { background: linear-gradient(135deg, #ef6b40, #d64519); }
.tile.accent::after { background: radial-gradient(circle, rgba(255,255,255,.22), transparent 70%); }
.tiles .tile { animation: rise .45s var(--ease) both; }
.tiles .tile:nth-child(2) { animation-delay: .04s; } .tiles .tile:nth-child(3) { animation-delay: .08s; }
.tiles .tile:nth-child(4) { animation-delay: .12s; } .tiles .tile:nth-child(5) { animation-delay: .16s; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
/* Transição entre páginas e esqueleto de carregamento */
#view.enter { animation: viewIn .28s var(--ease) both; }
@keyframes viewIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.skel { display: grid; gap: 14px; }
.skel i { display: block; height: 18px; border-radius: 8px; background: linear-gradient(90deg, var(--line) 25%, var(--surface-2) 50%, var(--line) 75%); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; }
.skel i.h { height: 34px; width: 40%; } .skel i.b { height: 120px; border-radius: 14px; } .skel i.s { width: 70%; }
@keyframes shimmer { to { background-position: -200% 0; } }
/* Avisos (toasts) */
#toasts { bottom: max(20px, env(safe-area-inset-bottom)); }
.toast { display: flex; align-items: center; gap: 10px; padding: 11px 16px 11px 12px; border-radius: 12px; animation: toastIn .3s var(--ease); pointer-events: auto; }
.toast::before { content: "✓"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ok); font-size: 12px; font-weight: 800; flex: none; }
.toast.error::before { content: "!"; background: rgba(255,255,255,.25); }
.toast .t-act { margin-left: 6px; background: rgba(255,255,255,.15); border: 0; color: #fff; padding: 5px 10px; border-radius: 8px; font-weight: 650; cursor: pointer; }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px) scale(.96); } to { opacity: 1; transform: none; } }
/* Menu lateral */
.nav a { transition: background .18s, color .18s, transform .18s var(--ease); }
.nav a:hover { transform: translateX(2px); }
.nav a.active { box-shadow: inset 3px 0 0 var(--accent); }
.nav .sep { height: 1px; background: rgba(255,255,255,.08); margin: 8px 10px; }
.me { cursor: default; }
.me .who { cursor: pointer; }
.avatar { overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar.lg { width: 96px; height: 96px; font-size: 32px; }
.avatar.xs { width: 22px; height: 22px; font-size: 10px; display: inline-grid; vertical-align: middle; margin-right: 6px; }
.bottom-nav a { transition: color .18s; }
.bottom-nav a svg { transition: transform .25s var(--ease); }
.bottom-nav a.active svg { transform: translateY(-2px) scale(1.08); }
/* Abertura animada */
#intro { position: fixed; inset: 0; z-index: 100; background: radial-gradient(circle at 50% 40%, #1d1d1d, #0c0c0c 70%); display: grid; place-items: center; cursor: pointer; transition: opacity .45s ease, transform .45s ease; }
#intro.out { opacity: 0; transform: scale(1.04); pointer-events: none; }
.intro-in { display: grid; justify-items: center; gap: 14px; }
.intro-mark { width: 116px; height: 116px; overflow: visible; }
.intro-mark .i-bg { fill: #161616; stroke: #2a2a2a; stroke-width: .6; transform-origin: center; animation: iPop .5s var(--ease) both; }
.intro-mark path { fill: none; stroke-width: 5.2; stroke-linecap: square; stroke-linejoin: miter; stroke-dasharray: 120; stroke-dashoffset: 120; }
.intro-mark .i-m { stroke: #fff; animation: iDraw .7s .25s var(--ease) forwards; }
.intro-mark .i-x1 { stroke: #fff; animation: iDraw .35s .85s var(--ease) forwards; }
.intro-mark .i-x2 { stroke: #E2552B; animation: iDraw .35s 1.1s var(--ease) forwards, iGlow 1s 1.4s ease-out; }
.intro-word { color: #fff; font-size: 30px; letter-spacing: .1em; font-weight: 800; animation: iUp .5s 1.25s var(--ease) both; }
.intro-word i { font-style: normal; font-weight: 600; color: #E2552B; margin-left: .3em; }
.intro-sub { color: #8a8a82; font-size: 13px; letter-spacing: .04em; animation: iUp .5s 1.45s var(--ease) both; }
@keyframes iDraw { to { stroke-dashoffset: 0; } }
@keyframes iPop { from { opacity: 0; transform: scale(.6) rotate(-8deg); } to { opacity: 1; transform: none; } }
@keyframes iUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes iGlow { 0% { filter: drop-shadow(0 0 0 rgba(226,85,43,0)); } 40% { filter: drop-shadow(0 0 8px rgba(226,85,43,.9)); } 100% { filter: drop-shadow(0 0 0 rgba(226,85,43,0)); } }
/* Perfil */
.prof-head { position: relative; overflow: hidden; display: flex; align-items: center; gap: 22px; padding: 28px; border-radius: 18px; background: linear-gradient(135deg, #161616, #262626); color: #fff; margin-bottom: 18px; }
.prof-head::after { content: ""; position: absolute; right: -50px; bottom: -80px; width: 240px; height: 240px; border-radius: 50%; border: 40px solid var(--accent); opacity: .18; }
.prof-head h1 { color: #fff; font-size: 26px; }
.prof-head p { margin: 4px 0 0; color: #b9b9b2; }
.prof-av { position: relative; z-index: 1; }
.prof-av .avatar { box-shadow: 0 0 0 4px rgba(255,255,255,.08), 0 10px 30px rgba(0,0,0,.4); background: #333; }
.prof-av label { position: absolute; right: -2px; bottom: -2px; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,.35); transition: transform .2s var(--ease); }
.prof-av label:hover { transform: scale(1.1); }
.prof-av label svg { width: 16px; height: 16px; }
.mini-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
.mini-stats div { background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.mini-stats b { display: block; font-size: 24px; font-variant-numeric: tabular-nums; }
.mini-stats span { font-size: 12.5px; color: var(--ink-3); }
.pw-meter { height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; margin-top: 6px; }
.pw-meter i { display: block; height: 100%; width: 0; border-radius: 99px; transition: width .3s var(--ease), background .3s; }
.seg { display: inline-flex; background: var(--tabs); padding: 3px; border-radius: 10px; gap: 2px; flex-wrap: wrap; }
.seg label { cursor: pointer; } .seg input { display: none; }
.seg span { display: block; padding: 6px 12px; border-radius: 8px; font-size: 13.5px; font-weight: 550; color: var(--ink-2); transition: background .18s; }
.seg input:checked + span { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.install-card { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 14px; background: linear-gradient(135deg, var(--accent-soft), var(--surface)); border: 1px solid color-mix(in srgb, var(--accent) 25%, var(--line)); }
.install-card img { width: 44px; height: 44px; border-radius: 10px; flex: none; }
.install-card .grow { flex: 1; min-width: 0; }
@media (max-width: 760px) { .prof-head { flex-direction: column; text-align: center; padding: 24px 18px; } }
/* Tema escuro */
:root[data-theme="dark"] {
  --bg: #0f0f0f; --surface: #191919; --surface-2: #202020; --ink: #f2f2ee; --ink-2: #c4c4bd; --ink-3: #8f8f88; --line: #2b2b2b; --line-2: #3a3a3a;
  --accent-soft: #3a1f16; --ok-soft: #12301f; --warn-soft: #33270f; --bad-soft: #3a1717; --info-soft: #14253a;
  --tabs: #262626; --chip-bg: #2a2a2a; --other: #151515; --shadow: 0 1px 2px rgba(0,0,0,.4); color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f0f0f; --surface: #191919; --surface-2: #202020; --ink: #f2f2ee; --ink-2: #c4c4bd; --ink-3: #8f8f88; --line: #2b2b2b; --line-2: #3a3a3a;
    --accent-soft: #3a1f16; --ok-soft: #12301f; --warn-soft: #33270f; --bad-soft: #3a1717; --info-soft: #14253a;
    --tabs: #262626; --chip-bg: #2a2a2a; --other: #151515; --shadow: 0 1px 2px rgba(0,0,0,.4); color-scheme: dark;
  }
}
.tabs { background: var(--tabs); }
.badge { background: var(--chip-bg); }
.cal-cell.other { background: var(--other); }
.bar { background: var(--tabs); }
.hero-search { background: var(--surface); }
.btn.primary { color: #fff; }
.wk-ev { border-color: var(--surface); }
/* Menos movimento para quem o pede */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .btn:hover, .tile:hover, .nav a:hover { transform: none; }
}

/* rótulos também em blocos div.field (perfil, fotografias, cor) */
div.field { display: block; }
div.field > span { display: block; font-size: 13px; font-weight: 550; color: var(--ink-2); margin-bottom: 6px; }
.mobile-bar .avatar { width: 34px; height: 34px; box-shadow: 0 0 0 2px rgba(255,255,255,.15); }

.hero, .prof-head { border: 1px solid rgba(255,255,255,.07); }
@media (max-width: 760px) { .install-card { flex-wrap: wrap; } .install-card .grow { flex: 1 1 calc(100% - 64px); } .install-card .btn.accent { margin-left: 58px; } }

/* ---------- Fundos animados (só transform/opacity; pausam com o separador escondido; desligáveis no perfil) */
.brand { cursor: pointer; }
.fx { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.fx i { position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%; will-change: transform; animation: fxA 34s ease-in-out infinite alternate; }
.fx .b1 { left: -25vmax; top: -30vmax; background: radial-gradient(circle, rgba(226,85,43,.55), rgba(226,85,43,0) 62%); }
.fx .b2 { right: -30vmax; bottom: -35vmax; background: radial-gradient(circle, rgba(214,120,72,.40), rgba(214,120,72,0) 60%); animation-name: fxB; animation-duration: 42s; }
.fx .b3 { left: 30%; top: 35%; width: 45vmax; height: 45vmax; background: radial-gradient(circle, rgba(170,160,150,.30), rgba(170,160,150,0) 62%); animation-name: fxC; animation-duration: 50s; }
.fx .grid { position: absolute; inset: -40px; border-radius: 0; width: auto; height: auto; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 40px 40px; -webkit-mask-image: radial-gradient(circle at 30% 30%, #000, transparent 75%); mask-image: radial-gradient(circle at 30% 30%, #000, transparent 75%); animation: fxGrid 30s linear infinite; }
@keyframes fxA { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(18vmax, 14vmax, 0) scale(1.15); } }
@keyframes fxB { from { transform: translate3d(0,0,0) scale(1.1); } to { transform: translate3d(-16vmax, -12vmax, 0) scale(.9); } }
@keyframes fxC { from { transform: translate3d(-10vmax, 6vmax, 0) scale(.9); } to { transform: translate3d(12vmax, -10vmax, 0) scale(1.2); } }
@keyframes fxGrid { to { transform: translate3d(40px, 40px, 0); } }
/* ecrã de entrada (login) e abertura */
.login .art > *:not(.fx) { position: relative; z-index: 1; }
#intro .fx .b1 { background: radial-gradient(circle, rgba(226,85,43,.35), rgba(226,85,43,0) 62%); }
#intro .intro-in { position: relative; z-index: 1; }
/* fundo geral da app: muito suave, atrás dos cartões */
#bgfx { position: fixed; inset: 0; z-index: -1; opacity: .22; }
:root[data-theme="dark"] #bgfx { opacity: .16; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) #bgfx { opacity: .16; } }
.shell { position: relative; z-index: 0; }
.side { z-index: 2; }
/* cabeçalhos de Início e perfil: brilho em movimento */
.hero::before, .prof-head::before { content: ""; position: absolute; width: 520px; height: 520px; left: -160px; top: -260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(226,85,43,.28), rgba(226,85,43,0) 65%); will-change: transform; animation: fxHero 16s ease-in-out infinite alternate; pointer-events: none; }
.hero > *, .prof-head > * { position: relative; z-index: 1; }
@keyframes fxHero { from { transform: translate3d(0,0,0); } to { transform: translate3d(420px, 160px, 0) scale(1.2); } }
/* pausa quando o separador está escondido; desligado no perfil ou com "reduzir movimento" */
:root.fx-paused .fx i, :root.fx-paused .hero::before, :root.fx-paused .prof-head::before { animation-play-state: paused; }
:root[data-fx="off"] #bgfx, :root[data-fx="off"] .login .fx, :root[data-fx="off"] #intro .fx { display: none; }
:root[data-fx="off"] .hero::before, :root[data-fx="off"] .prof-head::before { animation: none; }
@media (prefers-reduced-motion: reduce) { .fx i, .hero::before, .prof-head::before { animation: none !important; } }

/* ---------- Fundo geral animado (o mesmo do ecrã de entrada), bem visível; cartões "vidro fosco" para o texto ler bem */
#bgfx { opacity: .75; }
:root[data-theme="dark"] #bgfx { opacity: .85; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) #bgfx { opacity: .85; } }
#bgfx .grid { background-image: linear-gradient(rgba(20,20,20,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(20,20,20,.06) 1px, transparent 1px); }
:root[data-theme="dark"] #bgfx .grid { background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) #bgfx .grid { background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); } }
/* superfícies: quase opacas (telemóvel) ou vidro fosco (computador), sempre legíveis */
:root:not([data-fx="off"]) .card, :root:not([data-fx="off"]) .tile:not(.accent) { background: color-mix(in srgb, var(--surface) 94%, transparent); }
@media (min-width: 761px) {
  @supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    :root:not([data-fx="off"]) .card, :root:not([data-fx="off"]) .tile:not(.accent) {
      background: color-mix(in srgb, var(--surface) 82%, transparent); -webkit-backdrop-filter: blur(16px) saturate(1.15); backdrop-filter: blur(16px) saturate(1.15); }
  }
}
:root:not([data-fx="off"]) .page-head h1 { text-shadow: 0 1px 0 color-mix(in srgb, var(--bg) 60%, transparent); }
:root:not([data-fx="off"]) .bottom-nav, :root:not([data-fx="off"]) .mobile-bar { box-shadow: 0 0 24px rgba(0,0,0,.12); }

/* camada do fundo animado: por cima da cor de fundo da página, por baixo da app */
#bgfx { z-index: 0; }
.shell { z-index: 1; }
#bgfx { opacity: 1; }

/* sem quadriculado (pedido do dono): só os brilhos em movimento */
.fx .grid { display: none !important; }

/* fluidez: sem desfoque por trás dos cartões (era recalculado a cada fotograma); cartões ligeiramente translúcidos, sem blur */
:root:not([data-fx="off"]) .card, :root:not([data-fx="off"]) .tile:not(.accent) { -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
  background: color-mix(in srgb, var(--surface) 90%, transparent); }
/* brilhos: camadas próprias na GPU, ciclos longos e suaves (só transform) */
.fx i { backface-visibility: hidden; transform: translateZ(0); contain: strict; animation-timing-function: cubic-bezier(.45,.05,.55,.95); }
.fx .b1 { animation-duration: 28s; } .fx .b2 { animation-duration: 36s; } .fx .b3 { animation-duration: 44s; }
#bgfx { contain: strict; }
.hero::before, .prof-head::before { animation-duration: 22s; animation-timing-function: cubic-bezier(.45,.05,.55,.95); backface-visibility: hidden; }

/* ---------- Verificação em dois passos */
.tfa { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 14px; }
.tfa-qr { flex: none; width: 190px; padding: 8px; background: #fff; border-radius: 12px; border: 1px solid var(--line); }
.tfa-qr svg { display: block; width: 100%; height: auto; }
.tfa-steps { margin: 0; padding-left: 18px; display: grid; gap: 10px; font-size: 14px; }
.tfa-steps a { color: var(--accent); text-decoration: underline; }
.tfa-key { display: inline-block; margin-top: 6px; padding: 6px 10px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line); font-size: 14px; letter-spacing: .08em; word-break: break-all; user-select: all; }
.codes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.codes code { padding: 8px 10px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line); font-size: 15px; letter-spacing: .08em; text-align: center; user-select: all; }
@media (max-width: 760px) { .tfa { flex-direction: column; align-items: center; } .tfa-qr { width: 200px; } }

/* ---------- Fundo: só os brilhos laranja (sem círculos claros) */
.fx .b3 { display: none !important; }

/* ---------- Avisos (toasts): legíveis nos dois temas, botão laranja, fechar */
#toasts { left: auto; right: 20px; bottom: 20px; transform: none; align-items: flex-end; width: min(420px, calc(100vw - 32px)); gap: 10px; }
.toast { width: 100%; background: #1f1f1f; color: #f5f5f2; border: 1px solid rgba(255,255,255,.08); box-shadow: 0 12px 32px rgba(0,0,0,.28); font-size: 14px; line-height: 1.4; padding: 12px 12px 12px 14px; }
.toast::before { background: var(--ok); color: #fff; }
.toast.error::before { content: "!"; background: var(--bad); }
.toast .t-act { margin-left: auto; flex: none; background: linear-gradient(180deg, #ee6a3f, #d84a20); color: #fff; border: 0; padding: 7px 14px; border-radius: 9px; font-weight: 700; cursor: pointer; box-shadow: 0 4px 12px -4px rgba(226,85,43,.6); }
.toast .t-act:hover { filter: brightness(1.08); }
.toast .t-x { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 0; background: transparent; color: #a9a9a2; cursor: pointer; display: grid; place-items: center; }
.toast .t-x:hover { background: rgba(255,255,255,.08); color: #fff; }
.toast .t-x svg { width: 14px; height: 14px; }
.toast .t-msg { flex: 1; min-width: 0; }
:root[data-theme="light"] .toast { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: 0 12px 32px rgba(0,0,0,.12); }
:root[data-theme="light"] .toast .t-x { color: var(--ink-3); } :root[data-theme="light"] .toast .t-x:hover { background: rgba(0,0,0,.05); color: var(--ink); }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .toast { background: #fff; color: #141414; border-color: #e7e6e1; box-shadow: 0 12px 32px rgba(0,0,0,.12); }
  :root:not([data-theme="dark"]) .toast .t-x { color: #8a8a82; } }
@media (max-width: 760px) { #toasts { left: 16px; right: 16px; width: auto; align-items: stretch; bottom: calc(76px + env(safe-area-inset-bottom)); } }

/* ---------- Fotografias do material: miniaturas quadradas, nunca deformadas */
.ithumb { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; flex: none; background: var(--surface-2); border: 1px solid var(--line); display: block; }
.ithumb.sm { width: 34px; height: 34px; border-radius: 8px; }
.ithumb.none { display: grid; place-items: center; color: var(--ink-3); }
.ithumb.none svg { width: 18px; height: 18px; opacity: .7; }
.iname { display: flex; align-items: center; gap: 12px; min-width: 0; }
.pick-row { display: flex; align-items: center; gap: 10px; }
.iphoto { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; margin-bottom: 16px; cursor: zoom-in; background: var(--surface-2); border: 1px solid var(--line); }
.iphoto.none { display: grid; place-items: center; align-content: center; gap: 6px; color: var(--ink-3); cursor: pointer; border-style: dashed; font: inherit; font-size: 13.5px; }
.iphoto.none svg { width: 28px; height: 28px; }
.pf-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.pf-prev { width: 96px; height: 96px; border-radius: 14px; overflow: hidden; flex: none; display: grid; place-items: center; background: var(--surface-2); border: 1px dashed var(--line-2); color: var(--ink-3); }
.pf-prev img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pf-prev svg { width: 26px; height: 26px; }
.pf-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.pf .t-sub { margin-top: 6px; }
/* Início: 6 atalhos */
.tiles { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .tiles { grid-template-columns: repeat(2, 1fr); } .tiles .tile.warn { grid-column: auto; } }

/* ficha do material no telemóvel: cartões de números em 2 colunas, botões sem cortar texto */
.stat .btn { max-width: 100%; white-space: normal; height: auto; min-height: 32px; padding: 6px 10px; line-height: 1.2; text-align: center; }
@media (max-width: 760px) { .stats[style*="repeat(3"] { grid-template-columns: repeat(2, 1fr) !important; } .stats[style*="repeat(3"] > :last-child { grid-column: 1 / -1; } }

/* ---------- Calendário: agenda pessoal, equipa, ajuda */
.cal-chip.personal, .wk-ev.personal { --c: #8a8a82 !important; background: repeating-linear-gradient(135deg, color-mix(in srgb, #8a8a82 22%, transparent) 0 6px, color-mix(in srgb, #8a8a82 10%, transparent) 6px 12px) !important; color: var(--ink-2) !important; box-shadow: inset 3px 0 0 #8a8a82 !important; font-style: italic; }
.cal-chip.timed.personal::before { background: #8a8a82; }
.team-pick { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-check input { display: none; }
.chip-check span { display: inline-block; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13px; cursor: pointer; transition: background .15s, border-color .15s; user-select: none; }
.chip-check input:checked + span { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); font-weight: 650; }
.opt-list { display: grid; gap: 8px; margin-top: 4px; }
.cal-help { margin-top: 8px; font-size: 13.5px; }
.cal-help summary { cursor: pointer; color: var(--accent); font-weight: 600; }
.cal-help ul { margin: 8px 0; padding-left: 18px; display: grid; gap: 8px; }
.feed-row { display: flex; gap: 8px; align-items: center; }
.feed-row input { flex: 1; min-width: 0; font-size: 13px; text-transform: none !important; }
.pers-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 4px; }
#cpurl, [name=url] { text-transform: none !important; }
#emf input, .feed-row input { text-transform: none !important; }

/* ---------- Painel do dia e passo "Equipa" */
.day-panel { display: grid; gap: 10px; }
.day-panel .list { margin: -6px -22px 4px; }
.dp-new { width: 100%; height: 46px; font-size: 15px; }
@media (max-width: 760px) {
  .modal-bg:has(.modal.sheet), .modal-bg.sheet-bg { align-items: end; padding: 0; }
  .modal.sheet { max-width: none; border-radius: 18px 18px 0 0; animation: sheetUp .25s var(--ease); padding-bottom: env(safe-area-inset-bottom); }
}
@keyframes sheetUp { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.team-step { border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line)); background: color-mix(in srgb, var(--accent) 5%, transparent); border-radius: 14px; padding: 14px; }
.team-step > span { font-size: 14px !important; color: var(--ink) !important; font-weight: 700 !important; }
.team-tools { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; }
.team-tools .search { flex: 1; min-width: 160px; }
.chip-check span { display: inline-flex !important; align-items: center; gap: 4px; padding: 4px 12px 4px 4px !important; }
.chip-check .avatar.xs { margin-right: 4px; background: var(--chip-bg); color: var(--ink-2); }
.chip-check .cal-ok { font-style: normal; color: var(--ok); font-weight: 800; }
.team-note { display: flex; gap: 8px; align-items: flex-start; margin-top: 10px; font-size: 13px; color: var(--ink-2); }
.team-note svg { width: 16px; height: 16px; flex: none; color: var(--accent); margin-top: 2px; }

/* ---------- Fundo: padrão de pequenos X (como o X do logótipo), sem círculos. Uma camada na GPU, deriva diagonal contínua */
.fx i, .fx .grid { display: none !important; }
.hero::after, .prof-head::after, .login .art::after, .tile::after { display: none !important; }
.hero::before, .prof-head::before { width: auto; height: auto; inset: -64px; left: -64px; top: -64px; border-radius: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M11 11l10 10' stroke='rgba(255,255,255,.07)'/%3E%3Cpath d='M21 11L11 21' stroke='rgba(255,255,255,.07)'/%3E%3Cpath d='M43 43l10 10' stroke='rgba(255,255,255,.07)'/%3E%3Cpath d='M53 43L43 53' stroke='rgba(226,85,43,.38)'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 64px 64px repeat;
  animation: xDrift 60s linear infinite; opacity: .9; }
.fx { -webkit-mask-image: radial-gradient(ellipse at 50% 45%, rgba(0,0,0,.35) 0%, #000 78%); mask-image: radial-gradient(ellipse at 50% 45%, rgba(0,0,0,.35) 0%, #000 78%); }
.fx::before { content: ""; position: absolute; inset: -64px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M11 11l10 10' stroke='rgba(20,20,20,.08)'/%3E%3Cpath d='M21 11L11 21' stroke='rgba(20,20,20,.08)'/%3E%3Cpath d='M43 43l10 10' stroke='rgba(20,20,20,.08)'/%3E%3Cpath d='M53 43L43 53' stroke='rgba(226,85,43,.30)'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 64px 64px repeat; will-change: transform; transform: translate3d(0,0,0); animation: xDrift 60s linear infinite; }
:root[data-theme="dark"] .fx::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M11 11l10 10' stroke='rgba(255,255,255,.07)'/%3E%3Cpath d='M21 11L11 21' stroke='rgba(255,255,255,.07)'/%3E%3Cpath d='M43 43l10 10' stroke='rgba(255,255,255,.07)'/%3E%3Cpath d='M53 43L43 53' stroke='rgba(226,85,43,.38)'/%3E%3C/g%3E%3C/svg%3E"); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .fx::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M11 11l10 10' stroke='rgba(255,255,255,.07)'/%3E%3Cpath d='M21 11L11 21' stroke='rgba(255,255,255,.07)'/%3E%3Cpath d='M43 43l10 10' stroke='rgba(255,255,255,.07)'/%3E%3Cpath d='M53 43L43 53' stroke='rgba(226,85,43,.38)'/%3E%3C/g%3E%3C/svg%3E"); } }
.login .art .fx::before, #intro .fx::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M11 11l10 10' stroke='rgba(255,255,255,.07)'/%3E%3Cpath d='M21 11L11 21' stroke='rgba(255,255,255,.07)'/%3E%3Cpath d='M43 43l10 10' stroke='rgba(255,255,255,.07)'/%3E%3Cpath d='M53 43L43 53' stroke='rgba(226,85,43,.38)'/%3E%3C/g%3E%3C/svg%3E"); }
#bgfx { opacity: 1 !important; }
@keyframes xDrift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(64px, 64px, 0); } }
:root.fx-paused .fx::before, :root.fx-paused .hero::before, :root.fx-paused .prof-head::before { animation-play-state: paused; }
:root[data-fx="off"] .hero::before, :root[data-fx="off"] .prof-head::before { animation: none; }
@media (prefers-reduced-motion: reduce) { .fx::before, .hero::before, .prof-head::before { animation: none !important; } }

/* ---------- Logística, material do evento, levantamento em armazém (alvos grandes, poucos toques) */
.logi { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.logi summary { cursor: pointer; display: flex; align-items: center; gap: 8px; list-style: none; flex-wrap: wrap; }
.logi summary::-webkit-details-marker { display: none; }
.logi summary svg { width: 18px; height: 18px; color: var(--accent); }
.logi summary .t-sub { flex-basis: 100%; margin-left: 26px; }
.dt2 { display: flex; gap: 8px; } .dt2 input[type=time] { max-width: 120px; }
.ev-mat { margin: 0 0 14px; }
.ev-mat .list li { padding: 10px 16px; }
.ev-mat-foot { display: grid; gap: 10px; padding: 12px 16px 16px; border-top: 1px solid var(--line); }
.big-act { width: 100%; height: 52px; font-size: 16px; border-radius: 14px; }
.done-row { display: flex; gap: 10px; align-items: center; color: var(--ok); }
.done-row svg { width: 20px; height: 20px; flex: none; }
.mat-pick { display: grid; gap: 6px; max-height: 240px; overflow: auto; }
.pick-card { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; cursor: pointer; color: inherit; font: inherit; }
.pick-card:hover { border-color: var(--accent); }
.pick-card .grow { display: grid; min-width: 0; } .pick-card svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
.mline { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.mline.over b { color: var(--bad); }
.sn-pick summary { cursor: pointer; font-size: 12.5px; color: var(--accent); margin-top: 4px; }
.sn-pick .team-pick { margin-top: 6px; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; flex: none; }
.stepper button { width: 40px; height: 40px; border: 0; background: var(--surface-2); color: var(--ink); font-size: 20px; cursor: pointer; }
.stepper button:active { background: var(--accent-soft); }
.stepper b { min-width: 38px; text-align: center; font-variant-numeric: tabular-nums; }
.pk-head { display: grid; gap: 6px; }
.pk-bar { height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; }
.pk-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #ee6a3f, var(--ok)); transition: width .3s var(--ease); }
.pk-item { display: flex; align-items: center; gap: 10px; padding: 10px; margin-bottom: 8px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); transition: border-color .2s, background .2s; }
.pk-item.done { border-color: color-mix(in srgb, var(--ok) 55%, var(--line)); background: color-mix(in srgb, var(--ok) 7%, var(--surface)); }
.pk-tick { width: 44px; height: 44px; border-radius: 12px; border: 2px solid var(--line-2); background: var(--surface); color: #fff; font-size: 22px; font-weight: 800; cursor: pointer; flex: none; display: grid; place-items: center; }
.pk-item.done .pk-tick { background: var(--ok); border-color: var(--ok); }
.pk-sn { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.pk-sn .sn { padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink-2); font: inherit; font-size: 12.5px; cursor: pointer; }
.pk-sn .sn.plan { border-style: dashed; border-color: var(--accent); }
.pk-sn .sn.on { background: var(--ok); border-color: var(--ok); color: #fff; font-weight: 700; }
.pk-more { margin-top: 10px; } .pk-more summary { cursor: pointer; color: var(--ink-3); font-size: 13px; }
.ev-link { display: flex; gap: 10px; align-items: center; margin-bottom: 14px; }
.ev-link svg { width: 18px; height: 18px; color: var(--accent); flex: none; } .ev-link a { color: var(--accent); text-decoration: underline; }
.pk-card { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.pk-card .card-head h2 { display: flex; gap: 8px; align-items: center; } .pk-card .card-head h2 svg { width: 18px; height: 18px; color: var(--accent); }
@media (max-width: 760px) {
  .pk-item { flex-wrap: wrap; } .pk-item .grow { flex: 1 1 calc(100% - 120px); }
  .mline { flex-wrap: wrap; } .mline .grow { flex: 1 1 calc(100% - 60px); }
  .pk-card li { flex-wrap: wrap; } .pk-card li .btn { width: 100%; height: 48px; }
}

/* ---------- Fundo limpo: só dois cantos com X (como o logótipo), a desvanecer para o centro. Camadas pequenas na GPU, só transform */
.fx::before, .hero::before, .prof-head::before { display: none !important; animation: none !important; }
.fx { -webkit-mask-image: none !important; mask-image: none !important; }
#bgfx::before, #bgfx::after, .login .art .fx::after, #intro .fx::after { content: ""; position: absolute; width: 42vmin; height: 42vmin; min-width: 220px; min-height: 220px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'%3E%3Cg fill='none' stroke-width='2.6' stroke-linecap='round'%3E%3Cg stroke='%23141414' stroke-opacity='0.05'%3E%3Cpath d='M54 9L66 21'/%3E%3Cpath d='M66 9L54 21'/%3E%3C/g%3E%3Cg stroke='%23141414' stroke-opacity='0.10'%3E%3Cpath d='M84 9L96 21'/%3E%3Cpath d='M96 9L84 21'/%3E%3C/g%3E%3Cg stroke='%23141414' stroke-opacity='0.16'%3E%3Cpath d='M114 9L126 21'/%3E%3Cpath d='M126 9L114 21'/%3E%3C/g%3E%3Cg stroke='%23141414' stroke-opacity='0.23'%3E%3Cpath d='M144 9L156 21'/%3E%3Cpath d='M156 9L144 21'/%3E%3C/g%3E%3Cg stroke='%23E2552B' stroke-opacity='0.47'%3E%3Cpath d='M174 9L186 21'/%3E%3Cpath d='M186 9L174 21'/%3E%3C/g%3E%3Cg stroke='%23141414' stroke-opacity='0.39'%3E%3Cpath d='M204 9L216 21'/%3E%3Cpath d='M216 9L204 21'/%3E%3C/g%3E%3Cg stroke='%23E2552B' stroke-opacity='0.07'%3E%3Cpath d='M54 39L66 51'/%3E%3Cpath d='M66 39L54 51'/%3E%3C/g%3E%3Cg stroke='%23141414' stroke-opacity='0.09'%3E%3Cpath d='M84 39L96 51'/%3E%3Cpath d='M96 39L84 51'/%3E%3C/g%3E%3Cg stroke='%23141414' stroke-opacity='0.15'%3E%3Cpath d='M114 39L126 51'/%3E%3Cpath d='M126 39L114 51'/%3E%3C/g%3E%3Cg stroke='%23141414' stroke-opacity='0.21'%3E%3Cpath d='M144 39L156 51'/%3E%3Cpath d='M156 39L144 51'/%3E%3C/g%3E%3Cg stroke='%23141414' stroke-opacity='0.27'%3E%3Cpath d='M174 39L186 51'/%3E%3Cpath d='M186 39L174 51'/%3E%3C/g%3E%3Cg stroke='%23E2552B' stroke-opacity='0.50'%3E%3Cpath d='M204 39L216 51'/%3E%3Cpath d='M216 39L204 51'/%3E%3C/g%3E%3Cg stroke='%23141414' stroke-opacity='0.03'%3E%3Cpath d='M54 69L66 81'/%3E%3Cpath d='M66 69L54 81'/%3E%3C/g%3E%3Cg stroke='%23E2552B' stroke-opacity='0.11'%3E%3Cpath d='M84 69L96 81'/%3E%3Cpath d='M96 69L84 81'/%3E%3C/g%3E%3Cg stroke='%23141414' stroke-opacity='0.12'%3E%3Cpath d='M114 69L126 81'/%3E%3Cpath d='M126 69L114 81'/%3E%3C/g%3E%3Cg stroke='%23141414' stroke-opacity='0.17'%3E%3Cpath d='M144 69L156 81'/%3E%3Cpath d='M156 69L144 81'/%3E%3C/g%3E%3Cg stroke='%23141414' stroke-opacity='0.22'%3E%3Cpath d='M174 69L186 81'/%3E%3Cpath d='M186 69L174 81'/%3E%3C/g%3E%3Cg stroke='%23141414' stroke-opacity='0.26'%3E%3Cpath d='M204 69L216 81'/%3E%3Cpath d='M216 69L204 81'/%3E%3C/g%3E%3Cg stroke='%23141414' stroke-opacity='0.05'%3E%3Cpath d='M84 99L96 111'/%3E%3Cpath d='M96 99L84 111'/%3E%3C/g%3E%3Cg stroke='%23E2552B' stroke-opacity='0.13'%3E%3Cpath d='M114 99L126 111'/%3E%3Cpath d='M126 99L114 111'/%3E%3C/g%3E%3Cg stroke='%23141414' stroke-opacity='0.13'%3E%3Cpath d='M144 99L156 111'/%3E%3Cpath d='M156 99L144 111'/%3E%3C/g%3E%3Cg stroke='%23141414' stroke-opacity='0.16'%3E%3Cpath d='M174 99L186 111'/%3E%3Cpath d='M186 99L174 111'/%3E%3C/g%3E%3Cg stroke='%23141414' stroke-opacity='0.19'%3E%3Cpath d='M204 99L216 111'/%3E%3Cpath d='M216 99L204 111'/%3E%3C/g%3E%3Cg stroke='%23141414' stroke-opacity='0.03'%3E%3Cpath d='M84 129L96 141'/%3E%3Cpath d='M96 129L84 141'/%3E%3C/g%3E%3Cg stroke='%23141414' stroke-opacity='0.05'%3E%3Cpath d='M114 129L126 141'/%3E%3Cpath d='M126 129L114 141'/%3E%3C/g%3E%3Cg stroke='%23E2552B' stroke-opacity='0.12'%3E%3Cpath d='M144 129L156 141'/%3E%3Cpath d='M156 129L144 141'/%3E%3C/g%3E%3Cg stroke='%23141414' stroke-opacity='0.11'%3E%3Cpath d='M174 129L186 141'/%3E%3Cpath d='M186 129L174 141'/%3E%3C/g%3E%3Cg stroke='%23141414' stroke-opacity='0.13'%3E%3Cpath d='M204 129L216 141'/%3E%3Cpath d='M216 129L204 141'/%3E%3C/g%3E%3Cg stroke='%23141414' stroke-opacity='0.04'%3E%3Cpath d='M144 159L156 171'/%3E%3Cpath d='M156 159L144 171'/%3E%3C/g%3E%3Cg stroke='%23E2552B' stroke-opacity='0.09'%3E%3Cpath d='M174 159L186 171'/%3E%3Cpath d='M186 159L174 171'/%3E%3C/g%3E%3Cg stroke='%23141414' stroke-opacity='0.07'%3E%3Cpath d='M204 159L216 171'/%3E%3Cpath d='M216 159L204 171'/%3E%3C/g%3E%3Cg stroke='%23E2552B' stroke-opacity='0.05'%3E%3Cpath d='M204 189L216 201'/%3E%3Cpath d='M216 189L204 201'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat; will-change: transform; contain: strict; pointer-events: none; }
#bgfx::before { top: 0; right: 0; animation: xFloatA 16s ease-in-out infinite alternate; }
#bgfx::after { bottom: 0; left: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'%3E%3Cg fill='none' stroke-width='2.6' stroke-linecap='round'%3E%3Cg stroke='%23141414' stroke-opacity='0.03'%3E%3Cpath d='M24 39L36 51'/%3E%3Cpath d='M36 39L24 51'/%3E%3C/g%3E%3Cg stroke='%23141414' stroke-opacity='0.07'%3E%3Cpath d='M24 69L36 81'/%3E%3Cpath d='M36 69L24 81'/%3E%3C/g%3E%3Cg stroke='%23141414' stroke-opacity='0.06'%3E%3Cpath d='M54 69L66 81'/%3E%3Cpath d='M66 69L54 81'/%3E%3C/g%3E%3Cg stroke='%23E2552B' stroke-opacity='0.07'%3E%3Cpath d='M84 69L96 81'/%3E%3Cpath d='M96 69L84 81'/%3E%3C/g%3E%3Cg stroke='%23141414' stroke-opacity='0.13'%3E%3Cpath d='M24 99L36 111'/%3E%3Cpath d='M36 99L24 111'/%3E%3C/g%3E%3Cg stroke='%23141414' stroke-opacity='0.11'%3E%3Cpath d='M54 99L66 111'/%3E%3Cpath d='M66 99L54 111'/%3E%3C/g%3E%3Cg stroke='%23141414' stroke-opacity='0.08'%3E%3Cpath d='M84 99L96 111'/%3E%3Cpath d='M96 99L84 111'/%3E%3C/g%3E%3Cg stroke='%23E2552B' stroke-opacity='0.08'%3E%3Cpath d='M114 99L126 111'/%3E%3Cpath d='M126 99L114 111'/%3E%3C/g%3E%3Cg stroke='%23141414' stroke-opacity='0.03'%3E%3Cpath d='M144 99L156 111'/%3E%3Cpath d='M156 99L144 111'/%3E%3C/g%3E%3Cg stroke='%23141414' stroke-opacity='0.19'%3E%3Cpath d='M24 129L36 141'/%3E%3Cpath d='M36 129L24 141'/%3E%3C/g%3E%3Cg stroke='%23141414' stroke-opacity='0.16'%3E%3Cpath d='M54 129L66 141'/%3E%3Cpath d='M66 129L54 141'/%3E%3C/g%3E%3Cg stroke='%23141414' stroke-opacity='0.13'%3E%3Cpath d='M84 129L96 141'/%3E%3Cpath d='M96 129L84 141'/%3E%3C/g%3E%3Cg stroke='%23141414' stroke-opacity='0.09'%3E%3Cpath d='M114 129L126 141'/%3E%3Cpath d='M126 129L114 141'/%3E%3C/g%3E%3Cg stroke='%23E2552B' stroke-opacity='0.07'%3E%3Cpath d='M144 129L156 141'/%3E%3Cpath d='M156 129L144 141'/%3E%3C/g%3E%3Cg stroke='%23E2552B' stroke-opacity='0.39'%3E%3Cpath d='M24 159L36 171'/%3E%3Cpath d='M36 159L24 171'/%3E%3C/g%3E%3Cg stroke='%23141414' stroke-opacity='0.22'%3E%3Cpath d='M54 159L66 171'/%3E%3Cpath d='M66 159L54 171'/%3E%3C/g%3E%3Cg stroke='%23141414' stroke-opacity='0.17'%3E%3Cpath d='M84 159L96 171'/%3E%3Cpath d='M96 159L84 171'/%3E%3C/g%3E%3Cg stroke='%23141414' stroke-opacity='0.12'%3E%3Cpath d='M114 159L126 171'/%3E%3Cpath d='M126 159L114 171'/%3E%3C/g%3E%3Cg stroke='%23141414' stroke-opacity='0.07'%3E%3Cpath d='M144 159L156 171'/%3E%3Cpath d='M156 159L144 171'/%3E%3C/g%3E%3Cg stroke='%23E2552B' stroke-opacity='0.05'%3E%3Cpath d='M174 159L186 171'/%3E%3Cpath d='M186 159L174 171'/%3E%3C/g%3E%3Cg stroke='%23141414' stroke-opacity='0.33'%3E%3Cpath d='M24 189L36 201'/%3E%3Cpath d='M36 189L24 201'/%3E%3C/g%3E%3Cg stroke='%23E2552B' stroke-opacity='0.41'%3E%3Cpath d='M54 189L66 201'/%3E%3Cpath d='M66 189L54 201'/%3E%3C/g%3E%3Cg stroke='%23141414' stroke-opacity='0.21'%3E%3Cpath d='M84 189L96 201'/%3E%3Cpath d='M96 189L84 201'/%3E%3C/g%3E%3Cg stroke='%23141414' stroke-opacity='0.15'%3E%3Cpath d='M114 189L126 201'/%3E%3Cpath d='M126 189L114 201'/%3E%3C/g%3E%3Cg stroke='%23141414' stroke-opacity='0.09'%3E%3Cpath d='M144 189L156 201'/%3E%3Cpath d='M156 189L144 201'/%3E%3C/g%3E%3Cg stroke='%23141414' stroke-opacity='0.05'%3E%3Cpath d='M174 189L186 201'/%3E%3Cpath d='M186 189L174 201'/%3E%3C/g%3E%3Cg stroke='%23141414' stroke-opacity='0.39'%3E%3Cpath d='M24 219L36 231'/%3E%3Cpath d='M36 219L24 231'/%3E%3C/g%3E%3Cg stroke='%23141414' stroke-opacity='0.31'%3E%3Cpath d='M54 219L66 231'/%3E%3Cpath d='M66 219L54 231'/%3E%3C/g%3E%3Cg stroke='%23E2552B' stroke-opacity='0.35'%3E%3Cpath d='M84 219L96 231'/%3E%3Cpath d='M96 219L84 231'/%3E%3C/g%3E%3Cg stroke='%23141414' stroke-opacity='0.16'%3E%3Cpath d='M114 219L126 231'/%3E%3Cpath d='M126 219L114 231'/%3E%3C/g%3E%3Cg stroke='%23141414' stroke-opacity='0.10'%3E%3Cpath d='M144 219L156 231'/%3E%3Cpath d='M156 219L144 231'/%3E%3C/g%3E%3Cg stroke='%23141414' stroke-opacity='0.05'%3E%3Cpath d='M174 219L186 231'/%3E%3Cpath d='M186 219L174 231'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); animation: xFloatB 18s ease-in-out infinite alternate; }
:root[data-theme="dark"] #bgfx::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'%3E%3Cg fill='none' stroke-width='2.6' stroke-linecap='round'%3E%3Cg stroke='%23ffffff' stroke-opacity='0.05'%3E%3Cpath d='M54 9L66 21'/%3E%3Cpath d='M66 9L54 21'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.10'%3E%3Cpath d='M84 9L96 21'/%3E%3Cpath d='M96 9L84 21'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.16'%3E%3Cpath d='M114 9L126 21'/%3E%3Cpath d='M126 9L114 21'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.23'%3E%3Cpath d='M144 9L156 21'/%3E%3Cpath d='M156 9L144 21'/%3E%3C/g%3E%3Cg stroke='%23E2552B' stroke-opacity='0.47'%3E%3Cpath d='M174 9L186 21'/%3E%3Cpath d='M186 9L174 21'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.39'%3E%3Cpath d='M204 9L216 21'/%3E%3Cpath d='M216 9L204 21'/%3E%3C/g%3E%3Cg stroke='%23E2552B' stroke-opacity='0.07'%3E%3Cpath d='M54 39L66 51'/%3E%3Cpath d='M66 39L54 51'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.09'%3E%3Cpath d='M84 39L96 51'/%3E%3Cpath d='M96 39L84 51'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.15'%3E%3Cpath d='M114 39L126 51'/%3E%3Cpath d='M126 39L114 51'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.21'%3E%3Cpath d='M144 39L156 51'/%3E%3Cpath d='M156 39L144 51'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.27'%3E%3Cpath d='M174 39L186 51'/%3E%3Cpath d='M186 39L174 51'/%3E%3C/g%3E%3Cg stroke='%23E2552B' stroke-opacity='0.50'%3E%3Cpath d='M204 39L216 51'/%3E%3Cpath d='M216 39L204 51'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.03'%3E%3Cpath d='M54 69L66 81'/%3E%3Cpath d='M66 69L54 81'/%3E%3C/g%3E%3Cg stroke='%23E2552B' stroke-opacity='0.11'%3E%3Cpath d='M84 69L96 81'/%3E%3Cpath d='M96 69L84 81'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.12'%3E%3Cpath d='M114 69L126 81'/%3E%3Cpath d='M126 69L114 81'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.17'%3E%3Cpath d='M144 69L156 81'/%3E%3Cpath d='M156 69L144 81'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.22'%3E%3Cpath d='M174 69L186 81'/%3E%3Cpath d='M186 69L174 81'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.26'%3E%3Cpath d='M204 69L216 81'/%3E%3Cpath d='M216 69L204 81'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.05'%3E%3Cpath d='M84 99L96 111'/%3E%3Cpath d='M96 99L84 111'/%3E%3C/g%3E%3Cg stroke='%23E2552B' stroke-opacity='0.13'%3E%3Cpath d='M114 99L126 111'/%3E%3Cpath d='M126 99L114 111'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.13'%3E%3Cpath d='M144 99L156 111'/%3E%3Cpath d='M156 99L144 111'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.16'%3E%3Cpath d='M174 99L186 111'/%3E%3Cpath d='M186 99L174 111'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.19'%3E%3Cpath d='M204 99L216 111'/%3E%3Cpath d='M216 99L204 111'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.03'%3E%3Cpath d='M84 129L96 141'/%3E%3Cpath d='M96 129L84 141'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.05'%3E%3Cpath d='M114 129L126 141'/%3E%3Cpath d='M126 129L114 141'/%3E%3C/g%3E%3Cg stroke='%23E2552B' stroke-opacity='0.12'%3E%3Cpath d='M144 129L156 141'/%3E%3Cpath d='M156 129L144 141'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.11'%3E%3Cpath d='M174 129L186 141'/%3E%3Cpath d='M186 129L174 141'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.13'%3E%3Cpath d='M204 129L216 141'/%3E%3Cpath d='M216 129L204 141'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.04'%3E%3Cpath d='M144 159L156 171'/%3E%3Cpath d='M156 159L144 171'/%3E%3C/g%3E%3Cg stroke='%23E2552B' stroke-opacity='0.09'%3E%3Cpath d='M174 159L186 171'/%3E%3Cpath d='M186 159L174 171'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.07'%3E%3Cpath d='M204 159L216 171'/%3E%3Cpath d='M216 159L204 171'/%3E%3C/g%3E%3Cg stroke='%23E2552B' stroke-opacity='0.05'%3E%3Cpath d='M204 189L216 201'/%3E%3Cpath d='M216 189L204 201'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); } :root[data-theme="dark"] #bgfx::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'%3E%3Cg fill='none' stroke-width='2.6' stroke-linecap='round'%3E%3Cg stroke='%23ffffff' stroke-opacity='0.03'%3E%3Cpath d='M24 39L36 51'/%3E%3Cpath d='M36 39L24 51'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.07'%3E%3Cpath d='M24 69L36 81'/%3E%3Cpath d='M36 69L24 81'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.06'%3E%3Cpath d='M54 69L66 81'/%3E%3Cpath d='M66 69L54 81'/%3E%3C/g%3E%3Cg stroke='%23E2552B' stroke-opacity='0.07'%3E%3Cpath d='M84 69L96 81'/%3E%3Cpath d='M96 69L84 81'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.13'%3E%3Cpath d='M24 99L36 111'/%3E%3Cpath d='M36 99L24 111'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.11'%3E%3Cpath d='M54 99L66 111'/%3E%3Cpath d='M66 99L54 111'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.08'%3E%3Cpath d='M84 99L96 111'/%3E%3Cpath d='M96 99L84 111'/%3E%3C/g%3E%3Cg stroke='%23E2552B' stroke-opacity='0.08'%3E%3Cpath d='M114 99L126 111'/%3E%3Cpath d='M126 99L114 111'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.03'%3E%3Cpath d='M144 99L156 111'/%3E%3Cpath d='M156 99L144 111'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.19'%3E%3Cpath d='M24 129L36 141'/%3E%3Cpath d='M36 129L24 141'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.16'%3E%3Cpath d='M54 129L66 141'/%3E%3Cpath d='M66 129L54 141'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.13'%3E%3Cpath d='M84 129L96 141'/%3E%3Cpath d='M96 129L84 141'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.09'%3E%3Cpath d='M114 129L126 141'/%3E%3Cpath d='M126 129L114 141'/%3E%3C/g%3E%3Cg stroke='%23E2552B' stroke-opacity='0.07'%3E%3Cpath d='M144 129L156 141'/%3E%3Cpath d='M156 129L144 141'/%3E%3C/g%3E%3Cg stroke='%23E2552B' stroke-opacity='0.39'%3E%3Cpath d='M24 159L36 171'/%3E%3Cpath d='M36 159L24 171'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.22'%3E%3Cpath d='M54 159L66 171'/%3E%3Cpath d='M66 159L54 171'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.17'%3E%3Cpath d='M84 159L96 171'/%3E%3Cpath d='M96 159L84 171'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.12'%3E%3Cpath d='M114 159L126 171'/%3E%3Cpath d='M126 159L114 171'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.07'%3E%3Cpath d='M144 159L156 171'/%3E%3Cpath d='M156 159L144 171'/%3E%3C/g%3E%3Cg stroke='%23E2552B' stroke-opacity='0.05'%3E%3Cpath d='M174 159L186 171'/%3E%3Cpath d='M186 159L174 171'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.33'%3E%3Cpath d='M24 189L36 201'/%3E%3Cpath d='M36 189L24 201'/%3E%3C/g%3E%3Cg stroke='%23E2552B' stroke-opacity='0.41'%3E%3Cpath d='M54 189L66 201'/%3E%3Cpath d='M66 189L54 201'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.21'%3E%3Cpath d='M84 189L96 201'/%3E%3Cpath d='M96 189L84 201'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.15'%3E%3Cpath d='M114 189L126 201'/%3E%3Cpath d='M126 189L114 201'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.09'%3E%3Cpath d='M144 189L156 201'/%3E%3Cpath d='M156 189L144 201'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.05'%3E%3Cpath d='M174 189L186 201'/%3E%3Cpath d='M186 189L174 201'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.39'%3E%3Cpath d='M24 219L36 231'/%3E%3Cpath d='M36 219L24 231'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.31'%3E%3Cpath d='M54 219L66 231'/%3E%3Cpath d='M66 219L54 231'/%3E%3C/g%3E%3Cg stroke='%23E2552B' stroke-opacity='0.35'%3E%3Cpath d='M84 219L96 231'/%3E%3Cpath d='M96 219L84 231'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.16'%3E%3Cpath d='M114 219L126 231'/%3E%3Cpath d='M126 219L114 231'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.10'%3E%3Cpath d='M144 219L156 231'/%3E%3Cpath d='M156 219L144 231'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.05'%3E%3Cpath d='M174 219L186 231'/%3E%3Cpath d='M186 219L174 231'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) #bgfx::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'%3E%3Cg fill='none' stroke-width='2.6' stroke-linecap='round'%3E%3Cg stroke='%23ffffff' stroke-opacity='0.05'%3E%3Cpath d='M54 9L66 21'/%3E%3Cpath d='M66 9L54 21'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.10'%3E%3Cpath d='M84 9L96 21'/%3E%3Cpath d='M96 9L84 21'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.16'%3E%3Cpath d='M114 9L126 21'/%3E%3Cpath d='M126 9L114 21'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.23'%3E%3Cpath d='M144 9L156 21'/%3E%3Cpath d='M156 9L144 21'/%3E%3C/g%3E%3Cg stroke='%23E2552B' stroke-opacity='0.47'%3E%3Cpath d='M174 9L186 21'/%3E%3Cpath d='M186 9L174 21'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.39'%3E%3Cpath d='M204 9L216 21'/%3E%3Cpath d='M216 9L204 21'/%3E%3C/g%3E%3Cg stroke='%23E2552B' stroke-opacity='0.07'%3E%3Cpath d='M54 39L66 51'/%3E%3Cpath d='M66 39L54 51'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.09'%3E%3Cpath d='M84 39L96 51'/%3E%3Cpath d='M96 39L84 51'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.15'%3E%3Cpath d='M114 39L126 51'/%3E%3Cpath d='M126 39L114 51'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.21'%3E%3Cpath d='M144 39L156 51'/%3E%3Cpath d='M156 39L144 51'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.27'%3E%3Cpath d='M174 39L186 51'/%3E%3Cpath d='M186 39L174 51'/%3E%3C/g%3E%3Cg stroke='%23E2552B' stroke-opacity='0.50'%3E%3Cpath d='M204 39L216 51'/%3E%3Cpath d='M216 39L204 51'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.03'%3E%3Cpath d='M54 69L66 81'/%3E%3Cpath d='M66 69L54 81'/%3E%3C/g%3E%3Cg stroke='%23E2552B' stroke-opacity='0.11'%3E%3Cpath d='M84 69L96 81'/%3E%3Cpath d='M96 69L84 81'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.12'%3E%3Cpath d='M114 69L126 81'/%3E%3Cpath d='M126 69L114 81'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.17'%3E%3Cpath d='M144 69L156 81'/%3E%3Cpath d='M156 69L144 81'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.22'%3E%3Cpath d='M174 69L186 81'/%3E%3Cpath d='M186 69L174 81'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.26'%3E%3Cpath d='M204 69L216 81'/%3E%3Cpath d='M216 69L204 81'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.05'%3E%3Cpath d='M84 99L96 111'/%3E%3Cpath d='M96 99L84 111'/%3E%3C/g%3E%3Cg stroke='%23E2552B' stroke-opacity='0.13'%3E%3Cpath d='M114 99L126 111'/%3E%3Cpath d='M126 99L114 111'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.13'%3E%3Cpath d='M144 99L156 111'/%3E%3Cpath d='M156 99L144 111'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.16'%3E%3Cpath d='M174 99L186 111'/%3E%3Cpath d='M186 99L174 111'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.19'%3E%3Cpath d='M204 99L216 111'/%3E%3Cpath d='M216 99L204 111'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.03'%3E%3Cpath d='M84 129L96 141'/%3E%3Cpath d='M96 129L84 141'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.05'%3E%3Cpath d='M114 129L126 141'/%3E%3Cpath d='M126 129L114 141'/%3E%3C/g%3E%3Cg stroke='%23E2552B' stroke-opacity='0.12'%3E%3Cpath d='M144 129L156 141'/%3E%3Cpath d='M156 129L144 141'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.11'%3E%3Cpath d='M174 129L186 141'/%3E%3Cpath d='M186 129L174 141'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.13'%3E%3Cpath d='M204 129L216 141'/%3E%3Cpath d='M216 129L204 141'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.04'%3E%3Cpath d='M144 159L156 171'/%3E%3Cpath d='M156 159L144 171'/%3E%3C/g%3E%3Cg stroke='%23E2552B' stroke-opacity='0.09'%3E%3Cpath d='M174 159L186 171'/%3E%3Cpath d='M186 159L174 171'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.07'%3E%3Cpath d='M204 159L216 171'/%3E%3Cpath d='M216 159L204 171'/%3E%3C/g%3E%3Cg stroke='%23E2552B' stroke-opacity='0.05'%3E%3Cpath d='M204 189L216 201'/%3E%3Cpath d='M216 189L204 201'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); } :root:not([data-theme="light"]) #bgfx::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'%3E%3Cg fill='none' stroke-width='2.6' stroke-linecap='round'%3E%3Cg stroke='%23ffffff' stroke-opacity='0.03'%3E%3Cpath d='M24 39L36 51'/%3E%3Cpath d='M36 39L24 51'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.07'%3E%3Cpath d='M24 69L36 81'/%3E%3Cpath d='M36 69L24 81'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.06'%3E%3Cpath d='M54 69L66 81'/%3E%3Cpath d='M66 69L54 81'/%3E%3C/g%3E%3Cg stroke='%23E2552B' stroke-opacity='0.07'%3E%3Cpath d='M84 69L96 81'/%3E%3Cpath d='M96 69L84 81'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.13'%3E%3Cpath d='M24 99L36 111'/%3E%3Cpath d='M36 99L24 111'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.11'%3E%3Cpath d='M54 99L66 111'/%3E%3Cpath d='M66 99L54 111'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.08'%3E%3Cpath d='M84 99L96 111'/%3E%3Cpath d='M96 99L84 111'/%3E%3C/g%3E%3Cg stroke='%23E2552B' stroke-opacity='0.08'%3E%3Cpath d='M114 99L126 111'/%3E%3Cpath d='M126 99L114 111'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.03'%3E%3Cpath d='M144 99L156 111'/%3E%3Cpath d='M156 99L144 111'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.19'%3E%3Cpath d='M24 129L36 141'/%3E%3Cpath d='M36 129L24 141'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.16'%3E%3Cpath d='M54 129L66 141'/%3E%3Cpath d='M66 129L54 141'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.13'%3E%3Cpath d='M84 129L96 141'/%3E%3Cpath d='M96 129L84 141'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.09'%3E%3Cpath d='M114 129L126 141'/%3E%3Cpath d='M126 129L114 141'/%3E%3C/g%3E%3Cg stroke='%23E2552B' stroke-opacity='0.07'%3E%3Cpath d='M144 129L156 141'/%3E%3Cpath d='M156 129L144 141'/%3E%3C/g%3E%3Cg stroke='%23E2552B' stroke-opacity='0.39'%3E%3Cpath d='M24 159L36 171'/%3E%3Cpath d='M36 159L24 171'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.22'%3E%3Cpath d='M54 159L66 171'/%3E%3Cpath d='M66 159L54 171'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.17'%3E%3Cpath d='M84 159L96 171'/%3E%3Cpath d='M96 159L84 171'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.12'%3E%3Cpath d='M114 159L126 171'/%3E%3Cpath d='M126 159L114 171'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.07'%3E%3Cpath d='M144 159L156 171'/%3E%3Cpath d='M156 159L144 171'/%3E%3C/g%3E%3Cg stroke='%23E2552B' stroke-opacity='0.05'%3E%3Cpath d='M174 159L186 171'/%3E%3Cpath d='M186 159L174 171'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.33'%3E%3Cpath d='M24 189L36 201'/%3E%3Cpath d='M36 189L24 201'/%3E%3C/g%3E%3Cg stroke='%23E2552B' stroke-opacity='0.41'%3E%3Cpath d='M54 189L66 201'/%3E%3Cpath d='M66 189L54 201'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.21'%3E%3Cpath d='M84 189L96 201'/%3E%3Cpath d='M96 189L84 201'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.15'%3E%3Cpath d='M114 189L126 201'/%3E%3Cpath d='M126 189L114 201'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.09'%3E%3Cpath d='M144 189L156 201'/%3E%3Cpath d='M156 189L144 201'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.05'%3E%3Cpath d='M174 189L186 201'/%3E%3Cpath d='M186 189L174 201'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.39'%3E%3Cpath d='M24 219L36 231'/%3E%3Cpath d='M36 219L24 231'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.31'%3E%3Cpath d='M54 219L66 231'/%3E%3Cpath d='M66 219L54 231'/%3E%3C/g%3E%3Cg stroke='%23E2552B' stroke-opacity='0.35'%3E%3Cpath d='M84 219L96 231'/%3E%3Cpath d='M96 219L84 231'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.16'%3E%3Cpath d='M114 219L126 231'/%3E%3Cpath d='M126 219L114 231'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.10'%3E%3Cpath d='M144 219L156 231'/%3E%3Cpath d='M156 219L144 231'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.05'%3E%3Cpath d='M174 219L186 231'/%3E%3Cpath d='M186 219L174 231'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); } }
.login .art .fx::after, #intro .fx::after { top: 0; right: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'%3E%3Cg fill='none' stroke-width='2.6' stroke-linecap='round'%3E%3Cg stroke='%23ffffff' stroke-opacity='0.05'%3E%3Cpath d='M54 9L66 21'/%3E%3Cpath d='M66 9L54 21'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.10'%3E%3Cpath d='M84 9L96 21'/%3E%3Cpath d='M96 9L84 21'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.16'%3E%3Cpath d='M114 9L126 21'/%3E%3Cpath d='M126 9L114 21'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.23'%3E%3Cpath d='M144 9L156 21'/%3E%3Cpath d='M156 9L144 21'/%3E%3C/g%3E%3Cg stroke='%23E2552B' stroke-opacity='0.47'%3E%3Cpath d='M174 9L186 21'/%3E%3Cpath d='M186 9L174 21'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.39'%3E%3Cpath d='M204 9L216 21'/%3E%3Cpath d='M216 9L204 21'/%3E%3C/g%3E%3Cg stroke='%23E2552B' stroke-opacity='0.07'%3E%3Cpath d='M54 39L66 51'/%3E%3Cpath d='M66 39L54 51'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.09'%3E%3Cpath d='M84 39L96 51'/%3E%3Cpath d='M96 39L84 51'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.15'%3E%3Cpath d='M114 39L126 51'/%3E%3Cpath d='M126 39L114 51'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.21'%3E%3Cpath d='M144 39L156 51'/%3E%3Cpath d='M156 39L144 51'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.27'%3E%3Cpath d='M174 39L186 51'/%3E%3Cpath d='M186 39L174 51'/%3E%3C/g%3E%3Cg stroke='%23E2552B' stroke-opacity='0.50'%3E%3Cpath d='M204 39L216 51'/%3E%3Cpath d='M216 39L204 51'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.03'%3E%3Cpath d='M54 69L66 81'/%3E%3Cpath d='M66 69L54 81'/%3E%3C/g%3E%3Cg stroke='%23E2552B' stroke-opacity='0.11'%3E%3Cpath d='M84 69L96 81'/%3E%3Cpath d='M96 69L84 81'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.12'%3E%3Cpath d='M114 69L126 81'/%3E%3Cpath d='M126 69L114 81'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.17'%3E%3Cpath d='M144 69L156 81'/%3E%3Cpath d='M156 69L144 81'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.22'%3E%3Cpath d='M174 69L186 81'/%3E%3Cpath d='M186 69L174 81'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.26'%3E%3Cpath d='M204 69L216 81'/%3E%3Cpath d='M216 69L204 81'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.05'%3E%3Cpath d='M84 99L96 111'/%3E%3Cpath d='M96 99L84 111'/%3E%3C/g%3E%3Cg stroke='%23E2552B' stroke-opacity='0.13'%3E%3Cpath d='M114 99L126 111'/%3E%3Cpath d='M126 99L114 111'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.13'%3E%3Cpath d='M144 99L156 111'/%3E%3Cpath d='M156 99L144 111'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.16'%3E%3Cpath d='M174 99L186 111'/%3E%3Cpath d='M186 99L174 111'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.19'%3E%3Cpath d='M204 99L216 111'/%3E%3Cpath d='M216 99L204 111'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.03'%3E%3Cpath d='M84 129L96 141'/%3E%3Cpath d='M96 129L84 141'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.05'%3E%3Cpath d='M114 129L126 141'/%3E%3Cpath d='M126 129L114 141'/%3E%3C/g%3E%3Cg stroke='%23E2552B' stroke-opacity='0.12'%3E%3Cpath d='M144 129L156 141'/%3E%3Cpath d='M156 129L144 141'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.11'%3E%3Cpath d='M174 129L186 141'/%3E%3Cpath d='M186 129L174 141'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.13'%3E%3Cpath d='M204 129L216 141'/%3E%3Cpath d='M216 129L204 141'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.04'%3E%3Cpath d='M144 159L156 171'/%3E%3Cpath d='M156 159L144 171'/%3E%3C/g%3E%3Cg stroke='%23E2552B' stroke-opacity='0.09'%3E%3Cpath d='M174 159L186 171'/%3E%3Cpath d='M186 159L174 171'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.07'%3E%3Cpath d='M204 159L216 171'/%3E%3Cpath d='M216 159L204 171'/%3E%3C/g%3E%3Cg stroke='%23E2552B' stroke-opacity='0.05'%3E%3Cpath d='M204 189L216 201'/%3E%3Cpath d='M216 189L204 201'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); animation: xFloatA 16s ease-in-out infinite alternate; }
#intro .fx::before { display: block !important; content: ""; position: absolute; bottom: 0; left: 0; width: 42vmin; height: 42vmin; min-width: 220px; min-height: 220px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'%3E%3Cg fill='none' stroke-width='2.6' stroke-linecap='round'%3E%3Cg stroke='%23ffffff' stroke-opacity='0.03'%3E%3Cpath d='M24 39L36 51'/%3E%3Cpath d='M36 39L24 51'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.07'%3E%3Cpath d='M24 69L36 81'/%3E%3Cpath d='M36 69L24 81'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.06'%3E%3Cpath d='M54 69L66 81'/%3E%3Cpath d='M66 69L54 81'/%3E%3C/g%3E%3Cg stroke='%23E2552B' stroke-opacity='0.07'%3E%3Cpath d='M84 69L96 81'/%3E%3Cpath d='M96 69L84 81'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.13'%3E%3Cpath d='M24 99L36 111'/%3E%3Cpath d='M36 99L24 111'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.11'%3E%3Cpath d='M54 99L66 111'/%3E%3Cpath d='M66 99L54 111'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.08'%3E%3Cpath d='M84 99L96 111'/%3E%3Cpath d='M96 99L84 111'/%3E%3C/g%3E%3Cg stroke='%23E2552B' stroke-opacity='0.08'%3E%3Cpath d='M114 99L126 111'/%3E%3Cpath d='M126 99L114 111'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.03'%3E%3Cpath d='M144 99L156 111'/%3E%3Cpath d='M156 99L144 111'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.19'%3E%3Cpath d='M24 129L36 141'/%3E%3Cpath d='M36 129L24 141'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.16'%3E%3Cpath d='M54 129L66 141'/%3E%3Cpath d='M66 129L54 141'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.13'%3E%3Cpath d='M84 129L96 141'/%3E%3Cpath d='M96 129L84 141'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.09'%3E%3Cpath d='M114 129L126 141'/%3E%3Cpath d='M126 129L114 141'/%3E%3C/g%3E%3Cg stroke='%23E2552B' stroke-opacity='0.07'%3E%3Cpath d='M144 129L156 141'/%3E%3Cpath d='M156 129L144 141'/%3E%3C/g%3E%3Cg stroke='%23E2552B' stroke-opacity='0.39'%3E%3Cpath d='M24 159L36 171'/%3E%3Cpath d='M36 159L24 171'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.22'%3E%3Cpath d='M54 159L66 171'/%3E%3Cpath d='M66 159L54 171'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.17'%3E%3Cpath d='M84 159L96 171'/%3E%3Cpath d='M96 159L84 171'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.12'%3E%3Cpath d='M114 159L126 171'/%3E%3Cpath d='M126 159L114 171'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.07'%3E%3Cpath d='M144 159L156 171'/%3E%3Cpath d='M156 159L144 171'/%3E%3C/g%3E%3Cg stroke='%23E2552B' stroke-opacity='0.05'%3E%3Cpath d='M174 159L186 171'/%3E%3Cpath d='M186 159L174 171'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.33'%3E%3Cpath d='M24 189L36 201'/%3E%3Cpath d='M36 189L24 201'/%3E%3C/g%3E%3Cg stroke='%23E2552B' stroke-opacity='0.41'%3E%3Cpath d='M54 189L66 201'/%3E%3Cpath d='M66 189L54 201'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.21'%3E%3Cpath d='M84 189L96 201'/%3E%3Cpath d='M96 189L84 201'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.15'%3E%3Cpath d='M114 189L126 201'/%3E%3Cpath d='M126 189L114 201'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.09'%3E%3Cpath d='M144 189L156 201'/%3E%3Cpath d='M156 189L144 201'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.05'%3E%3Cpath d='M174 189L186 201'/%3E%3Cpath d='M186 189L174 201'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.39'%3E%3Cpath d='M24 219L36 231'/%3E%3Cpath d='M36 219L24 231'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.31'%3E%3Cpath d='M54 219L66 231'/%3E%3Cpath d='M66 219L54 231'/%3E%3C/g%3E%3Cg stroke='%23E2552B' stroke-opacity='0.35'%3E%3Cpath d='M84 219L96 231'/%3E%3Cpath d='M96 219L84 231'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.16'%3E%3Cpath d='M114 219L126 231'/%3E%3Cpath d='M126 219L114 231'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.10'%3E%3Cpath d='M144 219L156 231'/%3E%3Cpath d='M156 219L144 231'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.05'%3E%3Cpath d='M174 219L186 231'/%3E%3Cpath d='M186 219L174 231'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat; will-change: transform; contain: strict; animation: xFloatB 18s ease-in-out infinite alternate !important; }
.hero, .prof-head { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'%3E%3Cg fill='none' stroke-width='2.6' stroke-linecap='round'%3E%3Cg stroke='%23ffffff' stroke-opacity='0.05'%3E%3Cpath d='M54 9L66 21'/%3E%3Cpath d='M66 9L54 21'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.10'%3E%3Cpath d='M84 9L96 21'/%3E%3Cpath d='M96 9L84 21'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.16'%3E%3Cpath d='M114 9L126 21'/%3E%3Cpath d='M126 9L114 21'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.23'%3E%3Cpath d='M144 9L156 21'/%3E%3Cpath d='M156 9L144 21'/%3E%3C/g%3E%3Cg stroke='%23E2552B' stroke-opacity='0.47'%3E%3Cpath d='M174 9L186 21'/%3E%3Cpath d='M186 9L174 21'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.39'%3E%3Cpath d='M204 9L216 21'/%3E%3Cpath d='M216 9L204 21'/%3E%3C/g%3E%3Cg stroke='%23E2552B' stroke-opacity='0.07'%3E%3Cpath d='M54 39L66 51'/%3E%3Cpath d='M66 39L54 51'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.09'%3E%3Cpath d='M84 39L96 51'/%3E%3Cpath d='M96 39L84 51'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.15'%3E%3Cpath d='M114 39L126 51'/%3E%3Cpath d='M126 39L114 51'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.21'%3E%3Cpath d='M144 39L156 51'/%3E%3Cpath d='M156 39L144 51'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.27'%3E%3Cpath d='M174 39L186 51'/%3E%3Cpath d='M186 39L174 51'/%3E%3C/g%3E%3Cg stroke='%23E2552B' stroke-opacity='0.50'%3E%3Cpath d='M204 39L216 51'/%3E%3Cpath d='M216 39L204 51'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.03'%3E%3Cpath d='M54 69L66 81'/%3E%3Cpath d='M66 69L54 81'/%3E%3C/g%3E%3Cg stroke='%23E2552B' stroke-opacity='0.11'%3E%3Cpath d='M84 69L96 81'/%3E%3Cpath d='M96 69L84 81'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.12'%3E%3Cpath d='M114 69L126 81'/%3E%3Cpath d='M126 69L114 81'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.17'%3E%3Cpath d='M144 69L156 81'/%3E%3Cpath d='M156 69L144 81'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.22'%3E%3Cpath d='M174 69L186 81'/%3E%3Cpath d='M186 69L174 81'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.26'%3E%3Cpath d='M204 69L216 81'/%3E%3Cpath d='M216 69L204 81'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.05'%3E%3Cpath d='M84 99L96 111'/%3E%3Cpath d='M96 99L84 111'/%3E%3C/g%3E%3Cg stroke='%23E2552B' stroke-opacity='0.13'%3E%3Cpath d='M114 99L126 111'/%3E%3Cpath d='M126 99L114 111'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.13'%3E%3Cpath d='M144 99L156 111'/%3E%3Cpath d='M156 99L144 111'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.16'%3E%3Cpath d='M174 99L186 111'/%3E%3Cpath d='M186 99L174 111'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.19'%3E%3Cpath d='M204 99L216 111'/%3E%3Cpath d='M216 99L204 111'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.03'%3E%3Cpath d='M84 129L96 141'/%3E%3Cpath d='M96 129L84 141'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.05'%3E%3Cpath d='M114 129L126 141'/%3E%3Cpath d='M126 129L114 141'/%3E%3C/g%3E%3Cg stroke='%23E2552B' stroke-opacity='0.12'%3E%3Cpath d='M144 129L156 141'/%3E%3Cpath d='M156 129L144 141'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.11'%3E%3Cpath d='M174 129L186 141'/%3E%3Cpath d='M186 129L174 141'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.13'%3E%3Cpath d='M204 129L216 141'/%3E%3Cpath d='M216 129L204 141'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.04'%3E%3Cpath d='M144 159L156 171'/%3E%3Cpath d='M156 159L144 171'/%3E%3C/g%3E%3Cg stroke='%23E2552B' stroke-opacity='0.09'%3E%3Cpath d='M174 159L186 171'/%3E%3Cpath d='M186 159L174 171'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.07'%3E%3Cpath d='M204 159L216 171'/%3E%3Cpath d='M216 159L204 171'/%3E%3C/g%3E%3Cg stroke='%23E2552B' stroke-opacity='0.05'%3E%3Cpath d='M204 189L216 201'/%3E%3Cpath d='M216 189L204 201'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right -20px top -20px; background-size: 220px 220px; }
@keyframes xFloatA { from { transform: translate3d(0, 0, 0) rotate(0deg); } to { transform: translate3d(-10px, 8px, 0) rotate(-2deg); } }
@keyframes xFloatB { from { transform: translate3d(0, 0, 0) rotate(0deg); } to { transform: translate3d(10px, -8px, 0) rotate(2deg); } }
:root.fx-paused #bgfx::before, :root.fx-paused #bgfx::after, :root.fx-paused .fx::after, :root.fx-paused #intro .fx::before { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { #bgfx::before, #bgfx::after, .fx::after, #intro .fx::before { animation: none !important; } }
@media (min-width: 761px) { #bgfx::after { left: 232px; } }
.grid-2 > * { min-width: 0; } .kv dd { overflow-wrap: anywhere; min-width: 0; }

/* ================= Formulários (forms.js) ================= */
.modal .body > .form-grid { gap: 16px; }
input, select, textarea { height: 44px; border-radius: 12px; background: var(--surface-2); border-color: var(--line); transition: border-color .15s, box-shadow .15s, background-color .15s; }
textarea { height: auto; min-height: 84px; padding: 11px 14px; line-height: 1.45; resize: none; }
input, select { padding: 0 14px; }
input:hover, select:hover, textarea:hover { border-color: var(--line-2); }
input:focus, select:focus, textarea:focus { border-color: var(--accent); background: var(--surface); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent); }
input[type=date], input[type=time], input[type=datetime-local] { font-variant-numeric: tabular-nums; }
label.field > span, div.field > span { font-size: 12.5px; font-weight: 600; letter-spacing: .01em; color: var(--ink-2); margin-bottom: 7px; }
.field .req { font-style: normal; color: var(--accent); margin-left: 4px; font-size: 15px; line-height: 0; vertical-align: -1px; }
.field .opt { font-weight: 500; color: var(--ink-3); font-size: 11.5px; }
.q-lines input, .q-lines select, .qty input { background: transparent; }

/* secções */
.fsec { border: 1px solid var(--line); border-radius: 16px; padding: 16px; background: color-mix(in srgb, var(--surface-2) 55%, transparent); }
.fsec + .fsec, .fsec + .logi, .logi + .fsec { margin-top: 2px; }
.fsec-h, .fsec > summary { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.fsec > summary { list-style: none; cursor: pointer; margin: -4px 0; padding: 4px 0; user-select: none; }
.fsec > summary::-webkit-details-marker { display: none; }
.fsec[open] > summary { margin-bottom: 14px; }
.fsec-ic { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); flex: none; }
.fsec-ic svg { width: 18px; height: 18px; }
.fsec-ic b { font-size: 15px; font-weight: 750; }
.fsec-t { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.fsec-t b { font-size: 14.5px; }
.fsec-t small { color: var(--ink-3); font-size: 12.5px; margin-top: 1px; }
.fsec-chev { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--surface-2); border: 1px solid var(--line); transition: transform .2s var(--ease, ease); }
.fsec-chev::before { content: ''; width: 7px; height: 7px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: translateY(-2px) rotate(45deg); }
.fsec[open] > summary .fsec-chev { transform: rotate(180deg); }
.fsec:not([open]) > summary { margin: -4px 0; }
.fsec .form-grid { gap: 14px; }

/* botões de escolha (listas curtas) */
.seg-src { display: none !important; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); }
.seg button { flex: 1 1 0; min-width: max-content; height: 36px; padding: 0 14px; border: 0; border-radius: 10px; background: transparent; color: var(--ink-2); font-weight: 600; font-size: 13.5px; cursor: pointer; transition: background-color .15s, color .15s, box-shadow .15s; }
.seg button:hover { color: var(--ink); }
.seg button.on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.12), 0 0 0 1.5px var(--accent); }
.seg button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }

/* contador −/+ e € */
.num-step { display: flex; align-items: center; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); overflow: hidden; max-width: 220px; }
.num-step:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent); }
.num-step button { width: 46px; height: 100%; border: 0; background: transparent; font-size: 20px; color: var(--ink-2); cursor: pointer; flex: none; }
.num-step button:hover { background: var(--surface); color: var(--accent); }
.num-step button:active { background: var(--accent-soft); }
.num-step input { border: 0 !important; box-shadow: none !important; background: transparent !important; text-align: center; font-weight: 650; font-size: 15px; padding: 0; height: 100%; min-width: 0; -moz-appearance: textfield; }
.num-step input::-webkit-outer-spin-button, .num-step input::-webkit-inner-spin-button, .affix input::-webkit-outer-spin-button, .affix input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.affix { position: relative; }
.affix input { padding-right: 34px; font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.affix > i { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-style: normal; color: var(--ink-3); font-weight: 600; pointer-events: none; }

/* atalhos de datas */
.dchips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.dchips button { height: 28px; padding: 0 11px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink-2); font-size: 12.5px; font-weight: 600; cursor: pointer; }
.dchips button:hover { border-color: var(--line-2); color: var(--ink); }
.dchips button.on { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }

/* interruptor em vez de caixa de seleção (opções de formulário) */
.form-grid > label.check:not(.small), .fsec label.check:not(.small), .modal .body > label.check { gap: 12px; font-size: 14px; font-weight: 550; padding: 4px 0; }
.form-grid > label.check:not(.small) input, .fsec label.check:not(.small) input, .modal .body > label.check input {
  appearance: none; -webkit-appearance: none; width: 42px; height: 24px; border-radius: 999px; background: var(--line-2); position: relative; cursor: pointer; flex: none; padding: 0; border: 0; transition: background-color .2s; }
.form-grid > label.check:not(.small) input::after, .fsec label.check:not(.small) input::after, .modal .body > label.check input::after {
  content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.3); transition: transform .2s var(--ease, ease); }
.form-grid > label.check:not(.small) input:checked, .fsec label.check:not(.small) input:checked, .modal .body > label.check input:checked { background: var(--accent); }
.form-grid > label.check:not(.small) input:checked::after, .fsec label.check:not(.small) input:checked::after, .modal .body > label.check input:checked::after { transform: translateX(18px); }

/* fotografia como cartão grande */
.photo-drop { border-radius: 16px; }

/* passos (Nova saída) */
.stepcard .card-head h2, .stepcard > h2 { display: flex; align-items: center; gap: 10px; }
.stepn { width: 28px; height: 28px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--accent); color: #fff; font-size: 13.5px; font-weight: 750; flex: none; }

/* escolher unidade por n.º de série (chips) */
.unit-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.unit-chips label { cursor: pointer; }
.unit-chips input { position: absolute; opacity: 0; pointer-events: none; }
.unit-chips span { display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border-radius: 11px; border: 1.5px solid var(--line); background: var(--surface-2); font-family: var(--mono, ui-monospace, monospace); font-size: 13.5px; font-weight: 600; }
.unit-chips input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.photo-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.photo-btns .btn { height: 64px; flex-direction: column; gap: 4px; border-style: dashed; border-radius: 14px; font-size: 13px; }
.photo-btns .btn svg { width: 22px; height: 22px; }

/* janelas: cabeçalho e botões sempre visíveis; no telemóvel abrem por baixo como uma folha */
.modal { display: flex; flex-direction: column; }
.modal header { position: sticky; top: 0; z-index: 2; background: var(--surface); }
.modal footer { position: sticky; bottom: 0; z-index: 2; }
.modal footer .btn { height: 42px; padding: 0 18px; border-radius: 12px; }
@media (max-width: 760px) {
  .modal-bg { align-items: end; padding: 0; }
  .modal { max-width: none !important; width: 100%; max-height: 94vh; border-radius: 20px 20px 0 0; animation: sheetUp .28s var(--ease, ease-out); }
  .modal header { padding: 16px 18px 12px; border-bottom: 0; }
  .modal header::before { content: ''; position: absolute; left: 50%; top: 6px; width: 38px; height: 4px; border-radius: 4px; background: var(--line-2); transform: translateX(-50%); }
  .modal .body { padding: 6px 16px 18px; }
  .modal footer { padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-radius: 0; background: var(--surface); box-shadow: 0 -8px 24px rgba(0,0,0,.12); }
  .modal footer .btn { flex: 1; height: 50px; font-size: 15px; }
  .modal footer .btn[data-close] { flex: 0 0 auto; }
  .fsec { padding: 14px; border-radius: 14px; }
  input, select { height: 48px; font-size: 16px; }
  textarea { font-size: 16px; }
  .num-step { height: 48px; max-width: none; }
  .seg button { height: 40px; }
  .photo-btns .btn { height: 72px; }
}
@keyframes sheetUp { from { transform: translateY(40px); opacity: .4; } to { transform: none; opacity: 1; } }
.fault-quick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: -4px; }
.fault-quick button { height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink-2); font-size: 12.5px; font-weight: 600; cursor: pointer; }
.fault-quick button:hover { border-color: var(--accent); color: var(--accent); }
.logi.fsec { margin: 0; }
.stepcard > h2 { font-size: 16px; }
/* sem círculos: só o padrão de X */
.fx .b1, .fx .b2, .fx .b3, .tile::after { display: none !important; }

/* logótipo completo MX PROD */
.lockup { display: block; height: auto; color: #fff; overflow: visible; }
.lk-side { width: 132px; margin: 2px 0 0 2px; }
.lk-login { width: 170px; }
.lk-mob { width: 104px; color: inherit; }
.hero-logo.lk-hero { width: 230px; height: auto; color: inherit; }

/* ===================== Nova marca: X às riscas + ponto REC ===================== */
/* logótipo */
.lockup { --h: 40px; display: inline-flex; align-items: center; gap: calc(var(--h) * .27); color: #fff; line-height: 0; text-decoration: none; }
.lockup > .bsym { height: var(--h); width: auto; flex: none; overflow: visible; display: block; }
.lk-wm { font-family: 'MX Brand', 'Montserrat', 'Arial Black', 'Segoe UI Black', system-ui, sans-serif; font-weight: 900; text-transform: lowercase;
  letter-spacing: -.032em; line-height: .86; font-size: calc(var(--h) / 1.72); display: inline-flex; flex-direction: column; white-space: nowrap; }
.lk-wm.one { font-size: calc(var(--h) * .6); line-height: 1; flex-direction: row; }
.lk-o { display: inline-block; width: .54em; height: .54em; border-radius: 50%; background: var(--accent, #E2552B); margin: 0 .035em; vertical-align: baseline; }
.lockup.lk-side { --h: 28px; margin: 2px 0 0 4px; width: auto; }
.lockup.lk-login { --h: 58px; width: auto; }
.lockup.lk-mob { --h: 24px; color: inherit; width: auto; }
.hero-logo.lockup.lk-hero { --h: 96px; width: auto; height: auto; color: #fff; }
.brand .lockup { color: #fff; }

/* abertura */
#intro { background: #0f0f0f; }
#intro .fx { display: none !important; }
.intro-in { display: flex !important; align-items: center; gap: 30px; }
.intro-sym { height: 128px; width: auto; overflow: visible; display: block; }
.intro-sym .i-x { transform-box: fill-box; transform-origin: center; animation: iXin 1.1s .15s cubic-bezier(.2,.7,.2,1) both; }
.intro-sym .i-mrect { transform-box: fill-box; transform-origin: center; animation: iOpen 1s .2s cubic-bezier(.65,0,.25,1) both; }
.intro-sym .i-dot { transform-box: fill-box; transform-origin: 50% 100%; animation: iDrop .45s 1.1s cubic-bezier(.55,0,1,.45) both, iSquash .45s 1.55s cubic-bezier(.3,1.6,.5,1) both, iRec 1.6s 2.3s ease-in-out infinite; }
.intro-wm { color: #fff; --h: 128px; font-size: calc(var(--h) / 1.72); animation: iWord .5s 1.85s cubic-bezier(.2,.7,.2,1) both; }
@keyframes iXin { from { transform: scale(.92); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes iOpen { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes iDrop { from { transform: translateY(-330px); opacity: 0; } 30% { opacity: 1; } to { transform: translateY(0); opacity: 1; } }
@keyframes iSquash { 0% { transform: scale(1.25, .75); } 100% { transform: none; } }
@keyframes iRec { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@keyframes iWord { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
.intro-in.still *, .intro-in.still { animation: none !important; }
@media (max-width: 760px) { .intro-sym { height: 86px; } .intro-wm { --h: 86px; } .intro-in { gap: 20px; } }

/* fundo da app: um X grande, discreto, parcialmente fora do ecrã em dois cantos */
#bgfx::before, #bgfx::after { width: 64vmin; height: calc(64vmin * 366 / 310); min-width: 300px; min-height: 354px; background: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%20310%20366'%3E%3Cpath%20fill%3D'%23111111'%20fill-opacity%3D'0.06'%20fill-rule%3D'evenodd'%20d%3D'M300%20307.5%20L310%20297.5%20L300%20288.5Z%20M310%20124%20L300%20115%20L300%20134Z%20M290%20220%20L290%20259.5%20L300%20250.5%20L300%20229.5Z%20M300%2056%20L290%2046.5%20L290%2086%20L300%2076.5Z%20M20%20318%20L30%20327.5%20L30%20270.5%20L40%20280%20L40%20338.5%20L50%20348%20L50%20290.5%20L60%20299.5%20L60%20358%20L70%20366%20L70%20306%20L80%20297%20L80%20354.5%20L90%20345%20L90%20286.5%20L100%20277%20L100%20334%20L110%20324.5%20L110%20266%20L120%20257%20L120%20314.5%20L130%20305%20L130%20246.5%20L140%20237%20L140%20294%20L150%20284.5%20L150%20226%20L155%20221.5%20L160%20226%20L160%20284.5%20L170%20294%20L170%20237%20L180%20246.5%20L180%20305%20L190%20314.5%20L190%20257%20L200%20266%20L200%20324.5%20L210%20334%20L210%20277%20L220%20286.5%20L220%20345%20L230%20354.5%20L230%20297%20L240%20306%20L240%20366%20L250%20358%20L250%20299.5%20L260%20290.5%20L260%20348%20L270%20338.5%20L270%20280%20L280%20270.5%20L280%20327.5%20L290%20318%20L290%20277.5%20L280%20268.5%20L280%20210%20L270%20200%20L270%20257.5%20L260%20248%20L260%20189.5%20L250%20180%20L250%20126%20L260%20116.5%20L260%20174%20L270%20165%20L270%20106.5%20L280%2096.5%20L280%20154%20L290%20144.5%20L290%20104%20L280%2094.5%20L280%2036%20L270%2026.5%20L270%2084%20L260%2074.5%20L260%2016%20L250%206.5%20L250%2063.5%20L240%2057%20L240%200%20L230%209.5%20L230%2068%20L220%2077.5%20L220%2020%20L210%2029%20L210%2087.5%20L200%2097.5%20L200%2040%20L190%2049.5%20L190%20108%20L180%20117.5%20L180%2060%20L170%2069.5%20L170%20128%20L160%20137.5%20L160%2080%20L155%2084.5%20L150%2080%20L150%20137.5%20L140%20128%20L140%2069.5%20L130%2060%20L130%20117.5%20L120%20108%20L120%2049.5%20L110%2040%20L110%2097.5%20L100%2087.5%20L100%2029%20L90%2020%20L90%2077.5%20L80%2068%20L80%209.5%20L70%200%20L70%2057%20L60%2063.5%20L60%206.5%20L50%2016%20L50%2074.5%20L40%2084%20L40%2026.5%20L30%2036%20L30%2094.5%20L20%20104%20L20%20144.5%20L30%20154%20L30%2096.5%20L40%20106.5%20L40%20165%20L50%20174%20L50%20116.5%20L60%20126%20L60%20180%20L50%20189.5%20L50%20248%20L40%20257.5%20L40%20200%20L30%20210%20L30%20268.5%20L20%20277.5ZM240%20228.5%20L240%20194%20L250%20184.5%20L250%20237ZM230%20146%20L240%20137%20L240%20169%20L230%20160ZM230%20217.5%20L225%20210.5%20L230%20205ZM80%20205%20L85%20210.5%20L80%20217.5ZM70%20137%20L80%20146%20L80%20160%20L70%20169ZM70%20194%20L70%20228.5%20L60%20237%20L60%20184.5Z%20M10%20250.5%20L20%20259.5%20L20%20220%20L10%20229.5Z%20M20%2086%20L20%2046.5%20L10%2056%20L10%2076.5Z%20M0%20297.5%20L10%20307.5%20L10%20288.5Z%20M10%20134%20L10%20115%20L0%20124Z'%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
  top: auto; right: auto; bottom: auto; left: auto; }
#bgfx::before { top: -14vmin; right: -18vmin; }
#bgfx::after { bottom: -18vmin; left: -16vmin; background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%20310%20366'%3E%3Cpath%20fill%3D'%23E2552B'%20fill-opacity%3D'0.07'%20fill-rule%3D'evenodd'%20d%3D'M300%20307.5%20L310%20297.5%20L300%20288.5Z%20M310%20124%20L300%20115%20L300%20134Z%20M290%20220%20L290%20259.5%20L300%20250.5%20L300%20229.5Z%20M300%2056%20L290%2046.5%20L290%2086%20L300%2076.5Z%20M20%20318%20L30%20327.5%20L30%20270.5%20L40%20280%20L40%20338.5%20L50%20348%20L50%20290.5%20L60%20299.5%20L60%20358%20L70%20366%20L70%20306%20L80%20297%20L80%20354.5%20L90%20345%20L90%20286.5%20L100%20277%20L100%20334%20L110%20324.5%20L110%20266%20L120%20257%20L120%20314.5%20L130%20305%20L130%20246.5%20L140%20237%20L140%20294%20L150%20284.5%20L150%20226%20L155%20221.5%20L160%20226%20L160%20284.5%20L170%20294%20L170%20237%20L180%20246.5%20L180%20305%20L190%20314.5%20L190%20257%20L200%20266%20L200%20324.5%20L210%20334%20L210%20277%20L220%20286.5%20L220%20345%20L230%20354.5%20L230%20297%20L240%20306%20L240%20366%20L250%20358%20L250%20299.5%20L260%20290.5%20L260%20348%20L270%20338.5%20L270%20280%20L280%20270.5%20L280%20327.5%20L290%20318%20L290%20277.5%20L280%20268.5%20L280%20210%20L270%20200%20L270%20257.5%20L260%20248%20L260%20189.5%20L250%20180%20L250%20126%20L260%20116.5%20L260%20174%20L270%20165%20L270%20106.5%20L280%2096.5%20L280%20154%20L290%20144.5%20L290%20104%20L280%2094.5%20L280%2036%20L270%2026.5%20L270%2084%20L260%2074.5%20L260%2016%20L250%206.5%20L250%2063.5%20L240%2057%20L240%200%20L230%209.5%20L230%2068%20L220%2077.5%20L220%2020%20L210%2029%20L210%2087.5%20L200%2097.5%20L200%2040%20L190%2049.5%20L190%20108%20L180%20117.5%20L180%2060%20L170%2069.5%20L170%20128%20L160%20137.5%20L160%2080%20L155%2084.5%20L150%2080%20L150%20137.5%20L140%20128%20L140%2069.5%20L130%2060%20L130%20117.5%20L120%20108%20L120%2049.5%20L110%2040%20L110%2097.5%20L100%2087.5%20L100%2029%20L90%2020%20L90%2077.5%20L80%2068%20L80%209.5%20L70%200%20L70%2057%20L60%2063.5%20L60%206.5%20L50%2016%20L50%2074.5%20L40%2084%20L40%2026.5%20L30%2036%20L30%2094.5%20L20%20104%20L20%20144.5%20L30%20154%20L30%2096.5%20L40%20106.5%20L40%20165%20L50%20174%20L50%20116.5%20L60%20126%20L60%20180%20L50%20189.5%20L50%20248%20L40%20257.5%20L40%20200%20L30%20210%20L30%20268.5%20L20%20277.5ZM240%20228.5%20L240%20194%20L250%20184.5%20L250%20237ZM230%20146%20L240%20137%20L240%20169%20L230%20160ZM230%20217.5%20L225%20210.5%20L230%20205ZM80%20205%20L85%20210.5%20L80%20217.5ZM70%20137%20L80%20146%20L80%20160%20L70%20169ZM70%20194%20L70%20228.5%20L60%20237%20L60%20184.5Z%20M10%20250.5%20L20%20259.5%20L20%20220%20L10%20229.5Z%20M20%2086%20L20%2046.5%20L10%2056%20L10%2076.5Z%20M0%20297.5%20L10%20307.5%20L10%20288.5Z%20M10%20134%20L10%20115%20L0%20124Z'%2F%3E%3C%2Fsvg%3E"); }
:root[data-theme="dark"] #bgfx::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%20310%20366'%3E%3Cpath%20fill%3D'%23FFFFFF'%20fill-opacity%3D'0.08'%20fill-rule%3D'evenodd'%20d%3D'M300%20307.5%20L310%20297.5%20L300%20288.5Z%20M310%20124%20L300%20115%20L300%20134Z%20M290%20220%20L290%20259.5%20L300%20250.5%20L300%20229.5Z%20M300%2056%20L290%2046.5%20L290%2086%20L300%2076.5Z%20M20%20318%20L30%20327.5%20L30%20270.5%20L40%20280%20L40%20338.5%20L50%20348%20L50%20290.5%20L60%20299.5%20L60%20358%20L70%20366%20L70%20306%20L80%20297%20L80%20354.5%20L90%20345%20L90%20286.5%20L100%20277%20L100%20334%20L110%20324.5%20L110%20266%20L120%20257%20L120%20314.5%20L130%20305%20L130%20246.5%20L140%20237%20L140%20294%20L150%20284.5%20L150%20226%20L155%20221.5%20L160%20226%20L160%20284.5%20L170%20294%20L170%20237%20L180%20246.5%20L180%20305%20L190%20314.5%20L190%20257%20L200%20266%20L200%20324.5%20L210%20334%20L210%20277%20L220%20286.5%20L220%20345%20L230%20354.5%20L230%20297%20L240%20306%20L240%20366%20L250%20358%20L250%20299.5%20L260%20290.5%20L260%20348%20L270%20338.5%20L270%20280%20L280%20270.5%20L280%20327.5%20L290%20318%20L290%20277.5%20L280%20268.5%20L280%20210%20L270%20200%20L270%20257.5%20L260%20248%20L260%20189.5%20L250%20180%20L250%20126%20L260%20116.5%20L260%20174%20L270%20165%20L270%20106.5%20L280%2096.5%20L280%20154%20L290%20144.5%20L290%20104%20L280%2094.5%20L280%2036%20L270%2026.5%20L270%2084%20L260%2074.5%20L260%2016%20L250%206.5%20L250%2063.5%20L240%2057%20L240%200%20L230%209.5%20L230%2068%20L220%2077.5%20L220%2020%20L210%2029%20L210%2087.5%20L200%2097.5%20L200%2040%20L190%2049.5%20L190%20108%20L180%20117.5%20L180%2060%20L170%2069.5%20L170%20128%20L160%20137.5%20L160%2080%20L155%2084.5%20L150%2080%20L150%20137.5%20L140%20128%20L140%2069.5%20L130%2060%20L130%20117.5%20L120%20108%20L120%2049.5%20L110%2040%20L110%2097.5%20L100%2087.5%20L100%2029%20L90%2020%20L90%2077.5%20L80%2068%20L80%209.5%20L70%200%20L70%2057%20L60%2063.5%20L60%206.5%20L50%2016%20L50%2074.5%20L40%2084%20L40%2026.5%20L30%2036%20L30%2094.5%20L20%20104%20L20%20144.5%20L30%20154%20L30%2096.5%20L40%20106.5%20L40%20165%20L50%20174%20L50%20116.5%20L60%20126%20L60%20180%20L50%20189.5%20L50%20248%20L40%20257.5%20L40%20200%20L30%20210%20L30%20268.5%20L20%20277.5ZM240%20228.5%20L240%20194%20L250%20184.5%20L250%20237ZM230%20146%20L240%20137%20L240%20169%20L230%20160ZM230%20217.5%20L225%20210.5%20L230%20205ZM80%20205%20L85%20210.5%20L80%20217.5ZM70%20137%20L80%20146%20L80%20160%20L70%20169ZM70%20194%20L70%20228.5%20L60%20237%20L60%20184.5Z%20M10%20250.5%20L20%20259.5%20L20%20220%20L10%20229.5Z%20M20%2086%20L20%2046.5%20L10%2056%20L10%2076.5Z%20M0%20297.5%20L10%20307.5%20L10%20288.5Z%20M10%20134%20L10%20115%20L0%20124Z'%2F%3E%3C%2Fsvg%3E"); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) #bgfx::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%20310%20366'%3E%3Cpath%20fill%3D'%23FFFFFF'%20fill-opacity%3D'0.08'%20fill-rule%3D'evenodd'%20d%3D'M300%20307.5%20L310%20297.5%20L300%20288.5Z%20M310%20124%20L300%20115%20L300%20134Z%20M290%20220%20L290%20259.5%20L300%20250.5%20L300%20229.5Z%20M300%2056%20L290%2046.5%20L290%2086%20L300%2076.5Z%20M20%20318%20L30%20327.5%20L30%20270.5%20L40%20280%20L40%20338.5%20L50%20348%20L50%20290.5%20L60%20299.5%20L60%20358%20L70%20366%20L70%20306%20L80%20297%20L80%20354.5%20L90%20345%20L90%20286.5%20L100%20277%20L100%20334%20L110%20324.5%20L110%20266%20L120%20257%20L120%20314.5%20L130%20305%20L130%20246.5%20L140%20237%20L140%20294%20L150%20284.5%20L150%20226%20L155%20221.5%20L160%20226%20L160%20284.5%20L170%20294%20L170%20237%20L180%20246.5%20L180%20305%20L190%20314.5%20L190%20257%20L200%20266%20L200%20324.5%20L210%20334%20L210%20277%20L220%20286.5%20L220%20345%20L230%20354.5%20L230%20297%20L240%20306%20L240%20366%20L250%20358%20L250%20299.5%20L260%20290.5%20L260%20348%20L270%20338.5%20L270%20280%20L280%20270.5%20L280%20327.5%20L290%20318%20L290%20277.5%20L280%20268.5%20L280%20210%20L270%20200%20L270%20257.5%20L260%20248%20L260%20189.5%20L250%20180%20L250%20126%20L260%20116.5%20L260%20174%20L270%20165%20L270%20106.5%20L280%2096.5%20L280%20154%20L290%20144.5%20L290%20104%20L280%2094.5%20L280%2036%20L270%2026.5%20L270%2084%20L260%2074.5%20L260%2016%20L250%206.5%20L250%2063.5%20L240%2057%20L240%200%20L230%209.5%20L230%2068%20L220%2077.5%20L220%2020%20L210%2029%20L210%2087.5%20L200%2097.5%20L200%2040%20L190%2049.5%20L190%20108%20L180%20117.5%20L180%2060%20L170%2069.5%20L170%20128%20L160%20137.5%20L160%2080%20L155%2084.5%20L150%2080%20L150%20137.5%20L140%20128%20L140%2069.5%20L130%2060%20L130%20117.5%20L120%20108%20L120%2049.5%20L110%2040%20L110%2097.5%20L100%2087.5%20L100%2029%20L90%2020%20L90%2077.5%20L80%2068%20L80%209.5%20L70%200%20L70%2057%20L60%2063.5%20L60%206.5%20L50%2016%20L50%2074.5%20L40%2084%20L40%2026.5%20L30%2036%20L30%2094.5%20L20%20104%20L20%20144.5%20L30%20154%20L30%2096.5%20L40%20106.5%20L40%20165%20L50%20174%20L50%20116.5%20L60%20126%20L60%20180%20L50%20189.5%20L50%20248%20L40%20257.5%20L40%20200%20L30%20210%20L30%20268.5%20L20%20277.5ZM240%20228.5%20L240%20194%20L250%20184.5%20L250%20237ZM230%20146%20L240%20137%20L240%20169%20L230%20160ZM230%20217.5%20L225%20210.5%20L230%20205ZM80%20205%20L85%20210.5%20L80%20217.5ZM70%20137%20L80%20146%20L80%20160%20L70%20169ZM70%20194%20L70%20228.5%20L60%20237%20L60%20184.5Z%20M10%20250.5%20L20%20259.5%20L20%20220%20L10%20229.5Z%20M20%2086%20L20%2046.5%20L10%2056%20L10%2076.5Z%20M0%20297.5%20L10%20307.5%20L10%20288.5Z%20M10%20134%20L10%20115%20L0%20124Z'%2F%3E%3C%2Fsvg%3E"); } }
@media (min-width: 761px) { #bgfx::after { left: calc(232px - 16vmin); } }
/* entrada (lado escuro) */
.login .art .fx::after { width: 70vmin; height: calc(70vmin * 366 / 310); min-width: 320px; min-height: 378px; top: -12vmin; right: -20vmin; left: auto; bottom: auto; background: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%20310%20366'%3E%3Cpath%20fill%3D'%23FFFFFF'%20fill-opacity%3D'0.08'%20fill-rule%3D'evenodd'%20d%3D'M300%20307.5%20L310%20297.5%20L300%20288.5Z%20M310%20124%20L300%20115%20L300%20134Z%20M290%20220%20L290%20259.5%20L300%20250.5%20L300%20229.5Z%20M300%2056%20L290%2046.5%20L290%2086%20L300%2076.5Z%20M20%20318%20L30%20327.5%20L30%20270.5%20L40%20280%20L40%20338.5%20L50%20348%20L50%20290.5%20L60%20299.5%20L60%20358%20L70%20366%20L70%20306%20L80%20297%20L80%20354.5%20L90%20345%20L90%20286.5%20L100%20277%20L100%20334%20L110%20324.5%20L110%20266%20L120%20257%20L120%20314.5%20L130%20305%20L130%20246.5%20L140%20237%20L140%20294%20L150%20284.5%20L150%20226%20L155%20221.5%20L160%20226%20L160%20284.5%20L170%20294%20L170%20237%20L180%20246.5%20L180%20305%20L190%20314.5%20L190%20257%20L200%20266%20L200%20324.5%20L210%20334%20L210%20277%20L220%20286.5%20L220%20345%20L230%20354.5%20L230%20297%20L240%20306%20L240%20366%20L250%20358%20L250%20299.5%20L260%20290.5%20L260%20348%20L270%20338.5%20L270%20280%20L280%20270.5%20L280%20327.5%20L290%20318%20L290%20277.5%20L280%20268.5%20L280%20210%20L270%20200%20L270%20257.5%20L260%20248%20L260%20189.5%20L250%20180%20L250%20126%20L260%20116.5%20L260%20174%20L270%20165%20L270%20106.5%20L280%2096.5%20L280%20154%20L290%20144.5%20L290%20104%20L280%2094.5%20L280%2036%20L270%2026.5%20L270%2084%20L260%2074.5%20L260%2016%20L250%206.5%20L250%2063.5%20L240%2057%20L240%200%20L230%209.5%20L230%2068%20L220%2077.5%20L220%2020%20L210%2029%20L210%2087.5%20L200%2097.5%20L200%2040%20L190%2049.5%20L190%20108%20L180%20117.5%20L180%2060%20L170%2069.5%20L170%20128%20L160%20137.5%20L160%2080%20L155%2084.5%20L150%2080%20L150%20137.5%20L140%20128%20L140%2069.5%20L130%2060%20L130%20117.5%20L120%20108%20L120%2049.5%20L110%2040%20L110%2097.5%20L100%2087.5%20L100%2029%20L90%2020%20L90%2077.5%20L80%2068%20L80%209.5%20L70%200%20L70%2057%20L60%2063.5%20L60%206.5%20L50%2016%20L50%2074.5%20L40%2084%20L40%2026.5%20L30%2036%20L30%2094.5%20L20%20104%20L20%20144.5%20L30%20154%20L30%2096.5%20L40%20106.5%20L40%20165%20L50%20174%20L50%20116.5%20L60%20126%20L60%20180%20L50%20189.5%20L50%20248%20L40%20257.5%20L40%20200%20L30%20210%20L30%20268.5%20L20%20277.5ZM240%20228.5%20L240%20194%20L250%20184.5%20L250%20237ZM230%20146%20L240%20137%20L240%20169%20L230%20160ZM230%20217.5%20L225%20210.5%20L230%20205ZM80%20205%20L85%20210.5%20L80%20217.5ZM70%20137%20L80%20146%20L80%20160%20L70%20169ZM70%20194%20L70%20228.5%20L60%20237%20L60%20184.5Z%20M10%20250.5%20L20%20259.5%20L20%20220%20L10%20229.5Z%20M20%2086%20L20%2046.5%20L10%2056%20L10%2076.5Z%20M0%20297.5%20L10%20307.5%20L10%20288.5Z%20M10%20134%20L10%20115%20L0%20124Z'%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; }
.login .art .fx::before { display: none !important; }
/* cartão de boas-vindas e perfil: X estático */
.hero, .prof-head { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%20310%20366'%3E%3Cpath%20fill%3D'%23FFFFFF'%20fill-opacity%3D'0.07'%20fill-rule%3D'evenodd'%20d%3D'M300%20307.5%20L310%20297.5%20L300%20288.5Z%20M310%20124%20L300%20115%20L300%20134Z%20M290%20220%20L290%20259.5%20L300%20250.5%20L300%20229.5Z%20M300%2056%20L290%2046.5%20L290%2086%20L300%2076.5Z%20M20%20318%20L30%20327.5%20L30%20270.5%20L40%20280%20L40%20338.5%20L50%20348%20L50%20290.5%20L60%20299.5%20L60%20358%20L70%20366%20L70%20306%20L80%20297%20L80%20354.5%20L90%20345%20L90%20286.5%20L100%20277%20L100%20334%20L110%20324.5%20L110%20266%20L120%20257%20L120%20314.5%20L130%20305%20L130%20246.5%20L140%20237%20L140%20294%20L150%20284.5%20L150%20226%20L155%20221.5%20L160%20226%20L160%20284.5%20L170%20294%20L170%20237%20L180%20246.5%20L180%20305%20L190%20314.5%20L190%20257%20L200%20266%20L200%20324.5%20L210%20334%20L210%20277%20L220%20286.5%20L220%20345%20L230%20354.5%20L230%20297%20L240%20306%20L240%20366%20L250%20358%20L250%20299.5%20L260%20290.5%20L260%20348%20L270%20338.5%20L270%20280%20L280%20270.5%20L280%20327.5%20L290%20318%20L290%20277.5%20L280%20268.5%20L280%20210%20L270%20200%20L270%20257.5%20L260%20248%20L260%20189.5%20L250%20180%20L250%20126%20L260%20116.5%20L260%20174%20L270%20165%20L270%20106.5%20L280%2096.5%20L280%20154%20L290%20144.5%20L290%20104%20L280%2094.5%20L280%2036%20L270%2026.5%20L270%2084%20L260%2074.5%20L260%2016%20L250%206.5%20L250%2063.5%20L240%2057%20L240%200%20L230%209.5%20L230%2068%20L220%2077.5%20L220%2020%20L210%2029%20L210%2087.5%20L200%2097.5%20L200%2040%20L190%2049.5%20L190%20108%20L180%20117.5%20L180%2060%20L170%2069.5%20L170%20128%20L160%20137.5%20L160%2080%20L155%2084.5%20L150%2080%20L150%20137.5%20L140%20128%20L140%2069.5%20L130%2060%20L130%20117.5%20L120%20108%20L120%2049.5%20L110%2040%20L110%2097.5%20L100%2087.5%20L100%2029%20L90%2020%20L90%2077.5%20L80%2068%20L80%209.5%20L70%200%20L70%2057%20L60%2063.5%20L60%206.5%20L50%2016%20L50%2074.5%20L40%2084%20L40%2026.5%20L30%2036%20L30%2094.5%20L20%20104%20L20%20144.5%20L30%20154%20L30%2096.5%20L40%20106.5%20L40%20165%20L50%20174%20L50%20116.5%20L60%20126%20L60%20180%20L50%20189.5%20L50%20248%20L40%20257.5%20L40%20200%20L30%20210%20L30%20268.5%20L20%20277.5ZM240%20228.5%20L240%20194%20L250%20184.5%20L250%20237ZM230%20146%20L240%20137%20L240%20169%20L230%20160ZM230%20217.5%20L225%20210.5%20L230%20205ZM80%20205%20L85%20210.5%20L80%20217.5ZM70%20137%20L80%20146%20L80%20160%20L70%20169ZM70%20194%20L70%20228.5%20L60%20237%20L60%20184.5Z%20M10%20250.5%20L20%20259.5%20L20%20220%20L10%20229.5Z%20M20%2086%20L20%2046.5%20L10%2056%20L10%2076.5Z%20M0%20297.5%20L10%20307.5%20L10%20288.5Z%20M10%20134%20L10%20115%20L0%20124Z'%2F%3E%3C%2Fsvg%3E"); background-repeat: no-repeat; background-size: 250px auto; background-position: right -70px top -60px; }
.prof-head { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%20310%20366'%3E%3Cpath%20fill%3D'%23FFFFFF'%20fill-opacity%3D'0.07'%20fill-rule%3D'evenodd'%20d%3D'M300%20307.5%20L310%20297.5%20L300%20288.5Z%20M310%20124%20L300%20115%20L300%20134Z%20M290%20220%20L290%20259.5%20L300%20250.5%20L300%20229.5Z%20M300%2056%20L290%2046.5%20L290%2086%20L300%2076.5Z%20M20%20318%20L30%20327.5%20L30%20270.5%20L40%20280%20L40%20338.5%20L50%20348%20L50%20290.5%20L60%20299.5%20L60%20358%20L70%20366%20L70%20306%20L80%20297%20L80%20354.5%20L90%20345%20L90%20286.5%20L100%20277%20L100%20334%20L110%20324.5%20L110%20266%20L120%20257%20L120%20314.5%20L130%20305%20L130%20246.5%20L140%20237%20L140%20294%20L150%20284.5%20L150%20226%20L155%20221.5%20L160%20226%20L160%20284.5%20L170%20294%20L170%20237%20L180%20246.5%20L180%20305%20L190%20314.5%20L190%20257%20L200%20266%20L200%20324.5%20L210%20334%20L210%20277%20L220%20286.5%20L220%20345%20L230%20354.5%20L230%20297%20L240%20306%20L240%20366%20L250%20358%20L250%20299.5%20L260%20290.5%20L260%20348%20L270%20338.5%20L270%20280%20L280%20270.5%20L280%20327.5%20L290%20318%20L290%20277.5%20L280%20268.5%20L280%20210%20L270%20200%20L270%20257.5%20L260%20248%20L260%20189.5%20L250%20180%20L250%20126%20L260%20116.5%20L260%20174%20L270%20165%20L270%20106.5%20L280%2096.5%20L280%20154%20L290%20144.5%20L290%20104%20L280%2094.5%20L280%2036%20L270%2026.5%20L270%2084%20L260%2074.5%20L260%2016%20L250%206.5%20L250%2063.5%20L240%2057%20L240%200%20L230%209.5%20L230%2068%20L220%2077.5%20L220%2020%20L210%2029%20L210%2087.5%20L200%2097.5%20L200%2040%20L190%2049.5%20L190%20108%20L180%20117.5%20L180%2060%20L170%2069.5%20L170%20128%20L160%20137.5%20L160%2080%20L155%2084.5%20L150%2080%20L150%20137.5%20L140%20128%20L140%2069.5%20L130%2060%20L130%20117.5%20L120%20108%20L120%2049.5%20L110%2040%20L110%2097.5%20L100%2087.5%20L100%2029%20L90%2020%20L90%2077.5%20L80%2068%20L80%209.5%20L70%200%20L70%2057%20L60%2063.5%20L60%206.5%20L50%2016%20L50%2074.5%20L40%2084%20L40%2026.5%20L30%2036%20L30%2094.5%20L20%20104%20L20%20144.5%20L30%20154%20L30%2096.5%20L40%20106.5%20L40%20165%20L50%20174%20L50%20116.5%20L60%20126%20L60%20180%20L50%20189.5%20L50%20248%20L40%20257.5%20L40%20200%20L30%20210%20L30%20268.5%20L20%20277.5ZM240%20228.5%20L240%20194%20L250%20184.5%20L250%20237ZM230%20146%20L240%20137%20L240%20169%20L230%20160ZM230%20217.5%20L225%20210.5%20L230%20205ZM80%20205%20L85%20210.5%20L80%20217.5ZM70%20137%20L80%20146%20L80%20160%20L70%20169ZM70%20194%20L70%20228.5%20L60%20237%20L60%20184.5Z%20M10%20250.5%20L20%20259.5%20L20%20220%20L10%20229.5Z%20M20%2086%20L20%2046.5%20L10%2056%20L10%2076.5Z%20M0%20297.5%20L10%20307.5%20L10%20288.5Z%20M10%20134%20L10%20115%20L0%20124Z'%2F%3E%3C%2Fsvg%3E"), linear-gradient(135deg, #1b1b1b, #111); background-size: 230px auto, auto; background-position: right -60px top -50px, 0 0; }
@media (max-width: 760px) { .hero-logo { display: none !important; } }
.lockup .lk-wm span { font-size: inherit; color: inherit; display: block; line-height: inherit; font-weight: inherit; }
.lockup .lk-wm.one span { display: inline; }
.login .art .fx::after { opacity: .75; }
.lockup .lk-wm { font-size: calc(var(--h) / 1.72); color: inherit; }
.lockup .lk-wm.one { font-size: calc(var(--h) * .6); }
@font-face { font-family: 'MX Brand'; src: url('/fonts/montserrat-latin-900-normal.woff2') format('woff2'); font-weight: 900; font-style: normal; font-display: swap; }
/* espaçamento do logótipo afinado pelas métricas da Montserrat Black:
   topo do "mx" = topo do X; linha de base do "prod" = base do X e do ponto; espaço visual = 27% da altura */
.lockup { align-items: flex-start; }
.lockup .lk-wm { font-size: calc(var(--h) / 1.423); line-height: .86; margin-top: -.2255em; margin-left: -.047em; }
.lockup.one { align-items: flex-end; }
.lockup .lk-wm.one { font-size: calc(var(--h) * .62); line-height: 1; margin-top: 0; margin-bottom: -.1415em; }
.lk-o { width: .55em; height: .55em; margin: 0 -.007em 0 .069em; }
.intro-wm { font-size: calc(var(--h) / 1.423) !important; line-height: .86; margin-top: -.2255em; align-self: flex-start; margin-left: -.047em; }
.intro-in { align-items: flex-start !important; }
.intro-in { gap: 34.5px !important; } @media (max-width: 760px) { .intro-in { gap: 23px !important; } }
/* abertura "Som + Imagem": barras de áudio → X; ponto REC */
#intro.som .i-bar { fill: #fff; transform-box: fill-box; transform-origin: center;
  animation: eqA .17s ease-in-out calc(var(--d) * -1s) 6 alternate forwards, eqSet .55s .98s cubic-bezier(.3,1.45,.5,1) forwards, eqOut .3s 1.55s ease forwards; }
#intro.som .i-x { opacity: 0; animation: xIn .35s 1.42s ease forwards; transform: none; }
#intro.som .i-dot { transform-box: fill-box; transform-origin: center; animation: recOn .45s 1.6s cubic-bezier(.3,1.7,.5,1) both, recBlink .45s 2.1s ease-in-out 2 alternate; }
#intro.som .intro-wm { animation: iWord .5s 1.9s cubic-bezier(.2,.7,.2,1) both; }
@keyframes eqA { from { transform: scaleY(var(--a)); } to { transform: scaleY(var(--c)); } }
@keyframes eqSet { from { transform: scaleY(var(--a)); } to { transform: scaleY(1); } }
@keyframes eqOut { to { opacity: 0; } }
@keyframes xIn { to { opacity: 1; } }
@keyframes recOn { from { transform: scale(0); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes recBlink { to { opacity: .3; } }
#intro.som .intro-in.still .i-x { opacity: 1; }
#intro.som .intro-in.still .i-bar { display: none; }
#intro[data-preview] { cursor: pointer; }
#intro.som .i-bar { animation: eqA .2s ease-in-out calc(var(--d) * -1s) 5 alternate forwards, eqSet .5s 1s cubic-bezier(.3,1.3,.5,1) forwards, eqOut .2s 1.6s ease forwards; }
@keyframes eqSet { from { transform: scaleY(var(--c)); } 70% { transform: scale(1, 1.04); } to { transform: scale(1.55, 1); } }
#intro.som .i-x { animation: xIn .2s 1.5s ease forwards; }
.intro-v2 .intro-wm { animation: none !important; opacity: 0; will-change: opacity, transform; }

/* fundo: X novo nos dois cantos também no tema escuro (as regras antigas tinham mais prioridade) */
#bgfx.fx::before { display: block !important; }
:root[data-theme="dark"] #bgfx::after, :root[data-theme="light"] #bgfx::after { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%20310%20366'%3E%3Cpath%20fill%3D'%23E2552B'%20fill-opacity%3D'0.07'%20fill-rule%3D'evenodd'%20d%3D'M300%20307.5%20L310%20297.5%20L300%20288.5Z%20M310%20124%20L300%20115%20L300%20134Z%20M290%20220%20L290%20259.5%20L300%20250.5%20L300%20229.5Z%20M300%2056%20L290%2046.5%20L290%2086%20L300%2076.5Z%20M20%20318%20L30%20327.5%20L30%20270.5%20L40%20280%20L40%20338.5%20L50%20348%20L50%20290.5%20L60%20299.5%20L60%20358%20L70%20366%20L70%20306%20L80%20297%20L80%20354.5%20L90%20345%20L90%20286.5%20L100%20277%20L100%20334%20L110%20324.5%20L110%20266%20L120%20257%20L120%20314.5%20L130%20305%20L130%20246.5%20L140%20237%20L140%20294%20L150%20284.5%20L150%20226%20L155%20221.5%20L160%20226%20L160%20284.5%20L170%20294%20L170%20237%20L180%20246.5%20L180%20305%20L190%20314.5%20L190%20257%20L200%20266%20L200%20324.5%20L210%20334%20L210%20277%20L220%20286.5%20L220%20345%20L230%20354.5%20L230%20297%20L240%20306%20L240%20366%20L250%20358%20L250%20299.5%20L260%20290.5%20L260%20348%20L270%20338.5%20L270%20280%20L280%20270.5%20L280%20327.5%20L290%20318%20L290%20277.5%20L280%20268.5%20L280%20210%20L270%20200%20L270%20257.5%20L260%20248%20L260%20189.5%20L250%20180%20L250%20126%20L260%20116.5%20L260%20174%20L270%20165%20L270%20106.5%20L280%2096.5%20L280%20154%20L290%20144.5%20L290%20104%20L280%2094.5%20L280%2036%20L270%2026.5%20L270%2084%20L260%2074.5%20L260%2016%20L250%206.5%20L250%2063.5%20L240%2057%20L240%200%20L230%209.5%20L230%2068%20L220%2077.5%20L220%2020%20L210%2029%20L210%2087.5%20L200%2097.5%20L200%2040%20L190%2049.5%20L190%20108%20L180%20117.5%20L180%2060%20L170%2069.5%20L170%20128%20L160%20137.5%20L160%2080%20L155%2084.5%20L150%2080%20L150%20137.5%20L140%20128%20L140%2069.5%20L130%2060%20L130%20117.5%20L120%20108%20L120%2049.5%20L110%2040%20L110%2097.5%20L100%2087.5%20L100%2029%20L90%2020%20L90%2077.5%20L80%2068%20L80%209.5%20L70%200%20L70%2057%20L60%2063.5%20L60%206.5%20L50%2016%20L50%2074.5%20L40%2084%20L40%2026.5%20L30%2036%20L30%2094.5%20L20%20104%20L20%20144.5%20L30%20154%20L30%2096.5%20L40%20106.5%20L40%20165%20L50%20174%20L50%20116.5%20L60%20126%20L60%20180%20L50%20189.5%20L50%20248%20L40%20257.5%20L40%20200%20L30%20210%20L30%20268.5%20L20%20277.5ZM240%20228.5%20L240%20194%20L250%20184.5%20L250%20237ZM230%20146%20L240%20137%20L240%20169%20L230%20160ZM230%20217.5%20L225%20210.5%20L230%20205ZM80%20205%20L85%20210.5%20L80%20217.5ZM70%20137%20L80%20146%20L80%20160%20L70%20169ZM70%20194%20L70%20228.5%20L60%20237%20L60%20184.5Z%20M10%20250.5%20L20%20259.5%20L20%20220%20L10%20229.5Z%20M20%2086%20L20%2046.5%20L10%2056%20L10%2076.5Z%20M0%20297.5%20L10%20307.5%20L10%20288.5Z%20M10%20134%20L10%20115%20L0%20124Z'%2F%3E%3C%2Fsvg%3E"); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) #bgfx::after { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%20310%20366'%3E%3Cpath%20fill%3D'%23E2552B'%20fill-opacity%3D'0.07'%20fill-rule%3D'evenodd'%20d%3D'M300%20307.5%20L310%20297.5%20L300%20288.5Z%20M310%20124%20L300%20115%20L300%20134Z%20M290%20220%20L290%20259.5%20L300%20250.5%20L300%20229.5Z%20M300%2056%20L290%2046.5%20L290%2086%20L300%2076.5Z%20M20%20318%20L30%20327.5%20L30%20270.5%20L40%20280%20L40%20338.5%20L50%20348%20L50%20290.5%20L60%20299.5%20L60%20358%20L70%20366%20L70%20306%20L80%20297%20L80%20354.5%20L90%20345%20L90%20286.5%20L100%20277%20L100%20334%20L110%20324.5%20L110%20266%20L120%20257%20L120%20314.5%20L130%20305%20L130%20246.5%20L140%20237%20L140%20294%20L150%20284.5%20L150%20226%20L155%20221.5%20L160%20226%20L160%20284.5%20L170%20294%20L170%20237%20L180%20246.5%20L180%20305%20L190%20314.5%20L190%20257%20L200%20266%20L200%20324.5%20L210%20334%20L210%20277%20L220%20286.5%20L220%20345%20L230%20354.5%20L230%20297%20L240%20306%20L240%20366%20L250%20358%20L250%20299.5%20L260%20290.5%20L260%20348%20L270%20338.5%20L270%20280%20L280%20270.5%20L280%20327.5%20L290%20318%20L290%20277.5%20L280%20268.5%20L280%20210%20L270%20200%20L270%20257.5%20L260%20248%20L260%20189.5%20L250%20180%20L250%20126%20L260%20116.5%20L260%20174%20L270%20165%20L270%20106.5%20L280%2096.5%20L280%20154%20L290%20144.5%20L290%20104%20L280%2094.5%20L280%2036%20L270%2026.5%20L270%2084%20L260%2074.5%20L260%2016%20L250%206.5%20L250%2063.5%20L240%2057%20L240%200%20L230%209.5%20L230%2068%20L220%2077.5%20L220%2020%20L210%2029%20L210%2087.5%20L200%2097.5%20L200%2040%20L190%2049.5%20L190%20108%20L180%20117.5%20L180%2060%20L170%2069.5%20L170%20128%20L160%20137.5%20L160%2080%20L155%2084.5%20L150%2080%20L150%20137.5%20L140%20128%20L140%2069.5%20L130%2060%20L130%20117.5%20L120%20108%20L120%2049.5%20L110%2040%20L110%2097.5%20L100%2087.5%20L100%2029%20L90%2020%20L90%2077.5%20L80%2068%20L80%209.5%20L70%200%20L70%2057%20L60%2063.5%20L60%206.5%20L50%2016%20L50%2074.5%20L40%2084%20L40%2026.5%20L30%2036%20L30%2094.5%20L20%20104%20L20%20144.5%20L30%20154%20L30%2096.5%20L40%20106.5%20L40%20165%20L50%20174%20L50%20116.5%20L60%20126%20L60%20180%20L50%20189.5%20L50%20248%20L40%20257.5%20L40%20200%20L30%20210%20L30%20268.5%20L20%20277.5ZM240%20228.5%20L240%20194%20L250%20184.5%20L250%20237ZM230%20146%20L240%20137%20L240%20169%20L230%20160ZM230%20217.5%20L225%20210.5%20L230%20205ZM80%20205%20L85%20210.5%20L80%20217.5ZM70%20137%20L80%20146%20L80%20160%20L70%20169ZM70%20194%20L70%20228.5%20L60%20237%20L60%20184.5Z%20M10%20250.5%20L20%20259.5%20L20%20220%20L10%20229.5Z%20M20%2086%20L20%2046.5%20L10%2056%20L10%2076.5Z%20M0%20297.5%20L10%20307.5%20L10%20288.5Z%20M10%20134%20L10%20115%20L0%20124Z'%2F%3E%3C%2Fsvg%3E"); } }
/* símbolo em mosaico arredondado (como o ícone da app), com realce subtil */
.lockup.tiled { align-items: flex-start; }
.btile { width: var(--h); height: var(--h); flex: none; border-radius: 22.5%; background: linear-gradient(160deg, #1d1d1d, #0d0d0d); display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.09), inset 0 1px 0 rgba(255,255,255,.10), 0 6px 16px rgba(0,0,0,.28); transition: transform .18s var(--ease, ease), box-shadow .18s; }
.btile .bsym { height: 58%; width: auto; color: #fff; display: block; transform: translateX(1.5%); }
a:hover > .lockup .btile, .brand:hover .btile { transform: translateY(-1px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), inset 0 1px 0 rgba(255,255,255,.14), 0 10px 22px rgba(0,0,0,.34); }
a:active > .lockup .btile, .brand:active .btile { transform: scale(.96); }
.lockup.lk-side { --h: 46px; margin: 0 0 0 2px; }
.lockup.lk-mob { --h: 34px; }
.lockup.lk-login { --h: 64px; }
.hero-logo.lockup.lk-hero { --h: 104px; }
.lockup.tiled .lk-wm { color: inherit; }
.brand { padding-bottom: 26px; }
/* letreiro em SVG (espaçamento ótico fixo) */
.lk-wm { font-size: 0 !important; line-height: 0 !important; margin: 0 !important; display: block; }
.lk-wm .lk-svg { height: var(--h); width: auto; overflow: visible; display: block; color: inherit; }
.lockup.one { align-items: flex-end; }
.lk-wm.one .lk-svg { height: calc(var(--h) * .36); }
.intro-wm { --h: 128px; margin: 0 !important; }
@media (max-width: 760px) { .intro-wm { --h: 86px; } }

.gt-prev { font-size: 13px; margin: 0 0 12px; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); }
.gt-prev a { color: var(--accent); font-weight: 600; }
.gt-party { padding: 12px 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); font-size: 14px; line-height: 1.5; }
.gt-lines li { padding: 8px 0; }
.modal textarea[name=reason] { text-transform: none; }

.ev-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin: 16px 0 4px; }
.ev-actions .btn { height: 48px; font-size: 15px; border-radius: 14px; justify-content: center; }
.ck-head { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); margin-bottom: 10px; }
.ck-head b { font-size: 15px; } .ck-head span { color: var(--ink-3); font-size: 13px; }
.ck-head.ok { border-color: color-mix(in srgb, var(--ok) 45%, transparent); } .ck-head.warn { border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.ck-note { display: flex; gap: 8px; align-items: flex-start; color: var(--bad); font-size: 13px; margin-bottom: 8px; } .ck-note svg { width: 16px; height: 16px; flex: none; margin-top: 2px; }
.ck-row { align-items: flex-start !important; }
.ck-tick { width: 30px; height: 30px; border-radius: 9px; border: 1.5px solid var(--line-2); display: grid; place-items: center; flex: none; font-weight: 800; font-size: 12px; color: #fff; }
.ck-tick.half { background: var(--accent); border-color: var(--accent); } .ck-tick.done { background: var(--ok); border-color: var(--ok); }
.ck-sns { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.ck-sn { font-family: var(--mono, ui-monospace, monospace); font-size: 12px; padding: 3px 8px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface-2); }
.ck-sn.out { border-color: var(--accent); color: var(--accent); } .ck-sn.ok { border-color: var(--ok); color: var(--ok); } .ck-sn.bad { border-color: var(--bad); color: var(--bad); }

/* ===================== Calendário compacto ===================== */
.cal-bar2 { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.cal-bar2 h2 { font-size: 18px; font-weight: 750; letter-spacing: -.01em; min-width: 0; margin: 0; flex: 1 1 auto; text-transform: none; }
.cal-tools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cal-co { width: auto !important; min-width: 0; height: 34px !important; font-size: 13px !important; padding: 0 30px 0 12px !important; border-radius: 999px !important; }
.cal-seg { border-radius: 999px !important; padding: 3px !important; }
.cal-seg button { border-radius: 999px !important; padding: 5px 13px !important; font-size: 13px !important; }
.cal-nav { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); }
.cal-arrow, .cal-today { border: 0; background: transparent; cursor: pointer; color: var(--ink-2); height: 28px; border-radius: 999px; display: inline-grid; place-items: center; transition: background .15s, color .15s; }
.cal-arrow { width: 28px; } .cal-arrow svg { width: 15px; height: 15px; } .cal-arrow.fwd svg { transform: scaleX(-1); }
.cal-today { padding: 0 12px; font-size: 13px; font-weight: 650; }
.cal-arrow:hover, .cal-today:hover { background: var(--surface); color: var(--ink); }
.cal-open { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 650; color: var(--ink-2); border: 1px solid var(--line); text-decoration: none; }
.cal-open svg { width: 15px; height: 15px; } .cal-open:hover { color: var(--accent); border-color: var(--accent); }

.cal-month .cal-wd { padding: 9px 0 7px; font-size: 10.5px; letter-spacing: .08em; border-bottom: 1px solid var(--line); }
.cal-month .cal-cell { min-height: 0; height: 78px; padding: 5px 5px 4px; gap: 3px; overflow: hidden; transition: background .15s; }
.cal-month .cal-cell.wkend { background: color-mix(in srgb, var(--surface-2) 70%, transparent); }
.cal-month .cal-cell.other { background: transparent; } .cal-month .cal-cell.other > * { opacity: .38; }
.cal-month .cal-dn { text-align: left; margin: 0 0 1px; font-size: 12px; line-height: 1; }
.cal-month .cal-dn span { width: 22px; height: 22px; font-weight: 650; font-variant-numeric: tabular-nums; }
.cal-month .cal-cell.today .cal-dn span { background: var(--accent); color: #fff; box-shadow: 0 2px 8px color-mix(in srgb, var(--accent) 45%, transparent); }
.cal-month .cal-cell.sel:not(.today) .cal-dn span { box-shadow: inset 0 0 0 1.5px var(--ink); }
.cal-month .cal-cell.sel { background: color-mix(in srgb, var(--accent) 6%, transparent); }
.cal-month .cal-chip { font-size: 11px; line-height: 16px; height: 18px; padding: 1px 7px; border-radius: 999px; flex: none; }
.cal-month .cal-chip.band { box-shadow: none; }
.cal-month .cal-chip.band.pendente { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 55%, transparent); }
.cal-month .cal-chip.timed { padding-left: 4px; } .cal-month .cal-chip.timed::before { width: 6px; height: 6px; }
.cal-month .cal-more { font-size: 11px; line-height: 16px; padding: 0 7px; align-self: flex-start; border-radius: 999px; background: var(--surface-2); }
.cal-month .cal-dots { justify-content: flex-start; padding-left: 4px; gap: 3px; }
.cal-month .cal-dots i { width: 5px; height: 5px; }
/* Início: mini calendário (só pontos) */
.cal-month.mini .cal-cell { height: 54px; }
.cal-month.mini .cal-chip, .cal-month.mini .cal-more { display: none !important; }
.cal-month.mini .cal-dots { display: flex !important; justify-content: center; padding: 0; margin-top: 3px; }
.cal-month.mini .cal-dn { text-align: center; }
.cal-bar2.mini { padding: 12px 14px; } .cal-bar2.mini h2 { font-size: 16px; }
/* transição ao mudar de mês (sem saltos: sempre 6 semanas) */
.cal-anim { animation: calIn .28s var(--ease, ease) both; }
@keyframes calIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
/* vista Lista */
.cal-list { padding: 6px 0; }
.cl-day { display: flex; gap: 14px; padding: 8px 16px; border-bottom: 1px solid var(--line); }
.cl-day:last-child { border-bottom: 0; }
.cl-date { width: 44px; flex: none; text-align: center; padding-top: 10px; }
.cl-date b { display: block; font-size: 20px; font-weight: 800; line-height: 1; }
.cl-date span { font-size: 11px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; }
.cl-day.today .cl-date b { color: var(--accent); }
.cl-day .list { flex: 1; min-width: 0; }
@media (max-width: 760px) {
  .cal-bar2 { padding: 12px; gap: 10px; }
  .cal-bar2 h2 { flex-basis: 100%; font-size: 17px; }
  .cal-tools { width: 100%; justify-content: space-between; }
  .cal-co { max-width: 120px; }
  .cal-month .cal-cell { height: 46px; padding: 4px 2px; }
  .cal-month .cal-dn { text-align: center; }
  .cal-month .cal-chip, .cal-month .cal-more { display: none !important; }
  .cal-month .cal-dots { display: flex !important; justify-content: center; padding: 0; }
  .cal-month.mini .cal-cell { height: 44px; }
  .cal-bar2.mini .cal-tools { width: auto; } .cal-bar2.mini h2 { flex-basis: auto; }
}
.cal-month.ro .cal-cell, .cal-month.mini .cal-cell { min-height: 0 !important; }
.cal-month.mini .cal-cell { height: 50px; }
@media (max-width: 760px) { .cal-month.mini .cal-cell { height: 44px; } }
@media (max-width: 760px) { .cal-open span { display: none; } .cal-open { width: 34px; padding: 0; justify-content: center; } .cal-bar2.mini { flex-wrap: nowrap; } .cal-bar2.mini h2 { font-size: 15px; } }

.welcome-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 6px; border-top: 1px solid var(--line); }

/* ===================== Externos ===================== */
.ext-specs { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 16px; border-bottom: 1px solid var(--line); }
.ext-specs:empty { display: none; }
.ext-specs button, .ext-quick button { height: 28px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink-2); font-size: 12.5px; font-weight: 600; cursor: pointer; }
.ext-specs button.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.ext-quick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: -4px; } .ext-quick button:hover { border-color: var(--accent); color: var(--accent); }
.ext-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; } .ext-tags span { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }
.ext-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; } .ext-acts { display: flex; gap: 6px; flex-wrap: wrap; align-items: flex-start; }
.ext-line { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin-bottom: 3px; }
.exr { border: 1px solid var(--line); border-radius: 14px; padding: 12px; margin-bottom: 10px; background: var(--surface); }
.exr-h { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; } .exr-h b { flex: 1; }
.exr-g { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .exr-g .full { grid-column: 1 / -1; }
.exr-ph { display: flex; flex-wrap: wrap; gap: 6px; } .exr-ph button { height: 34px; padding: 0 12px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface-2); font-size: 13px; font-weight: 600; cursor: pointer; color: var(--ink-2); }
.exr-ph button.on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.exr-add { display: flex; gap: 8px; align-items: center; } .exr-add .search { flex: 1; }
.exr-res { display: grid; gap: 6px; margin-top: 8px; } .exr-res:empty { display: none; }
@media (max-width: 760px) { .exr-g { grid-template-columns: 1fr; } .exr-add { flex-wrap: wrap; } }
/* área do convidado */
.guest { min-height: 100vh; background: var(--bg, var(--surface-2)); }
.guest-top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: #111; color: #fff; }
.guest-top .btn { color: #fff; }
.guest-main { max-width: 720px; margin: 0 auto; padding: 22px 16px 60px; }
.g-h1 { font-size: 24px; margin: 4px 0 4px; } .g-h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); margin: 0 0 8px; }
.g-card { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 10px; text-decoration: none; color: inherit; }
.g-card:hover { border-color: var(--accent); } .g-card.cancel { opacity: .55; }
.g-date { width: 46px; text-align: center; flex: none; } .g-date b { display: block; font-size: 22px; font-weight: 800; line-height: 1; } .g-date span { font-size: 11px; text-transform: uppercase; color: var(--ink-3); }
.guest-btns { display: flex; gap: 8px; flex-wrap: wrap; } .guest-btns .btn { flex: 1; min-width: 120px; height: 46px; justify-content: center; }
.guest-msg { padding: 12px 14px; border-radius: 12px; background: var(--accent-soft); color: var(--ink); margin: 12px 0; }
.guest-box { width: 100%; max-width: 420px; }
.btn.pulse { box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 35%, transparent); }
/* edição rápida no painel do evento */
.qe-enabled .qe-cell { cursor: pointer; border-radius: 8px; position: relative; transition: background .15s; }
.qe-enabled dd.qe-cell { padding: 2px 26px 2px 6px; margin-left: -6px; }
.qe-enabled .qe-cell:hover { background: var(--surface-2); }
.qe-enabled dd.qe-cell:not(.qe-on)::after, .qe-enabled h2.qe-cell:not(.qe-on)::after { content: ""; position: absolute; right: 6px; top: 50%; width: 13px; height: 13px; margin-top: -7px; opacity: 0; transition: opacity .15s;
  background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4z'/%3E%3C/svg%3E") center / contain no-repeat; color: var(--accent); }
.qe-enabled .qe-cell:hover::after { opacity: 1; }
.qe-enabled h2.qe-cell { padding-right: 26px; display: inline-block; }
.qe-on { cursor: default !important; background: transparent !important; }
.qe { display: flex; gap: 8px; align-items: flex-start; flex-wrap: wrap; width: 100%; animation: calIn .18s var(--ease, ease) both; }
.qe > input, .qe > select, .qe > textarea, .qe > .qe-row, .qe > .qe-team { flex: 1 1 220px; min-width: 0; }
.qe input, .qe select, .qe textarea { height: 38px; font-size: 14px; text-transform: none; }
.qe textarea { height: auto; min-height: 70px; }
.qe-row { display: flex; gap: 6px; } .qe-row > * { flex: 1; min-width: 0; }
.qe .check { flex-basis: 100%; }
.qe-acts { display: flex; gap: 4px; }
.qe-acts button { width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2); cursor: pointer; font-weight: 800; color: var(--ink-2); }
.qe-ok { background: var(--ok) !important; border-color: var(--ok) !important; color: #fff !important; }
.qe-saving { opacity: .6; }
.qe-team { display: flex; flex-wrap: wrap; gap: 6px; }
.qe-chip { height: 30px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2); font-size: 12.5px; font-weight: 600; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; color: var(--ink-2); }
.qe-chip i { font-style: normal; font-weight: 800; } .qe-chip.on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.qe-add { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: -8px 0 16px; }
.qe-add span { font-size: 12px; color: var(--ink-3); margin-right: 2px; }
.qe-add button { height: 28px; padding: 0 10px 0 7px; border-radius: 999px; border: 1px dashed var(--line-2); background: transparent; color: var(--ink-2); font-size: 12.5px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.qe-add button svg { width: 13px; height: 13px; } .qe-add button:hover { border-color: var(--accent); color: var(--accent); }
.qe-sheet { display: grid; gap: 10px; } .qe-sheet .qe-row { flex-wrap: wrap; }

/* notificações */
.nt-on { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } .nt-on svg { width: 18px; height: 18px; color: var(--ok); } .nt-on span { flex: 1; }
.nt-tip { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--accent-soft); font-size: 13.5px; line-height: 1.5; }
.nt-tip svg { width: 18px; height: 18px; flex: none; color: var(--accent); margin-top: 2px; }
.nt-kinds { display: grid; gap: 4px; } .nt-kinds .check { font-size: 13.5px; }
/* ===================== Sensação de app nativa ===================== */
html, body { overscroll-behavior: none; -webkit-tap-highlight-color: transparent; }
button, .btn, .tile, .nav a, .tabs button, .seg button, .cal-cell, .g-card, .g-next { touch-action: manipulation; -webkit-user-select: none; user-select: none; }
@media (display-mode: standalone) {
  body { -webkit-user-select: none; user-select: none; }
  input, textarea, [contenteditable], .kv dd, .t-sub, p { -webkit-user-select: text; user-select: text; }
  #view.enter { animation: appSlide .26s var(--ease, ease-out) both; }
}
@keyframes appSlide { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.mobile-bar { padding-top: max(10px, env(safe-area-inset-top)); }
#offline-bar { position: fixed; left: 50%; bottom: calc(76px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 90; display: flex; gap: 10px; align-items: center; max-width: calc(100% - 24px); padding: 10px 16px; border-radius: 14px; background: #111; color: #fff; font-size: 13.5px; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
#offline-bar svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
/* instalar */
.ins-wrap { min-height: 100vh; background: #0f0f0f; color: #fff; display: grid; place-items: center; padding: 24px 16px; }
.ins { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: center; max-width: 880px; margin: 0 auto; }
.ins.full { color: #fff; }
.ins-body h1 { font-size: 30px; margin: 18px 0 8px; letter-spacing: -.02em; } .ins-lead { color: #b9b9b2; margin: 0 0 18px; line-height: 1.55; }
.ins:not(.full) .ins-lead { color: var(--ink-2); } .ins:not(.full) .lockup { color: var(--ink); }
.ins-phone { width: 250px; height: 500px; margin: 0 auto; border-radius: 42px; background: linear-gradient(160deg, #2a2a2a, #0c0c0c); padding: 12px; box-shadow: 0 30px 60px rgba(0,0,0,.45), inset 0 0 0 2px rgba(255,255,255,.08); position: relative; }
.ins-notch { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 80px; height: 22px; border-radius: 12px; background: #000; z-index: 2; }
.ins-screen { height: 100%; border-radius: 32px; background: radial-gradient(120% 80% at 50% 0%, #3a1f16, #111 60%); padding: 64px 18px; }
.ins-icons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px 12px; }
.ins-ph { aspect-ratio: 1; border-radius: 14px; background: rgba(255,255,255,.08); }
.ins-app { display: grid; justify-items: center; gap: 4px; animation: insPop 1.6s var(--ease, ease) .4s both; }
.ins-app svg { width: 100%; aspect-ratio: 1; padding: 22%; border-radius: 14px; background: linear-gradient(160deg, #222, #0b0b0b); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 0 0 3px var(--accent); overflow: visible; }
.ins-app i { font-style: normal; font-size: 8px; color: #fff; white-space: nowrap; }
@keyframes insPop { 0% { transform: scale(.4); opacity: 0; } 60% { transform: scale(1.12); opacity: 1; } 100% { transform: none; } }
.ins-go { height: 52px; padding: 0 26px; font-size: 16px; border-radius: 14px; }
.ins-hint { color: var(--ink-3); font-size: 13.5px; margin: 10px 0 0; } .ins.full .ins-hint { color: #8a8a82; }
.ins-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ins-steps li { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: 16px; background: rgba(127,127,127,.1); }
.ins-steps b { display: block; } .ins-steps span { font-size: 13.5px; opacity: .75; } .ins-steps svg { width: 16px; height: 16px; vertical-align: -3px; }
.ins-n { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; font-weight: 800; flex: none; }
.ins-warn { padding: 12px 14px; border-radius: 12px; background: var(--accent-soft); color: var(--ink); margin: 0 0 12px; }
.ins-qr { display: flex; gap: 14px; align-items: center; margin-top: 20px; padding: 14px; border-radius: 16px; background: rgba(127,127,127,.1); }
.ins-qr img { width: 96px; height: 96px; background: #fff; border-radius: 10px; padding: 6px; } .ins-qr b { display: block; } .ins-qr span { font-size: 13px; opacity: .75; }
.ins-done { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 16px; background: rgba(31,138,76,.15); } .ins-done svg { width: 22px; height: 22px; color: var(--ok); } .ins-done span { display: block; font-size: 13.5px; opacity: .8; }
@media (max-width: 760px) { .ins { grid-template-columns: 1fr; gap: 18px; } .ins-phone { width: 190px; height: 380px; border-radius: 34px; } .ins-screen { padding: 50px 14px; } .ins-body h1 { font-size: 24px; } }
.ins-banner { position: fixed; z-index: 80; left: 50%; transform: translateX(-50%); bottom: calc(80px + env(safe-area-inset-bottom)); width: min(520px, calc(100% - 24px)); display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 12px; border-radius: 18px; background: #111; color: #fff; box-shadow: 0 16px 40px rgba(0,0,0,.4); animation: sheetUp .35s var(--ease, ease) both; }
@media (min-width: 761px) { .ins-banner { bottom: 20px; left: auto; right: 20px; transform: none; } }
.ins-banner b { display: block; font-size: 14px; } .ins-banner span { font-size: 12.5px; color: #b9b9b2; } .ins-banner .btn.ghost { color: #fff; }
.ins-bi { width: 42px; height: 42px; border-radius: 11px; background: linear-gradient(160deg, #222, #0b0b0b); display: grid; place-items: center; flex: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.ins-bi svg { width: 62%; height: auto; overflow: visible; }
/* área do convidado (externos) */
.g-hello { margin-bottom: 14px; }
.g-next { display: block; position: relative; overflow: hidden; padding: 22px; border-radius: 22px; color: #fff; text-decoration: none; margin-bottom: 16px;
  background: #111 url("/brand/symbol-white.svg") no-repeat right -40px top -30px / 180px auto; box-shadow: 0 18px 40px rgba(0,0,0,.25); }
.g-next::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(226,85,43,.35), transparent 60%); pointer-events: none; }
.g-next > * { position: relative; z-index: 1; }
.g-next-top { display: flex; justify-content: space-between; align-items: center; } .g-count { font-size: 14px; color: #ffcbb8; } .g-count b { font-size: 26px; color: #fff; }
.g-next-title { font-size: 24px; font-weight: 800; margin: 8px 0 4px; letter-spacing: -.01em; } .g-next-meta { color: #d6d6cf; font-size: 14px; }
.g-map { display: flex; gap: 8px; align-items: center; margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.08); font-size: 13.5px; } .g-map svg { width: 16px; height: 16px; color: var(--accent); }
.g-next-ph { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; } .g-next-ph span { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.1); }
.g-next-go { display: inline-block; margin-top: 14px; font-weight: 700; color: #ffcbb8; } .g-next.empty { background-color: #1a1a1a; }
.g-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 16px 0; }
.g-stat { padding: 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.g-stat span { display: block; font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); font-weight: 700; }
.g-stat b { display: block; font-size: 26px; font-weight: 800; margin: 4px 0 2px; font-variant-numeric: tabular-nums; letter-spacing: -.02em; } .g-stat b.g-since { font-size: 18px; text-transform: capitalize; }
.g-stat small { color: var(--ink-3); font-size: 12px; }
.g-row2 { display: grid; grid-template-columns: 1.2fr 1fr; gap: 10px; margin-bottom: 16px; }
.g-card2 { padding: 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); } .g-card2 h3 { margin: 0 0 12px; font-size: 14px; }
.g-bars { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; height: 120px; align-items: end; }
.g-bars div { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; }
.g-bars i { width: 100%; min-height: 3px; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, var(--accent), #b8401c); animation: barUp .8s var(--ease, ease) both; transform-origin: bottom; }
.g-bars span { font-size: 10px; color: var(--ink-3); text-transform: uppercase; }
@keyframes barUp { from { transform: scaleY(0); } to { transform: none; } }
.g-roles { margin-bottom: 10px; } .g-cos { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; } .g-cos li { display: flex; justify-content: space-between; gap: 8px; font-size: 13.5px; } .g-cos span { color: var(--ink-3); }
.g-medals { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; } .g-medals span { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #111; color: #ffcbb8; }
.g-calbox { padding: 0; overflow: hidden; margin-bottom: 16px; }
.g-histh { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; }
.g-right { display: grid; justify-items: end; gap: 4px; } .g-right b { font-variant-numeric: tabular-nums; }
.g-skel { height: 220px; border-radius: 22px; background: linear-gradient(90deg, var(--surface), var(--surface-2), var(--surface)); background-size: 200% 100%; animation: skel 1.2s linear infinite; }
@keyframes skel { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.guest-main #g-inst .install-card { margin-bottom: 16px; }
@media (max-width: 760px) { .g-stats { grid-template-columns: 1fr 1fr; } .g-row2 { grid-template-columns: 1fr; } .g-next-title { font-size: 21px; } }
.g-next { background: #111; } .g-next::before { content: ''; position: absolute; right: -40px; top: -30px; width: 190px; height: 225px; background: url('/brand/symbol-white.svg') no-repeat center / contain; opacity: .09; pointer-events: none; }
.g-card .grow { flex: 1; min-width: 0; } .g-card .g-right { margin-left: auto; text-align: right; } .ins-icons > * { width: 100%; } .ins-ph { width: 100%; }
/* página Instalar v2 */
.ins { justify-content: center; margin: 0 auto; }
.ins-wrap .ins { width: 100%; }
.ins-phone { width: 260px; height: 530px; }
.ins-screen { position: relative; overflow: hidden; padding: 44px 16px 16px; display: flex; flex-direction: column; background: radial-gradient(120% 70% at 50% 0%, #3a1f16, #111 62%); }
.ins-screen::before { content: ""; position: absolute; right: -40px; bottom: 40px; width: 220px; height: 260px; background: url("/brand/symbol-white.svg") no-repeat center / contain; opacity: .05; }
.ins-status { position: absolute; top: 14px; left: 26px; right: 22px; display: flex; justify-content: space-between; align-items: center; color: #fff; font-size: 11px; z-index: 3; }
.ins-status span { display: flex; gap: 5px; align-items: center; }
.ins-status .sig { width: 14px; height: 8px; background: linear-gradient(90deg, #fff 22%, transparent 22% 33%, #fff 33% 55%, transparent 55% 66%, #fff 66%); clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.ins-status .bat { width: 20px; height: 9px; border: 1.5px solid #fff; border-radius: 3px; position: relative; } .ins-status .bat::after { content: ""; position: absolute; inset: 1px 4px 1px 1px; background: #fff; border-radius: 1px; }
.ins-icons { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; grid-auto-rows: auto; gap: 16px 12px; padding: 18px 4px 0; }
.ins-ph { display: block; width: 100%; aspect-ratio: 1; border-radius: 13px; background: rgba(255,255,255,var(--o, .08)); }
.ins-app { display: grid; justify-items: center; gap: 4px; min-width: 0; position: relative; }
.ins-app svg { width: 100%; aspect-ratio: 1; box-sizing: border-box; padding: 22%; border-radius: 13px; }
.ins-app i { position: absolute; top: 100%; margin-top: 3px; font-size: 8px; }
.ins-dock { position: relative; z-index: 1; margin-top: auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 10px; border-radius: 22px; background: rgba(255,255,255,.08); backdrop-filter: blur(6px); }
.ins-help { margin-top: 14px; display: grid; gap: 12px; }
.ins-bar { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; background: rgba(127,127,127,.15); border: 1px solid rgba(127,127,127,.2); }
.ins-dots { display: flex; gap: 5px; } .ins-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(127,127,127,.5); }
.ins-url { flex: 1; font-size: 13px; padding: 6px 10px; border-radius: 999px; background: rgba(127,127,127,.15); }
.ins-ic { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; color: var(--accent); box-shadow: 0 0 0 2px var(--accent); animation: insPulse 1.6s ease-in-out infinite; }
.ins-ic svg { width: 18px; height: 18px; }
@keyframes insPulse { 0%, 100% { box-shadow: 0 0 0 2px var(--accent); } 50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 30%, transparent); } }
.ins-done + .ins-go { margin-top: 12px; display: inline-flex; }
@media (min-width: 761px) { .ins-wrap { padding: 40px; } }
@media (max-width: 760px) { .ins-phone { width: 180px; height: 360px; border-radius: 30px; padding: 9px; } .ins-screen { border-radius: 23px; padding: 34px 10px 10px; } .ins-icons { gap: 10px 8px; padding-top: 10px; } .ins-dock { gap: 8px; padding: 7px; border-radius: 16px; } .ins-app i { font-size: 6.5px; } }
.ins-fx { display: grid; gap: 8px; padding: 16px; border-radius: 16px; background: rgba(127,127,127,.12); font-size: 14px; line-height: 1.55; } .ins-fx b { font-size: 15px; } .ins-fx .btn { justify-self: start; }
.ins-steps span b { display: inline; }
@media (max-width: 760px) { .ins-notch { top: 16px; width: 52px; height: 15px; border-radius: 9px; } .ins-status { top: 16px; left: 22px; right: 20px; height: 15px; font-size: 8.5px; } .ins-status .sig { width: 10px; height: 6px; } .ins-status .bat { width: 15px; height: 7px; border-width: 1px; } .ins-screen { padding-top: 40px; } }
/* mockup do telemóvel: tudo proporcional à largura do telemóvel (ilha centrada, hora à esquerda, rede/bateria à direita) */
.ins-phone { container-type: inline-size; }
.ins-notch, .ins-phone .ins-notch { top: 6cqw !important; width: 30cqw !important; height: 8.4cqw !important; border-radius: 5cqw !important; }
.ins-status, .ins-phone .ins-status { top: 6cqw !important; height: 8.4cqw !important; left: 11cqw !important; right: 10cqw !important; font-size: 4.4cqw !important; align-items: center !important; }
.ins-status b { line-height: 1; } .ins-status span { gap: 1.6cqw !important; }
.ins-status .sig { width: 5.4cqw !important; height: 3.4cqw !important; }
.ins-status .bat { width: 8cqw !important; height: 3.8cqw !important; border-width: .55cqw !important; border-radius: 1.2cqw !important; }
.ins-screen { padding-top: 17cqw !important; }
.ins-phone .ins-status { top: calc(6cqw - 12px) !important; left: calc(11cqw - 12px) !important; right: calc(10cqw - 12px) !important; } @media (max-width: 760px) { .ins-phone .ins-status { top: calc(6cqw - 9px) !important; left: calc(11cqw - 9px) !important; right: calc(10cqw - 9px) !important; } }
.ins-qr-main { margin-top: 16px; } .ins-chrome { font-size: 12.5px; color: var(--ink-3); margin: 14px 0 0; } .ins.full .ins-chrome { color: #8a8a82; } .ins-copy { display: inline-flex; align-items: center; gap: 5px; border: 0; background: rgba(127,127,127,.15); color: inherit; font: inherit; padding: 2px 8px; border-radius: 6px; cursor: pointer; } .ins-copy svg { width: 12px; height: 12px; } .ins-copy:hover { color: var(--accent); } .ins-copy.ok { color: var(--ok); }

/* ---------- Telemóvel: afinações (fluidez e acabamento) */
.only-sm { display: none; }
.u-acts { text-align: right; white-space: nowrap; }
.u-acts .btn + .btn { margin-left: 6px; }
/* banner de instalação: sem translate (a animação substituía-o e o banner ficava cortado à direita) */
.ins-banner { left: 12px; right: 12px; width: auto; max-width: 520px; margin: 0 auto; transform: none; }
@media (min-width: 761px) { .ins-banner { left: auto; right: 20px; width: 440px; margin: 0; } }
body:has(.ins-banner) .qr-fab { bottom: calc(env(safe-area-inset-bottom) + 158px); }
/* toques: sem atraso nem realce cinzento; deslizes suaves */
a, button, .btn, label, summary, [data-href] { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.table-wrap, .tabs, .modal .body { -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
@media (max-width: 760px) {
  .only-sm { display: block; }
  /* iPhone: campos com letra de 16px não fazem zoom ao tocar */
  input:not([type=checkbox]):not([type=radio]):not([type=range]), select, textarea { font-size: 16px !important; }
  /* separadores numa só linha, com deslize lateral */
  .tabs { display: flex; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs button { flex: none; white-space: nowrap; padding: 9px 14px; }
  /* filtros: pesquisa a toda a largura, listas dois a dois */
  .toolbar { gap: 8px; padding: 12px; }
  .toolbar .search { flex: 1 1 100%; }
  .toolbar > select { flex: 1 1 calc(50% - 4px); width: auto !important; min-width: 0 !important; }
  .toolbar > .tabs { flex: 1 1 100%; }
  /* botões do topo da página: alinhados e do mesmo tamanho */
  .page-head .actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; }
  .page-head .actions > * { justify-content: center; margin: 0; min-height: 44px; }
  .page-head .actions > .btn.primary:last-child:nth-child(odd), .page-head .actions > .btn.accent:last-child:nth-child(odd) { grid-column: 1 / -1; }
  /* botões e alvos de toque com pelo menos 44px */
  .btn { min-height: 44px; }
  .btn.sm { min-height: 38px; }
  .btn.icon-btn.sm { min-width: 38px; }
  td.u-acts { padding-left: 4px; }
  .lbl-due { padding: 4px 9px 4px 7px; }
}
/* ---------- Temas sazonais (season.js). Discretos: a marca não muda; só um filete na cor da época, um ornamento no logótipo,
   um detalhe junto ao X do canto e, nalgumas datas, neve/brilhos leves no cartão de Início e no ecrã de entrada. */
canvas.season-fx { position: absolute !important; inset: 0; width: 100%; height: 100%; z-index: 0 !important; pointer-events: none; display: block; }
.login .art > canvas.season-fx { z-index: 0 !important; }
:root[data-season] .side { background-image: linear-gradient(90deg, var(--accent), var(--season)); background-size: 100% 2px; background-repeat: no-repeat; }
:root[data-season] .mobile-bar, :root[data-season] .guest-top { background-image: linear-gradient(90deg, var(--accent), var(--season)); background-size: 100% 2px; background-repeat: no-repeat; background-position: 0 100%; }
:root[data-season-kind="especial"] .hero { box-shadow: inset 0 -2px 0 color-mix(in srgb, var(--season) 75%, transparent); }
/* ornamento no canto do mosaico do logótipo (gorro, brilho, abóbora…) */
:root[data-season-orn] .lockup.tiled .btile { position: relative; }
/* ornamento pousado na letra "x" de "mx" (como se a letra usasse o gorro). Ancorado ao letreiro: o SVG tem viewBox 50 -563 2440 1195,
   o x começa em 1068.7 e o topo do x é o topo do letreiro. Tamanhos em % do letreiro: acompanha todos os tamanhos e o zoom. */
:root[data-season-orn] .lockup .lk-wm { position: relative; }
:root[data-season-orn] .lockup .lk-wm:not(.one)::after { content: ""; position: absolute; width: 21%; height: 43%; left: 42%; top: -33%; background: var(--season-orn) center / contain no-repeat;
  transform: rotate(12deg); transform-origin: 50% 85%; pointer-events: none; filter: drop-shadow(0 1px 1px rgba(0,0,0,.45)); }
:root[data-season-orn]:not([data-season="natal"]) .lockup .lk-wm:not(.one)::after { width: 17%; height: 35%; left: 45%; top: -30%; transform: rotate(-8deg); }
#intro .lk-wm::after, .fnd .lk-wm::after { display: none !important; }
/* detalhe da época junto ao X do canto inferior esquerdo (fundo da app) */
#bgfx .sx { display: none; }
:root[data-season] #bgfx .sx { --W: max(64vmin, 300px); --H: max(calc(64vmin * 366 / 310), 354px); --S: max(6vmin, 30px);
  display: block; position: absolute; width: var(--S); height: var(--S); left: calc(-16vmin + var(--W) * .79 - var(--S) / 2); bottom: calc(-18vmin + var(--H) + 1.2vmin);
  background: var(--season-xorn) center / contain no-repeat; opacity: .42; transform: rotate(-8deg); }
:root[data-season-kind="estacao"] #bgfx .sx { opacity: .26; }
@media (min-width: 761px) { :root[data-season] #bgfx .sx { left: calc(232px - 16vmin + var(--W) * .79 - var(--S) / 2); } }
/* saudação da época (Painel, Início, externos) */
.season-hi { color: var(--season); }
.hero .season-hi, .page-head .season-hi { color: inherit; }
.season-dot { display: inline-block; width: .5em; height: .5em; border-radius: 50%; background: var(--season); margin-left: .35em; vertical-align: .18em; }
/* pré-visualização do tema (admin) */
.season-pv { position: fixed; z-index: 70; left: 50%; transform: translateX(-50%); bottom: calc(env(safe-area-inset-bottom) + 76px); display: flex; gap: 10px; align-items: center;
  padding: 8px 8px 8px 14px; border-radius: 999px; background: #111; color: #fff; font-size: 13px; box-shadow: 0 10px 28px rgba(0,0,0,.3); border: 1px solid color-mix(in srgb, var(--season, #fff) 55%, transparent); white-space: nowrap; }
.season-pv button { border: 0; border-radius: 999px; padding: 6px 12px; background: var(--accent); color: #fff; font: inherit; font-weight: 650; cursor: pointer; }
@media (min-width: 761px) { .season-pv { bottom: 20px; } }
.season-prev { display: grid; gap: 10px; }
.season-prev .row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.season-prev select { flex: 1; min-width: 160px; }
.season-sw { display: inline-block; width: 12px; height: 12px; border-radius: 50%; vertical-align: -1px; margin-right: 6px; }
.season-mail { width: 100%; height: 70vh; border: 1px solid var(--line); border-radius: 12px; background: #efefec; }
@media print { canvas.season-fx, #bgfx .sx, .lockup .lk-wm::after, .season-pv { display: none !important; } }