/* Property flyers page (01Shared/PropertyFlyers.aspx, JS/PropertyFlyers.js).
   The editor builds on CS/Calculator.css (its colours, boxes, buttons and dark look). The flyer itself (.fly) is
   printed paper, so it keeps fixed colours in both looks; the print window loads this file too. */

.calc-page.pf { max-width: 1480px; }
.pf { --good: #1a7f45; --good-soft: #e3f4ea; --stage: #cdd5e1; }
html.dark .pf { --good: #6fdc9b; --good-soft: #15301f; --stage: #070b12; }

.pf-top { align-items: center; display: flex; flex-wrap: wrap; gap: 10px 16px; justify-content: space-between; margin-bottom: 12px; }
.pf-top h1 { font-size: 1.4rem; margin: 0; }
.pf-top .hint { margin: 2px 0 0; }
.pf-files { align-items: center; display: flex; flex-wrap: wrap; gap: 8px; }
.pf-files select { max-width: 280px; width: auto; }
.pf-msg { border-radius: 8px; display: block; font-weight: 600; margin: 0 0 12px; padding: 8px 12px; }
.pf-msg:empty { display: none; }
.pf-msg.good { background: var(--good-soft); color: var(--good); }
.pf-msg.bad { background: var(--alert-soft); color: var(--alert); }
.pf-upload { height: 1px; left: -9999px; overflow: hidden; position: absolute; width: 1px; }

/* The editor column grows with the browser's text size (430px at the normal 16px), so bigger text doesn't push it under the preview */
.pf-main { align-items: start; display: grid; gap: 16px; grid-template-columns: minmax(340px, 26.875rem) minmax(0, 1fr); }
@media (max-width: 960px) { .pf-main { grid-template-columns: minmax(0, 1fr); } }

/* Editor */
.pf-editor { display: grid; gap: 10px; min-width: 0; }
.pf-editor > * { min-width: 0; }   /* a card never gets wider than the column */
.pf-step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.pf-step > summary { align-items: center; cursor: pointer; display: flex; font-weight: 700; gap: 10px; list-style: none; padding: 11px 14px; }
.pf-step > summary::-webkit-details-marker { display: none; }
.pf-step > summary .n { background: var(--brand); border-radius: 50%; color: #fff; display: grid; flex: none; font-size: .78rem; height: 22px; place-items: center; width: 22px; }
.pf-step > summary .peek { color: var(--muted); font-size: .82rem; font-weight: 400; margin-left: auto; max-width: 55%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pf-step > summary::after { color: var(--muted); content: "\25BE"; font-size: .8rem; }
.pf-step[open] > summary::after { content: "\25B4"; }
.pf-step .body { display: grid; gap: 10px; padding: 2px 14px 14px; }
.pf .row { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); }
.pf .row.two { grid-template-columns: 1fr 1.4fr; }
.pf label.f { color: var(--muted); display: grid; font-size: .8rem; font-weight: 600; gap: 3px; min-width: 0; }
.pf label.f > span { align-items: center; display: flex; gap: 6px; }
.pf label.f input, .pf label.f select, .pf label.f textarea { color: var(--ink); font-size: .9rem; font-weight: 400; min-width: 0; width: 100%; }
.pf .pair { display: grid; gap: 4px; grid-template-columns: 1.25fr 1fr; }
/* Calculator.css styles text boxes but not date boxes */
.calc-page.pf input[type=date] { background: var(--field); border: 1px solid var(--field-line); border-radius: 8px; color: var(--ink); color-scheme: light; font: inherit; max-width: 100%; min-height: 34px; padding: 5px 8px; }
html.dark .calc-page.pf input[type=date] { color-scheme: dark; }
.calc-page.pf input[type=date]:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); outline: none; }
.pf .hint { color: var(--muted); font-size: .8rem; margin: 0; }
.pf .warn { color: var(--alert); font-size: .8rem; font-weight: 600; margin: 0; }
/* Calculator.css shows every .warn (display: block), which beats the hidden attribute */
.pf [hidden] { display: none !important; }
.pf-btn { background: var(--field); border: 1px solid var(--line); border-radius: 8px; color: var(--brand-dark); cursor: pointer; font: inherit; font-size: .85rem; font-weight: 600; padding: 5px 10px; }
.pf-btn:hover { border-color: var(--brand); }
.pf-btn:disabled { cursor: default; opacity: .5; }
.linkish { background: none; border: 0; color: var(--brand-dark); cursor: pointer; font: inherit; font-size: .75rem; font-weight: 600; padding: 0; text-decoration: underline; text-underline-offset: 2px; }
.linkish:disabled { cursor: default; opacity: .5; }

/* Photos */
.pf-photos { display: grid; gap: 8px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pf-ph { display: grid; gap: 4px; justify-items: center; min-width: 0; }
.pf-ph .frame { aspect-ratio: 4 / 3; background: var(--field); border: 2px dashed var(--line); border-radius: 8px; display: grid; max-width: 100%; overflow: hidden; place-items: center; position: relative; width: 100%; }
.pf-ph .frame.has { border-style: solid; border-color: transparent; }
.pf-ph .frame.cover { border-color: var(--brand); }
.pf-ph img { display: block; height: 100%; object-fit: cover; width: 100%; }
.pf-ph .badge { background: var(--brand); border-radius: 4px; color: #fff; font-size: .65rem; font-weight: 700; left: 4px; padding: 1px 5px; position: absolute; top: 4px; }
.pf-ph .empty { color: var(--muted); font-size: .72rem; text-align: center; }
.pf-ph .acts { display: flex; flex-wrap: wrap; gap: 2px 8px; justify-content: center; }

/* Feature chips */
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { align-items: center; background: var(--field); border: 1px solid var(--line); border-radius: 999px; color: var(--ink); cursor: pointer; display: inline-flex; font: inherit; font-size: .82rem; gap: 6px; padding: 4px 10px; }
.chip.on { background: var(--brand-soft); border-color: var(--brand); color: var(--brand-dark); font-weight: 600; }
.chip .x { color: var(--muted); font-weight: 700; }
.addhl { display: flex; gap: 6px; }

/* Payment */
.scen { background: var(--field); border: 1px solid var(--line); border-radius: 8px; display: grid; gap: 8px; padding: 10px; }
.scen-head { align-items: center; display: flex; gap: 8px; justify-content: space-between; }
.scen-head select { width: auto; }
.scen-total { color: var(--muted); font-size: .82rem; }
.scen-total b { color: var(--ink); font-size: 1rem; font-variant-numeric: tabular-nums; }
.toggle { align-items: center; cursor: pointer; display: inline-flex; font-size: .85rem; font-weight: 600; gap: 6px; }

/* Contacts */
.person { align-items: center; background: var(--field); border: 1px solid var(--line); border-radius: 8px; display: flex; gap: 10px; padding: 8px 10px; }
.person .av { background: var(--brand-soft); border-radius: 50%; color: var(--brand-dark); display: grid; flex: none; font-size: .85rem; font-weight: 700; height: 38px; overflow: hidden; place-items: center; width: 38px; }
.person .av img { height: 100%; object-fit: cover; width: 100%; }
.person div { font-size: .82rem; min-width: 0; }
.person b { display: block; font-size: .9rem; }
.person small { color: var(--muted); }

/* Preview */
.pf-preview { display: grid; gap: 12px; min-width: 0; position: sticky; top: 10px; }
@media (max-width: 960px) { .pf-preview { position: static; } }
.pf-toolbar { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: 10px; padding: 12px 14px; }
.tb-row { align-items: center; display: flex; flex-wrap: wrap; gap: 10px 18px; }
.tb-label { color: var(--muted); font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.designs { display: flex; flex-wrap: wrap; gap: 6px; }
.design { background: var(--field); border: 1px solid var(--line); border-radius: 8px; color: var(--ink); cursor: pointer; display: grid; font: inherit; font-size: .72rem; font-weight: 600; gap: 4px; justify-items: center; padding: 5px; width: 74px; }
.design.on { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand-soft); color: var(--brand-dark); }
.mini { background: #fff; border: 1px solid #c9d1dc; border-radius: 2px; height: 56px; overflow: hidden; position: relative; width: 43px; }
.mini i { display: block; position: absolute; }
.swatches { display: flex; gap: 6px; }
.sw { border: 2px solid var(--field); border-radius: 50%; box-shadow: 0 0 0 1px var(--line); cursor: pointer; height: 24px; padding: 0; width: 24px; }
.sw.on { box-shadow: 0 0 0 2px var(--ink); }
.seg { border: 1px solid var(--line); border-radius: 8px; display: inline-flex; overflow: hidden; }
.seg button { background: var(--field); border: 0; color: var(--ink); cursor: pointer; font: inherit; font-size: .85rem; padding: 5px 12px; }
.seg button + button { border-left: 1px solid var(--line); }
.seg button.on { background: var(--brand); color: #fff; font-weight: 600; }
.pf-stage { background: var(--stage); border-radius: var(--radius); display: grid; justify-items: center; overflow: hidden; padding: 22px; }
.pf-sheet { box-shadow: 0 2px 6px rgba(0,0,0,.18), 0 18px 40px rgba(0,0,0,.18); position: relative; }
.pf-sheet > .pf-page { left: 0; position: absolute; top: 0; transform-origin: 0 0; }
.pf-share { align-items: center; display: flex; flex-wrap: wrap; gap: 8px 14px; }
.calc-page button.btn-primary { background: var(--brand); border: 1px solid var(--brand); border-radius: 8px; color: #fff; cursor: pointer; font: inherit; font-weight: 600; padding: 8px 16px; }
.calc-page button.btn-primary:hover { background: var(--brand-dark); }
.pf-print-frame { border: 0; height: 1056px; left: -9999px; position: absolute; top: 0; width: 816px; }

/* ===================== The flyer (printed paper: fixed colours) ===================== */
.fly { --paper: #ffffff; --text: #1d232b; --soft-text: #46505d; --fine: #6b7380; --rule: #e2e5ea;
  --onac: #ffffff; --tint: color-mix(in srgb, var(--ac) 9%, #ffffff);
  background: var(--paper); color: var(--text); font-family: "Manrope", Arial, sans-serif; overflow: hidden; }
.fly * { box-sizing: border-box; }
.fly img { display: block; width: 100%; height: 100%; object-fit: cover; max-width: none; }
.fly h1, .fly h2, .fly p, .fly ul { margin: 0; }
.fly ul { padding: 0; list-style: none; }
.fly .num { font-variant-numeric: tabular-nums lining-nums; }

/* Shared flyer parts */
.hl { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; }
.hl li { font-size: 12px; font-weight: 600; display: flex; gap: 8px; align-items: baseline; line-height: 1.3; }
.hl li::before { content: ""; width: 7px; height: 7px; background: var(--ac); flex: none; transform: translateY(-1px); }
.desc { font-size: 12.5px; line-height: 1.55; color: var(--soft-text); }
.pay { background: var(--tint); border: 1px solid color-mix(in srgb, var(--ac) 22%, #ffffff); padding: 13px 14px; }
.pay-h { font-size: 9.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ac); margin-bottom: 9px; }
.pay-cols { display: grid; gap: 14px; grid-template-columns: repeat(var(--cols, 1), minmax(0, 1fr)); }
.pay-col + .pay-col { border-left: 1px solid color-mix(in srgb, var(--ac) 22%, #ffffff); padding-left: 14px; }
.pay-prog { white-space: nowrap; font-size: 11px; font-weight: 800; }
.pay-down { white-space: nowrap; font-size: 9px; color: var(--fine); }
.pay-total { font-size: 27px; font-weight: 800; letter-spacing: -.02em; margin: 3px 0 6px; color: var(--text); }
.pay-total small { font-size: 11px; font-weight: 600; color: var(--fine); letter-spacing: 0; }
.pay-lines { display: grid; gap: 2px; font-size: 10px; }
.pay-lines div { white-space: nowrap; display: flex; justify-content: space-between; gap: 6px; color: var(--soft-text); }
.pay-lines b { font-weight: 600; color: var(--text); }
.contacts { display: flex; justify-content: space-between; gap: 18px; align-items: center; }
.contacts > * { flex: 0 1 auto; }
.who { display: flex; gap: 11px; align-items: center; min-width: 0; }
.who .face { width: 52px; height: 52px; border-radius: 50%; background: var(--tint); color: var(--ac); display: grid; place-items: center; font-weight: 800; font-size: 17px; flex: none; border: 2px solid color-mix(in srgb, var(--ac) 30%, #ffffff); }
.who .role { font-size: 8.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--ac); }
.who .nm { font-size: 14px; font-weight: 800; line-height: 1.2; }
.who .ln { font-size: 10px; color: var(--soft-text); line-height: 1.4; }
.qrbox { display: flex; gap: 9px; align-items: center; }
.qr { width: 66px; height: 66px; flex: none; background: #fff; }
.qr img, .qr canvas { width: 66px !important; height: 66px !important; }
.qrbox p { font-size: 9px; line-height: 1.35; color: var(--soft-text); width: 112px; font-weight: 600; }
.qrbox p span { overflow-wrap: anywhere; }
.fine { font-size: 7.4px; line-height: 1.45; color: var(--fine); }
.ehl { display: inline-flex; align-items: center; gap: 6px; font-size: 9px; color: var(--fine); font-weight: 700; letter-spacing: .04em; }
.ehl svg { width: 13px; height: 13px; }

/* Design 1: Showcase */
.t-showcase { width: 816px; height: 1056px; position: relative; }
.t-showcase .hero { height: 462px; position: relative; }
.t-showcase .hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 52%, rgba(0,0,0,.62) 100%); }
.t-showcase .eyebrow { position: absolute; z-index: 1; top: 28px; left: 36px; background: #fff; color: var(--ac); font-weight: 800; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; padding: 8px 13px; }
.t-showcase .addr { position: absolute; z-index: 1; left: 36px; right: 36px; bottom: 24px; color: #fff; }
.t-showcase .addr h1 { font-family: "DM Serif Display", Georgia, serif; font-weight: 400; font-size: 50px; line-height: 1.02; }
.t-showcase .addr p { font-size: 15px; font-weight: 600; letter-spacing: .05em; margin-top: 6px; opacity: .92; }
.t-showcase .band { background: var(--ac); color: var(--onac); display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 16px 36px; }
.t-showcase .price span, .t-showcase .stat span { display: block; font-size: 9.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .82; }
.t-showcase .price b { font-family: "DM Serif Display", Georgia, serif; font-weight: 400; font-size: 36px; line-height: 1.05; }
.t-showcase .stats { display: flex; }
.t-showcase .stat { padding: 0 16px; border-left: 1px solid rgba(255,255,255,.3); }
.t-showcase .stat:first-child { border-left: 0; }
.t-showcase .stat b { font-size: 21px; font-weight: 800; line-height: 1.1; display: block; }
.t-showcase .main2 { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 24px; padding: 22px 36px 0; }
.t-showcase .tag2 { font-family: "DM Serif Display", Georgia, serif; font-weight: 400; color: var(--ac); font-size: 25px; line-height: 1.12; margin-bottom: 9px; text-wrap: balance; }
.t-showcase .desc { margin-bottom: 14px; }
.t-showcase .side { display: grid; gap: 10px; align-content: start; }
.t-showcase .thumbs { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 5px; height: 70px; }
.t-showcase .foot { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 36px 16px; }
.t-showcase .foot .contacts { border-top: 1px solid var(--rule); padding-top: 14px; margin-bottom: 10px; }

/* Design 2: Gallery */
.t-gallery { width: 816px; height: 1056px; position: relative; font-family: "Manrope", Arial, sans-serif; }
.t-gallery .head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; padding: 32px 36px 16px; }
.t-gallery .eyebrow { color: var(--ac); font-weight: 800; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 6px; }
.t-gallery h1 { font-family: "Archivo", Arial, sans-serif; font-weight: 800; font-size: 38px; line-height: 1; letter-spacing: -.015em; }
.t-gallery .city { font-size: 13px; font-weight: 600; color: var(--soft-text); margin-top: 6px; letter-spacing: .03em; }
.t-gallery .price { text-align: right; }
.t-gallery .price span { display: block; font-size: 9.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--fine); }
.t-gallery .price b { font-family: "Archivo", Arial, sans-serif; font-weight: 800; font-size: 36px; color: var(--ac); line-height: 1.05; }
.t-gallery .grid { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: repeat(3, 1fr); gap: 5px; height: 408px; margin: 0 36px; }
.t-gallery .grid .big { grid-row: 1 / span 3; }
.t-gallery .stats { display: grid; grid-template-columns: repeat(5, 1fr); margin: 16px 36px 0; border-top: 2px solid var(--text); border-bottom: 1px solid var(--rule); }
.t-gallery .stat { padding: 10px 0 10px 12px; border-left: 1px solid var(--rule); }
.t-gallery .stat:first-child { border-left: 0; padding-left: 0; }
.t-gallery .stat b { font-family: "Archivo", Arial, sans-serif; font-weight: 800; font-size: 22px; display: block; line-height: 1.1; }
.t-gallery .stat span { font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--fine); }
.t-gallery .main2 { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 24px; padding: 18px 36px 0; }
.t-gallery .tag2 { font-family: "Archivo", Arial, sans-serif; font-weight: 700; font-size: 18px; line-height: 1.2; margin-bottom: 7px; text-wrap: balance; }
.t-gallery .desc { margin-bottom: 12px; font-size: 12px; }
.t-gallery .foot { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 36px 16px; }
.t-gallery .foot .contacts { border-top: 2px solid var(--text); padding-top: 13px; margin-bottom: 10px; }

/* Design 3: Open House */
.t-open { width: 816px; height: 1056px; display: grid; grid-template-columns: 286px minmax(0, 1fr); }
.t-open .rail { background: var(--ac); color: var(--onac); padding: 38px 28px 26px; display: flex; flex-direction: column; gap: 18px; }
.t-open .oh { font-family: "Archivo", Arial, sans-serif; font-weight: 800; font-size: 50px; line-height: .9; letter-spacing: -.02em; text-transform: uppercase; }
.t-open .when { border-top: 1px solid rgba(255,255,255,.35); border-bottom: 1px solid rgba(255,255,255,.35); padding: 14px 0; }
.t-open .when .d { font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; opacity: .85; }
.t-open .when .dt { font-family: "Archivo", Arial, sans-serif; font-weight: 800; font-size: 40px; line-height: 1.05; }
.t-open .when .tm { font-size: 17px; font-weight: 700; }
.t-open .addr h1 { font-size: 21px; font-weight: 800; line-height: 1.2; }
.t-open .addr p { font-size: 12px; opacity: .88; margin-top: 3px; }
.t-open .price span { display: block; font-size: 9.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; opacity: .8; }
.t-open .price b { font-family: "Archivo", Arial, sans-serif; font-size: 32px; font-weight: 800; }
.t-open .stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
.t-open .stat b { font-size: 19px; font-weight: 800; display: block; line-height: 1.1; }
.t-open .stat span { font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .82; }
.t-open .railqr { margin-top: auto; display: flex; gap: 10px; align-items: center; background: #fff; color: var(--text); padding: 9px; }
.t-open .railqr p { font-size: 9.5px; font-weight: 700; line-height: 1.35; }
.t-open .right { display: flex; flex-direction: column; min-width: 0; }
.t-open .ph1 { height: 392px; }
.t-open .ph2 { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; height: 136px; margin-top: 5px; }
.t-open .content { padding: 20px 28px 16px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.t-open .tag2 { font-family: "Archivo", Arial, sans-serif; font-weight: 700; font-size: 19px; color: var(--ac); line-height: 1.2; text-wrap: balance; }
.t-open .desc { font-size: 11.5px; line-height: 1.5; }
.t-open .hl li { font-size: 11px; }
.t-open .people { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: auto; border-top: 1px solid var(--rule); padding-top: 12px; }
.t-open .who .face { width: 44px; height: 44px; font-size: 15px; }

/* Design 4: Classic */
.t-classic { width: 816px; height: 1056px; padding: 28px; }
.t-classic .frame { height: 100%; border: 1.5px solid var(--ac); outline: .5px solid var(--ac); outline-offset: -6px; padding: 30px 38px 18px; display: flex; flex-direction: column; text-align: center; }
.t-classic .eyebrow { font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-weight: 500; font-size: 22px; color: var(--ac); }
.t-classic h1 { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; font-size: 40px; letter-spacing: .05em; text-transform: uppercase; line-height: 1.05; margin-top: 2px; }
.t-classic .city { font-size: 11px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--soft-text); margin-top: 6px; }
.t-classic .photo { height: 360px; margin-top: 16px; }
.t-classic .pr { margin-top: 14px; display: flex; justify-content: center; align-items: baseline; gap: 10px; }
.t-classic .pr span { font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-size: 20px; color: var(--soft-text); }
.t-classic .pr b { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 700; font-size: 38px; color: var(--ac); }
.t-classic .stats { display: flex; justify-content: center; flex-wrap: wrap; gap: 0; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-top: 4px; }
.t-classic .stats span + span::before { content: "◆"; color: var(--ac); font-size: 7px; margin: 0 12px; vertical-align: 2px; }
.t-classic .main2 { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 26px; text-align: left; margin-top: 18px; padding-top: 16px; border-top: .5px solid var(--ac); }
.t-classic .tag2 { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; font-size: 22px; line-height: 1.15; color: var(--ac); margin-bottom: 6px; text-wrap: balance; }
.t-classic .desc { font-size: 11.5px; margin-bottom: 10px; }
.t-classic .hl li { font-size: 11px; }
.t-classic .hl li::before { width: 6px; height: 6px; transform: rotate(45deg) translateY(-1px); }
.t-classic .pay { background: #fff; border-color: var(--ac); }
.t-classic .foot { margin-top: auto; text-align: left; }
.t-classic .foot .contacts { border-top: .5px solid var(--ac); padding-top: 12px; margin-bottom: 8px; }
.t-classic .fine { text-align: center; }

/* Every letter design is 816 x 1056 (8.5 x 11 in at 96 dpi) */
.t-split, .t-bold, .t-mag, .t-mosaic, .t-luxe, .t-simple { width: 816px; height: 1056px; position: relative; }
.foot-abs { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 36px 16px; }
.foot-abs .contacts { border-top: 1px solid var(--rule); padding-top: 13px; margin-bottom: 10px; }

/* Design 5: Split (photo column left, details right) */
.t-split { display: grid; grid-template-columns: 372px minmax(0, 1fr); }
.t-split .col { display: grid; grid-template-rows: 520px 263px 263px; overflow: hidden; gap: 5px; height: 1056px; }
.t-split .info { background: var(--tint); padding: 40px 34px 16px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.t-split .eyebrow { color: var(--ac); font-weight: 800; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
.t-split h1 { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 38px; line-height: 1.04; letter-spacing: -.01em; text-wrap: balance; }
.t-split .city { font-size: 12.5px; font-weight: 600; color: var(--soft-text); margin-top: 6px; }
.t-split .price b { font-family: "Fraunces", Georgia, serif; font-weight: 700; font-size: 40px; color: var(--ac); line-height: 1; }
.t-split .price span { display: block; font-size: 9.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--fine); margin-bottom: 2px; }
.t-split .stats { display: grid; grid-template-columns: repeat(5, auto); justify-content: space-between; border-top: 1px solid color-mix(in srgb, var(--ac) 30%, #fff); border-bottom: 1px solid color-mix(in srgb, var(--ac) 30%, #fff); padding: 9px 0; }
.t-split .stat b { font-size: 18px; font-weight: 800; display: block; line-height: 1.1; }
.t-split .stat span { font-size: 8.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--fine); }
.t-split .tag2 { font-family: "Fraunces", Georgia, serif; font-style: italic; font-weight: 400; font-size: 19px; line-height: 1.25; color: var(--ac); text-wrap: balance; }
.t-split .desc { font-size: 11.5px; line-height: 1.5; }
.t-split .hl li { font-size: 11px; }
.t-split .pay { background: #fff; }
.t-split .people { margin-top: auto; display: grid; gap: 10px; border-top: 1px solid color-mix(in srgb, var(--ac) 30%, #fff); padding-top: 12px; }
.t-split .people .row2 { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.t-split .who .face { width: 44px; height: 44px; font-size: 15px; }

/* Design 6: Bold banner */
.t-bold .top { background: var(--ac); color: var(--onac); height: 142px; padding: 0 36px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.t-bold .big { font-family: "Archivo", Arial, sans-serif; font-weight: 800; font-size: 66px; line-height: .92; text-transform: uppercase; letter-spacing: -.02em; max-width: 470px; }
.t-bold .price { text-align: right; }
.t-bold .price span { display: block; font-size: 10px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; opacity: .85; }
.t-bold .price b { font-family: "Archivo", Arial, sans-serif; font-weight: 800; font-size: 40px; }
.t-bold .photo { height: 392px; }
.t-bold .strip { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 16px 36px; border-bottom: 6px solid var(--ac); }
.t-bold h1 { font-family: "Archivo", Arial, sans-serif; font-weight: 800; font-size: 28px; line-height: 1.05; }
.t-bold .city { font-size: 12px; font-weight: 600; color: var(--soft-text); margin-top: 4px; }
.t-bold .stats { display: flex; gap: 0; }
.t-bold .stat { padding: 0 13px; border-left: 2px solid var(--rule); text-align: center; }
.t-bold .stat:first-child { border-left: 0; }
.t-bold .stat b { font-family: "Archivo", Arial, sans-serif; font-weight: 800; font-size: 20px; display: block; line-height: 1.05; }
.t-bold .stat span { font-size: 8.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--fine); }
.t-bold .main2 { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 24px; padding: 18px 36px 0; }
.t-bold .tag2 { font-family: "Archivo", Arial, sans-serif; font-weight: 700; font-size: 18px; line-height: 1.2; margin-bottom: 6px; text-wrap: balance; }
.t-bold .desc { font-size: 11.5px; margin-bottom: 10px; }
.t-bold .hl li { font-size: 11px; }

/* Design 7: Magazine */
.t-mag { padding: 30px 36px 0; }
.t-mag .mast { display: flex; justify-content: space-between; font-size: 9.5px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; border-top: 2px solid var(--text); border-bottom: 1px solid var(--text); padding: 6px 0; }
.t-mag .mast span:nth-child(2) { color: var(--ac); }
.t-mag h1 { font-family: "Fraunces", Georgia, serif; font-style: italic; font-weight: 400; font-size: 54px; line-height: 1.02; letter-spacing: -.015em; margin-top: 14px; }
.t-mag .city { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--soft-text); margin-top: 6px; }
.t-mag .spread { display: grid; grid-template-columns: minmax(0, 1fr) 210px; gap: 22px; margin-top: 16px; }
.t-mag .photo { height: 352px; }
.t-mag .cap { font-size: 9.5px; color: var(--fine); font-style: italic; margin-top: 5px; }
.t-mag .glance h3 { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 17px; margin: 0 0 8px; padding-bottom: 6px; border-bottom: 2px solid var(--ac); }
.t-mag .glance dl { margin: 0; display: grid; gap: 7px; }
.t-mag .glance dl div { display: flex; gap: 6px; font-size: 11.5px; align-items: baseline; }
.t-mag .glance dt { color: var(--soft-text); }
.t-mag .glance dd { margin: 0 0 0 auto; font-weight: 700; }
.t-mag .glance dl div::after { order: 1; }
.t-mag .glance .lead { flex: 1; border-bottom: 1px dotted #b9bfc8; transform: translateY(-3px); }
.t-mag .glance .pr { font-family: "Fraunces", Georgia, serif; font-weight: 700; font-size: 28px; color: var(--ac); margin: 2px 0 10px; }
.t-mag .thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; height: 76px; margin-top: 12px; }
.t-mag .main2 { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--rule); }
.t-mag .tag2 { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 18px; line-height: 1.2; margin-bottom: 6px; text-wrap: balance; }
.t-mag .desc { font-size: 11.5px; margin-bottom: 10px; }
.t-mag .desc::first-letter { font-family: "Fraunces", Georgia, serif; float: left; font-size: 40px; line-height: .85; padding: 3px 6px 0 0; color: var(--ac); font-weight: 600; }
.t-mag .hl li { font-size: 11px; }

/* Design 8: Mosaic */
.t-mosaic .grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 232px 233px; gap: 5px; height: 470px; overflow: hidden; }
.t-mosaic .grid > img, .t-split .col > img { min-height: 0; }
.t-mosaic .mcard { position: absolute; top: 132px; left: 50%; transform: translateX(-50%); width: 460px; background: #fff; text-align: center; padding: 22px 28px 20px; box-shadow: 0 10px 34px rgba(0,0,0,.28); border-top: 5px solid var(--ac); }
.t-mosaic .eyebrow { color: var(--ac); font-weight: 800; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; }
.t-mosaic h1 { font-family: "DM Serif Display", Georgia, serif; font-weight: 400; font-size: 34px; line-height: 1.05; margin-top: 6px; text-wrap: balance; }
.t-mosaic .city { font-size: 12px; font-weight: 600; color: var(--soft-text); margin-top: 5px; }
.t-mosaic .pr { font-family: "DM Serif Display", Georgia, serif; font-size: 34px; color: var(--ac); margin-top: 8px; }
.t-mosaic .stats { display: grid; grid-template-columns: repeat(5, 1fr); margin: 16px 36px 0; background: var(--tint); }
.t-mosaic .stat { text-align: center; padding: 10px 4px; }
.t-mosaic .stat b { font-size: 20px; font-weight: 800; display: block; line-height: 1.1; color: var(--ac); }
.t-mosaic .stat span { font-size: 8.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--fine); }
.t-mosaic .main2 { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 24px; padding: 18px 36px 0; }
.t-mosaic .tag2 { font-family: "DM Serif Display", Georgia, serif; font-weight: 400; font-size: 21px; line-height: 1.15; color: var(--ac); margin-bottom: 6px; text-wrap: balance; }
.t-mosaic .desc { font-size: 11.5px; margin-bottom: 10px; }
.t-mosaic .hl li { font-size: 11px; }

/* Design 9: Luxe (dark paper, best from a print shop) */
.t-luxe { --paper: #17191e; --text: #efe9dd; --soft-text: #c9c2b4; --fine: #9a9488; --rule: #3a3d44; --gold: color-mix(in srgb, var(--ac) 35%, #d9c38f);
  background: var(--paper); color: var(--text); padding: 34px 40px 0; }
.t-luxe .pre { text-align: center; font-size: 10px; font-weight: 700; letter-spacing: .42em; text-transform: uppercase; color: var(--gold); }
.t-luxe h1 { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 500; font-size: 44px; letter-spacing: .1em; text-transform: uppercase; text-align: center; line-height: 1.05; margin-top: 8px; }
.t-luxe .city { text-align: center; font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--soft-text); margin-top: 6px; }
.t-luxe .photo { height: 372px; margin-top: 18px; border: 1px solid var(--gold); padding: 6px; }
.t-luxe .row3 { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--rule); }
.t-luxe .pr { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; font-size: 36px; color: var(--gold); }
.t-luxe .stats { display: flex; gap: 22px; }
.t-luxe .stat { text-align: center; }
.t-luxe .stat b { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; font-size: 24px; display: block; line-height: 1; }
.t-luxe .stat span { font-size: 8px; letter-spacing: .2em; text-transform: uppercase; color: var(--fine); }
.t-luxe .main2 { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 26px; margin-top: 16px; }
.t-luxe .tag2 { font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-weight: 500; font-size: 22px; line-height: 1.2; color: var(--gold); margin-bottom: 6px; }
.t-luxe .desc { font-size: 11.5px; margin-bottom: 10px; }
.t-luxe .hl li { font-size: 11px; font-weight: 500; }
.t-luxe .hl li::before { background: var(--gold); width: 5px; height: 5px; transform: rotate(45deg) translateY(-2px); }
.t-luxe .pay { background: rgba(255,255,255,.04); border-color: var(--gold); }
.t-luxe .pay-h { color: var(--gold); }
.t-luxe .pay-col + .pay-col { border-left-color: var(--rule); }
.t-luxe .pay-total { color: var(--text); }
.t-luxe .pay-lines b { color: var(--text); }
.t-luxe .who .face { background: transparent; color: var(--gold); border-color: var(--gold); }
.t-luxe .who .role { color: var(--gold); }
.t-luxe .qrbox p span { color: var(--gold) !important; }
.t-luxe .qr { padding: 3px; }
.t-luxe .foot-abs { padding: 0 40px 16px; }
.t-luxe .ehl { color: var(--fine); }

/* Design 10: Simple (big type, little ink, fine on any office printer) */
.t-simple { padding: 36px 40px 0; }
.t-simple .head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; padding-bottom: 12px; border-bottom: 3px solid var(--ac); }
.t-simple .eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ac); }
.t-simple h1 { font-size: 34px; font-weight: 800; line-height: 1.08; margin-top: 4px; }
.t-simple .city { font-size: 15px; color: var(--soft-text); margin-top: 3px; }
.t-simple .pr { font-size: 36px; font-weight: 800; white-space: nowrap; }
.t-simple .body3 { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 24px; margin-top: 18px; }
.t-simple .photo { height: 248px; }
.t-simple table { width: 100%; border-collapse: collapse; font-size: 15px; }
.t-simple td { padding: 7px 0; border-bottom: 1px solid var(--rule); }
.t-simple td:last-child { text-align: right; font-weight: 800; }
.t-simple .tag2 { font-size: 19px; font-weight: 800; margin: 18px 0 6px; }
.t-simple .desc { font-size: 13px; color: var(--text); }
.t-simple .hl { margin-top: 12px; gap: 8px 20px; }
.t-simple .hl li { font-size: 13.5px; }
.t-simple .hl li::before { background: none; border: 2px solid var(--ac); width: 9px; height: 9px; border-radius: 50%; }
.t-simple .payrow { margin-top: 16px; }
.t-simple .pay { background: #fff; border: 2px solid var(--text); }
.t-simple .pay-total { font-size: 28px; }
.t-simple .pay-lines { font-size: 11.5px; }

/* Photos the person hasn't added yet */
.fly .nophoto { background: repeating-linear-gradient(135deg, #eef1f5 0 12px, #e4e8ee 12px 24px); height: 100%; width: 100%; }
.fly .face img { border-radius: 50%; height: 100%; object-fit: cover; width: 100%; }
.fly .logo { display: block; height: 30px; max-width: 150px; object-fit: contain; width: auto; }

/* The print window (JS/PropertyFlyers.js) */
@page { size: letter; margin: 0; }
html.pf-printing, html.pf-printing body { background: #fff; height: 11in; margin: 0; overflow: hidden; padding: 0; }
html.pf-printing .fly { -webkit-print-color-adjust: exact; print-color-adjust: exact; }

/* Look up (public record) */
.pf-lookup { display: flex; gap: 6px; }
.pf-lookup input { flex: 1; font-size: .95rem; min-width: 0; }
.pf-lookup button { white-space: nowrap; }
.pf-lookup button:disabled { cursor: default; opacity: .6; }
.pf .hint.good { color: var(--good); font-weight: 600; }
.pf-record { background: var(--field); border: 1px solid var(--line); border-radius: 8px; display: grid; gap: 8px; padding: 10px 12px; }
.pf-record-head { align-items: baseline; display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; }
.pf-record-head b { font-size: .92rem; }
.pf-record .tag { background: var(--good-soft); border-radius: 999px; color: var(--good); font-size: .7rem; font-weight: 700; padding: 2px 8px; }
.pf-record .facts { display: grid; font-size: .8rem; gap: 6px 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pf-record .facts div { min-width: 0; }
.pf-record .facts span { color: var(--muted); display: block; font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; }
.pf-record .facts b { font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }

/* "Show me how" (the tour, JS/FlyersTour.js) under the page title */
.pf .pf-how { margin-top: 8px; }

/* The demo site: "SAMPLE" across the flyer, on screen and in print (JS adds .demo-mark when C.demo). */
html.pf-printing .fly { position: relative; }
.fly .demo-mark { align-items: center; color: rgba(200, 30, 30, .17); display: flex; font: 900 190px/1 Arial, sans-serif;
  inset: 0; justify-content: center; letter-spacing: 8px; pointer-events: none; position: absolute; transform: rotate(-52deg); z-index: 50; }
