/* Staff-only light theme. This stylesheet is not loaded by /dev. */
body.user-workspace {
  --surface-0: #f5f8fc; --surface-1: #fff; --surface-2: #edf3ff; --surface-3: #e5edf8;
  --border-subtle: #e1e8f1; --border-strong: #bacbe0;
  --text-strong: #162339; --text-base: #33445e; --text-muted: #586b86; --text-faint: #64758c;
  --brand-400: #215cf4; --brand-500: #215cf4; --brand-600: #1645bf;
  --ok-400: #087650; --warn-400: #946000; --danger-400: #b42332; --info-400: #4b56ad;
  --shadow-card: none; --shadow-pop: 0 16px 60px #14284626;
  background: var(--surface-0); font-size: 16px; font-family: 'Segoe UI', system-ui, sans-serif;
}
.user-workspace .app-shell { display: grid; grid-template-columns: 215px minmax(0,1fr); min-height: 100vh; }
.user-workspace .app-main { max-width: none; width: 100%; padding: 0; min-width: 0; }
.workspace-sidebar { background: white; border-right: 1px solid var(--border-subtle); padding: 28px 18px; display: flex; flex-direction: column; gap: 26px; position: sticky; top: 0; height: 100vh; }
.workspace-brand { display: flex; align-items: center; gap: 11px; font-size: 20px; font-weight: 750; color: var(--text-strong); }
.workspace-brand small { display: block; font-size: 12px; font-weight: 400; color: var(--text-muted); }
.workspace-monogram { font: 48px/1 Georgia, serif; color: var(--brand-500); }
.workspace-nav { display: grid; gap: 7px; }
.workspace-nav .seg-btn { display: flex; align-items: center; gap: 10px; text-align: left; border: 0; border-radius: 8px; background: none; color: var(--text-muted); padding: 13px 10px; font-size: 15px; white-space: normal; }
.workspace-nav .seg-btn[aria-selected=true] { background: var(--surface-2); color: var(--brand-500); box-shadow: none; font-weight: 650; }
.user-workspace .workspace-nav .seg-btn span:not(.badge) { display: inline; }
.inbox-heading .btn { min-width: 36px; min-height: 36px; }
.workspace-nav svg, .workspace-sidebar .btn svg, .ticket-whatsapp svg { width: 18px; height: 18px; flex-shrink: 0; }
.workspace-account { margin-top: auto; font-size: 12px; overflow-wrap: anywhere; color: var(--text-muted); }
.workspace-account p { margin: 10px 0; }.workspace-account .btn { display: block; padding-left: 0; margin-top: 10px; }
.ticket-workspace { display: grid; grid-template-columns: 335px minmax(0,1fr); min-height: 100vh; }
.ticket-inbox { background: var(--surface-0); padding: 30px 18px; border-right: 1px solid var(--border-subtle); }
.inbox-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }.inbox-heading h1 { font-size: 27px; color: var(--text-strong); letter-spacing: -.6px; margin: 0; }
.inbox-heading svg { width: 18px; height: 18px; }.inbox-intro { color: var(--text-muted); font-size: 13px; margin: 6px 0 24px; }
.user-workspace .input, .user-workspace .select, .user-workspace .textarea { background: white; color: var(--text-strong); border-color: #bfcede; font-size: 15px; }
.user-workspace .input::placeholder, .user-workspace .textarea::placeholder { color: var(--text-muted); }
.ticket-filters { display: flex; gap: 3px; flex-wrap: wrap; margin: 15px 0; }.ticket-filters button { font: inherit; font-size: 13px; border: 0; border-radius: 22px; padding: 8px 10px; background: transparent; color: var(--text-muted); cursor: pointer; }
.ticket-filters button[aria-pressed=true] { color: white; background: var(--brand-500); }.inbox-selects { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }.inbox-selects label { font-size: 12px; color: var(--text-muted); min-width: 0; }.inbox-selects .select { font-size: 12px; padding: 8px 23px 8px 8px; width: 100%; margin-top: 5px; }.inbox-count { font-size: 12px; color: var(--text-muted); margin: 17px 0 10px; }
.request-row { display: flex; gap: 10px; text-align: left; padding: 15px 11px; background: white; width: 100%; border: 1px solid var(--border-subtle); border-radius: 10px; color: var(--text-strong); margin-bottom: 10px; cursor: pointer; font: inherit; position: relative; }
.request-row:hover { border-color: #91b0e2; }.request-row.selected { background: var(--surface-2); border-color: var(--brand-500); box-shadow: 0 0 0 1px var(--brand-500); }
.request-symbol { width: 39px; height: 45px; display: grid; place-items: center; flex-shrink: 0; background: #e8edf5; border-radius: 6px; color: #556c92; font: 24px Georgia,serif; }.request-copy { min-width: 0; flex: 1; }.request-copy strong { display: block; line-height: 1.35; font-size: 15px; overflow-wrap: anywhere; padding-right: 35px; }.request-person, .request-place, .request-meta { display: block; color: var(--text-muted); font-size: 12px; line-height: 1.5; margin-top: 3px; overflow-wrap: anywhere; }.request-task { display: block; font-size: 13px; line-height: 1.4; margin-top: 9px; color: var(--brand-500); font-weight: 600; }.request-task.attention { color: var(--warn-400); }.request-date { position: absolute; right: 9px; top: 16px; color: var(--text-muted); font-size: 10px; }
.ticket-detail { min-width: 0; background: white; }.ticket-head { padding: 30px 32px 0; }.ticket-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; }.ticket-heading>div { min-width: 0; }.ticket-id { color: var(--text-muted); font-size: 14px; margin-right: 12px; }.ticket-heading h2 { font-size: 32px; line-height: 1.2; letter-spacing: -.6px; margin: 12px 0 8px; overflow-wrap: anywhere; }.ticket-guest { margin: 0 0 12px; font-size: 15px; color: var(--text-muted); overflow-wrap: anywhere; }.ticket-whatsapp { display: flex; align-items: center; gap: 8px; text-decoration: none; font-size: 14px; font-weight: 600; color: var(--ok-400); padding: 10px 13px; border: 1px solid var(--border-subtle); border-radius: 7px; flex-shrink: 0; }
.related-requests { color: var(--text-muted); font-size: 13px; }.related-requests summary { cursor: pointer; padding: 7px 0; }.related-requests>div { display: flex; gap: 5px; flex-wrap: wrap; margin: 8px 0; }.related-requests button { white-space: normal; text-align: left; }
.ticket-next { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 17px 18px; background: var(--surface-0); border-radius: 8px; margin: 22px 0 20px; }.ticket-next span { display: block; color: var(--text-muted); font-size: 12px; }.ticket-next strong { font-size: 15px; color: var(--text-strong); }.ticket-next button { white-space: normal; text-align: right; }.detail-tabs { display: flex; gap: 24px; border-bottom: 1px solid var(--border-subtle); overflow-x: auto; }.detail-tabs button { background: none; border: 0; border-bottom: 3px solid transparent; color: var(--text-muted); padding: 14px 0; font: inherit; font-size: 14px; white-space: nowrap; cursor: pointer; }.detail-tabs button[aria-selected=true] { color: var(--brand-500); border-bottom-color: var(--brand-500); font-weight: 650; }.pending-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--warn-400); margin-left: 6px; }
.ticket-content { padding: 26px 32px 40px; }.ticket-content h3 { font-size: 18px; margin: 0 0 14px; color: var(--text-strong); }.ticket-content h4 { font-size: 15px; margin-top: 24px; }.ticket-facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin: 0 0 30px; }.ticket-facts>div { padding: 0 18px; border-right: 1px solid var(--border-subtle); }.ticket-facts>div:first-child { padding-left: 0; }.ticket-facts>div:last-child { border: 0; }.ticket-facts dt { color: var(--text-muted); font-size: 13px; }.ticket-facts dd { color: var(--text-strong); margin: 5px 0 0; font-size: 16px; font-weight: 600; overflow-wrap: anywhere; }.workspace-gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }.workspace-gallery figure { margin: 0; min-width: 0; }.reference-open { display: block; width: 100%; border: 1px solid var(--border-subtle); border-radius: 8px; background: var(--surface-0); padding: 0; overflow: hidden; cursor: zoom-in; }.reference-open img { width: 100%; height: 250px; object-fit: contain; display: block; }.workspace-gallery figcaption { color: var(--text-muted); font-size: 14px; line-height: 1.5; padding-top: 9px; overflow-wrap: anywhere; white-space: pre-wrap; }.image-failure { display: block; padding: 35px 20px; color: var(--danger-400); font-size: 14px; }.user-workspace [hidden] { display: none!important; }.ticket-content .section-heading { margin-top: 28px; }.request-summary { white-space: pre-wrap; overflow-wrap: anywhere; background: var(--surface-0); padding: 17px 18px; border-radius: 8px; margin: 0; font-size: 15px; line-height: 1.65; }
.ticket-section-form { border-top: 1px solid var(--border-subtle); padding-top: 24px; margin-top: 27px; }.ticket-section-form fieldset { margin: 0; border: 0; padding: 0; min-width: 0; }.ticket-section-form fieldset:disabled { opacity: .7; }.workspace-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }.ticket-section-form label { display: block; font-size: 14px; }.ticket-section-form input:not([type=checkbox]), .ticket-section-form select { display: block; width: 100%; margin-top: 7px; }.ticket-section-form input[type=checkbox] { width: 18px; height: 18px; vertical-align: middle; margin-right: 7px; }.section-help { color: var(--text-muted); font-size: 14px; line-height: 1.6; margin: 0 0 18px; }.section-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 14px; }.section-feedback { font-size: 13px; color: var(--text-muted); }.workspace-error { color: var(--danger-400); background: #fff0f0; padding: 13px; border-radius: 8px; font-size: 14px; margin: 14px 0; }.workspace-readonly { color: var(--text-muted); font-size: 14px; }.clarification-notice { background: #fff7e8; border-left: 3px solid #c48a18; padding: 16px 18px; margin-bottom: 25px; color: #664310; }.clarification-notice p { margin: 7px 0; font-size: 14px; }.ticket-event { padding: 17px 0; border-bottom: 1px solid var(--border-subtle); }.ticket-event p { margin: 0 0 7px; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 15px; }.ticket-event small { font-size: 12px; color: var(--text-muted); }.ticket-placeholder { padding: 70px 35px; text-align: center; color: var(--text-muted); }.ticket-placeholder svg { width: 34px; height: 34px; }.ticket-placeholder h2 { font-size: 22px; }.ticket-placeholder p { font-size: 15px; line-height: 1.6; }.ticket-placeholder.compact { padding: 25px 10px; }.ticket-placeholder.compact h2 { font-size: 17px; }.ticket-back { display: none; }
#reference-viewer { border: 0; padding: 24px; border-radius: 12px; color: var(--text-strong); width: min(950px,95vw); max-height: 95vh; box-shadow: var(--shadow-pop); }#reference-viewer::backdrop { background: #142036aa; }.viewer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }.viewer-head h2 { font-size: 20px; margin: 0; }#reference-full { display: block; width: 100%; height: min(65vh,700px); object-fit: contain; margin: 18px 0; }#reference-caption { white-space: pre-wrap; overflow-wrap: anywhere; }
.user-workspace .btn { font-size: 14px; }.user-workspace .btn-primary { background: var(--brand-500); box-shadow: none; }.user-workspace .btn-primary:hover { background: var(--brand-600); }.user-workspace .label { text-transform: none; letter-spacing: 0; font-size: 13px; }.user-workspace .h-card { font-size: 18px; }.user-workspace .modal { max-width: 620px; }.user-workspace .modal-backdrop { background: #14203680; }.user-workspace #view-calendar,.user-workspace #view-conversations { padding: 30px; }.user-workspace .toast { background: white; box-shadow: 0 5px 22px #10203920; }
@media(min-width:1600px){.ticket-workspace{grid-template-columns:380px minmax(0,1fr)}.ticket-head{padding:36px 44px 0}.ticket-content{padding:30px 44px}.reference-open img{height:310px}}
@media(max-width:1200px){.user-workspace .app-shell{grid-template-columns:180px minmax(0,1fr)}.workspace-sidebar{padding:25px 12px}.workspace-brand{font-size:16px}.ticket-workspace{grid-template-columns:295px minmax(0,1fr)}.ticket-head{padding:25px 20px 0}.ticket-content{padding:25px 20px}.ticket-next{align-items:flex-start}.detail-tabs{gap:17px}.workspace-gallery{gap:12px}.reference-open img{height:190px}.request-date{display:none}.request-copy strong{padding-right:0}}
@media(max-width:1000px){.user-workspace .app-shell{display:block}.workspace-sidebar{position:static;height:auto;border-right:0;border-bottom:1px solid var(--border-subtle);display:flex;flex-direction:row;align-items:center;padding:13px 18px;gap:14px;flex-wrap:wrap}.workspace-brand{font-size:17px}.workspace-brand small{display:none}.workspace-monogram{font-size:32px}.workspace-nav{display:flex;gap:2px}.workspace-nav .seg-btn{padding:9px;font-size:13px}.workspace-account{margin:0 0 0 auto;display:flex;align-items:center;gap:10px}.workspace-account p{display:none}.workspace-account #header-user{max-width:130px}.workspace-account .btn{margin:0}.ticket-workspace{grid-template-columns:310px minmax(0,1fr);min-height:calc(100vh - 85px)}.ticket-heading h2{font-size:27px}.ticket-heading{gap:10px}.ticket-whatsapp{font-size:12px;padding:9px}.ticket-facts>div{padding:0 10px}.ticket-facts dd{font-size:14px}.workspace-fields{grid-template-columns:1fr}}
@media(max-width:700px){.workspace-sidebar{gap:10px;padding:12px 14px}.workspace-brand{flex:1}.workspace-nav{order:3;width:100%;justify-content:space-between}.workspace-nav .seg-btn{flex:1;justify-content:center}.workspace-account #header-user,.workspace-account #link-dev{display:none}.workspace-sidebar>#btn-new{padding:7px 9px;font-size:12px}.workspace-account .btn{font-size:12px;padding:5px}.ticket-workspace{display:block}.ticket-inbox{border:0;padding:22px 16px}.ticket-detail{display:none}.ticket-workspace.detail-open .ticket-inbox{display:none}.ticket-workspace.detail-open .ticket-detail{display:block}.ticket-back{display:block;border:0;background:none;font:inherit;font-size:14px;color:var(--brand-500);padding:0 0 20px;cursor:pointer}.ticket-head{padding:22px 18px 0}.ticket-content{padding:22px 18px 35px}.ticket-next{padding:14px;gap:8px}.ticket-next strong{font-size:14px}.detail-tabs{gap:21px}.detail-tabs button{font-size:13px}.workspace-gallery{grid-template-columns:1fr}.reference-open img{height:280px}.ticket-heading h2{font-size:28px}.user-workspace #view-calendar,.user-workspace #view-conversations{padding:20px 15px}.request-symbol{width:48px;height:54px}.request-row{padding:17px 12px}.request-copy strong{font-size:17px}.request-date{display:block}.workspace-fields{grid-template-columns:1fr}.viewer-head h2{font-size:17px}}
@media(prefers-reduced-motion:reduce){.user-workspace *{scroll-behavior:auto!important;transition:none!important}}
