:root {
  --ink: #152744;
  --blue: #09244e;
  --gold: #e7a928;
  --gold2: #f4d16b;
  --cream: #fff7df;
  --muted: #718096;
  --line: #e7e3d8;
  --paper: #fff;
  --red: #9d2b23;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #f4f3ef;
  color: #15233a;
  font-size: 16px;
  font-family: 'DM Sans','Noto Sans Telugu',sans-serif;
}
button,input,select,textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
.topbar {
  height: 68px;
  background: #fff;
  border-bottom: 1px solid #ebe8df;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(18px,5vw,72px);
}
.brand {
  display: flex;
  gap: 11px;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
}
.brand-mark {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  object-fit: contain;
}
.secure {
  font-size: 12px;
  color: #637185;
  display: flex;
  align-items: center;
  gap: 7px;
}
.secure i {
  width: 7px;
  height: 7px;
  background: #35a178;
  border-radius: 50%;
}
main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 42px 24px 72px;
}
.intro {
  margin: 0 auto 32px;
  max-width: 700px;
  text-align: center;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 10px;
  font-weight: 700;
  color: #a26c0e;
}
.intro h1 {
  font-size: clamp(28px,4vw,40px);
  letter-spacing: -.04em;
  margin: 11px 0 9px;
  color: #162944;
}
.intro p {
  margin: 0;
  color: #69778b;
  font-size: 14px;
  line-height: 1.65;
}
.steps {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  max-width: 530px;
  color: #8590a0;
  font-size: 12px;
}
.step {
  display: flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  font-size: inherit;
}
.step b {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid #d8dce2;
  font-size: 11px;
}
.step.active {
  color: #1b3152;
  font-weight: 700;
  font-size: inherit;
}
.step.active b {
  background: #1c3559;
  color: #fff;
  border-color: #1c3559;
}
.step.done b {
  background: #e8f4ee;
  border-color: #d4eade;
  color: #27835c;
}
.step-line {
  height: 1px;
  width: 68px;
  background: #dfe2e6;
  margin: 0 14px;
}
.layout {
  display: grid;
  grid-template-columns: minmax(0,1.02fr) minmax(400px,.98fr);
  gap: 24px;
  align-items: start;
}
.layout.preview-pending {
  grid-template-columns: minmax(0,1fr);
}
.panel {
  background: #fff;
  border: 1px solid #eae7df;
  border-radius: 16px;
  box-shadow: 0 6px 24px #23324c08;
}
.form-panel {
  padding: 25px 26px 24px;
}
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 22px;
}
.panel-head h2 {
  font-size: 17px;
  margin: 0 0 5px;
  color: #192d49;
}
.panel-head p {
  font-size: 12px;
  color: #788498;
  margin: 0;
}
.required-note {
  font-size: 10px;
  color: #8993a0;
}
.section-title {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-weight: 700;
  color: #a0701e;
  margin: 22px 0 13px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.section-title:first-of-type {
  margin-top: 0;
}
.section-title:after {
  content: '';
  height: 1px;
  background: #eee9dc;
  flex: 1;
}
.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px 14px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.field.wide {
  grid-column: 1/-1;
}
.field label {
  font-size: 11px;
  font-weight: 600;
  color: #45536a;
}
.field label em {
  font-style: normal;
  color: #bf5546;
  font-size: inherit;
}
.marital-options {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 3px 0 1px;
}
.marital-options label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 500;
}
.marital-options input[type="radio"] {
  width: auto;
  margin: 0;
  accent-color: #17375e;
}
.paired-person {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.field input,.field select,.field textarea {
  width: 100%;
  border: 1px solid #e0e3e7;
  border-radius: 8px;
  padding: 10px 11px;
  color: #24344e;
  background: #fff;
  outline: none;
  font-size: 12px;
  transition: .15s;
}
.field input:focus,.field select:focus,.field textarea:focus {
  border-color: #d3a13e;
  box-shadow: 0 0 0 3px #eebf4c20;
}
.field input::placeholder,.field textarea::placeholder {
  color: #a8b0bb;
  font-size: inherit;
}
.field input.telugu {
  font-family: 'Noto Sans Telugu',sans-serif;
}
.field input[type=file] {
  padding: 8px;
  font-size: 11px;
}
.field textarea {
  resize: vertical;
  min-height: 58px;
}
.hint {
  font-size: 10px;
  color: #98a1ad;
}
.checks {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 4px 0;
}
.checks label {
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
}
.checks input {
  accent-color: #17375e;
  width: auto;
}
.form-actions {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.privacy {
  font-size: 10px;
  line-height: 1.5;
  color: #8590a0;
  max-width: 200px;
}
.primary {
  border: 0;
  background: #17345b;
  color: #fff;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 4px 10px #122d5420;
}
.primary:hover {
  background: #214673;
  font-size: inherit;
}
.primary .arrow {
  font-size: 15px;
  padding-left: 9px;
}
.small-btn {
  border: 1px solid #d9dde2;
  background: white;
  color: #42516a;
  border-radius: 7px;
  padding: 9px 12px;
  font-size: 11px;
  font-weight: 600;
}
.preview-panel {
  padding: 22px;
  position: sticky;
  top: 18px;
}
.preview-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}
.preview-head h2 {
  font-size: 14px;
  margin: 0;
  color: #1b2e49;
}
.live {
  font-size: 10px;
  color: #438263;
  display: flex;
  gap: 6px;
  align-items: center;
}
.live:before {
  content: '';
  width: 6px;
  height: 6px;
  background: #55a379;
  border-radius: 50%;
}
.card-tabs {
  display: flex;
  gap: 5px;
  padding: 3px;
  background: #f3f4f5;
  border-radius: 8px;
  margin-bottom: 14px;
}
.card-tabs button {
  border: 0;
  background: transparent;
  color: #8290a0;
  border-radius: 6px;
  flex: 1;
  padding: 8px;
  font-size: 10px;
  font-weight: 600;
}
.card-tabs button.selected {
  background: #fff;
  color: #1d3455;
  box-shadow: 0 1px 4px #17294212;
  font-size: inherit;
}
.card {
  position: relative;
  aspect-ratio: 1.414/1;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 9px 25px #16233d1a;
  font-family: 'Noto Sans Telugu','DM Sans',sans-serif;
  color: #143669;
}
.front {
  border: 3px solid var(--gold);
  padding: 4px;
  background: linear-gradient(140deg,#fff 0 65%,#fffcf1);
}
.front:before {
  content: '';
  position: absolute;
  inset: 5px;
  border: 1px solid #edc259;
  border-radius: 13px;
  pointer-events: none;
  z-index: 4;
}
.front-top {
  height: 24%;
  background: radial-gradient(ellipse at 50% 125%,#274979 0 5%,transparent 6%),linear-gradient(115deg,#091d42,#163562 57%,#091c3e);
  border-radius: 12px 12px 6px 6px;
  color: #ffdb69;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  padding: 7px 21%;
  font-size: clamp(11px,1.3vw,16px);
  font-weight: 800;
  line-height: 1.3;
}
.seal {
  position: absolute;
  left: 2.5%;
  top: 8%;
  width: 16%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid #eab63f;
  background: radial-gradient(circle,#f4ce68 0 22%,#853b19 24% 27%,#f3cf6c 29% 36%,#102c57 39%);
  display: grid;
  place-items: center;
  color: #fff1ae;
  font-size: clamp(14px,2vw,23px);
  box-shadow: 0 1px 8px #0006;
}
.top-deity {
  position: absolute;
  right: 3%;
  top: 13%;
  font-size: clamp(20px,3vw,35px);
  filter: drop-shadow(0 1px 3px #000);
}
.front-meta {
  text-align: center;
  background: #fff8e8;
  color: #133660;
  margin: -1px 15% 0;
  border: 1px solid #e3ac34;
  border-radius: 0 0 13px 13px;
  padding: 4px;
  font-size: clamp(8px,.9vw,11px);
  font-weight: 700;
}
.front-meta strong {
  display: block;
  color: #a52924;
  font-size: 1.06em;
}
.front-meta span {
  color: #163e75;
  font-size: 1.1em;
}
.front-ribbon {
  margin: 4px auto 5px;
  width: 66%;
  text-align: center;
  background: #153560;
  color: #fff0bd;
  padding: 3px;
  border-radius: 0 0 20px 20px;
  font-size: clamp(8px,.9vw,11px);
  font-weight: 700;
}
.front-body {
  padding: 5px 4% 0;
  position: relative;
}
.person-photo {
  position: absolute;
  right: 4%;
  top: 1%;
  width: 17%;
  height: 34%;
  object-fit: cover;
  border: 4px solid white;
  outline: 2px solid #1e2e40;
  box-shadow: 0 0 0 4px #d49d2e;
  border-radius: 4px;
  background: #e5ebf3;
}
.detail-list {
  width: 76%;
  font-size: clamp(8px,.92vw,11px);
  line-height: 1.65;
  color: #143c76;
}
.detail-row {
  display: grid;
  grid-template-columns: 38% 4% 58%;
  min-height: 22px;
}
.detail-row .label {
  color: #171a20;
  font-weight: 700;
  font-size: inherit;
}
.detail-row .colon {
  color: #343434;
  font-size: inherit;
}
.detail-row .value {
  font-weight: 600;
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: inherit;
}
.front-bottom {
  position: absolute;
  bottom: 5%;
  left: 4%;
  right: 4%;
  display: flex;
  align-items: end;
  justify-content: space-between;
}
.count-box {
  border: 1px solid #d6a43b;
  padding: 3px 9px;
  color: #8f2522;
  font-size: clamp(8px,.8vw,10px);
  font-weight: 700;
}
.count-box b {
  font-size: 1.7em;
  padding-left: 8px;
}
.issue {
  position: absolute;
  left: 4%;
  bottom: 1%;
  font-family: 'DM Sans',sans-serif;
  color: #222;
  font-size: clamp(7px,.75vw,9px);
  font-weight: 700;
}
.issue span {
  color: #9b2925;
  font-size: inherit;
}
.signature {
  color: #822723;
  font-size: clamp(8px,.8vw,10px);
  font-weight: 700;
  text-align: right;
  padding-right: 2%;
}
.back {
  border: 3px solid #c98c22;
  padding: 12% 7% 7%;
  background: radial-gradient(ellipse at 50% 105%,#e8e4d6,transparent 29%),linear-gradient(#fffdf8,#fff);
}
.back:before {
  content: '';
  position: absolute;
  inset: 5px;
  border: 2px dotted #d89d2c;
  border-radius: 13px;
  pointer-events: none;
}
.back:after {
  content: '✿  ✿  ✿  ✿  ✿  ✿  ✿  ✿  ✿  ✿  ✿';
  position: absolute;
  top: 1%;
  left: 3%;
  right: 3%;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  color: #c88a24;
  font-size: clamp(8px,1.1vw,13px);
  letter-spacing: 3px;
}
.back-title {
  text-align: center;
  font-size: clamp(12px,1.45vw,17px);
  color: #9f2520;
  font-weight: 800;
  margin: 0 auto 4px;
}
.back-sub {
  text-align: center;
  font-weight: 700;
  color: #183d72;
  font-size: clamp(10px,1.05vw,13px);
}
.reg-box {
  margin: 8px auto 10px;
  width: 42%;
  border: 2px solid #cf8e2b;
  border-radius: 8px;
  text-align: center;
  padding: 5px;
  color: #9b2520;
  font-size: clamp(8px,.9vw,11px);
  font-weight: 700;
}
.reg-box strong {
  display: block;
  font-family: 'DM Sans',sans-serif;
  color: #163e75;
  font-size: 1.8em;
  line-height: 1.2;
}
.back-photo {
  position: relative;
  display: block;
  width: 25%;
  height: 35%;
  object-fit: cover;
  margin: 2px auto 8px;
  border: 4px solid #fff;
  outline: 2px solid #202c3d;
  background: #e8edf2;
}
.back-name {
  text-align: center;
  color: #143d76;
  font-size: clamp(12px,1.5vw,18px);
  font-weight: 800;
  min-height: 1.3em;
}
.back-role {
  margin: 5px auto 4px;
  border: 1px solid #555;
  width: max-content;
  max-width: 90%;
  padding: 4px 12px;
  color: #252525;
  font-size: clamp(8px,.9vw,11px);
  font-weight: 700;
  text-align: center;
}
.back-phone {
  margin: 4px auto;
  border: 1px solid #555;
  width: 36%;
  padding: 3px;
  text-align: center;
  color: #242424;
  font-family: 'DM Sans',sans-serif;
  font-size: clamp(8px,.95vw,11px);
  font-weight: 700;
}
.address {
  font-size: clamp(8px,.9vw,11px);
  line-height: 1.45;
  color: #131820;
  margin: 9px auto;
  text-align: center;
}
.address span {
  color: #173d75;
  font-weight: 700;
  font-size: inherit;
}
.back-sign {
  text-align: right;
  color: #9e2721;
  font-size: clamp(9px,1vw,12px);
  font-weight: 800;
  position: absolute;
  right: 9%;
  bottom: 9%;
}
.preview-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  color: #8c96a4;
  font-size: 10px;
}
.download-row {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}
.download-row button {
  flex: 1;
  font-size: inherit;
}
.saved-note {
  font-size: 10px;
  color: #478065;
  margin-top: 11px;
  min-height: 14px;
}
.error {
  color: #af3b31;
  font-size: inherit;
}
.hidden {
  display: none!important;
}
.toast {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translate(-50%,20px);
  opacity: 0;
  background: #172c49;
  color: #fff;
  padding: 11px 16px;
  border-radius: 8px;
  font-size: 12px;
  transition: .2s;
  pointer-events: none;
  z-index: 20;
}
.toast.show {
  transform: translate(-50%,0);
  opacity: 1;
}
.photo-crop-dialog {
  width: min(92vw,420px);
  max-width: none;
  max-height: 90vh;
  overflow-y: auto;
  border: 0;
  border-radius: 14px;
  padding: 22px;
  color: #172c49;
  box-shadow: 0 18px 60px #14213a40;
}
.photo-crop-dialog::backdrop {
  background: #10182799;
}
.crop-dialog-head h2 {
  margin: 0 0 5px;
  font-size: 18px;
}
.crop-dialog-head p {
  margin: 0;
  color: #68778d;
  font-size: 12px;
  line-height: 1.5;
}
.crop-viewport {
  position: relative;
  width: min(72vw,260px);
  aspect-ratio: 5 / 6;
  margin: 18px auto 14px;
  overflow: hidden;
  background: #101010;
  touch-action: none;
  cursor: grab;
}
.crop-viewport:active {
  cursor: grabbing;
}
.crop-viewport img {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  max-width: none;
  max-height: none;
  margin: 0;
  border: 0;
  outline: 0;
  user-select: none;
  pointer-events: none;
}
.crop-zoom-label {
  display: block;
  margin-bottom: 4px;
  color: #45536a;
  font-size: 12px;
  font-weight: 600;
}
.crop-zoom {
  display: block;
  width: 100%;
  accent-color: #1c3559;
}
.crop-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 18px;
}
.crop-actions button {
  width: auto;
  min-width: 100px;
}
@media(max-width:920px) {
  .layout {
    grid-template-columns: 1fr;
  }
  .preview-panel {
    position: static;
    grid-row: 1;
  }
  .form-panel {
    grid-row: 2;
  }
  .card {
    max-width: 620px;
    margin: auto;
  }
  .preview-panel {
    padding: 18px;
  }
}
@media(max-width:540px) {
  main {
    padding: 27px 13px 45px;
  }
  .topbar {
    padding: 0 15px;
  }
  .secure {
    font-size: 0;
  }
  .layout {
    gap: 14px;
  }
  .form-panel {
    padding: 19px 16px;
  }
  .fields {
    gap: 12px 10px;
  }
  .field input,.field select {
    padding: 10px 9px;
  }
  .card {
    border-radius: 12px;
  }
  .step-line {
    width: 24px;
    margin: 0 8px;
  }
  .steps {
    font-size: 10px;
  }
  .preview-panel {
    padding: 15px;
  }
  .front-top {
    padding-left: 22%;
    padding-right: 22%;
  }
}
/* The supplied portrait artwork is the card itself; only variable values sit above it. */
    .preview-panel {
  min-width: 0;
}
.card {
  container-type: inline-size;
  aspect-ratio: 1115/1684;
  width: 100%;
  max-width: 430px;
  height: auto;
  margin: 0 auto;
  border: 0;
  border-radius: 0;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 8px 24px #16233d20;
  background: #fff;
  font-family: 'Noto Sans Telugu','DM Sans',sans-serif;
  color: #163d78;
}
.card::before,.card::after {
  display: none!important;
}
.card .template-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  z-index: 0;
}
.card .overlay {
  position: absolute;
  z-index: 1;
  line-height: 2.0;
  overflow-wrap: anywhere;
}
.front-value {
  left: 44%;
  width: 35.5%;
  height: 3.4%;
  font-family: 'Noto Sans Telugu',sans-serif;
  font-size: 2.4cqw;
  font-weight: 500;
  letter-spacing: .04em;
  color: #0d3b80;
  -webkit-text-stroke: .18px #0d3b80;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
}
.front-name {
  top: 31.9%;
  left: 44%;
}
.front-dob {
  top: 37.1%;
}
.front-father {
  top: 41.8%;
}
.front-mother {
  top: 46.5%;
}
.front-spouse {
  top: 51.1%;
}
.front-photo {
  position: absolute;
  z-index: 1;
  left: 81.6%;
  top: 34%;
  width: 12.8%;
  height: 10%;
  object-fit: cover;
  background: #fff;
}
.president-signature {
  position: absolute;
  z-index: 2;
  left: 57.5%;
  top: 83.2%;
  width: 35%;
  height: 4.8%;
  object-fit: contain;
}
.temple-stamp {
  position: absolute;
  z-index: 2;
  left: 49%;
  top: 85.2%;
  width: 72px;
  height: 72px;
  object-fit: fill;
}
.house-mark-box {
  position: absolute;
  z-index: 2;
  top: 74.5%;
  width: 12px;
  height: 12px;
  border: 2px solid #111;
  border-radius: 3px;
  background: transparent;
}
.house-tick {
  position: absolute;
  left: -90%;
  top: -114%;
  width: 250%;
  height: 250%;
  object-fit: contain;
}
.house-rent {
  left: 45.4%;
}
.house-own {
  left: 64.9%;
}
.family-count {
  left: 41.6%;
  top: 79.5%;
  width: 8%;
  height: 4.1%;
  font-family: 'Noto Sans Telugu',sans-serif;
  font-size: 7.1cqw;
  font-weight: 800;
  letter-spacing: .06em;
  color: #8b0000;
  -webkit-text-stroke: 0;
  display: grid;
  place-items: center;
  line-height: 1;
}
.front-issue {
  left: 31%;
  top: 89.4%;
  width: 24%;
  height: 2.5%;
  font-family: 'Noto Sans Telugu',sans-serif;
  font-size: 2.86cqw;
  font-weight: 700;
  letter-spacing: .04em;
  color: #8b0000;
  -webkit-text-stroke: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.family-index {
  position: absolute;
  z-index: 2;
  width: 2.8%;
  height: 5.2%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #252525;
  font-family: 'Noto Sans Telugu',sans-serif;
  font-size: 1.86cqw;
  font-weight: 400;
  letter-spacing: .04em;
  line-height: 1;
}
.family-first-index {
  left: 43.1%;
}
.family-index.single {
  height: 3.5%;
}
.family-second-index {
  left: 70.2%;
}
.family-value {
  height: 5.2%;
  font-family: 'Noto Sans Telugu',sans-serif;
  font-size: 1.86cqw;
  font-weight: 500;
  letter-spacing: .04em;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  color: #0d3b80;
  -webkit-text-stroke: .18px #0d3b80;
}
.family-value small {
  position: static;
  font-size: .8em;
  white-space: nowrap;
}
.family-name-line,.family-date-line {
  display: block;
  white-space: nowrap;
}
.family-first-value {
  left: 46.1%;
  width: 23.8%;
}
.family-first-value.single {
  left: 46.1%;
  width: 50.4%;
  height: 3.5%;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  white-space: nowrap;
  line-height: 1.05;
  text-align: left;
}
.family-second-value {
  left: 73.3%;
  width: 25.4%;
}
.sons-row {
  top: 55.7%;
}
.daughters-row {
  top: 60.4%;
}
.dil-row {
  top: 65%;
}
.brothers-row {
  top: 69.7%;
}
.paired-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}
.paired-inputs input {
  min-width: 0;
}
.paired-inputs input::placeholder {
  font-size: 10px;
}
.back-reg {
  left: 38%;
  top: 21.6%;
  width: 24%;
  height: 4.1%;
  font-family: 'Chewy',cursive;
  font-size: 3.9cqw;
  font-weight: 400;
  letter-spacing: .07em;
  -webkit-text-stroke: .7px #0d3b80;
  color: #0d3b80;
  white-space: nowrap;
  display: grid;
  place-items: center;
}
.back-photo {
  position: absolute;
  display: block;
  z-index: 1;
  left: 39%;
  top: 32.9%;
  width: 22.2%;
  height: 17.5%;
  margin: 0;
  border: 0;
  outline: 0;
  object-fit: cover;
  background: #fff;
}
.back-name {
  left: 13%;
  top: 51.5%;
  width: 74%;
  height: 4.2%;
  font-family: 'Noto Sans Telugu',sans-serif;
  font-size: 5.1cqw;
  font-weight: 600;
  letter-spacing: .04em;
  -webkit-text-stroke: .4px #0d3b80;
  color: #0d3b80;
  display: grid;
  place-items: center;
}
.back-gotram,.back-occupation {
  left: 34%;
  width: 32%;
  height: 4.2%;
  border: 1px solid #555;
  box-shadow: 1px 1px 0 #999, inset 1px 1px 0 #dedede;
  padding: 2px 6px;
  font-family: 'Noto Sans Telugu',sans-serif;
  font-size: 2.6cqw;
  font-weight: 500;
  letter-spacing: .02em;
  -webkit-text-stroke: .18px #252525;
  color: #252525;
  display: grid;
  place-items: center;
}
.back-gotram {
  top: 58.2%;
}
.back-occupation {
  top: 63.9%;
}
.back-phone {
  top: 69.7%;
  left: 34%;
  width: 32%;
  height: 4.2%;
  border: 1px solid #555;
  box-shadow: 1px 1px 0 #999, inset 1px 1px 0 #dedede;
  padding: 2px 6px;
  font-family: 'Noto Sans Telugu',sans-serif;
  font-size: 3.1cqw;
  font-weight: 500;
  letter-spacing: .02em;
  -webkit-text-stroke: .18px #252525;
  color: #252525;
  display: grid;
  place-items: center;
}
.back-address {
  left: 38%;
  top: 75.6%;
  width: 57%;
  height: auto;
  min-height: 6.4%;
  margin: 0;
  padding: 0;
  font-family: 'Noto Sans Telugu',sans-serif;
  font-size: 2.6cqw;
  font-weight: 500;
  letter-spacing: .02em;
  -webkit-text-stroke: .18px #0d3b80;
  color: #0d3b80;
  display: block;
  line-height: 1.2;
  text-align: left;
  white-space: nowrap;
  overflow-wrap: normal;
}
.overlay small {
  font-size: .9375em;
  margin-left: .22em;
  font-weight: 400;
  letter-spacing: .04em;
  -webkit-text-stroke: 0;
  color: #252525;
  line-height: 1;
}
.family-value small {
  font-size: .8em;
}
.family-index,.family-value {
  font-size: 2.4cqw;
  line-height: 10.35;
}
.front-label {
  left: 6.8%;
  width: 32%;
  height: 3.4%;
  font-family: 'Noto Sans Telugu',sans-serif;
  font-size: 2.5cqw;
  font-weight: 700;
  letter-spacing: .02em;
  color: #252525;
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.front-colon {
  left: 39.5%;
  width: 2%;
  height: 3.4%;
  font-family: 'Noto Sans Telugu',sans-serif;
  font-size: 1.9cqw;
  font-weight: 600;
  color: #252525;
  display: flex;
  align-items: center;
  justify-content: center;
}
.front-name-label,.front-name-colon,.front-name {
  top: 30.8%;
}
.front-dob-label,.front-dob-colon,.front-dob {
  top: 35.6%;
}
.front-father-label,.front-father-colon,.front-father {
  top: 39.9%;
}
.front-mother-label,.front-mother-colon,.front-mother {
  top: 44.2%;
}
.front-spouse-label,.front-spouse-colon,.front-spouse {
  top: 48.5%;
}
.sons-label,.sons-colon,.sons-row {
  top: 52.8%;
}
.daughters-label,.daughters-colon,.daughters-row {
  top: 57.1%;
}
.dil-label,.dil-colon,.dil-row {
  top: 61.4%;
}
.brothers-label,.brothers-colon,.brothers-row {
  top: 65.7%;
}
.grandchildren-label,.grandchildren-colon,.grandchildren-row {
  top: 70%;
}
.house-label,.house-colon {
  top: 74.2%;
}
.house-option {
  top: 74.2%;
  height: 3%;
  font-family: 'Noto Sans Telugu',sans-serif;
  font-size: 2.5cqw;
  font-weight: 700;
  color: #252525;
  display: flex;
  align-items: center;
}
.rent-option {
  left: 49.7%;
  width: 10%;
}
.own-option {
  left: 69.2%;
  width: 13%;
}
.sons-row,.daughters-row,.dil-row,.brothers-row,.grandchildren-row {
  height: 3.5%;
}
@media(max-width:920px) {
  .card {
    max-width: 430px;
  }
}
@media print {
  @page {
    size: landscape;
    margin: .25in;
  }
  body {
    background: white;
  }
  .topbar,.intro,.steps,.form-panel,.preview-head,.card-tabs,.preview-foot,.download-row,.saved-note {
    display: none!important;
  }
  main {
    padding: 0;
    max-width: none;
  }
  .layout {
    display: block;
  }
  .preview-panel {
    display: block;
    border: 0;
    box-shadow: none;
    padding: 0;
    position: static;
  }
  .preview-panel .card-tabs {
    display: none!important;
  }
  .preview-panel {
    font-size: 0;
  }
  .card {
    display: block!important;
    float: left;
    width: 4.85in;
    height: 7.32in;
    max-width: none;
    margin: 0 .12in;
    box-shadow: none;
    page-break-after: avoid;
    break-inside: avoid;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
}
