:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --ink: #272631;
  --muted: #4b5d75;
  --line: var(--rally-palette-tint,#eff5ff);
  --primary: var(--rally-palette-primary,#155eef);
  --primary-hover: var(--rally-palette-primary,#155eef);
  --purple: #4b5d75;
  --sidebar: #16243a;
  --radius: 14px;
  --shadow: 0 3px 12px rgba(38, 30, 51, .025);
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-synthesis: none;
  color: var(--ink);
  background: var(--bg);
  font-size:14px;
  line-height: 1.5;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--primary-hover); }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--rally-palette-control,#aabed8);
  outline-offset: 3px;
}
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { font-family: 'Manrope', 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-weight: 750; line-height: 1.3; letter-spacing: -.035em; }
h1 { font-size:29px; margin-bottom: 8px; }
h2 { font-size:18px; margin-bottom: 10px; }
h3 { font-size:15px; margin-bottom: 8px; }
h4 { font-size:14px; margin-bottom: 7px; }
p { margin-bottom: 12px; }
svg { flex-shrink: 0; vertical-align: middle; }
button svg, a svg { pointer-events: none; }
small { font-size:14px; }
strong { font-weight: 650; }
.muted { color: var(--muted); }
.eyebrow { color: var(--muted); font-size:14px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.text-link { border: 0; background: transparent; padding: 0; color: var(--purple); font-weight: 650; font-size:14px; }
.text-link:hover { color: #4b5d75; }
.subtle { font-size:14px; color: var(--muted); }
.no-wrap { white-space: nowrap; }
.spacer { flex: 1; }
.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; }

#app { min-height: 100vh; display: flex; }
.sidebar { width: 230px; flex-shrink: 0; position: fixed; inset: 0 auto 0 0; background: var(--sidebar); color: #4b5d75; display: flex; flex-direction: column; padding: 27px 18px 19px; z-index: 35; overflow-y: auto; }
.brand { display: flex; align-items: center; gap: 10px; color: white; font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-size:28px; font-weight: 800; letter-spacing: -.07em; padding: 0 12px; margin-bottom: 30px; }
.brand-mark, .logo-mark { width: 31px; height: 32px; display: inline-flex; align-items: center; justify-content: center; color: var(--primary); }
.brand small { align-self: center; margin: 4px 0 0 3px; padding: 3px 5px; font-family: 'DM Sans', sans-serif; letter-spacing: .04em; font-size:14px; font-weight: 650; color: #4b5d75; background: var(--rally-palette-primary,#155eef); border-radius: 4px; }
.brand-subtitle { font-size:14px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: #4b5d75; padding-left: 12px; margin-top: -25px; margin-bottom: 29px; }
.workspace-switch { width: 100%; border: 1px solid var(--rally-palette-control,#aabed8); border-radius: 9px; display: flex; align-items: center; gap: 9px; padding: 10px 11px; background: var(--rally-palette-primary,#155eef); color: #4b5d75; text-align: left; margin-bottom: 27px; font-size:14px; }
.workspace-switch .avatar { border-radius: 7px; background: #f3d1bf; color: #563f42; font-size:14px; width: 29px; height: 29px; }
.workspace-switch small { display: block; color: #4b5d75; font-size:14px; margin-top: 1px; }
.workspace-switch > svg:last-child { margin-left: auto; color: #4b5d75; }
.nav-label { font-size:14px; font-weight: 600; letter-spacing: .11em; text-transform: uppercase; color: #4b5d75; padding: 0 13px; margin: 22px 0 8px; }
.nav-item { display: flex; gap: 11px; align-items: center; width: 100%; min-height: 41px; padding: 10px 13px; border: 0; border-radius: 7px; background: transparent; color: #4b5d75; text-align: left; font-size:14px; font-weight: 500; margin: 3px 0; transition: background .15s, color .15s; }
.nav-item svg { width: 17px; height: 17px; opacity: .85; }
.nav-item:hover { color: #fff; background: var(--rally-palette-primary,#155eef); }
.nav-item.active { background: var(--rally-palette-primary,#155eef); color: #ffc6b7; box-shadow: inset 3px 0 var(--primary); }
.nav-item.active svg { color: #f18b70; opacity: 1; }
.nav-count { margin-left: auto; border-radius: 5px; padding: 1px 5px; min-width: 19px; text-align: center; font-size:14px; line-height: 17px; background: var(--rally-palette-primary,#155eef); color: #4b5d75; }
.nav-item.active .nav-count { background: #67464c; color: #fbc7b9; }
.sidebar-footer { margin-top: auto; padding-top: 28px; }
.sidebar-help { border: 1px solid var(--rally-palette-control,#aabed8); padding: 13px; border-radius: 9px; margin: 12px 3px; font-size:14px; color: #4b5d75; line-height: 1.55; }
.sidebar-help strong { display: block; color: #4b5d75; margin-bottom: 5px; }
.sidebar-help p { margin-bottom: 9px; }
.sidebar-help .btn { border-color: var(--rally-palette-control,#aabed8); background: var(--rally-palette-primary,#155eef); color: #4b5d75; width: 100%; justify-content: center; padding: 6px 8px; font-size:14px; }
.sidebar-user { display: flex; gap: 9px; align-items: center; padding: 12px 9px 0; border-top: 1px solid var(--rally-palette-control,#aabed8); margin-top: 20px; }
.sidebar-user strong { font-size:14px; display: block; color: #4b5d75; }
.sidebar-user small { font-size:14px; color: #4b5d75; }
.sidebar-user .avatar { width: 30px; height: 30px; font-size:14px; background: var(--rally-palette-primary,#155eef); color: #4b5d75; }
.workspace { margin-left: 230px; min-width: 0; flex: 1; }
.topbar { height: 74px; padding: 0 35px; background: rgba(255,255,255,.93); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 15px; justify-content: space-between; }
.breadcrumbs { display: flex; align-items: center; gap: 10px; font-size:14px; color: #4b5d75; }
.breadcrumbs strong { color: #4b5d75; font-weight: 500; }
.breadcrumbs svg { color: #4b5d75; width: 12px; height: 12px; }
.top-actions { display: flex; align-items: center; gap: 15px; }
.top-actions .avatar { width: 31px; height: 31px; font-size:14px; background: #e9d8cf; color: #765d52; }
.topbar-divider { height: 22px; width: 1px; background: var(--line); }
.topbar-search { display: flex; align-items: center; gap: 8px; font-size:14px; color: #4b5d75; border: 0; background: transparent; }
.topbar-search kbd { margin-left: 25px; border: 1px solid var(--rally-palette-line,#dce5f0); padding: 1px 5px; font-family: inherit; font-size:14px; border-radius: 4px; }
.mobile-toggle { display: none; }
.content { max-width: 1590px; margin: 0 auto; padding: 29px 35px 40px; }
.page-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 24px; }
.page-heading h1 { margin: 0 0 5px; }
.page-heading p { color: var(--muted); font-size:14px; margin: 0; }
.heading-actions { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.btn { border: 1px solid var(--rally-palette-line,#dce5f0); background: #fff; color: #4b5d75; border-radius: 7px; padding: 9px 13px; min-height: 36px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; font-size:14px; font-weight: 650; line-height: 1.4; white-space: nowrap; transition: background .15s, border-color .15s, transform .15s; }
.btn:hover { color: #16243a; border-color: var(--rally-palette-control,#aabed8); background: #f7f9fc; }
.btn:active { transform: translateY(1px); }
.btn.primary, .btn-primary { color: #fff; background: var(--primary); border-color: var(--primary); box-shadow: 0 3px 4px var(--rally-palette-button-shadow,#155eef16); }
.btn.primary:hover, .btn-primary:hover { color: white; background: var(--primary-hover); border-color: var(--primary-hover); }
.btn.ghost { border-color: transparent; background: transparent; color: #4b5d75; }
.btn.ghost:hover { background: var(--rally-palette-tint,#eff5ff); color: #4b5d75; }
.btn.small { padding: 6px 10px; font-size:14px; min-height: 29px; }
.btn.danger { color: #ba4b48; background: #fff3f2; border-color: #f3dddb; }
.btn svg { width: 14px; height: 14px; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; color: #4b5d75; border: 0; background: transparent; padding: 6px; width: 30px; height: 30px; border-radius: 6px; flex-shrink: 0; }
.icon-btn:hover { background: var(--rally-palette-tint,#eff5ff); color: #4b5d75; }
.icon-btn svg { width: 17px; height: 17px; }
.notification-dot { position: relative; }
.notification-dot:after { position: absolute; content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--primary); top: 5px; right: 6px; border: 1px solid white; }
.portal-bar { padding: 10px 14px; border: 1px solid var(--rally-palette-line,#dce5f0); background: var(--rally-palette-tint,#eff5ff); border-radius: 9px; display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 22px; color: #4b5d75; font-size:14px; }
.portal-bar strong { color: #4b5d75; }
.portal-switch { display: flex; align-items: center; padding: 3px; border: 1px solid var(--rally-palette-line,#dce5f0); background: white; border-radius: 7px; gap: 3px; }
.portal-switch button { border: 0; border-radius: 5px; padding: 5px 10px; font-size:14px; background: transparent; color: #4b5d75; }
.portal-switch button.active { color: #4b5d75; background: var(--rally-palette-tint,#eff5ff); font-weight: 650; }

.event-hero { display: flex; justify-content: space-between; position: relative; overflow: hidden; min-height: 206px; border-radius: var(--radius); padding: 29px 31px; margin-bottom: 22px; background: #f8ece7; border: 1px solid #f0e0d9; }
.hero-info { position: relative; z-index: 2; }
.event-hero .eyebrow { color: #b78672; font-size:14px; letter-spacing: .13em; }
.event-hero h2 { font-size:26px; margin: 10px 0 12px; color: #48343c; font-weight: 800; }
.event-meta { display: flex; gap: 18px; color: #886b61; font-size:14px; flex-wrap: wrap; }
.event-meta span { display: inline-flex; align-items: center; gap: 6px; }
.event-meta svg { width: 13px; height: 13px; color: #bc9181; }
.hero-pills { display: flex; align-items: center; gap: 8px; margin-top: 18px; }
.hero-pills .badge { background: #ffffff9c; border: 1px solid #e7d2c9; color: #9c7869; padding: 4px 9px; font-size:14px; }
.hero-art { position: absolute; right: 0; width: 40%; height: 100%; top: 0; background: radial-gradient(ellipse at 70% 100%, #f4c7b555, transparent 70%); pointer-events: none; }
.hero-art .orbit, .orbit { width: 215px; height: 215px; border: 1px solid #e7bfae; border-radius: 50%; position: absolute; right: -10px; top: -50px; transform: rotate(-30deg); }
.hero-art .orbit:nth-child(2) { width: 285px; height: 285px; right: -45px; top: -85px; opacity: .65; }
.hero-art .orbit:nth-child(3) { width: 355px; height: 355px; right: -80px; top: -120px; opacity: .4; }
.hero-art .orbit:nth-child(4) { width: 425px; height: 425px; right: -115px; top: -155px; opacity: .25; }
.hero-art .star { color: #bf715e; position: absolute; right: 75px; top: 40px; transform: rotate(-14deg); }
.hero-art .star svg { width: 105px; height: 105px; stroke-width: .6; }
.hero-stamp { position: absolute; right: 28px; bottom: 21px; font-size:14px; color: #bd9989; text-transform: uppercase; letter-spacing: .13em; z-index: 2; }
.hero-countdown { align-self: center; z-index: 2; color: #9d6b61; text-align: center; margin-right: 10px; min-width: 122px; border-left: 1px solid #e9cfc4; padding-left: 25px; }
.hero-countdown strong { display: block; font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-size:38px; font-weight: 800; line-height: 1.2; letter-spacing: -.06em; }
.hero-countdown span { font-size:14px; }

.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 17px; margin-bottom: 23px; }
.stat-card { position: relative; border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 18px 19px; box-shadow: var(--shadow); }
.stat-label { color: #4b5d75; font-size:14px; font-weight: 500; display: block; margin-bottom: 10px; }
.stat-value { font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-size:27px; font-weight: 750; letter-spacing: -.05em; line-height: 1.2; color: #16243a; margin-bottom: 9px; }
.stat-note { font-size:14px; color: #4b5d75; display: flex; align-items: center; gap: 5px; }
.stat-note .positive { color: #7b9b85; }
.stat-icon { position: absolute; top: 17px; right: 16px; color: #4b5d75; background: var(--rally-palette-tint,#eff5ff); width: 29px; height: 29px; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.stat-icon svg { width: 14px; height: 14px; }
.stat-icon.coral { color: #d98a72; background: #fdf0ea; }
.stat-icon.green { color: #8aa594; background: #f0f6f1; }
.stat-icon.gold, .stat-icon.amber { color: #bea16c; background: #fbf6eb; }
.grid-2 { display: grid; grid-template-columns: 1.35fr 1fr; gap: 21px; margin-bottom: 21px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; margin-bottom: 21px; }
.panel { border: 1px solid var(--line); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.panel + .panel { margin-top: 20px; }
.grid-2 > .panel + .panel, .grid-3 > .panel + .panel { margin-top: 0; }
.panel-head { min-height: 65px; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 21px; border-bottom: 1px solid var(--line); }
.panel-head h2, .panel-head h3 { margin: 0; font-size:14px; font-weight: 750; letter-spacing: -.02em; display: flex; align-items: center; gap: 9px; }
.panel-head p { margin: 4px 0 0; font-size:14px; color: var(--muted); }
.panel-head > .text-link { font-size:14px; color: #4b5d75; }
.panel-body { padding: 20px 21px; }
.panel-footer { padding: 12px 21px; border-top: 1px solid var(--line); font-size:14px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; margin: 26px 0 14px; }
.section-heading h2 { font-size:16px; margin: 0; }
.badge { display: inline-flex; align-items: center; gap: 4px; border-radius: 5px; padding: 3px 7px; font-size:14px; font-weight: 550; white-space: nowrap; line-height: 1.6; background: var(--rally-palette-tint,#eff5ff); color: #4b5d75; }
.badge.green { background: #edf5f0; color: #48775b; }
.badge.amber { background: #fcf4e6; color: #8c6b2f; }
.badge.purple { background: var(--rally-palette-tint,#eff5ff); color: #4b5d75; }
.badge.gray { background: var(--rally-palette-tint,#eff5ff); color: #4b5d75; }
.badge.coral, .badge.red { background: #fdefe9; color: #a1634f; }
.badge.blue { background: #eaf2fa; color: #527a9f; }
.badge .dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.progress { height: 5px; background: var(--rally-palette-tint,#eff5ff); border-radius: 5px; overflow: hidden; }
.progress > span, .progress > div { height: 100%; display: block; border-radius: 5px; background: var(--rally-palette-tint,#eff5ff); }
.progress.coral > span, .progress.coral > div { background: #e99d86; }
.tabs { display: flex; gap: 23px; align-items: center; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.tab { padding: 11px 0 13px; background: transparent; border: 0; border-bottom: 2px solid transparent; color: #4b5d75; font-size:14px; }
.tab.active { color: #4b5d75; border-bottom-color: var(--rally-palette-control,#aabed8); font-weight: 650; }
.tab:hover { color: var(--purple); }

.task-row { display: flex; gap: 11px; align-items: center; padding: 13px 21px; border-bottom: 1px solid var(--rally-palette-line,#dce5f0); }
.task-row:last-child { border-bottom: 0; }
.task-row strong { display: block; font-size:14px; font-weight: 500; }
.task-row .muted { font-size:14px; margin-top: 3px; }
.task-row .badge { margin-left: auto; font-size:14px; }
.task-row > .avatar { margin-left: 8px; width: 24px; height: 24px; font-size:14px; }
.task-check { display: inline-flex; justify-content: center; align-items: center; width: 15px; height: 15px; padding: 0; border-radius: 4px; border: 1px solid var(--rally-palette-line,#dce5f0); color: white; background: white; flex-shrink: 0; }
.task-check.done, .task-check[aria-pressed='true'] { background: var(--rally-palette-tint,#eff5ff); border-color: var(--rally-palette-control,#aabed8); }
.task-check svg { width: 10px; height: 10px; }
.task-row:has(.task-check.done) strong { color: #4b5d75; text-decoration: line-through; }
.list-row { display: flex; align-items: center; gap: 11px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.list-row:last-child { border-bottom: 0; }
.list-row strong { display: block; font-size:14px; }
.list-row p, .list-row .muted { font-size:14px; margin: 3px 0 0; }
.avatar { display: inline-flex; justify-content: center; align-items: center; width: 34px; height: 34px; border-radius: 50%; color: #4b5d75; background: var(--rally-palette-tint,#eff5ff); font-size:14px; font-weight: 650; flex-shrink: 0; }
.avatar.coral { color: #ba8c7b; background: #f6e6dc; }
.avatar.green { color: #87a08d; background: #eaf1e8; }
.avatar.gold { color: #9a7b47; background: #f6f0de; }
.avatar-stack { display: flex; padding-left: 0; }
.avatar-stack .avatar { margin-left: -7px; border: 2px solid white; width: 27px; height: 27px; font-size:14px; }
.avatar-stack .avatar:first-child { margin-left: 0; }
.activity-row { display: flex; gap: 11px; padding: 10px 0; font-size:14px; }
.activity-row .activity-icon { width: 27px; height: 27px; display: flex; align-items: center; justify-content: center; color: #4b5d75; background: var(--rally-palette-tint,#eff5ff); border-radius: 50%; flex-shrink: 0; }
.activity-row p { margin: 0 0 3px; }
.activity-row .muted { font-size:14px; }
.activity-row svg { width: 12px; height: 12px; }

.table-wrap { width: 100%; overflow: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size:14px; }
th { background: #f7f9fc; color: #4b5d75; padding: 11px 20px; font-size:14px; text-transform: uppercase; letter-spacing: .04em; font-weight: 500; white-space: nowrap; border-bottom: 1px solid var(--line); }
td { padding: 14px 20px; border-bottom: 1px solid var(--rally-palette-line,#dce5f0); color: #4b5d75; vertical-align: middle; }
td strong { font-weight: 550; color: #4b5d75; }
td small { display: block; color: #4b5d75; font-size:14px; margin-top: 3px; }
td .avatar { width: 30px; height: 30px; font-size:14px; }
td .cell-main { display: flex; align-items: center; gap: 9px; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #f7f9fc; }
td:last-child .icon-btn { margin: -6px; }
.toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 19px; }
.toolbar .tabs { margin-bottom: 0; border: 0; gap: 6px; }
.toolbar .tab { padding: 7px 12px; border-radius: 7px; border: 1px solid transparent; }
.toolbar .tab.active { border-color: var(--rally-palette-line,#dce5f0); color: #4b5d75; background: var(--rally-palette-tint,#eff5ff); }
.search-input { border: 1px solid var(--rally-palette-line,#dce5f0); background: white; border-radius: 7px; color: #4b5d75; padding: 9px 12px; font-size:14px; width: 245px; max-width: 100%; min-height: 36px; }
.search-input::placeholder { color: #4b5d75; }
.search-wrap { position: relative; }
.search-wrap svg { position: absolute; left: 11px; top: 11px; color: #4b5d75; width: 14px; height: 14px; }
.search-wrap .search-input { padding-left: 33px; }
.filter-select { border: 1px solid var(--rally-palette-line,#dce5f0); color: #4b5d75; padding: 8px 11px; border-radius: 7px; background: white; font-size:14px; }
.empty-state { text-align: center; padding: 42px 24px; color: #4b5d75; font-size:14px; }
.empty-state svg { color: #4b5d75; width: 32px; height: 32px; margin-bottom: 11px; }
.empty-state strong { display: block; color: #4b5d75; margin-bottom: 6px; }
.notice { background: #f7f9fc; border: 1px solid var(--rally-palette-line,#dce5f0); border-radius: 9px; padding: 12px 15px; color: #4b5d75; font-size:14px; margin-bottom: 20px; display: flex; align-items: flex-start; gap: 10px; }
.notice strong { color: #4b5d75; }
.notice p { margin-bottom: 0; }
.notice.amber { background: #fcf7ed; border-color: #efe4ce; color: #90733f; }
.notice.amber strong { color: #a88b55; }
.notice.green { background: #eff7f1; border-color: #dfece3; color: #85a38d; }
.notice svg { width: 16px; height: 16px; margin-top: 1px; }

.event-grid, .contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.event-card { border-radius: 12px; background: white; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.event-card-banner { padding: 22px; min-height: 120px; background: #f7e7dc; color: #bb8b74; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.event-card:nth-child(2n) .event-card-banner { background: var(--rally-palette-tint,#eff5ff); color: #4b5d75; }
.event-card:nth-child(3n) .event-card-banner { background: #e7eee7; color: #8eaa91; }
.event-card-body { padding: 19px 20px; }
.event-card h3 { font-size:15px; margin-bottom: 8px; }
.event-card p { font-size:14px; color: #4b5d75; }
.event-card-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--line); margin-top: 18px; font-size:14px; color: #4b5d75; }
.event-date { font-size:14px; text-transform: uppercase; letter-spacing: .08em; font-weight: 650; }
.contact-card { background: white; border: 1px solid var(--line); padding: 20px; border-radius: 12px; box-shadow: var(--shadow); }
.contact-card-head { display: flex; align-items: center; gap: 11px; margin-bottom: 17px; }
.contact-card h3 { font-size:14px; margin-bottom: 3px; }
.contact-card-head .muted { font-size:14px; }
.contact-detail { display: flex; align-items: flex-start; gap: 8px; font-size:14px; color: #4b5d75; margin: 10px 0; overflow-wrap: anywhere; }
.contact-detail svg { width: 13px; height: 13px; color: #4b5d75; margin-top: 1px; }
.contact-card .badge { margin-bottom: 7px; }
.contact-card .btn { margin-top: 14px; }
.contact-actions { display: flex; align-items: center; gap: 6px; border-top: 1px solid var(--line); padding-top: 14px; margin-top: 17px; }
.venue-hero { padding: 23px; background: var(--rally-palette-tint,#eff5ff); border-radius: 10px; margin-bottom: 21px; display: flex; gap: 15px; }
.venue-hero h2 { font-size:20px; }
.venue-hero p { color: #4b5d75; font-size:14px; }
.budget-bar { height: 12px; display: flex; overflow: hidden; border-radius: 7px; background: var(--rally-palette-tint,#eff5ff); margin: 18px 0; }
.budget-bar span { display: block; height: 100%; }
.finance-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 20px; }
.finance-grid .stat-card { border-radius: 12px; }
.chart-legend { display: flex; align-items: center; gap: 17px; flex-wrap: wrap; color: #4b5d75; font-size:14px; }
.chart-legend i { width: 7px; height: 7px; display: inline-block; border-radius: 2px; margin-right: 4px; }

.modal-backdrop { position: fixed; inset: 0; background: var(--rally-palette-backdrop,#155eef70); z-index: 80; backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; padding: 25px; overflow-y: auto; }
.modal { width: 520px; max-width: 100%; max-height: calc(100vh - 50px); display: flex; flex-direction: column; background: white; border-radius: 16px; box-shadow: 0 20px 100px #16243a33; animation: modalIn .18s ease-out; overflow: hidden; }
.modal.wide { width: 720px; }
.modal-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 23px 25px 19px; border-bottom: 1px solid var(--line); flex-shrink: 0; }
.modal-header h2 { font-size:20px; margin: 0 0 5px; }
.modal-header p { font-size:14px; color: #4b5d75; margin: 0; }
.modal-header .icon-btn { margin: -2px -7px 0 0; }
.modal-body { padding: 24px 25px; overflow-y: auto; }
.modal-body h3 { font-size:14px; margin-top: 20px; }
.modal-body > :first-child { margin-top: 0; }
.modal-body .notice { font-size:14px; }
.modal-footer { display: flex; justify-content: flex-end; gap: 8px; padding: 17px 25px; border-top: 1px solid var(--line); background: #f7f9fc; flex-shrink: 0; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px 14px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 15px; }
.form-grid .field { margin-bottom: 0; }
.field.full, .form-grid .full { grid-column: 1 / -1; }
.field label { font-size:14px; font-weight: 600; color: #4b5d75; }
.field input, .field select, .field textarea { width: 100%; min-height: 39px; padding: 10px 11px; font-size:14px; border: 1px solid var(--rally-palette-line,#dce5f0); border-radius: 7px; color: #4b5d75; background: #fff; outline: none; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--rally-palette-control,#aabed8); box-shadow: 0 0 0 3px #bacbe0; }
.field input::placeholder, .field textarea::placeholder { color: #4b5d75; }
.field textarea { min-height: 86px; resize: vertical; }
.field small { color: #4b5d75; font-size:14px; }
.field input[type='checkbox'] { width: 14px; min-height: 14px; margin: 2px 8px 0 0; accent-color: #bacbe0; }
.checkbox-field { display: flex; align-items: flex-start; font-size:14px; color: #4b5d75; gap: 8px; }
.checkbox-field input { margin-top: 3px; accent-color: #bacbe0; }
.checkbox-field label { line-height: 1.6; }
.form-error { color: #c47a70; background: #fff1ef; padding: 9px 12px; border-radius: 6px; font-size:14px; }
.toast { position: fixed; right: 28px; bottom: 26px; max-width: min(430px, calc(100vw - 36px)); z-index: 100; background: var(--rally-palette-primary,#155eef); color: #4b5d75; padding: 14px 19px; border-radius: 10px; box-shadow: 0 5px 30px #16243a25; font-size:14px; display: flex; align-items: center; gap: 10px; animation: toastIn .2s ease-out; }
.toast svg { width: 16px; height: 16px; color: #e3b5a0; }
.qr-ticket { max-width: 370px; margin: 0 auto; background: #fff; border: 1px solid var(--rally-palette-line,#dce5f0); border-radius: 15px; overflow: hidden; }
.ticket-header { background: var(--rally-palette-primary,#155eef); color: #4b5d75; padding: 20px 22px; }
.ticket-header h2 { font-size:17px; color: #fff; margin: 0 0 5px; }
.ticket-header p { font-size:14px; color: #4b5d75; margin: 0; }
.ticket-body { text-align: center; padding: 23px; }
.qr-box { width: 190px; height: 190px; background: white; margin: 16px auto; padding: 8px; border: 1px solid var(--rally-palette-line,#dce5f0); border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.qr-box img, .qr-box canvas, .qr-box svg { max-width: 100%; max-height: 100%; }
.ticket-code { color: #4b5d75; font-family: ui-monospace, SFMono-Regular, monospace; font-size:14px; letter-spacing: .08em; overflow-wrap: anywhere; }
.ticket-footer { border-top: 1px dashed var(--rally-palette-line,#dce5f0); padding: 17px 22px; background: #f7f9fc; color: #4b5d75; font-size:14px; }
.scan-area { background: #f7f9fc; border: 1px dashed var(--rally-palette-control,#aabed8); border-radius: 12px; padding: 28px; text-align: center; color: #4b5d75; }
.scan-area svg { width: 40px; height: 40px; margin-bottom: 12px; }
.message-list { display: flex; flex-direction: column; gap: 12px; }
.message-bubble { max-width: 84%; background: var(--rally-palette-tint,#eff5ff); padding: 12px 15px; border-radius: 10px 10px 10px 2px; color: #4b5d75; font-size:14px; }
.message-bubble.sent { background: #f9ece6; color: #a26d55; align-self: flex-end; border-radius: 10px 10px 2px 10px; }
.message-bubble strong { font-size:14px; display: block; margin-bottom: 5px; }
.message-bubble p { margin-bottom: 5px; }
.message-bubble small { opacity: .65; font-size:14px; }
.composer { display: flex; gap: 9px; padding: 17px 20px; border-top: 1px solid var(--line); }
.composer input, .composer textarea { flex: 1; border: 1px solid var(--rally-palette-line,#dce5f0); padding: 10px 12px; color: #4b5d75; border-radius: 7px; font-size:14px; min-width: 0; }
.composer input::placeholder, .composer textarea::placeholder { color: #4b5d75; }
.readiness-ring { width: 70px; height: 70px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #4b5d75; font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-size:18px; font-weight: 750; position: relative; background: conic-gradient(var(--rally-palette-tint,#eff5ff) 0 72%, var(--rally-palette-tint,#eff5ff) 72% 100%); }
.readiness-ring:before { content: ''; position: absolute; inset: 6px; background: #fff; border-radius: 50%; }
.readiness-ring span { z-index: 1; }
@keyframes modalIn { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

@media (min-width: 1600px) { .content { padding: 35px 44px 50px; } .topbar { padding: 0 44px; } .stat-card { padding: 22px 24px; } .stat-icon { right: 21px; top: 21px; } .event-hero { min-height: 220px; padding: 33px; } }
@media (max-width: 1200px) {
  .sidebar { width: 210px; padding-left: 13px; padding-right: 13px; }
  .workspace { margin-left: 210px; }
  .content { padding: 25px; }
  .topbar { padding: 0 25px; }
  .stat-grid { gap: 12px; }
  .stat-card { padding: 17px 15px; }
  .stat-value { font-size:24px; }
  .stat-icon { right: 13px; width: 25px; height: 25px; }
  .stat-label { max-width: 75%; font-size:14px; }
  .grid-2 { gap: 16px; grid-template-columns: 1.15fr 1fr; }
  .event-grid, .contact-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .topbar-search kbd { margin-left: 10px; }
  th, td { padding-left: 16px; padding-right: 16px; }
}
@media (max-width: 980px) {
  .sidebar { width: 192px; }
  .workspace { margin-left: 192px; }
  .content { padding: 22px; }
  .topbar { padding: 0 22px; }
  .grid-2 { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .topbar-search { display: none; }
  .event-hero h2 { font-size:23px; }
  .hero-art { opacity: .5; }
  .hero-countdown { display: none; }
  .page-heading { align-items: flex-start; }
  .heading-actions { justify-content: flex-end; }
  h1 { font-size:25px; }
  .grid-3 { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .sidebar { transform: translateX(-100%); width: 230px; transition: transform .2s; box-shadow: 12px 0 55px #16243a33; }
  .sidebar.open, .sidebar.is-open, body.menu-open .sidebar { transform: translateX(0); }
  .workspace { margin-left: 0; }
  .topbar { height: 62px; padding: 0 19px; gap: 11px; }
  .top-actions { gap: 9px; margin-left: auto; }
  .mobile-toggle { display: inline-flex; }
  .breadcrumbs { font-size:14px; gap: 6px; margin-right: auto; }
  .content { padding: 24px 18px 35px; }
  .page-heading { margin-bottom: 20px; gap: 15px; }
  .page-heading h1 { font-size:24px; }
  .page-heading p { font-size:14px; max-width: 300px; }
  .heading-actions .btn { padding: 8px 10px; font-size:14px; }
  .portal-bar { flex-wrap: wrap; gap: 9px; padding: 11px; }
  .portal-switch { flex-wrap: wrap; }
  .event-hero { padding: 24px; min-height: 198px; }
  .event-hero h2 { max-width: 290px; font-size:24px; }
  .event-meta { gap: 8px 16px; font-size:14px; }
  .hero-art { width: 60%; opacity: .25; }
  .hero-stamp { display: none; }
  .stat-grid { gap: 12px; }
  .stat-card { min-height: 126px; padding: 17px; }
  .stat-value { font-size:27px; }
  .stat-note { font-size:14px; }
  .panel-head { padding: 16px 18px; min-height: 60px; }
  .panel-body { padding: 18px; }
  .task-row { padding: 13px 18px; }
  .grid-3, .finance-grid { grid-template-columns: 1fr; }
  .grid-3 > .panel + .panel { margin-top: 0; }
  .modal-backdrop { padding: 15px; }
  .modal { max-height: calc(100vh - 30px); }
  .modal-header { padding: 21px 20px 17px; }
  .modal-body { padding: 21px 20px; }
  .modal-footer { padding: 15px 20px; }
  .toolbar { align-items: stretch; }
  .toolbar .search-input { width: 100%; }
  .search-wrap { width: 100%; }
  .toast { bottom: 18px; right: 18px; font-size:14px; }
}
@media (max-width: 460px) {
  .page-heading { flex-direction: column; }
  .heading-actions { width: 100%; justify-content: flex-start; }
  .stat-card { padding: 16px 13px; min-height: 125px; }
  .stat-value { font-size:25px; }
  .stat-icon { width: 23px; height: 23px; right: 11px; top: 14px; }
  .stat-label { font-size:14px; }
  .stat-note { font-size:14px; }
  .event-grid, .contact-grid { grid-template-columns: 1fr; }
  .event-hero { padding: 22px 19px; }
  .hero-pills { flex-wrap: wrap; gap: 5px; }
  .form-grid { grid-template-columns: 1fr; }
  .task-row > .avatar { display: none; }
  .task-row strong { font-size:14px; }
  .qr-box { width: 170px; height: 170px; }
  .portal-switch button { padding: 5px 8px; font-size:14px; }
  .topbar .badge { display: none; }
}
@media (prefers-reduced-motion: reduce) { *, *:before, *:after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
@media print {
  body { background: #fff; color: #000; }
  body.printing #app, body.printing .toast, body.printing .modal-header, body.printing .modal-footer { display: none !important; }
  body.printing .modal-backdrop { position: static; background: #fff; backdrop-filter: none; padding: 0; display: block; }
  body.printing .modal { box-shadow: none; border: 0; max-height: none; width: 100%; overflow: visible; }
  body.printing .modal-body { overflow: visible; padding: 0; }
  body.printing .qr-ticket { break-inside: avoid; margin: 20px auto; border: 1px solid #bbb; }
  body.printing .qr-ticket, body.printing .ticket-header, body.printing .badge { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* Workspace and cross-portal integration. */
:root { --border: var(--line); }
.brand { gap: 9px; margin-bottom: 0; padding-left: 11px; }
.brand-mark { background: var(--primary); color: white; border-radius: 8px; width: 29px; height: 31px; }
.brand-mark svg { width: 20px; height: 20px; }
.brand-dot { color: var(--primary); margin-left: -8px; }
.brand-caption { color: #4b5d75; font-size:14px; letter-spacing: .13em; padding-left: 13px; margin: 8px 0 26px; }
.workspace-logo { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; flex-shrink: 0; border-radius: 6px; color: #d5b1b0; font-size:14px; background: #6a4c5d; }
.workspace-switch { margin-bottom: 6px; }
.workspace-switch strong { font-size:14px; font-weight: 550; }
.workspace-switch small { font-size:14px; }
.nav-item { min-height: 35px; padding-top: 8px; padding-bottom: 8px; font-size:14px; margin: 2px 0; }
.nav-item svg { width: 15px; height: 15px; }
.nav-label { font-size:14px; margin-top: 20px; }
.sidebar-bottom { margin-top: auto; padding-top: 20px; }
.sidebar-tip { margin: 0 8px 20px; padding: 17px 15px; border: 1px solid var(--rally-palette-control,#aabed8); border-radius: 9px; background: linear-gradient(135deg,var(--rally-palette-primary,#155eef),var(--rally-palette-primary,#155eef)); color: #d5b8c0; }
.sidebar-tip > span { display: block; color: #efad90; margin-bottom: 9px; }
.sidebar-tip strong { font-size:14px; line-height: 1.6; color: #4b5d75; font-weight: 500; }
.sidebar-tip small { font-size:14px; color: #4b5d75; display: block; margin-top: 7px; line-height: 1.6; }
.profile { width: 100%; border: 0; border-top: 1px solid var(--rally-palette-control,#aabed8); background: transparent; color: #4b5d75; padding: 16px 10px 0; display: flex; align-items: center; text-align: left; gap: 10px; }
.profile .avatar { width: 29px; height: 29px; font-size:14px; background: #c99f8c; color: #fff8f3; }
.profile strong { font-size:14px; display: block; color: #4b5d75; }
.profile small { font-size:14px; display: block; margin-top: 3px; color: #4b5d75; }
.profile > svg { margin-left: auto; color: #4b5d75; }
.preview-tag { display: inline-flex; align-items: center; gap: 6px; font-size:14px; color: #4b5d75; background: var(--rally-palette-tint,#eff5ff); padding: 5px 8px; border-radius: 5px; }
.preview-tag i { width: 4px; height: 4px; background: var(--rally-palette-tint,#eff5ff); border-radius: 50%; }
.avatar.mini { width: 28px; height: 28px; }
.workspace > .portal-bar { margin: 0; border: 0; border-bottom: 1px solid var(--rally-palette-line,#dce5f0); border-radius: 0; padding: 8px 35px; font-size:14px; background: #f7f9fc; }
.workspace > .portal-bar > span { display: inline-flex; align-items: center; gap: 7px; color: #4b5d75; }
.workspace > .portal-bar .portal-switch { padding: 2px; }
.workspace > .portal-bar .portal-switch button { padding: 4px 10px; font-size:14px; }
.local-note { display: inline-flex; gap: 7px; align-items: center; border: 0; padding: 0; background: transparent; color: #4b5d75; font-size:14px; }
.local-note:hover { color: #4b5d75; }
.app-footer { display: flex; justify-content: space-between; align-items: center; gap: 10px; max-width: 1590px; margin: 5px auto 0; padding: 0 35px 24px; color: #4b5d75; font-size:14px; }
.app-footer > span:last-child > span { color: #d4bcad; margin-left: 6px; }
.text-btn { display: inline-flex; align-items: center; gap: 5px; border: 0; padding: 0; background: transparent; color: #4b5d75; font-size:14px; font-weight: 500; white-space: nowrap; }
.text-btn:hover { color: #4b5d75; }
.text-btn svg { width: 13px; height: 13px; }
.btn.dark { color: #4b5d75; background: var(--rally-palette-primary,#155eef); border-color: var(--rally-palette-control,#aabed8); font-size:14px; min-height: 32px; padding: 8px 12px; }
.btn.dark:hover { color: white; background: var(--rally-palette-primary,#155eef); border-color: var(--rally-palette-control,#aabed8); }
.full { width: 100%; }
.event-hero { min-height: 242px; padding: 27px 30px; background: linear-gradient(105deg,#f9eee7 0%,#f9eee8 56%,#f6e3d9 100%); }
.event-hero .hero-pills { margin: 0 0 10px; }
.event-hero .hero-pills .badge { background: #f2d9cc; border: 0; font-size:14px; letter-spacing: .08em; color: #b17d66; padding: 4px 7px; }
.hero-status { display: inline-flex; align-items: center; gap: 5px; font-size:14px; color: #9e8c7e; }
.hero-status i { width: 4px; height: 4px; background: #a6ac86; border-radius: 50%; }
.event-hero h2 { font-size:25px; font-weight: 750; margin: 9px 0 12px; }
.event-hero .hero-info > p { color: #ad9182; font-size:14px; margin: 8px 0 18px; }
.meta-dot { display: inline-block; margin: 0 9px; color: #c0a393; }
.event-hero .hero-art { background: none; width: 37%; }
.event-hero .orbit-one { right: -75px; top: -94px; width: 340px; height: 340px; border-color: #e8c7b6; opacity: .6; }
.event-hero .orbit-two { right: -110px; top: -129px; width: 410px; height: 410px; border-color: #e8c7b6; opacity: .4; }
.trophy-illustration { position: absolute; width: 124px; height: 124px; right: 54px; top: 40px; border-radius: 27px; background: linear-gradient(145deg,#efc1a8,#d89374); transform: rotate(12deg); box-shadow: 0 17px 26px #ca927b22,inset 0 1px #fff7; color: #fff1d4; display: flex; align-items: center; justify-content: center; }
.trophy-illustration svg { width: 76px; height: 76px; stroke-width: 1.1; filter: drop-shadow(1px 3px 1px #c78c6c); transform: rotate(-12deg); }
.days-card { display: flex; align-items: center; gap: 10px; position: absolute; right: 120px; bottom: 24px; padding: 12px 17px; border-radius: 10px; background: #fff9f4; color: #9a7766; box-shadow: 0 5px 16px #9e6f5a11; transform: rotate(-5deg); border: 1px solid #f0e2d4; }
.days-card strong { font-size:25px; line-height: 1; color: #b48267; font-weight: 600; }
.days-card span { font-size:14px; letter-spacing: .12em; max-width: 26px; line-height: 1.7; }
.art-star { position: absolute; color: #d7a084; }
.star-one { top: 24px; right: 207px; font-size:28px; transform: rotate(10deg); }
.star-two { top: 132px; right: 24px; font-size:28px; transform: rotate(-15deg); }
.dashboard-grid { display: grid; grid-template-columns: 1.14fr 1fr; gap: 21px; margin-bottom: 21px; align-items: stretch; }
.dashboard-grid > .panel + .panel { margin-top: 0; }
.dashboard-grid .panel-head { min-height: 67px; }
.dashboard-grid .panel-head p { color: #4b5d75; font-size:14px; }
.readiness-summary { display: flex; align-items: center; gap: 13px; padding: 16px 21px 4px; }
.readiness-summary .progress { flex: 1; height: 4px; }
.readiness-summary > span { white-space: nowrap; font-size:14px; color: #4b5d75; }
.task-copy { flex: 1; min-width: 0; }
.task-copy strong { font-size:14px; font-weight: 500; color: #4b5d75; }
.task-copy small { display: block; color: #4b5d75; font-size:14px; margin-top: 3px; }
.task-copy small span { margin: 0 5px; }
.readiness-panel .task-row { min-height: 61px; padding-top: 12px; padding-bottom: 12px; }
.readiness-panel .task-row .badge { padding: 3px 6px; font-size:14px; }
.add-inline { border: 0; background: transparent; width: 100%; padding: 13px 21px; display: flex; align-items: center; gap: 6px; color: #4b5d75; font-size:14px; text-align: left; }
.add-inline:hover { background: #f7f9fc; color: #4b5d75; }
.attendance-panel { display: flex; flex-direction: column; }
.attendance-inner { padding: 26px 24px; display: flex; align-items: center; gap: 24px; flex: 1; }
.donut { width: 150px; height: 150px; flex-shrink: 0; position: relative; }
.donut > svg { width: 100%; height: 100%; }
.donut > div { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; }
.donut strong { font-size:25px; font-weight: 600; color: #4b5d75; letter-spacing: -.04em; line-height: 1.1; }
.donut span { color: #4b5d75; font-size:14px; margin-top: 5px; }
.attendance-legend { display: flex; flex-direction: column; gap: 17px; flex: 1; }
.attendance-legend > div { display: flex; justify-content: space-between; align-items: center; gap: 14px; font-size:14px; color: #4b5d75; }
.attendance-legend > div > span { display: flex; align-items: center; gap: 7px; }
.attendance-legend i { display: inline-block; width: 7px; height: 7px; border-radius: 2px; }
.attendance-legend strong { font-size:14px; color: #4b5d75; font-weight: 500; }
.panel-foot { padding: 12px 21px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 9px; color: #4b5d75; font-size:14px; }
.panel-foot > span { display: inline-flex; align-items: center; gap: 6px; }
.panel-foot svg { color: #4b5d75; }
.mini-timeline { padding: 16px 21px 19px; }
.timeline-row { display: flex; align-items: center; gap: 12px; min-height: 55px; }
.timeline-time { font-size:14px; color: #4b5d75; width: 53px; flex-shrink: 0; }
.timeline-dot { display: flex; align-items: center; justify-content: center; width: 29px; height: 29px; border-radius: 50%; background: var(--rally-palette-tint,#eff5ff); color: #4b5d75; position: relative; flex-shrink: 0; }
.timeline-row:not(:last-child) .timeline-dot:after { content: ''; position: absolute; top: 32px; left: 14px; height: 18px; width: 1px; background: var(--rally-palette-tint,#eff5ff); }
.timeline-dot.coral { background: #f9eee7; color: #dab199; }
.timeline-row strong { font-size:14px; font-weight: 500; color: #4b5d75; display: block; }
.timeline-row small { display: block; color: #4b5d75; font-size:14px; margin-top: 3px; }
.activity-row { padding: 16px 21px; border-bottom: 1px solid var(--line); align-items: flex-start; gap: 11px; }
.activity-row:last-of-type { border-bottom: 0; }
.activity-row strong { display: block; font-size:14px; font-weight: 500; color: #4b5d75; line-height: 1.6; }
.activity-row small { display: block; font-size:14px; color: #4b5d75; margin-top: 4px; }
.activity-icon { display: flex; align-items: center; justify-content: center; width: 29px; height: 29px; flex-shrink: 0; border-radius: 8px; background: var(--rally-palette-tint,#eff5ff); color: #4b5d75; }
.activity-dot { width: 5px; height: 5px; border-radius: 50%; background: #b6c8ae; }
.quick-portal { display: flex; align-items: center; gap: 15px; padding: 20px 22px; background: var(--rally-palette-tint,#eff5ff); border: 1px solid var(--rally-palette-line,#dce5f0); border-radius: 11px; }
.quick-portal h3 { font-size:14px; margin: 0 0 5px; color: #4b5d75; letter-spacing: -.02em; }
.quick-portal p { font-size:14px; margin: 0; color: #4b5d75; }
.quick-portal > .btn { margin-left: auto; font-size:14px; }
.quick-portal-icon { width: 35px; height: 35px; flex-shrink: 0; background: var(--rally-palette-tint,#eff5ff); color: #4b5d75; border: 1px solid var(--rally-palette-line,#dce5f0); border-radius: 9px; display: flex; align-items: center; justify-content: center; }
.event-grid + .notice, .panel + .notice, .contact-grid + .notice { margin-top: 20px; }
.event-grid > .panel + .panel, .contact-grid > .panel + .panel { margin-top: 0; }
.event-card-art { min-height: 130px; display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding: 25px; color: #c1977b; background: #f4e6d9; }
.event-card:nth-child(2n) .event-card-art { background: var(--rally-palette-tint,#eff5ff); color: #4b5d75; }
.event-card:nth-child(3n) .event-card-art { background: #e7ecdf; color: #9caa82; }
.event-card-art .badge { background: #fff9; border: 1px solid #fff8; }
.event-card .panel-body > .eyebrow { font-size:14px; }
.event-card .panel-body h3 { margin: 9px 0 14px; }
.event-card .panel-body p { font-size:14px; display: flex; align-items: flex-start; gap: 6px; }
.event-card .panel-body > .btn { margin-top: 10px; }
.booth-pill { display: inline-flex; border: 1px solid var(--rally-palette-line,#dce5f0); background: #f7f9fc; border-radius: 4px; color: #4b5d75; padding: 3px 7px; font-family: ui-monospace,monospace; font-size:14px; }
.panel.contact-card { padding: 0; }
.contact-cover { background: var(--rally-palette-tint,#eff5ff); color: #4b5d75; padding: 22px; min-height: 105px; display: flex; align-items: center; gap: 11px; font-size:14px; position: relative; }
.contact-cover > .badge { position: absolute; right: 12px; top: 12px; font-size:14px; }
.contact-card:nth-child(2n) .contact-cover { background: #eaf0e7; color: #a0b092; }
.contact-person { display: flex; align-items: center; gap: 10px; margin: 18px 0; }
.contact-person strong { display: block; font-size:14px; color: #4b5d75; font-weight: 500; }
.contact-person small { display: block; font-size:14px; color: #4b5d75; margin-top: 2px; }
.contact-person .avatar { width: 32px; height: 32px; }
.venue-details { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 12px 0; margin: 15px 0 0; display: flex; flex-direction: column; gap: 8px; }
.venue-details span { display: flex; justify-content: space-between; gap: 10px; font-size:14px; color: #4b5d75; }
.venue-details strong { color: #4b5d75; text-align: right; font-weight: 500; max-width: 70%; }
.detail-block { margin-top: 20px; padding: 18px 20px; background: #f7f9fc; border: 1px solid var(--rally-palette-line,#dce5f0); border-radius: 9px; }
.detail-block h4 { color: #4b5d75; font-size:14px; letter-spacing: 0; margin-top: 17px; }
.detail-block h4:first-child { margin-top: 0; }
.detail-block p { font-size:14px; color: #4b5d75; margin-bottom: 11px; line-height: 1.7; }
.door-count { display: flex; flex-direction: column; align-items: center; text-align: center; margin: 14px 0 23px; }
.door-count strong { font-size:58px; font-weight: 650; letter-spacing: -.06em; color: #4b5d75; line-height: 1; }
.door-count span { font-size:14px; color: #4b5d75; margin-top: 10px; }
.checkin-panel .field { color: #4b5d75; font-size:14px; }
.checkin-panel .panel-body > p { margin: 17px 0 0; }
.checkin-panel + .panel .progress { margin-bottom: 20px; }
.scan-visual { display: flex; align-items: center; justify-content: center; width: 140px; height: 140px; margin: 5px auto 25px; background: #f7f9fc; color: #4b5d75; border: 1px dashed var(--rally-palette-control,#aabed8); border-radius: 15px; }
.message-list { gap: 0; }
.message-card { display: flex; gap: 14px; padding: 22px; border-bottom: 1px solid var(--line); }
.message-card:last-child { border-bottom: 0; }
.message-card > div:not(.message-avatar) { flex: 1; min-width: 0; }
.message-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 5px; }
.message-heading strong { font-size:14px; color: #4b5d75; font-weight: 550; }
.message-heading small { font-size:14px; color: #4b5d75; white-space: nowrap; }
.message-card .eyebrow { font-size:14px; color: #4b5d75; }
.message-card p { font-size:14px; line-height: 1.8; color: #4b5d75; margin: 10px 0; }
.checkbox-label { display: flex; align-items: flex-start; gap: 8px; font-size:14px; line-height: 1.7; color: #4b5d75; margin: 18px 0 15px; }
.checkbox-label input { width: 14px; height: 14px; flex-shrink: 0; margin-top: 3px; accent-color: #bacbe0; }
.ticket-divider { border-top: 1px dashed var(--rally-palette-line,#dce5f0); margin: 20px -23px; }
.qr-ticket { padding: 25px 23px; text-align: center; }
.qr-ticket .eyebrow { font-size:14px; margin-bottom: 15px; color: #4b5d75; }
.qr-ticket h3 { font-size:18px; color: #4b5d75; margin: 8px 0 10px; }
.qr-ticket p { color: #4b5d75; font-size:14px; }
.qr-ticket > strong { color: #4b5d75; }
.qr-ticket .notice { text-align: left; margin-top: 20px; }
.qr-ticket .badge { margin: 14px auto 10px; }
.ticket-code { font-size:14px; letter-spacing: .05em; }
body.modal-open { overflow: hidden; }
.modal > form { display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.toast { opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity .18s,transform .18s; animation: none; }
.toast.show { opacity: 1; transform: translateY(0); }
.team-cell { display: flex; align-items: center; gap: 10px; }
.team-cell .muted, td > .muted { display: block; font-size:14px; margin-top: 3px; }
.team-avatar { width: 34px; height: 34px; border-radius: 9px; background: var(--team-color,var(--rally-palette-tint,#eff5ff)); color: white; display: inline-flex; align-items: center; justify-content: center; font-size:14px; font-weight: 650; flex-shrink: 0; }
.readiness-item { display: flex; align-items: flex-start; justify-content: space-between; gap: 17px; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.readiness-item strong { font-size:14px; color: #4b5d75; }
.readiness-item p { font-size:14px; margin: 6px 0 0; line-height: 1.7; }
.search-field { display: flex; align-items: center; gap: 8px; border: 1px solid var(--rally-palette-line,#dce5f0); padding: 8px 11px; border-radius: 7px; color: #4b5d75; background: white; }
.search-field svg { width: 14px; height: 14px; }
.search-field input { width: 180px; min-width: 0; border: 0; outline: 0; font-size:14px; color: #4b5d75; background: transparent; }
.search-field input::placeholder { color: #4b5d75; }
label.search-input { display: flex; align-items: center; gap: 8px; width: 300px; }
label.search-input input { border: 0; outline: 0; background: transparent; font-size:14px; width: 100%; color: #4b5d75; min-width: 0; }
label.search-input input::placeholder { color: #4b5d75; }
.page-intro { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.page-intro p { margin-bottom: 0; }
.page-intro .eyebrow { margin-bottom: 9px; }
.page-intro h1 { font-size:24px; }
.page-actions { display: flex; align-items: center; gap: 8px; }
.source-link { color: #4b5d75; text-decoration: underline; text-decoration-color: #bacbe0; text-underline-offset: 4px; font-size:14px; }
.source-link:hover { color: #4b5d75; }
.stat-card > strong { display: block; font-size:27px; font-weight: 650; letter-spacing: -.045em; margin: 8px 0 8px; line-height: 1.25; color: #4b5d75; }
.stat-card > small { display: block; font-size:14px; color: #4b5d75; }
.stat-card > .muted { font-size:14px; }
.stat-label > svg { float: right; width: 15px; height: 15px; color: #4b5d75; }
.stat-card > .stat-value + .muted { font-size:14px; }
.panel-head .tabs { margin-bottom: 0; border-bottom: 0; }
.panel-head .tab { padding: 7px 0; font-size:14px; }

@media (min-width:1600px) { .workspace > .portal-bar { padding-left: 44px; padding-right: 44px; } .app-footer { padding-left: 44px; padding-right: 44px; } }
@media (max-width:1200px) {
  .workspace > .portal-bar { padding-left: 25px; padding-right: 25px; }
  .app-footer { padding-left: 25px; padding-right: 25px; }
  .local-note { font-size:14px; }
  .dashboard-grid { gap: 16px; grid-template-columns: 1.1fr 1fr; }
  .attendance-inner { gap: 15px; padding: 23px 17px; }
  .donut { width: 130px; height: 130px; }
  .attendance-legend { gap: 15px; }
  .attendance-legend > div { font-size:14px; gap: 8px; }
  .attendance-legend strong { font-size:14px; }
  .event-hero .hero-art { width: 31%; }
  .trophy-illustration { right: 28px; width: 105px; height: 105px; top: 46px; }
  .days-card { right: 68px; bottom: 26px; }
  .star-one { right: 159px; }
  .star-two { right: 7px; }
  .event-hero h2 { font-size:23px; }
  .event-meta { gap: 12px; font-size:14px; }
}
@media (max-width:1050px) {
  .dashboard-grid { grid-template-columns: 1fr; }
  .attendance-inner { justify-content: center; gap: 50px; padding: 24px; }
  .attendance-legend { flex: 0 1 200px; gap: 19px; }
  .donut { width: 150px; height: 150px; }
  .event-hero .hero-art { opacity: .65; width: 24%; }
  .event-hero .days-card { right: 25px; }
  .event-hero .trophy-illustration { right: 18px; width: 82px; height: 82px; top: 39px; }
  .trophy-illustration svg { width: 55px; height: 55px; }
  .event-hero .star-one { right: 110px; font-size:22px; }
  .local-note { display: none; }
  .workspace > .portal-bar { justify-content: space-between; }
}
@media (max-width:980px) { .workspace > .portal-bar { padding-left: 22px; padding-right: 22px; } .page-intro { align-items: flex-start; } .page-actions { flex-direction: column; align-items: stretch; } }
@media (max-width:760px) {
  .sidebar.mobile-open { transform: translateX(0); }
  .workspace > .portal-bar { padding: 8px 18px; gap: 9px; }
  .workspace > .portal-bar > span { font-size:14px; }
  .workspace > .portal-bar .portal-switch button { padding: 4px 8px; font-size:14px; }
  .content > .page-heading { margin-bottom: 23px; }
  .content > .page-heading .eyebrow { font-size:14px; margin-bottom: 7px; }
  .app-footer { padding: 0 18px 22px; }
  .preview-tag { font-size:14px; }
  .event-hero { min-height: 243px; padding: 23px; }
  .event-hero .hero-art { width: 30%; opacity: .4; }
  .event-hero h2 { max-width: 85%; }
  .task-copy strong { font-size:14px; }
  .task-copy small { font-size:14px; }
  .attendance-inner { gap: 28px; }
  .attendance-legend > div, .attendance-legend strong { font-size:14px; }
  .quick-portal { flex-wrap: wrap; padding: 18px; gap: 12px; }
  .quick-portal > div:nth-child(2) { flex: 1; }
  .quick-portal > .btn { margin-left: 45px; }
  .quick-portal p { font-size:14px; line-height: 1.6; }
  .timeline-row strong, .activity-row strong { font-size:14px; }
  .timeline-row small, .activity-row small { font-size:14px; }
  .timeline-time { font-size:14px; }
  .event-card .panel-body p { font-size:14px; }
  .contact-person strong { font-size:14px; }
  .contact-person small { font-size:14px; }
  .message-heading { align-items: flex-start; flex-direction: column; gap: 3px; }
  .message-card { padding: 18px; }
  .page-intro { flex-direction: column; gap: 14px; }
  .page-actions { flex-direction: row; }
  .panel-head:has(.search-field) { flex-wrap: wrap; }
  .search-field { width: 100%; }
  .search-field input { width: 100%; }
}
@media (max-width:460px) {
  .preview-tag { display: none; }
  .workspace > .portal-bar > span { display: none; }
  .workspace > .portal-bar .portal-switch { width: 100%; justify-content: space-between; }
  .workspace > .portal-bar .portal-switch button { flex: 1; white-space: nowrap; }
  .event-hero .hero-art { display: none; }
  .event-hero h2 { max-width: 100%; font-size:24px; }
  .event-hero { padding: 22px; min-height: 251px; }
  .hero-pills { gap: 7px; }
  .event-meta { gap: 8px; }
  .event-meta span { font-size:14px; }
  .event-hero .hero-info > p { font-size:14px; line-height: 1.6; margin-top: 12px; }
  .attendance-inner { gap: 17px; padding: 20px 14px; }
  .donut { width: 135px; height: 135px; }
  .donut strong { font-size:24px; }
  .attendance-legend > div, .attendance-legend strong { font-size:14px; }
  .attendance-legend { gap: 15px; }
  .app-footer { flex-direction: column; align-items: flex-start; font-size:14px; gap: 5px; }
  .quick-portal > .btn { margin-left: 0; }
  .panel-foot { font-size:14px; padding-left: 18px; padding-right: 18px; }
  .task-copy strong { font-size:14px; }
  .task-copy small { font-size:14px; }
  .task-row .badge { font-size:14px; }
}

/* Keep supporting information legible across a busy planning workspace. */
.nav-item { font-size:14px; }
.task-copy strong, .timeline-row strong, .activity-row strong, .contact-person strong, .message-heading strong { color: #4b5d75; }
.task-copy small, .timeline-row small, .activity-row small, .contact-person small, .message-heading small { color: #4b5d75; }
.task-copy small, .timeline-row small, .activity-row small { font-size:14px; }
.panel-head p, .dashboard-grid .panel-head p { color: #4b5d75; font-size:14px; }
.readiness-summary > span, .stat-note, .stat-card > small { color: #4b5d75; }
.text-btn { color: #4b5d75; font-size:14px; }
.add-inline { color: #4b5d75; font-size:14px; }
.attendance-legend > div { color: #4b5d75; }
.attendance-legend strong { color: #4b5d75; }
.donut span { color: #4b5d75; font-size:14px; }
.event-hero .hero-info > p { color: #98745f; }
.event-meta { color: #886650; }
.hero-status { color: #8c745c; }
.panel-foot { color: #4b5d75; font-size:14px; }
.quick-portal h3 { color: #4b5d75; }
.quick-portal p { color: #4b5d75; font-size:14px; }
.contact-card .panel-body > .muted { font-size:14px; }
.venue-details span, .venue-details strong { color: #4b5d75; }
.message-card p { color: #4b5d75; font-size:14px; }
.message-card .eyebrow { color: #4b5d75; }
.detail-block h4 { color: #4b5d75; }
.detail-block p { color: #4b5d75; }
.door-count span { color: #4b5d75; }
.qr-ticket p { color: #4b5d75; font-size:14px; }
.qr-ticket h3, .qr-ticket > strong { color: #4b5d75; }
.checkbox-label { color: #4b5d75; font-size:14px; }
.search-field input, label.search-input input { color: #4b5d75; font-size:14px; }
.app-footer { color: #4b5d75; font-size:14px; }
.preview-tag, .local-note { color: #4b5d75; }
.event-card .panel-body p { color: #4b5d75; }
.stat-card > strong { color: #4b5d75; }
.stat-card > .muted { font-size:14px; }
.stat-card > .stat-value + .muted { font-size:14px; }

/* Keep search usable in iOS browsers without disabling user-controlled zoom. */
@media (max-width: 760px) {
  .search-field input, label.search-input input { font-size:16px; }
}

/* Add a venue without leaving an event draft. Disabled hidden fields do not block Save. */
.event-new-venue{min-width:0;margin:0;padding:16px;border:1px solid var(--rally-palette-line,#dce5f0);border-radius:12px;background:#f7f9fc}.event-new-venue[hidden]{display:none}.event-new-venue legend{padding:0 6px;font-weight:650;color:#4b5d75}.event-new-venue>p{margin:0 0 14px;font-size:14px;line-height:1.5}

.event-setup-intro{margin:0 0 20px;color:#4b5d75;line-height:1.5}.event-setup-group{margin:0 0 24px}.event-setup-group:last-child{margin-bottom:0}.event-setup-group>h3{font-size:15px;color:#4b5d75;margin:0 0 16px;padding-top:16px;border-top:1px solid var(--rally-palette-line,#dce5f0)}.event-setup-group .field-hint{margin:16px 0 0;line-height:1.5}

.registration-money-row{justify-content:space-between;gap:16px}.registration-money-row> :first-child{min-width:0;overflow-wrap:anywhere}.registration-money-row>strong:last-child{flex-shrink:0;text-align:right}.invoice-receipt{padding:16px;margin:14px 0;border:1px solid var(--border,#e5ddeb);border-radius:12px}.invoice-list{padding:0 18px}.invoice-list .list-row{gap:14px}.invoice-list .list-row>span{min-width:0;overflow-wrap:anywhere}.invoice-list small{display:block}.invoice-list button{flex-shrink:0}

.coach-team-options{display:grid;gap:10px}.coach-team-option{display:flex;flex-direction:column;align-items:flex-start;text-align:left;white-space:normal;width:100%;gap:6px;padding:14px}.coach-team-option span,.coach-team-option small{font-weight:400}.coach-team-option[aria-pressed="true"]{border-color:#1264e8;background:#eef5ff}.coach-team-option[hidden]{display:none}.participant-actions{display:flex;flex-wrap:wrap;gap:10px}.participant-actions .btn{min-height:44px}
.vendor-quick-actions{margin-bottom:20px}.vendor-quick-actions .btn{flex:1;white-space:normal}
body .pv-footnote,body .pv-section-copy,body .pv-list p,body .pv-row small,body .pv-forecast span,body .pv-message time{color:#526177;font-size:14px;line-height:1.6}
body .pv-note{background:#eef5ff;border-color:#cbdcf6;color:#254f88;font-size:14px}
body .pv-number,body .pv-avatar{background:#eaf2ff;color:#245caa}
body .pv-message p{color:#334155;font-size:15px}

.document-review-link { margin-bottom: 14px; }
.uploaded-document { border: 1px solid #d7e1ef; border-radius: 12px; padding: 12px; margin: 10px 0; }
.document-row-title { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.document-row-title strong { min-width: 0; overflow-wrap: anywhere; }
.uploaded-document p { overflow-wrap: anywhere; margin: 8px 0; white-space: pre-wrap; }
.uploaded-document .btn { min-height: 44px; }
.document-error { color: #a12628; margin: 10px 0; }
.document-error:empty { display: none; }
