:root {
	--kohgm-navy: #08172b;
	--kohgm-navy-2: #102844;
	--kohgm-green: #143f38;
	--kohgm-green-2: #1f6155;
	--kohgm-gold: #d8aa45;
	--kohgm-gold-light: #f5e4b4;
	--kohgm-ink: #142437;
	--kohgm-muted: #68788b;
	--kohgm-bg: #edf2f6;
	--kohgm-surface: rgba(255, 255, 255, .92);
	--kohgm-white: #fff;
	--kohgm-line: rgba(25, 48, 70, .11);
	--kohgm-danger: #a64048;
	--kohgm-radius: 18px;
	--kohgm-shadow: 0 20px 48px rgba(8, 23, 43, .09);
	--kohgm-sidebar: 286px;
}

.kohgm-standalone-portal { margin: 0; background: var(--kohgm-bg); }
.kohgm-standalone-portal #wpadminbar { position: fixed; }
.kohgm-app,.kohgm-member-app,.kohgm-login-wrap,.kohgm-state { box-sizing: border-box; color: var(--kohgm-ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 15px; line-height: 1.55; }
.kohgm-app *,.kohgm-member-app *,.kohgm-login-wrap *,.kohgm-state * { box-sizing: border-box; }
.kohgm-app h1,.kohgm-app h2,.kohgm-app h3,.kohgm-member-app h1,.kohgm-member-app h2,.kohgm-member-app h3 { font-family: inherit; }
.screen-reader-text { position: absolute!important; width: 1px!important; height: 1px!important; overflow: hidden!important; clip: rect(0,0,0,0)!important; white-space: nowrap!important; }
.kohgm-icon { width: 20px; height: 20px; flex: 0 0 20px; }

.kohgm-app { display: grid; grid-template-columns: var(--kohgm-sidebar) minmax(0, 1fr); min-height: 100vh; margin: 0 calc(50% - 50vw); background: radial-gradient(circle at 88% 2%, rgba(216,170,69,.13), transparent 25%), radial-gradient(circle at 42% 30%, rgba(59,119,135,.08), transparent 28%), linear-gradient(145deg,#f5f7f9,#e9eff4); }
.admin-bar .kohgm-app { min-height: calc(100vh - 32px); }
.kohgm-sidebar { z-index: 40; position: sticky; top: 0; display: flex; flex-direction: column; height: 100vh; padding: 27px 18px 18px; overflow: hidden; color: #fff; background: radial-gradient(circle at 30% 0,rgba(56,116,107,.28),transparent 28%), linear-gradient(180deg,var(--kohgm-navy-2),var(--kohgm-navy) 64%); box-shadow: 18px 0 55px rgba(8,23,43,.12); }
.admin-bar .kohgm-sidebar { top: 32px; height: calc(100vh - 32px); }
.kohgm-brand { display: flex; align-items: center; gap: 13px; min-height: 65px; padding: 0 9px 24px; border-bottom: 1px solid rgba(255,255,255,.1); }
.kohgm-brand strong,.kohgm-brand small { display: block; }
.kohgm-brand strong { color: #fff; font-size: 18px; letter-spacing: .15em; }
.kohgm-brand small { margin-top: 2px; color: rgba(255,255,255,.58); font-size: 11px; letter-spacing: .03em; }
.kohgm-mark { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 44px; color: var(--kohgm-gold); border: 1px solid rgba(216,170,69,.75); border-radius: 14px; background: rgba(216,170,69,.06); font-weight: 800; letter-spacing: .03em; }
.kohgm-menu-toggle { display: none; }
#kohgm-nav { display: flex; min-height: 0; flex: 1; flex-direction: column; }
.kohgm-nav-scroll { flex: 1; overflow: auto; padding: 18px 3px 15px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.18) transparent; }
.kohgm-nav-group { margin: 2px 0 7px; }
.kohgm-nav-group summary { position: relative; padding: 8px 11px; list-style: none; cursor: pointer; color: rgba(255,255,255,.42); font-size: 10px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.kohgm-nav-group summary::-webkit-details-marker { display: none; }
.kohgm-nav-group summary:after { content: '›'; position: absolute; right: 10px; font-size: 16px; line-height: 12px; transform: rotate(0); transition: transform .2s ease; }
.kohgm-nav-group[open] summary:after { transform: rotate(90deg); }
.kohgm-nav-group ul { margin: 1px 0 7px; padding: 0; list-style: none; }
.kohgm-nav-group li { margin: 3px 0; }
.kohgm-sidebar nav a { display: flex; align-items: center; gap: 12px; min-height: 42px; padding: 9px 12px; color: rgba(255,255,255,.72); border: 1px solid transparent; border-radius: 11px; font-size: 13px; font-weight: 620; text-decoration: none; transition: color .18s ease, background .18s ease, transform .18s ease; }
.kohgm-sidebar nav a:hover,.kohgm-sidebar nav a:focus-visible { color: #fff; background: rgba(255,255,255,.07); transform: translateX(2px); outline: none; }
.kohgm-sidebar nav a.is-active { color: #fff; border-color: rgba(216,170,69,.18); background: linear-gradient(90deg,rgba(216,170,69,.2),rgba(255,255,255,.06)); box-shadow: inset 3px 0 var(--kohgm-gold); }
.kohgm-sidebar nav a.is-active .kohgm-icon { color: var(--kohgm-gold); }
.kohgm-nav-foot { padding: 13px 3px 0; border-top: 1px solid rgba(255,255,255,.1); }
.kohgm-nav-foot a { min-height: 36px!important; padding-block: 7px!important; font-size: 12px!important; }
.kohgm-sidebar-scrim { display: none; }

.kohgm-main { min-width: 0; }
.kohgm-topbar { z-index: 20; position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 92px; padding: 17px clamp(24px,3vw,46px); border-bottom: 1px solid rgba(25,48,70,.08); background: rgba(248,250,252,.83); backdrop-filter: blur(20px); }
.admin-bar .kohgm-topbar { top: 32px; }
.kohgm-title-block { display: flex; align-items: center; gap: 14px; min-width: 0; }
.kohgm-title-block h1 { margin: 3px 0 0; color: var(--kohgm-navy); font-size: clamp(23px,2.2vw,31px); line-height: 1.15; letter-spacing: -.035em; }
.kohgm-breadcrumb { color: var(--kohgm-muted); font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.kohgm-breadcrumb b { padding: 0 5px; color: var(--kohgm-gold); }
.kohgm-mobile-trigger { display: none; width: 42px; height: 42px; border: 1px solid var(--kohgm-line); border-radius: 11px; color: var(--kohgm-navy); background: #fff; font-size: 20px; }
.kohgm-top-actions { display: flex; align-items: center; gap: 15px; }
.kohgm-global-search { display: flex; align-items: center; width: min(24vw,260px); height: 42px; padding: 0 12px; border: 1px solid var(--kohgm-line); border-radius: 12px; color: var(--kohgm-muted); background: rgba(255,255,255,.82); }
.kohgm-global-search input { min-width: 0; width: 100%; height: 100%; padding: 0 8px; border: 0!important; outline: 0!important; background: transparent!important; box-shadow: none!important; font: 500 13px/1 inherit; }
.kohgm-date { color: var(--kohgm-muted); font-size: 12px; font-weight: 650; white-space: nowrap; }
.kohgm-account { position: relative; }
.kohgm-account summary { display: flex; align-items: center; gap: 9px; min-width: 178px; padding: 5px 8px; list-style: none; cursor: pointer; border-radius: 12px; }
.kohgm-account summary::-webkit-details-marker { display: none; }
.kohgm-account summary:hover { background: rgba(15,39,67,.05); }
.kohgm-account summary > span:nth-child(2) { display: grid; flex: 1; }
.kohgm-account strong { overflow: hidden; max-width: 112px; color: var(--kohgm-navy); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.kohgm-account small { color: var(--kohgm-muted); font-size: 10px; }
.kohgm-avatar { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 38px; border-radius: 12px; color: var(--kohgm-navy); background: linear-gradient(145deg,var(--kohgm-gold-light),var(--kohgm-gold)); font-weight: 850; }
.kohgm-account-menu { position: absolute; top: calc(100% + 9px); right: 0; display: grid; width: 190px; padding: 8px; border: 1px solid var(--kohgm-line); border-radius: 14px; background: #fff; box-shadow: var(--kohgm-shadow); }
.kohgm-account-menu a { padding: 9px 11px; border-radius: 8px; color: var(--kohgm-ink); font-size: 13px; font-weight: 650; text-decoration: none; }
.kohgm-account-menu a:hover,.kohgm-account-menu a:focus-visible { background: #f1f5f7; outline: 2px solid rgba(216,170,69,.38); }
.kohgm-workspace { width: 100%; max-width: 1600px; margin: 0 auto; padding: clamp(24px,2.3vw,40px); }

.kohgm-welcome { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 156px; margin-bottom: 22px; padding: clamp(25px,3vw,38px); overflow: hidden; border: 1px solid rgba(255,255,255,.13); border-radius: 22px; color: #fff; background: radial-gradient(circle at 85% 20%,rgba(216,170,69,.25),transparent 25%),linear-gradient(120deg,var(--kohgm-navy),#163c51); box-shadow: 0 26px 60px rgba(8,23,43,.18); }
.kohgm-welcome:after { content: ''; position: absolute; right: -70px; bottom: -120px; width: 280px; height: 280px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; }
.kohgm-welcome > * { z-index: 1; position: relative; }
.kohgm-eyebrow,.kohgm-section-kicker { display: block; color: #9f7928; font-size: 10px; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.kohgm-welcome .kohgm-eyebrow { color: var(--kohgm-gold); }
.kohgm-welcome h2 { margin: 7px 0 5px; color: #fff; font-size: clamp(25px,3vw,38px); line-height: 1.1; letter-spacing: -.035em; }
.kohgm-welcome p { margin: 0; color: rgba(255,255,255,.68); }
.kohgm-btn,.kohgm-form button,.kohgm-login-card input[type=submit] { appearance: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 17px; border: 1px solid var(--kohgm-green); border-radius: 11px; color: #fff!important; background: var(--kohgm-green); font: 750 12px/1.2 inherit; letter-spacing: .025em; text-decoration: none!important; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.kohgm-btn:hover,.kohgm-btn:focus-visible,.kohgm-form button:hover,.kohgm-form button:focus-visible { color: #fff!important; background: var(--kohgm-green-2); border-color: var(--kohgm-green-2); box-shadow: 0 9px 24px rgba(20,63,56,.2); transform: translateY(-1px); outline:3px solid rgba(216,170,69,.35); outline-offset: 2px; }
.kohgm-btn-gold { color: var(--kohgm-navy)!important; border-color: var(--kohgm-gold); background: linear-gradient(135deg,#f0cf74,var(--kohgm-gold)); box-shadow: 0 13px 30px rgba(216,170,69,.2); }
.kohgm-btn-gold:hover,.kohgm-btn-gold:focus-visible { color: var(--kohgm-navy)!important; border-color: #efc95e; background: #efc95e; }
.kohgm-btn-outline { color: var(--kohgm-green)!important; border-color: rgba(20,63,56,.25); background: rgba(255,255,255,.75); }
.kohgm-btn-outline:hover,.kohgm-btn-outline:focus-visible { color: var(--kohgm-green)!important; border-color: var(--kohgm-gold); background: #fff9e9; }
.kohgm-alert { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; padding: 17px 20px; border: 1px solid #e8c875; border-radius: 15px; background: #fff9e7; box-shadow: 0 8px 25px rgba(125,92,14,.07); }
.kohgm-alert > div { display: flex; align-items: center; gap: 13px; }
.kohgm-alert .kohgm-icon { color: #a87911; }
.kohgm-alert p { margin: 2px 0 0; color: #745d28; }

.kohgm-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin-bottom: 24px; }
.kohgm-stat,.kohgm-card,.kohgm-profile-head { border: 1px solid rgba(255,255,255,.86); border-radius: var(--kohgm-radius); background: linear-gradient(145deg,rgba(255,255,255,.94),rgba(250,252,253,.84)); box-shadow: 0 18px 46px rgba(8,23,43,.09),inset 0 1px rgba(255,255,255,.8); backdrop-filter: blur(20px) saturate(115%); }
.kohgm-stat { display: flex; align-items: flex-start; gap: 14px; min-height: 128px; padding: 20px; transition: transform .18s ease, box-shadow .18s ease; }
.kohgm-stat:hover { transform: translateY(-2px); box-shadow: 0 24px 54px rgba(8,23,43,.12); }
.kohgm-stat-icon { display: grid!important; place-items: center; width: 42px; height: 42px; flex: 0 0 42px; color: #9b7626!important; border-radius: 12px; background: linear-gradient(145deg,#fff6dc,#f3dda1); }
.kohgm-stat > div > span { display: block; color: var(--kohgm-muted); font-size: 13px; font-weight: 720; }
.kohgm-stat strong { display: block; margin-top: 5px; color: var(--kohgm-navy); font-size: clamp(23px,1.75vw,30px); line-height: 1.18; letter-spacing: -.03em; }
.kohgm-stat small { display: block; margin-top: 7px; color: #637487; font-size: 11.5px; font-weight: 650; }
.kohgm-card { min-width: 0; margin-bottom: 20px; padding: clamp(19px,2vw,27px); }
.kohgm-card h2 { margin: 3px 0 3px; color: var(--kohgm-navy); font-size: 22px; line-height: 1.25; letter-spacing: -.025em; }
.kohgm-card h3 { margin: 15px 0 4px; color: var(--kohgm-navy); font-size: 15px; }
.kohgm-card p { margin: 4px 0 18px; color: var(--kohgm-muted); font-size: 14px; }
.kohgm-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.kohgm-card-head p { margin-bottom: 0; }
.kohgm-period { padding: 6px 10px; border: 1px solid var(--kohgm-line); border-radius: 9px; color: var(--kohgm-muted); background: #f7f9fb; font-size: 11px; font-weight: 750; }
.kohgm-dashboard-grid { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 22px; }
.kohgm-dashboard-grid > .kohgm-card { margin: 0; }
.kohgm-analytics-primary,.kohgm-operational-main { grid-column: span 8; }
.kohgm-analytics-category,.kohgm-operational-side { grid-column: span 4; }
.kohgm-analytics-secondary { grid-column: span 6; }
.kohgm-dashboard-table { overflow: hidden; }
.kohgm-chart { min-height: 300px; }
.kohgm-chart svg { display: block; width: 100%; height: 270px; overflow: visible; border-bottom: 1px solid var(--kohgm-line); }
.kohgm-analytics-primary .kohgm-chart,.kohgm-analytics-category .kohgm-donut-wrap { min-height: 350px; }
.kohgm-analytics-primary .kohgm-chart svg { height: 320px; }
.kohgm-analytics-secondary .kohgm-chart { min-height: 310px; }
.kohgm-analytics-secondary .kohgm-chart svg { height: 280px; }
.kohgm-chart polyline { fill: none; stroke: var(--kohgm-gold); stroke-width: 2.4; vector-effect: non-scaling-stroke; }
.kohgm-chart circle { fill: #fff; stroke: var(--kohgm-gold); stroke-width: 2; vector-effect: non-scaling-stroke; }
.kohgm-chart-area { fill: url(#kohgm-chart-fill); stroke: none; }
.kohgm-chart-labels { display: flex; justify-content: space-between; gap: 6px; padding-top: 11px; color: var(--kohgm-muted); font-size: 11px; font-weight: 720; }
.kohgm-bar-chart { display: flex; align-items: flex-end; gap: 12px; height: 300px; padding-top: 30px; border-bottom: 1px solid var(--kohgm-line); }
.kohgm-bar-item { position: relative; display: flex; flex: 1; height: 100%; min-width: 20px; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; }
.kohgm-bar-item i { width: min(100%,36px); min-height: 5px; border-radius: 7px 7px 2px 2px; background: linear-gradient(180deg,var(--kohgm-gold),#b98625); box-shadow: 0 9px 20px rgba(216,170,69,.18); }
.kohgm-bar-item small,.kohgm-bar-value { color: var(--kohgm-muted); font-size: 9px; font-style: normal; font-weight: 700; }
.kohgm-bar-value { color: var(--kohgm-navy); }
.kohgm-donut-wrap { display: grid; grid-template-columns: 1fr; align-items: center; gap: 20px; min-height: 300px; }
.kohgm-donut { display: grid; place-items: center; aspect-ratio: 1; width: min(100%,230px); margin: auto; border-radius: 50%; box-shadow: 0 13px 35px rgba(8,23,43,.11); }
.kohgm-donut > div { display: grid; place-items: center; width: 62%; aspect-ratio: 1; padding: 8px; border-radius: 50%; text-align: center; background: #fff; }
.kohgm-donut small { color: var(--kohgm-muted); font-size: 9px; font-weight: 750; text-transform: uppercase; }
.kohgm-donut strong { color: var(--kohgm-navy); font-size: clamp(11px,1.2vw,15px); }
.kohgm-chart-legend { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.kohgm-chart-legend li { display: grid; grid-template-columns: 8px minmax(0,1fr) auto; align-items: center; gap: 9px; font-size: 12px; }
.kohgm-chart-legend i { width: 8px; height: 8px; border-radius: 50%; }
.kohgm-chart-legend strong { color: var(--kohgm-navy); }
.kohgm-chart-empty { display: grid; place-items: center; min-height: 205px; padding: 25px; text-align: center; border: 1px dashed #c9d3db; border-radius: 14px; background: rgba(245,248,250,.74); }
.kohgm-chart-empty .kohgm-icon { width: 28px; height: 28px; color: #9eacb7; }
.kohgm-chart-empty p { max-width: 350px; margin: 5px 0 0; }
.kohgm-text-link,.kohgm-table-link { color: var(--kohgm-green); font-size: 12px; font-weight: 800; text-decoration: none; }
.kohgm-text-link:hover,.kohgm-text-link:focus-visible,.kohgm-table-link:hover,.kohgm-table-link:focus-visible { color: #8a671d; text-decoration: underline; outline: none; }
.kohgm-service-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.kohgm-service-list li { display: flex; align-items: center; gap: 13px; padding: 12px 0; border-bottom: 1px solid var(--kohgm-line); }
.kohgm-service-list time { display: grid; place-items: center; width: 47px; height: 51px; flex: 0 0 47px; border: 1px solid rgba(216,170,69,.28); border-radius: 11px; color: var(--kohgm-navy); background: #fff9e8; line-height: 1; }
.kohgm-service-list time b { font-size: 18px; }
.kohgm-service-list time small { margin-top: -4px; color: #99742a; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.kohgm-service-list div { display: grid; }
.kohgm-service-list span { color: var(--kohgm-muted); font-size: 11px; }
.kohgm-quick-card { margin-top: 20px; }
.kohgm-actions { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 11px; }
.kohgm-quick-action { display: grid; grid-template-columns: 34px minmax(0,1fr) auto; align-items: center; gap: 10px; min-height: 66px; padding: 13px; border: 1px solid var(--kohgm-line); border-radius: 13px; color: var(--kohgm-navy); background: rgba(247,249,251,.83); font-size: 12px; font-weight: 750; text-decoration: none; transition: transform .18s ease,border-color .18s ease,background .18s ease; }
.kohgm-quick-action .kohgm-icon { width: 18px; height: 18px; }
.kohgm-quick-action:hover,.kohgm-quick-action:focus-visible { border-color: rgba(216,170,69,.65); background: #fff; transform: translateY(-2px); outline: 3px solid rgba(216,170,69,.25); }
.kohgm-quick-action.is-primary { color: var(--kohgm-navy); border-color: var(--kohgm-gold); background: linear-gradient(135deg,#f5df9e,var(--kohgm-gold)); }

.kohgm-form-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 4px 16px; }
.kohgm-form label,.kohgm-filter label { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; color: #25364a; font-size: 12px; font-weight: 760; }
.kohgm-form input,.kohgm-form select,.kohgm-form textarea,.kohgm-filter input,.kohgm-filter select,.kohgm-login-card input[type=text],.kohgm-login-card input[type=password] { width: 100%; min-height: 45px; padding: 9px 12px; border: 1px solid #c9d3db; border-radius: 10px; color: var(--kohgm-ink); background: #fff; box-shadow: 0 1px 2px rgba(8,23,43,.02); font: 500 14px/1.35 inherit; }
.kohgm-form input:hover,.kohgm-form select:hover,.kohgm-filter input:hover,.kohgm-filter select:hover { border-color: #aab8c3; }
.kohgm-form input:focus,.kohgm-form select:focus,.kohgm-filter input:focus,.kohgm-filter select:focus,.kohgm-login-card input:focus { border-color: var(--kohgm-gold); outline: 3px solid rgba(216,170,69,.22); box-shadow: none; }
.kohgm-form .kohgm-check { flex-direction: row; align-items: center; padding-top: 25px; }
.kohgm-check input { width: 18px; height: 18px; min-height: 0; }
.kohgm-filter { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin: 14px 0 20px; padding: 14px; border: 1px solid var(--kohgm-line); border-radius: 13px; background: #f7f9fb; }
.kohgm-filter label { min-width: 200px; margin: 0; }
.kohgm-inline-form { display: flex; align-items: flex-end; gap: 12px; max-width: 580px; margin-top: 20px; }
.kohgm-inline-form label { flex: 1; margin: 0; }
.kohgm-two-col { display: grid; grid-template-columns: minmax(300px,.72fr) minmax(0,1.28fr); gap: 20px; }
.kohgm-wide { min-width: 0; }
.kohgm-table-wrap { max-width: 100%; overflow: auto; border: 1px solid var(--kohgm-line); border-radius: 13px; background: #fff; }
.kohgm-table-wrap table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13px; white-space: nowrap; }
.kohgm-table-wrap th,.kohgm-table-wrap td { padding: 15px 16px; text-align: left; border-bottom: 1px solid var(--kohgm-line); }
.kohgm-table-wrap th { position: sticky; top: 0; z-index: 1; color: #667687; background: #f5f8fa; font-size: 10px; font-weight: 820; letter-spacing: .08em; text-transform: uppercase; }
.kohgm-dashboard-table th:nth-child(4),.kohgm-dashboard-table td:nth-child(4) { text-align: right; }
.kohgm-table-wrap tr:last-child td { border-bottom: 0; }
.kohgm-table-wrap tbody tr { transition: background .16s ease; }
.kohgm-table-wrap tbody tr:hover { background: #fbfcfd; }
.kohgm-badge { display: inline-flex; align-items: center; min-height: 25px; padding: 4px 9px; border: 1px solid #bfddd3; border-radius: 999px; color: #1c5b4d; background: #e8f4ef; font-size: 9px; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
.kohgm-badge-reversed,.kohgm-badge-archived,.kohgm-badge-deceased { color: #8b3138; border-color: #ecc2c5; background: #fbecee; }
.kohgm-badge-pending,.kohgm-badge-open,.kohgm-badge-submitted { color: #7c5c17; border-color: #ecd79e; background: #fff7dc; }
.kohgm-empty { padding: 30px; text-align: center; color: var(--kohgm-muted); border: 1px dashed #ccd6de; border-radius: 13px; background: #f8fafb; }
.kohgm-empty strong { display: block; color: var(--kohgm-navy); }
.kohgm-empty p { margin: 5px 0 0; }
.kohgm-notice { padding: 13px 16px; margin-bottom: 18px; border-radius: 11px; font-weight: 700; }
.kohgm-notice-success { color: #1c603d; border: 1px solid #afd6bd; background: #e9f6ed; }
.kohgm-notice-error { color: #8e2929; border: 1px solid #e5b3b3; background: #fceded; }
.kohgm-config-list,.kohgm-event-list { margin: 14px 0; padding: 0; list-style: none; }
.kohgm-config-list li,.kohgm-event-list li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--kohgm-line); }
.kohgm-muted,.kohgm-privacy { color: var(--kohgm-muted)!important; font-size: 12px; }
.kohgm-approval { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--kohgm-line); }
.kohgm-approval p { margin: 3px 0; }
.kohgm-giving-metrics small { display:block; margin-top:5px; color:var(--kohgm-muted); font-size:10px; font-weight:650; }
.kohgm-contribution-filter { align-items:flex-end; }
.kohgm-contribution-filter label { min-width:150px; flex:1 1 150px; }
.kohgm-contribution-filter label:first-of-type { flex-basis:260px; }
.kohgm-giver-choice { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin:0 0 22px; }
.kohgm-giver-choice label { display:flex; align-items:center; gap:9px; min-height:52px; padding:12px 14px; border:1px solid var(--kohgm-line); border-radius:11px; color:var(--kohgm-navy); background:#fff; font-size:12px; font-weight:750; }
.kohgm-giver-choice input { width:18px; height:18px; min-height:0; accent-color:var(--kohgm-gold); }
.kohgm-qa-control { grid-column:1/-1; padding:13px!important; border:1px solid #ecd79e; border-radius:10px; background:#fff8df; }
.kohgm-qa-label { display:inline-flex; margin-left:6px; padding:2px 5px; border-radius:5px; color:#75530b; background:#ffe7a3; font-size:8px; font-weight:850; }
.kohgm-inline-actions { display:flex; align-items:center; gap:8px; }
.kohgm-inline-actions form { margin:0; }
.kohgm-money-summary { display:grid; gap:0; margin:0; }
.kohgm-money-summary div { display:flex; justify-content:space-between; gap:18px; padding:15px 0; border-bottom:1px solid var(--kohgm-line); }
.kohgm-money-summary dt { color:var(--kohgm-muted); font-weight:700; }
.kohgm-money-summary dd { margin:0; color:var(--kohgm-navy); font-weight:850; }
.kohgm-service-collections { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.kohgm-service-collections article { padding:16px; border:1px solid var(--kohgm-line); border-radius:12px; background:#fff; }
.kohgm-service-collections header { display:grid; margin-bottom:10px; }
.kohgm-service-collections header span { color:var(--kohgm-muted); font-size:10px; }
.kohgm-service-collections dl { margin:0; }
.kohgm-service-collections dl div { display:flex; justify-content:space-between; gap:12px; padding:7px 0; }
.kohgm-service-collections dt,.kohgm-service-collections dd { margin:0; font-size:11px; }
.kohgm-service-collections .is-total { margin-top:6px; border-top:1px solid var(--kohgm-line); color:var(--kohgm-navy); font-weight:850; }
.kohgm-transaction-detail { margin-top:16px; }
.kohgm-badge-correction-requested { color:#7c5c17; border-color:#ecd79e; background:#fff7dc; }
.kohgm-profile-head { display: flex; align-items: center; gap: 18px; margin-bottom: 14px; padding: 24px; }
.kohgm-profile-avatar { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; color: var(--kohgm-navy); background: linear-gradient(145deg,var(--kohgm-gold-light),var(--kohgm-gold)); font-size: 22px; font-weight: 850; }
.kohgm-profile-head h2 { margin: 3px 0; color: var(--kohgm-navy); font-size: 25px; }
.kohgm-profile-head p { margin: 0; color: var(--kohgm-muted); }
.kohgm-profile-head .kohgm-badge { margin-left: auto; }
.kohgm-profile-tabs { display: flex; gap: 5px; margin-bottom: 14px; overflow: auto; padding: 6px; border: 1px solid var(--kohgm-line); border-radius: 13px; background: rgba(255,255,255,.7); }
.kohgm-profile-tabs button { flex: 0 0 auto; padding: 9px 13px; border: 0; border-radius: 8px; color: var(--kohgm-muted); background: transparent; font: 750 11px/1.2 inherit; cursor: pointer; }
.kohgm-profile-tabs button.is-active { color: #fff; background: var(--kohgm-navy); }
.kohgm-tab-panel { display: none; }
.kohgm-tab-panel.is-active { display: block; }
.kohgm-detail-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.kohgm-detail-grid div { padding: 13px; border: 1px solid var(--kohgm-line); border-radius: 11px; background: #fafbfd; }
.kohgm-detail-grid dt { color: var(--kohgm-muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.kohgm-detail-grid dd { margin: 4px 0 0; color: var(--kohgm-navy); font-weight: 700; }

.kohgm-member-app { max-width: 1200px; margin: 0 auto; padding: clamp(20px,4vw,52px); }
.kohgm-member-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 24px; padding: 27px 30px; border-radius: 19px; color: #fff; background: linear-gradient(120deg,var(--kohgm-navy),#174a44); box-shadow: var(--kohgm-shadow); }
.kohgm-member-head h1 { margin: 5px 0; color: #fff; }
.kohgm-member-head p { margin: 0; color: rgba(255,255,255,.72); }
.kohgm-member-head .kohgm-btn-outline { color: #fff!important; border-color: rgba(255,255,255,.6); background: transparent; }
.kohgm-member-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.kohgm-span-2 { grid-column: span 2; }
.kohgm-login-wrap { display: grid; place-items: center; min-height: 100vh; padding: 28px; background: radial-gradient(circle at 80% 10%,rgba(216,170,69,.22),transparent 28%),linear-gradient(145deg,var(--kohgm-navy),#173d43); }
.kohgm-login-card { width: min(100%,460px); padding: 38px; border: 1px solid rgba(255,255,255,.6); border-radius: 20px; background: rgba(255,255,255,.95); box-shadow: 0 30px 80px rgba(0,0,0,.24); }
.kohgm-login-card h1 { margin: 8px 0; color: var(--kohgm-navy); font-size: 33px; }
.kohgm-login-card p { color: var(--kohgm-muted); }
.kohgm-login-card label { display: block; margin-bottom: 12px; font-weight: 700; }
.kohgm-login-card input[type=submit] { width: 100%; }
.kohgm-login-help { text-align: center; }
.kohgm-church-login-card .kohgm-brand-logo { width:48px; height:48px; padding:6px; border-radius:12px; object-fit:contain; background:var(--kohgm-navy); }
.kohgm-church-login-card .kohgm-login-brand small { max-width:280px; color:var(--kohgm-navy); font-size:10px; font-weight:700; letter-spacing:.055em; line-height:1.4; }
.kohgm-authorised-only { margin:0; color:#72551e!important; font-size:13px; font-weight:800; letter-spacing:.04em; text-transform:uppercase; }
.kohgm-login-remember { display:flex!important; align-items:center; gap:8px; margin:4px 0 18px!important; font-weight:600!important; }
.kohgm-login-remember input { width:17px; height:17px; margin:0; accent-color:var(--kohgm-gold); }
.kohgm-login-brand { display:flex; align-items:center; gap:12px; margin-bottom:28px; padding-bottom:20px; border-bottom:1px solid var(--kohgm-line); }
.kohgm-login-brand span:last-child { display:flex; flex-direction:column; }
.kohgm-login-brand strong { color:var(--kohgm-navy); font-size:18px; letter-spacing:.04em; }
.kohgm-login-brand small { color:var(--kohgm-muted); font-size:12px; }
.kohgm-login-mark { display:grid; place-items:center; width:43px; height:43px; border-radius:12px; color:var(--kohgm-navy); background:linear-gradient(135deg,#f0cf74,var(--kohgm-gold)); font-weight:900; }
.kohgm-login-form { margin-top:24px; }
.kohgm-login-form label { color:var(--kohgm-navy); font-size:12px; letter-spacing:.03em; }
.kohgm-login-form input[type=text],.kohgm-login-form input[type=password] { margin-top:7px; }
.kohgm-login-form>.kohgm-btn { width:100%; margin-top:8px; border-color:var(--kohgm-navy)!important; color:#fff!important; background:var(--kohgm-navy)!important; }
.kohgm-login-form>.kohgm-btn:hover,.kohgm-login-form>.kohgm-btn:focus-visible { border-color:var(--kohgm-green-2)!important; color:#fff!important; background:var(--kohgm-green-2)!important; }
.kohgm-login-controls { display:flex; align-items:center; justify-content:space-between; gap:16px; margin:4px 0 18px; }
.kohgm-login-controls label { display:flex; align-items:center; gap:7px; margin:0; font-weight:600; }
.kohgm-login-controls input { width:17px; height:17px; margin:0; accent-color:var(--kohgm-gold); }
.kohgm-login-controls a { color:var(--kohgm-green); font-size:13px; font-weight:750; }
.kohgm-login-error { margin:18px 0 0; padding:11px 13px; border:1px solid #e8b9b9; border-radius:10px; color:#7f1d1d; background:#fff1f1; font-size:13px; }
.kohgm-state { max-width: 680px; margin: 60px auto; padding: 34px; text-align: center; border: 1px solid var(--kohgm-line); border-radius: 18px; background: #fff; box-shadow: var(--kohgm-shadow); }

@media(min-width:1440px) {
	.kohgm-kpis { grid-template-columns: repeat(6,minmax(0,1fr)); }
	.kohgm-stat { min-height: 148px; padding: 22px 18px; }
	.kohgm-stat-icon { width: 46px; height: 46px; flex-basis: 46px; }
	.kohgm-sidebar nav a { font-size: 13.5px; }
}
@media(min-width:1920px) {
	.kohgm-workspace { padding-inline: 40px; }
	.kohgm-topbar { padding-inline: 40px; }
}
@media(max-width:1439px) {
	.kohgm-kpis { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media(max-width:1250px) {
	:root { --kohgm-sidebar: 260px; }
	.kohgm-global-search,.kohgm-date { display: none; }
	.kohgm-actions { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media(max-width:1180px) {
	.kohgm-analytics-primary,.kohgm-analytics-category,.kohgm-operational-main,.kohgm-operational-side { grid-column: span 12; }
	.kohgm-analytics-secondary { grid-column: span 6; }
}
@media(max-width:1100px) {
	.kohgm-cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
	.kohgm-form-grid,.kohgm-detail-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
	.kohgm-two-col { grid-template-columns: 1fr; }
	.kohgm-donut { width: 210px; }
}
@media(max-width:1023px) {
	.kohgm-app { display: block; }
	.kohgm-sidebar { position: fixed; top: 0; left: 0; width: min(86vw,300px); height: 100vh; transform: translateX(-105%); transition: transform .24s ease; }
	.admin-bar .kohgm-sidebar { top: 0; height: 100vh; }
	.kohgm-app.is-nav-open .kohgm-sidebar { transform: translateX(0); }
	.kohgm-sidebar-scrim { z-index: 35; position: fixed; inset: 0; display: block; visibility: hidden; opacity: 0; background: rgba(4,15,29,.55); backdrop-filter: blur(3px); transition: opacity .2s ease,visibility .2s ease; }
	.kohgm-app.is-nav-open .kohgm-sidebar-scrim { visibility: visible; opacity: 1; }
	.kohgm-menu-toggle { display: inline-flex; position: absolute; top: 31px; right: 17px; align-items: center; gap: 6px; padding: 7px 9px; border: 1px solid rgba(255,255,255,.2); border-radius: 8px; color: #fff; background: rgba(255,255,255,.06); }
	.kohgm-mobile-trigger { display: inline-grid; place-items: center; }
	.kohgm-topbar { padding-inline: 20px; }
}
@media(max-width:767px) {
	.kohgm-giver-choice,.kohgm-service-collections { grid-template-columns:1fr; }
	.kohgm-approval,.kohgm-inline-actions { align-items:stretch; flex-direction:column; }
	.kohgm-inline-actions .kohgm-btn { width:100%; }
	.admin-bar .kohgm-topbar { top: 46px; }
	.kohgm-topbar { min-height: 76px; padding: 12px 14px; }
	.kohgm-breadcrumb,.kohgm-account summary > span:nth-child(2),.kohgm-account summary > span:last-child { display: none; }
	.kohgm-title-block h1 { margin: 0; font-size: 22px; }
	.kohgm-account summary { min-width: 0; padding: 0; }
	.kohgm-account-menu { right: -4px; }
	.kohgm-workspace { padding: 18px 16px 30px; }
	.kohgm-welcome { align-items: flex-start; flex-direction: column; min-height: 0; padding: 24px 20px; }
	.kohgm-welcome .kohgm-btn { width: 100%; }
	.kohgm-alert { align-items: stretch; flex-direction: column; }
	.kohgm-alert .kohgm-btn { width: 100%; }
	.kohgm-cards,.kohgm-form-grid,.kohgm-member-grid,.kohgm-detail-grid,.kohgm-dashboard-grid { grid-template-columns: 1fr; }
	.kohgm-analytics-primary,.kohgm-analytics-category,.kohgm-analytics-secondary,.kohgm-operational-main,.kohgm-operational-side,.kohgm-dashboard-table,.kohgm-span-2 { grid-column: auto; }
	.kohgm-chart,.kohgm-analytics-primary .kohgm-chart,.kohgm-analytics-secondary .kohgm-chart { min-height: 230px; }
	.kohgm-chart svg,.kohgm-analytics-primary .kohgm-chart svg,.kohgm-analytics-secondary .kohgm-chart svg { height: 200px; }
	.kohgm-bar-chart { height: 230px; }
	.kohgm-analytics-category .kohgm-donut-wrap { min-height: 270px; }
	.kohgm-donut { width: min(100%,210px); }
	.kohgm-card { padding: 18px 15px; }
	.kohgm-card-head { align-items: flex-start; flex-direction: column; }
	.kohgm-actions { grid-template-columns: 1fr; }
	.kohgm-filter { display: grid; }
	.kohgm-filter label { min-width: 0; }
	.kohgm-inline-form { align-items: stretch; flex-direction: column; }
	.kohgm-profile-head { align-items: flex-start; flex-wrap: wrap; }
	.kohgm-profile-head .kohgm-badge { width: 100%; margin: 0; justify-content: center; }
	.kohgm-member-app { padding: 14px; }
	.kohgm-member-head { align-items: flex-start; flex-direction: column; padding: 22px; }
	.kohgm-table-wrap { border: 0; overflow: visible; background: transparent; }
	.kohgm-table-wrap table,.kohgm-table-wrap thead,.kohgm-table-wrap tbody,.kohgm-table-wrap tr,.kohgm-table-wrap th,.kohgm-table-wrap td { display: block; }
	.kohgm-table-wrap thead { position: absolute; left: -9999px; }
	.kohgm-table-wrap tr { margin-bottom: 10px; padding: 9px; border: 1px solid var(--kohgm-line); border-radius: 11px; background: #fff; }
	.kohgm-table-wrap td { padding: 7px 8px; border: 0; white-space: normal; }
	.kohgm-table-wrap td[data-label]:before { content: attr(data-label); display: block; margin-bottom: 1px; color: var(--kohgm-muted); font-size: 9px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
	.kohgm-login-card { padding: 27px 20px; }
}
@media(max-width:420px) {
	.kohgm-cards { grid-template-columns: 1fr; }
	.kohgm-stat { min-height: 112px; }
	.kohgm-welcome h2 { font-size: 26px; }
	.kohgm-donut-wrap { gap: 15px; }
}

/* Contribution batch control workspace */
.kohgm-batch-intro{background:linear-gradient(135deg,#071b2d,#123a36);color:#fff}.kohgm-batch-intro h2,.kohgm-batch-intro p,.kohgm-batch-intro .kohgm-section-kicker{color:#fff}.kohgm-lifecycle{display:grid;grid-template-columns:repeat(6,minmax(100px,1fr));gap:8px;margin-top:20px}.kohgm-lifecycle span{position:relative;padding:11px 12px;border:1px solid rgba(255,255,255,.22);border-radius:10px;text-align:center;font-size:12px;font-weight:700;letter-spacing:.03em;background:rgba(255,255,255,.08)}.kohgm-lifecycle span:not(:last-child)::after{content:'→';position:absolute;right:-9px;color:#d7ae5b}.kohgm-batch-filter{grid-template-columns:repeat(4,minmax(150px,1fr));align-items:end}.kohgm-batch-summary-grid{display:grid;grid-template-columns:repeat(5,minmax(150px,1fr));gap:14px;margin-bottom:18px}.kohgm-batch-summary-grid article{padding:18px;border:1px solid var(--kohgm-border,#e7e1d8);border-radius:14px;background:#fff;box-shadow:0 8px 24px rgba(7,27,45,.06)}.kohgm-batch-summary-grid span{display:block;color:#687078;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}.kohgm-batch-summary-grid strong{display:block;margin-top:8px;color:#071b2d;font-size:19px}.kohgm-batch-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.kohgm-batch-head-actions,.kohgm-action-row{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.kohgm-money-list,.kohgm-control-grid,.kohgm-batch-control-record dl{display:grid;gap:10px;margin:0}.kohgm-money-list>div,.kohgm-control-grid>div,.kohgm-batch-control-record dl>div{display:flex;justify-content:space-between;gap:16px;padding:10px 0;border-bottom:1px solid #ece7de}.kohgm-money-list .is-total{font-weight:800;border-top:2px solid #c99a3b;border-bottom:0}.kohgm-denomination-tool{margin:16px 0;padding:14px;border:1px solid #e6dfd4;border-radius:12px;background:#faf8f3}.kohgm-denomination-tool summary{cursor:pointer;font-weight:700;color:#173b35}.kohgm-denomination-grid{display:grid;grid-template-columns:repeat(6,minmax(90px,1fr));gap:10px;margin-top:14px}.kohgm-reconciliation-equation{display:grid;grid-template-columns:repeat(5,minmax(140px,1fr));gap:10px;margin:14px 0}.kohgm-reconciliation-equation span{padding:13px;border-radius:11px;background:#f7f4ee;color:#51605e;font-size:12px}.kohgm-reconciliation-equation strong{display:block;margin-top:5px;color:#071b2d;font-size:16px}.kohgm-variance-alert{color:#a23b31;font-weight:800}.kohgm-audit-timeline{display:grid;gap:10px}.kohgm-audit-timeline article{display:flex;justify-content:space-between;gap:16px;padding:12px 14px;border-left:3px solid #c99a3b;background:#faf8f3}.kohgm-audit-timeline span{color:#66706d;font-size:12px}.kohgm-policy-card{border-left:4px solid #c99a3b}.kohgm-badge-reconciliation,.kohgm-badge-submitted{background:#fff2ce;color:#684f12}.kohgm-badge-variance{background:#fde9e6;color:#8e2e24}.kohgm-badge-reconciled,.kohgm-badge-closed{background:#e3f4ec;color:#15573d}.kohgm-badge-reopened{background:#eee7fa;color:#54348b}.kohgm-danger-action{padding:12px;border:1px solid #e8b8b2;border-radius:12px;background:#fff8f7}
.kohgm-control-notice{display:block;max-width:760px;margin:12px 0;padding:13px 15px;border:1px solid #e6c978;border-left:4px solid #c99a3b;border-radius:10px;color:#173b35;background:#fff8e8}.kohgm-control-notice strong{display:block;color:#173b35}.kohgm-control-notice p{margin:4px 0 0;color:#4d554f}.kohgm-approval>div>small{display:block;margin-top:6px;color:#6f716d}
@media(max-width:1199px){.kohgm-batch-summary-grid{grid-template-columns:repeat(3,1fr)}.kohgm-batch-filter{grid-template-columns:repeat(2,minmax(150px,1fr))}.kohgm-denomination-grid{grid-template-columns:repeat(4,1fr)}.kohgm-reconciliation-equation{grid-template-columns:repeat(3,1fr)}}
@media(max-width:767px){.kohgm-lifecycle{display:flex;overflow-x:auto}.kohgm-lifecycle span{min-width:112px}.kohgm-batch-summary-grid,.kohgm-batch-filter,.kohgm-reconciliation-equation{grid-template-columns:1fr}.kohgm-batch-detail-head{display:block}.kohgm-batch-head-actions{margin-top:14px}.kohgm-denomination-grid{grid-template-columns:repeat(2,1fr)}.kohgm-audit-timeline article{display:block}.kohgm-audit-timeline span{display:block;margin-top:4px}}
@media print{.kohgm-sidebar,.kohgm-topbar,.kohgm-mobile-bottom,.kohgm-batch-action,.kohgm-batch-head-actions,.kohgm-filter,form,.kohgm-denomination-tool{display:none!important}.kohgm-main,.kohgm-workspace{margin:0!important;padding:0!important;width:100%!important}.kohgm-card{break-inside:avoid;box-shadow:none!important}.kohgm-app{display:block!important;background:#fff!important}}

/* Financial Reconciliation Control Centre */
.kohgm-reconciliation-metrics{grid-template-columns:repeat(5,minmax(0,1fr))}
.kohgm-reconciliation-head{padding-bottom:0}.kohgm-reconciliation-tabs{display:flex;gap:6px;margin:22px -24px 0;padding:0 24px;border-top:1px solid var(--kohgm-line);overflow-x:auto}.kohgm-reconciliation-tabs a{padding:15px 14px 13px;border-bottom:3px solid transparent;color:var(--kohgm-muted);font-weight:700;white-space:nowrap}.kohgm-reconciliation-tabs a.is-active{border-color:var(--kohgm-gold);color:var(--kohgm-navy)}
.kohgm-reconciliation-filter{grid-template-columns:repeat(6,minmax(130px,1fr))}.kohgm-reconciliation-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}.kohgm-reconciliation-summary article,.kohgm-aging-grid article{padding:18px;border:1px solid var(--kohgm-line);border-radius:14px;background:#fff}.kohgm-reconciliation-summary span,.kohgm-aging-grid span{display:block;color:var(--kohgm-muted);font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}.kohgm-reconciliation-summary strong,.kohgm-aging-grid strong{display:block;margin-top:8px;color:var(--kohgm-navy);font-size:21px}
.kohgm-aging-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0}.kohgm-reconciliation-detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.kohgm-reconciliation-detail-grid article{padding:18px;border:1px solid var(--kohgm-line);border-radius:14px;background:#fbfaf7}.kohgm-reconciliation-detail-grid h3{margin:0 0 12px;color:var(--kohgm-navy)}.kohgm-reconciliation-detail-grid dl{margin:0}.kohgm-reconciliation-detail-grid dl div{display:flex;justify-content:space-between;gap:16px;padding:9px 0;border-bottom:1px solid rgba(9,35,58,.08)}.kohgm-reconciliation-detail-grid dt{color:var(--kohgm-muted)}.kohgm-reconciliation-detail-grid dd{margin:0;text-align:right;font-weight:650}.kohgm-reconciliation-action{margin-top:12px}.kohgm-reconciliation-action textarea{min-height:74px}.kohgm-reconciliation-action select{min-width:170px}.kohgm-variance-alert{color:#8f3d20!important;font-weight:750}
@media(max-width:1350px){.kohgm-reconciliation-metrics,.kohgm-reconciliation-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.kohgm-reconciliation-filter{grid-template-columns:repeat(4,minmax(130px,1fr))}}
@media(max-width:900px){.kohgm-reconciliation-metrics,.kohgm-reconciliation-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.kohgm-reconciliation-filter{grid-template-columns:repeat(2,minmax(0,1fr))}.kohgm-reconciliation-detail-grid{grid-template-columns:1fr}.kohgm-reconciliation-tabs{margin-left:-16px;margin-right:-16px;padding-left:16px;padding-right:16px}}
@media(max-width:520px){.kohgm-reconciliation-filter{grid-template-columns:1fr}.kohgm-reconciliation-summary strong{font-size:18px}.kohgm-reconciliation-head .kohgm-card-head{align-items:flex-start}.kohgm-reconciliation-head .kohgm-inline-actions{width:100%}.kohgm-reconciliation-head .kohgm-inline-actions .kohgm-btn{flex:1}}

/* Structured member records — v1.4 */
.kohgm-member-registration { width:min(100%,1120px); margin:0 auto; }
.kohgm-member-form-intro { display:flex; align-items:flex-end; justify-content:space-between; gap:22px; margin-bottom:18px; padding:22px 24px; border:1px solid var(--kohgm-line); border-radius:15px; background:linear-gradient(135deg,#fffdf9,#f8edd8); box-shadow:var(--kohgm-shadow); }
.kohgm-member-form-intro h2,.kohgm-settings-intro h2 { margin:5px 0 6px; color:var(--kohgm-navy); font-size:25px; letter-spacing:-.025em; }
.kohgm-member-form-intro p,.kohgm-settings-intro p { margin:0; color:var(--kohgm-muted); font-size:11px; }
.kohgm-id-preview { flex:0 0 auto; padding:9px 12px; border:1px solid #e4d4b3; border-radius:9px; color:#79591e; background:#fff7e7; font-size:9px; font-weight:720; }
.kohgm-form-section { margin-bottom:16px; padding:23px 24px; border:1px solid var(--kohgm-line); border-radius:15px; background:#fff; box-shadow:var(--kohgm-shadow); }
.kohgm-form-section > header { display:flex; align-items:flex-start; gap:13px; margin-bottom:20px; padding-bottom:16px; border-bottom:1px solid #eee8df; }
.kohgm-form-section > header > span { display:grid; place-items:center; flex:0 0 32px; width:32px; height:32px; border-radius:9px; color:var(--kohgm-navy); background:var(--kohgm-gold); font-size:11px; font-weight:800; }
.kohgm-form-section h3 { margin:1px 0 4px; color:var(--kohgm-navy); font-size:16px; }
.kohgm-form-section header p { margin:0; color:var(--kohgm-muted); font-size:10px; }
.kohgm-member-form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:15px 18px; }
.kohgm-member-form-grid > label,.kohgm-member-form-grid > div > label { min-width:0; margin:0; }
.kohgm-field-wide { grid-column:1/-1; }
.kohgm-file-field { display:grid; align-content:start; gap:6px; }
.kohgm-file-field small { color:var(--kohgm-muted); font-size:8px; font-weight:500; }
.kohgm-file-field input[type=file] { min-height:43px; padding:9px; border:1px dashed #cdbb98; border-radius:9px; background:#fffaf0; }
.kohgm-form-hint { margin:15px 0 0; padding:10px 12px; border-radius:9px; color:#675b48!important; background:#faf5eb; font-size:9px!important; }
.kohgm-form-hint a { color:#7d5b1b; font-weight:700; }
.kohgm-ministry-picker { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:11px; }
.kohgm-ministry-picker article { display:grid; grid-template-columns:minmax(0,1fr) 150px; align-items:center; gap:12px; min-height:78px; padding:13px; border:1px solid var(--kohgm-line); border-radius:11px; background:#fffdfa; transition:border-color .18s ease,background .18s ease; }
.kohgm-ministry-picker article.is-selected { border-color:#d1ad5d; background:#fff8e8; }
.kohgm-ministry-picker article > label { margin:0; }
.kohgm-choice { display:flex!important; align-items:flex-start!important; gap:10px!important; cursor:pointer; }
.kohgm-choice input { flex:0 0 auto; width:17px!important; height:17px!important; margin:2px 0 0!important; accent-color:var(--kohgm-gold); }
.kohgm-choice span { display:grid; gap:2px; }
.kohgm-choice strong { color:var(--kohgm-navy); font-size:11px; }
.kohgm-choice small { color:var(--kohgm-muted); font-size:8px; }
.kohgm-segmented-options { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:9px; margin-bottom:17px; }
.kohgm-segmented-options label { display:flex; align-items:center; gap:8px; min-height:47px; margin:0; padding:11px 12px; border:1px solid var(--kohgm-line); border-radius:10px; color:var(--kohgm-navy); background:#fffdfa; cursor:pointer; font-size:10px; font-weight:680; }
.kohgm-segmented-options input { width:16px!important; height:16px!important; margin:0!important; accent-color:var(--kohgm-gold); }
.kohgm-secure-account-note,.kohgm-portal-disabled { display:flex; align-items:flex-start; gap:11px; padding:14px; border:1px solid #dfd2b7; border-radius:10px; color:var(--kohgm-navy); background:#fff8e9; }
.kohgm-secure-account-note .kohgm-icon { flex:0 0 22px; width:22px; height:22px; color:#966d1e; }
.kohgm-secure-account-note span,.kohgm-portal-disabled { font-size:10px; font-weight:720; }
.kohgm-secure-account-note small,.kohgm-portal-disabled small { display:block; margin-top:3px; color:var(--kohgm-muted); font-size:8px; font-weight:500; line-height:1.5; }
.kohgm-sticky-form-actions { z-index:5; position:sticky; bottom:10px; display:flex; align-items:center; justify-content:space-between; gap:18px; margin-top:18px; padding:13px 15px; border:1px solid #dcd1c0; border-radius:12px; background:rgba(255,253,249,.96); box-shadow:0 12px 35px rgba(19,25,28,.13); backdrop-filter:blur(16px); }
.kohgm-sticky-form-actions > div { display:flex; align-items:center; gap:13px; }
.kohgm-sticky-form-actions small { color:var(--kohgm-muted); font-size:8px; }
.kohgm-created-success { display:flex; align-items:center; justify-content:space-between; gap:18px; margin-bottom:18px; padding:17px 19px; border:1px solid #d9c797; border-radius:13px; color:var(--kohgm-navy); background:#fff7df; box-shadow:var(--kohgm-shadow); }
.kohgm-created-success > div { display:flex; align-items:center; gap:12px; }
.kohgm-created-success .kohgm-icon { width:26px; height:26px; color:#8b651b; }
.kohgm-created-success strong { display:block; font-size:14px; }
.kohgm-created-success p { margin:3px 0 0; font-size:10px; }
.kohgm-created-success nav { display:flex; align-items:center; gap:8px; }
.kohgm-created-success a,.kohgm-created-success button { appearance:none; padding:8px 10px; border:1px solid #d8c795; border-radius:8px; color:var(--kohgm-navy); background:#fff; font:700 9px/1.2 inherit; text-decoration:none; cursor:pointer; }
.kohgm-member-profile-head .kohgm-profile-avatar { overflow:hidden; }
.kohgm-profile-photo { width:100%; height:100%; object-fit:cover; }
.kohgm-profile-editor { margin-top:20px; padding-top:16px; border-top:1px solid var(--kohgm-line); }
.kohgm-profile-editor summary { margin-bottom:16px; color:#815e1d; font-size:10px; font-weight:750; cursor:pointer; }
.kohgm-profile-editor form,.kohgm-tab-panel > form { margin-top:18px; }
.kohgm-portal-linked { display:flex; align-items:center; justify-content:space-between; gap:15px; padding:15px; border:1px solid #d9c99f; border-radius:11px; background:#fff9ea; }
.kohgm-portal-linked > div { display:flex; align-items:center; gap:11px; }
.kohgm-portal-linked .kohgm-icon { width:24px; height:24px; color:#91691d; }
.kohgm-portal-linked p { margin:3px 0 0; font-size:9px; }
.kohgm-danger-zone { border-color:#e3c9c3; }
.kohgm-danger-zone h2 { color:#773b34; }
.kohgm-settings-intro { margin-bottom:18px; padding:20px 22px; border:1px solid var(--kohgm-line); border-radius:14px; background:linear-gradient(135deg,#fff,#faf0dd); }
.kohgm-configuration-cards { grid-template-columns:repeat(2,minmax(0,1fr)); }
.kohgm-readiness-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:14px;padding:26px 28px;border:1px solid #d8aa45;border-radius:18px;background:linear-gradient(135deg,#071b2d,#123b35);color:#fff}.kohgm-readiness-hero h2{margin:5px 0 7px;color:#fff;font-size:clamp(25px,3vw,36px)}.kohgm-readiness-hero p{margin:0;color:#dbe7e4}.kohgm-readiness-state{flex:0 0 auto;padding:14px 18px;border:1px solid rgba(255,220,137,.55);border-radius:14px;background:rgba(0,0,0,.18);text-align:right}.kohgm-readiness-state strong,.kohgm-readiness-state span{display:block}.kohgm-readiness-state strong{color:#ffe2a0;font-size:21px}.kohgm-readiness-state span{margin-top:3px;color:#fff;font-size:12px}.kohgm-readiness-fixed{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:14px}.kohgm-readiness-fixed span{padding:12px 14px;border:1px solid #d8aa45;border-radius:12px;background:#fff8e8;color:#62470d}.kohgm-readiness-fixed strong{display:block;color:#071b2d;font-size:10px;letter-spacing:.08em;text-transform:uppercase}.kohgm-readiness-nav{display:flex;gap:7px;overflow-x:auto;margin-bottom:18px;padding:7px;border:1px solid var(--kohgm-line);border-radius:14px;background:#fff}.kohgm-readiness-nav a{flex:0 0 auto;padding:8px 11px;border-radius:9px;color:#334c48;font-size:11px;font-weight:750;text-decoration:none}.kohgm-readiness-nav a:hover,.kohgm-readiness-nav a:focus-visible{background:#edf6f3;color:#071b2d}.kohgm-readiness-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.kohgm-readiness-card{scroll-margin-top:20px}.kohgm-readiness-card .kohgm-card-head{margin-bottom:12px}.kohgm-readiness-list{margin:0}.kohgm-readiness-list>div{display:grid;grid-template-columns:minmax(150px,.75fr) minmax(0,1.25fr);gap:14px;padding:12px 0;border-top:1px solid #ece9e2}.kohgm-readiness-list>div:first-child{border-top:0}.kohgm-readiness-list dt{color:#344642;font-weight:750}.kohgm-readiness-list dd{display:flex;align-items:flex-start;flex-direction:column;gap:7px;margin:0;min-width:0}.kohgm-readiness-value{color:#5d6b68;font-size:12px;line-height:1.5;overflow-wrap:anywhere}.kohgm-readiness-pill{display:inline-flex;width:max-content;max-width:100%;padding:5px 8px;border-radius:999px;font-size:9px;font-weight:850;letter-spacing:.055em;line-height:1.25;text-transform:uppercase}.kohgm-readiness-pill.is-complete,.kohgm-readiness-pill.is-enabled{background:#e6f6ef;color:#17624d}.kohgm-readiness-pill.is-pending,.kohgm-readiness-pill.is-payment-pending{background:#fff3d3;color:#74520c}.kohgm-readiness-pill.is-decision{background:#eaf1f7;color:#31536e}.kohgm-readiness-pill.is-blocked{background:#fde8e5;color:#8b2f24}.kohgm-readiness-launch{grid-column:1/-1}.kohgm-launch-columns{display:grid;grid-template-columns:1.35fr .65fr;gap:24px}.kohgm-launch-columns h3{margin:0 0 12px}.kohgm-launch-columns ol,.kohgm-launch-columns ul{display:grid;gap:9px;margin:0;padding:0;list-style:none}.kohgm-launch-columns li{display:flex;align-items:flex-start;gap:10px;padding:10px;border:1px solid #ece9e2;border-radius:10px;background:#fbfcfb}.kohgm-launch-columns li strong{font-size:12px;line-height:1.5}.kohgm-launch-rule{display:flex;justify-content:space-between;gap:18px;margin-top:18px;padding:14px 16px;border-left:4px solid #b63d2e;background:#fff5f3;color:#6d2b23}.kohgm-launch-rule span{font-size:12px;line-height:1.55}
.kohgm-phase-editor{margin-bottom:14px;border:1px solid #d8aa45;border-radius:14px;background:#fff}.kohgm-phase-editor summary{padding:15px 18px;color:#071b2d;font-weight:800;cursor:pointer}.kohgm-phase-editor[open] summary{border-bottom:1px solid #ece9e2}.kohgm-phase-editor form{padding:18px}.kohgm-readiness-pill.is-domain-email-pending,.kohgm-readiness-pill.is-smtp-pending{border:1px solid #e1bd66;background:#fff6df;color:#74520c}
.kohgm-readiness-pill.is-leadership-deferred{border:1px solid #c8b16d;background:#fff8e8;color:#62470d}

@media(max-width:767px) {
	.kohgm-member-form-intro { align-items:flex-start; padding:18px; flex-direction:column; }
	.kohgm-id-preview { align-self:flex-start; }
	.kohgm-form-section { padding:18px 15px; }
	.kohgm-member-form-grid,.kohgm-ministry-picker,.kohgm-configuration-cards { grid-template-columns:1fr; }
	.kohgm-readiness-grid,.kohgm-launch-columns{grid-template-columns:1fr}.kohgm-readiness-hero{align-items:flex-start;flex-direction:column}.kohgm-readiness-state{text-align:left}.kohgm-readiness-fixed{grid-template-columns:1fr}
	.kohgm-field-wide { grid-column:auto; }
	.kohgm-ministry-picker article { grid-template-columns:1fr; }
	.kohgm-segmented-options { grid-template-columns:1fr; }
	.kohgm-sticky-form-actions { bottom:70px; align-items:stretch; flex-direction:column-reverse; }
	.kohgm-sticky-form-actions > div { justify-content:space-between; }
	.kohgm-created-success { align-items:flex-start; flex-direction:column; }
	.kohgm-created-success nav { width:100%; flex-wrap:wrap; }
	.kohgm-profile-tabs { overflow-x:auto; flex-wrap:nowrap; scrollbar-width:thin; }
	.kohgm-profile-tabs button { flex:0 0 auto; }
}
@media(prefers-reduced-motion:reduce) { * { scroll-behavior: auto!important; transition: none!important; animation: none!important; } }

/* Reference-aligned administration interface — v1.2 */
:root { --kohgm-sidebar: 242px; --kohgm-bg: #f5f7f6; --kohgm-line: #e3e9e6; --kohgm-radius: 12px; --kohgm-shadow: 0 2px 10px rgba(12,52,43,.055); --kohgm-green: #103f35; --kohgm-green-2: #18584b; }
.kohgm-app { background: var(--kohgm-bg); font-size: 13px; }
.kohgm-app button,.kohgm-app input,.kohgm-app select,.kohgm-app textarea,.kohgm-app table,.kohgm-app dt,.kohgm-app dd { font-family: inherit!important; }
.kohgm-sidebar { padding: 18px 14px 14px; background: #103f35; box-shadow: none; }
.kohgm-brand { min-height: 58px; padding: 0 6px 16px; border-color: rgba(255,255,255,.12); }
.kohgm-mark { width: 36px; height: 36px; flex-basis: 36px; border: 0; border-radius: 9px; color: #0f493d; background: #55e1be; font-size: 11px; }
.kohgm-brand strong { font-size: 15px; letter-spacing: .07em; }
.kohgm-brand small { font-size: 9px; color: rgba(255,255,255,.58); }
.kohgm-sidebar-search { display: flex; align-items: center; gap: 8px; height: 36px; margin: 14px 2px 7px; padding: 0 9px; border: 1px solid rgba(255,255,255,.15); border-radius: 8px; color: rgba(255,255,255,.68); background: rgba(255,255,255,.07); }
.kohgm-sidebar-search .kohgm-icon { width: 16px; height: 16px; flex-basis: 16px; }
.kohgm-sidebar-search input { min-width: 0; width: 100%; height: 100%; padding: 0; border: 0!important; outline: 0!important; color: #fff!important; background: transparent!important; box-shadow: none!important; font: 500 11px/1 inherit; }
.kohgm-sidebar-search input::placeholder { color: rgba(255,255,255,.65); }
.kohgm-sidebar-search kbd { padding: 2px 5px; border-radius: 4px; color: rgba(255,255,255,.7); background: rgba(255,255,255,.12); font: 500 9px/1 inherit; }
.kohgm-nav-scroll { padding: 8px 1px; }
.kohgm-nav-group { margin: 0 0 10px; }
.kohgm-nav-group h2 { margin: 0; padding: 7px 8px 4px; color: rgba(255,255,255,.53); font-size: 8px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.kohgm-nav-group ul { margin: 0; padding: 0; list-style: none; }
.kohgm-nav-group li { margin: 2px 0; }
.kohgm-sidebar nav a { min-height: 34px; gap: 10px; padding: 7px 9px; border: 0; border-radius: 7px; color: rgba(255,255,255,.78); font-size: 11px; font-weight: 520; }
.kohgm-sidebar nav a .kohgm-icon { width: 16px; height: 16px; flex-basis: 16px; color: #9fd5c7; }
.kohgm-sidebar nav a:hover,.kohgm-sidebar nav a:focus-visible { transform: none; background: rgba(255,255,255,.08); }
.kohgm-sidebar nav a.is-active { color: #fff; background: rgba(117,225,197,.16); box-shadow: inset -3px 0 #50ddba; }
.kohgm-sidebar nav a.is-active .kohgm-icon { color: #50ddba; }
.kohgm-nav-foot { padding: 8px 1px 0; border-color: rgba(255,255,255,.12); }
.kohgm-nav-foot > a { min-height: 30px!important; padding: 5px 8px!important; font-size: 10px!important; }
.kohgm-sidebar-account { display: grid!important; grid-template-columns: 30px minmax(0,1fr) 16px; gap: 8px!important; min-height: 46px!important; margin-top: 6px; padding: 7px!important; border-radius: 8px!important; background: rgba(255,255,255,.09)!important; }
.kohgm-sidebar-account .kohgm-avatar { width: 30px; height: 30px; flex-basis: 30px; border-radius: 7px; font-size: 10px; }
.kohgm-sidebar-account span span,.kohgm-sidebar-account > span:nth-child(2) { display: grid; min-width: 0; }
.kohgm-sidebar-account strong,.kohgm-sidebar-account small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kohgm-sidebar-account strong { color: #fff; font-size: 10px; }
.kohgm-sidebar-account small { color: rgba(255,255,255,.57); font-size: 8px; }
.kohgm-sidebar-account i { color: #8ec8b8; font-style: normal; }
.kohgm-sidebar-account i .kohgm-icon { width: 15px; height: 15px; }
.kohgm-topbar { min-height: 68px; padding: 11px clamp(20px,2.2vw,34px); border-color: var(--kohgm-line); background: #fff; backdrop-filter: none; }
.kohgm-title-block h1 { margin: 0; font-size: 17px; letter-spacing: -.015em; }
.kohgm-top-copy p { margin: 1px 0 0; color: var(--kohgm-muted); font-size: 10px; }
.kohgm-top-actions { gap: 8px; }
.kohgm-icon-button { appearance:none!important; display: grid; place-items: center; width: 34px!important; height: 34px!important; min-width:34px!important; min-height:34px!important; flex:0 0 34px; padding: 0!important; border: 0!important; border-radius: 8px!important; color: #53635f!important; background: transparent!important; box-shadow:none!important; text-decoration: none; cursor: pointer; }
.kohgm-icon-button:hover,.kohgm-icon-button:focus-visible { color: var(--kohgm-green); background: #eff5f3; outline: 2px solid #bde9dd; }
.kohgm-icon-button .kohgm-icon { width: 16px; height: 16px; }
.kohgm-report-button { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 8px 13px; border-radius: 7px; color: #fff!important; background: var(--kohgm-green); font-size: 10px; font-weight: 650; text-decoration: none!important; }
.kohgm-report-button:hover,.kohgm-report-button:focus-visible { background: var(--kohgm-green-2); outline: 3px solid rgba(80,221,186,.25); }
.kohgm-report-button .kohgm-icon { width: 14px; height: 14px; }
.kohgm-account summary { min-width: 130px; gap: 7px; padding: 3px 5px; border-radius: 8px; }
.kohgm-avatar { width: 30px; height: 30px; flex-basis: 30px; border-radius: 50%; font-size: 10px; }
.kohgm-account strong { max-width: 90px; font-size: 10px; }
.kohgm-account small { font-size: 8px; }
.kohgm-workspace { max-width: 1660px; padding: clamp(18px,2vw,30px); }
.kohgm-card,.kohgm-stat,.kohgm-profile-head { border: 1px solid var(--kohgm-line); border-radius: var(--kohgm-radius); background: #fff; box-shadow: var(--kohgm-shadow); backdrop-filter: none; }
.kohgm-card { margin-bottom: 16px; padding: 18px; }
.kohgm-card h2 { font-size: 17px; }
.kohgm-card p { font-size: 12px; }
.kohgm-reference-kpis { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; margin-bottom: 16px; }
.kohgm-reference-stat { display: grid; grid-template-columns: minmax(0,1fr) 36px; min-height: 100px; overflow: hidden; border: 1px solid var(--kohgm-line); border-radius: 10px; background: #fff; box-shadow: var(--kohgm-shadow); }
.kohgm-reference-stat > div { padding: 14px 5px 7px 15px; }
.kohgm-reference-stat > div > span { display: block; color: #6c7975; font-size: 8px; font-weight: 650; letter-spacing: .025em; text-transform: uppercase; }
.kohgm-reference-stat strong { display: block; margin-top: 4px; color: #17241f; font-size: clamp(18px,1.45vw,23px); line-height: 1.15; letter-spacing: -.025em; }
.kohgm-reference-icon { display: grid; place-items: center; width: 28px; height: 28px; margin: 12px 8px 0 0; border: 1px solid #dfe8e5; border-radius: 7px; color: #26b989; background: #f5fbf9; }
.kohgm-reference-icon .kohgm-icon { width: 14px; height: 14px; }
.kohgm-reference-stat footer { grid-column: 1/-1; display: flex; align-items: center; justify-content: space-between; min-height: 31px; padding: 6px 14px; border-top: 1px solid #edf0ef; background: #fafbfb; }
.kohgm-reference-stat footer small { color: #6c7975; font-size: 9px; }
.kohgm-reference-stat footer small.is-positive { color: #208864; }
.kohgm-reference-stat footer small.is-negative { color: #b04663; }
.kohgm-reference-stat footer b { color: #14221e; font-size: 15px; }
.kohgm-reference-analytics { display: grid; grid-template-columns: minmax(0,2fr) minmax(280px,.78fr); gap: 16px; margin-bottom: 16px; }
.kohgm-reference-analytics > .kohgm-card,.kohgm-reference-lower .kohgm-card { margin: 0; }
.kohgm-reference-card-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; margin-bottom: 14px; }
.kohgm-reference-card-title > div > span { display: block; color: #6a7773; font-size: 8px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.kohgm-reference-card-title strong { display: inline-block; margin-top: 4px; color: #17241f; font-size: 20px; line-height: 1.1; }
.kohgm-reference-card-title small { display: block; margin-top: 3px; color: #82908b; font-size: 9px; }
.kohgm-reference-card-title em { display: inline-block; margin-left: 7px; padding: 3px 6px; border-radius: 10px; color: #258967; background: #eaf9f4; font-size: 8px; font-style: normal; font-weight: 650; vertical-align: 3px; }
.kohgm-reference-card-title em.is-negative { color: #ad3e5b; background: #fff0f4; }
.kohgm-reference-card-title > .kohgm-icon { width: 30px; height: 30px; padding: 7px; border: 1px solid #e2eae7; border-radius: 7px; color: #25b988; background: #f8fbfa; }
.kohgm-reference-filters { display: flex; align-items: end; gap: 8px; margin: 0 -18px 10px; padding: 10px 18px; border-block: 1px solid #edf0ef; }
.kohgm-reference-filters label { display: grid; gap: 3px; color: #77837f; font-size: 8px; font-weight: 650; }
.kohgm-reference-filters select { min-width: 125px; height: 30px; padding: 3px 25px 3px 8px; border: 1px solid #e0e6e4; border-radius: 6px; color: #293a34; background: #fff; font: 500 9px/1 inherit; }
.kohgm-filter-submit { width: auto!important; height: 30px!important; min-height: 30px!important; min-width:54px!important; padding: 4px 10px!important; overflow:visible!important; border: 0!important; border-radius: 6px!important; color: #fff!important; background: var(--kohgm-green)!important; font: 650 9px/1 inherit!important; letter-spacing: 0!important; white-space:nowrap!important; cursor: pointer; }
.kohgm-chart-key { display: flex; gap: 12px; margin-left: auto; padding-bottom: 6px; color: #77837f; font-size: 8px; }
.kohgm-chart-key span { display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.kohgm-chart-key i { width: 7px; height: 7px; border-radius: 2px; background: #35b78d; }
.kohgm-chart-key span:last-child i { background: #57a99a; }
.kohgm-reference-primary .kohgm-chart { min-height: 270px; }
.kohgm-reference-primary .kohgm-chart svg { height: 235px; border-bottom-color: #edf0ef; }
.kohgm-dual-chart .kohgm-chart-area { fill: url(#kohgm-reference-fill); }
.kohgm-dual-chart polyline.is-current { stroke: #32b98b; stroke-width: 2; }
.kohgm-dual-chart polyline.is-previous { stroke: #5aa99b; stroke-width: 1.7; }
.kohgm-reference-summary dl,.kohgm-membership-overview dl { margin: 0; }
.kohgm-reference-summary dl > div { display: flex; align-items: center; justify-content: space-between; min-height: 58px; padding: 11px 0; border-top: 1px solid #edf0ef; }
.kohgm-reference-summary dt { color: #25342f; font-size: 11px; font-weight: 580; }
.kohgm-reference-summary dt small { display: block; margin-top: 1px; color: #8a9591; font-size: 8px; font-weight: 450; }
.kohgm-reference-summary dd { margin: 0; color: #17241f; font-size: 13px; font-weight: 700; }
.kohgm-reference-lower { display: grid; grid-template-columns: minmax(260px,.72fr) minmax(0,1.9fr); gap: 16px; }
.kohgm-reference-stack { display: grid; align-content: start; gap: 16px; }
.kohgm-membership-overview dl > div { display: flex; justify-content: space-between; padding: 8px 0; border-top: 1px solid #edf0ef; }
.kohgm-membership-overview dt { color: #6d7975; font-size: 10px; }
.kohgm-membership-overview dd { margin: 0; color: #17241f; font-size: 11px; font-weight: 700; }
.kohgm-reference-quick > div { display: grid; }
.kohgm-reference-quick > div > a { display: grid; grid-template-columns: 20px minmax(0,1fr) auto; align-items: center; gap: 8px; padding: 9px 0; border-top: 1px solid #edf0ef; color: #263731; font-size: 10px; font-weight: 600; text-decoration: none; }
.kohgm-reference-quick a .kohgm-icon { width: 15px; height: 15px; color: #269878; }
.kohgm-reference-quick a b { font-size: 14px; }
.kohgm-reference-table { overflow: hidden; }
.kohgm-reference-table .kohgm-card-head { margin-bottom: 11px; }
.kohgm-table-search { display: flex; align-items: center; gap: 7px; width: min(100%,330px); height: 32px; margin-bottom: 10px; padding: 0 9px; border: 1px solid #e1e7e5; border-radius: 7px; color: #7a8883; }
.kohgm-table-search .kohgm-icon { width: 14px; height: 14px; }
.kohgm-table-search input { width: 100%; height: 100%; border: 0!important; outline: 0!important; background: transparent!important; box-shadow: none!important; font: 500 10px/1 inherit; }
.kohgm-table-wrap { border-color: var(--kohgm-line); border-radius: 8px; }
.kohgm-table-wrap th { padding: 8px 10px; color: #7a8782; background: #fafbfb; font-size: 8px; letter-spacing: .03em; }
.kohgm-table-wrap td { padding: 9px 10px; color: #3b4b45; font-size: 9px; }
.kohgm-badge { font-size: 7px; }

@media(min-width:1700px) { .kohgm-workspace { padding-inline: 34px; } .kohgm-reference-primary .kohgm-chart svg { height: 270px; } }
@media(max-width:1250px) { :root { --kohgm-sidebar: 224px; } .kohgm-reference-filters { flex-wrap: wrap; } .kohgm-chart-key { width: 100%; margin: 2px 0 0; } }
@media(max-width:1023px) { .kohgm-topbar { min-height: 64px; } .kohgm-mobile-trigger { appearance:none!important; display:grid!important; place-items:center!important; width:42px!important; height:42px!important; min-width:42px!important; min-height:42px!important; margin:0!important; padding:0!important; border:1px solid var(--kohgm-line)!important; border-radius:9px!important; color:var(--kohgm-green)!important; background:#fff!important; box-shadow:none!important; font:700 18px/1 inherit!important; } .kohgm-reference-kpis { grid-template-columns: repeat(2,minmax(0,1fr)); } .kohgm-reference-analytics,.kohgm-reference-lower { grid-template-columns: 1fr; } .kohgm-reference-stack { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:767px) { .kohgm-topbar { min-height: 60px; padding: 9px 12px; } .kohgm-title-block h1 { font-size: 16px; } .kohgm-top-copy p,.kohgm-icon-button,.kohgm-account-copy { display: none!important; } .kohgm-report-button { width: 34px; padding: 0; font-size: 0; } .kohgm-report-button .kohgm-icon { width: 15px; height: 15px; } .kohgm-account summary { min-width: 0; padding: 0; } .kohgm-workspace { padding: 14px 12px 24px; } .kohgm-reference-kpis { gap: 10px; } .kohgm-reference-stat { min-height: 94px; } .kohgm-reference-stat strong { font-size: 18px; } .kohgm-reference-filters { align-items: stretch; flex-direction: column; } .kohgm-reference-filters label,.kohgm-reference-filters select { width: 100%; } .kohgm-reference-primary .kohgm-chart { min-height: 215px; } .kohgm-reference-primary .kohgm-chart svg { height: 185px; } .kohgm-reference-stack { grid-template-columns: 1fr; } }
@media(max-width:420px) { .kohgm-reference-kpis { grid-template-columns: 1fr; } .kohgm-reference-stat { min-height: 88px; } .kohgm-reference-stat > div { padding-top: 12px; } }

/* Church-first reference system — v1.3 */
:root { --kohgm-navy:#071b2d; --kohgm-navy-2:#102b43; --kohgm-green:#173b35; --kohgm-green-2:#24564d; --kohgm-gold:#c99a3b; --kohgm-gold-light:#f5e7c8; --kohgm-ink:#152231; --kohgm-muted:#6e747a; --kohgm-bg:#f8f5ef; --kohgm-surface:#fffdf9; --kohgm-line:#e9e3d9; --kohgm-radius:15px; --kohgm-shadow:0 5px 18px rgba(31,25,16,.045); --kohgm-sidebar:238px; }
.kohgm-church-ui,.kohgm-member-shell { color:var(--kohgm-ink); background:var(--kohgm-bg); font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
.kohgm-church-ui { grid-template-columns:var(--kohgm-sidebar) minmax(0,1fr); }
.kohgm-church-ui .kohgm-sidebar { padding:22px 16px 16px; color:#fff; background:var(--kohgm-navy); }
.kohgm-brand { min-height:64px; padding:0 9px 19px; gap:11px; border-color:rgba(255,255,255,.12); }
.kohgm-brand-logo { width:42px; height:42px; flex:0 0 42px; object-fit:contain; }
.kohgm-brand strong { font-size:16px; letter-spacing:.045em; }
.kohgm-brand small { color:rgba(255,255,255,.6); font-size:10px; }
.kohgm-nav-scroll { padding:14px 2px 10px; }
.kohgm-nav-group { margin-bottom:13px; }
.kohgm-nav-group h2 { padding:5px 10px; color:rgba(255,255,255,.45); font-size:8px; letter-spacing:.13em; }
.kohgm-sidebar nav a { min-height:36px; gap:11px; margin:2px 0; padding:8px 10px; border-radius:9px; color:rgba(255,255,255,.76); font-size:11px; font-weight:550; }
.kohgm-sidebar nav a .kohgm-icon { color:rgba(255,255,255,.67); }
.kohgm-sidebar nav a:hover,.kohgm-sidebar nav a:focus-visible { color:#fff; background:rgba(255,255,255,.07); }
.kohgm-sidebar nav a.is-active { color:var(--kohgm-navy); background:var(--kohgm-gold-light); box-shadow:none; }
.kohgm-sidebar nav a.is-active .kohgm-icon { color:#9a6d19; }
.kohgm-nav-foot { padding-top:10px; }
.kohgm-sidebar-account { background:rgba(255,255,255,.08)!important; }
.kohgm-topbar { min-height:86px; padding:14px clamp(24px,2.4vw,38px); border-color:var(--kohgm-line); background:rgba(255,253,249,.96); }
.kohgm-title-block h1 { color:var(--kohgm-navy); font-size:clamp(19px,1.8vw,25px); font-weight:780; letter-spacing:-.025em; }
.kohgm-top-copy p { margin-top:3px; color:var(--kohgm-muted); font-size:11px; }
.kohgm-top-actions { gap:9px; }
.kohgm-global-search { display:flex!important; width:min(22vw,260px); height:38px; border-color:var(--kohgm-line); border-radius:10px; background:#fff; }
.kohgm-global-search .kohgm-icon { width:15px; height:15px; }
.kohgm-global-search input { font-size:10px!important; }
.kohgm-global-member-search { position:relative; z-index:30; }
.kohgm-global-search-toggle { display:none; place-items:center; width:38px; height:38px; padding:0; border:1px solid var(--kohgm-line); border-radius:10px; color:var(--kohgm-navy); background:#fff; cursor:pointer; }
.kohgm-global-search-toggle .kohgm-icon { width:17px; height:17px; }
.kohgm-global-search-panel { position:relative; }
.kohgm-global-search-results { position:absolute; top:calc(100% + 8px); right:0; width:100%; min-width:280px; max-height:min(390px,60vh); overflow:auto; padding:7px; border:1px solid var(--kohgm-line); border-radius:12px; background:#fff; box-shadow:0 18px 46px rgba(8,30,52,.2); }
.kohgm-global-search-results[hidden] { display:none!important; }
.kohgm-global-search-result { display:grid; gap:5px; padding:10px 11px; border-radius:9px; color:var(--kohgm-navy); text-decoration:none; outline:0; }
.kohgm-global-search-result:hover,.kohgm-global-search-result:focus,.kohgm-global-search-result.is-active { color:var(--kohgm-navy); background:var(--kohgm-gold-light); }
.kohgm-global-search-result strong { overflow:hidden; font-size:12px; text-overflow:ellipsis; white-space:nowrap; }
.kohgm-global-search-result span { display:flex; align-items:center; justify-content:space-between; gap:12px; color:var(--kohgm-muted); font-size:9px; }
.kohgm-global-search-result b { color:#8b651d; font-size:9px; letter-spacing:.02em; }
.kohgm-global-search-result em { padding:3px 7px; border-radius:999px; color:var(--kohgm-navy); background:#edf2f7; font-size:8px; font-style:normal; font-weight:750; text-transform:uppercase; }
.kohgm-global-search-state { margin:0; padding:12px 10px; color:var(--kohgm-muted); font-size:10px; text-align:center; }
.kohgm-global-search-state.is-loading { color:#8b651d; }
.kohgm-header-primary { min-height:38px!important; padding:8px 14px!important; border-color:var(--kohgm-gold)!important; border-radius:9px!important; color:var(--kohgm-navy)!important; background:var(--kohgm-gold)!important; font-size:10px!important; white-space:nowrap; }
.kohgm-header-primary:hover,.kohgm-header-primary:focus-visible { color:var(--kohgm-navy)!important; background:#d9b25f!important; border-color:#d9b25f!important; }
.kohgm-icon-button { color:var(--kohgm-navy)!important; }
.kohgm-workspace { max-width:1600px; padding:clamp(22px,2.2vw,34px); }
.kohgm-card,.kohgm-stat,.kohgm-profile-head { border:1px solid var(--kohgm-line); border-radius:var(--kohgm-radius); background:var(--kohgm-surface); box-shadow:var(--kohgm-shadow); }
.kohgm-card { margin-bottom:18px; padding:20px; }
.kohgm-card h2 { color:var(--kohgm-navy); font-size:17px; }
.kohgm-card p { color:var(--kohgm-muted); }
.kohgm-church-kpis { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:13px; margin-bottom:18px; }
.kohgm-church-kpis .kohgm-reference-stat { display:flex; align-items:flex-start; justify-content:space-between; min-height:104px; padding:16px; overflow:visible; border-color:var(--kohgm-line); border-radius:13px; background:var(--kohgm-surface); }
.kohgm-church-kpis .kohgm-reference-stat > div { padding:0; }
.kohgm-church-kpis .kohgm-reference-stat > div > span { color:#756e65; font-size:8px; }
.kohgm-church-kpis .kohgm-reference-stat strong { margin-top:6px; color:var(--kohgm-navy); font-size:clamp(20px,1.55vw,27px); }
.kohgm-church-kpis .kohgm-reference-stat small { display:block; margin-top:7px; color:#8a8279; font-size:9px; }
.kohgm-church-kpis .kohgm-reference-icon { width:34px; height:34px; margin:0; border-color:#eadfc8; color:#9b701f; background:#fff7e6; }
.kohgm-church-feature-grid { display:grid; grid-template-columns:minmax(0,2.15fr) minmax(285px,.85fr); gap:18px; margin-bottom:18px; }
.kohgm-church-feature-grid > * { margin:0; }
.kohgm-service-hero { position:relative; display:flex; min-height:330px; flex-direction:column; align-items:flex-start; justify-content:center; overflow:hidden; padding:clamp(28px,4vw,54px); border-radius:17px; color:#fff; background:linear-gradient(135deg,#0a2033,#193a51); background-position:center; background-size:cover; box-shadow:0 14px 35px rgba(7,27,45,.16); }
.kohgm-service-hero:after { content:''; position:absolute; inset:0; pointer-events:none; background:linear-gradient(180deg,transparent 55%,rgba(0,0,0,.14)); }
.kohgm-service-hero > * { z-index:1; position:relative; }
.kohgm-service-hero h2 { max-width:720px; margin:14px 0 8px; color:#fff; font-size:clamp(28px,3vw,45px); line-height:1.05; letter-spacing:-.035em; }
.kohgm-service-hero p { max-width:650px; margin:0 0 22px; color:rgba(255,255,255,.82); font-size:13px; }
.kohgm-live-pill { display:inline-flex; align-items:center; gap:7px; padding:6px 9px; border-radius:7px; color:#fff; background:rgba(0,0,0,.34); font-size:8px; font-weight:750; letter-spacing:.08em; text-transform:uppercase; }
.kohgm-live-pill i { width:6px; height:6px; border-radius:50%; background:#e55749; box-shadow:0 0 0 3px rgba(229,87,73,.18); }
.kohgm-hero-button { min-height:38px!important; padding:9px 17px!important; border-color:#fff!important; border-radius:8px!important; color:var(--kohgm-navy)!important; background:#fff!important; font-size:10px!important; }
.kohgm-church-card-head { display:flex; align-items:flex-start; justify-content:space-between; gap:14px; margin-bottom:15px; }
.kohgm-church-card-head h2 { margin:0 0 3px; color:var(--kohgm-navy); font-size:16px; }
.kohgm-church-card-head p { margin:0; font-size:10px; }
.kohgm-church-card-head > a { color:#8a641d; font-size:9px; font-weight:700; text-decoration:none; white-space:nowrap; }
.kohgm-church-card-head > .kohgm-icon { width:30px; height:30px; padding:7px; border-radius:8px; color:#9a6d1a; background:#fff6df; }
.kohgm-reference-summary dl > div { min-height:57px; padding:11px 0; border-color:#eee8df; }
.kohgm-reference-summary dt { font-size:10px; }
.kohgm-reference-summary dd { color:var(--kohgm-navy); font-size:15px; }
.kohgm-community-grid { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(280px,.9fr) minmax(280px,.85fr); gap:18px; margin-bottom:18px; }
.kohgm-community-grid > .kohgm-card { min-height:285px; margin:0; }
.kohgm-service-list { gap:0; }
.kohgm-service-list li { gap:13px; padding:11px 0; border-color:#eee8df; }
.kohgm-service-list time { width:48px; height:52px; border-color:#eadfc8; border-radius:9px; color:var(--kohgm-navy); background:#fbf3e4; }
.kohgm-service-list time b { font-size:16px; }
.kohgm-service-list time small { color:#8c6b2f; font-size:8px; font-weight:750; text-transform:uppercase; }
.kohgm-service-list li > div { display:grid; }
.kohgm-service-list li strong { color:var(--kohgm-navy); font-size:11px; }
.kohgm-service-list li span { color:var(--kohgm-muted); font-size:9px; }
.kohgm-quick-tiles { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.kohgm-quick-tiles a { display:grid; place-items:center; min-height:92px; padding:12px 8px; border:1px solid var(--kohgm-line); border-radius:12px; color:var(--kohgm-navy); background:#fff; font-size:9px; font-weight:650; text-align:center; text-decoration:none; transition:transform .18s ease,border-color .18s ease,background .18s ease; }
.kohgm-quick-tiles a:hover,.kohgm-quick-tiles a:focus-visible { transform:translateY(-2px); border-color:#ddc17e; background:#fffaf0; outline:3px solid rgba(201,154,59,.18); }
.kohgm-quick-tiles .kohgm-icon { width:24px; height:24px; margin-bottom:7px; color:#a27624; }
.kohgm-focus-card { position:relative; display:flex; align-items:flex-end; overflow:hidden; color:var(--kohgm-navy); background:linear-gradient(160deg,#fffdf9 45%,#f0dec0); }
.kohgm-focus-card:after { content:''; position:absolute; right:-45px; bottom:-65px; width:230px; height:150px; border-radius:50% 0 0; opacity:.26; background:linear-gradient(145deg,#d7b36b,#fff5dc); transform:rotate(-10deg); }
.kohgm-focus-card > * { z-index:1; position:relative; }
.kohgm-focus-card > div > span { color:#94691c; font-size:8px; font-weight:750; letter-spacing:.1em; text-transform:uppercase; }
.kohgm-focus-card h2 { margin:11px 0 9px; font-size:18px; }
.kohgm-focus-card p { max-width:290px; margin:0; color:#3a4246; font-size:13px; line-height:1.62; }
.kohgm-focus-sun { position:absolute; top:16px; right:18px; color:#c99a3b; font-size:22px; }
.kohgm-finance-grid { display:grid; grid-template-columns:minmax(0,2fr) minmax(300px,.82fr); gap:18px; margin-bottom:18px; }
.kohgm-finance-grid > .kohgm-card { margin:0; }
.kohgm-church-card-head strong { display:block; margin-top:4px; color:var(--kohgm-navy); font-size:24px; }
.kohgm-reference-filters { border-color:#eee8df; }
.kohgm-reference-filters select { border-color:var(--kohgm-line); background:#fffdf9; }
.kohgm-filter-submit { background:var(--kohgm-navy)!important; }
.kohgm-chart-key i { background:var(--kohgm-gold); }
.kohgm-chart-key span:last-child i { background:#84909b; }
.kohgm-dual-chart polyline.is-current { stroke:var(--kohgm-gold); }
.kohgm-dual-chart polyline.is-previous { stroke:#84909b; }
.kohgm-dual-chart .kohgm-chart-area { fill:url(#kohgm-reference-fill); opacity:.55; }
.kohgm-giving-card .kohgm-donut-wrap { min-height:270px; }
.kohgm-giving-card .kohgm-donut { width:min(100%,190px); }
.kohgm-dashboard-bottom { display:grid; grid-template-columns:minmax(0,2fr) minmax(300px,.82fr); gap:18px; }
.kohgm-dashboard-bottom > .kohgm-card { margin:0; }
.kohgm-attendance-card .kohgm-bar-chart { height:270px; }
.kohgm-attendance-mode{justify-content:flex-end;margin:0 0 14px}.kohgm-attendance-register{margin-bottom:18px}.kohgm-attendance-occurrence{display:flex;align-items:flex-end;gap:10px;margin:16px 0}.kohgm-attendance-occurrence label{flex:1;margin:0}.kohgm-attendance-occurrence-meta{display:grid;gap:3px;margin:16px 0;padding:15px 17px;border-left:4px solid var(--kohgm-gold);border-radius:8px;background:#fff9e9}.kohgm-attendance-occurrence-meta strong{color:var(--kohgm-navy);font-size:16px}.kohgm-attendance-occurrence-meta span{color:#71541b;font-weight:750}.kohgm-attendance-occurrence-meta small{color:var(--kohgm-muted)}
.kohgm-attendance-reconciliation{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:14px 0}.kohgm-attendance-reconciliation article{padding:16px;border:1px solid var(--kohgm-line);border-radius:12px;background:#fafbf9}.kohgm-attendance-reconciliation span{display:block;color:var(--kohgm-muted);font-size:10px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.kohgm-attendance-reconciliation strong{display:block;margin-top:7px;color:var(--kohgm-navy);font-size:24px}
.kohgm-attendance-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:18px 0 10px}.kohgm-attendance-tools>label{position:relative;flex:1;max-width:540px;margin:0}.kohgm-attendance-tools>label .kohgm-icon{position:absolute;top:50%;left:13px;width:17px;transform:translateY(-50%);color:var(--kohgm-muted)}.kohgm-attendance-tools input{padding-left:40px}.kohgm-attendance-tools>div{display:flex;gap:8px}.kohgm-attendance-members{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:520px;padding:3px;overflow:auto}.kohgm-attendance-members>label{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:11px;min-width:0;margin:0;padding:12px 13px;border:1px solid var(--kohgm-line);border-radius:11px;background:#fff;cursor:pointer}.kohgm-attendance-members>label:hover{border-color:#c99a3b;background:#fffaf0}.kohgm-attendance-members>label.is-present{border-color:#88b7ac;background:#eff8f5}.kohgm-attendance-members input{width:19px;height:19px;accent-color:#b78213}.kohgm-attendance-members span{display:grid;min-width:0;gap:3px}.kohgm-attendance-members strong{overflow:hidden;color:var(--kohgm-navy);font-size:13px;text-overflow:ellipsis;white-space:nowrap}.kohgm-attendance-members small{overflow:hidden;color:var(--kohgm-muted);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.kohgm-attendance-members em{color:#6f6250;font-size:9px;font-style:normal;font-weight:800;text-transform:uppercase}.kohgm-attendance-save{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;padding-top:14px;border-top:1px solid var(--kohgm-line)}.kohgm-attendance-save p{margin:0;color:var(--kohgm-muted)}.kohgm-attendance-save strong{color:var(--kohgm-navy);font-size:18px}
.kohgm-attendance-members>label.is-search-hidden{display:none!important}
@media(max-width:900px){.kohgm-attendance-occurrence,.kohgm-attendance-tools,.kohgm-attendance-save{align-items:stretch;flex-direction:column}.kohgm-attendance-occurrence .kohgm-btn,.kohgm-attendance-tools>label,.kohgm-attendance-tools>div,.kohgm-attendance-save .kohgm-btn{width:100%;max-width:none}.kohgm-attendance-tools>div{display:grid;grid-template-columns:1fr 1fr}.kohgm-attendance-reconciliation{grid-template-columns:1fr}.kohgm-attendance-members{grid-template-columns:1fr;max-height:58vh}.kohgm-attendance-members>label{min-height:58px}.kohgm-attendance-mode{display:grid;grid-template-columns:1fr}.kohgm-attendance-mode .kohgm-btn{width:100%}}
.kohgm-bar-item i { background:linear-gradient(180deg,var(--kohgm-gold),#a97825); }
.kohgm-table-wrap { border-color:var(--kohgm-line); }
.kohgm-table-wrap th { color:#77736d; background:#faf7f1; }
.kohgm-table-wrap td { border-color:#eee8df; }
.kohgm-badge { border:1px solid #e2d5b9; color:#72551e; background:#fff6e3; }
.kohgm-btn,.kohgm-form button,.kohgm-login-card input[type=submit] { border-color:var(--kohgm-navy); color:#fff!important; background:var(--kohgm-navy); }
.kohgm-btn-outline { color:var(--kohgm-navy)!important; border-color:#d8ccb9; background:#fffdf9; }
.kohgm-btn.kohgm-hero-button { border-color:#fff!important; color:var(--kohgm-navy)!important; background:#fff!important; }
.kohgm-btn.kohgm-hero-button:hover,.kohgm-btn.kohgm-hero-button:focus-visible { border-color:var(--kohgm-gold)!important; color:var(--kohgm-navy)!important; background:var(--kohgm-gold)!important; }
.kohgm-mobile-bottom { display:none; }

/* Member experience */
.kohgm-member-shell { display:grid; grid-template-columns:225px minmax(0,1fr); min-height:100vh; margin:0 calc(50% - 50vw); }
.kohgm-member-sidebar { position:sticky; top:0; display:flex; height:100vh; flex-direction:column; padding:25px 16px 18px; border-right:1px solid var(--kohgm-line); background:#fffdf9; }
.kohgm-member-sidebar .kohgm-brand { border-color:var(--kohgm-line); }
.kohgm-member-sidebar .kohgm-brand strong { color:var(--kohgm-navy); }
.kohgm-member-sidebar .kohgm-brand small { color:var(--kohgm-muted); }
.kohgm-member-sidebar .kohgm-brand-logo { padding:3px; border-radius:9px; background:var(--kohgm-navy); filter:drop-shadow(0 1px 1px rgba(0,0,0,.08)); }
.kohgm-member-sidebar nav { display:grid; gap:4px; padding:15px 0; }
.kohgm-member-sidebar nav a { display:flex; align-items:center; gap:11px; min-height:39px; padding:9px 11px; border-radius:9px; color:#2d3841; font-size:11px; font-weight:560; text-decoration:none; }
.kohgm-member-sidebar nav a.is-active { color:var(--kohgm-navy); background:var(--kohgm-gold-light); }
.kohgm-member-sidebar nav .kohgm-icon { width:17px; height:17px; color:#8e6a25; }
.kohgm-member-user { display:flex; align-items:center; gap:9px; margin-top:auto; padding:10px; border-top:1px solid var(--kohgm-line); color:var(--kohgm-navy); text-decoration:none; }
.kohgm-member-user > span:last-child { display:grid; }
.kohgm-member-user strong { font-size:10px; }
.kohgm-member-user small { color:var(--kohgm-muted); font-size:8px; }
.kohgm-member-main { min-width:0; }
.kohgm-member-top { display:flex; align-items:center; justify-content:space-between; gap:20px; min-height:90px; padding:16px clamp(24px,3vw,42px); border-bottom:1px solid var(--kohgm-line); background:rgba(255,253,249,.96); }
.kohgm-member-top h1 { margin:0; color:var(--kohgm-navy); font-size:22px; letter-spacing:-.025em; }
.kohgm-member-top p { margin:3px 0 0; color:var(--kohgm-muted); font-size:11px; }
.kohgm-member-top > div:last-child { display:flex; align-items:center; gap:10px; }
.kohgm-member-workspace { max-width:1500px; margin:0 auto; padding:clamp(22px,3vw,40px); }
.kohgm-member-hero { min-height:320px; margin-bottom:18px; }
.kohgm-member-reference-grid { display:grid; grid-template-columns:1.1fr .9fr .9fr; gap:18px; margin-bottom:18px; }
.kohgm-member-reference-grid > .kohgm-card { min-height:280px; margin:0; }
.kohgm-member-announcements article { padding:9px 0; border-top:1px solid var(--kohgm-line); }
.kohgm-member-announcements h3 { margin:0 0 3px; font-size:11px; }
.kohgm-member-announcements p { margin:0; font-size:10px; }
.kohgm-member-grid { gap:18px; }
.kohgm-member-grid > .kohgm-card { margin:0; }
.kohgm-page-metrics { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:13px; margin-bottom:18px; }
.kohgm-page-metrics > div { min-height:92px; padding:17px; border:1px solid var(--kohgm-line); border-radius:13px; background:#fff; box-shadow:var(--kohgm-shadow); }
.kohgm-page-metrics span { display:block; color:#79736a; font-size:9px; font-weight:720; letter-spacing:.06em; text-transform:uppercase; }
.kohgm-page-metrics strong { display:block; margin-top:10px; color:var(--kohgm-navy); font-size:clamp(18px,1.5vw,25px); letter-spacing:-.025em; }
.kohgm-btn-gold { border-color:var(--kohgm-gold)!important; color:var(--kohgm-navy)!important; background:var(--kohgm-gold)!important; }
.kohgm-btn-gold:hover,.kohgm-btn-gold:focus-visible { border-color:#d9b25f!important; color:var(--kohgm-navy)!important; background:#d9b25f!important; }
.kohgm-ministry-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin:18px 0; }
.kohgm-ministry-grid article { position:relative; display:flex; align-items:flex-start; gap:13px; min-height:120px; padding:17px; border:1px solid var(--kohgm-line); border-radius:13px; background:#fffdfa; }
.kohgm-ministry-icon { display:grid; place-items:center; flex:0 0 38px; width:38px; height:38px; border-radius:10px; color:#9a6d1a; background:var(--kohgm-gold-light); }
.kohgm-ministry-icon .kohgm-icon { width:19px; height:19px; }
.kohgm-ministry-grid h3 { margin:1px 0 5px; color:var(--kohgm-navy); font-size:13px; }
.kohgm-ministry-grid p { margin:0 0 9px; font-size:10px; }
.kohgm-ministry-grid strong { color:#91691f; font-size:9px; }
.kohgm-ministry-grid .kohgm-badge { position:absolute; top:13px; right:13px; }

@media(max-width:1250px) {
	.kohgm-global-search-toggle { display:grid; }
	.kohgm-global-search-panel { position:absolute; top:calc(100% + 8px); right:0; display:none; width:min(360px,calc(100vw - 32px)); padding:9px; border:1px solid var(--kohgm-line); border-radius:13px; background:#fff; box-shadow:0 18px 46px rgba(8,30,52,.2); }
	.kohgm-global-member-search.is-open .kohgm-global-search-panel { display:block; }
	.kohgm-global-search { width:100%; }
	.kohgm-global-search-results { position:relative; top:auto; right:auto; width:100%; min-width:0; margin-top:8px; box-shadow:none; }
	.kohgm-community-grid { grid-template-columns:1.25fr 1fr; }
	.kohgm-focus-card { grid-column:1/-1; min-height:220px!important; }
	.kohgm-member-reference-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
	.kohgm-member-announcements { grid-column:1/-1; }
	.kohgm-page-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:1023px) {
	.kohgm-church-ui { display:block; }
	.kohgm-church-feature-grid,.kohgm-finance-grid,.kohgm-dashboard-bottom { grid-template-columns:1fr; }
	.kohgm-community-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
	.kohgm-focus-card { grid-column:1/-1; }
	.kohgm-header-primary { display:none!important; }
	.kohgm-member-shell { grid-template-columns:1fr; }
	.kohgm-member-sidebar { display:none; }
}
@media(max-width:767px) {
	.kohgm-standalone-portal { padding-bottom:68px; }
	.kohgm-topbar { min-height:68px; padding:9px 14px; }
	.kohgm-title-block h1 { max-width:230px; font-size:17px; }
	.kohgm-top-copy p { max-width:235px; overflow:hidden; font-size:9px; text-overflow:ellipsis; white-space:nowrap; }
	.kohgm-top-actions .kohgm-icon-button:first-of-type,.kohgm-account-copy,.kohgm-top-actions .kohgm-account > summary > span:last-child { display:none!important; }
	.kohgm-global-search-panel { position:fixed; top:72px; right:12px; left:12px; width:auto; }
	.kohgm-workspace { display:flex; padding:14px 12px 24px; flex-direction:column; }
	.kohgm-workspace > .kohgm-alert { order:0; }
	.kohgm-workspace > .kohgm-church-feature-grid { order:1; }
	.kohgm-workspace > .kohgm-church-kpis { order:2; }
	.kohgm-workspace > .kohgm-community-grid { order:3; }
	.kohgm-workspace > .kohgm-finance-grid { order:4; }
	.kohgm-workspace > .kohgm-dashboard-bottom { order:5; }
	.kohgm-church-kpis { grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
	.kohgm-church-kpis .kohgm-reference-stat { min-height:92px; padding:13px; }
	.kohgm-church-kpis .kohgm-reference-stat strong { font-size:18px; }
	.kohgm-church-kpis .kohgm-reference-stat small { font-size:8px; }
	.kohgm-service-hero { min-height:250px; padding:25px 20px; border-radius:14px; }
	.kohgm-service-hero h2 { margin-top:11px; font-size:28px; }
	.kohgm-service-hero p { margin-bottom:17px; font-size:10px; }
	.kohgm-community-grid { grid-template-columns:1fr; }
	.kohgm-community-grid > .kohgm-card { min-height:0; }
	.kohgm-focus-card { min-height:240px!important; }
	.kohgm-reference-filters { align-items:stretch; }
	.kohgm-reference-primary .kohgm-chart svg { height:190px; }
	.kohgm-dashboard-bottom { gap:14px; }
	.kohgm-mobile-bottom { z-index:100; position:fixed; right:0; bottom:0; left:0; display:flex; height:64px; padding:6px max(7px,env(safe-area-inset-right)) calc(5px + env(safe-area-inset-bottom)) max(7px,env(safe-area-inset-left)); border-top:1px solid var(--kohgm-line); background:rgba(255,253,249,.97); box-shadow:0 -8px 22px rgba(26,23,18,.06); backdrop-filter:blur(16px); }
	.kohgm-mobile-bottom a,.kohgm-mobile-bottom button { appearance:none!important; display:grid!important; place-items:center!important; align-content:center!important; gap:2px; min-width:0!important; min-height:0!important; padding:3px!important; border:0!important; border-radius:8px!important; color:#74716d!important; background:transparent!important; box-shadow:none!important; font:600 8px/1.1 inherit!important; text-align:center; text-decoration:none!important; }
	.kohgm-mobile-bottom a,.kohgm-mobile-bottom button { flex:1 1 0; }
	.kohgm-mobile-bottom .kohgm-icon { width:17px; height:17px; }
	.kohgm-mobile-bottom .is-active { color:#9a6a16!important; background:#fff5df!important; }
	.kohgm-member-top { min-height:68px; padding:10px 14px; }
	.kohgm-member-top h1 { font-size:17px; }
	.kohgm-member-top p { max-width:240px; font-size:9px; }
	.kohgm-member-workspace { padding:14px 12px 24px; }
	.kohgm-member-hero { min-height:250px; }
	.kohgm-member-reference-grid,.kohgm-member-grid { grid-template-columns:1fr; gap:14px; }
	.kohgm-member-reference-grid > .kohgm-card { min-height:0; }
	.kohgm-member-announcements { grid-column:auto; }
	.kohgm-page-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
	.kohgm-page-metrics > div { min-height:82px; padding:13px; }
	.kohgm-ministry-grid { grid-template-columns:1fr; }
}
@media(max-width:420px) {
	.kohgm-title-block h1 { max-width:200px; }
	.kohgm-church-kpis { grid-template-columns:1fr 1fr; }
	.kohgm-church-kpis .kohgm-reference-icon { width:29px; height:29px; }
	.kohgm-quick-tiles a { min-height:78px; }
}
.kohgm-fund-definitions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}.kohgm-fund-definitions p{margin:0;padding:14px;border:1px solid #e4e7e5;border-radius:12px;background:#faf9f5;line-height:1.55}.kohgm-fund-hero>.kohgm-card-head>strong{font-size:clamp(1.45rem,3vw,2.25rem);color:#0d4038}.kohgm-inline-action{display:inline-flex!important;align-items:flex-end;gap:8px;flex-wrap:wrap;margin:4px}.kohgm-inline-action .kohgm-compact-field{min-width:150px}.kohgm-inline-action .kohgm-check{max-width:320px}.kohgm-approval>div:last-child{display:flex;align-items:flex-end;gap:8px;flex-wrap:wrap}.kohgm-fund-metrics strong{font-variant-numeric:tabular-nums}
@media(max-width:760px){.kohgm-fund-definitions{grid-template-columns:1fr}.kohgm-inline-action{display:flex!important;width:100%}.kohgm-inline-action label,.kohgm-inline-action .kohgm-btn{width:100%}}

/* Expense lifecycle workspace */
.kohgm-page-intro{margin:0 0 18px}.kohgm-page-intro h1{margin:4px 0 5px;color:var(--kohgm-navy);font-size:clamp(28px,3vw,40px);letter-spacing:-.035em}.kohgm-page-intro p{margin:0;color:var(--kohgm-muted)}
.kohgm-subpanel{margin-top:20px;padding:18px;border:1px solid var(--kohgm-line);border-radius:14px;background:#faf9f5}.kohgm-subpanel h3{margin-top:0;color:var(--kohgm-navy)}
.kohgm-approval .kohgm-form{display:flex;align-items:flex-end;gap:8px;flex-wrap:wrap;margin:0}.kohgm-approval .kohgm-form label{min-width:170px}.kohgm-approval .kohgm-form .kohgm-check{max-width:330px}
.kohgm-badge-awaiting-payment,.kohgm-badge-partially-paid{background:#fff3cf;color:#6b4b04}.kohgm-badge-payment-processing{background:#e6f0fb;color:#174c7a}.kohgm-badge-completed{background:#daf2e9;color:#125144}.kohgm-badge-rejected,.kohgm-badge-cancelled,.kohgm-badge-payment-failed{background:#fbe7e4;color:#832d26}
@media(max-width:760px){.kohgm-approval .kohgm-form,.kohgm-approval .kohgm-form label,.kohgm-approval .kohgm-form .kohgm-btn{width:100%}.kohgm-page-metrics{grid-template-columns:1fr 1fr}}

/* Reporting & Management Intelligence Centre */
.kohgm-qa-report-banner{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 18px;padding:16px 18px;border:1px solid #d5aa43;border-left:5px solid #b78213;border-radius:13px;color:#5b420c;background:#fff8df}.kohgm-qa-report-banner strong{font-size:13px}.kohgm-qa-report-banner span{font-size:11px}
.kohgm-report-landing{padding:0;overflow:hidden}.kohgm-report-landing>.kohgm-card-head{padding:22px}.kohgm-report-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border-top:1px solid var(--kohgm-line)}.kohgm-report-tabs a{display:grid;gap:3px;padding:16px 18px;border-right:1px solid var(--kohgm-line);color:var(--kohgm-navy);text-decoration:none}.kohgm-report-tabs a:last-child{border-right:0}.kohgm-report-tabs a span{color:var(--kohgm-muted);font-size:9px}.kohgm-report-tabs a.is-active{box-shadow:inset 0 -3px var(--kohgm-gold);background:#fffaf0}
.kohgm-report-filter form{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));align-items:end;gap:12px}.kohgm-report-filter label{min-width:0}.kohgm-report-filter .kohgm-check{align-self:center}.kohgm-report-filter .kohgm-btn{min-height:44px}
.kohgm-report-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:18px 0}.kohgm-report-kpis>a{display:grid;gap:12px;min-height:106px;padding:18px;border:1px solid var(--kohgm-line);border-radius:14px;color:var(--kohgm-navy);background:#fff;box-shadow:var(--kohgm-shadow);text-decoration:none}.kohgm-report-kpis span{color:#77736d;font-size:9px;font-weight:750;letter-spacing:.06em;text-transform:uppercase}.kohgm-report-kpis strong{font-size:24px;letter-spacing:-.03em}.kohgm-report-kpis-compact{grid-template-columns:repeat(7,minmax(0,1fr));margin:0}.kohgm-report-kpis-compact>a{min-height:88px;padding:14px}.kohgm-report-kpis-compact strong{font-size:19px}
.kohgm-report-chart-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:18px 0}.kohgm-report-chart{min-width:0;margin:0}.kohgm-intelligence-bars{display:flex;align-items:flex-end;gap:8px;height:245px;padding:28px 4px 4px;overflow-x:auto}.kohgm-intelligence-bars>div{display:grid;grid-template-rows:1fr auto auto;align-items:end;flex:1 0 42px;height:100%;text-align:center}.kohgm-intelligence-bars span{display:block;width:70%;min-height:3px;margin:0 auto;border-radius:6px 6px 2px 2px;background:linear-gradient(180deg,#d7b454,#a87513)}.kohgm-intelligence-bars small{margin-top:6px;color:var(--kohgm-muted);font-size:8px;white-space:nowrap}.kohgm-intelligence-bars strong{overflow:hidden;margin-top:2px;color:var(--kohgm-navy);font-size:8px;text-overflow:ellipsis;white-space:nowrap}
.kohgm-report-workspace{display:grid;grid-template-columns:265px minmax(0,1fr);gap:18px;align-items:start}.kohgm-report-library{position:sticky;top:96px;margin:0;padding:14px}.kohgm-report-library h2{padding:4px 8px 12px;font-size:15px}.kohgm-report-library nav{display:grid;gap:3px;max-height:640px;overflow:auto}.kohgm-report-library a{padding:10px 11px;border-radius:8px;color:#55605f;font-size:10px;font-weight:650;text-decoration:none}.kohgm-report-library a:hover,.kohgm-report-library a.is-active{color:var(--kohgm-navy);background:var(--kohgm-gold-light)}.kohgm-report-result{min-width:0;margin:0}.kohgm-report-result>.kohgm-report-chart{margin:16px 0}.kohgm-report-result .kohgm-table-wrap{max-height:680px;overflow:auto}.kohgm-report-result table{min-width:760px}.kohgm-report-definitions>div{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.kohgm-report-definitions article{padding:13px;border:1px solid var(--kohgm-line);border-radius:10px;background:#faf9f5}.kohgm-report-definitions article strong{font-size:10px}.kohgm-report-definitions article p{margin:5px 0 0;font-size:9px;line-height:1.45}
@media(max-width:1250px){.kohgm-report-filter form{grid-template-columns:repeat(4,minmax(120px,1fr))}.kohgm-report-kpis-compact{grid-template-columns:repeat(4,minmax(0,1fr))}.kohgm-report-definitions>div{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.kohgm-report-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.kohgm-report-tabs a{border-bottom:1px solid var(--kohgm-line)}.kohgm-report-filter form{grid-template-columns:repeat(2,minmax(0,1fr))}.kohgm-report-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.kohgm-report-chart-grid{grid-template-columns:1fr}.kohgm-report-workspace{grid-template-columns:1fr}.kohgm-report-library{position:static}.kohgm-report-library nav{grid-template-columns:repeat(2,minmax(0,1fr));max-height:none}.kohgm-report-definitions>div{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.kohgm-qa-report-banner{align-items:flex-start;flex-direction:column}.kohgm-report-landing>.kohgm-card-head{align-items:stretch;flex-direction:column}.kohgm-report-landing .kohgm-inline-actions,.kohgm-report-landing .kohgm-btn{width:100%}.kohgm-report-tabs{grid-template-columns:1fr}.kohgm-report-tabs a{border-right:0}.kohgm-report-filter form{grid-template-columns:1fr}.kohgm-report-kpis,.kohgm-report-kpis-compact{grid-template-columns:repeat(2,minmax(0,1fr))}.kohgm-report-kpis>a{min-height:92px;padding:13px}.kohgm-report-kpis strong{font-size:19px}.kohgm-report-library nav{grid-template-columns:1fr}.kohgm-report-result>.kohgm-card-head{align-items:stretch;flex-direction:column}.kohgm-report-result>.kohgm-card-head .kohgm-btn{width:100%}.kohgm-report-definitions>div{grid-template-columns:1fr}}
@media print{.kohgm-sidebar,.kohgm-topbar,.kohgm-mobile-bottom,.kohgm-report-filter,.kohgm-report-tabs,.kohgm-report-library,.kohgm-report-landing .kohgm-inline-actions{display:none!important}.kohgm-church-ui{display:block!important}.kohgm-workspace{max-width:none!important;padding:0!important}.kohgm-workspace:before{display:block;margin:0 0 14px;padding-bottom:10px;border-bottom:2px solid #b58a2d;content:'Kingdom of Heaven Generation Ministries — Reporting & Intelligence';color:#0b1f35;font:700 17px/1.3 sans-serif}.kohgm-card{break-inside:avoid;box-shadow:none!important}.kohgm-report-workspace{display:block}.kohgm-report-result .kohgm-table-wrap{max-height:none;overflow:visible}.kohgm-report-result table{min-width:0;font-size:8px}}

/* Users, Roles & Access Control Centre */
.kohgm-access-hero,.kohgm-access-profile-head{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:18px;padding:26px 28px;border:1px solid var(--kohgm-line);border-radius:18px;background:linear-gradient(135deg,#fff 0%,#fbf6e9 100%);box-shadow:var(--kohgm-shadow)}
.kohgm-access-hero h2,.kohgm-access-profile-head h2{margin:4px 0 3px;color:var(--kohgm-navy);font-size:27px}.kohgm-access-hero p,.kohgm-access-profile-head p{margin:0;color:var(--kohgm-muted)}
.kohgm-access-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin-bottom:18px}.kohgm-access-kpis article{min-height:105px;padding:19px;border:1px solid var(--kohgm-line);border-radius:15px;background:#fff;box-shadow:0 9px 25px rgba(7,27,45,.05)}.kohgm-access-kpis span{display:block;color:var(--kohgm-muted);font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.kohgm-access-kpis strong{display:block;margin-top:13px;color:var(--kohgm-navy);font-size:25px}
.kohgm-access-table{margin-bottom:18px}.kohgm-access-table td:first-child strong{display:block}.kohgm-qa-account-badge{display:inline-flex;margin-top:5px;padding:4px 7px;border:1px solid #d9ac43;border-radius:999px;background:#fff7dc;color:#6e4b00;font-size:9px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}.kohgm-status-pill{display:inline-flex;padding:5px 9px;border-radius:999px;font-size:11px;font-weight:800}.kohgm-status-active{background:#e6f6ef;color:#17624d}.kohgm-status-suspended{background:#fff0d9;color:#864d00}.kohgm-status-inactive{background:#edf0f2;color:#53606b}
.kohgm-access-lower{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr);gap:18px;margin-bottom:18px}.kohgm-readiness-flag{display:flex;align-items:flex-start;flex-direction:column;gap:4px;margin:15px 0;padding:13px 15px;border-left:4px solid #d1a33d;border-radius:6px;background:#fff8e6;color:#5c4310}.kohgm-readiness-flag span,.kohgm-help{color:var(--kohgm-muted);font-size:12px;line-height:1.55}
.kohgm-matrix-card{margin:18px 0}.kohgm-matrix-card table{min-width:1450px}.kohgm-matrix-card th:not(:first-child),.kohgm-matrix-card td{text-align:center}.kohgm-matrix-card tbody th{position:sticky;left:0;z-index:1;min-width:210px;background:#fff;text-align:left}.kohgm-capability-cloud{display:flex;flex-wrap:wrap;gap:8px}.kohgm-capability-cloud span{padding:7px 9px;border:1px solid #d8e3df;border-radius:8px;background:#f2f8f6;color:#214b43;font:700 11px/1.2 ui-monospace,monospace}.kohgm-back-link{display:inline-flex;margin-bottom:12px;color:var(--kohgm-green);font-weight:750;text-decoration:none}
@media(max-width:1200px){.kohgm-access-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.kohgm-access-lower{grid-template-columns:1fr}.kohgm-access-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.kohgm-access-hero,.kohgm-access-profile-head{align-items:stretch;flex-direction:column;padding:20px}.kohgm-access-hero .kohgm-inline-actions{display:grid;width:100%}.kohgm-access-hero .kohgm-btn{width:100%}.kohgm-access-kpis{grid-template-columns:1fr 1fr;gap:10px}.kohgm-access-kpis article{min-height:88px;padding:14px}.kohgm-access-kpis strong{font-size:21px}.kohgm-access-profile-head .kohgm-qa-account-badge{align-self:flex-start}}

/* Online Giving & Electronic Payments — sandbox-only v2.3 */
.kohgm-test-banner{display:flex;justify-content:space-between;gap:18px;align-items:center;margin-bottom:18px;padding:14px 18px;border:1px solid #d8aa45;border-radius:14px;background:#fff8e8;color:#5c410b}.kohgm-test-banner strong{font-weight:850;letter-spacing:.08em}.kohgm-payment-tabs{display:flex;gap:8px;overflow-x:auto;margin:0 0 20px;padding:5px;background:#fff;border:1px solid #e8e3da;border-radius:14px}.kohgm-payment-tabs a{flex:0 0 auto;padding:10px 14px;border-radius:10px;color:#46515b;text-decoration:none;font-weight:700}.kohgm-payment-tabs a.is-active{background:#071b2d;color:#fff}.kohgm-live-gate{border-color:#d8aa45!important;background:#fffaf0!important}.kohgm-live-gate h2{color:#8a6414}.kohgm-give-online{min-height:100vh;padding:clamp(24px,5vw,72px);background:#f8f5ef;color:#071b2d}.kohgm-give-online>*{width:min(920px,100%);margin-inline:auto}.kohgm-give-hero{position:relative;overflow:hidden;padding:clamp(34px,6vw,64px);border-radius:24px;background:linear-gradient(135deg,#071b2d,#123b35);color:#fff;box-shadow:0 24px 60px rgba(7,27,45,.18)}.kohgm-give-hero:after{content:"";position:absolute;inset:auto -80px -120px auto;width:300px;height:300px;border-radius:50%;background:rgba(216,170,69,.16)}.kohgm-give-hero h1{margin:.2em 0;font-size:clamp(36px,7vw,64px);color:#fff}.kohgm-give-hero p{max-width:650px;font-size:18px;line-height:1.65;color:#eef4f1}.kohgm-give-hero>strong{display:inline-block;margin-top:12px;padding:8px 12px;border:1px solid #d8aa45;border-radius:999px;background:rgba(0,0,0,.18);color:#ffe5a6;font-size:12px;letter-spacing:.1em}.kohgm-payment-blocked{margin-block:18px;padding:18px 22px;border:1px solid #d8aa45;border-radius:16px;background:#fff8e8}.kohgm-payment-blocked h2{margin:0 0 4px;color:#6f4e0c}.kohgm-give-card{margin-top:22px!important;padding:clamp(22px,4vw,42px)!important}.kohgm-give-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:28px}.kohgm-give-steps span{padding:10px;border-bottom:2px solid #d9dedc;color:#65716f;font-size:12px;font-weight:750;text-align:center}.kohgm-give-steps span.is-active{border-color:#d8aa45;color:#071b2d}.kohgm-giver-identity{align-self:end;padding:15px;border:1px solid #b7d1cb;border-radius:12px;background:#eff8f5}.kohgm-giver-identity strong,.kohgm-giver-identity span{display:block}.kohgm-giver-identity span{margin-top:3px;color:#506360;font-size:13px}.kohgm-payment-methods{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:24px 0;padding:0;border:0}.kohgm-payment-methods legend{grid-column:1/-1;margin-bottom:8px;font-weight:800}.kohgm-payment-methods label{cursor:pointer}.kohgm-payment-methods label>input{position:absolute;opacity:0}.kohgm-payment-methods label>span{display:block;min-height:92px;padding:16px;border:2px solid #dfe5e2;border-radius:14px;background:#fff}.kohgm-payment-methods label>input:checked+span{border-color:#d8aa45;background:#fff8e8;box-shadow:0 0 0 3px rgba(216,170,69,.14)}.kohgm-payment-methods label>input:focus-visible+span{outline:3px solid #2e7c70;outline-offset:2px}.kohgm-payment-methods strong,.kohgm-payment-methods small{display:block}.kohgm-payment-methods small{margin-top:6px;color:#61706d;line-height:1.4}.kohgm-payment-privacy{padding:14px 16px;border-left:3px solid #2e7c70;background:#f2f7f5;color:#445451;line-height:1.6}.kohgm-payment-status{margin-top:8vh!important;padding:clamp(26px,5vw,50px)!important}.kohgm-payment-status h1{font-size:clamp(30px,5vw,48px)}.kohgm-payment-status dl{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin:28px 0}.kohgm-payment-status dl div{padding:14px;border:1px solid #e3e6e3;border-radius:12px;background:#fbfcfb}.kohgm-payment-status dt{color:#687471;font-size:12px;font-weight:750;text-transform:uppercase}.kohgm-payment-status dd{margin:5px 0 0;font-weight:800;overflow-wrap:anywhere}.kohgm-member-give-now{margin-left:auto}
@media(max-width:760px){.kohgm-test-banner{align-items:flex-start;flex-direction:column}.kohgm-payment-methods{grid-template-columns:1fr}.kohgm-give-steps{grid-template-columns:repeat(2,1fr)}.kohgm-payment-status dl{grid-template-columns:1fr}.kohgm-give-online{padding:14px}.kohgm-give-hero{border-radius:18px}.kohgm-payment-tabs{margin-inline:-4px}}

/* Administration information architecture — approved KoHG ministry reference. */
.kohgm-nav-parent>details>summary{display:flex;align-items:center;gap:11px;min-height:36px;margin:2px 0;padding:8px 10px;border-radius:9px;color:rgba(255,255,255,.76);font-size:11px;font-weight:550;list-style:none;cursor:pointer;transition:color .18s ease,background .18s ease}
.kohgm-nav-parent>details>summary::-webkit-details-marker{display:none}
.kohgm-nav-parent>details>summary:after{margin-left:auto;content:'›';font-size:16px;line-height:1;transition:transform .18s ease}
.kohgm-nav-parent>details[open]>summary:after{transform:rotate(90deg)}
.kohgm-nav-parent>details>summary:hover,.kohgm-nav-parent>details>summary:focus-visible{color:#fff;background:rgba(255,255,255,.07);outline:2px solid rgba(201,154,59,.45);outline-offset:1px}
.kohgm-nav-parent>details>summary.is-active{color:var(--kohgm-navy);background:var(--kohgm-gold-light)}
.kohgm-nav-parent>details>summary .kohgm-icon{width:16px;height:16px;color:rgba(255,255,255,.67)}
.kohgm-nav-parent>details>summary.is-active .kohgm-icon{color:#9a6d19}
.kohgm-nav-parent>details>ul{margin:2px 0 7px 14px!important;padding-left:9px!important;border-left:1px solid rgba(255,255,255,.13)}
.kohgm-nav-child>a{min-height:31px!important;padding:6px 8px!important;font-size:10px!important}
.kohgm-nav-child>a .kohgm-icon{width:14px!important;height:14px!important;flex-basis:14px!important}
.kohgm-status-pill{display:inline-flex;align-items:center;min-height:28px;padding:5px 10px;border:1px solid #d7b75d;border-radius:999px;color:#725313;background:#fff6d9;font-size:9px;font-weight:850;letter-spacing:.055em;text-align:center;text-transform:uppercase}
.kohgm-status-pill.is-partial{color:#31574f;border-color:#b9d5ce;background:#edf7f4}
.kohgm-readiness-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.kohgm-report-priorities .kohgm-readiness-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.kohgm-readiness-grid article{display:flex;min-width:0;flex-direction:column;align-items:flex-start;padding:17px;border:1px solid var(--kohgm-line);border-radius:12px;background:#fffdf9}
.kohgm-readiness-grid article strong{color:var(--kohgm-navy);font-size:14px}
.kohgm-readiness-grid article>span{margin-top:5px;color:#956c1c;font-size:10px;font-weight:800;letter-spacing:.03em;text-transform:uppercase}
.kohgm-readiness-grid article p{margin:10px 0 12px;font-size:12px;line-height:1.55}
.kohgm-readiness-grid article .kohgm-text-link{margin-top:auto}
.kohgm-context-strip{display:flex;align-items:center;gap:12px;margin:0 0 16px;padding:13px 16px;border:1px solid #ead6a0;border-radius:12px;background:#fff9e9}
.kohgm-context-strip strong{color:var(--kohgm-navy);font-size:12px}
.kohgm-context-strip span{color:#71541b;font-size:11px;font-weight:750}
.kohgm-context-strip small{margin-left:auto;color:var(--kohgm-muted);font-size:10px}
@media(max-width:1100px){.kohgm-report-priorities .kohgm-readiness-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.kohgm-context-strip{align-items:flex-start;flex-direction:column}.kohgm-context-strip small{margin-left:0}}
@media(max-width:767px){.kohgm-readiness-grid,.kohgm-report-priorities .kohgm-readiness-grid{grid-template-columns:1fr}.kohgm-readiness-card>.kohgm-card-head{align-items:flex-start;flex-direction:column}.kohgm-status-pill{align-self:flex-start}.kohgm-nav-parent>details>summary{min-height:40px;font-size:12px}.kohgm-nav-child>a{min-height:37px!important;font-size:11px!important}}
