/* Réplica visual do planner (studio-maker-hub.pages.dev): menu preto, pílula verde-clara,
   cartões brancos, botões pretos em pílula, números em Geist Mono. Desenhado em 1180x700 e escalado por JS. */
.pf-frame { position: relative; width: 100%; aspect-ratio: 1180 / 700; overflow: hidden; border-radius: 22px; background: #FBFBF8; --s: 1; }
.pf { position: absolute; left: 0; top: 0; width: 1180px; height: 700px; transform: scale(var(--s)); transform-origin: 0 0; display: flex; background: #FBFBF8; font-family: 'DM Sans', system-ui, sans-serif; color: #000; font-size: 13px; line-height: 1.35; text-align: left; }
.pf *, .pf *::before, .pf *::after { box-sizing: border-box; }
.pf h1, .pf h2, .pf h3, .pf h4, .pf p { margin: 0; }
.pf .mono { font-family: 'Geist Mono', ui-monospace, monospace; font-weight: 600; letter-spacing: -.02em; }
.pf-side { width: 172px; flex: none; margin: 10px 0 10px 10px; background: #000; color: #fff; border-radius: 18px; padding: 14px 10px; display: flex; flex-direction: column; gap: 3px; }
.pf-ws { display: flex; align-items: center; gap: 9px; padding: 4px 6px 16px; }
.pf-av { width: 30px; height: 30px; border-radius: 9px; background: #fff; color: #000; display: grid; place-items: center; font-size: 11px; font-weight: 700; flex: none; }
.pf-ws b { display: block; font-size: 12px; font-weight: 600; } .pf-ws small { font-size: 10px; opacity: .6; }
.pf-grp { font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; opacity: .45; padding: 12px 10px 4px; }
.pf-nav { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; font-size: 12.5px; color: rgba(255,255,255,.88); transition: background .35s, color .35s; }
.pf-nav svg { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pf-nav.on { background: #E1E5AC; color: #000; font-weight: 600; }
.pf-foot { margin-top: auto; border-top: 1px solid rgba(255,255,255,.14); padding: 12px 8px 2px; font-size: 10px; opacity: .6; }
.pf-main { flex: 1; position: relative; min-width: 0; }
.pf-screen { position: absolute; inset: 0; padding: 26px 28px 0; display: flex; flex-direction: column; gap: 14px; }
.pf-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.pf-title { font-family: 'Sora', sans-serif; font-weight: 600; font-size: 24px; letter-spacing: -.02em; }
.pf-sub { font-size: 11.5px; color: #5b5b5b; margin-top: 3px; }
.pf-btns { display: flex; gap: 8px; }
.pf-btn { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 14px; border-radius: 999px; background: #000; color: #fff; font-size: 12px; font-weight: 600; white-space: nowrap; }
.pf-btn svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.pf-btn.ghost { background: #fff; color: #000; border: 1px solid #E4E4DC; }
.pf-card { background: #fff; border-radius: 20px; padding: 18px 20px; }
.pf-seg { display: inline-flex; background: #EAEEF2; border-radius: 999px; padding: 3px; font-size: 11.5px; gap: 2px; }
.pf-seg span { padding: 5px 12px; border-radius: 999px; color: #555; } .pf-seg .on { background: #fff; color: #000; font-weight: 600; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.pf-chip { display: inline-block; font-size: 10px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: #EAEEF2; color: #333; }
.pf-chip.green { background: #DDF0DA; color: #1F5C2B; } .pf-chip.amber { background: #FAE9CE; color: #634000; } .pf-chip.sage { background: #E1E5AC; color: #3B4010; }
.pf-arrow { width: 28px; height: 28px; border-radius: 50%; background: #000; color: #fff; display: grid; place-items: center; flex: none; }
.pf-arrow svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Início */
.pf-in { display: grid; grid-template-columns: 1fr 226px; gap: 18px; height: 100%; }
.pf-in-l { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.pf-hello h1 { font-family: 'Sora'; font-size: 26px; font-weight: 600; letter-spacing: -.02em; }
.pf-steps { background: #fff; border-radius: 20px; padding: 14px 18px; display: flex; flex-direction: column; gap: 8px; }
.pf-steps header { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; } .pf-steps header small { color: #666; font-weight: 400; }
.pf-st { display: flex; align-items: center; gap: 10px; font-size: 12px; } .pf-st i { width: 18px; height: 18px; border-radius: 50%; background: #DDF0DA; flex: none; display: grid; place-items: center; font-style: normal; font-size: 10px; }
.pf-st.done { color: #777; text-decoration: line-through; } .pf-st.done i::after { content: ""; width: 7px; height: 4px; border-left: 2px solid #1F5C2B; border-bottom: 2px solid #1F5C2B; transform: rotate(-45deg) translate(1px, -1px); }
.pf-st:not(.done) i { background: #EAEEF2; }
.pf-need { background: #E1E5AC; border-radius: 20px; padding: 16px 20px; position: relative; color: #3B4010; }
.pf-need small { display: block; font-size: 11px; font-weight: 600; } .pf-need b { display: block; font-family: 'Sora'; font-size: 24px; font-weight: 600; margin: 4px 0 2px; color: #2B3008; } .pf-need p { font-size: 11px; opacity: .85; }
.pf-need .pf-arrow { position: absolute; right: 12px; top: 12px; }
.pf-money { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.pf-m { border-radius: 20px 20px 20px 20px; padding: 14px 16px; position: relative; min-height: 86px; }
.pf-m small { font-size: 11px; font-weight: 500; } .pf-m b { display: block; font-size: 21px; margin: 6px 0 4px; } .pf-m p { font-size: 10px; opacity: .75; }
.pf-m .pf-arrow { position: absolute; right: 10px; top: 10px; width: 24px; height: 24px; }
.pf-m.blue { background: #6AA6DA; } .pf-m.white { background: #fff; } .pf-m.sage { background: #E1E5AC; } .pf-m.black { background: #000; color: #fff; } .pf-m.black .pf-arrow { background: #CFE3F5; color: #000; } .pf-m.white .pf-arrow, .pf-m.blue .pf-arrow, .pf-m.sage .pf-arrow { background: #000; color: #fff; }
.pf-prod h3 { font-family: 'Sora'; font-size: 17px; font-weight: 600; } .pf-prod { background: #fff; border-radius: 20px; padding: 14px 16px 0; flex: 1; min-height: 0; overflow: hidden; }
.pf-mini { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 10px; }
.pf-mini .c { background: #EAEEF2; border-radius: 16px; padding: 8px; display: flex; flex-direction: column; gap: 6px; min-height: 120px; }
.pf-mini .c > span { background: #fff; border-radius: 999px; padding: 4px 10px; font-size: 11px; font-weight: 600; display: flex; justify-content: space-between; }
.pf-mini .o { background: #fff; border-radius: 10px; padding: 8px 10px; font-size: 11px; } .pf-mini .o small { display: block; color: #777; font-size: 9.5px; }
.pf-cal { background: #EAEEF2; border-radius: 20px; padding: 14px; display: flex; flex-direction: column; gap: 10px; align-self: start; }
.pf-cal header { display: flex; justify-content: space-between; align-items: center; font-size: 11px; } .pf-cal header b { background: #CFE3F5; color: #0B2E50; padding: 3px 9px; border-radius: 999px; font-weight: 600; }
.pf-cg { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px 0; text-align: center; font-size: 10.5px; }
.pf-cg i { font-style: normal; color: #777; font-size: 9px; } .pf-cg span { height: 24px; display: grid; place-items: center; border-radius: 50%; position: relative; }
.pf-cg .td { background: #000; color: #fff; font-weight: 700; } .pf-cg .dim { color: #aaa; } .pf-cg .ev::after { content: ""; position: absolute; bottom: -1px; width: 4px; height: 4px; border-radius: 50%; background: #B8741A; }
.pf-cal .pf-btn { justify-content: center; height: 34px; } .pf-cal h4 { font-family: 'Sora'; font-size: 14px; font-weight: 600; }
.pf-ev { background: #fff; border-radius: 12px; padding: 9px 11px; font-size: 11px; display: flex; gap: 9px; align-items: center; } .pf-ev b { width: 22px; height: 22px; border-radius: 50%; background: #EAEEF2; display: grid; place-items: center; font-size: 10px; flex: none; }

/* Pedidos */
.pf-tools { display: flex; align-items: center; gap: 10px; }
.pf-search { flex: 0 0 196px; height: 32px; border-radius: 999px; background: #fff; border: 1px solid #E4E4DC; padding: 0 14px; display: flex; align-items: center; font-size: 11.5px; color: #888; }
.pf-board { display: grid; grid-template-columns: repeat(4, 1fr) 40px 1fr; gap: 10px; flex: 1; min-height: 0; }
.pf-col { background: #EAEEF2; border-radius: 20px; padding: 10px; display: flex; flex-direction: column; gap: 8px; position: relative; }
.pf-col > h4 { background: #fff; border-radius: 999px; padding: 6px 12px; font-size: 12px; font-weight: 600; display: flex; align-items: center; gap: 7px; font-family: 'DM Sans'; }
.pf-col > h4 em { margin-left: auto; font-style: normal; color: #888; font-weight: 500; font-size: 11px; }
.pf-col > h4 i { width: 7px; height: 7px; border-radius: 50%; background: #aaa; }
.pf-col.slim { padding: 12px 0; align-items: center; } .pf-col.slim span { writing-mode: vertical-rl; font-size: 12px; font-weight: 600; margin-top: 8px; }
.pf-oc { background: #fff; border-radius: 14px; padding: 10px 12px; display: flex; flex-direction: column; gap: 3px; font-size: 11px; }
.pf-oc small { color: #777; font-size: 10px; } .pf-oc b { font-size: 13px; font-weight: 700; } .pf-oc .r { display: flex; align-items: center; gap: 6px; margin-top: 3px; }
.pf-oc .r span { font-size: 10.5px; color: #666; } .pf-oc .mv { font-size: 10.5px; font-weight: 600; margin-top: 3px; }
.pf-empty { font-size: 11px; color: #888; text-align: center; padding: 14px 6px; border: 1px dashed #cdd3da; border-radius: 12px; }
.pf-fly { position: absolute; z-index: 3; width: calc(100% - 20px); box-shadow: 0 12px 30px rgba(0,0,0,.18); }

/* Agenda */
.pf-ag { display: grid; grid-template-columns: 1fr 210px; gap: 16px; flex: 1; min-height: 0; padding-bottom: 20px; }
.pf-month { background: #fff; border-radius: 20px; padding: 14px 16px; display: flex; flex-direction: column; min-height: 0; }
.pf-month header { display: flex; justify-content: space-between; align-items: center; padding-bottom: 10px; font-family: 'Sora'; font-weight: 600; font-size: 14px; }
.pf-mg { display: grid; grid-template-columns: repeat(7, 1fr); border-top: 1px solid #EFEFE8; flex: 1; }
.pf-mg i { font-style: normal; font-size: 10px; color: #777; padding: 5px 6px; } .pf-mg > div { border-top: 1px solid #EFEFE8; border-left: 1px solid #EFEFE8; padding: 5px 6px; font-size: 10.5px; display: flex; flex-direction: column; gap: 3px; min-height: 60px; }
.pf-mg > div:nth-child(7n+8) { border-left: 0; }
.pf-mg .t b { background: #000; color: #fff; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; } .pf-mg .t { outline: 1.5px solid #000; outline-offset: -1.5px; }
.pf-pill { font-size: 9px; padding: 2px 6px; border-radius: 6px; background: #EAEEF2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-pill.k { background: #000; color: #fff; } .pf-pill.a { background: #FAE9CE; color: #634000; } .pf-pill.p { background: #F7DCE6; color: #7A1C45; } .pf-pill.b { background: #CFE3F5; color: #0B2E50; }

/* Finanças */
.pf-fin { display: grid; grid-template-columns: 1fr 250px; gap: 12px; }
.pf-bal { background: #000; color: #fff; border-radius: 20px; padding: 20px 22px; grid-row: span 3; display: flex; flex-direction: column; gap: 6px; }
.pf-bal small { font-size: 11px; opacity: .8; } .pf-bal .big { font-size: 46px; line-height: 1; margin: 4px 0; } .pf-bal .tr { font-size: 10px; background: rgba(255,255,255,.14); padding: 3px 9px; border-radius: 999px; align-self: flex-start; }
.pf-bal ul { list-style: none; margin: 14px 0 0; padding: 0; border-top: 1px solid rgba(255,255,255,.18); } .pf-bal li { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.14); font-size: 12px; }
.pf-st3 { background: #fff; border-radius: 20px; padding: 14px 18px; display: flex; flex-direction: column; gap: 4px; } .pf-st3 header { display: flex; justify-content: space-between; font-size: 11px; color: #555; } .pf-st3 b { font-size: 21px; }
.pf-fall { display: flex; flex-direction: column; gap: 10px; } .pf-fr { display: flex; justify-content: space-between; align-items: center; font-size: 12px; padding: 8px 0; border-bottom: 1px solid #EFEFE8; } .pf-fr small { display: block; color: #777; font-size: 10px; } .pf-fr em { font-style: normal; color: #1F5C2B; font-weight: 600; font-size: 10.5px; }

/* Orçamentos */
.pf-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; } .pf-3 .pf-card small { font-size: 11px; color: #555; display: block; } .pf-3 .pf-card b { font-size: 22px; display: block; margin: 5px 0 2px; } .pf-3 .pf-card p { font-size: 10px; color: #777; }
.pf-tabs { display: flex; justify-content: space-between; align-items: center; }
.pf-list { display: flex; flex-direction: column; gap: 8px; }
.pf-row { background: #fff; border-radius: 16px; padding: 12px 16px; display: flex; align-items: center; gap: 12px; } .pf-row .av { width: 30px; height: 30px; border-radius: 50%; background: #EAEEF2; display: grid; place-items: center; font-weight: 700; font-size: 11px; } .pf-row b { font-size: 13px; } .pf-row small { display: block; color: #777; font-size: 10.5px; } .pf-row .mono { margin-left: auto; font-size: 14px; }

/* Produtos / calculadora */
.pf-pr { display: grid; grid-template-columns: 1fr 330px; gap: 16px; flex: 1; min-height: 0; padding-bottom: 20px; }
.pf-prod-row { background: #fff; border-radius: 18px; padding: 14px 18px; display: flex; flex-direction: column; gap: 6px; } .pf-prod-row .t { display: flex; justify-content: space-between; font-size: 14px; font-weight: 700; } .pf-prod-row small { color: #777; font-size: 11px; } .pf-prod-row .ch { display: flex; gap: 6px; }
.pf-calc { background: #fff; border-radius: 20px; padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; } .pf-calc h3 { font-family: 'Sora'; font-size: 15px; font-weight: 600; }
.pf-calc .ln { display: flex; justify-content: space-between; font-size: 12px; padding: 7px 0; border-bottom: 1px solid #EFEFE8; }
.pf-calc .out { margin-top: 4px; background: #E1E5AC; border-radius: 16px; padding: 14px 16px; color: #2B3008; } .pf-calc .out small { font-size: 11px; font-weight: 600; } .pf-calc .out b { display: block; font-size: 30px; margin-top: 2px; }

/* Catálogo */
.pf-cat { display: grid; grid-template-columns: 1fr 230px; gap: 16px; }
.pf-link { background: #fff; border-radius: 20px; padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; } .pf-link .top { display: flex; justify-content: space-between; align-items: flex-start; } .pf-link h3 { font-size: 14px; font-weight: 700; }
.pf-url { background: #EAEEF2; border-radius: 8px; padding: 9px 12px; font-size: 11px; }
.pf-phone-prev { background: #fff; border-radius: 20px; padding: 18px; }
@media (prefers-reduced-motion: reduce) { .pf-nav { transition: none; } }
