/* Designed for Hyatt client portal.
   Design system ported from the approved portal mock-up preview
   (Tony, 2026-10-19): warm paper surfaces on a charcoal page, navy and
   gold DFH identity, Grand Hyatt red (#a6192e) for the showcase,
   World of Hyatt blue for the program area. Fonts: Libre Caslon
   Display for display type, IBM Plex Sans for UI text. */

.portal-body {
    --navy:#2a3a55; --navy-deep:#1c3a5e;
    --gold:#a8842f; --gold-bright:#c9a762; --gold-soft:#e0c78f; --tan:#d9be91; --tan-bg:#e8decd;
    --gh-red:#a6192e; --gh-red-text:#a6192e;
    --woh-blue:#2d6aa1; --woh-blue-deep:#1d4a75; --woh-blue-text:#2d6aa1;
    --page:#171613;
    --paper:#f3eee2; --paper-2:#ece5d3; --card:#fffdf7;
    --ink:#1a1916; --muted:#5c574d; --faint:#8a8272;
    --line:#cfc4a8; --line-soft:#ddd3ba;
    --dark-surface:#201f1b; --dark-line:rgba(224,199,143,.26); --dark-muted:#c5bdad; --dark-faint:#98917f;
    --ok:#2e6b45;
    --shadow:0 18px 50px rgba(12,10,6,.28); --shadow-sm:0 6px 22px rgba(12,10,6,.14);
    background: var(--page);
    font-family: "IBM Plex Sans", system-ui, sans-serif;
    color: var(--ink);
}
.portal-body main { background: var(--paper); }

/* Header CTA: the "Your Property Order Center" button, a Grand Hyatt-red
   rounded rectangle with the white label on one line (never the tan oval). */
.portal-body .primary-nav a.portal-nav-cta,
.site-header .primary-nav a.portal-nav-cta {
    background: var(--gh-red, #a6192e); color: #fff; font-weight: 700;
    padding: 11px 18px; border-radius: 6px; white-space: nowrap;
    border: 1px solid rgba(0,0,0,.18); box-shadow: 0 4px 14px rgba(0,0,0,.22);
}
.portal-body .primary-nav a.portal-nav-cta:hover,
.site-header .primary-nav a.portal-nav-cta:hover { background: #c1273a; color: #fff; }

/* ------------------------------------------------------------- user bar */
.portal-userbar { background: var(--dark-surface, #201f1b); color: #f6f1e7; border-bottom: 1px solid var(--dark-line, rgba(224,199,143,.26)); }
.portal-userbar-inner { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between; padding-top: 10px; padding-bottom: 10px; }
.portal-who { font-size: .95rem; }
.portal-nav { display: flex; gap: 18px; }
.portal-nav a { color: var(--gold-soft, #e0c78f); text-decoration: none; font-weight: 600; }
.portal-nav a:hover { color: #fff; text-decoration: underline; }

.portal-switch { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding-top: 12px; padding-bottom: 12px; background: var(--paper-2, #ece5d3); }
.portal-switch select { min-height: 44px; padding: 6px 10px; border: 1px solid var(--line, #cfc4a8); background: var(--card, #fffdf7); }

/* ------------------------------------------------------------------ door */
.door-wrap { display: grid; grid-template-columns: 1.05fr .95fr; min-height: calc(100vh - 190px); }
.door-photo { position: relative; overflow: hidden; background: #0c1425; }
.door-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
.door-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,8,7,.82) 0%, rgba(8,8,7,.18) 46%, rgba(8,8,7,.05) 100%); }
.door-photo-copy { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 34px 38px; color: #fff; }
.door-photo-copy .kicker { color: var(--gold-soft); font-size: 12px; letter-spacing: .13em; text-transform: uppercase; margin: 0 0 10px; }
.door-photo-copy h2 { font-family: "Libre Caslon Display", Georgia, serif; font-weight: 400; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.05; margin: 0 0 10px; max-width: 480px; color: #fff; }
.door-photo-copy p { margin: 0; color: #e7dfd2; font-size: 15px; max-width: 460px; }
.door-side { background: var(--paper); color: var(--ink); padding: 44px clamp(22px, 4vw, 54px); display: flex; flex-direction: column; justify-content: center; }
.door-side h1 { font-family: "Libre Caslon Display", Georgia, serif; font-weight: 400; font-size: clamp(30px, 3vw, 40px); line-height: 1.05; margin: 0 0 12px; color: var(--ink); }
.door-side .lede { color: var(--muted); font-size: 16px; margin: 0 0 28px; max-width: 460px; }
.door-form label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.door-row { display: grid; grid-template-columns: 1fr auto; gap: 0; max-width: 520px; }
.door-row input { min-width: 0; min-height: 54px; padding: 0 15px; border: 1px solid var(--line); border-right: 0; background: var(--card); color: var(--ink); font-size: 16px; }
.door-row input::placeholder { color: var(--faint); }
.btn-gold { background: var(--gold-bright); color: #141109; border: 0; font-weight: 700; padding: 0 22px; min-height: 54px; font-size: 15px; cursor: pointer; }
.btn-gold:hover { background: var(--gold-soft); }
.door-points { margin: 22px 0 0; padding: 0; list-style: none; max-width: 520px; }
.door-points li { display: flex; gap: 10px; font-size: 14px; color: var(--muted); padding: 7px 0; border-top: 1px solid var(--line-soft); }
.door-points li b { color: var(--ink); font-weight: 600; }
.door-points svg { flex: 0 0 auto; margin-top: 3px; color: var(--gold); }
.portal-door-note { font-size: .92rem; color: var(--muted); margin: 14px 0 0; max-width: 520px; }

.portal-alert { background: #fdeeee; border: 1px solid #d99; color: #7a1f1f; padding: 14px 18px; margin: 0 0 18px; max-width: 60rem; }
.portal-alert ul { margin: 6px 0 0 18px; }
.portal-notice { background: #eef6ee; border: 1px solid #9db89d; color: #274d27; padding: 14px 18px; margin: 0 0 18px; max-width: 60rem; }

/* --------------------------------------------------------- property home */
.pv-head { background: linear-gradient(180deg, #1d1c18, var(--page)); border-bottom: 1px solid var(--dark-line); padding: 30px 0 26px; }
.pv-head .pv-crumb { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-soft); margin: 0 0 8px; }
.pv-head h1 { font-family: "Libre Caslon Display", Georgia, serif; font-weight: 400; font-size: clamp(30px, 4vw, 46px); line-height: 1.02; margin: 0; color: #fff; }
.pv-head .pv-city { color: var(--dark-muted); font-size: 15px; margin: 6px 0 0; }
.pv-who { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; background: var(--dark-surface); border: 1px solid var(--dark-line); padding: 13px 16px; }
.pv-who .who { font-size: 14px; color: #f6f1e7; }
.pv-who .who b { color: var(--gold-soft); }
.pv-body { background: var(--paper); color: var(--ink); padding: 34px 0 70px; }
.pv-layout { display: grid; grid-template-columns: minmax(0, 1fr) 348px; gap: 30px; align-items: start; }
.pv-section-head { display: flex; flex-wrap: wrap; align-items: end; gap: 10px 18px; margin: 6px 0 6px; }
.pv-section-head h2 { font-family: "Libre Caslon Display", Georgia, serif; font-weight: 400; font-size: clamp(26px, 3vw, 34px); margin: 0; line-height: 1.05; color: var(--ink); }
.pv-section-head p { margin: 0; color: var(--muted); font-size: 14px; max-width: 520px; }
.portal-lens-note { font-size: 13.5px; color: var(--muted); margin: 10px 0 0; }
.portal-lens-note strong { color: var(--ink); }

/* Department blocks + catalog cards */
.dept-block { margin-top: 26px; }
.dept-title { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; border-bottom: 2px solid var(--navy); padding-bottom: 7px; margin-bottom: 16px; }
.dept-title .dept-pic { width: 46px; height: 46px; object-fit: cover; border: 1px solid var(--line); flex: 0 0 auto; }
.dept-title h3 { margin: 0; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); font-weight: 700; }
.dept-title span { font-size: 12.5px; color: var(--muted); }
.dept-title .yours { margin-left: auto; background: var(--gold-bright); color: #171207; font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; padding: 4px 9px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 16px; }
.pcard { background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.pcard-body { padding: 15px 16px 16px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.pcard-body h3 { margin: 0; font-size: 16.5px; line-height: 1.25; font-weight: 600; color: var(--ink); }
.pcard-body .spec { font-size: 13px; color: var(--muted); margin: 0; }
.pcard-body .meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12.5px; color: var(--faint); border-top: 1px solid var(--line-soft); padding-top: 9px; margin-top: 2px; }
.pcard-body .meta b { color: var(--muted); font-weight: 600; }
.thumb { position: relative; border: 0; padding: 0; background: #ddd5c0; width: 100%; height: 172px; overflow: hidden; text-align: left; cursor: zoom-in; display: block; }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; display: block; }
.pcard:hover .thumb img { transform: scale(1.04); }
.thumb .zoom { position: absolute; right: 10px; bottom: 10px; width: 32px; height: 32px; display: grid; place-items: center; background: rgba(12,14,20,.78); color: #fff; border-radius: 50%; }
.img-tag { position: absolute; left: 10px; top: 10px; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 8px; background: rgba(12,14,20,.8); color: var(--gold-soft); }
.img-tag.actual { background: var(--gold-bright); color: #171207; }
.spec-thumb { height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 18px; background: linear-gradient(150deg, #24334f, #16233a); color: #e9e2cf; }
.spec-thumb .mono { font-family: "Libre Caslon Display", Georgia, serif; font-size: 34px; color: var(--gold-soft); line-height: 1; }
.spec-thumb .spec-line { font-size: 12.5px; color: #c9cfdd; }
.spec-thumb .pending { font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: var(--tan); }
.portal-card.is-added { border-color: var(--ok); box-shadow: 0 0 0 2px var(--ok) inset; }
.portal-dept { white-space: nowrap; }
.portal-dept-icon { width: 15px; height: 15px; color: var(--gold); vertical-align: -2px; margin-right: 5px; }
.portal-userbar .portal-dept-icon { color: var(--gold-soft); }
img.portal-dept-photo { width: 19px; height: 19px; object-fit: cover; border-radius: 4px; vertical-align: -4px; border: 1px solid var(--line); }
.qty-row { margin-top: auto; padding-top: 11px; display: flex; align-items: center; gap: 10px; }
.qty-row label { font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.qty-row input { width: 110px; height: 38px; border: 1px solid var(--line); text-align: center; background: var(--card); color: var(--ink); font-size: 14.5px; font-weight: 600; padding: 0 8px; }
.portal-add { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 11px; background: var(--navy); color: #fff; font-weight: 700; font-size: 13.5px; padding: 10px 12px; cursor: pointer; }
.portal-add:hover { background: var(--navy-deep); }
.portal-add input { width: 17px; height: 17px; accent-color: var(--gold-bright); }
.portal-card.is-added .portal-add { background: var(--ok); }

/* Basket (sticky sidebar) */
.pv-basket { position: sticky; top: 20px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); padding: 0; max-width: none; }
.basket-head { background: var(--navy); color: #fff; padding: 15px 18px; display: flex; align-items: center; gap: 10px; }
.basket-head h3 { margin: 0; font-family: "Libre Caslon Display", Georgia, serif; font-weight: 400; font-size: 21px; color: #fff; }
.basket-count { margin-left: auto; background: var(--gold-bright); color: #171207; font-weight: 700; font-size: 12.5px; padding: 3px 10px; border-radius: 20px; }
.basket-body { padding: 16px 18px 18px; }
.portal-basket-empty { color: var(--muted); font-size: 14px; border: 1px dashed var(--line); padding: 16px; text-align: center; margin: 0 0 6px; }
.portal-basket-list { margin: 0 0 8px; padding: 0; list-style: none; }
.portal-basket-list li { padding: 8px 0; border-bottom: 1px solid var(--line-soft); font-size: 14px; }
.bfield { margin-top: 14px; margin-bottom: 0; }
.portal-field label { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.portal-field input[type="text"], .portal-field input[type="date"], .portal-field select, .portal-field textarea { width: 100%; min-height: 44px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); padding: 0 12px; font-size: 14.5px; }
.portal-field textarea { padding: 10px 12px; min-height: 0; }
.portal-field input[type="file"] { font-size: 14px; max-width: 100%; }
.portal-field input[readonly], .portal-field textarea[readonly] { background: var(--paper-2); color: var(--muted); }
.portal-delivery-note { margin: 0 0 8px; }
.portal-delivery-edit-row { margin: 10px 0 0; }
.pv-basket .submit-btn { width: 100%; margin-top: 18px; background: var(--gold-bright); color: #141109; border: 0; font-weight: 700; font-size: 16px; min-height: 52px; cursor: pointer; }
.pv-basket .submit-btn:hover { background: var(--gold-soft); }
.basket-note { font-size: 12px; color: var(--faint); margin-top: 10px; text-align: center; }
.portal-meta { margin: 0 0 10px; font-size: .88rem; color: var(--muted); }
.portal-spec { margin: 0 0 6px; color: var(--muted); }

/* Projects & files */
.pv-files { margin-top: 52px; }
.pv-files-head { display: flex; flex-wrap: wrap; align-items: end; gap: 8px 16px; }
.pv-files-head h2 { font-family: "Libre Caslon Display", Georgia, serif; font-weight: 400; font-size: clamp(26px, 3vw, 34px); margin: 0; color: var(--ink); }
.pv-files-head p { margin: 0; color: var(--muted); font-size: 14px; }
.pv-live-note { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin: 14px 0 0; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); flex: 0 0 auto; box-shadow: 0 0 0 3px rgba(46,107,69,.18); }
.pv-files-more { margin-top: 16px; }

/* Top of the portal home: proof alert + projects & files (Tony, 2026-10-19) */
.pv-top { background: var(--paper); color: var(--ink); padding: 30px 0 4px; }
.pv-files-top { margin-top: 0; }
.pv-proof-alert { background: #fdf6e0; border: 2px solid var(--gold-bright); border-left: 8px solid var(--gh-red); padding: 20px 22px; margin: 0 0 30px; box-shadow: var(--shadow-sm); }
.pv-proof-eyebrow { margin: 0 0 4px; font-size: 12px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--gh-red-text); }
.pv-proof-alert h2 { margin: 0 0 6px; font-family: "Libre Caslon Display", Georgia, serif; font-weight: 400; font-size: clamp(26px, 3vw, 34px); line-height: 1.05; color: var(--ink); }
.pv-proof-sub { margin: 0 0 16px; color: var(--muted); font-size: 14.5px; }
.pv-proof-card { background: var(--card); border: 1px solid var(--line); padding: 16px 18px; }
.pv-proof-card + .pv-proof-card { margin-top: 14px; }
.pv-proof-line { margin: 0 0 2px; font-size: 16px; color: var(--ink); }
.pv-proof-line strong { color: var(--gold); }
.pv-proof-meta { margin: 0 0 10px; color: var(--muted); font-size: 13.5px; }
.pv-proof-card .portal-proof-version { border: 0; box-shadow: none; padding: 0; margin: 0; max-width: none; background: transparent; }

/* Proof waiting pop-up: shown on arrival while a proof is pending */
.portal-proof-popup { position: fixed; inset: 0; z-index: 1300; background: rgba(23, 22, 19, .88); display: flex; align-items: center; justify-content: center; padding: 20px; }
.portal-proof-popup[hidden] { display: none; }
.ppp-card { position: relative; width: min(560px, 100%); background: var(--card); border: 2px solid var(--gold-bright); border-top: 8px solid var(--gh-red); padding: 28px 28px 24px; box-shadow: var(--shadow); text-align: center; }
.ppp-x { position: absolute; top: 6px; right: 10px; background: none; border: 0; font-size: 30px; line-height: 1; cursor: pointer; color: var(--muted); padding: 6px; }
.ppp-eyebrow { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.ppp-card h2 { margin: 0 0 10px; font-family: "Libre Caslon Display", Georgia, serif; font-weight: 400; font-size: clamp(24px, 3.4vw, 32px); line-height: 1.08; color: var(--gh-red-text); }
.ppp-lede { margin: 0 0 12px; color: var(--muted); font-size: 15px; }
.ppp-item { margin: 0 0 14px; color: var(--ink); font-size: 15.5px; }
.ppp-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 18px; }
.portal-project-list { margin-top: 14px; border: 1px solid var(--line); background: var(--card); display: block; }
.portal-project-row { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 16px; padding: 14px 18px; border-bottom: 1px solid var(--line-soft); text-decoration: none; color: inherit; }
.portal-project-row:last-child { border-bottom: 0; }
.portal-project-row:hover { background: var(--paper); }
.portal-project-num { font-weight: 700; color: var(--gold); font-size: 15px; white-space: nowrap; }
.portal-project-title { font-weight: 600; font-size: 15px; color: var(--ink); }
.portal-project-po, .portal-project-date, .portal-project-tracking { color: var(--faint); font-size: 13px; white-space: nowrap; }
.portal-status { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; margin-left: auto; }
.portal-status-in-production { background: var(--navy); border-color: var(--navy); color: #fff; }
.portal-status-shipped { background: var(--gold-bright); border-color: var(--gold-bright); color: #171207; }
.portal-status-delivered { color: var(--ok); border-color: var(--ok); }
.portal-status-paid { background: var(--ok); border-color: var(--ok); color: #fff; }
.portal-status-invoiced { background: var(--tan-bg); border-color: var(--tan); color: #6d5518; }
.portal-status-order-received, .portal-status-po-order-received { color: var(--navy); border-color: var(--navy); }
.portal-project-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin: 20px 0; }
.portal-project-meta dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); }
.portal-project-meta dd { margin: 2px 0 0; font-weight: 700; color: var(--ink); }
.portal-doc-list { margin: 0 0 18px; padding-left: 20px; }
.portal-doc-list li { margin-bottom: 6px; }
.portal-project-number { font-size: 17px; font-weight: 600; letter-spacing: .03em; color: var(--navy); margin: 10px 0 0; }

/* Files / search / welcome / confirm shared page frame */
.portal-home { padding-top: 36px; padding-bottom: 70px; }
.portal-home h1 { font-family: "Libre Caslon Display", Georgia, serif; font-weight: 400; color: var(--ink); margin: 8px 0 10px; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; }
.portal-home h2 { color: var(--ink); }
.portal-home .lead-copy { color: var(--muted); max-width: 46rem; }
.portal-search { display: flex; gap: 12px; align-items: flex-end; max-width: 720px; margin: 20px 0 10px; }
.portal-search .portal-field { flex: 1 1 auto; margin: 0; }
.portal-search input[type="text"] { width: 100%; min-height: 48px; padding: 9px 12px; border: 1px solid var(--line); font-size: 1rem; background: var(--card); color: var(--ink); }
@media (max-width: 640px) { .portal-search { flex-direction: column; align-items: stretch; } }

/* Welcome (not set up yet) */
.portal-frame { border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow); margin: 24px 0; max-width: 900px; }
.portal-frame-bar { display: flex; align-items: center; gap: 8px; background: var(--navy); padding: 10px 14px; color: #dbe3f0; }
.portal-frame-bar .dot { width: 11px; height: 11px; border-radius: 50%; background: #5a6c8c; }
.portal-frame-bar .url { margin-left: 8px; background: #101c30; font-size: 12.5px; padding: 5px 12px; color: #c8d2e2; flex: 1; max-width: 420px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.portal-frame-body { padding: 22px; }
.portal-frame-title { font-family: "Libre Caslon Display", Georgia, serif; font-size: 24px; font-weight: 400; color: var(--ink); margin: 0 0 4px; }
.portal-frame-sub { font-size: 12.5px; color: var(--muted); margin: 0 0 16px; letter-spacing: .08em; text-transform: uppercase; }
.portal-frame-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.portal-frame-card { border: 1px solid var(--line); background: var(--card); }
.portal-frame-card img { width: 100%; height: 120px; object-fit: cover; display: block; }
.portal-frame-card div { padding: 10px 12px; display: grid; gap: 2px; }
.portal-frame-card span { color: var(--muted); font-size: .88rem; }
.portal-frame-caption { margin: 14px 0 0; color: var(--muted); font-size: .92rem; }
.portal-welcome-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.portal-guardrail { margin-top: 26px; border-left: 3px solid var(--gold); padding: 4px 0 4px 16px; color: var(--muted); font-size: 14px; max-width: 640px; }

/* Confirmation */
.portal-confirm-card { max-width: 760px; margin: 0 auto; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); padding: 38px clamp(22px, 4vw, 46px); }
.confirm-check { width: 58px; height: 58px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; margin-bottom: 18px; }
.portal-confirm .portal-project-big { font-family: "Libre Caslon Display", Georgia, serif; font-size: 2.4rem; font-weight: 400; color: var(--gold); letter-spacing: .03em; margin: 4px 0 10px; }
.portal-confirm-items { padding-left: 20px; }
.portal-confirm-items li { padding: 6px 0; border-bottom: 1px solid var(--line-soft); }
.portal-next-steps { background: var(--paper-2); padding: 18px 20px 18px 38px; margin: 0 0 24px; }
.portal-next-steps li { margin-bottom: 6px; color: var(--muted); }

/* Proof approval versions */
.portal-proof-version { background: var(--card); border: 1px solid var(--line); padding: 18px 20px; margin: 0 0 16px; max-width: 720px; box-shadow: var(--shadow-sm); }
.portal-proof-title { margin: 0 0 4px; color: var(--ink); font-size: 1.05rem; }
.portal-proof-links { margin: 0 0 6px; }
.portal-proof-state { font-weight: 700; color: var(--navy); margin: 6px 0; }
.portal-proof-prompt { color: var(--muted); margin: 12px 0 4px; }
.portal-proof-notes { margin: 8px 0 4px; padding: 10px 14px; border-left: 4px solid var(--tan); background: var(--paper); color: var(--muted); }
.portal-proof-actions { display: grid; gap: 20px; margin-top: 10px; }
.portal-proof-actions .button { margin-top: 4px; }

/* ------------------------------------------------------- Grand Hyatt showcase */
.gh-section { margin-top: 56px; border-top: 3px solid var(--gh-red); padding-top: 30px; }
.gh-section .section-head { background: var(--gh-red); padding: 20px 22px; align-items: center; margin-bottom: 4px; display: flex; flex-wrap: wrap; gap: 10px 18px; }
.gh-section .section-head h2 { font-family: "Libre Caslon Display", Georgia, serif; font-weight: 400; font-size: clamp(26px, 3vw, 34px); margin: 0; line-height: 1.05; color: #fff; }
.gh-section .section-head p { margin: 0; color: #f3d9dc; font-size: 14px; max-width: 560px; }
.gh-section .dept-title { border-bottom-color: var(--gh-red); }
.gh-section .dept-title h3 { color: var(--gh-red-text); }
.gh-card { border-top: 3px solid var(--gh-red); }
.sc-card .pcard-body .meta { margin-top: auto; }
.sc-order { margin: 8px 0 0; }
.sc-order a { color: var(--gh-red-text); font-weight: 700; text-decoration: none; }
.woh-section .sc-order a { color: var(--woh-blue-text); }
.sc-order a:hover { text-decoration: underline; }
.gh-section .img-tag.actual { background: var(--gh-red); color: #fff; }
.gh-section .spec-thumb { background: linear-gradient(150deg, #d92338, var(--gh-red)); }
.gh-section .spec-thumb .mono { color: #fff; }
.gh-section .spec-thumb .pending { color: #ffd9de; }
.gh-section .spec-thumb .spec-line { color: #f6dde0; }
/* Colorway swatches */
.variant-row { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.variant-row .vlabel { font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--faint); margin-right: 2px; }
.variant-row .vname { font-size: 12.5px; color: var(--muted); font-weight: 600; white-space: nowrap; }
.vsw { width: 38px; height: 38px; padding: 0; border: 2px solid var(--line); background: #fff; overflow: hidden; flex: 0 0 auto; cursor: pointer; }
.vsw img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gh-section .vsw[aria-pressed="true"] { border-color: var(--gh-red); }
.woh-section .vsw[aria-pressed="true"] { border-color: var(--woh-blue); }

/* ------------------------------------------------------- World of Hyatt area */
.woh-section { margin-top: 56px; border-top: 3px solid var(--woh-blue); padding-top: 30px; }
.woh-section .section-head { background: var(--woh-blue); padding: 20px 22px; align-items: center; margin-bottom: 4px; display: flex; flex-wrap: wrap; gap: 10px 18px; }
.woh-section .section-head h2 { font-family: "Libre Caslon Display", Georgia, serif; font-weight: 400; font-size: clamp(26px, 3vw, 34px); margin: 0; line-height: 1.05; color: #fff; }
.woh-section .section-head p { margin: 0; color: #d7e7f5; font-size: 14px; max-width: 560px; }
.woh-card { border-top: 3px solid var(--woh-blue); }
.woh-section .img-tag.actual { background: var(--woh-blue); color: #fff; }
.woh-section .spec-thumb { background: linear-gradient(150deg, var(--woh-blue-deep), #122f4d); }
.woh-section .spec-thumb .mono { color: #f0d9a8; }
.woh-section .spec-thumb .pending { color: #b7d2ea; }

/* --------------------------------------------------------------- lightbox */
.portal-lightbox { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 18px; }
.portal-lightbox[hidden] { display: none; }
.portal-lightbox-backdrop { position: absolute; inset: 0; background: rgba(7,7,10,.86); }
.portal-lightbox-card { position: relative; background: var(--card); color: var(--ink); width: min(880px, 100%); max-height: calc(100vh - 36px); overflow: auto; display: grid; grid-template-columns: 1.1fr .9fr; box-shadow: var(--shadow); padding: 0; }
.portal-lightbox-x { position: absolute; top: 12px; right: 12px; z-index: 3; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(10,10,14,.8); color: #fff; font-size: 20px; line-height: 1; cursor: pointer; }
.portal-lightbox-media { background: #e7dfca; display: grid; place-items: center; min-height: 300px; position: relative; }
.portal-lightbox-media img { width: 100%; height: 100%; max-height: calc(100vh - 36px); object-fit: contain; display: block; background: #fff; }
.portal-lightbox-media img.cover { object-fit: cover; }
.portal-lightbox-media .portal-card-pending { width: 100%; height: 100%; min-height: 340px; display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 18px; background: linear-gradient(150deg, #24334f, #16233a); color: #e9e2cf; }
.portal-lightbox-media .portal-mono { font-family: "Libre Caslon Display", Georgia, serif; font-size: 52px; color: var(--gold-soft); line-height: 1; }
.portal-lightbox-media .portal-pending-text { font-size: 14px; color: #c9cfdd; }
.portal-lightbox-card.lb-gh .portal-lightbox-media .portal-card-pending { background: linear-gradient(150deg, #d92338, var(--gh-red, #a6192e)); }
.portal-lightbox-card.lb-gh .portal-lightbox-media .portal-mono { color: #fff; }
.portal-lightbox-card.lb-gh .portal-lightbox-media .portal-pending-text { color: #ffd9de; }
.portal-lightbox-card.lb-woh .portal-lightbox-media .portal-card-pending { background: linear-gradient(150deg, var(--woh-blue-deep, #1d4a75), #122f4d); }
.portal-lightbox-body { padding: 28px 28px 26px; display: flex; flex-direction: column; }
.portal-lightbox-body .lb-dept { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin: 0; }
.portal-lightbox-card.lb-gh .lb-dept { color: var(--gh-red-text, #a6192e); }
.portal-lightbox-card.lb-woh .lb-dept { color: var(--woh-blue-text, #2d6aa1); }
.portal-lightbox-body h3 { font-family: "Libre Caslon Display", Georgia, serif; font-weight: 400; font-size: 30px; line-height: 1.08; margin: 8px 0 10px; color: var(--ink); }
.portal-lightbox-body .portal-spec { color: var(--muted); font-size: 15px; margin: 0 0 16px; }
.lb-choices { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.lb-choices:empty { display: none; margin: 0; }
.lb-vsw { display: flex; align-items: center; gap: 9px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); padding: 5px 12px 5px 5px; font-size: 13px; font-weight: 600; cursor: pointer; }
.lb-vsw img { width: 30px; height: 30px; object-fit: cover; display: block; }
.portal-lightbox-card.lb-gh .lb-vsw[aria-pressed="true"] { background: var(--gh-red, #a6192e); border-color: var(--gh-red, #a6192e); color: #fff; }
.portal-lightbox-card.lb-woh .lb-vsw[aria-pressed="true"] { background: var(--woh-blue, #2d6aa1); border-color: var(--woh-blue, #2d6aa1); color: #fff; }
.lb-viewbtn { border: 1px solid var(--line); background: var(--paper); color: var(--ink); padding: 8px 14px; font-size: 13px; font-weight: 600; cursor: pointer; }
.lb-viewbtn[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.portal-lightbox-body .portal-meta { display: block; font-size: 14px; color: var(--ink); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); padding: 13px 0; margin-bottom: 20px; }
.lb-meta-row { display: flex; justify-content: space-between; gap: 14px; padding: 3px 0; }
.lb-meta-row span { color: var(--faint); }
.lb-meta-row strong { font-weight: 600; text-align: right; }
.portal-lightbox-note { color: var(--muted); font-size: 14px; margin: 0; }
.portal-lightbox-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; margin-top: 14px; }
.portal-lightbox-actions label { font-weight: 700; display: grid; gap: 6px; }
.portal-lightbox-actions input { width: 120px; min-height: 46px; padding: 6px 10px; border: 1px solid var(--line); font-size: 1rem; background: var(--card); }

/* -------------------------------------------------------------- responsive */
@media (max-width: 1020px) {
    .pv-layout { grid-template-columns: 1fr; }
    .pv-basket { position: static; }
    .door-wrap { grid-template-columns: 1fr; }
    .door-photo { min-height: 300px; }
    .door-photo-copy { padding: 24px; }
    .portal-lightbox-card { grid-template-columns: 1fr; }
    .portal-lightbox-media { min-height: 230px; }
    .portal-lightbox-media img { max-height: 44vh; }
}
@media (max-width: 860px) {
    .portal-confirm .portal-project-big { font-size: 1.9rem; }
}
@media (max-width: 640px) {
    .cards { grid-template-columns: 1fr 1fr; gap: 11px; }
    .thumb { height: 128px; }
    .pcard-body { padding: 12px; }
    .pcard-body h3 { font-size: 14.5px; }
    .qty-row { flex-wrap: wrap; }
    .portal-add { width: 100%; }
    .door-row { grid-template-columns: 1fr; }
    .door-row input { border-right: 1px solid var(--line); border-bottom: 0; }
    .portal-project-row { padding: 12px 14px; }
    .portal-status { margin-left: 0; }
    .portal-frame-cards { grid-template-columns: 1fr 1fr; }
}

/* ------------------------------------------- proof annotation viewer
   CPL-style proofing (Tony, 2026-10-26): pin and circle tools on the
   proof pages, numbered badges, one comment box per mark. Mechanics and
   measures ported from the CPL proof portal; colors sit in the portal
   palette with CPL sky for tools and CPL orange for the selection. */
.portal-proof-version:has(.pp-viewer), .portal-proof-version:has(.pp-rostages) { max-width: 1080px; }
.pp-tools { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 14px 0 12px; }
.pp-tool { font: inherit; font-size: .85rem; font-weight: 700; padding: 8px 14px; border-radius: 9px; border: 1px solid var(--line); background: var(--card); color: var(--navy); cursor: pointer; }
.pp-tool.on { border-color: #3E8EDE; background: #DCEBF9; color: #123C73; box-shadow: 0 0 0 1px #3E8EDE; }
.pp-hint { font-size: .82rem; color: var(--muted); flex: 1 1 260px; line-height: 1.45; }
.pp-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; align-items: start; }
@media (max-width: 900px) { .pp-body { grid-template-columns: 1fr; } }
.pp-stagewrap { margin: 0 0 14px; }
.pp-pagelabel { font-size: .78rem; font-weight: 700; color: var(--muted); margin: 0 0 6px; letter-spacing: .06em; text-transform: uppercase; }
.pp-stage { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; touch-action: none; user-select: none; }
.pp-stage img { display: block; width: 100%; height: auto; pointer-events: none; }
.pp-ov { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.pp-badges { position: absolute; inset: 0; pointer-events: none; }
.pp-badge { position: absolute; transform: translate(-50%, -50%); width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fff; background: #3E8EDE; color: #fff; font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(18, 60, 115, .4); z-index: 5; padding: 0; }
button.pp-badge { pointer-events: auto; cursor: pointer; font-family: inherit; }
.pp-badge.pp-pin { transform: translate(-50%, -88%); }
.pp-badge.sel { background: #e2600c; }
.pp-clist h3 { margin: 2px 0 10px; font-size: .85rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--navy); }
.pp-citem { border: 1px solid var(--line); border-radius: 11px; padding: 10px 12px; margin-bottom: 11px; background: var(--card); }
.pp-citem.sel { border-color: #f0a35e; box-shadow: 0 0 12px rgba(226, 96, 12, .22); }
.pp-chead { display: flex; align-items: center; gap: 8px; }
.pp-cnum { font-weight: 800; color: var(--navy); font-size: .92rem; }
.pp-ctype { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.pp-cdel { margin-left: auto; border: none; background: none; color: #b03a2e; font: inherit; font-size: .8rem; font-weight: 700; cursor: pointer; }
.pp-citem textarea { width: 100%; margin-top: 8px; font: inherit; font-size: .9rem; line-height: 1.45; color: var(--ink); border: 1px solid var(--line); border-radius: 8px; padding: 8px; min-height: 56px; resize: vertical; box-sizing: border-box; }
.pp-empty { font-size: .88rem; color: var(--muted); line-height: 1.55; }
.pp-ro-list { margin: 8px 0 4px; }
.pp-ro-item { border: 1px solid var(--line); border-radius: 11px; padding: 10px 12px; margin-bottom: 11px; background: var(--card); }
.pp-ro-item p { margin: 6px 0 2px; font-size: .92rem; line-height: 1.5; }
