/* Shared Radar palette and explicit navigation, including standalone forms. */
:root{--green:#087f5b;--green-dark:#086546;--muted:#52675c;--border:#c2d3c7;--soft:#edf3eb;background:#d4dfd5!important;color:#172f26}
body{background:#d4dfd5!important}
.app{max-width:1680px;padding:20px 24px}
.panel,.setup-panel{border-color:#bfcec3!important;box-shadow:0 2px 6px #183d2410}
.detail-block,.column,.source-row{border-color:#c9d7cc!important}
.detail-block{background:#f0f5ed}.topbar{border:1px solid #c4d2c8}
.workspace{grid-template-columns:190px minmax(0,1fr);gap:26px}
.sidebar{position:sticky;top:18px;align-self:start;min-height:calc(100vh - 120px);padding:16px 0;max-height:calc(100vh - 40px);overflow:auto}
.rail-group{background:transparent;border-radius:0;padding:0;gap:7px}
.rail-button{display:flex;justify-content:flex-start;gap:13px;width:100%;height:auto;min-height:48px;border-radius:12px;padding:11px 14px;color:#233d32;line-height:1.45;text-align:left;font:inherit;font-size:14px}
.rail-button .rail-label{display:inline;white-space:normal}.rail-button.active{box-shadow:none}.rail-button .icon{width:21px;height:21px}
.topbar nav{display:none}.brand-description{display:none}.heading-actions #updated{display:none}
.page-heading{margin-bottom:22px!important}.page-back{margin:4px 0 14px}.page-back .icon{transform:rotate(180deg)}
.breadcrumb-actions{display:flex;align-items:center;gap:12px}.breadcrumb-actions>a{font-size:14px;text-decoration:none}
.return-nav{display:flex;align-items:center;justify-content:space-between;gap:20px;max-width:1100px;margin:22px auto 8px;padding:0 22px;font:16px/1.6 'Segoe UI',sans-serif;box-sizing:border-box;width:100%}
.return-nav a{display:inline-flex;align-items:center;gap:9px;min-height:44px;padding:9px 15px;border-radius:12px;border:1px solid #b9ccbf;background:#f7faf5;color:#145e43;text-decoration:none;font-weight:600}
.return-home{background:transparent!important;border-color:transparent!important}.return-nav+main.app{padding-top:10px}
body:has(.return-nav)>main:not(.app){margin:24px auto}body:has(.return-nav){display:block!important}
button:disabled{cursor:default}
@media(max-width:1100px){.workspace{grid-template-columns:160px minmax(0,1fr);gap:18px}.app{padding:16px}.rail-button{padding:10px;font-size:13px}}
@media(max-width:780px){.workspace{display:block}.sidebar{position:static;min-height:0;max-height:none;overflow:visible;padding:0;margin-bottom:16px}.rail-group:first-child{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.rail-group:first-child .rail-button{flex-direction:column;align-items:center;justify-content:center;gap:5px;text-align:center;font-size:12px;padding:9px 3px;min-height:70px;background:#edf3eb;border:1px solid #bdcfc3}.rail-group:first-child .rail-button.active{background:var(--green);color:white}.rail-bottom{display:none}.app{padding:12px}.topbar{margin-bottom:12px}.page-heading{align-items:flex-start!important;flex-wrap:wrap}.heading-actions{margin-left:auto}.return-nav{margin-top:14px;padding:0 12px;font-size:14px}.return-home{display:none!important}.page-back{margin:0 0 12px}.brand-description{display:none!important}}
@media print{.return-nav,.sidebar,.page-back{display:none!important}body{background:white!important}}

.advanced-collection{color:#1b392b!important;font:16px/1.65 Manrope,'Segoe UI',sans-serif}.advanced-collection header,.advanced-collection section,.advanced-collection .card,.advanced-collection .stat{background:#f9fcf7;border-color:#bdcec2;color:#173828}.advanced-collection :is(p,small,.muted,.sub,td,th){color:#52685a}.advanced-collection :is(input,textarea,select){background:white;color:#183e2a;border-color:#b6cbbb}.advanced-collection button,.advanced-collection .button{background:#edf5e9;color:#175a3e;border-color:#b6cbbb}.advanced-collection .primary{background:#087f5b;color:white}.advanced-collection .tabs{margin:20px 0}.advanced-collection .badge{color:#08704c}.advanced-collection a{color:#096645}

.app .subtitle{display:block!important;font-size:16px!important;color:#52675c;line-height:1.7;margin-top:6px}.app:has(#collection:not([hidden])) .heading-actions{display:none}.sidebar{scrollbar-width:thin;scrollbar-color:#a6bdab transparent}
@media(max-width:780px){.rail-group:first-child{grid-template-columns:repeat(3,minmax(0,1fr))}.rail-group:first-child .rail-button{font-size:13px}}

.app .topbar nav{display:none!important}
@media(max-width:780px){.app .topbar{display:flex!important;flex-wrap:wrap;justify-content:space-between;gap:12px}.app .topbar .brand{min-width:0}.app .topbar .account{margin-left:auto}}
