/* Highland Smart City Portal — all rules are scoped to .hsc */
html { scroll-behavior: smooth; }
.hsc {
  --bg: #F1F5EF;
  --surface: #FFFFFF;
  --ink: #1D2620;
  --muted: #58655C;
  --green: #1A7C46;
  --green-2: #146638;
  --on-green: #FFFFFF;
  --lime: #8DC63F;
  --brass: #5F9624;
  --stamp: #B23A2B;
  --line: #D6DFD4;
  --field: #F7FAF5;
  --paper: #FFFEF7;
  --plot: #DCE7D8;
  --plot-c: #E6EBC9;
  --ok: #1F7A48;
  --err: #B3261E;
  --warn: #8A6100;
  --serif: "Jost", "Segoe UI", system-ui, sans-serif;
  --sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hand: "Caveat", "Segoe Print", "Comic Sans MS", cursive;
  --urdu: "Noto Nastaliq Urdu", "Jameel Noori Nastaleeq", serif;
}

.hsc * { box-sizing: border-box; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hsc *, .hsc *::before, .hsc *::after { animation: none !important; transition: none !important; }
}
.hsc { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; }
.hsc img { max-width: 100%; }
.hsc a { color: inherit; }
.hsc :focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; border-radius: 4px; }
.hsc h1, .hsc h2, .hsc h3 { font-family: var(--serif); line-height: 1.15; margin: 0; letter-spacing: -0.005em; }
.hsc h1 { font-weight: 600; }
.hsc h2 { font-weight: 500; }
.hsc h3 { font-weight: 500; }
.hsc .wrap { max-width: 1160px; margin: 0 auto; padding: 0 22px; }
.hsc .urdu { font-family: var(--urdu); direction: rtl; line-height: 2.1; color: var(--muted); }
.hsc .hand { font-family: var(--hand); }
.hsc .skip { position: absolute; left: -999px; }
.hsc .skip:focus { left: 12px; top: 12px; z-index: 99; background: var(--surface); padding: 8px 12px; }

.hsc /* ---------- top strip + header ---------- */
.strip { background: var(--green); color: var(--on-green); font-size: .88rem; }
.hsc .strip .wrap { display: flex; justify-content: space-between; gap: 12px; padding-top: 7px; padding-bottom: 7px; flex-wrap: wrap; }
.hsc .strip a { text-decoration: none; }
.hsc .strip a:hover { text-decoration: underline; }
.hsc .status { display: inline-flex; align-items: center; gap: 7px; }
.hsc .dot { width: 8px; height: 8px; border-radius: 50%; background: #8FD6AE; box-shadow: 0 0 0 3px rgba(143,214,174,.25); }
.hsc .dot.closed { background: #E7A79E; box-shadow: 0 0 0 3px rgba(231,167,158,.25); }

.hsc .site-header { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.hsc .nav { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 16px; }
.hsc .brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.hsc .links { display: flex; gap: 2px; align-items: center; }
.hsc .links a { text-decoration: none; padding: 8px 13px; border-radius: 8px; font-weight: 600; font-size: .96rem; color: var(--muted); }
.hsc .links a:hover { color: var(--ink); }
.hsc .links a[aria-current="page"] { color: var(--green); background: var(--surface); box-shadow: inset 0 -2px 0 var(--brass); }
.hsc .menu-btn { display: none; background: none; border: 1px solid var(--line); color: var(--ink); border-radius: 8px; padding: 8px 12px; font: inherit; cursor: pointer; }
@media (max-width: 860px) {
  .hsc .menu-btn { display: block; }
  .hsc .links { display: none; position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--bg); border-bottom: 1px solid var(--line); padding: 10px 22px 16px; }
  .hsc .links.open { display: flex; }
}

.hsc /* ---------- buttons ---------- */
.btn { box-sizing: border-box; line-height: 1.2; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 1rem var(--sans); padding: 12px 22px; border-radius: 8px; border: 1.5px solid transparent; cursor: pointer; text-decoration: none; transition: background .15s, border-color .15s; }
.hsc .btn-primary { background: var(--green); color: var(--on-green); }
.hsc .btn-primary:hover { background: var(--green-2); }
.hsc .btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.hsc .btn-ghost:hover { border-color: var(--green); }
.hsc .btn-wa { background: #1F8F4E; color: #fff; }
.hsc .btn-wa:hover { background: #197A42; }
.hsc .btn:disabled { opacity: .6; cursor: wait; }
.hsc .btn-sm { padding: 8px 14px; font-size: .92rem; }

.hsc /* ---------- hero ---------- */
.hero { position: relative; min-height: min(88vh, 760px); display: flex; align-items: center; overflow: hidden; background: #2E4424; color: #fff; isolation: isolate; }
.hsc .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.06); animation: drift 24s ease-out forwards; }
@keyframes drift { to { transform: scale(1); } }
.hsc .hero-shade { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(12, 20, 14, .82) 0%, rgba(12, 20, 14, .58) 42%, rgba(12, 20, 14, .12) 78%),
  linear-gradient(0deg, rgba(12, 20, 14, .55) 0%, rgba(12, 20, 14, 0) 38%); }
.hsc .hero-inner { width: 100%; padding-top: 72px; padding-bottom: 96px; }
.hsc .hero-title { font-weight: 400; line-height: 1; margin: 0; letter-spacing: -0.015em; }
.hsc .hero-title span { display: block; }
.hsc .hero-title .t1 { font-family: var(--sans); font-weight: 300; font-size: clamp(2.6rem, 7vw, 5.4rem); }
.hsc .hero-title .t2 { font-family: var(--sans); font-weight: 700; font-size: clamp(2.6rem, 7vw, 5.4rem); margin-top: .04em; }
.hsc .hero-title .t3 { font-family: "Playfair Display", Georgia, serif; font-style: italic; font-weight: 500; font-size: clamp(2.9rem, 7.8vw, 6rem); margin-top: .06em; letter-spacing: -0.02em; }
.hsc .hero-urdu { color: rgba(255, 255, 255, .78); font-size: 1.2rem; text-align: left; margin: 14px 0 0; }
.hsc .hero-lead { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: rgba(255, 255, 255, .88); max-width: 46ch; margin: 14px 0 30px; }
.hsc .hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hsc .btn-offer { position: relative; background: #fff; color: #1B2620; border-radius: 4px; padding: 15px 26px; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .6); }
.hsc .btn-offer:hover { background: #F1F4EF; }
.hsc .badge { position: absolute; top: -9px; right: -9px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: #D32F2F; color: #fff; font-size: .78rem; font-weight: 700; display: grid; place-items: center; box-shadow: 0 0 0 3px rgba(211, 47, 47, .25); animation: ping 2.4s ease-out 1.2s 3; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(211, 47, 47, .55); } 100% { box-shadow: 0 0 0 12px rgba(211, 47, 47, 0); } }
.hsc .btn-glass { color: #fff; border-color: rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .08); border-radius: 4px; padding: 14px 24px; backdrop-filter: blur(4px); }
.hsc .btn-glass:hover { background: rgba(255, 255, 255, .18); border-color: #fff; }
.hsc .hero-links { margin-top: 18px; font-size: .96rem; }
.hsc .hero-links a { color: rgba(255, 255, 255, .85); text-underline-offset: 3px; }
.hsc .hero-links a:hover { color: #fff; }
.hsc .hero-scroll { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); color: #fff; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .5); display: grid; place-items: center; }
.hsc .hero-scroll:hover { background: rgba(255, 255, 255, .12); }
@media (max-width: 640px) {
  .hsc .hero { min-height: 600px; }
  .hsc .hero-shade { background: linear-gradient(180deg, rgba(12, 20, 14, .55), rgba(12, 20, 14, .85)); }
  .hsc .hero-inner { padding-top: 56px; padding-bottom: 84px; }
  .hsc .hero-actions .btn { width: 100%; }
}


.hsc .offers { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.hsc .offer { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.hsc .offer.sold { background: var(--field); }
.hsc .offer.sold h3, .hsc .offer.sold .offer-price { color: var(--muted); }
.hsc .offer-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 8px; }
.hsc .offer-block { font-size: .88rem; color: var(--muted); white-space: nowrap; }
.hsc .offer .pill { white-space: nowrap; }
.hsc .pill { font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 20px; }
.hsc .pill.available { background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); }
.hsc .pill.few { background: color-mix(in srgb, var(--brass) 18%, transparent); color: var(--brass); }
.hsc .pill.sold { background: color-mix(in srgb, var(--muted) 16%, transparent); color: var(--muted); }
.hsc .offer h3 { font-size: 1.45rem; }
.hsc .offer-price { font-family: var(--serif); font-weight: 700; font-size: 1.3rem; color: var(--green); margin: 2px 0 0; font-variant-numeric: tabular-nums; }
.hsc .offer-price small { font-family: var(--sans); font-size: .78rem; font-weight: 600; color: var(--muted); }
.hsc .offer-plan { margin: 0; font-size: .9rem; color: var(--muted); }
.hsc .offer-note { margin: 10px 0 16px; font-size: .95rem; }
.hsc .offer .btn { margin-top: auto; align-self: stretch; white-space: normal; text-align: center; }

.hsc .layout-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: end; }
.hsc .layout-grid .amenities { grid-template-columns: 1fr 1fr; }
@media (max-width: 920px) { .hsc .layout-grid { grid-template-columns: 1fr; } }

.hsc .map-card { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 16px 16px 12px; transform: rotate(.6deg); box-shadow: 0 1px 0 var(--line), 0 18px 30px -24px rgba(20, 40, 30, .45); }
.hsc .map-card::before { content: ""; position: absolute; top: -10px; left: 38%; width: 92px; height: 22px; background: color-mix(in srgb, var(--brass) 30%, transparent); transform: rotate(-3deg); }
.hsc .map-card svg { display: block; width: 100%; height: auto; }
.hsc .map-card figcaption { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .85rem; color: var(--muted); margin-top: 8px; }
.hsc .legend { display: flex; gap: 14px; flex-wrap: wrap; }
.hsc .legend span { display: inline-flex; align-items: center; gap: 6px; }
.hsc .sw { width: 13px; height: 13px; border-radius: 2px; display: inline-block; border: 1px solid var(--line); }
.hsc .plot { fill: var(--plot); stroke: var(--muted); stroke-width: .8; stroke-opacity: .5; transition: fill .4s; }
.hsc .plot.c { fill: var(--plot-c); }
.hsc .plot.lit { fill: var(--lime); }
.hsc .map-label { font-family: var(--hand); font-size: 17px; fill: var(--muted); }
.hsc .map-note { font-family: var(--hand); font-size: 21px; fill: var(--stamp); }

.hsc /* ---------- sections ---------- */
.block { padding: 70px 0; }
.hsc .block + .block { border-top: 1px solid var(--line); }
.hsc .sec-head { max-width: 640px; margin-bottom: 34px; }
.hsc .sec-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); }
.hsc .sec-head p { color: var(--muted); margin: 10px 0 0; }
.hsc .sec-head .urdu { font-size: 1.05rem; margin: 0; text-align: left; }


.hsc .portals { display: grid; grid-template-columns: 1.1fr .9fr; gap: 22px; align-items: stretch; }
.hsc .portal { border-radius: 10px; padding: 32px; display: flex; flex-direction: column; gap: 14px; border: 1px solid var(--line); background: var(--surface); }
.hsc .portal h3 { font-size: 1.75rem; }
.hsc .portal p { margin: 0; color: var(--muted); }
.hsc .portal ul { margin: 0; padding-left: 18px; color: var(--muted); }
.hsc .portal li { margin: 3px 0; }
.hsc .portal .btn { align-self: flex-start; margin-top: auto; }
.hsc .portal.main { background: var(--green); color: var(--on-green); border-color: var(--green); }
.hsc .portal.main p, .hsc .portal.main ul { color: color-mix(in srgb, var(--on-green) 80%, transparent); }
.hsc .portal.main .btn { background: var(--on-green); color: var(--green); }
.hsc .portal .urdu { color: inherit; opacity: .75; font-size: 1rem; margin: -8px 0 0; text-align: left; }
@media (max-width: 780px) { .hsc .portals { grid-template-columns: 1fr; } }


.hsc .steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: s; }
.hsc .steps li { counter-increment: s; border-top: 2px solid var(--ink); padding-top: 14px; }
.hsc .steps li::before { content: "Step " counter(s); display: block; font-family: var(--hand); font-size: 1.35rem; color: var(--brass); line-height: 1; margin-bottom: 8px; }
.hsc .steps h3 { font-family: var(--sans); font-weight: 700; font-size: 1.08rem; margin-bottom: 4px; }
.hsc .steps p { margin: 0; color: var(--muted); font-size: .98rem; }
@media (max-width: 860px) { .hsc .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .hsc .steps { grid-template-columns: 1fr; } }


.hsc .board { background: color-mix(in srgb, var(--lime) 18%, var(--bg)); border-radius: 10px; padding: 34px 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.hsc .notice { background: var(--paper); padding: 22px 20px 20px; position: relative; box-shadow: 0 10px 18px -14px rgba(0, 0, 0, .35); border: 1px solid var(--line); }
.hsc .notice:nth-child(1) { transform: rotate(-1.2deg); }
.hsc .notice:nth-child(2) { transform: rotate(.8deg); }
.hsc .notice:nth-child(3) { transform: rotate(-.4deg); }
.hsc .notice::before { content: ""; position: absolute; top: -7px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--stamp); box-shadow: inset -2px -2px 0 rgba(0,0,0,.2); }
.hsc .notice time { font-family: var(--hand); font-size: 1.2rem; color: var(--stamp); }
.hsc .notice h3 { font-size: 1.15rem; margin: 2px 0 6px; }
.hsc .notice p { margin: 0; color: var(--muted); font-size: .96rem; }
@media (max-width: 860px) { .hsc .board { grid-template-columns: 1fr; } .hsc .notice { transform: none !important; } }


.hsc .table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.hsc table.plan { width: 100%; border-collapse: collapse; min-width: 620px; }
.hsc .plan th, .hsc .plan td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.hsc .plan th { font-size: .9rem; color: var(--muted); font-weight: 600; background: var(--field); }
.hsc .plan td:not(:first-child), .hsc .plan th:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; }
.hsc .plan tr:last-child td { border-bottom: 0; }
.hsc .plan td:first-child { font-weight: 700; }
.hsc .small-note { color: var(--muted); font-size: .9rem; margin-top: 12px; }


.hsc .amenities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.hsc .amenity { padding: 22px 22px 22px 0; border-bottom: 1px solid var(--line); }
.hsc .amenity h3 { font-family: var(--sans); font-size: 1.08rem; font-weight: 700; margin-bottom: 4px; }
.hsc .amenity p { margin: 0; color: var(--muted); font-size: .98rem; }
@media (max-width: 860px) { .hsc .amenities { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .hsc .amenities { grid-template-columns: 1fr; } }


.hsc .two { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .hsc .two { grid-template-columns: 1fr; } }
.hsc .letter { background: var(--paper); border: 1px solid var(--line); padding: 30px 30px 26px; border-left: 4px solid var(--brass); }
.hsc .letter p { margin: 0 0 12px; }
.hsc .letter .sign { font-family: var(--hand); font-size: 1.9rem; color: var(--green); line-height: 1; margin-top: 14px; }
.hsc .letter .role { font-size: .9rem; color: var(--muted); }
.hsc .faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.hsc .faq details:first-of-type { border-top: 1px solid var(--line); }
.hsc .faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.hsc .faq summary::-webkit-details-marker { display: none; }
.hsc .faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--brass); }
.hsc .faq details[open] summary::after { content: "–"; }
.hsc .faq details p { margin: 10px 0 0; color: var(--muted); }


.hsc .contact { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.hsc .contact dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 12px 22px; }
.hsc .contact dt { color: var(--muted); }
.hsc .contact dd { margin: 0; font-weight: 600; }
.hsc .bring { background: var(--surface); border: 1px dashed var(--muted); border-radius: 8px; padding: 22px 24px; }
.hsc .bring h3 { font-family: var(--hand); font-weight: 700; font-size: 1.6rem; color: var(--green); margin-bottom: 6px; }
.hsc .bring ul { margin: 0; padding: 0; list-style: none; }
.hsc .bring li { padding: 5px 0 5px 28px; position: relative; }
.hsc .bring li::before { content: ""; position: absolute; left: 0; top: 9px; width: 16px; height: 16px; border: 1.5px solid var(--muted); border-radius: 3px; }
@media (max-width: 780px) { .hsc .contact { grid-template-columns: 1fr; } }


.hsc .site-footer { border-top: 1px solid var(--line); padding: 34px 0; color: var(--muted); font-size: .92rem; }
.hsc .site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.hsc .site-footer nav { display: flex; gap: 16px; flex-wrap: wrap; }
.hsc .site-footer a { text-decoration: none; }
.hsc .site-footer a:hover { color: var(--ink); text-decoration: underline; }


.hsc /* ---------- form page ---------- */
.form-page { padding: 38px 0 80px; }
.hsc .crumb { font-size: .92rem; color: var(--muted); }
.hsc .crumb a { text-decoration: none; }
.hsc .crumb a:hover { color: var(--green); text-decoration: underline; }
.hsc .form-head { margin: 10px 0 28px; max-width: 680px; }
.hsc .form-head h1 { font-size: clamp(2rem, 4.2vw, 2.9rem); }
.hsc .form-head .urdu { font-size: 1.15rem; margin: 2px 0 0; text-align: left; }
.hsc .form-head p { color: var(--muted); margin: 10px 0 0; }
.hsc .form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 30px; align-items: start; }
@media (max-width: 960px) { .hsc .form-layout { grid-template-columns: 1fr; } .hsc .aside { order: -1; position: static !important; } }

.hsc .draft-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; background: color-mix(in srgb, var(--brass) 14%, var(--surface)); border: 1px solid color-mix(in srgb, var(--brass) 40%, var(--line)); border-radius: 8px; padding: 10px 16px; margin-bottom: 16px; font-size: .95rem; }
.hsc .linkish { background: none; border: 0; padding: 0; font: 600 .95rem var(--sans); color: var(--green); cursor: pointer; text-decoration: underline; }

.hsc .pform { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 6px 32px 30px; }
.hsc .pform fieldset { border: 0; padding: 28px 0 8px; margin: 0; border-bottom: 1px solid var(--line); min-width: 0; }
.hsc .pform fieldset:last-of-type { border-bottom: 0; }
.hsc .pform legend { font-family: var(--serif); font-weight: 600; font-size: 1.4rem; padding: 0; margin-bottom: 18px; float: left; width: 100%; }
.hsc .pform legend small { font-family: var(--sans); font-weight: 400; font-size: .9rem; color: var(--muted); margin-left: 8px; }
.hsc .pform legend + * { clear: both; }
.hsc .grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 22px; }
.hsc .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .hsc .grid { grid-template-columns: 1fr; } .hsc .pform { padding: 2px 18px 24px; } }

.hsc .f label, .hsc .f .lbl { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.hsc .req { color: var(--err); }
.hsc .hint { font-size: .85rem; color: var(--muted); margin-top: 5px; }
.hsc .pform input[type=text], .hsc .pform input[type=email], .hsc .pform input[type=tel], .hsc .pform input[type=date], .hsc .pform textarea, .hsc .pform select, .hsc .search input {
  width: 100%; font: inherit; color: var(--ink); background: var(--field); border: 1.5px solid var(--line); border-radius: 7px; padding: 10px 13px; min-height: 46px;
}
.hsc .pform textarea { min-height: 80px; resize: vertical; }
.hsc .pform input:focus, .hsc .pform textarea:focus, .hsc .pform select:focus, .hsc .search input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px color-mix(in srgb, var(--green) 18%, transparent); }
.hsc .pform input[readonly], .hsc .pform textarea[readonly] { opacity: .7; }
.hsc .f.bad input, .hsc .f.bad textarea, .hsc .f.bad select { border-color: var(--err); }
.hsc .err { color: var(--err); font-size: .86rem; margin-top: 5px; }
.hsc .money { position: relative; }
.hsc .money span { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 600; font-size: .9rem; }
.hsc .money input { padding-left: 54px !important; }
.hsc .from-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-start; }
.hsc .from-row > div:last-child:not(.seg) { flex: 1; min-width: 220px; }
.hsc .seg { display: flex; gap: 8px; flex-wrap: wrap; }
.hsc .seg label { margin: 0; display: flex; align-items: center; gap: 8px; border: 1.5px solid var(--line); background: var(--field); border-radius: 7px; padding: 9px 14px; cursor: pointer; font-weight: 500; }
.hsc .seg input { accent-color: var(--green); }
.hsc .seg label:has(input:checked) { border-color: var(--green); color: var(--green); font-weight: 700; }
.hsc .check { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 500 !important; font-size: .96rem; cursor: pointer; }
.hsc .check input { margin-top: 4px; accent-color: var(--green); width: 17px; height: 17px; flex: none; }

.hsc .uploads { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (max-width: 640px) { .hsc .uploads { grid-template-columns: 1fr; } }
.hsc .up { border: 1.5px dashed var(--line); border-radius: 8px; padding: 12px 14px; display: flex; gap: 14px; align-items: center; background: var(--field); position: relative; transition: border-color .15s, background .15s; }
.hsc .up:hover, .hsc .up.drag { border-color: var(--green); }
.hsc .up.has { border-style: solid; border-color: color-mix(in srgb, var(--ok) 50%, var(--line)); background: var(--surface); }
.hsc .up.bad { border-color: var(--err); }
.hsc .up input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.hsc .thumb { width: 50px; height: 50px; border-radius: 6px; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; flex: none; overflow: hidden; font-size: .7rem; font-weight: 700; color: var(--muted); }
.hsc .thumb img { width: 100%; height: 100%; object-fit: cover; }
.hsc .up .meta { min-width: 0; flex: 1; }
.hsc .up .t { font-weight: 600; font-size: .96rem; }
.hsc .up .s { font-size: .84rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hsc .up.bad .s { color: var(--err); white-space: normal; }
.hsc .up .remove { position: relative; z-index: 2; background: none; border: 0; color: var(--muted); cursor: pointer; font: 600 .84rem var(--sans); padding: 6px; }
.hsc .up .remove:hover { color: var(--err); }
.hsc .form-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; padding-top: 22px; }

.hsc .aside { position: sticky; top: 90px; display: grid; gap: 16px; }
.hsc .progress { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 20px; }
.hsc .progress h2 { font-size: 1.1rem; margin-bottom: 12px; }
.hsc .progress ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hsc .progress li { display: flex; justify-content: space-between; gap: 10px; font-size: .95rem; }
.hsc .progress li span:last-child { color: var(--muted); font-variant-numeric: tabular-nums; }
.hsc .progress li.done span:first-child { color: var(--ok); font-weight: 600; }
.hsc .progress li.done span:first-child::before { content: "✓ "; }
.hsc .bar { height: 6px; background: var(--field); border-radius: 6px; margin-top: 16px; overflow: hidden; border: 1px solid var(--line); }
.hsc .bar i { display: block; height: 100%; background: var(--green); transition: width .3s; }
.hsc .tip { font-family: var(--hand); font-size: 1.3rem; line-height: 1.25; color: var(--green); padding: 4px 6px; transform: rotate(-1deg); }

.hsc /* ---------- modal / receipt ---------- */
.modal { position: fixed; inset: 0; background: rgba(10, 20, 15, .5); display: flex; align-items: center; justify-content: center; padding: 20px; z-index: 60; overflow-y: auto; }
.hsc .dialog { background: var(--surface); border-radius: 10px; max-width: 540px; width: 100%; padding: 30px; border: 1px solid var(--line); animation: pop .25s ease-out; position: relative; }
@keyframes pop { from { transform: translateY(10px); opacity: 0; } to { transform: none; opacity: 1; } }
.hsc .dialog h2 { font-size: 1.9rem; margin: 0 0 6px; }
.hsc .dialog p { color: var(--muted); margin: 0 0 8px; }
.hsc .stampmark { position: absolute; top: 22px; right: 24px; border: 2.5px solid var(--stamp); color: var(--stamp); font: 700 .9rem var(--serif); padding: 4px 10px; border-radius: 4px; transform: rotate(8deg); opacity: .85; letter-spacing: .04em; }
.hsc .ref { font-family: var(--serif); font-weight: 700; font-size: 1.5rem; color: var(--green); background: var(--field); border: 1px dashed var(--line); padding: 10px 14px; border-radius: 6px; margin: 14px 0; }
.hsc .sent-note { font-size: .92rem; padding: 8px 12px; border-radius: 6px; background: var(--field); margin: 10px 0; }
.hsc .dialog .row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }

.hsc /* ---------- submissions ---------- */
.subs-tools { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.hsc .search { flex: 1; min-width: 220px; max-width: 420px; }
.hsc .subs { display: grid; gap: 12px; }
.hsc .sub { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 16px 22px; }
.hsc .sub summary { cursor: pointer; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; list-style: none; align-items: center; }
.hsc .sub summary::-webkit-details-marker { display: none; }
.hsc .who { font-weight: 700; }
.hsc .tag { font-size: .8rem; font-weight: 700; padding: 2px 10px; border-radius: 20px; border: 1px solid var(--line); color: var(--green); margin-left: 8px; }
.hsc .when { color: var(--muted); font-size: .9rem; }
.hsc .sub table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: .95rem; }
.hsc .sub td { padding: 7px 0; border-top: 1px solid var(--line); vertical-align: top; }
.hsc .sub td:first-child { color: var(--muted); width: 40%; padding-right: 12px; }
.hsc .docs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.hsc .doc { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 6px; padding: 6px 10px 6px 6px; font-size: .86rem; background: var(--field); }
.hsc .doc img, .hsc .doc .ph { width: 34px; height: 34px; border-radius: 4px; object-fit: cover; background: var(--surface); display: grid; place-items: center; font-size: .62rem; font-weight: 700; color: var(--muted); }
.hsc .acts { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.hsc .empty { background: var(--surface); border: 1px dashed var(--muted); border-radius: 10px; padding: 44px 24px; text-align: center; color: var(--muted); }
.hsc .empty .hand { font-size: 1.6rem; color: var(--green); display: block; margin-bottom: 6px; }
.hsc .empty .row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }

.hsc /* ---------- print (receipt) ---------- */
.print-only { display: none; }
@media print {
  body.hsc-printing * { visibility: hidden !important; }
  body.hsc-printing .hsc-pop-root, body.hsc-printing .hsc-pop-root * { visibility: visible !important; }
  body.hsc-printing .hsc-pop-root { position: absolute !important; inset: 0 auto auto 0 !important; width: 100%; }
  .hsc .hsc-modal { position: static !important; background: none !important; padding: 0 !important; display: block !important; }
  .hsc .hsc-pop { box-shadow: none !important; border: 0 !important; max-width: none !important; animation: none !important; }
  .hsc .hsc-pop-actions, .hsc .hsc-pop-x { display: none !important; }
  .hsc .print-only { display: table; width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 12pt; }
  .hsc .print-only td { border-bottom: 1px solid #ccc; padding: 6px 0; vertical-align: top; }
  .hsc .print-only td:first-child { width: 40%; color: #555; }
}

@media (max-width: 600px) {
  .hsc .strip .wrap > span:last-child { display: none; }
  .hsc .dialog { padding: 24px 20px; }
  .hsc .stampmark { top: 14px; right: 14px; font-size: .75rem; }
}

.hsc /* ================= WordPress additions ================= */
body.hsc { margin: 0; }
.hsc a { text-decoration-thickness: 1px; text-underline-offset: 2px; }
.hsc img { height: auto; }
.hsc input, .hsc select, .hsc textarea, .hsc button { font-family: var(--sans); }
.hsc .muted { color: var(--muted); }
.hsc .hp { position: absolute !important; left: -9999px !important; height: 1px; overflow: hidden; }

.hsc .brand { color: var(--ink); }
.hsc .brand-mark { height: 40px; width: auto; }
.hsc .brand-custom { height: 48px; width: auto; }
.hsc .brand-word { display: flex; flex-direction: column; line-height: 1; }
.hsc .brand-word b { font-family: var(--serif); font-weight: 500; font-size: 1.32rem; letter-spacing: .06em; color: var(--ink); }
.hsc .brand-word small { font-family: var(--serif); font-size: .66rem; letter-spacing: .34em; color: var(--muted); margin-top: 4px; }
.hsc .nav-sep { width: 1px; height: 22px; background: var(--line); margin: 0 6px; }
.hsc .nav-account { display: inline-flex !important; align-items: center; gap: 8px; }
.hsc .avatar { width: 26px; height: 26px; border-radius: 50%; background: var(--green); color: var(--on-green); display: grid; place-items: center; font-size: .8rem; font-weight: 700; }
.hsc .links a.nav-cta { color: var(--on-green); margin-left: 4px; }
.hsc .links a.nav-cta:hover { color: var(--on-green); }
@media (max-width: 860px) { .hsc .nav-sep { display: none; } .hsc .links a.nav-cta { margin: 6px 0 0; } }

.hsc .hero-logo { height: 92px; width: auto; margin-bottom: 26px; filter: drop-shadow(0 2px 10px rgba(0,0,0,.35)); }
@media (max-width: 640px) { .hsc .hero-logo { height: 70px; margin-bottom: 18px; } }


.hsc .pill { display: inline-block; font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 20px; white-space: nowrap; }
.hsc .pill.ok { background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); }
.hsc .pill.warn { background: color-mix(in srgb, var(--warn) 16%, transparent); color: var(--warn); }
.hsc .pill.bad { background: color-mix(in srgb, var(--err) 12%, transparent); color: var(--err); }
.hsc .pill.info { background: color-mix(in srgb, var(--green) 10%, transparent); color: var(--green); }


.hsc .hsc-alert { border-radius: 8px; padding: 12px 16px; margin: 0 0 16px; border: 1px solid var(--line); background: var(--surface); font-size: .98rem; }
.hsc .hsc-alert.ok { border-color: color-mix(in srgb, var(--ok) 45%, var(--line)); background: color-mix(in srgb, var(--ok) 8%, var(--surface)); }
.hsc .hsc-alert.bad { border-color: color-mix(in srgb, var(--err) 45%, var(--line)); background: color-mix(in srgb, var(--err) 7%, var(--surface)); }
.hsc .hsc-alert.info { border-color: color-mix(in srgb, var(--lime) 60%, var(--line)); background: color-mix(in srgb, var(--lime) 12%, var(--surface)); }


.hsc .site-footer { padding: 48px 0 0; }
.hsc .footer-grid { display: grid !important; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.hsc .footer-brand img { height: 96px; width: auto; }
.hsc .footer-brand p { margin: 10px 0 0; }
.hsc .site-footer h2 { font-size: 1rem; font-weight: 600; color: var(--ink); margin: 0 0 10px; }
.hsc .site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.hsc .footer-base { border-top: 1px solid var(--line); margin-top: 36px; padding-top: 16px; padding-bottom: 20px; }
.hsc .footer-base .hand { font-size: 1.4rem; color: var(--green); }
@media (max-width: 760px) { .hsc .footer-grid { grid-template-columns: 1fr; } }


.hsc .gate { display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 32px; align-items: center; }
.hsc .gate h2 { font-size: 1.6rem; margin-bottom: 8px; }
.hsc .gate p { color: var(--muted); margin: 0 0 18px; max-width: 52ch; }
.hsc .gate .row, .hsc .row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.hsc .gate-list { list-style: none; margin: 0; padding: 20px 22px; border-left: 3px solid var(--lime); background: var(--field); }
.hsc .gate-list li { padding: 5px 0; }
.hsc .gate-list li::before { content: "✓  "; color: var(--green); font-weight: 700; }
@media (max-width: 760px) { .hsc .gate { grid-template-columns: 1fr; padding: 24px; } }
.hsc .aside-note { font-size: .92rem; color: var(--muted); margin: 0; }


.hsc .auth-page { padding: 48px 22px 80px; }
.hsc .auth-card { display: grid; grid-template-columns: .85fr 1.15fr; max-width: 940px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 30px 60px -40px rgba(20, 50, 30, .35); }
.hsc .auth-side { background: linear-gradient(160deg, #0F3A24, #1A7C46 70%, #5E9B2C); color: #fff; padding: 36px 32px; display: flex; flex-direction: column; gap: 10px; }
.hsc .auth-side img { width: 190px; max-width: 100%; margin-bottom: 18px; }
.hsc .auth-side .hand { font-size: 1.9rem; line-height: 1.1; color: #D9F2B4; margin: 0; }
.hsc .auth-side p { margin: 0; color: rgba(255,255,255,.85); }
.hsc .auth-side ul { list-style: none; margin: 8px 0 0; padding: 0; }
.hsc .auth-side li { padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.9); }
.hsc .auth-side li::before { content: "✓  "; color: var(--lime); font-weight: 700; }
.hsc .auth-main { padding: 36px 36px 30px; }
.hsc .auth-main h1 { font-size: 2rem; margin-bottom: 18px; }
.hsc .auth-form { display: grid; gap: 16px; }
.hsc .auth-form .grid { gap: 16px; }
.hsc .auth-form input[type=text], .hsc .auth-form input[type=email], .hsc .auth-form input[type=tel], .hsc .auth-form input[type=password] {
  width: 100%; font: inherit; color: var(--ink); background: var(--field); border: 1.5px solid var(--line); border-radius: 7px; padding: 10px 13px; min-height: 46px; box-sizing: border-box; }
.hsc .auth-form input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px color-mix(in srgb, var(--green) 18%, transparent); }
.hsc .auth-form .f.bad input { border-color: var(--err); }
.hsc .hint-inline { font-weight: 400; color: var(--muted); font-size: .86rem; }
.hsc .pw { position: relative; }
.hsc .pw input { padding-right: 60px !important; }
.hsc .pw .linkish { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: .86rem; text-decoration: none; }
.hsc .auth-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; font-size: .95rem; }
.hsc .btn-block { width: 100%; padding: 14px; }
.hsc .auth-alt { margin: 20px 0 0; text-align: center; color: var(--muted); }
@media (max-width: 760px) { .hsc .auth-card { grid-template-columns: 1fr; } .hsc .auth-side { padding: 26px; } .hsc .auth-side ul { display: none; } .hsc .auth-main { padding: 26px 22px; } }


.hsc .account-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 18px; }
.hsc .account-head .hand { font-size: 1.5rem; color: var(--green); margin: 0; line-height: 1; }
.hsc .account-head h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.hsc .tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.hsc .tabs a { text-decoration: none; padding: 10px 16px; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.hsc .tabs a[aria-current="page"] { color: var(--green); border-color: var(--green); }
.hsc .count { background: var(--green); color: var(--on-green); border-radius: 10px; padding: 0 7px; font-size: .78rem; margin-left: 4px; }
.hsc .quick { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 30px; }
.hsc .quick-card { display: flex; flex-direction: column; gap: 2px; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--lime); border-radius: 8px; padding: 18px 20px; }
.hsc .quick-card:hover { border-color: var(--green); border-left-color: var(--green); }
.hsc .quick-card strong { font-family: var(--serif); font-weight: 500; font-size: 1.2rem; }
.hsc .quick-card span { color: var(--muted); font-size: .95rem; }
@media (max-width: 600px) { .hsc .quick { grid-template-columns: 1fr; } }
.hsc .list-title { font-size: 1.25rem; margin: 26px 0 12px; }
.hsc .drafts { display: grid; gap: 10px; }
.hsc .draft { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; background: var(--paper); border: 1px dashed var(--muted); border-radius: 8px; padding: 14px 18px; }
.hsc .draft .muted { display: block; font-size: .9rem; }
.hsc .draft form { margin: 0; }
.hsc .sum-right { display: inline-flex; gap: 10px; align-items: center; }
.hsc .tracker { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); margin: 18px 0 6px; padding: 0; counter-reset: t; }
.hsc .tracker li { position: relative; text-align: center; font-size: .9rem; color: var(--muted); padding-top: 30px; }
.hsc .tracker li::before { counter-increment: t; content: counter(t); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 24px; height: 24px; border-radius: 50%; background: var(--field); border: 2px solid var(--line); display: grid; place-items: center; font-size: .75rem; font-weight: 700; z-index: 1; }
.hsc .tracker li::after { content: ""; position: absolute; top: 12px; left: -50%; width: 100%; height: 2px; background: var(--line); }
.hsc .tracker li:first-child::after { display: none; }
.hsc .tracker li.on { color: var(--ink); font-weight: 600; }
.hsc .tracker li.on::before { content: "✓"; background: var(--green); border-color: var(--green); color: var(--on-green); }
.hsc .tracker li.on::after { background: var(--green); }
.hsc .tracker.stopped li.on:last-child::before { content: "!"; background: var(--err); border-color: var(--err); }
.hsc .status-text { color: var(--muted); text-align: center; margin: 4px 0 12px; }
.hsc .office-note { border-left: 4px solid var(--lime); background: var(--field); padding: 12px 16px; margin: 10px 0; }
.hsc .office-note p { margin: 6px 0 0; }
.hsc .table-scroll { overflow-x: auto; }
.hsc .doc { text-decoration: none; color: inherit; }
.hsc .doc:hover { border-color: var(--green); }
.hsc .history { margin-top: 12px; font-size: .92rem; }
.hsc .history summary { cursor: pointer; color: var(--green); font-weight: 600; }
.hsc .history ul { margin: 8px 0 0; padding-left: 18px; }
.hsc .search { display: block; margin-bottom: 12px; }
.hsc .search input { width: 100%; box-sizing: border-box; }
.hsc .account .empty .hand { font-size: 1.5rem; }
.hsc .profile { max-width: 720px; }
.hsc .pform input[readonly] { opacity: .7; }

.hsc [hidden] { display: none !important; }

/* ================= Popups ================= */
.hsc-pop-root { position: fixed; inset: 0; z-index: 999999; }
.hsc .hsc-modal { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(12, 22, 16, .55); overflow-y: auto; animation: hsc-fade .18s ease-out; }
.hsc .hsc-pop { position: relative; background: var(--surface); color: var(--ink); width: 100%; max-width: 480px; border-radius: 14px; padding: 30px 28px 24px; text-align: center; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .45); border-top: 5px solid var(--green); animation: hsc-pop .26s cubic-bezier(.2, .9, .3, 1.2); margin: auto; }
.hsc .hsc-pop[data-tone="bad"] { border-top-color: var(--err); }
.hsc .hsc-pop[data-tone="info"] { border-top-color: var(--lime); }
.hsc .hsc-pop.wide { max-width: 560px; }
@keyframes hsc-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes hsc-pop { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes hsc-shake { 0%, 100% { transform: none; } 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.hsc .hsc-pop.shake { animation: hsc-shake .3s; }
.hsc .hsc-pop-x { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.hsc .hsc-pop-x:hover { background: var(--field); color: var(--ink); }
.hsc .hsc-pop-icon { width: 58px; height: 58px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--ok) 13%, transparent); }
.hsc .hsc-pop-icon::before { content: ""; width: 26px; height: 26px; background: var(--ok); -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat;
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5 10 17l9-10'/%3E%3C/svg%3E"); }
.hsc .hsc-pop[data-tone="bad"] .hsc-pop-icon { background: color-mix(in srgb, var(--err) 12%, transparent); }
.hsc .hsc-pop[data-tone="bad"] .hsc-pop-icon::before { background: var(--err);
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 6v8M12 18.5v.01'/%3E%3C/svg%3E"); }
.hsc .hsc-pop[data-tone="info"] .hsc-pop-icon { background: color-mix(in srgb, var(--lime) 22%, transparent); }
.hsc .hsc-pop[data-tone="info"] .hsc-pop-icon::before { background: var(--green);
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 10v8M12 5.5v.01'/%3E%3C/svg%3E"); }
.hsc .hsc-pop-title { font-family: var(--serif); font-weight: 600; font-size: 1.45rem; line-height: 1.2; margin: 0 0 8px; }
.hsc .hsc-pop-text { color: var(--muted); margin: 0 auto 6px; max-width: 40ch; }
.hsc .hsc-pop-list { text-align: left; margin: 14px 0 4px; padding: 12px 14px 12px 32px; background: color-mix(in srgb, var(--err) 6%, var(--field)); border-radius: 8px; font-size: .94rem; max-height: 220px; overflow-y: auto; }
.hsc .hsc-pop-list li { margin: 3px 0; }
.hsc .hsc-pop-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 20px; }
.hsc .hsc-pop-actions .btn { min-width: 120px; }
.hsc .hsc-stamp { position: absolute; top: 18px; left: 20px; border: 2.5px solid var(--stamp); color: var(--stamp); font: 700 .78rem var(--serif); letter-spacing: .08em; text-transform: uppercase; padding: 3px 9px; border-radius: 4px; transform: rotate(-8deg); opacity: .85; }
.hsc .hsc-ref { font-family: var(--serif); font-weight: 600; font-size: 1.6rem; letter-spacing: .04em; color: var(--green); background: var(--field); border: 1.5px dashed color-mix(in srgb, var(--green) 40%, var(--line)); padding: 10px 14px; border-radius: 8px; margin: 12px auto 0; max-width: 260px; user-select: all; }
.hsc .btn-wa { background: #1F8F4E; color: #fff; }
.hsc .btn-wa:hover { background: #197A42; }
.hsc .form-note { margin: 0 0 14px; font-size: .95rem; color: var(--muted); padding-left: 12px; border-left: 3px solid var(--lime); }
.hsc .steps-cta { margin: 34px 0 0; }
body.hsc-pop-open { overflow: hidden; }
@media (max-width: 560px) {
  .hsc .hsc-modal { align-items: flex-end; padding: 0; }
  .hsc .hsc-pop { border-radius: 16px 16px 0 0; max-width: none; padding: 28px 20px 22px; animation-name: hsc-sheet; }
  .hsc .hsc-pop-actions .btn { flex: 1 1 100%; }
  .hsc .hsc-stamp { top: 14px; left: 14px; }
}
@keyframes hsc-sheet { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .hsc .hsc-modal, .hsc .hsc-pop { animation: none !important; } }

/* v1.1 */
.hsc .hero-brand { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 26px; }
.hsc .hero-brand .hero-logo { margin-bottom: 0; }
.hsc .hero-project { margin: 0; padding-left: 18px; border-left: 1px solid rgba(255, 255, 255, .35); color: rgba(255, 255, 255, .85); font-size: .98rem; line-height: 1.35; max-width: 16ch; }
.hsc .hero-project strong { display: block; color: #fff; font-weight: 600; }
.hsc .footer-grid.footer-two { grid-template-columns: 1.3fr 1fr; }
@media (max-width: 640px) {
  .hsc .hero-brand { gap: 12px; margin-bottom: 18px; }
  .hsc .hero-project { padding-left: 12px; font-size: .9rem; }
}
@media (max-width: 760px) { .hsc .footer-grid.footer-two { grid-template-columns: 1fr; } }
