/* Owner-facing synthetic history: all styles contained within the demo. */
#guest-history-app {margin-top:clamp(1.25rem,3vw,2.2rem)}
#guest-history-app .gh-panel {display:grid;gap:.72rem;padding:clamp(1rem,3.2vw,2.1rem);max-width:73rem;border:1px solid var(--line);border-radius:16px;background:var(--surface);box-shadow:0 10px 28px #263e2b08;min-width:0}
#guest-history-app .gh-demo {display:inline-flex;width:fit-content;max-width:100%;font-size:.81rem;font-weight:680;padding:.26rem .58rem;border-radius:50px;background:#edf2e8;color:#385442}
#guest-history-app .gh-heading,#guest-history-app .gh-subheading {font-family:var(--serif);font-weight:400;letter-spacing:-.04em;line-height:1.12;margin:0}
#guest-history-app .gh-heading {font-size:clamp(1.62rem,3vw,2.28rem)}
#guest-history-app .gh-subheading {font-size:clamp(1.25rem,2.4vw,1.55rem)}
#guest-history-app .gh-note {color:var(--muted);font-size:.94rem;line-height:1.52;margin:0;max-width:66ch}
#guest-history-app .gh-control {display:flex;flex-wrap:wrap;align-items:center;gap:.45rem .72rem;margin:.34rem 0 .18rem}
#guest-history-app .gh-label {font-weight:680;font-size:.91rem}
#guest-history-app .gh-field {min-height:44px;min-width:0;max-width:100%;color:var(--ink);background:#fffefa;border:1px solid #9eaf9e;border-radius:8px;padding:.55rem .65rem;font:inherit}
#guest-history-app .gh-pill {display:inline-flex;align-items:center;width:fit-content;border:1px solid #d5e0d1;border-radius:50px;padding:.22rem .49rem;background:#f2f5ef;color:#40594a;font-size:.82rem;font-weight:680;line-height:1.18}
#guest-history-app .gh-returning,#guest-history-app .gh-completed {background:#e4eee2;color:#234c35}
#guest-history-app .gh-cancelled,#guest-history-app .gh-noShow {background:#f4ece6;color:#694f41;border-color:#e5d9d3}
#guest-history-app .gh-count {font-size:.87rem;color:var(--muted)}
#guest-history-app .gh-grid {display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:.85rem}
#guest-history-app .gh-content {min-width:0;background:#f1f4ed;border:1px solid var(--line);border-radius:12px;padding:clamp(.75rem,2.4vw,1.25rem)}
#guest-history-app .gh-list {margin:.63rem 0 0;padding:0;list-style:none}
#guest-history-app .gh-row {display:flex;align-items:center;justify-content:space-between;gap:.5rem .8rem;flex-wrap:wrap;padding:.48rem 0;border-top:1px solid var(--line)}
#guest-history-app .gh-detail {display:grid;gap:.12rem;font-size:.9rem}
#guest-history-app .gh-id {font-size:.78rem;color:var(--muted);letter-spacing:.035em}
#guest-history-app .gh-date {line-height:1.38}
#guest-history-app .gh-welcome {display:grid;align-content:start;gap:.55rem}
#guest-history-app textarea {min-height:6.4rem;width:100%;resize:vertical}
#guest-history-app .gh-copy {background:var(--green);border:1px solid var(--green);border-radius:8px;color:#fffefa;font:inherit;font-size:.9rem;font-weight:680;min-height:44px;width:fit-content;padding:.5rem .74rem}
#guest-history-app .gh-copy:hover {background:var(--green-darker)}
#guest-history-app .gh-feedback {font-size:.88rem;font-weight:640;margin:0}
#guest-history-app .gh-feedback:empty {display:none}
#guest-history-app .gh-review {display:inline-block;color:var(--green);font-weight:680;text-decoration:underline;text-underline-offset:.22em;min-height:35px;padding-top:.25rem}
#guest-history-app .gh-footer .gh-note {font-size:.84rem;margin:0 0 .2rem}
@media (max-width:695px) {#guest-history-app .gh-grid{grid-template-columns:1fr}}
#guest-history-app .gh-notifications {display:grid;gap:.56rem;margin:.24rem 0 .4rem}
#guest-history-app .gh-notify-head {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.45rem .8rem}
#guest-history-app .gh-notify-count {background:#ebeadd;color:#554b25;white-space:nowrap}
#guest-history-app .gh-notify-empty {margin:0;padding:.65rem .75rem;color:var(--muted);background:#fbfaf6;border-radius:8px;font-size:.9rem}
#guest-history-app .gh-notify-list,#guest-history-app .gh-notify-history-list {display:grid;gap:.48rem;list-style:none;padding:0;margin:0}
#guest-history-app .gh-notification {display:grid;gap:.42rem;background:#fffefa;border:1px solid var(--line);border-inline-start:3px solid #d5e0d1;border-radius:8px;padding:.71rem .78rem;overflow-wrap:anywhere}
#guest-history-app .gh-notification-new {border-inline-start-color:#4a6c50}
#guest-history-app .gh-notify-name {font-size:1rem}
#guest-history-app .gh-small-heading {font-size:.89rem;font-weight:680;margin:0}
#guest-history-app .gh-notify-history {display:grid;gap:.34rem;background:#f1f4ed;border-radius:6px;padding:.47rem .54rem;font-size:.9rem}
#guest-history-app .gh-notify-stay + .gh-notify-stay {padding-top:.42rem;border-top:1px solid var(--line)}
#guest-history-app .gh-stay-review {color:var(--green);font-size:.86rem}
#guest-history-app .gh-stay-review summary {min-height:24px;width:fit-content;cursor:pointer;font-weight:670}
#guest-history-app .gh-stay-review p {margin:.17rem 0 .27rem;color:var(--ink);line-height:1.45}
#guest-history-app .gh-read-toggle {min-height:44px;border:1px solid #9eaf9e;border-radius:7px;background:#fffefa;color:var(--green);font:inherit;font-size:.86rem;font-weight:665;padding:.43rem .61rem}
#guest-history-app .gh-read-toggle:hover {background:#edf2e8}
#guest-history-app .gh-notification-cancel {border-inline-start-color:#b99483;background:#fcf7f2}
#guest-history-app .gh-notification-cancel.gh-notification-new {border-inline-start-color:#a65d43}
#guest-history-app .gh-match-review {background:#fae9d9;color:#783d1e;border-color:#e8c3a6}
#guest-history-app .gh-match-candidates {border:1px solid #e8c3a6;background:#fdf5ea}
#guest-history-app .gh-match-profile {display:grid;gap:.22rem;padding:.47rem .55rem;background:#fffefa;border:1px solid var(--line);border-radius:6px;overflow-wrap:anywhere}
#guest-history-app .gh-demo-contacts {background:#f2f5ef;border:1px solid var(--line);border-radius:9px;padding:.55rem .7rem}
#guest-history-app .gh-demo-contacts > summary {cursor:pointer;min-height:24px}
#guest-history-app .gh-demo-contacts > p {margin:.42rem 0}
