.milan-report-offer { max-width: 680px; margin: 20px auto; padding: 0 16px; }
.milan-report-offer h2 { color: var(--maroon-deep); margin-bottom: 6px; }
.milan-report-offer .btn { min-height: 44px; padding: 8px 12px; text-align: center; white-space: normal; }
.milan-report-offer .milan-examples { margin: 0 0 12px; padding-inline-start: 20px; }
.milan-report-offer .milan-examples li { margin: 6px 0; }
body:has(#milan-result-offer) .ml { max-width: 920px; }
.milan-share { flex-wrap: wrap; justify-content: center; }
#milan-chapters button { width: 100%; text-align: start; }
#milan-panel + .milan-people { margin-top: var(--s4); }
.milan-pair { min-inline-size: 0; overflow-wrap: anywhere; border: 0; padding: 0; }
.milan-pair > legend { margin-top: var(--s3); color: var(--muted); }
.milan-person + .milan-person { border-top: 1px solid var(--line); }
.milan-people .fk-list button { width: 100%; min-height: 46px; text-align: start; }
.milan-people .fk-list button:focus-visible { background: var(--gold-soft); }
.milan-person .fk-sex label { cursor: default; }
.milan-person .fk-chips .chip[aria-pressed="true"] { background: var(--maroon); color: var(--gold-soft); }
#milan-parts .milan-book { grid-column: 1 / -1; }
#milan-parts .rb-part:last-child:not(.milan-book) { grid-column: auto; }
#milan-tray .rb-go:disabled { opacity: .65; }

.milan-people .fk-row{display:flex;align-items:center;gap:var(--s3)}
.milan-people .fk-lab{flex:0 1 auto;min-width:0;font-size:16px;font-weight:700;color:var(--maroon-deep);line-height:1.3}
.milan-people .fk-cap{font-size:16px;font-weight:700;color:var(--maroon-deep);line-height:1.4}
.milan-people .fk-in{flex:1;min-width:0;display:flex;align-items:center;gap:var(--s2);min-height:48px;padding:0 var(--s4);background:var(--card);
  border:1.5px solid rgba(201,150,63,.5);border-radius:var(--r-pill);transition:border-color .2s,box-shadow .2s}
.milan-people .fk-in:focus-within{border-color:var(--gold-deep);box-shadow:0 0 0 3px rgba(243,207,122,.35)}
.milan-people .fk-in input{flex:1;min-width:0;border:0;outline:0;background:transparent;font-size:17px;font-weight:700;color:var(--ink);min-height:44px}
.milan-people .fk-in[aria-invalid="true"], .milan-people .fk-in.bad{border-color:var(--accent)}
.milan-people .fk-sex{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--s3);border:0;min-width:0}
.milan-people .fk-sex legend{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.milan-people .fk-sex label{position:relative;display:flex;align-items:center;justify-content:center;gap:var(--s2);min-height:48px;border-radius:var(--r-pill);
  border:1.5px solid var(--maroon);color:var(--maroon);font-size:17px;font-weight:800;cursor:pointer;
  transition:transform .15s var(--spring),background-color .2s,color .2s}
.milan-people .fk-sex label:active{transform:scale(.97)}
.milan-people .fk-sex input{position:absolute;opacity:0;width:1px;height:1px}
.milan-people .fk-sex label:has(input:checked){background:linear-gradient(var(--accent),var(--maroon));color:var(--cream);border-color:var(--maroon-deep)}
.milan-people .fk-sex label:has(input:focus-visible){outline:3px solid var(--gold-deep);outline-offset:2px}
.milan-people .fk-sex svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.milan-people /* सहेजे लोग chips */
.fk-row[hidden]{display:none}
.milan-people .fk-chips{display:flex;gap:var(--s2);flex-wrap:wrap}
.milan-people .fk-chips .chip{min-height:44px;min-width:56px;font-size:16px;border-color:rgba(201,150,63,.55)}
.milan-people .fk-chips .chip svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.milan-people /* Selects: small label on top, .milan-people value + chevron */

.fk-place{position:relative}
.milan-people .fk-place .fk-in{border-radius:var(--r-md)}
.milan-people .fk-place .fk-in>svg{flex:none;width:20px;height:20px;fill:none;stroke:var(--maroon);stroke-width:1.8;stroke-linecap:round}
.milan-people .fk-place .fk-chev{width:16px;height:16px;stroke-width:2}
.milan-people .fk-list{position:absolute;z-index:60;left:0;right:0;top:calc(100% + 6px);max-height:232px;overflow-y:auto;overscroll-behavior:contain;list-style:none;padding:6px;
  background:var(--card);border:1.5px solid var(--gold-deep);border-radius:14px;box-shadow:0 18px 36px -14px rgba(42,8,20,.55)}
.milan-people .fk-list.up{top:auto;bottom:calc(100% + 6px)}
.milan-people .fk-list[hidden]{display:none}
.milan-people .fk-list li{display:flex;align-items:center;min-height:46px;padding:0 var(--s3);border-radius:10px;font-size:16px;font-weight:700;color:var(--maroon-deep);cursor:pointer}
.milan-people .fk-list li small{margin-left:6px;font-size:14px;font-weight:600;color:var(--muted)}
.milan-people .fk-list li[aria-selected="true"]{background:var(--gold-soft)}
.milan-people .fk-list li.none{cursor:default;color:var(--muted);font-weight:600}
.milan-people .fk-sec{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;padding:var(--s4) 0;border-bottom:1px dashed rgba(201,150,63,.4)}
.milan-people .fk-sec:last-of-type{border-bottom:0;padding-bottom:var(--s2)}
.milan-people .fk-h{display:flex;align-items:center;gap:8px;font-size:15px;line-height:1.3;font-weight:800;color:var(--maroon-deep)}
.milan-people .fk-h svg{flex:none;width:18px;height:18px;fill:none;stroke:var(--gold-deep);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.milan-people .fk-in, .milan-people .fk-place .fk-in{min-height:52px;padding:0 14px;border:1px solid rgba(201,150,63,.5);border-radius:14px;background:#fffdf8}
.milan-people .fk-in input{font-size:17px;font-weight:700;min-height:48px}
.milan-people .fk-in input::placeholder{color:var(--muted);font-weight:600;opacity:.75}
.milan-people .fk-sex{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;padding:4px;border:1px solid rgba(201,150,63,.5);border-radius:var(--r-pill);background:#fffdf8}
.milan-people .fk-sex label{min-height:46px;border:0;border-radius:var(--r-pill);font-size:16px;color:var(--maroon)}
.milan-people .fk-sex label:has(input:checked){background:linear-gradient(135deg,var(--maroon),var(--maroon-deep));color:var(--gold-soft);box-shadow:0 4px 12px -4px rgba(62,10,28,.5)}
.milan-people .fk-sex svg{width:19px;height:19px}
.milan-people .fk-row.fk-saved{gap:var(--s2)}
.milan-people .fk-saved .fk-lab{min-width:0;font-size:14px;color:var(--muted)}
.milan-people .fk-chips .chip{min-height:38px;min-width:48px;font-size:15px}

.milan-people .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.milan-people .fk-chips .chip { background: var(--card); color: var(--maroon); opacity: 1; }
.milan-people { scroll-margin-top: 72px; }
.milan-person .dp-sel { border-radius: 14px; background: #fffdf8; }
