/* Proposed RLABS identity, 25 Sep 2026. Originals remain untouched. */
@font-face{font-family:'DM Sans';src:url('assets/branding/DM-Sans.ttf') format('truetype');font-weight:100 1000;font-style:normal;font-display:swap}
:root,html[data-theme="light"]{--system-font:'DM Sans',system-ui,sans-serif;--display-font:var(--system-font);--paper:#F7F8FA;--surface:#fff;--card:#fff;--surface-muted:#F2F4F7;--field:#fff;--ink:#111418;--muted:#596579;--ink-soft:#596579;--line:#E7EBF0;--accent:#B83B12;--orange:#FF6A00;--action-ink:#B83B12;--green:#C64117;--green-dark:#A9310C;--green-soft:#FFF1EA;--blue:#4568A0;--yellow:#996300;--sidebar-surface:#fff;--sidebar-ink:#536079;--sidebar-strong:#111418;--topbar-surface:#fff;--calendar-outside:#F7F8FA;--calendar-current:#FFF7F2;--studio-shadow:0 8px 24px rgba(17,20,24,.04);--studio-glow:transparent}
html[data-theme="dark"]{--system-font:'DM Sans',system-ui,sans-serif;--display-font:var(--system-font);--paper:#141619;--surface:#1D2025;--card:#1D2025;--surface-muted:#282C33;--field:#191C20;--ink:#F4F5F7;--muted:#ACB4C2;--ink-soft:#ACB4C2;--line:#353A42;--accent:#FFAA7D;--orange:#FF8A00;--action-ink:#FFAA7D;--green:#C64117;--green-dark:#A9310C;--green-soft:#392821;--sidebar-surface:#191C20;--sidebar-ink:#ACB4C2;--sidebar-strong:#F4F5F7;--topbar-surface:#191C20;--calendar-outside:#17191D;--calendar-current:#302620;--studio-glow:transparent}
body{font-size:14px;line-height:1.5}button,input,select,textarea{font-family:var(--system-font);font-size:14px}h1,h2,h3{font-weight:600;letter-spacing:-.035em}a:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
.app-shell .sidebar{width:240px;padding:24px 16px 16px}.app-shell .main{margin-left:240px}.app-shell .nav-item{font-size:14px;font-weight:500;min-height:42px}.nav-label{font-size:11px;letter-spacing:1px}.app-shell .nav-item.active:before{display:none}.app-shell .create-button{font-size:14px;margin-bottom:24px}.app-shell .topbar,.app-shell.header-compact .topbar{height:70px;padding:0 32px;border-bottom:1px solid var(--line)}.breadcrumb,.topbar .breadcrumb{font-size:13px}.view{max-width:1440px;padding:32px;margin:0 auto}
.rlabs-lockup,.agency-brand.rlabs-lockup{display:flex;align-items:center;justify-content:flex-start;gap:10px;color:var(--ink);text-decoration:none;background:none}.agency-brand.rlabs-lockup{padding:0 8px;margin-bottom:26px;min-height:48px}.rlabs-symbol{position:relative;display:block!important;width:42px!important;height:42px!important;flex:none;overflow:hidden;background:none!important;border-radius:0!important}.rlabs-symbol img,.agency-brand .rlabs-symbol img{display:block!important;position:absolute;width:56px;max-width:none;height:56px;left:-7px;top:-7px;object-fit:contain}.rlabs-wordmark{display:flex;flex-direction:column;gap:0}.rlabs-wordmark strong{font:600 25px/1.1 var(--system-font);letter-spacing:1px;color:var(--ink)}.rlabs-wordmark small{font:500 8px/1.8 var(--system-font);letter-spacing:2px;color:var(--muted)}.app-shell.sidebar-collapsed .rlabs-wordmark{display:none}.app-shell.sidebar-collapsed .agency-brand{padding:0;justify-content:center}.app-shell.sidebar-collapsed .rlabs-symbol img{height:56px}
.primary-button,.create-button,#loginSubmit{background:var(--green);color:#fff;border:1px solid transparent;font-weight:600;border-radius:10px;min-height:42px;box-shadow:none}.primary-button:hover,.create-button:hover,#loginSubmit:hover{background:var(--green-dark);color:#fff}.secondary-button,.v2-home .secondary{background:var(--surface);border:1px solid var(--line);color:var(--ink);min-height:40px;font-size:13px;font-weight:500}.text-button{font-size:13px}.page-heading{margin-bottom:28px}.page-heading h1{font-size:40px;font-weight:600;letter-spacing:-1.4px}.page-heading p{font-size:15px;max-width:760px;line-height:1.6}.page-heading .eyebrow,.eyebrow{font-size:11px;font-weight:500;letter-spacing:1.4px}
.card,.module-card,.integration-card,.stat-card,.portal-card{border-radius:14px;border:1px solid var(--line);background:var(--surface);box-shadow:var(--studio-shadow)}.card-header h2{font-size:20px;font-weight:600}.module-card h3,.integration-card h3{font-size:18px;font-weight:600}.stat-value{font-size:34px;font-weight:600}.card-header{gap:16px}.integration-card p{line-height:1.65}.integration-card summary{cursor:pointer;color:var(--action-ink)}.integration-grid{gap:20px}.stat-card{padding:24px}.stat-label{font-size:13px}
.studio-welcome:before,.welcome-orbit{display:none}.v2-home .heading h1{font-size:40px;font-weight:600;letter-spacing:-1.6px;line-height:1.2}.v2-home .heading h1 span{color:var(--ink)}.v2-home .heading p:last-child{font-size:15px}.v2-home .heading .date-label{font-size:12px}.studio-kicker{font-size:11px;font-weight:500;letter-spacing:1.2px}.studio-welcome{margin-bottom:32px;padding-bottom:24px}.v2-home .section-heading h2{font-size:24px;font-weight:600}.v2-home .profile-grid{gap:20px}.v2-home .profile-tile:first-child{grid-column:auto}.v2-home .profile-tile{padding:8px;border-radius:14px}.v2-home .profile-art,.v2-home .profile-tile:first-child .profile-art{height:140px;background:#EAEFF5;color:#536079}.v2-home .profile-tile[data-tone="1"] .profile-art{background:#E8F1ED;color:#466A5A}.v2-home .profile-tile[data-tone="2"] .profile-art{background:#EEEAF6;color:#6B5989}.v2-home .profile-tile[data-tone="3"] .profile-art{background:#FFF1E7;color:#926341}.profile-art:after{display:none}.profile-monogram{font-size:48px;letter-spacing:-2px}.profile-select strong{font-size:14px;font-weight:600}.profile-select small,.profile-latest{font-size:12px}.photo-upload{font-size:11px}.studio-desk{gap:32px;margin-bottom:32px}#v2Actions strong{font-size:14px}#v2Actions small{font-size:12px}.studio-desk .section-heading h2{font-size:20px}
html .signal-panel,html[data-theme="light"] .signal-panel{background:var(--surface);background-image:none;border-radius:14px;padding:24px;gap:24px;margin-bottom:32px;box-shadow:var(--studio-shadow)}.signal-panel:before{display:none}.signal-copy h2{font-size:24px;line-height:1.2;letter-spacing:-.7px}.signal-copy p{font-size:13px}.signal-step span{font-size:12px}.signal-step small{font-size:11px}.signal-step.is-done b{color:#fff;background:var(--green);border-color:var(--green)}.signal-next strong{font-size:14px}.signal-next .text-button{font-size:12px}.signal-line{background:var(--line)}
.content-row{background:var(--surface);border:1px solid var(--line)}.portal-brand{color:var(--ink)}.portal-shell .login-panel{background:var(--paper)}.portal-stats article{background:var(--surface);border:1px solid var(--line);border-radius:14px}.portal-app>header{background:var(--surface)}
@media(max-width:1100px){.view{padding:26px}.page-heading h1{font-size:34px}}
@media(max-width:720px){.app-shell .sidebar{width:240px}.app-shell .main,.app-shell.sidebar-collapsed .main{margin-left:0}.app-shell .topbar,.app-shell.header-compact .topbar{padding:0 16px}.view{padding:24px 16px}.page-heading h1,.v2-home .heading h1{font-size:32px;letter-spacing:-1px}.v2-home .section-heading h2{font-size:22px}.v2-home .profile-grid{gap:12px}.v2-home .profile-art,.v2-home .profile-tile:first-child .profile-art{height:112px}.card,.module-card,.integration-card{padding:18px}html .signal-panel{padding:20px}.signal-next{padding-left:0}.profile-info{padding:12px 4px}.profile-latest{padding:0 4px}.profile-art-label{left:10px;font-size:9px}.studio-kicker{font-size:10px}}
@media print{.app-shell .main{margin:0}.rlabs-wordmark strong{color:#111418}}

.view-reveal,.reveal-on-scroll{opacity:1;transform:none}
#metricsHistory{margin-top:24px}#metricsHistory table{font-size:13px}#metricsHistory th,#metricsHistory td{padding:12px}#metricsHistory .stat-card{min-width:0}

.portal-brand>.rlabs-wordmark{width:auto;height:auto;display:flex;flex-direction:column;background:none;border:0;border-radius:0;color:var(--ink)}
.v2-home dialog .primary{background:var(--green);color:#fff}

body.report-edition-page{font-family:var(--system-font);background:#fff;color:#111418}.report-edition-page h1,.report-edition-page h2,.report-edition-page h3{font-family:var(--system-font)}
@media print{body.report-edition-page{font-size:10pt;background:#fff;color:#111418}}

@media(max-width:720px){.app-shell .topbar{gap:8px}.topbar .breadcrumb{flex:1;min-width:0;width:0;overflow:hidden}.topbar .breadcrumb strong{max-width:100%;overflow:hidden;text-overflow:ellipsis}.topbar .top-actions{flex-shrink:0;gap:2px}.topbar .client-context{max-width:90px;min-width:0;padding:4px}.topbar .client-context select{max-width:80px;min-width:0}.connection-row{grid-template-columns:36px minmax(0,1fr);min-width:0}.connection-row>*{min-width:0;overflow-wrap:anywhere}.connection-row button{grid-column:2;min-width:0!important;width:100%}.connection-row .status{grid-column:2;justify-self:start}}
@media(max-width:720px){.app-shell .main{transition:none}.topbar{transition:none}}
