@charset "UTF-8";
/*! আইনপ্রকাশ দলিল ফিস ক্যালকুলেটর — build-wp.js দ্বারা তৈরি, হাতে সম্পাদনা করবেন না।
   Tiro Bangla ফন্ট: Google Fonts, SIL Open Font License 1.1 (assets/fonts/OFL.txt) */
@font-face{font-family:'Tiro Bangla';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/tiro-bangla-bengali.woff2) format('woff2');unicode-range:U+0951-0952, U+0964-0965, U+0980-09FE, U+1CD0, U+1CD2, U+1CD5-1CD6, U+1CD8, U+1CE1, U+1CEA, U+1CED, U+1CF2, U+1CF5-1CF7, U+200C-200D, U+20B9, U+25CC, U+A8F1}
@font-face{font-family:'Tiro Bangla';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/tiro-bangla-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
/* --- theme guard: থিমের সাধারণ স্টাইল যেন ক্যালকুলেটরের ভেতরে প্রভাব না ফেলে --- */
.adf-root,.adf-root *,.adf-root *::before,.adf-root *::after{box-sizing:border-box}
.adf-root,.adf-root *{font-style:normal;text-transform:none;text-decoration:none;letter-spacing:normal;word-spacing:normal;text-indent:0;text-shadow:none;float:none;clear:none}
.adf-root{max-width:100%;overflow-wrap:break-word;text-align:left;direction:ltr}
.adf-root table{width:100%;max-width:none;margin:0;border:0;background:none;font-size:inherit;display:table}
.adf-root table thead,.adf-root table tbody,.adf-root table tr{background:none;border:0}
.adf-root table th,.adf-root table td{border:0;background:none;font-weight:inherit;text-align:left}
.adf-root h2,.adf-root h3{margin:0;padding:0;font-family:inherit;border:0}
.adf-root p,.adf-root label,.adf-root div,.adf-root span{margin:0;font-family:inherit}
.adf-root button,.adf-root select,.adf-root input{width:auto;max-width:none;height:auto;min-height:0;font-family:inherit;box-shadow:none;margin:0}
.adf-root select{background-color:#fff}
/* Tiro Bangla (Google Fonts, SIL Open Font License 1.1) — ফাইলটি অফলাইনে চলার জন্য
   ফন্টের বাংলা ও ল্যাটিন সাবসেট এখানেই এম্বেড করা আছে। */

.adf-root{
  --ink:#14231c; --ink-soft:#4a5c53; --ink-faint:#7d8e85;
  --paper:#f6f4ee; --card:#fffdf8; --line:#dcd7c9;
  --green:#12664f; --green-dk:#0b4436; --green-lt:#e6f0ea;
  --gold:#9a7b1f; --gold-lt:#faf3dd;
  --red:#a3341f;
  --bangla:'Tiro Bangla','Noto Serif Bengali','Nirmala UI','Vrinda',serif;
  --shadow:0 1px 2px rgba(20,35,28,.05),0 8px 24px -12px rgba(20,35,28,.18);
  --radius:14px;
}
.adf-root,.adf-root *{box-sizing:border-box;margin:0;padding:0}

.adf-root{
  font-family:var(--bangla);
  background:var(--paper); color:var(--ink); line-height:1.7; font-size:16.5px;
  background-image:radial-gradient(circle at 12% -5%,#e9efe9 0,transparent 45%),radial-gradient(circle at 92% 0%,#f2eee0 0,transparent 40%);
  background-attachment:fixed;
}
.adf-root .adf-wrap{max-width:1080px;margin:0 auto;padding:20px 16px 60px}

/* ---------- header ---------- */
.adf-root header{text-align:center;padding:26px 0 22px}
.adf-root .adf-crest{
  width:52px;height:52px;margin:0 auto 12px;border-radius:50%;
  background:var(--green);color:#fff;display:grid;place-items:center;
  font-size:27px;font-weight:700;
  box-shadow:0 6px 18px -6px rgba(18,102,79,.6);
}
.adf-root .adf-h1{font-weight:700;font-size:clamp(22px,4.4vw,32px);letter-spacing:-.005em;color:var(--green-dk);line-height:1.4}
.adf-root .adf-sub{color:var(--ink-soft);font-size:15px;margin-top:6px}
.adf-root .adf-rule{width:70px;height:3px;background:var(--gold);border-radius:2px;margin:14px auto 0;opacity:.75}

/* ---------- card ---------- */
.adf-root .adf-card{
  background:var(--card);border:1px solid var(--line);border-radius:var(--radius);
  box-shadow:var(--shadow);overflow:hidden;margin-bottom:20px;
}
.adf-root .adf-card-hd{
  display:flex;align-items:center;gap:10px;padding:14px 18px;
  border-bottom:1px solid var(--line);background:linear-gradient(180deg,#fffefb,#f9f6ee);
}
.adf-root .adf-card-hd .adf-n{
  flex:0 0 26px;height:26px;border-radius:8px;background:var(--green-lt);color:var(--green-dk);
  display:grid;place-items:center;font-weight:700;font-size:14px;border:1px solid #cfe0d6;
}
.adf-root .adf-card-hd h2{font-size:17px;font-weight:700;color:var(--green-dk)}
.adf-root .adf-card-bd{padding:18px}

/* ---------- form ---------- */
.adf-root .adf-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(265px,1fr));gap:14px 16px;align-items:start}
.adf-root .adf-f{display:flex;flex-direction:column;gap:6px;min-width:0}
.adf-root .adf-f.adf-wide{grid-column:1/-1}
.adf-root label{font-size:14.5px;font-weight:700;color:var(--ink-soft);line-height:1.5}
.adf-root label .adf-req{color:var(--red)}
.adf-root label .adf-hint{font-weight:400;color:var(--ink-faint);font-size:13px}
.adf-root select,.adf-root input[type=text]{
  width:100%;padding:10px 12px;font:inherit;font-size:15.5px;color:var(--ink);
  background:#fff;border:1px solid #cfcab8;border-radius:9px;outline:0;
  transition:border-color .15s,box-shadow .15s;
}
.adf-root select{
  appearance:none;padding-right:34px;cursor:pointer;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='11' height='7' viewBox='0 0 11 7'><path d='M1 1l4.5 4.5L10 1' fill='none' stroke='%234a5c53' stroke-width='1.8' stroke-linecap='round'/></svg>");
  background-repeat:no-repeat;background-position:right 12px center;
}
.adf-root select:focus,.adf-root input:focus{border-color:var(--green);box-shadow:0 0 0 3px rgba(18,102,79,.13)}
.adf-root select:disabled{background:#f2f0e9;color:var(--ink-faint);cursor:not-allowed}
.adf-root .adf-inline{display:flex;gap:10px}
.adf-root .adf-inline>*{flex:1;min-width:0}
.adf-root .adf-inline .adf-u{flex:0 0 44%}
.adf-root .adf-err{color:var(--red);font-size:13px;font-weight:700}
.adf-root input.adf-bad{border-color:var(--red);box-shadow:0 0 0 3px rgba(163,52,31,.12)}
.adf-root .adf-note{
  grid-column:1/-1;font-size:14px;color:var(--gold);background:var(--gold-lt);
  border:1px solid #ecdfae;border-left:3px solid var(--gold);border-radius:8px;padding:9px 12px;
}
.adf-root .adf-hide{display:none!important}

/* ---------- buttons ---------- */
.adf-root .adf-actions{display:flex;gap:12px;flex-wrap:wrap;padding:4px 0 0;grid-column:1/-1}
.adf-root button{font:inherit;cursor:pointer;border:0;border-radius:10px;padding:12px 24px;font-weight:700;font-size:16px;transition:transform .08s,filter .15s}
.adf-root button:active{transform:translateY(1px)}
.adf-root .adf-btn-go{background:var(--green);color:#fff;box-shadow:0 6px 16px -8px rgba(18,102,79,.8);flex:1;min-width:190px}
.adf-root .adf-btn-go:hover{filter:brightness(1.08)}
.adf-root .adf-btn-ghost{background:#fff;color:var(--ink-soft);border:1px solid #cfcab8}
.adf-root .adf-btn-ghost:hover{background:#f4f2ea}

/* ---------- result ---------- */
.adf-root #adf-result{scroll-margin-top:14px}
.adf-root .adf-res-hd{padding:16px 18px;background:linear-gradient(135deg,var(--green-dk),var(--green));color:#fff}
.adf-root .adf-res-hd .adf-lbl{font-size:13.5px;opacity:.85}
.adf-root .adf-res-hd .adf-dn{font-size:20px;font-weight:700;margin-top:2px;line-height:1.4}
.adf-root .adf-res-meta{font-size:13.5px;opacity:.92;margin-top:6px;line-height:1.55}
.adf-root .adf-res-tot{padding:13px 18px;background:#fffdf3;border-bottom:1px solid var(--line);font-size:16px;font-weight:700;color:var(--gold);text-align:center}
.adf-root table{width:100%;border-collapse:collapse;font-size:15.5px;table-layout:fixed}
.adf-root th,.adf-root td{padding:11px 12px;border-bottom:1px solid #ece8dc;vertical-align:top;word-break:break-word}
.adf-root th:first-child,.adf-root td:first-child{text-align:left;width:auto}
.adf-root th.adf-pct,.adf-root td.adf-pct{text-align:center;width:23%;color:var(--ink-soft);font-size:14.5px;white-space:pre-line}
.adf-root th.adf-amt,.adf-root td.adf-amt{text-align:right;width:27%;font-variant-numeric:tabular-nums;font-weight:700;white-space:nowrap}
.adf-root tr.adf-tabile-title th{
  font-size:14px;font-weight:700;color:#fff;background:var(--green);
  border-bottom:1px solid var(--green-dk);
}
.adf-root tbody tr:hover{background:#fbfaf5}
.adf-root tr.adf-na td,.adf-root tr.adf-na td.adf-pct{color:var(--ink-faint)}
.adf-root tr.adf-na td.adf-amt{font-weight:400}
.adf-root td sup{color:var(--gold);font-weight:700}
.adf-root .adf-total-cost{
  display:flex;justify-content:space-between;align-items:baseline;gap:12px;
  background:var(--green-lt);border-top:2px solid var(--green);
  padding:15px 18px;color:var(--green-dk);
}
.adf-root .adf-total-cost p{font-size:18px;font-weight:700}
.adf-root .adf-total-cost p.adf-cost{font-size:23px;font-variant-numeric:tabular-nums;white-space:nowrap}
.adf-root .adf-foot-note{padding:11px 18px;font-size:13px;color:var(--gold);background:var(--gold-lt);border-top:1px solid #ecdfae}
.adf-root .adf-rules{padding:16px 18px;border-top:1px solid var(--line);background:#fdfcf7}
.adf-root .adf-rules h3{font-size:15px;color:var(--green-dk);margin-bottom:7px;font-weight:700}
.adf-root .adf-rules p{font-size:14px;color:var(--ink-soft);white-space:pre-line;line-height:1.85}
.adf-root .adf-disc{font-size:13px;color:var(--ink-faint);text-align:center;padding:16px 18px;border-top:1px solid var(--line)}
/* কেবল প্রিন্টে দেখা যাবে */
.adf-root .adf-print-only{display:none}
.adf-root .adf-gen-note{text-align:center;font-size:11pt;color:var(--ink-soft);padding:10px 0 0;line-height:1.6}
.adf-root footer{text-align:center;font-size:13.5px;color:var(--ink-faint);padding:8px 0 0;line-height:1.9}
.adf-root .adf-toast{
  position:fixed;left:50%;bottom:26px;transform:translate(-50%,20px);opacity:0;pointer-events:none;
  background:var(--red);color:#fff;padding:11px 20px;border-radius:10px;font-size:15px;font-weight:700;
  box-shadow:0 10px 30px -10px rgba(0,0,0,.5);transition:.25s;z-index:99;max-width:90vw;text-align:center;
}
.adf-root .adf-toast.adf-on{opacity:1;transform:translate(-50%,0)}
@media (max-width:520px){
  .adf-root .adf-card-bd{padding:14px}
  .adf-root th,.adf-root td{padding:10px 8px;font-size:14.5px}
  .adf-root th.adf-pct,.adf-root td.adf-pct{font-size:13px;width:26%}
  .adf-root th.adf-amt,.adf-root td.adf-amt{width:29%}
  .adf-root .adf-total-cost p{font-size:16px}.adf-root .adf-total-cost p.adf-cost{font-size:19px}
  .adf-root .adf-inline{flex-direction:column}.adf-root .adf-inline .adf-u{flex:1}}
@media print{
  @page{margin:12mm}
  .adf-root{background:#fff;font-size:12pt}
  .adf-root .adf-wrap{max-width:none;padding:0}
  .adf-root header{padding:0 0 10px}
  .adf-root header .adf-sub,.adf-root header .adf-rule,.adf-root .adf-crest,.adf-root #adf-formCard,.adf-root .adf-actions,.adf-root footer,.adf-root .adf-toast,.adf-root .adf-noprint{display:none!important}
  .adf-root .adf-h1{font-size:19pt;line-height:1.35}
  .adf-root .adf-print-only{display:block!important}
  /* কনটেন্ট যেন ১ম পৃষ্ঠা থেকেই শুরু হয় — কার্ডকে পৃষ্ঠায় ভাগ হতে দেওয়া হচ্ছে,
     কেবল সারি/ব্লকগুলো অখণ্ড রাখা হচ্ছে। */
  .adf-root .adf-card{box-shadow:none;border-color:#999;break-inside:auto;page-break-inside:auto}
  .adf-root #adf-result{break-before:avoid;page-break-before:avoid}
  .adf-root tr,.adf-root .adf-res-hd,.adf-root .adf-res-tot,.adf-root .adf-total-cost,.adf-root .adf-foot-note,.adf-root .adf-disc,.adf-root .adf-gen-note{break-inside:avoid;page-break-inside:avoid}
  .adf-root .adf-rules p{orphans:2;widows:2}
  .adf-root thead{display:table-header-group}
  .adf-root .adf-res-hd{background:#0b4436!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
  .adf-root tr.adf-tabile-title th{background:#12664f!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
  .adf-root .adf-total-cost{background:#e6f0ea!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
  /* ওয়াটারমার্ক — প্রতিটি পৃষ্ঠায় হালকাভাবে পুনরাবৃত্ত হবে (fill-opacity .07),
     যাতে মূল লেখা পড়তে কোনো অসুবিধা না হয়। */
  .adf-root::before{
    content:'';position:fixed;inset:0;z-index:9999;pointer-events:none;
    background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='200' viewBox='0 0 300 200'><g fill='%2312664f' fill-opacity='.07' font-family='Arial, Helvetica, sans-serif' font-size='20' font-weight='700'><text transform='translate(12 178) rotate(-30)'>ainprokash.com</text><text transform='translate(152 88) rotate(-30)'>ainprokash.com</text></g></svg>");
    background-repeat:repeat;
    -webkit-print-color-adjust:exact;print-color-adjust:exact;
  }}