body { background: #f6f3f2; }
.login { max-width: 360px; margin: 12vh auto; padding: 0 16px; }
.login h1 { font-size: 28px; margin-bottom: 18px; text-align: center; }

.app { display: grid; grid-template-columns: 220px 1fr; min-height: 100vh; }
nav.side { background: #fff; border-right: 1px solid var(--line); padding: 20px 12px; position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 2px; }
nav.side .brand { font-family: 'Fraunces', serif; font-size: 19px; padding: 0 10px 18px; line-height: 1.2; }
nav.side .brand small { display: block; font-family: 'Inter', sans-serif; font-size: 12px; color: var(--muted); margin-top: 4px; }
nav.side button { display: flex; align-items: center; justify-content: space-between; text-align: left; background: none; border: 0; padding: 10px 12px; border-radius: 10px; cursor: pointer; color: var(--muted); font-weight: 500; }
nav.side button:hover { background: #f6f1ef; color: var(--ink); }
nav.side button.on { background: var(--brand-soft); color: var(--brand-ink); }
nav.side .badge { background: var(--brand); color: #fff; border-radius: 999px; font-size: 11px; padding: 1px 7px; }
nav.side .foot { margin-top: auto; font-size: 12px; color: var(--muted); padding: 10px; display: grid; gap: 6px; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; padding: 3px 9px; border-radius: 999px; background: #f1ecea; color: var(--muted); white-space: nowrap; }
.pill.ok { background: color-mix(in srgb, var(--ok) 13%, white); color: var(--ok); }
.pill.warn { background: color-mix(in srgb, var(--warn) 14%, white); color: var(--warn); }
.pill.bad { background: color-mix(in srgb, var(--bad) 12%, white); color: var(--bad); }
.pill.brand { background: var(--brand-soft); color: var(--brand-ink); }

main.content { padding: 22px 26px 80px; min-width: 0; }
.top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.top h1 { font-size: 26px; margin-right: auto; }
.top .btn { width: auto; }
.btn.sm { padding: 8px 14px; font-size: 14px; width: auto; }
.btn.icon { padding: 8px 12px; width: auto; }

.alerts { display: grid; gap: 8px; margin-bottom: 14px; }
.alert { background: #fff; border-left: 4px solid var(--warn); border-radius: 10px; padding: 10px 14px; font-size: 14px; box-shadow: var(--shadow); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.alert.bad { border-color: var(--bad); }
.alert a { cursor: pointer; }

/* Agenda */
.cal { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: auto; max-height: calc(100vh - 160px); }
.cal-grid { display: grid; position: relative; min-width: min-content; }
.cal-head { position: sticky; top: 0; z-index: 3; background: #fff; border-bottom: 1px solid var(--line); padding: 10px 8px; font-weight: 600; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.cal-head .dot { width: 10px; height: 10px; border-radius: 50%; }
.cal-times { position: sticky; left: 0; z-index: 2; background: #fff; border-right: 1px solid var(--line); }
.cal-times div { font-size: 11px; color: var(--muted); text-align: right; padding-right: 8px; transform: translateY(-7px); }
.cal-col { position: relative; border-right: 1px solid var(--line); min-width: 190px; }
.cal-col .slotline { position: absolute; left: 0; right: 0; border-top: 1px solid #f3eeec; cursor: copy; }
.cal-col .slotline.hour { border-top-color: #e9e1de; }
.cal-col .slotline:hover { background: var(--brand-soft); }
.cal-col .closed { position: absolute; left: 0; right: 0; background: repeating-linear-gradient(135deg, #faf7f6, #faf7f6 6px, #f3eeec 6px, #f3eeec 12px); pointer-events: none; }
.ev { position: absolute; left: 4px; right: 4px; border-radius: 10px; padding: 6px 8px; font-size: 12px; overflow: hidden; cursor: pointer; border-left: 4px solid; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.08); z-index: 1; line-height: 1.3; }
.ev:hover { z-index: 2; box-shadow: 0 4px 14px rgba(0,0,0,.14); }
.ev b { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev .s { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev .tags { margin-top: 3px; display: flex; gap: 4px; flex-wrap: wrap; }
.ev .tags span { font-size: 10px; padding: 1px 6px; border-radius: 6px; background: #f1ecea; }
.ev.awaiting_payment { background: repeating-linear-gradient(135deg, #fffaf0, #fffaf0 8px, #fff4df 8px, #fff4df 16px); }
.ev.done { opacity: .6; }
.ev.no_show { opacity: .55; text-decoration: line-through; }
.ev.timeoff { background: #eee9e7; border-color: #bbb; color: var(--muted); cursor: default; }
.nowline { position: absolute; left: 0; right: 0; border-top: 2px solid var(--bad); z-index: 2; pointer-events: none; }

/* Tabelas / listas */
.panel { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font-weight: 600; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; padding: 12px 14px; border-bottom: 1px solid var(--line); background: #fcfaf9; }
td { padding: 11px 14px; border-bottom: 1px solid #f3eeec; vertical-align: top; }
tr.click { cursor: pointer; }
tr.click:hover td { background: #fcf8f7; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.mono { font-family: ui-monospace, monospace; font-size: 12px; }
.pre { white-space: pre-wrap; }

/* Drawer / modal */
.drawer-bg { position: fixed; inset: 0; background: rgba(43,34,38,.3); z-index: 20; animation: fade .15s; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(480px, 100vw); background: var(--bg); z-index: 21; overflow: auto; padding: 22px; box-shadow: -10px 0 40px rgba(0,0,0,.12); animation: slide .2s ease; }
@keyframes slide { from { transform: translateX(30px); opacity: 0; } to { transform: none; opacity: 1; } }
.drawer h2 { font-size: 22px; margin-bottom: 4px; }
.drawer .close { position: absolute; top: 14px; right: 14px; background: #fff; border: 0; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; font-size: 18px; box-shadow: var(--shadow); }
.drawer section { margin-top: 16px; }
.drawer section > h3 { font-family: 'Inter', sans-serif; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; margin-bottom: 8px; }
.btn-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.btn-grid .btn { padding: 11px 12px; font-size: 14px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.grid3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0 12px; }
.timeline { display: grid; gap: 8px; }
.msg { background: #fff; border-radius: 12px; padding: 10px 12px; font-size: 13px; box-shadow: var(--shadow); }
.msg .h { display: flex; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 12px; margin-bottom: 4px; }
.msg.in { background: var(--brand-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; font-size: 14px; user-select: none; }
.chip input { accent-color: var(--brand); margin: 0; }
.chip:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.hours-row { display: grid; grid-template-columns: 90px 1fr; gap: 10px; align-items: center; margin-top: 8px; font-size: 14px; }
.hours-row input { padding: 9px 12px; }

/* Conversas */
.chat { display: grid; grid-template-columns: 300px 1fr; gap: 14px; height: calc(100vh - 120px); }
.threads { overflow: auto; }
.thread { padding: 12px 14px; border-bottom: 1px solid #f3eeec; cursor: pointer; }
.thread:hover, .thread.on { background: var(--brand-soft); }
.thread .n { font-weight: 600; display: flex; justify-content: space-between; }
.thread .l { color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.convo { display: flex; flex-direction: column; }
.convo .msgs { flex: 1; overflow: auto; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.bubble { max-width: 75%; padding: 9px 12px; border-radius: 14px; font-size: 14px; white-space: pre-wrap; box-shadow: var(--shadow); }
.bubble.out { align-self: flex-end; background: #e7f6ec; }
.bubble.in { align-self: flex-start; background: #fff; }
.bubble small { display: block; color: var(--muted); font-size: 11px; margin-top: 4px; }
.convo form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.convo form textarea { resize: none; height: 46px; }

.toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 11px 18px; border-radius: 12px; z-index: 50; font-size: 14px; animation: fade .2s; }
.toast.bad { background: var(--bad); }

@media (max-width: 860px) {
  .app { grid-template-columns: 1fr; }
  nav.side { position: sticky; top: 0; z-index: 10; height: auto; flex-direction: row; overflow-x: auto; padding: 8px; border-right: 0; border-bottom: 1px solid var(--line); }
  nav.side .brand, nav.side .foot { display: none; }
  nav.side button { white-space: nowrap; }
  main.content { padding: 16px 12px 80px; }
  .chat { grid-template-columns: 1fr; height: auto; }
  .threads { max-height: 240px; }
  .convo { height: 70vh; }
  .grid3 { grid-template-columns: 1fr; }
  table .hide-m { display: none; }
}
.cal-times div:first-child { transform: none; }

/* ---------- Equipe ---------- */
.pro-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.pro-tile { padding: 0; overflow: hidden; }
.pro-tile-head { padding: 22px 12px 18px; text-align: center; min-height: 120px; display: grid; place-items: center; }
.pro-tile-head .logo-img.sm { width: 150px; max-height: 80px; object-fit: contain; }
.pro-tile-body { padding: 14px 16px 16px; display: grid; gap: 10px; }
.row-btns { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 3px; font-size: 13px; color: var(--muted); }
.checklist li.ok { color: var(--ok); }
.checklist.big { font-size: 15px; gap: 8px; margin: 10px 0 6px; }

/* ---------- Assistente ---------- */
.stepper { display: flex; gap: 6px; overflow-x: auto; margin-bottom: 16px; padding-bottom: 4px; }
.stepper button { display: flex; align-items: center; gap: 8px; border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 14px 7px 7px; cursor: pointer; white-space: nowrap; color: var(--muted); font-weight: 500; }
.stepper button span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #f1ecea; font-size: 12px; }
.stepper button.on { border-color: var(--brand); color: var(--ink); }
.stepper button.on span, .stepper button.done span { background: var(--brand); color: #fff; }
.stepper button[disabled] { opacity: .45; cursor: not-allowed; }
.wiz-card { max-width: 860px; }
.wiz-card h2 { font-size: 22px; margin-bottom: 4px; }
.wiz-card > p.muted { margin: 0 0 6px; }
.wiz-nav { display: flex; justify-content: space-between; align-items: center; max-width: 860px; margin-top: 16px; }
.sub-card { margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: #faf7f6; border: 1px solid var(--line); }
.sub-card h3, h3.lbl { font-family: var(--font-body); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; margin: 16px 0 8px; }
.sub-card h3 { margin-top: 0; }
.url-input { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; }
.url-input span { padding: 0 4px 0 14px; color: var(--muted); font-size: 14px; white-space: nowrap; }
.url-input input { border: 0; padding-left: 0; }
.wiz-split { display: grid; grid-template-columns: 1fr 300px; gap: 18px; align-items: start; max-width: 1100px; }
.phone-preview { position: sticky; top: 16px; text-align: center; }
.phone-frame { width: 300px; height: 600px; border-radius: 34px; border: 10px solid #1d1b1c; overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.phone-frame iframe { width: 375px; height: 750px; border: 0; transform: scale(.8); transform-origin: 0 0; }
.preset-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.preset { border: 2px solid; border-radius: 14px; padding: 14px 10px 10px; cursor: pointer; display: grid; gap: 8px; justify-items: center; }
.preset.sel { outline: 3px solid var(--brand); outline-offset: 2px; }
.preset .pv-name { font-size: 22px; line-height: 1; }
.preset .pv-btn { font-size: 11px; padding: 4px 10px; border-radius: 999px; font-weight: 600; }
.preset small { font-size: 11px; opacity: .8; }
.logo-box { min-height: 80px; border: 1.5px dashed var(--line); border-radius: 12px; display: grid; place-items: center; padding: 12px; background: repeating-conic-gradient(#f4f1f0 0% 25%, #fff 0% 50%) 50% / 16px 16px; }
.logo-box img { max-width: 240px; max-height: 120px; }
.table-scroll { overflow-x: auto; }
.svc-table td { padding: 6px 4px; vertical-align: top; }
.svc-table input { padding: 9px 10px; }
.svc-table .s-desc { margin-top: 4px; font-size: 12px; padding: 6px 10px; }
.svc-table td:nth-child(2), .svc-table td:nth-child(3), .svc-table td:nth-child(4), .svc-table td:nth-child(5) { width: 108px; }
.svc-table .s-act { white-space: nowrap; width: 60px; }
.days { display: grid; gap: 6px; margin-top: 8px; }
.day-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 8px 10px; border-radius: 12px; background: #faf7f6; }
.day-row.off .day-times { opacity: .35; pointer-events: none; }
.day-toggle { width: 110px; display: flex; gap: 8px; align-items: center; font-weight: 500; cursor: pointer; }
.day-toggle input, .lunch input { accent-color: var(--brand); width: 17px; height: 17px; }
.day-times { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.day-times input[type=time] { width: 112px; padding: 8px 10px; }
.lunch { display: flex; align-items: center; gap: 6px; margin-left: 6px; cursor: pointer; }
.lunch-times { display: inline-flex; gap: 8px; align-items: center; }
.pay-opts { display: grid; gap: 10px; margin-top: 10px; }
.pay-opt { display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid var(--line); border-radius: 14px; padding: 14px; cursor: pointer; background: #fff; }
.pay-opt.sel { border-color: var(--brand); background: var(--brand-soft); }
.pay-opt input { accent-color: var(--brand); margin-top: 4px; width: 18px; height: 18px; }
ol.guide { padding-left: 20px; display: grid; gap: 8px; font-size: 14px; margin: 10px 0; }
ol.guide code, .wiz-card code { background: #f1ecea; padding: 1px 6px; border-radius: 6px; font-size: 12px; }
@media (max-width: 980px) { .wiz-split { grid-template-columns: 1fr; } .phone-preview { position: static; } }

/* ---------- Caixa ---------- */
.filters { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.filters input[type=date], .filters select { width: auto; padding: 8px 10px; }
.seg { display: inline-flex; background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 3px; overflow-x: auto; max-width: 100%; }
.seg button { border: 0; background: none; padding: 6px 12px; border-radius: 999px; cursor: pointer; color: var(--muted); font-weight: 500; white-space: nowrap; }
.seg button.on { background: var(--brand); color: #fff; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin-bottom: 14px; }
.kpi { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px 16px; display: grid; gap: 2px; }
.kpi span { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
.kpi b { font-size: 26px; font-family: var(--font-display); font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink); }
.kpi small { color: var(--muted); font-size: 12px; }
.cx-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.hbar { display: grid; grid-template-columns: minmax(96px, 128px) 1fr auto; gap: 10px; align-items: center; font-size: 13px; margin: 7px 0; }
.hb-l { color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hb-track { height: 12px; }
.hb-fill { display: block; height: 100%; background: var(--brand); border-radius: 0 4px 4px 0; }
.hb-v { font-variant-numeric: tabular-nums; color: var(--ink); white-space: nowrap; }
table.mini th, table.mini td { padding: 6px 4px; font-size: 13px; }
.vbars { display: flex; align-items: flex-end; gap: 2px; height: 140px; padding-top: 8px; border-bottom: 1px solid var(--line); }
.vb { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; position: relative; cursor: default; outline: none; padding-bottom: 16px; }
.vb-fill { width: 100%; max-width: 22px; background: var(--brand); border-radius: 4px 4px 0 0; }
.vb:hover .vb-fill, .vb:focus .vb-fill { filter: brightness(.88); }
.vb-x { position: absolute; bottom: 0; font-size: 10px; color: var(--muted); }
.card { position: relative; }
.tip { position: absolute; top: 34px; transform: translateX(-50%); background: var(--ink); color: #fff; font-size: 12px; padding: 5px 9px; border-radius: 8px; pointer-events: none; white-space: nowrap; }
.unclosed { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; width: 100%; }
.unclosed .chip { font-size: 13px; padding: 5px 10px; }
.due { margin-top: 10px; font-size: 15px; }
.chip.on { border-color: var(--brand); background: var(--brand-soft); }
.pay-row { display: grid; grid-template-columns: 1fr 130px auto; gap: 8px; margin-top: 6px; }
.pay-row select, .pay-row input { padding: 10px 12px; }

/* ---------- Início ---------- */
.eyebrow { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.home-head { margin-bottom: 16px; }
.home-head h1 { font-size: 30px; margin: 4px 0 2px; }
.home-head p { margin: 0; }
.home-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); gap: 16px; align-items: start; }
.side-col { display: grid; gap: 14px; }
.hero-num { font-family: var(--font-display); font-size: 40px; font-weight: 600; font-variant-numeric: tabular-nums; margin-top: 4px; }
.up { color: var(--ok); font-weight: 600; } .down { color: var(--bad); font-weight: 600; }
.kpi b.neg { color: var(--bad); }
.goal-bar { height: 8px; border-radius: 8px; background: #f1ecea; margin: 12px 0 6px; overflow: hidden; }
.goal-bar span { display: block; height: 100%; background: var(--brand); border-radius: 8px; }
.chart-wrap { position: relative; margin-top: 12px; }
.mchart { width: 100%; height: auto; display: block; overflow: visible; }
.mchart .axis { stroke: var(--line); stroke-width: 1; }
.mchart .goal { stroke: var(--muted); stroke-width: 1.5; stroke-dasharray: 2 4; }
.mchart .area { fill: var(--brand); opacity: .12; }
.mchart .line { fill: none; stroke: var(--brand); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.mchart .proj { stroke: var(--brand); stroke-width: 2; stroke-dasharray: 6 5; opacity: .6; }
.mchart .dot { fill: var(--brand); stroke: #fff; stroke-width: 2; }
.mchart .lbl { font-size: 11px; font-family: var(--font-body); }
.mchart .tick { font-size: 10px; fill: var(--muted); font-family: var(--font-body); }
.mchart .cross { stroke: var(--muted); stroke-width: 1; }
.mchart .hit { fill: transparent; cursor: crosshair; }
.chart-wrap .tip { top: 0; }
.legend { display: flex; gap: 16px; flex-wrap: wrap; color: var(--muted); margin-top: 6px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { display: inline-block; width: 18px; height: 0; border-top: 2px solid var(--brand); }
.legend i.lg-proj { border-top-style: dashed; opacity: .7; }
.legend i.lg-goal { border-top: 2px dotted var(--muted); }
.kpis.two { grid-template-columns: 1fr 1fr; margin: 0; }
.today-list { display: grid; gap: 6px; }
.today-item { display: grid; grid-template-columns: 48px 1fr auto; gap: 10px; align-items: center; text-align: left; background: #faf7f6; border: 0; border-radius: 12px; padding: 9px 10px; cursor: pointer; }
.today-item:hover { background: var(--brand-soft); }
.today-item span { display: flex; flex-direction: column; min-width: 0; }
.today-item span small { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.today-item .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: middle; }
.bill { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid #f3eeec; font-size: 14px; }
.bill span { display: flex; flex-direction: column; }
.bill small { color: var(--muted); font-size: 12px; }
.bill.late small { color: var(--bad); }
@media (max-width: 980px) { .home-grid { grid-template-columns: 1fr; } }

/* ---------- Agenda: pausas, brechas, semana, mês ---------- */
.cal-head small { font-weight: 400; font-size: 12px; }
.cal-col .closed { display: flex; align-items: center; justify-content: center; }
.cal-col .closed span { font-size: 12px; color: var(--muted); background: rgba(255,255,255,.85); padding: 2px 8px; border-radius: 6px; }
.gap { position: absolute; left: 6px; right: 6px; border: 1.5px dashed color-mix(in srgb, var(--ok) 55%, transparent); border-radius: 10px; color: var(--ok); font-size: 11px; padding: 3px 8px; cursor: copy; background: color-mix(in srgb, var(--ok) 5%, transparent); overflow: hidden; z-index: 0; }
.gap:hover { background: color-mix(in srgb, var(--ok) 12%, transparent); }
.gap-key { border: 1.5px dashed var(--ok); color: var(--ok); border-radius: 6px; padding: 0 5px; }
.week { display: grid; grid-template-columns: repeat(7, minmax(120px, 1fr)); gap: 8px; overflow-x: auto; }
.wk-day { background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 8px; min-height: 180px; display: flex; flex-direction: column; gap: 5px; }
.wk-day.today { outline: 2px solid var(--brand); }
.wk-day.closed-day { background: #faf7f6; }
.wk-head { display: flex; align-items: baseline; gap: 6px; border: 0; background: none; cursor: pointer; padding: 2px 2px 6px; text-align: left; }
.wk-head span { text-transform: uppercase; font-size: 11px; color: var(--muted); font-weight: 600; }
.wk-head b { font-size: 20px; font-family: var(--font-display); }
.wk-head small { margin-left: auto; color: var(--muted); font-size: 11px; }
.wk-ev { border-left: 3px solid; border-radius: 8px; background: #faf7f6; padding: 5px 7px; font-size: 12px; cursor: pointer; line-height: 1.3; }
.wk-ev .s { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wk-ev.pending, .wk-ev.awaiting_payment { background: #fff8ea; }
.wk-ev.done { opacity: .6; } .wk-ev.no_show { opacity: .5; text-decoration: line-through; }
.ev.pending { background: repeating-linear-gradient(135deg, #f6f3ff, #f6f3ff 8px, #eeeafc 8px, #eeeafc 16px); }
.month { max-width: 760px; }
.mo-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.mo-h { text-align: center; font-size: 12px; color: var(--muted); font-weight: 600; padding-bottom: 2px; }
.mo-day { border: 1.5px solid var(--line); background: #fff; border-radius: 10px; padding: 7px 4px 8px; cursor: pointer; display: grid; justify-items: center; gap: 2px; min-height: 66px; }
.mo-day:hover { border-color: var(--brand); }
.mo-day b { font-size: 16px; }
.mo-day small { font-size: 11px; color: var(--muted); }
.mo-day.closed { background: #faf7f6; }
.mo-day.past { opacity: .6; }
.mo-day.today { border-color: var(--ink); border-width: 2px; }
.occ { width: 70%; height: 4px; border-radius: 4px; background: #f1ecea; overflow: hidden; }
.occ span { display: block; height: 100%; background: var(--ok); border-radius: 4px; }
.occ span.full { background: var(--warn); }
.coupon-new { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.coupon-new input, .coupon-new select { width: auto; padding: 8px 10px; }
.coupon-new #cc { width: 130px; } .coupon-new #cv, .coupon-new #cm { width: 100px; }
.lunch-times[hidden] { display: none; }
