/* Form-only components / styling. The visual design tokens, shell, cards,
   header, sidebar, and hero are inherited from the actual uploaded review.css. */
html{scroll-padding-top:112px}body{font-family:Vazir,Tahoma,sans-serif}button,input,textarea,select{font-family:Vazir,Tahoma,sans-serif}textarea{font:inherit}
.top-inner{justify-content:space-between}.brand{font-size:14px;flex-shrink:0}.brand .tiny{display:block;font-size:11px;color:var(--muted);font-weight:400;line-height:1.7}.logo{font:700 15px Georgia,serif;letter-spacing:.3px}.top-tools{display:flex;align-items:center;gap:9px;flex:1;justify-content:flex-end}.top-tools .search-wrap{min-width:175px;max-width:360px;flex:1;cursor:text}.top-tools .search-wrap input{height:40px;width:100%;font-size:12px}.top-tools .toolbar-cta{background:var(--teal);color:var(--paper);font-weight:700;text-decoration:none;border-color:var(--teal)}.top-tools .toolbar-cta:hover{background:#17483f}.top-tools .toolbar-button{font-size:12px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.sidebar .side-form{margin-top:11px;font-weight:700;background:var(--gold-soft);color:var(--ink)}.sidebar .side-links a{overflow-wrap:anywhere}.sidebar .sidebar-note{margin-top:16px;line-height:2}.main{min-width:0}
.hero .micro.label{border-color:rgba(255,255,255,.23);color:#f8dfae}.hero .container{padding:0}.hero h1{max-width:790px}.hero p{max-width:950px}.hero-pills{display:flex;flex-wrap:wrap;gap:7px;margin-top:16px}.hero-pills span{border:1px solid rgba(255,255,255,.27);color:#d6e9df;padding:3px 10px;border-radius:999px;font-size:11px}.hero-metrics.metrics{margin-top:22px}.hero-metric.metric b{font-size:23px;color:#f1d9a7}.hero-metric.metric span{font-size:12px;color:#d6e9df}
/* These first two document sections use the same reference white paper/card treatment. */
.section.container{max-width:none;padding-inline:clamp(18px,3vw,32px)}.section .kicker{font-size:12px;font-weight:700;color:var(--gold);margin-bottom:4px}.section .lead{font-size:13px;color:var(--muted);line-height:2.08;margin:4px 0 19px}.section h2{margin:0 0 10px}.summary-strip.note{margin:16px 0 0;display:flex;justify-content:space-between;align-items:center;gap:10px 16px;flex-wrap:wrap;border-radius:13px;border-right:4px solid var(--gold)}.summary-strip .badge{background:var(--gold-soft);color:var(--gold);padding:3px 9px;font-size:11px;font-weight:700;border-radius:8px;margin-left:9px}.summary-strip strong{font-size:14px}.summary-strip small{color:var(--muted);font-size:12px}.summary-strip .ltr{font-family:Consolas,monospace}
.grid-guide{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.guide-card.info{background:var(--bg);padding:19px 20px;scroll-margin-top:105px;border:1px solid var(--line);border-radius:14px;box-shadow:none}.guide-card .chapter{color:var(--gold);font-size:11px;font-weight:700}.guide-card h3{color:var(--teal);font-size:16px;margin:4px 0 11px;line-height:1.85}.guide-card p,.guide-card li{color:var(--muted);font-size:12.5px;line-height:2.1}.guide-card ul{padding-inline-start:20px}.guide-card p{margin:0 0 10px}.guide-card p:last-child{margin-bottom:0}.guide-card .callout{border-right:4px solid var(--gold);border-left:1px solid var(--line);border-top:1px solid var(--line);border-bottom:1px solid var(--line);border-radius:11px;padding:11px 14px;background:var(--gold-soft);color:var(--ink);font-size:12px;line-height:2.1;margin-top:11px}.guide-card .callout strong{color:var(--teal)}.guide-card .compare{font-size:11.8px;line-height:2;width:100%;min-width:0;margin:10px 0;border-collapse:collapse}.guide-card .compare th,.guide-card .compare td{padding:7px 8px;text-align:right;border-bottom:1px solid var(--line)}.guide-card .compare th{color:var(--teal);background:var(--teal-soft)}.guide-card .compare tr:last-child td{border-bottom:0}.guide-card .ltr{direction:ltr;unicode-bidi:isolate;display:inline-block;font:600 .98em Consolas,monospace;overflow-wrap:anywhere}
.note-panel{padding:17px 19px;border-radius:12px;border:1px solid var(--line);border-right:4px solid var(--gold);background:var(--gold-soft);margin-top:15px}.note-panel p{font-size:13px;color:var(--muted)}.note-panel strong{color:var(--teal)}
/* Wizard layout and inputs; color variables come straight from review.css. */
.section.form-section{scroll-margin-top:105px}.form-shell{border:1px solid var(--line);border-radius:16px;overflow:hidden;background:var(--paper)}.form-top{padding:23px 25px 18px;border-bottom:1px solid var(--line);background:var(--paper)}.form-top h3{margin:8px 0 4px;font-size:17px;color:var(--ink)}.form-top p{font-size:12px;margin:2px 0;color:var(--muted)}.badge-inline{display:inline-block;padding:3px 10px;border-radius:8px;background:var(--teal-soft);color:var(--teal);font-size:11px;font-weight:700}.progress-track{height:7px;background:var(--line);border-radius:9px;overflow:hidden;margin-top:20px}.progress-bar{width:33.33%;height:100%;border-radius:9px;background:var(--teal);transition:width .2s ease}.step-labels{display:flex;justify-content:space-between;gap:12px;margin:10px 0 0;font-size:11px;color:var(--muted)}.step-labels span.active{color:var(--teal);font-weight:700}.step{padding:10px 25px 23px}.step[hidden],.review[hidden]{display:none!important}.field{margin:0;padding:23px 0;border:0;border-bottom:1px solid var(--line);min-width:0}.field:last-child{border-bottom:0}.field legend{width:100%;float:right;margin:0 0 5px;font-weight:700;font-size:15px;color:var(--ink)}.field legend:after{content:"";display:block;clear:both}.help{color:var(--muted);font-size:12px;line-height:2;clear:both;margin:4px 0 13px}.number{width:32px;height:32px;display:inline-grid;place-items:center;margin-left:8px;vertical-align:middle;border-radius:10px;background:var(--teal-soft);color:var(--teal);font:700 13px Vazir,Tahoma,sans-serif}.cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;clear:both}.input-label{display:flex;flex-direction:column;gap:5px;color:var(--muted);font-size:12px}.input-label input,.input-label textarea,.input-label select{width:100%;max-width:100%;min-width:0;padding:9px 12px;min-height:42px;background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:10px;outline:none}.input-label textarea{min-height:95px;resize:vertical}.input-label input:focus,.input-label select:focus,.input-label textarea:focus{border-color:var(--teal);box-shadow:0 0 0 3px var(--teal-soft)}.input-label .ascii{text-align:left;direction:ltr;font-family:Consolas,monospace;letter-spacing:.2px}.options{clear:both;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.option{display:flex;align-items:flex-start;gap:10px;padding:10px 13px;border:1px solid var(--line);border-radius:11px;cursor:pointer;font-size:12.5px;line-height:2;background:var(--paper);min-width:0}.option:hover{border-color:var(--gold)}.option input{accent-color:var(--teal);margin-top:7px;flex-shrink:0}.option:has(input:checked){background:var(--teal-soft);border-color:var(--teal);box-shadow:inset 0 0 0 1px var(--teal)}.subsection{font-size:12px;font-weight:700;color:var(--teal);margin:17px 0 6px}.rank-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:14px}.form-alert:not(:empty){padding:11px 15px;background:var(--gold-soft);border-right:4px solid var(--gold);color:var(--ink);margin:10px 25px;border-radius:8px;font-size:12px}.form-bottom{padding:17px 25px 24px;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px}.actions,.review-actions{display:flex;flex-wrap:wrap;gap:10px}button.primary,button.outline{border-radius:11px;padding:10px 15px;min-height:41px;font-size:12px;cursor:pointer;font-weight:700}button.primary{color:#fff;background:#135951;border:1px solid #135951}html[data-theme=dark] button.primary{color:#071715;background:#9ce0c8;border-color:#9ce0c8}button.outline{background:var(--paper);border:1px solid var(--line);color:var(--teal)}button.primary:hover{filter:brightness(1.08)}button.outline:hover{border-color:var(--gold)}button[hidden]{display:none!important}.status{color:var(--muted);font-size:12px;line-height:2}.review{padding:21px 25px 27px}.review h3{margin:9px 0 5px;color:var(--ink)}.review-intro{font-size:12px;color:var(--muted)}.review-body{border:1px solid var(--line);border-radius:13px;padding:18px;background:var(--bg);margin:16px 0}.review-body h4{margin:12px 0 4px;color:var(--teal)}.review-body li{font-size:12.5px;line-height:2.15;margin:7px 0;overflow-wrap:anywhere}.review-actions{margin:14px 0}.privacy{font-size:12px;line-height:2;border-top:1px solid var(--line);padding:14px 25px;color:var(--muted)}.ltr{direction:ltr;display:inline-block;unicode-bidi:isolate}#downloadStatus a{margin:0 8px}.search-hidden{display:none!important}
.footer{max-width:1520px;margin:0 auto 24px;border-top:1px solid var(--line);padding:24px 17px;color:var(--muted)}.footer .container{max-width:none;text-align:center;font-size:12px}.footer .copyright{margin-top:8px;font-size:11px}.footer a{font-weight:700}
@media(max-width:1110px){.grid-guide{grid-template-columns:1fr 1fr}.top-tools .search-wrap{max-width:230px}}@media(max-width:840px){.grid-guide{grid-template-columns:1fr}.top-tools .search-wrap{min-width:0}.top-inner .brand{max-width:260px}}@media(max-width:600px){.top-inner{flex-wrap:wrap}.top-tools{width:100%;justify-content:space-between}.top-tools .search-wrap{display:flex;max-width:none;min-width:0}.top-tools .toolbar-button{white-space:nowrap}.top-tools .toolbar-cta{white-space:nowrap}.hero-pills{margin-top:12px}.hero-metrics.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.summary-strip.note{margin-top:14px}.cols,.options,.rank-grid{grid-template-columns:1fr}.step{padding:9px 16px 19px}.form-top,.form-bottom,.review{padding-inline:16px}.step-labels{font-size:9px;gap:3px}.guide-card.info{padding:16px}.guide-card h3{font-size:15px}}
@media print{.topbar,.sidebar,.step,.review-actions,.form-bottom,.privacy,.top-tools{display:none!important}.shell{display:block}.guide-card.info{break-inside:avoid}.grid-guide{grid-template-columns:1fr 1fr}.form-section{display:none!important}.hero-metrics.metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.footer{max-width:none}}

.top-inner .brand { text-align: center; }
html[data-theme="light"] { color-scheme: light; }
html[data-theme="dark"] { color-scheme: dark; }
html[data-theme="dark"] .topbar {
  --header-gutter: max(0px, 50vw - 760px);
  background: linear-gradient(to left,
    #6b9789 calc(var(--header-gutter) + 210px),
    var(--paper) calc(var(--header-gutter) + 390px));
}
html[data-theme="dark"] .brand .tiny { color: var(--bg); }
@media (width > 840px) {
  .sidebar { top: 112px; max-height: calc(100vh - 132px); }
}
@media (max-width: 600px) {
  html { scroll-padding-top: 156px; }
}
.brand-logo { display: block; width: 180px; height: auto; }
.brand-logo-dark,
html[data-theme="dark"] .brand-logo-light { display: none; }
html[data-theme="dark"] .brand-logo-dark { display: block; }

html.page-loading { overflow: hidden; }
.page-loading body > :not(.page-loader) { visibility: hidden; }
.page-loader:not([hidden]) {
  position: fixed;
  inset: 0;
  z-index: 101;
  display: grid;
  place-items: center;
  background: #010e0b;
}
.page-loader img {
  width: min(480px, 100vw, 177.78vh);
  height: auto;
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent),
              linear-gradient(to bottom, transparent, #000 12%, #000 90%, transparent);
  mask-composite: intersect;
}
