/* SalonPro Founder Console: compact editorial SaaS redesign, November 2026.
   These rules intentionally target ONLY the authenticated founder dashboard.
   Owner/master/client experiences and standalone founder dialogs are untouched. */
.operator-workspace{
  --founder-ink:#18263b;
  --founder-green:#17735a;
  --founder-line:#e1e8ee;
  background:#f4f6f9;
  color:#263649;
}
.operator-workspace .operator-console[data-founder-tabs]{
  width:min(1430px,calc(100% - 40px));
  max-width:1430px;
  margin:14px auto 80px;
  display:grid;
  grid-template-columns:206px minmax(0,1fr);
  grid-template-rows:auto minmax(0,1fr);
  align-items:start;
  gap:14px 18px;
}
.operator-workspace .operator-console[data-founder-tabs] > .operator-hero{
  grid-column:2;grid-row:1;
}
.operator-workspace .operator-console[data-founder-tabs] > .operator-tabs{
  grid-column:1;grid-row:1/span 2;
  position:sticky;top:14px;
  width:100%;min-height:350px;max-height:calc(100vh - 110px);
  margin:0;padding:13px 9px;
  display:flex;flex-direction:column;align-items:stretch;
  gap:4px;overflow-y:auto;overflow-x:hidden;
  background:#192637;color:#c6d3de;border:1px solid #27374b;
  border-radius:17px;box-shadow:0 7px 26px #1d2b3c10;
  backdrop-filter:none;-webkit-backdrop-filter:none;
}
.operator-workspace .operator-console[data-founder-tabs] > [data-operator-panel]{
  grid-column:2;grid-row:2;
  min-width:0;
}
.operator-workspace .operator-nav-brand{display:none;align-items:center;gap:10px;
  padding:7px 8px 17px;margin:0 2px 10px;
  border-bottom:1px solid #ffffff1b;
}
.operator-workspace .operator-nav-brand-mark{
  display:grid;place-items:center;flex:0 0 33px;
  width:33px;height:33px;border-radius:11px;
  background:#217c63;color:#f8fffc;
}
.operator-workspace .operator-nav-brand>span:last-child{
  display:grid;gap:2px;min-width:0;
}
.operator-workspace .operator-nav-brand strong{
  font-size:.83rem;letter-spacing:.07em;color:#fff;line-height:1.1;
}
.operator-workspace .operator-nav-brand small{
  font-size:.57rem;letter-spacing:.11em;font-weight:750;color:#8da3b3;
}
.operator-workspace .operator-console[data-founder-tabs] > .operator-tabs .operator-nav-brand{display:flex}
.operator-workspace .operator-console[data-founder-tabs] > .operator-tabs .operator-nav-security{display:flex}
.operator-workspace .operator-console[data-founder-tabs] > .operator-tabs>button{
  display:flex;flex:0 0 auto;align-items:center;justify-content:flex-start;
  width:100%;min-width:0;min-height:42px;
  padding:10px 12px;gap:11px;
  border-radius:10px;
  background:transparent;border:1px solid transparent;
  text-align:left;color:#bbcbd8;
  font-size:.77rem;font-weight:725;letter-spacing:0;white-space:normal;
}
.operator-workspace .operator-console[data-founder-tabs] > .operator-tabs>button svg{
  flex:0 0 18px;width:18px;height:18px;opacity:.86;
}
.operator-workspace .operator-console[data-founder-tabs] > .operator-tabs>button:hover{
  color:#fff;background:#ffffff13;
}
.operator-workspace .operator-console[data-founder-tabs] > .operator-tabs>button[aria-pressed="true"]{
  background:#267d64;color:#fff;border-color:#318e73;box-shadow:none;
}
.operator-workspace .operator-nav-security{display:none;align-items:center;gap:8px;
  margin:auto 8px 3px;padding:13px 1px 0;
  color:#8499a7;border-top:1px solid #ffffff1b;
  font-size:.64rem;line-height:1.4;
}
.operator-workspace .operator-console[data-founder-tabs] > .operator-hero{
  display:grid;grid-template-columns:minmax(0,1fr) auto;
  gap:12px;align-items:start;
  padding:18px 21px;min-height:0;
  background:#fff;color:#1d2d43;
  border:1px solid var(--founder-line);border-radius:16px;
  box-shadow:0 3px 14px #1b334508;
}
.operator-workspace .operator-console[data-founder-tabs] > .operator-hero:after{
  display:none;
}
.operator-workspace .operator-hero-copy{min-width:0}
.operator-workspace .operator-console[data-founder-tabs] .operator-eyebrow{
  color:#36836a;font-size:.61rem;letter-spacing:.105em;
}
.operator-workspace .operator-hero-heading{
  display:flex;align-items:center;gap:12px;flex-wrap:wrap;
  margin:5px 0 3px;
}
.operator-workspace .operator-hero-heading h1{
  font-size:clamp(1.22rem,1.8vw,1.58rem);
  line-height:1.18;letter-spacing:-.042em;margin:0;
  color:#1c2a3e;
}
.operator-workspace .operator-hero-heading .operator-mode{
  display:inline-flex;align-items:center;
  margin:0;padding:4px 9px;min-height:23px;
  color:#1f7359;background:#eaf6ef;
  border:1px solid #d6e9dd;border-radius:8px;
  font-size:.59rem;font-weight:790;
}
.operator-workspace .operator-console[data-founder-tabs] .operator-hero p{
  font-size:.74rem;line-height:1.5;color:#738196;margin:0;max-width:730px;
}
.operator-workspace .operator-hero-shortcuts{
  display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-top:11px;
}
.operator-workspace .operator-hero-shortcuts button{
  display:inline-flex;align-items:center;justify-content:center;gap:7px;
  min-height:30px;padding:5px 10px;border:1px solid #e0e9eb;
  border-radius:8px;color:#3d6870;background:#f7fafb;
  font-size:.68rem;font-weight:740;cursor:pointer;
}
.operator-workspace .operator-hero-shortcuts button:hover{
  background:#eef8f3;border-color:#bcddd0;color:#1d7358;
}
.operator-workspace .operator-console[data-founder-tabs] .operator-hero-actions{
  flex-wrap:nowrap;gap:7px;align-items:center;
}
.operator-workspace .operator-console[data-founder-tabs] .operator-hero-designer,
.operator-workspace .operator-console[data-founder-tabs] .operator-hero-refresh{
  display:inline-flex;align-items:center;justify-content:center;gap:7px;
  min-height:36px;border-radius:9px;padding:8px 12px;
  font-size:.72rem;font-weight:760;white-space:nowrap;
}
.operator-workspace .operator-console[data-founder-tabs] .operator-hero-designer{
  color:#fff;background:#215f50;border:1px solid #215f50;
}
.operator-workspace .operator-console[data-founder-tabs] .operator-hero-designer:hover{background:#1a503f}
.operator-workspace .operator-console[data-founder-tabs] .operator-hero-refresh{
  color:#426071;background:#fff;border:1px solid #dce4e9;
}
.operator-workspace .operator-console[data-founder-tabs] .operator-hero-refresh:hover{background:#f3f7f8}
.operator-workspace .operator-console[data-founder-tabs] .operator-overview-content{
  gap:11px;
}
.operator-workspace .operator-console[data-founder-tabs] .operator-kpi-grid{
  grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;
}
.operator-workspace .operator-console[data-founder-tabs] .operator-kpi{
  min-width:0;min-height:89px;
  display:grid;grid-template-columns:32px minmax(0,1fr);
  grid-template-rows:min-content min-content;align-content:center;
  gap:4px 9px;padding:12px;
  background:#fff;border:1px solid #e1e8ee;
  border-radius:13px;box-shadow:0 2px 9px #20324606;
}
.operator-workspace .operator-console[data-founder-tabs] .operator-kpi-total{background:#f3f9f6;border-color:#dae9df}
.operator-workspace .operator-console[data-founder-tabs] .operator-kpi-icon{
  grid-row:1/span 2;align-self:center;width:32px;height:32px;
  background:#ecf5f1;color:#297b5a;border-radius:9px;
}
.operator-workspace .operator-console[data-founder-tabs] .operator-kpi-icon svg{width:17px;height:17px}
.operator-workspace .operator-console[data-founder-tabs] .operator-kpi small{
  font-size:.66rem;line-height:1.3;font-weight:700;color:#67788b;
}
.operator-workspace .operator-console[data-founder-tabs] .operator-kpi strong{
  font-size:clamp(1.12rem,1.8vw,1.55rem);line-height:1.15;
  letter-spacing:-.025em;font-weight:845;color:#1e3248;
}
.operator-workspace .operator-console[data-founder-tabs] .operator-kpi-note{
  grid-column:2;font-size:.55rem;color:#85929c;line-height:1.3;
}
.operator-workspace .operator-console[data-founder-tabs] .operator-insights-grid{
  gap:9px;
}
.operator-workspace .operator-console[data-founder-tabs] .operator-mini-stat{
  min-height:61px;padding:10px 12px;
  border-radius:12px;background:#fff;border:1px solid #e1e8ee;gap:9px;
}
.operator-workspace .operator-console[data-founder-tabs] .operator-mini-stat>span{
  width:31px;height:31px;flex:0 0 31px;
  border-radius:9px;color:#396d67;background:#eff6f4;
}
.operator-workspace .operator-console[data-founder-tabs] .operator-mini-stat b{
  color:#24374c;font-size:1.1rem;
}
.operator-workspace .operator-console[data-founder-tabs] .operator-mini-stat small{font-size:.66rem;color:#768594}
.operator-workspace .operator-console[data-founder-tabs] .operator-overview-grid{
  gap:10px;grid-template-columns:1.05fr .95fr;
}
.operator-workspace .operator-console[data-founder-tabs] .operator-panel{
  padding:16px 18px;border:1px solid #e1e8ee;border-radius:14px;
  background:#fff;box-shadow:0 2px 12px #22374a07;
}
.operator-workspace .operator-console[data-founder-tabs] .operator-section-heading{
  margin-bottom:11px;gap:8px;
}
.operator-workspace .operator-console[data-founder-tabs] .operator-section-kicker{
  color:#4e9077;font-size:.57rem;letter-spacing:.13em;
}
.operator-workspace .operator-console[data-founder-tabs] .operator-section-heading h2{
  color:#1e3045;font-size:1.05rem;line-height:1.3;margin:4px 0 2px;
}
.operator-workspace .operator-console[data-founder-tabs] .operator-section-heading p{
  font-size:.7rem;color:#758596;line-height:1.45;
}
.operator-workspace .operator-console[data-founder-tabs] .operator-attention-item{
  min-height:42px;gap:7px;padding:7px 9px;
  border-radius:9px;background:#f9fafb;border-color:#ebeff2;
}
.operator-workspace .operator-console[data-founder-tabs] .operator-attention-icon{
  background:#e9f3ef;color:#39765d;
}
.operator-workspace .operator-console[data-founder-tabs] .operator-attention-item:hover{
  background:#f1f8f4;border-color:#cde4d6;
}
.operator-workspace .operator-console[data-founder-tabs] .operator-funnel-track{
  height:6px;background:#eef1f4;
}
.operator-workspace .operator-console[data-founder-tabs] .operator-funnel-fill{background:#2f8c72}
.operator-workspace .operator-console[data-founder-tabs] .operator-bar-trial{background:#d0aa63}
.operator-workspace .operator-console[data-founder-tabs] .operator-bar-trial_ended{background:#d49c72}
.operator-workspace .operator-console[data-founder-tabs] .operator-bar-past_due{background:#cc8688}
.operator-workspace .operator-console[data-founder-tabs] .operator-salon-card{
  padding:11px 12px;background:#fff;border:1px solid #e3e9ee;
  box-shadow:none;border-radius:11px;gap:12px;
}
.operator-workspace .operator-console[data-founder-tabs] .operator-salon-card:hover{
  border-color:#b8d8ca;background:#fcfefd;
}
.operator-workspace .operator-console[data-founder-tabs] .operator-salon-heading strong{
  color:#203449;font-size:.88rem;
}
.operator-workspace .operator-console[data-founder-tabs] .operator-salon-details{
  margin-top:7px;gap:5px 15px;
}
.operator-workspace .operator-console[data-founder-tabs] .operator-salon-owner{font-size:.71rem}
.operator-workspace .operator-console[data-founder-tabs] .operator-filters{
  gap:5px;
}
.operator-workspace .operator-console[data-founder-tabs] .operator-filter{
  border-radius:8px;min-height:32px;padding:6px 10px;
}
.operator-workspace .operator-console[data-founder-tabs] .operator-filter.is-active{
  background:#215f50;border-color:#215f50;
}
.operator-workspace .operator-console[data-founder-tabs] .operator-search input{
  border-color:#dbe5e8;background:#fff;border-radius:9px;
}
.operator-workspace .operator-console[data-founder-tabs] .operator-directory-toolbar select{
  border-color:#dce5e8;background:#fff;border-radius:9px;
}
.operator-workspace .operator-console[data-founder-tabs] .operator-tools-row{
  gap:7px;grid-template-columns:repeat(2,minmax(0,1fr));
}
.operator-workspace .operator-console[data-founder-tabs] .operator-tools-row>.button{
  min-height:40px;border-radius:9px;font-size:.73rem;padding:9px 12px;
}
.operator-workspace .operator-console[data-founder-tabs] .sp-ops-platform-stat,
.operator-workspace .operator-console[data-founder-tabs] .sp-ops-platform-detail{
  border-color:#e0e7ee;background:#fff;
}
.operator-workspace .operator-console[data-founder-tabs] .sp-ops-platform-stat strong{
  color:#204e44;font-size:1.42rem;
}
.operator-workspace .operator-console[data-founder-tabs] :is(button,select,input,a,summary):focus-visible{
  outline:3px solid #5eac90;outline-offset:2px;
}
/* Founder-only activity bars; aggregates only, no booking or client details. */
.operator-workspace .operator-console[data-founder-tabs] .sp-ops-trend{
  min-width:0;padding:14px 16px;margin:10px 0;background:#fff;
  border:1px solid #e1e8ee;border-radius:13px;
}
.operator-workspace .operator-console[data-founder-tabs] .sp-ops-trend h4{
  display:flex;align-items:center;gap:7px;margin:0 0 9px;color:#233c4a;font-size:.86rem;
}
.operator-workspace .operator-console[data-founder-tabs] .sp-ops-trend-grid{
  display:grid;grid-template-columns:repeat(7,minmax(0,1fr));align-items:end;gap:9px;min-width:0;
}
.operator-workspace .operator-console[data-founder-tabs] .sp-ops-trend-grid[data-ops-trend-days="30"]{
  grid-template-columns:repeat(6,minmax(0,1fr));
}
.operator-workspace .operator-console[data-founder-tabs] .sp-ops-trend-col{
  display:flex;flex-direction:column;align-items:center;gap:4px;min-width:0;
}
.operator-workspace .operator-console[data-founder-tabs] .sp-ops-trend-col strong{
  font-size:.72rem;color:#2c5549;font-variant-numeric:tabular-nums;
}
.operator-workspace .operator-console[data-founder-tabs] .sp-ops-trend-well{
  width:100%;height:66px;display:flex;align-items:flex-end;justify-content:center;
  border-bottom:1px solid #e0e8ea;
}
.operator-workspace .operator-console[data-founder-tabs] .sp-ops-trend-bar{
  display:block;width:min(40px,78%);border-radius:6px 6px 0 0;
  background:linear-gradient(180deg,#5db094,#24785e);
}
.operator-workspace .operator-console[data-founder-tabs] .sp-ops-trend-level-0{height:0%}
.operator-workspace .operator-console[data-founder-tabs] .sp-ops-trend-level-1{height:10%}
.operator-workspace .operator-console[data-founder-tabs] .sp-ops-trend-level-2{height:20%}
.operator-workspace .operator-console[data-founder-tabs] .sp-ops-trend-level-3{height:30%}
.operator-workspace .operator-console[data-founder-tabs] .sp-ops-trend-level-4{height:40%}
.operator-workspace .operator-console[data-founder-tabs] .sp-ops-trend-level-5{height:50%}
.operator-workspace .operator-console[data-founder-tabs] .sp-ops-trend-level-6{height:60%}
.operator-workspace .operator-console[data-founder-tabs] .sp-ops-trend-level-7{height:70%}
.operator-workspace .operator-console[data-founder-tabs] .sp-ops-trend-level-8{height:80%}
.operator-workspace .operator-console[data-founder-tabs] .sp-ops-trend-level-9{height:90%}
.operator-workspace .operator-console[data-founder-tabs] .sp-ops-trend-level-10{height:100%}
.operator-workspace .operator-console[data-founder-tabs] .sp-ops-trend-col small{
  color:#61788a;font-size:.63rem;font-variant-numeric:tabular-nums;white-space:nowrap;
}
.operator-workspace .operator-console[data-founder-tabs] .sp-ops-trend p{
  margin:9px 0 0;color:#738393;font-size:.67rem;line-height:1.45;
}
@media(max-width:650px){
  .operator-workspace .operator-console[data-founder-tabs] .sp-ops-trend{padding:12px}
  .operator-workspace .operator-console[data-founder-tabs] .sp-ops-trend-grid{gap:4px}
  .operator-workspace .operator-console[data-founder-tabs] .sp-ops-trend-col small{font-size:.56rem}
}
@media(max-width:1220px){
  .operator-workspace .operator-console[data-founder-tabs] .operator-kpi-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
  .operator-workspace .operator-console[data-founder-tabs] .operator-kpi-money{grid-column:span 2}
}
@media(max-width:1100px){
  .operator-workspace .operator-console[data-founder-tabs]{
    grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto 1fr;
    gap:10px;width:calc(100% - 30px);
  }
  .operator-workspace .operator-console[data-founder-tabs] > .operator-hero{
    grid-column:1;grid-row:1;
  }
  .operator-workspace .operator-console[data-founder-tabs] > .operator-tabs{
    grid-column:1;grid-row:2;
    display:flex;flex-direction:row;align-items:center;
    min-height:0;max-height:none;position:sticky;top:8px;
    gap:5px;padding:5px;
    border:1px solid #dfe7ec;border-radius:12px;
    background:#fff;color:#546578;
    box-shadow:0 3px 12px #223c4a0a;
    overflow-x:auto;overflow-y:hidden;
  }
  .operator-workspace .operator-console[data-founder-tabs] > .operator-tabs>button{
    flex:1;min-width:0;width:auto;min-height:40px;
    justify-content:center;white-space:nowrap;
    padding:7px 8px;color:#546578;
  }
  .operator-workspace .operator-console[data-founder-tabs] > .operator-tabs>button[aria-pressed="true"]{
    background:#e5f4ee;color:#226f56;border-color:#d0e7db;
  }
  .operator-workspace .operator-console[data-founder-tabs] > .operator-tabs>button:hover{
    background:#f0f7f3;color:#236c57;
  }
  .operator-workspace .operator-console[data-founder-tabs] > .operator-tabs .operator-nav-brand,
  .operator-workspace .operator-console[data-founder-tabs] > .operator-tabs .operator-nav-security{display:none}
  .operator-workspace .operator-console[data-founder-tabs] > [data-operator-panel]{
    grid-column:1;grid-row:3;
  }
  .operator-workspace .operator-console[data-founder-tabs] .operator-overview-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:700px){
  .operator-workspace .operator-console[data-founder-tabs] .operator-overview-grid{
    grid-template-columns:1fr;
  }
}
@media(max-width:650px){
  .operator-workspace .operator-console[data-founder-tabs]{
    gap:8px;width:calc(100% - 20px);
    margin:7px auto 70px;
    padding-bottom:calc(96px + env(safe-area-inset-bottom));
  }
  .operator-workspace .operator-console[data-founder-tabs] > .operator-hero{
    padding:12px 13px;border-radius:12px;
    display:grid;grid-template-columns:minmax(0,1fr);gap:8px;
  }
  .operator-workspace .operator-hero-heading{gap:7px;margin-top:4px}
  .operator-workspace .operator-hero-heading h1{font-size:1.12rem}
  .operator-workspace .operator-console[data-founder-tabs] .operator-hero p,
  .operator-workspace .operator-hero-shortcuts{display:none}
  .operator-workspace .operator-hero-heading .operator-mode{
    min-height:20px;padding:2px 7px;font-size:.57rem;
  }
  .operator-workspace .operator-console[data-founder-tabs] .operator-hero-actions{
    justify-content:flex-start;width:100%;gap:7px;
  }
  .operator-workspace .operator-console[data-founder-tabs] .operator-hero-designer,
  .operator-workspace .operator-console[data-founder-tabs] .operator-hero-refresh{
    min-height:33px;max-width:none;font-size:.67rem;
    padding:7px 11px;white-space:nowrap;
  }
  .operator-workspace .operator-console[data-founder-tabs] .operator-hero-designer svg{
    display:block;width:15px;height:15px;
  }
  .operator-workspace .operator-console[data-founder-tabs] .operator-hero-refresh{
    font-size:0;min-width:34px;padding:7px;
  }
  .operator-workspace .operator-console[data-founder-tabs] > .operator-tabs{
    grid-column:1;grid-row:2;
    position:fixed;top:auto;bottom:0;left:0;right:0;
    width:100%;max-width:none;margin:0;
    display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
    min-height:0;gap:2px;
    padding:5px 6px max(8px,env(safe-area-inset-bottom));
    border-radius:16px 16px 0 0;border:1px solid #dce5e9;border-bottom:0;
    background:#fff;box-shadow:0 -5px 20px #26374b1a;
    overflow:visible;z-index:40;
  }
  .operator-workspace .operator-console[data-founder-tabs] > .operator-tabs>button{
    flex-direction:column;gap:3px;
    min-width:0;min-height:53px;padding:6px 3px;
    font-size:.62rem;line-height:1.14;white-space:normal;
    color:#66778b;border-radius:9px;overflow-wrap:anywhere;
  }
  .operator-workspace .operator-console[data-founder-tabs] > .operator-tabs>button[aria-pressed="true"]{
    background:#e8f5ef;color:#156a51;border-color:#dcefe3;
  }
  .operator-workspace .operator-console[data-founder-tabs] > .operator-tabs>button svg{
    width:19px;height:19px;
  }
  .operator-workspace .operator-console[data-founder-tabs] .operator-kpi-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;
  }
  .operator-workspace .operator-console[data-founder-tabs] .operator-kpi{
    min-height:71px;padding:9px;gap:2px 7px;
    grid-template-columns:27px minmax(0,1fr);
    border-radius:10px;
  }
  .operator-workspace .operator-console[data-founder-tabs] .operator-kpi-icon{
    width:26px;height:26px;border-radius:7px;
  }
  .operator-workspace .operator-console[data-founder-tabs] .operator-kpi-icon svg{
    width:14px;height:14px;
  }
  .operator-workspace .operator-console[data-founder-tabs] .operator-kpi strong{font-size:1.14rem}
  .operator-workspace .operator-console[data-founder-tabs] .operator-kpi-money strong{font-size:1.03rem}
  .operator-workspace .operator-console[data-founder-tabs] .operator-kpi-money{grid-column:span 2}
  .operator-workspace .operator-console[data-founder-tabs] .operator-insights-grid{
    gap:7px;
  }
  .operator-workspace .operator-console[data-founder-tabs] .operator-overview-grid{
    grid-template-columns:1fr;gap:8px;
  }
  .operator-workspace .operator-console[data-founder-tabs] .operator-panel{
    padding:12px;border-radius:12px;
  }
  .operator-workspace .operator-console[data-founder-tabs] .operator-section-heading h2{font-size:1.02rem}
  .operator-workspace .operator-console[data-founder-tabs] .operator-salon-card{
    align-items:stretch;flex-direction:column;gap:9px;padding:10px;
  }
  .operator-workspace .operator-console[data-founder-tabs] .operator-salon-actions{
    display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;width:100%;
  }
  .operator-workspace .operator-console[data-founder-tabs] .operator-salon-actions>.button{
    min-width:0;min-height:35px;padding:7px;
  }
  .operator-workspace .operator-console[data-founder-tabs] .operator-tools-row{
    grid-template-columns:1fr;
  }
  .operator-workspace .operator-console[data-founder-tabs] .sp-ops-platform{
    margin-bottom:13px;
  }
}
@media(max-width:355px){
  .operator-workspace .operator-console[data-founder-tabs]{width:calc(100% - 14px)}
  .operator-workspace .operator-console[data-founder-tabs] > .operator-tabs>button{font-size:.58rem}
  .operator-workspace .operator-console[data-founder-tabs] .operator-kpi small{font-size:.61rem}
}
@media(prefers-reduced-motion:reduce){
  .operator-workspace .operator-console[data-founder-tabs] *{transition:none!important;scroll-behavior:auto!important}
}


/* Founder salon directory — photo-led, compact, responsive. No owner/master changes. */
.operator-workspace .operator-console[data-founder-tabs] .operator-directory{
  min-width:0;
}
.operator-workspace .operator-console[data-founder-tabs] .operator-directory .operator-section-heading{
  align-items:center;
}
.operator-workspace .operator-console[data-founder-tabs] .operator-directory .operator-search{
  min-width:0;gap:8px;margin-bottom:10px;
}
.operator-workspace .operator-console[data-founder-tabs] .operator-directory .operator-search input{
  min-width:0;background:#fbfcfd;border-color:#dce7e5;
}
.operator-workspace .operator-console[data-founder-tabs] .operator-directory .operator-filters{
  max-width:100%;min-width:0;overflow-x:auto;overscroll-behavior-inline:contain;
  scroll-behavior:smooth;padding:3px 1px 9px;
}
.operator-workspace .operator-console[data-founder-tabs] .operator-directory .operator-filter{
  white-space:nowrap;flex-shrink:0;
}
.operator-workspace .operator-console[data-founder-tabs] .operator-salon-list{
  gap:10px;
}
.operator-workspace .operator-console[data-founder-tabs] .operator-salon-card{
  display:grid;grid-template-columns:154px minmax(0,1fr) 148px;
  align-items:center;gap:14px;padding:12px;
  border:1px solid #e0e9e7;border-radius:15px;background:#fff;
  box-shadow:0 3px 13px #183a2c0a;
}
.operator-workspace .operator-console[data-founder-tabs] .operator-salon-card:hover{
  border-color:#b5d4c9;box-shadow:0 6px 18px #183a2c11;
}
.operator-workspace .operator-console[data-founder-tabs] .operator-salon-cover{
  position:relative;isolation:isolate;display:grid;place-items:center;
  width:100%;height:120px;min-width:0;overflow:hidden;
  border-radius:12px;border:1px solid #dbe8e0;
  background:linear-gradient(145deg,#e8f3ed,#d7e7df);
}
.operator-workspace .operator-console[data-founder-tabs] .operator-salon-cover:after{
  content:"";position:absolute;right:-24px;bottom:-42px;width:115px;height:115px;
  border:1px solid #ffffffa8;border-radius:50%;pointer-events:none;
}
.operator-workspace .operator-console[data-founder-tabs] .operator-salon-cover-empty{
  display:flex;align-items:center;justify-content:center;flex-direction:column;
  gap:7px;padding:8px;color:#558a75;text-align:center;
}
.operator-workspace .operator-console[data-founder-tabs] .operator-salon-cover-empty small{
  font-size:.64rem;font-weight:700;line-height:1.3;color:#617e72;
}
.operator-workspace .operator-console[data-founder-tabs] .operator-salon-cover-photo{
  position:absolute;inset:0;z-index:1;width:100%;height:100%;
  object-fit:cover;object-position:center;display:block;
}
.operator-workspace .operator-console[data-founder-tabs] .operator-salon-main{
  min-width:0;width:100%;align-self:center;
}
.operator-workspace .operator-console[data-founder-tabs] .operator-salon-heading{
  gap:7px 9px;min-width:0;
}
.operator-workspace .operator-console[data-founder-tabs] .operator-salon-heading strong{
  font-size:1rem;line-height:1.25;font-weight:820;color:#1c3444;overflow-wrap:anywhere;
}
.operator-workspace .operator-console[data-founder-tabs] .operator-salon-slug,
.operator-workspace .operator-console[data-founder-tabs] .operator-salon-owner{
  display:flex;align-items:center;gap:5px;margin-top:6px;min-width:0;
  overflow-wrap:anywhere;word-break:break-word;font-size:.72rem;line-height:1.35;
}
.operator-workspace .operator-console[data-founder-tabs] .operator-salon-slug{
  color:#36806a;font-weight:760;
}
.operator-workspace .operator-console[data-founder-tabs] .operator-salon-owner{
  color:#788693;font-weight:450;
}
.operator-workspace .operator-console[data-founder-tabs] .operator-salon-slug svg,
.operator-workspace .operator-console[data-founder-tabs] .operator-salon-owner svg{
  flex:0 0 13px;
}
.operator-workspace .operator-console[data-founder-tabs] .operator-salon-details{
  display:flex;flex-wrap:wrap;gap:6px 13px;margin-top:10px;
}
.operator-workspace .operator-console[data-founder-tabs] .operator-salon-details>span{
  line-height:1.35;color:#617585;font-size:.68rem;
}
.operator-workspace .operator-console[data-founder-tabs] .operator-salon-details b{
  color:#294d43;font-weight:800;
}
.operator-workspace .operator-console[data-founder-tabs] .operator-salon-actions{
  display:grid;grid-template-columns:1fr;align-items:stretch;gap:7px;
  width:148px;min-width:0;
}
.operator-workspace .operator-console[data-founder-tabs] .operator-salon-actions>.button{
  min-width:0;min-height:38px;justify-content:center;
  display:inline-flex;align-items:center;gap:6px;text-align:center;
  padding:8px 10px;border-radius:9px;font-size:.7rem;line-height:1.25;
  white-space:normal;
}
.operator-workspace .operator-console[data-founder-tabs] .operator-salon-actions>.button svg{
  flex:0 0 15px;
}
@media(max-width:1170px){
  .operator-workspace .operator-console[data-founder-tabs] .operator-salon-card{
    grid-template-columns:132px minmax(0,1fr);gap:11px;
  }
  .operator-workspace .operator-console[data-founder-tabs] .operator-salon-cover{
    height:125px;
  }
  .operator-workspace .operator-console[data-founder-tabs] .operator-salon-actions{
    grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
    width:100%;
  }
}
@media(max-width:650px){
  .operator-workspace .operator-console[data-founder-tabs] .operator-directory{
    padding:12px;
  }
  .operator-workspace .operator-console[data-founder-tabs] .operator-directory .operator-section-heading{
    gap:7px;
  }
  .operator-workspace .operator-console[data-founder-tabs] .operator-salon-card{
    grid-template-columns:102px minmax(0,1fr);gap:9px;
    padding:10px;border-radius:13px;align-items:start;
  }
  .operator-workspace .operator-console[data-founder-tabs] .operator-salon-cover{
    height:128px;border-radius:10px;
  }
  .operator-workspace .operator-console[data-founder-tabs] .operator-salon-heading{
    gap:5px;
  }
  .operator-workspace .operator-console[data-founder-tabs] .operator-salon-heading strong{
    font-size:.89rem;
  }
  .operator-workspace .operator-console[data-founder-tabs] .operator-salon-slug,
  .operator-workspace .operator-console[data-founder-tabs] .operator-salon-owner{
    font-size:.65rem;margin-top:5px;
  }
  .operator-workspace .operator-console[data-founder-tabs] .operator-salon-details{
    display:flex;flex-direction:column;align-items:flex-start;gap:4px;margin-top:8px;
  }
  .operator-workspace .operator-console[data-founder-tabs] .operator-salon-details>span{
    font-size:.66rem;
  }
  .operator-workspace .operator-console[data-founder-tabs] .operator-salon-actions{
    grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));
    width:100%;gap:7px;
  }
  .operator-workspace .operator-console[data-founder-tabs] .operator-salon-actions>.button{
    min-width:0;min-height:38px;padding:7px 5px;font-size:.68rem;
  }
  .operator-workspace .operator-console[data-founder-tabs] .operator-salon-actions svg{
    display:none;
  }
  .operator-workspace .operator-console[data-founder-tabs] .operator-directory .operator-search .button{
    min-width:39px;
  }
  .operator-workspace .operator-console[data-founder-tabs] .operator-directory-toolbar select{
    max-width:100%;
  }
}
@media(max-width:355px){
  .operator-workspace .operator-console[data-founder-tabs] .operator-salon-card{
    grid-template-columns:88px minmax(0,1fr);
  }
  .operator-workspace .operator-console[data-founder-tabs] .operator-salon-cover{
    height:122px;
  }
  .operator-workspace .operator-console[data-founder-tabs] .operator-salon-cover-empty small{
    font-size:.55rem;
  }
}


/* Founder mobile density: actual photo previews remain visible, never fabricated. */
@media(max-width:650px){
  .operator-workspace .operator-console[data-founder-tabs] .operator-kpi-total{
    grid-column:auto;grid-template-columns:27px minmax(0,1fr);
    grid-template-rows:min-content min-content;min-height:62px;
    align-items:initial;align-content:center;gap:2px 7px;padding:8px;
  }
  .operator-workspace .operator-console[data-founder-tabs] .operator-kpi-total strong{
    margin-top:0;font-size:1.14rem;
  }
  .operator-workspace .operator-console[data-founder-tabs] .operator-kpi{
    min-height:62px;padding:8px;
  }
  .operator-workspace .operator-console[data-founder-tabs] .operator-kpi-money{
    grid-column:span 2;min-height:65px;
  }
  .operator-workspace .operator-console[data-founder-tabs] .operator-mini-stat{
    min-height:50px;padding:7px 9px;gap:6px;
  }
  .operator-workspace .operator-console[data-founder-tabs] .operator-directory{
    padding:10px;
  }
  .operator-workspace .operator-console[data-founder-tabs] .operator-salon-list{
    gap:7px;
  }
  .operator-workspace .operator-console[data-founder-tabs] .operator-salon-card{
    grid-template-columns:76px minmax(0,1fr);
    gap:6px 9px;padding:8px;border-radius:11px;
  }
  .operator-workspace .operator-console[data-founder-tabs] .operator-salon-cover{
    height:88px;border-radius:8px;
  }
  .operator-workspace .operator-console[data-founder-tabs] .operator-salon-cover-empty{
    gap:3px;padding:4px;
  }
  .operator-workspace .operator-console[data-founder-tabs] .operator-salon-cover-empty svg{
    width:20px;height:20px;
  }
  .operator-workspace .operator-console[data-founder-tabs] .operator-salon-cover-empty small{
    font-size:.54rem;line-height:1.16;
  }
  .operator-workspace .operator-console[data-founder-tabs] .operator-salon-main{
    align-self:start;
  }
  .operator-workspace .operator-console[data-founder-tabs] .operator-salon-heading{
    gap:3px 6px;
  }
  .operator-workspace .operator-console[data-founder-tabs] .operator-salon-heading strong{
    font-size:.82rem;line-height:1.16;
  }
  .operator-workspace .operator-console[data-founder-tabs] .operator-salon-heading .operator-status{
    padding:3px 6px;font-size:.59rem;line-height:1.15;
  }
  .operator-workspace .operator-console[data-founder-tabs] .operator-salon-slug,
  .operator-workspace .operator-console[data-founder-tabs] .operator-salon-owner{
    margin-top:3px;font-size:.64rem;line-height:1.2;
  }
  .operator-workspace .operator-console[data-founder-tabs] .operator-salon-owner>span{
    display:block;min-width:0;max-width:100%;
    overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  }
  .operator-workspace .operator-console[data-founder-tabs] .operator-salon-details{
    display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;
    gap:3px 10px;margin-top:6px;
  }
  .operator-workspace .operator-console[data-founder-tabs] .operator-salon-details>span{
    gap:3px;font-size:.63rem;line-height:1.2;
  }
  .operator-workspace .operator-console[data-founder-tabs] .operator-salon-details svg{
    width:12px;height:12px;
  }
  .operator-workspace .operator-console[data-founder-tabs] .operator-salon-meta-label{
    display:none;
  }
  .operator-workspace .operator-console[data-founder-tabs] .operator-salon-meta-date{
    white-space:nowrap;
  }
  .operator-workspace .operator-console[data-founder-tabs] .operator-salon-due{
    margin-top:4px;padding:3px 6px;font-size:.61rem;
  }
  .operator-workspace .operator-console[data-founder-tabs] .operator-salon-actions{
    grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));
    gap:6px;width:100%;
  }
  .operator-workspace .operator-console[data-founder-tabs] .operator-salon-actions>.button{
    min-height:32px;padding:5px 4px;border-radius:7px;
    font-size:.65rem;line-height:1.15;
  }
}
@media(max-width:355px){
  .operator-workspace .operator-console[data-founder-tabs] .operator-salon-card{
    grid-template-columns:68px minmax(0,1fr);gap:6px 8px;
  }
  .operator-workspace .operator-console[data-founder-tabs] .operator-salon-cover{
    height:86px;
  }
  .operator-workspace .operator-console[data-founder-tabs] .operator-salon-heading strong{
    font-size:.79rem;
  }
  .operator-workspace .operator-console[data-founder-tabs] .operator-salon-details{
    gap:3px 7px;
  }
}

/* Founder salon detail header: already-public photo, status, plan; scoped away from owners. */
.operator-workspace .operator-detail-page .operator-salon-profile-header{
  display:grid;grid-template-columns:122px minmax(0,1fr);align-items:center;gap:12px;
  padding:12px;min-width:0;border:1px solid #dfe9e5;border-radius:14px;background:#fff;
}
.operator-workspace .operator-detail-page .operator-salon-profile-cover{
  display:grid;place-items:center;position:relative;overflow:hidden;isolation:isolate;
  height:112px;min-width:0;border-radius:10px;color:#4a8a6b;
  background:linear-gradient(140deg,#e4f1eb,#d5e9de);
}
.operator-workspace .operator-detail-page .operator-salon-profile-image{
  position:absolute;inset:0;z-index:1;width:100%;height:100%;object-fit:cover;
}
.operator-workspace .operator-detail-page .operator-salon-profile-info{min-width:0}
.operator-workspace .operator-detail-page .operator-salon-profile-title{
  display:flex;align-items:center;flex-wrap:wrap;gap:6px 9px;
}
.operator-workspace .operator-detail-page .operator-salon-profile-title h1{
  font-size:1.2rem;line-height:1.2;margin:0;overflow-wrap:anywhere;color:#1c3a49;
}
.operator-workspace .operator-detail-page .operator-salon-profile-contact,
.operator-workspace .operator-detail-page .operator-salon-profile-link{
  display:flex;align-items:center;gap:6px;min-width:0;margin:5px 0 0;
  overflow-wrap:anywhere;line-height:1.3;font-size:.71rem;color:#6d8190;
}
.operator-workspace .operator-detail-page .operator-salon-profile-link{color:#2d8069;font-weight:750}
.operator-workspace .operator-detail-page .operator-salon-profile-contact svg,
.operator-workspace .operator-detail-page .operator-salon-profile-link svg{flex:0 0 14px}
.operator-workspace .operator-detail-page .operator-salon-profile-plan{
  display:flex;flex-wrap:wrap;gap:5px 12px;margin-top:7px;
  font-size:.69rem;color:#637b8a;
}
.operator-workspace .operator-detail-page .operator-salon-profile-plan strong{
  color:#215e4b;font-weight:800;
}
.operator-workspace .operator-detail-page .operator-salon-overview{padding:15px}
.operator-workspace .operator-detail-page .operator-detail-metrics{gap:8px}
.operator-workspace .operator-detail-page .operator-detail-metric{
  padding:10px;gap:5px;min-height:75px;border-radius:10px;
}
.operator-workspace .operator-detail-page .operator-detail-metric b{font-size:1.15rem}
@media(max-width:650px){
  .operator-workspace .operator-detail-page .operator-salon-profile-header{
    grid-template-columns:82px minmax(0,1fr);gap:9px;padding:9px;
  }
  .operator-workspace .operator-detail-page .operator-salon-profile-cover{height:98px}
  .operator-workspace .operator-detail-page .operator-salon-profile-title h1{font-size:1rem}
  .operator-workspace .operator-detail-page .operator-salon-profile-title .operator-status{
    font-size:.6rem;padding:3px 7px;
  }
  .operator-workspace .operator-detail-page .operator-salon-profile-contact,
  .operator-workspace .operator-detail-page .operator-salon-profile-link{font-size:.65rem}
  .operator-workspace .operator-detail-page .operator-salon-profile-plan{font-size:.63rem}
  .operator-workspace .operator-detail-page .operator-detail-metrics{gap:6px}
  .operator-workspace .operator-detail-page .operator-detail-metric{min-height:70px;padding:8px}
}
@media(max-width:355px){
  .operator-workspace .operator-detail-page .operator-salon-profile-header{
    grid-template-columns:70px minmax(0,1fr);gap:7px;
  }
  .operator-workspace .operator-detail-page .operator-salon-profile-cover{height:90px}
}

/* Founder renewal alerts: compact expiry labels on existing salon cards. */
.operator-workspace .operator-console[data-founder-tabs] .operator-salon-renewal{
  display:flex;align-items:center;flex-wrap:wrap;gap:4px;
  width:fit-content;max-width:100%;margin:6px 0 0;padding:4px 7px;
  font-size:.68rem;line-height:1.3;font-weight:620;
  color:#8c602a;background:#fff7e6;border:1px solid #f2e2c3;border-radius:7px;
}
.operator-workspace .operator-console[data-founder-tabs] .operator-salon-renewal svg{
  flex:0 0 13px;
}
.operator-workspace .operator-console[data-founder-tabs] .operator-salon-renewal b{
  font-weight:800;color:#70481c;
}
@media(max-width:650px){
  .operator-workspace .operator-console[data-founder-tabs] .operator-salon-renewal{
    margin:4px 0 0;padding:3px 5px;gap:3px;font-size:.59rem;
  }
  .operator-workspace .operator-console[data-founder-tabs] .operator-salon-renewal svg{
    width:12px;height:12px;flex-basis:12px;
  }
}

/* Founder-only subscription action center. Read-only queue with fast salon drilldown. */
.operator-workspace .operator-console[data-founder-tabs] .operator-renewal-center{
  min-width:0;margin:12px 0 14px;padding:13px;
  border:1px solid #dfe9e6;border-radius:13px;background:#fff;
}
.operator-workspace .operator-console[data-founder-tabs] .operator-renewal-heading{
  display:flex;align-items:start;justify-content:space-between;gap:10px;margin-bottom:10px;
}
.operator-workspace .operator-console[data-founder-tabs] .operator-renewal-heading h3{
  font-size:.92rem;margin:0;color:#253d48;
}
.operator-workspace .operator-console[data-founder-tabs] .operator-renewal-heading p{
  margin:4px 0 0;font-size:.7rem;color:#788796;line-height:1.45;
}
.operator-workspace .operator-console[data-founder-tabs] .operator-renewal-list{
  display:grid;gap:7px;
}
.operator-workspace .operator-console[data-founder-tabs] .operator-renewal-row{
  display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;
  padding:10px 11px;border:1px solid #e7eeeb;border-radius:10px;background:#f9fbfa;
}
.operator-workspace .operator-console[data-founder-tabs] .operator-renewal-info{min-width:0}
.operator-workspace .operator-console[data-founder-tabs] .operator-renewal-info>strong{
  display:inline-block;font-size:.81rem;color:#253b45;overflow-wrap:anywhere;margin-right:7px;
}
.operator-workspace .operator-console[data-founder-tabs] .operator-renewal-info>small{
  display:block;color:#678d7b;font-size:.65rem;margin:3px 0 5px;overflow-wrap:anywhere;
}
.operator-workspace .operator-console[data-founder-tabs] .operator-renewal-status{
  display:inline-flex;padding:3px 7px;vertical-align:middle;
  font-size:.62rem;font-weight:800;line-height:1.25;
  border-radius:6px;color:#986022;background:#fff1d8;
}
.operator-workspace .operator-console[data-founder-tabs] .operator-renewal-pending,
.operator-workspace .operator-console[data-founder-tabs] .operator-renewal-past_due,
.operator-workspace .operator-console[data-founder-tabs] .operator-renewal-trial_ended{
  color:#a6483d;background:#fff0ec;
}
.operator-workspace .operator-console[data-founder-tabs] .operator-renewal-meta{
  display:flex;flex-wrap:wrap;gap:5px 13px;font-size:.67rem;
  color:#6a7d8b;line-height:1.4;
}
.operator-workspace .operator-console[data-founder-tabs] .operator-renewal-meta>span{
  display:inline-flex;align-items:center;gap:3px;overflow-wrap:anywhere;
}
.operator-workspace .operator-console[data-founder-tabs] .operator-renewal-meta b{color:#255747}
.operator-workspace .operator-console[data-founder-tabs] .operator-renewal-row>.button{
  display:inline-flex;align-items:center;justify-content:center;
  gap:6px;max-width:156px;white-space:normal;
  font-size:.7rem;min-height:38px;text-align:center;border-radius:9px;
}
.operator-workspace .operator-console[data-founder-tabs] .operator-renewal-empty{
  padding:12px;margin:0;color:#5b776b;font-size:.72rem;
  background:#f1f7f3;border-radius:9px;
}
.operator-workspace .operator-console[data-founder-tabs] .operator-renewal-footer{
  display:flex;align-items:center;justify-content:space-between;gap:9px;
  margin-top:10px;flex-wrap:wrap;
}
.operator-workspace .operator-console[data-founder-tabs] .operator-renewal-footer p,
.operator-workspace .operator-console[data-founder-tabs] .operator-renewal-more{
  max-width:540px;margin:0;color:#8c7c62;font-size:.65rem;line-height:1.4;
}
.operator-workspace .operator-console[data-founder-tabs] .operator-renewal-more{margin-top:8px}
@media(max-width:650px){
  .operator-workspace .operator-console[data-founder-tabs] .operator-renewal-center{
    padding:10px;margin:10px 0;
  }
  .operator-workspace .operator-console[data-founder-tabs] .operator-renewal-row{
    grid-template-columns:minmax(0,1fr);gap:7px;padding:9px;
  }
  .operator-workspace .operator-console[data-founder-tabs] .operator-renewal-row>.button{
    max-width:none;width:100%;min-height:34px;
  }
  .operator-workspace .operator-console[data-founder-tabs] .operator-renewal-meta{
    font-size:.64rem;gap:3px 10px;
  }
  .operator-workspace .operator-console[data-founder-tabs] .operator-renewal-footer>.button{
    width:100%;min-height:37px;
  }
}

/* Local-only SHA fingerprint; break 64-char digest on 320px Android screens. */
.operator-workspace .operator-console[data-founder-tabs] .operator-backup-sha-label{
  display:block;margin:9px 0 5px;font-size:.71rem;font-weight:700;color:#385a50;
}
.operator-workspace .operator-console[data-founder-tabs] #operatorBackupExpectedSha{
  display:block;width:100%;max-width:440px;min-height:38px;padding:8px 10px;
  border:1px solid #d8e5df;border-radius:9px;font-size:.78rem;
}
.operator-workspace .operator-console[data-founder-tabs] .operator-backup-sha-line{
  display:block;max-width:100%;margin-top:8px;line-height:1.5;
}
.operator-workspace .operator-console[data-founder-tabs] .operator-backup-sha-line code{
  display:inline;overflow-wrap:anywhere;word-break:break-all;
  white-space:normal;user-select:all;font-size:.69rem;
}
.operator-workspace .operator-console[data-founder-tabs] .operator-backup-sha-copy{
  display:block;margin-top:8px;min-height:33px;
}
@media(max-width:650px){
  .operator-workspace .operator-console[data-founder-tabs] .operator-backup-sha-copy{
    width:100%;
  }
}

/* Founder catalogue: salon name opens the same secured detail view as "Details".
   No global button reset and no change to owner/master screens. */
.operator-workspace .operator-console[data-founder-tabs] .operator-salon-heading .operator-salon-title{
  display:inline-flex;align-items:baseline;flex:0 1 auto;min-width:0;max-width:100%;
  padding:0;margin:0;border:0;border-radius:3px;background:transparent;
  color:inherit;font:inherit;text-align:left;white-space:normal;cursor:pointer;
}
.operator-workspace .operator-console[data-founder-tabs] .operator-salon-heading .operator-salon-title:hover strong{
  text-decoration:underline;text-underline-offset:3px;
}

/* Founder salon detail: dense professional layout and responsive payment ledger.
   Scope excludes owner, master and public pages. */
.operator-workspace .operator-detail-page{
  max-width:940px;min-width:0;margin:14px auto 74px;gap:11px;
}
.operator-workspace .operator-detail-page > #operatorBack{
  justify-self:start;min-height:34px;padding:7px 12px;
}
.operator-workspace .operator-detail-page > .operator-tabs{min-width:0;max-width:100%;margin:0}
.operator-workspace .operator-detail-page .operator-salon-overview{
  min-width:0;padding:14px;border-radius:13px;
}
.operator-workspace .operator-detail-page .operator-salon-overview .operator-section-heading{
  align-items:center;gap:8px;min-width:0;margin-bottom:11px;
}
.operator-workspace .operator-detail-page .operator-salon-overview .operator-section-heading > div{min-width:0}
.operator-workspace .operator-detail-page .operator-salon-overview .operator-section-heading h2{
  font-size:1.03rem;line-height:1.25;margin:3px 0;
}
.operator-workspace .operator-detail-page .operator-salon-overview .operator-section-heading p{
  font-size:.7rem;line-height:1.4;
}
.operator-workspace .operator-detail-page .operator-detail-metrics{gap:7px}
.operator-workspace .operator-detail-page .operator-detail-metric{
  min-height:70px;padding:9px;border-radius:9px;gap:3px;
}
.operator-workspace .operator-detail-page .operator-detail-metric > span{
  width:27px;height:27px;border-radius:8px;
}
.operator-workspace .operator-detail-page .operator-detail-metric > span svg{width:16px;height:16px}
.operator-workspace .operator-detail-page .operator-detail-metric small{
  min-width:0;overflow-wrap:anywhere;line-height:1.25;font-size:.67rem;
}
.operator-workspace .operator-detail-page .operator-detail-metric b{
  font-size:1.15rem;line-height:1.2;font-variant-numeric:tabular-nums;
}
.operator-workspace .operator-detail-page .operator-detail-footer{margin-top:9px;gap:8px}
.operator-workspace .operator-detail-page .operator-detail-footer > div{
  gap:4px;padding:11px;border-radius:10px;
}
.operator-workspace .operator-detail-page > .notice{
  padding:10px 12px;font-size:.71rem;line-height:1.45;border-radius:10px;
}
.operator-workspace .operator-detail-page > .operator-detail-finance-card,
.operator-workspace .operator-detail-page > .operator-detail-audit-card{
  min-width:0;padding:14px;border:1px solid #e0e9e7;
  border-radius:13px;background:#fff;
}
.operator-workspace .operator-detail-page > .operator-detail-finance-card .section-title{
  display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;
  gap:8px;margin-bottom:10px;
}
.operator-workspace .operator-detail-page > .operator-detail-finance-card h2,
.operator-workspace .operator-detail-page > .operator-detail-audit-card h2{
  margin:0;font-size:1.03rem;line-height:1.3;color:#203b48;
}
.operator-workspace .operator-detail-page .operator-detail-payments-wrap{
  width:100%;max-width:100%;min-width:0;
}
.operator-workspace .operator-detail-page .operator-detail-payments-table{
  width:100%;font-size:.77rem;
}
.operator-workspace .operator-detail-page .operator-detail-payments-table :is(td,th){
  padding:9px;overflow-wrap:anywhere;
}
.operator-workspace .operator-detail-page .operator-payment-status{
  display:inline-flex;align-items:center;width:fit-content;max-width:100%;
  padding:4px 8px;border-radius:7px;font-weight:750;
  line-height:1.3;color:#5a6e7c;background:#f1f4f6;
}
.operator-workspace .operator-detail-page .operator-payment-status-pending{
  color:#91611e;background:#fff4dc;
}
.operator-workspace .operator-detail-page .operator-payment-status-confirmed{
  color:#226b4f;background:#e8f5ee;
}
.operator-workspace .operator-detail-page .operator-payment-status-rejected{
  color:#994c48;background:#fff0ed;
}
.operator-workspace .operator-detail-page .operator-payment-row-actions .toolbar{
  display:flex;flex-wrap:wrap;gap:6px;
}
.operator-workspace .operator-detail-page .operator-detail-audit-entry{
  min-width:0;padding:9px 2px;border-bottom:1px solid #eef1f2;
}
.operator-workspace .operator-detail-page .operator-detail-audit-entry:last-child{border-bottom:0}
.operator-workspace .operator-detail-page .operator-detail-audit-entry > div{min-width:0}
.operator-workspace .operator-detail-page .operator-detail-audit-entry .item-sub{
  overflow-wrap:anywhere;word-break:break-word;font-size:.68rem;line-height:1.4;
}
@media(max-width:650px){
  .operator-workspace .operator-detail-page{
    width:calc(100% - 20px);margin:8px auto 70px!important;
    gap:9px;padding-bottom:calc(98px + env(safe-area-inset-bottom));
  }
  .operator-workspace .operator-detail-page .operator-salon-profile-header{
    gap:8px;padding:9px;
  }
  .operator-workspace .operator-detail-page .operator-salon-profile-plan{
    display:grid;gap:4px;line-height:1.35;
  }
  .operator-workspace .operator-detail-page .operator-salon-overview{padding:10px}
  .operator-workspace .operator-detail-page .operator-salon-overview .operator-section-heading{
    align-items:flex-start;
  }
  .operator-workspace .operator-detail-page .operator-salon-overview .operator-section-heading > a{
    flex:0 0 auto;padding:7px;min-height:33px;font-size:.65rem;
  }
  .operator-workspace .operator-detail-page .operator-detail-metrics{
    grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;
  }
  .operator-workspace .operator-detail-page .operator-detail-metric{
    min-height:59px;padding:8px;gap:2px;
  }
  .operator-workspace .operator-detail-page .operator-detail-metric > span{width:24px;height:24px}
  .operator-workspace .operator-detail-page .operator-detail-metric small{font-size:.62rem}
  .operator-workspace .operator-detail-page .operator-detail-metric b{font-size:1.08rem}
  .operator-workspace .operator-detail-page .operator-detail-footer{
    grid-template-columns:1fr;gap:6px;
  }
  .operator-workspace .operator-detail-page > .operator-detail-finance-card,
  .operator-workspace .operator-detail-page > .operator-detail-audit-card{padding:10px}
  /* Semantic table on desktop; labelled payment records on phones. */
  .operator-workspace .operator-detail-page .operator-detail-payments-wrap{overflow:visible}
  .operator-workspace .operator-detail-page .operator-detail-payments-table,
  .operator-workspace .operator-detail-page .operator-detail-payments-table tbody,
  .operator-workspace .operator-detail-page .operator-detail-payments-table tr,
  .operator-workspace .operator-detail-page .operator-detail-payments-table td{
    display:block;width:100%;min-width:0;
  }
  /* Visually hide headings but preserve them for assistive technologies. */
  .operator-workspace .operator-detail-page .operator-detail-payments-table thead{
    position:absolute;width:1px;height:1px;padding:0;margin:-1px;
    overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;clip-path:inset(50%);
  }
  .operator-workspace .operator-detail-page .operator-detail-payments-table tbody{
    display:grid;gap:7px;
  }
  .operator-workspace .operator-detail-page .operator-detail-payments-table tr{
    padding:8px;border:1px solid #e4ece8;border-radius:10px;background:#fafcfb;
  }
  .operator-workspace .operator-detail-page .operator-detail-payments-table td{
    display:grid;grid-template-columns:minmax(82px,38%) minmax(0,1fr);
    align-items:start;gap:8px;padding:5px 3px;
    border:0;line-height:1.35;overflow-wrap:anywhere;
  }
  .operator-workspace .operator-detail-page .operator-detail-payments-table td[data-label]::before{
    content:attr(data-label);color:#708395;
    font-size:.65rem;font-weight:700;line-height:1.4;
  }
  .operator-workspace .operator-detail-page .operator-detail-payments-table td.operator-payment-row-actions{
    display:block;padding:7px 0 0;border-top:1px solid #e7eeeb;
  }
  .operator-workspace .operator-detail-page .operator-detail-payments-table td.operator-payment-row-actions:empty{
    display:none;
  }
  .operator-workspace .operator-detail-page .operator-payment-row-actions .toolbar{
    display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;
  }
  .operator-workspace .operator-detail-page .operator-payment-row-actions .toolbar > button{
    min-width:0;min-height:34px;padding:6px;font-size:.68rem;
  }
}
@media(max-width:355px){
  .operator-workspace .operator-detail-page{width:calc(100% - 14px)}
  .operator-workspace .operator-detail-page .operator-detail-payments-table td{
    grid-template-columns:minmax(70px,37%) minmax(0,1fr);gap:5px;
  }
  .operator-workspace .operator-detail-page .operator-detail-payments-table td[data-label]::before{
    font-size:.61rem;
  }
}


/* Founder phone usability: larger touch targets without inflating the cards.
   Financial actions remain protected by the original handlers and permissions. */
@media(max-width:650px){
  .operator-workspace .operator-console[data-founder-tabs] .operator-salon-actions>.button,
  .operator-workspace .operator-console[data-founder-tabs] .operator-renewal-row>.button,
  .operator-workspace .operator-console[data-founder-tabs] .operator-renewal-footer>.button{
    min-height:44px;padding:7px 6px;line-height:1.25;
  }
  .operator-workspace .operator-console[data-founder-tabs] .operator-directory .operator-filter{
    min-height:42px;
  }
  .operator-workspace .operator-console[data-founder-tabs] .operator-directory .operator-search input,
  .operator-workspace .operator-console[data-founder-tabs] .operator-directory .operator-search .button,
  .operator-workspace .operator-console[data-founder-tabs] .operator-directory-toolbar select{
    min-height:44px;
  }
  .operator-workspace .operator-console[data-founder-tabs] .sp-ops-platform-head,
  .operator-workspace .operator-console[data-founder-tabs] .sp-ops-platform-actions{
    min-width:0;
  }
  .operator-workspace .operator-console[data-founder-tabs] .sp-ops-platform-actions{
    display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;width:100%;
  }
  .operator-workspace .operator-console[data-founder-tabs] .sp-ops-platform-actions button{
    min-width:0;min-height:44px;padding:8px 5px;
    font-size:.7rem;line-height:1.2;white-space:normal;
  }
  .operator-workspace .operator-console[data-founder-tabs] .sp-ops-platform-stats{
    gap:7px;
  }
  .operator-workspace .operator-console[data-founder-tabs] .sp-ops-platform-stat{
    padding:10px;gap:4px;border-radius:11px;
  }
  .operator-workspace .operator-console[data-founder-tabs] .sp-ops-platform-stat-icon{
    width:28px;height:28px;border-radius:8px;
  }
  .operator-workspace .operator-console[data-founder-tabs] .sp-ops-platform-stat small{
    font-size:.68rem;line-height:1.3;overflow-wrap:anywhere;
  }
  .operator-workspace .operator-console[data-founder-tabs] .sp-ops-platform-stat strong{
    font-size:1.25rem;
  }
  .operator-workspace .operator-detail-page > #operatorBack,
  .operator-workspace .operator-detail-page .operator-payment-row-actions .toolbar > button{
    min-height:44px;
  }
}
