/* RFS Control / operations workspace. All shell styles scoped to the internal area. */
.rfs-cc-auth{--cc-bg:#f4f6f9;--cc-ink:#152b3d;--cc-muted:#64788a;--cc-line:#dce4eb;--cc-blue:#1267b2;--cc-navy:#102334;background:var(--cc-bg)!important;color:var(--cc-ink);font-size:14px}
.rfs-cc-shell{display:grid;grid-template-columns:248px minmax(0,1fr);min-height:100vh}.rfs-cc-rail{height:100vh;position:sticky;top:0;display:flex;flex-direction:column;background:#102536;color:#b5c6d3;padding:23px 14px 16px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#456074 #102536;z-index:20}.rfs-cc-brand{display:flex;align-items:center;gap:11px;padding:0 10px 26px;color:#fff!important;text-decoration:none}.rfs-cc-brand img{width:52px;height:44px;object-fit:contain;background:#fff;border-radius:8px;padding:5px}.rfs-cc-brand strong,.rfs-cc-brand small{display:block}.rfs-cc-brand strong{font-size:16px;letter-spacing:.02em}.rfs-cc-brand small{font-size:9px;letter-spacing:.14em;color:#8eaabe;margin-top:3px}.rfs-cc-rail nav{flex:1}.rfs-cc-navgroup{margin:0 0 22px}.rfs-cc-navgroup>span{display:block;font-size:10px;letter-spacing:.13em;font-weight:700;color:#8fa8bb;margin:0 12px 8px}.rfs-cc-navgroup a{display:flex;align-items:center;gap:11px;min-height:40px;padding:8px 11px;margin:2px 0;border-radius:7px;text-decoration:none;color:#c5d3df;font-size:13px;font-weight:550;line-height:1.35}.rfs-cc-navgroup a svg{width:18px;height:18px;flex:none;opacity:.85}.rfs-cc-navgroup a:hover{background:#1d3a4f;color:#fff}.rfs-cc-navgroup a.active{color:white;background:#23547a;box-shadow:inset 3px 0 #64baf8}.rfs-cc-railfoot{display:flex;align-items:center;gap:10px;border-top:1px solid #324a5c;padding:16px 4px 0;margin-top:auto}.rfs-cc-avatar,.rfs-cc-clientmark{display:grid;place-items:center;border-radius:9px;background:#d9eafb;color:#175c94;font-weight:800;flex:none}.rfs-cc-avatar{width:35px;height:35px}.rfs-cc-railfoot>div{min-width:0;flex:1}.rfs-cc-railfoot strong,.rfs-cc-railfoot small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rfs-cc-railfoot strong{color:#fff;font-size:12px}.rfs-cc-railfoot small{font-size:11px}.rfs-cc-railfoot>a{color:#b9d7ed!important;text-decoration:none;padding:8px}.rfs-cc-work{min-width:0}.rfs-cc-top{height:76px;position:sticky;top:0;z-index:10;display:flex;align-items:center;gap:22px;padding:0 30px;border-bottom:1px solid var(--cc-line);background:rgba(255,255,255,.97)}.rfs-cc-top>div{margin-right:auto}.rfs-cc-top small,.rfs-cc-top strong{display:block}.rfs-cc-top small{font-size:10px;color:var(--cc-muted);letter-spacing:.12em;font-weight:700}.rfs-cc-top strong{font-size:15px;color:var(--cc-ink);margin-top:2px}.rfs-cc-search{width:min(370px,37vw);margin:0}.rfs-cc-search input{width:100%;padding-left:14px!important;min-height:40px!important;border-radius:7px!important;background:#f5f7fa!important}.rfs-cc-website{font-size:12px;font-weight:650;text-decoration:none;white-space:nowrap}.rfs-cc-main{padding:30px;max-width:1680px;margin:auto;min-width:0}.rfs-cc-bottom{padding:12px 30px 28px;color:var(--cc-muted);font-size:12px}.rfs-cc-sr{position:absolute;width:1px;height:1px;clip:rect(0,0,0,0);overflow:hidden;white-space:nowrap}.rfs-cc-welcome,.rfs-cc-clienthero{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.rfs-cc-welcome h1,.rfs-cc-clienthero h1{font-size:clamp(26px,3vw,36px);letter-spacing:-.045em;color:#122e46;margin:6px 0 5px;line-height:1.15;font-weight:760}.rfs-cc-eyebrow{font-size:10px;font-weight:800;letter-spacing:.16em;color:#356b97}.rfs-cc-welcome p,.rfs-cc-clienthero p{margin:0;color:var(--cc-muted)}.rfs-cc-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.rfs-cc-auth .button,.rfs-cc-auth button{border-radius:7px;box-shadow:none;border-color:#cbd8e2;padding:9px 13px;font-size:13px;font-weight:650;background:#fff;color:#24465e}.rfs-cc-auth .button-primary,.rfs-cc-auth .rfs-care-button{background:#1267b2;border-color:#1267b2;color:#fff}.rfs-cc-auth .button:hover,.rfs-cc-auth button:hover{transform:none;box-shadow:0 2px 8px #12344a16;border-color:#8fabc0}.rfs-cc-auth .button-primary:hover{background:#0d5798;color:white}.rfs-cc-filter{display:flex;justify-content:space-between;gap:15px;align-items:center;padding:13px 16px;background:white;border:1px solid var(--cc-line);border-radius:9px;margin-bottom:18px}.rfs-cc-filter form{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.rfs-cc-filter label{display:flex;align-items:center;gap:12px;font-size:12px}.rfs-cc-filter select{max-width:260px}.rfs-cc-filter>span{font-size:12px;color:var(--cc-muted)}.rfs-cc-auth input:not([type=checkbox]):not([type=hidden]),.rfs-cc-auth select,.rfs-cc-auth textarea{border-radius:7px;border:1px solid #c9d6e0;min-height:39px;background:white;padding:9px 11px;font-size:14px}.rfs-cc-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px}.rfs-cc-metric{display:flex;flex-direction:column;gap:6px;min-width:0;background:#fff;border:1px solid var(--cc-line);padding:17px;border-radius:10px;text-decoration:none;color:var(--cc-ink)!important;box-shadow:0 2px 4px #152b3d06}.rfs-cc-metric:hover{border-color:#a1bfd8;background:#f9fcff}.rfs-cc-metric>div{display:flex;justify-content:space-between;align-items:center;color:#71869a;margin-bottom:6px}.rfs-cc-metric svg{width:34px;height:34px;border-radius:7px;padding:8px;background:#eaf2fb;color:#1769af}.rfs-cc-metric small{font-size:12px;color:#576c7d;font-weight:650}.rfs-cc-metric strong{font-size:32px;line-height:1.1;letter-spacing:-.04em;font-variant-numeric:tabular-nums}.rfs-cc-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:18px}.rfs-cc-panel{background:white;border:1px solid var(--cc-line);border-radius:10px;padding:20px;min-width:0;margin-bottom:18px;box-shadow:0 2px 5px #10233406}.rfs-cc-grid>.rfs-cc-panel{margin-bottom:0}.rfs-cc-panel h2{font-size:19px;line-height:1.2;margin:0 0 12px;letter-spacing:-.02em}.rfs-cc-panelhead{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px}.rfs-cc-panelhead h2{margin:3px 0 0}.rfs-cc-panelhead small{font-size:10px;color:#6a7c8b;letter-spacing:.12em;font-weight:750}.rfs-cc-list{display:grid;gap:0;margin:10px 0}.rfs-cc-list-row{display:flex;align-items:center;gap:12px;border-bottom:1px solid #e7edf2;min-height:68px;padding:12px 3px;text-decoration:none;color:#203c51!important}.rfs-cc-list-row:last-child{border-bottom:0}.rfs-cc-list-row:hover{background:#f6f9fc}.rfs-cc-list-row>div:not(.rfs-cc-datebox){min-width:0;flex:1}.rfs-cc-list-row strong,.rfs-cc-list-row small{display:block;overflow-wrap:anywhere}.rfs-cc-list-row strong{font-size:14px;font-weight:700}.rfs-cc-list-row small{font-size:12px;color:#62778a;margin-top:3px}.rfs-cc-datebox{font-size:12px;font-weight:700;color:#1769af;background:#eaf2fb;padding:9px;border-radius:7px;flex:none}.rfs-cc-pill{display:inline-flex;align-items:center;padding:5px 8px;border-radius:5px;background:#edf2f7;color:#38566c;font-size:11px;font-weight:650;white-space:nowrap}.rfs-cc-muted,.rfs-cc-empty{color:#64788a;font-size:13px}.rfs-cc-empty{padding:22px;text-align:center;background:#f5f7fa;border-radius:7px}.rfs-cc-breadcrumb{font-size:12px;color:var(--cc-muted);margin-bottom:14px}.rfs-cc-clienthero{justify-content:flex-start;background:white;border:1px solid var(--cc-line);border-radius:11px;padding:24px;margin-bottom:15px}.rfs-cc-clientmark{height:64px;width:64px;font-size:23px}.rfs-cc-clienthero>div:nth-child(2){flex:1;min-width:0;overflow-wrap:anywhere}.rfs-cc-clienthero h1{font-size:clamp(22px,3vw,30px)}.rfs-cc-meta{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.rfs-cc-meta span{font-size:12px;color:#345b78;background:#edf3f8;padding:4px 8px;border-radius:4px}.rfs-cc-tabs{display:flex;gap:5px;flex-wrap:wrap;border-bottom:1px solid var(--cc-line);margin-bottom:19px;padding-bottom:6px}.rfs-cc-tabs a{padding:9px 11px;text-decoration:none;color:#526b80;font-weight:650;font-size:12px;border-radius:5px}.rfs-cc-tabs a.active{background:#e1edf8;color:#145b9b;box-shadow:inset 0 -2px #1267b2}.rfs-cc-tabs a:hover{background:#eaf1f7}.rfs-cc-dl{display:grid;grid-template-columns:minmax(100px,.6fr) minmax(0,1fr);gap:10px;padding:0;margin:0 0 15px}.rfs-cc-dl dt{color:var(--cc-muted)}.rfs-cc-dl dd{margin:0;font-weight:650;overflow-wrap:anywhere}.rfs-cc-compose{border:1px solid #c9dae8;border-radius:8px;margin:12px 0 20px;background:#f6faff;padding:15px}.rfs-cc-compose summary{font-weight:750;cursor:pointer;color:#17639e}.rfs-cc-form{margin-top:14px;display:grid;gap:12px}.rfs-cc-form label{display:flex!important;flex-direction:column;gap:5px;font-size:13px;font-weight:650;margin:0!important}.rfs-cc-form input,.rfs-cc-form textarea,.rfs-cc-form select{width:100%;max-width:100%}.rfs-cc-form button{justify-self:start}.rfs-cc-ticket{border:1px solid #d6e2eb;background:white;border-radius:9px;padding:20px;margin:16px 0}.rfs-cc-ticket header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.rfs-cc-ticket header h2{font-size:19px;margin:6px 0 0}.rfs-cc-ticket header small,.rfs-cc-event small{font-size:12px;color:#60778c}.rfs-cc-event{border-left:3px solid #b8d4ea;padding:12px 15px;background:#f7f9fc;margin:10px 0;border-radius:0 6px 6px 0}.rfs-cc-event p{margin:6px 0 0}.rfs-cc-text{white-space:pre-wrap;overflow-wrap:anywhere}.rfs-cc-private{background:#fff4d9;color:#654e1b;padding:9px;border-radius:4px;white-space:pre-wrap;overflow-wrap:anywhere}.rfs-cc-auth .rfs-staff{max-width:none;margin:0;padding:0}.rfs-cc-auth .rfs-staff-hero{background:none;color:var(--cc-ink);box-shadow:none;border:0;border-radius:0;padding:0;margin:0 0 20px;align-items:center}.rfs-cc-auth .rfs-staff-hero:before{display:none}.rfs-cc-auth .rfs-staff-hero h1{color:var(--cc-ink);font-size:28px;margin:0 0 5px}.rfs-cc-auth .rfs-staff-hero p{color:var(--cc-muted);font-size:14px}.rfs-cc-auth .rfs-staff-eyebrow,.rfs-cc-auth .rfs-staff-meta,.rfs-cc-auth .rfs-staff-nav{display:none}.rfs-cc-auth .rfs-staff-hero .button-primary{background:#1267b2;color:#fff;border-color:#1267b2}.rfs-cc-auth .rfs-staff-hero .button:not(.button-primary){background:white;color:#24465e;border-color:#cbd8e2}.rfs-cc-auth .rfs-staff-panel,.rfs-cc-auth .rfs-staff-toolbar,.rfs-cc-auth .rfs-care-admin{border-radius:10px;border:1px solid var(--cc-line);box-shadow:0 2px 5px #10233406;background:#fff;padding:20px}.rfs-cc-auth .rfs-staff-panel .rfs-staff-panel{border:0;box-shadow:none;padding:0}.rfs-cc-auth .rfs-staff-panel--settings{display:none}.rfs-cc-auth .rfs-staff-filter{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px}.rfs-cc-auth .rfs-staff-filter label{min-width:180px;flex:1;font-size:12px}.rfs-cc-auth .rfs-staff-filter-actions{flex-wrap:wrap}.rfs-cc-auth .rfs-staff-table{border-radius:7px;border-color:#dce4eb}.rfs-cc-auth .rfs-staff-table th{background:#f4f7fa;font-size:10px;color:#4d6578;padding:12px}.rfs-cc-auth .rfs-staff-table td{font-size:13px;padding:13px 12px}.rfs-cc-auth .rfs-staff-table td strong{font-size:13px;display:inline}.rfs-cc-auth .rfs-staff-table td:nth-child(4) strong{display:inline-block;padding:3px 7px;background:#edf2f7;color:#345970;border-radius:4px;font-size:11px}.rfs-cc-auth .rfs-staff-table td a:not(.button){font-weight:650;text-decoration:none}.rfs-cc-auth .rfs-staff-table td a:not(.button):hover{text-decoration:underline}.rfs-cc-auth .rfs-care-admin h2{scroll-margin-top:95px}.rfs-cc-auth .rfs-care-admin .rfs-care-item{border-radius:7px;background:#f8fafc}.rfs-cc-customer-wishes .rfs-cc-form input,.rfs-cc-customer-wishes .rfs-cc-form select,.rfs-cc-customer-wishes .rfs-cc-form textarea{display:block;padding:10px;border:1px solid #bdcdd9;border-radius:6px;background:white;color:#18394d;font:inherit}.rfs-cc-customer-wishes .rfs-cc-ticket{background:white}.rfs-cc-customer-wishes .rfs-cc-list-row{text-decoration:none}.rfs-cc-customer-wishes .rfs-cc-form button{cursor:pointer}
@media(max-width:1180px){.rfs-cc-shell{grid-template-columns:215px minmax(0,1fr)}.rfs-cc-main{padding:22px}.rfs-cc-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.rfs-cc-grid{grid-template-columns:1fr}.rfs-cc-clienthero{flex-wrap:wrap}.rfs-cc-clienthero .rfs-cc-actions{width:100%;justify-content:flex-start}}
@media(max-width:760px){.rfs-cc-shell{display:block}.rfs-cc-rail{position:relative;height:auto;padding:13px 12px}.rfs-cc-brand{padding:0 0 12px}.rfs-cc-brand img{width:42px;height:35px}.rfs-cc-rail nav{display:flex;overflow-x:auto;gap:8px;padding-bottom:5px}.rfs-cc-navgroup{display:flex;gap:4px;margin:0}.rfs-cc-navgroup>span{display:none}.rfs-cc-navgroup a{white-space:nowrap;min-height:35px;padding:7px 9px;font-size:12px}.rfs-cc-railfoot{padding:8px 4px 0}.rfs-cc-top{position:relative;height:auto;padding:12px;gap:10px;flex-wrap:wrap}.rfs-cc-top>div{flex:1}.rfs-cc-search{order:3;width:100%}.rfs-cc-main{padding:16px 12px}.rfs-cc-welcome{align-items:flex-start;flex-direction:column}.rfs-cc-actions{justify-content:flex-start}.rfs-cc-filter{align-items:flex-start;flex-direction:column}.rfs-cc-filter form{width:100%}.rfs-cc-filter label{width:100%;flex-wrap:wrap}.rfs-cc-kpis{gap:8px}.rfs-cc-metric{padding:12px}.rfs-cc-metric strong{font-size:26px}.rfs-cc-panel{padding:14px}.rfs-cc-clienthero{padding:16px;gap:12px}.rfs-cc-clientmark{width:44px;height:44px;font-size:16px}.rfs-cc-tabs{flex-wrap:nowrap;overflow-x:auto}.rfs-cc-tabs a{white-space:nowrap}.rfs-cc-list-row{gap:7px}.rfs-cc-pill{white-space:normal}.rfs-cc-datebox{font-size:10px;padding:6px}.rfs-cc-auth .rfs-staff-filter label{min-width:0;width:100%}.rfs-cc-auth .rfs-staff-panel,.rfs-cc-auth .rfs-staff-toolbar,.rfs-cc-auth .rfs-care-admin{padding:13px}.rfs-cc-auth .rfs-staff-hero-actions{width:100%}.rfs-cc-ticket{padding:13px}}
/* Higher specificity than the shared frontend link colour. */
body.rfs-front .rfs-cc-navgroup a{color:#c5d3df}body.rfs-front .rfs-cc-navgroup a.active,body.rfs-front .rfs-cc-navgroup a:hover{color:#fff}.rfs-cc-auth .rfs-cc-rail a:focus-visible{outline:2px solid #b8e0ff;outline-offset:-2px}.rfs-cc-auth .rfs-cc-railfoot>a:hover{background:#28475c;border-radius:6px}.rfs-cc-auth .rfs-cc-top a:focus-visible{outline-offset:3px}
/* v4.6 · Organization and access management */
.rfs-perm-box{margin:24px 0;padding:22px;border:1px solid #dce6ee;border-radius:16px;background:#f8fafc}.rfs-perm-box h2{margin-top:0}.rfs-perm-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0}.rfs-perm-item{display:flex!important;align-items:flex-start;gap:12px;background:#fff;border:1px solid #dce6ee;padding:15px;border-radius:12px;font-size:14px;line-height:1.5;cursor:pointer}.rfs-perm-item input{flex:0 0 auto;width:19px!important;height:19px;margin:2px 0;accent-color:#087db7}.rfs-perm-item:has(input:checked){border-color:#72b7df;background:#f0f9ff}.rfs-perm-chip{display:inline-block;margin:3px 3px 3px 0;background:#eaf3f9;color:#17476a;padding:4px 9px;border-radius:7px;font-size:12px;font-weight:650}.rfs-perm-team .rfs-cc-kpis{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:18px}.rfs-perm-team .rfs-staff-filter{margin:18px 0}.rfs-perm-team .rfs-cc-metric{min-height:100px}.rfs-perm-box summary{cursor:pointer;font-weight:700}.rfs-quick-links svg{width:22px;height:22px}.rfs-perm-box label select{max-width:420px}.rfs-perm-team .rfs-section-head{flex-wrap:wrap}@media(max-width:720px){.rfs-perm-grid,.rfs-perm-team .rfs-cc-kpis{grid-template-columns:1fr}.rfs-perm-box{padding:15px}}
.rfs-perm-item:has(input:disabled){cursor:default}.rfs-perm-item input:disabled{opacity:.75}.rfs-perm-item:has(input:disabled):not(:has(input:checked)){color:#697d8c;background:#f8fafc}.rfs-perm-box .rfs-cc-muted{font-size:13px}
