/* Functional Staff Command components. Existing theme/brand CSS remains unchanged. */
.sc-root { width:100%; max-width:1180px; margin:0 auto; display:grid; gap:18px; color:var(--theme-text,#fff); font:inherit; }
.sc-head { display:flex; justify-content:space-between; align-items:start; gap:18px; }
.sc-head h2 { font-size:22px; margin:0 0 6px; }
.sc-head p { max-width:710px; color:var(--theme-muted,#aaa); margin:0; line-height:1.6; }
.sc-actions { display:flex; gap:8px; flex-wrap:wrap; align-items:center; }
.sc-actions button,.sc-editor button,.sc-filter select { cursor:pointer; font:inherit; min-height:38px; padding:9px 13px; border:1px solid var(--theme-border,#555); border-radius:9px; background:var(--theme-surface,#111); color:var(--theme-text,#fff); }
.sc-head .sc-actions button:first-child,.sc-editor button[type="submit"] { background:#AF2447; border-color:#AF2447; color:#fff; }
.sc-actions button:hover,.sc-editor button:hover { border-color:#AF2447; }
.sc-summary { display:flex; flex-wrap:wrap; gap:10px; }
.sc-summary span { padding:11px 14px; font-size:12px; background:var(--theme-surface,#111); border:1px solid var(--theme-border,#555); border-radius:10px; }
.sc-editor,.sc-item { border:1px solid var(--theme-border,#555); background:var(--theme-surface,#111); border-radius:13px; padding:18px; }
.sc-editor { display:grid; gap:15px; max-width:750px; }
.sc-editor h3 { font-size:19px; margin:0; }
.sc-editor>p,.sc-help,.sc-foot { margin:0; font-size:12px; line-height:1.55; color:var(--theme-muted,#aaa); }
.sc-editor label { display:grid; gap:7px; font-size:12px; font-weight:650; }
.sc-editor label.sc-check { display:flex; align-items:center; gap:10px; }
.sc-editor input:not([type="checkbox"]),.sc-editor select,.sc-editor textarea,.sc-filter select { width:100%; background:var(--theme-elevated,#181818); color:var(--theme-text,#fff); border:1px solid var(--theme-border,#555); border-radius:9px; padding:10px 12px; font:inherit; min-height:43px; }
.sc-editor textarea { resize:vertical; min-height:105px; }
.sc-dates { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.sc-list { display:grid; gap:11px; }
.sc-item { display:flex; justify-content:space-between; align-items:start; gap:16px; }
.sc-item h3 { margin:5px 0 8px; font-size:17px; }
.sc-item p { margin:0 0 8px; line-height:1.55; white-space:pre-wrap; overflow-wrap:anywhere; }
.sc-item small,.sc-meta { font-size:11px; color:var(--theme-muted,#aaa); }
.sc-item .sc-actions { justify-content:flex-end; flex-shrink:0; }
.sc-filter { max-width:240px; }
.sc-filter label { display:grid; gap:5px; font-size:12px; }
.sc-error,.sc-empty { padding:12px 14px; border-radius:10px; border:1px solid var(--theme-border,#555); }
.sc-error { color:#9A202F; background:#FFE4E7; border-color:#C45F69; }
@media(max-width:760px) {
 .sc-head,.sc-item { flex-direction:column; }
 .sc-item .sc-actions { justify-content:flex-start; }
 .sc-dates { grid-template-columns:1fr; }
}
.staff-command-toolbar { display:flex; gap:12px; align-items:end; justify-content:space-between; margin:16px 0; }
.staff-command-toolbar label { display:grid; gap:5px; min-width:0; flex:1; }
.staff-command-toolbar input,.staff-command-compose :is(input,textarea,select) {
 background:var(--raised,#111); color:var(--text,#fff); border:1px solid var(--line,#555); border-radius:9px; min-height:42px; padding:9px 11px; width:100%; font:inherit;
}
.staff-command-view { margin:24px auto 40px; max-width:1000px; }
.staff-command-view h2 { margin:0 0 14px; }
.staff-command-list { display:grid; gap:12px; }
.staff-command-item { border:1px solid var(--line,#555); background:var(--raised,#111); border-radius:12px; padding:17px; display:flex; justify-content:space-between; gap:14px; }
.staff-command-item h3 { margin:5px 0 10px; }
.staff-command-item p { white-space:pre-wrap; overflow-wrap:anywhere; line-height:1.6; }
.staff-command-item small { color:var(--muted,#aaa); }
.staff-command-actions { display:flex; gap:9px; align-items:start; flex-wrap:wrap; }
.staff-command-actions button,.staff-command-compose button,.staff-command-toolbar button { padding:9px 13px; min-height:41px; border-radius:9px; border:1px solid #AF2447; background:#AF2447; color:#fff; font:inherit; cursor:pointer; }
.staff-command-compose { max-width:700px; display:grid; gap:12px; padding:16px; background:var(--raised,#111); border:1px solid var(--line,#555); border-radius:12px; margin-bottom:19px; }
.staff-command-compose h3 { margin:0; }
.staff-command-compose label { display:grid; gap:6px; }
.staff-command-compose textarea { min-height:92px; }
.staff-card.active { outline:2px solid #AF2447; outline-offset:2px; }
html[data-theme="light"] .staff-command-item,html[data-theme="light"] .staff-command-compose { background:#FFFDF9; box-shadow:0 4px 14px #5B2B1712; }
@media(max-width:630px){ .staff-command-item { flex-direction:column; } .staff-command-toolbar { align-items:stretch; flex-direction:column; } }

/* Functional employee-account roster and request date fields. */
.sc-members { padding:15px 17px; border-radius:12px; border:1px solid var(--theme-border,#555); background:var(--theme-surface,#111); }
.sc-members h3 { margin:0 0 12px; font-size:16px; }
.sc-members-list { display:grid; gap:8px; margin:0 0 10px; }
.sc-members-list>div { display:grid; gap:4px; padding:8px 0; border-bottom:1px solid var(--theme-border,#555); }
.sc-members-list span { font-size:12px; color:var(--theme-muted,#aaa); }
.sc-workflows { gap:8px; }
.staff-command-dates { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.staff-command-dates label { display:grid; gap:6px; }
.staff-command-dates input { background:var(--raised,#111); color:var(--text,#fff); border:1px solid var(--line,#555); border-radius:9px; padding:9px 11px; min-height:42px; font:inherit; }
@media(max-width:600px){.staff-command-dates{grid-template-columns:1fr}}

/* Functional sample workspace marker; preserves the current brand design. */
.sc-demo-notice{display:flex;flex-direction:column;gap:5px;padding:14px 17px;border-radius:11px;border:1px solid #AF2447;background:var(--theme-surface,#111);color:var(--theme-text,#fff);}
.sc-demo-notice strong{color:#AF2447;font-size:12px;letter-spacing:.07em;}
.sc-demo-notice span{font-size:13px;line-height:1.5;}
.sc-employee-preview{display:grid;gap:13px;}
.sc-employee-preview label{max-width:390px;display:grid;gap:6px;font-size:12px;font-weight:600;}
.sc-employee-preview select{background:var(--theme-elevated,#111);color:var(--theme-text,#fff);border:1px solid var(--theme-border,#555);border-radius:8px;padding:10px 12px;}
.sc-dates[hidden]{display:none;}

.sc-live-login{display:flex;flex-wrap:wrap;gap:9px 13px;align-items:end;padding:13px 16px;border:1px solid var(--theme-border,#555);border-radius:10px;background:var(--theme-surface,#111);}
.sc-live-login label{display:grid;gap:5px;flex:1 1 260px;font-size:12px;color:var(--theme-text,#fff);}
.sc-live-login input{width:100%;min-height:40px;padding:8px 11px;color:var(--theme-text,#fff);background:var(--theme-elevated,#181818);border:1px solid var(--theme-border,#555);border-radius:8px;}
.sc-live-login button{min-height:40px;padding:9px 14px;color:#fff;border:1px solid #AF2447;border-radius:8px;background:#AF2447;font:inherit;cursor:pointer;}
.sc-live-login button:disabled{opacity:.6;cursor:wait;}
.sc-login-status{flex:1 1 100%;font-size:12px;color:var(--theme-muted,#aaa);}

/* Staff authentication brand mark, sized independently of the compact employee toolbar. */
html[data-theme] #staff-app .staff-auth .brand{display:flex;align-items:center;gap:15px;font-family:"Bree Serif",Georgia,serif;font-size:18px;letter-spacing:0;line-height:1.25;font-weight:600;}
html[data-theme] #staff-app .staff-auth .brand img.staff-logo-mark{
 width:84px;height:84px;min-width:84px;flex:0 0 84px;object-fit:contain;padding:4px;
 background:#AF2447;border-radius:50%;
 box-shadow:0 4px 12px #00000020;
}
html[data-theme] #staff-app .staff-app-shell header img.staff-logo-mark{width:48px;height:48px;min-width:48px;flex:0 0 48px;object-fit:contain;}
.sa-test-setup{display:grid;gap:10px;border:1px solid var(--theme-border,#775d48);background:var(--theme-surface,#fff);border-radius:12px;padding:15px;margin:15px 0;}
.sa-test-setup>strong{font-size:15px;}
.sa-test-setup>p,.sa-test-result>p{margin:0;color:var(--theme-muted,#675547);font-size:13px;line-height:1.6;}
.sa-test-setup button{justify-self:start;border:1px solid #AF2447;background:#AF2447;color:#fff;border-radius:9px;padding:10px 13px;font:inherit;cursor:pointer;}
.sa-test-setup button:disabled{opacity:.55;cursor:wait;}
.sa-test-result{display:flex;flex-direction:column;align-items:flex-start;gap:9px;padding:12px;border:1px solid var(--theme-border,#775d48);border-radius:9px;min-width:0;}
.sa-test-result a{color:#AF2447;font-weight:700;overflow-wrap:anywhere;}
@media(max-width:460px){
 html[data-theme] #staff-app .staff-auth .brand img.staff-logo-mark{width:72px;height:72px;min-width:72px;flex-basis:72px;}
 html[data-theme] #staff-app .staff-auth .brand{font-size:16px;}
}

/* GM Staff View: staff-facing content rendered inside the GM middle workspace.
   Scoped to Staff Command. No changes to the portal theme or employee authentication. */
.sc-mode-switch{display:flex;align-items:center;flex-wrap:wrap;gap:9px;padding-bottom:12px;border-bottom:1px solid var(--theme-border,#555);}
.sc-mode-switch button{padding:10px 17px;min-height:42px;border:1px solid var(--theme-border,#555);border-radius:10px;background:var(--theme-surface,#111);color:var(--theme-text,#fff);font:inherit;font-weight:700;cursor:pointer;}
.sc-mode-switch button.active{background:#AF2447;border-color:#AF2447;color:#fff;}
.sc-employee-panel{background:var(--theme-canvas,#000);color:var(--theme-text,#fff);border:1px solid var(--theme-border,#555);border-radius:14px;overflow:hidden;}
.sc-employee-banner{background:var(--theme-elevated,#111);border-bottom:1px solid var(--theme-border,#555);padding:22px 25px;display:flex;justify-content:space-between;align-items:center;gap:20px;}
.sc-employee-eyebrow{color:#AF2447;font-size:11px;font-weight:800;letter-spacing:.1em;}
.sc-employee-banner h2{font-size:clamp(24px,3vw,35px);line-height:1.2;margin:7px 0 5px;}
.sc-employee-banner p{margin:0;font-size:12px;color:var(--theme-muted,#aaa);}
.sc-employee-banner>strong{font-size:14px;font-weight:800;white-space:nowrap;letter-spacing:.06em;}
.sc-employee-controls{display:flex;justify-content:space-between;align-items:end;gap:12px;padding:16px 22px;}
.sc-employee-controls label{display:grid;gap:7px;font-size:12px;font-weight:700;flex:1;max-width:400px;}
.sc-employee-controls select,.sc-employee-controls button{min-height:42px;background:var(--theme-elevated,#161616);border:1px solid var(--theme-border,#555);color:var(--theme-text,#fff);border-radius:9px;padding:9px 12px;font:inherit;}
.sc-employee-controls button{cursor:pointer;}
.sc-staff-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;padding:0 22px 22px;}
.sc-staff-card{min-height:80px;border-radius:11px;display:flex;flex-direction:column;justify-content:space-between;gap:7px;text-align:left;padding:13px;border:1px solid var(--theme-border,#555);background:var(--theme-surface,#111);color:var(--theme-text,#fff);cursor:pointer;}
.sc-staff-card:hover{border-color:#AF2447;}
.sc-staff-card.active{outline:2px solid #AF2447;outline-offset:1px;}
.sc-staff-card strong{font-weight:700;font-size:13px;}
.sc-staff-card small{color:var(--theme-muted,#aaa);font-size:11px;}
.sc-employee-section{padding:18px 22px 27px;border-top:1px solid var(--theme-border,#555);}
.sc-employee-section-head h3{font-size:18px;margin:0 0 7px;}
.sc-employee-section-head p{font-size:12px;color:var(--theme-muted,#aaa);margin:0 0 16px;line-height:1.6;}
.sc-employee-feed{display:grid;gap:11px;}
.sc-employee-entry{background:var(--theme-surface,#111);border:1px solid var(--theme-border,#555);border-radius:10px;padding:15px;display:grid;gap:8px;min-width:0;}
.sc-employee-entry-head{display:flex;justify-content:space-between;gap:12px;}
.sc-employee-entry-head span{color:#207a46;font-size:11px;font-weight:700;}
.sc-employee-entry strong{font-size:15px;}
.sc-employee-entry p{font-size:13px;line-height:1.55;margin:0;white-space:pre-wrap;overflow-wrap:anywhere;}
.sc-employee-entry small{font-size:11px;color:var(--theme-muted,#aaa);}
.sc-staff-chat-form{display:grid;gap:12px;max-width:760px;background:var(--theme-surface,#111);padding:17px;margin-top:16px;border:1px solid var(--theme-border,#555);border-radius:11px;}
.sc-staff-chat-form label{display:grid;gap:8px;font-size:12px;font-weight:700;}
.sc-staff-chat-form textarea{min-height:100px;padding:12px;border:1px solid var(--theme-border,#555);border-radius:9px;background:var(--theme-elevated,#171717);color:var(--theme-text,#fff);font:inherit;}
.sc-staff-chat-form button{justify-self:start;background:#AF2447;color:#fff;border:1px solid #AF2447;border-radius:9px;min-height:40px;padding:9px 16px;font:inherit;cursor:pointer;}
.sc-staff-chat-form p{font-size:11px;line-height:1.5;margin:0;color:var(--theme-muted,#aaa);}
.sc-member-summary{display:grid;gap:9px;border-radius:11px;border:1px solid var(--theme-border,#555);background:var(--theme-surface,#111);padding:15px;}
.sc-member-summary span,.sc-member-summary small{color:var(--theme-muted,#aaa);}
html[data-theme="light"] .sc-employee-panel{background:#FAF5E8;}
html[data-theme="light"] .sc-employee-banner{background:#FFFDF9;}
html[data-theme="light"] .sc-employee-entry-head span{color:#195F38;}
@media(max-width:950px){.sc-staff-cards{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:700px){
 .sc-staff-cards{grid-template-columns:repeat(2,minmax(0,1fr));padding:0 13px 17px;}
 .sc-employee-banner{padding:15px;align-items:flex-start;flex-direction:column;}
 .sc-employee-controls{padding:13px;align-items:stretch;flex-direction:column;}
 .sc-employee-section{padding:16px 13px 22px;}
}

/* Embedded employee UI is the actual /staff.html layout, not a guessed recreation.
   These controls belong only to the GM wrapper. */
.sc-preview-embed{padding:0 19px 19px;display:grid;gap:9px;min-width:0;}
.sc-preview-caption{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;align-items:center;font-size:12px;}
.sc-preview-caption span{color:var(--theme-muted,#aaa);font-size:11px;}
#sc-employee-iframe{box-sizing:border-box;display:block;width:100%;height:min(710px,75vh);min-height:480px;border:1px solid var(--theme-border,#555);border-radius:12px;background:var(--theme-canvas,#000);}
.sc-chat-selector{display:flex;gap:8px;padding:12px 19px 0;flex-wrap:wrap;}
.sc-chat-selector button{cursor:pointer;font:inherit;font-size:12px;font-weight:750;padding:9px 14px;min-height:40px;border-radius:9px;background:var(--theme-elevated,#151515);border:1px solid var(--theme-border,#555);color:var(--theme-text,#fff);}
.sc-chat-selector button.active{background:#AF2447;border-color:#AF2447;color:#fff;}
html[data-theme="light"] #sc-employee-iframe{background:#FAF5E8;}
@media(max-width:700px){.sc-preview-embed{padding:0 10px 12px;}#sc-employee-iframe{min-height:420px;height:64vh}.sc-chat-selector{padding:10px 12px 0;}}


/* FULL-PAGE GM STAFF VIEW: Staff Hub is the page, not a card inside a page.
   Keep Management mode untouched. Applied only when Staff View is selected. */
#app.command-center-view .gm-work-area:has(> .sc-full-view) {
  display:flex;
  flex-direction:column;
  padding:0;
  min-height:0;
  min-width:0;
  overflow:hidden;
  background:#000;
}
#app.command-center-view .sc-root.sc-full-view {
  display:flex;
  flex:1 1 auto;
  flex-direction:column;
  gap:0;
  width:100%;
  min-height:0;
  max-width:none;
  margin:0;
  padding:0;
  background:#000;
  overflow:hidden;
}
#app.command-center-view .sc-full-view .sc-mode-switch {
  flex:0 0 auto;
  min-height:54px;
  gap:9px;
  padding:8px clamp(16px,2.5vw,30px);
  margin:0;
  border-bottom:1px solid #292929;
  background:#080808;
}
#app.command-center-view .sc-full-view .sc-mode-switch button {
  min-height:36px;
  background:transparent;
  border:1px solid #3B3B3B;
  border-radius:8px;
  padding:7px 13px;
  color:#ECECEC;
}
#app.command-center-view .sc-full-view .sc-mode-switch button.active {
  background:#AF2447;
  border-color:#AF2447;
  color:#FFFFFF;
}
#app.command-center-view .sc-full-view .sc-sample-indicator {
  margin-left:auto;
  font-size:11px;
  color:#BDAEB1;
}
#app.command-center-view .sc-full-view .sc-employee-panel.sc-flat-panel {
  display:flex;
  flex:1 1 auto;
  flex-direction:column;
  gap:0;
  width:100%;
  min-width:0;
  min-height:0;
  max-width:none;
  margin:0;
  padding:0;
  border:0;
  border-radius:0;
  background:#000;
  overflow:hidden;
}
#app.command-center-view .sc-full-view .sc-employee-controls.sc-flat-controls {
  display:flex;
  flex:0 0 auto;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:10px 16px;
  margin:0;
  padding:11px clamp(16px,2.5vw,30px);
  background:#080808;
  border-bottom:1px solid #292929;
}
#app.command-center-view .sc-full-view .sc-flat-controls label {
  display:grid;
  flex:0 1 300px;
  min-width:180px;
  gap:5px;
  color:#C9C9C9;
  font-size:11px;
  font-weight:650;
}
#app.command-center-view .sc-full-view .sc-flat-controls select {
  width:100%;
  height:38px;
  min-height:38px;
  padding:7px 12px;
  border:1px solid #555555;
  border-radius:8px;
  background:#121212;
  color:#FFFFFF;
  font-size:12px;
}
#app.command-center-view .sc-full-view .sc-flat-actions {
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  align-items:center;
}
#app.command-center-view .sc-full-view .sc-flat-actions button {
  min-height:38px;
  padding:7px 12px;
  border:1px solid #454545;
  border-radius:8px;
  background:transparent;
  color:#F3F3F3;
  font-size:12px;
  font-weight:650;
  cursor:pointer;
}
#app.command-center-view .sc-full-view .sc-flat-actions button.active {
  background:#AF2447;
  border-color:#AF2447;
  color:#FFFFFF;
}
#app.command-center-view .sc-full-view .sc-preview-embed {
  display:flex;
  flex:1 1 auto;
  flex-direction:column;
  min-height:0;
  min-width:0;
  width:100%;
  margin:0;
  padding:0;
  gap:0;
  overflow:hidden;
  background:#000;
}
#app.command-center-view .sc-full-view #sc-employee-iframe {
  display:block;
  flex:1 1 auto;
  width:100%;
  height:100%;
  min-height:0;
  max-height:none;
  max-width:none;
  margin:0;
  padding:0;
  border:0;
  border-radius:0;
  background:#000;
  box-shadow:none;
}
#app.command-center-view .sc-full-view .sc-flat-chat {
  flex:1 1 auto;
  min-height:0;
  width:100%;
  overflow-y:auto;
  background:#000;
}
#app.command-center-view .sc-full-view .sc-flat-chat .sc-employee-section {
  margin:0 auto;
  border-top:0;
  max-width:1050px;
  padding:24px clamp(18px,3vw,40px) 35px;
}
#app.command-center-view .sc-full-view .sc-flat-chat .sc-employee-entry {
  border:1px solid #414141;
  background:#080808;
}
#app.command-center-view .sc-full-view .sc-flat-empty {
  padding:40px clamp(18px,3vw,40px);
  color:#D7D7D7;
}
#app.command-center-view .sc-full-view .sc-flat-loading {
  padding:7px 20px;
  background:#171717;
  color:#FFFFFF;
  font-size:12px;
  margin:0;
}
#app.command-center-view .sc-full-view .sc-error {
  margin:8px 16px;
}
@media(max-width:700px) {
  #app.command-center-view .sc-full-view .sc-flat-controls label {
    flex:1 1 100%;
  }
  #app.command-center-view .sc-full-view .sc-flat-actions {
    flex:1 1 auto;
    overflow-x:auto;
    flex-wrap:nowrap;
    scrollbar-width:thin;
  }
  #app.command-center-view .sc-full-view .sc-flat-actions button {
    white-space:nowrap;
  }
}
/* LIGHT MODE: true white work surface, dark readable type, single pink highlight.
   No beige-on-beige panels or repeated nested border cards. */
html[data-theme="light"] #app.command-center-view .gm-work-area:has(> .sc-full-view),
html[data-theme="light"] #app.command-center-view .sc-root.sc-full-view,
html[data-theme="light"] #app.command-center-view .sc-full-view .sc-employee-panel.sc-flat-panel,
html[data-theme="light"] #app.command-center-view .sc-full-view .sc-preview-embed,
html[data-theme="light"] #app.command-center-view .sc-full-view .sc-flat-chat {
  background:#FFFFFF;
  color:#241B19;
}
html[data-theme="light"] #app.command-center-view .sc-full-view .sc-mode-switch,
html[data-theme="light"] #app.command-center-view .sc-full-view .sc-flat-controls {
  background:#FFFFFF;
  border-color:#C9BAB1;
}
html[data-theme="light"] #app.command-center-view .sc-full-view .sc-mode-switch button,
html[data-theme="light"] #app.command-center-view .sc-full-view .sc-flat-actions button {
  color:#241B19;
  border-color:#B3A199;
  background:#FFFFFF;
}
html[data-theme="light"] #app.command-center-view .sc-full-view .sc-mode-switch button.active,
html[data-theme="light"] #app.command-center-view .sc-full-view .sc-flat-actions button.active {
  color:#FFFFFF;
  background:#AF2447;
  border-color:#AF2447;
}
html[data-theme="light"] #app.command-center-view .sc-full-view .sc-flat-controls label {
  color:#241B19;
}
html[data-theme="light"] #app.command-center-view .sc-full-view .sc-flat-controls select {
  background:#FFFFFF;
  color:#241B19;
  border-color:#98857D;
}
html[data-theme="light"] #app.command-center-view .sc-full-view .sc-sample-indicator {
  color:#5D4740;
}
html[data-theme="light"] #app.command-center-view .sc-full-view .sc-flat-chat .sc-employee-entry {
  background:#FFFFFF;
  color:#241B19;
  border-color:#B3A199;
}
html[data-theme="light"] #app.command-center-view .sc-full-view .sc-flat-chat .sc-employee-section {
  background:#FFFFFF;
  color:#241B19;
}
html[data-theme="light"] #app.command-center-view .sc-full-view .sc-flat-empty {
  color:#241B19;
}
html[data-theme="light"] #app.command-center-view .sc-full-view .sc-flat-loading {
  background:#FFFFFF;
  color:#241B19;
}


/* GM Homestead · Owner invitation belongs here, never in the Front Porch Mailbox. */
.sc-owner-access{
 display:flex;align-items:center;justify-content:space-between;
 gap:16px;padding:17px 19px;
 border:1px solid var(--belles-layout-line,var(--theme-border,#d8b7c0));
 border-radius:13px;background:var(--belles-layout-panel,var(--theme-surface,#fff8f4));
 min-width:0;
}
.sc-owner-access>div{min-width:0}
.sc-owner-access h2{font-size:17px;line-height:1.3;margin:0 0 5px;color:var(--belles-layout-text,var(--theme-text,#fff))}
.sc-owner-access p{font-size:12px;line-height:1.5;margin:0;color:var(--belles-layout-muted,var(--theme-muted,#a99))}
.sc-owner-access>button{
 display:inline-flex;align-items:center;justify-content:center;
 flex:none;min-height:42px;padding:11px 16px;
 border:1px solid #af2447;border-radius:10px;
 background:#af2447;color:#fff;font:750 13px/1.2 Inter,Arial,sans-serif;
 cursor:pointer;
}
.sc-owner-access>button:hover{background:#8f1a39}
.sc-owner-access>button:focus-visible,.sc-owner-invite-dialog button:focus-visible,.sc-owner-invite-dialog input:focus-visible{
 outline:3px solid #af2447;outline-offset:2px;
}
.sc-owner-invite-dialog{
 position:fixed;inset:0;
 width:min(94vw,445px);max-width:445px;
 max-height:calc(100dvh - 34px);
 margin:auto;padding:0;overflow:auto;
 border:1px solid var(--belles-layout-line,var(--theme-border,#d8b7c0));
 border-radius:17px;
 background:var(--belles-layout-panel,var(--theme-surface,#fff8f4));
 color:var(--belles-layout-text,var(--theme-text,#fff));
 box-shadow:0 22px 85px #1c071a55;
}
.sc-owner-invite-dialog::backdrop{background:#160d14aa;backdrop-filter:blur(4px)}
.sc-owner-invite-dialog form{display:grid;gap:13px;padding:23px}
.sc-owner-invite-head{display:flex;justify-content:space-between;align-items:start;gap:12px}
.sc-owner-invite-head small{font-size:10px;letter-spacing:.15em;color:#af2447;font-weight:800}
.sc-owner-invite-head h2{font:700 25px/1.2 "Bree Serif",Georgia,serif;margin:5px 0 0;color:inherit}
.sc-owner-invite-dialog form>p:not(.sc-owner-invite-status){font-size:13px;line-height:1.55;margin:0;color:var(--belles-layout-muted,var(--theme-muted,#aa9))}
.sc-owner-invite-dialog label{font-size:12px;font-weight:750}
.sc-owner-invite-dialog input{
 min-height:48px;width:100%;padding:11px 13px;min-width:0;
 border-radius:10px;border:1px solid var(--belles-layout-line,var(--theme-border,#b98));
 background:var(--belles-layout-bg,var(--theme-elevated,#211920));
 color:inherit;font:500 16px/1.35 Inter,Arial,sans-serif;
}
.sc-owner-invite-dialog button{cursor:pointer}
.sc-owner-invite-close{
 flex:none;min-width:36px;min-height:36px;border:0;border-radius:9px;
 background:transparent;color:inherit;font-size:19px;
}
.sc-owner-invite-close:hover{background:#af24471c}
.sc-owner-invite-submit{
 min-height:45px;padding:12px 16px;border:1px solid #af2447;
 border-radius:10px;background:#af2447;color:#fff;font:800 13px/1.3 Inter,Arial,sans-serif;
}
.sc-owner-invite-submit:hover{background:#8f1a39}
.sc-owner-invite-submit:disabled{opacity:.55;cursor:progress}
.sc-owner-invite-status{font-size:12px;line-height:1.4;margin:0;min-height:0;overflow-wrap:anywhere}
.sc-owner-invite-status:empty{display:none}
.sc-owner-invite-status[data-status="error"]{color:#b72e4a}
.sc-owner-invite-status[data-status="sent"]{display:flex;align-items:baseline;gap:8px;padding:10px 12px;border:1px solid #8cb79a;border-radius:9px;background:#e7f4ea;color:#1b542e;font-weight:700}
.sc-owner-invite-status[data-status="sent"]::before{content:"✓" / "";flex:none}
@media(max-width:560px){
 .sc-owner-access{align-items:stretch;flex-direction:column;gap:12px;padding:16px}
 .sc-owner-access>button{width:100%}
 .sc-owner-invite-dialog form{padding:19px}
}


/* GM live shift checklist completion review */
.sc-shift-checklist-summary{margin:15px 0;border:1px solid var(--theme-border,#decfd4);
 border-radius:12px;overflow:hidden}
.sc-shift-checklist-summary>summary{padding:13px 16px;cursor:pointer;
 font:700 14px "Bree Serif",Georgia,serif}
.sc-shift-checklist-summary>summary span{font:400 12px Arial,sans-serif;color:var(--theme-muted,#736670)}
.sc-shift-checklist-rows{display:grid;gap:9px;padding:12px 15px}
.sc-shift-checklist-rows>p{font:12px/1.5 Arial,sans-serif;color:var(--theme-muted,#736670)}
.sc-shift-checklist-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:12px;align-items:center;
 border-radius:8px;background:var(--theme-elevated,var(--theme-surface,#fff));
 border:1px solid var(--theme-border,#ded1d5);padding:10px 12px}
.sc-shift-checklist-row>div{display:grid;gap:2px;min-width:0}
.sc-shift-checklist-row strong{font:700 13px Arial,sans-serif;overflow-wrap:anywhere}
.sc-shift-checklist-row small{font:11px Arial,sans-serif;color:var(--theme-muted,#786b70)}
.sc-shift-checklist-row>span{font:12px Arial,sans-serif;white-space:nowrap}
@media(max-width:650px){.sc-shift-checklist-row{grid-template-columns:1fr auto}
.sc-shift-checklist-row>div{grid-column:1/-1}}
