/* Guest profile (Guest Profile page + the profile window on Guest Check-in).
   Issues-MailOfficePosChanges-001, Issues-CheckinCustomerProfile-001. */
.gp-search { display: flex; gap: 8px; margin-bottom: 14px; max-width: 720px; }
.gp-search input { flex: 1 1 auto; min-width: 0; background: #fff; border: 1px solid var(--ik-line, #d9e2ec); border-radius: 10px; padding: 11px 14px; font: inherit; font-size: 15px; color: var(--ik-ink, #0f172a); }
.gp-grid { display: grid; grid-template-columns: minmax(240px, 340px) minmax(0, 1fr); gap: 16px; align-items: start; }
.gp-results { background: #fff; border: 1px solid var(--ik-line, #d9e2ec); border-radius: 14px; overflow: hidden; max-height: 74vh; overflow-y: auto; }
.gp-row { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; text-align: left; background: #fff; border: 0; border-bottom: 1px solid var(--ik-line, #d9e2ec); padding: 11px 14px; cursor: pointer; font-family: inherit; }
.gp-row:hover { background: var(--ik-canvas, #f4f7fb); }
.gp-row.sel { background: rgba(6, 97, 242, 0.08); box-shadow: inset 3px 0 0 var(--ik-primary, #0661F2); }
.gp-row-name { font-weight: 600; font-size: 14px; color: var(--ik-ink, #0f172a); }
.gp-row-sub { font-size: 12.5px; color: var(--ik-muted, #64748b); word-break: break-all; }
.gp-more { padding: 10px 14px; font-size: 12.5px; color: var(--ik-muted, #64748b); }
.gp-profile { background: #fff; border: 1px solid var(--ik-line, #d9e2ec); border-radius: 14px; padding: 18px 20px; min-height: 160px; }
.gp-profile > .ik-empty { padding: 40px 10px; }
.gp-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.gp-name { font-size: 22px; font-weight: 700; color: var(--ik-ink, #0f172a); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.gp-sub { font-size: 13.5px; color: var(--ik-muted, #64748b); word-break: break-all; margin-top: 2px; }
.gp-badge { font-size: 11.5px; font-weight: 700; padding: 2px 9px; border-radius: 999px; text-transform: uppercase; letter-spacing: .03em; }
.gp-badge.minor { background: #fef3c7; color: #92400e; }
.gp-badge.off { background: #e2e8f0; color: #475569; }
.gp-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; }
.gp-fact { display: flex; flex-direction: column; gap: 2px; padding: 9px 12px; border: 1px solid #e8edf3; border-radius: 10px; background: #fafcfe; }
.gp-fact .l { font-size: 11.5px; color: var(--ik-muted, #64748b); text-transform: uppercase; letter-spacing: .03em; font-weight: 600; }
.gp-fact .v { font-size: 14.5px; font-weight: 600; color: var(--ik-ink, #0f172a); word-break: break-word; }
.gp-fact.good .v { color: #079752; }
.gp-fact.warn .v { color: #b45309; }
.gp-sec { margin-top: 20px; }
.gp-sec-title { font-size: 15px; font-weight: 700; color: var(--ik-ink, #0f172a); margin: 0 0 8px; }
.gp-sec-sub { font-size: 12.5px; font-weight: 500; color: var(--ik-muted, #64748b); margin-left: 8px; }
.gp-size-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; }
.gp-size { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; font-weight: 600; color: var(--ik-muted, #64748b); }
.gp-size select { min-width: 150px; padding: 9px 10px; border: 1px solid var(--ik-line, #d9e2ec); border-radius: 8px; font: inherit; font-size: 14.5px; color: var(--ik-ink, #0f172a); background: #fff; }
.gp-list { border: 1px solid #e8edf3; border-radius: 10px; overflow: hidden; }
.gp-li { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 10px 12px; border-bottom: 1px solid #f0f3f6; }
.gp-li:last-child { border-bottom: 0; }
.gp-li-name { font-weight: 600; font-size: 14px; color: var(--ik-ink, #0f172a); }
.gp-li-sub { font-size: 12.5px; color: var(--ik-muted, #64748b); margin-top: 2px; word-break: break-word; }
.gp-linkbtn { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; font-size: 14px; color: var(--ik-primary, #0661F2); cursor: pointer; text-align: left; }
.gp-linkbtn:hover { text-decoration: underline; }
.gp-pill { flex: 0 0 auto; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; white-space: nowrap; text-transform: capitalize; }
.gp-pill.good { background: rgba(7, 151, 82, 0.12); color: #079752; }
.gp-pill.warn { background: #fef3c7; color: #92400e; }
.gp-pill.plain { background: #eef2f7; color: #475569; }
.gp-none { font-size: 13.5px; color: var(--ik-muted, #64748b); padding: 6px 0; }
.gp-note-line { font-size: 13.5px; color: var(--ik-ink, #0f172a); margin-bottom: 8px; }
.gp-note-add { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 10px; }
.gp-note-add textarea { flex: 1 1 auto; min-width: 0; padding: 9px 11px; border: 1px solid var(--ik-line, #d9e2ec); border-radius: 8px; font: inherit; font-size: 14px; resize: vertical; }
.gp-note-text { font-size: 14px; color: var(--ik-ink, #0f172a); white-space: pre-wrap; word-break: break-word; }
.gp-order-right { text-align: right; flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.gp-order-total { font-weight: 700; font-size: 14px; color: var(--ik-ink, #0f172a); }
@media (max-width: 900px) { .gp-grid { grid-template-columns: 1fr; } .gp-results { max-height: 40vh; } }

/* picture, waivers, and the window on Guest Check-in (Issues-CheckinCustomerProfile-001) */
.gp-head { justify-content: flex-start; }
.gp-who { flex: 1 1 auto; min-width: 0; }
.gp-pics { display: flex; gap: 8px; flex: 0 0 auto; }
.gp-pic { position: relative; width: 84px; height: 84px; padding: 0; border: 1px solid var(--ik-line, #d9e2ec); border-radius: 12px; overflow: hidden; background: #f4f7fb; cursor: zoom-in; font-family: inherit; }
.gp-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gp-pic-cap { position: absolute; left: 0; right: 0; bottom: 0; font-size: 10.5px; font-weight: 600; color: #fff; background: rgba(2, 12, 27, 0.55); padding: 2px 4px; text-align: center; }
.gp-pic.big { width: min(360px, 70vw); height: auto; cursor: zoom-out; }
.gp-pic.big img { height: auto; object-fit: contain; }
.gp-pic-none { display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--ik-muted, #64748b); cursor: default; }
.gp-sig { display: block; max-width: 220px; max-height: 70px; margin-top: 6px; border: 1px solid #e8edf3; border-radius: 6px; background: #fff; }
.gp-sig-text { font-style: italic; }
.gp-modal-overlay { z-index: 140; align-items: flex-start; padding: 3vh 0; overflow-y: auto; }
.ik-modal.gp-modal { width: min(920px, 96vw); max-height: none; padding: 0; overflow: visible; }
.gp-modal-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 20px; border-bottom: 1px solid var(--ik-line, #d9e2ec); position: sticky; top: 0; background: #fff; border-radius: 14px 14px 0 0; z-index: 1; }
.gp-modal-title { font-size: 16px; font-weight: 700; color: var(--ik-ink, #0f172a); }
.gp-profile.gp-in-modal { border: 0; border-radius: 0 0 14px 14px; }
/* the check-in page sizes every field inside a window to full width; the profile keeps its own */
.ik-modal.gp-modal select { width: auto; }
.ik-modal.gp-modal .gp-note-add textarea { width: auto; }
@media (max-width: 600px) { .gp-head { flex-wrap: wrap; } }
