@charset "UTF-8";

:root {
  --ink: #202733;
  --muted: #73808f;
  --line: #e3e7ec;
  --line-strong: #d4dae2;
  --canvas: #f5f7fa;
  --white: #fff;
  --navy: #192b46;
  --blue: #2379dc;
  --blue-dark: #1266c3;
  --blue-wash: #eef6ff;
  --green: #287c62;
  --green-wash: #eaf6f0;
  --amber: #a56c20;
  --amber-wash: #fff5e5;
  --red: #bb4b57;
  --red-wash: #fff0f1;
  --radius: 5px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  font-size: 13px;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-width: 320px; min-height: 100%; }
body { background: var(--canvas); }
button, input, select, textarea { font: inherit; }
button, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button, select { cursor: pointer; }
button { color: inherit; }
button:disabled { cursor: default; opacity: .45; }
button, a, input, select, textarea { outline-offset: 3px; }
:focus-visible { outline: 2px solid #2c80df; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
button svg, .button svg, .icon-button svg { width: 17px; height: 17px; flex-shrink: 0; }
svg { display: block; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
button { border: 0; }
input, select, textarea { color: var(--ink); }
input::placeholder, textarea::placeholder { color: #97a0ac; opacity: 1; }
input[type="checkbox"] { width: 15px; height: 15px; margin: 0; accent-color: var(--blue); cursor: pointer; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 12px; top: -80px; background: var(--navy); color: white; padding: 10px 15px; border-radius: 4px; z-index: 200; font-size: 12px; }
.skip-link:focus { top: 12px; }
.startup-loading { min-height: 100dvh; display: grid; place-items: center; font-size: 13px; color: #7b8da2; }

.app-shell { display: grid; grid-template-columns: 64px 208px minmax(0,1fr); min-height: 100dvh; }
.icon-rail { position: sticky; top: 0; height: 100dvh; display: flex; flex-direction: column; align-items: center; gap: 13px; background: var(--navy); padding: 23px 8px 18px; z-index: 30; }
.brand-symbol { width: 33px; height: 33px; color: #fff; display: grid; place-items: center; font-size: 25px; font-weight: 750; letter-spacing: -3px; padding-right: 3px; margin-bottom: 24px; }
.brand-symbol svg { width: 31px; height: 31px; }
.brand-symbol { background: transparent; letter-spacing: -1px; display: flex; align-items: center; justify-content: center; font-size: 23px; }
.brand-symbol span { font-size: 10px; letter-spacing: -.4px; margin: 9px 0 0 -1px; font-weight: 500; }
.rail-items { display: grid; gap: 15px; }
.rail-bottom { margin-top: auto; }
.rail-button { position: relative; width: 40px; height: 40px; display: grid; place-items: center; color: #aebbd0; background: transparent; border-radius: 5px; }
.rail-button svg { width: 21px; height: 21px; }
.rail-button:hover { color: #fff; background: #ffffff0d; }
.rail-button.active { color: #fff; background: #ffffff14; }
.rail-button.active::before { content: ""; position: absolute; width: 3px; height: 22px; left: -8px; background: #74b7ff; border-radius: 0 3px 3px 0; }
.rail-spacer { flex: 1; }
.rail-avatar { display: grid; place-items: center; height: 30px; width: 30px; background: #65748a; color: #fff; font-size: 10px; font-weight: 650; border-radius: 50%; }

.event-sidebar { position: sticky; top: 0; height: 100dvh; padding: 27px 16px 18px; display: flex; flex-direction: column; background: var(--white); border-right: 1px solid var(--line); z-index: 20; overflow-y: auto; }
.event-logo { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid #ead4dd; background: #fbf4f7; color: #984e6c; font-size: 18px; font-weight: 700; letter-spacing: -.7px; margin-bottom: 13px; }
.event-name { font-size: 15px; line-height: 1.4; font-weight: 650; letter-spacing: -.25px; margin: 0 0 5px; }
.event-date, .event-location { display: block; font-size: 11px; line-height: 1.6; color: var(--muted); }
.event-location { margin-bottom: 20px; }
.event-logo { display: flex; flex-direction: column; justify-content: center; gap: 1px; width: 54px; height: 54px; font-size: 28px; line-height: 1; border-color: #ebd9e0; background: #fcf7f9; color: #9a5c74; }
.event-logo span { font-size: 7px; text-transform: uppercase; letter-spacing: .9px; font-weight: 500; }
.event-date { margin: 0; }
.prototype-label { display: flex; align-items: center; gap: 5px; color: #a5aeb9; font-size: 9px; margin: 12px 0 18px; }
.prototype-label i { width: 4px; height: 4px; background: #a9b8c9; border-radius: 50%; }
.event-meta { font-size: 11px; color: var(--muted); line-height: 1.7; margin-top: 5px; }
.sidebar-nav { display: grid; gap: 3px; margin: 9px -6px 0; }
.sidebar-item { display: flex; align-items: center; gap: 10px; min-height: 38px; width: 100%; padding: 9px 12px; text-align: left; background: transparent; border-radius: var(--radius); color: #627082; font-size: 12px; font-weight: 500; }
.sidebar-item svg { width: 17px; height: 17px; }
.sidebar-item:hover { background: #f4f7fa; color: var(--ink); }
.sidebar-item.active { background: var(--blue-wash); color: #206dbb; font-weight: 650; }
.sidebar-item .count-badge { margin-left: auto; background: transparent; color: inherit; min-width: auto; }
.nav-section { margin: 30px 6px 9px; font-size: 10px; letter-spacing: 1.1px; text-transform: uppercase; font-weight: 650; color: #9aa4af; }
.nav-section { display: flex; align-items: center; justify-content: space-between; }
.nav-section .text-button { font-size: 9px; font-weight: 400; }
.group-item { display: flex; align-items: center; gap: 9px; padding: 8px 6px; color: #657181; width: 100%; text-align: left; background: transparent; border-radius: 4px; font-size: 12px; }
.group-item:hover, .group-item.active { background: #f5f7fa; color: var(--ink); }
.group-item .count-badge { margin-left: auto; min-width: auto; background: none; color: #949eaa; font-size: 11px; }
.group-item small { margin-left: auto; color: #a5aeb9; font-size: 10px; }
.group-item > i { display: block; width: 6px; height: 6px; border-radius: 50%; background: #95a7c6; }
.group-item > i[data-group-color="CHAMP"] { background: #967da9; }.group-item > i[data-group-color="WISE"] { background: #78a89c; }.group-item > i[data-group-color="VIP"] { background: #cc889b; }.group-item > i[data-group-color="ETC"] { background: #9ca6b5; }
.group-dot { width: 6px; height: 6px; border-radius: 50%; background: #95a7c6; display: inline-block; flex-shrink: 0; }
.group-dot.champ { background: #967da9; }.group-dot.wise { background: #78a89c; }.group-dot.vip { background: #cc889b; }.group-dot.etc { background: #9ca6b5; }
.sidebar-footer { margin-top: auto; padding: 25px 5px 0; color: #99a2ad; font-size: 10px; line-height: 1.7; }
.sidebar-footer strong { display: block; font-size: 11px; color: #74808d; font-weight: 500; margin-bottom: 4px; }
.sidebar-footer a { display: flex; gap: 5px; align-items: center; font-size: 9px; color: #8b9aab; white-space: nowrap; }
.sidebar-footer a svg { width: 12px; height: 12px; }
.sidebar-footer a svg:last-child { width: 9px; height: 9px; margin-left: auto; }
.sidebar-footer small { display: block; margin-top: 5px; color: #b2bbc5; font-size: 8px; }
.sample-label { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; color: #87919d; }
.sample-label::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #a8b2bd; }

.main-area { min-width: 0; }
.top-header { min-height: 75px; padding: 17px 31px; background: #fff; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.event-breadcrumb { display: flex; align-items: center; gap: 9px; color: #9aa2ad; font-size: 11px; min-width: 0; }
.event-breadcrumb svg { width: 14px; height: 14px; }
.event-breadcrumb strong { color: #5f6b7a; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.header-date { display: flex; gap: 5px; align-items: center; border-left: 1px solid var(--line); padding-left: 15px; margin-left: 8px; color: #a2abb7; font-size: 10px; }
.header-date svg { width: 13px; height: 13px; }
.header-actions { display: flex; align-items: center; gap: 15px; flex-shrink: 0; }
.save-state { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; color: #8f99a5; white-space: nowrap; }
.save-state svg { width: 13px; height: 13px; color: #76a28d; }
.save-state.error { color: #b4777e; }.save-state.error svg { color: #b4777e; }
.person-avatar.header-avatar { width: 29px; height: 29px; font-size: 9px; }
.account-badge { display: flex; align-items: center; gap: 8px; font-size: 11px; color: #5f6b79; }
.account-avatar { width: 29px; height: 29px; border-radius: 50%; background: #e8edf5; color: #536d95; display: grid; place-items: center; font-size: 10px; font-weight: 650; }
.main-content { padding: 27px 31px 40px; max-width: 1800px; margin: 0 auto; }
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 21px; }
.page-title { margin: 0; font-size: 25px; font-weight: 600; letter-spacing: -.65px; line-height: 1.25; }
.page-subtitle { color: #8a94a1; font-size: 11px; margin: 7px 0 0; line-height: 1.5; }
.page-head-actions { display: flex; align-items: center; gap: 8px; padding-top: 1px; }
.page-actions { display: flex; align-items: center; gap: 7px; }
.eyebrow { color: #9ba3ad; font-size: 10px; letter-spacing: 1.1px; font-weight: 650; text-transform: uppercase; margin: 0 0 7px; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 33px; padding: 8px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: white; color: #687483; font-size: 11px; font-weight: 550; line-height: 1.2; white-space: nowrap; transition: background .12s, border-color .12s; text-decoration: none; }
.button:hover { background: #f7f9fb; border-color: #bbc5d0; text-decoration: none; }
.button.primary { background: var(--blue); color: white; border-color: var(--blue); }
.button.primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.button.secondary { background: #fff; }
.button.text { border-color: transparent; background: transparent; color: #728092; padding-left: 7px; padding-right: 7px; }
.button.text:hover { background: #eef2f7; }
.button.danger { color: var(--red); border-color: #efd4d7; background: #fff; }
.button.small { padding: 5px 9px; min-height: 28px; font-size: 10px; }
.button.large { min-height: 39px; padding: 11px 17px; }
.text-button { background: transparent; color: #658bb1; font-size: 10px; padding: 3px 0; }
.text-button:hover { color: #2b70b3; text-decoration: underline; }
.icon-button { width: 31px; height: 31px; border: 1px solid transparent; display: inline-grid; place-items: center; padding: 0; color: #8c97a5; background: transparent; border-radius: var(--radius); flex-shrink: 0; }
.icon-button:hover { background: #edf2f7; color: #536274; }
.icon-button.outlined { background: #fff; border-color: var(--line); }

.view-tabs { display: flex; gap: 27px; border-bottom: 1px solid var(--line); margin-bottom: 23px; }
.main-area > .view-tabs { padding: 0 31px; margin: 0; height: 45px; align-items: stretch; background: #fff; }
.main-area > .view-tabs .view-tab { padding-top: 12px; padding-bottom: 11px; }
.view-tab { border: 0; border-bottom: 2px solid transparent; background: transparent; padding: 0 1px 13px; display: inline-flex; align-items: center; gap: 7px; color: #8c96a4; font-size: 12px; font-weight: 550; white-space: nowrap; }
.view-tab:hover { color: #466783; }
.view-tab.active { color: #276eaf; border-color: #2b7bc8; }
.view-tab svg { width: 15px; height: 15px; }
.count-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 18px; padding: 0 5px; border-radius: 8px; font-size: 10px; line-height: 1; color: #8994a1; background: #e9edf2; font-weight: 500; }
.view-tab.active .count-badge { background: #e5f1fc; color: #4c85ba; }
.toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 19px; }
.toolbar-spacer { flex: 1; }
.search-field { position: relative; width: 240px; display: flex; align-items: center; }
.search-field svg { width: 15px; height: 15px; position: absolute; left: 11px; color: #9ca6b2; pointer-events: none; }
.search-field input { width: 100%; min-height: 34px; border: 1px solid var(--line); background: #fff; border-radius: var(--radius); padding: 8px 10px 8px 33px; font-size: 11px; }
.search-field input:focus { border-color: #79a9db; }
.filters { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; max-width: 100%; }
.filter-select { min-height: 34px; max-width: 210px; padding: 7px 30px 7px 11px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: #657386; font-size: 11px; }
.filter-label { color: #8b96a3; font-size: 10px; }
.pic-filter { min-height: 34px; display: flex; align-items: center; gap: 5px; padding: 3px 7px; border: 1px solid var(--line); background: #fff; border-radius: 5px; }
.pic-filter .person-avatar { width: 22px; height: 22px; font-size: 7px; }
.pic-filter select { border: 0; background: transparent; color: #657386; font-size: 11px; min-height: 25px; max-width: 139px; padding: 0 2px; }
.filter-pills { display: inline-flex; gap: 3px; padding: 3px; background: #e9edf2; border-radius: 5px; }
.filter-pill { background: transparent; color: #8591a0; font-size: 10px; padding: 6px 9px; border-radius: 3px; }
.filter-pill.active { background: #fff; color: #566b83; box-shadow: 0 1px 2px #18293d0a; }

.summary-strip { display: flex; flex-wrap: wrap; align-items: center; border: 1px solid var(--line); background: #fff; border-radius: var(--radius); padding: 17px 0; margin-bottom: 23px; }
.summary-item { flex: 1; min-width: 100px; border-right: 1px solid var(--line); padding: 0 23px; display: flex; align-items: baseline; gap: 8px; }
.summary-item:last-child { border-right: 0; }
.summary-item strong { font-size: 21px; font-weight: 550; line-height: 1; letter-spacing: -.4px; }
.summary-item span { color: #74808d; font-size: 11px; line-height: 1.45; }
.summary-item .warning { color: var(--amber); }
.summary-item .success { color: var(--green); }
.summary-item .subvalue { font-size: 10px; color: #a5aeb9; }
.summary-item.attention strong { color: #bc9260; }
.summary-item.success strong { color: #6d9c86; }
.summary-link { display: flex; gap: 7px; align-items: center; font-size: 10px; margin: 0 18px; white-space: nowrap; }
.summary-link svg { width: 12px; height: 12px; }
.summary-strip:has(.summary-link) .summary-item:nth-last-child(2) { border-right: 0; }
.board-filters { display: flex; align-items: center; gap: 7px; margin: 0 0 17px; flex-wrap: wrap; }
.filter-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 4px; border: 1px solid transparent; color: #8b98a8; background: transparent; font-size: 10px; line-height: 1.1; }
.filter-chip:hover { background: #edf2f7; }
.filter-chip.active { background: #fff; color: #557ca4; border-color: #d7e2ed; }
.filter-chip > span { color: #a4b0bd; font-size: 9px; }
.result-count { margin-left: auto; font-size: 9px; color: #a2adba; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 13px; }
.section-title { margin: 0; color: #58687b; font-size: 12px; font-weight: 600; }
.section-note { color: #98a2ae; font-size: 10px; }

.board { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 19px; align-items: start; }
.board-column { min-width: 0; }
.column-head { display: flex; align-items: center; gap: 7px; min-height: 29px; margin: 0 0 12px; font-size: 11px; font-weight: 600; color: #788595; }
.column-head .count-badge { background: #e7ecf2; color: #8c99a9; height: 17px; min-width: 18px; font-size: 9px; }
.column-head h2 { display: flex; align-items: center; gap: 7px; margin: 0; font-size: 11px; font-weight: 550; color: #7b899a; }
.column-head h2 > i { width: 6px; height: 6px; border-radius: 50%; background: #9fb7cd; }
.board-column.waiting .column-head h2 > i { background: #cbb28e; }.board-column.ready .column-head h2 > i { background: #89ad9b; }
.column-head > .count-badge { margin-left: auto; }
.column-head .column-dot { width: 6px; height: 6px; border-radius: 50%; background: #b6c2cf; }
.column-head.todo .column-dot { background: #699ed4; }
.column-head.waiting .column-dot { background: #d3b27d; }
.column-head.done .column-dot { background: #77a68c; }
.column-head .icon-button { margin-left: auto; height: 24px; width: 24px; }
.column-cards { display: grid; gap: 12px; }
.guest-card { position: relative; background: #fff; border: 1px solid #dfe5ec; border-radius: 5px; padding: 17px 16px 0; margin: 0 0 12px; box-shadow: 0 1px 1px #22395703; transition: border-color .15s, box-shadow .15s; min-width: 0; }
.column-cards .guest-card { margin-bottom: 0; }
.guest-card:hover { border-color: #c4d3e4; box-shadow: 0 3px 10px #283f5807; }
.guest-card[draggable="true"] { cursor: grab; }
.guest-card.dragging { opacity: .5; }
.board-column.drag-over { outline: 2px dashed #b7d3ee; outline-offset: 6px; border-radius: 5px; }
.guest-top { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 13px; }
.guest-card > .guest-top, .vip-card > .guest-top { align-items: center; gap: 5px; }
.guest-card > .guest-top .due-label { margin-left: auto; font-size: 8px; }
.guest-card > .guest-info, .vip-card > .guest-info { display: flex; align-items: center; gap: 10px; padding: 0; margin-bottom: 16px; }
.guest-card > .guest-info > div, .vip-card > .guest-info > div { min-width: 0; flex: 1; }
.person-avatar, .profile-avatar { display: grid; place-items: center; width: 39px; height: 39px; flex-shrink: 0; border-radius: 50%; background: #ebeff5; color: #667e9d; font-size: 12px; font-weight: 500; letter-spacing: .2px; overflow: hidden; }
.person-avatar img, .profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.person-avatar.rose, .person-avatar[data-color="rose"] { background: #f5e7ed; color: #ab7489; }
.person-avatar.teal, .person-avatar[data-color="teal"] { background: #e3f0eb; color: #608d7d; }
.person-avatar.slate, .person-avatar[data-color="slate"] { background: #e7edf5; color: #6b83a0; }
.person-avatar.lilac, .person-avatar[data-color="lilac"] { background: #eee8f5; color: #8b76a4; }
.person-avatar.sand, .person-avatar[data-color="sand"] { background: #f5eddf; color: #a38b63; }
.person-avatar[data-color="0"] { background: #e4edf7; color: #6d8fb0; }.person-avatar[data-color="1"] { background: #f0e9f5; color: #a08ab5; }.person-avatar[data-color="2"] { background: #e5f1ec; color: #7fa894; }.person-avatar[data-color="3"] { background: #f5e7ed; color: #b4879c; }.person-avatar[data-color="4"] { background: #f5eddf; color: #b5a080; }.person-avatar[data-color="5"] { background: #e9edf2; color: #879aaf; }
.guest-info { min-width: 0; flex: 1; padding-top: 2px; }
.guest-name { display: block; font-size: 13px; font-weight: 650; line-height: 1.4; color: #354252; margin: 0 0 3px; text-align: left; background: none; padding: 0; border: 0; }
button.guest-name:hover { color: var(--blue); }
.guest-affiliation { margin: 0; font-size: 12px; color: #6b7786; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; }
.guest-top > .icon-button { width: 18px; height: 23px; margin-right: -5px; color: #b1b9c2; }
.guest-tags { display: flex; gap: 5px; align-items: center; flex-wrap: wrap; margin-bottom: 13px; }
.tag, .level-tag { display: inline-flex; align-items: center; min-height: 19px; padding: 3px 6px; border-radius: 3px; font-size: 10px; line-height: 1; color: #68798e; background: #f0f3f7; font-weight: 500; white-space: nowrap; }
.tag.champ, .tag.group-champ { color: #8d74a6; background: #f1ecf7; }
.tag.wise, .tag.group-wise { color: #638b7e; background: #edf5f1; }
.tag.vip, .tag.group-vip { color: #ad6b86; background: #fbf0f5; }
.tag.etc, .tag.group-etc { color: #8793a3; background: #f0f3f7; }
.level-tag { color: #aa6380; background: #fcf1f6; text-transform: uppercase; font-size: 10px; letter-spacing: .25px; }
.level-tag.vvip { color: #8d668b; background: #f5edf5; }
.level-tag svg { width: 9px; height: 9px; margin-right: 3px; }
.status-chip { display: inline-flex; align-items: center; gap: 4px; border-radius: 3px; min-height: 20px; padding: 3px 6px; background: #f1f3f6; color: #6d7a8b; font-size: 10px; font-weight: 500; white-space: nowrap; }
.status-chip::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .7; }
.status-chip.yes, .status-chip.confirmed, .status-chip.ready { color: #347b60; background: #edf7f1; }
.status-chip.no, .status-chip.declined { color: #aa606d; background: #fcf0f2; }
.status-chip.maybe, .status-chip.waiting { color: #967338; background: #fbf5e9; }
.status-chip.unknown { color: #6d7a8b; background: #f1f3f6; }
.card-action { display: flex; gap: 7px; align-items: flex-start; margin: 0 0 15px; font-size: 11px; line-height: 1.6; color: #687789; min-height: 35px; }
.guest-card .card-action { display: block; min-height: 53px; }
.card-action-label { display: block; color: #8492a2; font-size: 9px; letter-spacing: .5px; text-transform: uppercase; margin-bottom: 4px; }
.card-action p { margin: 0; color: #5f6d7d; font-size: 12px; line-height: 1.5; }
.card-status-line { display: flex; align-items: center; justify-content: space-between; gap: 5px; margin: 0 0 15px; }
.attention-reason, .invitation-label { color: #788595; font-size: 10px; text-align: right; line-height: 1.4; }
.attention-reason { color: #a07d50; }
.card-action svg { width: 13px; height: 13px; margin-top: 3px; color: #9aaabe; flex-shrink: 0; }
.card-action strong { color: #57687b; font-weight: 550; }
.card-action .label { display: block; color: #a5adb7; font-size: 9px; line-height: 1.5; margin-bottom: 2px; text-transform: uppercase; letter-spacing: .5px; }
.card-footer { display: flex; align-items: center; justify-content: space-between; gap: 5px; border-top: 1px solid #edf0f4; min-height: 38px; padding: 8px 0; }
.owner-chip { display: inline-flex; align-items: center; gap: 5px; color: #68798b; font-size: 12px; white-space: nowrap; }
.owner-chip .mini-avatar { display: grid; place-items: center; border-radius: 50%; width: 18px; height: 18px; background: #eef1f6; color: #7b8ca4; font-size: 7px; }
.owner-chip .person-avatar { width: 18px; height: 18px; font-size: 6px; }
.card-footer > .icon-button { height: 24px; width: 24px; }
.card-footer > .icon-button svg { width: 13px; height: 13px; }
.due-label { display: inline-flex; gap: 4px; align-items: center; color: #9ba7b4; font-size: 9px; white-space: nowrap; }
.due-label svg { width: 11px; height: 11px; }
.due-label.overdue { color: #bc7a75; }
.card-footer .button { font-size: 9px; min-height: 23px; padding: 3px 6px; color: #7796b8; border-color: #e4edf5; }
.card-footer .button svg { width: 11px; height: 11px; }

.readiness-banner { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: #f0f5fa; border: 1px solid #dde7f2; border-radius: var(--radius); padding: 13px 17px; margin-bottom: 22px; color: #6f8ba8; }
.readiness-banner .banner-title { display: flex; align-items: center; gap: 9px; color: #627e9b; font-size: 11px; font-weight: 550; }
.readiness-banner .banner-title svg { width: 16px; height: 16px; color: #90a9c4; }
.readiness-banner p { margin: 4px 0 0 25px; font-size: 10px; color: #91a3b6; }
.readiness-banner .button { min-height: 27px; padding: 5px 9px; font-size: 10px; color: #6184a9; background: white; border-color: #d4e1ef; }
.readiness-banner > svg { width: 15px; height: 15px; flex-shrink: 0; color: #87a2bb; }
.readiness-banner > span { flex: 1; font-size: 10px; line-height: 1.6; }
.readiness-overview { display: flex; align-items: center; gap: 7px; }
.vip-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; align-items: start; }
.vip-card { background: #fff; border: 1px solid var(--line); border-radius: 5px; padding: 18px 17px 0; min-width: 0; }
.vip-card.ready { border-top: 2px solid #81ad98; padding-top: 17px; }
.vip-card.needs-attention { border-top: 2px solid #d1b48d; padding-top: 17px; }
.vip-card .guest-top { margin-bottom: 11px; }
.vip-card .person-avatar { width: 44px; height: 44px; font-size: 13px; }
.vip-card .guest-name { font-size: 13px; }
.guest-id { margin-left: auto; font-size: 8px; color: #b5bdc7; }
.readiness-card-head { display: flex; align-items: center; justify-content: space-between; color: #a0adbb; font-size: 9px; margin-bottom: 7px; }
.readiness-status { color: #9b7c53; font-size: 11px; }
.readiness-status.ready { color: #597e6a; }
.readiness-open { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 40px; border-top: 1px solid #edf0f4; padding: 10px 0; background: transparent; color: #6684a3; font-size: 11px; text-align: left; }
.readiness-open:hover { color: #4c7ba7; }
.readiness-open svg { width: 13px; height: 13px; }
.vip-card .guest-tags { margin-bottom: 14px; }
.readiness-caption { display: flex; justify-content: space-between; align-items: center; color: #8f9cac; font-size: 10px; margin: 0 0 7px; }
.readiness-caption strong { font-size: 10px; color: #6f8b7e; font-weight: 550; }
.progress-track { height: 3px; background: #edf1f5; border-radius: 2px; overflow: hidden; width: 100%; }
.progress-fill { height: 100%; background: #78a293; border-radius: 2px; }
.progress-fill { display: block; }
.vip-card .progress-track { margin-bottom: 17px; }
.check-list { display: grid; gap: 0; padding: 0; margin: 0 0 13px; list-style: none; }
.check-row { min-height: 29px; display: flex; align-items: center; gap: 7px; font-size: 12px; color: #65717f; }
.check-row .check-value { color: #b7a184; margin-left: auto; font-size: 9px; text-align: right; max-width: 56%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.check-row.done { color: #617c6b; }
.check-row.done .check-value { color: #8d9e94; }
.check-row > strong { margin-left: auto; max-width: 57%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #9e815c; font-weight: 400; font-size: 12px; text-align: right; }
.check-row.done > strong { color: #657d6e; }
.check-dot { display: inline-grid; place-items: center; width: 13px; height: 13px; border: 1px solid #d9dfe6; border-radius: 50%; flex-shrink: 0; color: #fff; }
.check-dot svg { width: 9px; height: 9px; }
.check-row.done .check-dot { background: #83aa98; border-color: #83aa98; }
.check-row:not(.done) .check-dot::after { content: ""; width: 3px; height: 1px; background: #c0c9d3; }
.vip-card .card-footer { border-top-color: #edf0f4; }
.vip-status { font-size: 9px; color: #b49b78; display: flex; align-items: center; gap: 4px; }
.vip-status.ready { color: #83a08f; }
.vip-status svg { width: 11px; height: 11px; }

.empty-state { min-height: 130px; border: 1px dashed #dce3eb; border-radius: 5px; padding: 25px 15px; color: #a1acb9; text-align: center; font-size: 11px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; }
.empty-state svg { width: 22px; height: 22px; color: #bfccd8; }
.empty-state strong { color: #8898aa; font-size: 12px; font-weight: 550; }
.notice { display: flex; gap: 8px; align-items: flex-start; padding: 11px 13px; background: #edf5fd; border: 1px solid #d8e8f8; border-radius: 4px; color: #7390ac; font-size: 10px; line-height: 1.6; margin-bottom: 15px; }
.notice svg { width: 15px; height: 15px; margin-top: 1px; flex-shrink: 0; }
.notice.warning { color: #ab895b; background: #fff8ec; border-color: #f0e4ce; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: #23364c; color: #fff; padding: 12px 17px; border-radius: 5px; display: none; gap: 9px; align-items: center; box-shadow: 0 5px 24px #182d4030; z-index: 150; max-width: calc(100vw - 32px); font-size: 12px; line-height: 1.4; }
.toast.visible { display: flex; }
.toast svg { width: 16px; height: 16px; color: #add6c1; }
.toast button { background: transparent; color: #b8d9ff; padding: 0 0 0 9px; font-size: 11px; }

.modal-backdrop, .modal-overlay { position: fixed; inset: 0; background: #172b4552; backdrop-filter: blur(1px); display: flex; align-items: center; justify-content: center; padding: 28px; z-index: 100; }
.modal { width: min(680px,100%); max-height: calc(100dvh - 56px); border: 0; background: #fff; border-radius: 6px; box-shadow: 0 18px 70px #14243925; display: flex; flex-direction: column; overflow: hidden; }
.modal { padding: 0; margin: auto; color: var(--ink); }
.modal:not([open]) { display: none; }
.modal::backdrop { background: #172b4552; backdrop-filter: blur(1px); }
#dialog-content { display: flex; flex-direction: column; min-height: 0; overflow-y: auto; max-height: inherit; }
.modal:not(.profile-modal) #dialog-content:has(> .review-heading) { padding: 24px 25px 0; }
.modal:not(.profile-modal) #dialog-content > .review-footer { margin: 23px -25px 0; flex-shrink: 0; }
.modal.profile-modal { position: fixed; right: 0; top: 0; bottom: 0; width: min(580px,100%); max-height: none; height: 100dvh; border-radius: 0; }
.modal.profile-modal { left: auto; margin: 0; }
.profile-modal #dialog-content { height: 100%; max-height: 100%; overflow: hidden; }
.profile-modal #guest-form { display: flex; flex-direction: column; min-height: 0; flex: 1; }
.profile-id { color: #a2aebc; font-size: 9px; letter-spacing: 1px; }
.profile-id b { font-weight: 400; color: #b4bec9; letter-spacing: 0; margin-left: 8px; }
.profile-tabs { display: flex; align-items: stretch; gap: 25px; padding: 0 25px; border-bottom: 1px solid var(--line); flex-shrink: 0; }
.profile-tabs button { display: flex; align-items: center; gap: 5px; min-height: 39px; padding: 9px 0; border-bottom: 2px solid transparent; background: none; color: #9aa7b7; font-size: 11px; }
.profile-tabs button.active { border-color: #6e9dc9; color: #6085ac; }
.profile-tabs button > span { font-size: 8px; color: #a6b9cc; background: #edf4fa; padding: 2px 4px; border-radius: 3px; }
.profile-body h3 { font-size: 11px; font-weight: 600; color: #7a8da3; margin: 22px 0 14px; }
.profile-body h3:first-child { margin-top: 0; }
.profile-body .form-grid { margin-bottom: 18px; }
#profile-readiness { border-top: 1px solid var(--line); margin-top: 26px; padding-top: 23px; }
.modal-header { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 19px 25px; border-bottom: 1px solid var(--line); flex-shrink: 0; }
.modal-header h2, .modal-header h3 { margin: 0; font-size: 15px; font-weight: 600; letter-spacing: -.2px; }
.modal-header p { font-size: 10px; color: #99a4b1; margin: 4px 0 0; }
.modal-body { min-height: 0; overflow-y: auto; padding: 25px; }
.modal-footer { border-top: 1px solid var(--line); padding: 15px 25px; display: flex; justify-content: flex-end; align-items: center; gap: 8px; background: #fcfdfe; flex-shrink: 0; }
.modal-footer .footnote { margin-right: auto; color: #a5aeb9; font-size: 10px; }
.profile-header { display: flex; align-items: center; gap: 16px; margin-bottom: 25px; }
.profile-modal .profile-header { padding: 24px 25px 20px; margin: 0; flex-shrink: 0; }
.profile-header > div > h2 { margin: 9px 0 4px; color: #5a6e87; font-size: 20px; font-weight: 550; letter-spacing: -.4px; }
.profile-header > div > p { margin: 0 0 9px; color: #65717f; font-size: 12px; }
.profile-header > div .profile-meta { display: flex; align-items: center; gap: 5px; }
.profile-avatar { width: 66px; height: 66px; border-radius: 50%; background: #e8edf4; color: #6f86a4; font-size: 20px; font-weight: 400; }
.profile-meta { min-width: 0; }
.profile-meta h2 { margin: 0 0 5px; font-size: 21px; font-weight: 550; letter-spacing: -.4px; }
.profile-meta p { margin: 0 0 8px; color: #8c98a7; font-size: 11px; line-height: 1.5; }
.profile-meta .guest-tags { margin-bottom: 0; }
.profile-section { padding-top: 20px; border-top: 1px solid var(--line); margin-top: 22px; }
.profile-section h3 { font-size: 11px; font-weight: 650; margin: 0 0 15px; color: #66778a; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.profile-body .form-field { font-size: 10px; color: #929eac; }
.form-field.full, .form-field.span-2 { grid-column: 1 / -1; }
.form-field label { font-size: 10px; color: #929eac; font-weight: 500; }
.form-field input, .form-field select, .form-field textarea { border: 1px solid #dfe5ec; background: #fff; border-radius: 4px; min-height: 36px; padding: 9px 10px; font-size: 12px; width: 100%; color: #65717f; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: #79a9db; }
.form-field textarea { resize: vertical; line-height: 1.6; min-height: 78px; }
.form-field small { color: #abb4bf; font-size: 9px; line-height: 1.5; }
.form-section-title { grid-column: 1 / -1; font-size: 11px; font-weight: 600; color: #6b7a8c; margin: 7px 0 -2px; padding-top: 17px; border-top: 1px solid var(--line); }
.activity-list { margin: 0; padding: 0; list-style: none; }
.activity-item { position: relative; padding: 0 0 17px 21px; font-size: 10px; color: #9aa7b6; line-height: 1.6; border-left: 1px solid #e7ecf2; margin-left: 5px; }
.activity-item::before { content: ""; position: absolute; left: -4px; top: 4px; width: 7px; height: 7px; border-radius: 50%; background: #d1dce8; border: 1px solid #fff; }
.activity-item:last-child { border-left-color: transparent; padding-bottom: 0; }
.activity-item strong { display: block; font-size: 10px; color: #7e8d9e; font-weight: 500; }
.activity-item { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 15px 0; border: 0; border-bottom: 1px solid #edf1f6; }
.activity-item::before { display: none; }
.activity-icon { width: 24px; height: 24px; border-radius: 50%; background: #eff4f9; display: grid; place-items: center; flex-shrink: 0; color: #94a9bf; }
.activity-icon svg { width: 12px; height: 12px; }
.activity-item > div { flex: 1; }
.activity-item p { margin: 4px 0 0; color: #a6b2c1; font-size: 9px; }
.activity-item > .button { font-size: 9px; padding: 3px 5px; min-height: 24px; }
.activity-item time { display: block; font-size: 9px; color: #afb8c3; margin-top: 2px; }
.activity-empty { color: #aab3bf; font-size: 10px; padding: 3px 0 10px; }

/* Table view keeps horizontal movement inside the workspace. */
.tbl-section { width: 100%; min-width: 0; }
.tbl-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 13px; flex-wrap: wrap; }
.tbl-summary { display: flex; align-items: center; gap: 13px; color: #8f9ba9; font-size: 11px; }
.tbl-summary strong { color: #5e7085; font-weight: 550; }
.tbl-toolbar-actions { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.tbl-draft-strip { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 13px; padding: 11px 13px; border: 1px solid #d8e7f7; border-radius: 4px; background: #edf5fe; color: #6189b0; font-size: 11px; }
.tbl-draft-strip strong { font-weight: 600; }
.tbl-draft-strip > div { display: flex; gap: 7px; align-items: center; flex-wrap: wrap; }
.bulk-bar { padding: 14px; background: #fff; border: 1px solid #dce7f2; border-radius: 4px; margin-bottom: 13px; display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.bulk-heading { width: 100%; display: flex; align-items: center; gap: 8px; color: #7092b3; font-size: 11px; }
.bulk-heading strong { font-weight: 600; }
.bulk-fields { display: flex; align-items: flex-end; gap: 9px; flex-wrap: wrap; flex: 1; }
.bulk-field { display: flex; flex-direction: column; gap: 5px; min-width: 104px; font-size: 9px; color: #8999ab; }
.bulk-field input, .bulk-field select { background: #fff; border: 1px solid #dfe5ed; border-radius: 4px; font-size: 10px; min-height: 30px; padding: 6px 9px; max-width: 165px; width: 100%; }
.bulk-clear-date { display: flex; align-items: center; gap: 5px; color: #96a4b4; font-size: 9px; min-height: 30px; }
.bulk-clear-date input[type="checkbox"] { width: 13px; height: 13px; }
.bulk-actions { display: flex; gap: 7px; }
.tbl-scroll { max-width: 100%; width: 100%; overflow: auto; border: 1px solid #dfe5ec; border-radius: 4px; background: #fff; max-height: calc(100dvh - 315px); min-height: 240px; scrollbar-color: #c6d1de #f3f6fa; scrollbar-width: thin; }
.tbl-scroll::-webkit-scrollbar { height: 9px; width: 9px; }
.tbl-scroll::-webkit-scrollbar-track { background: #f3f6fa; }
.tbl-scroll::-webkit-scrollbar-thumb { background: #c6d1de; border: 2px solid #f3f6fa; border-radius: 5px; }
.tbl-table { border-collapse: separate; border-spacing: 0; min-width: 1890px; width: 100%; table-layout: fixed; font-size: 10px; }
.tbl-table th { position: sticky; top: 0; z-index: 4; background: #f9fafc; height: 42px; color: #8b98a8; font-weight: 550; text-align: left; border-bottom: 1px solid #dfe5ec; padding: 0 11px; white-space: nowrap; font-size: 10px; }
.tbl-table td { border-bottom: 1px solid #edf0f4; height: 64px; padding: 8px 9px; color: #77899e; background: #fff; }
.tbl-table tr:last-child td { border-bottom: 0; }
.tbl-table tbody tr:hover td { background: #fcfdff; }
.tbl-table tbody tr.tbl-row-selected td { background: #f0f7ff; }
.tbl-table td.is-draft { background: #f2f8ff; box-shadow: inset 2px 0 #75a9db; }
.tbl-table tbody tr:hover td.is-draft, .tbl-table tbody tr.tbl-row-selected td.is-draft { background: #eaf4ff; }
.tbl-table th.tbl-check, .tbl-table td.tbl-check { position: sticky; left: 0; width: 44px; min-width: 44px; max-width: 44px; text-align: center; padding: 0; z-index: 3; }
.tbl-table th.tbl-check { z-index: 7; }
.tbl-table th.tbl-identity, .tbl-table td.tbl-identity { position: sticky; left: 44px; width: 210px; min-width: 210px; z-index: 3; border-right: 1px solid #e9eef4; }
.tbl-table th.tbl-identity { z-index: 7; }
.tbl-table .tbl-col-name { width: 210px; }.tbl-table .tbl-col-group { width: 110px; }.tbl-table .tbl-col-level { width: 100px; }.tbl-table .tbl-col-pic { width: 140px; }.tbl-table .tbl-col-invite { width: 140px; }.tbl-table .tbl-col-rsvp { width: 125px; }.tbl-table .tbl-col-due { width: 130px; }.tbl-table .tbl-col-action { width: 230px; }.tbl-table .tbl-col-arrival { width: 125px; }.tbl-table .tbl-col-host { width: 145px; }.tbl-table .tbl-col-seat { width: 100px; }
.tbl-cell-input, .tbl-cell-select { display: block; width: 100%; min-height: 29px; border: 1px solid transparent; border-radius: 3px; padding: 5px 6px; background: transparent; color: #65717f; font-size: 12px; }
.tbl-cell-select { padding-right: 15px; }
.tbl-cell-input:hover, .tbl-cell-select:hover { border-color: #e1e8f0; background: #fff; }
.tbl-cell-input:focus, .tbl-cell-select:focus { border-color: #83add6; background: #fff; box-shadow: 0 0 0 2px #e4f1fe; outline: none; }
.tbl-identity > .tbl-cell-input, .tbl-identity .tbl-cell-input[name="name"] { font-weight: 550; color: #506279; font-size: 12px; }
.tbl-identity > button { background: transparent; border: 0; color: #a5b0be; padding: 2px 6px; font-size: 8px; display: flex; align-items: center; gap: 3px; }
.tbl-identity > button:hover { color: var(--blue); }
.tbl-identity > button svg { width: 9px; height: 9px; }
.tbl-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #a0acbb; font-size: 9px; padding: 13px 2px; line-height: 1.5; }
.review-heading { margin: 0; color: #61758c; font-size: 15px; font-weight: 550; }
.review-heading h2 { margin: 5px 0 0; font-size: 20px; font-weight: 550; letter-spacing: -.35px; }
.review-heading .eyebrow { display: block; font-size: 9px; }
.review-summary { color: #91a0b1; font-size: 11px; margin: 6px 0 20px; }
.review-list { display: grid; gap: 12px; }
.review-guest { border: 1px solid #e4eaf1; border-radius: 4px; padding: 12px 14px; }
.review-guest h3, .review-guest > strong { color: #697f98; font-size: 11px; font-weight: 600; display: block; margin: 0 0 8px; }
.review-guest h3 small { font-size: 8px; color: #a5b0bd; margin-left: 4px; font-weight: 400; }
.review-guest > p { margin: 0 0 8px; color: #a3afbd; font-size: 9px; }
.review-fields { display: grid; gap: 8px; margin: 0; }
.review-fields > div { display: grid; grid-template-columns: 105px 1fr; gap: 7px; align-items: baseline; font-size: 10px; color: #a1adbb; }
.review-fields dt { color: #8d9daf; font-size: 9px; }
.review-fields dd { display: grid; grid-template-columns: 1fr 12px 1fr; gap: 7px; align-items: baseline; margin: 0; }
.review-fields del { color: #b99a9f; text-decoration: line-through; overflow-wrap: anywhere; }
.review-fields ins { color: #72a28c; text-decoration: none; overflow-wrap: anywhere; }
.review-footer { display: flex; justify-content: flex-end; gap: 8px; border-top: 1px solid var(--line); padding: 15px 25px; background: #fcfdfe; }
.tbl-paste-label { display: block; color: #8a9bb0; font-size: 10px; line-height: 1.7; }
.tbl-paste-box { width: 100%; display: block; min-height: 185px; resize: vertical; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; border: 1px solid #dfe7ef; border-radius: 4px; padding: 12px; color: #758ba5; background: #fafcfe; font-size: 10px; margin-top: 7px; line-height: 1.7; }
.field-help { color: #a2afbe; font-size: 9px; line-height: 1.7; margin: 9px 0 0; }
.review-error { color: #bc8189; background: #fcf2f3; padding: 10px 12px; font-size: 10px; line-height: 1.6; border-radius: 4px; }
.tbl-paste-errors { padding: 11px 13px; margin-top: 11px; color: #b47e85; background: #fdf3f4; border-radius: 4px; font-size: 10px; line-height: 1.6; }
.tbl-paste-errors ul { margin: 6px 0 0; padding-left: 15px; }
.tbl-paste-preview { overflow-x: auto; margin-top: 14px; border: 1px solid #e4eaf1; border-radius: 4px; }
.tbl-paste-preview:empty { display: none; }
.tbl-paste-preview > p { font-size: 10px; color: #8b9db2; padding: 0 11px; line-height: 1.6; }
.tbl-paste-preview table { width: 100%; border-collapse: collapse; white-space: nowrap; }
.tbl-paste-preview th, .tbl-paste-preview td { padding: 8px 10px; border-bottom: 1px solid #e8edf3; text-align: left; font-size: 9px; font-weight: 400; color: #8fa0b4; }
.tbl-paste-preview th { background: #f7f9fc; color: #8195ac; }

/* Guest lifecycle and reviewable additions. */
.manager-actions { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.guest-lifecycle-filters { display: inline-flex; gap: 3px; align-items: center; padding: 3px; background: #e9edf2; border-radius: 5px; }
.guest-lifecycle-tab { display: inline-flex; align-items: center; gap: 6px; background: transparent; color: #7b8999; font-size: 11px; padding: 7px 11px; border-radius: 3px; }
.guest-lifecycle-tab.active { background: #fff; color: #526b86; box-shadow: 0 1px 2px #18293d0a; }
.guest-lifecycle-tab > span { font-size: 10px; color: #98a6b7; }
.archive-label { display: inline-flex; align-items: center; color: #7e8c9b; background: #edf0f4; padding: 3px 6px; border-radius: 3px; font-size: 10px; font-weight: 400; line-height: 1; white-space: nowrap; }
.archive-button { color: #886749; background: #fff; border-color: #ddcfc0; }
.archive-button:hover { background: #faf5ef; border-color: #c9b198; }
.manager-form { display: flex; flex-direction: column; min-height: 0; }
.manager-body { min-height: 0; }
.manager-form .form-field { position: relative; font-size: 11px; color: #7c8999; }
.manager-form .form-grid { gap: 15px 16px; }
.manager-form .form-field textarea { min-height: 61px; }
.required-label { position: absolute; right: 0; top: 1px; color: #a8b2bf; font-size: 9px; }
.manager-name-warning { background: #fff8ed; border: 1px solid #f0dfc5; border-radius: 4px; padding: 12px 13px; margin-bottom: 15px; color: #9a7b54; }
.manager-name-warning.full { grid-column: 1 / -1; margin: -3px 0 0; }
.manager-name-warning > strong { display: block; color: #8c6b40; font-size: 12px; font-weight: 550; line-height: 1.5; }
.manager-name-warning > p { margin: 4px 0 9px; color: #a0896d; font-size: 11px; line-height: 1.6; }
.manager-duplicate-list, .manager-record-list { list-style: none; margin: 0; padding: 0; overflow-y: auto; }
.manager-duplicate-list { max-height: 160px; padding: 0 2px; }
.manager-duplicate-list > li, .manager-record-list > li { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; min-height: 33px; padding: 6px 0; border-bottom: 1px solid #eadfcf; }
.manager-duplicate-list > li:last-child, .manager-record-list > li:last-child { border-bottom: 0; }
.manager-record-name { color: #65717f; font-size: 12px; font-weight: 500; overflow-wrap: anywhere; }
.manager-duplicate-list small, .manager-record-list small { color: #a6afba; font-size: 9px; margin-left: auto; }
.manager-duplicate-list > li > div { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; width: 100%; }
.manager-duplicate-list > li > p { width: 100%; color: #a38e74; font-size: 10px; margin: 0; line-height: 1.6; }
.manager-duplicate-list .manager-more { color: #aa967d; font-size: 10px; }
.manager-separate { display: flex; align-items: flex-start; gap: 8px; margin-top: 12px; color: #8e7049; font-size: 11px; line-height: 1.5; cursor: pointer; }
.manager-separate input { margin-top: 1px; flex-shrink: 0; }
.manager-separate span { flex: 1; }
.manager-reception { margin-top: 20px; border-top: 1px solid var(--line); }
.manager-reception > summary { padding: 15px 0 12px; font-size: 11px; font-weight: 500; color: #6b8097; cursor: pointer; }
.manager-reception > summary > span { color: #a5b1bf; font-size: 9px; font-weight: 400; margin-left: 7px; }
.manager-reception .form-grid { margin-top: 4px; }
.manager-error { background: #fdf1f3; border: 1px solid #efd8dd; color: #ae5b68; border-radius: 4px; font-size: 11px; line-height: 1.6; padding: 10px 12px; margin: 15px 0 0; }
.manager-explanation { color: #758496; font-size: 12px; line-height: 1.7; margin: 0 0 17px; }
.manager-record-list { max-height: 260px; border: 1px solid #e4eaf1; border-radius: 4px; padding: 4px 13px; margin-bottom: 18px; }
.manager-record-list > li { border-bottom-color: #edf0f4; min-height: 38px; }
.tbl-row-archived .tbl-cell-input, .tbl-row-archived .tbl-cell-select { color: #8a96a5; }
.tbl-row-archived .tbl-cell-input:disabled, .tbl-row-archived .tbl-cell-select:disabled { opacity: 1; cursor: default; background: transparent; }
.tbl-row-archived .tbl-cell-input:disabled:hover, .tbl-row-archived .tbl-cell-select:disabled:hover { border-color: transparent; }

/* Excel / CSV import preview. */
.modal:not(.profile-modal) #dialog-content:has(> .import-heading) { padding: 24px 25px 0; }
.import-heading h2 { margin: 0; color: #52677f; font-size: 20px; font-weight: 550; letter-spacing: -.35px; }
.import-heading p { color: #8b9aaa; font-size: 11px; line-height: 1.6; margin: 7px 0 18px; }
.import-upload { display: grid; gap: 9px; border: 1px dashed #d0dce9; border-radius: 4px; background: #f8fbfe; padding: 16px; color: #6c839c; font-size: 12px; }
.import-upload input { width: 100%; min-width: 0; max-width: 100%; color: #899caf; font-size: 11px; }
.import-upload input::file-selector-button { border: 1px solid #d2deeb; border-radius: 3px; padding: 6px 9px; margin-right: 9px; background: #fff; color: #6d89a6; font-size: 10px; cursor: pointer; }
.import-settings { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin-top: 17px; }
.import-settings > label { display: flex; flex-direction: column; gap: 6px; color: #8593a3; font-size: 10px; }
.import-settings select { min-width: 0; width: 100%; min-height: 34px; background: #fff; border: 1px solid #dfe6ee; border-radius: 4px; padding: 7px 9px; color: #65717f; font-size: 12px; }
.import-help { color: #94a2b2; font-size: 10px; line-height: 1.7; margin: 12px 0; }
.import-summary { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 17px 0 13px; padding: 11px 13px; border: 1px solid #e3eaf2; border-radius: 4px; background: #f9fbfd; color: #8a9cad; font-size: 10px; }
.import-summary strong { color: #617d99; font-size: 15px; font-weight: 550; margin-right: 3px; }
.import-errors { margin: 12px 0; border: 1px solid #efd8dd; border-radius: 4px; padding: 11px 13px; background: #fff4f6; color: #b16c78; font-size: 11px; line-height: 1.6; }
.import-errors ul { margin: 7px 0 0; padding-left: 17px; }
.import-scroll { max-width: 100%; max-height: 310px; overflow: auto; border: 1px solid #e1e8ef; border-radius: 4px; margin-top: 12px; scrollbar-width: thin; }
.import-table { width: 100%; min-width: 680px; border-collapse: separate; border-spacing: 0; table-layout: fixed; font-size: 11px; color: #6c7b8d; }
.import-table th { position: sticky; top: 0; z-index: 1; background: #f8fafc; color: #8b9aac; font-size: 10px; font-weight: 500; text-align: left; height: 34px; padding: 8px 10px; border-bottom: 1px solid #e0e7ef; }
.import-table td { padding: 10px; border-bottom: 1px solid #edf1f6; background: #fff; line-height: 1.5; vertical-align: top; overflow-wrap: anywhere; }
.import-table tr:last-child td { border-bottom: 0; }
.import-table th:first-child, .import-table td:first-child { width: 48px; text-align: center; }
.import-table th:nth-child(2) { width: 155px; }.import-table th:nth-child(3) { width: 80px; }.import-table th:nth-child(4) { width: 110px; }.import-table th:nth-child(5) { width: 96px; }
.import-row-invalid td { background: #fff7f8; }
.import-row-duplicate td { background: #fffcf6; }
.import-row-skipped td { color: #acb6c2; background: #fafbfd; }
.import-row-skipped .import-status { opacity: .7; }
.import-status { display: inline-flex; align-items: center; font-size: 10px; line-height: 1.2; border-radius: 3px; padding: 3px 5px; color: #7b8e9f; background: #f0f4f8; white-space: nowrap; }
.import-status.valid { color: #5b8c74; background: #eaf5ee; }
.import-status.warning { color: #ae8853; background: #fcf1df; }
.import-status.error { color: #b7707b; background: #fbe9ed; }
.import-issue { color: #a1927d; font-size: 10px; line-height: 1.5; }
.import-check { display: inline-flex; align-items: center; gap: 5px; color: #9a815f; font-size: 10px; line-height: 1.5; }
.import-check input { flex-shrink: 0; }
.import-footer { display: flex; justify-content: flex-end; align-items: center; gap: 8px; flex-wrap: wrap; padding: 16px 25px; margin: 22px -25px 0; border-top: 1px solid var(--line); background: #fcfdfe; }
.import-footer > .text-button, .import-footer > .button.text { margin-right: auto; }
.modal #dialog-content > [data-import-root] { display: flex; flex-direction: column; min-height: 0; max-height: inherit; }
.modal #dialog-content:has(> [data-import-root]) { overflow: hidden; }
[data-import-root] > .modal-header, [data-import-root] > .modal-footer { flex-shrink: 0; }
[data-import-root] > .modal-body { min-height: 0; }
[data-import-root] .import-heading h2 { font-size: 17px; }
[data-import-root] .import-heading p { font-size: 10px; margin: 5px 0 0; }
[data-import-root] .import-footer { margin: 0; }
.import-upload > [data-import-file-label] { color: #9aacbd; font-size: 10px; overflow-wrap: anywhere; }
.import-summary > div { display: flex; align-items: baseline; gap: 5px; flex: 1; min-width: 70px; }
.import-table th:first-child, .import-table td:first-child { width: 78px; }
.import-table td.import-check { display: table-cell; vertical-align: top; }
.import-check > label { display: flex; align-items: center; flex-direction: column; gap: 5px; color: #9b8669; font-size: 9px; line-height: 1.4; }
.import-check > label > input { margin-top: 2px; }
.import-table td > strong { display: block; font-size: 12px; color: #657587; font-weight: 550; }
.import-table td > small { display: block; color: #aab4c1; font-size: 9px; margin-top: 3px; }
.import-issue { padding-left: 13px; margin: 0 0 7px; }
.import-table details { color: #91a1b4; font-size: 9px; }
.import-table details > summary { cursor: pointer; }
.import-table details dl { max-height: 170px; overflow-y: auto; margin: 7px 0 0; }
.import-table details dl > div { display: grid; grid-template-columns: 70px minmax(0,1fr); gap: 5px; padding: 3px 0; }
.import-table details dt { color: #a1adbb; }
.import-table details dd { color: #7f92a9; margin: 0; }

@media (max-width: 640px) {
  .manager-actions { gap: 5px; }
  .manager-actions .button { padding: 7px 8px; min-height: 29px; font-size: 10px; }
  .guest-lifecycle-filters { gap: 1px; }
  .guest-lifecycle-tab { padding: 6px 9px; font-size: 10px; }
  .guest-lifecycle-tab > span { font-size: 9px; }
  .manager-form .form-grid { gap: 14px 12px; }
  .manager-record-list { max-height: 230px; padding-left: 10px; padding-right: 10px; }
  .manager-duplicate-list small, .manager-record-list small { font-size: 8px; }
  .manager-explanation { font-size: 11px; }
  .manager-name-warning { padding: 11px; }
  .manager-duplicate-list > li { align-items: flex-start; }
  .modal:not(.profile-modal) #dialog-content:has(> .import-heading) { padding: 20px 19px 0; }
  .import-heading h2 { font-size: 19px; }
  .import-upload { padding: 13px; font-size: 11px; }
  .import-settings { gap: 10px; margin-top: 14px; }
  .import-summary { gap: 9px; font-size: 9px; padding: 10px; }
  .import-summary strong { font-size: 14px; }
  .import-footer { padding: 13px 19px; margin-left: -19px; margin-right: -19px; gap: 6px; }
  .import-footer .button { font-size: 10px; padding: 7px 9px; }
  [data-import-root] .import-footer > .button.text { width: 100%; justify-content: flex-start; padding-left: 0; }
  .import-scroll { max-height: 260px; }
}

@media (min-width: 1600px) {
  .main-content { padding-left: 39px; padding-right: 39px; }
  .board { gap: 24px; }
  .guest-card { padding-left: 19px; padding-right: 19px; }
  .vip-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
}
@media (max-width: 1120px) {
  .app-shell { grid-template-columns: 58px 178px minmax(0,1fr); }
  .icon-rail { padding-left: 5px; padding-right: 5px; }
  .event-sidebar { padding-left: 13px; padding-right: 13px; }
  .event-name { font-size: 14px; }
  .main-content { padding-left: 23px; padding-right: 23px; }
  .top-header { padding-left: 23px; padding-right: 23px; }
  .main-area > .view-tabs { padding-left: 23px; padding-right: 23px; }
  .summary-item { padding-left: 16px; padding-right: 16px; min-width: 85px; }
  .board { gap: 13px; }
  .guest-card { padding: 15px 12px 0; }
  .guest-top { gap: 8px; }
  .guest-name { font-size: 13px; }
  .person-avatar { width: 33px; height: 33px; font-size: 10px; }
  .card-action { font-size: 10px; }
  .vip-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .vip-card { padding-left: 15px; padding-right: 15px; }
}
@media (max-width: 880px) and (min-width: 641px) {
  .app-shell { grid-template-columns: 54px 158px minmax(0,1fr); }
  .icon-rail { padding-left: 3px; padding-right: 3px; }
  .sidebar-item { padding-left: 9px; padding-right: 9px; font-size: 11px; gap: 7px; }
  .event-sidebar { padding-left: 11px; padding-right: 11px; }
  .main-content { padding: 23px 19px 30px; }
  .top-header { padding: 16px 19px; min-height: 67px; }
  .board { gap: 11px; }
  .guest-top { flex-wrap: wrap; }
  .guest-top .guest-info { flex-basis: calc(100% - 41px); }
  .guest-top > .icon-button { display: none; }
  .guest-affiliation { font-size: 12px; }
  .guest-card { padding-left: 10px; padding-right: 10px; }
  .card-footer { flex-wrap: wrap; }
  .summary-item { padding: 0 10px; gap: 6px; min-width: 75px; }
  .summary-item strong { font-size: 19px; }
  .summary-item span { font-size: 9px; }
  .search-field { width: 196px; }
  .save-state { display: none; }
  .header-actions { gap: 9px; }
  .view-tabs { gap: 20px; }
  .header-date { display: none; }
  .summary-link { font-size: 9px; margin: 0 12px; }
  .page-head-actions .button { padding-left: 9px; padding-right: 9px; }
}
@media (max-width: 640px) {
  .app-shell { display: block; }
  .icon-rail { display: none; }
  .event-sidebar { position: relative; height: auto; padding: 13px 17px 0; display: grid; grid-template-columns: 36px minmax(0,1fr); column-gap: 11px; overflow: visible; border-right: 0; border-bottom: 1px solid var(--line); }
  .event-logo { width: 35px; height: 35px; font-size: 13px; grid-row: 1 / 4; margin: 0; align-self: center; }
  .event-name { font-size: 13px; line-height: 1.4; margin: 0 0 2px; }
  .event-date { font-size: 9px; line-height: 1.5; }
  .prototype-label { display: none; }
  .event-location { display: none; }
  .event-meta { margin: 0; font-size: 9px; }
  .sidebar-nav { grid-column: 1 / -1; display: flex; gap: 15px; margin: 14px 0 0; }
  .sidebar-item { min-height: 35px; width: auto; border-radius: 0; font-size: 10px; padding: 9px 0; gap: 5px; border-bottom: 2px solid transparent; }
  .sidebar-item svg { width: 13px; height: 13px; }
  .sidebar-item.active { background: transparent; border-bottom-color: #3987d0; }
  .sidebar-item .count-badge { display: none; }
  .nav-section, .group-item, .sidebar-footer { display: none; }
  .top-header { min-height: 44px; padding: 8px 17px; gap: 8px; }
  .header-date { display: none; }
  .event-breadcrumb { font-size: 9px; gap: 5px; }
  .event-breadcrumb > span:first-child { display: none; }
  .header-actions { gap: 8px; }
  .save-state { font-size: 8px; gap: 3px; }
  .save-state svg { width: 11px; height: 11px; }
  .account-badge { font-size: 9px; gap: 5px; }
  .account-avatar { width: 23px; height: 23px; font-size: 8px; }
  .main-content { padding: 19px 17px 30px; }
  .page-head { gap: 10px; margin-bottom: 17px; align-items: center; }
  .page-title { font-size: 21px; letter-spacing: -.55px; }
  .page-subtitle { font-size: 9px; margin-top: 5px; }
  .page-subtitle { display: none; }
  .page-actions { gap: 4px; }
  .page-actions .button { min-height: 29px; padding: 6px 8px; font-size: 9px; gap: 4px; }
  .page-actions .button svg { width: 12px; height: 12px; }
  .page-head-actions { gap: 5px; }
  .page-head-actions .button { font-size: 9px; padding: 7px 8px; min-height: 29px; gap: 4px; }
  .page-head-actions .button svg { width: 13px; height: 13px; }
  .page-head-actions .button.secondary { display: none; }
  .view-tabs { display: none; }
  .toolbar { gap: 7px; margin-bottom: 15px; }
  .search-field { width: auto; flex: 1 1 165px; }
  .search-field input { min-height: 32px; font-size: 10px; padding-top: 7px; padding-bottom: 7px; }
  .filters { gap: 6px; }
  .filter-select { min-height: 32px; padding: 7px 23px 7px 8px; max-width: 132px; font-size: 10px; }
  .pic-filter { min-height: 32px; padding: 3px 6px; gap: 4px; }
  .pic-filter .person-avatar { width: 20px; height: 20px; font-size: 6px; }
  .pic-filter select { min-height: 23px; max-width: 100px; font-size: 10px; }
  .filter-label { display: none; }
  .filter-pills { gap: 0; }
  .filter-pill { font-size: 9px; padding: 5px 6px; }
  .summary-strip { margin-bottom: 17px; padding: 13px 0; }
  .summary-item { padding: 0 10px; min-width: 0; gap: 4px; flex-direction: row; }
  .summary-item strong { font-size: 18px; }
  .summary-item span { font-size: 8px; }
  .summary-link { display: none; }
  .board-filters { gap: 4px; margin-bottom: 12px; }
  .filter-chip { font-size: 9px; padding: 6px; gap: 4px; }
  .filter-chip > span { font-size: 8px; }
  .result-count { display: none; }
  .readiness-banner { margin-bottom: 17px; padding: 10px 12px; gap: 8px; }
  .readiness-banner .banner-title { gap: 6px; font-size: 10px; }
  .readiness-banner .banner-title svg { width: 13px; height: 13px; }
  .readiness-banner p { font-size: 8px; margin: 3px 0 0 19px; }
  .readiness-banner .button { min-height: 25px; padding: 4px 6px; font-size: 9px; }
  .readiness-banner > span { font-size: 9px; }
  .board { display: flex; gap: 13px; overflow-x: auto; align-items: stretch; padding-bottom: 10px; scroll-snap-type: x proximity; scrollbar-width: thin; }
  .board-column { flex: 0 0 calc(100% - 28px); max-width: 350px; scroll-snap-align: start; }
  .column-head { font-size: 11px; margin-bottom: 10px; min-height: 26px; }
  .guest-card { padding: 16px 15px 0; margin-bottom: 11px; }
  .guest-top { gap: 10px; }
  .person-avatar { width: 38px; height: 38px; font-size: 11px; }
  .guest-name { font-size: 13px; }
  .guest-affiliation { font-size: 12px; }
  .card-action { font-size: 11px; }
  .guest-tags { margin-bottom: 12px; }
  .vip-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; }
  .vip-card { padding: 14px 12px 0; }
  .vip-card.ready, .vip-card.needs-attention { padding-top: 13px; }
  .vip-card .guest-top { gap: 8px; flex-wrap: wrap; }
  .vip-card .person-avatar { width: 34px; height: 34px; font-size: 10px; }
  .vip-card .guest-info { flex: 1 1 calc(100% - 42px); }
  .vip-card .guest-name { font-size: 13px; }
  .vip-card .guest-affiliation { font-size: 12px; }
  .vip-card .guest-tags { gap: 4px; }
  .vip-card .tag, .vip-card .level-tag { font-size: 10px; }
  .check-row { font-size: 12px; min-height: 28px; gap: 5px; flex-wrap: wrap; }
  .check-row .check-value { font-size: 8px; max-width: 50%; }
  .check-row > strong { font-size: 12px; max-width: 50%; }
  .vip-card .card-footer { flex-wrap: wrap; }
  .readiness-caption { font-size: 9px; }
  .readiness-caption strong { font-size: 9px; }
  .vip-status { font-size: 8px; }
  .section-note { font-size: 9px; }
  .modal-backdrop, .modal-overlay { padding: 12px; }
  .modal { max-height: calc(100dvh - 24px); }
  .modal.profile-modal { width: 100%; }
  .modal-header { padding: 16px 19px; }
  .modal-body { padding: 20px 19px; }
  .modal-footer { padding: 13px 19px; }
  .profile-meta h2 { font-size: 20px; }
  .profile-modal .profile-header { padding: 20px 19px 18px; }
  .profile-tabs { padding-left: 19px; padding-right: 19px; }
  .profile-header > div > h2 { font-size: 19px; }
  .person-avatar.header-avatar { width: 23px; height: 23px; font-size: 8px; }
  .form-grid { gap: 14px 12px; }
  .form-field input, .form-field select, .form-field textarea { font-size: 12px; min-height: 38px; }
  .form-field label { font-size: 10px; }
  .tbl-toolbar { gap: 9px; }
  .tbl-toolbar-actions { gap: 5px; }
  .tbl-toolbar-actions .button { font-size: 9px; padding: 7px 8px; min-height: 29px; }
  .tbl-summary { font-size: 9px; }
  .tbl-draft-strip { padding: 9px 10px; font-size: 9px; flex-wrap: wrap; }
  .tbl-draft-strip .button { font-size: 9px; min-height: 27px; padding: 5px 7px; }
  .tbl-scroll { max-height: calc(100dvh - 300px); min-height: 220px; }
  .tbl-table th.tbl-identity, .tbl-table td.tbl-identity { width: 162px; min-width: 162px; }
  .tbl-table .tbl-col-name { width: 162px; }
  .tbl-table td { height: 62px; }
  .bulk-bar { padding: 11px; gap: 10px; }
  .bulk-fields { display: grid; grid-template-columns: 1fr 1fr; width: 100%; gap: 9px; }
  .bulk-field { min-width: 0; }
  .bulk-field input, .bulk-field select { max-width: none; font-size: 10px; min-height: 33px; }
  .bulk-actions { width: 100%; justify-content: flex-end; }
  .tbl-footer { align-items: flex-start; font-size: 8px; }
  .review-fields > div { grid-template-columns: 80px 1fr; font-size: 9px; gap: 5px; }
  .review-fields dd { grid-template-columns: 1fr 10px 1fr; gap: 5px; }
  .review-fields dt { font-size: 8px; }
  .review-footer { padding: 13px 19px; }
  .toast { bottom: 15px; font-size: 11px; padding: 10px 13px; }
}
@media (max-width: 400px) {
  .sidebar-nav { justify-content: space-between; gap: 10px; }
  .sidebar-item { font-size: 9px; }
  .main-content { padding-left: 14px; padding-right: 14px; }
  .top-header { padding-left: 14px; padding-right: 14px; }
  .account-badge > span:last-child { display: none; }
  .vip-grid { grid-template-columns: 1fr; gap: 13px; }
  .vip-card { padding-left: 16px; padding-right: 16px; }
  .vip-card .guest-top { flex-wrap: nowrap; }
  .vip-card .guest-name { font-size: 13px; }
  .vip-card .guest-affiliation { font-size: 12px; }
  .vip-card .person-avatar { width: 41px; height: 41px; font-size: 12px; }
  .check-row { font-size: 12px; }
  .check-row .check-value { font-size: 9px; max-width: 60%; }
  .check-row > strong { font-size: 12px; max-width: 60%; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
