.rb-shell{display:grid;gap:22px}.rb-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px}.rb-head p{margin:0 0 5px;font-size:.62rem;letter-spacing:.15em;font-weight:900;color:#77736a}.rb-head h2{margin:0;font-size:clamp(2rem,4vw,3.2rem);letter-spacing:-.055em}.rb-head span{display:block;margin-top:7px;color:#77736a}.rb-switch{border:1px solid #d8d4cb;background:#fff;border-radius:12px;padding:10px 14px;font-weight:800}.rb-creator{display:grid;gap:4px;padding:14px 16px;border:1px solid #bfa66b;border-radius:14px;background:#fbf4df}.rb-creator strong{font-size:.82rem}.rb-creator span{font-size:.75rem;color:#6a645a}.rb-branches{display:grid;gap:24px}.rb-branch-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.rb-branch-title strong{font-size:1.05rem}.rb-branch-title span{font-size:.72rem;color:#77736a}.rb-plan-grid{display:grid;gap:12px}.rb-plan-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.rb-plan-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.rb-plan{--rb-accent:#171715;position:relative;display:flex;flex-direction:column;min-width:0;padding:18px;border:1px solid #dedad1;border-top:3px solid var(--rb-accent);border-left:3px solid var(--rb-accent);border-radius:16px;background:#fff}.rb-plan.is-current{box-shadow:0 0 0 2px color-mix(in srgb,var(--rb-accent) 25%,transparent)}.rb-plan-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.rb-plan-top span,.rb-plan-top b{font-size:.62rem}.rb-plan-top span{color:#77736a;text-transform:uppercase;letter-spacing:.08em;font-weight:850}.rb-plan-top b{padding:5px 7px;border-radius:999px;background:color-mix(in srgb,var(--rb-accent) 12%,#fff);color:var(--rb-accent)}.rb-plan h3{margin:18px 0 4px;font-size:1.25rem}.rb-price{font-size:1.5rem;letter-spacing:-.04em}.rb-plan>small{margin-top:5px;color:#77736a;line-height:1.4}.rb-plan ul{list-style:none;padding:0;margin:18px 0;display:grid;gap:7px}.rb-plan li{font-size:.78rem}.rb-buy,.rb-preview{width:100%;min-height:42px;border-radius:10px;font:inherit;font-weight:800}.rb-buy{margin-top:auto;border:1px solid #dedad1;background:#ebe8e1;color:#9c978d;cursor:not-allowed}.rb-preview{margin-top:8px;border:1px solid var(--rb-accent);background:var(--rb-accent);color:#fff}.rb-cockpit{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.rb-cockpit article{padding:16px;border:1px solid #dedad1;border-top:2px solid var(--rb-accent);border-left:2px solid var(--rb-accent);border-radius:14px;background:color-mix(in srgb,var(--rb-accent) 6%,#fff)}.rb-cockpit span{display:block;font-size:.58rem;letter-spacing:.1em;font-weight:900;color:#77736a}.rb-cockpit strong{display:block;margin-top:8px;font-size:1.6rem;letter-spacing:-.04em}.rb-cockpit small{display:block;margin-top:4px;color:#77736a}.rb-dashboard-title{display:flex;align-items:flex-end;justify-content:space-between}.rb-dashboard-title div{display:grid;gap:3px}.rb-dashboard-title span{font-size:.76rem;color:#77736a}.rb-dashboard-title em{font-style:normal;font-size:.66rem;padding:6px 8px;border-radius:999px;background:#efe9dc}.rb-tools{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.rb-tool{--rb-accent:#171715;min-height:120px;text-align:left;padding:14px;border:1px solid #dedad1;border-top:2px solid var(--rb-accent);border-left:2px solid var(--rb-accent);border-radius:14px;background:color-mix(in srgb,var(--rb-accent) 5%,#fff)}.rb-tool strong,.rb-tool span,.rb-tool small{display:block}.rb-tool strong{font-size:.95rem;color:var(--rb-accent)}.rb-tool span{margin-top:6px;font-size:.74rem;line-height:1.45;color:#57534d}.rb-tool small{margin-top:12px;color:#8a857c}.rb-manual-pay{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px;border-radius:16px;background:#171715;color:#fff}.rb-manual-pay span{font-size:.6rem;letter-spacing:.14em;color:#bcb7ad;font-weight:900}.rb-manual-pay h3{margin:5px 0 6px}.rb-manual-pay p{margin:0;color:#d2cec5;max-width:720px}.rb-manual-pay button{flex:0 0 auto;border:1px solid #5a5650;background:#34312e;color:#817c74;border-radius:11px;padding:11px 14px}
@media(max-width:900px){.rb-plan-grid-3,.rb-plan-grid-2,.rb-tools{grid-template-columns:repeat(2,minmax(0,1fr))}.rb-cockpit{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.rb-shell{gap:16px}.rb-head{align-items:flex-start;flex-direction:column}.rb-head h2{font-size:2.15rem}.rb-plan-grid-3,.rb-plan-grid-2{grid-template-columns:1fr}.rb-cockpit{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.rb-cockpit article{padding:13px}.rb-cockpit strong{font-size:1.3rem}.rb-tools{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.rb-tool{min-height:108px;padding:12px}.rb-manual-pay{align-items:flex-start;flex-direction:column}.rb-manual-pay button{width:100%}.rb-branch-title{align-items:flex-start;flex-direction:column;gap:2px}}
.rb-tool.is-locked{opacity:.46;filter:grayscale(.25)}.rb-tool.is-locked small{color:#9b968d}
.rb-tool-head{padding-bottom:4px;border-bottom:1px solid #e2ded5}
.rb-record-form,.rb-pos{--rb-accent:#171715;display:grid;gap:14px;padding:18px;border:1px solid #dedad1;border-top:3px solid var(--rb-accent);border-left:3px solid var(--rb-accent);border-radius:16px;background:#fff}
.rb-form-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.rb-form-head span{font-size:.58rem;letter-spacing:.12em;font-weight:900;color:var(--rb-accent)}.rb-form-head h3{margin:3px 0 0;font-size:1.25rem}.rb-form-head button{border:0;background:transparent;color:#77736a}
.rb-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.rb-record-form label,.rb-pos label{display:grid;gap:5px;font-size:.68rem;font-weight:800;color:#6b675f}.rb-record-form input,.rb-record-form textarea,.rb-record-form select,.rb-pos input,.rb-pos select{width:100%;box-sizing:border-box;border:1px solid #d9d5cc;border-radius:10px;background:#faf9f6;padding:10px 11px;font:inherit;color:#171715}.rb-record-form textarea{min-height:92px;resize:vertical}.rb-primary{border:0;border-radius:11px;background:#171715;color:#fff;padding:11px 15px;font:inherit;font-weight:850}
.rb-list-head{display:flex;justify-content:space-between;align-items:center;margin-top:4px}.rb-list-head strong{font-size:.82rem}.rb-record-list{display:grid;gap:9px}.rb-record{--rb-accent:#171715;display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:14px;border:1px solid #dedad1;border-top:2px solid var(--rb-accent);border-left:2px solid var(--rb-accent);border-radius:13px;background:color-mix(in srgb,var(--rb-accent) 4%,#fff)}.rb-record>div:first-child{min-width:0}.rb-record span{display:block;font-size:.62rem;color:#77736a}.rb-record h4{margin:4px 0 5px;font-size:.95rem}.rb-record-meta{display:flex;flex-wrap:wrap;gap:4px 10px;color:#6c675f}.rb-record-meta small{font-size:.65rem}.rb-record-meta p{width:100%;margin:6px 0 0;font-size:.7rem;line-height:1.45}.rb-record-actions,.rb-stock-actions{display:flex;gap:5px;flex:0 0 auto}.rb-record-actions button,.rb-stock-actions button{border:1px solid #d8d4cb;background:#fff;border-radius:8px;padding:7px 9px;font-size:.67rem;font-weight:800}.rb-stock-actions button{width:34px;height:34px;font-size:1rem;padding:0}.rb-empty{padding:22px;border:1px dashed #d8d4cb;border-radius:13px;color:#77736a;text-align:center}
.rb-analytics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.rb-analytics article{padding:17px;border:1px solid #dedad1;border-radius:14px;background:#fff}.rb-analytics span{display:block;font-size:.58rem;letter-spacing:.1em;color:#77736a;font-weight:900}.rb-analytics strong{display:block;margin-top:8px;font-size:1.55rem;letter-spacing:-.04em}.rb-note{margin:0;padding:12px 14px;border-radius:11px;background:#efede7;color:#6c675f;font-size:.72rem}
.rb-pipeline{display:flex;gap:9px;overflow-x:auto;padding-bottom:6px;scroll-snap-type:x proximity}.rb-pipeline>section{flex:0 0 220px;min-height:180px;padding:10px;border:1px solid #dedad1;border-radius:13px;background:#f4f2ec;scroll-snap-align:start}.rb-pipeline h3{margin:0 0 9px;text-transform:capitalize;font-size:.75rem}.rb-pipeline article{display:grid;gap:6px;margin-bottom:7px;padding:10px;border-radius:10px;background:#fff;border-left:2px solid #2f82b8}.rb-pipeline article small{color:#77736a}.rb-pipeline article div{display:flex;gap:4px;justify-content:flex-end}.rb-pipeline article button{border:1px solid #ddd8cf;background:#fff;border-radius:7px;width:30px;height:28px}
.rb-automation-run{display:flex;align-items:center;gap:12px;padding:13px;border-radius:13px;background:#f0edf8}.rb-automation-run span{font-size:.7rem;color:#68635c}
.rb-pos{grid-template-columns:minmax(0,2fr) 100px minmax(0,1fr) auto;align-items:end}.rb-pos .rb-primary{height:41px}
@media(max-width:620px){.rb-form-grid{grid-template-columns:1fr}.rb-record{align-items:stretch;flex-direction:column}.rb-record-actions{justify-content:flex-end}.rb-analytics{grid-template-columns:repeat(2,minmax(0,1fr))}.rb-pos{grid-template-columns:1fr}.rb-automation-run{align-items:stretch;flex-direction:column}.rb-tool-head .rb-switch{width:auto}}
/* Organization selection uses the existing Business shell on WEB and APP. */
.rb-organization-bar{display:flex;align-items:end;gap:12px;margin-bottom:20px;padding:12px 0;border-bottom:1px solid #dedbd3}.rb-organization-bar label{display:grid;gap:6px;flex:1;font-size:.8rem}.rb-organization-bar select,.rb-organization-bar button{font:inherit;padding:10px 12px;border:1px solid #d5d2c9;border-radius:9px;background:#fff;color:#171715}.rb-shell code{overflow-wrap:anywhere}.rb-shell .rb-record p{line-height:1.6}.rb-shell [data-rb-organization-feedback]{color:#a52e2e}.rb-shell details{margin:18px 0}.rb-shell summary{cursor:pointer;font-weight:650}@media(max-width:600px){.rb-organization-bar{flex-wrap:wrap}.rb-organization-bar label{min-width:100%}.rb-shell .rb-record{overflow-wrap:anywhere}}

/* Professional Business workspace (Free / Plus / Pro). Shop layouts remain independent. */
.rb-professional-head{padding-top:4px}
.rb-section-nav{position:sticky;top:72px;z-index:12;display:flex;gap:4px;overflow-x:auto;padding:8px;margin:0 -4px 4px;background:rgba(246,241,232,.92);backdrop-filter:blur(16px);scrollbar-width:none;border-bottom:1px solid rgba(22,21,18,.08)}
.rb-section-nav button{flex:0 0 auto;border:0;border-radius:10px;background:transparent;padding:9px 11px;font-size:.73rem;color:#625d56;cursor:pointer}.rb-section-nav button.active{background:#fffdf8;color:#171715;font-weight:800;box-shadow:0 1px 0 rgba(22,21,18,.06)}
.rb-command-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.rb-command-strip>div{min-height:102px;padding:15px;border-radius:16px;background:rgba(255,253,248,.72);border:1px solid rgba(22,21,18,.07)}.rb-command-strip>div:nth-child(1){background:linear-gradient(150deg,rgba(220,231,243,.78),rgba(255,253,248,.75))}.rb-command-strip>div:nth-child(2){background:linear-gradient(150deg,rgba(242,218,221,.7),rgba(255,253,248,.75))}.rb-command-strip>div:nth-child(3){background:linear-gradient(150deg,rgba(223,233,216,.78),rgba(255,253,248,.75))}.rb-command-strip>div:nth-child(4){background:linear-gradient(150deg,rgba(222,220,241,.72),rgba(255,253,248,.75))}.rb-command-strip .is-alert{box-shadow:inset 0 0 0 1px rgba(180,65,75,.18)}.rb-command-strip span{display:block;font-size:.57rem;letter-spacing:.11em;font-weight:900;color:#746d65}.rb-command-strip strong{display:block;margin-top:9px;font-size:1.45rem;letter-spacing:-.04em}.rb-command-strip small{display:block;margin-top:4px;color:#77736a}
.rb-work-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.rb-work-panel{min-width:0;padding:17px;border-radius:18px;background:rgba(255,253,248,.68);border:1px solid rgba(22,21,18,.07)}.rb-work-primary{background:linear-gradient(155deg,rgba(242,218,221,.34),rgba(255,253,248,.72) 42%)}.rb-panel-title{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:10px}.rb-panel-title span{font-size:.57rem;letter-spacing:.12em;font-weight:900;color:#817970}.rb-panel-title h3{margin:3px 0 0;font-size:1.3rem}.rb-panel-title button{border:0;background:transparent;padding:5px;color:#625d56;font-size:.72rem;cursor:pointer}
.rb-focus-row{width:100%;display:grid;grid-template-columns:30px minmax(0,1fr) auto;gap:9px;align-items:center;text-align:left;border:0;border-top:1px solid rgba(22,21,18,.07);background:transparent;padding:10px 2px;cursor:pointer}.rb-focus-row:first-of-type{border-top:0}.rb-focus-row strong,.rb-focus-row small{display:block}.rb-focus-row strong{font-size:.82rem}.rb-focus-row small{margin-top:2px;color:#7b746d;font-size:.68rem}.rb-priority{width:9px;height:9px;border-radius:50%;justify-self:center;background:#9d978e}.rb-priority.alta{background:#d18c50}.rb-priority.urgente{background:#cf6570}.rb-priority.baja{background:#87aa8e}.rb-date-chip{width:30px;height:30px;display:grid;place-items:center;border-radius:9px;background:rgba(220,231,243,.8);font-size:.58rem;text-align:center}.rb-add-inline{border:0;background:transparent;padding:10px 2px 2px;font-weight:800;color:#665f58;cursor:pointer}.rb-empty-inline{color:#807970;font-size:.76rem}
.rb-kpi-list{display:grid}.rb-kpi-list p{display:flex;justify-content:space-between;gap:12px;margin:0;padding:10px 0;border-top:1px solid rgba(22,21,18,.07)}.rb-kpi-list p:first-child{border-top:0}.rb-kpi-list span{font-size:.76rem;color:#655f58}.rb-kpi-list strong{font-size:.85rem}
.rb-quick-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.rb-quick-grid button{min-height:74px;text-align:left;border:0;border-radius:13px;background:rgba(255,255,255,.58);padding:11px;cursor:pointer}.rb-quick-grid strong,.rb-quick-grid small{display:block}.rb-quick-grid strong{font-size:.8rem}.rb-quick-grid small{margin-top:4px;color:#7a746c;font-size:.65rem;line-height:1.35}
.rb-module-bar{display:flex;align-items:end;justify-content:space-between;gap:12px;padding:12px 0}.rb-module-bar label{display:grid;gap:5px;min-width:min(360px,55%);font-size:.62rem;font-weight:800;color:#77736a}.rb-module-bar input{width:100%;border:1px solid #d9d5cc;border-radius:11px;background:#fffdf8;padding:10px 11px;font:inherit}.rb-module-bar>div{display:flex;align-items:center;gap:10px}.rb-module-bar>div>span{font-size:.7rem;color:#77736a}.rb-record[hidden]{display:none!important}
.mr-business-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-end;margin-bottom:16px}.mr-business-head h3{font-size:28px;margin:4px 0}.mr-business-head p{margin:0;color:var(--muted);font-size:13px}.mr-business-head a{text-decoration:none;font-size:12px;font-weight:800}.mr-business-columns{margin-top:12px}.mr-business-row{padding:10px 0;border-top:1px solid var(--line)}.mr-business-row:first-child{border-top:0}.mr-business-row span{font-size:9px;letter-spacing:.12em;font-weight:800;color:var(--muted)}.mr-business-row h4{margin:4px 0;font-size:16px}.mr-business-row small{color:var(--muted)}
@media(max-width:900px){.rb-command-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.rb-work-grid{grid-template-columns:1fr}}
@media(max-width:620px){.rb-section-nav{top:64px;margin-left:-13px;margin-right:-13px;padding-left:13px;padding-right:13px}.rb-command-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.rb-command-strip>div{min-height:88px;padding:12px}.rb-work-panel{padding:14px;border-radius:15px}.rb-module-bar{align-items:stretch;flex-direction:column}.rb-module-bar label{min-width:100%}.rb-module-bar>div{justify-content:space-between}.rb-quick-grid{grid-template-columns:1fr 1fr}.mr-business-head{align-items:flex-start;flex-direction:column}.mr-business-columns{grid-template-columns:1fr}}


/* Shop desktop migration staging */
.rb-import-head{align-items:center}
.rb-import-drop{padding:22px;border:1px dashed #b8b0a4;border-radius:18px;background:linear-gradient(145deg,#fbf8f1,#f3eee5)}
.rb-import-drop>div{display:grid;gap:10px}
.rb-import-drop strong{font-size:1rem}
.rb-import-drop p{margin:0;max-width:760px;color:#6f685f;font-size:.76rem;line-height:1.5}
.rb-import-pickers{display:flex;gap:8px;flex-wrap:wrap}
.rb-import-pickers label{position:relative;display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 13px;border:1px solid #d3ccc1;border-radius:11px;background:#fff;font-size:.72rem;font-weight:800;cursor:pointer}
.rb-import-pickers label:first-child{background:#26362a;color:#fff;border-color:#26362a}
.rb-import-pickers input{position:absolute;inset:0;opacity:0;cursor:pointer}
.rb-import-drop small{color:#8b8378;font-size:.68rem}
.rb-import-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.rb-import-summary>div{min-height:88px;padding:14px;border-radius:15px;background:#fffdf8;box-shadow:inset 0 0 0 1px rgba(65,57,47,.08)}
.rb-import-summary span{display:block;color:#8b8378;font-size:.55rem;letter-spacing:.11em;font-weight:900}
.rb-import-summary strong{display:block;margin-top:8px;font-size:1.05rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rb-import-summary small{display:block;margin-top:3px;color:#8b8378;font-size:.65rem}
.rb-import-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:12px;align-items:start}
.rb-import-layout>aside,.rb-import-layout>main{border-radius:17px;background:#fffdf8;box-shadow:inset 0 0 0 1px rgba(65,57,47,.08)}
.rb-import-layout>aside{padding:12px;display:grid;gap:5px}
.rb-import-layout>aside h3{margin:2px 3px 8px;font-size:.88rem}
.rb-import-layout>aside button{display:grid;gap:2px;width:100%;min-height:54px;padding:9px 10px;border:0;border-radius:10px;background:transparent;text-align:left;color:#4c463f;cursor:pointer}
.rb-import-layout>aside button:hover,.rb-import-layout>aside button.active{background:#e8eee5}
.rb-import-layout>aside button strong{font-size:.72rem}
.rb-import-layout>aside button small{color:#898176;font-size:.62rem}
.rb-import-layout>main{padding:15px;min-width:0}
.rb-import-item{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:10px;align-items:center;padding:11px 2px;border-top:1px solid rgba(65,57,47,.08)}
.rb-import-item:first-of-type{border-top:0}
.rb-import-item>div:first-child{min-width:0}
.rb-import-item span,.rb-import-item strong,.rb-import-item small{display:block}
.rb-import-item span{font-size:.57rem;text-transform:uppercase;letter-spacing:.08em;color:#8b8378}
.rb-import-item strong{margin-top:2px;font-size:.78rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rb-import-item small{margin-top:2px;color:#92897f;font-size:.61rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rb-import-item em{min-width:74px;padding:6px 8px;border-radius:999px;background:#eee9df;color:#6c655c;font-size:.58rem;font-style:normal;text-align:center}
.rb-import-item em.status-imported{background:#e3eee2;color:#426347}
.rb-import-item em.status-conflict,.rb-import-item em.status-error{background:#f3e1e3;color:#8b4d54}
.rb-import-item em.status-new{background:#e4edf4;color:#4a6576}
.rb-import-item em.status-matched{background:#ebe4f3;color:#5f4c78}
.rb-import-actions{display:flex;gap:5px}
.rb-import-actions button{min-height:32px;border:1px solid #d3ccc1;border-radius:9px;padding:0 9px;background:#fff;color:#4b453e;font-size:.62rem;font-weight:800}
.rb-import-actions button.primary{background:#26362a;border-color:#26362a;color:#fff}
.rb-import-rules{display:grid!important;grid-template-columns:auto 1fr;gap:12px;align-items:start}
.rb-import-rules strong{font-size:.72rem;color:#3e3933}
.rb-import-rules span{font-size:.7rem;line-height:1.5}
#businessAppPanel .rb-desktop-only,#businessAppPanel .rb-import-drop{display:none!important}
@media(max-width:900px){.rb-import-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.rb-import-layout{grid-template-columns:1fr}.rb-import-layout>aside{display:flex;overflow-x:auto}.rb-import-layout>aside h3{display:none}.rb-import-layout>aside button{flex:0 0 180px}}
@media(max-width:620px){.rb-import-pickers{display:grid}.rb-import-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.rb-import-item{grid-template-columns:minmax(0,1fr) auto}.rb-import-actions{grid-column:1/-1;justify-content:flex-end}.rb-import-rules{grid-template-columns:1fr}}


/* Radar Shop desktop workspace */
.rb-shop-nav{
  position:sticky;
  top:64px;
  z-index:15;
  display:flex;
  gap:4px;
  margin:0 -4px 12px;
  padding:7px 4px;
  overflow-x:auto;
  scrollbar-width:none;
  border-bottom:1px solid rgba(62,54,45,.08);
  background:rgba(246,241,232,.92);
  backdrop-filter:blur(18px);
}
.rb-shop-nav::-webkit-scrollbar{display:none}
.rb-shop-nav button{
  flex:0 0 auto;
  min-height:36px;
  border:0;
  border-radius:10px;
  padding:0 10px;
  background:transparent;
  color:#6d665e;
  font-size:.68rem;
  font-weight:750;
  cursor:pointer;
}
.rb-shop-nav button:hover{
  background:#eee9e0;
  color:#3d3832;
}
.rb-shop-nav button.active{
  background:#26362a;
  color:#fff;
}
.rb-shop-list-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:10px;
  align-items:center;
  min-height:58px;
  padding:10px 2px;
  border-top:1px solid rgba(62,54,45,.075);
}
.rb-shop-list-row:first-of-type{border-top:0}
.rb-shop-list-row>div{min-width:0}
.rb-shop-list-row span,
.rb-shop-list-row strong,
.rb-shop-list-row small{display:block}
.rb-shop-list-row span{
  color:#8b8378;
  font-size:.56rem;
  letter-spacing:.09em;
  text-transform:uppercase;
}
.rb-shop-list-row strong{
  margin-top:2px;
  font-size:.8rem;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.rb-shop-list-row small{
  margin-top:2px;
  color:#7d756c;
  font-size:.65rem;
  line-height:1.35;
}
.rb-shop-list-row>em{
  padding:5px 8px;
  border-radius:999px;
  background:#ece7de;
  color:#696158;
  font-size:.58rem;
  font-style:normal;
}
@media(max-width:620px){
  .rb-shop-nav{top:54px;margin-left:-13px;margin-right:-13px;padding-left:13px;padding-right:13px}
}


/* Radar Shop navigation v2 — grouped accordion, Radar visual language */
.rb-shop-shell{
  display:grid;
  grid-template-columns:222px minmax(0,1fr);
  gap:16px;
  align-items:start;
}
.rb-shop-sidebar{
  position:sticky;
  top:78px;
  display:grid;
  gap:8px;
  max-height:calc(100vh - 102px);
  overflow:auto;
  padding:10px;
  border-radius:20px;
  background:
    radial-gradient(circle at 8% 0,rgba(190,205,185,.28),transparent 11rem),
    linear-gradient(180deg,rgba(250,247,240,.98),rgba(244,239,230,.98));
  box-shadow:
    inset 0 0 0 1px rgba(65,57,47,.065),
    0 12px 34px rgba(55,45,32,.045);
}
.rb-shop-group{
  overflow:hidden;
  border-radius:14px;
  background:rgba(255,253,248,.44);
}
.rb-shop-group-toggle{
  width:100%;
  min-height:43px;
  display:grid;
  grid-template-columns:1fr auto;
  align-items:center;
  gap:10px;
  border:0;
  border-radius:14px;
  padding:0 11px 0 12px;
  background:transparent;
  color:#453f38;
  text-align:left;
  cursor:pointer;
  transition:background .16s ease,color .16s ease,transform .16s ease;
}
.rb-shop-group-toggle:hover{
  background:rgba(228,232,222,.7);
}
.rb-shop-group-toggle span{
  font:760 .72rem/1 var(--sans);
  letter-spacing:.01em;
}
.rb-shop-group-toggle i{
  font-style:normal;
  font-size:15px;
  color:#8a8278;
  transform:rotate(-90deg);
  transition:transform .18s ease;
}
.rb-shop-group.is-open>.rb-shop-group-toggle{
  background:linear-gradient(135deg,rgba(223,232,218,.86),rgba(239,232,241,.62));
  color:#2e382f;
}
.rb-shop-group.is-open>.rb-shop-group-toggle i{
  transform:rotate(0);
}
.rb-shop-subnav{
  display:grid;
  gap:2px;
  padding:5px 5px 7px 18px;
}
.rb-shop-subnav[hidden]{display:none!important}
.rb-shop-subnav button{
  position:relative;
  width:100%;
  min-height:35px;
  border:0;
  border-radius:10px;
  padding:0 10px 0 15px;
  background:transparent;
  color:#6b645c;
  text-align:left;
  font-size:.68rem;
  font-weight:680;
  cursor:pointer;
  transition:background .14s ease,color .14s ease,transform .14s ease;
}
.rb-shop-subnav button:before{
  content:"";
  position:absolute;
  left:3px;
  top:50%;
  width:5px;
  height:5px;
  margin-top:-2.5px;
  border-radius:50%;
  background:#c9c1b6;
}
.rb-shop-subnav button:hover{
  background:rgba(239,235,227,.92);
  color:#3b3631;
}
.rb-shop-subnav button.active{
  background:rgba(255,253,248,.92);
  color:#2f3a31;
  box-shadow:inset 0 0 0 1px rgba(92,111,92,.1);
}
.rb-shop-subnav button.active:before{
  background:#829b83;
  box-shadow:0 0 0 3px rgba(130,155,131,.12);
}
.rb-shop-page-head{
  margin-bottom:14px;
  padding:4px 2px 12px;
  background:none;
}
.rb-shop-page-head small{
  color:#90887e;
  letter-spacing:.15em;
}
.rb-shop-page-head h2{
  font-family:var(--serif);
  font-weight:650;
  letter-spacing:-.04em;
}
.rb-shop-main{
  gap:14px;
}
.rb-work-panel,
.rb-detail-sheet,
.rb-campaign-card,
.rb-integration-card,
.rb-import-layout>aside,
.rb-import-layout>main{
  background:
    linear-gradient(180deg,rgba(255,253,248,.94),rgba(250,247,240,.94));
  box-shadow:
    inset 0 0 0 1px rgba(65,57,47,.065),
    0 9px 28px rgba(55,45,32,.03);
}
.rb-command-strip>div{
  border:0;
  box-shadow:inset 0 0 0 1px rgba(65,57,47,.06);
}
.rb-command-strip>div:nth-child(1){
  background:linear-gradient(145deg,rgba(225,234,221,.88),rgba(255,253,248,.9));
}
.rb-command-strip>div:nth-child(2){
  background:linear-gradient(145deg,rgba(242,221,224,.76),rgba(255,253,248,.9));
}
.rb-command-strip>div:nth-child(3){
  background:linear-gradient(145deg,rgba(237,229,244,.8),rgba(255,253,248,.9));
}
.rb-command-strip>div:nth-child(4){
  background:linear-gradient(145deg,rgba(229,237,242,.78),rgba(255,253,248,.9));
}
.rb-shop-page-actions button{
  border-radius:12px;
  background:#f7f2e9;
}
.rb-shop-page-actions button.primary,
.rb-detail-sheet footer .primary{
  background:#2e3c31;
  color:#fff;
}
.rb-shop-mobile-nav{display:none!important}

@media(max-width:900px){
  .rb-shop-shell{
    grid-template-columns:1fr;
  }
  .rb-shop-sidebar{
    position:static;
    max-height:none;
    padding:8px;
    border-radius:17px;
  }
  .rb-shop-group-toggle{
    min-height:45px;
  }
  .rb-shop-subnav{
    padding:4px 4px 7px 16px;
  }
  .rb-shop-subnav button{
    min-height:39px;
  }
}
@media(max-width:620px){
  .rb-shop-page-head{
    align-items:flex-start;
    flex-direction:column;
  }
  .rb-shop-page-actions{
    width:100%;
  }
  .rb-shop-page-actions button{
    width:100%;
  }
  .rb-shop-sidebar{
    margin:0 -2px;
    background:
      radial-gradient(circle at 90% 0,rgba(202,190,218,.24),transparent 10rem),
      linear-gradient(180deg,#f8f4ed,#f2ede4);
  }
  .rb-shop-group{
    border-radius:13px;
  }
  .rb-shop-group-toggle{
    min-height:47px;
    padding:0 12px;
  }
  .rb-shop-group-toggle span{
    font-size:.74rem;
  }
  .rb-shop-subnav{
    padding-left:17px;
  }
}


/* Radar Shop v4 — soft Radar palette and editable entities */
.rb-shop-page{
  --shop-paper:#f6f0e7;
  --shop-panel:#fffaf2;
  --shop-ink:#26221d;
  --shop-muted:#7b7369;
  --shop-line:rgba(72,61,49,.08);
  --shop-green:#dfe9d8;
  --shop-pink:#f2dadd;
  --shop-peach:#f2dfce;
  --shop-lilac:#dedcf1;
  --shop-blue:#dce7f3;
  --shop-tan:#eadcc7;
  color:var(--shop-ink);
}
.rb-shop-sidebar{
  background:
    radial-gradient(circle at 8% 0,rgba(223,233,216,.55),transparent 13rem),
    radial-gradient(circle at 96% 18%,rgba(222,220,241,.34),transparent 12rem),
    linear-gradient(180deg,#f8f3eb,#f2ece2);
}
.rb-shop-group{
  border:1px solid rgba(75,64,51,.045);
  background:rgba(255,252,246,.54);
}
.rb-shop-group:nth-child(1).is-open>.rb-shop-group-toggle{background:linear-gradient(135deg,var(--shop-green),rgba(255,250,242,.86))}
.rb-shop-group:nth-child(2).is-open>.rb-shop-group-toggle{background:linear-gradient(135deg,var(--shop-pink),rgba(255,250,242,.86))}
.rb-shop-group:nth-child(3).is-open>.rb-shop-group-toggle{background:linear-gradient(135deg,var(--shop-peach),rgba(255,250,242,.86))}
.rb-shop-group:nth-child(4).is-open>.rb-shop-group-toggle{background:linear-gradient(135deg,var(--shop-blue),rgba(255,250,242,.86))}
.rb-shop-group:nth-child(5).is-open>.rb-shop-group-toggle{background:linear-gradient(135deg,var(--shop-lilac),rgba(255,250,242,.86))}
.rb-shop-group:nth-child(6).is-open>.rb-shop-group-toggle{background:linear-gradient(135deg,var(--shop-tan),rgba(255,250,242,.86))}
.rb-shop-group:nth-child(1) .rb-shop-subnav button.active:before{background:#8eaa8f}
.rb-shop-group:nth-child(2) .rb-shop-subnav button.active:before{background:#c88996}
.rb-shop-group:nth-child(3) .rb-shop-subnav button.active:before{background:#c79c79}
.rb-shop-group:nth-child(4) .rb-shop-subnav button.active:before{background:#8baec1}
.rb-shop-group:nth-child(5) .rb-shop-subnav button.active:before{background:#9988b8}
.rb-shop-group:nth-child(6) .rb-shop-subnav button.active:before{background:#ad916c}
.rb-shop-group:nth-child(1) .rb-shop-subnav button.active{background:rgba(223,233,216,.44)}
.rb-shop-group:nth-child(2) .rb-shop-subnav button.active{background:rgba(242,218,221,.42)}
.rb-shop-group:nth-child(3) .rb-shop-subnav button.active{background:rgba(242,223,206,.48)}
.rb-shop-group:nth-child(4) .rb-shop-subnav button.active{background:rgba(220,231,243,.48)}
.rb-shop-group:nth-child(5) .rb-shop-subnav button.active{background:rgba(222,220,241,.5)}
.rb-shop-group:nth-child(6) .rb-shop-subnav button.active{background:rgba(234,220,199,.48)}

.rb-shop-page-head{
  position:relative;
  min-height:76px;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
  margin:0 0 15px;
  padding:8px 4px 13px;
  border-bottom:1px solid var(--shop-line);
}
.rb-shop-page-head:before{
  content:"";
  position:absolute;
  left:4px;
  bottom:-1px;
  width:74px;
  height:2px;
  border-radius:99px;
  background:linear-gradient(90deg,#91aa91,#b19bc2,#d0a3ab);
}
.rb-shop-page-head small{
  display:block;
  margin-bottom:4px;
  color:#8c8378;
  font-size:.56rem;
  font-weight:850;
  letter-spacing:.14em;
}
.rb-shop-page-head h2{
  margin:0;
  font:650 2rem/.98 var(--serif);
  color:#28231f;
}
.rb-shop-page-actions{
  display:flex;
  gap:7px;
  flex-wrap:wrap;
}
.rb-shop-page-actions button{
  min-height:39px;
  padding:0 13px;
  border:1px solid rgba(70,59,47,.08);
  border-radius:12px;
  background:rgba(255,251,244,.88);
  color:#484139;
  font-size:.7rem;
  font-weight:800;
  box-shadow:0 5px 15px rgba(60,48,34,.035);
}
.rb-shop-page-actions button.primary{
  border-color:rgba(70,91,72,.12);
  background:linear-gradient(145deg,#334638,#26372d);
  color:#fff;
  box-shadow:0 8px 20px rgba(45,65,49,.13);
}
.rb-shop-page-actions button:active{transform:scale(.97)}

.rb-shop-main{
  min-width:0;
}
.rb-work-panel{
  border:0;
  background:
    radial-gradient(circle at 100% 0,rgba(223,233,216,.17),transparent 11rem),
    rgba(255,252,246,.85);
}
.rb-work-panel:nth-child(even){
  background:
    radial-gradient(circle at 100% 0,rgba(222,220,241,.18),transparent 11rem),
    rgba(255,252,246,.85);
}
.rb-panel-title h3{
  font-family:var(--serif);
  font-weight:650;
  letter-spacing:-.025em;
}
.rb-shop-list-row{
  width:100%;
  border-left:0;
  border-right:0;
  border-bottom:0;
  background:transparent;
  text-align:left;
  cursor:pointer;
  transition:background .14s ease,transform .14s ease;
}
.rb-shop-list-row:not(.static):hover{
  background:rgba(245,239,230,.7);
}
.rb-shop-list-row:not(.static):active{
  transform:scale(.996);
}
.rb-shop-list-row>div>span{
  color:#948b80;
}
.rb-shop-list-row>b{
  color:#aaa095;
  font-size:1rem;
  font-weight:500;
}

.rb-detail-sheet,
.rb-entity-editor{
  overflow:hidden;
  border:0;
  border-radius:22px;
  background:
    radial-gradient(circle at 95% 0,rgba(222,220,241,.24),transparent 16rem),
    radial-gradient(circle at 0 100%,rgba(223,233,216,.24),transparent 18rem),
    #fffaf2;
}
.rb-detail-sheet>header{
  padding:17px 18px 14px;
  border-bottom:1px solid rgba(70,59,47,.07);
}
.rb-detail-sheet>header small{
  color:#91877c;
  font-size:.56rem;
  font-weight:900;
  letter-spacing:.13em;
}
.rb-detail-sheet>header h3{
  margin:4px 0 0;
  font:650 1.55rem/1 var(--serif);
  letter-spacing:-.03em;
}
.rb-detail-sheet>header>button{
  width:38px;
  height:38px;
  border:0;
  border-radius:50%;
  background:rgba(238,232,222,.78);
  color:#5d554c;
}
.rb-entity-editor form,
.rb-detail-sheet form{
  display:grid;
  gap:12px;
  padding:16px 18px;
}
.rb-entity-editor label,
.rb-detail-sheet form>label,
.rb-form-grid>label{
  display:grid;
  gap:6px;
  color:#71695f;
  font-size:.65rem;
  font-weight:760;
}
.rb-entity-editor :is(input,select,textarea),
.rb-detail-sheet :is(input,select,textarea){
  width:100%;
  min-height:43px;
  border:1px solid rgba(77,65,52,.09);
  border-radius:12px;
  padding:9px 10px;
  background:rgba(255,253,248,.88);
  color:#2d2924;
  outline:0;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.75);
}
.rb-entity-editor textarea,
.rb-detail-sheet textarea{
  min-height:94px;
  resize:vertical;
}
.rb-entity-editor :is(input,select,textarea):focus,
.rb-detail-sheet :is(input,select,textarea):focus{
  border-color:#a8b9a3;
  box-shadow:0 0 0 4px rgba(142,170,143,.09);
}
.rb-form-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
.rb-detail-sheet footer{
  display:flex;
  justify-content:flex-end;
  gap:7px;
  padding-top:3px;
}
.rb-detail-sheet footer button{
  min-height:40px;
  border:1px solid rgba(71,60,48,.09);
  border-radius:11px;
  padding:0 12px;
  background:#f3ede4;
  color:#514940;
  font-weight:750;
}
.rb-detail-sheet footer button.primary{
  background:#2f4134;
  color:#fff;
}
.rb-editor-notice{
  margin:14px 18px 0;
  padding:11px 12px;
  border-radius:13px;
  background:linear-gradient(135deg,rgba(242,223,206,.6),rgba(255,250,242,.9));
  color:#675a4e;
  font-size:.68rem;
  line-height:1.45;
}
.rb-editor-meta{
  margin:2px 18px 15px;
  padding:12px;
  border-radius:14px;
  background:rgba(240,235,226,.64);
}
.rb-editor-meta h4{
  margin:0 0 8px;
  font:650 .88rem var(--serif);
}
.rb-editor-meta p{
  display:grid;
  grid-template-columns:100px 1fr;
  gap:10px;
  margin:0;
  padding:6px 0;
  border-top:1px solid rgba(72,61,49,.06);
  font-size:.64rem;
}
.rb-editor-meta p:first-of-type{border-top:0}
.rb-editor-meta span{color:#8b8277}
.rb-editor-meta code{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.rb-detail-history{
  margin:0 18px 18px;
  border:1px solid rgba(73,62,50,.07);
  border-radius:13px;
  background:rgba(255,253,248,.65);
}
.rb-detail-history summary{
  padding:11px 12px;
  color:#665e55;
  font-size:.68rem;
  font-weight:800;
}
.rb-detail-history ol{
  margin:0;
  padding:0 12px 11px 29px;
}
.rb-detail-history li{
  padding:5px 0;
  font-size:.65rem;
}
.rb-detail-history li span{
  display:block;
  color:#8b8278;
}

.rb-campaign-card{
  border:0;
  border-radius:18px;
  background:
    radial-gradient(circle at 100% 0,rgba(242,218,221,.3),transparent 12rem),
    #fffaf2;
}
.rb-integration-card{
  border:0;
  border-radius:18px;
  background:
    radial-gradient(circle at 100% 0,rgba(220,231,243,.36),transparent 13rem),
    #fffaf2;
}
.rb-pos-console{
  border-radius:22px;
  background:
    radial-gradient(circle at 86% 10%,rgba(222,220,241,.35),transparent 16rem),
    radial-gradient(circle at 8% 86%,rgba(223,233,216,.38),transparent 16rem),
    #fffaf2;
}

@media(max-width:760px){
  .rb-form-grid{grid-template-columns:1fr}
  .rb-shop-page-head h2{font-size:1.7rem}
  .rb-shop-page-head{min-height:64px}
}


/* Business vs My Shop */
.rb-space-bar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:0 0 14px;
  padding:8px;
  border-radius:18px;
  background:
    radial-gradient(circle at 82% 0,rgba(222,220,241,.22),transparent 13rem),
    rgba(250,247,240,.9);
  box-shadow:inset 0 0 0 1px rgba(67,58,47,.065);
}
.rb-space-tabs{
  display:flex;
  gap:6px;
  min-width:0;
}
.rb-space-tabs>button,
.rb-space-tabs>label{
  position:relative;
  min-width:168px;
  min-height:52px;
  display:grid;
  align-content:center;
  gap:2px;
  margin:0;
  padding:8px 12px;
  border:0;
  border-radius:13px;
  background:transparent;
  color:#6f675e;
  text-align:left;
  cursor:pointer;
}
.rb-space-tabs>button span,
.rb-space-tabs>label>span{
  font-size:.76rem;
  font-weight:850;
  color:#403a34;
}
.rb-space-tabs>button small,
.rb-space-tabs>label>small{
  overflow:hidden;
  color:#91887d;
  font-size:.6rem;
  white-space:nowrap;
  text-overflow:ellipsis;
}
.rb-space-tabs>button.active{
  background:linear-gradient(135deg,rgba(220,231,243,.58),rgba(255,252,246,.94));
  box-shadow:inset 0 0 0 1px rgba(97,119,139,.09);
}
.rb-space-tabs>label.active{
  background:linear-gradient(135deg,rgba(223,233,216,.72),rgba(255,252,246,.94));
  box-shadow:inset 0 0 0 1px rgba(91,116,91,.09);
}
.rb-space-tabs select{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  opacity:0;
  cursor:pointer;
}
.rb-space-refresh{
  min-height:38px;
  border:0;
  border-radius:11px;
  padding:0 11px;
  background:#eee8de;
  color:#625a51;
  font-size:.66rem;
  font-weight:800;
}

/* Employee today */
.rb-employee-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(220px,.8fr);
  gap:12px;
  align-items:stretch;
  margin-bottom:14px;
}
.rb-employee-hero>div:first-child{
  display:grid;
  align-content:end;
  min-height:150px;
  padding:18px;
  border-radius:22px;
  background:
    radial-gradient(circle at 90% 8%,rgba(222,220,241,.5),transparent 13rem),
    radial-gradient(circle at 10% 90%,rgba(223,233,216,.55),transparent 14rem),
    #fffaf2;
  box-shadow:inset 0 0 0 1px rgba(68,58,47,.065);
}
.rb-employee-hero small{
  color:#8b8278;
  font-size:.58rem;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.rb-employee-hero h3{
  margin:4px 0 1px;
  font:650 2rem/1 var(--serif);
  letter-spacing:-.04em;
}
.rb-employee-hero p{
  margin:3px 0 0;
  color:#756d64;
  font-size:.72rem;
}
.rb-shift-card{
  min-height:150px;
  display:grid;
  align-content:end;
  padding:18px;
  border-radius:22px;
  background:
    radial-gradient(circle at 90% 0,rgba(220,231,243,.42),transparent 12rem),
    #fffaf2;
  box-shadow:inset 0 0 0 1px rgba(68,58,47,.065);
}
.rb-shift-card.is-off{
  background:
    radial-gradient(circle at 100% 0,rgba(242,223,206,.38),transparent 12rem),
    #fffaf2;
}
.rb-shift-card span{
  color:#8c8379;
  font-size:.56rem;
  font-weight:900;
  letter-spacing:.14em;
}
.rb-shift-card strong{
  margin-top:5px;
  font:650 1.35rem/1.05 var(--serif);
}
.rb-shift-card small{
  margin-top:5px;
  color:#7f776e;
  font-size:.65rem;
}
.rb-notice{
  margin:7px 0;
  padding:11px 12px;
  border-radius:13px;
  background:#f4efe6;
}
.rb-notice.important{
  background:linear-gradient(135deg,rgba(242,223,206,.7),#fbf7ef);
}
.rb-notice.urgent{
  background:linear-gradient(135deg,rgba(242,218,221,.75),#fbf7ef);
}
.rb-notice strong{
  display:block;
  font-size:.72rem;
}
.rb-notice p{
  margin:4px 0 0;
  color:#6d655d;
  font-size:.67rem;
  line-height:1.4;
}
.rb-chat-preview{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:8px;
  padding:8px 0;
  border-top:1px solid rgba(69,59,48,.06);
}
.rb-chat-preview:first-of-type{border-top:0}
.rb-chat-preview strong{font-size:.66rem}
.rb-chat-preview span{
  overflow:hidden;
  color:#746c63;
  font-size:.66rem;
  white-space:nowrap;
  text-overflow:ellipsis;
}

/* Team */
.rb-team-invite{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(280px,.8fr);
  gap:14px;
  margin-bottom:14px;
  padding:17px;
  border-radius:20px;
  background:
    radial-gradient(circle at 100% 0,rgba(223,233,216,.52),transparent 14rem),
    #fffaf2;
  box-shadow:inset 0 0 0 1px rgba(69,59,48,.065);
}
.rb-team-invite span{
  color:#869080;
  font-size:.56rem;
  font-weight:900;
  letter-spacing:.13em;
}
.rb-team-invite h3{
  margin:4px 0;
  font:650 1.25rem var(--serif);
}
.rb-team-invite p{
  margin:0;
  color:#71695f;
  font-size:.69rem;
  line-height:1.45;
}
.rb-team-invite form{
  display:flex;
  gap:7px;
  align-items:end;
}
.rb-team-invite label{
  flex:1;
  display:grid;
  gap:5px;
  color:#766e65;
  font-size:.62rem;
}
.rb-team-invite input{
  min-height:40px;
  border:1px solid rgba(70,59,47,.09);
  border-radius:11px;
  padding:0 10px;
  background:#fffdf8;
}
.rb-team-invite button,
.rb-team-person button{
  min-height:40px;
  border:0;
  border-radius:11px;
  padding:0 11px;
  background:#334638;
  color:#fff;
  font-size:.67rem;
  font-weight:800;
}
.rb-invite-link{
  grid-column:1/-1;
  display:grid;
  grid-template-columns:1fr auto;
  gap:7px;
  padding-top:4px;
}
.rb-invite-link input{
  width:100%;
  min-width:0;
}
.rb-team-person,
.rb-shift-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:10px;
  align-items:center;
  min-height:62px;
  padding:9px 2px;
  border-top:1px solid rgba(69,59,48,.065);
}
.rb-team-person:first-of-type,
.rb-shift-row:first-of-type{border-top:0}
.rb-team-person strong,
.rb-shift-row strong{display:block;font-size:.75rem}
.rb-team-person span{
  display:block;
  margin-top:2px;
  color:#667568;
  font-size:.61rem;
  font-weight:760;
}
.rb-team-person small,
.rb-shift-row small{
  display:block;
  margin-top:3px;
  color:#8a8177;
  font-size:.61rem;
}
.rb-shift-row>button{
  width:34px;
  height:34px;
  border:0;
  border-radius:50%;
  background:#f0e8df;
  color:#8c6868;
}

/* Shop internal chat */
.rb-chat-layout{
  display:grid;
  grid-template-columns:minmax(220px,.42fr) minmax(0,1fr);
  gap:14px;
  min-height:560px;
}
.rb-chat-layout>aside,
.rb-team-chat{
  border-radius:20px;
  background:#fffaf2;
  box-shadow:inset 0 0 0 1px rgba(69,59,48,.065);
}
.rb-chat-layout>aside{
  padding:14px;
}
.rb-chat-layout>aside h3{
  margin:0 0 10px;
  font:650 1.05rem var(--serif);
}
.rb-notice-form{
  display:grid;
  gap:7px;
  margin-bottom:13px;
  padding-bottom:12px;
  border-bottom:1px solid rgba(68,58,47,.07);
}
.rb-notice-form :is(input,select,textarea){
  width:100%;
  min-height:37px;
  border:1px solid rgba(70,59,47,.09);
  border-radius:10px;
  padding:7px 9px;
  background:#fffdf8;
}
.rb-notice-form textarea{min-height:68px;resize:vertical}
.rb-notice-form button{
  min-height:37px;
  border:0;
  border-radius:10px;
  background:#e7dfef;
  color:#554761;
  font-weight:800;
}
.rb-team-chat{
  display:grid;
  grid-template-rows:1fr auto;
  overflow:hidden;
}
.rb-chat-stream{
  display:flex;
  flex-direction:column;
  gap:7px;
  max-height:620px;
  overflow:auto;
  padding:15px;
}
.rb-chat-message{
  align-self:flex-start;
  max-width:min(78%,560px);
  padding:9px 11px;
  border-radius:14px 14px 14px 4px;
  background:#eee8df;
}
.rb-chat-message.mine{
  align-self:flex-end;
  border-radius:14px 14px 4px 14px;
  background:linear-gradient(135deg,#dfe9d8,#ece9f3);
}
.rb-chat-message>div{
  display:flex;
  justify-content:space-between;
  gap:10px;
}
.rb-chat-message strong{font-size:.62rem}
.rb-chat-message small{color:#8d847a;font-size:.56rem}
.rb-chat-message p{
  margin:4px 0 0;
  font-size:.72rem;
  line-height:1.42;
  white-space:pre-wrap;
}
.rb-team-chat>form{
  display:grid;
  grid-template-columns:1fr auto;
  gap:7px;
  padding:10px;
  border-top:1px solid rgba(69,59,48,.07);
  background:rgba(248,243,235,.88);
}
.rb-team-chat>form input{
  min-width:0;
  min-height:42px;
  border:1px solid rgba(70,59,47,.09);
  border-radius:12px;
  padding:0 11px;
  background:#fffdf8;
}
.rb-team-chat>form button{
  min-height:42px;
  border:0;
  border-radius:12px;
  padding:0 14px;
  background:#334638;
  color:#fff;
  font-weight:800;
}

@media(max-width:760px){
  .rb-space-bar{align-items:stretch}
  .rb-space-tabs{display:grid;grid-template-columns:1fr 1fr;flex:1}
  .rb-space-tabs>button,.rb-space-tabs>label{min-width:0}
  .rb-space-refresh{display:none}
  .rb-employee-hero{grid-template-columns:1fr}
  .rb-team-invite{grid-template-columns:1fr}
  .rb-team-invite form{display:grid}
  .rb-chat-layout{grid-template-columns:1fr}
  .rb-chat-layout>aside{order:2}
  .rb-team-chat{min-height:520px}
}


/* Selective integrations / automatic migrations */
.rb-integration-intro{
  margin-bottom:14px;
  padding:17px 18px;
  border-radius:20px;
  background:
    radial-gradient(circle at 88% 10%,rgba(222,220,241,.34),transparent 14rem),
    radial-gradient(circle at 4% 100%,rgba(223,233,216,.34),transparent 15rem),
    #fffaf2;
  box-shadow:inset 0 0 0 1px rgba(69,59,48,.065);
}
.rb-integration-intro>span{
  color:#8c8378;
  font-size:.56rem;
  font-weight:900;
  letter-spacing:.14em;
}
.rb-integration-intro h3{
  margin:5px 0 4px;
  font:650 1.35rem/1.06 var(--serif);
  letter-spacing:-.025em;
}
.rb-integration-intro p{
  max-width:760px;
  margin:0;
  color:#71695f;
  font-size:.7rem;
  line-height:1.5;
}
.rb-integration-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
.rb-integration-card{
  display:block;
  overflow:hidden;
  border:0;
  border-radius:19px;
  padding:0;
  background:
    radial-gradient(circle at 100% 0,rgba(220,231,243,.32),transparent 13rem),
    #fffaf2;
}
.rb-integration-card.migration_source{
  background:
    radial-gradient(circle at 100% 0,rgba(223,233,216,.38),transparent 13rem),
    #fffaf2;
}
.rb-integration-card.compliance_backend{
  background:
    radial-gradient(circle at 100% 0,rgba(242,223,206,.44),transparent 13rem),
    #fffaf2;
}
.rb-integration-card>header{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:12px;
  align-items:start;
  padding:15px 15px 11px;
}
.rb-integration-card>header span{
  color:#8d8479;
  font-size:.54rem;
  font-weight:900;
  letter-spacing:.13em;
  text-transform:uppercase;
}
.rb-integration-card>header h3{
  margin:4px 0 2px;
  font:650 1.12rem/1 var(--serif);
}
.rb-integration-card>header p{
  margin:0;
  color:#746c63;
  font-size:.64rem;
}
.rb-integration-card>header button,
.rb-source-picker-head button,
.rb-source-empty button{
  min-height:36px;
  border:1px solid rgba(70,59,47,.08);
  border-radius:10px;
  padding:0 10px;
  background:rgba(255,253,248,.9);
  color:#514940;
  font-size:.63rem;
  font-weight:800;
  cursor:pointer;
}
.rb-integration-card>header button:disabled{
  opacity:.48;
  cursor:default;
}
.rb-integration-explain{
  margin:0;
  padding:0 15px 13px;
  color:#696158;
  font-size:.67rem;
  line-height:1.48;
}
.rb-integration-count{
  display:inline-flex;
  margin:0 15px 11px;
  padding:5px 8px;
  border-radius:999px;
  background:rgba(223,233,216,.58);
  color:#506450;
  font-size:.58rem;
  font-weight:800;
}
.rb-source-empty,
.rb-source-picker{
  border-top:1px solid rgba(70,59,47,.07);
  background:rgba(247,242,234,.7);
}
.rb-source-empty{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:12px 14px;
}
.rb-source-empty p{
  margin:0;
  color:#71695f;
  font-size:.64rem;
  line-height:1.4;
}
.rb-source-backend{
  background:rgba(242,223,206,.34);
}
.rb-source-picker{
  padding:11px 12px 12px;
}
.rb-source-picker-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:7px;
}
.rb-source-picker-head strong{
  color:#49423b;
  font-size:.68rem;
}
.rb-source-choice{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:9px;
  align-items:center;
  min-height:44px;
  margin:3px 0;
  padding:7px 8px;
  border-radius:11px;
  background:rgba(255,253,248,.76);
  cursor:pointer;
  transition:background .14s ease,transform .14s ease;
}
.rb-source-choice:hover{
  background:#fffdf8;
}
.rb-source-choice:active{
  transform:scale(.997);
}
.rb-source-choice input{
  width:17px;
  height:17px;
  accent-color:#6f8f73;
}
.rb-source-choice span{
  min-width:0;
}
.rb-source-choice strong{
  display:block;
  color:#3f3933;
  font-size:.66rem;
}
.rb-source-choice small{
  display:block;
  margin-top:2px;
  color:#8c8378;
  font-size:.58rem;
}
.rb-source-picker>p{
  margin:9px 2px 0;
  color:#8b8277;
  font-size:.59rem;
  line-height:1.45;
}
@media(max-width:840px){
  .rb-integration-grid{grid-template-columns:1fr}
}


.rb-personal-app-space{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin:0 0 12px;
  padding:10px 12px;
  border-radius:16px;
  background:linear-gradient(135deg,rgba(220,231,243,.48),rgba(255,250,242,.92));
  box-shadow:inset 0 0 0 1px rgba(68,58,47,.06);
}
.rb-personal-app-space>div{display:grid;gap:2px}
.rb-personal-app-space span{font-size:.54rem;font-weight:900;letter-spacing:.13em;color:#7f786f;text-transform:uppercase}
.rb-personal-app-space strong{font:650 .95rem Georgia,serif}
.rb-personal-app-space a{
  padding:8px 10px;
  border-radius:10px;
  background:#34463a;
  color:#fff;
  text-decoration:none;
  font-size:.62rem;
  font-weight:850;
}
