/* H6LIST Web — design system (laranja + azul, escuro e claro) */
:root {
  --accent: #F28C38; --accent2: #2F6BFF;
  --red: #FF5A4E; --green: #22C55E; --orange: #F28C38; --blue: #5B8CFF; --gold: #FFC145; --purple: #8B5CF6;
  --r: 14px; --r-lg: 20px; --sb: 288px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
[data-mode=dark] {
  --bg: #0B1120; --bg2: #0E1529; --surface: #141C2E; --surface2: #1B2539; --surface3: #232F47;
  --line: #243049; --line2: #2E3B57; --text: #EEF2FA; --text2: #B7C1D6; --mut: #8E9AB3;
  --glass: rgba(20, 28, 46, .72); --shadow: 0 18px 50px rgba(0, 0, 0, .45); --shadow-s: 0 6px 20px rgba(0, 0, 0, .3);
  --hover: rgba(255, 255, 255, .04); --chk-bg: transparent;
}
[data-mode=light] {
  --bg: #F4F6FB; --bg2: #EDF1F8; --surface: #FFFFFF; --surface2: #F1F4FA; --surface3: #E6EBF5;
  --line: #E1E6F0; --line2: #D3DAE8; --text: #0E1526; --text2: #39445C; --mut: #66728C;
  --glass: rgba(255, 255, 255, .78); --shadow: 0 18px 50px rgba(15, 30, 70, .16); --shadow-s: 0 6px 18px rgba(15, 30, 70, .08);
  --hover: rgba(14, 21, 38, .035); --chk-bg: #fff;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 15px; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body { overflow: hidden; overscroll-behavior: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
a { color: inherit; text-decoration: none; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: color-mix(in srgb, var(--accent) 35%, transparent); }
.ic { flex: none; display: block; }
.hide { display: none !important; }
.grow { flex: 1; }
.muted { color: var(--mut); }
.small { font-size: 12.5px; }
.tiny { font-size: 11.5px; }
.mt { margin-top: 12px; }
.pad { padding: 16px; margin: 0; }
.cap { text-transform: capitalize; }
.mono, code { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: .9em; }
code { background: var(--surface2); padding: 2px 6px; border-radius: 6px; }
kbd { display: inline-flex; align-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 6px; font: 600 11px var(--font); color: var(--mut); background: var(--surface2); border: 1px solid var(--line2); border-bottom-width: 2px; }
.c-red { color: var(--red) !important; } .c-green { color: var(--green) !important; } .c-orange { color: var(--orange) !important; } .c-blue { color: var(--blue) !important; } .c-mut { color: var(--mut); } .c-gold { color: var(--gold); }
#app { height: 100%; }

/* ---------------------------------------------------------------- splash */
.splash { height: 100%; display: grid; place-items: center; align-content: center; gap: 22px; }
.splash img { width: 88px; height: 88px; border-radius: 22px; box-shadow: 0 20px 60px rgba(47, 107, 255, .35); animation: pop .6s var(--ease); }
.splash-bar { width: 120px; height: 4px; border-radius: 4px; background: var(--surface2); overflow: hidden; }
.splash-bar i { display: block; width: 40%; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent2)); border-radius: 4px; animation: load 1.1s ease-in-out infinite; }
@keyframes load { 0% { transform: translateX(-100%); } 100% { transform: translateX(260%); } }
@keyframes pop { from { transform: scale(.7); opacity: 0; } }

/* ---------------------------------------------------------------- botões e campos */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 12px; font-weight: 700; font-size: 14px; transition: transform .12s, background .2s, opacity .2s, box-shadow .2s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn.primary { background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 70%, #FF4D1A)); color: #fff; box-shadow: 0 8px 24px color-mix(in srgb, var(--accent) 35%, transparent); }
.btn.primary:hover { filter: brightness(1.06); }
.btn.primary:disabled { opacity: .45; box-shadow: none; cursor: default; }
.btn.ghost { background: var(--surface2); color: var(--text); }
.btn.ghost:hover { background: var(--surface3); }
.btn.danger { background: var(--red); color: #fff; }
.btn.sm { height: 32px; padding: 0 12px; font-size: 13px; border-radius: 10px; }
.btn.big { height: 52px; width: 100%; font-size: 16px; border-radius: 16px; }
.btn.social { height: 50px; width: 100%; border-radius: 16px; background: var(--surface2); border: 1px solid var(--line2); font-size: 15px; }
.btn.social.apple { background: #fff; color: #000; border-color: #fff; }
.danger-t { color: var(--red) !important; }
.link { color: var(--accent); font-weight: 700; font-size: 13.5px; display: inline-flex; align-items: center; gap: 4px; }
.link:hover { text-decoration: underline; }
.center-b { display: block; margin: 14px auto 0; }
.icon-btn { width: 36px; height: 36px; border-radius: 10px; display: inline-grid; place-items: center; color: var(--text2); position: relative; transition: background .15s, color .15s; flex: none; }
.icon-btn:hover { background: var(--hover); color: var(--text); }
.icon-btn.sm { width: 28px; height: 28px; border-radius: 8px; }
.icon-btn .dot, .dot { position: absolute; top: 7px; right: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px var(--bg); }
.input { width: 100%; height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line2); background: var(--surface2); color: var(--text); outline: none; transition: border-color .15s, box-shadow .15s; }
.input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.input.sm { height: 34px; width: auto; padding: 0 10px; border-radius: 9px; font-size: 13.5px; }
.input.big { height: 54px; font-size: 17px; border-radius: 16px; }
.input.center { text-align: center; letter-spacing: 6px; font-weight: 800; }
select.input { appearance: none; padding-right: 30px; 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='%238E9AB3' stroke-width='3'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; }
.pin-in { letter-spacing: 10px; font-weight: 800; font-size: 20px; text-align: center; }
.lbl { display: block; font-size: 12.5px; font-weight: 700; color: var(--mut); margin: 14px 0 6px; }
.err { color: var(--red); font-size: 13px; min-height: 18px; margin: 8px 0; }
.row-btns { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; }
.switch { appearance: none; width: 44px; height: 26px; border-radius: 26px; background: var(--surface3); position: relative; cursor: pointer; transition: background .2s; flex: none; margin: 0; }
.switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .3); transition: transform .22s var(--ease); }
.switch:checked { background: var(--green); }
.switch:checked::after { transform: translateX(18px); }
.seg { display: inline-flex; background: var(--surface2); border-radius: 12px; padding: 3px; gap: 2px; }
.seg button { height: 32px; padding: 0 12px; border-radius: 9px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 13px; color: var(--mut); }
.seg button.on { background: var(--surface); color: var(--text); box-shadow: var(--shadow-s); }
.seg.sm button { height: 28px; padding: 0 10px; font-size: 12.5px; }
.seg.full { display: flex; width: 100%; } .seg.full button { flex: 1; justify-content: center; height: 40px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.pill { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; border-radius: 10px; background: var(--surface2); font-weight: 700; font-size: 13px; }
.pill-s { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; background: var(--surface2); font-size: 12px; font-weight: 700; color: var(--text2); }
.pill-s.ok { background: color-mix(in srgb, var(--green) 16%, transparent); color: var(--green); }

/* ---------------------------------------------------------------- layout */
.layout { display: grid; grid-template-columns: var(--sb) 1fr; grid-template-rows: minmax(0, 1fr); height: 100%; overflow: hidden; transition: grid-template-columns .28s var(--ease); }
.layout.collapsed { grid-template-columns: 0 1fr; }
.sidebar { min-height: 0; background: var(--bg2); border-right: 1px solid var(--line); display: flex; flex-direction: column; overflow: hidden; min-width: 0; }
.layout.collapsed .sidebar { border: 0; }
.main { min-width: 0; min-height: 0; display: flex; flex-direction: column; height: 100%; position: relative; overflow: hidden; }
.view { flex: 1 1 0; min-height: 0; overflow-y: auto; overflow-x: hidden; scroll-behavior: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.page { max-width: 860px; margin: 0 auto; padding: 26px 34px 120px; }
.page.wide { max-width: 1240px; }
.page.enter { animation: pageIn .32s var(--ease); }
@keyframes pageIn { from { opacity: 0; transform: translateY(8px); } }
.topbar { display: none; }
.layout.collapsed .topbar { display: flex; }
.topbar { align-items: center; gap: 6px; height: 56px; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--glass); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); flex: none; }
.tb-logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; letter-spacing: .4px; margin-left: 4px; }
.tb-logo .logo-svg { width: 26px; height: 26px; }
.tb-sync { font-size: 12px; color: var(--mut); display: inline-flex; align-items: center; gap: 6px; margin-right: 6px; cursor: pointer; }
.tb-av { margin-left: 4px; }
.tabbar, .fab { display: none; }

/* sidebar */
.sb-top { display: flex; align-items: center; gap: 4px; padding: 14px 12px 6px 14px; }
.sb-user { display: inline-flex; align-items: center; gap: 9px; padding: 5px 8px 5px 5px; border-radius: 12px; font-weight: 700; font-size: 14.5px; }
.sb-user:hover { background: var(--hover); }
.avatar { display: inline-grid; place-items: center; border-radius: 50%; color: #fff; font-weight: 800; flex: none; letter-spacing: .3px; box-shadow: inset 0 -6px 12px rgba(0, 0, 0, .12); }
.sb-add { margin: 10px 14px 6px; display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 12px; border-radius: 12px; color: var(--accent); font-weight: 800; transition: background .15s; }
.sb-add:hover { background: color-mix(in srgb, var(--accent) 10%, transparent); }
.sb-add span { flex: 1; text-align: left; }
.sb-add .ic { background: var(--accent); color: #fff; border-radius: 50%; padding: 3px; width: 24px; height: 24px; }
.sb-nav, .sb-projects { padding: 4px 10px; display: flex; flex-direction: column; gap: 1px; }
.sb-projects { overflow-y: auto; flex: 1; padding-bottom: 12px; }
.nav-i { display: flex; align-items: center; gap: 11px; height: 38px; padding: 0 10px; border-radius: 10px; color: var(--text2); font-weight: 600; font-size: 14.5px; transition: background .12s, color .12s; width: 100%; text-align: left; }
.nav-i span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-i .pe, .nav-i .hash, .nav-i .fav { flex: none; }
.nav-i em { font-style: normal; font-size: 12px; color: var(--mut); font-weight: 600; }
.nav-i kbd { opacity: 0; transition: opacity .15s; }
.nav-i:hover kbd, .sb-add:hover kbd { opacity: 1; }
.sb-add kbd { opacity: 0; }
.nav-i:hover { background: var(--hover); color: var(--text); }
.nav-i.on { background: color-mix(in srgb, var(--accent) 13%, transparent); color: var(--accent); }
.nav-i.on em { color: var(--accent); }
.nav-i .hash { font-weight: 800; font-size: 17px; width: 18px; text-align: center; }
.nav-i .pe { width: 18px; text-align: center; font-size: 15px; }
.nav-i .fav { color: var(--gold); }
.nav-i.sub { color: var(--mut); font-size: 13.5px; }
.nav-i.drop-on, .drop-on { outline: 2px dashed var(--accent); outline-offset: -2px; background: color-mix(in srgb, var(--accent) 10%, transparent) !important; }
.sb-sec { display: flex; align-items: center; padding: 16px 14px 4px 20px; }
.sb-h { flex: 1; font-size: 12px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: var(--mut); }
.sb-empty { padding: 4px 10px; }
.sb-foot { display: flex; align-items: center; gap: 8px; padding: 10px 12px 12px 18px; border-top: 1px solid var(--line); }
.sync-st { flex: 1; font-size: 12px; color: var(--mut); display: flex; align-items: center; gap: 6px; cursor: pointer; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.spin-s { width: 12px; height: 12px; border: 2px solid color-mix(in srgb, var(--accent) 30%, transparent); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* cabeçalho de página */
.page-head { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.page-head h1 { font-size: 27px; font-weight: 800; letter-spacing: -.5px; margin: 0; display: flex; align-items: center; gap: 10px; }
.page-head > div:first-child { flex: 1 1 260px; min-width: 0; }
.page-head .sub { margin: 3px 0 0; color: var(--mut); font-size: 13.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.page-head.sticky { position: sticky; top: 0; z-index: 5; background: var(--bg); padding: 14px 0 10px; margin: -14px 0 6px; }
.proj-h .hash { font-weight: 800; }
.back { margin-left: -8px; }
.goal-ring { position: relative; display: grid; place-items: center; width: 46px; height: 46px; }
.goal-ring span { position: absolute; font-size: 11px; font-weight: 800; }
.ring-bg { fill: none; stroke: var(--surface3); }
.ring-fg { fill: none; stroke: var(--accent); stroke-linecap: round; transition: stroke-dashoffset .8s var(--ease); }
.filter-on { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border-radius: 999px; background: color-mix(in srgb, var(--accent2) 16%, transparent); color: var(--blue); font-weight: 700; font-size: 12.5px; }
.pbar { height: 6px; background: var(--surface2); border-radius: 6px; overflow: hidden; margin: -6px 0 18px; }
.pbar i { display: block; height: 100%; border-radius: 6px; transition: width .6s var(--ease); }
.pbar.sm { height: 6px; margin: 0; flex: 1; }
.banner { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; background: color-mix(in srgb, var(--gold) 14%, transparent); color: var(--text); margin-bottom: 16px; font-size: 14px; }

/* seções e lista de tarefas */
.sec { margin-bottom: 22px; border-radius: 14px; transition: background .15s; }
.sec-head { display: flex; align-items: center; gap: 8px; padding: 6px 2px 8px; border-bottom: 1px solid var(--line); margin-bottom: 2px; }
.sec-head h4 { margin: 0; flex: 1; font-size: 14px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.sec-head h4 em { font-style: normal; font-size: 12px; color: var(--mut); font-weight: 600; }
.sec-head h4 a { display: inline-flex; align-items: center; gap: 4px; }
.sec-head.red h4 { color: var(--red); }
.tlist { display: flex; flex-direction: column; }
.task { display: flex; align-items: flex-start; gap: 12px; padding: 11px 6px 11px 4px; border-bottom: 1px solid var(--line); position: relative; border-radius: 10px; transition: background .12s, transform .25s var(--ease), opacity .25s; background: var(--bg); }
.task:hover { background: var(--hover); }
.task.done .task-title { color: var(--mut); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--mut) 60%, transparent); }
.task.completing { opacity: 0; transform: translateX(20px); }
.task.completing .chk { background: var(--green); border-color: var(--green); color: #fff; }
.task.drag-src { opacity: .4; }
.task.drop-before { box-shadow: inset 0 3px 0 var(--accent); }
.task.sw-right { background: color-mix(in srgb, var(--green) 18%, var(--bg)); }
.task.sw-left { background: color-mix(in srgb, var(--accent2) 18%, var(--bg)); }
.chk { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--pc, var(--mut)); background: color-mix(in srgb, var(--pc, transparent) 12%, var(--chk-bg)); display: grid; place-items: center; color: transparent; flex: none; margin-top: 1px; transition: background .15s, color .15s, transform .15s; }
.chk:hover { color: var(--pc, var(--mut)); transform: scale(1.06); }
.chk.p1 { --pc: var(--red); } .chk.p2 { --pc: var(--orange); } .chk.p3 { --pc: var(--blue); } .chk.p4 { --pc: var(--mut); }
.task.done .chk, .chk.on { background: var(--pc); color: #fff; }
.chk.sm { width: 18px; height: 18px; border-width: 1.6px; }
.chk.big { width: 26px; height: 26px; margin-top: 4px; }
.task-main { flex: 1; min-width: 0; cursor: pointer; }
.task-title { font-size: 14.5px; line-height: 1.4; font-weight: 500; word-wrap: break-word; }
.task-title .lnk, .lnk { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.task-notes { font-size: 12.5px; color: var(--mut); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.task-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 5px; font-size: 12px; color: var(--mut); align-items: center; }
.task-meta > span { display: inline-flex; align-items: center; gap: 4px; }
.m-date { font-weight: 600; }
.m-lbl { color: var(--purple); }
[data-mode=dark] .m-lbl { color: #B49CFF; }
.task-side { display: flex; align-items: center; gap: 4px; flex: none; min-height: 24px; }
.task-proj { font-size: 12px; color: var(--mut); display: inline-flex; align-items: center; gap: 6px; max-width: 160px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.task-hover { display: flex; gap: 2px; opacity: 0; transition: opacity .12s; position: absolute; right: 6px; top: 8px; background: var(--surface); border-radius: 10px; box-shadow: var(--shadow-s); padding: 2px; }
.task:hover .task-hover { opacity: 1; }
.task.compact { padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); margin-bottom: 8px; }
.pdot { display: inline-block; border-radius: 50%; flex: none; }
.inline-add { display: flex; align-items: center; gap: 10px; padding: 10px 4px; color: var(--mut); font-weight: 600; font-size: 14px; width: 100%; border-radius: 10px; }
.inline-add:hover { color: var(--accent); }
.inline-add .ia-plus { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; color: var(--accent); }
.inline-add:hover .ia-plus { background: var(--accent); color: #fff; }

/* vazio */
.empty { text-align: center; padding: 40px 16px 30px; display: flex; flex-direction: column; align-items: center; }
.empty-art { width: 190px; height: 150px; margin-bottom: 8px; animation: float 5s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-6px); } }
.empty h3 { margin: 6px 0 6px; font-size: 18px; }
.empty p { color: var(--mut); max-width: 380px; margin: 0 0 18px; line-height: 1.5; font-size: 14px; }

/* em breve */
.wk-strip { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin: 0 0 20px; }
.wk-d { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0 10px; border-radius: 14px; position: relative; transition: background .15s; }
.wk-d small { font-size: 11px; color: var(--mut); font-weight: 700; }
.wk-d b { font-size: 17px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; }
.wk-d i { width: 5px; height: 5px; border-radius: 50%; background: var(--mut); position: absolute; bottom: 4px; }
.wk-d:hover { background: var(--hover); }
.wk-d.today b { color: var(--accent); }
.wk-d.sel b { background: var(--accent); color: #fff; }
.wk-d.past { opacity: .45; }
.day-sec { scroll-margin-top: 130px; }
.month { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--surface); }
.mh { display: grid; grid-template-columns: repeat(7, 1fr); border-bottom: 1px solid var(--line); }
.mh span { text-align: center; padding: 8px 0; font-size: 11.5px; font-weight: 800; color: var(--mut); text-transform: uppercase; letter-spacing: .5px; }
.mg { display: grid; grid-template-columns: repeat(7, 1fr); }
.mc { min-height: 104px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 5px; display: flex; flex-direction: column; gap: 3px; position: relative; min-width: 0; }
.mc:nth-child(7n) { border-right: 0; }
.mc.out { background: var(--bg2); }
.mc.out .mc-n { opacity: .45; }
.mc-n { font-size: 12.5px; font-weight: 700; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; }
.mc.today .mc-n { background: var(--accent); color: #fff; }
.mc-t { font-size: 11.5px; text-align: left; padding: 3px 6px; border-radius: 6px; background: var(--surface2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-left: 3px solid var(--mut); font-weight: 600; }
.mc-t small { color: var(--mut); margin-right: 4px; }
.mc-t.p1 { border-color: var(--red); } .mc-t.p2 { border-color: var(--orange); } .mc-t.p3 { border-color: var(--blue); }
.mc-more { font-size: 11px; color: var(--mut); font-weight: 700; text-align: left; padding-left: 4px; }
.mc-add { position: absolute; top: 4px; right: 4px; opacity: 0; width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; color: var(--accent); }
.mc:hover .mc-add { opacity: 1; background: var(--surface2); }
.cal-nav { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }

/* quadro */
.board { display: grid; grid-template-columns: repeat(4, minmax(220px, 1fr)); gap: 14px; overflow-x: auto; padding-bottom: 8px; }
.bcol { background: var(--bg2); border: 1px solid var(--line); border-radius: 16px; padding: 10px; min-height: 160px; display: flex; flex-direction: column; }
.col-h { display: flex; align-items: center; gap: 8px; padding: 2px 4px 10px; }
.col-h i { width: 9px; height: 9px; border-radius: 50%; }
.col-h b { flex: 1; font-size: 13.5px; }
.col-h em { font-style: normal; color: var(--mut); font-size: 12px; font-weight: 700; }
.col-b { flex: 1; }
.bcol .task-hover { top: 6px; }

/* navegar / hub */
.hub-user { display: flex; align-items: center; gap: 12px; }
.hub-user b { display: block; font-size: 16px; }
.hub-user small { color: var(--mut); font-size: 12.5px; }
.hub { margin-bottom: 18px; }
.hub-row { display: flex; align-items: center; gap: 14px; padding: 0 14px; height: 52px; border-bottom: 1px solid var(--line); width: 100%; font-weight: 600; text-align: left; }
.hub-row:last-child { border: 0; }
.hub-row:hover { background: var(--hover); }
.hub-row span:nth-child(2) { flex: 1; }
.hub-row em { font-style: normal; color: var(--mut); font-size: 13px; }
.hub-row > .ic { color: var(--mut); }
.hub-ic { width: 26px; display: grid; place-items: center; color: var(--accent); }
.prow { display: flex; align-items: center; gap: 6px; padding: 0 10px 0 0; border-bottom: 1px solid var(--line); }
.prow:last-child { border: 0; }
.prow a { flex: 1; display: flex; align-items: center; gap: 12px; padding: 13px 14px; min-width: 0; }
.prow a b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prow a small { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.prow a em { margin-left: auto; font-style: normal; color: var(--mut); font-size: 13px; }
.prow:hover { background: var(--hover); }
.prow .hash { font-weight: 800; font-size: 18px; }
.tpl-cta { display: flex; align-items: center; gap: 14px; margin-top: 18px; padding: 16px; border-radius: 18px; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 18%, var(--surface)), color-mix(in srgb, var(--accent2) 14%, var(--surface))); border: 1px solid var(--line); }
.tpl-cta div { flex: 1; } .tpl-cta b { display: block; } .tpl-cta small { color: var(--mut); }
.fgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; margin-bottom: 8px; }
.fcard { display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); transition: transform .15s, border-color .15s; }
.fcard:hover { transform: translateY(-2px); border-color: var(--line2); }
.fcard b { flex: 1; font-size: 14px; } .fcard em { font-style: normal; color: var(--mut); font-weight: 700; font-size: 13px; }
.tgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.tcard { text-align: left; padding: 18px; border-radius: 20px; background: linear-gradient(160deg, color-mix(in srgb, var(--c) 22%, var(--surface)), var(--surface) 70%); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; transition: transform .18s var(--ease), box-shadow .18s; }
.tcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.tcard .te { font-size: 32px; } .tcard b { font-size: 16px; } .tcard small { color: var(--mut); line-height: 1.45; } .tcard em { font-style: normal; color: var(--c); font-weight: 800; font-size: 12.5px; margin-top: 6px; }
.tpl-lines { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.tpl-line { display: flex; gap: 10px; color: var(--accent); } .tpl-line div { color: var(--text); } .tpl-line b { display: block; font-size: 14px; } .tpl-line small { color: var(--mut); font-size: 12.5px; }
.ann { display: flex; gap: 12px; padding: 14px; border-radius: 16px; background: color-mix(in srgb, var(--accent) 12%, var(--surface)); margin-bottom: 12px; color: var(--accent); }
.ann b { color: var(--text); } .ann p { margin: 4px 0 0; color: var(--text2); font-size: 14px; }
.act { display: flex; gap: 12px; padding: 14px 12px 14px 16px; border-bottom: 1px solid var(--line); position: relative; cursor: default; align-items: flex-start; }
.act.unread { cursor: pointer; }
.act.unread::before { content: ''; position: absolute; left: 5px; top: 22px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.act-b { flex: 1; min-width: 0; }
.act-b b, .act-b small { display: block; }
.act-b small { margin-top: 3px; }
.act-x { display: flex; gap: 2px; opacity: .55; transition: opacity .15s; }
.act:hover .act-x { opacity: 1; }
.act .new { color: var(--accent); font-weight: 700; }
.act:not(.unread) b { color: var(--text2); }
.seg em { font-style: normal; font-size: 11.5px; opacity: .7; margin-left: 4px; }
.mb { margin-bottom: 14px; }
.icon-btn .badge { position: absolute; top: 3px; right: 1px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--accent); color: #fff; font: 800 10px/17px var(--font); font-style: normal; text-align: center; box-shadow: 0 0 0 2px var(--bg); }
.act:last-child { border: 0; }
.act.unread { background: color-mix(in srgb, var(--accent) 6%, transparent); }
.act b { font-size: 14px; font-weight: 600; } .act p { margin: 3px 0; color: var(--text2); font-size: 13.5px; } .act small { color: var(--mut); font-size: 12px; }
.search-box { display: flex; align-items: center; gap: 10px; width: 100%; background: var(--surface2); border-radius: 14px; padding: 0 14px; color: var(--mut); }
.search-box .input { border: 0; background: transparent; box-shadow: none; padding: 0; }

/* produtividade */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 14px; }
.stat { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.stat small { display: block; color: var(--mut); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .5px; }
.stat strong { display: block; font-size: 22px; font-weight: 800; letter-spacing: -.3px; }
.stat span { font-size: 12.5px; color: var(--mut); }
.stat-ring { position: relative; display: grid; place-items: center; }
.stat-ring b { position: absolute; font-size: 18px; }
.stat-ring.blue .ring-fg { stroke: var(--accent2); }
.stat-ic { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; flex: none; }
.stat-ic.flame { background: color-mix(in srgb, var(--orange) 16%, transparent); color: var(--orange); }
.stat-ic.trophy { background: color-mix(in srgb, var(--gold) 16%, transparent); color: var(--gold); }
.chart-card { padding: 16px 16px 8px; margin-bottom: 14px; }
.chart { width: 100%; height: auto; margin-top: 10px; }
.chart rect { fill: var(--surface3); transition: fill .2s; }
.chart rect.hit { fill: var(--accent); }
.chart rect.now { fill: color-mix(in srgb, var(--accent2) 80%, transparent); }
.chart rect.now.hit { fill: var(--accent); }
.chart .cv { font-size: 12px; fill: var(--text2); text-anchor: middle; font-weight: 700; }
.chart .cl { font-size: 11.5px; fill: var(--mut); text-anchor: middle; font-weight: 600; }
.chart .goal-l { stroke: var(--accent); stroke-dasharray: 5 5; opacity: .7; }
.chart .goal-t { font-size: 11px; fill: var(--accent); font-weight: 700; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid2 .card { padding: 16px; }
.card-h { margin: 0 0 12px; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.heat { width: 100%; height: auto; }
.hm0 { fill: var(--surface2); background: var(--surface2); } .hm1 { fill: color-mix(in srgb, var(--accent) 30%, var(--surface2)); background: color-mix(in srgb, var(--accent) 30%, var(--surface2)); }
.hm2 { fill: color-mix(in srgb, var(--accent) 55%, var(--surface2)); background: color-mix(in srgb, var(--accent) 55%, var(--surface2)); } .hm3 { fill: color-mix(in srgb, var(--accent) 80%, var(--surface2)); background: color-mix(in srgb, var(--accent) 80%, var(--surface2)); } .hm4 { fill: var(--accent); background: var(--accent); }
.hm-leg { display: flex; align-items: center; gap: 4px; justify-content: flex-end; margin-top: 8px; font-size: 11px; color: var(--mut); }
.hm-leg i { width: 11px; height: 11px; border-radius: 3px; display: inline-block; }
.pstat { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 13.5px; }
.pstat span { width: 120px; display: inline-flex; align-items: center; gap: 7px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pstat em { font-style: normal; font-weight: 800; font-size: 13px; width: 24px; text-align: right; }

/* ---------------------------------------------------------------- folhas / modais */
.sheet-wrap { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 20px; }
.sheet-bg { position: absolute; inset: 0; background: rgba(4, 8, 18, .55); backdrop-filter: blur(3px); opacity: 0; transition: opacity .2s; }
.sheet { position: relative; width: 100%; max-height: min(88vh, 860px); background: var(--surface); border: 1px solid var(--line2); border-radius: 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; overflow: hidden; transform: translateY(14px) scale(.98); opacity: 0; transition: transform .26s var(--ease), opacity .2s; }
.sheet-wrap.open .sheet-bg { opacity: 1; }
.sheet-wrap.open .sheet { transform: none; opacity: 1; }
.sheet-sm { max-width: 440px; } .sheet-md { max-width: 620px; } .sheet-lg { max-width: 920px; }
.sheet-head { display: flex; align-items: center; gap: 10px; padding: 16px 16px 6px 22px; }
.sheet-head h3 { margin: 0; flex: 1; font-size: 17px; font-weight: 800; }
.sheet-actions { display: flex; gap: 4px; }
.sheet-body { padding: 8px 22px 22px; overflow-y: auto; }
.dialog .sheet-body p { line-height: 1.5; }
.grabber { display: none; }
/* adição rápida */
.qa-sheet { align-items: start; padding-top: 12vh; }
.qa-sheet .sheet-body { padding: 18px 20px 16px; }
.qa-field { position: relative; }
.qa-input, .qa-mirror { font: 600 18px/1.45 var(--font); padding: 0; margin: 0; border: 0; width: 100%; white-space: pre-wrap; word-wrap: break-word; overflow-wrap: break-word; letter-spacing: 0; }
.qa-input { position: relative; z-index: 1; background: transparent; outline: none; resize: none; color: var(--text); caret-color: var(--accent); display: block; overflow: hidden; }
.qa-input::placeholder { color: var(--mut); font-weight: 500; }
.qa-mirror { position: absolute; inset: 0; color: transparent; pointer-events: none; overflow: hidden; }
.qa-mirror mark, .demo mark { color: transparent; border-radius: 5px; box-shadow: 0 0 0 2px var(--tkc); background: var(--tkc); }
.demo mark { color: inherit; }
.tk-date, .tk-time { --tkc: color-mix(in srgb, var(--green) 26%, transparent); }
.tk-recurrence { --tkc: color-mix(in srgb, var(--orange) 28%, transparent); }
.tk-reminder { --tkc: color-mix(in srgb, var(--blue) 30%, transparent); }
.tk-project { --tkc: color-mix(in srgb, var(--purple) 32%, transparent); }
.tk-label { --tkc: color-mix(in srgb, #F472B6 30%, transparent); }
.tk-priority { --tkc: color-mix(in srgb, var(--red) 30%, transparent); }
.qa-desc { width: 100%; border: 0; outline: none; resize: none; background: transparent; color: var(--text2); font-size: 14px; margin-top: 8px; padding: 0; line-height: 1.5; }
.qa-detect { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; min-height: 0; }
.qa-detect:empty { display: none; }
.det { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 6px 0 9px; border-radius: 8px; font-size: 12.5px; font-weight: 700; background: var(--tkc); }
.det small { font-weight: 600; opacity: .7; font-size: 11px; }
.det .ic { opacity: .55; }
.det:hover .ic { opacity: 1; }
.det-date, .det-time { --tkc: color-mix(in srgb, var(--green) 20%, transparent); color: var(--green); }
.det-recurrence { --tkc: color-mix(in srgb, var(--orange) 20%, transparent); color: var(--orange); }
.det-reminder { --tkc: color-mix(in srgb, var(--blue) 20%, transparent); color: var(--blue); }
.det-project { --tkc: color-mix(in srgb, var(--purple) 22%, transparent); color: #B49CFF; }
.det-label { --tkc: color-mix(in srgb, #F472B6 22%, transparent); color: #F472B6; }
.det-priority { --tkc: color-mix(in srgb, var(--red) 20%, transparent); color: var(--red); }
.det-ign { --tkc: var(--surface2); color: var(--mut); text-decoration: line-through; }
[data-mode=light] .det-project { color: var(--purple); }
.qa-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 11px; border-radius: 10px; border: 1px solid var(--line2); font-size: 13px; font-weight: 600; color: var(--text2); transition: background .12s, border-color .12s; }
.chip:hover { background: var(--hover); }
.chip.on { border-color: transparent; background: var(--surface2); color: var(--text); }
.qa-foot { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.qa-proj { cursor: pointer; }
.qa-mic.rec { color: #fff; background: var(--red); animation: pulse 1.2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--red) 25%, transparent); } }
/* seletor de data */
.picker .sheet-body { padding-top: 4px; }
.dp-preview { font-size: 13px; margin: 8px 2px 10px; display: flex; align-items: center; gap: 6px; }
.dp-quick { display: flex; flex-direction: column; margin: 0 -8px 8px; }
.dp-q { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 10px; border-radius: 10px; font-weight: 600; }
.dp-q:hover { background: var(--hover); }
.dp-q span:nth-child(2) { flex: 1; text-align: left; }
.dp-q small { color: var(--mut); font-weight: 600; }
.dp-cal { border-top: 1px solid var(--line); padding-top: 10px; }
.dc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.dc-head b { font-size: 14px; }
.dc-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.dh { text-align: center; font-size: 11px; color: var(--mut); font-weight: 800; padding: 4px 0; }
.dc { height: 36px; border-radius: 50%; font-size: 13.5px; font-weight: 600; position: relative; }
.dc:hover { background: var(--hover); }
.dc.out { opacity: .35; } .dc.past { color: var(--mut); }
.dc.today { color: var(--accent); font-weight: 800; }
.dc.sel { background: var(--accent); color: #fff; }
.dc.has::after { content: ''; position: absolute; bottom: 4px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: currentColor; opacity: .6; }
.dp-row { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.dp-l { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13.5px; width: 110px; flex: none; color: var(--text2); }
.dp-row .input { flex: 1; }
.dp-custom { margin-top: 10px; padding: 12px; border-radius: 12px; background: var(--surface2); display: flex; flex-direction: column; gap: 10px; }
.dp-cr { display: flex; align-items: center; gap: 8px; font-size: 13.5px; }
.dp-cr .input.sm { width: 70px; }
.dp-wds { display: flex; gap: 6px; flex-wrap: wrap; }
.wd { min-width: 36px; height: 36px; padding: 0 8px; border-radius: 10px; background: var(--surface3); font-weight: 800; font-size: 12.5px; }
.wd.on { background: var(--accent); color: #fff; }
.chips-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 10px 0 6px; }
.chip-btn { height: 40px; border-radius: 12px; background: var(--surface2); font-weight: 600; font-size: 13.5px; }
.chip-btn:hover { background: var(--surface3); }
.lb-list { display: flex; flex-direction: column; margin: 10px -8px 0; max-height: 46vh; overflow-y: auto; }
.lb-item { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 10px; border-radius: 10px; font-weight: 600; text-align: left; }
.lb-item span { flex: 1; } .lb-item:hover { background: var(--hover); } .lb-item.on { color: var(--accent); }
.colors { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.color { aspect-ratio: 1; border-radius: 50%; transition: transform .15s; box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0); }
.color.on { box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--text); transform: scale(.9); }
.emojis { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.emojis .input { width: 64px; text-align: center; font-size: 20px; margin-right: 6px; }
.emo { width: 36px; height: 36px; border-radius: 10px; font-size: 19px; }
.emo:hover { background: var(--hover); }
.switch-row { display: flex; align-items: center; gap: 10px; font-weight: 600; }
/* detalhe */
.detail-sheet .sheet { height: min(88vh, 820px); }
.detail { display: flex; flex-direction: column; height: 100%; }
.detail-sheet .sheet-body { padding: 0; height: 100%; display: flex; flex-direction: column; }
.dt-top { display: flex; align-items: center; gap: 6px; padding: 12px 14px 8px 18px; border-bottom: 1px solid var(--line); }
.crumb { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 10px; border-radius: 10px; font-weight: 700; font-size: 13.5px; color: var(--text2); }
.crumb:hover { background: var(--hover); }
.dt-main { display: grid; grid-template-columns: 1fr 300px; flex: 1; min-height: 0; }
.dt-left { padding: 18px 22px 30px; overflow-y: auto; }
.dt-right { padding: 14px 14px 20px; background: var(--bg2); border-left: 1px solid var(--line); overflow-y: auto; display: flex; flex-direction: column; gap: 2px; }
.dt-title-row { display: flex; gap: 12px; align-items: flex-start; }
.dt-title { flex: 1; font: 700 20px/1.35 var(--font); border: 0; outline: none; resize: none; background: transparent; color: var(--text); padding: 2px 0; overflow: hidden; border-radius: 8px; }
.dt-title:focus { box-shadow: 0 0 0 2px var(--line2); }
.dt-notes { width: 100%; margin: 8px 0 0 38px; width: calc(100% - 38px); border: 0; outline: none; resize: none; background: transparent; color: var(--text2); font-size: 14.5px; line-height: 1.55; padding: 4px 0; min-height: 40px; overflow: hidden; }
.dt-sec { margin: 22px 0 0 38px; }
.dt-sec-h { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 14px; }
.dt-sec-h .muted { font-size: 12.5px; }
.progress { height: 5px; border-radius: 5px; background: var(--surface2); overflow: hidden; margin-bottom: 8px; }
.progress i { display: block; height: 100%; background: var(--green); border-radius: 5px; transition: width .4s; }
.subt { display: flex; align-items: flex-start; gap: 10px; padding: 6px 4px; border-bottom: 1px solid var(--line); border-radius: 8px; }
.subt .chk { margin-top: 5px; flex: none; }
.subt .icon-btn { margin-top: 2px; flex: none; }
.subt:hover { background: var(--hover); }
.subt .chk { --pc: var(--mut); }
.subt.done .chk { background: var(--green); border-color: var(--green); color: #fff; }
.subt.done .sub-t { text-decoration: line-through; color: var(--mut); }
.sub-t { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font: inherit; font-size: 14px; line-height: 1.45; padding: 4px 0; color: inherit; resize: none; overflow: hidden; white-space: pre-wrap; word-break: break-word; display: block; }
.sub-new { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font: inherit; font-size: 14px; line-height: 1.45; color: var(--text); resize: none; overflow: hidden; padding: 4px 0; }
.subt .icon-btn { opacity: 0; } .subt:hover .icon-btn { opacity: 1; }
.sub-add { display: flex; align-items: center; gap: 10px; padding: 8px 4px; color: var(--accent); }
.sub-add input { flex: 1; border: 0; outline: none; background: transparent; font-size: 14px; color: var(--text); }
.cmt { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--mut); }
.cmt div { flex: 1; } .cmt p { margin: 0 0 3px; color: var(--text); font-size: 14px; line-height: 1.45; } .cmt small { font-size: 11.5px; }
.cmt .icon-btn { opacity: 0; } .cmt:hover .icon-btn { opacity: 1; }
.cmt-add { display: flex; gap: 8px; align-items: flex-end; margin-top: 8px; }
.cmt-new { flex: 1; border: 1px solid var(--line2); border-radius: 12px; padding: 9px 12px; background: var(--surface2); outline: none; resize: none; font-size: 14px; min-height: 40px; }
.prop { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 10px; border-radius: 12px; width: 100%; text-align: left; color: var(--mut); position: relative; }
.prop:hover { background: var(--hover); }
.prop.col { flex-direction: column; align-items: stretch; }
.prop-h { display: flex; align-items: center; gap: 10px; color: var(--mut); }
.prop-h span { flex: 1; font-weight: 700; font-size: 12.5px; }
.prop-l { font-size: 12.5px; font-weight: 700; width: 78px; flex: none; }
.prop-v { flex: 1; display: flex; flex-wrap: wrap; gap: 4px; font-size: 13.5px; font-weight: 600; color: var(--text); }
.prop-x { opacity: 0; width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; }
.prop:hover .prop-x { opacity: 1; } .prop-x:hover { background: var(--surface3); color: var(--text); }
.lbl-pill, .rem-pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 8px; background: var(--surface2); font-size: 12.5px; font-weight: 600; color: var(--text); }
.lbl-pill { color: #B49CFF; } [data-mode=light] .lbl-pill { color: var(--purple); }
.rems { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px 0 2px 28px; }
.rem-pill button { opacity: .6; display: grid; } .rem-pill button:hover { opacity: 1; }
.dt-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; padding: 0 6px; }
.dt-meta { font-size: 11.5px; color: var(--mut); padding: 14px 10px 0; display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.switch-row.prop { cursor: pointer; }
/* paleta */
.palette { align-items: start; padding-top: 12vh; }
.palette .sheet-body { padding: 0; }
.pal-in { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); color: var(--mut); }
.pal-q { flex: 1; border: 0; outline: none; background: transparent; font-size: 17px; color: var(--text); }
.pal-res { max-height: 56vh; overflow-y: auto; padding: 6px 8px 10px; }
.pal-g { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .6px; color: var(--mut); padding: 10px 10px 4px; }
.pal-i { display: flex; align-items: center; gap: 12px; width: 100%; height: 42px; padding: 0 12px; border-radius: 10px; text-align: left; color: var(--text2); }
.pal-i.on { background: color-mix(in srgb, var(--accent) 13%, transparent); color: var(--text); }
.pr-t { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-weight: 600; }
.pr-t.strike { text-decoration: line-through; color: var(--mut); }
.pal-i small { font-size: 12px; color: var(--mut); }
.chk-dot { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--mut); flex: none; }
.chk-dot.p1 { border-color: var(--red); } .chk-dot.p2 { border-color: var(--orange); } .chk-dot.p3 { border-color: var(--blue); }
.kbd-list > div { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.kbd-list small { color: var(--mut); margin: 0 3px; }

/* menu */
.menu { position: fixed; z-index: 80; background: var(--surface); border: 1px solid var(--line2); border-radius: 14px; box-shadow: var(--shadow); padding: 6px; opacity: 0; transform: translateY(-4px) scale(.98); transition: opacity .14s, transform .14s var(--ease); max-height: 70vh; overflow-y: auto; }
.menu.open { opacity: 1; transform: none; }
.menu-item { display: flex; align-items: center; gap: 10px; width: 100%; height: 36px; padding: 0 10px; border-radius: 9px; font-size: 13.5px; font-weight: 600; text-align: left; color: var(--text2); }
.menu-item:hover { background: var(--hover); color: var(--text); }
.menu-item.danger { color: var(--red); }
.menu-item.on { color: var(--text); }
.mi-ic { width: 18px; display: grid; place-items: center; color: var(--mut); }
.mi-l { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mi-h { font-size: 11.5px; color: var(--mut); }
.mi-ck { color: var(--accent); }
.menu-sep { height: 1px; background: var(--line); margin: 5px 4px; }
.menu-head { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .6px; color: var(--mut); padding: 8px 10px 4px; }
.qd { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 4px 2px 6px; }
.qd button { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 0; border-radius: 10px; }
.qd button:hover { background: var(--hover); }
.qd small { font-size: 10.5px; color: var(--mut); font-weight: 700; }
.um { display: flex; align-items: center; gap: 10px; padding: 6px 8px; }
.um b { display: block; font-size: 14px; } .um small { color: var(--mut); font-size: 12px; }

/* toast */
#toast { position: fixed; left: 50%; bottom: 28px; z-index: 90; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; transition: transform .3s var(--ease), opacity .2s; }
#toast.show { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.toast-in { display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 16px; border-radius: 14px; background: #10182A; color: #fff; box-shadow: 0 14px 40px rgba(0, 0, 0, .4); font-weight: 600; font-size: 14px; max-width: 92vw; border: 1px solid rgba(255, 255, 255, .08); }
.toast-in .ic { color: var(--green); }
.toast-in span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.toast-act { color: var(--accent); font-weight: 800; padding: 6px 10px; border-radius: 9px; }
.toast-act:hover { background: rgba(255, 255, 255, .08); }
.offline { position: fixed; top: 10px; left: 50%; transform: translate(-50%, -60px); z-index: 70; display: flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--surface3); font-size: 12.5px; font-weight: 700; transition: transform .3s var(--ease); box-shadow: var(--shadow-s); }
.offline.show { transform: translate(-50%, 0); }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 120; width: 100%; height: 100%; }

/* ---------------------------------------------------------------- alarme em tela cheia */
.alarm { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; background: radial-gradient(1200px 700px at 50% 0%, #1E3FA8 0%, #0A1F66 35%, #050B1C 75%); color: #fff; opacity: 0; transition: opacity .3s; overflow: hidden; }
.alarm.open { opacity: 1; }
.alarm-glow { position: absolute; width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(circle, rgba(242, 140, 56, .45), transparent 65%); top: 50%; left: 50%; transform: translate(-50%, -60%); animation: breathe 2.2s ease-in-out infinite; }
@keyframes breathe { 50% { transform: translate(-50%, -60%) scale(1.15); opacity: .7; } }
.alarm-in { position: relative; text-align: center; padding: 30px 22px; max-width: 560px; width: 100%; display: flex; flex-direction: column; align-items: center; }
.alarm-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .12); font-weight: 800; font-size: 13px; letter-spacing: .4px; text-transform: uppercase; backdrop-filter: blur(10px); }
.alarm-clock { font-size: clamp(76px, 18vw, 132px); font-weight: 800; letter-spacing: -4px; line-height: 1; margin-top: 22px; font-variant-numeric: tabular-nums; text-shadow: 0 10px 50px rgba(242, 140, 56, .35); }
.alarm-date { font-size: 16px; opacity: .75; margin-top: 6px; }
.alarm-title { font-size: clamp(24px, 5vw, 34px); font-weight: 800; margin: 30px 0 6px; line-height: 1.2; letter-spacing: -.4px; }
.alarm-ctx { opacity: .75; margin: 0; font-size: 15px; }
.alarm-sub { opacity: .7; font-size: 13px; display: flex; align-items: center; gap: 6px; }
.alarm-done { margin-top: 30px; width: min(340px, 100%); height: 66px; border-radius: 22px; background: linear-gradient(135deg, #F28C38, #FF5A1F); font-size: 20px; font-weight: 800; display: flex; align-items: center; justify-content: center; gap: 10px; box-shadow: 0 16px 50px rgba(242, 140, 56, .5); animation: wiggle 2.6s ease-in-out infinite; color: #fff; }
@keyframes wiggle { 0%, 80%, 100% { transform: none; } 84% { transform: rotate(-2deg); } 88% { transform: rotate(2deg); } 92% { transform: rotate(-1deg); } }
.alarm-snz-l { margin: 24px 0 8px; font-size: 12px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; opacity: .6; }
.alarm-snz { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; width: min(440px, 100%); }
.alarm-snz button { height: 50px; border-radius: 16px; background: rgba(255, 255, 255, .1); font-weight: 800; font-size: 15px; backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .12); color: #fff; transition: background .15s; }
.alarm-snz button:hover { background: rgba(255, 255, 255, .2); }
.alarm-foot { display: flex; gap: 10px; margin-top: 22px; }
.alarm-foot button { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px; border-radius: 12px; font-weight: 700; font-size: 14px; color: rgba(255, 255, 255, .75); }
.alarm-foot button:hover { background: rgba(255, 255, 255, .1); color: #fff; }

/* ---------------------------------------------------------------- autenticação */
.phase { height: 100%; overflow-y: auto; overscroll-behavior: contain; }
.auth { min-height: 100%; display: grid; grid-template-columns: 1.1fr 1fr; background: radial-gradient(900px 600px at 0% 0%, rgba(47, 107, 255, .28), transparent 60%), radial-gradient(800px 600px at 100% 100%, rgba(242, 140, 56, .2), transparent 60%), var(--bg); }
.auth.single { grid-template-columns: 1fr; place-items: center; padding: 24px 16px; }
.auth-hero { padding: 8vh 6vw; display: flex; flex-direction: column; justify-content: center; }
.auth-logo { width: 72px; height: 72px; filter: drop-shadow(0 16px 40px rgba(47, 107, 255, .45)); margin-bottom: 26px; }
.auth-logo.sm { width: 56px; height: 56px; margin: 0 auto 16px; }
.logo-svg { width: 100%; height: 100%; display: block; }
.auth-hero h1 { font-size: clamp(32px, 4vw, 50px); line-height: 1.08; letter-spacing: -1.4px; margin: 0 0 22px; font-weight: 800; }
.auth-hero h1 span { background: linear-gradient(90deg, var(--accent), #FFB15C); -webkit-background-clip: text; background-clip: text; color: transparent; }
.demo { display: inline-block; padding: 14px 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line2); font-weight: 600; font-size: 16px; box-shadow: var(--shadow-s); max-width: 520px; line-height: 1.7; }
.demo mark { padding: 1px 2px; }
.auth-feat { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-direction: column; gap: 12px; color: var(--text2); font-weight: 600; }
.auth-feat li { display: flex; align-items: center; gap: 12px; }
.auth-feat .ic { color: var(--accent); }
.auth-card { width: 100%; max-width: 420px; margin: auto; padding: 32px 28px; border-radius: 26px; background: var(--glass); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid var(--line2); box-shadow: var(--shadow); position: relative; text-align: center; }
.auth-card.wide { max-width: 480px; text-align: left; }
.auth-card h2 { margin: 0 0 6px; font-size: 24px; font-weight: 800; letter-spacing: -.4px; }
.auth-card.wide h2, .auth-card.wide > p { text-align: center; }
.auth-card > .back { position: absolute; top: 14px; left: 14px; }
.auth-btns { display: flex; flex-direction: column; gap: 10px; margin: 24px 0 18px; }
.gsi-wrap { position: relative; min-height: 50px; display: flex; justify-content: center; }
.gsi-wrap #gsi { display: none; }
.gsi-wrap.ready #gsi { display: block; }
.gsi-wrap.ready .btn { display: none; }
.form { text-align: left; margin-top: 16px; }
.form .btn.big { margin-top: 8px; }
.pin h2 { margin: 6px 0 4px; }
.pin-dots { display: flex; gap: 16px; justify-content: center; margin: 24px 0 6px; }
.pin-dots i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line2); transition: background .15s, border-color .15s, transform .15s; }
.pin-dots i.on { background: var(--accent); border-color: var(--accent); transform: scale(1.1); }
.pin-dots.shake { animation: shake .45s; }
@keyframes shake { 20%, 60% { transform: translateX(-10px); } 40%, 80% { transform: translateX(10px); } }
.pin-err { color: var(--red); font-size: 13px; min-height: 18px; margin: 4px 0 8px; font-weight: 600; }
.pin-pad { display: grid; grid-template-columns: repeat(3, 72px); gap: 14px; justify-content: center; }
.pin-pad button { width: 72px; height: 72px; border-radius: 50%; background: var(--surface2); font-size: 26px; font-weight: 700; display: grid; place-items: center; transition: background .12s, transform .1s; }
.pin-pad button:hover { background: var(--surface3); }
.pin-pad button:active { transform: scale(.94); background: color-mix(in srgb, var(--accent) 25%, var(--surface2)); }
.pin-pad [data-back] { background: transparent; }
.onb-steps { display: flex; gap: 6px; justify-content: center; margin-bottom: 20px; }
.onb-steps i { width: 26px; height: 5px; border-radius: 5px; background: var(--surface3); }
.onb-steps i.on { background: var(--accent); }
.onb-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0; }
.onb-opt { padding: 16px 14px; border-radius: 18px; background: var(--surface2); border: 2px solid transparent; text-align: left; display: flex; flex-direction: column; gap: 4px; transition: border-color .15s, transform .15s; }
.onb-opt:hover { transform: translateY(-2px); }
.onb-opt.on { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, var(--surface2)); }
.onb-opt span { font-size: 26px; } .onb-opt b { font-size: 15px; } .onb-opt small { color: var(--mut); font-size: 12.5px; }
.onb-art { width: 110px; height: 110px; border-radius: 34px; margin: 6px auto 20px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--accent), #FF5A1F); box-shadow: 0 20px 50px color-mix(in srgb, var(--accent) 40%, transparent); animation: pop .5s var(--ease); }
.onb-art.ok { background: linear-gradient(135deg, var(--green), #16A34A); box-shadow: 0 20px 50px rgba(34, 197, 94, .35); }
.onb .muted { text-align: center; line-height: 1.55; }
.lock-layer { position: fixed; inset: 0; z-index: 100; background: radial-gradient(900px 600px at 50% 0%, rgba(47, 107, 255, .3), transparent 60%), var(--bg); display: grid; place-items: center; padding: 20px; animation: fadeIn .25s; overflow-y: auto; }
.lock-layer.out { opacity: 0; transition: opacity .25s; }
@keyframes fadeIn { from { opacity: 0; } }
.lock .auth-card { max-width: 380px; }
.lock-av { width: 60px; height: 60px; border-radius: 20px; margin: 0 auto 4px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); }
.lock-actions { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 20px; }

/* ---------------------------------------------------------------- configurações */
.set-layout { display: grid; grid-template-columns: 230px 1fr; gap: 24px; align-items: start; }
.set-nav { display: flex; flex-direction: column; gap: 2px; position: sticky; top: 0; }
.set-body { min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.set-body > p { margin: 0; }
.set-h { margin: 10px 4px -4px; font-size: 12px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: var(--mut); }
.card.set { display: flex; flex-direction: column; }
.set-row { display: flex; align-items: center; gap: 14px; padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: left; width: 100%; min-height: 56px; }
.set-row:last-child { border-bottom: 0; }
button.set-row:hover, a.set-row:hover { background: var(--hover); }
.set-row > div:first-child, .set-row > .ic + div { flex: 1; min-width: 0; }
.set-row b { display: block; font-weight: 600; font-size: 14.5px; }
.set-row small { display: block; color: var(--mut); font-size: 12.5px; margin-top: 2px; line-height: 1.4; }
.set-row.col { flex-direction: column; align-items: stretch; }
.set-row > .ic { color: var(--mut); }
.acc-head { display: flex; align-items: center; gap: 16px; padding: 4px 4px 8px; }
.acc-head h3 { margin: 0; font-size: 20px; } .acc-head p { margin: 2px 0 6px; }
.avc { display: flex; gap: 8px; }
.avc-c { width: 26px; height: 26px; border-radius: 50%; }
.avc-c.on { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--text); }
.themes { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.theme-c { padding: 12px; border-radius: 18px; background: var(--surface); border: 2px solid var(--line); text-align: left; display: flex; flex-direction: column; gap: 10px; transition: border-color .15s, transform .15s; }
.theme-c:hover { transform: translateY(-2px); }
.theme-c.on { border-color: var(--a); }
.th-prev { height: 70px; border-radius: 12px; background: linear-gradient(135deg, var(--a), var(--b)); position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 0 12px; }
.th-prev i { height: 7px; border-radius: 4px; background: rgba(255, 255, 255, .85); width: 70%; } .th-prev i:nth-child(2) { width: 50%; opacity: .7; } .th-prev i:nth-child(3) { width: 35%; opacity: .5; }
.stepper { display: flex; align-items: center; gap: 10px; }
.stepper button { width: 34px; height: 34px; border-radius: 10px; background: var(--surface2); font-size: 18px; font-weight: 800; }
.stepper b { min-width: 32px; text-align: center; font-size: 16px; }
.tips { padding: 16px; } .tips h4 { margin: 0 0 8px; display: flex; align-items: center; gap: 8px; color: var(--accent); }
.tips ul { margin: 0; padding-left: 18px; color: var(--text2); line-height: 2; font-size: 13.5px; }

/* ---------------------------------------------------------------- celular */
@media (max-width: 899px) {
  body { font-size: 15.5px; }
  .layout, .layout.collapsed { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .topbar, .layout.collapsed .topbar { display: flex; height: calc(52px + env(safe-area-inset-top)); padding: env(safe-area-inset-top) 10px 0; }
  .topbar [data-act=toggle-sidebar], .tb-sync { display: none; }
  .page { padding: 18px 16px calc(130px + env(safe-area-inset-bottom)); }
  .page-head h1 { font-size: 25px; }
  .page-head.sticky { padding-top: 10px; }
  .page-head .seg span { display: none; }
  .page-head:has(.seg) > div:first-child, .page-head:has(.search-box) > div:first-child { flex-basis: 100%; }
  .page-head:has(.seg) .grow { display: none; }
  .tabbar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); height: 64px; border-radius: 22px; background: var(--glass); backdrop-filter: blur(22px) saturate(1.4); -webkit-backdrop-filter: blur(22px) saturate(1.4); border: 1px solid var(--line2); box-shadow: var(--shadow); z-index: 30; padding: 0 4px; }
  .tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 10.5px; font-weight: 700; color: var(--mut); border-radius: 16px; margin: 6px 2px; }
  .tab.on { color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); }
  .tab-cal { width: 22px; height: 22px; border-radius: 6px; border: 2px solid currentColor; display: grid; place-items: center; font-size: 10.5px; font-weight: 800; }
  .fab { display: grid; place-items: center; position: fixed; right: 18px; bottom: calc(88px + env(safe-area-inset-bottom)); width: 58px; height: 58px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 70%, #FF4D1A)); color: #fff; box-shadow: 0 12px 30px color-mix(in srgb, var(--accent) 45%, transparent); z-index: 31; transition: transform .15s; }
  .fab:active { transform: scale(.92); }
  .task-hover { display: none; }
  .task-proj { max-width: 96px; }
  .task { padding: 12px 4px; }
  .wk-strip { gap: 2px; }
  .mc { min-height: 64px; padding: 3px; }
  .mc-t { font-size: 10px; padding: 2px 4px; border-left-width: 2px; }
  .mc-t small, .mc-add { display: none; }
  .board { grid-template-columns: repeat(4, 82vw); scroll-snap-type: x mandatory; }
  .bcol { scroll-snap-align: start; }
  .grid2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px; }
  .set-layout { grid-template-columns: 1fr; }
  #toast { bottom: calc(92px + env(safe-area-inset-bottom)); }
  /* folhas deslizantes */
  .sheet-wrap { place-items: end stretch; padding: 0; }
  .sheet-wrap.qa-sheet, .sheet-wrap.palette { padding-top: 0; align-items: end; }
  .sheet { max-width: none !important; border-radius: 24px 24px 0 0; max-height: 92vh; transform: translateY(100%); border-bottom: 0; padding-bottom: env(safe-area-inset-bottom); }
  .sheet-wrap.open .sheet { transform: none; }
  .grabber { display: block; width: 40px; height: 5px; border-radius: 5px; background: var(--line2); margin: 8px auto 2px; }
  .detail-sheet .sheet { height: 92vh; }
  .dt-main { grid-template-columns: 1fr; overflow-y: auto; }
  .dt-left { overflow: visible; padding: 14px 16px 6px; }
  .dt-right { border-left: 0; border-top: 1px solid var(--line); overflow: visible; padding-bottom: 40px; }
  .dt-notes, .dt-sec { margin-left: 0; width: 100%; }
  .qa-input, .qa-mirror { font-size: 17px; }
  .qa-foot .btn.ghost { display: none; }
  .auth { grid-template-columns: 1fr; }
  .auth-hero { padding: 40px 22px 0; }
  .auth-hero h1 { font-size: 32px; }
  .auth-feat { display: none; }
  .auth-card { margin: 26px auto 30px; padding: 26px 20px; }
  .auth:not(.single) .auth-card { width: calc(100% - 32px); }
  .alarm-snz { grid-template-columns: repeat(5, 1fr); gap: 6px; }
  .alarm-snz button { font-size: 13.5px; height: 46px; }
}
@media (min-width: 900px) {
  .detail-sheet { place-items: stretch end; padding: 0; }
  .detail-sheet .sheet { height: 100%; max-height: none; border-radius: 22px 0 0 22px; max-width: 880px; transform: translateX(40px); }
  .detail-sheet.open .sheet { transform: none; }
}
/* app instalado sem barra de título (macOS/Windows): área para arrastar a janela */
@media (display-mode: window-controls-overlay) {
  body::before { content: 'H6LIST'; position: fixed; z-index: 200; top: 0; left: env(titlebar-area-x, 0); width: env(titlebar-area-width, 100%); height: env(titlebar-area-height, 34px); display: flex; align-items: center; justify-content: center; font: 700 12px var(--font); letter-spacing: .5px; color: var(--mut); background: var(--bg2); border-bottom: 1px solid var(--line); -webkit-app-region: drag; app-region: drag; }
  #app { padding-top: env(titlebar-area-height, 34px); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* =====================================================================
   CALENDÁRIO EXPANSÍVEL (Entrada, Hoje, Em breve, projetos)
   ===================================================================== */
.cal-tg.on { color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent); }
.calp { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 12px 12px 8px; margin: 0 0 18px; box-shadow: var(--shadow-s); animation: calIn .32s var(--ease) both; user-select: none; overscroll-behavior: contain; }
@keyframes calIn { from { opacity: 0; transform: translateY(-8px) scale(.985); } to { opacity: 1; transform: none; } }
.calp-h { display: flex; align-items: center; gap: 4px; padding: 0 4px 6px; }
.calp-m { font-size: 17px; font-weight: 800; letter-spacing: -.01em; }
.calp-m small { color: var(--mut); font-weight: 600; font-size: 14px; }
.calp-today { font-size: 12.5px; font-weight: 800; color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent); border-radius: 99px; padding: 5px 11px; margin-right: 4px; }
.calp-today:hover { background: color-mix(in srgb, var(--accent) 22%, transparent); }
.calp-w { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; font-size: 11px; font-weight: 800; color: var(--mut); padding: 2px 0 4px; }
.calp-gw { overflow: hidden; touch-action: none; }
.calp-g { position: relative; display: grid; grid-template-columns: repeat(7, 1fr); grid-auto-rows: 46px; }
.calp-g.in-up { animation: monUp .38s var(--ease) both; }
.calp-g.in-down { animation: monDown .38s var(--ease) both; }
@keyframes monUp { from { transform: translateY(26%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes monDown { from { transform: translateY(-26%); opacity: 0; } to { transform: none; opacity: 1; } }
.calp-d { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border-radius: 14px; font-variant-numeric: tabular-nums; transition: color .2s; }
.calp-d span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; font-size: 15px; font-weight: 600; transition: background .15s, color .2s; }
.calp-d:hover span { background: var(--hover); }
.calp-d.past span { color: var(--mut); }
.calp-d.out { opacity: .32; }
.calp-d.has span { font-weight: 800; }
.calp-d.today span { color: var(--accent); box-shadow: inset 0 0 0 1.6px var(--accent); }
.calp-d.sel span { color: #fff; background: transparent !important; box-shadow: none; font-weight: 800; }
.calp-d em { display: flex; gap: 2px; height: 4px; }
.calp-d em i { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); opacity: .85; }
.calp-d.past em i { background: var(--mut); }
.calp-d.sel em i { background: var(--accent); }
/* a bolinha que corre de um dia para o outro */
.calp-bub { position: absolute; left: 0; top: 0; width: calc(100% / 7); height: 46px; transform: translate(calc(var(--c) * 100%), calc(var(--r) * 46px)); transition: transform .42s cubic-bezier(.34, 1.36, .5, 1); pointer-events: none; z-index: 0; opacity: 0; }
.calp-bub.show { opacity: 1; }
.calp-bub::before { content: ''; position: absolute; left: 50%; top: 5px; width: 34px; height: 34px; margin-left: -17px; border-radius: 50%; background: linear-gradient(145deg, var(--accent), color-mix(in srgb, var(--accent) 70%, var(--accent2))); box-shadow: 0 6px 16px color-mix(in srgb, var(--accent) 45%, transparent); }
.calp.dots .calp-d em { display: none; }
.day-filter { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 16px; background: color-mix(in srgb, var(--accent) 10%, var(--surface)); color: var(--accent); margin: 0 0 12px; }
.day-filter div { display: flex; flex-direction: column; color: var(--text); }
.day-filter b { font-size: 14.5px; } .day-filter small { color: var(--mut); font-size: 12px; }
.day-empty { padding: 18px 4px; }
.back-today { margin-top: 14px; color: var(--accent); }
.more-days { width: 100%; justify-content: center; margin: 6px 0 30px; }
/* Em breve com o calendário aberto: topo fixo e o dia atual destacado */
.up-top { position: sticky; top: 0; z-index: 6; background: var(--bg); margin: -14px 0 4px; padding-top: 14px; }
.up-top .page-head { margin-bottom: 10px; }
.up-top .calp { margin-bottom: 8px; animation: none; }
.day-sec .cur-dot { display: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
.day-sec.cur .cur-dot { display: inline-block; animation: curPop .3s var(--ease); }
.day-sec.cur .sec-head h4 { color: var(--accent); }
@keyframes curPop { from { transform: scale(0); } to { transform: scale(1); } }
.mg.in-up { animation: monUp .38s var(--ease) both; }
.mg.in-down { animation: monDown .38s var(--ease) both; }
.month { overscroll-behavior: contain; }
.cal-hint { margin-left: auto; }
@media (max-width: 760px) {
  .calp { padding: 10px 6px 6px; border-radius: 20px; margin-bottom: 12px; }
  .calp-g { grid-auto-rows: 42px; }
  .calp-bub { height: 42px; transform: translate(calc(var(--c) * 100%), calc(var(--r) * 42px)); }
  .calp-bub::before { top: 4px; }
  .cal-hint { display: none; }
  .up-top .calp-g { grid-auto-rows: 38px; }
  .up-top .calp-bub { height: 38px; transform: translate(calc(var(--c) * 100%), calc(var(--r) * 38px)); }
  .up-top .calp-bub::before { top: 3px; width: 30px; height: 30px; margin-left: -15px; }
  .up-top .calp-d span { width: 30px; height: 30px; font-size: 14px; }
}

/* =====================================================================
   SONS (Configurações → Lembretes e alarmes)
   ===================================================================== */
.snd-card { padding: 12px; }
.snd-tabs { margin-bottom: 12px; }
.snd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; }
.snd { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--surface2); text-align: left; transition: border-color .15s, transform .15s, background .15s; position: relative; }
.snd:hover { transform: translateY(-1px); border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); }
.snd.on { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, var(--surface)); }
.snd-ic { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent); }
.snd.on .snd-ic { color: #fff; background: var(--accent); }
.snd-t { display: flex; flex-direction: column; min-width: 0; }
.snd-t b { font-size: 14.5px; } .snd-t small { color: var(--mut); font-size: 12px; line-height: 1.3; }
.snd-ok { margin-left: auto; color: var(--accent); }
.snd-eq { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; gap: 3px; border-radius: 50%; background: var(--accent); }
.snd-eq b { width: 3px; height: 14px; border-radius: 2px; background: #fff; animation: eq .8s ease-in-out infinite; }
.snd-eq b:nth-child(2) { animation-delay: .15s; } .snd-eq b:nth-child(3) { animation-delay: .3s; }
.snd.playing .snd-eq { display: flex; }
@keyframes eq { 0%, 100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }
.snd-note { margin: 10px 2px 0; }

/* =====================================================================
   v1.3 — amigos, pastas, doação, comunicar bug, sugestões rápidas
   ===================================================================== */
.pill-s.or { background: color-mix(in srgb, var(--orange) 16%, transparent); color: var(--orange); }
/* avatares de amigos */
.pav { display: inline-grid; place-items: center; border-radius: 50%; color: #fff; font-weight: 800; flex: none; letter-spacing: -.2px; }
.pav.ring { box-shadow: 0 0 0 2px var(--surface); }
.pav.more { background: var(--surface3); color: var(--text2); }
.pstack { display: inline-flex; align-items: center; }
.pstack .pav + .pav { margin-left: -7px; }
/* linha da tarefa: lembretes e pessoas */
.task-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 6px; }
.m-rem { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px 0 7px; border-radius: 7px; font-size: 11.5px; font-weight: 600; color: var(--blue); background: color-mix(in srgb, var(--blue) 12%, transparent); }
.m-rem b { font-weight: 800; }
.m-rem em { font-style: normal; opacity: .75; font-weight: 600; }
.m-rem.past { opacity: .55; }
.m-rem.more { color: var(--mut); background: var(--surface2); }
.m-people { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px 0 2px; border-radius: 999px; font-size: 11.5px; font-weight: 700; color: var(--text2); background: var(--surface2); }
.task.done .task-sub { opacity: .6; }
.task-proj .ic { opacity: .75; }
/* aba Em breve: alternar Hoje / Em breve */
.day-tg { display: flex; width: 100%; max-width: 420px; margin: 0 0 14px; padding: 4px; border-radius: 14px; }
.day-tg a { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 38px; border-radius: 11px; font-weight: 800; font-size: 14px; color: var(--mut); transition: background .2s, color .2s; }
.day-tg a.on { background: var(--surface); color: var(--text); box-shadow: var(--shadow-s); }
.day-tg a.on .ic { color: var(--accent); }
.day-tg em { font-style: normal; font-size: 11px; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; display: inline-grid; place-items: center; background: var(--accent); color: #fff; }
/* sidebar */
.sb-projects .fic, .hub-ic .fic, .prow .fic { display: inline-grid; place-items: center; }
.nav-i .shr { color: var(--mut); display: inline-flex; margin-left: -2px; }
.shr-b { display: inline-flex; align-items: center; gap: 3px; margin-left: 6px; font-size: 11px; font-weight: 700; color: var(--mut); background: var(--surface2); border-radius: 7px; padding: 1px 6px; vertical-align: 2px; }
/* PASTAS */
.fchips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 12px; margin: 0 -2px 4px; scrollbar-width: none; scroll-snap-type: x proximity; }
.fchips::-webkit-scrollbar { display: none; }
.fchip { --c: var(--accent); flex: none; scroll-snap-align: start; display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 13px; border-radius: 13px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; font-size: 13.5px; color: var(--text2); transition: all .18s; }
.fchip:hover { border-color: var(--line2); color: var(--text); }
.fchip em { font-style: normal; font-size: 11.5px; color: var(--mut); }
.fchip .fic { color: var(--c); }
.fchip.on { background: color-mix(in srgb, var(--c) 16%, var(--surface)); border-color: color-mix(in srgb, var(--c) 55%, transparent); color: var(--text); box-shadow: 0 6px 18px color-mix(in srgb, var(--c) 22%, transparent); }
.fchip.on em { color: var(--c); }
.fchip-sh { display: inline-flex; color: var(--mut); }
.fchip.add { border-style: dashed; color: var(--mut); background: transparent; }
.fhero { --c: var(--accent); position: relative; display: flex; align-items: center; gap: 14px; padding: 16px 16px 16px 18px; border-radius: 20px; margin: 4px 0 14px; background: linear-gradient(135deg, color-mix(in srgb, var(--c) 20%, var(--surface)), var(--surface) 70%); border: 1px solid color-mix(in srgb, var(--c) 30%, var(--line)); overflow: hidden; }
.fhero::after { content: ''; position: absolute; right: -40px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--c) 30%, transparent), transparent 70%); pointer-events: none; }
.fhero-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 28px; background: color-mix(in srgb, var(--c) 22%, transparent); color: var(--c); flex: none; }
.fhero-b { flex: 1; min-width: 0; }
.fhero-b h1 { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -.3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fhero-b p { margin: 2px 0 8px; font-size: 13px; color: var(--mut); font-weight: 600; }
.fhero-b .pbar { margin: 0; max-width: 260px; }
.fhero-share { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 13px; background: var(--c); color: #fff; font-weight: 800; font-size: 13px; box-shadow: 0 8px 20px color-mix(in srgb, var(--c) 35%, transparent); flex: none; }
.fhero-share.on { background: var(--surface); color: var(--text); border: 1px solid var(--line2); box-shadow: none; padding-left: 8px; }
.page-head.compact { margin-bottom: 8px; }
.fbody .day-sec:first-child { margin-top: 0; }
/* AMIGOS */
.fr-find { padding: 18px; margin-bottom: 8px; }
.fr-find-h { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.fr-find-h b { display: block; font-size: 15px; } .fr-find-h small { color: var(--mut); font-size: 12.5px; }
.fr-ic { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: color-mix(in srgb, var(--blue) 16%, transparent); color: var(--blue); flex: none; }
.fr-search { display: flex; gap: 8px; }
.fr-search .input { flex: 1; min-width: 0; }
.fr-result { margin-top: 12px; border-radius: 16px; background: var(--surface2); padding: 4px 10px; animation: pop .3s var(--ease); }
.fr-none { margin: 12px 2px 0; color: var(--mut); font-size: 13px; display: flex; gap: 6px; align-items: flex-start; line-height: 1.5; }
.fr-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.card .fr-row:last-child, .fr-result .fr-row { border-bottom: 0; }
.fr-result .fr-row { padding: 10px 2px; }
.fr-b { flex: 1; min-width: 0; } .fr-b b { display: block; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .fr-b small { color: var(--mut); font-size: 12.5px; }
.fr-acts { display: flex; gap: 6px; }
.cnt { font-style: normal; font-size: 11px; background: var(--accent); color: #fff; border-radius: 9px; padding: 1px 7px; margin-left: 6px; vertical-align: 2px; }
.fr-empty { text-align: center; padding: 26px 18px; color: var(--mut); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.fr-empty b { color: var(--text); font-size: 15px; } .fr-empty p { margin: 0 0 6px; font-size: 13.5px; line-height: 1.5; max-width: 360px; }
.fr-empty > .ic { color: var(--blue); }
.fr-how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.fr-how > div { display: flex; gap: 10px; padding: 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); color: var(--accent); }
.fr-how span { color: var(--mut); font-size: 12.5px; line-height: 1.45; } .fr-how b { display: block; color: var(--text); font-size: 13.5px; margin-bottom: 2px; }
.fr-how code { background: var(--surface2); padding: 1px 5px; border-radius: 5px; color: var(--accent); }
.mob-only { display: none; }
.badge-n { font-style: normal; background: var(--red) !important; color: #fff !important; border-radius: 10px; padding: 0 7px; font-size: 11.5px; font-weight: 800; }
.tab { position: relative; } .tab-dot { position: absolute; top: 8px; right: calc(50% - 16px); width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 2px var(--surface); }
/* gerenciar pessoas da pasta */
.fm-head { --c: var(--accent); display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; background: color-mix(in srgb, var(--c) 12%, var(--surface2)); margin-bottom: 8px; }
.fm-head b { display: block; } .fm-head small { color: var(--mut); font-size: 12.5px; }
.fm-ic { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; font-size: 22px; background: color-mix(in srgb, var(--c) 22%, transparent); color: var(--c); }
.fm-list .fr-row { padding: 10px 4px; }
.fm-add { margin-top: 14px; } .fm-add h4 { margin: 0 0 10px; font-size: 13px; color: var(--mut); text-transform: uppercase; letter-spacing: .5px; }
.fm-pick { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.fm-f { position: relative; display: flex; flex-direction: column; align-items: center; gap: 5px; width: 72px; padding: 10px 4px; border-radius: 14px; border: 1.5px solid var(--line); font-size: 12px; font-weight: 700; color: var(--text2); transition: all .15s; }
.fm-f.on { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent); color: var(--text); }
.fm-f i { position: absolute; top: 6px; right: 6px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; }
.btn.wide { width: 100%; height: 46px; }
.fm-note { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: var(--mut); line-height: 1.5; margin: 14px 0 0; }
.danger-t { color: var(--red) !important; }
/* NAVEGAR: banner premium animado */
.prem { position: relative; overflow: hidden; border-radius: 24px; padding: 22px 20px 20px; margin-bottom: 16px; color: #fff; isolation: isolate;
  background: linear-gradient(120deg, #1E3A8A, #2F6BFF 35%, #7C3AED 60%, #F28C38 85%, #FF6B2C); background-size: 260% 260%; animation: premFlow 12s ease-in-out infinite; box-shadow: 0 20px 44px rgba(47, 107, 255, .3); }
@keyframes premFlow { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.prem-orb { position: absolute; border-radius: 50%; filter: blur(6px); z-index: -1; opacity: .55; }
.prem-orb.o1 { width: 170px; height: 170px; right: -50px; top: -70px; background: radial-gradient(circle, #FFD08A, transparent 65%); animation: orb 9s ease-in-out infinite; }
.prem-orb.o2 { width: 130px; height: 130px; left: -40px; bottom: -60px; background: radial-gradient(circle, #8EB4FF, transparent 65%); animation: orb 11s ease-in-out infinite reverse; }
.prem-orb.o3 { width: 90px; height: 90px; right: 30%; bottom: -40px; background: radial-gradient(circle, #FF9BCB, transparent 65%); animation: orb 7s ease-in-out infinite; }
@keyframes orb { 50% { transform: translate(-18px, 14px) scale(1.15); } }
.prem-shine { position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .22) 50%, transparent 65%); background-size: 250% 100%; animation: shine 4.5s ease-in-out infinite; }
@keyframes shine { 0% { background-position: 150% 0; } 60%, 100% { background-position: -100% 0; } }
.prem-spark i { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: #fff; opacity: 0; animation: spark 3.6s ease-in-out infinite; z-index: -1; }
.prem-spark i:nth-child(1) { left: 12%; top: 22%; animation-delay: 0s; } .prem-spark i:nth-child(2) { left: 78%; top: 64%; animation-delay: .5s; }
.prem-spark i:nth-child(3) { left: 55%; top: 16%; animation-delay: 1.1s; } .prem-spark i:nth-child(4) { left: 30%; top: 78%; animation-delay: 1.7s; }
.prem-spark i:nth-child(5) { left: 90%; top: 30%; animation-delay: 2.2s; } .prem-spark i:nth-child(6) { left: 66%; top: 86%; animation-delay: 2.8s; }
.prem-spark i:nth-child(7) { left: 6%; top: 60%; animation-delay: 1.4s; } .prem-spark i:nth-child(8) { left: 42%; top: 45%; animation-delay: 3.1s; }
@keyframes spark { 0%, 100% { opacity: 0; transform: scale(.4); } 40% { opacity: .95; transform: scale(1.4); } }
.prem-tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .2); backdrop-filter: blur(6px); font-size: 12px; font-weight: 800; letter-spacing: .3px; }
.prem h2 { margin: 12px 0 6px; font-size: 22px; line-height: 1.2; font-weight: 800; letter-spacing: -.3px; }
.prem p { margin: 0 0 16px; font-size: 13.5px; line-height: 1.55; color: rgba(255, 255, 255, .9); max-width: 560px; }
.prem-btn { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px 0 6px; border-radius: 15px; background: #fff; color: #1E3A8A; font-weight: 800; font-size: 14.5px; box-shadow: 0 10px 26px rgba(0, 0, 0, .22); transition: transform .15s; }
.prem-btn:active { transform: scale(.97); }
.prem-heart { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(135deg, #FF6B6B, #F28C38); color: #fff; animation: beat 1.6s ease-in-out infinite; }
@keyframes beat { 0%, 100% { transform: scale(1); } 14% { transform: scale(1.14); } 28% { transform: scale(1); } 42% { transform: scale(1.08); } }
.fb-cta { display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 16px; padding: 14px 16px; border-radius: 18px; text-align: left; background: var(--surface); border: 1px solid var(--line); transition: border-color .2s; }
.fb-cta:hover { border-color: var(--line2); }
.fb-cta div { flex: 1; } .fb-cta b { display: block; font-size: 14.5px; } .fb-cta small { color: var(--mut); font-size: 12.5px; }
.fb-cta-ic { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #FF5A4E, #F28C38); box-shadow: 0 8px 20px rgba(255, 90, 78, .3); }
/* doação */
.don-sheet .sheet-body { padding: 0 0 18px; }
.don-hero { text-align: center; padding: 22px 22px 18px; color: #fff; background: linear-gradient(135deg, #1E3A8A, #2F6BFF 45%, #F28C38); background-size: 200% 200%; animation: premFlow 9s ease infinite; }
.don-hero h3 { margin: 10px 0 6px; font-size: 21px; } .don-hero p { margin: 0 auto; font-size: 13.5px; line-height: 1.55; color: rgba(255, 255, 255, .9); max-width: 380px; }
.don-heart { width: 58px; height: 58px; border-radius: 18px; display: inline-grid; place-items: center; background: rgba(255, 255, 255, .2); animation: beat 1.6s ease-in-out infinite; }
.don-mine:empty { display: none; }
.don-thanks { margin: 14px 18px 0; padding: 10px 14px; border-radius: 14px; background: color-mix(in srgb, var(--green) 14%, transparent); color: var(--green); font-size: 13px; font-weight: 600; display: flex; gap: 8px; align-items: center; }
.don-amts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 16px 18px 0; }
.don-a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 14px 8px; border-radius: 18px; border: 1.5px solid var(--line2); background: var(--surface2); color: var(--mut); transition: all .18s; }
.don-a b { font-size: 21px; color: var(--text); } .don-a small { font-size: 12px; font-weight: 700; }
.don-a.on { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, var(--surface2)); color: var(--accent); transform: translateY(-2px); box-shadow: 0 10px 22px color-mix(in srgb, var(--accent) 22%, transparent); }
.don-custom { display: flex; align-items: center; gap: 8px; margin: 10px 18px 14px; padding: 0 14px; height: 52px; border-radius: 16px; border: 1.5px solid var(--line2); background: var(--surface2); font-weight: 800; color: var(--mut); }
.don-custom.on { border-color: var(--accent); }
.don-custom input { flex: 1; border: 0; outline: none; background: transparent; font: 800 19px var(--font); color: var(--text); min-width: 0; }
.don .btn.wide { margin: 0 18px; width: calc(100% - 36px); }
.don-note { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; color: var(--mut); margin: 12px 18px 0; text-align: center; }
/* comunicar bug */
.fb-sheet .sheet-body { padding: 0 20px 20px; }
.fbk-hero { position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 18px 0 14px; }
.fbk-hero h3 { margin: 0 0 4px; font-size: 18px; } .fbk-hero p { margin: 0; font-size: 13px; color: var(--mut); line-height: 1.5; padding-right: 24px; }
.fbk-ic { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; flex: none; color: #fff; background: linear-gradient(135deg, #FF5A4E, #F28C38); box-shadow: 0 10px 22px rgba(255, 90, 78, .3); }
.fbk-x { position: absolute; right: -6px; top: 10px; }
.fbk-tabs { display: flex; width: 100%; margin-bottom: 14px; } .fbk-tabs button { flex: 1; justify-content: center; }
.fbk-kinds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.fbk-k { --c: var(--accent); display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 4px; border-radius: 16px; border: 1.5px solid var(--line); color: var(--mut); font-weight: 700; font-size: 12.5px; transition: all .15s; }
.fbk-k.on { border-color: var(--c); color: var(--c); background: color-mix(in srgb, var(--c) 10%, transparent); }
.fbk-k.on span { color: var(--text); }
.fb-sheet textarea.input { resize: vertical; min-height: 110px; line-height: 1.5; }
.fbk-dev { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--mut); margin: 10px 2px 12px; }
.fbk-item { display: flex; gap: 12px; padding: 14px 2px; border-bottom: 1px solid var(--line); }
.fbk-item:last-child { border: 0; }
.fbk-item p { margin: 3px 0 6px; font-size: 13.5px; color: var(--text2); white-space: pre-wrap; line-height: 1.45; }
.fbk-item small { font-size: 12px; color: var(--mut); }
.fbk-item .st { font-weight: 800; } .st.or { color: var(--orange); } .st.bl { color: var(--blue); } .st.pu { color: var(--purple); } .st.ok { color: var(--green); } .st.mut { color: var(--mut); }
.fbk-ki { margin-top: 2px; }
.fbk-reply { display: flex; gap: 8px; margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: color-mix(in srgb, var(--blue) 10%, transparent); color: var(--blue); }
.fbk-reply b { font-size: 12.5px; } .fbk-reply p { color: var(--text); margin: 2px 0 0; }
.fbk-done { text-align: center; padding: 30px 10px 6px; }
.fbk-done > span { width: 72px; height: 72px; border-radius: 24px; display: inline-grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--green), #16A34A); box-shadow: 0 14px 30px rgba(34, 197, 94, .35); animation: pop .4s var(--ease); }
.fbk-done p { color: var(--mut); margin: 6px 0 18px; }
/* adição rápida: sugestões */
.qa-sugs { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.sug-row { display: flex; gap: 8px; overflow-x: auto; padding: 2px 1px 4px; scrollbar-width: none; mask-image: linear-gradient(90deg, #000 92%, transparent); }
.sug-row::-webkit-scrollbar { display: none; }
.sug { --c: var(--accent); flex: none; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 13px 0 6px; border-radius: 14px; background: var(--surface2); border: 1.5px solid transparent; transition: all .18s var(--ease); }
.sug i { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 16%, transparent); transition: all .18s; }
.sug span { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }
.sug b { font-size: 13px; font-weight: 700; color: var(--text); white-space: nowrap; } .sug small { font-size: 11px; color: var(--mut); font-weight: 600; text-transform: capitalize; }
.sug:hover { background: var(--surface3); }
.sug.on { border-color: color-mix(in srgb, var(--c) 60%, transparent); background: color-mix(in srgb, var(--c) 12%, var(--surface2)); box-shadow: 0 6px 16px color-mix(in srgb, var(--c) 18%, transparent); }
.sug.on i { background: var(--c); color: #fff; }
.sug-row.sm { gap: 6px; }
.sug2 { flex: none; display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 10px; border-radius: 9px; border: 1px solid var(--line2); font-size: 12.5px; font-weight: 700; color: var(--text2); transition: all .15s; }
.sug2 small { color: var(--mut); font-weight: 600; }
.sug2:hover { background: var(--hover); }
.sug2.on { background: color-mix(in srgb, var(--accent) 14%, transparent); border-color: color-mix(in srgb, var(--accent) 50%, transparent); color: var(--accent); }
.sug2.ppl { padding-left: 4px; border-radius: 999px; }
.sug-sep { flex: none; width: 1px; background: var(--line2); margin: 4px 2px; }
.tk-person { --tkc: color-mix(in srgb, #38BDF8 30%, transparent); }
.det-person { --tkc: color-mix(in srgb, #38BDF8 22%, transparent); color: #38BDF8; }
/* @menção */
.qa-mention { margin-top: 8px; border-radius: 16px; background: var(--surface2); border: 1px solid var(--line2); overflow: hidden; animation: pop .18s var(--ease); }
.mn-i { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 12px; text-align: left; }
.mn-i span { flex: 1; min-width: 0; } .mn-i b { display: block; font-size: 13.5px; } .mn-i small { font-size: 11.5px; color: var(--mut); }
.mn-i kbd { font: 700 11.5px var(--font); color: #38BDF8; background: color-mix(in srgb, #38BDF8 14%, transparent); padding: 3px 7px; border-radius: 7px; }
.mn-i.on, .mn-i:hover { background: var(--surface3); }
.mn-none { margin: 0; padding: 12px; font-size: 13px; color: var(--mut); display: flex; gap: 6px; align-items: center; }
/* seletor de amigos */
.pp-list { display: flex; flex-direction: column; gap: 4px; margin: 10px 0; }
.pp-item { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 14px; text-align: left; border: 1.5px solid transparent; }
.pp-item span { flex: 1; } .pp-item b { display: block; font-size: 14px; } .pp-item small { font-size: 12px; color: var(--mut); }
.pp-ck { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line2); display: grid; place-items: center; color: transparent; }
.pp-item.on { border-color: color-mix(in srgb, var(--accent) 45%, transparent); background: color-mix(in srgb, var(--accent) 8%, transparent); }
.pp-item.on .pp-ck { background: var(--accent); border-color: var(--accent); color: #fff; }
/* detalhe: pasta e data lado a lado, pessoas, contexto */
.dt-ctx { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; color: var(--mut); min-width: 0; }
.dt-ctx span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dt-ctx b { color: var(--text); }
.dt-pills { display: flex; gap: 8px; margin: 10px 0 0 38px; flex-wrap: nowrap; }
.dt-pill { flex: 1 1 0; min-width: 0; display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 12px; border-radius: 12px; background: var(--surface2); border: 1px solid var(--line); font-weight: 700; font-size: 13px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: background .15s; }
.dt-pill:hover:not(:disabled) { background: var(--surface3); }
.dt-pill:disabled { opacity: .8; cursor: default; }
.dt-pill.muted { color: var(--mut); }
.dt-chev { margin-left: auto; opacity: .6; flex: none; display: inline-flex; }
.dt-pill-x { margin-left: auto; width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; opacity: .55; flex: none; }
.dt-pill-x:hover { opacity: 1; background: var(--surface3); }
.prop-v.ppl, .pv.ppl { display: inline-flex; align-items: center; gap: 8px; }
/* barra de digitação acima do teclado (celular) */
.dt-dock { flex: none; border-top: 1px solid var(--line2); background: var(--surface); padding: 8px 12px calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -10px 30px rgba(0, 0, 0, .18); animation: dockIn .2s var(--ease); }
@keyframes dockIn { from { transform: translateY(16px); opacity: 0; } }
.dock-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.dock-l { font-size: 12px; font-weight: 800; color: var(--accent); text-transform: uppercase; letter-spacing: .5px; }
.dock-ok { font-weight: 800; font-size: 14px; color: var(--accent); padding: 4px 6px; }
.dock-row { display: flex; align-items: flex-end; gap: 8px; }
.dock-in { flex: 1; min-width: 0; border: 1px solid var(--line2); border-radius: 14px; padding: 10px 12px; background: var(--surface2); color: var(--text); font: 16px/1.45 var(--font); outline: none; resize: none; max-height: 40vh; }
.dock-send { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; flex: none; background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 70%, #FF4D1A)); color: #fff; }
.docked .dt-main { padding-bottom: 0; }
@media (max-width: 899px) {
  .mob-only { display: inline-grid; }
  .fr-how { grid-template-columns: 1fr; }
  .fhero { padding: 14px; gap: 12px; }
  .fhero-ic { width: 44px; height: 44px; font-size: 24px; border-radius: 14px; }
  .fhero-b h1 { font-size: 19px; }
  .fhero-share span { display: none; } .fhero-share { padding: 0 11px; } .fhero-share.on { padding: 0 8px; }
  .prem h2 { font-size: 20px; }
  .day-tg { max-width: none; }
  .dt-pills { margin-left: 0; }
  .fbk-kinds { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  /* teclado aberto: a folha fica inteira acima dele */
  .sheet-wrap.kb { padding-bottom: var(--kb); }
  .sheet-wrap.kb .sheet { max-height: calc(var(--vvh) - 8px); padding-bottom: 0; }
  .sheet-wrap.kb.detail-sheet .sheet { height: calc(var(--vvh) - 8px); }
  .sheet-wrap.kb .dt-dock { padding-bottom: 10px; }
}
@media (min-width: 900px) { .dt-dock { display: none !important; } }
.detail-sheet .detail { flex: 1; min-height: 0; height: auto; }
.sheet-head h3 { display: flex; align-items: center; gap: 8px; }

/* =====================================================================
   Integrações com IA (v1.4)
   ===================================================================== */
.ai-new { display: inline-block; font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .3px; color: #fff; padding: 2px 8px; border-radius: 999px; background: linear-gradient(135deg, #2F6BFF, #F28C38); }
.ai-hero { position: relative; overflow: hidden; isolation: isolate; border-radius: 22px; padding: 20px 18px 18px; color: #fff; margin-bottom: 14px;
  background: radial-gradient(120% 140% at 0% 0%, #2F6BFF 0%, #16245C 45%, #0B1120 75%), #0B1120; box-shadow: 0 18px 40px rgba(20, 40, 120, .35); }
.ai-orb { position: absolute; border-radius: 50%; z-index: -1; filter: blur(4px); }
.ai-orb.o1 { width: 220px; height: 220px; right: -70px; top: -90px; background: radial-gradient(circle, rgba(242, 140, 56, .75), transparent 65%); animation: orb 10s ease-in-out infinite; }
.ai-orb.o2 { width: 160px; height: 160px; left: 30%; bottom: -100px; background: radial-gradient(circle, rgba(139, 92, 246, .55), transparent 65%); animation: orb 12s ease-in-out infinite reverse; }
.ai-tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .14); font-size: 12px; font-weight: 800; }
.ai-hero h2 { margin: 10px 0 6px; font-size: 21px; line-height: 1.22; font-weight: 800; letter-spacing: -.3px; text-wrap: balance; }
.ai-hero p { margin: 0; font-size: 13.5px; line-height: 1.55; color: rgba(255, 255, 255, .86); max-width: 560px; }
.ai-chat { display: grid; gap: 8px; margin-top: 14px; max-width: 460px; }
.ai-bub { font-size: 13px; line-height: 1.45; padding: 9px 12px; border-radius: 16px; max-width: 88%; opacity: 0; animation: bubIn .5s var(--ease) forwards; }
.ai-bub.me { justify-self: end; background: rgba(255, 255, 255, .95); color: #0E1526; border-bottom-right-radius: 5px; animation-delay: .2s; }
.ai-bub.bot { justify-self: start; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .16); border-bottom-left-radius: 5px; animation-delay: 1.1s; display: flex; gap: 7px; align-items: flex-start; }
.ai-bub.bot svg { color: #4ADE80; flex: none; margin-top: 2px; }
@keyframes bubIn { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: none; } }
.ai-apps { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 6px; }
@media (max-width: 560px) { .ai-apps { grid-template-columns: 1fr; } }
.ai-app { display: flex; flex-direction: column; gap: 14px; padding: 16px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.ai-app.on { border-color: color-mix(in srgb, var(--green) 45%, var(--line)); }
.ai-app-h { display: flex; align-items: center; gap: 12px; }
.ai-app-h > div { flex: 1; min-width: 0; } .ai-app-h b { display: block; font-size: 15.5px; } .ai-app-h small { display: block; color: var(--mut); font-size: 12.5px; line-height: 1.4; }
.ai-mark { width: var(--s, 40px); height: var(--s, 40px); flex: none; border-radius: calc(var(--s, 40px) * .3); display: inline-grid; place-items: center; color: #fff; font-weight: 800; font-size: calc(var(--s, 40px) * .44); }
.ai-mark.claude { background: linear-gradient(145deg, #E08A65, #C2603C); }
.ai-mark.chatgpt { background: linear-gradient(145deg, #1FB389, #0E7C5E); }
.ai-mark.outro { background: linear-gradient(145deg, #8B5CF6, #5B3DC4); }
.ai-url { gap: 10px; }
.ai-url code, .ai-url.big code { flex: 1; min-width: 0; font: 600 13px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--accent); word-break: break-all; }
.ai-url.big { display: flex; align-items: center; gap: 10px; padding: 12px 12px 12px 14px; border-radius: 14px; background: var(--surface2); border: 1px dashed var(--line2); margin: 4px 0 14px; }
.ai-log .set-row.undone { opacity: .55; }
#ai-root .set-row > span + div { flex: 1; min-width: 0; }
.ai-k { width: 30px; height: 30px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--surface2); color: var(--mut); }
.ai-k.criou, .ai-k.pasta { color: var(--accent); } .ai-k.concluiu { color: var(--green); } .ai-k.excluiu { color: var(--red); } .ai-k.editou, .ai-k.adiou, .ai-k.reabriu { color: var(--blue); }
.ai-ex { display: flex; flex-wrap: wrap; gap: 8px; }
.ai-exb { display: inline-flex; align-items: center; gap: 8px; text-align: left; padding: 9px 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font-size: 13px; color: var(--text2); line-height: 1.4; transition: border-color .15s, color .15s; }
.ai-exb svg { color: var(--mut); flex: none; }
.ai-exb:hover { border-color: var(--accent); color: var(--text); }
.ai-safe { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; margin-top: 14px; color: var(--mut); }
.ai-safe svg { color: var(--green); flex: none; margin-top: 2px; }
.ai-safe p { margin: 0; font-size: 13px; line-height: 1.55; }
.ai-sheet .sheet-body { padding-bottom: 18px; }
.ai-sh-head { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 4px 0 16px; }
.ai-sh-logo { width: 48px; height: 48px; border-radius: 14px; display: block; }
.ai-sh-dots { display: flex; gap: 6px; } .ai-sh-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); opacity: .25; animation: aiDot 1.4s infinite; }
.ai-sh-dots i:nth-child(2) { animation-delay: .2s; } .ai-sh-dots i:nth-child(3) { animation-delay: .4s; }
@keyframes aiDot { 40% { opacity: 1; transform: scale(1.25); } }
.ai-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; counter-reset: s; }
.ai-steps li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 2px; border-bottom: 1px solid var(--line); }
.ai-steps li:last-child { border-bottom: 0; }
.ai-steps li > span { width: 26px; height: 26px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800; color: #fff; background: linear-gradient(135deg, #FFB15C, #F2621B); }
.ai-steps li > div > b { display: block; font-size: 14.5px; } .ai-steps p b { font-weight: 700; color: var(--text); } .ai-steps p { margin: 2px 0 0; font-size: 13px; color: var(--text2); line-height: 1.5; }
.ai-note { display: flex; gap: 6px; align-items: flex-start; margin: 12px 0 14px; line-height: 1.5; } .ai-note svg { flex: none; margin-top: 2px; }
@media (prefers-reduced-motion: reduce) { .ai-orb, .ai-sh-dots i { animation: none; } .ai-bub { animation: none; opacity: 1; } }

/* =====================================================================================
   PREMIUM × START (v1.5)
   ===================================================================================== */
.pdia { --s: 14px; display: inline-block; width: var(--s); height: var(--s); flex: none; vertical-align: -2px; position: relative;
  background: linear-gradient(135deg, #FFE7A3 0%, #FFC145 30%, #F28C38 62%, #E0531F 100%);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.2 3h11.6l4.2 6-10 12L2 9z'/%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'%3E%3Cpath d='M6.2 3h11.6l4.2 6-10 12L2 9z'/%3E%3C/svg%3E") center/contain no-repeat;
  filter: drop-shadow(0 0 4px rgba(255, 179, 71, .55)); }
.pdia::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .85) 50%, transparent 70%); background-size: 250% 100%; animation: pdiaShine 3.2s ease-in-out infinite; }
@keyframes pdiaShine { 0% { background-position: 160% 0; } 55%, 100% { background-position: -110% 0; } }
.p-locked { position: relative; opacity: .62; }
.p-locked:hover { opacity: .9; }
.p-locked .pdia, .p-lock .pdia { opacity: 1; }
.pdia-badge { position: absolute; right: 3px; top: 3px; }
.pdia-corner { position: absolute; right: 6px; top: 6px; }
.sug { position: relative; }
.sug i.pdia { width: var(--s); height: var(--s); border-radius: 0; display: inline-block; background: linear-gradient(135deg, #FFE7A3 0%, #FFC145 30%, #F28C38 62%, #E0531F 100%); padding: 0; }
.sug i.pdia-corner { position: absolute; right: 5px; top: 5px; }
.sug.p-locked .sug-l { opacity: 1; }
.icon-btn.p-lock { color: var(--mut); }
.p-dim { opacity: .6; }
.sug2 .pdia { margin-left: 4px; }
.chip .pdia, .det .pdia, .btn .pdia { margin-left: 5px; }
.menu-item .mi-ic .pdia { --s: 15px; }

/* dica "isto é Premium" nas configurações */
.p-hint { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 13px 15px; margin-bottom: 14px; border-radius: 16px; font-size: 13.5px; line-height: 1.45; color: var(--text2);
  background: linear-gradient(135deg, color-mix(in srgb, #FFC145 12%, var(--surface)), color-mix(in srgb, #7C3AED 10%, var(--surface))); border: 1px solid color-mix(in srgb, #FFC145 30%, var(--line)); }
.p-hint span { flex: 1; }
.p-hint:hover { border-color: #FFC145; }
.p-more { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 14px 16px; margin: 12px 0; }

/* barra lateral: plano */
.sb-plan { margin: 6px 14px 10px; display: flex; align-items: center; gap: 11px; padding: 11px 12px; border-radius: 14px; text-align: left; color: var(--text);
  background: linear-gradient(135deg, color-mix(in srgb, #FFC145 14%, var(--surface)), color-mix(in srgb, #2F6BFF 12%, var(--surface))); border: 1px solid color-mix(in srgb, #FFC145 28%, var(--line)); transition: transform .15s, border-color .15s; }
.sb-plan:hover { transform: translateY(-1px); border-color: #FFC145; }
.sb-plan span { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sb-plan b { font-size: 13.5px; } .sb-plan small { font-size: 11.5px; color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prem-trial { display: inline-flex; align-items: center; gap: 6px; margin: 12px 0 0; padding: 0; color: #fff; font-weight: 700; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; opacity: .92; }

/* ---------------- tela de assinatura (tela cheia) */
html.pw-on { overflow: hidden; }
.pw { position: fixed; inset: 0; z-index: 70; color: #fff; background: #05081A; display: flex; flex-direction: column; opacity: 0; transform: scale(1.02); transition: opacity .3s, transform .35s var(--ease); overflow: hidden; }
.pw.open { opacity: 1; transform: none; }
.pw-on .sheet-wrap.dialog { z-index: 75; }
.pw-aurora { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.pw-aurora i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.pw-aurora i:nth-child(1) { width: 60vmax; height: 60vmax; left: -20vmax; top: -25vmax; background: #2F6BFF; animation: pwA 16s ease-in-out infinite; }
.pw-aurora i:nth-child(2) { width: 50vmax; height: 50vmax; right: -18vmax; top: 10vmax; background: #7C3AED; animation: pwA 19s ease-in-out infinite reverse; }
.pw-aurora i:nth-child(3) { width: 45vmax; height: 45vmax; left: 15vmax; bottom: -30vmax; background: #F28C38; animation: pwA 14s ease-in-out infinite; }
@keyframes pwA { 50% { transform: translate(6vmax, 4vmax) scale(1.12); } }
.pw-top { position: relative; z-index: 2; display: flex; align-items: center; gap: 12px; padding: calc(14px + env(safe-area-inset-top)) 18px 6px; }
.pw-x { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .12); color: #fff; backdrop-filter: blur(10px); }
.pw-x:hover { background: rgba(255, 255, 255, .2); }
.pw-brand { flex: 1; text-align: center; font-weight: 700; letter-spacing: .3px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 15px; }
.pw-brand b { background: linear-gradient(90deg, #FFE7A3, #FFC145, #F28C38); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pw-sp { width: 40px; }
.pw-lockmsg { position: relative; z-index: 2; align-self: center; margin-top: 4px; display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 193, 69, .14); border: 1px solid rgba(255, 193, 69, .35); font-size: 13px; color: #FFE1A6; }
.pw-track { position: relative; z-index: 1; flex: 1; min-height: 0; overflow: hidden; }
.pw-rail { display: flex; height: 100%; transition: transform .55s var(--ease); }
.pw-slide { flex: 0 0 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 10px 28px; overflow-y: auto; }
.pw-slide h2 { margin: 26px 0 10px; font-size: clamp(24px, 4.2vw, 36px); line-height: 1.15; font-weight: 800; letter-spacing: -.6px; max-width: 620px; opacity: 0; transform: translateY(14px); transition: .5s .1s var(--ease); }
.pw-slide p { margin: 0; max-width: 520px; font-size: 16px; line-height: 1.6; color: rgba(255, 255, 255, .78); opacity: 0; transform: translateY(14px); transition: .5s .18s var(--ease); }
.pw-slide.on h2, .pw-slide.on p { opacity: 1; transform: none; }
.pw-hero { position: relative; width: 190px; height: 190px; display: grid; place-items: center; }
.pw-ring { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .14); }
.pw-ring.r1 { animation: pwPulse 3.2s ease-out infinite; }
.pw-ring.r2 { animation: pwPulse 3.2s 1.6s ease-out infinite; }
@keyframes pwPulse { 0% { transform: scale(.55); opacity: .9; } 100% { transform: scale(1.15); opacity: 0; } }
.pw-orb { width: 118px; height: 118px; border-radius: 36px; display: grid; place-items: center; color: #fff; transform: rotate(-6deg) scale(.85); transition: transform .6s var(--ease);
  background: linear-gradient(135deg, #FFB347, #F28C38 40%, #7C3AED); box-shadow: 0 24px 60px rgba(242, 140, 56, .45), inset 0 1px 0 rgba(255, 255, 255, .4); }
.pw-slide.on .pw-orb { transform: rotate(-6deg) scale(1); animation: pwFloat 4s ease-in-out infinite; }
@keyframes pwFloat { 50% { transform: rotate(-2deg) translateY(-8px); } }
.pw-hero-dia { position: absolute; right: 22px; top: 18px; }
.pw-bottom { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 10px 20px calc(22px + env(safe-area-inset-bottom)); }
.pw-dots { display: flex; gap: 7px; }
.pw-dots button { width: 7px; height: 7px; border-radius: 99px; background: rgba(255, 255, 255, .3); transition: width .3s, background .3s; padding: 0; }
.pw-dots button.on { width: 24px; background: #FFC145; }
.pw-cta { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: min(420px, 100%); height: 54px; border-radius: 18px; font-weight: 800; font-size: 16px; color: #1A1206;
  background: linear-gradient(135deg, #FFE7A3, #FFC145 40%, #F28C38); box-shadow: 0 14px 40px rgba(255, 179, 71, .4); transition: transform .15s; }
.pw-cta:hover { transform: translateY(-2px); }
.pw-cta .pdia { filter: none; background: #1A1206; }
.pw-trial-link { color: rgba(255, 255, 255, .85); font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.pw.at-plans .pw-cta, .pw.at-plans .pw-trial-link { display: none; }
.pw-plans { justify-content: flex-start; padding-top: 18px; }
.pw-plans-in { width: min(560px, 100%); display: flex; flex-direction: column; gap: 14px; padding-bottom: 20px; text-align: left; }
.pw-ph { margin: 0 !important; text-align: center; opacity: 1 !important; transform: none !important; font-size: clamp(24px, 4vw, 32px) !important; }
.pw-ps { text-align: center; margin: 0 auto 4px !important; opacity: 1 !important; transform: none !important; font-size: 15px !important; }
.pw-or { display: flex; align-items: center; gap: 12px; color: rgba(255, 255, 255, .55); font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.pw-or::before, .pw-or::after { content: ''; flex: 1; height: 1px; background: rgba(255, 255, 255, .15); }
.pw-plan-list { display: flex; flex-direction: column; gap: 10px; }
.pw-plan { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px 16px; border-radius: 18px; color: #fff; text-align: left;
  background: rgba(255, 255, 255, .06); border: 1.5px solid rgba(255, 255, 255, .14); backdrop-filter: blur(14px); transition: border-color .2s, background .2s, transform .15s; }
.pw-plan:hover { transform: translateY(-1px); }
.pw-plan.on { border-color: #FFC145; background: rgba(255, 193, 69, .1); box-shadow: 0 0 0 4px rgba(255, 193, 69, .12); }
.pw-radio { width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); flex: none; display: grid; place-items: center; }
.pw-plan.on .pw-radio { border-color: #FFC145; }
.pw-plan.on .pw-radio::after { content: ''; width: 11px; height: 11px; border-radius: 50%; background: #FFC145; }
.pw-pn { flex: 1; display: flex; flex-direction: column; gap: 3px; } .pw-pn b { font-size: 16px; } .pw-pn small { font-size: 12.5px; color: rgba(255, 255, 255, .65); } .pw-pn em { font-style: normal; color: #7CF0B0; font-weight: 700; }
.pw-pp { display: flex; flex-direction: column; align-items: flex-end; } .pw-pp b { font-size: 18px; font-variant-numeric: tabular-nums; } .pw-pp small { font-size: 11.5px; color: rgba(255, 255, 255, .6); }
.pw-badge { position: absolute; top: -10px; right: 16px; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; color: #1A1206; background: linear-gradient(90deg, #FFE7A3, #FFC145); }
.pw-inc { padding: 16px; border-radius: 18px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.pw-inc h4 { margin: 0 0 12px; font-size: 11.5px; letter-spacing: 1.4px; color: #FFC145; }
.pw-inc div { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 9px 12px; }
.pw-inc span { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255, 255, 255, .85); }
.pw-inc span svg { color: #FFC145; flex: none; }
.pw-buy { display: flex; align-items: center; justify-content: center; gap: 10px; height: 56px; border-radius: 18px; font-weight: 800; font-size: 16px; color: #1A1206; background: linear-gradient(135deg, #FFE7A3, #FFC145 40%, #F28C38); box-shadow: 0 14px 40px rgba(255, 179, 71, .38); }
.pw-buy:hover { filter: brightness(1.05); }
.pw-legal { margin: 0 !important; font-size: 12px !important; line-height: 1.5 !important; color: rgba(255, 255, 255, .55) !important; text-align: center; opacity: 1 !important; transform: none !important; }
.pw-have { display: flex; flex-direction: column; gap: 14px; }

/* ---------------- bilhete do teste grátis */
.tkt { position: relative; display: flex; align-items: stretch; border-radius: 20px; margin: 0 0 12px; color: #fff; overflow: hidden;
  background: linear-gradient(120deg, #1E3A8A, #2F6BFF 40%, #7C3AED 75%, #F28C38); box-shadow: 0 16px 40px rgba(47, 107, 255, .3); }
.tkt-l { flex: 1; padding: 18px 18px 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.tkt-tag { font-size: 11px; font-weight: 800; letter-spacing: 1.2px; color: #FFE1A6; display: inline-flex; align-items: center; gap: 6px; }
.tkt-h { font-size: 19px; line-height: 1.2; }
.tkt-l small { font-size: 12.5px; line-height: 1.5; color: rgba(255, 255, 255, .82); }
.tkt-cut { width: 0; border-left: 2px dashed rgba(255, 255, 255, .35); margin: 14px 0; }
.tkt-r { width: 150px; flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 12px 10px; background: rgba(0, 0, 0, .15); }
.tkt-n { font-size: 44px; font-weight: 800; line-height: 1; background: linear-gradient(180deg, #FFF, #FFD58A); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tkt-d { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; opacity: .8; margin-bottom: 8px; }
.tkt-go { display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 8px 9px; border-radius: 12px; font-size: 11.5px; max-width: 136px; font-weight: 800; color: #1A1206; background: linear-gradient(135deg, #FFE7A3, #FFC145); white-space: nowrap; }
.tkt-go .pdia { background: #1A1206; filter: none; }
@media (max-width: 520px) { .tkt { flex-direction: column; } .tkt-cut { width: auto; border-left: 0; border-top: 2px dashed rgba(255, 255, 255, .35); margin: 0 16px; } .tkt-r { width: auto; flex-direction: row; gap: 10px; } .tkt-d { margin: 0 auto 0 0; } }

/* ---------------- cartão do Fundador e do plano */
.fnd { position: relative; overflow: hidden; isolation: isolate; border-radius: 24px; padding: 22px 22px 20px; margin-bottom: 16px; color: #fff;
  background: radial-gradient(120% 140% at 0% 0%, #3B2A0B 0%, #120C02 55%, #05040A 100%); border: 1px solid rgba(255, 193, 69, .35); box-shadow: 0 24px 60px rgba(255, 179, 71, .18), inset 0 1px 0 rgba(255, 231, 163, .25); }
.fnd-glow { position: absolute; z-index: -1; width: 280px; height: 280px; right: -90px; top: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 193, 69, .55), transparent 65%); animation: orb 10s ease-in-out infinite; }
.fnd-shine { position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 35%, rgba(255, 231, 163, .16) 50%, transparent 65%); background-size: 250% 100%; animation: shine 5s ease-in-out infinite; }
.fnd-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.fnd-seal { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: #1A1206; background: linear-gradient(135deg, #FFE7A3, #FFC145 50%, #F28C38); box-shadow: 0 6px 18px rgba(255, 179, 71, .45); }
.fnd-tag { font-size: 12px; font-weight: 800; letter-spacing: 2px; background: linear-gradient(90deg, #FFE7A3, #FFC145, #F28C38); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fnd-vit { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: 1px; color: #FFE1A6; border: 1px solid rgba(255, 193, 69, .45); background: rgba(255, 193, 69, .1); }
.fnd h3 { margin: 16px 0 8px; font-size: 25px; font-weight: 800; letter-spacing: -.4px; }
.fnd p { margin: 0; font-size: 14.5px; line-height: 1.6; color: rgba(255, 255, 255, .86); }
.fnd p b { color: #FFD58A; }
.fnd-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 193, 69, .1); border: 1px solid rgba(255, 193, 69, .25); font-size: 13.5px; font-weight: 600; line-height: 1.45; }
.fnd-note svg { color: #FFC145; flex: none; margin-top: 1px; }
.fnd-since { display: block; margin-top: 12px; font-size: 12px; color: rgba(255, 225, 166, .7); }
.fnd.compact h3 { font-size: 20px; margin-top: 12px; }
.plc { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 20px; margin-bottom: 12px; background: var(--surface); border: 1px solid var(--line); }
.plc > div { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.plc b { font-size: 16px; } .plc small { color: var(--mut); font-size: 13px; line-height: 1.45; }
.plc.prem, .plc.trial { border-color: color-mix(in srgb, #FFC145 40%, var(--line)); background: linear-gradient(135deg, color-mix(in srgb, #FFC145 10%, var(--surface)), color-mix(in srgb, #7C3AED 8%, var(--surface))); }
.plc.dark { background: rgba(255, 255, 255, .06); border-color: rgba(255, 193, 69, .35); color: #fff; } .plc.dark small { color: rgba(255, 255, 255, .7); }
.plc-bar { height: 7px; border-radius: 99px; background: color-mix(in srgb, var(--text) 10%, transparent); overflow: hidden; margin: 4px 0; }
.plc-bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #FFC145, #F28C38); }
.plc-leaf { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: #22C55E; background: color-mix(in srgb, #22C55E 14%, transparent); flex: none; }
.plc .btn { align-self: flex-start; margin-top: 6px; }

/* ---------------- boas-vindas ao Premium */
.pw-welcome { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 24px; background: rgba(5, 8, 26, .72); backdrop-filter: blur(10px); opacity: 0; transition: opacity .25s; }
.pw-welcome.open { opacity: 1; }
.pw-wc { max-width: 400px; text-align: center; padding: 34px 26px 26px; border-radius: 28px; color: #fff; background: linear-gradient(160deg, #1E3A8A, #3B1D80 55%, #5C2A0E); border: 1px solid rgba(255, 193, 69, .35); box-shadow: 0 30px 80px rgba(0, 0, 0, .5); transform: scale(.92); transition: transform .35s var(--ease); }
.pw-welcome.open .pw-wc { transform: none; }
.pw-wc h2 { margin: 18px 0 8px; font-size: 26px; font-weight: 800; }
.pw-wc p { margin: 0 0 20px; color: rgba(255, 255, 255, .85); line-height: 1.55; }
.pw-wc-dia { animation: pwFloat 3.5s ease-in-out infinite; }
