
:root{--forest:#d24f8d;--forest-dark:#b73f78;--mint:#fdeaf3;--text:#4a2740;--muted:#8b6b7c;--border:#f2dbe7;--bg:#fff7fb;--surface:#fff;--shadow:0 16px 48px rgba(125,45,86,.10);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--text);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--bg)}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}a{color:var(--forest)}[hidden]{display:none!important}
.app-shell{width:min(1040px,100%);margin:auto;min-height:100dvh;background:#fff;box-shadow:0 0 90px #f3dce8;position:relative;padding-bottom:100px}
.app-header{padding:24px clamp(20px,5vw,50px);display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--border)}
.brand{display:flex;gap:12px;align-items:center}.brand-icon,.logo-big{background:var(--forest);color:#fff;border-radius:14px;display:grid;place-items:center;width:44px;height:44px;font-weight:900;font-size:25px}.brand strong{display:block;font-size:19px;letter-spacing:-.6px}.brand small{display:block;color:var(--muted);font-size:12px;margin-top:2px}.header-button{width:40px;height:40px;background:#fff1f7;border:0;border-radius:12px;font-size:22px;color:var(--forest)}
main{padding:0 clamp(20px,5vw,50px)}
.hero{background:linear-gradient(126deg,#cf4f8c,#ef7bb0);color:#fff;border-radius:24px;padding:28px clamp(20px,4vw,34px);margin:30px 0 22px;position:relative;overflow:hidden}.hero:after{content:"";position:absolute;width:220px;height:220px;border:28px solid rgba(255,255,255,.08);border-radius:50%;top:-115px;right:-64px}.hero-inner{display:grid;grid-template-columns:minmax(0,1fr) 165px;align-items:center;gap:20px;position:relative;z-index:1}.eyebrow{color:#ffe3ef;font-size:10px;font-weight:900;letter-spacing:2px}.hero h1{font-size:clamp(24px,4vw,34px);line-height:1.18;margin:12px 0 10px;letter-spacing:-.8px;max-width:580px}.hero p{font-size:14px;color:#fff3f8;max-width:480px;margin:0;line-height:1.6}.hero-media{display:grid;justify-items:end;gap:10px}.hero-photo{width:148px;height:148px;border-radius:22px;background:rgba(255,255,255,.18);border:2px dashed rgba(255,255,255,.55);overflow:hidden;display:grid;place-items:center;box-shadow:0 8px 24px rgba(83,25,54,.18)}.hero-photo img{width:100%;height:100%;object-fit:cover}.hero-photo-placeholder{font-size:15px;font-weight:700;color:#fff;text-align:center;padding:10px}.hero-photo-button{border:0;background:#fff;color:var(--forest);padding:10px 14px;border-radius:12px;font-weight:800;box-shadow:0 7px 18px rgba(83,25,54,.12)}
.action-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.action-card{border-radius:20px;border:1px solid var(--border);background:#fff;padding:22px 20px;min-height:142px;text-align:left;display:flex;flex-direction:column;align-items:flex-start;position:relative;transition:transform .15s,box-shadow .15s}.action-card:hover{transform:translateY(-2px);box-shadow:var(--shadow)}.action-card strong{font-size:19px;letter-spacing:-.4px;margin:11px 0 3px}.action-card small{color:var(--muted);font-size:12px}.action-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:var(--mint);color:var(--forest);font-size:27px;line-height:1}.action-new,.action-product{border-color:#f0d5e3;background:#fff9fc}.action-arrow{position:absolute;top:20px;right:20px;color:#c9a8b8;font-size:20px}
.search-section{margin-top:31px}.section-head{display:flex;align-items:center;justify-content:space-between;margin:0 0 14px}.section-head h2{font-size:19px;letter-spacing:-.5px;margin:0}.section-head span{font-size:12px;color:var(--muted);background:#fff1f7;border-radius:50px;padding:5px 10px}
.search-wrap{display:flex;align-items:center;border:1px solid #ecd6e2;border-radius:14px;height:52px;padding:0 13px;background:#fffafd;gap:10px}.search-wrap:focus-within{border-color:var(--forest);box-shadow:0 0 0 3px #f6dbe8}.search-wrap span{font-size:25px;color:var(--forest)}.search-wrap input{border:0;outline:0;background:transparent;width:100%;min-width:0;font-size:15px;color:var(--text)}.search-wrap button{border:0;background:transparent;color:var(--muted);font-size:24px}
.client-list{margin-top:14px;display:grid;gap:9px}.client-card{border:1px solid var(--border);border-radius:15px;background:#fff;display:flex;gap:13px;align-items:center;padding:13px 14px;transition:border-color .2s,background .2s;text-align:left;width:100%;color:var(--text)}.client-card:hover{border-color:#e6b8cf;background:#fffafd}.avatar{height:48px;width:48px;flex:none;border-radius:15px;background:#fdebf3;color:var(--forest);font-size:18px;font-weight:800;display:grid;place-items:center}.card-body{flex:1;min-width:0}.card-body strong{display:block;font-size:14px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.card-body small{display:block;color:var(--muted);margin-top:4px;font-size:12px}.small-photos{display:flex;align-items:center;gap:4px}.small-photos img{width:32px;height:32px;border-radius:7px;object-fit:cover;border:1px solid #eedbe4}.card-arrow{color:#caa1b4;font-size:23px}.empty{padding:34px 18px;text-align:center;background:#fff8fb;border-radius:16px;border:1px dashed #e8ccdb}.empty-icon{font-size:32px;color:#d88daf}.empty strong{display:block;margin:10px 0 6px}.empty p{color:var(--muted);font-size:13px;line-height:1.5}.footer-note{text-align:center;color:#9c7d8c;font-size:11px;margin:24px 0 8px}
.bottom-nav{position:fixed;z-index:8;bottom:0;left:50%;transform:translateX(-50%);width:min(1040px,100%);background:#fff;border-top:1px solid var(--border);display:flex;justify-content:space-around;padding:10px 12px max(10px,env(safe-area-inset-bottom));box-shadow:0 -3px 17px #f4e0ea66}.bottom-nav button{background:transparent;border:0;color:#9a7f8c;display:grid;place-items:center;gap:2px;font-size:11px;width:25%;font-weight:700}.bottom-nav button span{font-size:24px;line-height:1.3}.bottom-nav button.active{color:var(--forest)}
.overlay{position:fixed;inset:0;background:#4c133080;z-index:30;backdrop-filter:blur(3px)}.sheet{position:fixed;z-index:31;inset:auto 0 0;max-height:93dvh;overflow-y:auto;margin:auto;background:#fff;width:min(700px,100%);border-radius:24px 24px 0 0;box-shadow:0 -18px 50px rgba(76,19,48,.25);padding:0 0 max(20px,env(safe-area-inset-bottom));overscroll-behavior:contain}.sheet-header{position:sticky;z-index:2;top:0;background:#fff;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:18px 22px}.sheet-header h2{font-size:18px;letter-spacing:-.4px;margin:0}.icon-button{border:none;background:#fff1f7;color:var(--forest);width:37px;height:37px;border-radius:12px;font-size:23px}.sheet-body{padding:20px 22px 32px}
.subtle{color:var(--muted);font-size:13px;line-height:1.5}.field{display:grid;gap:7px;margin:0 0 17px}.field label{font-size:12px;font-weight:800;color:#77566a}.field input,.field textarea{background:#fffdfd;border:1px solid #ecd6e2;border-radius:12px;padding:14px 13px;outline:0;font-size:15px;color:var(--text);width:100%;min-height:48px}.field textarea{min-height:82px;resize:vertical}.field input:focus,.field textarea:focus{border-color:var(--forest);box-shadow:0 0 0 3px #f7dfeb}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.status{color:#93617c;font-size:12px;min-height:16px;margin-top:4px}.row-buttons{display:flex;flex-wrap:wrap;gap:9px;margin:15px 0}.primary-button,.ghost-button,.danger-button{border:0;border-radius:13px;padding:13px 17px;font-weight:800;font-size:14px;min-height:45px}.primary-button{background:var(--forest);color:#fff}.primary-button:hover{background:var(--forest-dark)}.ghost-button{background:#fff1f7;color:var(--forest)}.danger-button{background:#fff0ef;color:#b13b3b}.wide{width:100%}
.kicker{font-size:11px;letter-spacing:1.4px;font-weight:800;color:#b85f8d;text-transform:uppercase;margin-bottom:9px}.detail-top{padding:17px;background:#fff7fb;border-radius:16px}.detail-name{font-size:22px;letter-spacing:-.6px;margin:0 0 8px}.detail-meta{font-size:13px;color:#765665;line-height:1.7;overflow-wrap:anywhere}.detail-meta a{font-weight:700}.sectionline{display:flex;justify-content:space-between;align-items:center;margin:24px 0 13px;gap:10px}.sectionline h3{margin:0;font-size:18px;letter-spacing:-.5px}
.purchase-card,.product-card{border:1px solid var(--border);border-radius:16px;margin:0 0 12px;padding:15px;background:#fff}.purchase-head,.product-head{display:flex;justify-content:space-between;gap:9px}.purchase-head strong,.product-head strong{font-size:15px}.purchase-date{color:var(--muted);font-size:12px;white-space:nowrap}.purchase-sub,.product-sub{color:#6f4d62;font-size:12px;margin-top:7px}.purchase-note,.product-note{font-size:12px;color:#8b6b7c;margin-top:5px;white-space:pre-wrap}.photo-grid{margin-top:12px;display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.photo-thumb{background:#fdf0f5;border:0;border-radius:10px;aspect-ratio:1;overflow:hidden;padding:0;position:relative}.photo-thumb img{width:100%;height:100%;object-fit:cover}.photo-thumb:hover{outline:2px solid var(--forest)}.photo-thumb:after{content:'↗';position:absolute;right:4px;bottom:4px;border-radius:5px;background:#46192ecc;color:#fff;padding:1px 5px;font-size:12px}.photo-add{font-size:25px;color:var(--forest);border:1px dashed #e5bfd2;background:#fff8fb}.inline-link{color:var(--forest);background:transparent;border:0;font-size:12px;font-weight:800;padding:8px 0}.purchase-actions{display:flex;gap:10px;margin-top:7px}
.dropzone{display:grid;place-items:center;min-height:96px;border:2px dashed #e2bfd0;border-radius:14px;background:#fff9fc;text-align:center;padding:14px;color:#7a536a;font-size:13px;margin-bottom:14px}.dropzone b{display:block;color:var(--forest);margin-bottom:4px}.preview-pending{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin:12px 0}.preview-pending img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:9px}.lightbox{position:fixed;z-index:60;inset:0;background:#190814f5;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:60px 12px 50px;gap:10px}.lightbox img{max-width:100%;max-height:78vh;object-fit:contain}.light-close{position:absolute;right:19px;top:14px;background:transparent;color:#fff;font-size:36px;border:0}.photo-original{color:#ffd9ea;font-size:13px}.login-cover{position:fixed;inset:0;background:#fff3f9;z-index:90;display:grid;place-items:center;padding:25px}.login-card{padding:28px;border-radius:24px;box-shadow:var(--shadow);background:#fff;text-align:center;display:grid;gap:14px;width:min(400px,100%)}.login-card .logo-big{margin:auto;width:60px;height:60px;font-size:30px}.login-card p{font-size:13px;color:var(--muted);margin:0}.login-card input{border:1px solid var(--border);padding:13px;border-radius:12px}.login-card small{color:#b32929}.toast{position:fixed;bottom:92px;left:50%;transform:translateX(-50%) translateY(30px);background:#5d2442;color:#fff;padding:11px 17px;border-radius:12px;opacity:0;pointer-events:none;z-index:100;transition:.2s;max-width:90vw;text-align:center;font-size:13px;box-shadow:var(--shadow)}.toast.show{opacity:1;transform:translateX(-50%)}
.product-grid{display:grid;gap:12px}.product-preview{margin-top:10px;width:100%;aspect-ratio:16/10;border-radius:14px;background:#fff7fb;border:1px dashed #e7c7d7;display:grid;place-items:center;overflow:hidden}.product-preview img{width:100%;height:100%;object-fit:cover}.product-photo-small{width:92px;height:92px;border-radius:16px;object-fit:cover;background:#fff5f9;border:1px solid var(--border)}
.pending-wrap{position:relative}.pending-wrap img{display:block}.pending-wrap button{position:absolute;right:2px;top:2px;border:0;border-radius:50%;background:#4b1831dd;color:#fff;font-size:17px;width:24px;height:24px}.dropzone small{font-size:11px;color:#9b7588;margin-top:5px}.detail-top .detail-meta{word-break:break-word}.sheet .field input:focus-visible,.sheet .field textarea:focus-visible{outline:2px solid #e9c3d6;outline-offset:2px}
@media(min-width:680px){.app-shell{padding-bottom:30px}.bottom-nav{display:none}.sheet{bottom:50%;transform:translateY(50%);border-radius:24px;max-height:90dvh}.action-card{min-height:160px}.client-list{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.hero-inner{grid-template-columns:1fr}.hero-media{justify-items:start}.hero-photo{width:122px;height:122px}.action-grid{grid-template-columns:1fr}}
@media(max-width:420px){.hero{padding:24px 20px;border-radius:18px}.app-header{padding:18px 20px}.action-card{padding:17px 15px;min-height:128px}.action-card strong{font-size:17px}.action-arrow{right:12px;top:12px}.sheet-body{padding:16px}.field-grid{grid-template-columns:1fr}.photo-grid,.preview-pending{grid-template-columns:repeat(3,1fr)}}

/* V3: telas elegantes, consultas reais e edição de fotos */
:root{--forest:#cf4f86;--forest-dark:#ad346e;--text:#4d2940;--muted:#876979;--mint:#fff0f7;--bg:#fff9fc;--border:#f0dce6}
.hero{background:linear-gradient(125deg,#be3f7b,#df6096 70%,#f19cbf);box-shadow:0 20px 35px rgba(191,59,118,.15)}
.hero:after{right:-90px;top:-123px;border-color:#fff2}
.hero-photo{border:2px solid #ffffffa8;box-shadow:0 10px 27px #641e4440}
.hero-photo-button{background:#fff9fc}
.edit-greeting{display:inline-grid;place-items:center;vertical-align:middle;font-size:15px;border:1px solid #ffffff75;background:#ffffff29;border-radius:9px;color:#fff;padding:3px 6px;margin-left:3px}
.action-card{box-shadow:0 8px 25px #eac4d733}.action-icon{background:#fff0f7}
.action-product{background:linear-gradient(145deg,#fffafd,#ffeff7)}
.consult-search{margin-top:15px}.consult-count{padding:14px 2px 7px;color:var(--muted);font-size:12px;font-weight:600}.consult-list{margin-top:5px}.consult-list .client-card{min-height:70px}
.photo-tile{position:relative;min-width:0;aspect-ratio:1}.photo-tile .photo-thumb{width:100%;height:100%;display:block}
.thumb-edit{position:absolute;right:3px;top:3px;border:1px solid #fff8;background:#fff;color:var(--forest);width:29px;height:29px;border-radius:10px;font-weight:800;box-shadow:0 1px 8px #3b13313b}
.lightbox{z-index:65}.lightbox-actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;align-items:center}.photo-action-main{background:#fff;color:#bc4b83;border:none;border-radius:12px;padding:11px 16px;font-weight:800}.photo-original{color:#ffe9f3}
.image-editor-overlay{position:fixed;inset:0;background:#2b0e20cf;backdrop-filter:blur(8px);z-index:100;display:grid;place-items:center;padding:15px;overflow:auto}
.image-editor-panel{width:min(540px,100%);max-height:96dvh;overflow:auto;background:white;border-radius:24px;padding:18px;display:grid;gap:14px;box-shadow:0 25px 80px #10060d66}
.image-editor-head{display:flex;justify-content:space-between;align-items:center;font-size:18px}
.image-canvas-wrap{height:min(48dvh,400px);background:#fff4fa;border-radius:16px;display:grid;place-items:center;overflow:hidden;padding:9px}
.image-canvas-wrap canvas{max-width:100%;max-height:100%;object-fit:contain;border-radius:7px}
.image-editor-controls,.image-editor-actions{display:flex;gap:8px;align-items:center;justify-content:center;flex-wrap:wrap}
.zoom-label{font-size:12px;font-weight:800;color:var(--muted)}.zoom-slider{width:100%;accent-color:var(--forest)}
.product-info{flex:1;min-width:0}.product-photos{grid-template-columns:repeat(5,minmax(0,1fr))}
.photo-grid .photo-add{width:100%;min-height:72px}.product-card .product-photo-small{flex:none;object-fit:cover}
@media(max-width:760px){.hero-inner{grid-template-columns:minmax(0,1fr) 92px;gap:12px}.hero-media{justify-items:end;align-self:stretch;justify-content:center}.hero-photo{width:88px;height:88px;border-radius:16px}.hero-photo-button{font-size:11px;padding:8px 10px}.hero h1{font-size:clamp(20px,5vw,29px)}.hero p{font-size:12px}.action-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.action-card{min-height:135px}.action-product{grid-column:1 / -1;min-height:105px}.action-product .action-icon{width:36px;height:36px}.action-product strong{margin-top:5px}.product-photos{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:390px){.hero-inner{grid-template-columns:minmax(0,1fr) 80px}.hero-photo{width:78px;height:78px}.hero-photo-button{font-size:10px}.hero h1{font-size:20px}.hero p{font-size:12px}.action-card{padding:16px 13px}}


/* V4 — faixa de saudação em rosa pastel, mantendo demais controles */
.hero{background:linear-gradient(118deg,#fff0f6 0%,#fbe0eb 56%,#f8cddd 100%);color:#67304f;box-shadow:0 16px 32px rgba(180,78,119,.09)}
.hero:after{border-color:rgba(255,255,255,.28)}
.hero .eyebrow{color:#a44c78}
.hero h1{color:#5c2845}
.hero p{color:#77566b}
.hero .edit-greeting{color:#a83d75;background:#ffffffac;border:1px solid #e6accc}
.hero-photo{background:#fff9fbc9;border:2px dashed #dca1bf;box-shadow:0 8px 20px rgba(154,66,108,.12)}
.hero-photo-placeholder{color:#ad5d87}
.hero-photo-button{background:#fff;color:#9c3d71;border:1px solid #f1d5e3}

/* V5 — saudação rosa delicado e lista expansível */
.hero{background:linear-gradient(118deg,#ffedf5 0%,#fbd9e9 53%,#f4bfd7 100%);color:#633148;box-shadow:0 12px 27px rgba(154,72,112,.07)}
.hero h1{color:#63304c}
.hero p{color:#805c70}
.hero .eyebrow{color:#ab5781}
.list-head-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;justify-content:flex-end}
.list-toggle{display:inline-flex;align-items:center;justify-content:center;border:1px solid #e9bfd3;background:#fff3f8;color:#aa4f80;padding:8px 12px;border-radius:12px;min-height:37px;font-size:12px;font-weight:800;white-space:nowrap}
.list-toggle:hover,.list-toggle:focus-visible{background:#ffe9f3;border-color:#db9fbd;outline-offset:2px}
.client-list[hidden],.consult-list[hidden]{display:none!important}
.consult-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px;flex-wrap:wrap}
.consult-toolbar .consult-count{padding:4px 0}
@media(max-width:400px){.list-head-actions{gap:6px}.list-toggle{padding:7px 9px;font-size:11px}.section-head h2{font-size:17px}}

/* V6 — inspiração rosa-pérola Mary Kay: faixa suave e legível */
.hero{background:#EAB9C8;color:#5D3044;box-shadow:0 14px 34px rgba(146,70,102,.13)}
.hero:after{border-color:rgba(255,255,255,.20)}
.hero h1{color:#5D3044}
.hero p{color:#674454}
.hero .eyebrow{color:#783F5B}
.hero .edit-greeting{color:#833F62;background:#fff8fc;border:1px solid #dc9fb6}
.hero-photo{background:rgba(255,255,255,.42);border-color:#d493ae;box-shadow:0 8px 20px rgba(126,51,83,.11)}
.hero-photo-placeholder{color:#783F5B}
.hero-photo-button{background:#fff8fc;color:#813f61;border:1px solid #eac2d1}

/* Acompanhamento pós-venda — integrado ao tema rosa-pérola aprovado */
.feedback-alert-summary{display:inline-flex;margin-top:11px;padding:8px 12px;border:1px solid #efd6e2;border-radius:12px;color:#866077;background:#fff9fc;font-size:12px;font-weight:700}
.feedback-alert-summary.attention{color:#9d233b;border-color:#f1c6ce;background:#fff2f4}
.client-card.needs-feedback{border-color:#e7a1ac;background:#fff6f7;box-shadow:inset 3px 0 0 #d45164}
.client-last{display:block;margin-top:5px;font-size:11px;color:#866d7d;line-height:1.35}
.feedback-mark{display:inline-block;margin-top:6px;padding:4px 7px;border-radius:7px;font-size:11px;font-weight:750;white-space:normal;line-height:1.35}
.feedback-overdue{background:#ffe7eb;color:#9d263c}
.feedback-today{background:#fff0d8;color:#995c17}
.feedback-attempt{background:#fff5e8;color:#8e6b3e}
.feedback-panel{margin:20px 0 18px;padding:16px;border:1px solid #f0d9e4;background:#fffafd;border-radius:18px}
.feedback-heading{margin:0 0 8px}.feedback-heading h3{color:#743452}
.followup-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:15px}
.followup-card{display:flex;flex-direction:column;gap:7px;border-radius:13px;border:1px solid #f0e1e8;padding:12px;background:#fff;min-width:0}
.followup-card.expired{border-color:#e5a9b4;background:#fff6f7}
.followup-card.finished{border-color:#cadfd4;background:#f5fbf8}
.followup-card.today{border-color:#efd3a1;background:#fffaf0}
.followup-title{display:flex;flex-direction:column;align-items:flex-start;gap:6px;font-size:14px}
.followup-state{font-size:11px;font-weight:800;background:#f5e6ee;color:#754e63;padding:4px 7px;border-radius:7px}
.expired .followup-state{background:#ffe0e6;color:#9d263c}.finished .followup-state{background:#e4f3eb;color:#287c56}.today .followup-state{background:#fff0cc;color:#8d641f}
.followup-due{color:#805f70;font-size:12px}.followup-record{font-size:12px;color:#694c5e;line-height:1.55;overflow-wrap:anywhere}
.followup-notes{margin-top:4px;white-space:pre-wrap;color:#87677c}
.followup-button{border:1px solid #edbfd3;background:#fff2f8;color:#9c3c70;border-radius:10px;min-height:40px;padding:9px 12px;font-weight:800;font-size:12px;margin-top:auto;text-align:center}
.followup-button:hover{background:#fce4ef}
.feedback-help{font-size:11px;line-height:1.55;color:#8e6e80;margin:12px 0 0}
.select-field{width:100%;min-height:48px;border:1px solid #ecd6e2;border-radius:12px;padding:10px 12px;background:#fffdfd;color:#4a2740;font:inherit;outline:0}
.select-field:focus{border-color:#d24f8d;box-shadow:0 0 0 3px #f7dfeb}
@media(max-width:620px){.followup-grid{grid-template-columns:1fr}.followup-title{flex-direction:row;justify-content:space-between;align-items:center}}

/* Versão 1.5 — foto de cliente, redes sociais e totalização, sem alterar o rosa-pérola aprovado */
.sales-summary{margin:24px 0 28px}.sales-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.sales-tile{border:1px solid #efccd9;border-radius:18px;padding:18px 19px;background:#fff9fc;display:flex;flex-direction:column;gap:8px}.sales-tile label,.sales-tile>span{font-size:12px;color:#80556a;font-weight:800}.sales-tile input{height:38px;border:1px solid #efd5e0;border-radius:10px;background:#fff;color:#664055;padding:4px 8px;width:100%;max-width:210px;font:inherit}.sales-tile strong{font-size:clamp(19px,3vw,28px);letter-spacing:-.4px;color:#62344c}.sales-tile small{color:#8a6577;font-size:12px}.sales-overall{background:#f7e4ec}.sales-details{padding:12px 2px;color:#8e5972;font-size:13px}.sales-details summary{cursor:pointer;font-weight:800}.sales-month-line{display:flex;justify-content:space-between;gap:16px;border-bottom:1px solid #f3e5eb;padding:10px 2px}.sales-month-line strong{color:#6e3450}.client-photo-edit{display:flex;align-items:center;gap:16px;background:#fff8fc;border:1px solid #f0d9e4;border-radius:15px;padding:13px;margin:12px 0 18px}.client-photo-frame{width:92px;height:92px;flex:0 0 92px;border:2px dashed #ddb5c8;border-radius:20px;background:#f6e1e9;display:grid;place-items:center;overflow:hidden;color:#87546c;font-weight:700;font-size:13px;text-align:center}.client-photo-frame img{width:100%;height:100%;object-fit:cover}.client-photo-instructions{flex:1;min-width:0}.client-photo-instructions strong{display:block;font-size:14px}.client-photo-instructions small{display:block;color:#906b7f;font-size:11px;margin-top:5px}.client-photo-instructions .row-buttons{margin:8px 0 0}.client-photo-instructions .ghost-button{padding:10px 12px;min-height:37px;font-size:12px}.field-hint{font-size:11px;color:#906b7f;margin:-9px 0 18px}.avatar{overflow:hidden}.avatar img{width:100%;height:100%;object-fit:cover}.client-profile-heading{display:flex;align-items:center;gap:14px;margin-bottom:14px}.client-profile-photo{width:82px;height:82px;flex:0 0 82px;display:grid;place-items:center;border:1px dashed #d5a2b7;border-radius:20px;overflow:hidden;background:#fae7ef;color:#a66180;font-size:13px;font-weight:700}.client-profile-photo img{width:100%;height:100%;object-fit:cover}.client-profile-heading .detail-name{margin:2px 0 4px}.client-photo-caption{font-size:10px;color:#976c81}.client-sales-box{margin-top:14px;display:grid;grid-template-columns:1fr 1fr;gap:12px}.client-sales-box>div{border:1px solid #ecd3df;background:white;border-radius:13px;padding:12px}.client-sales-box small{display:block;color:#89657a;font-size:11px;margin-bottom:5px}.client-sales-box strong{font-size:18px;color:#743c59}.client-detail-top .detail-meta a{color:#a13f71}.client-detail-top .detail-meta{line-height:1.9}
@media(max-width:440px){.sales-grid{grid-template-columns:1fr 1fr;gap:8px}.sales-tile{padding:12px}.sales-tile strong{font-size:20px}.client-photo-edit{gap:10px}.client-photo-frame{width:76px;height:76px;flex-basis:76px}.client-profile-photo{height:72px;width:72px;flex-basis:72px}}

/* Versão 1.6 — Catálogo público e privacidade do painel */
.privacy-button{border:1px solid #e8c6d5;border-radius:11px;background:#fff6fa;color:#a34272;padding:9px 12px;min-height:38px;font-weight:800;font-size:12px;cursor:pointer}.sales-hidden .sales-summary .sales-amount{font-size:0!important;line-height:1.1!important}.sales-hidden .sales-summary .sales-amount::after{content:'••••••';font-size:22px}.sales-hidden .sales-summary .sales-month-line strong{font-size:0}.sales-hidden .sales-summary .sales-month-line strong::after{content:'••••';font-size:15px}.sales-hidden .search-section .sales-sensitive{font-size:0}.sales-hidden .search-section .sales-sensitive::after{content:'••••';font-size:12px}.orders-home{margin:10px 0 26px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 20px;border:1px solid #efcbdc;background:#fff4f8;border-radius:16px}.orders-home-text b{color:#71304e;font-size:15px;display:block}.orders-home-text small{font-size:12px;color:#906b7d;display:block}.password-row{display:flex;align-items:stretch;gap:5px;margin:0 0 13px}.password-row input{flex:1;min-width:0}.password-row button{width:44px;border:1px solid #edc4d6;border-radius:10px;background:#fff2f8;color:#9d3267;cursor:pointer}.catalog-share{border:1px solid #e7bdcf;border-radius:16px;background:#fff6fa;margin:15px 0;padding:17px}.catalog-share b{color:#743a57}.catalog-share p{font-size:13px;color:#90687c}.publish-toggle{border:1px solid #e7bfce;background:#fff6fb;color:#a43d70;border-radius:9px;padding:9px 12px;cursor:pointer;font-size:12px;font-weight:800}.publish-toggle.published{background:#e7f5ee;border-color:#c5dfd0;color:#267349}.order-panel{background:#fffafd;border:1px solid #eed2df;border-radius:15px;padding:15px;margin:15px 0}.order-head{display:flex;justify-content:space-between;align-items:center;gap:10px;color:#743651}.order-head span{font-size:20px;font-weight:850}.order-mini{display:flex;justify-content:space-between;align-items:center;gap:9px;border-bottom:1px solid #f2e2e8;padding:7px 0;font-size:12px}.order-mini span{color:#886677}.order-panel .row-buttons{margin-top:15px}
@media(max-width:560px){.orders-home{padding:12px}.orders-home-text small{font-size:10px}.order-head span{font-size:17px}}

/* Catalogo publico e editor administrativo - v1.6 */
.catalog-editor-options{background:#fff6fa;border:1px solid #efd4e1;padding:17px;border-radius:19px;margin:18px 0}.catalog-check{display:flex;align-items:flex-start;gap:11px;color:#633851;line-height:1.5;margin:12px 0;font-size:14px;font-weight:650}.catalog-check input{width:19px;height:19px;accent-color:#ab3c76;flex-shrink:0;margin:2px 0}.catalog-color{min-height:44px;width:88px;border-radius:12px;cursor:pointer;border:1px solid #eac5d7}.catalog-preview{max-width:100%;overflow:hidden;border-radius:18px;background:#f8e5ee;margin:12px 0}.catalog-preview img{display:block;width:100%;height:auto;max-height:245px;object-fit:cover}.promo-admin-badge{display:inline-block;background:#fbe4e7;border:1px solid #eab0c9;color:#96335d;border-radius:30px;padding:2px 9px;margin-top:4px;font-size:11px;font-weight:800}.catalog-share,.orders-home{background:#fff5f9;border:1px solid #efd4df;border-radius:18px;padding:16px;margin:12px 0}.orders-home{display:flex;align-items:center;justify-content:space-between;gap:12px}.orders-home-text{display:flex;flex-direction:column;gap:3px}.orders-home-text small{color:#916b7c}.order-panel{border:1px solid #e9c9d7;border-radius:17px;padding:16px;margin:14px 0;background:#fff}.order-head{display:flex;justify-content:space-between;gap:15px;align-items:baseline}.order-head strong{font-size:16px}.order-head span{font-weight:800;color:#a33368}.order-mini{margin:7px 0;padding:8px;border-bottom:1px solid #fae4ec}.privacy-button{border:1px solid #e9c8d8;border-radius:12px;color:#993765;background:#fff5f9;padding:9px 14px;cursor:pointer;font-weight:750}.password-row{display:flex;align-items:stretch}.password-row input{flex:1;min-width:0}.password-row button{border:1px solid #e9c6d6;background:#fff1f7;color:#993765;border-radius:12px;padding:8px 11px;cursor:pointer;font-size:20px}.catalog-share .row-buttons{flex-wrap:wrap}

/* V1.7: controles explícitos e acessíveis */
.tile-privacy{align-self:flex-start;background:#fff;border:1px solid #d8a1ba;border-radius:10px;color:#94375f;font-weight:800;padding:8px 10px;font-size:12px;min-height:40px;cursor:pointer}.tile-privacy:hover,.privacy-button:hover{background:#fce3ed}.thumb-delete{position:absolute;bottom:5px;right:5px;border:1px solid #ffe0ec;border-radius:9px;background:#9b315e;color:#fff;font-size:11px;font-weight:800;padding:5px 7px;z-index:2}.photo-tile{position:relative}.catalog-client-option{display:flex;justify-content:space-between;gap:10px;align-items:center;border-bottom:1px solid #f1d9e6;padding:13px 1px}.catalog-client-option strong{display:block}.catalog-client-option small{display:block;color:#946d7f;margin-top:4px}.blocked-client-label{display:inline-block;border:1px solid #dca3aa;background:#fff0f1;color:#a13143;border-radius:50px;padding:4px 9px;font-size:12px;font-weight:750;margin-bottom:5px}.promo-live-preview{border:1px solid #ddb4c8;background:white;border-radius:13px;padding:14px;color:#8c3360;font-weight:800;font-size:13px;line-height:1.5}.danger-button{min-height:38px;border:1px solid #dca2a9;background:#fff1f2;color:#a42b44;border-radius:10px;padding:9px 11px;font-size:12px;font-weight:800;cursor:pointer}.danger-button:hover{background:#fce2e7}.catalog-client-list{max-height:50vh;overflow:auto}.catalog-share .primary-button{max-width:100%}@media(max-width:450px){.sales-grid{grid-template-columns:1fr}.section-head{gap:10px;flex-wrap:wrap}.catalog-client-option{flex-wrap:wrap}}

/* v1.8: inatividade, feedback acionavel, publico do catalogo */
.inactive-wrap{margin:14px 0 12px;padding:15px;background:#fff8fb;border:1px solid #ecd2dd;border-radius:16px}.inactive-wrap>strong{display:block;color:#763450;margin-bottom:9px;font-size:14px}.inactive-wrap>small{display:block;color:#8c7181;margin-top:9px}.inactive-buttons{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.inactive-buttons button{background:#fff;border:1px solid #eac4d4;color:#763450;border-radius:12px;min-height:53px;padding:8px 5px;cursor:pointer;font-weight:700}.inactive-buttons button:hover,.inactive-buttons button:focus-visible{background:#fae0ed}.inactive-buttons b{display:block;color:#ac2e69;font-size:22px;line-height:1.1}.feedback-alert-summary{display:block;width:100%;text-align:left;cursor:pointer;min-height:42px}.feedback-alert-summary.attention{border:1px solid #e8a3a6;background:#fff1f2;color:#a83240;font-weight:800}.feedback-alert-summary:disabled{cursor:default;opacity:.8}.promo-live-preview{margin:12px 0}.catalog-editor-options hr{border:0;border-top:1px solid #eccad9;margin:20px 0}.list-counter{font-weight:800;margin:12px 0;color:#a63167}.catalog-editor-options .select-field{width:100%}@media(max-width:560px){.inactive-buttons{grid-template-columns:repeat(2,minmax(0,1fr))}}
