:root {
  color-scheme: light;
  --forest: #153a31;
  --forest-2: #214e42;
  --forest-3: #2e6656;
  --lime: #d3ed91;
  --paper: #f5f6f1;
  --white: #fff;
  --ink: #1d2925;
  --muted: #78827d;
  --line: #e8ebe5;
  --orange: #e89a5c;
  --red: #c65e4d;
  --shadow: 0 12px 40px rgba(27, 46, 38, .08);
  font-family: "DM Sans", sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); min-width: 320px; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.app-shell { display: flex; min-height: 100vh; }

.sidebar {
  width: 246px; flex: 0 0 246px; background: var(--forest); color: #d5e0d9;
  min-height: 100vh; padding: 27px 16px 18px; display: flex; flex-direction: column;
  position: fixed; inset: 0 auto 0 0; z-index: 20;
}
.brand { display: flex; align-items: center; gap: 11px; padding: 0 10px 28px; color: white; }
.brand-mark { width: 37px; height: 37px; display: grid; place-items: center; border-radius: 12px; background: var(--lime); color: var(--forest); }
.brand-mark .icon { width: 23px; height: 23px; stroke-width: 1.6; }
.brand-name { font: 800 13px/1.2 Manrope, sans-serif; letter-spacing: -.3px; }
.brand-name span { display: block; font-size: 10px; font-weight: 500; color: #b0c2b8; letter-spacing: .5px; margin-top: 3px; }
.nav-caption { margin: 8px 11px 10px; color: #91a69b; font-size: 9px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; }
.nav-list { display: grid; gap: 4px; }
.nav-link { border: 0; color: #bfd0c6; background: transparent; padding: 11px 12px; display: flex; align-items: center; gap: 12px; border-radius: 9px; text-align: left; font-size: 12px; transition: .18s ease; }
.nav-link .icon { width: 18px; height: 18px; }
.nav-link:hover { background: rgba(255,255,255,.07); color: white; }
.nav-link.active { background: var(--lime); color: var(--forest); font-weight: 700; }
.nav-count { margin-left: auto; font-size: 10px; font-weight: 700; background: #e7a26e; color: #382315; padding: 3px 7px; border-radius: 12px; }
.sidebar-bottom { margin-top: auto; }
.range-card { border: 1px solid rgba(255,255,255,.13); border-radius: 12px; padding: 13px; margin: 17px 3px 15px; background: rgba(255,255,255,.045); }
.range-kicker { color: #a7baae; font-size: 9px; text-transform: uppercase; letter-spacing: 1.15px; }
.range-title { color: white; font: 700 13px Manrope,sans-serif; margin: 7px 0 4px; }
.range-copy { color: #aebdb4; font-size: 10px; line-height: 1.6; }
.sidebar-profile { display: flex; align-items: center; gap: 9px; border-top: 1px solid rgba(255,255,255,.13); padding: 17px 7px 0; }
.avatar { width: 32px; height: 32px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: #e6c6a9; color: #62432d; font-size: 10px; font-weight: 700; }
.profile-meta { min-width: 0; font-size: 11px; color: white; font-weight: 600; }
.profile-meta span { display: block; color: #a9bbb0; font-weight: 400; font-size: 9px; margin-top: 3px; }
.sidebar-profile .icon { margin-left: auto; width: 15px; color: #a9bbb0; }

.main { margin-left: 246px; width: calc(100% - 246px); min-width: 0; }
.topbar { height: 72px; background: rgba(255,255,255,.92); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; padding: 0 36px; position: sticky; top: 0; z-index: 10; backdrop-filter: blur(12px); }
.mobile-menu { display: none; }
.breadcrumb { color: #89938e; font-size: 11px; }
.breadcrumb strong { color: var(--ink); font-weight: 600; }
.top-actions { display: flex; align-items: center; gap: 17px; }
.view-switch { display: flex; padding: 3px; border-radius: 8px; background: #f2f4ef; gap: 2px; }
.view-switch button { background: transparent; color: #748078; border: 0; padding: 7px 11px; border-radius: 6px; font-size: 10px; }
.view-switch button.selected { background: white; color: var(--forest); box-shadow: 0 1px 5px #1d292510; font-weight: 700; }
.icon-button { border: 0; background: transparent; color: #748078; display: grid; place-items: center; padding: 6px; position: relative; }
.icon-button .icon { width: 18px; }
.notification-dot { width: 5px; height: 5px; background: #de7959; border-radius: 50%; position: absolute; top: 5px; right: 4px; border: 1px solid white; }
.top-avatar { width: 30px; height: 30px; }
.content { max-width: 1500px; padding: 31px 36px 50px; margin: 0 auto; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.eyebrow { color: #7d8b83; font-size: 10px; font-weight: 600; letter-spacing: .7px; text-transform: uppercase; margin-bottom: 8px; }
h1,h2,h3,p { margin-top: 0; }
h1 { font: 800 27px/1.2 Manrope,sans-serif; letter-spacing: -.9px; margin-bottom: 6px; color: #1d2b25; }
.heading-subtitle { font-size: 12px; color: var(--muted); margin: 0; }
.heading-actions { display: flex; align-items: center; gap: 9px; }
.button { border: 0; border-radius: 8px; padding: 10px 14px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; font-size: 11px; transition: .18s ease; }
.button .icon { width: 15px; height: 15px; }
.button-primary { background: var(--forest); color: white; }
.button-primary:hover { background: var(--forest-2); transform: translateY(-1px); }
.button-secondary { background: white; color: #536159; border: 1px solid var(--line); }
.button-secondary:hover { border-color: #bdc9c0; }
.button-quiet { color: var(--forest-2); background: #edf2e8; }
.button-danger { color: #9c4337; background: #fbece8; }
.button-small { padding: 7px 10px; font-size: 10px; }
.text-link { border: 0; background: none; color: var(--forest-3); font-weight: 700; font-size: 10px; padding: 5px 0; display: inline-flex; gap: 5px; align-items: center; }
.text-link .icon { width: 13px; height: 13px; }

.welcome-banner { min-height: 188px; border-radius: 15px; background: var(--forest); position: relative; overflow: hidden; padding: 27px 29px; color: white; display: flex; align-items: center; margin-bottom: 20px; }
.welcome-banner:before { content:""; position:absolute; width:360px; height:360px; right:5%; top:-225px; border:1px solid rgba(211,237,145,.24); border-radius:50%; box-shadow: 0 0 0 36px rgba(211,237,145,.035),0 0 0 72px rgba(211,237,145,.035),0 0 0 108px rgba(211,237,145,.035); }
.banner-content { position: relative; z-index: 1; max-width: 510px; }
.banner-kicker { color: var(--lime); letter-spacing: 1.4px; text-transform: uppercase; font-size: 9px; font-weight: 700; margin-bottom: 10px; }
.banner-title { font: 800 23px/1.25 Manrope,sans-serif; letter-spacing: -.6px; margin: 0 0 7px; }
.banner-copy { color: #c0d0c6; font-size: 11px; line-height: 1.7; margin: 0 0 15px; max-width: 420px; }
.banner-button { background: var(--lime); color: var(--forest); }
.banner-art { position: absolute; right: 7%; bottom: -31px; height: 212px; width: 260px; color: rgba(211,237,145,.62); }
.banner-art .icon { width: 100%; height: 100%; stroke-width: .4; }
.stat-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 13px; margin-bottom: 23px; }
.stat-card { background: white; border: 1px solid #ecede9; border-radius: 12px; padding: 15px 16px; }
.stat-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.stat-label { color: #7e8982; font-size: 10px; }
.stat-icon { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: #eff4e8; color: #476750; }
.stat-icon .icon { width: 15px; height: 15px; }
.stat-icon.orange { background: #fcf0e5; color: #b97444; }
.stat-icon.blue { background: #edf3f5; color: #507881; }
.stat-icon.pink { background: #f8edeb; color: #a15a4f; }
.stat-value { font: 800 23px Manrope,sans-serif; letter-spacing: -.6px; }
.stat-foot { color: #9ba39e; font-size: 9px; margin-top: 4px; }
.stat-foot .positive { color: #518261; font-weight: 700; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(275px,.9fr); gap: 17px; align-items: start; }
.panel { background: white; border: 1px solid #ecede9; border-radius: 12px; }
.panel-header { padding: 17px 18px; display: flex; align-items: flex-start; justify-content: space-between; border-bottom: 1px solid #eff0ec; }
.panel-title { font: 700 13px Manrope,sans-serif; margin: 0 0 4px; }
.panel-subtitle { font-size: 10px; color: #929b96; margin: 0; }
.panel-body { padding: 6px 18px; }
.event-row { display: flex; gap: 12px; padding: 13px 0; align-items: center; border-bottom: 1px solid #f0f1ee; }
.event-row:last-child { border-bottom: 0; }
.date-tile { width: 43px; height: 46px; background: #f3f5ef; border-radius: 8px; display: flex; flex-direction: column; justify-content: center; align-items: center; flex: 0 0 auto; }
.date-tile strong { font: 800 17px Manrope,sans-serif; color: var(--forest); line-height: 1; }
.date-tile span { color: #7c8981; font-size: 8px; text-transform: uppercase; letter-spacing: .7px; margin-top: 3px; }
.event-main { flex: 1; min-width: 0; }
.event-name { font-size: 11px; font-weight: 700; margin-bottom: 5px; }
.event-details { color: #89948c; font-size: 9px; display: flex; align-items: center; gap: 10px; }
.event-details .icon { width: 12px; height: 12px; }
.event-tag { padding: 5px 7px; border-radius: 6px; background: #eef4e8; color: #52714c; font-size: 8px; font-weight: 700; white-space: nowrap; }
.event-tag.orange { background: #fbf0e6; color: #a3693c; }
.event-tag.blue { background: #edf2f5; color: #587681; }
.news-list { padding: 2px 18px; }
.news-item { padding: 13px 0; border-bottom: 1px solid #f0f1ee; }
.news-item:last-child { border-bottom: 0; }
.news-date { color: #8d9991; font-size: 9px; margin-bottom: 5px; }
.news-title { font-size: 11px; font-weight: 700; margin-bottom: 4px; }
.news-copy { color: #89938d; font-size: 9px; line-height: 1.55; margin: 0; }
.info-callout { background: #f5f8ee; border: 1px solid #e8efd9; border-radius: 10px; padding: 12px 13px; display: flex; gap: 9px; margin-top: 12px; }
.info-callout .icon { color: #668358; width: 15px; }
.info-callout p { font-size: 9px; color: #657260; line-height: 1.55; margin: 0; }

.table-panel { background: white; border: 1px solid #ecede9; border-radius: 12px; overflow: hidden; }
.table-toolbar { padding: 13px 17px; display: flex; justify-content: space-between; align-items: center; gap: 12px; border-bottom: 1px solid #eff0ec; }
.search-box { display: flex; align-items: center; gap: 7px; border: 1px solid #e8ebe5; border-radius: 7px; padding: 8px 10px; min-width: 190px; color: #89938d; background: white; }
.search-box .icon { width: 14px; height: 14px; }
.search-box input { border: 0; outline: 0; width: 100%; min-width: 0; color: var(--ink); font-size: 10px; }
.toolbar-actions { display: flex; gap: 8px; align-items: center; }
.filter-select { border: 1px solid #e8ebe5; border-radius: 7px; background: white; color: #637068; padding: 8px 10px; font-size: 10px; }
.table-wrap { width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; white-space: nowrap; }
th { font-size: 8px; text-transform: uppercase; color: #8c9790; letter-spacing: .65px; font-weight: 700; background: #fbfcfa; padding: 11px 16px; border-bottom: 1px solid #eef0eb; }
td { padding: 12px 16px; font-size: 10px; border-bottom: 1px solid #f0f1ee; color: #57645c; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fcfdfb; }
.result-person { display: flex; align-items: center; gap: 9px; color: #27342d; font-weight: 700; }
.mini-avatar { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: #e8eee1; color: #4a654a; font-size: 8px; font-weight: 700; }
.score-cell { font: 700 11px Manrope,sans-serif; color: #2c4635; }
.badge { display: inline-flex; align-items: center; border-radius: 20px; padding: 5px 8px; font-size: 8px; font-weight: 700; }
.badge-approved { color: #4e7656; background: #edf5e9; }
.badge-pending { color: #a36c34; background: #fbf2df; }
.badge-draft { color: #64737c; background: #edf1f3; }
.row-actions { display: flex; gap: 6px; }
.table-footer { padding: 11px 16px; border-top: 1px solid #eff0ec; display: flex; align-items: center; justify-content: space-between; color: #89948d; font-size: 9px; }
.result-summary { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 16px; }
.summary-chip { background: white; border: 1px solid #ecede9; border-radius: 10px; padding: 12px 14px; }
.summary-chip span { display:block; font-size:9px; color:#8a958e; margin-bottom:5px; }
.summary-chip strong { font:700 16px Manrope,sans-serif; }
.table-empty { color:#8a958e; text-align:center; padding:28px; font-size:11px; }

.calendar-layout { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(250px,.8fr); gap:16px; align-items:start; }
.calendar-card { padding:18px; }
.calendar-title-row { display:flex; align-items:center; justify-content:space-between; margin-bottom:17px; }
.calendar-title-row h2 { font:700 14px Manrope,sans-serif; margin:0; }
.calendar-nav { display:flex; gap:5px; align-items:center; color:#53635a; font-size:10px; }
.calendar-nav button { border:1px solid var(--line); background:white; border-radius:6px; width:26px;height:26px;display:grid;place-items:center;color:#748078; }
.calendar-nav .icon { width:13px;height:13px; }
.calendar-grid { display:grid; grid-template-columns:repeat(7,1fr); }
.calendar-day-name { text-align:center; font-size:8px; color:#89948d; text-transform:uppercase; letter-spacing:.5px; padding:7px 2px; }
.calendar-day { height:62px; border-top:1px solid #f0f1ee; border-right:1px solid #f0f1ee; padding:7px; font-size:9px; color:#5f6b63; position:relative; }
.calendar-day:nth-child(7n) { border-right:0; }
.calendar-day.muted { color:#c1c8c2; }
.calendar-day.today { color:var(--forest); font-weight:700; background:#f6f8f2; }
.calendar-dot { width:5px;height:5px;background:#d9905a;border-radius:50%;position:absolute;left:8px;bottom:8px; }
.calendar-dot.green { background:#688a61; }
.calendar-dot.blue { background:#648a98; }
.upcoming-list { padding:0 16px 9px; }
.upcoming-item { display:flex; gap:10px; padding:12px 0; border-bottom:1px solid #eff0ec; }
.upcoming-item:last-child { border-bottom:0; }
.upcoming-date { width:34px; text-align:center; color:#55705b; font-weight:700;font-size:12px; }
.upcoming-date small { display:block;font-size:8px;color:#929b96;font-weight:500; text-transform:uppercase;margin-top:3px; }
.upcoming-content { min-width:0; flex:1; }
.upcoming-name { font-size:10px;font-weight:700;margin:1px 0 4px; }
.upcoming-meta { color:#929b96;font-size:8px; }
.upcoming-actions { display:flex;align-items:center;gap:8px;white-space:nowrap; }
.text-link.danger { color:#a45548; }

.member-grid { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px; }
.member-card { background:white;border:1px solid #ecede9;border-radius:11px;padding:15px;display:flex;align-items:center;gap:11px; }
.member-card .avatar { width:37px;height:37px; }
.member-info { min-width:0; flex:1; }
.member-name { font-size:11px;font-weight:700;margin-bottom:4px; }
.member-role { font-size:9px;color:#89948d; }
.member-status { width:7px;height:7px;border-radius:50%;background:#76a47a; }
.member-status.inactive { background:#d6a168; }

.chat-layout { display:grid;grid-template-columns:minmax(210px,.7fr) minmax(0,1.6fr);height:570px;overflow:hidden; }
.chat-groups { border-right:1px solid #eff0ec;padding:16px; }
.chat-groups-head { display:flex;justify-content:space-between;align-items:center;margin-bottom:13px; }
.chat-groups-head h2 { font:700 12px Manrope,sans-serif;margin:0; }
.chat-group { display:flex;gap:10px;align-items:center;padding:11px 8px;border-radius:8px;cursor:pointer; }
.chat-group.active { background:#f0f4eb; }
.group-icon { width:30px;height:30px;border-radius:9px;background:#e8efe2;display:grid;place-items:center;color:#58714f;font-size:10px;font-weight:700; }
.chat-group-name { font-size:10px;font-weight:700;margin-bottom:3px; }
.chat-group-detail { color:#939d96;font-size:8px; }
.chat-window { display:flex;flex-direction:column;min-width:0; }
.chat-window-head { padding:15px 18px;border-bottom:1px solid #eff0ec; }
.chat-window-head strong { font-size:11px; }
.chat-window-head span { display:block;color:#929b96;font-size:9px;margin-top:4px; }
.chat-messages { padding:18px;flex:1;overflow:auto;background:#fcfcfa; }
.chat-date-divider { text-align:center;color:#a1aaa4;font-size:8px;margin:2px 0 16px; }
.message { display:flex;gap:8px;margin-bottom:14px;align-items:flex-start; }
.message .avatar { width:26px;height:26px;font-size:8px; }
.message-content { max-width:77%; }
.message-meta { font-size:8px;color:#8e9991;margin-bottom:5px; }
.message-bubble { background:white;border:1px solid #eff0ec;border-radius:0 9px 9px 9px;padding:9px 11px;font-size:10px;color:#526058;line-height:1.55; }
.message.self { justify-content:flex-end; }
.message.self .message-bubble { background:#edf3e6;border-color:#edf3e6;border-radius:9px 0 9px 9px; }
.message-composer { padding:12px 15px;border-top:1px solid #eff0ec;display:flex;gap:8px; }
.message-composer input { flex:1;min-width:0;border:1px solid #e8ebe5;border-radius:8px;padding:10px 12px;font-size:10px;outline:0; }
.message-composer input:focus { border-color:#9bb39c; }

.document-grid { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px; }
.document-card { background:white;border:1px solid #ecede9;border-radius:11px;padding:16px; }
.document-icon { width:35px;height:35px;display:grid;place-items:center;border-radius:9px;background:#eef3e8;color:#55734e;margin-bottom:13px; }
.document-icon .icon { width:18px; }
.document-name { font-size:11px;font-weight:700;margin-bottom:5px; }
.document-meta { color:#929b96;font-size:9px;margin-bottom:12px; }
.doc-link { border:0;background:transparent;color:#4f7356;font-size:9px;font-weight:700;padding:0; }

.public-hero { background:var(--forest);color:white;border-radius:15px;padding:35px;position:relative;overflow:hidden;margin-bottom:20px; }
.public-hero:after { content:"";position:absolute;width:260px;height:260px;border:1px solid #ffffff30;border-radius:50%;right:7%;top:-150px;box-shadow:0 0 0 30px #ffffff08,0 0 0 60px #ffffff08; }
.public-hero h1 { color:white;font-size:32px;max-width:510px;margin-bottom:9px;position:relative;z-index:1; }
.public-hero p { color:#c2d2c8;font-size:12px;line-height:1.7;max-width:470px;margin-bottom:18px;position:relative;z-index:1; }
.public-hero .button { position:relative;z-index:1; }
.public-grid { display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:18px; }
.public-card { background:white;border:1px solid #ecede9;border-radius:12px;padding:17px; }
.public-card .icon { color:#52715a;width:20px;height:20px;margin-bottom:11px; }
.public-card h3 { font:700 12px Manrope,sans-serif;margin-bottom:6px; }
.public-card p { color:#89948d;font-size:10px;line-height:1.65;margin-bottom:0; }

.admin-tools { display:flex;gap:9px;flex-wrap:wrap;margin-bottom:16px; }
.approval-note { background:#fbf5e8;border:1px solid #f2e7cb;color:#866437;padding:10px 12px;border-radius:8px;font-size:9px;margin-bottom:14px; }
.approval-note strong { color:#72572f; }

.modal-backdrop { position:fixed;inset:0;background:rgba(20,37,29,.46);z-index:50;display:grid;place-items:center;padding:20px; }
.modal { background:white;border-radius:14px;box-shadow:0 25px 80px #10271e30;width:min(520px,100%);max-height:90vh;overflow:auto; }
.modal-header { padding:18px 20px;border-bottom:1px solid #eff0ec;display:flex;justify-content:space-between;align-items:center; }
.modal-header h2 { font:700 15px Manrope,sans-serif;margin:0; }
.modal-close { border:0;background:transparent;color:#77827b;display:grid;place-items:center;padding:3px; }
.modal-close .icon { width:18px; }
.modal-body { padding:19px 20px; }
.form-grid { display:grid;grid-template-columns:1fr 1fr;gap:12px; }
.field { display:flex;flex-direction:column;gap:6px;margin-bottom:12px; }
.field.full { grid-column:1/-1; }
.field label { color:#68756d;font-size:9px;font-weight:700; }
.field input,.field select,.field textarea { border:1px solid #e4e9e2;border-radius:7px;padding:10px 11px;font-size:10px;color:#29372f;outline:0;background:white; }
.field textarea { min-height:74px;resize:vertical; }
.field input:focus,.field select:focus,.field textarea:focus { border-color:#9bb39c;box-shadow:0 0 0 3px #edf3e9; }
.form-actions { display:flex;justify-content:flex-end;gap:8px;border-top:1px solid #eff0ec;padding-top:13px;margin-top:4px; }
.upload-zone { border:1px dashed #cbd6c9;background:#f8faf5;padding:20px;border-radius:10px;text-align:center;margin-bottom:13px; }
.upload-zone .icon { width:25px;height:25px;color:#688560;margin-bottom:7px; }
.upload-zone strong { display:block;font-size:10px;margin-bottom:4px; }
.upload-zone span { display:block;font-size:9px;color:#8a958e; }
.upload-zone input { display:none; }
.preview-image { max-width:100%;max-height:180px;border-radius:7px;margin:12px auto 0;display:block; }
.extraction-box { background:#f5f7f2;border-radius:8px;padding:11px;font-size:9px;line-height:1.65;color:#657168;margin:12px 0; }
.toast { position:fixed;left:50%;bottom:22px;z-index:80;transform:translate(-50%,20px);padding:11px 16px;background:#203d32;color:white;font-size:10px;border-radius:8px;box-shadow:var(--shadow);opacity:0;pointer-events:none;transition:.2s ease; }
.toast.show { transform:translate(-50%,0);opacity:1; }
.mobile-nav { display:none; }
.hidden { display:none !important; }

@media (max-width: 1100px) {
  .sidebar { width:215px; flex-basis:215px; }
  .main { margin-left:215px;width:calc(100% - 215px); }
  .content { padding-left:25px;padding-right:25px; }
  .topbar { padding:0 25px; }
  .stat-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .member-grid,.document-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .sidebar { transform:translateX(-100%);transition:transform .2s ease;width:246px; }
  .sidebar.open { transform:translateX(0);box-shadow:12px 0 40px #14261d30; }
  .main { margin-left:0;width:100%;padding-bottom:66px; }
  .topbar { height:58px;padding:0 15px; }
  .mobile-menu { display:grid;place-items:center;border:0;background:transparent;color:#546159;padding:5px;margin-right:8px; }
  .mobile-menu .icon { width:19px; }
  .breadcrumb { margin-right:auto;font-size:10px; }
  .top-actions { gap:8px; }
  .view-switch { padding:2px; }
  .view-switch button { font-size:9px;padding:6px 8px; }
  .top-avatar,.top-actions > .icon-button { display:none; }
  .content { padding:22px 15px 30px; }
  .page-heading { align-items:flex-start;margin-bottom:18px; }
  h1 { font-size:23px; }
  .heading-subtitle { font-size:10px;line-height:1.5; }
  .heading-actions { flex-wrap:wrap;justify-content:flex-end; }
  .heading-actions .button { padding:8px 10px;font-size:9px; }
  .welcome-banner { padding:22px 19px;min-height:188px; }
  .banner-title { font-size:20px;max-width:280px; }
  .banner-copy { max-width:310px; }
  .banner-art { opacity:.3;right:-20%; }
  .dashboard-grid,.calendar-layout { grid-template-columns:1fr; }
  .result-summary { gap:7px; }
  .summary-chip { padding:10px; }
  .summary-chip span { font-size:8px; }
  .summary-chip strong { font-size:14px; }
  .table-toolbar { flex-wrap:wrap;padding:11px; }
  .search-box { flex:1;min-width:150px; }
  .toolbar-actions { width:100%; }
  .toolbar-actions .filter-select { flex:1; }
  .member-grid,.document-grid,.public-grid { grid-template-columns:1fr; }
  .chat-layout { height:570px;grid-template-columns:125px minmax(0,1fr); }
  .chat-groups { padding:10px 7px; }
  .chat-groups-head h2 { font-size:10px; }
  .chat-group { padding:9px 5px;gap:5px; }
  .group-icon { width:25px;height:25px; }
  .chat-group-name { font-size:8px; }
  .chat-group-detail { font-size:7px; }
  .chat-window-head { padding:13px; }
  .chat-messages { padding:12px 9px; }
  .message-bubble { font-size:9px;padding:8px; }
  .message-composer { padding:9px; }
  .message-composer input { padding:9px;font-size:9px; }
  .calendar-day { height:48px;padding:5px; }
  .upcoming-item { align-items:flex-start; }
  .upcoming-actions { flex-direction:column;align-items:flex-end;gap:3px; }
  .public-hero { padding:26px 20px; }
  .public-hero h1 { font-size:25px; }
  .public-hero:after { right:-30%; }
  .mobile-nav { position:fixed;bottom:0;left:0;right:0;height:60px;background:white;border-top:1px solid var(--line);z-index:18;display:flex;justify-content:space-around;align-items:center;padding-bottom:env(safe-area-inset-bottom); }
  .mobile-nav button { border:0;background:none;color:#849087;display:flex;align-items:center;flex-direction:column;gap:3px;font-size:8px;padding:5px 8px; }
  .mobile-nav button.active { color:var(--forest-2);font-weight:700; }
  .mobile-nav .icon { width:17px;height:17px; }
}
@media (max-width: 440px) {
  .page-heading { flex-direction:column;gap:12px; }
  .heading-actions { justify-content:flex-start; }
  .stat-card { padding:12px; }
  .stat-value { font-size:21px; }
  .event-tag { display:none; }
  .form-grid { grid-template-columns:1fr; }
  .field.full { grid-column:auto; }
}
