[hidden] { display: none !important; }
:root {
  /* visual minimalista: branco, cinzas e preto; cor só nos detalhes */
  --bg: #fafafa; --card: #fff; --fg: #1c1c1c; --muted: #8b8b8b; --line: #ededed; --soft: #f5f5f5;
  --accent: #1c1c1c; --accent-soft: #f2f2f2; --danger: #b5544c; --ok: #5f8a6c; --warn: #a3803f;
  --radius: 10px; --side: 220px;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--fg); font: 14px/1.55 Montserrat, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
h1 { font-size: 22px; font-weight: 600; letter-spacing: -.01em; margin: 0; line-height: 1.2; } h2 { font-size: 13px; font-weight: 600; margin: 0 0 12px; } h3 { font-size: 13px; font-weight: 600; margin: 0 0 8px; }
.muted { color: var(--muted); } .small { font-size: 12.5px; } .grow { flex: 1; }
.loading { min-height: 100vh; display: grid; place-items: center; color: var(--muted); }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.spread { justify-content: space-between; }

/* Layout */
.layout { display: grid; grid-template-columns: var(--side) 1fr; min-height: 100vh; }
.side { background: var(--bg); border-right: 1px solid var(--line); padding: 26px 14px; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; }
.side .brand { font-weight: 600; font-size: 15px; letter-spacing: -.01em; padding: 0 10px 24px; }
.side .brand small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; }
.nav a { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 7px; text-decoration: none; color: var(--muted); font-weight: 400; }
.nav a:hover { background: var(--soft); color: var(--fg); }
.nav a.on { background: #efefef; color: var(--fg); font-weight: 500; }
.nav svg { width: 17px; height: 17px; flex: none; stroke-width: 1.6; }
.side .me { margin-top: auto; padding: 12px 10px 0; border-top: 1px solid var(--line); font-size: 13px; }
.side .me button { background: none; border: 0; padding: 0; color: var(--muted); cursor: pointer; font: inherit; font-size: 12.5px; }
.side .me button:hover { color: var(--fg); }
main { padding: 32px 40px 60px; min-width: 0; max-width: 1480px; }
.page-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
@media (max-width: 820px) {
  .layout { grid-template-columns: 1fr; }
  .side { position: fixed; bottom: 0; top: auto; left: 0; right: 0; height: auto; z-index: 30; flex-direction: row; padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); border-right: 0; border-top: 1px solid var(--line); background: rgba(255,255,255,.96); }
  .side .brand, .side .me { display: none; }
  .nav { display: flex; width: 100%; justify-content: space-around; }
  .nav a { flex-direction: column; gap: 2px; font-size: 11px; padding: 6px 8px; }
  main { padding: 18px 14px 90px; }
}

/* Componentes */
.btn { display: inline-flex; align-items: center; gap: 6px; border: 1px solid #e2e2e2; background: var(--card); color: var(--fg); padding: 7px 14px; border-radius: 7px; font: inherit; font-weight: 500; cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn:hover { border-color: #c9c9c9; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { background: #333; border-color: #333; }
.btn.danger { color: var(--danger); }
.btn.small { padding: 5px 10px; font-size: 13px; }
.btn.ghost { border-color: transparent; background: transparent; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.grid2 { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 18px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.grid-side { display: grid; grid-template-columns: minmax(0,1fr) 360px; gap: 18px; align-items: start; }
@media (max-width: 1100px) { .grid3 { grid-template-columns: minmax(0,1fr); } .grid-side { grid-template-columns: minmax(0,1fr); } }
@media (max-width: 820px) { .grid2 { grid-template-columns: minmax(0,1fr); } }
.stack > * + * { margin-top: 18px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-bottom: 18px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.stat .n { font-size: 26px; font-weight: 500; letter-spacing: -.02em; line-height: 1.1; }
.stat .l { color: var(--muted); font-size: 12.5px; }
.stat.alert .n { color: var(--danger); }

.badge { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 500; padding: 2px 9px; border-radius: 99px; background: var(--soft); white-space: nowrap; }
.badge i { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.avatar { width: 24px; height: 24px; border-radius: 50%; background: #f0f0f0; color: #6b6b6b; font-size: 10px; font-weight: 600; display: inline-grid; place-items: center; flex: none; }

input, select, textarea { width: 100%; font: inherit; padding: 9px 11px; border: 1px solid #e4e4e4; border-radius: 7px; background: #fff; color: var(--fg); }
input:focus, select:focus, textarea:focus { outline: 3px solid #ededed; border-color: #bdbdbd; }
textarea { min-height: 80px; resize: vertical; }
label { display: block; font-size: 12.5px; font-weight: 400; margin-bottom: 4px; color: var(--muted); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .full { grid-column: 1 / -1; }
/* galeria de seleção */
.gal-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; align-items: start; }
@media (max-width: 1000px) { .gal-grid { grid-template-columns: minmax(0, 1fr); } }
.gtabs { display: flex; gap: 8px; }
.gtabs button { font: inherit; font-size: 13px; background: var(--card); border: 1px solid var(--line); border-radius: 99px; padding: 6px 12px; cursor: pointer; color: var(--fg); display: inline-flex; gap: 6px; }
.gtabs button b { font-weight: 600; }
.gtabs button.on { background: var(--fg); border-color: var(--fg); color: #fff; }
.drop { display: flex; flex-direction: column; align-items: center; gap: 4px; border: 1.5px dashed #d6d6d6; border-radius: 12px; padding: 22px 16px; text-align: center; cursor: pointer; margin-bottom: 14px; transition: background .15s, border-color .15s; }
.drop:hover, .drop.over { background: #f6f6f6; border-color: #b9b9b9; }
#upProg { margin-bottom: 14px; } #upProg .fbar { margin-top: 6px; }
.gthumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.gth { position: relative; border-radius: 8px; overflow: hidden; background: #f0f0f0; }
.gth img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.gth.picked { box-shadow: 0 0 0 2.5px var(--fg); }
.gheart { position: absolute; top: 6px; left: 6px; background: #fff; color: #c0574b; border-radius: 50%; width: 22px; height: 22px; display: grid; place-items: center; font-size: 13px; }
.gdel { position: absolute; top: 5px; right: 5px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(0,0,0,.55); color: #fff; cursor: pointer; opacity: 0; transition: opacity .15s; line-height: 1; }
.gth:hover .gdel { opacity: 1; }
@media (hover: none) { .gdel { opacity: .8; } }
.gname { font-size: 11px; color: var(--muted); padding: 4px 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: var(--card); }
.gstatus { font-size: 13.5px; color: #555; background: var(--soft, #f4f4f4); border-radius: 8px; padding: 9px 12px; }
.gstatus.ok { background: #eef3ef; color: #3f6b4c; }
.gnames { width: 100%; min-height: 90px; font-size: 12.5px; color: #555; background: var(--soft, #f4f4f4); }
/* lista de galerias */
.gal-top { display: grid; grid-template-columns: 230px minmax(0, 1fr) minmax(0, 1.4fr); gap: 18px; margin-bottom: 22px; }
@media (max-width: 1100px) { .gal-top { grid-template-columns: 1fr 1fr; } .grecent { grid-column: 1 / -1; } }
.gnums { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px; }
.gnums div { display: flex; align-items: baseline; gap: 10px; }
.gnums div + div { border-top: 1px solid var(--line); padding-top: 10px; }
.gnums b { font-size: 24px; font-weight: 500; min-width: 34px; letter-spacing: -.02em; }
.gnums span { color: var(--muted); font-size: 13px; }
.gspace { display: flex; flex-direction: column; gap: 10px; }
.gspace-n b { font-size: 26px; font-weight: 500; letter-spacing: -.02em; }
.gspace-bar { height: 8px; background: var(--soft); border-radius: 99px; overflow: hidden; }
.gspace-bar i { display: block; height: 100%; background: #8fb59a; border-radius: 99px; }
.grecent .li { text-decoration: none; color: inherit; align-items: center; }
.gmini { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: var(--soft); flex: none; display: block; }
.gfilters { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.glist { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.gcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow .15s, transform .15s; }
.gcard:hover { box-shadow: 0 6px 20px rgba(0,0,0,.07); transform: translateY(-1px); }
.gcover { position: relative; aspect-ratio: 4 / 3; background: #efefef; display: grid; place-items: center; color: var(--muted); font-size: 13px; }
.gcover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gst { position: absolute; left: 10px; bottom: 10px; font-size: 11.5px; font-weight: 500; padding: 3px 10px; border-radius: 99px; background: rgba(255,255,255,.94); color: #555; }
.gst.ok { background: #eef3ef; color: #3f6b4c; } .gst.doing { background: #eef1f7; color: #4a5f86; }
.gst.late { background: #fbf1e6; color: #9a6a2f; } .gst.muted { color: var(--muted); }
.gnew { position: absolute; right: 10px; top: 10px; font-size: 11px; font-weight: 600; padding: 2px 9px; border-radius: 99px; background: #1c1c1c; color: #fff; }
.gbody { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 3px; }
.gtitle { font-weight: 600; }
.gmeta { display: flex; gap: 14px; font-size: 13px; margin-top: 4px; }
.gmeta b { font-weight: 600; } .gmeta em { font-style: normal; font-size: 12px; }
@media (max-width: 700px) { .gal-top { grid-template-columns: 1fr; gap: 12px; } .gnums { flex-direction: row; padding: 14px 16px; } .gnums div { flex: 1; flex-direction: column; gap: 0; } .gnums div + div { border-top: 0; padding-top: 0; border-left: 1px solid var(--line); padding-left: 12px; } .gnums span { font-size: 12px; line-height: 1.3; } }
.pwbox { font-size: 24px; font-weight: 600; letter-spacing: .08em; text-align: center; background: var(--soft); border-radius: 10px; padding: 14px; margin: 8px 0 14px; font-variant-numeric: tabular-nums; }
.warn-card { background: #fbf6ec; border-color: #eadcbf; color: #7a5b25; margin-bottom: 18px; }
.cities { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -6px 0 18px; }
.cities-label { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.cchip { font: inherit; font-size: 13px; background: var(--card); border: 1px solid var(--line); border-radius: 99px; padding: 6px 12px; cursor: pointer; color: var(--fg); display: inline-flex; gap: 6px; align-items: center; }
.cchip b { font-weight: 600; background: var(--soft, #f2f2f2); border-radius: 99px; padding: 0 7px; font-size: 12px; }
.cchip.none { color: var(--muted); }
.cchip.on { background: var(--fg); border-color: var(--fg); color: #fff; }
.cchip.on b { background: rgba(255,255,255,.18); }
.kid-rows { display: grid; gap: 8px; margin-bottom: 8px; }
.kid-row { display: grid; grid-template-columns: minmax(0,1fr) 170px 32px; gap: 8px; align-items: center; }
.kid-del { background: none; border: 0; color: var(--muted); font-size: 20px; cursor: pointer; padding: 0; }
.kid-del:hover { color: var(--fg); }
@media (max-width: 560px) { .kid-row { grid-template-columns: minmax(0,1fr) 32px; } .kid-row input[type=date] { grid-row: 2; } }
.form .check { display: flex; gap: 8px; align-items: center; } .form .check input { width: auto; }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }
.search { max-width: 320px; }

/* Listas */
.list { display: flex; flex-direction: column; }
.li { display: flex; gap: 12px; align-items: center; padding: 11px 4px; border-bottom: 1px solid var(--line); cursor: pointer; }
.li:last-child { border-bottom: 0; }
.li:hover { background: #fafafa; }
.li .main { flex: 1; min-width: 0; }
.li .t { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.li .s { font-size: 12.5px; color: var(--muted); }
.li .ico { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; flex: none; font-size: 10px; font-weight: 600; color: #8b8b8b; background: var(--soft); }
.li input[type=checkbox] { width: 18px; height: 18px; flex: none; accent-color: var(--accent); cursor: pointer; }
.li.done .t { text-decoration: line-through; color: var(--muted); }
.late { color: var(--danger) !important; }
.empty { color: var(--muted); padding: 14px 4px; font-size: 13.5px; }

table.tbl { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.tbl th { text-align: left; font-size: 12px; font-weight: 600; color: var(--muted); padding: 10px 14px; background: #fcfcfc; border-bottom: 1px solid var(--line); }
.tbl td { padding: 11px 14px; border-bottom: 1px solid var(--line); }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr { cursor: pointer; } .tbl tbody tr:hover { background: #fafafa; }
@media (max-width: 820px) { .tbl .hide-m { display: none; } }

/* Funil (kanban) */
.kanban { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 12px; align-items: flex-start; }
.col { flex: 0 0 260px; background: #f3f3f3; border-radius: var(--radius); padding: 10px; display: flex; flex-direction: column; max-height: calc(100vh - 150px); }
.col.over { outline: 2px dashed var(--accent); outline-offset: -2px; }
.col-head { display: flex; align-items: center; gap: 8px; padding: 2px 4px 10px; font-weight: 500; font-size: 13px; }
.col-head i { width: 7px; height: 7px; border-radius: 50%; }
.col-head .c { color: var(--muted); font-weight: 500; }
.col-head .v { margin-left: auto; color: var(--muted); font-weight: 500; font-size: 12px; }
.cards { display: flex; flex-direction: column; gap: 8px; overflow-y: auto; min-height: 40px; }
.kcard { background: var(--card); border-radius: 8px; padding: 11px 13px; box-shadow: none; cursor: grab; border: 1px solid transparent; }
.kcard:hover { border-color: #dcdcdc; }
.kcard.dragging { opacity: .4; }
.kcard .t { font-weight: 500; font-size: 13.5px; }
.kcard .s { font-size: 12.5px; color: var(--muted); }
.kcard .f { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 12px; color: var(--muted); }
.kcard .f .v { margin-left: auto; font-weight: 500; color: var(--fg); }
.kcard .stale { color: var(--warn); font-size: 11.5px; margin-top: 4px; }
.col-add { margin-top: 8px; background: none; border: 0; color: var(--muted); padding: 6px; border-radius: 6px; cursor: pointer; font: inherit; font-size: 13px; text-align: left; }
.col-add:hover { background: rgba(255,255,255,.6); color: var(--fg); }

/* Agenda */
.cal { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cal-head { display: grid; grid-template-columns: repeat(7, 1fr); background: #fff; border-bottom: 1px solid var(--line); }
.cal-head div { padding: 9px 8px; font-size: 11.5px; font-weight: 400; color: var(--muted); text-align: center; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.day { min-height: 108px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 5px; position: relative; min-width: 0; }
.day:nth-child(7n) { border-right: 0; }
.day.other { background: #fcfcfc; } .day.other .num { color: #cfcfcf; }
.day .num { font-size: 12px; font-weight: 500; margin: 0 0 4px 3px; display: inline-block; }
.day.today .num { background: var(--fg); color: #fff; border-radius: 99px; padding: 0 7px; }
.day .plus { position: absolute; top: 4px; right: 4px; border: 0; background: none; color: var(--muted); cursor: pointer; opacity: 0; font-size: 16px; line-height: 1; }
.day:hover .plus { opacity: 1; }
.ev { display: block; font-size: 11.5px; padding: 2px 6px; border-radius: 4px; color: #3a3a3a; margin-bottom: 3px; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev.session { background: #efefef; color: var(--fg); font-weight: 500; }
.ev.delivery { background: #f8f4ec; color: #8a7451; }
.ev.task { background: transparent; color: var(--muted); }
.ev.task.done { text-decoration: line-through; color: var(--muted); }
.legend { display: flex; gap: 14px; font-size: 12.5px; color: var(--muted); }
.legend span::before { content: ''; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.legend .l1::before { background: #efefef; border: 1px solid #bdbdbd; }
.legend .l2::before { background: #f8f4ec; border: 1px solid #cdbb98; }
.legend .l3::before { background: #fff; border: 1px solid #d6d6d6; }
@media (max-width: 820px) { .day { min-height: 64px; padding: 3px; } .ev { font-size: 0; height: 6px; padding: 0; margin-bottom: 2px; } }

/* Anotações */
.notes .note { padding: 10px 0; border-bottom: 1px solid var(--line); }
.notes .note:last-child { border-bottom: 0; }
.notes .note .meta { font-size: 12px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.notes .note .body { white-space: pre-wrap; margin-top: 4px; }
.notes .note .x { margin-left: auto; background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 12px; }
.kv { display: grid; grid-template-columns: 110px 1fr; gap: 7px 12px; font-size: 13.5px; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; word-break: break-word; }

/* Modal */
.modal-bg { position: fixed; inset: 0; background: rgba(20,20,20,.28); z-index: 50; display: grid; place-items: center; padding: 16px; }
.modal { background: var(--card); border-radius: 14px; width: 100%; max-width: 560px; max-height: 92vh; overflow: auto; padding: 26px; box-shadow: 0 16px 40px rgba(0,0,0,.12); }
.modal h2 { font-size: 17px; font-weight: 600; margin-bottom: 18px; }
.modal-actions { grid-column: 1 / -1; display: flex; gap: 8px; align-items: center; margin-top: 6px; }

/* Login */
.login { min-height: 100vh; display: grid; place-items: center; padding: 20px; }
.login .card { width: 100%; max-width: 380px; padding: 28px; }
.login h1 { margin-bottom: 4px; }
.login form { display: grid; gap: 12px; margin-top: 18px; }

.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--fg); color: #fff; padding: 10px 18px; border-radius: 99px; z-index: 100; font-size: 14px; box-shadow: 0 6px 20px rgba(0,0,0,.2); }
.toast.error { background: var(--danger); }
@media (max-width: 820px) { .toast { bottom: 84px; } }
.only-m { display: none; }
@media (max-width: 820px) {
  .stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat { padding: 12px; } .stat .n { font-size: 22px; }
  .only-m { display: flex; }
}
.ev.google { background: #f4f6f9; color: #3a3a3a; }
.legend .l4::before { background: #f4f6f9; border: 1px solid #a9b6c9; }
.gico { background: #f4f6f9 !important; color: #7d8ba1; font-weight: 600; }
.gbadge { background: #f3f3f3; color: #8b8b8b; font-size: 11px; font-weight: 500; padding: 1px 7px; border-radius: 99px; }
.ginfo { grid-column: 1 / -1; background: #fafafa; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font-size: 13.5px; }
.ginfo .when { font-weight: 500; }
.ginfo .desc { white-space: pre-wrap; color: var(--muted); margin-top: 6px; max-height: 120px; overflow: auto; }

/* agendas do Google: cor e filtro */
.caldot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 5px; vertical-align: 0; flex: none; }
.calbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: -6px 0 14px; }
.callist { display: flex; gap: 6px; flex-wrap: wrap; }
.calchip { border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: 3px 10px; font-size: 12.5px; cursor: pointer; color: inherit; display: inline-flex; align-items: center; }
.calchip.on { border-color: #bdbdbd; background: #f2f2f2; font-weight: 500; }

/* bolinha do status do Google Agenda */
.sync { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #8fb09a; margin-right: 7px; vertical-align: 1px; }
.sync.late { background: #cdb07a; } .sync.off { background: #d0d0d0; }

/* ficha de cadastro */
.linkbox input { font-size: 13px; color: var(--muted); background: var(--soft); cursor: text; }
.msgprev { margin-top: 14px; background: #f4f7f4; border-radius: 10px 10px 10px 2px; padding: 10px 13px; font-size: 13.5px; color: #3a3a3a; white-space: pre-wrap; word-break: break-word; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--fg); text-decoration: underline; cursor: pointer; }
.newdot { width: 7px; height: 7px; border-radius: 50%; background: #5f8a6c; flex: none; }
.newtag { font-size: 11px; font-weight: 500; color: #5f8a6c; background: #eef3ef; padding: 1px 7px; border-radius: 99px; margin-left: 4px; }
h2 .count { font-weight: 500; color: var(--muted); margin-left: 4px; }

/* marca do estúdio */
.side .brand { text-align: center; }
.side .brand img { display: block; width: 40px; height: auto; margin: 0 auto 12px; }
.login-logo { display: block; width: 190px; max-width: 70%; margin: 4px auto 26px; }

/* ---------- Início ---------- */
:root { --serif: 'Instrument Serif', Georgia, serif; }
.hero { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-date { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.hero-title { font-family: var(--serif); font-weight: 400; font-size: 46px; letter-spacing: -.005em; line-height: 1.1; margin: 6px 0 6px; }
.hero-sub { color: #6b6b6b; font-size: 15px; }
.strip-head { display: flex; justify-content: space-between; align-items: baseline; margin: 0 2px 10px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.strip-head .linkbtn { text-transform: none; letter-spacing: 0; font-size: 13px; }
.month-cal { margin-bottom: 22px; }
.month-cal.anim { animation: mcopen .25s ease; }
@keyframes mcopen { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.mc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.mc-head h2 { margin: 0; font-size: 16px; }
.mc-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.mc-wd { text-align: center; font-size: 11.5px; color: var(--muted); padding-bottom: 4px; }
.mc-day { font: inherit; color: var(--fg); background: none; border: 1px solid transparent; border-radius: 10px; padding: 8px 2px 6px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 4px; min-height: 52px; }
.mc-day:hover { border-color: var(--line); }
.mc-day .mc-n { font-size: 15px; font-weight: 500; }
.mc-day .wdots { display: flex; gap: 3px; height: 8px; align-items: center; }
.mc-day .wdots i { width: 6px; height: 6px; border-radius: 50%; display: block; }
.mc-day .wdots b { font-size: 10px; color: var(--muted); font-weight: 500; }
.mc-day.out { color: #c8c8c8; }
.mc-day.today .mc-n { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.mc-day.on { background: var(--fg); color: #fff; }
.mc-day.on .wdots b { color: rgba(255,255,255,.7); }
@media (max-width: 560px) { .mc-grid { gap: 2px; } .mc-day { min-height: 44px; padding: 6px 0 4px; } .mc-day .wdots i { width: 5px; height: 5px; } }
.weekstrip { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; margin-bottom: 22px; }
.wday { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 6px 10px; display: flex; flex-direction: column; align-items: center; gap: 2px; cursor: pointer; font: inherit; color: var(--fg); transition: border-color .15s, background .15s; }
.wday:hover { border-color: #cfcfcf; }
.wday .wd { font-size: 11.5px; color: var(--muted); text-transform: capitalize; }
.wday .wn { font-size: 22px; font-weight: 500; line-height: 1.1; }
.wday .wdots { display: flex; gap: 3px; height: 8px; align-items: center; }
.wday .wdots i { width: 6px; height: 6px; border-radius: 50%; display: block; }
.wday .wdots b { font-size: 10px; color: var(--muted); font-weight: 500; }
.wday.today .wd { color: var(--fg); font-weight: 600; }
.wday.on { background: var(--fg); border-color: var(--fg); color: #fff; }
.wday.on .wd { color: rgba(255,255,255,.7); }
.home-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 18px; align-items: start; }
@media (max-width: 1100px) { .home-grid { grid-template-columns: minmax(0, 1fr); } }
.day-card h2 { font-size: 17px; font-weight: 600; }
.timeline { margin-top: 14px; }
.tl-item { display: grid; grid-template-columns: 62px 3px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 13px 6px; border-top: 1px solid var(--line); cursor: pointer; border-radius: 6px; }
.tl-item:first-child { border-top: 0; }
.tl-item:hover { background: #fafafa; }
.tl-time { font-size: 15px; font-weight: 500; padding-top: 14px; color: var(--fg); font-variant-numeric: tabular-nums; }
.tl-bar { align-self: stretch; border-radius: 3px; min-height: 40px; }
.tl-kind { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tl-title { font-weight: 500; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl-sub { font-size: 13px; color: var(--muted); }
.tl-item input[type=checkbox] { width: 18px; height: 18px; margin-top: 16px; accent-color: var(--fg); cursor: pointer; }
.empty-day { color: var(--muted); padding: 40px 0; text-align: center; font-family: var(--serif); font-style: italic; font-size: 24px; }
.adot { width: 8px; height: 8px; border-radius: 50%; flex: none; margin: 0 4px 0 6px; }
.late-dot { background: var(--danger); } .new-dot { background: #5f8a6c; } .wait-dot { background: #cdb07a; }
.mnums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 4px 0 18px; }
.mn { font-size: 22px; font-weight: 600; line-height: 1.15; white-space: nowrap; }
.ml { font-size: 12px; color: var(--muted); }
.fbar { display: flex; height: 8px; border-radius: 99px; overflow: hidden; background: var(--soft); gap: 2px; }
.fbar i { display: block; height: 100%; }
.flegend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; font-size: 12px; color: #6b6b6b; }
.flegend i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 5px; }
@media (max-width: 820px) {
  .hero-title { font-size: 34px; }
  .weekstrip { gap: 5px; } .wday { padding: 9px 2px 8px; border-radius: 10px; } .wday .wn { font-size: 22px; } .wday .wd { font-size: 10.5px; }
  .mn { font-size: 20px; } .tl-item { grid-template-columns: 50px 3px minmax(0, 1fr) auto; gap: 10px; }
}
.hero-title em { font-style: italic; }
/* cartão escuro com o próximo compromisso */
.hero-b { align-items: stretch; }
.hero-side { display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-end; gap: 12px; }
.nextpop { position: fixed; bottom: 24px; right: 24px; z-index: 40; width: 360px; max-width: calc(100vw - 32px); background: var(--fg); color: #fff; border-radius: 16px; box-shadow: 0 14px 40px rgba(0,0,0,.22); overflow: hidden;
  opacity: 0; transform: translateY(14px); transition: opacity .4s ease, transform .4s ease; pointer-events: none; }
.nextpop.show { opacity: 1; transform: none; pointer-events: auto; }
.np-body { padding: 16px 44px 16px 20px; cursor: pointer; }
.np-x { position: absolute; top: 8px; right: 10px; background: none; border: 0; color: rgba(255,255,255,.6); font-size: 22px; line-height: 1; cursor: pointer; padding: 4px 6px; }
.np-x:hover { color: #fff; }
.np-bar { height: 3px; background: rgba(255,255,255,.12); }
.np-bar i { display: block; height: 100%; background: rgba(255,255,255,.55); transform-origin: left; }
.nextpop.show .np-bar i { animation: npcount 10s linear forwards; }
.nextpop:hover .np-bar i { animation-play-state: paused; }
@keyframes npcount { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@media (max-width: 820px) { .nextpop { bottom: 84px; right: 16px; left: 16px; width: auto; max-width: none; } }
.nu-label { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.nu-row { display: flex; align-items: center; gap: 16px; margin-top: 6px; }
.nu-time { font-family: var(--serif); font-size: 40px; line-height: 1; }
.nu-title { font-weight: 500; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 240px; }
.nu-sub { font-size: 13px; color: rgba(255,255,255,.65); }
@media (max-width: 820px) { .hero-side { min-width: 0; width: 100%; } .nu-title { max-width: none; } }
.nu-main { min-width: 0; flex: 1; }
