/* Staff workspace is deliberately isolated from the public photography website. */
#oneshot-staff-workspace .oneshot-app-admin-tools { min-width:0; width:100%; grid-template-columns:minmax(0,1fr); }
#oneshot-staff-workspace :is([data-staff-traffic],.staff-site-analytics,[data-analytics="dashboard"]) { min-width:0; max-width:100%; }
#oneshot-staff-workspace .staff-traffic-shortcut { display:flex; justify-content:space-between; align-items:center; gap:14px; width:100%; margin:0 0 18px; padding:18px!important; background:#d9f5e8!important; text-align:left; }
.staff-traffic-shortcut span { display:grid; gap:4px; }
#oneshot-staff-workspace .staff-tabs [data-staff-view="traffic"] { background:#d9f5e8!important; }
#oneshot-staff-workspace .staff-traffic-links { display:flex; flex-wrap:wrap; gap:10px; margin:14px 0 20px; }
#oneshot-staff-workspace .staff-site-analytics { min-width:0; }
#oneshot-staff-workspace .staff-site-analytics .panel { padding:18px; margin:0 0 18px; background:#fff; border:1px solid #d9dfe7; border-radius:10px; min-width:0; }
#oneshot-staff-workspace .staff-site-analytics .login-row, #oneshot-staff-workspace .staff-site-analytics .toolbar { display:flex; flex-wrap:wrap; gap:10px; align-items:flex-end; margin:10px 0; }
#oneshot-staff-workspace .staff-site-analytics .toolbar > div { flex:1 1 180px; min-width:0; }
#oneshot-staff-workspace .staff-site-analytics .login-row input { flex:1 1 200px; }
#oneshot-staff-workspace .staff-site-analytics .metrics { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin:18px 0; }
#oneshot-staff-workspace .staff-site-analytics .metric { padding:16px; background:#fff; border:1px solid #d9dfe7; border-radius:10px; min-width:0; }
#oneshot-staff-workspace .staff-site-analytics .metric :is(span,strong,small) { display:block; overflow-wrap:anywhere; }
#oneshot-staff-workspace .staff-site-analytics .metric strong { font-size:30px!important; margin:4px 0; }
#oneshot-staff-workspace .staff-site-analytics .metric :is(small,span), #oneshot-staff-workspace .staff-site-analytics .muted { font-size:13px!important; }
#oneshot-staff-workspace .staff-site-analytics .columns { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
#oneshot-staff-workspace .staff-site-analytics :is(.table-wrap,.trend) { max-width:100%; overflow-x:auto; }
#oneshot-staff-workspace .staff-site-analytics table { width:100%; border-collapse:collapse; font-size:14px; }
#oneshot-staff-workspace .staff-site-analytics :is(td,th) { text-align:left; vertical-align:top; padding:12px 8px; border-bottom:1px solid #d9dfe7; }
#oneshot-staff-workspace .staff-site-analytics td small { display:block; font-size:12px!important; }
#oneshot-staff-workspace .staff-site-analytics .trend svg { display:block; width:100%; max-height:230px; }
#oneshot-staff-workspace .staff-site-analytics .health-row, #oneshot-staff-workspace .staff-site-analytics .bar-label { display:flex; justify-content:space-between; gap:12px; padding:10px 0; }
#oneshot-staff-workspace .staff-site-analytics .badge { padding:4px 10px; border-radius:16px; background:#d9f5e8; white-space:nowrap; }
#oneshot-staff-workspace .staff-site-analytics .badge.warn { background:#fff0cb; }
#oneshot-staff-workspace .staff-site-analytics .bar-track { height:8px; background:#eaf0f6; border-radius:5px; overflow:hidden; }
#oneshot-staff-workspace .staff-site-analytics .bar-fill { height:100%; background:#668c76; }
#oneshot-staff-workspace .staff-site-analytics .chips { display:flex; gap:10px; flex-wrap:wrap; margin:10px 0; }
#oneshot-staff-workspace .staff-site-analytics .empty { padding:20px 8px; }
#oneshot-staff-workspace .staff-site-analytics [data-analytics="coverage"] { border-left:4px solid #bf8c36; }
@media(max-width:650px){#oneshot-staff-workspace .staff-site-analytics .columns{grid-template-columns:1fr}#oneshot-staff-workspace .staff-site-analytics .metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}#oneshot-staff-workspace .staff-site-analytics .metric{padding:12px}#oneshot-staff-workspace .staff-site-analytics .toolbar button{flex:1}#oneshot-staff-workspace .staff-site-analytics .panel{padding:12px}}
html.oneshot-native-app-mode body.oneshot-native-app-mode [data-app-santa-only][hidden],
html.oneshot-native-app-mode body.oneshot-native-app-mode [data-app-install][hidden] { display: none !important; }
.oneshot-native-app-mode .app-private-galleries { display: grid; gap: 10px; padding: 24px; }
.oneshot-native-app-mode .app-gallery-link-form { display: grid; gap: 16px; padding: 24px; }
.oneshot-native-app-mode .app-gallery-link-form label { display: grid; gap: 8px; color: #263b47; font: 700 16px/1.5 Arial, sans-serif; }
.oneshot-native-app-mode .app-gallery-link-form input { width: 100%; min-width: 0; min-height: 48px; padding: 12px; border: 1px solid #748a94; border-radius: 8px; background: #fff; color: #263b47; font-size: 16px; }
.oneshot-native-app-mode .app-gallery-link-form button { font: 700 18px/1.4 Arial, sans-serif !important; letter-spacing: 0; }
.oneshot-native-app-mode .app-gallery-link-form p { color: #263b47; font: 400 16px/1.5 Arial, sans-serif; }
.oneshot-native-app-mode #oneshot-staff-workspace {
  --staff-ink: #272b32;
  --staff-muted: #535b68;
  --staff-line: #d9dfe7;
  position: fixed !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100dvh !important;
  max-height: 100dvh !important;
  max-width: none !important;
  transform: none !important;
  margin: 0 !important;
  padding: 0 max(18px, env(safe-area-inset-right)) calc(32px + env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left)) !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #f6f8fa !important;
  color: var(--staff-ink) !important;
  overflow: auto !important;
  overscroll-behavior: contain;
  z-index: 10000;
  backdrop-filter: none;
  isolation: isolate;
  color-scheme: light;
  scroll-padding-top: 145px;
}
.oneshot-native-app-mode #oneshot-staff-workspace[hidden],
.oneshot-native-app-mode #oneshot-staff-workspace [hidden] { display: none !important; }
body.staff-workspace-open { overflow: hidden !important; }
#oneshot-staff-workspace *, #oneshot-staff-workspace *::before, #oneshot-staff-workspace *::after { box-sizing: border-box; letter-spacing: 0 !important; }
#oneshot-staff-workspace :is(button, a, input, select, textarea, label, p, span, strong, small, b, em, h2, h3, summary, time) {
  font-family: Arial, Helvetica, sans-serif !important;
  text-transform: none !important;
  font-style: normal;
  letter-spacing: 0 !important;
  text-shadow: none !important;
}
#oneshot-staff-workspace :is(h2, h3, p) { margin: 0; }
#oneshot-staff-workspace h2 { font-size: 26px !important; line-height: 1.2; color: var(--staff-ink) !important; }
#oneshot-staff-workspace h3 { font-size: 19px !important; line-height: 1.35; color: var(--staff-ink) !important; }
#oneshot-staff-workspace :is(p, span, small, label, em) { color: var(--staff-muted) !important; font-size: 15px !important; line-height: 1.5; font-weight: 400; }
#oneshot-staff-workspace strong, #oneshot-staff-workspace b { color: var(--staff-ink) !important; font-size: 17px; line-height: 1.4; }
#oneshot-staff-workspace button, #oneshot-staff-workspace a {
  min-height: 44px !important;
  padding: 10px 15px !important;
  width: auto;
  border: 1px solid #c8d2de !important;
  border-radius: 8px !important;
  background: #e6edf9 !important;
  color: #273e62 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  box-shadow: none !important;
  white-space: normal;
  text-align: center;
  cursor: pointer;
}
#oneshot-staff-workspace button:hover { background: #d7e4f8 !important; }
#oneshot-staff-workspace button:disabled { opacity: .55; cursor: wait; }
#oneshot-staff-workspace :focus-visible { outline: 3px solid #4876ad !important; outline-offset: 3px; }
#oneshot-staff-workspace :is(input, select, textarea) {
  color-scheme: light !important;
  width: 100% !important;
  min-width: 0;
  min-height: 48px;
  padding: 12px !important;
  border: 1px solid #bac5d2 !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: #272b32 !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  box-shadow: none !important;
}
#oneshot-staff-workspace textarea { resize: vertical; }
#oneshot-staff-workspace label { display: grid; gap: 6px; font-weight: 700; }
#oneshot-staff-workspace ::placeholder { color: #667180 !important; opacity: 1; }
#oneshot-staff-workspace .staff-topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: calc(10px + env(safe-area-inset-top)) 0 10px;
  background: #f6f8fa;
  border-bottom: 1px solid var(--staff-line);
}
#oneshot-staff-workspace .staff-topbar > span { color: #272b32 !important; font-size: 18px !important; font-weight: 700; }
#oneshot-staff-workspace .staff-topbar b { font-size: 12px; display: block; color: #626c7b !important; }
#oneshot-staff-workspace .staff-close { width: 44px; flex: 0 0 44px; font-size: 27px !important; padding: 0 !important; background: #fff !important; }
#oneshot-staff-workspace .oneshot-app-admin-tools { max-width: 1120px; margin: 0 auto; gap: 20px !important; }
#oneshot-staff-workspace .staff-tabs { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; padding: 14px 0 0; }
#oneshot-staff-workspace .staff-tabs button { padding: 10px 4px !important; background: #fff !important; font-size: 14px !important; }
#oneshot-staff-workspace .staff-tabs button:nth-child(2) { background: #ffe3ee !important; }
#oneshot-staff-workspace .staff-tabs button:nth-child(3) { background: #ddecff !important; }
#oneshot-staff-workspace .staff-tabs button:nth-child(4) { background: #d9f5e8 !important; }
#oneshot-staff-workspace .staff-tabs button:nth-child(5) { background: #fff0cb !important; }
#oneshot-staff-workspace .staff-tabs button:nth-child(6) { background: #ede5fb !important; }
#oneshot-staff-workspace .staff-tabs button[aria-current] { border: 2px solid #35465d !important; box-shadow: 0 3px 0 #35465d !important; }
.staff-page-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
#oneshot-staff-workspace .staff-page-heading p { font-size: 12px !important; font-weight: 700; margin-bottom: 5px; }
#oneshot-staff-workspace .staff-page-heading time { font-size: 14px; color: #59616d; }
#oneshot-staff-workspace .oneshot-app-staff-toolbar { flex-wrap: wrap; gap: 10px; }
#oneshot-staff-workspace .staff-sync-status, #oneshot-staff-workspace .staff-connection-note { font-size: 14px !important; color: #46556a !important; background: #eaf0f6; border-left: 3px solid #7897bc; padding: 12px; border-radius: 0; }
#oneshot-staff-workspace .error { color: #8b2037 !important; background: #fff0f2; }
#oneshot-staff-workspace .oneshot-app-staff-overview { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
#oneshot-staff-workspace .oneshot-app-staff-stat { min-width: 0; min-height: 0 !important; padding: 14px; border: 0; border-radius: 8px; box-shadow: none; gap: 5px; }
#oneshot-staff-workspace .oneshot-app-staff-stat strong { font-size: 30px !important; overflow-wrap: anywhere; }
#oneshot-staff-workspace .oneshot-app-staff-stat span { font-size: 13px !important; }
#oneshot-staff-workspace .oneshot-app-staff-stat small { font-weight: 700; }
#oneshot-staff-workspace .is-peach { background: #ffe2ed !important; }
#oneshot-staff-workspace .is-blue { background: #dcecff !important; }
#oneshot-staff-workspace .is-mint { background: #d8f4e6 !important; }
#oneshot-staff-workspace .is-lavender { background: #ede5fb !important; }
#oneshot-staff-workspace .staff-today-section { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--staff-line); }
#oneshot-staff-workspace .staff-today-section > h3 { margin-bottom: 14px; }
#oneshot-staff-workspace :is(.staff-attention-row, .staff-agenda-row) { display: flex; align-items: center; justify-content: space-between; text-align: left; width: 100%; margin: 0; border: 0 !important; border-bottom: 1px solid var(--staff-line) !important; border-radius: 0 !important; padding: 16px 0 !important; background: transparent !important; gap: 15px; }
.staff-attention-row span, .staff-agenda-row span { min-width: 0; display: grid; gap: 3px; }
#oneshot-staff-workspace .staff-attention-row b { min-width: 34px; padding: 5px; background: #dcefe6; border-radius: 8px; text-align: center; }
#oneshot-staff-workspace .staff-agenda-row { justify-content: flex-start; }
#oneshot-staff-workspace .staff-agenda-date { width: 86px; flex: 0 0 86px; background: #dcecff; padding: 8px; border-radius: 8px; font-weight: 700; }
#oneshot-staff-workspace .staff-agenda-date small { font-size: 12px !important; }
#oneshot-staff-workspace .oneshot-app-staff-folder, #oneshot-staff-workspace .oneshot-app-staff-section { padding: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
#oneshot-staff-workspace .oneshot-app-staff-folder > summary { display: none !important; }
#oneshot-staff-workspace .oneshot-app-staff-folder-content { display: grid; gap: 28px; padding: 0; }
#oneshot-staff-workspace .oneshot-app-staff-section { display: grid; gap: 14px; min-width: 0; }
#oneshot-staff-workspace .oneshot-app-admin-section-head { align-items: center; gap: 12px; }
#oneshot-staff-workspace .oneshot-app-admin-section-head button { flex: 0 0 auto; }
#oneshot-staff-workspace :is(.oneshot-app-admin-mini-card, .oneshot-app-admin-email-card, .oneshot-app-admin-contact-card, .oneshot-app-admin-review-card, .oneshot-app-admin-inquiry-card, .oneshot-app-reply-card, .oneshot-app-empty-card, .oneshot-app-admin-client-card) { display: block !important; width: 100%; min-width: 0; padding: 18px; background: #fff; border: 1px solid var(--staff-line); border-radius: 8px; box-shadow: none; margin: 0; }
#oneshot-staff-workspace .oneshot-app-empty-card { padding: 18px !important; display: grid !important; grid-template-columns: minmax(0, 1fr) !important; gap: 6px; }
#oneshot-staff-workspace :is(.oneshot-app-empty-card, .oneshot-app-admin-client-copy) > * { width: 100% !important; max-width: none !important; min-width: 0 !important; word-break: normal !important; overflow-wrap: anywhere; }
#oneshot-staff-workspace .oneshot-app-admin-client-copy { display: grid; gap: 8px; }
#oneshot-staff-workspace details > summary { display: block !important; width: 100% !important; min-height: 44px; font-weight: 700; font-size: 17px; cursor: pointer; color: var(--staff-ink); padding: 8px 24px 8px 0 !important; position: relative; list-style: none; background: transparent !important; border-radius: 0; box-shadow: none; }
#oneshot-staff-workspace details > summary::-webkit-details-marker { display: none; }
#oneshot-staff-workspace details > summary::after { content: ""; display: block; position: absolute; right: 4px; top: 15px; width: 9px; height: 9px; border-right: 2px solid #5d6c80; border-bottom: 2px solid #5d6c80; transform: rotate(45deg); }
#oneshot-staff-workspace details[open] > summary::after { transform: rotate(225deg); top: 20px; }
#oneshot-staff-workspace details > summary :is(strong, small) { display: block !important; width: 100% !important; min-width: 0 !important; max-width: none !important; overflow-wrap: anywhere; word-break: normal !important; }
#oneshot-staff-workspace details[open] > summary { border-bottom: 1px solid var(--staff-line); margin-bottom: 14px; }
#oneshot-staff-workspace :is(.oneshot-app-admin-mini-card, .oneshot-app-admin-email-card, .oneshot-app-admin-contact-card) > :not(summary) { margin-top: 10px; overflow-wrap: anywhere; }
#oneshot-staff-workspace .oneshot-app-admin-mini-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.staff-booking-search { grid-column: 1 / -1; }
#oneshot-staff-workspace .oneshot-app-admin-payment-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; background: #f2f6fa; padding: 14px; border-radius: 8px; }
#oneshot-staff-workspace .oneshot-app-admin-payment-grid > span { padding: 4px; background: transparent; border: 0; min-width: 0; }
#oneshot-staff-workspace .oneshot-app-admin-payment-grid small { font-size: 13px !important; display: block; }
#oneshot-staff-workspace :is(.oneshot-app-admin-card-actions, .oneshot-app-admin-reply-actions, .oneshot-app-admin-contact-actions) { display: flex; flex-wrap: wrap; gap: 8px; }
#oneshot-staff-workspace .oneshot-app-admin-booking-actions > div { display: flex; flex-wrap: wrap; gap: 8px; }
#oneshot-staff-workspace .oneshot-app-admin-booking-actions button[data-app-admin-booking-action="cancel"], #oneshot-staff-workspace [data-app-admin-booking-action="void"] { color: #7e2940 !important; background: #ffe8ee !important; }
#oneshot-staff-workspace .staff-conversation p { white-space: pre-wrap; overflow-wrap: anywhere; max-height: 420px; overflow-y: auto; padding: 10px; }
#oneshot-staff-workspace .staff-task-form { display: grid; grid-template-columns: minmax(0, 1fr) 180px auto; gap: 12px; align-items: end; }
.staff-task-row { display: flex; gap: 14px; align-items: center; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid #d9dfe7; }
.staff-task-row > div { display: grid; min-width: 0; overflow-wrap: anywhere; }
.staff-task-row > button { flex-shrink: 0; }
.staff-task-actions { display: flex !important; flex-wrap: wrap; flex: 0 0 auto; gap: 6px; }
#oneshot-staff-workspace .is-overdue small { color: #962940 !important; }
.staff-completed { margin-top: 16px; }
#oneshot-staff-workspace.is-locked { display: block !important; }
#oneshot-staff-workspace.is-locked .oneshot-app-admin-login { margin: 14dvh auto 0; width: min(100%, 420px); padding: 26px; background: #fff; border: 1px solid #d9dfe7; border-radius: 8px; box-shadow: none; }
#oneshot-staff-workspace.is-locked .oneshot-app-admin-login .script { font: 700 26px/1.2 Arial, sans-serif !important; color: #272b32 !important; }
#oneshot-staff-workspace .oneshot-app-admin-reply-composer { border-top: 3px solid #94bde8; padding-top: 20px; scroll-margin-top: 85px; }
#oneshot-staff-workspace .oneshot-app-admin-reply-composer form { display: grid; gap: 16px; }
#oneshot-staff-workspace .oneshot-app-admin-ai-draft { background: #edf3fc; border-radius: 8px; padding: 16px; }
#oneshot-staff-workspace .oneshot-app-form-note { color: #535b68 !important; font-size: 14px !important; }
#oneshot-staff-workspace .oneshot-app-form-note.error { color: #8b2037 !important; }
.oneshot-native-app-mode .oneshot-app-bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 70; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); background: #1c1b23; border-top: 1px solid #55505e; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 5px; }
.oneshot-native-app-mode .oneshot-app-bottom-nav button { font: 700 14px/1.3 Arial, sans-serif; letter-spacing: 0; background: transparent; color: #ebe6f1; border: 0; border-radius: 8px; min-height: 44px; padding: 8px 4px; }
.oneshot-native-app-mode .oneshot-app-bottom-nav button[aria-current] { color: #241d32; background: #e9dcfa; }
.oneshot-native-app-mode .oneshot-app-screen { padding-bottom: calc(95px + env(safe-area-inset-bottom)) !important; }
.oneshot-native-app-mode .oneshot-app-shell:not(.is-unlocked) .oneshot-app-bottom-nav { display: none; }
.oneshot-native-app-mode [data-app-back] { font: 700 16px/1.3 Arial, sans-serif !important; min-height: 44px; min-width: 74px; color: #2c223a !important; background: #f7f0fd !important; letter-spacing: 0 !important; padding: 10px 16px !important; }
.oneshot-native-app-mode :is(.oneshot-app-help-panel, .oneshot-app-profile-form, .oneshot-app-booking-form) :is(input, textarea, select) { font-size: 16px !important; }
.oneshot-native-app-mode .oneshot-app-install-button { bottom: calc(84px + env(safe-area-inset-bottom)) !important; }
.oneshot-native-app-mode .oneshot-app-test-report-button { bottom: calc(84px + env(safe-area-inset-bottom)) !important; }
@media (max-width: 600px) {
  #oneshot-staff-workspace .staff-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  #oneshot-staff-workspace .oneshot-app-staff-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #oneshot-staff-workspace .oneshot-app-staff-stat span { display: none; }
  #oneshot-staff-workspace .oneshot-app-staff-stat { gap: 3px; }
  #oneshot-staff-workspace .staff-task-form { grid-template-columns: minmax(0, 1fr) auto; }
  #oneshot-staff-workspace .staff-task-form > label:first-child { grid-column: 1 / -1; }
  #oneshot-staff-workspace .staff-topbar > span { font-size: 16px !important; }
  #oneshot-staff-workspace .oneshot-app-admin-section-head { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .oneshot-native-app-mode *, .oneshot-native-app-mode *::before, .oneshot-native-app-mode *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Clearly labeled owner access; authentication remains in the private workspace. */
.oneshot-native-app-mode .oneshot-app-owner-entry { display:flex!important; align-items:center; justify-content:space-between; gap:12px; width:calc(100% - 32px)!important; margin:16px!important; padding:16px!important; min-height:62px; border:1px solid #c7afe7!important; border-radius:14px!important; background:#e9dcfa!important; color:#2c213d!important; font:700 18px/1.35 Arial,sans-serif!important; text-align:left; letter-spacing:0!important; box-shadow:0 5px 18px #0003; }
.oneshot-native-app-mode .oneshot-app-owner-entry :is(span,strong,small) { display:block!important; color:#2c213d!important; font-family:Arial,sans-serif!important; letter-spacing:0!important; text-transform:none!important; }
.oneshot-native-app-mode .oneshot-app-owner-entry strong { font-size:18px!important; }
.oneshot-native-app-mode .oneshot-app-owner-entry small { font-size:13px!important; font-weight:400; margin-top:4px; }
.oneshot-native-app-mode .oneshot-app-owner-entry.is-gate { width:100%!important; margin:18px 0 0!important; min-height:48px; font-size:16px!important; }
.oneshot-native-app-mode .oneshot-app-bottom-nav [data-app-owner-nav] { border:1px solid #a88bc8; color:#f2e7ff; }
@media (max-width:600px) { .oneshot-native-app-mode .oneshot-app-bottom-nav button { font-size:12px; padding:8px 2px; } }
