:root { color-scheme: light; font-family: Inter, ui-sans-serif, system-ui, sans-serif; color: #17201d; background: #f3f5f2; }
* { box-sizing: border-box; }
body { margin: 0; }
main { width: min(1100px, 92vw); margin: 40px auto; }
.portal-shell { display: grid; min-height: 90vh; place-items: center; }
.portal-auth { width: min(430px, calc(100vw - 32px)); }
.portal-auth form { display: grid; gap: 14px; margin: 22px 0 14px; }
.portal-auth input { width: 100%; }
.portal-error { border-radius: 8px; padding: 10px 12px; background: #f9dedd; color: #8d2e28; }
.portal-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.portal-header h1 { margin: 0; }
.portal-header > div:last-child { display: grid; justify-items: end; gap: 4px; }
.portal-access-requests { margin-top: 16px; border-top: 3px solid #b46a32; }
.portal-access-requests article { display: flex; align-items: center; justify-content: space-between; gap: 14px; border-top: 1px solid #edf0ee; padding: 12px 0; }
.portal-access-requests article > div { display: grid; gap: 4px; }
.portal-access-requests article > div:last-child { display: flex; gap: 7px; }
.portal-access-requests form { margin: 0; }
header { margin-bottom: 24px; }
.workspace-nav { display: flex; align-items: center; gap: 5px; width: fit-content; margin-bottom: 25px; border: 1px solid #dce3df; border-radius: 12px; padding: 5px; background: rgba(255,255,255,.78); box-shadow: 0 3px 12px rgba(25,45,35,.035); }
.workspace-nav a { display: inline-flex; align-items: center; gap: 7px; border-radius: 8px; padding: 8px 13px; color: #65706b; font-size: .79rem; font-weight: 750; text-decoration: none; }
.workspace-nav a:hover { background: #f0f4f1; color: #245f49; }
.workspace-nav a[aria-current="page"] { background: #e4efe9; color: #245f49; }
.workspace-nav .health-dot { width: 7px; height: 7px; }
.page-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
h1 { margin: 0; font-size: 2.4rem; letter-spacing: -.04em; }
h2 { display: flex; justify-content: space-between; margin: 0 0 16px; font-size: 1.05rem; }
h2 span { color: #6d7772; }
p { color: #63706a; }
.eyebrow { margin-bottom: 5px; color: #2f6f55; font-weight: 700; font-size: .72rem; letter-spacing: .12em; }
.breadcrumb { display: flex; align-items: center; gap: .45rem; }
.breadcrumb a { color: inherit; text-decoration: none; border-bottom: 1px solid transparent; }
.breadcrumb a:hover, .breadcrumb a:focus-visible { border-bottom-color: currentColor; }
.panel { background: #fff; border: 1px solid #dde3df; border-radius: 14px; padding: 20px; box-shadow: 0 4px 18px rgba(25,45,35,.04); }
.ai-inbox-widget { margin: 16px 0 0; padding: 0; overflow: hidden; border-top: 3px solid #7356a6; }
.ai-inbox-widget > summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 17px 20px; cursor: pointer; list-style: none; touch-action: manipulation; }
.ai-inbox-widget > summary::-webkit-details-marker { display: none; }
.ai-inbox-widget > summary .eyebrow { margin: 0 0 4px; color: #67479e; }
.ai-inbox-heading { min-width: 0; }
.ai-inbox-title-row { display: flex; align-items: center; gap: 9px; }
.ai-inbox-widget > summary h2 { display: block; margin: 0; font-size: 1.25rem; }
.ai-inbox-count { display: inline-flex; min-width: 25px; height: 25px; align-items: center; justify-content: center; border-radius: 999px; padding: 0 8px; background: #eee8f6; color: #67479e; font-size: .76rem; font-weight: 800; line-height: 1; }
.ai-inbox-summary { display: flex; align-items: center; gap: 14px; color: #6d7772; font-size: .78rem; }
.ai-inbox-toggle { display: inline-flex; align-items: center; gap: 6px; color: #67479e; }
.ai-inbox-toggle i { font-style: normal; font-size: 1rem; transition: transform .18s ease; }
.ai-inbox-toggle .when-open { display: none; }
.ai-inbox-widget[open] .ai-inbox-toggle i { transform: rotate(180deg); }
.ai-inbox-widget[open] .ai-inbox-toggle .when-open { display: inline; }
.ai-inbox-widget[open] .ai-inbox-toggle .when-closed { display: none; }
.ai-inbox-content { border-top: 1px solid #e7e2ee; padding: 0 20px 14px; }
.ai-inbox-content > .empty { padding: 15px 0 2px; }
.daily-update-counts { display: flex; flex-wrap: wrap; gap: 7px; padding: 14px 0 10px; }
.daily-update-counts button { border: 1px solid #ddd3ec; border-radius: 999px; padding: 6px 10px; background: #f7f4fa; color: #654a8f; font-size: .7rem; text-transform: capitalize; touch-action: manipulation; }
.daily-update-counts button:hover, .daily-update-counts button.is-selected { border-color: #7356a6; background: #7356a6; color: #fff; }
.daily-update-list { display: grid; gap: 0; }
.daily-update-list article { display: grid; gap: 5px; border-top: 1px solid #ebe7ef; padding: 13px 0; }
.daily-update-list article[hidden] { display: none; }
.daily-update-list article > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.daily-update-list article > strong { font-size: .88rem; }
.daily-update-list article p { margin: 0; color: #68736d; font-size: .78rem; line-height: 1.45; }
.daily-update-list article small { color: #818984; font-size: .68rem; }
.ai-suggestion { display: flex; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid #edf0ee; padding: 15px 0; }
.ai-suggestion:first-child { border-top: 0; }
.ai-suggestion-main { min-width: 0; }
.ai-suggestion-main > strong { display: block; margin-top: 7px; }
.ai-suggestion-main p, .ai-suggestion-main small { display: block; margin: 4px 0 0; color: #6d7772; }
.ai-suggestion-main small { overflow: hidden; font-size: .75rem; text-overflow: ellipsis; white-space: nowrap; }
.ai-suggestion-labels { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.ai-classification, .ai-confidence { display: inline-flex; border-radius: 999px; padding: 4px 8px; font-size: .68rem; font-weight: 800; }
.ai-classification { background: #eee8f6; color: #67479e; text-transform: capitalize; }
.ai-confidence { background: #dcefe4; color: #176b3b; }
.ai-confidence.is-medium { background: #fff0bf; color: #765400; }
.ai-confidence.is-low { background: #f9dedd; color: #9a2922; }
.ai-suggestion-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; flex-shrink: 0; }
.ai-suggestion-actions form { margin: 0; }
.ai-accept { background: #dcefe4; color: #176b3b; }
.ai-reject { background: #f9dedd; color: #9a2922; }
.ai-source-context { display: grid; gap: 4px; margin-bottom: 18px; border-radius: 10px; padding: 12px 14px; background: #f4f0f8; }
.ai-source-context span { color: #6d6673; font-size: .78rem; }
.tasks-intro { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 8px; }
.tasks-intro h2 { margin-bottom: 0; font-size: 1.25rem; }
.tasks-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.tasks-widget { margin-top: 8px; cursor: pointer; }
.tasks-widget-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tasks-widget-header h2 { margin: 0; font-size: 1.25rem; }
.task-counts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 16px 0; }
.task-counts > div { border-radius: 9px; padding: 10px 11px; background: #f1f4f2; }
.task-counts .task-count-overdue { border-top: 3px solid #b85042; }
.task-counts .task-count-today { border-top: 3px solid #c0872d; }
.task-counts .task-count-waiting { border-top: 3px solid #667c9b; }
.task-counts .task-count-upcoming { border-top: 3px solid #4d8067; }
.task-counts strong, .task-counts span { display: block; }
.task-counts strong { font-size: .86rem; }
.task-counts span { margin-top: 2px; color: #748079; font-size: .72rem; }
.task-focus { overflow: hidden; border: 1px solid #e1e6e3; border-radius: 10px; }
.task-focus > .empty { padding: 12px; }
.focus-item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; border-top: 1px solid #edf0ee; padding: 11px 12px; color: inherit; text-decoration: none; }
.focus-item:first-child { border-top: 0; }
.focus-item:hover { background: #f7f9f8; }
.focus-item div { min-width: 0; }
.focus-item p { overflow: hidden; margin: 3px 0 0; color: #6d7772; font-size: .8rem; text-overflow: ellipsis; white-space: nowrap; }
.focus-item > span:last-child { color: #6d7772; font-size: .78rem; }
.focus-arrow { font-size: 1.05rem; font-weight: 900; }
.focus-item.importance-must-do .focus-arrow { color: #c9433c; }
.focus-item.importance-important .focus-arrow { color: #d98218; }
.focus-item.importance-routine .focus-arrow { color: #3478c6; }
.tasks-widget.is-expanded .task-focus { display: none; }
.full-task-dashboard[hidden] { display: none; }
button.task-tool-button, a.task-tool-button, span.task-tool-button { display: inline-flex; align-items: center; gap: 7px; border: 0; border-radius: 8px; padding: 8px 12px; background: #e4efe9; color: #245f49; font-size: .82rem; font-weight: 700; line-height: 1.2; text-decoration: none; }
.task-tool-button:hover { background: #d8e8df; }
.task-tool-button:focus-visible { outline: 3px solid #17201d; outline-offset: 2px; }
.add-task-toggle span { font-size: 1.2rem; line-height: .8; transition: transform .18s ease; }
.add-task-toggle.is-open span { transform: rotate(90deg); }
.add-task-panel { margin-top: 12px; animation: reveal-panel .2s ease-out; }
.add-task-panel[hidden] { display: none; }
.form-actions { display: flex; gap: 8px; }
.secondary-button { background: #edf1ef; color: #46514c; }
@keyframes reveal-panel { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
form { display: grid; gap: 12px; }
label { display: grid; gap: 6px; font-size: .82rem; font-weight: 650; color: #46514c; }
.row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.valuation-row { display: grid; grid-template-columns: minmax(220px, 2fr) minmax(100px, .7fr) minmax(170px, 1fr); gap: 12px; }
.field-help { margin-top: -4px; color: #78827d; font-size: .76rem; }
.profile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.profile-field { border: 1px solid #dde3df; border-radius: 10px; padding: 12px; background: #f8faf8; }
.checkbox-field { display: flex; align-items: center; gap: 9px; color: #26332d; }
.checkbox-field input { width: auto; margin: 0; }
.profile-details { display: grid; gap: 10px; margin-top: 12px; }
.profile-details[hidden] { display: none; }
.money-row { display: grid; grid-template-columns: minmax(150px, 2fr) minmax(90px, 1fr); gap: 10px; }
input, select, textarea { width: 100%; border: 1px solid #cfd8d2; border-radius: 8px; padding: 10px; font: inherit; background: #fff; }
button { width: fit-content; border: 0; border-radius: 8px; padding: 10px 16px; background: #245f49; color: white; font-weight: 700; cursor: pointer; }
.dashboard { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.module-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.module-card p:not(.eyebrow) { margin: 0 0 16px; }
.module-card-link { color: inherit; text-decoration: none; transition: border-color .18s ease, transform .18s ease; }
.module-card-link:hover { border-color: #9fb8aa; transform: translateY(-1px); }
.module-card-link:focus-visible { outline: 3px solid #17201d; outline-offset: 3px; }
.module-card-cta { margin-top: auto; pointer-events: none; }
.asset-map { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, 64px); gap: 5px; width: 100%; margin-bottom: 9px; }
.asset-tile { display: flex; align-items: flex-end; border-radius: 8px; padding: 10px; color: #fff; font-size: .78rem; font-weight: 750; }
.asset-real-estate { background: #2f6f55; }
.asset-equity { background: #4579a8; }
.asset-business { grid-column: 1 / -1; background: #b47732; }
.asset-map-live { display: flex; height: 133px; gap: 5px; }
.asset-map-live .asset-tile { min-width: 64px; flex: var(--asset-share) 1 0; }
.asset-map-live .asset-business { grid-column: auto; }
.module-card .asset-map-note { margin-bottom: 14px; color: #78827d; font-size: .76rem; }
.rental-module-card { display: flex; flex-direction: column; }
.rental-widget-totals { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 16px; }
.rental-widget-totals strong { font-size: 1.45rem; }
.rental-widget-totals small { display: block; margin-top: 3px; color: #738078; font-size: .7rem; font-weight: 650; }
.rental-widget-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; margin-bottom: 13px; }
.rental-widget-stats span { border-radius: 8px; padding: 9px; background: #f1f4f2; color: #6e7973; font-size: .7rem; }
.rental-widget-stats strong { display: block; margin-bottom: 2px; color: #26332d; font-size: .95rem; }
.rental-summary-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.rental-summary-card { min-width: 0; }
.rental-summary-card > strong { display: block; font-size: 1.4rem; }
.rental-summary-card > span { display: block; margin-top: 5px; color: #6d7772; font-size: .75rem; }
.rental-income-summary { border-top: 3px solid #2f6f55; }
.rental-income-summary > strong + strong { margin-top: 4px; }
.rentals-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(260px, .8fr); gap: 16px; margin-bottom: 16px; align-items: start; }
.rental-event-list { margin-top: 14px; }
.rental-event { display: grid; grid-template-columns: minmax(120px, auto) minmax(0, 1fr) auto; align-items: center; gap: 14px; border-top: 1px solid #edf0ee; padding: 12px 2px; color: inherit; text-decoration: none; }
.rental-event:first-child { border-top: 0; }
.rental-event:hover { color: #245f49; }
.rental-event time { color: #4d8067; font-size: .78rem; font-weight: 800; }
.rental-event.is-overdue time { color: #b85042; }
.rental-event div { min-width: 0; }
.rental-event div span { display: block; overflow: hidden; margin-top: 3px; color: #6d7772; font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; }
.rental-completeness { display: grid; gap: 8px; margin: 15px 0; }
.rental-completeness span { border-radius: 9px; padding: 11px; background: #f4f6f5; color: #63706a; font-size: .76rem; }
.rental-completeness strong { display: block; margin-bottom: 2px; color: #26332d; font-size: 1.05rem; }
.rental-property-list { margin-top: 14px; }
.rental-property-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 16px; border-top: 1px solid #edf0ee; padding: 13px 2px; color: inherit; text-decoration: none; }
.rental-property-row:first-child { border-top: 0; }
.rental-property-row:hover { color: #245f49; }
.rental-property-row > div:first-child { min-width: 0; }
.rental-property-row > div:first-child span { display: block; overflow: hidden; margin-top: 3px; color: #6d7772; font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; }
.rental-property-value { display: flex; align-items: flex-end; flex-direction: column; }
.rental-property-value strong { font-size: .86rem; }
.rental-property-value span { color: #748079; font-size: .68rem; }
.header-health { min-width: 225px; border: 1px solid #dce3df; border-radius: 11px; padding: 11px 13px; background: rgba(255,255,255,.72); color: inherit; text-decoration: none; box-shadow: 0 3px 12px rgba(25,45,35,.035); transition: border-color .18s ease, transform .18s ease; }
.header-health:hover { border-color: #9fb8aa; transform: translateY(-1px); }
.header-health:focus-visible { outline: 3px solid #17201d; outline-offset: 3px; }
.header-health-title { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 7px; font-size: .8rem; }
.health-dot { width: 8px; height: 8px; border-radius: 50%; background: #c0872d; }
.health-dot.is-good { background: #2f8a59; box-shadow: 0 0 0 3px #dcefe4; }
.header-health-metrics { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; color: #6e7973; font-size: .66rem; }
.header-health-metrics strong { color: #334039; font-size: .7rem; }
.health-overview { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.health-hero { display: flex; align-items: center; gap: 20px; margin-bottom: 16px; border-color: #b8d7c6; background: #f7fcf9; }
.health-hero.needs-attention { border-color: #e5cd9f; background: #fffbf2; }
.health-hero-mark { display: grid; place-items: center; width: 72px; height: 72px; flex: 0 0 72px; border-radius: 50%; background: #dcefe4; color: #176b3b; font-size: 2.5rem; font-weight: 900; }
.health-hero.needs-attention .health-hero-mark { background: #fff0bf; color: #765400; }
.health-hero h2, .health-hero p { margin: 0; }
.health-hero h2 { font-size: 1.45rem; }
.health-hero p:last-child { margin-top: 5px; }
.health-orb-panel { position: relative; display: grid; grid-template-columns: minmax(180px,.8fr) minmax(380px,1.4fr) minmax(210px,.9fr); align-items: center; gap: 24px; min-height: 480px; margin-bottom: 18px; overflow: hidden; padding: 26px; background: radial-gradient(circle at 53% 48%, rgba(64,188,132,.12), transparent 42%), linear-gradient(145deg,#091510,#10231a); color: #eaf8f0; }
.health-orb-panel::before { position: absolute; inset: 0; background: linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px); background-size: 32px 32px; content: ""; mask-image: radial-gradient(circle,#000 20%,transparent 75%); }
.health-orb-copy,.health-layer-list,.health-orb-stage { position: relative; z-index: 1; }
.health-orb-copy h2 { margin: 4px 0 10px; color: #fff; font-size: 1.65rem; }
.health-orb-copy > p:last-of-type { color: #91a99d; line-height: 1.55; }
.health-orb-legend { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; font-size: .7rem; font-weight: 800; text-transform: uppercase; }
.health-orb-legend span::before { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; content: ""; box-shadow: 0 0 8px currentColor; }
.health-orb-legend .green { color: #41e49b; }.health-orb-legend .yellow { color: #ffc857; }.health-orb-legend .red { color: #ff646e; }
.health-orb-stage { width: min(100%,430px); aspect-ratio: 1; margin: auto; }
.health-orb-grid { position: absolute; inset: 1%; border-radius: 50%; background-image: radial-gradient(circle,rgba(133,255,198,.28) 1px,transparent 1.5px); background-size: 25px 25px; opacity: .4; mask-image: radial-gradient(circle,transparent 30%,#000 31%,#000 78%,transparent 79%); }
.health-orbit { --orbit-size: calc(55% + var(--orbit-order) * 25%); position: absolute; top: 50%; left: 50%; width: var(--orbit-size); aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: conic-gradient(#3fe39a 0 var(--green-stop),#ffc857 var(--green-stop) var(--yellow-stop),#ff5f69 var(--yellow-stop) 100%); box-shadow: 0 0 24px rgba(61,226,153,.13); animation: health-orbit-spin 22s linear infinite; }
.health-orbit::before { position: absolute; inset: 10px; border-radius: 50%; background: #0d1e16; content: ""; box-shadow: inset 0 0 18px rgba(0,0,0,.6); }
.health-orbit.orbit-2 { animation-direction: reverse; animation-duration: 30s; }
.orbit-satellite { position: absolute; top: 50%; left: -3px; width: 13px; height: 13px; translate: 0 -50%; border: 3px solid #dfffee; border-radius: 50%; background: #3fe39a; box-shadow: 0 0 15px currentColor; }
.health-orbit.state-yellow .orbit-satellite { background: #ffc857; }.health-orbit.state-red .orbit-satellite { background: #ff5f69; }
.health-orb-core { position: absolute; top: 50%; left: 50%; z-index: 3; display: grid; place-items: center; width: 38%; aspect-ratio: 1; translate: -50% -50%; border: 1px solid rgba(115,255,190,.35); border-radius: 50%; background: radial-gradient(circle at 40% 35%,#1c5d43,#0c2b1d 68%); box-shadow: 0 0 45px rgba(63,226,153,.24),inset 0 0 25px rgba(63,226,153,.12); }
.health-orb-core.state-yellow { background: radial-gradient(circle at 40% 35%,#66521b,#29210c 68%); }.health-orb-core.state-red { background: radial-gradient(circle at 40% 35%,#66262c,#2b0e12 68%); }
.health-orb-core strong { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #54dba0; color: #082217; font-size: 1.3rem; box-shadow: 0 0 20px rgba(84,219,160,.65); }
.health-orb-core.state-yellow strong { background: #ffc857; }.health-orb-core.state-red strong { background: #ff646e; }
.health-orb-core b { color: #fff; font-size: 1.2rem; letter-spacing: .12em; }.health-orb-core small { color: #9ab5a8; font-size: .64rem; }
.health-core-pulse { position: absolute; inset: -8px; border: 1px solid currentColor; border-radius: 50%; color: #43df99; opacity: .35; animation: health-pulse 2.4s ease-out infinite; }
.health-layer-list { display: grid; gap: 10px; }
.health-layer-row { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 10px; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: 11px; background: rgba(255,255,255,.035); color: #eaf8f0; text-decoration: none; }
.health-layer-row:hover { background: rgba(255,255,255,.07); }.health-layer-row small { display: block; margin-top: 3px; color: #8fa69a; font-size: .65rem; }.health-layer-row > b { font-size: 1.1rem; }
.layer-swatch { width: 9px; height: 34px; border-radius: 6px; background: #3fe39a; box-shadow: 0 0 12px rgba(63,227,154,.45); }.health-layer-row.state-yellow .layer-swatch { background:#ffc857; }.health-layer-row.state-red .layer-swatch { background:#ff5f69; }
.health-layer-list > p { margin: 4px 5px 0; color: #71877c; font-size: .68rem; }
@keyframes health-orbit-spin { to { rotate: 360deg; } } @keyframes health-pulse { 75%,100% { scale: 1.16; opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .health-orbit,.health-core-pulse { animation: none; } }
@media (max-width: 900px) {
  .health-orb-panel { grid-template-columns: 1fr; }
  .health-orb-copy { text-align: center; }
  .health-orb-legend { justify-content: center; }
  .health-orb-stage { width: min(100%,390px); }
  .health-layer-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .health-layer-list > p { grid-column: 1 / -1; text-align: center; }
}
@media (max-width: 520px) {
  .health-orb-panel { min-height: 0; padding: 20px 14px; }
  .health-orb-stage { width: min(100%,330px); }
  .health-layer-list { grid-template-columns: 1fr; }
  .health-layer-list > p { grid-column: auto; }
}
.health-category { margin-bottom: 16px; padding: 0; overflow: hidden; }
.health-category > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 19px 20px; cursor: pointer; list-style: none; touch-action: manipulation; }
.health-category > summary::-webkit-details-marker { display: none; }
.health-category > summary > div { display: flex; align-items: center; gap: 13px; }
.health-category > summary .eyebrow { margin: 0 0 3px; }
.health-category > summary strong, .health-category > summary small { display: block; }
.health-category > summary strong { font-size: 1.15rem; }
.health-category > summary small { margin-top: 3px; color: #6d7772; }
.health-category-icon { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 38px; border-radius: 50%; background: #fff0bf; color: #765400; font-size: 1.1rem; font-weight: 900; }
.health-category-icon.is-good { background: #dcefe4; color: #176b3b; }
.health-category-toggle { display: inline-flex; align-items: center; gap: 7px; color: #245f49; font-size: .78rem; font-weight: 800; white-space: nowrap; }
.health-category-toggle i { font-style: normal; transition: transform .18s ease; }
.health-category[open] .health-category-toggle i { transform: rotate(180deg); }
.health-category-content { border-top: 1px solid #e5eae7; padding: 18px 20px 20px; background: #fbfcfb; }
.health-category-content .health-stat-grid { margin-bottom: 14px; }
.health-category-content .health-stat { border: 1px solid #e1e6e3; border-radius: 11px; padding: 14px; background: #fff; }
.health-detail-block { margin-top: 14px; border: 1px solid #e1e6e3; border-radius: 11px; padding: 16px; background: #fff; }
.health-detail-block:first-child { margin-top: 0; }
.health-detail-block .functionality-row { margin-top: 0; }
.health-overview h2 { margin: 0; }
.health-state { display: inline-flex; align-items: center; border-radius: 999px; padding: 7px 11px; font-size: .76rem; font-weight: 800; white-space: nowrap; }
.health-state.is-good { background: #dcefe4; color: #176b3b; }
.health-state.needs-attention { background: #fff0bf; color: #765400; }
.health-state.is-neutral { background: #edf1ef; color: #596660; }
.health-overview { margin-bottom: 16px; }
.functionality-health-panel { margin-bottom: 16px; border-top: 3px solid #7356a6; }
.functionality-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; border-radius: 10px; padding: 13px 14px; background: #f7f4fa; }
.functionality-row p { margin: 4px 0 0; font-size: .82rem; }
.gmail-functionality-status { display: flex; align-items: center; gap: 12px; }
.quota-gauge { display: grid; place-items: center; width: 64px; aspect-ratio: 1; flex: 0 0 64px; border-radius: 50%; background: conic-gradient(#7356a6 calc(var(--quota-percent) * 1%), #e5deed 0); }
.quota-gauge::before { content: ""; grid-area: 1 / 1; width: 50px; aspect-ratio: 1; border-radius: 50%; background: #fff; }
.quota-gauge > div { grid-area: 1 / 1; z-index: 1; display: grid; text-align: center; line-height: 1; }
.quota-gauge strong { font-size: .72rem; }
.quota-gauge small { margin-top: 3px; color: #6e7973; font-size: .58rem; }
.vajra-summary { margin-bottom: 16px; }
.vajra-summary-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.vajra-summary-link { color: inherit; text-decoration: none; transition: border-color .18s ease, transform .18s ease; }
.vajra-summary-link:hover { border-color: #9fb8aa; transform: translateY(-1px); }
.vajra-summary-link.has-open-tickets { border-top: 3px solid #c47842; }
.vajra-search { margin-bottom: 16px; }
.vajra-search label > span { color: #2f6f55; font-size: .73rem; letter-spacing: .08em; text-transform: uppercase; }
.vajra-search-row { display: flex; align-items: center; gap: 8px; }
.vajra-search-row input { min-width: 0; }
.vajra-search p { margin: 10px 0 0; font-size: .8rem; }
.vajra-search > small { margin-top: 8px; color: #75807a; }
.vajra-primary-search { border-top: 3px solid #2f6f55; padding: 22px; }
.vajra-primary-search input { padding: 13px 14px; font-size: 1rem; }
.drawing-module { margin-bottom: 16px; border-top: 3px solid #315f78; }
.drawing-module-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.drawing-module-header h2 { display: block; margin: 0; font-size: 1.35rem; }
.drawing-module-header p:last-child { margin: 5px 0 0; font-size: .82rem; }
.drawing-health { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.drawing-health span { display: grid; min-width: 78px; border-radius: 9px; padding: 8px 10px; background: #edf5f7; color: #315f78; font-size: .68rem; text-align: center; }
.drawing-health strong { font-size: 1rem; }
.drawing-health .is-pending { background: #fff4cf; color: #725400; }
.drawing-health .is-conflict { background: #f9dfdc; color: #8c2d27; }
.drawing-search { margin: 16px 0; }
.drawing-search > div { display: flex; gap: 8px; }
.drawing-search input { min-width: 0; padding: 11px 12px; }
.drawing-validation-queue { margin: 0 -20px; border-block: 1px solid #e4e9e6; background: #fbfcfb; }
.drawing-validation-queue > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 20px; cursor: pointer; list-style: none; }
.drawing-validation-queue > summary::-webkit-details-marker { display: none; }
.drawing-validation-queue > summary > div { display: grid; gap: 3px; }
.drawing-validation-queue > summary small { color: #6d7772; }
.drawing-validation-queue > summary > span { display: flex; gap: 8px; color: #315f78; font-size: .74rem; font-weight: 800; }
.drawing-validation-queue > summary i { font-style: normal; transition: transform .18s ease; }
.drawing-validation-queue[open] > summary i { transform: rotate(180deg); }
.drawing-queue-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(270px,1fr)); gap: 10px; max-height: 36rem; overflow: auto; padding: 0 14px 14px; }
.drawing-update-card { display: grid; align-content: start; gap: 10px; border: 1px solid #dbe4e7; border-left: 4px solid #d2a236; border-radius: 10px; padding: 12px; background: #fffdf7; }
.drawing-update-card.has-conflict { border-left-color: #b85042; background: #fff8f6; }
.drawing-update-card > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.drawing-update-card > header > div { display: grid; gap: 2px; }
.drawing-update-card small { color: #727c77; font-size: .68rem; }
.drawing-update-card > p { overflow-wrap: anywhere; margin: 0; font-size: .77rem; }
.drawing-update-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 0; }
.drawing-update-card dl div { border-radius: 7px; padding: 7px 8px; background: rgba(255,255,255,.85); }
.drawing-update-card dt { color: #7b8580; font-size: .58rem; font-weight: 800; text-transform: uppercase; }
.drawing-update-card dd { margin: 2px 0 0; font-size: .7rem; }
.drawing-rev-badge { display: inline-flex; align-items: center; border-radius: 999px; padding: 4px 8px; background: #e6f0f4; color: #315f78; font-size: .68rem; font-weight: 850; white-space: nowrap; }
.drawing-conflict { border-radius: 7px; padding: 7px 8px; background: #f9dfdc; color: #8c2d27; }
.drawing-update-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: auto; }
.drawing-update-actions form { margin: 0; }
.drawing-update-actions button { padding: 8px 10px; font-size: .7rem; }
.drawing-validate { background: #dcefe4; color: #176b3b; }
.drawing-reject { background: #f9dedd; color: #9a2922; }
.drawing-missing { border-radius: 7px; padding: 7px 9px; background: #f1f3f2; color: #707a75; font-size: .68rem; }
.drawing-results-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-top: 18px; }
.drawing-results-heading > div { display: grid; gap: 3px; }
.drawing-results-heading small,.drawing-results-heading > span { color: #717b76; font-size: .7rem; }
.drawing-result-list { display: grid; gap: 8px; margin-top: 10px; }
.drawing-record { border: 1px solid #dfe6e2; border-radius: 10px; overflow: hidden; background: #fff; }
.drawing-record.has-pending { border-left: 4px solid #d2a236; }
.drawing-record > summary { display: grid; grid-template-columns: minmax(0,1fr) minmax(180px,.8fr) auto; align-items: center; gap: 16px; padding: 13px 14px; cursor: pointer; list-style: none; }
.drawing-record > summary::-webkit-details-marker { display: none; }
.drawing-record > summary > i { color: #315f78; font-style: normal; transition: transform .18s ease; }
.drawing-record[open] > summary > i { transform: rotate(180deg); }
.drawing-record-identity,.drawing-current-state { display: grid; gap: 3px; min-width: 0; }
.drawing-record-identity strong { font-size: .95rem; }
.drawing-record-identity small,.drawing-current-state small { overflow: hidden; color: #737d78; font-size: .7rem; text-overflow: ellipsis; white-space: nowrap; }
.drawing-current-state { justify-items: end; text-align: right; }
.drawing-current-state > span { border-radius: 999px; padding: 4px 8px; font-size: .65rem; font-weight: 800; }
.drawing-current-state .is-current { background: #dcefe4; color: #176b3b; }
.drawing-current-state .is-unvalidated { background: #fff0bf; color: #765400; }
.drawing-record-body { display: grid; gap: 12px; border-top: 1px solid #e5eae7; padding: 13px 14px; background: #fbfcfb; }
.drawing-facts { display: grid; grid-template-columns: .8fr .8fr 1.4fr; gap: 8px; }
.drawing-facts > div { display: grid; gap: 3px; border-radius: 8px; padding: 9px 10px; background: #fff; }
.drawing-facts span { color: #7a847f; font-size: .6rem; font-weight: 800; text-transform: uppercase; }
.drawing-facts strong { font-size: .74rem; }
.drawing-primary-file { display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid #c8dfd1; border-radius: 9px; padding: 10px 12px; background: #f3faf6; }
.drawing-primary-file > div { display: grid; gap: 3px; min-width: 0; }
.drawing-primary-file span { color: #4b6858; font-size: .62rem; font-weight: 800; text-transform: uppercase; }
.drawing-primary-file strong { overflow: hidden; font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; }
.drawing-primary-file a { flex-shrink: 0; border-radius: 8px; padding: 8px 11px; background: #2f6f55; color: #fff; font-size: .72rem; font-weight: 800; text-decoration: none; }
.drawing-history h3 { margin: 0 0 7px; font-size: .78rem; text-transform: uppercase; }
.drawing-history article { display: grid; grid-template-columns: auto minmax(0,1fr) auto auto; align-items: center; gap: 9px; border-top: 1px solid #e5e9e7; padding: 8px 0; }
.drawing-history article > div { display: grid; min-width: 0; gap: 2px; }
.drawing-history article > div strong { overflow: hidden; font-size: .72rem; text-overflow: ellipsis; white-space: nowrap; }
.drawing-history article small { color: #7a847f; font-size: .62rem; }
.drawing-history article > a { color: #2f6f55; font-size: .7rem; font-weight: 800; }
.drawing-status { border-radius: 999px; padding: 3px 7px; background: #edf1ef; color: #66716c; font-size: .6rem; font-weight: 800; white-space: nowrap; }
.drawing-status.status-validated { background: #dcefe4; color: #176b3b; }
.drawing-status.status-needs-verification { background: #f9dfdc; color: #8c2d27; }
.drawing-status.status-superseded { background: #eceeed; color: #717a76; }
.vajra-search-results, .vajra-focus-panel { margin-bottom: 16px; }
.vajra-result-groups { display: grid; gap: 18px; margin-top: 14px; }
.vajra-result-groups > section > h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 7px; font-size: .84rem; text-transform: uppercase; letter-spacing: .05em; }
.vajra-result-groups > section > h3 span { color: #7a8580; }
.vajra-search-result { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid #e6ebe8; padding: 11px 2px; }
.vajra-search-result > div { display: grid; gap: 3px; }
.vajra-search-result > div:last-child { text-align: right; }
.vajra-search-result small { color: #6d7772; }
.result-disclosure { display: block; }
.result-disclosure > summary { display: flex; align-items: center; justify-content: space-between; cursor: pointer; list-style: none; }
.result-disclosure > summary::-webkit-details-marker { display: none; }
.result-lines { display: grid; gap: 5px; padding: 10px 12px; background: #f4f6f5; color: #596660; font-size: .76rem; }
.debit-exposure { display: grid; flex-shrink: 0; text-align: right; }
.debit-exposure strong { color: #9a4d20; font-size: 1.35rem; }
.debit-exposure span { margin-top: 3px; color: #6d7772; font-size: .72rem; }
.debit-note-disclosure { padding: 0; overflow: hidden; }
.debit-note-disclosure > summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 20px; cursor: pointer; list-style: none; touch-action: manipulation; }
.debit-note-disclosure > summary::-webkit-details-marker { display: none; }
.debit-note-disclosure > summary h2 { margin: 0; font-size: 1.08rem; }
.debit-note-disclosure > summary > div:first-child > span { display: block; margin-top: 4px; color: #6d7772; font-size: .74rem; }
.debit-note-disclosure .debit-exposure { grid-template-columns: 1fr auto; align-items: center; column-gap: 8px; }
.debit-note-disclosure .debit-exposure span { grid-column: 1; }
.debit-note-disclosure .debit-exposure i { grid-column: 2; grid-row: 1 / 3; color: #9a4d20; font-style: normal; transition: transform .18s ease; }
.debit-note-disclosure[open] .debit-exposure i { transform: rotate(180deg); }
.debit-note-content { border-top: 1px solid #eadfd6; padding: 14px; background: #fcfbfa; }
.debit-ticket-matrix { grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); align-items: stretch; }
.debit-ticket-compact { display: flex; min-width: 0; flex-direction: column; padding: 12px; }
.debit-ticket-compact .debit-ticket-heading { gap: 8px; }
.debit-ticket-compact .debit-ticket-heading > div > strong { font-size: .88rem; }
.debit-ticket-compact .debit-ticket-heading > strong { font-size: .9rem; }
.debit-ticket-compact dl { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: 10px 0; }
.debit-ticket-compact dl div { min-width: 0; padding: 7px 8px; }
.debit-ticket-compact dl .ticket-wide { grid-column: 1 / -1; }
.debit-ticket-compact dd { overflow-wrap: anywhere; }
.debit-ticket-compact form { margin-top: auto; }
.debit-ticket-compact button { padding: 7px 10px; font-size: .72rem; }
.debit-ticket.is-aged { border-left-color: #b85042; background: #fff8f6; }
.vajra-clear-state { display: grid; justify-items: center; gap: 6px; padding: 28px; text-align: center; }
.vajra-clear-state > span { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #dcefe4; color: #176b3b; font-size: 1.5rem; font-weight: 900; }
.vajra-clear-state p { margin: 0; }
.payment-records-disclosure { padding: 0; overflow: hidden; }
.payment-records-disclosure > summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 20px; cursor: pointer; list-style: none; touch-action: manipulation; }
.payment-records-disclosure > summary::-webkit-details-marker { display: none; }
.payment-records-disclosure > summary h2 { margin: 0; font-size: 1.08rem; }
.payment-records-disclosure > summary > div:first-child > span { display: block; margin-top: 4px; color: #6d7772; font-size: .74rem; }
.payment-record-count { display: grid; grid-template-columns: 1fr auto; align-items: center; flex-shrink: 0; column-gap: 8px; text-align: right; }
.payment-record-count strong { color: #245f49; font-size: 1.35rem; }
.payment-record-count span { grid-column: 1; color: #6d7772; font-size: .72rem; }
.payment-record-count i { grid-column: 2; grid-row: 1 / 3; color: #245f49; font-style: normal; transition: transform .18s ease; }
.payment-records-disclosure[open] .payment-record-count i { transform: rotate(180deg); }
.payment-records-content { border-top: 1px solid #e4e9e6; padding: 14px; background: #fbfcfb; }
.paid-invoice-list { display: grid; gap: 9px; margin-top: 14px; }
.paid-invoice { overflow: hidden; border: 1px solid #dfe5e1; border-radius: 10px; background: #fff; }
.paid-invoice > summary { display: grid; grid-template-columns: minmax(160px,1fr) minmax(170px,.8fr) auto; align-items: center; gap: 14px; padding: 13px 15px; cursor: pointer; list-style: none; touch-action: manipulation; }
.paid-invoice > summary::-webkit-details-marker { display: none; }
.paid-invoice > summary > div { display: grid; gap: 3px; min-width: 0; }
.paid-invoice > summary > div:nth-child(2) { text-align: right; }
.paid-invoice > summary small { color: #6d7772; font-size: .72rem; overflow-wrap: anywhere; }
.paid-invoice > summary i { color: #317458; font-style: normal; transition: transform .18s ease; }
.paid-invoice[open] > summary i { transform: rotate(180deg); }
.paid-invoice-details { display: grid; gap: 15px; border-top: 1px solid #e5eae7; padding: 14px; background: #f8faf9; }
.paid-invoice-details h3 { margin: 0 0 8px; font-size: .82rem; }
.payment-evidence-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 7px; margin: 0 0 8px; }
.payment-evidence-grid div { min-width: 0; border-radius: 7px; padding: 8px 9px; background: #fff; }
.payment-evidence-grid dt { color: #748079; font-size: .62rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.payment-evidence-grid dd { margin: 3px 0 0; font-size: .76rem; overflow-wrap: anywhere; }
.invoice-debit-links { border-top: 1px solid #e3e8e5; padding-top: 13px; }
.invoice-debit-links article { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; border-left: 3px solid #c47842; border-radius: 7px; padding: 9px 10px; background: #fff8f3; }
.invoice-debit-links article > div { display: grid; gap: 3px; }
.invoice-debit-links article > div:last-child { text-align: right; }
.invoice-debit-links small { color: #6d7772; font-size: .7rem; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 14px; color: #6d7772; font-size: .76rem; }
.vajra-record-section { margin-bottom: 16px; padding: 0; overflow: hidden; scroll-margin-top: 20px; }
.vajra-record-section > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; cursor: pointer; list-style: none; touch-action: manipulation; }
.vajra-record-section > summary::-webkit-details-marker { display: none; }
.vajra-record-section > summary .eyebrow { margin: 0 0 4px; }
.vajra-record-section > summary strong, .vajra-record-section > summary small { display: block; }
.vajra-record-section > summary strong { font-size: 1.12rem; }
.vajra-record-section > summary small { margin-top: 3px; color: #6d7772; }
.vajra-record-section > summary > span { display: inline-flex; gap: 7px; color: #245f49; font-size: .78rem; font-weight: 800; }
.vajra-record-section > summary i { font-style: normal; transition: transform .18s ease; }
.vajra-record-section[open] > summary i { transform: rotate(180deg); }
.vajra-record-content { border-top: 1px solid #e4e9e6; padding: 4px 18px 18px; background: #fbfcfb; }
.vajra-list-note { margin: 14px 0 0; color: #75807a; font-size: .76rem; text-align: center; }
.debit-ticket-month { margin-top: 18px; }
.debit-ticket-month h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: .95rem; }
.debit-ticket-month h3 span { display: inline-flex; min-width: 22px; height: 22px; align-items: center; justify-content: center; border-radius: 999px; background: #edf1ef; color: #65706b; font-size: .68rem; }
.debit-ticket-list { display: grid; gap: 10px; }
.debit-ticket { border: 1px solid #ead8c9; border-left: 4px solid #c47842; border-radius: 10px; padding: 14px; background: #fffaf6; }
.debit-ticket.is-resolved { border-color: #dce5df; border-left-color: #5b9474; background: #f8fbf9; }
.debit-ticket-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.debit-ticket-heading > div { display: grid; gap: 3px; }
.debit-ticket-heading small { color: #6d7772; }
.ticket-state { width: fit-content; border-radius: 999px; padding: 4px 7px; background: #f6e0d1; color: #8a4920; font-size: .65rem; font-weight: 850; text-transform: uppercase; }
.debit-ticket.is-resolved .ticket-state { background: #dcefe4; color: #176b3b; }
.debit-ticket dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 13px 0; }
.debit-ticket dl div { border-radius: 8px; padding: 9px 10px; background: rgba(255,255,255,.75); }
.debit-ticket dt { color: #748079; font-size: .66rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.debit-ticket dd { margin: 3px 0 0; font-size: .8rem; }
.debit-ticket form { display: flex; justify-content: flex-end; }
.vajra-ledger-panel, .vajra-invoice-panel { margin-bottom: 16px; }
.payment-advice, .invoice-record { margin-top: 12px; border: 1px solid #dfe5e1; border-radius: 12px; overflow: hidden; background: #fff; }
.payment-advice > summary, .invoice-record > summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 15px 16px; cursor: pointer; list-style: none; background: #f7f9f8; }
.payment-advice > summary::-webkit-details-marker, .invoice-record > summary::-webkit-details-marker { display: none; }
.payment-advice > summary div, .invoice-record > summary div { display: grid; gap: 3px; }
.payment-advice > summary span, .invoice-record > summary span { color: #6e7973; font-size: .76rem; }
.payment-proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 14px 16px; background: #f1eef6; }
.payment-proof > div { display: grid; gap: 3px; }
.payment-proof small, .payment-line small { color: #6e7973; text-transform: uppercase; letter-spacing: .06em; font-size: .62rem; font-weight: 800; }
.payment-proof span { color: #657069; font-size: .74rem; }
.payment-lines { padding: 0 16px 14px; }
.payment-line { display: grid; grid-template-columns: minmax(150px, 1.5fr) minmax(120px, 1fr) repeat(3, minmax(90px, .8fr)); gap: 12px; align-items: center; padding: 13px 0; border-bottom: 1px solid #e7ebe8; }
.payment-line:last-child { border-bottom: 0; }
.payment-line > div { display: grid; gap: 3px; }
.payment-line > div > span { color: #6e7973; font-size: .72rem; }
.payment-line.is-debit { border-radius: 9px; padding-inline: 10px; background: #fff7f2; }
.debit-verification { grid-column: 1 / -1; justify-self: start; border-radius: 999px; padding: 5px 9px; font-size: .7rem; font-weight: 800; }
.debit-verification.is-found { color: #176b3b; background: #dcefe4; }
.debit-verification.is-missing { color: #8c2d27; background: #f9dfdc; }
.invoice-list { margin-top: 12px; }
.invoice-record-body { padding: 14px 16px; }
.invoice-record-body > p { margin: 0 0 10px; }
.debit-note-card { display: grid; gap: 5px; margin-top: 9px; border-left: 3px solid #c47842; border-radius: 7px; padding: 10px 12px; background: #fff7f2; }
.debit-note-card p, .debit-note-card small { margin: 0; color: #5f6963; font-size: .76rem; }
.health-overview p { margin: 0 0 5px; }
.health-stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.health-stat h2 { margin-bottom: 14px; }
.health-stat > p:last-child { margin: 10px 0 0; font-size: .78rem; }
.cpu-trend-panel { margin-bottom: 16px; }
.cpu-chart { position: relative; height: 170px; overflow: hidden; margin-top: 16px; border-radius: 10px; background: repeating-linear-gradient(to bottom, #f7f9f8 0, #f7f9f8 41px, #e7ece9 42px); }
.cpu-chart svg { width: 100%; height: 100%; overflow: visible; padding: 9px 12px 9px 42px; }
.cpu-chart polyline { fill: none; stroke: #2f6f55; stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
.cpu-axis { position: absolute; left: 10px; z-index: 1; color: #7b8580; font-size: .67rem; }
.cpu-axis-high { top: 8px; }
.cpu-axis-low { bottom: 8px; }
.cpu-chart-footer { display: flex; justify-content: space-between; margin-top: 6px; color: #7b8580; font-size: .68rem; }
.health-meter { height: 10px; overflow: hidden; border-radius: 999px; background: #edf0ee; }
.health-meter span { display: block; height: 100%; border-radius: inherit; background: #2f6f55; }
.health-meter.needs-attention span { background: #c0872d; }
.backup-health-panel { margin-top: 16px; }
.storage-health-panel { margin-bottom: 16px; }
.storage-health-note { margin-top: 14px; }
.backup-cadence-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.backup-cadence { border-left: 4px solid #c0872d; border-radius: 9px; padding: 12px; background: #f6f8f7; }
.backup-cadence.is-good { border-left-color: #2f6f55; }
.backup-cadence span, .backup-cadence strong, .backup-cadence small { display: block; }
.backup-cadence span { color: #6d7772; font-size: .72rem; }
.backup-cadence strong { margin-top: 3px; }
.backup-cadence small { margin-top: 5px; color: #76817b; }
.health-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; overflow: hidden; margin: 18px 0 0; border: 1px solid #e3e8e5; border-radius: 10px; background: #e3e8e5; }
.health-details div { padding: 11px 13px; background: #fff; }
.health-details dt { color: #707a75; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.health-details dd { margin: 4px 0 0; font-size: .84rem; font-weight: 700; }
.finance-hub-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.finance-area-card { display: flex; min-height: 210px; flex-direction: column; align-items: flex-start; }
.finance-area-card h2 { width: 100%; margin-bottom: 8px; }
.finance-area-card > p:not(.eyebrow) { flex: 1; margin: 0 0 18px; }
.finance-area-card.is-planned { background: #f8faf8; }
.business-summary { display: grid; width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; }
.business-summary div { border-radius: 9px; padding: 11px; background: #f1f4f2; }
.business-summary dt { color: #6d7772; font-size: .7rem; font-weight: 700; }
.business-summary dd { margin: 4px 0 0; font-size: .9rem; font-weight: 800; }
.planned-label { display: inline-flex; border-radius: 999px; padding: 7px 11px; background: #e9eeeb; color: #617069; font-size: .78rem; font-weight: 700; }
.list-panel { min-width: 0; overflow: hidden; }
.item { position: relative; display: flex; min-width: 0; justify-content: space-between; gap: 16px; border-top: 1px solid #edf0ee; padding: 14px 42px 14px 0; }
.item > div:first-of-type { min-width: 0; overflow: hidden; }
.item.importance-must-do { border-left: 4px solid #c9433c; padding-left: 10px; }
.item.importance-important { border-left: 4px solid #d98218; padding-left: 10px; }
.item.importance-routine { border-left: 4px solid #3478c6; padding-left: 10px; }
.item-title { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.importance-cycle-form { position: absolute; top: 11px; right: 2px; display: block; }
.importance-cycle { display: flex; width: 26px; height: 26px; align-items: center; justify-content: center; border: 2px solid currentColor; border-radius: 50%; padding: 0; background: #fff; box-shadow: 0 2px 5px rgba(23,32,29,.12); font-size: 1rem; font-weight: 900; line-height: 1; transition: color .18s ease, border-color .18s ease, transform .18s ease; }
.importance-cycle.importance-must-do { color: #c9433c; }
.importance-cycle.importance-important { color: #d98218; }
.importance-cycle.importance-routine { color: #3478c6; }
.importance-cycle:disabled { cursor: wait; opacity: .65; }
.importance-cycle:hover { transform: scale(1.08); }
.importance-cycle:focus-visible { outline: 3px solid #17201d; outline-offset: 3px; }
.importance-badge { display: inline-flex; align-items: center; gap: 5px; border-radius: 999px; padding: 3px 7px; background: #f1f3f2; color: #5f6964; font-size: .7rem; font-weight: 750; }
.importance-badge i { display: inline-block; }
.importance-must-do .importance-badge i { background: #c9433c; }
.importance-important .importance-badge i { background: #d49325; }
.importance-routine .importance-badge i { background: #89938f; }
.item:first-of-type { border-top: 0; }
.item p, .item small { display: block; margin: 4px 0 0; color: #6d7772; }
.item-notes { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item form { align-self: center; }
.item-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; flex-shrink: 0; }
.secondary { display: inline-block; border: 0; border-radius: 8px; padding: 7px 10px; background: #edf4f0; color: #245f49; font-size: .82rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.action-button { display: inline-flex; min-width: 34px; min-height: 34px; align-items: center; justify-content: center; border: 0; border-radius: 8px; padding: 7px 10px; font-size: .86rem; font-weight: 800; line-height: 1; text-decoration: none; white-space: nowrap; cursor: pointer; }
.action-edit { background: #dceaff; color: #1756a9; }
.action-done { background: #dcefe4; color: #176b3b; }
.action-postpone { background: #fff0bf; color: #765400; }
.action-delete { background: #f9dedd; color: #9a2922; }
.action-button:hover { filter: brightness(.96); }
.action-button:focus-visible { outline: 3px solid #17201d; outline-offset: 2px; }
.history-button { white-space: nowrap; }
.history-button span { font-size: 1.15rem; line-height: 1; }
.action-restore { background: #e8e2fa; color: #574099; font-size: 1.15rem; }
.notice-error { margin: 0 0 16px; border-radius: 9px; padding: 11px 13px; background: #f9dedd; color: #84231d; font-size: .9rem; font-weight: 650; }
.notice-success { margin: 0 0 16px; border-radius: 9px; padding: 11px 13px; background: #dcefe4; color: #176b3b; font-size: .9rem; font-weight: 650; }
.empty { margin: 0; font-size: .9rem; }
.overdue { border-top: 3px solid #b85042; }
.today { border-top: 3px solid #c0872d; }
.waiting { border-top: 3px solid #667c9b; }
.upcoming { border-top: 3px solid #4d8067; }
.property-list { display: grid; gap: 12px; margin-top: 16px; }
.property-card { display: flex; align-items: center; justify-content: space-between; gap: 18px; color: inherit; text-decoration: none; transition: border-color .18s ease, transform .18s ease; }
.property-card:hover { border-color: #9fb8aa; transform: translateY(-1px); }
.property-card h2, .property-card p { margin-bottom: 0; }
.property-card > span { color: #2f6f55; font-size: 1.25rem; }
.empty-state { margin-top: 16px; }
.object-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr); gap: 16px; align-items: start; }
.object-main { display: grid; gap: 16px; min-width: 0; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > div { min-width: 0; }
.section-support { margin: 5px 0 0; color: #6d7772; font-size: .86rem; }
.small-control { padding: 6px 10px; background: #e4efe9; color: #245f49; font-size: .78rem; }
.metadata-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 18px 0 0; }
.metadata-grid div { border-radius: 9px; padding: 11px 12px; background: #f4f6f5; }
.metadata-grid dt { color: #707a75; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.metadata-grid dd { margin: 4px 0 0; font-weight: 700; }
.object-notes { white-space: pre-wrap; }
.inline-edit { margin-top: 16px; border-top: 1px solid #e5e9e7; padding-top: 16px; }
.inline-edit[hidden] { display: none; }
.work-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid #edf0ee; padding: 12px 8px 12px 11px; color: inherit; text-decoration: none; }
.work-row:first-of-type { border-top: 0; }
.work-row p { margin: 4px 0 0; font-size: .85rem; }
.work-row.importance-must-do { border-left: 4px solid #c9433c; }
.work-row.importance-important { border-left: 4px solid #d98218; }
.work-row.importance-routine { border-left: 4px solid #3478c6; }
.documents-placeholder { border-style: dashed; }
.documents-placeholder h2 { justify-content: flex-start; }
.object-history { min-width: 0; }
.history-entry { border-top: 1px solid #edf0ee; padding: 12px 0; }
.history-entry:first-of-type { border-top: 0; }
.history-entry p { margin: 4px 0 0; font-size: .82rem; }
.unit-total { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; border-radius: 10px; padding: 11px 13px; background: #edf4f0; color: #245f49; }
.unit-total span { font-size: .82rem; font-weight: 650; }
.unit-form { display: grid; gap: 12px; }
.unit-form h3 { margin: 0; }
.field-note { margin: 0; color: #6d7772; font-size: .78rem; }
.unit-date-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.unit-list { display: grid; gap: 12px; margin-top: 16px; }
.unit-card { border: 1px solid #dfe5e2; border-radius: 12px; padding: 15px; background: #fbfcfb; }
.unit-card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.unit-card-heading h3, .unit-card-heading p { margin: 0; }
.unit-card-heading p { margin-top: 4px; color: #65706b; font-size: .85rem; }
.unit-card-heading > span { display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; border-radius: 50%; background: #e4efe9; color: #2f6f55; }
.unit-metadata { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 13px 0 0; }
.unit-metadata div { border-radius: 8px; padding: 9px 10px; background: #f1f4f2; }
.unit-metadata dt { color: #707a75; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.unit-metadata dd { margin: 3px 0 0; font-size: .85rem; font-weight: 650; }
.unit-notes { margin: 12px 0 0; white-space: pre-wrap; font-size: .86rem; }
.unit-editor { margin-top: 13px; border-top: 1px solid #e2e7e4; padding-top: 11px; }
.unit-editor summary { width: fit-content; cursor: pointer; color: #245f49; font-size: .82rem; font-weight: 750; }
.unit-editor .unit-form { margin-top: 13px; }
.unit-delete { margin-top: 10px; }
.unit-empty { margin-top: 16px; }
.holdings-import-panel { margin-bottom: 16px; }
.integration-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.integration-card { display: flex; min-height: 150px; align-items: flex-start; justify-content: space-between; gap: 18px; border: 1px solid #dfe5e2; border-radius: 12px; padding: 15px; background: #fbfcfb; }
.integration-card h3 { margin: 3px 0 6px; }
.integration-card p:not(.eyebrow) { margin: 0; color: #68736e; font-size: .86rem; }
.integration-card > a, .integration-card > span { flex-shrink: 0; align-self: flex-end; }
.integration-actions { display: flex; flex-shrink: 0; align-self: flex-end; flex-direction: column; align-items: stretch; gap: 8px; }
.integration-actions form { margin: 0; }
.integration-actions .task-tool-button { width: 100%; }
.task-tool-button.is-secondary { background: #edf4f0; color: #245f49; }
.holdings-import-form { display: grid; gap: 13px; }
.holdings-import-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.import-guidance { border-radius: 9px; padding: 11px 13px; background: #f4f6f5; color: #63706a; font-size: .82rem; }
.import-guidance p { margin: 0 0 5px; }
.import-guidance a { color: #245f49; font-weight: 750; }
.holdings-country-grid { display: grid; gap: 16px; }
.holdings-country { min-width: 0; }
.portfolio-disclosure { padding: 0; overflow: hidden; }
.portfolio-disclosure > summary { display: block; cursor: pointer; padding: 20px; list-style: none; }
.portfolio-disclosure > summary::-webkit-details-marker { display: none; }
.portfolio-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.portfolio-heading h2 { margin: 3px 0 0; }
.portfolio-summary { display: flex; align-items: center; gap: 10px; }
.portfolio-summary > strong { color: #17201c; font-size: 1.05rem; white-space: nowrap; }
.portfolio-count { border-radius: 999px; padding: 6px 10px; background: #edf4f0; color: #245f49; font-size: .76rem; font-weight: 750; white-space: nowrap; }
.portfolio-structure { margin-top: 16px; }
.portfolio-toggle { display: flex; align-items: center; justify-content: flex-end; gap: 7px; margin-top: 13px; color: #607069; font-size: .76rem; font-weight: 750; }
.portfolio-toggle i { font-style: normal; font-size: 1rem; transition: transform .18s ease; }
.portfolio-disclosure[open] .portfolio-toggle i { transform: rotate(180deg); }
.portfolio-toggle .when-open { display: none; }
.portfolio-disclosure[open] .portfolio-toggle .when-closed { display: none; }
.portfolio-disclosure[open] .portfolio-toggle .when-open { display: inline; }
.portfolio-details { border-top: 1px solid #e5e9e7; padding: 0 20px 20px; }
.allocation-section, .top-holdings, .all-holdings, .source-freshness { margin-top: 20px; border-top: 1px solid #e5e9e7; padding-top: 17px; }
.allocation-section h3, .top-holdings h3, .source-freshness h3 { margin: 0 0 12px; }
.allocation-bar { display: flex; height: 18px; overflow: hidden; border-radius: 999px; background: #edf0ee; }
.allocation-segment { min-width: 2px; }
.allocation-1 { background: #2f6f55; }
.allocation-2 { background: #5d83a6; }
.allocation-3 { background: #cf8b32; }
.allocation-4 { background: #8a6ba8; }
.allocation-5 { background: #8a9690; }
.allocation-legend { display: grid; grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); gap: 8px 14px; margin-top: 12px; }
.allocation-legend div { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 7px; font-size: .8rem; }
.allocation-legend i { width: 9px; height: 9px; border-radius: 50%; }
.holding-rank-row { display: grid; grid-template-columns: minmax(145px, .8fr) minmax(140px, 2fr) minmax(82px, auto); align-items: center; gap: 13px; padding: 9px 0; border-top: 1px solid #edf0ee; }
.holding-rank-row:first-of-type { border-top: 0; }
.holding-rank-row > div:first-child { min-width: 0; }
.holding-rank-row strong, .holding-rank-row span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.holding-rank-row > div:first-child span { display: block; margin-top: 2px; color: #707a75; font-size: .74rem; }
.holding-rank-value, .holding-table-value { display: flex; align-items: flex-end; flex-direction: column; min-width: 0; }
.holding-rank-value strong, .holding-table-value strong { font-size: .82rem; white-space: nowrap; }
.holding-rank-value span, .holding-table-value span { margin-top: 2px; color: #707a75; font-size: .7rem; }
.holding-rank-visual { height: 9px; overflow: hidden; border-radius: 999px; background: #edf0ee; }
.holding-rank-visual span { display: block; height: 100%; border-radius: inherit; background: #2f6f55; }
.holding-rank-row.is-other .holding-rank-visual span { background: #8a9690; }
.all-holdings summary { cursor: pointer; color: #245f49; font-weight: 800; }
.holding-table { margin-top: 12px; }
.holding-table-row { display: grid; grid-template-columns: minmax(0, 1fr) 110px minmax(82px, auto); align-items: center; gap: 12px; border-top: 1px solid #edf0ee; padding: 10px 0; font-size: .82rem; }
.holding-table-row > div { min-width: 0; }
.holding-table-row > div span { display: block; margin-top: 2px; overflow: hidden; color: #707a75; text-overflow: ellipsis; white-space: nowrap; }
.holding-table-row > strong { text-align: right; }
.source-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid #edf0ee; padding: 10px 0; }
.source-row > div span { display: block; margin-top: 3px; color: #707a75; font-size: .78rem; }
.holdings-empty { margin-top: 18px; }
@media (max-width: 720px) { .rental-summary-grid, .rentals-layout { grid-template-columns: 1fr; } .rental-event { grid-template-columns: 1fr auto; } .rental-event time { grid-column: 1 / -1; } .rental-property-row { grid-template-columns: minmax(0, 1fr) auto; } .rental-property-value { grid-column: 1; align-items: flex-start; } }
@media (max-width: 720px) { .dashboard, .module-grid, .finance-hub-grid, .row, .valuation-row, .profile-grid, .object-layout, .metadata-grid, .unit-date-row, .unit-metadata, .holdings-import-grid, .integration-grid, .health-stat-grid, .backup-cadence-grid { grid-template-columns: 1fr; } .workspace-nav { position: sticky; top: 8px; z-index: 20; width: 100%; justify-content: space-between; margin-bottom: 20px; } .workspace-nav a { justify-content: center; flex: 1; padding-inline: 7px; } .integration-card { min-height: 0; flex-direction: column; } .integration-card > a, .integration-card > span { align-self: flex-start; } .task-counts, .vajra-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .vajra-search-row { align-items: stretch; flex-wrap: wrap; } .vajra-search-row input { flex-basis: 100%; } .vajra-record-section > summary { align-items: flex-start; } .section-heading:has(.debit-exposure) { align-items: flex-start; flex-direction: column; } .debit-exposure { text-align: left; } .paid-invoice > summary { grid-template-columns: 1fr auto; } .paid-invoice > summary > div:nth-child(2) { grid-column: 1; text-align: left; } .paid-invoice > summary i { grid-column: 2; grid-row: 1 / 3; } .payment-evidence-grid { grid-template-columns: 1fr 1fr; } .invoice-debit-links article { flex-direction: column; } .invoice-debit-links article > div:last-child { text-align: left; } .debit-ticket dl { grid-template-columns: 1fr; } .tasks-widget-header { align-items: flex-start; flex-direction: column; } .ai-inbox-widget > summary, .ai-suggestion, .functionality-row { align-items: flex-start; flex-direction: column; } .gmail-functionality-status { width: 100%; justify-content: space-between; } .ai-inbox-summary { width: 100%; justify-content: space-between; } .ai-suggestion-actions { width: 100%; } .ai-suggestion-actions .action-button { min-height: 40px; } .page-header { align-items: center; } .header-health { min-width: 0; width: min(240px, 48vw); } .health-hero { align-items: flex-start; } .health-hero-mark { width: 54px; height: 54px; flex-basis: 54px; font-size: 1.8rem; } .health-category > summary { align-items: flex-start; flex-direction: column; } .health-category-toggle { align-self: flex-end; } .health-category-content { padding: 14px; } .item { flex-direction: column; } .item-actions { align-self: flex-start; } .portfolio-summary { align-items: flex-end; flex-direction: column; gap: 5px; } .portfolio-disclosure > summary { padding: 16px; } .portfolio-details { padding: 0 16px 16px; } .holding-rank-row { grid-template-columns: minmax(105px, 1fr) minmax(60px,.7fr) minmax(72px,auto); gap: 8px; } .holding-table-row { grid-template-columns: minmax(0,1fr) minmax(72px,auto); gap: 7px; } .holding-table-row > span { display: none; } .health-details { grid-template-columns: 1fr; } main { margin-top: 14px; } }
@media (max-width: 720px) { .payment-proof { grid-template-columns: 1fr; } .payment-line { grid-template-columns: 1fr 1fr; } .payment-line > div:first-child { grid-column: 1 / -1; } }

/* Expandable health telemetry, visually continuous with the live system map. */
.futuristic-health-details { scroll-margin-top: 18px; border-color: #213c30; background: #0d1c15; color: #e8f6ee; box-shadow: 0 12px 32px rgba(5,18,12,.13); }
.futuristic-health-details > summary { position: relative; background: linear-gradient(90deg,rgba(62,225,152,.08),transparent 60%); }
.futuristic-health-details > summary::after { position: absolute; right: 0; bottom: 0; left: 0; height: 1px; background: linear-gradient(90deg,transparent,#3fe39a,transparent); content: ""; opacity: 0; transition: opacity .2s; }
.futuristic-health-details[open] > summary::after { opacity: .55; }
.futuristic-health-details > summary strong { color: #f3fff8; }.futuristic-health-details > summary small { color: #88a397; }
.futuristic-health-details .health-category-toggle { color: #5ce8aa; }
.futuristic-health-details .health-category-content { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; border-color: #203b2f; background: radial-gradient(circle at 20% 0,rgba(55,210,139,.08),transparent 34%),#0a1711; }
.futuristic-health-details .health-stat-grid { grid-column: 1 / -1; margin: 0; }
.futuristic-health-details .health-stat,.futuristic-health-details .health-detail-block { position: relative; margin: 0; border-color: #29483a; background: linear-gradient(145deg,rgba(26,57,43,.82),rgba(11,28,20,.94)); color: #e5f5ec; overflow: hidden; }
.futuristic-health-details .health-stat::before,.futuristic-health-details .health-detail-block::before { position: absolute; top: 0; bottom: 0; left: 0; width: 3px; background: #3fe39a; content: ""; box-shadow: 0 0 12px #3fe39a; }
.futuristic-health-details .health-stat.state-yellow::before,.futuristic-health-details .health-detail-block:has(.health-state.is-neutral)::before,.futuristic-health-details .health-detail-block:has(.health-state.needs-attention)::before { background: #ffc857; box-shadow: 0 0 12px #ffc857; }
.futuristic-health-details .health-stat.state-red::before { background: #ff646e; box-shadow: 0 0 12px #ff646e; }
.futuristic-health-details h2,.futuristic-health-details h3,.futuristic-health-details strong,.futuristic-health-details dd { color: #edfff5; }
.futuristic-health-details p,.futuristic-health-details dt,.futuristic-health-details small,.futuristic-health-details .cpu-chart-footer { color: #8da89b; }
.futuristic-health-details .health-meter { background: #172e23; }.futuristic-health-details .health-meter span { background: linear-gradient(90deg,#1c9c65,#55ecaa); box-shadow: 0 0 9px rgba(63,227,154,.55); }
.futuristic-health-details .health-details { gap: 7px; border-color: transparent; background: transparent; }.futuristic-health-details .health-details > div { border: 1px solid #29483a; background: rgba(13,34,24,.94); }
.futuristic-health-details .functionality-row { align-items: center; min-height: 112px; border: 1px solid #29483a; background: rgba(13,34,24,.94); }
.futuristic-health-details .functionality-row > div:first-child { min-width: 0; }.futuristic-health-details .functionality-row > div:first-child > strong { color: #f1fff7; }
.futuristic-health-details .functionality-row p { color: #91aa9e; }
.futuristic-health-details .quota-gauge { background: conic-gradient(#7d65b1 calc(var(--quota-percent) * 1%),#20362c 0); filter: drop-shadow(0 0 8px rgba(63,227,154,.2)); }
.futuristic-health-details .quota-gauge::before { background: #10251a; }.futuristic-health-details .quota-gauge strong { color: #eefcf4; }.futuristic-health-details .quota-gauge small { color: #86a095; }
.futuristic-health-details .cpu-chart { border-color: #254437; background: rgba(8,25,17,.72); }.futuristic-health-details .cpu-chart svg polyline { stroke: #4ae7a0; filter: drop-shadow(0 0 3px #2dbc7c); }
.futuristic-health-details .backup-cadence { border-color: #29483a; background: rgba(18,42,31,.72); }
.portal-shell .vajra-primary-search, body > main > .vajra-primary-search { display: none; }
@media (max-width: 800px) { .futuristic-health-details .health-category-content { grid-template-columns: 1fr; }.futuristic-health-details .health-stat-grid { grid-column: auto; } }
.invoice-tracking { display: grid; gap: 1rem; }
.tracking-buckets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; align-items: start; }
.tracking-bucket { min-width: 0; border: 1px solid #dde4df; border-radius: 15px; overflow: hidden; background: #fff; }
.tracking-bucket[open] { grid-column: 1 / -1; }
.tracking-bucket > summary { cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 90px; padding: 1rem; list-style: none; }
.tracking-bucket > summary::-webkit-details-marker { display: none; }
.tracking-bucket > summary > div { display: grid; gap: .2rem; }
.tracking-bucket > summary > div:first-child > strong { font-size: 1.7rem; }
.tracking-bucket > summary > div:last-child { justify-items: end; text-align: right; }
.tracking-bucket > summary i { color: #69746f; font-style: normal; transition: transform .2s ease; }
.tracking-bucket[open] > summary i { transform: rotate(180deg); }
.tracking-bucket.overdue { background: #fff8f6; border-color: #efc4bc; }
.tracking-bucket.review { background: #fffbef; border-color: #ead69a; }
.tracking-bucket.paid { background: #f5fbf7; border-color: #c5dfce; }
.tracking-month-list { display: grid; gap: 1rem; max-height: 42rem; overflow: auto; padding: 0 1rem 1rem; }
.tracking-month { min-width: 0; border-top: 1px solid #e2e7e4; padding-top: .8rem; }
.tracking-month > header { display: flex; align-items: flex-end; justify-content: space-between; gap: .75rem; margin-bottom: .65rem; }
.tracking-month > header > div { display: grid; gap: .15rem; }
.tracking-month > header small { color: #69746f; }
.invoice-card-matrix { display: grid; grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); gap: .75rem; }
.invoice-card { min-width: 0; border: 1px solid #dde4df; border-radius: 13px; padding: .8rem; background: #fff; box-shadow: 0 3px 10px rgba(25,45,36,.04); }
.invoice-card-heading { display: grid; gap: .3rem; }
.invoice-card-heading strong { overflow-wrap: anywhere; font-size: .9rem; }
.invoice-card-amount { display: block; margin-top: .55rem; font-size: 1rem; }
.invoice-card dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem; margin: .7rem 0 0; }
.invoice-card dl div { min-width: 0; border-radius: 8px; padding: .45rem; background: #f5f7f6; }
.invoice-card dl .ticket-wide { grid-column: 1 / -1; }
.invoice-card dt { color: #69746f; font-size: .68rem; font-weight: 700; text-transform: uppercase; }
.invoice-card dd { margin: .15rem 0 0; overflow-wrap: anywhere; font-size: .78rem; }
.invoice-card.is-overdue { border-color: #e7b4ab; }
.invoice-card.is-review { border-color: #dfc875; }
.invoice-card.is-paid { border-color: #b9d8c4; }
@media (max-width: 800px) { .tracking-buckets { grid-template-columns: 1fr; } .tracking-bucket[open] { grid-column: auto; } .tracking-month-list { max-height: 36rem; } .invoice-card-matrix { grid-template-columns: 1fr; } }
@media (max-width: 720px) {
  .drawing-module-header { flex-direction: column; }
  .drawing-health { width: 100%; justify-content: flex-start; }
  .drawing-search > div { align-items: stretch; flex-wrap: wrap; }
  .drawing-search input { flex-basis: 100%; }
  .drawing-record > summary { grid-template-columns: minmax(0,1fr) auto; gap: 9px; }
  .drawing-current-state { grid-column: 1; grid-row: 2; justify-items: start; text-align: left; }
  .drawing-record > summary > i { grid-column: 2; grid-row: 1 / 3; }
  .drawing-facts { grid-template-columns: 1fr 1fr; }
  .drawing-material-fact { grid-column: 1 / -1; }
  .drawing-primary-file { align-items: flex-start; flex-direction: column; }
  .drawing-history article { grid-template-columns: auto minmax(0,1fr) auto; }
  .drawing-history article > a { grid-column: 2; }
}

/* Vajra workspace navigation and focused debit-note lookup. */
.vajra-menu { display: flex; align-items: center; gap: 8px; margin: 0 0 16px; overflow-x: auto; border: 1px solid #dfe6e2; border-radius: 14px; padding: 7px; background: rgba(255,255,255,.92); box-shadow: 0 7px 22px rgba(29,54,42,.05); }
.vajra-menu a { flex: 0 0 auto; border-radius: 10px; padding: 10px 14px; color: #5d6963; font-size: .84rem; font-weight: 800; text-decoration: none; }
.vajra-menu a:hover { background: #f1f6f3; color: #245f49; }
.vajra-menu a[aria-current="page"] { background: #245f49; color: #fff; box-shadow: 0 5px 13px rgba(36,95,73,.18); }
.invoice-tracking, .debit-note-disclosure { margin: 0 0 16px; }
.portal-launch { align-self: center; white-space: nowrap; }
.debit-note-search { margin: 0 0 16px; padding: 0 0 16px; border-bottom: 1px solid #e4e9e6; }
.payment-history-widget { padding: 0; overflow: hidden; }
.payment-history-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 0; padding: 20px 20px 14px; }
.payment-history-heading h2 { margin: 3px 0 0; }
.payment-history-heading p { margin: 0; color: #6a756f; }
.payment-history-search { margin: 0; padding: 0 20px 18px; }
.widget-search label { display: block; margin-bottom: 8px; color: #25332c; font-size: .84rem; font-weight: 800; }
.widget-search small { display: block; margin-top: 7px; color: #6a756f; }
@media (max-width: 720px) { .vajra-menu { position: sticky; top: 8px; z-index: 18; } .payment-history-heading { align-items: flex-start; flex-direction: column; } }
.page-header-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.quotation-drafts { margin-top: 0; }
.quotation-draft-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(250px,1fr)); gap: 12px; }
.quotation-draft-card { border: 1px solid #dfe6e2; border-radius: 14px; padding: 15px; background: #fff; box-shadow: 0 4px 14px rgba(29,54,42,.05); }
.quotation-draft-card header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.quotation-draft-card h3 { margin: 7px 0 0; }.quotation-draft-card header small { color: #6a756f; text-align: right; }
.quotation-draft-card dl { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin: 14px 0; }
.quotation-draft-card dl div { border-radius: 9px; padding: 9px; background: #f4f7f5; }
.quotation-draft-card dt,.quotation-form label span { color: #68736d; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.quotation-draft-card dd { margin: 4px 0 0; font-weight: 800; }
.quotation-draft-actions,.quotation-form-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }.quotation-draft-actions form { margin: 0; }
.quotation-form-panel { max-width: 980px; }.quotation-form { display: grid; gap: 18px; }
.quotation-form-section { border: 1px solid #e0e6e2; border-radius: 13px; padding: 16px; background: #fbfcfb; }.quotation-form-section h2 { margin: 0 0 14px; font-size: 1rem; }
.quotation-field-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }.quotation-field-wide { grid-column: 1 / -1; }
.quotation-form label { display: grid; gap: 7px; }.quotation-form select { width: 100%; min-height: 46px; border: 1px solid #cfd8d3; border-radius: 10px; padding: 0 12px; background: #fff; color: #1d2a24; font: inherit; }
.quotation-form input { width: 100%; min-height: 46px; box-sizing: border-box; border: 1px solid #cfd8d3; border-radius: 10px; padding: 0 12px; background: #fff; color: #1d2a24; font: inherit; }.quotation-form input[readonly] { background: #edf4f0; color: #245f49; font-weight: 800; }.quotation-form label small { color: #748079; font-size: .72rem; }
.quotation-form select:disabled { background: #f1f3f2; color: #89918d; }.quotation-form-actions { grid-column: 1 / -1; margin-top: 4px; }
.quotation-process-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; counter-reset: process; }.quotation-process-list > label { position: relative; border: 1px solid #e0e6e2; border-radius: 11px; padding: 12px; background: #fff; }.quotation-process-list > label > b { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 23px; height: 23px; border-radius: 50%; background: #e4f2e9; color: #245f49; font-size: .75rem; }
.quotation-process-list fieldset { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; border: 1px solid #e0e6e2; border-radius: 11px; padding: 10px 12px 12px; background: #fff; }.quotation-process-list legend { display: flex; align-items: center; gap: 7px; padding: 0 4px; color: #68736d; font-size: .72rem; font-weight: 800; text-transform: uppercase; }.quotation-process-list legend b { display: grid; place-items: center; width: 23px; height: 23px; border-radius: 50%; background: #e4f2e9; color: #245f49; }
.quotation-notice,.quotation-error { max-width: 700px; border-radius: 10px; padding: 11px 13px; font-weight: 750; }.quotation-notice { background: #e8f5ec; color: #1d6b40; }.quotation-error { background: #fde8e6; color: #9b2f25; }
.quotation-total-section { display: flex; align-items: end; justify-content: space-between; gap: 24px; border-color: #b9d9c7; background: linear-gradient(135deg,#f5fbf7,#e9f5ee); }.quotation-total-section h2 { margin: 2px 0 4px; font-size: 1.35rem; }.quotation-total-section p { margin: 0; color: #68736d; }.quotation-total-controls { display: grid; grid-template-columns: minmax(150px,.7fr) minmax(220px,1fr); gap: 12px; min-width: 430px; }.quotation-total-controls input[readonly] { font-size: 1.25rem; color: #11673d; }
.quotation-upload { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px 18px; }.quotation-upload h2,.quotation-upload p { margin: 0; }.quotation-upload > label { cursor: pointer; }.quotation-upload-status { grid-column: 1 / -1; color: #245f49; font-weight: 750; }
.quotation-breakdown { border-color: #d4e2da; background: #f7faf8; }.quotation-breakdown-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }.quotation-breakdown-grid input[readonly] { min-height: 40px; }
@media (max-width: 720px) { .page-header-actions { justify-content: flex-start; }.quotation-field-grid,.quotation-process-list,.quotation-breakdown-grid { grid-template-columns: 1fr; }.quotation-field-wide { grid-column: auto; }.quotation-form-actions { grid-column: auto; }.quotation-draft-card header { flex-direction: column; }.quotation-draft-card header small { text-align: left; }.quotation-draft-card dl { grid-template-columns: 1fr; }.quotation-total-section { align-items: stretch; flex-direction: column; }.quotation-total-controls { grid-template-columns: 1fr; min-width: 0; } }
