.azrw-page,.azrw-page *{box-sizing:border-box}
.azrw-page{font-family:inherit;color:#23303b;background:linear-gradient(180deg,#fff 0%,#fff9f9 55%,#fff 100%);padding-bottom:60px}
.azrw-container{width:min(1180px,calc(100% - 36px));margin:0 auto}
.azrw-hero{padding:55px 0 65px;background:linear-gradient(112deg,#49121b,#9d1524 70%,#c12235);color:#fff}
.azrw-eyebrow{display:inline-block;font-size:13px;font-weight:700;opacity:.88;margin-bottom:10px}
.azrw-hero h1{font-size:clamp(24px,3vw,36px)!important;line-height:1.6;margin:0 0 12px!important;color:#fff!important;font-weight:900}
.azrw-hero p{font-size:14px;line-height:1.95;margin:0;opacity:.93}
.azrw-body{position:relative;margin-top:-32px;z-index:1}
.azrw-columns{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,1fr);gap:20px;align-items:start}
.azrw-card,.azrw-table-card{background:white;border:1px solid #eddfe2;border-radius:19px;box-shadow:0 12px 40px rgba(107,23,39,.08);overflow:hidden}
.azrw-card{padding:26px}
.azrw-card-head{margin-bottom:22px}.azrw-card-head h2{font-size:21px!important;color:#25303a!important;margin:10px 0 0!important;line-height:1.5}
.azrw-section-chip{display:inline-flex;padding:5px 11px;border-radius:99px;background:#fff0f1;color:#a61e2c;font-size:11px;font-weight:800}
.azrw-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}
.azrw-field{display:flex;flex-direction:column;gap:8px;min-width:0}
.azrw-field>span{font-size:13px;font-weight:800;color:#333d48}.azrw-field>span small{font-weight:400;font-size:11px;color:#77818c;margin-right:4px}
.azrw-field select,.azrw-field input,.azrw-static{width:100%;height:49px;border:1px solid #e4d8dc!important;border-radius:10px!important;background:#fdfbfc!important;color:#29343f!important;font:inherit;font-size:15px!important;outline:none;padding:8px 13px!important;box-shadow:none!important;direction:rtl}
.azrw-field select:focus,.azrw-field input:focus{border-color:#b51f2b!important;box-shadow:0 0 0 3px rgba(181,31,43,.08)!important}
.azrw-static{display:flex;align-items:center;justify-content:space-between;gap:8px}.azrw-static strong{font-size:17px;color:#82212e}.azrw-static small{font-size:10px;color:#7d8992}
.azrw-custom[hidden],.azrw-validation[hidden]{display:none!important}
.azrw-validation{font-size:12px;color:#a72030;background:#fff4f5;border-radius:8px;padding:10px;margin:12px 0 0}
.azrw-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;border-top:1px solid #eee5e7;padding-top:20px;margin-top:25px}
.azrw-result{display:flex;flex-direction:column;gap:7px;align-items:center;text-align:center;border:1px solid #ece4e5;background:#faf9f9;border-radius:13px;padding:17px 9px}
.azrw-result span{font-size:12px;color:#61707a}.azrw-result strong{font-size:clamp(16px,2vw,22px);font-weight:900;direction:ltr}.azrw-result small{color:#7d858d;font-size:11px}
.azrw-result--highlight{border-color:#b51f2b;background:linear-gradient(140deg,#a01625,#ce2940);color:white}.azrw-result--highlight span,.azrw-result--highlight small{color:white}
.azrw-explain{background:#fff}.azrw-explain p{line-height:2;font-size:13px;color:#5b666f;margin:17px 0}
.azrw-formula{font-size:14px;font-weight:800;line-height:2.1;background:#fdf2f4;border:1px solid #f3d9de;color:#982131;padding:16px;border-radius:13px}
.azrw-example{background:#f8f9fa;border-right:3px solid #b51f2b;border-radius:9px;padding:14px;display:flex;flex-direction:column;gap:10px;font-size:12px}.azrw-example span{color:#97303c;font-weight:800}
.azrw-explain p.azrw-note{font-size:11px;color:#6e7b85}
.azrw-table-card{margin-top:24px;padding:25px}.azrw-table-head h2{font-size:22px;margin:8px 0 7px;color:#28333b}.azrw-table-head p{font-size:13px;color:#77818b;margin:0 0 20px}
.azrw-table-scroll{width:100%;overflow-x:auto}.azrw-table{width:100%;min-width:520px;border-collapse:separate;border-spacing:0;font-size:13px;text-align:center}
.azrw-table th,.azrw-table td{padding:13px 12px;border-bottom:1px solid #f0e5e8}.azrw-table thead th{background:#9f1c2c;color:#fff;font-weight:800}.azrw-table tbody th{font-weight:800;color:#752132}.azrw-table tbody tr:nth-child(even){background:#fff9fa}.azrw-table tbody tr:hover{background:#fff1f4}
.azrw-table-link{margin:25px 0}.azrw-table-link a{color:#9a192a;text-decoration:none;font-weight:800}
@media(max-width:900px){.azrw-columns{grid-template-columns:1fr}.azrw-body{margin-top:-24px}}
@media(max-width:560px){.azrw-container{width:calc(100% - 24px)}.azrw-hero{padding:36px 0 55px}.azrw-card,.azrw-table-card{padding:17px;border-radius:14px}.azrw-form{gap:12px;grid-template-columns:1fr}.azrw-results{grid-template-columns:1fr 1fr}.azrw-result:last-child{grid-column:span 2}.azrw-result{padding:13px 9px}.azrw-card-head h2{font-size:18px!important}}
@media(prefers-reduced-motion:reduce){.azrw-page *{scroll-behavior:auto!important;transition:none!important}}

/* v2.1: bidi-safe numeric presentation in RTL UI (does not modify numeric values) */
.azrw-page bdi[dir="ltr"],
.azrw-page .azrw-result strong,
.azrw-page .azrw-result strong bdi {
  direction:ltr!important;
  unicode-bidi:isolate!important;
}
.azrw-page bdi[dir="ltr"]{display:inline-block;white-space:nowrap;font-variant-numeric:tabular-nums}
.azrw-page .azrw-field select[data-azrw-select],
.azrw-page .azrw-field input[data-azrw-input],
.azrw-page .azrw-field input[data-azrw-count] {
  direction:ltr!important;
  unicode-bidi:isolate!important;
  text-align:right!important;
  font-variant-numeric:tabular-nums;
}
.azrw-page .azrw-field select[data-azrw-select] option[value="custom"]{direction:rtl}
.azrw-page .azrw-result strong{white-space:nowrap}
.azrw-page .azrw-table bdi[dir="ltr"]{min-width:fit-content}

/* v2.2: editable length, consistent numeric bidi rendering */
.azrw-page .azrw-field input[data-azrw-length]{direction:ltr!important;unicode-bidi:isolate!important;text-align:right!important;font-variant-numeric:tabular-nums}
