:root {
  --navy: #0f212f;
  --navy-2: #1b3448;
  --navy-3: #26445c;
  --gold: #dea335;
  --gold-d: #c18a26;
  --gold-s: rgba(222, 163, 53, .12);
  --bg: #f4f5f6;
  --white: #fff;
  --line: #e6e9ec;
  --text: #5a6169;
  --text-2: #868d94;
  --title: #0f212f;
  --green: #1f9d6a;
  --green-s: rgba(31, 157, 106, .12);
  --red: #d2543a;
  --red-s: rgba(210, 84, 58, .1);
  --r: 14px;
  --r-s: 8px;
  --sh-1: 0 1px 2px rgba(15,33,47,.04), 0 6px 20px rgba(15,33,47,.06);
  --sh-2: 0 4px 10px rgba(15,33,47,.06), 0 20px 44px rgba(15,33,47,.12);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --container: min(1240px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: Manrope, system-ui, -apple-system, sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { color: var(--title); font-weight: 800; margin: 0; line-height: 1.15; letter-spacing: -.01em; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
.container { width: var(--container); margin-inline: auto; }
.gold { color: var(--gold); }
.muted { color: var(--text-2); }
[hidden] { display: none !important; }
svg.i { width: 18px; height: 18px; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; border-radius: 10px;
  padding: 11px 18px; font-weight: 700; font-size: 14.5px; line-height: 1.2;
  transition: transform .2s var(--ease), background .2s, box-shadow .2s, border-color .2s, color .2s;
  white-space: nowrap; text-decoration: none;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-gold { background: var(--gold); color: var(--navy); box-shadow: 0 6px 18px rgba(222,163,53,.35); }
.btn-gold:hover:not(:disabled) { background: #e6b04a; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover:not(:disabled) { background: var(--navy-2); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--title); }
.btn-ghost:hover:not(:disabled) { border-color: var(--title); }
.btn-danger-ghost { background: transparent; border-color: rgba(210,84,58,.35); color: var(--red); }
.btn-danger-ghost:hover:not(:disabled) { background: var(--red-s); }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 6px 18px rgba(31,157,106,.3); }
.btn-green:hover:not(:disabled) { background: #1a8a5d; }
.btn-lg { padding: 14px 22px; font-size: 15.5px; border-radius: 12px; }
.btn-sm { padding: 7px 12px; font-size: 13px; border-radius: 8px; }
.btn-block { width: 100%; }
.icon-btn {
  display: inline-grid; place-items: center; width: 38px; height: 38px;
  border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--title);
  transition: border-color .2s, background .2s;
}
.icon-btn:hover { border-color: var(--title); }
.icon-btn.dark { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: #fff; }
.icon-btn.dark:hover { background: rgba(255,255,255,.12); }

/* ---------- Eyebrow / pills ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 8px; border-radius: 999px;
  border: 1px solid rgba(222,163,53,.35); background: rgba(15,33,47,.55);
  color: #fff; font-weight: 800; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase;
}
.eyebrow .ring { width: 24px; height: 24px; border-radius: 50%; border: 1px solid rgba(222,163,53,.6); display: grid; place-items: center; color: var(--gold); }
.eyebrow b { color: var(--gold); font-weight: 800; }
.eyebrow.light { background: var(--gold-s); color: var(--title); border-color: rgba(222,163,53,.4); }

.status {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 700; white-space: nowrap;
}
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.st-revisao .status, .status.st-revisao { background: var(--gold-s); color: var(--gold-d); }
.st-ajustes .status, .status.st-ajustes { background: var(--red-s); color: var(--red); }
.st-aprovado .status, .status.st-aprovado { background: var(--green-s); color: var(--green); }
.st-publicado .status, .status.st-publicado { background: rgba(15,33,47,.08); color: var(--navy); }

.role { display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 2px 7px; border-radius: 5px; }
.role-admin { background: var(--gold); color: var(--navy); }
.role-editor { background: rgba(15,33,47,.08); color: var(--navy); }

/* ---------- Login ---------- */
.login { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; background: #fff; }
.login-art {
  position: relative; overflow: hidden; background: var(--navy); color: #fff;
  padding: clamp(32px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; gap: 26px;
}
.login-art::before {
  content: ""; position: absolute; inset: auto -20% -40% auto; width: 80%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(222,163,53,.28), transparent 62%); pointer-events: none;
}
.login-art::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px); background-size: 22px 22px;
  mask-image: linear-gradient(120deg, transparent 20%, #000 90%); pointer-events: none;
}
.login-art > * { position: relative; z-index: 1; }
.login-art h1 { color: #fff; font-size: clamp(2rem, 1.2rem + 2.6vw, 3.1rem); max-width: 13ch; }
.login-art p { color: rgba(255,255,255,.72); max-width: 44ch; font-size: 16px; margin: 0; }
.login-steps { display: grid; gap: 12px; margin-top: 8px; max-width: 440px; }
.login-step {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  animation: rise .7s var(--ease) both;
}
.login-step:nth-child(2) { animation-delay: .08s; }
.login-step:nth-child(3) { animation-delay: .16s; }
.login-step .n { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--gold-s); color: var(--gold); font-weight: 800; border: 1px solid rgba(222,163,53,.35); }
.login-step b { color: #fff; display: block; font-size: 14.5px; }
.login-step small { color: rgba(255,255,255,.6); font-size: 13px; }
.login-form-wrap { display: grid; place-items: center; padding: 32px 20px; }
.login-form { width: min(380px, 100%); display: grid; gap: 18px; }
.login-form img { width: 210px; margin-bottom: 10px; }
.login-form h2 { font-size: 1.6rem; }
.login-form .sub { margin: -10px 0 4px; color: var(--text-2); }

/* ---------- Fields ---------- */
.field { display: grid; gap: 6px; }
.field > span { font-weight: 700; color: var(--title); font-size: 13.5px; display: flex; justify-content: space-between; gap: 10px; }
.field > span small { font-weight: 500; color: var(--text-2); }
.input, .field input, .field textarea, .field select {
  width: 100%; border: 1px solid var(--line); border-radius: 10px; background: #fff;
  padding: 11px 13px; outline: none; transition: border-color .2s, box-shadow .2s; color: var(--title);
}
.field textarea { resize: vertical; min-height: 90px; line-height: 1.5; }
.input:focus, .field input:focus, .field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 4px var(--gold-s); }
.form-error { margin: 0; padding: 10px 12px; border-radius: 10px; background: var(--red-s); color: var(--red); font-weight: 600; font-size: 14px; }
.counter { font-size: 12px; color: var(--text-2); justify-self: end; }
.splash p::first-letter { text-transform: uppercase; }
.nav button::first-letter { text-transform: uppercase; }
.counter.over { color: var(--red); font-weight: 700; }

/* ---------- Topbar ---------- */
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.topbar-in { display: flex; align-items: center; gap: 20px; height: 72px; }
.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; }
.brand img { height: 34px; width: auto; }
.brand-sep { width: 1px; height: 28px; background: var(--line); }
.brand-app { font-weight: 800; color: var(--title); font-size: 15px; line-height: 1.1; }
.brand-app small { display: block; font-weight: 600; color: var(--gold-d); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav button { border: 0; background: none; padding: 9px 14px; border-radius: 9px; font-weight: 700; color: var(--text); }
.nav button:hover { color: var(--title); background: var(--bg); }
.nav button.active { color: var(--title); background: var(--gold-s); }
.user { display: flex; align-items: center; gap: 10px; padding-left: 16px; border-left: 1px solid var(--line); }
.avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--gold); font-weight: 800; font-size: 14px; flex: none; }
.avatar.sm { width: 28px; height: 28px; font-size: 11px; }
.avatar.admin { background: var(--gold); color: var(--navy); }
.user strong { display: block; color: var(--title); font-size: 14px; line-height: 1.2; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; padding: 38px 0 0; }
.hero::before {
  content: ""; position: absolute; right: -10%; top: -60%; width: 60%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(222,163,53,.22), transparent 60%); pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px); background-size: 22px 22px;
  mask-image: linear-gradient(90deg, transparent 30%, #000);
}
.hero > * { position: relative; z-index: 1; }
.hero-in { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; padding-bottom: 30px; }
.hero h1 { color: #fff; font-size: clamp(1.9rem, 1.2rem + 2.2vw, 2.8rem); margin: 16px 0 6px; }
.hero .lead { color: rgba(255,255,255,.7); margin: 0; font-size: 15.5px; }
.week-nav { display: flex; align-items: center; gap: 8px; margin-top: 20px; }
.week-nav .btn-today { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); color: #fff; padding: 9px 14px; border-radius: 10px; font-weight: 700; font-size: 13.5px; }
.week-nav .btn-today:hover { background: rgba(255,255,255,.12); }
.week-nav .btn-today.is-now { border-color: rgba(222,163,53,.5); color: var(--gold); }

.hero-stats { display: flex; gap: 14px; align-items: stretch; flex-wrap: wrap; }
.ring-card {
  display: flex; align-items: center; gap: 16px; padding: 16px 20px 16px 16px; border-radius: var(--r);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
}
.ring { width: 76px; height: 76px; position: relative; flex: none; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring .track { stroke: rgba(255,255,255,.1); }
.ring .bar { stroke: var(--gold); stroke-linecap: round; transition: stroke-dashoffset 1s var(--ease); }
.ring .val { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 800; color: #fff; font-size: 19px; }
.ring .val small { font-size: 12px; color: rgba(255,255,255,.55); font-weight: 700; }
.ring-card b { color: #fff; display: block; font-size: 15px; }
.ring-card span { color: rgba(255,255,255,.6); font-size: 13px; }
.stat-list { display: grid; gap: 8px; align-content: center; padding: 12px 18px; border-radius: var(--r); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); min-width: 220px; }
.stat-list div { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: rgba(255,255,255,.75); }
.stat-list i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.stat-list b { margin-left: auto; color: #fff; font-size: 15px; }

.cta-bar {
  display: flex; align-items: center; gap: 18px; padding: 16px 18px; margin-top: -40px;
  background: linear-gradient(100deg, #fff 0%, #fff 60%, #fdf6e8 100%); color: var(--text);
  border-radius: var(--r); box-shadow: var(--sh-2); position: relative; z-index: 2;
  animation: rise .6s var(--ease) both;
}
.cta-bar .cta-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--gold-s); color: var(--gold-d); display: grid; place-items: center; flex: none; }
.cta-bar .cta-icon svg { width: 22px; height: 22px; }
.cta-bar b { color: var(--title); font-size: 16px; display: block; }
.cta-bar .grow { flex: 1; min-width: 0; }
.cta-bar.danger .cta-icon { background: var(--red-s); color: var(--red); }
.hero-spacer { height: 30px; }
.hero-spacer.with-cta { height: 40px; }

/* ---------- Board ---------- */
.board { padding: 30px 0 60px; }
.board.no-cta { padding-top: 34px; }
.board-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.board-head h2 { font-size: 1.25rem; }
.slots { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--title); }
.slots i { width: 26px; height: 8px; border-radius: 99px; background: var(--line); display: inline-block; }
.slots i.on { background: var(--gold); }

.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.day { min-height: 300px; display: flex; flex-direction: column; border-radius: var(--r); background: rgba(255,255,255,.55); border: 1px dashed transparent; transition: background .2s, border-color .2s; }
.day.today { background: #fff; border: 1px solid rgba(222,163,53,.5); box-shadow: 0 0 0 4px var(--gold-s); }
.day.drop-target { border-color: var(--gold); background: #fffaf0; }
.day-head { display: flex; align-items: baseline; gap: 8px; padding: 12px 12px 8px; }
.day-head span { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
.day-head b { font-size: 22px; color: var(--title); font-weight: 800; line-height: 1; }
.day.today .day-head span { color: var(--gold-d); }
.day.past .day-head b { color: var(--text-2); }
.day-head .today-tag { margin-left: auto; font-size: 10.5px; font-weight: 800; color: var(--navy); background: var(--gold); padding: 2px 7px; border-radius: 5px; letter-spacing: .06em; text-transform: uppercase; }
.day-body { display: grid; gap: 10px; padding: 0 8px 10px; align-content: start; flex: 1; }
.add-slot {
  display: flex; align-items: center; justify-content: center; gap: 6px; padding: 12px 8px; border-radius: 10px;
  border: 1.5px dashed #cfd5da; background: transparent; color: var(--text-2); font-weight: 700; font-size: 13px;
  opacity: 0; transition: opacity .2s, border-color .2s, color .2s;
}
.day:hover .add-slot, .day.empty .add-slot, .add-slot:focus-visible { opacity: 1; }
.add-slot:hover { border-color: var(--gold); color: var(--gold-d); }

.card {
  position: relative; background: #fff; border-radius: 12px; overflow: hidden; cursor: pointer;
  box-shadow: var(--sh-1); border: 1px solid var(--line); text-align: left;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  animation: rise .5s var(--ease) both;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; z-index: 2; }
.card.st-revisao::before { background: var(--gold); }
.card.st-ajustes::before { background: var(--red); }
.card.st-aprovado::before { background: var(--green); }
.card.st-publicado::before { background: var(--navy); }
.thumb { position: relative; aspect-ratio: 4 / 5; background: var(--navy); overflow: hidden; }
.thumb img, .thumb video { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .thumb img, .card:hover .thumb video { transform: scale(1.04); }
.thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,33,47,.5) 0%, transparent 28%, transparent 70%, rgba(15,33,47,.55) 100%); }
.type-badge {
  position: absolute; left: 8px; top: 8px; z-index: 1; display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 8px; border-radius: 7px; background: rgba(15,33,47,.7); color: #fff; font-size: 11.5px; font-weight: 700; backdrop-filter: blur(6px);
}
.type-badge svg { width: 13px; height: 13px; }
.thumb .time { position: absolute; right: 8px; bottom: 8px; z-index: 1; color: #fff; font-weight: 800; font-size: 13px; display: inline-flex; align-items: center; gap: 4px; }
.thumb .time svg { width: 13px; height: 13px; }
.thumb .stack { position: absolute; right: 8px; top: 8px; z-index: 1; display: flex; gap: 3px; }
.thumb .stack i { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.55); }
.thumb .stack i:first-child { background: #fff; }
.thumb .play { position: absolute; inset: 0; margin: auto; z-index: 1; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.2); backdrop-filter: blur(6px); display: grid; place-items: center; color: #fff; border: 1px solid rgba(255,255,255,.35); }
.thumb .play svg { width: 16px; height: 16px; margin-left: 2px; }
.card-body { padding: 10px 11px 11px; display: grid; gap: 7px; }
.card-body h3 { font-size: 13.5px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-body .status { justify-self: start; font-size: 11px; padding: 3px 8px; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.nets { display: flex; gap: 4px; color: var(--text-2); }
.nets svg { width: 15px; height: 15px; }
.meta { display: flex; gap: 8px; font-size: 12px; font-weight: 700; color: var(--text-2); }
.meta span { display: inline-flex; align-items: center; gap: 3px; }
.meta svg { width: 13px; height: 13px; }
.meta .alert { color: var(--red); }

.empty-week {
  margin-top: 18px; padding: 28px; border-radius: var(--r); background: #fff; border: 1px solid var(--line);
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.empty-week .ill { width: 58px; height: 58px; border-radius: 16px; background: var(--gold-s); color: var(--gold-d); display: grid; place-items: center; }
.empty-week .ill svg { width: 26px; height: 26px; }
.empty-week h3 { font-size: 1.05rem; margin-bottom: 2px; }
.empty-week p { margin: 0; }
.empty-week .grow { flex: 1; min-width: 220px; }

/* ---------- Overlay / sheet ---------- */
.overlay {
  position: fixed; inset: 0; z-index: 50; background: rgba(9,20,29,.62); backdrop-filter: blur(4px);
  display: grid; place-items: center; padding: 20px; animation: fade .25s ease both;
}
.sheet {
  width: min(1180px, 100%); height: min(860px, calc(100vh - 40px)); background: var(--bg); border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0,0,0,.35); overflow: hidden; display: flex; flex-direction: column;
  animation: pop .4s var(--ease) both; position: relative;
}
.sheet-top { display: flex; align-items: center; gap: 14px; padding: 12px 14px 12px 20px; background: var(--navy); color: #fff; flex: none; }
.sheet-top .title { font-weight: 800; font-size: 14.5px; display: flex; align-items: center; gap: 10px; min-width: 0; }
.sheet-top .title small { color: rgba(255,255,255,.55); font-weight: 600; font-size: 13px; }
.sheet-top .spacer { flex: 1; }
.review-pips { display: flex; gap: 5px; }
.review-pips i { width: 22px; height: 5px; border-radius: 99px; background: rgba(255,255,255,.18); }
.review-pips i.done { background: var(--green); }
.review-pips i.now { background: var(--gold); }
.sheet-grid { flex: 1; display: grid; grid-template-columns: minmax(380px, 1fr) minmax(400px, 1.05fr); min-height: 0; }

.stage {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 20px; min-height: 0;
  background: radial-gradient(circle at 50% 30%, #23405a 0%, var(--navy) 70%); overflow: auto;
}
.net-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); flex: none; }
.net-tabs button { display: inline-flex; align-items: center; gap: 7px; border: 0; background: none; color: rgba(255,255,255,.7); padding: 7px 12px; border-radius: 9px; font-weight: 700; font-size: 13px; }
.net-tabs button svg { width: 15px; height: 15px; }
.net-tabs button:hover { color: #fff; }
.net-tabs button.active { background: #fff; color: var(--navy); }
.stage-hint { color: rgba(255,255,255,.5); font-size: 12.5px; flex: none; display: flex; gap: 14px; }
.stage-hint kbd { font-family: inherit; font-size: 11px; padding: 1px 6px; border-radius: 4px; border: 1px solid rgba(255,255,255,.25); }

/* Phone mockups */
.phone {
  width: min(340px, 100%); flex: none; background: #fff; border-radius: 34px; padding: 10px;
  box-shadow: 0 0 0 2px #2c4a63, 0 30px 60px rgba(0,0,0,.45); position: relative;
}
.phone.dark { background: #000; }
.phone-screen { border-radius: 26px; overflow: hidden; background: #fff; position: relative; }
.phone.dark .phone-screen { background: #000; }
.ph-status { height: 26px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; font-size: 11.5px; font-weight: 800; color: #111; }
.phone.dark .ph-status { color: #fff; }
.ph-head { display: flex; align-items: center; gap: 9px; padding: 8px 12px; }
.ph-av { width: 32px; height: 32px; border-radius: 50%; background: var(--navy); display: grid; place-items: center; color: var(--gold); font-weight: 800; font-size: 11px; flex: none; position: relative; }
.ph-ig .ph-av { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #d62976; }
.ph-head b { color: #111; font-size: 13px; line-height: 1.2; }
.ph-head small { display: block; color: #777; font-size: 11px; font-weight: 500; }
.ph-head .more { margin-left: auto; color: #333; letter-spacing: 2px; font-weight: 800; }
.ph-media { position: relative; background: #000; overflow: hidden; touch-action: pan-y; user-select: none; }
.ph-track { display: flex; height: 100%; transition: transform .45s var(--ease); }
.ph-track > * { flex: 0 0 100%; width: 100%; height: 100%; object-fit: contain; background: #000; }
.ph-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 30px; height: 30px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.9); color: #111; display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0,0,0,.25);
  transition: opacity .2s;
}
.ph-arrow svg { width: 16px; height: 16px; }
.ph-arrow.l { left: 8px; } .ph-arrow.r { right: 8px; }
.ph-arrow:disabled { opacity: 0; pointer-events: none; }
.ph-count { position: absolute; right: 10px; top: 10px; z-index: 2; background: rgba(0,0,0,.6); color: #fff; font-size: 11.5px; font-weight: 700; padding: 3px 8px; border-radius: 99px; }
.ph-dots { display: flex; justify-content: center; gap: 4px; }
.ph-dots i { width: 6px; height: 6px; border-radius: 50%; background: #c9c9c9; transition: background .2s, transform .2s; }
.ph-dots i.on { background: #0095f6; transform: scale(1.15); }
.ph-actions { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 9px 12px 4px; color: #111; }
.ph-actions .l { display: flex; gap: 14px; }
.ph-actions .r { justify-self: end; }
.ph-actions svg { width: 22px; height: 22px; }
.ph-cap { padding: 4px 12px 14px; font-size: 12.5px; color: #111; line-height: 1.45; max-height: 150px; overflow: auto; white-space: pre-wrap; word-break: break-word; }
.ph-cap b { font-weight: 800; }
.ph-cap .tag { color: #00376b; }
.ph-cap .more-btn { color: #777; border: 0; background: none; padding: 0; font-weight: 600; }
.ph-video { position: relative; aspect-ratio: 9 / 16; background: #000; }
.ph-video video { width: 100%; height: 100%; object-fit: cover; }
.ph-video .ov-bottom { position: absolute; left: 0; right: 54px; bottom: 0; padding: 14px 12px 16px; color: #fff; font-size: 12.5px; background: linear-gradient(transparent, rgba(0,0,0,.65)); pointer-events: none; }
.ph-video .ov-bottom .who { display: flex; align-items: center; gap: 8px; font-weight: 800; margin-bottom: 6px; }
.ph-video .ov-bottom .who .ph-av { width: 26px; height: 26px; font-size: 9.5px; box-shadow: none; }
.ph-video .ov-bottom .follow { border: 1px solid rgba(255,255,255,.8); border-radius: 7px; padding: 1px 8px; font-size: 11px; }
.ph-video .ov-bottom .yt-sub { background: #fff; color: #000; border-radius: 99px; padding: 3px 10px; font-size: 11px; }
.ph-video .ov-bottom p { margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; white-space: pre-wrap; }
.ph-video .ov-side { position: absolute; right: 8px; bottom: 18px; display: grid; gap: 16px; justify-items: center; color: #fff; font-size: 10.5px; font-weight: 700; pointer-events: none; }
.ph-video .ov-side span { display: grid; justify-items: center; gap: 2px; }
.ph-video .ov-side svg { width: 24px; height: 24px; filter: drop-shadow(0 1px 2px rgba(0,0,0,.4)); }
.ph-video .play-toggle { position: absolute; inset: 0; border: 0; background: transparent; display: grid; place-items: center; }
.ph-video .play-toggle span { width: 60px; height: 60px; border-radius: 50%; background: rgba(0,0,0,.45); display: grid; place-items: center; color: #fff; transition: opacity .25s, transform .25s; }
.ph-video .play-toggle span svg { width: 26px; height: 26px; margin-left: 3px; }
.ph-video.playing .play-toggle span { opacity: 0; transform: scale(.8); }
.ph-video .progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.25); z-index: 3; }
.ph-video .progress i { display: block; height: 100%; width: 0; background: #fff; }
.ph-video .mute { position: absolute; right: 10px; top: 10px; z-index: 3; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(0,0,0,.5); color: #fff; display: grid; place-items: center; }
.ph-video .mute svg { width: 15px; height: 15px; }
.ph-li .ph-text { padding: 2px 12px 10px; font-size: 12.5px; color: #222; white-space: pre-wrap; word-break: break-word; max-height: 92px; overflow: hidden; position: relative; }
.ph-li .ph-text.open { max-height: 210px; overflow: auto; }
.ph-li .ph-av { border-radius: 4px; }
.ph-li .ph-react { display: flex; justify-content: space-around; border-top: 1px solid #eee; margin: 0 8px; padding: 8px 0 12px; color: #555; font-size: 11.5px; font-weight: 700; }
.ph-li .ph-react span { display: flex; align-items: center; gap: 4px; }
.ph-li .ph-react svg { width: 16px; height: 16px; }
.ph-li .li-more { display: block; padding: 0 12px 10px; margin-top: -6px; font-size: 12px; color: #666; border: 0; background: none; font-weight: 700; }

/* Panel */
.panel { display: flex; flex-direction: column; min-height: 0; background: #fff; }
.panel-scroll { flex: 1; overflow: auto; padding: 24px 26px 18px; display: flex; flex-direction: column; gap: 18px; }
.panel-scroll > * { flex-shrink: 0; }
.panel-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13px; color: var(--text-2); font-weight: 600; }
.panel-meta .ver { padding: 3px 8px; border-radius: 6px; background: var(--bg); color: var(--title); font-weight: 800; font-size: 11.5px; }
.panel h2 { font-size: 1.45rem; }
.when { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--bg); }
.when .ic { width: 38px; height: 38px; border-radius: 10px; background: #fff; display: grid; place-items: center; color: var(--gold-d); box-shadow: var(--sh-1); flex: none; }
.when b { color: var(--title); display: block; font-size: 14.5px; }
.when b::first-letter { text-transform: uppercase; }
.when small { font-size: 12.5px; color: var(--text-2); }
.net-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-left: auto; }
.net-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 8px; background: #fff; border: 1px solid var(--line); font-size: 12px; font-weight: 700; color: var(--title); }
.net-chip svg { width: 14px; height: 14px; }
.net-chip.ok { border-color: rgba(31,157,106,.35); color: var(--green); }
.net-chip.err { border-color: rgba(210,84,58,.35); color: var(--red); }
.idea { padding: 14px 16px; border-radius: 12px; background: #fdf8ee; border: 1px solid rgba(222,163,53,.3); position: relative; }
.idea .lbl { display: flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-d); margin-bottom: 6px; }
.idea .lbl svg { width: 15px; height: 15px; }
.idea p { margin: 0; color: var(--title); white-space: pre-wrap; word-break: break-word; }
.idea .by { margin-top: 8px; font-size: 12px; color: var(--text-2); }
.caption-box { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.caption-box summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 14px; font-weight: 800; color: var(--title); font-size: 13.5px; }
.caption-box summary::-webkit-details-marker { display: none; }
.caption-box summary small { font-weight: 600; color: var(--text-2); }
.caption-box summary .chev { transition: transform .25s; }
.caption-box[open] summary .chev { transform: rotate(180deg); }
.caption-box .body { padding: 0 14px 14px; white-space: pre-wrap; word-break: break-word; color: var(--title); font-size: 14px; }
.caption-box .body .copy { margin-top: 10px; }

.decision { display: grid; gap: 10px; padding: 16px; border-radius: 14px; border: 1px solid var(--line); background: linear-gradient(180deg, #fff, #fafbfb); }
.decision .row { display: flex; gap: 10px; flex-wrap: wrap; }
.decision .row .btn { flex: 1; }
.decision .note { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--text); }
.decision .note svg { color: var(--gold-d); margin-top: 2px; }
.decision.approved { border-color: rgba(31,157,106,.3); background: linear-gradient(180deg, #f3fbf7, #fff); }
.decision.approved .note svg { color: var(--green); }
.decision.adjust { border-color: rgba(210,84,58,.3); background: linear-gradient(180deg, #fdf5f3, #fff); }
.decision.adjust .note svg { color: var(--red); }
.decision .note b { color: var(--title); }
.pubs { display: grid; gap: 6px; }
.pub { display: flex; align-items: center; gap: 10px; font-size: 13px; padding: 8px 10px; border-radius: 9px; background: var(--bg); }
.pub svg { width: 16px; height: 16px; color: var(--title); }
.pub b { color: var(--title); }
.pub span { margin-left: auto; font-weight: 700; font-size: 12px; color: var(--text-2); }
.pub span.ok { color: var(--green); }
.pub span.err { color: var(--red); }

.thread-title { display: flex; align-items: center; justify-content: space-between; font-weight: 800; color: var(--title); font-size: 14px; }
.thread { display: grid; gap: 12px; }
.msg { display: flex; gap: 10px; animation: rise .35s var(--ease) both; }
.msg .bubble { flex: 1; min-width: 0; padding: 10px 13px; border-radius: 4px 12px 12px 12px; background: var(--bg); }
.msg.mine .bubble { background: #eef3f7; }
.msg .who { display: flex; align-items: center; gap: 8px; font-size: 12.5px; margin-bottom: 3px; flex-wrap: wrap; }
.msg .who b { color: var(--title); }
.msg .who time { color: var(--text-2); font-weight: 600; font-size: 12px; }
.msg .who .del { margin-left: auto; border: 0; background: none; color: var(--text-2); font-size: 12px; padding: 0; opacity: 0; }
.msg:hover .who .del { opacity: 1; }
.msg p { margin: 0; color: var(--title); white-space: pre-wrap; word-break: break-word; font-size: 14px; }
.slide-tag { display: inline-flex; align-items: center; gap: 4px; padding: 1px 7px; border-radius: 5px; border: 0; background: rgba(15,33,47,.08); color: var(--navy); font-weight: 800; font-size: 11px; }
.slide-tag:hover { background: var(--gold-s); }
.msg.ajuste .bubble { background: #fdf3f0; border: 1px solid rgba(210,84,58,.25); }
.msg.ajuste .kind { font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--red); }
.msg.ajuste.resolved .bubble { background: #f3faf6; border-color: rgba(31,157,106,.25); }
.msg.ajuste.resolved .kind { color: var(--green); }
.msg.ajuste.resolved p { color: var(--text-2); text-decoration: line-through; text-decoration-color: rgba(0,0,0,.25); }
.resolve-btn { margin-top: 8px; border: 1px solid var(--line); background: #fff; border-radius: 7px; padding: 4px 9px; font-size: 12px; font-weight: 700; color: var(--title); display: inline-flex; align-items: center; gap: 5px; }
.resolve-btn svg { width: 13px; height: 13px; }
.resolve-btn:hover { border-color: var(--green); color: var(--green); }
.sys { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--text-2); font-weight: 600; }
.sys::before, .sys::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.sys svg { width: 14px; height: 14px; }
.sys b { color: var(--title); }

.composer { flex: none; border-top: 1px solid var(--line); padding: 12px 16px 14px; background: #fff; display: grid; gap: 8px; }
.composer.adjust { background: #fdf6f4; border-top-color: rgba(210,84,58,.3); }
.composer .mode { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 800; color: var(--red); }
.composer .mode button { margin-left: auto; border: 0; background: none; color: var(--text-2); font-weight: 700; font-size: 12.5px; }
.composer textarea { width: 100%; resize: none; min-height: 46px; max-height: 160px; border: 1px solid var(--line); border-radius: 12px; padding: 11px 13px; outline: none; background: #fff; color: var(--title); }
.composer textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 4px var(--gold-s); }
.composer.adjust textarea:focus { border-color: var(--red); box-shadow: 0 0 0 4px var(--red-s); }
.composer .bar { display: flex; align-items: center; gap: 8px; }
.composer .bar .hint { font-size: 12px; color: var(--text-2); margin-right: auto; }
.chip-toggle { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 99px; border: 1px solid var(--line); background: #fff; font-size: 12px; font-weight: 700; color: var(--text); margin-right: auto; }
.chip-toggle svg { width: 13px; height: 13px; }
.chip-toggle.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip-toggle + .hint { margin-right: 0; }

/* Success splash */
.splash {
  position: absolute; inset: 0; z-index: 10; display: grid; place-items: center; text-align: center;
  background: rgba(15,33,47,.94); color: #fff; animation: fade .25s ease both;
}
.splash h3 { color: #fff; font-size: 1.7rem; margin: 18px 0 6px; }
.splash p { color: rgba(255,255,255,.7); margin: 0 0 22px; }
.splash .badge { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto; display: grid; place-items: center; background: var(--green); box-shadow: 0 0 0 12px rgba(31,157,106,.18), 0 0 0 26px rgba(31,157,106,.08); animation: pop .5s var(--ease) both; }
.splash .badge.adj { background: var(--red); box-shadow: 0 0 0 12px rgba(210,84,58,.18), 0 0 0 26px rgba(210,84,58,.08); }
.splash .badge.done { background: var(--gold); color: var(--navy); box-shadow: 0 0 0 12px rgba(222,163,53,.2), 0 0 0 26px rgba(222,163,53,.08); }
.splash .badge svg { width: 46px; height: 46px; stroke-width: 2.6; }
.splash .badge svg path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .5s .25s var(--ease) forwards; }
.splash .nets { justify-content: center; color: rgba(255,255,255,.8); gap: 10px; margin-bottom: 22px; }
.splash .nets span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; }
.splash .nets svg { width: 16px; height: 16px; }
.splash .bar-timer { width: 160px; height: 4px; border-radius: 99px; background: rgba(255,255,255,.15); margin: 0 auto 18px; overflow: hidden; }
.splash .bar-timer i { display: block; height: 100%; background: var(--gold); animation: timer 1.8s linear forwards; }

/* ---------- Form sheet ---------- */
.sheet-form { height: auto; max-height: calc(100vh - 40px); }
.sheet-form .sheet-top h2 { color: #fff; font-size: 16px; }
.form-grid { flex: 1; overflow: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 26px; padding: 24px 26px; background: #fff; }
.form-col { display: grid; gap: 16px; align-content: start; }
.type-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.type-opt { position: relative; display: grid; gap: 4px; padding: 14px; border-radius: 12px; border: 1.5px solid var(--line); cursor: pointer; transition: border-color .2s, box-shadow .2s, background .2s; }
.type-opt input { position: absolute; opacity: 0; pointer-events: none; }
.type-opt .t { display: flex; align-items: center; gap: 8px; font-weight: 800; color: var(--title); }
.type-opt .t svg { width: 20px; height: 20px; color: var(--gold-d); }
.type-opt small { color: var(--text-2); font-size: 12px; }
.type-opt .tiny-nets { display: flex; gap: 5px; color: var(--text-2); margin-top: 4px; }
.type-opt .tiny-nets svg { width: 14px; height: 14px; }
.type-opt:has(input:checked) { border-color: var(--gold); background: #fffaf0; box-shadow: 0 0 0 4px var(--gold-s); }
.type-opt:has(input:focus-visible) { outline: 2px solid var(--navy); outline-offset: 2px; }
.drop {
  display: grid; place-items: center; text-align: center; gap: 6px; padding: 26px 16px; border-radius: 14px;
  border: 2px dashed #cfd5da; background: var(--bg); cursor: pointer; transition: border-color .2s, background .2s;
}
.drop:hover, .drop.over { border-color: var(--gold); background: #fffaf0; }
.drop .ic { width: 50px; height: 50px; border-radius: 14px; background: #fff; display: grid; place-items: center; color: var(--gold-d); box-shadow: var(--sh-1); }
.drop .ic svg { width: 24px; height: 24px; }
.drop b { color: var(--title); }
.drop small { color: var(--text-2); }
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; }
.media-grid:empty { display: none; }
.mitem { position: relative; aspect-ratio: 4/5; border-radius: 10px; overflow: hidden; background: var(--navy); cursor: grab; box-shadow: var(--sh-1); }
.mitem.video { aspect-ratio: 9/16; max-width: 150px; }
.mitem img, .mitem video { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.mitem .n { position: absolute; left: 6px; top: 6px; width: 22px; height: 22px; border-radius: 6px; background: rgba(15,33,47,.75); color: #fff; font-size: 11.5px; font-weight: 800; display: grid; place-items: center; }
.mitem .x { position: absolute; right: 6px; top: 6px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(15,33,47,.75); color: #fff; display: grid; place-items: center; }
.mitem .x svg { width: 13px; height: 13px; }
.mitem .prog { position: absolute; inset: auto 8px 8px; height: 5px; border-radius: 99px; background: rgba(255,255,255,.3); overflow: hidden; }
.mitem .prog i { display: block; height: 100%; background: var(--gold); width: 0; transition: width .2s; }
.mitem .err { position: absolute; inset: 0; display: grid; place-items: center; padding: 8px; text-align: center; font-size: 11px; font-weight: 700; color: #fff; background: rgba(210,84,58,.85); }
.mitem.dragging { opacity: .4; }
.mitem.drag-over { outline: 3px solid var(--gold); }
.media-help { font-size: 12px; color: var(--text-2); margin-top: -6px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sheet-foot { display: flex; align-items: center; gap: 10px; padding: 14px 26px; border-top: 1px solid var(--line); background: #fff; flex: none; }
.sheet-foot .hint { margin-right: auto; font-size: 13px; color: var(--text-2); display: flex; align-items: center; gap: 8px; }
.sheet-foot .hint svg { color: var(--gold-d); }

/* ---------- Settings page ---------- */
.page { padding: 34px 0 60px; display: grid; gap: 22px; }
.page-head h1 { font-size: 1.8rem; }
.page-head p { margin: 4px 0 0; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pcard { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px; box-shadow: var(--sh-1); display: grid; gap: 12px; align-content: start; }
.pcard h3 { font-size: 1.05rem; }
.net-card .top { display: flex; align-items: center; gap: 12px; }
.net-card .logo { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: #fff; }
.net-card .logo svg { width: 22px; height: 22px; }
.net-card .logo.instagram { background: linear-gradient(45deg, #f9ce34, #ee2a7b 50%, #6228d7); }
.net-card .logo.linkedin { background: #0a66c2; }
.net-card .logo.youtube { background: #ff0033; }
.net-card .uses { display: flex; gap: 6px; flex-wrap: wrap; }
.net-card .uses span { font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 6px; background: var(--bg); color: var(--title); }
.conn { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; }
.conn::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--text-2); }
.conn.on { color: var(--green); } .conn.on::before { background: var(--green); }
.conn.off { color: var(--text-2); }
.rules { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rule { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 12px; background: var(--bg); flex-wrap: wrap; }
.rule .t { display: flex; align-items: center; gap: 8px; font-weight: 800; color: var(--title); }
.rule .t svg { color: var(--gold-d); }
.rule .arrow { color: var(--text-2); }
.rule .nets { color: var(--title); gap: 8px; }
.rule .nets span { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 700; padding: 4px 8px; background: #fff; border-radius: 7px; }
.kv { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.kv:last-child { border-bottom: 0; }
.kv b { color: var(--title); }

/* ---------- Toast ---------- */
#toasts { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 100; display: grid; gap: 8px; justify-items: center; width: min(520px, calc(100% - 24px)); }
.toast { display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 16px; border-radius: 12px; background: var(--navy); color: #fff; box-shadow: var(--sh-2); font-weight: 600; font-size: 14px; animation: rise .35s var(--ease) both; }
.toast.err { background: var(--red); }
.toast svg { color: var(--gold); }
.toast.err svg { color: #fff; }
.toast button { margin-left: 6px; border: 0; background: rgba(255,255,255,.12); color: var(--gold); font-weight: 800; padding: 6px 10px; border-radius: 8px; }

.loading { display: grid; place-items: center; padding: 80px 0; color: var(--text-2); }
.spinner { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--gold); animation: spin .8s linear infinite; }

@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: scale(.96) translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes timer { from { width: 0; } to { width: 100%; } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .days { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .day { min-height: 200px; }
}
@media (max-width: 920px) {
  .login { grid-template-columns: 1fr; }
  .login-art { padding: 32px 20px; }
  .login-steps { display: none; }
  .sheet { height: calc(100vh - 20px); }
  .overlay { padding: 10px; }
  .sheet-grid { grid-template-columns: 1fr; overflow: auto; }
  .stage { overflow: visible; padding: 18px 12px; min-height: auto; }
  .panel { min-height: auto; }
  .sheet-grid > * { min-height: auto; }
  .panel-scroll { overflow: visible; }
  .composer { position: sticky; bottom: 0; }
  .form-grid { grid-template-columns: 1fr; }
  .grid3 { grid-template-columns: 1fr; }
  .grid2, .rules { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  :root { --container: calc(100% - 32px); }
  .topbar-in { height: 62px; gap: 10px; }
  .brand img { height: 26px; }
  .brand-sep, .brand-app { display: none; }
  .nav button { padding: 8px 10px; font-size: 13.5px; white-space: nowrap; }
  .nav .lg { display: none; }
  .composer .bar .hint { display: none; }
  .chip-toggle { white-space: nowrap; }
  .user { padding-left: 10px; }
  .user > div { display: none; }
  .hero { padding-top: 26px; }
  .hero-stats { width: 100%; }
  .ring-card, .stat-list { flex: 1; }
  .cta-bar { flex-wrap: wrap; }
  .cta-bar .btn { width: 100%; }
  .days { grid-template-columns: 1fr; gap: 8px; }
  .day { min-height: 0; }
  .day-body { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .day.empty:not(.today) .day-head { padding-bottom: 4px; }
  .add-slot { opacity: 1; }
  .sheet-top { padding-left: 14px; }
  .sheet-top .title small { display: none; }
  .panel-scroll { padding: 18px 16px; }
  .sheet-foot { padding: 12px 16px; flex-wrap: wrap; }
  .sheet-foot .hint { width: 100%; }
  .sheet-foot .btn { flex: 1; }
  .form-grid { padding: 18px 16px; }
  .when { flex-wrap: wrap; }
  .net-chips { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
