:root{--rl-mint:#00C9B7;--rl-aubergine:#2E0B3F;--rl-steel:url('/customer/system-steel-v31.svg'),radial-gradient(ellipse at 8% 20%,rgba(46,11,63,.065),transparent 55%),linear-gradient(112deg,#ccd0d6,#e4e7eb 22%,#c1c5ce 46%,#d9dce3 70%,#bfc2cd)}
body.rl-system{background-image:var(--rl-steel);background-size:1600px 1200px,auto,auto;font-family:Inter,system-ui,sans-serif;min-height:100vh}.rl-system :is(.card,.panel,.tile,.metric,.admin-card,.content-card,#detail,fieldset){background:#f7f8fa;border:1px solid #a1a8b3;border-radius:12px;box-shadow:inset 0 1px #fff,0 6px 16px #28304218;color:#292733}.rl-system :is(.toolbar,.tabs){gap:10px;flex-wrap:wrap}.rl-system :is(button,.button,a.button){border-radius:8px;min-height:44px;padding:10px 16px;font:inherit;background:linear-gradient(#f6f8f9,#dce2e7);border:1px solid #919daa;color:#30323e;cursor:pointer;transition:box-shadow .15s,background .15s}.rl-system :is(button,.button):hover{background:#e5ebed;box-shadow:0 0 0 2px #00c9b72b}.rl-system :is(button,.button):active{box-shadow:inset 0 2px 5px #24344330}.rl-system :is(.button.primary,.button.mint,button[type=submit]){background:var(--rl-mint);color:#123034;border-color:#357c75}.rl-system :is(button,.button)[disabled]{opacity:.5;cursor:not-allowed;box-shadow:none}.rl-system [aria-busy=true]{cursor:progress}.rl-system :is(input,select,textarea){background:#fcfdfd;color:#292733;border:1px solid #8d99a5;border-radius:7px;max-width:100%}.rl-system :is(button,a,input,select,textarea):focus-visible{outline:3px solid var(--rl-aubergine);outline-offset:3px}.rl-system :is(table,.document,.invoice,.quote){background:#fcfdfd;color:#292733}.rl-system :is(th,td){border-color:#c3cbd2}.rl-system :is(.error,.alert-error,[role=alert]):not(:empty){background:linear-gradient(125deg,#fff9,#f4e9edb8);border:1px solid #b66b7e;border-radius:12px;padding:16px;color:#63263a;box-shadow:0 0 12px #ba456220;backdrop-filter:blur(10px)}.rl-system :is(.success,.receipt){border-left:3px solid var(--rl-mint);background:#f9fcfc;color:#253d38}.rl-system :is(aside nav,#unit-list){gap:0}.rl-system :is(aside nav,#unit-list)>:is(button,a){display:flex;width:100%;border-radius:0;text-align:left;min-height:46px;align-items:center}.rl-system :is([aria-current=page],button.active,.tab.active){border-left:3px solid var(--rl-mint)!important;background:#e6eeee}.rl-system>header,.rl-system .admin-header{background-image:var(--rl-steel);background-size:1600px 1200px,auto,auto;color:#302039;border-bottom:1px solid #9ba5b0}.rl-system>header a{color:inherit}.rl-system [hidden]{display:none!important}
.rl-edge-host{position:relative}.rl-edge{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:1;overflow:hidden;border-radius:inherit;mask:linear-gradient(#000 0 0) top/100% 5px no-repeat,linear-gradient(#000 0 0) bottom/100% 5px no-repeat,linear-gradient(#000 0 0) left/5px 100% no-repeat,linear-gradient(#000 0 0) right/5px 100% no-repeat}.rl-edge path{fill:none;stroke:var(--rl-mint);stroke-width:1.4;stroke-dasharray:15 85;opacity:.4;animation:rl-travel 12s linear infinite}.rl-edge-host:focus-within>.rl-edge path,.rl-edge-host:hover>.rl-edge path{opacity:.9;animation-duration:7s}.rl-logo-wrap{display:inline-block;position:relative;max-width:100%;line-height:0}.rl-logo-wrap img{display:block;max-width:100%;filter:none}.rl-logo-edge{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}.rl-logo-edge path{fill:none;stroke:var(--rl-mint);stroke-width:1px;vector-effect:non-scaling-stroke;stroke-linejoin:round;stroke-dasharray:15 85;animation:rl-travel 7s linear infinite}@keyframes rl-travel{to{stroke-dashoffset:-100}}@media(prefers-reduced-motion:reduce){.rl-edge path,.rl-logo-edge path{animation:none;stroke-dasharray:none;opacity:.3}.rl-system *{transition:none!important}}@media(max-width:760px){.rl-system :is(.toolbar,.tabs){max-width:100%;overflow-x:auto}.rl-system :is(.card,.panel,#detail){padding:18px}.rl-system :is(h1,h2,h3,p,a){overflow-wrap:anywhere}.rl-system :is(button,.button){min-height:44px}}

.rl-system #unit-list>:is(button,a){flex-direction:column;align-items:flex-start;gap:4px}.rl-system #unit-list small{font-size:.8em}

.rl-system .site-header .brand img{filter:none}

/* Preserve page-owned foreground colors, especially cinematic town pages. */
.rl-system .screen{color:#fff}.rl-system .site-header .staff-login{color:#302039;border-color:#6d6176}

.rl-admin-sidebar .rl-nav-icon{width:19px;height:19px;min-width:19px;flex:none;margin-right:12px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}.rl-admin-sidebar [aria-current=page] .rl-nav-icon,.rl-admin-sidebar [aria-current=true] .rl-nav-icon{color:#00C9B7}

/* Exact existing wordmark paths, including holes: short travelling edge segments. */
.rl-logo-edge path{fill:none;stroke:#00C9B7;stroke-width:1px;stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke;stroke-dasharray:6 94;animation:rl-travel 9s linear infinite}
.rl-logo-edge .rl-logo-trace{stroke-dasharray:none;animation:none;opacity:.17;stroke-width:.65px}
.rl-logo-edge .rl-logo-halo{stroke-width:1.5px;opacity:.55;filter:blur(1.4px)}
.rl-logo-edge .rl-logo-core{stroke-width:.85px;opacity:.95;filter:drop-shadow(0 0 1.5px #00c9b7)}
@media(prefers-reduced-motion:reduce){.rl-logo-edge .rl-logo-halo,.rl-logo-edge .rl-logo-core{animation:none;opacity:.3}.rl-logo-edge .rl-logo-trace{opacity:.17}}

/* Public cinematic pages retain their dark canvas; light planning panels own their text colors. */
.rl-system:has(>.site-header){background:#140c1b;color:#fff}
.rl-system>.site-header{background:#281332f5;color:#fff}
.rl-system .site-header .brand,.rl-system .site-header .header-actions>a:not(.header-cta),.rl-system .site-header .staff-login{color:#fff;border-color:#ffffff66}
.rl-system .planning-section{background-image:var(--rl-steel);color:#302039}
.rl-system .planning-section :is(h2,h3,.eyebrow){color:#302039}
.rl-system .planning-section :is(.planning-heading>p,.planning-steps p){color:#493e50}
.rl-system .planning-section :is(h2 span,.planning-steps li>span,.planning-contact a){color:#12695f;background:none;-webkit-text-fill-color:currentColor}
.rl-system .planning-steps li{opacity:1;border-color:#63586d55}
.rl-system .planning-steps:before{background:#63586d55}
/* Compact, continuous contour light; the original fill never pulses. */
.rl-logo-edge .rl-logo-halo{filter:none;opacity:.32;stroke-width:1.4px}
.rl-logo-edge .rl-logo-core{filter:none;stroke-width:.9px}
/* The image and its contour overlay must share exactly the same box. */
.rl-logo-wrap{width:fit-content!important;max-width:100%}
.rl-logo-wrap>img{transform:none!important;margin:0!important}

/* 2026-10-19 design audit batch: existing light-steel dialog role, screen-only.
   Scoped to internal portal/investor dialogs; recipient and document outputs excluded. */
@media screen {
body:is(.rl-investor-shell,.rl-investor-mobile-pitch,.rl-entry) :is(dialog.rl-account-panel,dialog.rl-investor-library,dialog.ipm-document-sheet,dialog.rl-pwa-install-help){background-image:var(--rl-steel);background-size:1600px 1200px,auto,auto;color:#29323d;font-family:Inter,system-ui,sans-serif}
body:is(.rl-investor-shell,.rl-investor-mobile-pitch,.rl-entry) .rl-account-panel{padding:18px;border-radius:12px;font-size:16px;line-height:1.5}
body:is(.rl-investor-shell,.rl-investor-mobile-pitch,.rl-entry) .rl-account-panel>h2{font-size:26px;line-height:1.5;font-weight:700;margin:0 72px 12px 0}
body:is(.rl-investor-shell,.rl-investor-mobile-pitch,.rl-entry) .rl-account-panel h3:not(.rl-account-summary h3){font-size:16px;line-height:1.2;margin:20px 0 6px}
body:is(.rl-investor-shell,.rl-investor-mobile-pitch,.rl-entry) .rl-account-panel :is(input,select,textarea){background:#fcfdfd;color:#292733;border-color:#8d99a5;border-radius:7px;font:inherit}
body:is(.rl-investor-shell,.rl-investor-mobile-pitch,.rl-entry) .rl-account-panel :is(button,a.button),body.rl-investor-mobile-pitch dialog.ipm-document-sheet>:is(a,button){background:linear-gradient(#f6f8f9,#dce2e7);background-clip:padding-box;color:#30323e;border:1px solid #919daa;border-radius:8px;min-height:44px;height:auto;padding:10px 12px;font:inherit}
body:is(.rl-investor-shell,.rl-investor-mobile-pitch,.rl-entry) .rl-account-panel input[type="checkbox"]{display:inline-block;width:auto;flex:none;accent-color:#27b8aa}
body:is(.rl-investor-shell,.rl-investor-mobile-pitch,.rl-entry) .rl-account-panel label:has(>input[type="checkbox"]){display:flex;align-items:center;gap:10px;min-height:44px}
body:is(.rl-investor-shell,.rl-investor-mobile-pitch,.rl-entry) .rl-account-panel .rl-account-close{margin-top:-52px}
body.rl-investor-mobile-pitch dialog.ipm-document-sheet>:is(a,button){font-size:15px;line-height:22px}
body.rl-investor-mobile-pitch dialog.rl-pwa-install-help>button{background:linear-gradient(#f6f8f9,#dce2e7);background-clip:padding-box;color:#30323e;border:1px solid #919daa;border-radius:8px;min-height:44px;padding:10px 12px}
}
