/* Rebrandz experience: dark identity, warm paper and restrained orange. */
.rb-welcome-body{margin:0;background:#111113;color:#fff;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.6}
.rb-welcome-body *{box-sizing:border-box}
.rb-welcome-body a{text-decoration:none;color:inherit}
.rb-welcome-shell{min-height:100svh;display:flex;flex-direction:column;position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(ellipse at 0% 90%,#c850001b,transparent 50%)}
.rb-welcome-shell:before{content:"";position:absolute;z-index:-1;right:-200px;top:-350px;width:700px;height:1000px;border:1px solid #ff792020;border-radius:130px;transform:rotate(35deg);pointer-events:none}
.rb-welcome-nav,.rb-welcome-main,.rb-welcome-footer{width:min(1200px,100%);margin-inline:auto}
.rb-welcome-nav{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:40px 40px}
.rb-welcome-logo{display:block;width:185px;max-width:50%}
.rb-welcome-logo img{display:block;width:100%;height:auto}
.rb-welcome-nav>span{font-size:10px;letter-spacing:.06em;color:#81818c}
.rb-welcome-main{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);align-items:center;gap:70px;flex:1;padding:65px 40px 90px}
.rb-welcome-kicker{display:flex;align-items:center;gap:9px;color:#b2b2bb;font-size:10px;letter-spacing:.14em;font-weight:600;margin:0 0 25px}
.rb-welcome-kicker span{width:6px;height:6px;border-radius:50%;background:#ff7920}
.rb-welcome-hero h1{font-size:clamp(38px,4.6vw,66px);letter-spacing:-.065em;line-height:1.1;font-weight:650;margin:0 0 28px}
.rb-welcome-hero h1 em{font-style:normal;color:#ff7920}
.rb-welcome-hero>p:not(.rb-welcome-kicker){font-size:14px;line-height:1.9;color:#a0a0aa;margin:0}
.rb-welcome-signature{display:flex;align-items:center;gap:12px;margin-top:45px;font-size:11px;color:#787883}
.rb-welcome-signature span{width:33px;height:1px;background:#c85000}
.rb-welcome-choices{display:grid;gap:18px}
.rb-welcome-choice{display:block;padding:29px 30px;background:#fafaf9;border:1px solid #fff;border-radius:15px;color:#202124!important;transition:transform .18s,border-color .18s,box-shadow .18s}
.rb-welcome-choice:hover{transform:translateY(-3px);border-color:#ff7920;box-shadow:0 12px 30px #0002}
.rb-welcome-choice-top{display:flex;align-items:center;gap:11px;font-size:9px;letter-spacing:.1em;font-weight:600;color:#7b7b85}
.rb-welcome-choice-icon{display:grid;place-items:center;width:31px;height:33px;border-radius:8px;background:#f0e8e0;color:#b34a00;font-size:10px;letter-spacing:0}
.rb-welcome-choice-arrow{margin-left:auto;color:#a3a3ac;font-size:20px;line-height:1}
.rb-welcome-choice h2{margin:23px 0 10px;font-size:25px;font-weight:650;line-height:1.3;letter-spacing:-.045em}
.rb-welcome-choice p{font-size:12px;line-height:1.85;color:#7b7b85;margin:0;max-width:330px}
.rb-welcome-choice-link{display:flex;justify-content:space-between;align-items:center;margin-top:24px;padding-top:19px;border-top:1px solid #e6e6e9;font-size:11px;font-weight:650;color:#ae4700}
.rb-welcome-choice-team{background:#ffffff06;border-color:#ffffff19;color:#fff!important}
.rb-welcome-choice-team h2{color:#f7f7fa}.rb-welcome-choice-team p{color:#9696a1}.rb-welcome-choice-team .rb-welcome-choice-icon{background:#ffffff08;border:1px solid #ffffff16;color:#caa88e}.rb-welcome-choice-team .rb-welcome-choice-link{border-color:#ffffff12;color:#ff994f}
.rb-welcome-footer{display:flex;justify-content:space-between;gap:24px;padding:24px 40px 30px;border-top:1px solid #ffffff0c;font-size:10px;color:#74747f}
.rb-welcome-body a:focus-visible{outline:2px solid #ff7920;outline-offset:6px}
/* Customer authentication uses the same shell as the team login. */
.rb-auth-layout .rb-login-panel .cp-form{gap:9px;margin-top:0}
.rb-auth-layout .cp-form label{font-size:12px;font-weight:600;color:#36363d;margin-top:13px}
.rb-auth-layout .cp-form label:first-child{margin-top:0}
.rb-auth-layout .cp-form .cp-input{min-height:49px;border:1px solid #dddde2;border-radius:9px;font-size:14px;padding:12px 14px;background:#fff;color:#202124;box-shadow:none}
.rb-auth-layout .cp-form .cp-input:focus{outline:none;border-color:#c85000;box-shadow:0 0 0 1px #c85000,0 0 0 5px #c8500010}
.rb-auth-layout .cp-form .cp-input[aria-invalid=true]{border-color:#d52f3b}
.rb-auth-layout .cp-form .cp-button{width:100%;height:49px;min-height:49px;margin-top:17px;border-radius:9px;background:#c85000;color:#fff;font-size:13px;box-shadow:0 4px 10px #a13e0010}
.rb-auth-layout .cp-form .cp-button:hover{background:#a94100}
.rb-auth-layout .cp-alert.error{margin:0 0 20px!important;font-size:12px}
/* Shared customer workspace: every project and document page inherits this. */
.cp-shell{background:#fafaf9;grid-template-columns:248px minmax(0,1fr)}
.cp-shell .cp-sidebar{background:linear-gradient(155deg,#111113 60%,#2b1c13)!important;border-color:#ffffff12;padding:36px 23px 26px}
.cp-shell .cp-brand small{font-size:9px;letter-spacing:.13em;margin-top:12px;color:#92929e!important}
.cp-shell .cp-organisation{margin:36px 0 27px;padding:17px 14px;background:#ffffff05;border:1px solid #ffffff11!important;border-radius:10px}
.cp-shell .cp-organisation small{font-size:9px;letter-spacing:.1em;color:#92929e!important}
.cp-shell .cp-organisation strong{font-size:13px;color:#f1f1f5}
.cp-shell .cp-nav{gap:7px}
.cp-shell .cp-nav a{min-height:45px;padding:12px 14px;border-radius:9px;font-size:12px;color:#c7c7cf!important;font-weight:500}
.cp-shell .cp-nav a[aria-current=page]{background:#ff792012!important;color:#ff9951!important;box-shadow:inset 2px 0 0 #ff7920}
.cp-shell .cp-nav a:hover{background:#ffffff07!important;color:#fff!important}
.cp-shell .cp-sidebar-bottom p{font-size:10px;color:#80808b!important}
.cp-shell .cp-logout{font-size:11px;color:#d5d5dd!important}
.cp-shell .cp-topbar{background:#fafaf9;border-color:#e9e9ec;color:#202124;height:76px}
.cp-shell .cp-topbar .cp-breadcrumb{color:#85858e;font-size:11px}
.cp-shell .cp-topbar .cp-avatar{background:#f1e8df;color:#a94100;border:1px solid #e9d9cd}
.cp-shell .cp-account{font-size:11px}
.cp-shell .cp-content{max-width:1400px;padding-top:32px}
.cp-shell .cp-page-head{position:relative;overflow:hidden;isolation:isolate;padding:31px 34px;background:linear-gradient(115deg,#141416,#211a16);border:1px solid #29282b;border-radius:15px;color:#fff;margin-bottom:26px}
.cp-shell .cp-page-head:after{content:"";position:absolute;z-index:-1;width:240px;height:400px;right:-100px;top:-220px;border:1px solid #ff792028;transform:rotate(35deg);border-radius:55px;pointer-events:none}
.cp-shell .cp-page-head h1{color:#fff;font-size:clamp(25px,2.7vw,37px);letter-spacing:-.05em;font-weight:650}
.cp-shell .cp-page-head p{color:#a5a5b0;font-size:12px;line-height:1.8}
.cp-shell .cp-page-head .cp-eyebrow{color:#e3a272;font-size:9px;letter-spacing:.13em;margin:0 0 11px}
.cp-shell .cp-card{border-radius:13px;border-color:#e5e5e9;box-shadow:0 3px 10px #19191c03}
.cp-shell .cp-card h2,.cp-shell .cp-card h3{font-weight:650;letter-spacing:-.025em}
.cp-shell .cp-callout{background:#fff!important;border:1px solid #e5e5e9!important;border-left:3px solid #c85000!important;border-radius:12px;padding:23px 26px}
.cp-shell .cp-callout.attention{border-left-color:#b27b16!important;background:#fffcf5!important}
.cp-shell .cp-callout.success{border-left-color:#43846b!important}
.cp-shell .cp-summary{gap:16px}
.cp-shell .cp-summary>div{border:1px solid #e5e5e9;border-radius:12px;background:#fff;padding:18px 20px}
.cp-shell .cp-summary strong{font-size:27px;letter-spacing:-.04em;color:#29292e;font-weight:600}
.cp-shell .cp-summary span{font-size:10px;color:#888892}
.cp-shell .cp-button{border-radius:8px;min-height:38px}
.cp-shell .cp-button.secondary{background:#fff;border-color:#e1e1e7;color:#34343c}
.cp-shell .cp-help{font-size:10px;border-color:#e5e5e9;color:#898992}
/* Staff dashboard: preserve all live data, actions and attention states. */
.fi-layout .td-dashboard{gap:23px}
.fi-layout .td-dashboard .td-head{position:relative;overflow:hidden;isolation:isolate;padding:32px 34px;background:linear-gradient(115deg,#141416,#261c15);border:1px solid #29282b;border-radius:15px;color:#fff}
.fi-layout .td-dashboard .td-head:after{content:"";position:absolute;z-index:-1;width:250px;height:400px;right:20px;top:-250px;border:1px solid #ff792026;border-radius:65px;transform:rotate(35deg);pointer-events:none}
.fi-layout .td-dashboard .td-head h1{font-size:clamp(27px,2.7vw,38px);font-weight:650;letter-spacing:-.055em;color:#fff}
.fi-layout .td-dashboard .td-head .td-eyebrow{color:#e5a271;font-size:9px;letter-spacing:.13em}
.fi-layout .td-dashboard .td-head .td-muted{color:#a8a8b3;font-size:12px}
.fi-layout .td-dashboard .td-date{color:#b8b8c2;border-color:#ffffff1a;background:#ffffff05;font-size:10px;padding:8px 12px;border-radius:8px}
.fi-layout .td-dashboard .td-focus{background:#fff!important;border:1px solid #e5e5e9!important;border-left:3px solid #c85000!important;border-radius:12px;padding:23px 26px}
.fi-layout .td-dashboard .td-focus[data-tone=attention]{background:#fffcf5!important;border-left-color:#b27b16!important}
.fi-layout .td-dashboard .td-focus[data-tone=timer]{background:#f7fcf9!important;border-left-color:#43846b!important}
.fi-layout .td-dashboard .td-summary{gap:16px}
.fi-layout .td-dashboard .td-summary>a{padding:20px 22px;border:1px solid #e5e5e9;border-radius:12px;background:#fff;box-shadow:0 3px 10px #19191c03;transition:border-color .15s}
.fi-layout .td-dashboard .td-summary>a:hover{border-color:#c85000}
.fi-layout .td-dashboard .td-summary span{font-size:11px;color:#85858f}
.fi-layout .td-dashboard .td-summary strong{font-size:31px;font-weight:600}
.fi-layout .td-dashboard .td-panel{border-radius:13px;border-color:#e5e5e9;box-shadow:0 3px 10px #19191c03}
.fi-layout .td-dashboard h2{font-weight:650;font-size:17px}
.fi-layout .td-dashboard .td-panel-head{padding-bottom:16px;border-bottom:1px solid #efeff2}
.fi-layout .td-dashboard .td-panel-head .td-eyebrow{font-size:9px;color:#a34b0d}
.fi-layout .td-dashboard .td-empty{background:#fafaf9;border:1px dashed #e3e3e8;font-size:11px}
.fi-layout .td-dashboard .td-badge[data-tone=brand]{background:#fff0e5;color:#a94100}
.fi-layout .td-dashboard .td-project{background:#fafaf9;border-radius:10px}
.fi-layout .td-dashboard .td-icon-tile{background:#fff0e5;color:#a94100}
.fi-layout .td-dashboard .td-icon-tile .td-icon{color:#b34a00}
.fi-layout .td-dashboard .td-footer{border-color:#e5e5e9}
@media(max-width:1100px){.rb-welcome-main{gap:40px}.cp-shell{grid-template-columns:215px minmax(0,1fr)}}
@media(max-width:800px){.rb-welcome-nav{padding:28px}.rb-welcome-nav>span{display:none}.rb-welcome-main{grid-template-columns:1fr;padding:38px 28px 50px;gap:40px}.rb-welcome-hero h1{font-size:44px}.rb-welcome-signature{margin-top:24px}.rb-welcome-choices{grid-template-columns:1fr 1fr;gap:14px}.rb-welcome-choice{padding:22px}.rb-welcome-choice h2{font-size:22px}.rb-welcome-choice-top{font-size:8px}.rb-welcome-footer{padding:22px 28px}}
@media(max-width:760px){.cp-shell{display:block}.cp-shell .cp-sidebar{padding:24px 22px 14px}.cp-shell .cp-organisation{display:none}.cp-shell .cp-nav{margin-top:23px}.cp-shell .cp-topbar{height:58px}.cp-shell .cp-content{padding-top:22px}.cp-shell .cp-page-head{padding:25px 24px;border-radius:12px}.cp-shell .cp-summary>div{padding:15px}.fi-layout .td-dashboard .td-head{padding:26px 24px}.fi-layout .td-dashboard .td-focus{padding:22px}.fi-layout .td-dashboard .td-summary>a{padding:17px}.fi-layout .td-dashboard .td-summary strong{font-size:27px}}
@media(max-width:540px){.rb-welcome-choices{grid-template-columns:1fr}.rb-welcome-main{padding-top:27px}.rb-welcome-hero h1{font-size:39px}.rb-welcome-footer{flex-direction:column;gap:6px}.rb-welcome-choice h2{margin-top:18px}.rb-welcome-choice-link{margin-top:18px}.cp-shell .cp-summary>div{gap:12px}.cp-shell .cp-page-head h1{font-size:27px}}
@media(prefers-reduced-motion:reduce){.rb-welcome-body *,.cp-shell *,.td-dashboard *{transition:none!important;animation:none!important}}
