:root {
  --canvas: #f6f7f8;
  --surface: #fff;
  --ink: #202c29;
  --muted: #7d8985;
  --line: #e7ebe8;
  --green: #235c46;
  --green-dark: #16432f;
  --sage: #eef4ef;
  --sage-deep: #d9e9df;
  --soft: #fafbfa;
  --radius: 15px;
  --sidebar-width: 232px;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; font-size: 13px; line-height: 1.5; }
button, input, textarea, select { font: inherit; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .52; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { color: inherit; }
button { border: 0; }
img, svg { display: block; max-width: 100%; }
svg { flex-shrink: 0; }
h1, h2, h3, h4, p { margin: 0; }
ul { padding: 0; margin: 0; list-style: none; }
strong { font-weight: 600; }
[hidden] { display: none !important; }
::selection { background: #d4e9dc; color: #16432f; }
:focus-visible { outline: 3px solid #82b79a; outline-offset: 3px; }
input:focus-visible, textarea:focus-visible, select:focus-visible { outline: none; border-color: #6d9c7f; box-shadow: 0 0 0 3px #e5f0e8; }
.app-shell { min-height: 100vh; }
.sidebar { width: var(--sidebar-width); height: 100dvh; position: fixed; inset: 0 auto 0 0; background: #fff; border-right: 1px solid var(--line); display: flex; flex-direction: column; padding: 31px 18px 17px; z-index: 40; overflow-y: auto; scrollbar-width: thin; }
.brand { display: flex; align-items: center; gap: 9px; padding: 0 12px; font-family: Manrope, Inter, sans-serif; margin-bottom: 34px; white-space: nowrap; }
.brand-mark { width: 30px; height: 30px; border-radius: 10px; background: var(--green); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.brand-mark svg { width: 20px; height: 20px; }
.brand-word { font-weight: 800; font-size: 23px; letter-spacing: -.9px; }
.brand-hub { color: #8b9690; font-size: 23px; letter-spacing: -1px; font-weight: 400; margin-left: -3px; }
.workspace-card { display: flex; align-items: center; gap: 10px; margin: 0 2px 30px; padding: 12px 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.workspace-logo { flex-shrink: 0; width: 31px; height: 31px; border: 1px solid #dce7df; border-radius: 8px; color: var(--green); background: #f0f5f1; display: grid; place-items: center; font-weight: 700; font-size: 11px; }
.workspace-copy { flex: 1; min-width: 0; }
.workspace-copy strong, .workspace-copy span { display: block; }
.workspace-copy strong { font-size: 11px; }
.workspace-copy span { color: var(--muted); font-size: 10px; margin-top: 1px; }
.workspace-card > svg { width: 14px; color: #93a098; }
.section-label { font-size: 9px; text-transform: uppercase; letter-spacing: 1.4px; color: #9aa39f; font-weight: 600; padding: 0 13px; margin-bottom: 10px; }
.nav-list { display: flex; flex-direction: column; gap: 4px; }
.nav-item { display: flex; align-items: center; gap: 11px; padding: 11px 13px; min-height: 41px; border-radius: 8px; font-size: 12px; font-weight: 500; color: #6f7d75; background: transparent; width: 100%; text-align: left; transition: color .16s, background .16s; white-space: nowrap; }
.nav-item:hover { background: #f6f8f6; color: var(--green); }
.nav-item.active { background: #edf4ef; color: var(--green); font-weight: 600; }
.nav-item svg, .icon svg { width: 19px; height: 19px; stroke-width: 1.7; }
.nav-item .icon { display: inline-flex; }
.nav-count { font-size: 10px; font-weight: 600; margin-left: auto; padding: 1px 6px; border-radius: 5px; color: #6a8575; background: #e2ece4; line-height: 17px; }
.sidebar-bottom { margin-top: auto; padding-top: 30px; }
.sidebar-helper { background: #f7f9f7; border: 1px solid var(--line); border-radius: 12px; padding: 15px 13px; margin: 0 2px 16px; }
.sidebar-helper .ada-symbol { margin-bottom: 10px; width: 28px; height: 28px; }
.sidebar-helper h4, .sidebar-helper strong { font-size: 11px; font-weight: 600; }
.sidebar-helper p { color: var(--muted); font-size: 10px; margin-top: 6px; line-height: 1.7; }
.sidebar-helper .btn { font-size: 10px; margin-top: 12px; min-height: 32px; width: 100%; padding: 7px 8px; }
.user-card { border-top: 1px solid var(--line); padding: 17px 7px 0; display: flex; align-items: center; gap: 9px; }
.avatar, .profile-avatar { background: #e9ede7; color: #5a705d; border-radius: 50%; width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 10px; font-weight: 600; overflow: hidden; }
.avatar img, .profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.small { width: 28px; height: 28px; font-size: 9px; }
.avatar.large { width: 54px; height: 54px; font-size: 17px; }
.user-copy { flex: 1; min-width: 0; }
.user-copy strong, .user-copy span { display: block; }
.user-copy strong { font-size: 11px; }
.user-copy span { color: var(--muted); font-size: 10px; }
.user-card > svg { color: #8d9892; width: 15px; }
.main-shell { margin-left: var(--sidebar-width); min-width: 0; }
.topbar { height: 76px; padding: 0 39px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); background: #fff; }
.breadcrumb { display: flex; align-items: center; gap: 10px; font-size: 11px; color: #929c97; }
.breadcrumb svg { width: 14px; height: 14px; }
.breadcrumb strong, .breadcrumb .current { color: #54635b; font-weight: 500; }
.topbar-actions { display: flex; align-items: center; gap: 19px; }
.search-trigger { display: flex; align-items: center; gap: 8px; color: #929b96; padding: 8px 10px; background: #f9faf9; border: 1px solid #edf0ed; border-radius: 7px; font-size: 10px; min-width: 175px; }
.search-trigger svg { width: 14px; height: 14px; }
.search-trigger kbd { margin-left: auto; font: inherit; border: 1px solid #e6eae7; background: #fff; border-radius: 3px; padding: 0 4px; color: #a1aaa4; }
.icon-button { width: 33px; height: 33px; border-radius: 7px; background: transparent; display: inline-flex; align-items: center; justify-content: center; color: #738078; position: relative; }
.icon-button:hover { background: #f1f5f2; color: var(--green); }
.icon-button svg { width: 19px; height: 19px; }
.icon-button .notification-dot { position: absolute; width: 5px; height: 5px; border: 1px solid white; background: var(--green); border-radius: 50%; right: 8px; top: 7px; }
.profile-avatar { width: 30px; height: 30px; }
.mobile-menu { display: none; }
.content { padding: 34px 39px 40px; max-width: 1600px; margin: 0 auto; }
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-bottom: 28px; }
.eyebrow { color: #8b9690; font-size: 10px; font-weight: 500; margin-bottom: 7px; }
.page-title { font-family: Manrope, Inter, sans-serif; font-size: clamp(23px, 2.1vw, 30px); line-height: 1.3; font-weight: 700; letter-spacing: -1.05px; color: #202d26; }
.page-description { font-size: 11px; color: #88938d; margin-top: 8px; line-height: 1.7; }
.head-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border-radius: 8px; padding: 10px 14px; min-height: 36px; font-size: 11px; font-weight: 500; line-height: 1.4; white-space: nowrap; transition: transform .16s, background .16s, box-shadow .16s; border: 1px solid transparent; }
.btn svg { width: 15px; height: 15px; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--green); color: #fff; border-color: var(--green); }
.btn-primary:hover { background: var(--green-dark); border-color: var(--green-dark); }
.btn-secondary { background: #fff; color: #5c6b61; border-color: #e2e8e3; }
.btn-secondary:hover { background: #f5f8f5; }
.btn-ghost { color: #5d7867; background: transparent; padding-left: 3px; padding-right: 3px; }
.btn-ghost:hover { background: #f2f6f2; }
.btn-sm { min-height: 31px; font-size: 10px; padding: 7px 11px; border-radius: 7px; }
.btn-danger { background: #fff4f2; color: #aa554a; border-color: #f1dcd7; }
.btn-danger:hover { background: #ffece8; }
.badge { display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 4px 7px; font-size: 9px; line-height: 1.2; font-weight: 500; border-radius: 5px; white-space: nowrap; background: #f1f3f1; color: #849087; }
.badge.green { background: #edf5ef; color: #55816a; }
.badge.amber { background: #fbf4e7; color: #a48a4a; }
.badge.muted { background: #f1f3f4; color: #84908a; }
.badge.purple { background: #f1eef8; color: #8b75ad; }
.badge svg { width: 10px; height: 10px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 17px; margin-bottom: 25px; }
.stat-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 19px; min-width: 0; }
.stat-top { display: flex; align-items: center; justify-content: space-between; gap: 9px; color: #7a8880; font-size: 10px; margin-bottom: 12px; }
.stat-icon { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 7px; background: #f6f8f6; color: #9aac9f; }
.stat-icon svg { width: 15px; height: 15px; }
.stat-value { font-family: Manrope, Inter, sans-serif; font-size: 28px; line-height: 1.2; font-weight: 700; letter-spacing: -.8px; }
.stat-value small { font-size: 15px; font-weight: 400; color: #a0aaa3; margin-left: 3px; }
.stat-footer { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; color: #9aa49e; font-size: 9px; margin-top: 12px; }
.trend { color: #59866b; display: inline-flex; align-items: center; gap: 3px; font-size: 9px; }
.trend svg { width: 12px; height: 12px; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 22px; align-items: start; margin-bottom: 23px; }
.dashboard-main, .dashboard-side { min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; min-width: 0; }
.panel-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 21px 22px 18px; }
.panel-title { font-family: Manrope, Inter, sans-serif; font-size: 13px; font-weight: 700; letter-spacing: -.2px; }
.panel-subtitle { font-size: 10px; color: #95a098; margin-top: 5px; line-height: 1.6; }
.panel-header .btn-ghost { font-size: 10px; min-height: 25px; }
.panel-body { padding: 0 22px 22px; }
.panel-footer { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 22px; border-top: 1px solid #edf0ed; color: #929c96; font-size: 10px; }
.upcoming-feature { display: grid; grid-template-columns: 37% minmax(0,1fr); margin: 0 22px 23px; border: 1px solid #e3e9e3; border-radius: 11px; overflow: hidden; min-height: 205px; }
.event-art { background: #dae7d8; position: relative; min-height: 100%; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.event-art svg { width: 100%; height: 100%; object-fit: cover; }
.event-art .art-caption { position: absolute; bottom: 18px; left: 18px; color: #264d36; font-size: 9px; letter-spacing: 1.3px; font-weight: 600; }
.event-feature-content { padding: 21px 19px 18px; min-width: 0; }
.event-kicker { display: flex; align-items: center; gap: 8px; font-size: 9px; color: #85968a; margin-bottom: 9px; }
.event-title { font-family: Manrope, Inter, sans-serif; font-size: 17px; font-weight: 700; letter-spacing: -.5px; line-height: 1.4; margin-bottom: 12px; }
.event-meta { display: flex; flex-direction: column; gap: 7px; color: #8a978e; font-size: 10px; }
.meta-row { display: flex; align-items: center; gap: 7px; }
.meta-row svg { width: 13px; height: 13px; color: #93a094; }
.event-bottom { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 16px; margin-top: 14px; border-top: 1px solid #edf0eb; }
.avatar-stack { display: flex; align-items: center; padding-left: 3px; }
.avatar-stack .avatar { width: 24px; height: 24px; border: 2px solid #fff; font-size: 7px; margin-left: -4px; background: #dbe4d5; }
.avatar-stack .avatar:nth-child(2n) { background: #e9dcd2; color: #8f7262; }
.avatar-stack .avatar:nth-child(3n) { background: #e4dfea; color: #8c7b97; }
.avatar-stack .avatar-more { margin-left: 7px; color: #919d93; font-size: 9px; }
.capacity-track { height: 4px; background: #edf1eb; border-radius: 10px; overflow: hidden; margin-top: 12px; }
.capacity-fill { background: #9ebda1; height: 100%; border-radius: 10px; }
.capacity-caption { display: flex; justify-content: space-between; margin-top: 5px; color: #9ba69c; font-size: 8px; }
.chart-wrap { padding: 0 24px 19px; }
.chart-grid { display: flex; justify-content: space-around; align-items: flex-end; gap: 20px; height: 185px; padding: 10px 10px 25px; position: relative; background-image: linear-gradient(to top, #edf0ed 1px, transparent 1px); background-size: 100% 40px; background-position: 0 0; }
.chart-column { display: flex; align-items: center; justify-content: flex-end; flex-direction: column; position: relative; height: 100%; flex: 1; max-width: 44px; z-index: 1; }
.chart-bar { width: 100%; min-height: 2px; background: #c7d9c9; border-radius: 5px 5px 0 0; position: relative; transition: height .5s; }
.chart-column:last-child .chart-bar { background: #4e7b5c; }
.chart-label { position: absolute; bottom: -23px; color: #99a39b; font-size: 9px; white-space: nowrap; }
.chart-value { font-size: 9px; color: #8b9c8e; margin-bottom: 6px; }
.chart-legend { display: flex; gap: 16px; align-items: center; margin: 17px 0 0; color: #9aa39b; font-size: 9px; }
.chart-legend span { display: inline-flex; align-items: center; gap: 5px; }
.legend-dot { width: 6px; height: 6px; border-radius: 2px; background: #71947a; display: inline-block; }
.activity-list { padding: 0 22px 9px; }
.activity-item { display: flex; align-items: flex-start; gap: 11px; padding: 14px 0; border-bottom: 1px solid #eff2ef; }
.activity-item:last-child { border-bottom: 0; }
.activity-dot { width: 28px; height: 28px; background: #f2f6f1; color: #8aab8f; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; }
.activity-dot svg { width: 13px; height: 13px; }
.activity-copy { flex: 1; min-width: 0; color: #839086; font-size: 10px; line-height: 1.7; }
.activity-copy strong { display: block; color: #536456; font-weight: 500; }
.activity-time { color: #a2ada4; font-size: 8px; margin-top: 3px; white-space: nowrap; }
.ada-panel { background: #eef4ed; border: 1px solid #dfe9dc; border-radius: var(--radius); padding: 22px; position: relative; overflow: hidden; }
.ada-panel .panel-header { padding: 0 0 18px; }
.ada-panel .panel-title { color: #365c3f; }
.ada-symbol { width: 34px; height: 34px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; color: #477c54; background: #dfeadc; flex-shrink: 0; }
.ada-symbol svg { width: 18px; height: 18px; }
.ada-heading { display: flex; align-items: center; gap: 10px; }
.ada-message { font-size: 11px; line-height: 1.8; color: #6a836c; margin-bottom: 15px; }
.ada-message strong { color: #3e6447; }
.ada-suggestion { background: #fff9; border: 1px solid #e1eadd; border-radius: 9px; padding: 13px; margin-bottom: 12px; }
.ada-suggestion strong { display: block; font-size: 11px; color: #49684d; }
.ada-suggestion p { font-size: 10px; line-height: 1.7; color: #829281; margin-top: 4px; }
.ada-footer { padding-top: 3px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.ada-footer .btn { font-size: 10px; }
.ada-footer small { font-size: 9px; color: #8a9d87; }
.table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.data-table { width: 100%; border-collapse: collapse; text-align: left; white-space: nowrap; }
.data-table th { color: #99a39d; font-size: 9px; font-weight: 500; padding: 11px 22px; border-top: 1px solid #f0f2ef; border-bottom: 1px solid #f0f2ef; background: #fcfdfc; }
.data-table td { padding: 14px 22px; border-bottom: 1px solid #f0f2ef; font-size: 10px; color: #7d8a81; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover { background: #fafcf9; }
.data-table td:last-child, .data-table th:last-child { text-align: right; }
.cell-primary { color: #526458; font-size: 11px; font-weight: 500; }
.cell-secondary { color: #a1aba4; font-size: 9px; margin-top: 3px; }
.member-cell { display: flex; align-items: center; gap: 10px; }
.member-cell .avatar { width: 31px; height: 31px; font-size: 9px; }
.toolbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; margin-bottom: 23px; }
.toolbar-group { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tabs { display: flex; align-items: center; padding: 4px; gap: 3px; border: 1px solid #e5eae5; background: #edf0ed; border-radius: 9px; max-width: 100%; overflow-x: auto; }
.tab { background: transparent; color: #89958d; font-size: 11px; font-weight: 500; padding: 7px 12px; border-radius: 6px; white-space: nowrap; }
.tab.active { background: #fff; color: #44664f; box-shadow: 0 1px 3px #263f2c08; }
.tab:hover { color: #315d3f; }
.search-field { display: flex; align-items: center; gap: 8px; border: 1px solid #e1e7e2; background: white; border-radius: 8px; padding: 0 11px; height: 36px; min-width: 190px; }
.search-field svg { width: 14px; height: 14px; color: #99a39c; }
.search-field input { border: 0; outline: 0; background: transparent; width: 100%; min-width: 0; font-size: 11px; }
.search-field:focus-within { border-color: #6d9c7f; box-shadow: 0 0 0 3px #e5f0e8; }
.search-field input:focus-visible { outline: 0; box-shadow: none; }
.search-field input::placeholder { color: #a1aba3; }
.filter-select { padding: 8px 30px 8px 11px; min-height: 36px; font-size: 11px; border: 1px solid #e1e7e2; border-radius: 8px; background: white; color: #75847a; }
.event-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.event-card { border: 1px solid var(--line); border-radius: var(--radius); background: white; overflow: hidden; transition: transform .2s, border-color .2s; min-width: 0; }
.event-card:hover { transform: translateY(-3px); border-color: #cfded1; }
.event-card-art { height: 145px; background: #e0e9da; position: relative; overflow: hidden; }
.event-card-art > svg { width: 100%; height: 100%; object-fit: cover; }
.event-card-art .badge { position: absolute; right: 14px; top: 14px; background: #fffdf3; }
.event-card-art .event-date { position: absolute; top: 14px; left: 14px; background: #fffffff0; min-width: 45px; border-radius: 9px; padding: 7px 10px; text-align: center; display: flex; flex-direction: column; line-height: 1.2; }
.event-date strong { font-size: 19px; font-family: Manrope, Inter, sans-serif; color: #375c42; }
.event-date span { font-size: 8px; text-transform: uppercase; color: #89a08e; margin-top: 3px; }
.event-card-content { padding: 21px; }
.event-card-content h3 { font-size: 15px; font-family: Manrope, Inter, sans-serif; letter-spacing: -.4px; font-weight: 700; margin-bottom: 13px; }
.event-card-meta { color: #8c998f; font-size: 10px; display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.event-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid #edf1ed; padding-top: 15px; }
.empty-state { padding: 55px 25px; text-align: center; color: #99a49b; }
.empty-state > svg { margin: 0 auto 14px; color: #a0b4a2; width: 35px; height: 35px; }
.empty-state h3 { color: #586e5d; font-size: 15px; margin-bottom: 7px; }
.empty-state p { font-size: 11px; line-height: 1.7; max-width: 350px; margin: 0 auto; }
.empty-state .btn { margin-top: 18px; }
.split-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px,1fr); gap: 24px; align-items: start; }
.list-stack { display: flex; flex-direction: column; gap: 12px; }
.member-card { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); padding: 15px; border-radius: 10px; background: white; }
.member-card .member-info { flex: 1; min-width: 0; }
.detail-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 19px; }
.detail-grid dt { color: #9ca69e; font-size: 10px; margin-bottom: 5px; }
.detail-grid dd { color: #4b6252; margin: 0; font-size: 12px; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 19px; }
.form-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.form-field.full { grid-column: 1 / -1; }
.field-label, .form-field > label { color: #617466; font-size: 11px; font-weight: 500; }
.input, .textarea, .select { border: 1px solid #dde6de; border-radius: 8px; background: white; padding: 11px 12px; font-size: 12px; color: #425b49; width: 100%; max-width: 100%; min-height: 40px; outline: none; transition: box-shadow .16s, border-color .16s; }
.input::placeholder, .textarea::placeholder { color: #a8b2aa; }
.textarea { min-height: 130px; resize: vertical; line-height: 1.8; }
.helper-text { color: #97a39a; font-size: 10px; line-height: 1.7; }
.checkbox-row { display: flex; align-items: flex-start; gap: 9px; color: #7a8d80; font-size: 11px; line-height: 1.7; }
input[type="checkbox"] { accent-color: var(--green); width: 15px; height: 15px; margin: 2px 0 0; flex-shrink: 0; }
.modal-backdrop { position: fixed; inset: 0; background: #1c302c55; backdrop-filter: blur(4px); z-index: 100; display: flex; align-items: center; justify-content: center; padding: 24px; overflow: auto; }
.modal { width: min(580px,100%); max-height: calc(100dvh - 48px); overflow: auto; background: white; border-radius: 18px; box-shadow: 0 24px 100px #13281b26; animation: modal-in .2s ease-out; }
.modal.wide { width: min(860px,100%); }
.modal-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; padding: 25px 26px 20px; border-bottom: 1px solid var(--line); }
.modal-header h2 { font-family: Manrope, Inter, sans-serif; font-size: 20px; letter-spacing: -.7px; font-weight: 700; }
.modal-header p { color: #95a297; font-size: 11px; margin-top: 5px; }
.modal-body { padding: 25px 26px; }
.modal-footer { display: flex; justify-content: flex-end; align-items: center; gap: 10px; padding: 18px 26px; border-top: 1px solid var(--line); background: #fcfdfb; }
.modal-close { width: 28px; height: 28px; flex-shrink: 0; display: grid; place-items: center; background: #f5f8f4; border-radius: 7px; color: #8b9c8c; }
.modal-close svg { width: 15px; height: 15px; }
.toast { position: fixed; bottom: 26px; left: calc(50% + var(--sidebar-width) / 2); transform: translateX(-50%); z-index: 150; padding: 13px 19px; border-radius: 10px; background: #264b35; color: #f0f8ef; box-shadow: 0 6px 24px #1d392923; display: flex; align-items: center; gap: 10px; max-width: calc(100vw - 40px); font-size: 12px; animation: toast-in .22s ease; }
.toast svg { width: 16px; height: 16px; }
.progress { height: 6px; border-radius: 10px; background: #edf1eb; overflow: hidden; }
.progress-fill { height: 100%; background: #8db195; border-radius: inherit; }
.topics-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 19px; }
.topic-card { border: 1px solid var(--line); border-radius: 13px; background: white; padding: 21px; }
.topic-card h3 { font-size: 14px; font-family: Manrope, Inter, sans-serif; letter-spacing: -.3px; margin-top: 16px; }
.topic-card p { color: #91a093; font-size: 11px; margin: 8px 0 20px; line-height: 1.7; }
.topic-card .topic-rank { font-family: Manrope, Inter, sans-serif; font-size: 23px; color: #bdd0bd; font-weight: 500; }
.metric-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
.metric-box { border: 1px solid #e5ece3; border-radius: 10px; padding: 17px; }
.metric-box strong { display: block; font-family: Manrope, Inter, sans-serif; font-size: 23px; color: #46684e; }
.metric-box span { color: #9aa69b; font-size: 10px; }
.demo-label { display: inline-flex; align-items: center; gap: 5px; font-size: 9px; color: #929e94; background: #eff3ed; border: 1px solid #e5ebe2; padding: 4px 7px; border-radius: 5px; white-space: nowrap; }
.demo-label svg { width: 10px; height: 10px; }
.notice { display: flex; align-items: flex-start; gap: 10px; border: 1px solid #e1e9dc; background: #f3f7ef; color: #7c927c; font-size: 11px; line-height: 1.8; border-radius: 10px; padding: 14px 16px; margin-bottom: 22px; }
.notice svg { width: 16px; height: 16px; margin-top: 1px; color: #89a186; }
.notice strong { color: #547356; }
.notice.amber { background: #faf7ef; border-color: #efe5cc; color: #9d916a; }
.channel-status { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 14px 0; border-bottom: 1px solid #e8eee4; font-size: 11px; }
.channel-status:last-child { border-bottom: 0; }
.channel-info { display: flex; align-items: center; gap: 10px; }
.channel-info svg { width: 18px; height: 18px; color: #799876; }
.compose-grid { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(270px,1fr); gap: 24px; align-items: start; }
.compose-grid .panel-body { padding-top: 4px; }
.message-preview { border-radius: 12px; border: 1px solid #e1e9dd; background: #f4f7ef; padding: 20px; }
.phone-preview { padding: 18px; background: #eef2e8; border-radius: 12px; min-height: 280px; display: flex; flex-direction: column; }
.phone-preview-header { display: flex; align-items: center; gap: 10px; border-bottom: 1px solid #dfe7d7; padding-bottom: 15px; margin-bottom: 22px; }
.phone-preview-header strong { color: #56704e; font-size: 11px; }
.phone-preview-header small { color: #9aad92; font-size: 9px; display: block; }
.chat-bubble { margin-left: 18px; padding: 15px 16px; background: white; border-radius: 12px 12px 2px 12px; color: #698063; font-size: 11px; line-height: 1.8; white-space: pre-wrap; overflow-wrap: anywhere; border: 1px solid #e1e9d9; }
.chat-bubble small { display: block; text-align: right; font-size: 8px; color: #a2b197; margin-top: 10px; }
.approval-steps { display: flex; gap: 18px; margin-bottom: 24px; }
.approval-step { flex: 1; color: #a0afa0; border-top: 3px solid #e3eae0; padding-top: 10px; font-size: 10px; }
.approval-step strong { display: block; margin-top: 3px; font-size: 11px; font-weight: 500; }
.approval-step.active, .approval-step.complete { border-top-color: #6a956e; color: #658967; }
.audience-item { display: flex; align-items: center; gap: 10px; border-bottom: 1px solid #edf1e9; padding: 12px 0; font-size: 11px; color: #688063; }
.audience-item:last-child { border-bottom: 0; }
.audience-item input[type="checkbox"] { margin-right: 4px; }
.audience-item > div { flex: 1; }
.audience-item small { display: block; font-size: 9px; color: #a2af9c; margin-top: 2px; }
.checkin-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 21px; border-bottom: 1px solid #edf1e9; background: white; }
.checkin-row:last-child { border-bottom: 0; }
.checkin-row.checked { background: #f5f9f2; }
.checkin-row.checked .btn-secondary { background: #e6f1e1; border-color: #dae9d3; color: #688860; }
.checkin-row .member-cell { min-width: 0; }
.checkin-row .member-cell > div { min-width: 0; }
.checkin-row .cell-secondary { white-space: normal; }
.rating-stars { display: flex; align-items: center; gap: 5px; color: #b9a77f; }
.rating-stars svg { width: 14px; height: 14px; }
.rating-button { width: 38px; height: 38px; border: 1px solid #e2e9dd; background: white; color: #a4b299; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; }
.rating-button:hover { background: #f4f8f0; }
.rating-button.selected { background: #e9f2e2; border-color: #92b97d; color: #668650; }
.rating-button svg { width: 17px; height: 17px; }
.settings-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.settings-card { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.settings-card h3 { font-family: Manrope, Inter, sans-serif; font-size: 14px; letter-spacing: -.3px; margin-bottom: 7px; }
.settings-card > p { font-size: 11px; line-height: 1.8; color: #94a18f; margin-bottom: 20px; }
.settings-card .form-grid { margin-top: 22px; }
.public-shell { min-height: 100dvh; background: #f2f5ef; padding: 45px 24px; display: flex; flex-direction: column; align-items: center; }
.public-shell > .brand { margin-bottom: 30px; }
.public-card { width: min(600px,100%); background: #fff; border: 1px solid #e3eade; border-radius: 20px; overflow: hidden; box-shadow: 0 12px 55px #324c2410; }
.public-banner { background: #dce8d3; height: 180px; position: relative; overflow: hidden; }
.public-banner > svg { width: 100%; height: 100%; object-fit: cover; }
.public-card-body { padding: 30px; }
.public-card h1 { font-family: Manrope, Inter, sans-serif; letter-spacing: -.7px; font-size: 25px; line-height: 1.4; }
.public-card .form-grid { margin-top: 25px; }
.public-card .event-meta { margin-top: 18px; }
.public-footer { color: #97a58f; font-size: 10px; margin-top: 22px; text-align: center; }
.skeleton { background: linear-gradient(90deg,#f0f3ee 25%,#fafcf8 50%,#f0f3ee 75%); background-size: 200% 100%; animation: skeleton 1.5s infinite; border-radius: 7px; }
.section-spacer { margin-top: 25px; }
.text-muted { color: var(--muted); }
.text-green { color: var(--green); }
.text-right { text-align: right; }
.full-width { width: 100%; }
.flex-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.flex-center { display: flex; align-items: center; gap: 10px; }
.divider { border: 0; border-top: 1px solid var(--line); margin: 22px 0; }
.stack { display: flex; flex-direction: column; gap: 18px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { padding: 4px 8px; font-size: 9px; color: #8a9b81; background: #f0f5eb; border-radius: 5px; }
.form-section { padding-top: 23px; margin-top: 23px; border-top: 1px solid var(--line); }
.form-section:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.form-section > h3 { font-family: Manrope, Inter, sans-serif; font-size: 13px; font-weight: 700; letter-spacing: -.2px; margin-bottom: 5px; }
.form-section > p { font-size: 10px; color: #91a08f; line-height: 1.7; margin-bottom: 17px; }
.survey-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.survey-option { display: flex; align-items: flex-start; gap: 11px; border: 1px solid #e1e8de; border-radius: 10px; padding: 16px; background: #fff; color: #809079; text-align: left; position: relative; }
.survey-option > svg { width: 19px; height: 19px; margin-top: 1px; color: #93a68b; }
.survey-option strong { display: block; font-size: 11px; font-weight: 600; color: #657c5d; }
.survey-option p, .survey-option small { display: block; font-size: 10px; line-height: 1.7; margin-top: 4px; color: #98a78f; }
.survey-option:hover { background: #f8faf5; border-color: #c9dbc2; }
.survey-option.active { background: #f0f6eb; border-color: #88ab76; box-shadow: 0 0 0 1px #88ab7615; }
.survey-option.active strong { color: #4d7043; }
.survey-option.active > svg { color: #6d945a; }
.survey-schedule { background: #f7f9f4; border: 1px solid #e5ecdf; border-radius: 11px; padding: 17px; margin-top: 18px; }
.survey-schedule > strong { display: block; color: #607d51; font-size: 11px; margin-bottom: 12px; }
.survey-schedule .form-grid { gap: 13px; }
.survey-schedule .helper-text { margin-top: 10px; }
.answer-card { border: 1px solid #e4ebdf; border-radius: 10px; background: white; padding: 19px; }
.answer-card > h4 { font-size: 12px; font-weight: 600; color: #59714f; margin-bottom: 12px; }
.answer-card > p { color: #879a7e; font-size: 11px; line-height: 1.8; }
.answer-card-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.answer-card-footer { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 12px; margin-top: 14px; border-top: 1px solid #edf1e8; color: #a0ad98; font-size: 9px; }
.survey-summary { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; padding: 20px; background: #f2f7ed; border: 1px solid #e1ebd8; border-radius: 12px; margin-bottom: 22px; }
.survey-summary strong { display: block; font-family: Manrope, Inter, sans-serif; font-size: 23px; letter-spacing: -.5px; color: #547344; }
.survey-summary span, .survey-summary small { display: block; font-size: 10px; color: #95a688; line-height: 1.6; margin-top: 3px; }
.survey-question { padding: 18px 0; border-bottom: 1px solid #edf1e8; }
.survey-question:last-child { border-bottom: 0; }
.survey-question > label, .survey-question > h4 { display: block; font-size: 12px; font-weight: 500; color: #657d59; margin-bottom: 11px; }
.chat-bubble.incoming { margin-left: 0; margin-right: 18px; border-radius: 12px 12px 12px 2px; }
.chat-bubble.outgoing { background: #e1efd8; border-color: #d7e7cc; margin-top: 12px; }
.chat-options { display: flex; flex-wrap: wrap; gap: 7px; margin: 12px 0 12px 18px; }
.chat-options button { background: #fff; color: #6a8a58; font-size: 10px; border: 1px solid #dbe7d2; padding: 7px 10px; border-radius: 7px; }
.chat-options button:hover, .chat-options button.selected { background: #dfeeda; border-color: #afcba0; }
.sidebar-backdrop { display: none; }
@keyframes modal-in { from { opacity: 0; transform: translateY(10px) scale(.99); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes toast-in { from { opacity: 0; margin-bottom: -8px; } to { opacity: 1; margin-bottom: 0; } }
@keyframes skeleton { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

@media (min-width: 1600px) {
  .content { padding-top: 42px; }
  .page-head { margin-bottom: 32px; }
  .stat-card { padding: 22px; }
  .stat-value { font-size: 33px; }
  .upcoming-feature { min-height: 230px; }
  .event-feature-content { padding: 23px; }
}

@media (max-width: 1200px) {
  :root { --sidebar-width: 212px; }
  .sidebar { padding-left: 13px; padding-right: 13px; }
  .topbar { padding-left: 25px; padding-right: 25px; }
  .content { padding: 28px 25px 35px; }
  .stats-grid { gap: 12px; }
  .stat-card { padding: 16px; }
  .dashboard-grid { gap: 17px; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); }
  .upcoming-feature { grid-template-columns: 32% minmax(0,1fr); margin-left: 17px; margin-right: 17px; }
  .event-feature-content { padding: 17px 14px; }
  .event-title { font-size: 15px; }
  .event-bottom { flex-wrap: wrap; }
  .event-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .panel-header { padding-left: 17px; padding-right: 17px; }
  .panel-body { padding-left: 17px; padding-right: 17px; }
  .ada-panel { padding: 18px; }
  .data-table td, .data-table th { padding-left: 17px; padding-right: 17px; }
}

@media (max-width: 1000px) {
  :root { --sidebar-width: 195px; }
  .sidebar { padding-left: 10px; padding-right: 10px; }
  .brand { padding-left: 10px; padding-right: 10px; }
  .brand-word, .brand-hub { font-size: 21px; }
  .workspace-card { padding: 10px 8px; gap: 8px; }
  .nav-item { padding-left: 10px; padding-right: 10px; gap: 9px; font-size: 11px; }
  .nav-item svg { width: 17px; height: 17px; }
  .search-trigger { min-width: 145px; }
  .topbar-actions { gap: 10px; }
  .page-head { align-items: flex-start; }
  .head-actions { gap: 7px; }
  .head-actions .btn { padding-left: 10px; padding-right: 10px; font-size: 10px; }
  .stats-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .dashboard-grid { grid-template-columns: minmax(0,1fr); }
  .dashboard-side { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px; }
  .upcoming-feature { grid-template-columns: 38% minmax(0,1fr); }
  .event-feature-content { padding: 22px; }
  .event-title { font-size: 19px; }
  .split-layout, .compose-grid { grid-template-columns: minmax(0,1fr); }
  .phone-preview { min-height: 230px; }
  .topics-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 760px) {
  :root { --sidebar-width: 232px; }
  .sidebar { transform: translateX(-100%); transition: transform .2s ease; padding-left: 18px; padding-right: 18px; }
  .sidebar.open, body.sidebar-open .sidebar { transform: translateX(0); box-shadow: 10px 0 50px #1b3a2220; }
  body.sidebar-open { overflow: hidden; }
  .sidebar-backdrop { position: fixed; inset: 0; background: #172c2455; z-index: 35; }
  body.sidebar-open .sidebar-backdrop { display: block; }
  .main-shell { margin-left: 0; }
  .topbar { height: 65px; padding: 0 20px; gap: 10px; }
  .mobile-menu { display: inline-flex; margin-left: -5px; }
  .breadcrumb { margin-right: auto; gap: 7px; font-size: 10px; }
  .topbar-actions { gap: 9px; }
  .search-trigger { display: none; }
  .content { padding: 27px 20px 35px; }
  .page-head { gap: 15px; margin-bottom: 24px; }
  .page-title { font-size: 25px; letter-spacing: -.9px; }
  .page-description { font-size: 11px; }
  .head-actions { flex-wrap: wrap; justify-content: flex-end; }
  .stats-grid { margin-bottom: 21px; gap: 13px; }
  .stat-card { padding: 17px; }
  .stat-value { font-size: 28px; }
  .stat-top { font-size: 10px; }
  .dashboard-grid { gap: 20px; }
  .dashboard-main, .dashboard-side { gap: 20px; }
  .upcoming-feature { margin-left: 18px; margin-right: 18px; }
  .event-grid { gap: 16px; }
  .event-card-content { padding: 18px; }
  .event-card-art { height: 130px; }
  .settings-grid { grid-template-columns: minmax(0,1fr); }
  .toast { left: 50%; bottom: 20px; width: max-content; max-width: calc(100vw - 35px); }
  .modal-backdrop { padding: 16px; }
  .modal { max-height: calc(100dvh - 32px); }
}

@media (max-width: 500px) {
  body { font-size: 12px; }
  .topbar { padding-left: 16px; padding-right: 16px; }
  .topbar-actions { gap: 3px; }
  .topbar .demo-label { display: none; }
  .breadcrumb > span:first-child:not(.current) { display: none; }
  .breadcrumb > svg:first-of-type { display: none; }
  .content { padding: 24px 16px 30px; }
  .page-head { flex-wrap: wrap; gap: 17px; }
  .page-title { font-size: 26px; }
  .page-description { max-width: 315px; }
  .head-actions { justify-content: flex-start; gap: 8px; }
  .head-actions .btn { font-size: 10px; padding: 9px 12px; }
  .stats-grid { gap: 11px; }
  .stat-card { padding: 15px 13px; }
  .stat-top { gap: 5px; font-size: 9px; margin-bottom: 10px; }
  .stat-icon { width: 23px; height: 23px; border-radius: 6px; }
  .stat-icon svg { width: 13px; height: 13px; }
  .stat-value { font-size: 26px; }
  .stat-footer { font-size: 8px; margin-top: 10px; line-height: 1.7; }
  .stat-footer .trend { font-size: 8px; }
  .dashboard-side { display: flex; flex-direction: column; }
  .panel-header { padding: 19px 17px 16px; }
  .panel-title { font-size: 13px; }
  .upcoming-feature { display: flex; flex-direction: column; margin: 0 17px 17px; }
  .event-art { height: 155px; min-height: 155px; }
  .event-art svg { width: 100%; }
  .event-feature-content { padding: 19px; }
  .event-title { font-size: 19px; }
  .event-meta { font-size: 11px; }
  .event-bottom { flex-wrap: nowrap; }
  .chart-wrap { padding-left: 16px; padding-right: 16px; }
  .chart-grid { gap: 17px; height: 180px; }
  .chart-label { font-size: 8px; }
  .chart-legend { font-size: 8px; }
  .data-table { min-width: 580px; }
  .data-table th, .data-table td { padding-left: 15px; padding-right: 15px; }
  .panel-footer { padding-left: 17px; padding-right: 17px; font-size: 9px; }
  .toolbar { gap: 14px; }
  .toolbar .search-field { flex: 1; min-width: 0; }
  .toolbar-group { width: 100%; }
  .tabs { width: 100%; }
  .tab { flex: 1; padding: 7px 9px; font-size: 10px; }
  .event-grid, .topics-grid { grid-template-columns: minmax(0,1fr); }
  .event-card-art { height: 170px; }
  .event-card-content { padding: 21px; }
  .event-card-content h3 { font-size: 17px; }
  .event-card-meta { font-size: 11px; }
  .detail-grid { gap: 16px; }
  .form-grid { grid-template-columns: minmax(0,1fr); gap: 16px; }
  .input, .textarea, .select { font-size: 16px; }
  .search-field input { font-size: 16px; }
  .modal-header { padding: 23px 20px 18px; }
  .modal-header h2 { font-size: 19px; }
  .modal-body { padding: 22px 20px; }
  .modal-footer { padding: 17px 20px; }
  .modal-footer .btn { flex: 1; }
  .metric-grid { gap: 9px; }
  .metric-box { padding: 13px 10px; }
  .metric-box strong { font-size: 20px; }
  .metric-box span { font-size: 9px; }
  .compose-grid { gap: 20px; }
  .approval-steps { gap: 12px; }
  .approval-step { font-size: 9px; }
  .approval-step strong { font-size: 10px; }
  .checkin-row { padding: 15px; gap: 10px; }
  .checkin-row .avatar { width: 29px; height: 29px; }
  .checkin-row .cell-primary { font-size: 10px; }
  .checkin-row .btn { font-size: 9px; padding: 7px 9px; }
  .rating-button { width: 34px; height: 34px; }
  .public-shell { padding: 25px 15px; }
  .public-card-body { padding: 23px; }
  .public-banner { height: 150px; }
  .public-card h1 { font-size: 23px; }
  .survey-options { grid-template-columns: minmax(0,1fr); }
  .survey-option { padding: 15px; }
  .survey-summary { padding: 15px; gap: 11px; }
  .survey-summary strong { font-size: 21px; }
  .survey-summary span, .survey-summary small { font-size: 9px; }
  .survey-schedule { padding: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

@media print {
  .sidebar, .topbar, .head-actions, .toolbar, .demo-label, .toast, .modal-backdrop, .btn { display: none !important; }
  .main-shell { margin: 0; }
  .content { padding: 0; }
  body { background: #fff; }
  .panel, .stat-card { break-inside: avoid; box-shadow: none; }
  .table-wrap { overflow: visible; }
  .data-table { min-width: 0; }
}
