/* Cafeneti Tax Calculator · Scoped to #cfn-tax-app; no external CSS or fonts required */
:root {--cfn-blue:#2159cf;--cfn-blue-deep:#163c8b;--cfn-ink:#17283d;--cfn-muted:#718096;--cfn-line:#e5ebf3;--cfn-paper:#fff;--cfn-bg:#f6f8fc;--cfn-green:#12866d}
body.cfn-demo-page{margin:0;background:var(--cfn-bg);color:var(--cfn-ink);font-family:Vazirmatn,IRANSans,Tahoma,Arial,sans-serif}body.cfn-demo-page button,body.cfn-demo-page input,body.cfn-demo-page select{font:inherit}#cfn-tax-app button{cursor:pointer}
.cfn-demo-top{background:#fff;border-bottom:1px solid var(--cfn-line)}.cfn-demo-shell{max-width:1120px;margin:auto;min-height:66px;padding:12px 18px;display:flex;align-items:center;justify-content:space-between;gap:15px}.cfn-demo-brand{display:flex;align-items:center;gap:9px;text-decoration:none;color:var(--cfn-ink)}.cfn-demo-mark{width:36px;height:36px;display:grid;place-items:center;background:#e9efff;color:var(--cfn-blue);border-radius:11px;font-size:21px;font-weight:900}.cfn-demo-brand b{display:block;font-size:14px}.cfn-demo-brand small{display:block;font-size:10px;color:var(--cfn-muted)}.cfn-demo-tag{font-size:11px;background:#edf4ff;color:var(--cfn-blue-deep);border-radius:99px;padding:7px 10px}.cfn-container{max-width:1120px;margin:0 auto;padding:28px 18px 65px}.cfn-intro{margin-bottom:19px;max-width:760px}.cfn-eyebrow{font-size:11px;font-weight:800;color:var(--cfn-blue);margin-bottom:9px}.cfn-intro h1{font-size:clamp(22px,2.5vw,30px);margin:0 0 10px;letter-spacing:-.3px;line-height:1.5}.cfn-intro p{font-size:12px;line-height:2;color:#5e7087;margin:0}.cfn-about{max-width:790px;padding:8px 0;margin-top:26px}.cfn-about h2{font-size:17px}.cfn-about p{font-size:12px;line-height:2.3;color:#657487}
#cfn-tax-app{--cfn-blue:#2159cf;--cfn-blue-deep:#163c8b;--cfn-ink:#17283d;--cfn-muted:#718096;--cfn-line:#e5ebf3;--cfn-paper:#fff;--cfn-green:#12866d;direction:rtl;line-height:1.6;font-size:13px;color:var(--cfn-ink);font-family:inherit}#cfn-tax-app [hidden]{display:none!important}#cfn-tax-app *{box-sizing:border-box}#cfn-tax-app button{font-family:inherit}#cfn-tax-app .cfn-workspace{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(305px,1fr);gap:16px;align-items:start}#cfn-tax-app .cfn-panel{background:var(--cfn-paper);border:1px solid var(--cfn-line);border-radius:17px;box-shadow:0 7px 26px rgba(24,56,104,.045)}#cfn-tax-app .cfn-form-panel{padding:24px}#cfn-tax-app .cfn-result-panel{padding:19px;position:sticky;top:18px}#cfn-tax-app .cfn-section-heading{display:flex;align-items:center;gap:10px;margin:0 0 15px}#cfn-tax-app .cfn-step{flex-shrink:0;display:grid;place-items:center;width:30px;height:30px;border-radius:10px;color:var(--cfn-blue);background:#eaf1ff;font-size:13px;font-weight:900}#cfn-tax-app h2{margin:0;font-size:15px;font-weight:800}#cfn-tax-app .cfn-section-heading p{font-size:10px;color:var(--cfn-muted);margin:1px 0 0}#cfn-tax-app .cfn-field-row{display:grid;grid-template-columns:180px minmax(0,1fr);gap:12px}#cfn-tax-app .cfn-field{display:flex;flex-direction:column;gap:6px;min-width:0}#cfn-tax-app .cfn-field>span:first-child{font-size:11px;color:#394b64;font-weight:800}#cfn-tax-app .cfn-field input,#cfn-tax-app .cfn-field select{display:block;min-width:0;width:100%;height:43px;padding:9px 12px;border:1px solid #d9e2ed;border-radius:10px;background:#fff;color:var(--cfn-ink);outline:none;transition:.15s}#cfn-tax-app .cfn-field input:focus,#cfn-tax-app .cfn-field select:focus{border-color:#397bec;box-shadow:0 0 0 3px rgba(33,89,207,.1)}#cfn-tax-app .cfn-field select{cursor:pointer;font-size:12px}#cfn-tax-app .cfn-job-pills{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0 15px}#cfn-tax-app .cfn-job-pills span{font-size:10px;border:1px solid #e7edf7;border-radius:8px;padding:5px 8px;color:#64748b;background:#f8fafc}#cfn-tax-app .cfn-job-pills b{font-size:10px;color:#31465e}#cfn-tax-app .cfn-job-pills .cfn-job-rate{background:#eaf8f4;border-color:#daf1e9;color:#177b62}#cfn-tax-app .cfn-job-rate b{color:#06775b}#cfn-tax-app .cfn-money-input{position:relative;display:block}#cfn-tax-app .cfn-money-input input{direction:ltr;text-align:right;padding-left:64px;font-weight:800;letter-spacing:.15px;font-size:15px;font-variant-numeric:tabular-nums}#cfn-tax-app .cfn-money-input em{position:absolute;left:11px;top:50%;transform:translateY(-50%);font-style:normal;color:#8493a5;font-size:10px;pointer-events:none}#cfn-tax-app .cfn-words{display:block;min-height:14px;font-size:10px;color:#758ba3;line-height:1.7}#cfn-tax-app .cfn-nontrade{border-top:1px solid var(--cfn-line);border-bottom:1px solid var(--cfn-line);margin:18px 0;padding:0}#cfn-tax-app .cfn-nontrade>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:10px;cursor:pointer;min-height:62px}#cfn-tax-app summary::-webkit-details-marker{display:none}#cfn-tax-app .cfn-compact-heading{margin:0;gap:10px}#cfn-tax-app .cfn-hgroup{display:flex;flex-direction:column;gap:1px}#cfn-tax-app .cfn-hgroup strong{font-size:13px}#cfn-tax-app .cfn-hgroup i{font-style:normal;color:#8392a4;background:#f2f5fa;padding:3px 6px;border-radius:7px;font-size:9px;margin-right:5px}#cfn-tax-app .cfn-hgroup small{color:#6c809a;font-size:10px}#cfn-tax-app .cfn-chevron{font-size:19px;color:#69809d;transition:transform .2s;line-height:1}#cfn-tax-app details[open]>.cfn-chevron,#cfn-tax-app details[open]>summary>.cfn-chevron{transform:rotate(180deg)}#cfn-tax-app .cfn-collapsed-body{padding:0 0 16px}#cfn-tax-app .cfn-notice{background:#fff9e9;color:#957020;border:1px solid #f7eac6;border-radius:9px;font-size:10px;line-height:1.7;padding:9px 11px;margin:2px 0 13px}#cfn-tax-app .cfn-nontrade-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}#cfn-tax-app .cfn-case-section{padding-top:0}#cfn-tax-app .cfn-segment{display:inline-flex;background:#f0f4fa;border:1px solid #e6ecf5;border-radius:11px;padding:4px;gap:3px;margin-top:13px;min-width:220px}#cfn-tax-app .cfn-segment button{background:transparent;border:0;border-radius:8px;padding:7px 24px;color:#657791;font-size:11px;font-weight:700;flex:1}#cfn-tax-app .cfn-segment button.is-active{background:#fff;color:var(--cfn-blue);box-shadow:0 2px 7px rgba(23,55,104,.08)}#cfn-tax-app .cfn-partnership{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin-top:12px;padding:13px;background:#f8faff;border:1px solid var(--cfn-line);border-radius:12px}#cfn-tax-app .cfn-partnership .cfn-field{grid-row:span 2}#cfn-tax-app .cfn-check{display:flex;align-items:center;gap:7px;font-size:10px;line-height:1.9}#cfn-tax-app .cfn-check input{accent-color:var(--cfn-blue);width:15px;height:15px;margin:0;flex-shrink:0}#cfn-tax-app .cfn-result-title{display:flex;justify-content:space-between;align-items:center;font-weight:800;font-size:12px}#cfn-tax-app .cfn-estimate{background:#fff4d7;color:#976820;font-size:9px;border-radius:99px;padding:4px 9px}#cfn-tax-app .cfn-total{border-radius:13px;text-align:center;background:linear-gradient(140deg,#163e89,#2565d7);color:#fff;padding:18px 9px 15px;margin:14px 0 10px}#cfn-tax-app .cfn-total>small{font-size:10px;opacity:.83}#cfn-tax-app .cfn-total>strong{display:block;white-space:nowrap;letter-spacing:-.5px;font-size:clamp(23px,2.3vw,29px);font-weight:900;margin:4px 0 3px;font-variant-numeric:tabular-nums}#cfn-tax-app .cfn-total>strong small{font-size:12px;font-weight:600}#cfn-tax-app .cfn-total>div{font-size:10px;opacity:.83}#cfn-tax-app .cfn-main-cta{width:100%;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;column-gap:6px;border:0;border-radius:11px;padding:12px 8px;margin:9px 0 13px;background:#ffede5;color:#b43d1b;min-height:54px;font-size:12px;font-weight:900}#cfn-tax-app .cfn-main-cta>span{font-weight:900;font-size:15px}#cfn-tax-app .cfn-main-cta small{display:block;flex-basis:100%;font-size:10px;font-weight:600;color:#c35b38;margin-top:1px}#cfn-tax-app .cfn-main-cta:hover{background:#ffe0d1}#cfn-tax-app .cfn-breakdown{border:1px solid #e6ecf5;border-radius:12px;overflow:hidden;background:#fcfdff}#cfn-tax-app .cfn-breakdown>summary{list-style:none;display:flex;justify-content:space-between;align-items:center;cursor:pointer;font-size:11px;font-weight:900;padding:11px 12px;border-bottom:1px solid transparent}#cfn-tax-app .cfn-breakdown[open]>summary{border-bottom-color:var(--cfn-line)}#cfn-tax-app .cfn-breakdown-body{padding:6px 10px 10px}#cfn-tax-app .cfn-detail-line{display:flex;justify-content:space-between;align-items:baseline;gap:6px;font-size:10px;line-height:1.75;padding:7px 2px;border-bottom:1px solid #edf1f6}#cfn-tax-app .cfn-detail-line:last-child{border-bottom:0}#cfn-tax-app .cfn-detail-line span{color:#65768b}#cfn-tax-app .cfn-detail-line b{font-size:10px;text-align:left;white-space:nowrap;font-variant-numeric:tabular-nums}#cfn-tax-app .cfn-detail-line.is-accent{background:#eff5ff;border-radius:7px;padding:7px 8px;margin:2px -3px}#cfn-tax-app .cfn-detail-line.is-accent span,#cfn-tax-app .cfn-detail-line.is-accent b{color:#174caa;font-weight:900}#cfn-tax-app .cfn-brackets-title{font-size:10px;font-weight:900;padding:6px 2px 1px;margin:4px 0 0;color:#283e59}#cfn-tax-app .cfn-disclaimer{font-size:10px;line-height:1.85;color:#8390a2;margin:12px 0 0}#cfn-tax-app .cfn-mobile-spacer,#cfn-tax-app .cfn-mobile-bar,#cfn-tax-app .cfn-mobile-quick,#cfn-tax-app .cfn-mobile-close{display:none}
/* Lead form */
#cfn-tax-app .cfn-modal-overlay{position:fixed;inset:0;z-index:9993;display:grid;place-items:center;padding:16px;background:rgba(17,30,53,.65);backdrop-filter:blur(3px)}#cfn-tax-app .cfn-modal{position:relative;width:min(480px,100%);max-height:min(92vh,760px);overflow:auto;background:#fff;border-radius:20px;padding:25px;box-shadow:0 20px 90px rgba(0,0,0,.22)}#cfn-tax-app .cfn-modal-close{position:absolute;left:14px;top:12px;border:0;background:#f2f5fa;color:#4e627d;border-radius:99px;width:33px;height:33px;font-size:23px;line-height:1}#cfn-tax-app .cfn-modal-badge{font-size:16px;color:var(--cfn-blue);background:#edf4ff;border-radius:99px;display:inline-block;padding:4px 9px;font-weight:900}#cfn-tax-app .cfn-modal h2{font-size:20px;margin:12px 0 7px}#cfn-tax-app .cfn-modal>p{font-size:11px;color:#66758b;line-height:1.95;margin:0 0 13px}#cfn-tax-app .cfn-modal-estimate{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;border-radius:11px;background:#f2f6fe;margin-bottom:14px;font-size:11px}#cfn-tax-app .cfn-modal-estimate strong{color:var(--cfn-blue);font-size:14px}#cfn-tax-app [data-lead-form]{display:grid;gap:11px}#cfn-tax-app [data-lead-form] .cfn-field>span b{color:#df5132}#cfn-tax-app [data-lead-form] input{height:44px}#cfn-tax-app [data-lead-form] input[name=phone]{text-align:left}#cfn-tax-app .cfn-submit{height:44px;border:0;border-radius:11px;background:var(--cfn-blue);color:#fff;font-size:12px;font-weight:900}#cfn-tax-app .cfn-submit:disabled{opacity:.6;cursor:wait}#cfn-tax-app .cfn-form-message{font-size:16px;min-height:0;line-height:1.8}#cfn-tax-app .cfn-form-message.is-error{color:#c7382d}#cfn-tax-app .cfn-form-message.is-success{color:#087c60}#cfn-tax-app .cfn-form-note{font-size:10px!important;color:#8792a2!important;margin:9px 0 0!important}
@media(max-width:900px){#cfn-tax-app .cfn-workspace{grid-template-columns:minmax(0,1fr) 300px;gap:12px}#cfn-tax-app .cfn-form-panel{padding:18px}#cfn-tax-app .cfn-result-panel{padding:14px}#cfn-tax-app .cfn-field-row{grid-template-columns:140px 1fr}}
@media(max-width:760px){.cfn-demo-shell{min-height:54px;padding:9px 13px}.cfn-demo-brand small{display:none}.cfn-demo-tag{font-size:9px}.cfn-container{padding:16px 11px 26px}.cfn-intro{margin-bottom:13px}.cfn-intro h1{font-size:20px;line-height:1.55;margin-bottom:4px}.cfn-intro p{font-size:11px;line-height:1.9}#cfn-tax-app .cfn-workspace{display:block}#cfn-tax-app .cfn-form-panel{padding:15px;border-radius:14px;box-shadow:none}#cfn-tax-app .cfn-field-row{grid-template-columns:125px 1fr;gap:9px}#cfn-tax-app .cfn-section-heading{margin-bottom:12px}#cfn-tax-app .cfn-segment{margin-top:8px}#cfn-tax-app .cfn-step{width:27px;height:27px;border-radius:9px}#cfn-tax-app .cfn-field input,#cfn-tax-app .cfn-field select{height:43px}#cfn-tax-app .cfn-job-pills{margin:8px 0 11px}#cfn-tax-app .cfn-nontrade{margin:14px 0}#cfn-tax-app .cfn-nontrade>summary{min-height:59px}#cfn-tax-app .cfn-mobile-quick{margin-top:16px;display:flex;align-items:center;justify-content:space-between;gap:10px;background:#f1f6ff;padding:10px 11px;border-radius:11px}#cfn-tax-app .cfn-mobile-quick>div span{display:block;color:#b90000;font-size:16px}#cfn-tax-app .cfn-mobile-quick>div b{display:block;color:#b90000;font-size:18px}#cfn-tax-app .cfn-mobile-quick button{background:#fff;color:var(--cfn-blue);font-size:16px;font-weight:600;border:1px solid #dbe8ff;border-radius:8px;padding:8px 10px;white-space:nowrap}#cfn-tax-app .cfn-result-panel{display:none;position:fixed;z-index:9990;inset:auto 0 0 0;border-radius:20px 20px 0 0;max-height:85dvh;overflow:auto;padding:20px 15px max(20px,env(safe-area-inset-bottom));box-shadow:0 -20px 45px rgba(9,28,62,.18)}#cfn-tax-app .cfn-result-panel.is-open{display:block}#cfn-tax-app .cfn-mobile-close{display:inline-grid;place-items:center;border:0;background:#eef2f9;border-radius:50%;width:27px;height:27px;font-size:23px;margin-right:auto;color:#627795}#cfn-tax-app .cfn-result-title .cfn-estimate{margin-right:6px}#cfn-tax-app .cfn-mobile-bar{position:fixed;z-index:900;inset:auto 0 0 0;display:grid;grid-template-columns:1fr 1fr 1.05fr;align-items:stretch;gap:4px;background:#fff;border-top:1px solid #d8e4f3;padding:7px 9px calc(7px + env(safe-area-inset-bottom));box-shadow:0 -4px 25px rgba(18,59,120,.1)}#cfn-tax-app .cfn-mini{display:flex;flex-direction:column;justify-content:center;padding:5px 3px;gap:2px;min-width:0}#cfn-tax-app .cfn-mini small{color:#7b8aa0;font-size:9px;white-space:nowrap}#cfn-tax-app .cfn-mini strong{color:#344f71;font-size:12px;white-space:nowrap;letter-spacing:-.3px;font-weight:900;font-variant-numeric:tabular-nums;direction:ltr;text-align:right}#cfn-tax-app .cfn-mini-tax{border:0;border-radius:9px;background:#e7efff;text-align:right}#cfn-tax-app .cfn-mini-tax small,#cfn-tax-app .cfn-mini-tax strong{color:var(--cfn-blue-deep)}#cfn-tax-app .cfn-mini-tax small span{font-weight:900}#cfn-tax-app .cfn-mobile-spacer{display:block;height:80px}#cfn-tax-app .cfn-sheet-backdrop{display:block;position:fixed;inset:0;z-index:980;background:#142b47a1}#cfn-tax-app .cfn-modal-overlay{z-index:9993}#cfn-tax-app .cfn-nontrade-grid{gap:9px}.cfn-about{margin-top:20px}.cfn-about p{font-size:11px}}
@media(max-width:420px){#cfn-tax-app .cfn-field-row{grid-template-columns:1fr;gap:10px}#cfn-tax-app .cfn-nontrade-grid{grid-template-columns:1fr}#cfn-tax-app .cfn-partnership{grid-template-columns:1fr}#cfn-tax-app .cfn-partnership .cfn-field{grid-row:auto}#cfn-tax-app .cfn-form-panel{padding:13px}#cfn-tax-app .cfn-mobile-bar{padding-inline:6px}#cfn-tax-app .cfn-mini small{font-size:8px}#cfn-tax-app .cfn-mini strong{font-size:11px}#cfn-tax-app .cfn-modal{padding:21px 16px}.cfn-intro h1{font-size:19px}}
@media(prefers-reduced-motion:reduce){#cfn-tax-app{scroll-behavior:auto}#cfn-tax-app *{transition:none!important}}


/* Production adapter: only the tax calculator layout; no calculation logic changed. */
.tax-calculator-page{max-width:1120px;padding:28px 18px 65px}
.tax-calculator-hero{max-width:770px;margin-bottom:20px}
.tax-calculator-hero h1{font-size:clamp(22px,2.5vw,30px)}
#cfn-tax-app .cfn-readonly-year{display:flex;align-items:center;justify-content:center;min-height:43px;border:1px solid #d9e2ed;border-radius:10px;background:#f7f9fd;color:#1e4ba5;font-weight:900;font-size:14px}
#cfn-tax-app .cfn-partnership.tax-partners:not(.show){display:none}
#cfn-tax-app .cfn-partnership.tax-partners.show{display:grid}
#cfn-tax-app .cfn-field-job .tax-occupation-picker{position:relative;z-index:4;min-width:0;width:100%}
#cfn-tax-app .cfn-field-job .tax-occupation-search-wrap{width:100%;position:relative}
#cfn-tax-app .cfn-field-job .tax-occupation-search-wrap input{width:100%;max-width:100%;min-width:0;box-sizing:border-box}
#cfn-tax-app .cfn-field-job .tax-occupation-results{z-index:70;max-width:100%}
#cfn-tax-app .cfn-main-cta{text-decoration:none;line-height:1.8}
#cfn-tax-app .cfn-main-cta:hover{text-decoration:none;color:#b43d1b}
#cfn-tax-app .cfn-total>strong{white-space:normal;overflow-wrap:anywhere;font-size:clamp(20px,2.3vw,29px)}
#cfn-tax-app .cfn-field input[type=number]{appearance:textfield;-moz-appearance:textfield}
#cfn-tax-app .cfn-field input[type=number]::-webkit-inner-spin-button,#cfn-tax-app .cfn-field input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
#cfn-tax-app .cfn-detail-line b{white-space:normal;overflow-wrap:anywhere;min-width:0}
@media(max-width:760px){
 .tax-calculator-page{padding:16px 11px 100px}
 .tax-calculator-hero h1{font-size:21px}
 #cfn-tax-app .cfn-mobile-quick>div span{font-size:12px}
 #cfn-tax-app .cfn-mobile-quick>div b{font-size:15px}
 #cfn-tax-app .cfn-mobile-quick button{font-size:12px}
 #cfn-tax-app .cfn-result-panel{overscroll-behavior:contain}
}
@media(max-width:350px){
 #cfn-tax-app .cfn-mobile-bar{gap:2px;padding-inline:4px}
 #cfn-tax-app .cfn-mini strong{font-size:10px}
}

/* Keep the existing floating contact button clear of the mobile tax summary. */
@media(max-width:760px){.cafeneti-mini-contact{bottom:calc(88px + env(safe-area-inset-bottom))!important}}

/* Tax review modal: clear inline-edit affordance. */
#cfn-tax-app .cfn-job-edit-field>span:first-child{display:flex;align-items:center;flex-wrap:wrap;gap:6px}
#cfn-tax-app .cfn-editable-hint{color:#174fba;background:#e9f1ff;border:1px solid #d4e3ff;border-radius:7px;font-size:10px;font-weight:800;padding:3px 7px}
#cfn-tax-app .cfn-job-edit-field input{border:1.5px solid #7ea6f3;background:#fbfdff}
#cfn-tax-app .cfn-job-edit-field input:focus{border-color:#2159cf}
#cfn-tax-app .cfn-job-edit-help{font-size:11px;color:#547092;line-height:1.9}
#cfn-tax-app .cfn-form-message{font-size:12px;line-height:1.9}
#cfn-tax-app .cfn-modal-overlay{overflow-y:auto}
#cfn-tax-app .cfn-modal{max-height:min(92dvh,760px)}
@media(max-width:420px){#cfn-tax-app .cfn-modal{padding:20px 15px}}


/* Modal layout repair (isolated to the tax-review modal). */
#cfn-tax-app .cfn-modal-overlay{
  z-index:2147483000;
  padding:clamp(116px,16vh,132px) 18px 24px;
  align-items:center;
  justify-items:center;
  overflow-y:auto;
  overscroll-behavior:contain;
}
#cfn-tax-app .cfn-modal{
  width:min(490px,100%);
  max-height:calc(100dvh - clamp(116px,16vh,132px) - 28px);
  overflow-y:auto;
  border:1px solid #e6edf8;
  border-radius:20px;
  padding:24px 26px 22px;
  box-shadow:0 24px 72px rgba(15,35,69,.25);
  scrollbar-width:thin;
}
#cfn-tax-app .cfn-modal-badge{
  font-size:12px;
  padding:7px 14px;
  background:#edf4ff;
  line-height:1.6;
}
#cfn-tax-app .cfn-modal h2{
  font-size:19px;
  line-height:1.55;
  margin:14px 0 5px;
}
#cfn-tax-app .cfn-modal>p{
  font-size:12px;
  line-height:1.9;
  margin-bottom:14px;
}
#cfn-tax-app .cfn-modal-estimate{
  margin-bottom:18px;
  padding:12px 14px;
  border:1px solid #e6eefc;
  border-radius:12px;
}
#cfn-tax-app [data-tax-lead-form]{
  display:grid;
  gap:13px;
}
#cfn-tax-app [data-tax-lead-form] .cfn-field{
  gap:6px;
  margin:0;
}
#cfn-tax-app [data-tax-lead-form] .cfn-field>span:first-child{
  font-size:12px;
  font-weight:800;
  color:#243d61;
}
#cfn-tax-app [data-tax-lead-form] .cfn-field>span b{color:#d93d43}
#cfn-tax-app [data-tax-lead-form] input:not([type=hidden]){
  display:block;
  width:100%;
  min-width:0;
  height:46px;
  border:1px solid #d2deed;
  border-radius:11px;
  padding:11px 13px;
  font-size:13px;
  font-weight:500;
  background:#fff;
  color:#17283d;
  outline:0;
  box-shadow:none;
}
#cfn-tax-app [data-tax-lead-form] input:focus{
  border-color:#397bec;
  box-shadow:0 0 0 3px rgba(33,89,207,.10);
}
#cfn-tax-app [data-tax-lead-form] input[name=phone]{direction:ltr;text-align:left;letter-spacing:.25px}
#cfn-tax-app [data-tax-lead-form] input[name=shoghel]{border-color:#7ea6f3;background:#fbfdff}
#cfn-tax-app [data-tax-lead-form] .cfn-job-edit-field>span:first-child{display:flex;gap:7px;align-items:center;flex-wrap:wrap}
#cfn-tax-app [data-tax-lead-form] .cfn-editable-hint{font-size:10px}
#cfn-tax-app .cfn-job-edit-help{line-height:1.65}
#cfn-tax-app .cfn-submit{min-height:47px;margin-top:2px;font-size:13px}
#cfn-tax-app .cfn-form-message{font-size:12px}
#cfn-tax-app .cfn-form-note{text-align:center;margin-top:12px!important}
#cfn-tax-app .cfn-modal-close{z-index:1}
@media(max-width:760px){
  #cfn-tax-app .cfn-modal-overlay{padding:max(78px,env(safe-area-inset-top)) 12px 16px}
  #cfn-tax-app .cfn-modal{
    max-height:calc(100dvh - max(78px,env(safe-area-inset-top)) - 20px);
    width:100%;
    padding:20px 17px 18px;
    border-radius:17px;
  }
  #cfn-tax-app [data-tax-lead-form] input:not([type=hidden]){font-size:16px}
}
