:root{--ry-ink:#192f3e;--ry-secondary:#6b7d89;--ry-dark:#0f2937;--ry-navy:#122f3f;--ry-teal:#0c7385;--ry-teal-light:#eaf7f7;--ry-line:#e4eaee;--ry-bg:#f5f7f9;--ry-white:#fff;--ry-shadow:0 9px 28px rgba(24,49,61,.045)}
body.ryos-portal{margin:0;background:var(--ry-bg);color:var(--ry-ink);font-family:'DM Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:14px;line-height:1.55}
.ryos-portal *{box-sizing:border-box}.ryos-portal a{color:inherit;text-decoration:none}.ryos-portal button,.ryos-portal input,.ryos-portal select,.ryos-portal textarea{font:inherit}.ryos-portal button{cursor:pointer}.ryos-portal .ryos-icon{width:19px;height:19px;flex-shrink:0}.ryos-portal :focus-visible{outline:3px solid #46b8ca;outline-offset:3px}.ryos-portal .ryos-visually-hidden{position:absolute!important;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;width:1px;overflow:hidden;white-space:nowrap}
/* Login is a standalone RealtyOS experience, separate from WP Admin */
.ryos-login-layout{min-height:100vh;min-height:100dvh;display:grid;grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr);background:#fff}.ryos-login-story{background:radial-gradient(circle at 20% 70%,rgba(43,145,157,.26),transparent 37%),linear-gradient(148deg,#0b2637,#14465a 77%,#106c79);color:#fff;display:flex;flex-direction:column;justify-content:space-between;padding:48px clamp(32px,5.3vw,92px);position:relative;overflow:hidden}.ryos-login-story:after{content:'';position:absolute;right:-105px;bottom:15%;height:340px;width:340px;border:1px solid rgba(255,255,255,.12);border-radius:32%;transform:rotate(31deg);pointer-events:none}.ryos-login-logo{display:flex;align-items:center;gap:12px;position:relative;z-index:1}.ryos-mark{width:42px;height:42px;display:inline-flex;justify-content:center;align-items:center;border-radius:12px;background:#fff;color:#16394a;font-family:Manrope,sans-serif;font-size:26px;letter-spacing:-3px;font-weight:800;flex-shrink:0}.ryos-mark span{color:#0fa7b3}.ryos-login-logo strong,.ryos-brand-words strong{display:block;font-family:Manrope,sans-serif;font-size:20px;letter-spacing:-.04em;line-height:1.3}.ryos-login-logo small,.ryos-brand-words small{display:block;font-size:10px;letter-spacing:.14em;opacity:.64;font-weight:800}.ryos-login-story-content{max-width:590px;position:relative;z-index:1;margin:36px 0}.ryos-login-kicker,.ryos-login-welcome{font-size:11px;letter-spacing:.18em;font-weight:800}.ryos-login-kicker{color:#9ae0e1}.ryos-login-story-content h1{font-family:Manrope,sans-serif;font-size:clamp(38px,4.15vw,66px);font-weight:800;line-height:1.13;letter-spacing:-.054em;margin:22px 0}.ryos-login-story-content p{color:#c2d5dd;max-width:520px;font-size:17px;line-height:1.75}.ryos-login-proof{display:grid;gap:13px;margin-top:40px;color:#d9eaee;font-size:14px}.ryos-login-story-foot{color:#a6c7d0;font-size:12px}.ryos-login-area{padding:48px 24px 26px;display:flex;flex-direction:column;align-items:center;justify-content:center}.ryos-login-card{width:min(100%,435px)}.ryos-mobile-logo{display:none}.ryos-login-welcome{color:#177989}.ryos-login-card h2{font-family:Manrope,sans-serif;font-size:clamp(28px,3vw,36px);line-height:1.18;letter-spacing:-.047em;margin:13px 0 10px}.ryos-login-card>p{margin:0 0 34px;color:var(--ry-secondary);font-size:14px}.ryos-login-card form{display:flex;flex-direction:column}.ryos-login-card form>label,.ryos-password-label label{font-weight:700;font-size:13px;margin-bottom:9px}.ryos-login-card form>input{width:100%;height:52px;padding:0 15px;border:1px solid #d7e0e6;border-radius:11px;background:#fff;outline:0;transition:border .15s,box-shadow .15s}.ryos-login-card form>input:focus{border-color:#138999;box-shadow:0 0 0 3px rgba(27,153,167,.13)}.ryos-login-card form>input::placeholder{color:#9ba9b3}.ryos-login-card .ryos-password-label{display:flex;justify-content:space-between;align-items:center;margin:22px 0 9px}.ryos-password-label label{margin:0}.ryos-password-label a{font-size:12px;color:#11788a;font-weight:700}.ryos-remember{display:flex;align-items:center;gap:9px;margin:20px 0 24px!important;color:#667986;font-size:13px!important;font-weight:500!important}.ryos-remember input{width:16px;height:16px;accent-color:#126b7c}.ryos-login-submit{width:100%;border:none;border-radius:11px;background:#174b60;color:white;height:52px;font-weight:800;display:flex;justify-content:center;align-items:center;gap:12px;transition:background .15s}.ryos-login-submit:hover{background:#0b687d}.ryos-login-help{border-top:1px solid var(--ry-line);margin-top:28px;padding-top:23px;font-size:13px;color:var(--ry-secondary);text-align:center}.ryos-login-copy{color:#8a99a3;font-size:12px;margin-top:62px}.ryos-login-error{background:#fff3f0;border:1px solid #ffc9be;color:#8c3428;padding:11px 14px;border-radius:9px;margin:0 0 18px;font-size:13px}
/* Authenticated workspace */
.ryos-layout{display:flex;min-height:100vh;min-height:100dvh}.ryos-sidebar{position:fixed;top:0;bottom:0;left:0;width:260px;background:#112d3c;color:#c5d7dd;z-index:120;display:flex;flex-direction:column;box-shadow:8px 0 28px rgba(12,41,57,.055)}.ryos-brand{padding:26px 24px 25px;border-bottom:1px solid rgba(255,255,255,.095);display:flex;align-items:center;gap:12px;color:#fff!important}.ryos-brand .ryos-mark{width:39px;height:39px;border-radius:10px;font-size:24px}.ryos-brand-words strong{font-size:19px}.ryos-brand-words small{font-size:9px;letter-spacing:.08em}.ryos-sidebar-inner{flex:1;overflow-y:auto;min-height:0;padding:26px 13px 16px;scrollbar-width:thin}.ryos-workspace-label,.ryos-nav-heading{font-size:10px;font-weight:800;letter-spacing:.145em;color:#718e9d;margin:0 11px 12px}.ryos-workspace-id{display:flex;align-items:center;gap:10px;border:1px solid rgba(218,242,248,.12);background:rgba(255,255,255,.048);border-radius:11px;padding:12px 11px;margin:0 3px 28px;min-width:0}.ryos-workspace-avatar{width:37px;height:37px;flex-shrink:0;background:#276074;color:#d7f5f5;border-radius:9px;display:grid;place-items:center;font-weight:800}.ryos-workspace-id>span:last-child{min-width:0}.ryos-workspace-id strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#f5fafc;font-size:12px}.ryos-workspace-id small{display:block;color:#9db7c2;font-size:10px;margin-top:2px}.ryos-sidebar-nav{display:flex;flex-direction:column;gap:3px}.ryos-sidebar-nav>a{color:#c5d8df;display:flex;align-items:center;gap:13px;min-height:43px;border-radius:9px;padding:10px 13px;font-weight:600;font-size:13px}.ryos-sidebar-nav>a:hover{background:rgba(255,255,255,.07);color:#fff}.ryos-sidebar-nav>a.ryos-selected{background:#216174;color:#fff;box-shadow:inset 3px 0 0 #62d9de}.ryos-sidebar-nav svg{color:#a5c2cc}.ryos-sidebar-nav>a.ryos-selected svg{color:#d3ffff}.ryos-nav-divider{margin-top:20px;margin-bottom:8px}.ryos-sidebar-foot{padding:16px;border-top:1px solid rgba(255,255,255,.095)}.ryos-foot-note{font-size:11px;color:#9ab8c1;display:flex;gap:7px;align-items:center;padding:7px}.ryos-foot-indicator{background:#71bdab;width:7px;height:7px;border-radius:50%}.ryos-sidebar-foot>a{display:flex;align-items:center;gap:10px;padding:10px 9px;font-size:12px;font-weight:600;border-radius:8px}.ryos-sidebar-foot>a:hover{background:rgba(255,255,255,.08)}.ryos-page{width:calc(100% - 260px);margin-left:260px;min-width:0}.ryos-topbar{height:73px;display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid var(--ry-line);padding:0 clamp(18px,3.5vw,50px);gap:14px;position:sticky;top:0;z-index:90}.ryos-top-left,.ryos-top-right{display:flex;align-items:center;gap:16px;min-width:0}.ryos-top-title{font-weight:800;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-family:Manrope,sans-serif}.ryos-add-contact{border:1px solid #d6e4e8;border-radius:9px;padding:8px 13px;display:flex;align-items:center;gap:8px;font-size:12px;font-weight:800;color:#19546a!important}.ryos-add-contact:hover{background:#eff7f8}.ryos-profile{position:relative}.ryos-profile summary{display:flex;align-items:center;gap:9px;cursor:pointer;list-style:none}.ryos-profile summary::-webkit-details-marker{display:none}.ryos-profile-avatar{background:#e2f2f5;border:1px solid #cde5e9;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;color:#205064;font-size:14px;font-weight:800}.ryos-profile-name{font-size:12px;font-weight:700;max-width:120px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ryos-profile-menu{position:absolute;right:0;top:calc(100% + 14px);border:1px solid #e0e8ee;border-radius:12px;background:white;min-width:230px;box-shadow:0 13px 28px rgba(26,47,57,.16);padding:12px 14px;z-index:20}.ryos-profile-menu span{display:block;color:#7a8d96;font-size:11px;word-break:break-word;padding-bottom:11px;border-bottom:1px solid #e8eef2}.ryos-profile-menu a{display:block;font-weight:700;padding:12px 0 1px;color:#164b60}.ryos-main{padding:34px clamp(18px,3.5vw,50px) 40px}.ryos-main-content{max-width:1220px;margin:0 auto}.ryos-page-heading{display:flex;justify-content:space-between;align-items:end;gap:16px;margin-bottom:24px}.ryos-eyebrow{font-weight:800;color:#1e8491;letter-spacing:.13em;font-size:10px}.ryos-page-heading h1{font-family:Manrope,sans-serif;font-weight:800;font-size:clamp(24px,2.5vw,32px);letter-spacing:-.05em;margin:7px 0 6px;line-height:1.23}.ryos-page-heading p{color:var(--ry-secondary);margin:0;font-size:13px}.ryos-current-date{color:#83949e;font-size:12px;white-space:nowrap}.ryos-workspace-switch{margin:0 0 22px;padding:13px 18px;background:#fff;border:1px solid var(--ry-line);border-radius:12px;display:flex;align-items:center;justify-content:space-between;gap:14px;box-shadow:var(--ry-shadow)}.ryos-workspace-switch-title{display:flex;gap:10px;align-items:center;min-width:0}.ryos-workspace-switch-title strong{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ryos-workspace-switch-title>span{border-radius:20px;background:#e8f5f5;color:#237081;font-size:10px;font-weight:800;padding:4px 9px;white-space:nowrap}.ryos-workspace-switch form{display:flex;gap:8px;align-items:center}.ryos-workspace-switch select{border:1px solid var(--ry-line);border-radius:7px;height:34px;padding:5px 8px;max-width:180px}.ryos-switch-button{border:1px solid #becfd6;background:#fff;padding:8px 12px;border-radius:7px;font-size:12px;font-weight:700}.ryos-flash{padding:10px 14px;border:1px solid #bde2d9;background:#eaf9f3;border-radius:10px;margin:0 0 18px;color:#1d745d;font-weight:600}.ryos-pilot-disclaimer{color:#90a0ab;font-size:11px;line-height:1.6;margin:28px 0 0}.ryos-menu-trigger{display:none;align-items:center;justify-content:center;width:38px;height:38px;border:1px solid var(--ry-line);border-radius:9px;background:#fff;color:#244757}.ryos-scrim{display:none}
/* Reuse original record/form views, but design them for the dedicated portal */
.ryos-system-content .ry-wrap{margin:0;max-width:none}.ryos-system-content .ry-hero{background:radial-gradient(circle at 92% 40%,rgba(100,213,207,.21),transparent 25%),linear-gradient(112deg,#153c50,#246b7e);box-shadow:0 14px 31px rgba(21,59,76,.12);border-radius:16px;padding:32px}.ryos-system-content .ry-hero h2{font-family:Manrope,sans-serif;color:white;font-size:21px;letter-spacing:-.03em}.ryos-system-content .ry-hero p{font-size:13px}.ryos-system-content .ry-stats{gap:15px;margin-top:19px}.ryos-system-content .ry-stats>div{padding:23px 21px;box-shadow:var(--ry-shadow);border-radius:13px}.ryos-system-content .ry-stats strong{font-family:Manrope,sans-serif;font-size:31px;letter-spacing:-.06em;color:#14394a}.ryos-system-content .ry-stats span{font-size:12px;font-weight:600;color:#7d909c}.ryos-system-content .ry-panel{border-radius:14px;padding:23px;box-shadow:var(--ry-shadow)}.ryos-system-content .ry-panel h2{font-family:Manrope,sans-serif;font-size:17px;letter-spacing:-.03em}.ryos-system-content .ry-section-heading{margin:0 0 17px}.ryos-system-content .ry-section-heading h2{font-family:Manrope,sans-serif;font-size:20px;letter-spacing:-.04em}.ryos-system-content .ry-section-heading p{font-size:12px}.ryos-system-content .ry-cols{gap:17px}.ryos-system-content .ry-item,.ryos-system-content .ry-record{padding:14px 0}.ryos-system-content .ry-record:hover{color:#117589}.ryos-system-content .ry-field{font-size:12px;gap:8px;margin:0 0 18px}.ryos-system-content .ry-field input,.ryos-system-content .ry-field textarea,.ryos-system-content .ry-field select{background:white;min-height:43px;padding:9px 12px;border:1px solid #d7e1e6;border-radius:9px;font-size:13px;box-shadow:none;color:#193744;max-width:100%}.ryos-system-content .ry-field input:focus,.ryos-system-content .ry-field textarea:focus,.ryos-system-content .ry-field select:focus{border-color:#13899b;outline:2px solid rgba(47,152,162,.13)}.ryos-system-content .ry-check{display:flex;flex-direction:row;font-size:12px;font-weight:500}.ryos-system-content .ry-check input{width:17px;height:17px;min-height:auto;accent-color:#107d8b}.ryos-system-content .button{border:1px solid #cad8dd;padding:10px 14px;border-radius:9px;background:#fff;color:#255568;font-size:12px;font-weight:800;display:inline-block;line-height:1.5;cursor:pointer}.ryos-system-content .button:hover{background:#eaf4f5}.ryos-system-content .button-primary,.ryos-system-content .ry-save{background:#174b60!important;color:#fff!important;border-color:#174b60!important;min-height:43px!important}.ryos-system-content .button-primary:hover,.ryos-system-content .ry-save:hover{background:#0f6a7c!important}.ryos-system-content .button-link-delete{border:0;background:transparent;padding:4px 0;color:#b33434;text-decoration:underline;cursor:pointer;font-size:12px}.ryos-system-content .ry-estimate{font-size:13px}.ryos-system-content .ry-start{max-width:670px}.ryos-system-content .ry-panel hr{border:0;border-top:1px solid #edf0f3;margin:22px 0}.ryos-system-content .ry-panel h3{margin:0 0 12px}.ryos-system-content p{line-height:1.65}
@media (max-width:1180px){.ryos-sidebar{width:235px}.ryos-page{margin-left:235px;width:calc(100% - 235px)}.ryos-sidebar-nav>a{gap:10px;padding-left:11px}.ryos-sidebar-inner{padding-left:9px;padding-right:9px}.ryos-main{padding:28px 25px}}
@media (max-width:920px){.ryos-sidebar{width:260px;transform:translateX(-105%);transition:transform .22s ease;box-shadow:10px 0 34px rgba(8,32,44,.23)}body.ryos-nav-open .ryos-sidebar{transform:translateX(0)}body.ryos-nav-open .ryos-scrim{display:block;position:fixed;inset:0;background:rgba(7,21,30,.45);z-index:110}.ryos-page{margin:0;width:100%}.ryos-menu-trigger{display:inline-flex}.ryos-topbar{height:67px;padding:0 20px}.ryos-main{padding:24px 20px}.ryos-login-layout{grid-template-columns:1fr}.ryos-login-story{display:none}.ryos-login-area{min-height:100vh;padding:42px 22px 26px}.ryos-mobile-logo{display:flex;align-items:center;gap:10px;margin-bottom:36px;font-size:23px;font-family:Manrope,sans-serif}.ryos-mobile-logo .ryos-mark{background:#16475a;color:white}.ryos-login-copy{margin-top:55px}}
@media(max-width:650px){.ryos-topbar{height:63px;padding:0 15px}.ryos-top-title{font-size:13px}.ryos-profile-name,.ryos-add-contact span{display:none}.ryos-add-contact{padding:8px}.ryos-top-left,.ryos-top-right{gap:9px}.ryos-main{padding:20px 13px 30px}.ryos-page-heading{align-items:flex-start;flex-direction:column;margin-bottom:19px;gap:5px}.ryos-page-heading h1{font-size:25px}.ryos-current-date{font-size:11px}.ryos-workspace-switch{padding:12px;flex-direction:column;align-items:stretch;gap:11px}.ryos-workspace-switch-title{justify-content:space-between}.ryos-workspace-switch form{width:100%}.ryos-workspace-switch select{flex:1;max-width:none}.ryos-system-content .ry-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.ryos-system-content .ry-stats>div{padding:14px 10px}.ryos-system-content .ry-stats strong{font-size:23px}.ryos-system-content .ry-stats span{font-size:10px}.ryos-system-content .ry-hero{padding:22px}.ryos-system-content .ry-cols{grid-template-columns:1fr}.ryos-system-content .ry-panel{padding:18px}.ryos-system-content .ry-record{font-size:12px;word-break:break-word}}
@media(prefers-reduced-motion:reduce){.ryos-portal *, .ryos-portal *::before,.ryos-portal *::after{transition-duration:.01ms!important;animation-duration:.01ms!important}}
/* Structure for existing module views (the original WP admin stylesheet is not loaded on this portal) */
.ryos-system-content .ry-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.ryos-system-content .ry-cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
.ryos-system-content .ry-panel{background:#fff;border:1px solid var(--ry-line);min-width:0}
.ryos-system-content .ry-panel h2{margin:0 0 16px}
.ryos-system-content .ry-field{display:flex;flex-direction:column;gap:8px;font-weight:700;color:#375161}
.ryos-system-content .ry-field input,.ryos-system-content .ry-field textarea,.ryos-system-content .ry-field select{width:100%}
.ryos-system-content .ry-field textarea{min-height:92px}
.ryos-system-content .ry-field.ry-check{flex-direction:row;align-items:flex-start;font-weight:500}
.ryos-system-content .ry-field.ry-check input{width:17px;flex:0 0 17px}
.ryos-system-content .ry-record{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid #eef1f4}
.ryos-system-content .ry-record small,.ryos-system-content .ry-item small{display:block;font-size:11px;color:#85939d;margin-top:3px;font-weight:500}
.ryos-system-content .ry-item{border-bottom:1px solid #eef1f4}
.ryos-system-content .ry-item p,.ryos-system-content .ry-muted{color:#748692;font-size:12px}
.ryos-system-content .ry-section-heading p{color:#7a8995}
.ryos-system-content .ry-estimate{background:#eaf5f6;border-radius:10px;padding:14px;margin:8px 0 15px}
.ryos-system-content .ry-start{background:#fff;border:1px solid var(--ry-line);border-radius:15px;padding:26px;box-shadow:var(--ry-shadow)}
@media(max-width:650px){.ryos-system-content .ry-cols{grid-template-columns:1fr}}
