/* Precificador Inteligente: folha isolada, carregada após style.css. */
#pricing-root { min-width: 0; }
.pricing-page { display:grid; gap:16px; max-width:1180px; margin:0 auto; }
.pricing-hero,.pricing-mode-toolbar,.pricing-simple-card,.pricing-results-column,.pricing-result-panel,.pricing-simple-results,.pricing-simple-results-empty { background:#17213c; border:1px solid #2d3b61; border-radius:12px; }
.pricing-hero { display:flex; justify-content:space-between; gap:16px; align-items:center; padding:20px; }
.pricing-hero h2,.pricing-simple-heading h3,.pricing-result-heading h3 { margin:3px 0; }
.pricing-hero p:last-child,.pricing-simple-heading p,.pricing-estimate-note { color:#aab9d8; }
.pricing-tabs { display:none; }
.pricing-mode-toolbar { display:flex; justify-content:space-between; align-items:center; gap:18px; padding:14px; }
.pricing-mode-switch,.pricing-marketplace-cards,.pricing-simple-person-switch,.pricing-simple-essential-grid,.pricing-simple-margin-grid { display:grid; gap:10px; }
.pricing-mode-switch { grid-template-columns:repeat(2,minmax(0,1fr)); min-width:260px; }
.pricing-mode-switch button,.pricing-marketplace-cards button,.pricing-simple-person-switch button,.pricing-simple-margin-card { background:#111a30; color:#f5f7ff; border:1px solid #2d3b61; border-radius:9px; padding:12px; text-align:left; }
.pricing-mode-switch button[aria-pressed=true],.pricing-marketplace-cards button[aria-pressed=true],.pricing-simple-person-switch button[aria-pressed=true],.pricing-simple-margin-card.selected { border-color:#8b5cf6; background:#252050; }
.pricing-form-column { display:grid; grid-template-columns:minmax(0,1fr) minmax(320px,.86fr); gap:16px; align-items:start; }
.pricing-simple-panel { display:grid; gap:12px; }
.pricing-simple-card,.pricing-results-column,.pricing-result-panel,.pricing-simple-results,.pricing-simple-results-empty { padding:16px; }
.pricing-marketplace-cards,.pricing-simple-person-switch,.pricing-simple-essential-grid,.pricing-simple-margin-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
.pricing-simple-field { display:grid; gap:7px; color:#b9c6e4; font-size:.86rem; }
.pricing-simple-field input,.pricing-simple-field select { width:100%; box-sizing:border-box; border:1px solid #334566; background:#0d1528; color:#fff; border-radius:8px; padding:11px; }
.pricing-simple-money-input { display:flex; align-items:center; gap:8px; border:1px solid #334566; background:#0d1528; border-radius:8px; padding:0 11px; color:#38e8b0; }
.pricing-simple-money-input input { border:0; background:transparent; padding:11px 0; }
.pricing-simple-actions { display:flex; justify-content:flex-start; }
.pricing-simple-calculate { min-height:44px; padding:0 22px; }
.pricing-results-column { min-height:320px; }
.pricing-simple-results-empty { min-height:260px; display:grid; place-content:center; text-align:center; color:#b9c6e4; }
.pricing-minimum-highlight { display:flex; justify-content:space-between; gap:12px; padding:14px; border:1px solid #6d4ce8; border-radius:10px; margin:14px 0; }
.pricing-simple-breakdown-row { display:flex; justify-content:space-between; gap:10px; padding:9px 0; border-bottom:1px solid #2d3b61; }
.pricing-simple-breakdown-row.profit { color:#38e8b0; }
.pricing-simple-breakdown-row.receive { color:#38bdf8; }
.pricing-simple-breakdown-row.receive strong { color:#38bdf8; }
.pricing-simple-wanted-price { display:flex; justify-content:space-between; gap:14px; align-items:center; margin-top:14px; padding:14px; border:1px solid #2d3b61; border-radius:10px; background:#111a30; }
.pricing-simple-wanted-price h4 { margin:4px 0; font-size:1.2rem; }
.pricing-simple-wanted-price p { margin:0; color:#b9c6e4; font-size:.86rem; }
.pricing-simple-wanted-price.positive { border-color:#167f64; }
.pricing-simple-wanted-price.positive > strong { color:#38e8b0; }
.pricing-simple-wanted-price.negative { border-color:#be123c; }
.pricing-simple-wanted-price.negative > strong { color:#fda4af; }
.pricing-status.error { color:#fecdd3; border:1px solid #be123c; padding:10px; border-radius:8px; }
@media (max-width:900px) { .pricing-hero,.pricing-mode-toolbar { align-items:stretch; flex-direction:column; } .pricing-form-column { grid-template-columns:1fr; } .pricing-mode-switch { min-width:0; } }
@media (max-width:560px) { .pricing-marketplace-cards,.pricing-simple-person-switch,.pricing-simple-essential-grid,.pricing-simple-margin-grid { grid-template-columns:1fr; } }

/* Precificador reconstruído */
.smart-pricing-page{max-width:1180px;margin:0 auto;display:grid;gap:18px}.smart-pricing-hero{text-align:center;padding:10px}.smart-pricing-hero h2{margin:3px 0;font-size:clamp(1.5rem,3vw,2.2rem)}.smart-pricing-hero p:last-child,.smart-info{color:#aab9d8}.smart-pricing-layout{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr);gap:18px;align-items:start}.smart-pricing-form,.smart-pricing-results,.smart-card{display:grid;gap:14px}.smart-platforms,.smart-person,.smart-two,.smart-three,.smart-pyramid-bottom,.smart-suggestions{display:grid;gap:10px}.smart-platforms{grid-template-columns:repeat(3,1fr)}.smart-person{grid-template-columns:repeat(2,1fr)}.smart-two{grid-template-columns:repeat(2,1fr)}.smart-three{grid-template-columns:repeat(3,1fr)}.smart-platforms button,.smart-person button{background:#17213c;color:#fff;border:1px solid #2d3b61;border-radius:12px;padding:13px;text-align:left;display:grid;gap:3px}.smart-platforms button.active,.smart-person button.active{border-color:#29c8ef;background:linear-gradient(135deg,#153d72,#17213c)}.smart-platforms small,.smart-person small{color:#9db0d8}.smart-card,.smart-pricing-results{background:#17213c;border:1px solid #2d3b61;border-radius:14px;padding:18px}.smart-field{display:grid;gap:6px;color:#b9c6e4;font-size:.86rem}.smart-field input,.smart-field select{box-sizing:border-box;width:100%;padding:11px;border-radius:8px;background:#0d1528;border:1px solid #334566;color:#fff}.smart-check{align-self:end;color:#b9c6e4;font-size:.86rem}.smart-pyramid{display:grid;grid-template-columns:repeat(2,1fr);gap:11px}.smart-pyramid-bottom{grid-column:1/-1;grid-template-columns:repeat(3,1fr)}.smart-tax{border-top:1px solid #334566;padding-top:14px;display:grid;gap:12px}.smart-tax details{color:#c8d6ef}.smart-tax summary{cursor:pointer;font-weight:700}.smart-empty{min-height:340px;display:grid;place-content:center;text-align:center;gap:7px;color:#aab9d8}.smart-result{display:grid;gap:12px}.smart-result p{margin:0;color:#aab9d8}.smart-minimum{font-size:2rem;color:#ff7979}.smart-suggestions{grid-template-columns:repeat(3,1fr)}.smart-suggestions article{display:grid;gap:5px;padding:11px;border:1px solid #5b3f9e;border-radius:10px}.smart-suggestions b{font-size:1.1rem;color:#b388ff}.smart-suggestions span{color:#aab9d8;font-size:.8rem}.smart-breakdown{border:1px solid #4d3584;border-radius:12px;padding:14px}.smart-breakdown h3{margin:0 0 8px}.smart-breakdown>div{display:flex;justify-content:space-between;gap:10px;padding:9px 0;border-bottom:1px solid #2d3b61}.smart-breakdown>div:last-child{border-bottom:0}.smart-breakdown .receive b{color:#38bdf8}.smart-breakdown .fee b{color:#ff8f8f}.smart-breakdown .profit b{color:#38e8b0}@media(max-width:900px){.smart-pricing-layout{grid-template-columns:1fr}}@media(max-width:620px){.smart-platforms,.smart-two,.smart-three,.smart-pyramid,.smart-pyramid-bottom,.smart-suggestions{grid-template-columns:1fr}}

/* Organização visual do formulário Personal, alinhada ao fluxo de custos. */
.smart-platform-card{padding:16px 18px}.smart-platform-card .eyebrow{margin:0 0 10px}.smart-platform-card .smart-platforms{background:transparent}.smart-personal-costs,.smart-target-grid{display:grid;gap:12px}.smart-personal-costs .smart-three{align-items:start}.smart-personal-costs .smart-three>.smart-field{align-self:start}.smart-labor-with-check{display:grid;gap:2px;align-content:start}.smart-labor-with-check .smart-check{align-self:start;font-size:.72rem;line-height:1.1}
.smart-platforms button{justify-items:center;text-align:center;padding:12px 10px}.smart-platforms button b{display:flex;align-items:center;justify-content:center;gap:10px;min-height:30px}.smart-platform-icon{width:30px;height:30px;object-fit:contain;flex:0 0 30px}
.smart-person button{text-align:center;justify-items:center}
.smart-breakdown{padding:12px}.smart-breakdown h3{margin-bottom:6px;font-size:1rem}.smart-breakdown>div{padding:7px 0;font-size:.86rem}.smart-breakdown>div b{font-size:.86rem}
.smart-breakdown .fee-detail,.smart-breakdown .cost-detail{color:#ff8f8f;font-size:.76rem}.smart-breakdown .fee-detail b,.smart-breakdown .cost-detail b{color:#ff8f8f;font-size:.76rem}
.smart-suggestions .smart-suggestion{cursor:pointer;transition:transform .16s ease,box-shadow .16s ease}.smart-suggestions .smart-suggestion:hover,.smart-suggestions .smart-suggestion:focus-visible{transform:translateY(-2px);outline:none}.smart-suggestions .smart-suggestion.selected{box-shadow:0 0 0 2px #fff,0 0 16px rgba(103,232,249,.35)}
.smart-suggestions article{text-align:center;justify-items:center}
.smart-suggestions .smart-custom-suggestion{grid-column:1/-1;border-color:#29c8ef;background:linear-gradient(135deg,#153d72,#17213c)}
.smart-suggestions .smart-suggestion--margin10{border-color:#a855f7}.smart-suggestions .smart-suggestion--margin10 small,.smart-suggestions .smart-suggestion--margin10 b,.smart-suggestions .smart-suggestion--margin10 span{color:#c084fc}.smart-suggestions .smart-suggestion--margin20{border-color:#b58827}.smart-suggestions .smart-suggestion--margin20 small,.smart-suggestions .smart-suggestion--margin20 b,.smart-suggestions .smart-suggestion--margin20 span{color:#facc15}.smart-suggestions .smart-suggestion--margin30{border-color:#16866d}.smart-suggestions .smart-suggestion--margin30 small,.smart-suggestions .smart-suggestion--margin30 b,.smart-suggestions .smart-suggestion--margin30 span{color:#2dd4bf}.smart-suggestions .smart-custom-suggestion small,.smart-suggestions .smart-custom-suggestion b,.smart-suggestions .smart-custom-suggestion span{color:#38bdf8}
.smart-two>.smart-check,.smart-freight-field .smart-check{align-self:end;min-height:44px;box-sizing:border-box;display:flex;align-items:center;gap:8px;padding:0 11px;border:1px solid #334566;border-radius:8px;background:#0d1528;color:#b9c6e4;font-size:.84rem;line-height:1.2}.smart-two>.smart-check input,.smart-freight-field .smart-check input{appearance:auto;width:16px!important;height:16px!important;min-width:16px!important;padding:0!important;margin:0;accent-color:#29c8ef;flex:0 0 16px}.smart-labor-with-check>.smart-check{width:fit-content;box-sizing:border-box;display:flex;align-items:center;gap:5px;min-height:0;padding:0;border:0;border-radius:0;background:transparent;color:#b9c6e4;white-space:nowrap}.smart-labor-with-check>.smart-check input{appearance:auto;width:14px!important;height:14px!important;min-width:14px!important;padding:0!important;margin:0;accent-color:#29c8ef;flex:0 0 14px}.smart-personal-costs{gap:10px}.smart-personal-costs .smart-field input{min-height:42px}.smart-target-grid{grid-template-columns:1fr}.smart-target-grid>.smart-three{width:100%}
.smart-shopee-cpf-check{width:100%;box-sizing:border-box;display:flex;align-items:center;gap:8px;min-height:42px;padding:0 11px;border:1px solid #334566;border-radius:8px;background:#0d1528;color:#b9c6e4;font-size:.84rem;white-space:nowrap}.smart-shopee-cpf-check input{appearance:auto;width:16px!important;height:16px!important;min-width:16px!important;padding:0!important;margin:0;accent-color:#29c8ef;flex:0 0 16px}
.smart-shipping-dimensions{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.smart-shipping-help{grid-column:1/-1;margin:0;color:#9db0d8;font-size:.72rem}.smart-shipping-dimensions .smart-field input{padding:9px}
.smart-safety-toggle{display:flex;align-items:center;justify-self:center;width:fit-content;gap:5px;padding:7px 10px;border:1px solid #334566;border-radius:9px;background:#0d1528;color:#d4def5;font-size:.82rem;cursor:pointer}.smart-safety-toggle input{appearance:auto;width:16px!important;height:16px!important;min-width:16px!important;padding:0!important;margin:0;accent-color:#29c8ef;flex:0 0 16px}.smart-safety-toggle span{display:block;line-height:1.2}.smart-safety-toggle small{color:#9db0d8;font-size:.75rem}
.smart-result>p:not(.eyebrow){font-size:.70rem;line-height:1.25}.smart-result-source{margin:0;text-align:center;color:#8293b8!important;font-size:.68rem!important}.smart-result-source a{color:#9db0d8;text-decoration:underline}
@media(max-width:620px){.smart-shipping-dimensions{grid-template-columns:repeat(2,minmax(0,1fr)}}

/* Alinhamento dos cards de plataforma no centro visual. */
.smart-platforms button{justify-items:center;text-align:center}.smart-platforms button b{justify-content:center}.smart-platforms button small{text-align:center}

/* Modo claro — a Calculadora usa uma paleta própria para não herdar os tons
   escuros da experiência original. */
body:not([data-theme="dark"]) #pricing-root .smart-pricing-page{color:#14213d}
body:not([data-theme="dark"]) #pricing-root .smart-pricing-hero p:last-child,
body:not([data-theme="dark"]) #pricing-root .smart-info{color:#6b7b98}
body:not([data-theme="dark"]) #pricing-root .smart-card,
body:not([data-theme="dark"]) #pricing-root .smart-pricing-results{background:#ffffff;border-color:#cbd7eb;box-shadow:0 10px 28px rgba(27,53,92,.08)}
body:not([data-theme="dark"]) #pricing-root .smart-platforms button,
body:not([data-theme="dark"]) #pricing-root .smart-person button{background:#f8faff;color:#17213c;border-color:#cbd7eb}
body:not([data-theme="dark"]) #pricing-root .smart-platforms button.active,
body:not([data-theme="dark"]) #pricing-root .smart-person button.active{border-color:#0284c7;background:linear-gradient(135deg,#e0f2fe,#f8fbff);color:#0f3c65}
body:not([data-theme="dark"]) #pricing-root .smart-platforms small,
body:not([data-theme="dark"]) #pricing-root .smart-person small,
body:not([data-theme="dark"]) #pricing-root .smart-field,
body:not([data-theme="dark"]) #pricing-root .smart-check,
body:not([data-theme="dark"]) #pricing-root .smart-shipping-help{color:#587092}
body:not([data-theme="dark"]) #pricing-root .smart-field input,
body:not([data-theme="dark"]) #pricing-root .smart-field select{background:#ffffff;border-color:#b9c9e3;color:#17213c}
body:not([data-theme="dark"]) #pricing-root .smart-field input::placeholder{color:#8495b0}
body:not([data-theme="dark"]) #pricing-root .smart-tax{border-color:#d5dfef}
body:not([data-theme="dark"]) #pricing-root .smart-tax details{color:#2b4265}
body:not([data-theme="dark"]) #pricing-root .smart-empty{color:#637795}
body:not([data-theme="dark"]) #pricing-root .smart-result{color:#17213c}
body:not([data-theme="dark"]) #pricing-root .smart-result p{color:#617491}
body:not([data-theme="dark"]) #pricing-root .smart-minimum{color:#dc2626}
body:not([data-theme="dark"]) #pricing-root .smart-suggestions article{background:#fbfcff}
body:not([data-theme="dark"]) #pricing-root .smart-suggestions .smart-custom-suggestion{background:linear-gradient(135deg,#e0f2fe,#f8fbff)}
body:not([data-theme="dark"]) #pricing-root .smart-suggestions .smart-suggestion.selected{box-shadow:0 0 0 2px #fff,0 0 14px rgba(14,165,233,.32)}
body:not([data-theme="dark"]) #pricing-root .smart-breakdown{background:#fbfcff;border-color:#8b5cf6;color:#17213c}
body:not([data-theme="dark"]) #pricing-root .smart-breakdown>div{border-color:#d5dfef}
body:not([data-theme="dark"]) #pricing-root .smart-breakdown .receive b{color:#0284c7}
body:not([data-theme="dark"]) #pricing-root .smart-breakdown .fee b,
body:not([data-theme="dark"]) #pricing-root .smart-breakdown .fee-detail,
body:not([data-theme="dark"]) #pricing-root .smart-breakdown .fee-detail b,
body:not([data-theme="dark"]) #pricing-root .smart-breakdown .cost-detail,
body:not([data-theme="dark"]) #pricing-root .smart-breakdown .cost-detail b{color:#dc2626}
body:not([data-theme="dark"]) #pricing-root .smart-breakdown .profit b{color:#059669}
body:not([data-theme="dark"]) #pricing-root .smart-two>.smart-check,
body:not([data-theme="dark"]) #pricing-root .smart-freight-field .smart-check,
body:not([data-theme="dark"]) #pricing-root .smart-shopee-cpf-check,
body:not([data-theme="dark"]) #pricing-root .smart-safety-toggle{background:#f8faff;border-color:#b9c9e3;color:#344b70}
body:not([data-theme="dark"]) #pricing-root .smart-labor-with-check>.smart-check{background:transparent;border:0;color:#344b70}
body:not([data-theme="dark"]) #pricing-root .smart-safety-toggle small,
body:not([data-theme="dark"]) #pricing-root .smart-result-source,
body:not([data-theme="dark"]) #pricing-root .smart-result-source a{color:#637795!important}

/* Regras explícitas para o atributo aplicado pelo seletor de tema. Os
   !important impedem que a folha legada da Calculadora reintroduza o fundo
   escuro no modo claro. */
body[data-theme="light"] #pricing-root .smart-card,
body[data-theme="light"] #pricing-root .smart-pricing-results{background:#fff!important;border-color:#cbd7eb!important;color:#17213c!important}
body[data-theme="light"] #pricing-root .smart-platforms button,
body[data-theme="light"] #pricing-root .smart-person button{background:#f8faff!important;color:#17213c!important;border-color:#cbd7eb!important}
body[data-theme="light"] #pricing-root .smart-platforms button.active,
body[data-theme="light"] #pricing-root .smart-person button.active{background:linear-gradient(135deg,#e0f2fe,#f8fbff)!important;border-color:#0284c7!important;color:#0f3c65!important}
body[data-theme="light"] #pricing-root .smart-field,
body[data-theme="light"] #pricing-root .smart-check,
body[data-theme="light"] #pricing-root .smart-platforms small,
body[data-theme="light"] #pricing-root .smart-person small{color:#587092!important}
body[data-theme="light"] #pricing-root .smart-field input,
body[data-theme="light"] #pricing-root .smart-field select{background:#fff!important;border-color:#b9c9e3!important;color:#17213c!important}
body[data-theme="light"] #pricing-root .smart-empty,
body[data-theme="light"] #pricing-root .smart-result{color:#17213c!important}
body[data-theme="light"] #pricing-root .smart-result p{color:#617491!important}
body[data-theme="light"] #pricing-root .smart-breakdown{background:#fbfcff!important;color:#17213c!important;border-color:#8b5cf6!important}
body[data-theme="light"] #pricing-root .smart-breakdown>div{border-color:#d5dfef!important}
body[data-theme="light"] #pricing-root .smart-two>.smart-check,
body[data-theme="light"] #pricing-root .smart-freight-field .smart-check,
body[data-theme="light"] #pricing-root .smart-shopee-cpf-check,
body[data-theme="light"] #pricing-root .smart-safety-toggle{background:#f8faff!important;border-color:#b9c9e3!important;color:#344b70!important}
