.of-page-title-wrap{display:flex;align-items:center;gap:14px}.ocsh-shell-note{font-size:12px;color:#6b7280}.ocsh-quick-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.ocsh-panel-grid{display:grid;grid-template-columns:1.6fr 1fr;gap:16px}.ocsh-stack{display:grid;gap:16px}.ocsh-table{width:100%;border-collapse:collapse}.ocsh-table th,.ocsh-table td{padding:12px 10px;border-bottom:1px solid #edf2f7;text-align:left;font-size:14px}.ocsh-table th{font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:#6b7280}.ocsh-muted{color:#6b7280}.ocsh-chip{display:inline-flex;align-items:center;padding:4px 10px;border-radius:999px;background:#fff2e6;color:#b45309;font-size:12px;font-weight:600}.ocsh-chip.is-green{background:#ecfdf3;color:#027a48}.ocsh-chip.is-blue{background:#eff8ff;color:#175cd3}.ocsh-chip.is-red{background:#fef3f2;color:#b42318}.ocsh-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.ocsh-form-grid .is-full{grid-column:1/-1}.ocsh-field label{display:block;font-size:12px;font-weight:700;color:#344054;margin:0 0 6px}.ocsh-field input,.ocsh-field select,.ocsh-field textarea{width:100%;padding:12px 14px;border:1px solid #d0d5dd;border-radius:14px;background:#fff}.ocsh-actions-row{display:flex;gap:10px;flex-wrap:wrap}.ocsh-empty{padding:28px;text-align:center;color:#667085}.ocsh-stat-list{display:grid;gap:12px}.ocsh-stat-item{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #f2f4f7}.ocsh-card-link{text-decoration:none;color:inherit}.ocsh-module-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.ocsh-module-head h3{margin:0}.ocsh-public-wrap{max-width:760px;margin:40px auto}.ocsh-qr-box{display:grid;grid-template-columns:220px 1fr;gap:18px;align-items:start}.ocsh-qr-box img{width:220px;height:220px;border-radius:20px;background:#fff;padding:12px;border:1px solid #eaecf0}@media(max-width:980px){.ocsh-quick-grid,.ocsh-panel-grid,.ocsh-form-grid,.ocsh-qr-box{grid-template-columns:1fr}}
.ocsh-quick-panel{padding:18px}.ocsh-quick-panel .of-create-grid{margin-top:0}.ocsh-quick-panel .of-create-tile{min-height:104px}.ocsh-quick-panel .of-create-ico{font-size:20px}.ocsh-quick-panel .of-create-label{font-size:12px;font-weight:600}


/* Dashboard panel consistency fix */
.ocsh-stack > .of-panel{margin-bottom:0;}
.of-panel .ocsh-table{margin-top:12px;}
.of-panel .ocsh-empty{padding:18px 0;color:#98a2b3;text-align:center;}
.of-panel .ocsh-stat-list{margin-top:4px;}
.of-panel .ocsh-muted{font-size:13px;line-height:1.55;}

.ocsh-kpi-row{margin:0 0 16px}
.ocsh-ticket-filters{display:grid;gap:12px}
.of-drawer{position:fixed;inset:0;z-index:10000;display:none}
.of-drawer.is-open{display:block}
.of-drawer-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.45)}
.of-drawer-panel{position:absolute;top:0;right:0;height:100%;width:min(720px,100vw);background:#fff;display:flex;flex-direction:column;box-shadow:-18px 0 50px rgba(0,0,0,.18)}
.of-drawer-head{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;border-bottom:1px solid #eaecf0}
.of-drawer-title{font-size:20px;font-weight:700}
.of-drawer-body{padding:20px;overflow:auto;display:grid;gap:16px}
.of-drawer-foot{display:flex;justify-content:flex-end;gap:10px;padding-top:8px;border-top:1px solid #eaecf0}
.ocsh-ticket-layout{display:grid;grid-template-columns:320px minmax(0,1fr) 360px;gap:16px}
.ocsh-ticket-copy{margin-top:14px;line-height:1.65;color:#344054}
.ocsh-time-item{display:grid;grid-template-columns:16px 1fr;gap:12px;padding:12px 0;border-bottom:1px solid #f2f4f7}
.ocsh-time-dot{width:10px;height:10px;border-radius:999px;background:#ff8a00;margin-top:7px}
.ocsh-note-item{padding:12px 0;border-bottom:1px solid #f2f4f7}
.ocsh-note-head{display:flex;flex-direction:column;gap:4px;margin-bottom:8px}
.ocsh-emergency-ribbon{margin-bottom:16px}
@media(max-width:1200px){.ocsh-ticket-layout{grid-template-columns:1fr}}
@media(max-width:700px){.of-drawer-panel{width:100vw}}


/* Tickets KPI cards fix */
.ocsh-tickets-kpis{margin-bottom:16px;}
.ocsh-tickets-kpis .of-kpi{min-height:118px;display:flex;flex-direction:column;justify-content:center;}
.ocsh-tickets-kpis .of-kpi-value{font-size:30px;line-height:1.1;}


/* v1.8.2 module UI consistency pass */
.of-card,.of-panel{
  background: var(--of-card);
  border: 1px solid var(--of-border);
  border-radius: 18px;
  box-shadow: 0 1px 2px rgba(16,24,40,.04), 0 1px 3px rgba(16,24,40,.08);
}
.ocsh-panel-grid,
.ocsh-stack,
.ocsh-ticket-layout{align-items:start;}
.ocsh-panel-grid > .of-card,
.ocsh-panel-grid > .of-panel,
.ocsh-stack > .of-card,
.ocsh-stack > .of-panel,
.ocsh-ticket-layout > .of-card,
.ocsh-ticket-layout > .of-panel{margin-bottom:0;}
.of-card-head,
.of-panel-head,
.ocsh-module-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:16px;}
.of-card-head h3,.of-panel-head h3,.ocsh-module-head h3{margin:0;font-size:18px;line-height:1.25;letter-spacing:-.01em;}
.ocsh-module-head form{margin-left:auto;}
.ocsh-actions-row input[type="text"],
.ocsh-actions-row select{
  min-width:280px;
  height:48px;
  padding:0 16px;
  border:1px solid #d0d5dd;
  border-radius:14px;
  background:#fff;
}
.of-card > .ocsh-table,
.of-panel > .ocsh-table{margin-top:8px;}
.of-card > .ocsh-form-grid,
.of-panel > .ocsh-form-grid{margin-top:4px;}
.ocsh-form-grid{gap:18px;}
.ocsh-field input,.ocsh-field select,.ocsh-field textarea{font-size:15px;line-height:1.4;min-height:48px;box-shadow:none;}
.ocsh-field textarea{min-height:120px;}
.ocsh-field label{font-size:13px;letter-spacing:-.01em;margin-bottom:8px;}
.ocsh-table-wrap{overflow:auto;}
.ocsh-table thead th{background:transparent;}
.ocsh-table tbody tr:hover td{background:#fafafa;}
.ocsh-table td .ocsh-muted{margin-top:4px;font-size:12px;}
.ocsh-empty{padding:28px 18px;border:1px dashed #e4e7ec;border-radius:14px;background:#fcfcfd;}
.ocsh-empty td{border:none;}
.of-card .ocsh-empty,.of-panel .ocsh-empty{margin-top:8px;}
.ocsh-stat-item{padding:14px 0;}
.ocsh-time-item{padding:14px 0;}
.ocsh-section-note{margin-top:-8px;margin-bottom:14px;color:#667085;font-size:14px;}
.ocsh-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:16px;}
.ocsh-toolbar-right{display:flex;align-items:center;gap:10px;flex-wrap:wrap;}
.ocsh-split-shell{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(360px,.95fr);gap:18px;align-items:start;}
.ocsh-split-shell > .of-card,
.ocsh-split-shell > .of-panel{height:100%;}
.ocsh-block-title{font-size:20px;font-weight:800;letter-spacing:-.02em;margin:0;}
.ocsh-list-card .ocsh-table,
.ocsh-form-card form{margin-top:8px;}
.ocsh-utility-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start;}
.ocsh-utility-grid > .of-card,
.ocsh-utility-grid > .of-panel{height:100%;}
.ocsh-card-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px;}
.ocsh-kpi-row .of-kpi{min-height:122px;box-shadow:0 1px 2px rgba(16,24,40,.04), 0 1px 3px rgba(16,24,40,.08);}
.ocsh-kpi-row .of-kpi-label{font-size:13px;}
.ocsh-kpi-row .of-kpi-value{font-size:34px;}
.ocsh-kpi-row .of-kpi-sub{font-size:13px;}
.ocsh-ticket-filters .ocsh-actions-row{margin-top:4px;}
.ocsh-filter-card{margin-bottom:18px;}
.ocsh-ticket-queue-card{margin-top:0;}
.ocsh-note-item:last-child,.ocsh-stat-item:last-child,.ocsh-time-item:last-child{border-bottom:none;}
@media(max-width:1200px){
  .ocsh-split-shell,.ocsh-utility-grid{grid-template-columns:1fr;}
}
@media(max-width:980px){
  .ocsh-actions-row input[type="text"],.ocsh-actions-row select{min-width:0;width:100%;}
  .ocsh-module-head,.of-card-head,.of-panel-head{flex-direction:column;align-items:stretch;}
  .ocsh-module-head form{margin-left:0;}
}

/* v1.8.3 non-dashboard/tickets module polish */
.ocsh-page{display:grid;gap:18px;}
.ocsh-page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:2px 2px 0;}
.ocsh-page-head h1,.ocsh-page-head h2{margin:0;font-size:18px;line-height:1.25;letter-spacing:-.01em;}
.ocsh-page-head .ocsh-muted{font-size:14px;margin-top:6px;}
.ocsh-list-form{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(380px,.8fr);gap:18px;align-items:start;}
.ocsh-list-form > .of-card,.ocsh-list-form > .of-panel{min-width:0;}
.ocsh-form-stack{display:grid;gap:18px;position:sticky;top:18px;}
.ocsh-table-wrap{margin-top:8px;border:1px solid #eaecf0;border-radius:16px;overflow:auto;background:#fff;min-height:260px;}
.ocsh-table-wrap.is-tall{max-height:980px;}
.ocsh-table-wrap.is-medium{max-height:520px;}
.ocsh-table{min-width:100%;}
.ocsh-table thead th{position:sticky;top:0;background:#fff;z-index:1;}
.ocsh-table tbody td{vertical-align:top;}
.ocsh-table tbody td strong{font-weight:700;}
.ocsh-form-card .ocsh-form-grid{margin-top:6px;}
.ocsh-form-card .ocsh-actions-row{margin-top:6px;}
.ocsh-helper-list{display:grid;gap:12px;}
.ocsh-helper-item{display:flex;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid #f2f4f7;}
.ocsh-helper-item:last-child{border-bottom:none;}
.ocsh-kicker{font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#98a2b3;}
.ocsh-surface-note{padding:14px 16px;border:1px dashed #e4e7ec;border-radius:14px;background:#fcfcfd;color:#667085;font-size:14px;}
.ocsh-form-stack .of-card,.ocsh-form-stack .of-panel{overflow:hidden;}
.ocsh-inline-actions{display:flex;gap:8px;flex-wrap:wrap;}
.ocsh-table-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px;}
.ocsh-table-toolbar .ocsh-actions-row{margin-left:auto;}
.ocsh-soft-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}
.ocsh-card-pad{padding:18px;}
.ocsh-empty-action{margin-top:12px;}
.ocsh-notification-list{display:grid;gap:12px;}
.ocsh-notification-card{padding:16px;border:1px solid #eaecf0;border-radius:16px;background:#fff;display:flex;justify-content:space-between;gap:14px;align-items:flex-start;}
.ocsh-notification-card.is-unread{box-shadow:0 0 0 1px rgba(255,138,0,.2) inset;background:#fffaf5;}
.ocsh-form-note{margin-top:10px;color:#667085;font-size:13px;line-height:1.5;}
.ocsh-profile-grid{display:grid;grid-template-columns:1fr 340px;gap:18px;align-items:start;}
.ocsh-export-buttons{display:grid;gap:12px;align-items:start;justify-items:start;}
.ocsh-export-buttons form{margin:0;}
.ocsh-ops-hero{display:grid;grid-template-columns:1.25fr .95fr;gap:18px;align-items:start;}
.ocsh-ops-hero .ocsh-stack{gap:18px;}
.ocsh-ops-table-card .ocsh-table-wrap{min-height:auto;}
.ocsh-categories-grid{display:grid;grid-template-columns:minmax(0,1.1fr) 420px;gap:18px;align-items:start;}
.ocsh-categories-grid .ocsh-stack{gap:18px;}
.ocsh-badge-dot{display:inline-flex;align-items:center;gap:6px;}
.ocsh-badge-dot::before{content:'';width:8px;height:8px;border-radius:999px;background:#12b76a;display:block;}
.ocsh-badge-dot.is-red::before{background:#f04438;}
.ocsh-table-caption{margin-top:-4px;margin-bottom:12px;color:#667085;font-size:13px;}
@media (max-width:1280px){.ocsh-list-form,.ocsh-categories-grid,.ocsh-profile-grid,.ocsh-ops-hero{grid-template-columns:1fr;}.ocsh-form-stack{position:static;}}
@media (max-width:720px){.ocsh-soft-grid{grid-template-columns:1fr;}}


/* v1.8.4 non-ticket UI polish */
.ocsh-page{gap:20px}
.ocsh-page-head{padding:2px 4px 0;margin-bottom:2px}
.ocsh-page-head h2{font-size:20px;font-weight:800;letter-spacing:-.02em}
.ocsh-page-head .ocsh-muted{font-size:13px;color:#667085}
.ocsh-list-form{grid-template-columns:minmax(0,1.25fr) minmax(360px,.75fr);gap:20px}
.ocsh-list-card,.ocsh-form-card,.ocsh-ops-table-card{border-radius:20px}
.ocsh-list-card .of-card-head,.ocsh-form-card .of-card-head,.ocsh-ops-table-card .of-card-head{margin-bottom:12px}
.ocsh-list-card .of-card-head h3,.ocsh-form-card .of-card-head h3,.ocsh-ops-table-card .of-card-head h3{font-size:18px;font-weight:800;letter-spacing:-.02em}
.ocsh-card-pad{padding:20px}
.ocsh-table-toolbar{margin-bottom:14px}
.ocsh-table-wrap{border-radius:18px;background:#fcfcfd;min-height:320px}
.ocsh-table-wrap.is-medium{max-height:540px}
.ocsh-table-wrap.is-tall{max-height:860px}
.ocsh-table thead th{padding:14px 14px;font-size:11px;letter-spacing:.08em;color:#667085;background:#fcfcfd}
.ocsh-table tbody td{padding:16px 14px;font-size:14px;line-height:1.45}
.ocsh-table tbody tr:hover td{background:#fff}
.ocsh-form-stack{gap:20px;top:20px}
.ocsh-form-card .ocsh-form-grid{gap:14px 16px}
.ocsh-form-card .ocsh-field input,.ocsh-form-card .ocsh-field select,.ocsh-form-card .ocsh-field textarea{background:#fff;border-color:#d7dce4;border-radius:16px;min-height:46px}
.ocsh-form-card .ocsh-field textarea{min-height:110px}
.ocsh-form-card .ocsh-actions-row{padding-top:2px}
.ocsh-kicker{font-size:10px;letter-spacing:.1em}
.ocsh-helper-list{gap:10px}
.ocsh-helper-item{padding:14px 0}
.ocsh-helper-item strong{font-size:14px}
.ocsh-surface-note{font-size:13px}
.ocsh-ops-hero{grid-template-columns:minmax(0,1.2fr) minmax(340px,.8fr);gap:20px}
.ocsh-notification-list{gap:14px}
.ocsh-notification-card{border-radius:18px;padding:18px}
.ocsh-profile-grid{grid-template-columns:minmax(0,1fr) 320px;gap:20px}
.ocsh-export-buttons{gap:14px}
.ocsh-export-buttons .of-btn{min-width:220px;justify-content:center}
.ocsh-categories-grid{grid-template-columns:minmax(0,1.18fr) 390px;gap:20px}
.ocsh-categories-grid .ocsh-stack>.of-card{min-width:0}
.ocsh-empty{background:#fff;border-style:solid;border-color:#eaecf0;border-radius:16px}
.ocsh-empty-action .of-btn{margin-top:2px}
.ocsh-inline-actions .of-btn{padding-inline:14px}
.ocsh-soft-grid{gap:18px}
.ocsh-table-wrap::-webkit-scrollbar{width:10px;height:10px}
.ocsh-table-wrap::-webkit-scrollbar-thumb{background:#d0d5dd;border-radius:999px}
@media (max-width:1380px){.ocsh-categories-grid{grid-template-columns:1fr 360px}}
@media (max-width:1280px){.ocsh-list-form,.ocsh-categories-grid,.ocsh-profile-grid,.ocsh-ops-hero{grid-template-columns:1fr}.ocsh-form-stack{position:static}}


/* v1.8.5 non-ticket module design rework */
.ocsh-page{
  gap:22px;
}
.ocsh-page-head{
  padding:4px 2px 0;
  border-bottom:1px solid #eceff3;
  margin-bottom:4px;
}
.ocsh-page-head h2{
  font-size:20px;
  font-weight:800;
  line-height:1.2;
  letter-spacing:-.02em;
}
.ocsh-page-head .ocsh-muted{
  font-size:14px;
  color:#667085;
}
.ocsh-list-form{
  grid-template-columns:minmax(0,1.28fr) minmax(380px,.92fr);
  gap:22px;
}
.ocsh-list-card,
.ocsh-form-card,
.ocsh-list-form > .of-card,
.ocsh-list-form > .of-panel,
.ocsh-form-stack > .of-card,
.ocsh-form-stack > .of-panel,
.ocsh-utility-grid > .of-card,
.ocsh-utility-grid > .of-panel,
.ocsh-profile-grid > .of-card,
.ocsh-profile-grid > .of-panel{
  border-radius:22px;
  border:1px solid #e6e9ef;
  box-shadow:0 10px 24px rgba(15,23,42,.04),0 2px 6px rgba(15,23,42,.05);
  background:#fff;
}
.ocsh-card-pad{padding:22px;}
.of-card-head,.of-panel-head,.ocsh-table-toolbar{
  margin-bottom:18px;
}
.ocsh-kicker{
  font-size:11px;
  letter-spacing:.12em;
  color:#98a2b3;
}
.ocsh-block-title,
.of-card-head h3,
.of-panel-head h3{
  font-size:22px;
  font-weight:800;
  line-height:1.15;
  margin:4px 0 0;
  letter-spacing:-.02em;
}
.ocsh-table-caption,
.ocsh-form-note,
.ocsh-section-note{
  color:#667085;
  font-size:14px;
  line-height:1.55;
  margin-top:8px;
}
.ocsh-actions-row{
  align-items:center;
}
.ocsh-actions-row input[type="text"],
.ocsh-actions-row select{
  height:52px;
  border-radius:16px;
}
.ocsh-field input,.ocsh-field select,.ocsh-field textarea{
  border-radius:16px;
  border:1px solid #d7dce5;
  min-height:52px;
  padding:14px 16px;
  font-size:15px;
  background:#fcfcfd;
}
.ocsh-field textarea{
  min-height:132px;
  resize:vertical;
}
.ocsh-field input:focus,.ocsh-field select:focus,.ocsh-field textarea:focus,
.ocsh-actions-row input[type="text"]:focus,
.ocsh-actions-row select:focus{
  outline:none;
  border-color:#ff8a00;
  box-shadow:0 0 0 4px rgba(255,138,0,.12);
  background:#fff;
}
.ocsh-field label{
  font-size:12px;
  font-weight:800;
  color:#344054;
  text-transform:none;
}
.ocsh-form-stack{
  gap:20px;
  top:22px;
}
.ocsh-table-wrap{
  border-radius:18px;
  border:1px solid #eaecf0;
  background:#fff;
  min-height:320px;
}
.ocsh-table-wrap.is-medium{max-height:420px;}
.ocsh-table-wrap.is-tall{max-height:1100px;}
.ocsh-table thead th{
  padding:16px 18px;
  font-size:12px;
  letter-spacing:.08em;
  color:#667085;
  background:#fbfbfc;
  border-bottom:1px solid #eceff3;
}
.ocsh-table tbody td{
  padding:16px 18px;
  font-size:14px;
  border-bottom:1px solid #f1f3f7;
}
.ocsh-table tbody tr:last-child td{border-bottom:none;}
.ocsh-table tbody tr:hover td{background:#fffaf5;}
.ocsh-chip{
  padding:6px 10px;
  font-size:11px;
  font-weight:800;
  border-radius:999px;
}
.ocsh-empty{
  padding:34px 22px;
  border:1px dashed #dde3ea;
  border-radius:18px;
  background:linear-gradient(180deg,#fdfdfd 0%,#fafbfd 100%);
  color:#667085;
}
.ocsh-empty-action{margin-top:14px;}
.ocsh-helper-list{gap:14px;}
.ocsh-helper-item{
  padding:14px 0;
  align-items:flex-start;
}
.ocsh-helper-item span{
  color:#667085;
}
.ocsh-inline-actions .of-btn,
.ocsh-card-actions .of-btn,
.ocsh-export-buttons .of-btn{
  border-radius:14px;
}
.ocsh-export-buttons{display:grid;gap:12px;align-content:start;}
.ocsh-profile-grid,
.ocsh-utility-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(340px,.9fr);
  gap:22px;
}
.ocsh-notification-list{gap:14px;}
.ocsh-notification-card{
  padding:18px;
  border-radius:18px;
  border:1px solid #e8edf3;
  background:#fff;
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:flex-start;
}
.ocsh-notification-card.is-unread{
  border-color:#ffd8b0;
  background:#fffaf5;
}
.ocsh-ops-hero{
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(360px,.8fr);
  gap:22px;
  align-items:start;
}
.ocsh-ops-table-card .ocsh-table-wrap{min-height:260px;}
.ocsh-form-card .ocsh-actions-row{padding-top:4px;}
.ocsh-form-card .of-btn-primary,
.ocsh-list-card .of-btn-primary,
.ocsh-page .of-btn-primary{
  box-shadow:0 4px 10px rgba(15,23,42,.10);
}
@media(max-width:1280px){
  .ocsh-list-form,.ocsh-profile-grid,.ocsh-utility-grid,.ocsh-ops-hero{grid-template-columns:1fr;}
  .ocsh-form-stack{position:static;}
}
@media(max-width:820px){
  .ocsh-card-pad{padding:18px;}
  .ocsh-block-title,.of-card-head h3,.of-panel-head h3{font-size:19px;}
  .ocsh-table thead th,.ocsh-table tbody td{padding:14px 12px;}
}

/* v1.8.6 full UI stabilization pass */
.ocsh-page{max-width:none;}
.ocsh-page-head{border-bottom:0;padding:2px 2px 2px;margin-bottom:0;}
.ocsh-page-head > div{display:grid;gap:4px;}
.ocsh-page-head h2{font-size:22px;font-weight:800;letter-spacing:-.025em;color:#101828;}
.ocsh-page-head .ocsh-muted{max-width:860px;line-height:1.6;}

.ocsh-list-form,
.ocsh-profile-grid,
.ocsh-utility-grid,
.ocsh-ops-hero,
.ocsh-categories-grid{
  gap:24px;
  align-items:start;
}

.ocsh-list-card,
.ocsh-form-card,
.ocsh-list-form>.of-card,
.ocsh-list-form>.of-panel,
.ocsh-form-stack>.of-card,
.ocsh-form-stack>.of-panel,
.ocsh-profile-grid>.of-card,
.ocsh-profile-grid>.of-panel,
.ocsh-utility-grid>.of-card,
.ocsh-utility-grid>.of-panel,
.ocsh-categories-grid>.of-card,
.ocsh-categories-grid>.of-panel,
.ocsh-categories-grid .ocsh-stack>.of-card,
.ocsh-ops-hero>.of-card,
.ocsh-ops-hero .ocsh-stack>.of-card{
  border:1px solid #e7ebf0;
  border-radius:24px;
  box-shadow:0 12px 32px rgba(16,24,40,.05),0 2px 8px rgba(16,24,40,.04);
  background:#fff;
}

.ocsh-card-pad{padding:24px;}
.of-card-head,.of-panel-head,.ocsh-table-toolbar{margin-bottom:20px;align-items:flex-start;}
.of-card-head > div,.of-panel-head > div{display:grid;gap:4px;}
.ocsh-kicker{font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:#98a2b3;margin:0;}
.ocsh-block-title,.of-card-head h3,.of-panel-head h3{font-size:20px;font-weight:800;line-height:1.2;letter-spacing:-.02em;color:#101828;margin:0;}
.ocsh-table-caption,.ocsh-form-note,.ocsh-section-note{font-size:13px;line-height:1.6;color:#667085;max-width:70ch;}

.ocsh-table-toolbar form,
.ocsh-module-head form{margin:0;}
.ocsh-actions-row{display:flex;gap:12px;flex-wrap:wrap;align-items:center;}
.ocsh-actions-row .of-btn{height:48px;padding:0 16px;border-radius:14px;font-weight:700;}
.ocsh-actions-row input[type="text"],
.ocsh-actions-row input[type="search"],
.ocsh-actions-row select{height:50px;min-width:260px;padding:0 16px;border:1px solid #d8dee7;border-radius:16px;background:#fff;font-size:14px;}

.ocsh-form-grid{gap:18px;}
.ocsh-field{display:grid;gap:8px;}
.ocsh-field label{font-size:12px;font-weight:800;color:#344054;}
.ocsh-field input,
.ocsh-field select,
.ocsh-field textarea{width:100%;min-height:50px;padding:13px 16px;border:1px solid #d8dee7;border-radius:16px;background:#fcfcfd;font-size:14px;color:#101828;transition:border-color .15s ease, box-shadow .15s ease, background .15s ease;}
.ocsh-field textarea{min-height:128px;resize:vertical;}
.ocsh-field input:focus,
.ocsh-field select:focus,
.ocsh-field textarea:focus,
.ocsh-actions-row input[type="text"]:focus,
.ocsh-actions-row input[type="search"]:focus,
.ocsh-actions-row select:focus{outline:none;border-color:#ff8a00;box-shadow:0 0 0 4px rgba(255,138,0,.12);background:#fff;}
.ocsh-field input::placeholder,
.ocsh-field textarea::placeholder,
.ocsh-actions-row input::placeholder{color:#98a2b3;}

.ocsh-table-wrap{margin-top:8px;border:1px solid #eceff3;border-radius:18px;background:#fff;overflow:auto;min-height:280px;}
.ocsh-table-wrap.is-medium{max-height:500px;}
.ocsh-table-wrap.is-tall{max-height:980px;}
.ocsh-table{width:100%;border-collapse:separate;border-spacing:0;min-width:720px;}
.ocsh-table thead th{position:sticky;top:0;z-index:1;background:#fbfcfd;padding:14px 16px;border-bottom:1px solid #eceff3;font-size:11px;font-weight:800;letter-spacing:.08em;color:#667085;text-transform:uppercase;}
.ocsh-table tbody td{padding:15px 16px;border-bottom:1px solid #f1f4f7;font-size:14px;line-height:1.5;vertical-align:top;color:#101828;}
.ocsh-table tbody tr:last-child td{border-bottom:0;}
.ocsh-table tbody tr:hover td{background:#fffaf5;}
.ocsh-table a{font-weight:700;text-decoration:none;}
.ocsh-table a:hover{text-decoration:underline;}

.ocsh-empty{margin-top:6px;padding:28px 18px;border:1px dashed #dde3ea;border-radius:18px;background:linear-gradient(180deg,#fdfefe 0%,#fafbfd 100%);color:#667085;text-align:center;}
.ocsh-empty .of-btn{margin-top:12px;}

.ocsh-helper-list,.ocsh-notification-list,.ocsh-stat-list{display:grid;gap:14px;}
.ocsh-helper-item,
.ocsh-notification-card,
.ocsh-stat-item,
.ocsh-time-item,
.ocsh-note-item{padding:14px 0;border-bottom:1px solid #f1f4f7;}
.ocsh-helper-item:last-child,
.ocsh-stat-item:last-child,
.ocsh-time-item:last-child,
.ocsh-note-item:last-child{border-bottom:0;}
.ocsh-notification-card{border:1px solid #eceff3;border-radius:18px;background:#fff;padding:18px;display:flex;justify-content:space-between;gap:16px;align-items:flex-start;}
.ocsh-notification-card.is-unread{border-color:#ffd8b0;background:#fff8f1;box-shadow:0 0 0 1px rgba(255,138,0,.10) inset;}

.ocsh-chip{display:inline-flex;align-items:center;justify-content:center;min-height:28px;padding:6px 10px;border-radius:999px;font-size:11px;font-weight:800;letter-spacing:.02em;}
.ocsh-form-stack{display:grid;gap:24px;position:sticky;top:24px;}
.ocsh-inline-actions,.ocsh-card-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;}
.ocsh-inline-actions .of-btn,.ocsh-card-actions .of-btn,.ocsh-export-buttons .of-btn{height:42px;padding:0 14px;border-radius:14px;}
.ocsh-export-buttons{display:grid;gap:12px;align-content:start;justify-items:start;}
.ocsh-export-buttons .of-btn{min-width:220px;justify-content:center;}

.ocsh-surface-note{padding:16px 18px;border:1px dashed #e4e7ec;border-radius:16px;background:#fcfcfd;color:#667085;font-size:13px;line-height:1.6;}
.ocsh-ops-table-card .ocsh-table-wrap{min-height:240px;}

@media (max-width:1280px){
  .ocsh-list-form,.ocsh-profile-grid,.ocsh-utility-grid,.ocsh-ops-hero,.ocsh-categories-grid{grid-template-columns:1fr;}
  .ocsh-form-stack{position:static;}
}
@media (max-width:820px){
  .ocsh-card-pad{padding:18px;}
  .ocsh-page-head h2{font-size:20px;}
  .ocsh-actions-row input[type="text"],.ocsh-actions-row input[type="search"],.ocsh-actions-row select{min-width:0;width:100%;}
  .ocsh-table{min-width:640px;}
}


/* v1.8.7 search/layout/modal/detail fixes */
.ocsh-search-inline{display:flex;align-items:center;gap:12px;flex-wrap:nowrap;width:100%;}
.ocsh-search-inline input,.ocsh-search-inline select{flex:1;min-width:0;}
.ocsh-search-inline .of-btn{flex:0 0 auto;white-space:nowrap;min-width:86px;justify-content:center;}
.ocsh-search-inline--stack{flex-direction:column;align-items:stretch;}
.ocsh-search-inline--stack .of-btn{align-self:flex-start;}
.ocsh-form-grid.is-3col{grid-template-columns:repeat(3,minmax(0,1fr));}
.ocsh-toolbar-buttonset{display:flex;gap:10px;flex-wrap:wrap;align-items:center;}
.ocsh-detail-card .ocsh-detail-row{display:flex;justify-content:space-between;gap:14px;padding:12px 0;border-bottom:1px solid #edf2f7;}
.ocsh-detail-card .ocsh-detail-row:last-child{border-bottom:none;}
.ocsh-detail-card .ocsh-actions-row{margin-top:16px;}
.ocsh-modal{position:fixed;inset:0;z-index:10020;display:none;}
.ocsh-modal.is-open{display:block;}
.ocsh-modal__backdrop{position:absolute;inset:0;background:rgba(15,23,42,.5);}
.ocsh-modal__dialog{position:relative;z-index:1;max-width:820px;margin:4vh auto;background:#fff;border-radius:22px;box-shadow:0 24px 64px rgba(15,23,42,.24);padding:0;overflow:hidden;}
.ocsh-modal__head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:22px 24px 16px;border-bottom:1px solid #eaecf0;}
.ocsh-modal__body{padding:22px 24px;max-height:78vh;overflow:auto;}
.ocsh-modal__title{margin:0;font-size:22px;font-weight:800;letter-spacing:-.02em;}
.ocsh-modal__close{border:none;background:transparent;font-size:28px;line-height:1;cursor:pointer;color:#667085;}
.ocsh-modal__body .ocsh-form-grid{gap:16px 16px;}
.ocsh-detail-hero{padding:18px;border:1px solid #eaecf0;border-radius:18px;background:#fcfcfd;margin-bottom:16px;}
.ocsh-detail-hero h4{margin:0 0 6px;font-size:20px;}
.ocsh-detail-hero .ocsh-muted{font-size:14px;}
.ocsh-table-actions{display:flex;gap:8px;flex-wrap:wrap;}
.ocsh-compact-wrap{min-height:0;}
.ocsh-tidy-stack{display:grid;gap:16px;}
.ocsh-modal-trigger-row{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-bottom:14px;}
.ocsh-table-wrap .ocsh-empty{max-width:420px;margin:20px auto;}
@media (max-width:1100px){.ocsh-form-grid.is-3col{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width:720px){.ocsh-search-inline{flex-wrap:wrap;}.ocsh-search-inline .of-btn{width:100%;}.ocsh-form-grid.is-3col{grid-template-columns:1fr;}.ocsh-modal__dialog{margin:0;height:100vh;max-width:none;border-radius:0;}.ocsh-modal__body{max-height:none;height:calc(100vh - 78px);}}


/* v1.9.0 workspace + toolbar fixes */
.ocsh-table-toolbar form{margin-left:auto;max-width:520px;width:100%;}
.ocsh-table-toolbar .ocsh-search-inline{width:100%;}
.ocsh-table-toolbar .ocsh-search-inline .of-btn{min-height:52px;padding-inline:22px;}
.ocsh-ticket-layout{grid-template-columns:300px minmax(0,1fr) 340px;gap:20px;align-items:start;}
.ocsh-ticket-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:start;}
.ocsh-ticket-badges{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end;}
.ocsh-ticket-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px;}
.ocsh-ticket-meta .ocsh-meta-box{padding:12px 14px;border:1px solid #eaecf0;border-radius:16px;background:#fff;}
.ocsh-ticket-meta .ocsh-meta-box label{display:block;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:#98a2b3;margin-bottom:4px;}
.ocsh-ticket-copy{padding:14px 16px;border:1px solid #eaecf0;background:#fff;border-radius:16px;}
.ocsh-ticket-section-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px;}
.ocsh-ticket-section-title h4{margin:0;font-size:16px;}
.ocsh-timeline{display:grid;gap:0;}
.ocsh-time-item{grid-template-columns:18px minmax(0,1fr);}
.ocsh-time-card{padding:14px 16px;border:1px solid #eaecf0;border-radius:16px;background:#fff;}
.ocsh-time-card + .ocsh-time-card{margin-top:12px;}
.ocsh-note-item{padding:0;border:0;}
.ocsh-side-actions{display:grid;gap:16px;}
.ocsh-resolution-box,.ocsh-attach-box,.ocsh-side-panel{padding:16px;border:1px solid #eaecf0;border-radius:16px;background:#fff;}
.ocsh-resolution-box .ocsh-muted,.ocsh-attach-box .ocsh-muted,.ocsh-side-panel .ocsh-muted{font-size:13px;line-height:1.55;}
.ocsh-side-actions .ocsh-actions-row .of-btn{flex:1 1 auto;}
.ocsh-emergency-ribbon{padding:14px 16px;border-radius:16px;font-weight:700;}
.ocsh-client-hospital-links{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px;}
.ocsh-stacked-kv{display:grid;gap:10px;}
.ocsh-stacked-kv .ocsh-stat-item{display:grid;grid-template-columns:92px 1fr;align-items:center;gap:14px;padding:10px 0;}
.ocsh-workspace-form .ocsh-field textarea{min-height:120px;}
@media (max-width:1200px){.ocsh-ticket-layout{grid-template-columns:1fr;}.ocsh-ticket-badges{justify-content:flex-start;}.ocsh-ticket-meta{grid-template-columns:1fr;}}
@media (max-width:900px){.ocsh-table-toolbar form{max-width:none;}}

/* v1.9.1 phase 2 completion */
.ocsh-time-meta{margin-top:8px;font-size:12px;color:#667085}
.ocsh-upload-row{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:8px}
.ocsh-upload-row input[type="file"]{flex:1;min-width:220px;padding:10px 12px;border:1px solid #d0d5dd;border-radius:14px;background:#fff}
.ocsh-attachment-list{display:grid;gap:12px;margin-top:14px}
.ocsh-attachment-item{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;padding:14px 16px;border:1px solid #eaecf0;border-radius:16px;background:#fff}
.ocsh-attachment-item form{margin:0}
@media(max-width:900px){.ocsh-attachment-item{flex-direction:column}}

.ocsh-mini-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:6px}
.ocsh-compact-list{display:flex;flex-direction:column;gap:10px}
.ocsh-compact-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid rgba(15,23,42,.08);border-radius:14px;background:#fff}


/* v1.10.2 phase 5 client timeline */
.ocsh-timeline-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:12px}
.ocsh-mini-stat{padding:12px 14px;border:1px solid #eaecf0;border-radius:16px;background:#fff}
.ocsh-mini-stat span{display:block;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:#98a2b3;margin-bottom:6px}
.ocsh-mini-stat strong{font-size:20px;line-height:1.1;color:#101828}
.ocsh-client-timeline{display:grid;gap:14px;position:relative;margin-top:6px}
.ocsh-client-time-item{display:grid;grid-template-columns:18px minmax(0,1fr);gap:14px;align-items:start}
.ocsh-client-time-dot{width:10px;height:10px;border-radius:999px;background:#f97316;margin:12px auto 0;box-shadow:0 0 0 4px rgba(249,115,22,.12)}
.ocsh-client-time-card{padding:14px 16px;border:1px solid #eaecf0;border-radius:18px;background:#fff}
.ocsh-client-time-top{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.ocsh-client-time-body{margin-top:10px;color:#344054;line-height:1.55}
.ocsh-client-history-snap .ocsh-compact-row{align-items:flex-start}
@media(max-width:900px){.ocsh-timeline-stats{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:560px){.ocsh-timeline-stats{grid-template-columns:1fr;}}


/* v1.10.4 smart alerts and analytics */
.ocsh-alert-list{display:grid;gap:12px;}
.ocsh-alert-card{padding:14px 16px;border-radius:16px;border:1px solid #eaecf0;background:#fff;}
.ocsh-alert-card.is-red{background:#fef3f2;border-color:#fecdca;}
.ocsh-alert-card.is-amber{background:#fffaeb;border-color:#fedf89;}
.ocsh-alert-card.is-blue{background:#eff8ff;border-color:#b2ddff;}
.ocsh-bar-list{display:grid;gap:14px;}
.ocsh-bar-item{display:grid;gap:8px;}
.ocsh-bar-meta{display:flex;justify-content:space-between;gap:12px;align-items:center;}
.ocsh-bar-track{height:10px;border-radius:999px;background:#eef2f6;overflow:hidden;}
.ocsh-bar-track span{display:block;height:100%;border-radius:999px;background:#ff8a00;}


/* Phase 9 PWA mobile polish */
@media (max-width: 768px){
  .of-sidebar{
    transform:translateX(-100%);
    position:fixed;
    left:0;
    top:0;
    z-index:1002;
    height:100dvh;
    max-width:min(320px,86vw);
    box-shadow:0 22px 50px rgba(0,0,0,.28);
    transition:transform .22s ease;
  }
  .of-app.is-sidebar-open .of-sidebar{transform:translateX(0);}
  .of-sidebar-backdrop{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.36);
    opacity:0;
    pointer-events:none;
    transition:opacity .2s ease;
    z-index:1001;
  }
  .of-app.is-sidebar-open .of-sidebar-backdrop{
    opacity:1;
    pointer-events:auto;
  }
  body.of-sidebar-open{overflow:hidden;}
  .of-topbar-right{gap:8px;flex-wrap:wrap;justify-content:flex-end;}
  .of-top-link span,.of-topbar-refresh-btn span{display:none;}
  .of-content{padding-bottom:88px;}
}
body.ocsh-standalone .of-topbar{padding-top:max(12px, env(safe-area-inset-top));}


.ocsh-table-toolbar form{margin-left:auto;max-width:520px;width:100%;}
.ocsh-search-inline{display:flex;align-items:center;gap:12px;flex-wrap:nowrap;}
.ocsh-search-inline input,.ocsh-search-inline select{flex:1 1 auto;min-width:0;}
.ocsh-search-inline .of-btn{flex:0 0 auto;align-self:stretch;display:inline-flex;align-items:center;justify-content:center;min-height:52px;}
.ocsh-feedback-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:18px;}
.ocsh-feedback-kpi{background:#fff;border:1px solid #e6e9ef;border-radius:18px;padding:18px 20px;box-shadow:0 10px 24px rgba(15,23,42,.04),0 2px 6px rgba(15,23,42,.05);}
.ocsh-feedback-kpi .label{font-size:12px;color:#667085;font-weight:700;text-transform:uppercase;letter-spacing:.06em;}
.ocsh-feedback-kpi .value{font-size:34px;font-weight:800;line-height:1.05;margin-top:8px;}
.ocsh-feedback-kpi .meta{font-size:13px;color:#667085;margin-top:8px;line-height:1.45;}
.of-logo img{width:100%;height:100%;object-fit:cover;border-radius:inherit;display:block;}
.ocsh-page-header-actions{display:flex;gap:10px;flex-wrap:wrap;}
.ocsh-detail-grid{display:grid;gap:12px;}
.ocsh-detail-row{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #f2f4f7;}
.ocsh-modal__dialog.ocsh-modal--wide{max-width:1040px;}
.ocsh-form-grid.is-3col{grid-template-columns:repeat(3,minmax(0,1fr));}
.ocsh-form-grid.is-3col .is-span-2{grid-column:span 2;}
.ocsh-form-grid.is-3col .is-full{grid-column:1/-1;}
@media(max-width:980px){.ocsh-feedback-kpis{grid-template-columns:repeat(2,minmax(0,1fr));}.ocsh-form-grid.is-3col{grid-template-columns:1fr 1fr;}}
@media(max-width:720px){.ocsh-feedback-kpis{grid-template-columns:1fr;} .ocsh-search-inline{flex-wrap:wrap;} .ocsh-search-inline .of-btn{width:100%;} .ocsh-form-grid.is-3col{grid-template-columns:1fr;}}

.ocsh-hsp-layout{grid-template-columns:minmax(0,70%) minmax(0,30%) !important;align-items:start;}
.ocsh-hsp-search-card{margin-bottom:18px;}
.ocsh-hsp-search-form{width:100%;}
.ocsh-hsp-side{gap:18px;}
.ocsh-pagination{display:flex;align-items:center;justify-content:flex-end;gap:12px;padding-top:14px;}
.ocsh-pagination__meta{font-size:13px;color:#667085;font-weight:600;}
.ocsh-row-link:hover td{background:#fafafa;}
@media (max-width: 1280px){.ocsh-hsp-layout{grid-template-columns:1fr !important;}}

.ocsh-hsp-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:nowrap;}
.ocsh-hsp-toolbar > div:first-child{min-width:240px;flex:0 0 auto;}
.ocsh-hsp-search-form{width:100%;flex:1 1 auto;max-width:none;}
.ocsh-hsp-search-inline{width:100%;gap:14px;justify-content:flex-end;}
.ocsh-hsp-search-inline input,.ocsh-hsp-search-inline select{height:52px;border-radius:14px;background:#fcfcfd;border:1px solid #d9dee7;box-shadow:inset 0 1px 0 rgba(255,255,255,.7);}
.ocsh-hsp-search-inline input{flex:1 1 420px;min-width:360px;padding-inline:16px;}
.ocsh-hsp-search-inline select{flex:0 0 180px;padding-inline:14px;}
.ocsh-hsp-search-inline .of-btn{height:52px;min-width:110px;border-radius:14px;padding-inline:22px;box-shadow:0 8px 18px rgba(17,17,17,.15);}
.ocsh-hsp-detail-actions{margin-top:16px;justify-content:flex-start;display:flex;gap:10px;flex-wrap:nowrap;align-items:center;}
.ocsh-hsp-detail-actions .of-btn{height:42px;min-width:auto;padding-inline:16px;white-space:nowrap;flex:0 0 auto;}
.ocsh-hsp-detail-actions .of-btn-primary{padding-inline:18px;}
@media (max-width: 1100px){.ocsh-hsp-toolbar{flex-wrap:wrap;}.ocsh-hsp-toolbar > div:first-child{width:100%;}.ocsh-hsp-search-inline input{min-width:240px;flex-basis:280px;}.ocsh-hsp-search-inline select{flex:1 1 170px;}}
@media (max-width: 720px){.ocsh-hsp-search-inline{gap:10px;}.ocsh-hsp-detail-actions{flex-wrap:wrap;}.ocsh-hsp-detail-actions .of-btn{width:auto;}}


.ocsh-ticket-kb{margin-top:16px;padding:16px;border:1px solid #e8edf5;border-radius:18px;background:linear-gradient(180deg,#fff,#fbfcfe)}
.ocsh-ticket-kb-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:12px}
.ocsh-ticket-kb-head h4{margin:4px 0 0;font-size:18px}
.ocsh-ticket-kb-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.ocsh-ticket-kb-item{display:block;padding:14px;border:1px solid #e8edf5;border-radius:14px;background:#fff;text-decoration:none;color:inherit}
.ocsh-ticket-kb-item:hover{border-color:#cfd9e8;box-shadow:0 8px 22px rgba(16,24,40,.06)}
.ocsh-ticket-kb-item-top{display:flex;justify-content:space-between;gap:10px;align-items:flex-start;margin-bottom:6px}
.ocsh-ticket-kb-meta{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px;color:#667085;font-size:12px}
@media (max-width: 900px){.ocsh-ticket-kb-list{grid-template-columns:1fr}.ocsh-ticket-kb-head{flex-direction:column}}


/* v1.10.17 reports dashboard upgrade */
.ocsh-reports-page{gap:24px}
.ocsh-reports-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.ocsh-report-kpi-card{background:linear-gradient(180deg,#ffffff 0%,#f9fbff 100%);border:1px solid #e6ebf2;border-radius:20px;padding:18px 20px;box-shadow:0 10px 30px rgba(16,24,40,.06)}
.ocsh-report-kpi-label{font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#667085;margin-bottom:12px}
.ocsh-report-kpi-value{font-size:34px;line-height:1.05;font-weight:800;letter-spacing:-.03em;color:#101828}
.ocsh-report-kpi-sub{margin-top:10px;color:#667085;font-size:13px;line-height:1.45}
.ocsh-reports-grid{display:grid;grid-template-columns:1.18fr .92fr;gap:18px}
.ocsh-reports-grid-bottom{grid-template-columns:1fr 1fr}
.ocsh-report-chart-card{min-height:420px}
.ocsh-bar-chart{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;min-height:250px;padding:10px 6px 4px}
.ocsh-bar-col{flex:1;display:flex;flex-direction:column;align-items:center;gap:10px;min-width:0}
.ocsh-bar-value{font-size:12px;font-weight:700;color:#667085}
.ocsh-bar-track{height:190px;display:flex;align-items:flex-end;width:100%;justify-content:center;border-radius:18px;background:linear-gradient(180deg,#f8fafc 0%,#eef2f7 100%);padding:8px}
.ocsh-bar-track span{display:block;width:min(48px,100%);border-radius:16px 16px 10px 10px;background:linear-gradient(180deg,#9b8cff 0%,#6f5cff 55%,#4a3aff 100%);box-shadow:0 12px 24px rgba(79,70,229,.24)}
.ocsh-bar-label{font-size:12px;color:#475467;white-space:nowrap}
.ocsh-report-flex{display:grid;grid-template-columns:240px 1fr;gap:18px;align-items:center;min-height:290px}
.ocsh-report-donut-wrap{display:flex;justify-content:center;align-items:center}
.ocsh-donut-svg{width:220px;height:220px;overflow:visible}
.ocsh-donut-total{font-size:28px;font-weight:800;fill:#101828}
.ocsh-donut-sub{font-size:12px;font-weight:600;fill:#667085;letter-spacing:.04em;text-transform:uppercase}
.ocsh-report-legend{display:grid;gap:12px}
.ocsh-report-legend-item{display:grid;grid-template-columns:12px 1fr auto;gap:10px;align-items:center;font-size:14px;color:#344054}
.ocsh-report-legend-item .swatch{width:12px;height:12px;border-radius:999px;display:block}
.ocsh-reports-empty-chart{display:flex;align-items:center;justify-content:center;height:220px;width:220px;border:1px dashed #d0d5dd;border-radius:999px;color:#98a2b3;font-size:14px;text-align:center;padding:20px}
.ocsh-satisfaction-stack{display:grid;gap:16px;align-content:start;padding-top:6px}
.ocsh-satisfaction-total{display:flex;align-items:baseline;gap:10px;padding:2px 0 6px}
.ocsh-satisfaction-total strong{font-size:34px;line-height:1;font-weight:800;color:#101828}
.ocsh-satisfaction-total span{font-size:14px;color:#667085}
.ocsh-sat-item{display:grid;gap:8px}
.ocsh-sat-head{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:14px;color:#344054}
.ocsh-sat-head strong{font-size:24px;line-height:1;font-weight:800;color:#101828}
.ocsh-sat-track{height:10px;border-radius:999px;background:#eef2f7;overflow:hidden}
.ocsh-sat-track span{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#12b76a 0%,#7ce0ac 100%)}
.ocsh-sat-item:nth-child(3) .ocsh-sat-track span{background:linear-gradient(90deg,#f5b546 0%,#ffd58a 100%)}
.ocsh-sat-item:nth-child(4) .ocsh-sat-track span{background:linear-gradient(90deg,#f04438 0%,#fda29b 100%)}
.ocsh-reports-list-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.ocsh-report-highlight{display:grid;gap:12px;align-content:center;min-height:180px}
.ocsh-report-highlight-value{font-size:38px;font-weight:800;letter-spacing:-.03em;color:#101828}
@media(max-width:1380px){.ocsh-reports-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.ocsh-reports-list-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1100px){.ocsh-reports-grid,.ocsh-reports-grid-bottom,.ocsh-report-flex{grid-template-columns:1fr}.ocsh-report-chart-card{min-height:unset}.ocsh-report-donut-wrap{justify-content:flex-start}.ocsh-donut-svg{width:200px;height:200px}}
@media(max-width:720px){.ocsh-reports-kpis,.ocsh-reports-list-grid{grid-template-columns:1fr}.ocsh-bar-chart{gap:10px;overflow-x:auto;padding-bottom:10px}.ocsh-bar-col{min-width:72px}}


:root{
  --ocsh-heading-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ocsh-body-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ocsh-heading-weight: 700;
  --ocsh-body-weight: 400;
  --ocsh-page-title-size: 28px;
  --ocsh-section-title-size: 22px;
  --ocsh-card-title-size: 18px;
  --ocsh-body-size: 15px;
  --ocsh-meta-size: 13px;
}
body,.ocsh-shell,.ocsh-page,.of-card,.of-panel,.ocsh-field input,.ocsh-field select,.ocsh-field textarea,.ocsh-table td,.ocsh-table th{font-family:var(--ocsh-body-family);font-weight:var(--ocsh-body-weight);}
.ocsh-page-head h1,.ocsh-page-head h2,.ocsh-block-title,.of-card-head h3,.of-panel-head h3,.ocsh-module-head h3,.ocsh-ticket-summary-head h3,.ocsh-detail-hero h4,.ocsh-modal__title{font-family:var(--ocsh-heading-family)!important;font-weight:var(--ocsh-heading-weight)!important;}
.ocsh-page-head h1,.ocsh-page-head h2{font-size:var(--ocsh-page-title-size)!important;line-height:1.15;}
.ocsh-block-title,.of-card-head h3,.of-panel-head h3,.ocsh-module-head h3,.ocsh-ticket-summary-head h3,.ocsh-detail-hero h4{font-size:var(--ocsh-section-title-size)!important;line-height:1.2;}
.ocsh-kicker,.ocsh-table th,.ocsh-page-head .ocsh-muted,.ocsh-muted,.ocsh-helper-item span,.ocsh-report-kpi__meta,.ocsh-report-card__eyebrow{font-size:var(--ocsh-meta-size)!important;}
.ocsh-table td,.ocsh-field input,.ocsh-field select,.ocsh-field textarea,.ocsh-page,.of-card,.ocsh-helper-item strong{font-size:var(--ocsh-body-size);}
.ocsh-report-kpi__value,.ocsh-donut-total,.ocsh-sat-head strong,.ocsh-mini-stat strong{font-family:var(--ocsh-heading-family);font-weight:var(--ocsh-heading-weight);}

.ocsh-settings-grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}
.ocsh-settings-grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;}
.ocsh-report-range{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:8px 0 20px;}
.ocsh-report-range a{display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;border-radius:999px;border:1px solid #d0d5dd;background:#fff;color:#344054;text-decoration:none;font-size:13px;font-weight:600;}
.ocsh-report-range a.is-active{background:#101828;color:#fff;border-color:#101828;}
@media(max-width:980px){.ocsh-settings-grid-2,.ocsh-settings-grid-3{grid-template-columns:1fr;}}


/* v1.10.25 reports dashboard repair */
.ocsh-report-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:18px}
.ocsh-report-kpi{padding:18px 20px;border:1px solid #e6ebf2;border-radius:20px;background:linear-gradient(180deg,#fff 0%,#f9fbff 100%);box-shadow:0 10px 30px rgba(16,24,40,.06)}
.ocsh-report-kpi__label{font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#667085;margin-bottom:12px}
.ocsh-report-kpi__value{font-size:34px;line-height:1.05;letter-spacing:-.03em;color:#101828;margin-bottom:10px}
.ocsh-report-kpi__meta{color:#667085;line-height:1.45}
.ocsh-report-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:18px}
.ocsh-report-grid--top .ocsh-report-card:first-child{min-height:420px}
.ocsh-report-card{padding:20px 22px;border:1px solid #e6ebf2;border-radius:22px;background:#fff;box-shadow:0 10px 30px rgba(16,24,40,.06);min-width:0;overflow:hidden}
.ocsh-report-card h3{margin:0 0 18px;font-size:28px;line-height:1.15;letter-spacing:-.03em;color:#101828}
.ocsh-report-card__eyebrow{display:block;margin-bottom:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#667085}
.ocsh-report-split{display:grid;grid-template-columns:240px 1fr;gap:20px;align-items:center;min-height:280px}
.ocsh-report-empty{display:flex;align-items:center;justify-content:center;min-height:220px;border:1px dashed #d0d5dd;border-radius:999px;color:#98a2b3;font-size:14px;text-align:center;padding:20px;background:#fcfcfd}
.ocsh-donut{width:220px;height:220px;display:block;margin:0 auto;overflow:visible}
.ocsh-donut-total{font-size:28px;font-weight:800;fill:#101828}
.ocsh-donut-label{font-size:12px;font-weight:600;fill:#667085;letter-spacing:.04em;text-transform:uppercase}
.ocsh-report-legend{display:grid;gap:12px}
.ocsh-report-legend__item{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:14px;color:#344054;padding:10px 12px;border-radius:12px;background:#f8fafc}
.ocsh-bar-chart{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;min-height:270px;padding:10px 6px 4px}
.ocsh-bar-chart__item{flex:1;display:flex;flex-direction:column;align-items:center;gap:10px;min-width:0}
.ocsh-bar-chart__bar{position:relative;height:190px;display:flex;align-items:flex-end;width:100%;justify-content:center;border-radius:18px;background:linear-gradient(180deg,#f8fafc 0%,#eef2f7 100%);padding:8px}
.ocsh-bar-chart__bar::before{content:'';display:block;width:min(52px,100%);height:100%;border-radius:16px 16px 10px 10px;background:linear-gradient(180deg,#9b8cff 0%,#6f5cff 55%,#4a3aff 100%);box-shadow:0 12px 24px rgba(79,70,229,.24)}
.ocsh-bar-chart__bar[style*="height:"]::before{height:100%}
.ocsh-bar-chart__bar span{position:absolute;bottom:calc(100% + 8px);left:50%;transform:translateX(-50%);font-size:12px;font-weight:700;color:#667085;white-space:nowrap}
.ocsh-bar-chart__item label{font-size:12px;color:#475467;white-space:nowrap}
.ocsh-satisfaction{display:grid;gap:18px;align-content:start;padding-top:6px}
.ocsh-sat-row{display:grid;gap:8px}
.ocsh-sat-head{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:14px;color:#344054}
.ocsh-sat-head strong{font-size:24px;line-height:1;font-weight:800;color:#101828}
.ocsh-sat-track{height:10px;border-radius:999px;background:#eef2f7;overflow:hidden}
.ocsh-sat-fill{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#12b76a 0%,#7ce0ac 100%)}
.ocsh-sat-row:nth-child(2) .ocsh-sat-fill{background:linear-gradient(90deg,#f5b546 0%,#ffd58a 100%)}
.ocsh-sat-row:nth-child(3) .ocsh-sat-fill{background:linear-gradient(90deg,#f04438 0%,#fda29b 100%)}
.ocsh-report-list{display:grid;gap:12px}
.ocsh-report-list__row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border:1px solid #eaecf0;border-radius:14px;background:#fcfcfd;color:#344054}
.ocsh-report-list__row strong{font-size:16px;color:#101828}
@media(max-width:1380px){.ocsh-report-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1100px){.ocsh-report-grid,.ocsh-report-split{grid-template-columns:1fr}.ocsh-donut{width:200px;height:200px}.ocsh-report-split{min-height:unset}}
@media(max-width:720px){.ocsh-report-kpis,.ocsh-report-grid{grid-template-columns:1fr}.ocsh-bar-chart{gap:10px;overflow-x:auto;padding-bottom:10px}.ocsh-bar-chart__item{min-width:72px}}

/* v1.10.27 reports dashboard refresh */
.ocsh-report-topbar{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:22px}
.ocsh-report-actions{display:flex;gap:12px;align-items:center;justify-content:flex-end;flex-wrap:wrap}
.ocsh-report-range{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.ocsh-report-range a{display:inline-flex;align-items:center;justify-content:center;padding:10px 16px;border-radius:999px;border:1px solid #d8dee7;background:#fff;color:#344054;text-decoration:none;font-size:13px;font-weight:700;box-shadow:0 1px 2px rgba(16,24,40,.04)}
.ocsh-report-range a.is-active{background:#101828;color:#fff;border-color:#101828}
.ocsh-report-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:22px}
.ocsh-report-kpi-card,.ocsh-report-chart-card{background:#fff;border:1px solid #e7ebf0;border-radius:24px;box-shadow:0 14px 32px rgba(16,24,40,.06),0 2px 8px rgba(16,24,40,.04)}
.ocsh-report-kpi-card{padding:20px 22px}
.ocsh-report-kpi-label{font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#667085;margin-bottom:12px}
.ocsh-report-kpi-value{font-size:44px;line-height:1.02;font-weight:800;letter-spacing:-.04em;color:#101828}
.ocsh-report-kpi-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;color:#667085;font-size:13px}
.ocsh-report-kpi-footer b{display:inline-flex;align-items:center;justify-content:center;padding:6px 10px;border-radius:999px;font-size:12px;font-weight:800}
.ocsh-report-kpi-footer b.is-good{background:#ecfdf3;color:#027a48}
.ocsh-report-kpi-footer b.is-bad{background:#fef3f2;color:#b42318}
.ocsh-report-kpi-footer b.is-neutral{background:#f2f4f7;color:#475467}
.ocsh-reports-grid{display:grid;grid-template-columns:1.18fr .92fr;gap:18px;margin-bottom:18px}
.ocsh-reports-grid-bottom{grid-template-columns:1fr 1fr}
.ocsh-report-chart-card{padding:22px}
.ocsh-report-chart-card.small{min-height:320px}
.ocsh-report-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px}
.ocsh-report-card-head h3{margin:4px 0 0;font-size:19px;line-height:1.2;font-weight:800;letter-spacing:-.02em;color:#101828}
.ocsh-report-mini-stats{display:flex;gap:14px;flex-wrap:wrap;justify-content:flex-end}
.ocsh-report-mini-stats div{display:grid;gap:2px;padding:10px 12px;border-radius:14px;background:#f8fafc;border:1px solid #e8edf3;min-width:92px}
.ocsh-report-mini-stats span{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:#98a2b3;font-weight:700}
.ocsh-report-mini-stats strong{font-size:20px;font-weight:800;color:#101828}
.ocsh-bar-chart-v2{display:flex;align-items:flex-end;gap:16px;height:320px;padding:18px 6px 8px 6px}
.ocsh-bar-col{flex:1;display:grid;justify-items:center;gap:10px;min-width:0}
.ocsh-bar-col__value{font-size:12px;font-weight:800;color:#667085}
.ocsh-bar-col__stack{position:relative;display:flex;align-items:flex-end;gap:0;height:230px;width:58px}
.ocsh-bar-col__stack span{position:absolute;left:0;right:0;bottom:0;border-radius:16px 16px 10px 10px}
.ocsh-bar-col__stack .is-created{background:linear-gradient(180deg,#a78bfa 0%,#7c3aed 100%);opacity:.92}
.ocsh-bar-col__stack .is-solved{background:linear-gradient(180deg,#5b7fff 0%,#1d4ed8 100%);width:58px;right:auto;left:0;opacity:.98;max-height:100%}
.ocsh-bar-col label{font-size:12px;color:#667085}
.ocsh-report-inline-legend{display:flex;gap:18px;align-items:center;flex-wrap:wrap;padding-top:8px}
.ocsh-report-inline-legend span{display:inline-flex;gap:8px;align-items:center;color:#667085;font-size:13px}
.ocsh-report-inline-legend i{display:inline-block;width:12px;height:12px;border-radius:999px}
.ocsh-report-inline-legend i.is-created{background:#7c3aed}
.ocsh-report-inline-legend i.is-solved{background:#1d4ed8}
.ocsh-report-flex-v2{display:grid;grid-template-columns:240px 1fr;gap:18px;align-items:center;min-height:280px}
.ocsh-report-donut-wrap{display:flex;justify-content:center;align-items:center}
.ocsh-donut-svg{width:230px;height:230px}
.ocsh-donut-total{font-size:30px;font-weight:800;fill:#101828}
.ocsh-donut-label{font-size:12px;fill:#98a2b3}
.ocsh-report-empty-ring{display:flex;align-items:center;justify-content:center;height:230px;width:230px;border:1px dashed #d0d5dd;border-radius:999px;color:#98a2b3;font-size:14px;text-align:center;padding:20px;background:#fcfcfd}
.ocsh-report-legend-v2{display:grid;gap:12px}
.ocsh-report-legend-item{display:grid;grid-template-columns:12px 1fr auto;gap:10px;align-items:center;padding:12px 14px;border-radius:14px;background:#f8fafc;color:#344054;font-size:14px}
.ocsh-report-legend-item .swatch{width:12px;height:12px;border-radius:999px}
.ocsh-satisfaction-card{display:grid;grid-template-columns:220px 1fr;gap:20px;align-items:center;min-height:280px}
.ocsh-satisfaction-summary{display:grid;gap:6px;align-content:center;padding:18px;border-radius:18px;background:#f8fafc;border:1px solid #e8edf3}
.ocsh-satisfaction-summary span{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#98a2b3;font-weight:700}
.ocsh-satisfaction-summary strong{font-size:40px;line-height:1.02;font-weight:800;color:#101828}
.ocsh-satisfaction-summary small{font-size:13px;color:#667085}
.ocsh-satisfaction-bars{display:grid;gap:18px}
.ocsh-sat-card-row{display:grid;gap:10px}
.ocsh-sat-card-row__head{display:flex;justify-content:space-between;gap:12px;align-items:center;color:#344054}
.ocsh-sat-card-row__head strong{font-size:22px;font-weight:800;color:#101828}
.ocsh-sat-track{height:12px;background:#edf2f7;border-radius:999px;overflow:hidden}
.ocsh-sat-fill{height:100%;border-radius:999px}
.ocsh-sat-fill.is-positive{background:linear-gradient(90deg,#12b76a,#35c27c)}
.ocsh-sat-fill.is-neutral{background:linear-gradient(90deg,#f59e0b,#fbbf24)}
.ocsh-sat-fill.is-negative{background:linear-gradient(90deg,#f04438,#f97066)}
.ocsh-reports-list-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.ocsh-rank-list{display:grid;gap:14px}
.ocsh-rank-item{display:grid;grid-template-columns:38px minmax(0,1fr);gap:12px;align-items:center}
.ocsh-rank-item__num{width:38px;height:38px;border-radius:12px;background:#f8fafc;border:1px solid #e8edf3;display:flex;align-items:center;justify-content:center;font-weight:800;color:#475467}
.ocsh-rank-item__meta{display:grid;gap:8px}
.ocsh-rank-item__meta strong{font-size:14px;color:#101828}
.ocsh-rank-item__meta span{font-size:12px;color:#667085}
.ocsh-rank-item__bar{height:10px;background:#edf2f7;border-radius:999px;overflow:hidden}
.ocsh-rank-item__bar i{display:block;height:100%;background:linear-gradient(90deg,#1d4ed8,#7c3aed);border-radius:999px}
.ocsh-report-highlight{display:grid;align-content:start;gap:14px}
.ocsh-report-highlight-value{font-size:42px;line-height:1.02;font-weight:800;color:#101828}
.ocsh-report-kpi-sub{font-size:13px;line-height:1.55;color:#667085}
.ocsh-report-empty-block{display:flex;align-items:center;justify-content:center;min-height:180px;border:1px dashed #d0d5dd;border-radius:20px;background:#fcfcfd;color:#98a2b3;text-align:center;padding:20px}
@media(max-width:1380px){.ocsh-report-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.ocsh-reports-list-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1100px){.ocsh-report-topbar,.ocsh-report-actions,.ocsh-report-card-head{align-items:flex-start}.ocsh-reports-grid,.ocsh-reports-grid-bottom,.ocsh-report-flex-v2,.ocsh-satisfaction-card{grid-template-columns:1fr}.ocsh-report-donut-wrap{justify-content:flex-start}.ocsh-bar-chart-v2{overflow-x:auto;padding-bottom:14px}.ocsh-bar-col{min-width:76px}.ocsh-bar-col__stack{width:64px}.ocsh-reports-list-grid{grid-template-columns:1fr}}
@media(max-width:720px){.ocsh-report-kpis{grid-template-columns:1fr}.ocsh-report-kpi-value{font-size:36px}}

/* v1.10.30 stabilization pass */
:root{--ocsh-heading-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--ocsh-body-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--ocsh-heading-weight:700;--ocsh-body-weight:400;--ocsh-page-title-size:30px;--ocsh-section-title-size:20px;--ocsh-card-title-size:18px;--ocsh-body-size:14px;--ocsh-meta-size:12px;}
body,.of-body,.of-main,.of-content,.ocsh-page,.ocsh-table td,.ocsh-table th,input,select,textarea,button{font-family:var(--ocsh-body-family)!important;font-weight:var(--ocsh-body-weight);}
.ocsh-page-head h1,.ocsh-page-head h2,.ocsh-block-title,.of-card-head h3,.of-panel-head h3,.ocsh-module-head h3,.ocsh-ticket-summary-head h3,.ocsh-detail-hero h4,.ocsh-modal__title{font-family:var(--ocsh-heading-family)!important;font-weight:700!important;letter-spacing:-.02em;}
.of-panel,.of-card,.ocsh-report-kpi-card,.ocsh-report-chart-card,.ocsh-feedback-kpi,.of-kpi{border-radius:22px!important;box-shadow:0 10px 24px rgba(16,24,40,.05)!important;border-color:#e7ebf0!important;}
.ocsh-stat-item.is-link,.ocsh-helper-item{display:flex;align-items:center;justify-content:space-between;gap:12px;text-decoration:none;color:inherit;border:1px solid #eaecf0;border-radius:14px;padding:14px 16px;background:#fff;}
.ocsh-stat-item.is-link:hover,.ocsh-helper-item:hover{border-color:#d0d5dd;background:#fcfcfd;}
.ocsh-pagination{display:flex;gap:8px;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:14px 4px 0;}
.ocsh-pagination a{display:inline-flex;min-width:38px;height:38px;padding:0 12px;align-items:center;justify-content:center;border:1px solid #d0d5dd;border-radius:999px;background:#fff;color:#344054;text-decoration:none;font-size:13px;font-weight:700;}
.ocsh-pagination a.is-active{background:#101828;color:#fff;border-color:#101828;}
.ocsh-list-form{align-items:start;}
.ocsh-form-stack{position:sticky;top:88px;align-self:start;}
.ocsh-detail-card,.ocsh-list-card{min-height:unset!important;}
.ocsh-table-wrap{max-height:none;overflow:auto;}
.ocsh-helper-list,.ocsh-stat-list{display:grid;gap:12px;}
.ocsh-report-topbar,.ocsh-report-actions{align-items:center;}
.ocsh-report-kpi-value{font-size:40px!important;}
.ocsh-report-chart-card{background:linear-gradient(180deg,#fff 0%,#fcfcfd 100%)!important;}
.ocsh-report-card-head h3,.ocsh-report-highlight-value,.ocsh-report-kpi-value{color:#111827!important;}
.ocsh-report-mini-stats div,.ocsh-report-legend-item,.ocsh-satisfaction-summary,.ocsh-report-list__row{background:#f8fafc!important;border-color:#e5e7eb!important;}
.ocsh-donut-total{fill:#111827!important;}.ocsh-donut-label{fill:#667085!important;}
.ocsh-sat-bar i{background:linear-gradient(90deg,#f59e0b 0%,#ea580c 100%)!important;}
.ocsh-sat-row.is-good .ocsh-sat-bar i{background:linear-gradient(90deg,#22c55e 0%,#16a34a 100%)!important;}
.ocsh-sat-row.is-bad .ocsh-sat-bar i{background:linear-gradient(90deg,#ef4444 0%,#f97316 100%)!important;}
.of-create-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
.ocsh-kb-result-banner{margin:16px 0;padding:12px 16px;border:1px solid #f3e3d3;background:#fff8f1;border-radius:16px;color:#9a3412;}
.ocsh-kb-result,.ocsh-kb-mini-list a{border-radius:16px!important;}
.ocsh-kb-content-grid{align-items:start;}
.ocsh-kb-sidebar-stack{position:sticky;top:88px;}
.ocsh-kb-results{display:grid;gap:14px;}
.ocsh-premium-table-section{display:none!important;}
@media (max-width: 1200px){.ocsh-list-form{grid-template-columns:1fr!important}.ocsh-form-stack,.ocsh-kb-sidebar-stack{position:static;top:auto}}


/* v1.10.31 UX structure pass */
:root{--ocsh-heading-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--ocsh-body-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;}
body,.ocsh-app-shell{font-family:var(--ocsh-body-family);}
h1,h2,h3,h4,h5,h6,.of-panel-title,.ocsh-block-title,.ocsh-page-head h2,.ocsh-report-card-head h3,.ocsh-report-kpi-value{font-family:var(--ocsh-heading-family)!important;letter-spacing:-.02em;}
.ocsh-page-head h2{font-size:34px!important;line-height:1.1!important;font-weight:700!important;}
.ocsh-block-title{font-size:24px!important;font-weight:700!important;}
.ocsh-muted,.ocsh-table-caption,.ocsh-kicker,.ocsh-report-kpi__meta,.ocsh-kpi-sub{font-size:13px!important;color:#667085!important;}
.ocsh-list-form{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(330px,.7fr);gap:18px;align-items:start;}
.ocsh-form-stack{display:grid;gap:18px;position:sticky;top:86px;align-self:start;}
.ocsh-detail-card,.ocsh-list-card,.of-panel,.of-card{overflow:hidden;}
.ocsh-client-timeline,.ocsh-helper-list,.ocsh-kb-results,.ocsh-stat-list{display:grid;gap:10px;}
.ocsh-client-timeline,.ocsh-kb-results{max-height:780px;overflow:auto;padding-right:4px;}
.ocsh-helper-list.is-scroll,.ocsh-scroll{max-height:420px;overflow:auto;padding-right:4px;}
.ocsh-detail-hero{padding:18px 18px 14px;border:1px solid #eaecf0;border-radius:16px;background:#fff;}
.ocsh-detail-hero h4{margin:0 0 4px;font-size:24px;line-height:1.2;font-weight:700;color:#101828;}
.ocsh-detail-row{display:flex;justify-content:space-between;gap:14px;padding:14px 0;border-bottom:1px solid #f0f2f5;align-items:center;}
.ocsh-detail-row span:first-child{color:#667085;font-size:13px;}
.ocsh-detail-row strong{font-size:14px;color:#111827;text-align:right;}
.ocsh-timeline-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:16px;}
.ocsh-mini-stat{padding:12px;border:1px solid #eaecf0;border-radius:14px;background:#fff;}
.ocsh-mini-stat strong{font-size:22px;}
.ocsh-table-wrap{border:1px solid #eef1f4;border-radius:18px;background:#fff;}
.ocsh-table thead th{background:#fafbfc;color:#667085;font-size:11px;letter-spacing:.12em;text-transform:uppercase;}
.ocsh-table tbody td{font-size:14px;color:#344054;vertical-align:top;}
.ocsh-table tbody tr:hover{background:#fcfcfd;}
.ocsh-pagination{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end;padding-top:16px;}
.ocsh-pagination a{display:inline-flex;align-items:center;justify-content:center;min-width:36px;height:36px;padding:0 12px;border-radius:999px;border:1px solid #d0d5dd;background:#fff;color:#344054;text-decoration:none;font-weight:600;}
.ocsh-pagination a.is-active{background:#101828;color:#fff;border-color:#101828;}
.ocsh-module-intro--compact{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 16px;}
.ocsh-module-intro--compact span{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;background:#fff7ed;color:#9a3412;font-size:12px;font-weight:700;border:1px solid #fed7aa;}
/* Reports neutral redesign */
.ocsh-report-kpi-card,.ocsh-report-chart-card{border-radius:24px!important;box-shadow:0 10px 24px rgba(16,24,40,.05)!important;border:1px solid #e7ebf0!important;background:#fff!important;}
.ocsh-report-kpi-card{padding:18px 20px!important;}
.ocsh-report-kpi-label{font-size:11px!important;letter-spacing:.12em!important;color:#667085!important;}
.ocsh-report-kpi-value{font-size:28px!important;line-height:1.05!important;font-weight:700!important;color:#111827!important;}
.ocsh-report-card-head h3{font-size:18px!important;font-weight:700!important;color:#111827!important;}
.ocsh-report-mini-stats div,.ocsh-report-legend-item,.ocsh-satisfaction-summary,.ocsh-report-list__row{background:#fcfcfd!important;border-color:#eef1f4!important;border-radius:14px!important;}
.ocsh-report-range a{background:#fff!important;border-color:#d0d5dd!important;color:#344054!important;box-shadow:none!important;}
.ocsh-report-range a.is-active{background:#101828!important;color:#fff!important;border-color:#101828!important;}
.ocsh-bar-col__created{background:linear-gradient(180deg,#f59e0b 0%,#f97316 100%)!important;}
.ocsh-bar-col__solved{background:linear-gradient(180deg,#fb923c 0%,#ea580c 100%)!important;}
.ocsh-report-legend-item .swatch.is-green{background:#10b981!important}.ocsh-report-legend-item .swatch.is-blue{background:#3b82f6!important}.ocsh-report-legend-item .swatch.is-amber{background:#f59e0b!important}.ocsh-report-legend-item .swatch.is-purple{background:#8b5cf6!important}.ocsh-report-legend-item .swatch.is-red{background:#ef4444!important}
.ocsh-donut-total{font-size:30px!important;font-weight:700!important;fill:#111827!important;}
.ocsh-donut-label{font-size:11px!important;fill:#98a2b3!important;}
/* Dashboard / actions */
.ocsh-panel-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);gap:18px;align-items:start;}
.ocsh-stat-item.is-link,.ocsh-helper-item{padding:14px 16px;border:1px solid #eaecf0;border-radius:16px;background:#fff;text-decoration:none;color:inherit;}
.ocsh-stat-item.is-link:hover,.ocsh-helper-item:hover{border-color:#d0d5dd;background:#fcfcfd;}
.ocsh-quick-panel .of-create-grid{gap:12px;}
.ocsh-quick-panel .of-create-tile{border-radius:16px;}
/* KB */
.ocsh-kb-section-card{transition:all .18s ease;}
.ocsh-kb-section-card.is-active,.ocsh-kb-section-card:hover{border-color:#fdba74;background:#fff7ed;transform:translateY(-1px);}
.ocsh-kb-result{border:1px solid #eaecf0;border-radius:16px;padding:16px;background:#fff;text-decoration:none;color:inherit;}
.ocsh-kb-result:hover{border-color:#d0d5dd;background:#fcfcfd;}
.ocsh-kb-content-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,.6fr);gap:18px;}
.ocsh-kb-result-banner{margin:10px 0 16px;padding:12px 14px;border-radius:14px;background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;font-size:13px;font-weight:600;}
/* Premium */
.ocsh-premium-page .ocsh-premium-table-section{display:none!important;}
.ocsh-premium-page .of-panel-head .of-panel-title{font-size:18px!important;}
.ocsh-hidden{display:none!important;}
@media(max-width:1200px){.ocsh-list-form,.ocsh-panel-grid,.ocsh-kb-content-grid{grid-template-columns:1fr}.ocsh-form-stack{position:static}.ocsh-timeline-stats{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:720px){.ocsh-timeline-stats{grid-template-columns:1fr 1fr}.ocsh-page-head h2{font-size:28px!important}}


/* v1.10.32 stabilization overrides */
:root{--ocsh-heading-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--ocsh-body-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--ocsh-heading-weight:700;--ocsh-body-weight:400;}
body,.of-body,.of-main,.of-content,.ocsh-page,.ocsh-table td,.ocsh-table th,input,select,textarea,button{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;}
h1,h2,h3,h4,h5,h6,.of-panel-title,.ocsh-block-title,.ocsh-page-head h2,.ocsh-report-card-head h3,.ocsh-report-kpi-value,.of-page-title{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;font-weight:700!important;letter-spacing:-.02em;}
.ocsh-page-head h1,.ocsh-page-head h2,.of-page-title{font-size:18px!important;}
.ocsh-block-title,.of-card-head h3,.of-panel-head h3,.ocsh-module-head h3,.ocsh-ticket-summary-head h3,.ocsh-detail-hero h4,.ocsh-report-card-head h3{font-size:19px!important;}
.ocsh-table td,.ocsh-field input,.ocsh-field select,.ocsh-field textarea,.ocsh-page,.of-card,.ocsh-helper-item strong{font-size:14px!important;}
.ocsh-muted,.ocsh-kicker,.ocsh-table th{font-size:12px!important;}
.of-kpi-value,.ocsh-kpi-row .of-kpi-value{font-size:22px!important;}
.of-kpi-label,.of-kpi-sub{font-size:12px!important;}

/* Reports palette cleanup */
.ocsh-report-kpi-card,.ocsh-report-chart-card{background:#fff!important;border:1px solid #eceff3!important;box-shadow:0 8px 22px rgba(16,24,40,.04)!important;}
.ocsh-report-kpi-value{font-size:24px!important;color:#111827!important;}
.ocsh-report-card-head h3{font-size:18px!important;}
.ocsh-report-mini-stats div,.ocsh-report-legend-item,.ocsh-satisfaction-summary,.ocsh-report-list__row{background:#fcfcfd!important;border-color:#eef2f6!important;}
.ocsh-report-range a.is-active{background:#111827!important;border-color:#111827!important;}
.ocsh-bar-col__stack .is-created{background:linear-gradient(180deg,#f59e0b 0%,#f97316 100%)!important;box-shadow:0 12px 20px rgba(249,115,22,.2)!important;}
.ocsh-bar-col__stack .is-solved{background:linear-gradient(180deg,#ffd7a3 0%,#fdba74 100%)!important;}

/* Operations board structure cleanup */
.ocsh-utility-grid--3{grid-template-columns:repeat(3,minmax(0,1fr));}
@media(max-width:1200px){.ocsh-utility-grid--3{grid-template-columns:1fr;}}
.ocsh-rank-list{display:grid;gap:12px;}
.ocsh-rank-row{display:flex;align-items:center;gap:12px;justify-content:space-between;padding:14px 16px;border:1px solid #eceff3;border-radius:16px;background:#fff;color:inherit;text-decoration:none;}
.ocsh-rank-index{width:28px;height:28px;border-radius:999px;background:#fff4e8;color:#b45309;display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;flex:none;}
.ocsh-rank-copy{flex:1;min-width:0;display:grid;gap:3px;}
.ocsh-rank-copy strong{font-size:14px;color:#111827;}
.ocsh-rank-copy small{font-size:12px;color:#667085;}
.ocsh-rank-row:hover{border-color:#f1d1aa;background:#fffdfa;}
.ocsh-helper-item{border-radius:16px;border:1px solid #eceff3;background:#fff;}
.ocsh-helper-item:hover{border-color:#f1d1aa;background:#fffdfa;}
.ocsh-alert-card.is-blue{border-left-color:#f59e0b;background:#fff8f1;}
.ocsh-alert-card.is-red{background:#fff6f3;}
.ocsh-alert-card.is-amber{background:#fffaf0;}
.ocsh-table-wrap.is-medium{max-height:none;}
.ocsh-ops-table-card .ocsh-table td,.ocsh-ops-table-card .ocsh-table th{padding-top:10px;padding-bottom:10px;}


/* Dashboard patch: v1.10.33.1 */
.ocsh-quick-panel .of-create-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
@media(max-width:1200px){.ocsh-quick-panel .of-create-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:640px){.ocsh-quick-panel .of-create-grid{grid-template-columns:1fr;}}
.ocsh-kpi-accent{position:relative;overflow:hidden;background:linear-gradient(135deg,#ffffff 0%,#fcfcfd 100%);}
.ocsh-kpi-accent:before{content:'';position:absolute;left:0;top:0;bottom:0;width:4px;border-radius:22px 0 0 22px;}
.ocsh-kpi-open{background:linear-gradient(135deg,#fff7f0 0%,#ffffff 72%);}.ocsh-kpi-open:before{background:#f59e0b;}
.ocsh-kpi-urgent{background:linear-gradient(135deg,#fff1f2 0%,#ffffff 72%);}.ocsh-kpi-urgent:before{background:#ef4444;}
.ocsh-kpi-clients{background:linear-gradient(135deg,#f5f9ff 0%,#ffffff 72%);}.ocsh-kpi-clients:before{background:#3b82f6;}
.ocsh-kpi-hospitals{background:linear-gradient(135deg,#f2fff7 0%,#ffffff 72%);}.ocsh-kpi-hospitals:before{background:#22c55e;}
.ocsh-kpi-mine{background:linear-gradient(135deg,#faf5ff 0%,#ffffff 72%);}.ocsh-kpi-mine:before{background:#a855f7;}
.ocsh-kpi-team{background:linear-gradient(135deg,#f5f7fb 0%,#ffffff 72%);}.ocsh-kpi-team:before{background:#64748b;}
.ocsh-kpi-unassigned{background:linear-gradient(135deg,#fffdf2 0%,#ffffff 72%);}.ocsh-kpi-unassigned:before{background:#eab308;}

/* Dashboard motion polish */
.ocsh-greeting-line{display:flex;align-items:center;gap:10px;margin-bottom:8px;}
.ocsh-greeting-kicker{font-size:14px!important;font-weight:600!important;color:#8a5a12!important;letter-spacing:.01em;}
.ocsh-greeting-icon{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:999px;background:linear-gradient(180deg,#fff7ed 0%,#ffedd5 100%);box-shadow:0 8px 18px rgba(245,158,11,.16);font-size:17px;animation:ocshGreetingFloat 3.2s ease-in-out infinite;transform-origin:center;}
.of-onboard-title{font-size:22px!important;line-height:1.2;font-weight:700!important;color:#101828!important;letter-spacing:-.02em;}
.of-onboard-sub{font-size:14px!important;color:#667085!important;}
.ocsh-motion-ready .ocsh-reveal{opacity:0;transform:translateY(18px) scale(.985);transition:opacity .55s ease,transform .55s cubic-bezier(.2,.8,.2,1),box-shadow .25s ease,filter .25s ease;transition-delay:var(--ocsh-delay,0ms);will-change:transform,opacity;}
.ocsh-motion-ready .ocsh-reveal.is-visible{opacity:1;transform:translateY(0) scale(1);}
.ocsh-kpi-accent{transition:transform .25s ease,box-shadow .25s ease,filter .25s ease!important;}
.ocsh-kpi-accent:hover{transform:translateY(-4px);box-shadow:0 18px 34px rgba(16,24,40,.10)!important;filter:saturate(1.06);}
.ocsh-kpi-accent::after{content:"";position:absolute;inset:0;background:linear-gradient(115deg,transparent 0%,rgba(255,255,255,.08) 32%,rgba(255,255,255,.42) 48%,rgba(255,255,255,.10) 62%,transparent 100%);transform:translateX(-130%);pointer-events:none;}
.ocsh-motion-ready .ocsh-kpi-accent.is-visible::after{animation:ocshShimmer 1.3s ease .15s 1;}
.of-create-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;}
.of-create-tile{position:relative;overflow:hidden;background:linear-gradient(180deg,#ffffff 0%,#fbfcfe 100%)!important;box-shadow:0 8px 20px rgba(16,24,40,.04),0 1px 3px rgba(16,24,40,.06)!important;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease!important;}
.of-create-tile:hover{transform:translateY(-5px) scale(1.01);box-shadow:0 16px 30px rgba(16,24,40,.10),0 4px 10px rgba(16,24,40,.06)!important;border-color:#d8dee8!important;}
.of-create-tile::before{content:"";position:absolute;left:12px;right:12px;top:0;height:3px;border-radius:999px;background:linear-gradient(90deg,#000000 0%,#000000 100%);opacity:.9;transform:scaleX(.35);transform-origin:left center;transition:transform .25s ease;}
.of-create-tile:hover::before{transform:scaleX(1);}
.of-create-ico{transition:transform .22s ease,filter .22s ease;}
.of-create-tile:hover .of-create-ico{transform:translateY(-2px) scale(1.08);filter:saturate(1.05);}
.ocsh-motion-ready .of-create-tile.is-visible::after{content:"";position:absolute;inset:-20% auto auto -30%;width:70%;height:180%;background:linear-gradient(115deg,transparent 0%,rgba(255,255,255,.06) 32%,rgba(255,255,255,.34) 48%,rgba(255,255,255,.08) 62%,transparent 100%);transform:rotate(18deg) translateX(-140%);animation:ocshTileSweep 1.4s ease .2s 1;pointer-events:none;}
@keyframes ocshShimmer{0%{transform:translateX(-130%);}100%{transform:translateX(130%);}}
@keyframes ocshTileSweep{0%{transform:rotate(18deg) translateX(-140%);}100%{transform:rotate(18deg) translateX(260%);}}
@media(max-width:980px){.of-create-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}}
@media(max-width:640px){.of-onboard-title{font-size:22px!important;}.of-create-grid{grid-template-columns:1fr!important;}}


.of-onboard-left{display:grid;gap:2px;}
@keyframes ocshGreetingFloat{0%,100%{transform:translateY(0) scale(1) rotate(0deg);}50%{transform:translateY(-3px) scale(1.04) rotate(4deg);}}
@media(max-width:640px){.ocsh-greeting-icon{width:30px;height:30px;font-size:15px;}.ocsh-greeting-kicker{font-size:13px!important;}.of-onboard-title{font-size:19px!important;}}


.ocsh-status-pill,.ocsh-priority-pill{display:inline-flex;align-items:center;padding:6px 12px;border-radius:999px;font-size:12px;font-weight:700;line-height:1;text-transform:capitalize;white-space:nowrap;}
.ocsh-status-new,.ocsh-status-open{background:#fff2e8;color:#c76b18;}
.ocsh-status-in_progress{background:#f6e8dc;color:#b45309;}
.ocsh-status-resolved{background:#ecfdf3;color:#027a48;}
.ocsh-status-closed{background:#f2f4f7;color:#475467;}
.ocsh-priority-low{background:#eaf2ff;color:#2f6fed;}
.ocsh-priority-normal{background:#dfeaff;color:#2f6fed;}
.ocsh-priority-high{background:#cfe0ff;color:#1d4ed8;}
.ocsh-priority-urgent{background:#fef3f2;color:#c62828;}


.ocsh-chip.is-orange{background:#fff2e8;color:#c2410c;}
.ocsh-watch-list{display:grid;gap:12px;margin-top:6px;}
.ocsh-watch-card{display:grid;gap:14px;padding:16px 18px;border:1px solid #eaecf0;border-radius:18px;background:linear-gradient(180deg,#ffffff 0%,#fcfcfd 100%);text-decoration:none;color:inherit;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;}
.ocsh-watch-card:hover{transform:translateY(-1px);border-color:#d0d5dd;box-shadow:0 10px 22px rgba(16,24,40,.06);}
.ocsh-watch-card__head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;}
.ocsh-watch-card__title-wrap{display:grid;gap:6px;min-width:0;}
.ocsh-watch-card__title{font-size:15px;line-height:1.35;color:#101828;}
.ocsh-watch-card__location{font-size:12px;color:#667085;}
.ocsh-watch-card__badges{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end;}
.ocsh-watch-card__meta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;}
.ocsh-watch-meta-pill{display:grid;gap:4px;padding:10px 12px;border-radius:14px;background:#f8fafc;border:1px solid #eef2f6;}
.ocsh-watch-meta-pill strong{font-size:11px;line-height:1.2;color:#667085;font-weight:700;text-transform:uppercase;letter-spacing:.04em;}
.ocsh-watch-meta-pill em{font-style:normal;font-size:13px;line-height:1.3;color:#101828;font-weight:700;}
@media(max-width:1100px){.ocsh-watch-card__meta{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:640px){.ocsh-watch-card__head{grid-template-columns:1fr;display:grid;}.ocsh-watch-card__badges{justify-content:flex-start;}.ocsh-watch-card__meta{grid-template-columns:1fr;}}

/* v1.10.38 Operations Board revamp */
.ocsh-ops-full{display:block;margin:0 0 18px;}
.ocsh-alert-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}
.ocsh-alert-card--rich{display:grid;gap:10px;}
.ocsh-alert-card__head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;}
.ocsh-issue-stack{display:grid;gap:12px;}
.ocsh-rank-row--rich{align-items:flex-start;}
.ocsh-rank-badges{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end;}
.ocsh-mini-progress{height:8px;border-radius:999px;background:#f3f4f6;overflow:hidden;margin-top:2px;}
.ocsh-mini-progress i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#000000 0%,#000000 100%);}
.ocsh-helper-item--rich{align-items:flex-start;}
.ocsh-helper-item__copy{display:grid;gap:4px;min-width:0;}
.ocsh-helper-item__copy small{font-size:12px;color:#667085;}
.ocsh-helper-item__meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end;}
.ocsh-ops-table-card .ocsh-table td:nth-child(5),
.ocsh-ops-table-card .ocsh-table td:nth-child(6),
.ocsh-ops-table-card .ocsh-table td:nth-child(7){white-space:nowrap;}
@media(max-width:1100px){
  .ocsh-alert-grid{grid-template-columns:1fr;}
}
@media(max-width:760px){
  .ocsh-rank-row--rich,.ocsh-helper-item--rich{display:grid;grid-template-columns:1fr;}
  .ocsh-rank-badges,.ocsh-helper-item__meta{justify-content:flex-start;}
}

/* Ticket workspace polish */
.ocsh-ticket-bottom{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,.72fr);gap:20px;margin-top:14px;align-items:start;}
.ocsh-ticket-bottom__main,.ocsh-ticket-bottom__side{min-width:0;}
.ocsh-ticket-bottom .of-panel{padding:18px 18px 16px;border-radius:18px;box-shadow:0 8px 24px rgba(16,24,40,.04);}
.ocsh-ticket-bottom .of-panel-head{margin-bottom:14px;}
.ocsh-ticket-bottom .of-panel-title{font-size:22px;line-height:1.15;margin:2px 0 0;}
.ocsh-ticket-bottom .ocsh-kicker{margin-bottom:6px;}
.ocsh-ticket-bottom .ocsh-workspace-form{display:block;margin:0;}
.ocsh-ticket-bottom .ocsh-form-grid{gap:14px 16px;align-items:start;}
.ocsh-ticket-bottom .ocsh-field label{font-size:12px;font-weight:700;line-height:1.3;margin:0 0 6px;color:#344054;}
.ocsh-ticket-bottom .ocsh-field input,.ocsh-ticket-bottom .ocsh-field select{min-height:48px;padding:12px 14px;border-radius:14px;}
.ocsh-ticket-bottom .ocsh-field textarea{min-height:118px;padding:14px;border-radius:14px;}
.ocsh-ticket-bottom__main .ocsh-field.is-full textarea{min-height:146px;}
.ocsh-ticket-bottom .ocsh-mini-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;}
.ocsh-ticket-bottom .ocsh-actions-row{margin-top:10px;gap:10px;align-items:center;}
.ocsh-ticket-bottom__main .ocsh-actions-row .of-btn-primary{min-width:160px;}
.ocsh-ticket-bottom__side .ocsh-actions-row .of-btn{min-width:116px;}
.ocsh-ticket-bottom .ocsh-empty{margin-top:14px;padding:20px;border-radius:16px;}
.ocsh-ticket-bottom .ocsh-compact-list{margin-top:14px;display:grid;gap:10px;}
.ocsh-ticket-bottom .ocsh-compact-row{padding:12px 14px;border-radius:14px;}
.ocsh-ticket-bottom__side .ocsh-field input[type="checkbox"]{width:auto;min-height:auto;padding:0;border:0;background:transparent;}
.ocsh-ticket-bottom__side .ocsh-form-grid > .ocsh-field:nth-child(2){display:flex;align-items:center;justify-content:flex-end;padding-top:26px;}
.ocsh-ticket-bottom__side .ocsh-form-grid > .ocsh-field:nth-child(2) label{display:flex;align-items:center;gap:8px;margin:0;font-weight:700;}
.ocsh-ticket-bottom__side textarea{min-height:150px;}
@media (max-width:1200px){.ocsh-ticket-bottom{grid-template-columns:1fr;}.ocsh-ticket-bottom__side .ocsh-form-grid > .ocsh-field:nth-child(2){justify-content:flex-start;padding-top:0;}}


/* Clients module rework */
.ocsh-page-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex-wrap:wrap}
.ocsh-clients-top{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(320px,.75fr);gap:16px;align-items:start}
.ocsh-clients-side{display:grid;gap:16px}
.ocsh-clients-bottom{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:16px}
.ocsh-clients-bottom .of-card{min-width:0}
.ocsh-clients-top .ocsh-list-card,.ocsh-clients-top .ocsh-detail-card{height:100%}
@media(max-width:1100px){
  .ocsh-clients-top,.ocsh-clients-bottom{grid-template-columns:1fr}
}


/* Clients rebuild fix */
.ocsh-page-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex-wrap:wrap}
.ocsh-clients-search-card{margin-top:16px;margin-bottom:16px}
.ocsh-clients-search-form{display:grid;gap:12px}
.ocsh-clients-search-main{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center}
.ocsh-clients-search-main input{height:56px;padding:0 18px;border:1px solid #d8dee7;border-radius:18px;background:#fff;font-size:15px}
.ocsh-clients-search-main .of-btn{height:56px;padding:0 24px;border-radius:18px}
.ocsh-clients-filters{display:flex;gap:10px;flex-wrap:wrap}
.ocsh-clients-filters select,.ocsh-clients-filters input{height:42px;padding:0 14px;border:1px solid #d8dee7;border-radius:999px;background:#fff;min-width:150px}
.ocsh-clients-top{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(320px,.75fr);gap:16px;align-items:start}
.ocsh-clients-side{display:grid;gap:16px;align-items:start}
.ocsh-clients-bottom{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:16px;align-items:start}
.ocsh-clients-top .ocsh-list-card,.ocsh-clients-top .ocsh-detail-card,.ocsh-clients-bottom .of-card{min-width:0}
.ocsh-client-stats-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}
.ocsh-client-stats-grid .ocsh-mini-stat{min-height:110px;display:grid;align-content:space-between}
.ocsh-table-toolbar{display:block}
.ocsh-table-actions{display:flex;gap:8px;flex-wrap:wrap}
@media(max-width:1100px){
  .ocsh-clients-top,.ocsh-clients-bottom,.ocsh-clients-search-main{grid-template-columns:1fr}
}


/* Clients layout adjustments */
.ocsh-clients-search-form{
  display:grid;
  grid-template-columns:minmax(320px,2fr) repeat(3,minmax(160px,1fr)) auto;
  gap:12px;
  align-items:center;
}
.ocsh-clients-search-main{
  display:contents;
}
.ocsh-clients-search-main input{
  grid-column:auto;
}
.ocsh-clients-search-main .of-btn{
  grid-column:auto;
}
.ocsh-clients-filters{
  display:contents;
}
.ocsh-clients-filters select,
.ocsh-clients-filters input{
  min-width:0;
  width:100%;
  height:56px;
  border-radius:18px;
}
.ocsh-clients-filters .of-btn{
  height:56px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:18px;
  white-space:nowrap;
}
.ocsh-client-stats-grid{
  grid-template-columns:repeat(4,minmax(0,1fr));
}
.ocsh-client-stats-grid .ocsh-mini-stat{
  min-height:96px;
}
.ocsh-clients-bottom{
  grid-template-columns:1.5fr 1fr;
}
@media(max-width:1280px){
  .ocsh-clients-search-form{
    grid-template-columns:1fr 1fr 1fr;
  }
  .ocsh-clients-search-main{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    grid-column:1 / -1;
    gap:12px;
  }
  .ocsh-clients-filters{
    display:contents;
  }
}
@media(max-width:900px){
  .ocsh-client-stats-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .ocsh-clients-bottom{
    grid-template-columns:1fr;
  }
}


/* Clients final tuning */
.ocsh-clients-search-form{
  display:grid !important;
  grid-template-columns:minmax(420px,2.4fr) 240px 1fr 1fr 1fr auto !important;
  gap:12px !important;
  align-items:center !important;
}
.ocsh-clients-search-main{display:contents !important;}
.ocsh-clients-filters{display:contents !important;}
.ocsh-clients-search-main input{
  min-width:0;
  width:100%;
}
.ocsh-clients-filters .of-btn{
  min-width:120px;
}
.ocsh-detail-card .of-card-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:12px;
}
.ocsh-client-timeline{
  display:grid;
  gap:12px;
}
.ocsh-client-time-item{
  display:grid;
  grid-template-columns:22px minmax(0,1fr);
  gap:10px;
  align-items:start;
}
.ocsh-client-time-card{
  padding:16px 18px !important;
}
.ocsh-client-time-top{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:16px;
}
.ocsh-client-time-side{
  display:grid;
  justify-items:end;
  gap:8px;
  flex:none;
}
.ocsh-time-meta{
  margin-top:0 !important;
  white-space:nowrap;
  font-size:12px;
}
.ocsh-client-time-body{
  margin-top:10px;
}
@media(max-width:1400px){
  .ocsh-clients-search-form{
    grid-template-columns:minmax(320px,2fr) 200px 1fr 1fr 1fr auto !important;
  }
}
@media(max-width:1200px){
  .ocsh-clients-search-form{
    grid-template-columns:1fr !important;
  }
  .ocsh-clients-search-main{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) 220px !important;
    gap:12px !important;
  }
  .ocsh-clients-filters{
    display:grid !important;
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:12px !important;
  }
}
@media(max-width:900px){
  .ocsh-clients-search-main,
  .ocsh-clients-filters{
    grid-template-columns:1fr !important;
  }
  .ocsh-client-time-top{
    grid-template-columns:1fr;
  }
  .ocsh-client-time-side{
    justify-items:start;
  }
}


/* Clients header badges beside Add Client */
.ocsh-page-head-actions{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}
.ocsh-page-head-actions .ocsh-module-intro{
  margin:0;
}
@media(max-width:900px){
  .ocsh-page-head-actions{
    width:100%;
    justify-content:flex-start;
  }
}


/* Clients header + search bar cleanup */
.ocsh-page-head{
  align-items:flex-start;
}
.ocsh-page-head-actions{
  display:flex;
  flex-direction:row;
  align-items:center;
  gap:12px;
  flex-wrap:nowrap;
}
.ocsh-page-head-actions .ocsh-toolbar-buttonset{
  margin:0;
}
.ocsh-clients-search-form{
  grid-template-columns:minmax(520px,2.8fr) 300px 1fr 1fr auto !important;
}
@media(max-width:1400px){
  .ocsh-clients-search-form{
    grid-template-columns:minmax(360px,2fr) 220px 1fr 1fr auto !important;
  }
}
@media(max-width:1200px){
  .ocsh-page-head-actions{
    flex-wrap:wrap;
  }
  .ocsh-clients-search-form{
    grid-template-columns:1fr !important;
  }
}


/* FORCE header actions on one line */
.ocsh-page-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
}

.ocsh-page-head-actions{
  display:flex !important;
  flex-direction:row !important;
  align-items:center !important;
  gap:12px !important;
  flex-wrap:nowrap !important;
}

.ocsh-page-head-actions .ocsh-module-intro{
  display:flex;
  gap:8px;
}

.ocsh-page-head-actions .ocsh-toolbar-buttonset{
  margin-left:6px;
}


/* Hospitals search + QR polish */
.ocsh-hospital-search-card{margin-top:16px;margin-bottom:16px}
.ocsh-hospital-search-card .ocsh-clients-search-form{
  display:grid;
  grid-template-columns:minmax(520px,2.8fr) 260px;
  gap:14px;
  align-items:center;
}
.ocsh-hospital-search-card .ocsh-clients-search-main{display:contents}
.ocsh-hospital-search-card .ocsh-clients-search-main input{
  width:100%;
  min-width:0;
  height:56px;
  padding:0 18px;
  border:1px solid #d8dee7;
  border-radius:18px;
  background:#fff;
  font-size:15px;
}
.ocsh-hospital-search-card .ocsh-clients-search-main .of-btn{
  height:56px;
  border-radius:18px;
  width:100%;
}
.ocsh-hospital-qr-wrap{
  display:grid;
  grid-template-columns:180px minmax(0,1fr);
  gap:16px;
  align-items:start;
}
.ocsh-hospital-qr-image{
  border:1px solid #e7ebf0;
  border-radius:18px;
  background:#fff;
  padding:12px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.ocsh-hospital-qr-image img{
  width:100%;
  max-width:156px;
  height:auto;
  display:block;
}
.ocsh-hospital-qr-side{
  display:grid;
  gap:14px;
  min-width:0;
}
.ocsh-hospital-url-card{
  border:1px dashed #e5e7eb;
  border-radius:16px;
  background:#fcfcfd;
  padding:14px 16px;
}
.ocsh-hospital-url-text{
  margin-top:8px;
  color:#667085;
  line-height:1.7;
  word-break:break-word;
  overflow-wrap:anywhere;
}
.ocsh-hospital-qr-actions{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
.ocsh-hospital-qr-actions .of-btn{
  width:100%;
  justify-content:center;
}
.ocsh-hospital-qr-actions .of-btn-primary{
  grid-column:1 / -1;
}
@media(max-width:1200px){
  .ocsh-hospital-search-card .ocsh-clients-search-form{
    grid-template-columns:1fr;
  }
  .ocsh-hospital-qr-wrap{
    grid-template-columns:1fr;
  }
  .ocsh-hospital-qr-image img{
    max-width:220px;
  }
}


/* Hospitals header and filters alignment */
.ocsh-page-head-actions{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:nowrap;
}
.ocsh-page-head-actions .ocsh-module-intro{
  margin:0;
}
.ocsh-hospital-filters-form{
  display:grid !important;
  grid-template-columns:minmax(420px,2.6fr) 220px 1fr 1fr 1fr auto !important;
  gap:12px !important;
  align-items:center !important;
}
.ocsh-hospital-filters-form .ocsh-clients-search-main{
  display:contents !important;
}
.ocsh-hospital-filters-form select{
  width:100%;
  min-width:0;
  height:56px;
  padding:0 16px;
  border:1px solid #d8dee7;
  border-radius:18px;
  background:#fff;
}
.ocsh-hospital-filters-form .of-btn{
  height:56px;
  border-radius:18px;
}
@media(max-width:1280px){
  .ocsh-page-head-actions{flex-wrap:wrap;}
  .ocsh-hospital-filters-form{
    grid-template-columns:1fr 220px 1fr 1fr !important;
  }
  .ocsh-hospital-filters-form a.of-btn{
    grid-column:1 / -1;
  }
}
@media(max-width:900px){
  .ocsh-hospital-filters-form{
    grid-template-columns:1fr !important;
  }
}


/* Hospital view integration */
.ocsh-hospital-bottom{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
  margin-top:16px;
}
.ocsh-hospital-qr-actions{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:12px;
}
.ocsh-hospital-qr-actions > .of-btn,
.ocsh-hospital-qr-actions > a.of-btn{
  min-width:140px;
}
.ocsh-hospital-qr-actions .of-btn-primary{
  align-self:center;
}
.ocsh-hospital-qr-actions::before{
  content:"";
  display:block;
}
.ocsh-hospital-qr-actions{
  justify-content:center;
}
.ocsh-hospital-qr-actions{
  margin-top:6px;
}
.ocsh-hospital-qr-side{
  align-content:start;
}
.ocsh-hospital-qr-actions a.of-btn:first-child{}
@media(max-width:1000px){
  .ocsh-hospital-bottom{
    grid-template-columns:1fr;
  }
}

.ocsh-hospital-qr-actions{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  justify-items:center;
}
.ocsh-hospital-qr-actions .of-btn,
.ocsh-hospital-qr-actions a.of-btn{
  width:100%;
  max-width:170px;
}
.ocsh-hospital-qr-actions .of-btn-primary{
  grid-column:1 / -1;
  max-width:220px;
}


/* Hospitals page view integration + centered QR actions */
body .ocsh-hospital-qr-actions{
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  gap:12px !important;
  width:100%;
}
body .ocsh-hospital-qr-actions .ocsh-hospital-qr-row{
  display:flex;
  justify-content:center;
  gap:12px;
  width:100%;
}
body .ocsh-hospital-qr-actions > .of-btn,
body .ocsh-hospital-qr-actions > a.of-btn{
  width:auto !important;
  min-width:160px;
  max-width:none;
}
body .ocsh-hospital-qr-actions > .of-btn-primary{
  align-self:center !important;
}

/* v1.10.43.4 reports modern rebuild */
.ocsh-reports-modern{display:grid;gap:16px}
.ocsh-reports-modern .ocsh-report-kicker{font-size:10px!important;font-weight:700!important;letter-spacing:.14em!important;text-transform:uppercase!important;color:#98a2b3!important;margin-bottom:8px!important}
.ocsh-report-hero{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding:18px 20px;border:1px solid #eceff3;border-radius:24px;background:linear-gradient(180deg,#fff 0%,#fcfcfd 100%);box-shadow:0 8px 22px rgba(16,24,40,.04)}
.ocsh-report-hero__copy h2{margin:0 0 6px!important;font-size:24px!important;line-height:1.08!important;color:#111827!important}
.ocsh-report-hero__copy p{margin:0;max-width:620px;font-size:13px;line-height:1.6;color:#667085}
.ocsh-report-hero__actions{display:grid;gap:12px;justify-items:end;min-width:280px}
.ocsh-report-range--compact{margin:0!important;gap:8px!important;justify-content:flex-end}
.ocsh-report-range--compact a{padding:8px 14px!important;font-size:12px!important;font-weight:700!important;border-radius:999px!important}
.ocsh-report-tools-btn{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 16px;border-radius:12px;background:#111827;color:#fff!important;text-decoration:none;font-size:13px;font-weight:700;box-shadow:0 8px 18px rgba(17,24,39,.12)}
.ocsh-report-kpis--modern{gap:14px!important;margin-bottom:0!important}
.ocsh-report-kpi-card--modern{padding:16px 18px!important;border-radius:20px!important;box-shadow:0 8px 20px rgba(16,24,40,.04)!important}
.ocsh-report-kpi-card--modern .ocsh-report-kpi-value{font-size:22px!important;line-height:1.05!important;font-weight:700!important}
.ocsh-report-kpi-card--modern .ocsh-report-kpi-footer{margin-top:10px!important;font-size:12px!important}
.ocsh-report-main-grid{display:grid;grid-template-columns:minmax(0,1.24fr) minmax(340px,.76fr);gap:16px}
.ocsh-report-main-grid--secondary{grid-template-columns:repeat(2,minmax(0,1fr))}
.ocsh-report-bottom-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.ocsh-report-panel{padding:18px;border:1px solid #eceff3;border-radius:24px;background:#fff;box-shadow:0 8px 22px rgba(16,24,40,.04);min-width:0}
.ocsh-report-panel--wide{padding-bottom:14px}
.ocsh-report-panel__head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:16px}
.ocsh-report-panel__head h3,.ocsh-report-panel h3{margin:0!important;font-size:17px!important;line-height:1.2!important;color:#111827!important}
.ocsh-report-panel__meta{font-size:12px;font-weight:700;color:#667085;background:#f8fafc;border:1px solid #eef2f6;border-radius:999px;padding:7px 10px}
.ocsh-report-mini-strip{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.ocsh-report-mini-strip div{min-width:88px;padding:9px 10px;border-radius:14px;background:#f8fafc;border:1px solid #eef2f6;display:grid;gap:2px}
.ocsh-report-mini-strip span{font-size:10px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#98a2b3}
.ocsh-report-mini-strip strong{font-size:18px;color:#111827}
.ocsh-report-bars-compact{display:flex;align-items:flex-end;gap:12px;height:220px;padding:4px 2px 2px}
.ocsh-report-bars-compact__item{flex:1;display:grid;justify-items:center;gap:8px;min-width:0}
.ocsh-report-bars-compact__value{font-size:11px;font-weight:700;color:#98a2b3}
.ocsh-report-bars-compact__stack{position:relative;width:38px;height:150px;display:flex;align-items:flex-end;justify-content:center}
.ocsh-report-bars-compact__stack span{position:absolute;left:0;right:0;bottom:0;border-radius:12px 12px 8px 8px}
.ocsh-report-bars-compact__stack .is-created{background:linear-gradient(180deg,#ffb347 0%,#f59e0b 100%);box-shadow:0 10px 18px rgba(245,158,11,.16)}
.ocsh-report-bars-compact__stack .is-solved{width:18px;left:50%;right:auto;transform:translateX(-50%);background:#1f2937;box-shadow:none;opacity:.92}
.ocsh-report-bars-compact__item label{font-size:11px;color:#667085;white-space:nowrap}
.ocsh-report-inline-legend--muted{padding-top:4px!important;gap:14px!important}
.ocsh-report-inline-legend--muted span{font-size:12px!important;color:#667085!important}
.ocsh-report-inline-legend--muted i.is-created{background:#f59e0b!important}
.ocsh-report-inline-legend--muted i.is-solved{background:#1f2937!important}
.ocsh-report-donut-grid{display:grid;grid-template-columns:188px 1fr;gap:14px;align-items:center}
.ocsh-report-donut-grid__chart{display:flex;align-items:center;justify-content:center}
.ocsh-report-donut-grid__legend{display:grid;gap:10px}
.ocsh-reports-modern .ocsh-report-donut-grid{display:grid;grid-template-columns:minmax(280px,320px) minmax(340px,1fr);column-gap:32px;row-gap:18px;align-items:center}
.ocsh-reports-modern .ocsh-report-donut-grid__chart{width:280px;min-width:280px;max-width:280px;overflow:hidden;justify-content:flex-start;justify-self:start;align-self:center}
.ocsh-reports-modern .ocsh-donut-svg{display:block;width:240px;height:240px;max-width:240px;overflow:hidden}
.ocsh-reports-modern .ocsh-report-donut-grid__legend{min-width:340px;width:100%;padding-left:4px}
.ocsh-reports-modern .ocsh-report-legend-row{width:100%;grid-template-columns:10px minmax(0,1fr) auto;gap:12px}
.ocsh-reports-modern .ocsh-report-legend-row span:nth-child(2){min-width:0}
.ocsh-report-legend-row{display:grid;grid-template-columns:10px 1fr auto;gap:10px;align-items:center;padding:10px 12px;border-radius:14px;background:#fcfcfd;border:1px solid #eef2f6;font-size:13px;color:#344054}
.ocsh-report-legend-row .swatch{width:10px;height:10px;border-radius:999px}
.ocsh-report-legend-row .swatch.is-ink{background:#111827}.ocsh-report-legend-row .swatch.is-slate{background:#374151}.ocsh-report-legend-row .swatch.is-muted{background:#9ca3af}.ocsh-report-legend-row .swatch.is-soft{background:#d1d5db}.ocsh-report-legend-row .swatch.is-accent{background:#f59e0b}.ocsh-report-legend-row .swatch.is-light{background:#e5e7eb}
.ocsh-report-satisfaction-modern{display:grid;gap:14px;padding-top:2px}
.ocsh-report-satisfaction-modern__row{display:grid;gap:8px}
.ocsh-report-satisfaction-modern__head{display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:13px;color:#344054}
.ocsh-report-satisfaction-modern__head strong{font-size:18px;color:#111827}
.ocsh-report-satisfaction-modern__track{height:8px;border-radius:999px;background:#eef2f6;overflow:hidden}
.ocsh-report-satisfaction-modern__track i{display:block;height:100%;border-radius:999px;background:#111827}
.ocsh-report-satisfaction-modern__row.is-positive .ocsh-report-satisfaction-modern__track i{background:#f59e0b}
.ocsh-report-satisfaction-modern__row.is-neutral .ocsh-report-satisfaction-modern__track i{background:#9ca3af}
.ocsh-report-satisfaction-modern__row.is-negative .ocsh-report-satisfaction-modern__track i{background:#111827}
.ocsh-report-rank-list{display:grid;gap:10px}
.ocsh-report-rank-item{display:grid;gap:10px;padding:12px 12px 10px;border:1px solid #eef2f6;border-radius:16px;background:#fcfcfd}
.ocsh-report-rank-main{display:flex;align-items:center;gap:10px;min-width:0}
.ocsh-report-rank-index{width:28px;height:28px;border-radius:999px;background:#fff4e8;color:#b45309;font-size:12px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;flex:none}
.ocsh-report-rank-copy{min-width:0;display:grid;gap:2px}
.ocsh-report-rank-copy strong{font-size:13px;color:#111827;white-space:normal;line-height:1.35}
.ocsh-report-rank-copy span{font-size:12px;color:#667085}
.ocsh-report-rank-meter{height:6px;border-radius:999px;background:#eceff3;overflow:hidden}
.ocsh-report-rank-meter i{display:block;height:100%;border-radius:999px;background:#111827}
.ocsh-report-panel--metric{display:grid;align-content:start;gap:12px}
.ocsh-report-metric-value{font-size:32px;font-weight:700;line-height:1;color:#111827}
.ocsh-report-panel--metric p{margin:0;font-size:13px;line-height:1.6;color:#667085}
.ocsh-report-empty-ring,.ocsh-report-empty-block{font-size:13px!important;color:#98a2b3!important;background:#fcfcfd!important;border-color:#e5e7eb!important}
.ocsh-donut-total{font-size:26px!important;font-weight:700!important;fill:#111827!important}
.ocsh-donut-label{font-size:10px!important;font-weight:700!important;letter-spacing:.14em!important;text-transform:uppercase!important;fill:#98a2b3!important}
@media(max-width:1280px){.ocsh-report-main-grid,.ocsh-report-main-grid--secondary{grid-template-columns:1fr}.ocsh-report-bottom-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.ocsh-report-hero{flex-direction:column}.ocsh-report-hero__actions{justify-items:start;min-width:0}.ocsh-report-donut-grid,.ocsh-reports-modern .ocsh-report-donut-grid{grid-template-columns:1fr}.ocsh-report-donut-grid__chart,.ocsh-reports-modern .ocsh-report-donut-grid__chart{width:auto;min-width:0;max-width:none;justify-content:flex-start}.ocsh-reports-modern .ocsh-donut-svg{width:220px;height:220px;max-width:220px}.ocsh-reports-modern .ocsh-report-donut-grid__legend{min-width:0;padding-left:0}.ocsh-report-bars-compact{overflow-x:auto;padding-bottom:10px}.ocsh-report-bars-compact__item{min-width:60px}}
@media(max-width:640px){.ocsh-report-bottom-grid,.ocsh-report-kpis{grid-template-columns:1fr!important}.ocsh-report-hero__copy h2{font-size:20px!important}.ocsh-report-metric-value{font-size:28px}.ocsh-report-panel{padding:16px}}


/* OCSH Login */
.ocsh-auth-wrap{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:32px;background:linear-gradient(180deg,#f7f8fa 0%,#eef1f5 100%)}
.ocsh-auth-panel{width:min(960px,100%);display:grid;grid-template-columns:1.05fr .95fr;gap:24px;align-items:stretch}
.ocsh-auth-brand{background:#111317;color:#fff;border-radius:28px;padding:36px;display:flex;flex-direction:column;justify-content:space-between;min-height:520px;box-shadow:0 24px 60px rgba(16,24,40,.12)}
.ocsh-auth-logo{width:64px;height:64px;border-radius:18px;background:#fff;color:#111317;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:20px;overflow:hidden}
.ocsh-auth-logo img{width:100%;height:100%;object-fit:contain;background:#fff}
.ocsh-auth-kicker{font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:rgba(255,255,255,.65);margin:0 0 12px}
.ocsh-auth-brand h1{margin:0 0 10px;font-size:32px;line-height:1.08;letter-spacing:-.03em}
.ocsh-auth-brand p{margin:0;color:rgba(255,255,255,.75);font-size:14px;max-width:340px}
.ocsh-auth-card{background:#fff;border:1px solid #e8ecf2;border-radius:28px;padding:28px;box-shadow:0 18px 42px rgba(15,23,42,.06);display:flex;flex-direction:column;justify-content:center}
.ocsh-auth-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 18px}
.ocsh-auth-card-head h2{margin:0;font-size:22px;letter-spacing:-.02em}
.ocsh-auth-card-head span{font-size:12px;color:#667085;font-weight:600}
.ocsh-auth-alert{margin:0 0 16px;padding:12px 14px;border-radius:14px;background:#fff3f0;color:#b42318;border:1px solid #fdd4cc;font-size:13px;font-weight:600}
#ocsh-loginform{display:flex;flex-direction:column;gap:14px}
#ocsh-loginform p{margin:0}
#ocsh-loginform label{display:block;margin:0 0 8px;font-size:12px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:#667085}
#ocsh-loginform input[type=text],#ocsh-loginform input[type=password]{width:100%;height:48px;border:1px solid #e4e7ec;border-radius:14px;padding:0 14px;font-size:14px;background:#fbfcfe;box-shadow:none}
#ocsh-loginform input[type=text]:focus,#ocsh-loginform input[type=password]:focus{outline:none;border-color:#f58a07;background:#fff;box-shadow:0 0 0 4px rgba(245,138,7,.12)}
.login-remember{display:flex;align-items:center;gap:8px;font-size:13px;color:#475467}
.login-remember label{margin:0;font-size:13px;letter-spacing:0;text-transform:none;color:#475467;font-weight:500}
#ocsh_login_submit{width:100%;height:48px;border:none;border-radius:14px;background:linear-gradient(135deg,#f58a07 0%,#ff9f1a 100%);color:#fff;font-size:14px;font-weight:700;letter-spacing:.01em;cursor:pointer}
#ocsh_login_submit:hover{filter:brightness(.98)}
.ocsh-auth-meta{display:flex;justify-content:flex-end;margin-top:14px}
.ocsh-auth-meta a{font-size:13px;font-weight:600;color:#101828;text-decoration:none}
body .of-main:has(.ocsh-auth-wrap){padding:0}
body .of-content:has(.ocsh-auth-wrap){padding:0}
@media (max-width: 900px){.ocsh-auth-panel{grid-template-columns:1fr}.ocsh-auth-brand{min-height:240px;padding:28px}.ocsh-auth-card{padding:24px}.ocsh-auth-wrap{padding:18px}}



/* v1.10.43.7 mobile ui rebuild */
@media (max-width: 768px){
  .of-topbar{
    padding:12px 14px;
    align-items:flex-start;
    gap:12px;
  }
  .of-topbar-left{
    width:100%;
    min-width:0;
    display:flex;
    align-items:center;
    gap:10px;
  }
  .of-top-toggle{
    width:42px;
    height:42px;
    flex:0 0 42px;
    margin-right:0;
    border-radius:14px;
    background:#fff;
    box-shadow:0 1px 2px rgba(16,24,40,.06);
  }
  .of-page-title-wrap{
    min-width:0;
    display:grid;
    gap:2px;
  }
  .of-page-title{
    font-size:17px!important;
    line-height:1.2;
  }
  .ocsh-shell-note{
    font-size:12px;
    line-height:1.2;
  }
  .of-topbar-right{
    width:100%;
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:8px;
  }
  .of-notif-bell,
  .of-topbar-refresh-btn,
  .of-top-link{
    width:100%;
    min-height:42px;
    height:42px;
    padding:0;
    justify-content:center;
    border-radius:14px;
    background:#fff;
    box-shadow:0 1px 2px rgba(16,24,40,.06);
  }
  .of-topbar-refresh-btn span,
  .of-top-link span{
    display:none!important;
  }
  .of-content{
    padding:12px 12px 84px;
  }
  .of-onboard{
    grid-template-columns:1fr;
    display:grid;
    gap:12px;
    padding:16px;
    border-radius:20px;
  }
  .of-onboard-right{
    width:100%;
    display:flex;
    align-items:center;
    justify-content:flex-start;
  }
  .of-progress{
    width:100%;
    font-size:13px;
    line-height:1.45;
    padding:10px 12px;
    border-radius:14px;
    background:#f8fafc;
    border:1px solid #e7ebf0;
  }
  .ocsh-greeting-line{
    align-items:flex-start;
  }
  .ocsh-greeting-kicker{
    font-size:13px!important;
    line-height:1.35;
  }
  .of-onboard-sub{
    font-size:13px!important;
  }
  .of-kpis,
  .ocsh-kpi-row{
    grid-template-columns:1fr!important;
    gap:12px!important;
    margin-top:12px!important;
  }
  .of-kpi,
  .ocsh-kpi-row .of-kpi{
    min-height:unset!important;
    padding:16px 16px 16px 18px!important;
    border-radius:20px!important;
  }
  .of-kpi-value,
  .ocsh-kpi-row .of-kpi-value{
    font-size:30px!important;
    line-height:1.05;
    margin-top:6px;
  }
  .of-kpi-label,
  .of-kpi-sub{
    font-size:12px!important;
  }
  .ocsh-panel-grid,
  .ocsh-stack,
  .ocsh-list-form,
  .ocsh-profile-grid,
  .ocsh-categories-grid,
  .ocsh-ops-hero,
  .ocsh-split-shell,
  .ocsh-utility-grid,
  .ocsh-ticket-layout,
  .ocsh-ticket-bottom,
  .ocsh-kb-content-grid,
  .ocsh-hsp-layout,
  .ocsh-report-grid,
  .ocsh-report-split,
  .ocsh-reports-grid,
  .ocsh-reports-grid-bottom,
  .ocsh-report-flex-v2,
  .ocsh-satisfaction-card{
    grid-template-columns:1fr!important;
    gap:12px!important;
  }
  .of-panel,
  .of-card,
  .ocsh-detail-card,
  .ocsh-list-card,
  .ocsh-report-kpi-card,
  .ocsh-report-chart-card,
  .ocsh-feedback-kpi{
    border-radius:20px!important;
    padding:16px!important;
  }
  .of-panel-head,
  .of-card-head,
  .ocsh-table-toolbar,
  .ocsh-page-head{
    margin-bottom:12px!important;
    gap:10px;
  }
  .ocsh-page-head{
    padding:0 2px 10px;
  }
  .ocsh-page-head h1,
  .ocsh-page-head h2,
  .ocsh-block-title,
  .of-card-head h3,
  .of-panel-head h3,
  .ocsh-module-head h3,
  .ocsh-ticket-summary-head h3,
  .ocsh-detail-hero h4,
  .ocsh-report-card-head h3{
    font-size:17px!important;
    line-height:1.25;
  }
  .ocsh-table-wrap{
    margin-left:-4px;
    margin-right:-4px;
    border-radius:16px;
  }
  .ocsh-table{
    min-width:640px;
  }
  .ocsh-watch-card,
  .ocsh-notification-card{
    padding:14px!important;
    border-radius:18px!important;
  }
  .ocsh-watch-card__head,
  .ocsh-watch-card__meta,
  .ocsh-ticket-head,
  .ocsh-ticket-meta,
  .ocsh-detail-row,
  .ocsh-report-topbar,
  .ocsh-report-actions,
  .ocsh-report-card-head{
    grid-template-columns:1fr!important;
    flex-direction:column!important;
    align-items:flex-start!important;
  }
  .ocsh-watch-card__badges,
  .ocsh-hsp-detail-actions,
  .ocsh-inline-actions,
  .ocsh-page-header-actions{
    width:100%;
    flex-wrap:wrap!important;
  }
  .ocsh-hsp-detail-actions .of-btn,
  .ocsh-inline-actions .of-btn,
  .ocsh-page-header-actions .of-btn{
    width:100%;
    justify-content:center;
  }
  .of-create-grid,
  .ocsh-quick-panel .of-create-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
  }
  .of-create-tile{
    min-height:92px;
    padding:14px 12px!important;
    border-radius:18px!important;
  }
  .of-create-label{
    font-size:12px;
    line-height:1.25;
  }
  .ocsh-search-inline,
  .ocsh-hsp-search-inline,
  .ocsh-actions-row{
    flex-wrap:wrap!important;
  }
  .ocsh-search-inline input,
  .ocsh-search-inline select,
  .ocsh-search-inline .of-btn,
  .ocsh-hsp-search-inline input,
  .ocsh-hsp-search-inline select,
  .ocsh-hsp-search-inline .of-btn,
  .ocsh-actions-row > *{
    width:100%!important;
    min-width:0!important;
    flex:1 1 100%!important;
  }
  .ocsh-form-grid,
  .ocsh-form-grid.is-3col,
  .ocsh-soft-grid,
  .ocsh-feedback-kpis,
  .ocsh-reports-kpis,
  .ocsh-report-kpis,
  .ocsh-reports-list-grid,
  .ocsh-timeline-stats,
  .of-grid2{
    grid-template-columns:1fr!important;
    gap:12px!important;
  }
  .ocsh-form-card .ocsh-field input,
  .ocsh-form-card .ocsh-field select,
  .ocsh-form-card .ocsh-field textarea,
  .ocsh-field input,
  .ocsh-field select,
  .ocsh-field textarea,
  .of-input{
    min-height:44px!important;
    font-size:14px!important;
  }
  .ocsh-modal__dialog,
  .of-modal-dialog{
    width:100%;
    max-width:none;
    height:100dvh;
    margin:0;
    border-radius:0;
  }
  .ocsh-modal__body,
  .of-modal-body{
    height:calc(100dvh - 72px);
    max-height:none;
  }
}
@media (max-width: 640px){
  .of-sidebar{
    width:min(88vw,320px)!important;
    max-width:min(88vw,320px)!important;
    padding:18px 12px 16px!important;
  }
  .of-brand{
    justify-content:flex-start!important;
    padding:4px 4px 10px!important;
  }
  .of-brand-text{
    display:block!important;
  }
  .of-nav{
    gap:8px!important;
  }
  .of-nav-group{
    margin:12px 8px 6px!important;
    text-align:left!important;
    font-size:10px!important;
  }
  .of-nav-item{
    min-height:46px!important;
    height:auto!important;
    padding:0 12px!important;
    flex-direction:row!important;
    justify-content:flex-start!important;
    gap:10px!important;
    border-radius:14px!important;
    position:relative;
  }
  .of-nav-item span{
    display:inline!important;
    max-width:none!important;
    white-space:normal!important;
    word-break:normal!important;
    text-align:left!important;
    font-size:13px!important;
  }
  .of-nav-item .of-nav-badge{
    position:static!important;
    margin-left:auto!important;
  }
  .of-topbar-right{
    grid-template-columns:repeat(4,minmax(0,1fr));
  }
  .of-content{
    padding:10px 10px 82px;
  }
  .of-onboard,
  .of-panel,
  .of-card,
  .of-kpi,
  .ocsh-detail-card,
  .ocsh-list-card,
  .ocsh-report-kpi-card,
  .ocsh-report-chart-card,
  .ocsh-feedback-kpi{
    border-radius:18px!important;
    padding:14px!important;
  }
  .of-create-grid,
  .ocsh-quick-panel .of-create-grid{
    grid-template-columns:1fr 1fr!important;
  }
  .of-create-ico{
    font-size:18px!important;
  }
  .of-kpi-value,
  .ocsh-kpi-row .of-kpi-value,
  .ocsh-feedback-kpi .value,
  .ocsh-report-kpi-value{
    font-size:28px!important;
  }
}


/* v1.10.43.8 full mobile app rebuild */
@media (max-width: 820px){
  .of-content{padding:12px 12px 88px!important;}
  .of-topbar{padding:12px 12px!important;align-items:flex-start!important;gap:12px!important;}
  .of-page-title{font-size:16px!important;line-height:1.2!important;}
  .ocsh-shell-note,.ocsh-muted,.ocsh-section-note,.ocsh-table-caption,.ocsh-form-note{font-size:12px!important;line-height:1.45!important;}
  .of-chip-row{gap:8px!important;}
  .of-chip,.of-topbar-refresh-btn{min-height:38px!important;padding:0 12px!important;font-size:12px!important;}
  .ocsh-module-head{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;align-items:start!important;}
  .ocsh-module-head h3{font-size:22px!important;line-height:1.15!important;}
  .of-kpis,.ocsh-kpi-row,.ocsh-report-kpis,.ocsh-reports-kpis,.ocsh-timeline-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;}
  .of-kpi,.ocsh-report-kpi-card,.ocsh-feedback-kpi{min-height:unset!important;}
  .of-kpi-value,.ocsh-kpi-row .of-kpi-value,.ocsh-report-kpi-value{font-size:24px!important;line-height:1.05!important;}
  .of-kpi-label,.of-kpi-sub{font-size:12px!important;}
  .ocsh-list-form,.ocsh-split-shell,.ocsh-utility-grid,.ocsh-profile-grid,.ocsh-ops-hero,.ocsh-categories-grid,.ocsh-report-grid,.ocsh-report-split,.ocsh-reports-grid,.ocsh-reports-grid-bottom,.ocsh-report-flex-v2,.ocsh-satisfaction-card{grid-template-columns:1fr!important;gap:14px!important;}
  .ocsh-form-stack{position:static!important;top:auto!important;}
  .ocsh-page{gap:14px!important;}
  .ocsh-page-head{padding:0 2px 8px!important;margin-bottom:0!important;border-bottom:1px solid #eceff3!important;}
  .ocsh-page-head h1,.ocsh-page-head h2,.ocsh-block-title,.of-card-head h3,.of-panel-head h3,.ocsh-report-card-head h3{font-size:18px!important;line-height:1.2!important;}
  .of-panel,.of-card,.ocsh-list-card,.ocsh-form-card,.ocsh-detail-card,.ocsh-report-panel,.ocsh-report-chart-card,.ocsh-report-kpi-card,.ocsh-watch-card,.ocsh-notification-card{padding:14px!important;border-radius:18px!important;}
  .of-card-head,.of-panel-head,.ocsh-table-toolbar,.ocsh-page-head,.ocsh-report-card-head{margin-bottom:12px!important;gap:10px!important;}
  .ocsh-card-pad{padding:14px!important;}
  .ocsh-actions-row,.ocsh-search-inline,.ocsh-hsp-search-inline,.ocsh-inline-actions,.ocsh-page-header-actions{display:flex!important;flex-wrap:wrap!important;gap:8px!important;}
  .ocsh-actions-row > *, .ocsh-search-inline > *, .ocsh-hsp-search-inline > *, .ocsh-inline-actions > *, .ocsh-page-header-actions > *{flex:1 1 100%!important;min-width:0!important;width:100%!important;}
  .ocsh-inline-actions .of-btn,.ocsh-page-header-actions .of-btn,.ocsh-hsp-detail-actions .of-btn{justify-content:center!important;}
  .ocsh-form-grid,.ocsh-form-grid.is-3col,.ocsh-soft-grid,.of-grid2{grid-template-columns:1fr!important;gap:12px!important;}
  .ocsh-field input,.ocsh-field select,.ocsh-field textarea,.of-input{min-height:44px!important;font-size:14px!important;padding:12px 14px!important;}
}

@media (max-width: 760px){
  .of-topbar{display:grid!important;grid-template-columns:1fr auto!important;}
  .of-topbar-right{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;width:100%!important;grid-column:1/-1;}
  .of-topbar-right > *{width:100%!important;justify-content:center!important;}
  .of-topbar-refresh-btn{font-size:0!important;gap:0!important;padding:0!important;}
  .of-topbar-refresh-btn svg{margin:0 auto!important;}
  .of-onboard{grid-template-columns:1fr!important;align-items:flex-start!important;gap:12px!important;}
  .of-create-grid,.ocsh-quick-panel .of-create-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;}
  .of-create-tile{min-height:88px!important;padding:14px 12px!important;}
  .ocsh-table-wrap{border:none!important;background:transparent!important;overflow:visible!important;min-height:0!important;max-height:none!important;margin:0!important;}
  .ocsh-table-wrap .ocsh-table{min-width:0!important;width:100%!important;border-collapse:separate!important;border-spacing:0 12px!important;}
  .ocsh-table-wrap .ocsh-table thead{display:none!important;}
  .ocsh-table-wrap .ocsh-table tbody,
  .ocsh-table-wrap .ocsh-table tr,
  .ocsh-table-wrap .ocsh-table td{display:block!important;width:100%!important;}
  .ocsh-table-wrap .ocsh-table tr{background:#fff!important;border:1px solid #e8ecf2!important;border-radius:18px!important;box-shadow:0 8px 20px rgba(15,23,42,.04),0 1px 3px rgba(15,23,42,.06)!important;padding:12px 14px!important;overflow:hidden!important;}
  .ocsh-table-wrap .ocsh-table td{padding:8px 0!important;border:none!important;display:grid!important;grid-template-columns:92px minmax(0,1fr)!important;gap:10px!important;align-items:start!important;font-size:14px!important;line-height:1.45!important;word-break:break-word;}
  .ocsh-table-wrap .ocsh-table td::before{content:attr(data-label);font-size:11px!important;line-height:1.3!important;font-weight:800!important;letter-spacing:.08em!important;text-transform:uppercase!important;color:#98a2b3!important;}
  .ocsh-table-wrap .ocsh-table td:empty{display:none!important;}
  .ocsh-table-wrap .ocsh-table td .of-btn{min-height:40px!important;padding:0 14px!important;}
  .ocsh-table-wrap .ocsh-table td:last-child{padding-bottom:0!important;}
  .ocsh-table-wrap .ocsh-table td:last-child .of-btn{width:100%!important;justify-content:center!important;}
  .ocsh-ticket-queue-card .ocsh-table td:nth-child(1) strong,
  .ocsh-list-card .ocsh-table td:nth-child(1) strong{font-size:15px!important;}
  .ocsh-pagination{display:flex!important;flex-wrap:wrap!important;gap:8px!important;justify-content:flex-start!important;}
  .ocsh-pagination a{min-width:40px!important;justify-content:center!important;}
}

@media (max-width: 640px){
  .of-content{padding:10px 10px 84px!important;}
  .of-sidebar{width:min(88vw,320px)!important;max-width:min(88vw,320px)!important;}
  .of-kpis,.ocsh-kpi-row,.ocsh-report-kpis,.ocsh-reports-kpis,.ocsh-timeline-stats{grid-template-columns:1fr!important;}
  .of-create-grid,.ocsh-quick-panel .of-create-grid{grid-template-columns:1fr 1fr!important;}
  .ocsh-table-wrap .ocsh-table td{grid-template-columns:84px minmax(0,1fr)!important;gap:8px!important;}
  .ocsh-table-wrap .ocsh-table td::before{font-size:10px!important;}
}

/* v1.10.43.9 auth + full mobile app pass */
.ocsh-auth-form{display:grid;gap:14px}
.ocsh-auth-form .ocsh-field input{min-height:52px}
.ocsh-auth-alert{padding:12px 14px;border-radius:14px;margin-bottom:14px;font-size:14px;line-height:1.5;background:#fff7ed;color:#9a3412;border:1px solid #fed7aa}
.ocsh-auth-alert.is-error{background:#fef2f2;color:#b42318;border-color:#fecaca}
.ocsh-auth-alert.is-success{background:#ecfdf3;color:#027a48;border-color:#abefc6}
#ocsh-loginform{display:grid;gap:14px}
#ocsh-loginform p{margin:0}
#ocsh-loginform label{display:block;font-size:12px;font-weight:700;color:#344054;margin:0 0 6px}
#ocsh-loginform input[type="text"],#ocsh-loginform input[type="password"]{width:100%;min-height:52px;padding:0 16px;border:1px solid #d0d5dd;border-radius:14px;background:#fff}
#ocsh-loginform .login-submit{padding-top:4px}
#ocsh-loginform .button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 18px;border:none;border-radius:14px;background:#ff8a00;color:#fff;font-weight:700;cursor:pointer}
#ocsh-loginform .login-remember label{display:inline-flex;align-items:center;gap:10px;font-size:14px;font-weight:500;color:#475467;margin:0}

@media (max-width: 980px){
  .of-main{padding:14px}
  .of-content{padding:0}
  .of-topbar{padding:12px 14px;border-radius:18px;gap:12px}
  .of-topbar-left{min-width:0}
  .of-topbar-right{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;width:100%}
  .of-top-link,.of-notif-bell,.of-topbar-refresh-btn{min-height:46px;justify-content:center;padding:0 10px}
  .of-top-link span,.of-topbar-refresh-btn span{font-size:12px}
  .of-page-title{font-size:28px;line-height:1.05}
  .ocsh-shell-note{font-size:11px}
  .of-panel,.of-card,.of-kpi{border-radius:18px}
  .of-card,.of-panel{padding:16px}
  .ocsh-page{gap:14px}
  .ocsh-page-head{gap:12px;padding:0}
  .ocsh-page-head h1,.ocsh-page-head h2,.ocsh-block-title{font-size:18px}
  .ocsh-page-head-actions,.ocsh-toolbar-buttonset,.ocsh-module-intro,.ocsh-table-toolbar,.ocsh-actions-row,.ocsh-inline-actions,.ocsh-card-actions,.ocsh-hospital-qr-row,.ocsh-hsp-detail-actions{width:100%;display:flex;flex-wrap:wrap;gap:10px}
  .ocsh-toolbar-buttonset > *, .ocsh-actions-row > *, .ocsh-inline-actions > *, .ocsh-card-actions > *{flex:1 1 calc(50% - 10px)}
  .ocsh-clients-search-main,.ocsh-hsp-search-form,.ocsh-clients-search-form,.ocsh-hospital-filters-form{display:grid;grid-template-columns:1fr;gap:10px}
  .ocsh-clients-filters{display:grid;grid-template-columns:1fr 1fr;gap:10px}
  .ocsh-clients-top,.ocsh-clients-bottom,.ocsh-hospital-bottom,.ocsh-detail-grid,.ocsh-soft-grid,.ocsh-utility-grid,.ocsh-panel-grid,.ocsh-kpi-row,.ocsh-quick-grid,.ocsh-alert-grid,.ocsh-client-stats-grid,.ocsh-feedback-kpis,.ocsh-detail-hero,.ocsh-hospital-qr-wrap,.ocsh-hsp-layout,.ocsh-alert-list,.ocsh-clients-bottom,.ocsh-ops-hero,.ocsh-categories-grid,.ocsh-profile-grid{grid-template-columns:1fr !important;display:grid}
  .ocsh-list-form,.ocsh-split-shell,.ocsh-ticket-layout{grid-template-columns:1fr !important;gap:14px}
  .ocsh-form-stack{position:static;gap:14px}
  .ocsh-table-wrap{overflow:auto;-webkit-overflow-scrolling:touch;border-radius:16px;min-height:0}
  .ocsh-table{min-width:720px}
  .ocsh-table thead th{font-size:10px;padding:12px 12px}
  .ocsh-table tbody td{font-size:13px;padding:14px 12px}
  .ocsh-table-actions{display:flex;gap:8px;flex-wrap:wrap}
  .ocsh-table-actions .of-btn{min-width:88px}
  .ocsh-detail-row{grid-template-columns:1fr;gap:6px;padding:12px 0}
  .ocsh-helper-item,.ocsh-notification-card,.ocsh-compact-row,.ocsh-stat-item{flex-direction:column;align-items:flex-start}
  .ocsh-client-time-top{grid-template-columns:1fr;gap:10px}
  .ocsh-client-time-side{align-items:flex-start}
  .ocsh-form-grid{grid-template-columns:1fr !important;gap:14px}
  .ocsh-field input,.ocsh-field select,.ocsh-field textarea,.ocsh-actions-row input[type="text"],.ocsh-actions-row select{width:100%;min-width:0}
  .of-modal-card{width:min(96vw,720px);border-radius:20px}
  .of-modal-head,.of-modal-body,.of-modal-foot{padding-left:16px;padding-right:16px}
  .ocsh-donut{max-width:240px;margin:0 auto}
  .ocsh-bar-chart,.ocsh-bar-chart-v2{overflow:auto;padding-bottom:4px}
  .ocsh-bar-list{min-width:520px}
  .ocsh-export-buttons{justify-items:stretch}
  .ocsh-export-buttons .of-btn, .ocsh-export-buttons form, .ocsh-export-buttons button{width:100%}
}

@media (max-width: 640px){
  .of-main{padding:10px}
  .of-topbar{padding:10px 12px;position:sticky;top:0;z-index:20;background:rgba(255,255,255,.94);backdrop-filter:blur(10px)}
  .of-topbar-right{grid-template-columns:repeat(2,minmax(0,1fr))}
  .of-top-link-settings{grid-column:span 2}
  .of-page-title{font-size:18px}
  .of-top-toggle{width:44px;height:44px;border-radius:14px}
  .of-card,.of-panel,.of-kpi{padding:14px;border-radius:16px}
  .of-kpi-value{font-size:28px !important}
  .of-kpi-label{font-size:11px;letter-spacing:.08em}
  .of-kpi-sub{font-size:12px}
  .ocsh-module-intro{gap:8px}
  .ocsh-module-intro span{width:100%;justify-content:flex-start}
  .ocsh-toolbar-buttonset > *, .ocsh-actions-row > *, .ocsh-inline-actions > *, .ocsh-card-actions > *{flex:1 1 100%}
  .ocsh-clients-filters{grid-template-columns:1fr}
  .ocsh-table{min-width:640px}
  .ocsh-table thead th{font-size:10px}
  .ocsh-table tbody td{font-size:13px;line-height:1.45}
  .ocsh-auth-wrap{padding:18px 12px}
  .ocsh-auth-panel{max-width:100%;padding:24px 18px;border-radius:22px;gap:20px}
  .ocsh-auth-brand{gap:14px;align-items:flex-start}
  .ocsh-auth-logo{width:56px;height:56px;border-radius:18px;font-size:14px}
  .ocsh-auth-brand h1{font-size:28px;line-height:1.05}
  .ocsh-auth-card{padding:18px;border-radius:20px}
}


/* v1.10.44 mobile/auth cleanup */
.ocsh-auth-brand,
.ocsh-auth-brand *{color:#fff!important;}
.ocsh-auth-brand .ocsh-auth-kicker{color:rgba(255,255,255,.72)!important;}
.ocsh-auth-brand p{color:rgba(255,255,255,.82)!important;}
.ocsh-auth-card .ocsh-field label{display:block;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#667085;margin:0 0 8px;}
.ocsh-auth-card .ocsh-field input{width:100%;min-height:52px;padding:0 16px;border:1px solid #d0d5dd;border-radius:14px;background:#fff;color:#101828;}
.ocsh-auth-card .login-remember{display:flex;align-items:center;justify-content:flex-start;}
.ocsh-auth-card .login-remember input[type="checkbox"]{width:18px;height:18px;margin:0;accent-color:#ff8a00;}
.ocsh-auth-card .login-remember label{display:inline-flex;align-items:center;gap:10px;font-size:14px;font-weight:500;color:#475467;margin:0;text-transform:none;letter-spacing:0;}
.ocsh-auth-card .login-submit .button{width:100%;}

@media (max-width: 768px){
  .of-sidebar{height:100dvh!important;overflow-y:auto!important;overscroll-behavior:contain;padding-bottom:28px!important;}
  .of-nav{padding-bottom:22px!important;}
  .of-sidebar .of-brand{position:sticky;top:0;background:#171717;z-index:2;padding-top:max(8px, env(safe-area-inset-top))!important;}
  .of-content{overflow-x:hidden;}
  .ocsh-table-wrap .ocsh-table td{grid-template-columns:1fr!important;gap:4px!important;padding:10px 0!important;}
  .ocsh-table-wrap .ocsh-table td::before{display:block!important;margin-bottom:2px!important;}
  .ocsh-table-wrap .ocsh-table td:last-child .of-btn{width:100%!important;}
  .ocsh-table-wrap .ocsh-table td .of-btn + .of-btn{margin-top:8px!important;}
  .ocsh-field,
  .of-field{gap:6px!important;}
  .ocsh-field label,
  .of-label{display:block!important;line-height:1.35!important;}
  .ocsh-detail-row{display:grid!important;grid-template-columns:1fr!important;gap:4px!important;align-items:start!important;}
  .ocsh-detail-row > :first-child{font-size:11px!important;font-weight:800!important;letter-spacing:.08em!important;text-transform:uppercase!important;color:#98a2b3!important;}
  .ocsh-detail-row > :last-child{min-width:0!important;}
}

@media (max-width: 640px){
  .of-sidebar{width:min(92vw,340px)!important;max-width:min(92vw,340px)!important;}
  .ocsh-page-head h1,.ocsh-page-head h2,.ocsh-block-title,.of-card-head h3,.of-panel-head h3,.ocsh-report-card-head h3{font-size:17px!important;}
  .ocsh-table-wrap .ocsh-table tr{padding:12px!important;}
  .ocsh-table-wrap .ocsh-table td{font-size:13px!important;line-height:1.45!important;}
}


/* v1.11.0 mobile rebuild */
.of-sidebar{display:flex;flex-direction:column;max-height:100vh;overflow:hidden}
.of-nav{flex:1 1 auto;min-height:0;overflow-y:auto;padding-bottom:24px}
.of-nav::-webkit-scrollbar{width:8px}
.of-nav::-webkit-scrollbar-thumb{background:#2c2f36;border-radius:999px}

.ocsh-mobile-nav,
.ocsh-mobile-more-backdrop,
.ocsh-mobile-more-sheet{display:none}

.ocsh-auth-brand{
  background:
    linear-gradient(180deg, rgba(10,13,18,.78) 0%, rgba(10,13,18,.90) 100%),
    radial-gradient(circle at top left, rgba(245,106,0,.18), transparent 40%);
}
.ocsh-auth-card,
.ocsh-auth-card *,
.ocsh-auth-form label,
.ocsh-auth-form input,
.ocsh-auth-meta a{color:#111827!important}
.ocsh-auth-form input{background:#fff!important;border:1px solid #d0d5dd!important}
.ocsh-auth-form .button,
.ocsh-auth-form .button-primary,
.ocsh-auth-form .of-btn-primary{appearance:none;border:0;background:linear-gradient(135deg,#f56a00,#d96a1e)!important;color:#fff!important;min-height:52px;width:100%;border-radius:16px;font-weight:700}
.ocsh-auth-card-head span{color:#667085!important}

@media (max-width: 900px){
  .of-main{padding:0!important}
  .of-topbar{position:sticky;top:0;z-index:40;border-radius:0!important;border-left:0;border-right:0;padding:12px 14px!important}
  .of-topbar-right{grid-template-columns:repeat(5,minmax(0,1fr))!important}
  .of-top-link span,.of-topbar-refresh-btn span{display:none!important}
  .of-content{padding:14px 14px 102px!important}
  .ocsh-mobile-nav{position:fixed;left:12px;right:12px;bottom:calc(10px + env(safe-area-inset-bottom));z-index:60;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;padding:10px;border:1px solid rgba(15,23,42,.08);background:rgba(255,255,255,.96);backdrop-filter:blur(16px);border-radius:24px;box-shadow:0 18px 40px rgba(15,23,42,.14)}
  .ocsh-mobile-nav__item{appearance:none;border:0;background:transparent;text-decoration:none;color:#667085;min-height:56px;padding:8px 6px;border-radius:18px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;font-size:11px;font-weight:700;line-height:1.15;text-align:center}
  .ocsh-mobile-nav__icon{display:flex;align-items:center;justify-content:center;width:24px;height:24px}
  .ocsh-mobile-nav__icon svg{width:20px;height:20px}
  .ocsh-mobile-nav__item.is-active{background:#fff4eb;color:#c25b00}
  .ocsh-mobile-nav__item.is-active .ocsh-mobile-nav__icon svg{stroke:#c25b00}
  .ocsh-mobile-more-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.34);z-index:64}
  .ocsh-mobile-more-sheet{position:fixed;left:12px;right:12px;bottom:calc(92px + env(safe-area-inset-bottom));z-index:65;background:#fff;border-radius:24px;border:1px solid #e5e7eb;box-shadow:0 24px 60px rgba(15,23,42,.16);max-height:min(70vh,560px);overflow:auto;padding:14px}
  .of-app.is-mobile-more-open .ocsh-mobile-more-backdrop,.of-app.is-mobile-more-open .ocsh-mobile-more-sheet{display:block}
  .ocsh-mobile-more-sheet__head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;position:sticky;top:0;background:#fff;padding-bottom:10px}
  .ocsh-mobile-more-sheet__head strong{font-size:16px;color:#111827}
  .ocsh-mobile-more-sheet__head button{border:1px solid #e5e7eb;background:#fff;border-radius:12px;width:38px;height:38px;font-size:24px;line-height:1;color:#111827}
  .ocsh-mobile-more-sheet__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .ocsh-mobile-more-link{display:flex;align-items:center;gap:10px;padding:12px 14px;border-radius:16px;border:1px solid #edf2f7;text-decoration:none;color:#344054;background:#fff;min-height:54px;font-size:13px;font-weight:600}
  .ocsh-mobile-more-link svg{width:18px;height:18px}
  .ocsh-mobile-more-link.is-active{background:#fff4eb;border-color:#ffd7b3;color:#c25b00}
  .ocsh-module-head,.ocsh-page-head,.of-card-head,.of-panel-head{gap:10px!important}
  .ocsh-page-head h1,.ocsh-page-head h2,.ocsh-module-head h3{font-size:18px!important}
  .ocsh-page-head-actions,.ocsh-toolbar-buttonset,.ocsh-actions-row{width:100%}
  .ocsh-toolbar-buttonset .of-btn,.ocsh-actions-row .of-btn{flex:1 1 auto;justify-content:center}
  .of-kpis,.ocsh-kpi-row,.ocsh-report-kpis,.ocsh-reports-kpis,.ocsh-timeline-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .of-kpi,.ocsh-report-kpi-card,.ocsh-feedback-kpi{padding:14px!important;min-height:0!important}
  .of-kpi-value,.ocsh-kpi-row .of-kpi-value,.ocsh-report-kpi-value{font-size:20px!important}
  .ocsh-clients-top,.ocsh-clients-bottom,.ocsh-panel-grid,.ocsh-utility-grid,.ocsh-ops-grid,.ocsh-report-grid,.ocsh-report-lower,.ocsh-report-bottom{grid-template-columns:1fr!important}
  .ocsh-clients-search-main,.ocsh-clients-filters,.ocsh-filter-card form .ocsh-form-grid,.ocsh-form-grid,.ocsh-form-grid.is-3col{grid-template-columns:1fr!important}
  .ocsh-form-grid .is-full{grid-column:auto!important}
  .ocsh-table-wrap,.of-table-wrap{border:none!important;background:transparent!important;overflow:visible!important;min-height:0!important;max-height:none!important;margin:0!important}
  .ocsh-table,.of-table-wrap .ocsh-table{min-width:0!important;width:100%!important;border-collapse:separate!important;border-spacing:0 12px!important}
  .ocsh-table thead{display:none!important}
  .ocsh-table tbody,.ocsh-table tr,.ocsh-table td{display:block!important;width:100%!important}
  .ocsh-table tr{background:#fff!important;border:1px solid #e8ecf2!important;border-radius:18px!important;box-shadow:0 8px 20px rgba(15,23,42,.04),0 1px 3px rgba(15,23,42,.06)!important;padding:14px!important;overflow:hidden!important}
  .ocsh-table td{padding:0 0 10px!important;border:none!important;font-size:14px!important;line-height:1.45!important;word-break:break-word!important}
  .ocsh-table td::before{content:attr(data-label);display:block!important;margin:0 0 4px!important;font-size:11px!important;line-height:1.3!important;font-weight:800!important;letter-spacing:.08em!important;text-transform:uppercase!important;color:#98a2b3!important}
  .ocsh-table td:last-child{padding-bottom:0!important}
  .ocsh-table td .of-btn{width:100%!important;justify-content:center!important}
  .ocsh-table td:empty{display:none!important}
  .ocsh-table td .ocsh-chip{display:inline-flex!important}
  .ocsh-table td strong{display:block;font-size:16px;line-height:1.35;color:#1f2937}
  .ocsh-table td .ocsh-muted{margin-top:4px}
  .ocsh-empty{padding:20px 14px!important}
  .ocsh-detail-row{display:block!important;padding:12px 0!important;border-bottom:1px solid #eef2f6!important}
  .ocsh-detail-row span:first-child{display:block!important;margin:0 0 5px!important;color:#98a2b3!important;font-size:11px!important;font-weight:800!important;letter-spacing:.08em!important;text-transform:uppercase!important}
  .ocsh-detail-row strong,.ocsh-detail-row .ocsh-chip{display:block!important;text-align:left!important}
  .ocsh-detail-hero{padding:16px!important}
  .ocsh-detail-hero h4{font-size:20px!important}
  .of-sidebar{width:min(88vw,320px)!important;max-width:min(88vw,320px)!important;height:100vh!important}
  .of-nav{padding-bottom:120px!important}
}
@media (max-width: 560px){
  .of-topbar-right{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .of-topbar-right > :nth-child(n+4){display:none!important}
  .of-kpis,.ocsh-kpi-row,.ocsh-report-kpis,.ocsh-reports-kpis,.ocsh-timeline-stats{grid-template-columns:1fr!important}
  .ocsh-mobile-more-sheet__grid{grid-template-columns:1fr!important}
  .ocsh-mobile-nav{left:10px;right:10px;bottom:calc(8px + env(safe-area-inset-bottom));padding:8px}
  .ocsh-mobile-nav__label{font-size:10px}
  .ocsh-auth-wrap{padding:14px!important}
  .ocsh-auth-brand{display:none!important}
  .ocsh-auth-card{padding:18px!important;border-radius:22px!important}
}


/* v1.11.1 desktop sidebar + notifications fixes */
@media (min-width: 769px){
  .of-app{align-items:stretch;}
  .of-sidebar{
    position:sticky;
    top:0;
    align-self:flex-start;
    height:100vh;
    max-height:100vh;
    overflow:hidden;
    border-right:1px solid rgba(255,255,255,.06);
  }
  .of-nav{
    flex:1 1 auto;
    min-height:0;
    overflow-y:auto;
    padding-right:4px;
    padding-bottom:36px;
  }
}
.of-topbar-right{position:relative;}
.of-notif{position:relative;display:inline-flex;align-items:center;}
.of-notif-panel{right:0;top:calc(100% + 10px);}
@media (max-width: 768px){
  .of-notif-panel{right:-6px;top:calc(100% + 8px);max-width:calc(100vw - 24px);}
}


/* v1.11.2 sidebar structure restore + desktop shell scroll fix */
@media (min-width: 769px){
  html,body{height:100%;}
  body.of-body{overflow:hidden;}
  .of-app{
    display:flex;
    align-items:stretch!important;
    min-height:100vh;
    height:100vh;
    overflow:hidden;
  }
  .of-sidebar{
    position:relative!important;
    top:auto!important;
    left:auto!important;
    transform:none!important;
    align-self:stretch!important;
    flex:0 0 272px;
    width:272px!important;
    min-width:272px;
    max-width:272px!important;
    height:100vh!important;
    max-height:100vh!important;
    overflow:hidden!important;
    padding:18px 14px 14px!important;
    border-right:1px solid rgba(255,255,255,.06);
    box-shadow:none!important;
  }
  .of-brand{
    justify-content:flex-start!important;
    align-items:center!important;
    gap:12px!important;
    padding:4px 4px 12px!important;
    margin-bottom:4px!important;
    position:relative!important;
    top:auto!important;
    background:transparent!important;
  }
  .of-brand-text{display:block!important;}
  .of-nav{
    flex:1 1 auto;
    min-height:0;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    padding:6px 6px 28px 0!important;
    gap:6px!important;
  }
  .of-nav-group{
    margin:14px 10px 6px!important;
    text-align:left!important;
    font-size:10px!important;
    letter-spacing:.12em!important;
  }
  .of-nav-item{
    min-height:42px!important;
    height:auto!important;
    padding:0 12px!important;
    gap:10px!important;
    justify-content:flex-start!important;
    border-radius:12px!important;
  }
  .of-nav-item span{
    display:inline!important;
    max-width:none!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    text-align:left!important;
    font-size:13px!important;
  }
  .of-nav-sep{margin:10px 8px!important;}
  .of-main{
    flex:1 1 auto;
    min-width:0;
    height:100vh;
    overflow-y:auto!important;
    overflow-x:hidden!important;
  }
}


/* v1.11.3 mobile card structure rebuild */
@media (max-width: 900px){
  .ocsh-table tr{display:grid!important;gap:0!important;padding:0!important;overflow:hidden!important}
  .ocsh-table td{padding:0!important;border:none!important}
  .ocsh-mobile-cell-label{display:block!important;margin:0 0 6px!important;color:#98a2b3!important;font-size:11px!important;font-weight:800!important;letter-spacing:.08em!important;text-transform:uppercase!important;line-height:1.25!important}
  .ocsh-mobile-cell-value{display:block!important;color:#1f2937!important;font-size:14px!important;line-height:1.5!important;min-width:0!important}
  .ocsh-table td + td{border-top:1px solid #f2f4f7!important}
  .ocsh-table td:first-child{padding-top:2px!important}
  .ocsh-table td:last-child{padding-bottom:2px!important}
  .ocsh-table td .ocsh-mobile-cell-value{padding:0 16px 14px!important}
  .ocsh-table td .ocsh-mobile-cell-label{padding:14px 16px 0!important}
  .ocsh-table td:first-child .ocsh-mobile-cell-label{padding-top:16px!important}
  .ocsh-table td:last-child .ocsh-mobile-cell-value{padding-bottom:16px!important}
  .ocsh-table td[data-label="Ticket"] .ocsh-mobile-cell-value,
  .ocsh-table td[data-label="Ticket No"] .ocsh-mobile-cell-value,
  .ocsh-table td[data-label="Name"] .ocsh-mobile-cell-value,
  .ocsh-table td[data-label="Hospital"] .ocsh-mobile-cell-value,
  .ocsh-table td[data-label="Task"] .ocsh-mobile-cell-value,
  .ocsh-table td[data-label="Phone"] .ocsh-mobile-cell-value{font-size:17px!important;font-weight:700!important;line-height:1.35!important}
  .ocsh-table td[data-label="Subject"] .ocsh-mobile-cell-value,
  .ocsh-table td[data-label="Issue"] .ocsh-mobile-cell-value,
  .ocsh-table td[data-label="Comments"] .ocsh-mobile-cell-value{font-size:15px!important;line-height:1.55!important}
  .ocsh-table td[data-label="Action"]{background:#fcfcfd!important}
  .ocsh-table td[data-label="Action"] .ocsh-mobile-cell-value,
  .ocsh-table td[data-label="Action"] .ocsh-mobile-cell-label{padding-left:16px!important;padding-right:16px!important}
  .ocsh-table td[data-label="Action"] .of-btn,
  .ocsh-table td[data-label="Action"] .of-btn-light{width:100%!important;min-height:44px!important;justify-content:center!important;border-radius:14px!important}
  .ocsh-table td .ocsh-chip{display:inline-flex!important}
  .ocsh-watch-list{gap:14px!important}
  .ocsh-watch-card{padding:18px!important;border-radius:22px!important;display:grid!important;gap:16px!important}
  .ocsh-watch-card__head{display:grid!important;gap:14px!important}
  .ocsh-watch-card__title{font-size:18px!important;line-height:1.35!important}
  .ocsh-watch-card__location{font-size:14px!important;line-height:1.45!important;margin-top:4px!important}
  .ocsh-watch-card__badges{display:flex!important;gap:10px!important;flex-wrap:wrap!important}
  .ocsh-watch-card__meta{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}
  .ocsh-watch-meta-pill{padding:14px!important;border-radius:16px!important;background:#fafafa!important;border:1px solid #edf2f7!important}
  .ocsh-watch-meta-pill strong{display:block!important;margin:0 0 6px!important;font-size:11px!important;letter-spacing:.08em!important;text-transform:uppercase!important;color:#98a2b3!important}
  .ocsh-watch-meta-pill em{display:block!important;font-style:normal!important;font-size:16px!important;font-weight:700!important;color:#101828!important}
}
@media (max-width: 560px){
  .ocsh-table td .ocsh-mobile-cell-label{padding-left:14px!important;padding-right:14px!important}
  .ocsh-table td .ocsh-mobile-cell-value{padding-left:14px!important;padding-right:14px!important}
  .ocsh-table td[data-label="Ticket"] .ocsh-mobile-cell-value,
  .ocsh-table td[data-label="Ticket No"] .ocsh-mobile-cell-value,
  .ocsh-table td[data-label="Name"] .ocsh-mobile-cell-value,
  .ocsh-table td[data-label="Hospital"] .ocsh-mobile-cell-value{font-size:16px!important}
}


/* v1.11.4 rollback mobile table restore */
@media (max-width: 900px){
  .ocsh-table-wrap,.of-table-wrap{
    overflow:auto!important;
    -webkit-overflow-scrolling:touch!important;
    background:#fff!important;
    border:1px solid #e8ecf2!important;
    border-radius:18px!important;
    margin:0!important;
  }
  .ocsh-table,.of-table-wrap .ocsh-table{
    display:table!important;
    width:100%!important;
    min-width:720px!important;
    border-collapse:collapse!important;
    border-spacing:0!important;
    table-layout:auto!important;
  }
  .ocsh-table thead{display:table-header-group!important;}
  .ocsh-table tbody{display:table-row-group!important;}
  .ocsh-table tr{
    display:table-row!important;
    background:transparent!important;
    border:none!important;
    box-shadow:none!important;
    padding:0!important;
    border-radius:0!important;
  }
  .ocsh-table th,.ocsh-table td{
    display:table-cell!important;
    width:auto!important;
    padding:12px 14px!important;
    vertical-align:top!important;
    border-bottom:1px solid #edf2f7!important;
    font-size:14px!important;
    line-height:1.45!important;
  }
  .ocsh-table td::before,.ocsh-table-wrap .ocsh-table td::before{content:none!important;display:none!important;}
  .ocsh-mobile-cell-label{display:none!important;}
  .ocsh-mobile-cell-value{display:contents!important;padding:0!important;color:inherit!important;font-size:inherit!important;line-height:inherit!important;}
  .ocsh-table td .of-btn,.ocsh-table td .of-btn-light{width:auto!important;min-height:40px!important;}
}

/* v1.11.5 standalone mobile view system */
@media (max-width: 900px){
  body.is-ocsh-mobile-view .of-content{
    padding-bottom:120px!important;
  }
  body.is-ocsh-mobile-view .ocsh-page,
  body.is-ocsh-mobile-view .ocsh-stack,
  body.is-ocsh-mobile-view .ocsh-panel-grid,
  body.is-ocsh-mobile-view .ocsh-list-form,
  body.is-ocsh-mobile-view .ocsh-utility-grid,
  body.is-ocsh-mobile-view .ocsh-profile-grid,
  body.is-ocsh-mobile-view .ocsh-split-shell,
  body.is-ocsh-mobile-view .ocsh-ticket-layout{
    grid-template-columns:1fr!important;
    gap:14px!important;
  }
  body.is-ocsh-mobile-view .of-onboard,
  body.is-ocsh-mobile-view .of-kpis{
    gap:12px!important;
  }
  body.is-ocsh-mobile-view .of-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  body.is-ocsh-mobile-view .of-kpi{min-height:112px!important;padding:16px!important;border-radius:20px!important;}
  body.is-ocsh-mobile-view .of-kpi-label{font-size:12px!important;}
  body.is-ocsh-mobile-view .of-kpi-value{font-size:26px!important;line-height:1.05!important;}
  body.is-ocsh-mobile-view .of-kpi-sub{font-size:12px!important;line-height:1.35!important;}

  body.is-ocsh-mobile-view .ocsh-table-wrap,
  body.is-ocsh-mobile-view .of-table-wrap{display:none!important;}
  body.is-ocsh-mobile-view .ocsh-mobile-list-view{display:grid!important;gap:12px;margin-top:8px;}
  body.is-ocsh-mobile-view .ocsh-mobile-list-view__toolbar{
    display:grid;gap:12px;padding:14px 14px 2px;
  }
  body.is-ocsh-mobile-view .ocsh-mobile-list-view__eyebrow{
    font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#98a2b3;margin-bottom:4px;
  }
  body.is-ocsh-mobile-view .ocsh-mobile-list-view__info h4{
    margin:0;font-size:18px;line-height:1.2;letter-spacing:-.02em;color:#101828;
  }
  body.is-ocsh-mobile-view .ocsh-mobile-list-view__info p{
    margin:6px 0 0;font-size:13px;line-height:1.45;color:#667085;
  }
  body.is-ocsh-mobile-view .ocsh-mobile-list-view__controls{
    display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border:1px solid #eaecf0;border-radius:16px;background:#fff;
  }
  body.is-ocsh-mobile-view .ocsh-mobile-list-view__controls label{
    font-size:12px;font-weight:700;color:#667085;
  }
  body.is-ocsh-mobile-view .ocsh-mobile-list-view__controls select{
    height:40px;min-width:76px;padding:0 12px;border:1px solid #d0d5dd;border-radius:12px;background:#fff;color:#101828;font-weight:700;
  }
  body.is-ocsh-mobile-view .ocsh-mobile-list-view__count{
    margin-left:auto;font-size:12px;font-weight:700;color:#667085;
  }
  body.is-ocsh-mobile-view .ocsh-mobile-list-view__cards{display:grid;gap:12px;}

  body.is-ocsh-mobile-view .ocsh-mobile-record{
    background:#fff;border:1px solid #eaecf0;border-radius:22px;padding:16px;box-shadow:0 10px 28px rgba(15,23,42,.06),0 2px 6px rgba(15,23,42,.05);display:grid;gap:14px;
  }
  body.is-ocsh-mobile-view .ocsh-mobile-record__head{display:grid;gap:12px;}
  body.is-ocsh-mobile-view .ocsh-mobile-record__kicker{font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#98a2b3;}
  body.is-ocsh-mobile-view .ocsh-mobile-record__title{font-size:17px;line-height:1.35;font-weight:800;color:#101828;word-break:break-word;}
  body.is-ocsh-mobile-view .ocsh-mobile-record__title a{color:inherit;text-decoration:none;}
  body.is-ocsh-mobile-view .ocsh-mobile-record__chips{display:flex;flex-wrap:wrap;gap:8px;}
  body.is-ocsh-mobile-view .ocsh-mobile-record__chip{display:inline-flex;align-items:center;gap:8px;padding:8px 10px;border-radius:999px;background:#f8fafc;border:1px solid #e5e7eb;font-size:12px;color:#475467;max-width:100%;}
  body.is-ocsh-mobile-view .ocsh-mobile-record__chip span{font-weight:700;color:#667085;}
  body.is-ocsh-mobile-view .ocsh-mobile-record__chip strong{font-weight:700;color:#101828;display:inline-flex;align-items:center;gap:6px;min-width:0;}
  body.is-ocsh-mobile-view .ocsh-mobile-record__chip .ocsh-chip{margin:0;}
  body.is-ocsh-mobile-view .ocsh-mobile-record__summary,
  body.is-ocsh-mobile-view .ocsh-mobile-record__detailsbody{display:grid;gap:12px;}
  body.is-ocsh-mobile-view .ocsh-mobile-record__field{display:grid;gap:6px;padding:12px;border-radius:16px;background:#f8fafc;border:1px solid #eef2f6;min-width:0;}
  body.is-ocsh-mobile-view .ocsh-mobile-record__label{font-size:11px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:#98a2b3;}
  body.is-ocsh-mobile-view .ocsh-mobile-record__value{font-size:14px;line-height:1.5;color:#101828;word-break:break-word;min-width:0;}
  body.is-ocsh-mobile-view .ocsh-mobile-record__value .ocsh-muted{display:block;margin-top:4px;font-size:12px;}
  body.is-ocsh-mobile-view .ocsh-mobile-record__details{border-top:1px solid #f2f4f7;padding-top:2px;}
  body.is-ocsh-mobile-view .ocsh-mobile-record__details summary{list-style:none;cursor:pointer;font-size:13px;font-weight:700;color:#c25b00;padding:4px 0;}
  body.is-ocsh-mobile-view .ocsh-mobile-record__details summary::-webkit-details-marker{display:none;}
  body.is-ocsh-mobile-view .ocsh-mobile-record__foot{display:flex;flex-wrap:wrap;gap:10px;padding-top:2px;}
  body.is-ocsh-mobile-view .ocsh-mobile-record__foot .of-btn,
  body.is-ocsh-mobile-view .ocsh-mobile-record__foot .of-btn-light,
  body.is-ocsh-mobile-view .ocsh-mobile-record__foot button{flex:1 1 auto;min-height:44px;justify-content:center;border-radius:14px;}

  body.is-ocsh-mobile-view .ocsh-watch-card{
    padding:16px!important;border-radius:22px!important;display:grid!important;gap:12px!important;
  }
  body.is-ocsh-mobile-view .ocsh-watch-card__head,
  body.is-ocsh-mobile-view .ocsh-watch-card__meta{display:grid!important;gap:10px!important;grid-template-columns:1fr!important;}
  body.is-ocsh-mobile-view .ocsh-watch-card__badges{display:flex!important;flex-wrap:wrap!important;gap:8px!important;}
  body.is-ocsh-mobile-view .ocsh-watch-meta-pill{padding:12px!important;border-radius:16px!important;}

  body.is-ocsh-mobile-view .ocsh-page-head,
  body.is-ocsh-mobile-view .of-card-head,
  body.is-ocsh-mobile-view .of-panel-head,
  body.is-ocsh-mobile-view .ocsh-module-head,
  body.is-ocsh-mobile-view .ocsh-table-toolbar{
    flex-direction:column!important;align-items:stretch!important;gap:10px!important;
  }
  body.is-ocsh-mobile-view .ocsh-search-inline,
  body.is-ocsh-mobile-view .ocsh-actions-row{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;}
  body.is-ocsh-mobile-view .ocsh-search-inline input,
  body.is-ocsh-mobile-view .ocsh-actions-row input,
  body.is-ocsh-mobile-view .ocsh-actions-row select,
  body.is-ocsh-mobile-view .ocsh-actions-row .of-btn,
  body.is-ocsh-mobile-view .ocsh-search-inline .of-btn{width:100%!important;min-width:0!important;}
}

@media (max-width: 560px){
  body.is-ocsh-mobile-view .of-kpis{grid-template-columns:1fr!important;}
  body.is-ocsh-mobile-view .ocsh-mobile-list-view__controls{flex-wrap:wrap;}
  body.is-ocsh-mobile-view .ocsh-mobile-list-view__count{width:100%;margin-left:0;}
}


/* v1.11.6 standalone mobile workspace + forms pass */
@media (max-width: 900px){
  body.is-ocsh-mobile-view .ocsh-module-head{padding:2px 2px 0!important;margin-bottom:6px!important;}
  body.is-ocsh-mobile-view .ocsh-module-head h3,
  body.is-ocsh-mobile-view .ocsh-page-head h2{font-size:22px!important;line-height:1.15!important;letter-spacing:-.03em!important;}
  body.is-ocsh-mobile-view .ocsh-page-head .ocsh-muted,
  body.is-ocsh-mobile-view .ocsh-module-head .ocsh-muted{font-size:13px!important;line-height:1.45!important;}

  body.is-ocsh-mobile-view .of-card,
  body.is-ocsh-mobile-view .of-panel,
  body.is-ocsh-mobile-view .ocsh-form-card,
  body.is-ocsh-mobile-view .ocsh-detail-card,
  body.is-ocsh-mobile-view .ocsh-report-panel,
  body.is-ocsh-mobile-view .ocsh-report-chart-card,
  body.is-ocsh-mobile-view .ocsh-report-kpi-card{
    border-radius:24px!important;
    padding:18px!important;
    box-shadow:0 14px 32px rgba(15,23,42,.08),0 2px 8px rgba(15,23,42,.05)!important;
  }

  body.is-ocsh-mobile-view .ocsh-form-card form,
  body.is-ocsh-mobile-view .ocsh-form-grid{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;}
  body.is-ocsh-mobile-view .ocsh-form-grid.is-3col{grid-template-columns:1fr!important;}
  body.is-ocsh-mobile-view .ocsh-field{display:grid;gap:7px;}
  body.is-ocsh-mobile-view .ocsh-field label{font-size:11px!important;font-weight:800!important;letter-spacing:.1em!important;text-transform:uppercase!important;color:#98a2b3!important;margin:0!important;}
  body.is-ocsh-mobile-view .ocsh-field input,
  body.is-ocsh-mobile-view .ocsh-field select,
  body.is-ocsh-mobile-view .ocsh-field textarea{
    min-height:50px!important;
    padding:13px 14px!important;
    border-radius:16px!important;
    background:#f8fafc!important;
    border:1px solid #e6ebf2!important;
    font-size:15px!important;
  }
  body.is-ocsh-mobile-view .ocsh-field textarea{min-height:120px!important;}
  body.is-ocsh-mobile-view .ocsh-form-note,
  body.is-ocsh-mobile-view .ocsh-table-caption{font-size:12px!important;line-height:1.5!important;}

  body.is-ocsh-mobile-view .ocsh-stacked-kv,
  body.is-ocsh-mobile-view .ocsh-stat-list,
  body.is-ocsh-mobile-view .ocsh-helper-list{gap:10px!important;}
  body.is-ocsh-mobile-view .ocsh-stacked-kv .ocsh-stat-item,
  body.is-ocsh-mobile-view .ocsh-stat-list .ocsh-stat-item,
  body.is-ocsh-mobile-view .ocsh-helper-item,
  body.is-ocsh-mobile-view .ocsh-detail-card .ocsh-detail-row{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:6px!important;
    align-items:start!important;
    padding:12px 14px!important;
    border:1px solid #eef2f6!important;
    border-radius:16px!important;
    background:#f8fafc!important;
    margin:0!important;
  }
  body.is-ocsh-mobile-view .ocsh-stacked-kv .ocsh-stat-item span:first-child,
  body.is-ocsh-mobile-view .ocsh-stat-list .ocsh-stat-item span:first-child,
  body.is-ocsh-mobile-view .ocsh-helper-item span,
  body.is-ocsh-mobile-view .ocsh-detail-card .ocsh-detail-row > span:first-child{
    font-size:11px!important;
    font-weight:800!important;
    letter-spacing:.1em!important;
    text-transform:uppercase!important;
    color:#98a2b3!important;
  }
  body.is-ocsh-mobile-view .ocsh-stacked-kv .ocsh-stat-item strong,
  body.is-ocsh-mobile-view .ocsh-stat-list .ocsh-stat-item strong,
  body.is-ocsh-mobile-view .ocsh-helper-item strong,
  body.is-ocsh-mobile-view .ocsh-detail-card .ocsh-detail-row strong{font-size:15px!important;line-height:1.4!important;color:#101828!important;}
  body.is-ocsh-mobile-view .ocsh-helper-item small,
  body.is-ocsh-mobile-view .ocsh-helper-item .ocsh-muted{font-size:12px!important;line-height:1.45!important;color:#667085!important;}

  body.is-ocsh-mobile-view .ocsh-mobile-more{margin-top:2px;border:1px solid #eef2f6;border-radius:18px;background:#fff;}
  body.is-ocsh-mobile-view .ocsh-mobile-more summary{list-style:none;cursor:pointer;padding:14px 16px;font-size:13px;font-weight:800;color:#c25b00;}
  body.is-ocsh-mobile-view .ocsh-mobile-more summary::-webkit-details-marker{display:none;}
  body.is-ocsh-mobile-view .ocsh-mobile-more__body{display:grid;gap:10px;padding:0 10px 10px;}

  body.is-ocsh-mobile-view .ocsh-ticket-hero,
  body.is-ocsh-mobile-view .ocsh-ticket-meta,
  body.is-ocsh-mobile-view .ocsh-ticket-badges,
  body.is-ocsh-mobile-view .ocsh-client-hospital-links,
  body.is-ocsh-mobile-view .ocsh-report-topbar,
  body.is-ocsh-mobile-view .ocsh-report-actions,
  body.is-ocsh-mobile-view .ocsh-report-card-head,
  body.is-ocsh-mobile-view .ocsh-report-mini-stats,
  body.is-ocsh-mobile-view .ocsh-report-mini-strip{
    display:grid!important;
    grid-template-columns:1fr!important;
    justify-content:stretch!important;
    gap:10px!important;
  }
  body.is-ocsh-mobile-view .ocsh-ticket-meta .ocsh-meta-box,
  body.is-ocsh-mobile-view .ocsh-report-mini-stats div,
  body.is-ocsh-mobile-view .ocsh-report-mini-strip div{width:100%!important;min-width:0!important;}
  body.is-ocsh-mobile-view .ocsh-ticket-badges .ocsh-chip,
  body.is-ocsh-mobile-view .ocsh-client-hospital-links .of-btn,
  body.is-ocsh-mobile-view .ocsh-report-range a,
  body.is-ocsh-mobile-view .ocsh-report-actions .of-btn{width:100%!important;justify-content:center!important;}
  body.is-ocsh-mobile-view .ocsh-ticket-meta{grid-template-columns:1fr!important;}
  body.is-ocsh-mobile-view .ocsh-time-card{padding:14px!important;border-radius:18px!important;}

  body.is-ocsh-mobile-view .ocsh-report-range{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;width:100%!important;}
  body.is-ocsh-mobile-view .ocsh-report-kpis,
  body.is-ocsh-mobile-view .ocsh-reports-kpis,
  body.is-ocsh-mobile-view .ocsh-report-bottom-grid,
  body.is-ocsh-mobile-view .ocsh-reports-list-grid{grid-template-columns:1fr!important;gap:12px!important;}
  body.is-ocsh-mobile-view .ocsh-reports-grid,
  body.is-ocsh-mobile-view .ocsh-reports-grid-bottom,
  body.is-ocsh-mobile-view .ocsh-report-main-grid,
  body.is-ocsh-mobile-view .ocsh-report-main-grid--secondary,
  body.is-ocsh-mobile-view .ocsh-report-grid,
  body.is-ocsh-mobile-view .ocsh-report-split,
  body.is-ocsh-mobile-view .ocsh-report-flex,
  body.is-ocsh-mobile-view .ocsh-report-flex-v2,
  body.is-ocsh-mobile-view .ocsh-report-donut-grid{grid-template-columns:1fr!important;gap:12px!important;}
  body.is-ocsh-mobile-view .ocsh-report-chart-card.small,
  body.is-ocsh-mobile-view .ocsh-report-chart-card{min-height:unset!important;}
  body.is-ocsh-mobile-view .ocsh-report-bars-compact{overflow-x:auto!important;justify-content:flex-start!important;padding-bottom:8px!important;}
  body.is-ocsh-mobile-view .ocsh-report-bars-compact__item{min-width:58px!important;}

  body.is-ocsh-mobile-view .ocsh-alert-grid,
  body.is-ocsh-mobile-view .ocsh-utility-grid,
  body.is-ocsh-mobile-view .ocsh-ops-full,
  body.is-ocsh-mobile-view .ocsh-ops-hero{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;}
  body.is-ocsh-mobile-view .ocsh-alert-card--rich,
  body.is-ocsh-mobile-view .ocsh-rank-row--rich,
  body.is-ocsh-mobile-view .ocsh-helper-item--rich{border-radius:18px!important;}

  body.is-ocsh-mobile-view.ocsh-mobile-page--settings .ocsh-form-stack,
  body.is-ocsh-mobile-view.ocsh-mobile-page--profile .ocsh-profile-grid > :last-child,
  body.is-ocsh-mobile-view.ocsh-mobile-page--hospital-profile .ocsh-panel-grid > :last-child{order:2;}
  body.is-ocsh-mobile-view.ocsh-mobile-page--ticket-view .ocsh-ticket-layout > :nth-child(2){order:1;}
  body.is-ocsh-mobile-view.ocsh-mobile-page--ticket-view .ocsh-ticket-layout > :first-child{order:2;}
  body.is-ocsh-mobile-view.ocsh-mobile-page--ticket-view .ocsh-ticket-layout > :last-child{order:3;}
}

@media (max-width: 560px){
  body.is-ocsh-mobile-view .ocsh-report-range{grid-template-columns:1fr!important;}
}

@media (max-width:900px){
  body.is-ocsh-mobile-view table.ocsh-mobile-source-hidden{display:none!important;}
  body.is-ocsh-mobile-view .ocsh-mobile-record--compact{gap:14px;padding:18px 16px;border-radius:22px;}
  body.is-ocsh-mobile-view .ocsh-mobile-record__body{display:grid;gap:10px;}
  body.is-ocsh-mobile-view .ocsh-mobile-record__meta{font-size:15px;line-height:1.45;color:#344054;word-break:break-word;}
  body.is-ocsh-mobile-view .ocsh-mobile-record__meta strong{color:#101828;}
  body.is-ocsh-mobile-view .ocsh-mobile-record__accent{color:#c25b00;font-weight:700;}
  body.is-ocsh-mobile-view .ocsh-mobile-record__foot--split{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-top:4px;border-top:1px solid #f2f4f7;}
  body.is-ocsh-mobile-view .ocsh-mobile-record__footleft{flex:0 0 auto;min-width:0;}
  body.is-ocsh-mobile-view .ocsh-mobile-record__footright{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex:1 1 auto;min-width:0;}
  body.is-ocsh-mobile-view .ocsh-mobile-record__foot--split .of-btn,
  body.is-ocsh-mobile-view .ocsh-mobile-record__foot--split .of-btn-light,
  body.is-ocsh-mobile-view .ocsh-mobile-record__foot--split button{flex:0 0 auto!important;min-width:110px;padding-inline:18px;border-radius:999px;min-height:42px;}
  body.is-ocsh-mobile-view .ocsh-mobile-record__footright .ocsh-chip,
  body.is-ocsh-mobile-view .ocsh-mobile-record__statuschip .ocsh-chip{margin:0;white-space:nowrap;}
  body.is-ocsh-mobile-view .ocsh-mobile-record__details{margin-top:-4px;}
  body.is-ocsh-mobile-view .of-panel > table.ocsh-mobile-source-hidden{display:none!important;}
  body.is-ocsh-mobile-view .of-panel > .ocsh-mobile-list-view{margin-top:0;}
}


/* search row normalization patch */
.ocsh-clients-search-form{grid-template-columns:minmax(420px,2.2fr) minmax(180px,1fr) minmax(180px,1fr) 160px 150px !important;}
.ocsh-clients-filters{display:contents !important;}
.ocsh-clients-search-form select,.ocsh-clients-search-form .of-btn{width:100%;min-width:0;}
.ocsh-hospital-filters-form{grid-template-columns:minmax(420px,2.2fr) minmax(170px,1fr) minmax(170px,1fr) minmax(170px,1fr) 160px 120px !important;}
.ocsh-hospital-filters-form .ocsh-clients-search-main{display:contents !important;}
.ocsh-hospital-filters-form input,.ocsh-hospital-filters-form select,.ocsh-hospital-filters-form .of-btn{width:100%;min-width:0;}
@media(max-width:1280px){.ocsh-hospital-filters-form,.ocsh-clients-search-form{grid-template-columns:1fr !important;}}


/* v1.11.6.5 search row normalization */
.ocsh-clients-search-form{
  display:grid !important;
  grid-template-columns:minmax(420px,2.4fr) minmax(190px,1fr) minmax(190px,1fr) 150px 150px !important;
  gap:12px !important;
  align-items:center !important;
}
.ocsh-clients-search-main,
.ocsh-clients-filters{display:contents !important;}
.ocsh-clients-search-form > *,
.ocsh-clients-filters > *{min-width:0; width:100%;}
.ocsh-clients-search-form select,
.ocsh-clients-search-form .of-btn{height:56px;}

.ocsh-hospital-filters-form{
  display:grid !important;
  grid-template-columns:minmax(420px,2.6fr) minmax(170px,1fr) minmax(170px,1fr) minmax(170px,1fr) 150px 120px !important;
  gap:12px !important;
  align-items:center !important;
}
.ocsh-hospital-filters-form .ocsh-clients-search-main{display:contents !important;}
.ocsh-hospital-filters-form > *,
.ocsh-hospital-filters-form .ocsh-clients-search-main > *{min-width:0; width:100%;}
.ocsh-hospital-filters-form select,
.ocsh-hospital-filters-form .of-btn{height:56px;}

@media(max-width:1280px){
  .ocsh-clients-search-form,
  .ocsh-hospital-filters-form{grid-template-columns:1fr !important;}
}


.ocfb-optional{font-weight:600;color:#98a2b3;font-size:.92em;}
.ocsh-mobile-more-link{position:relative;}
.ocsh-mobile-more-link .of-nav-badge{margin-left:auto;}


/* v1.12.3.1 ticket queue spacing polish */
.ocsh-ticket-queue-card .of-panel-head{
  margin-bottom:8px;
}
.ocsh-ticket-queue-card .of-panel-head > div:first-child .ocsh-muted{
  margin-top:4px !important;
  margin-bottom:0;
}
.ocsh-ticket-queue-card .ocsh-actions-row{
  align-items:center;
}
.ocsh-ticket-queue-card .of-table-wrap{
  margin-top:2px;
}
@media (max-width: 900px){
  .ocsh-ticket-queue-card .of-panel-head{
    margin-bottom:6px;
  }
}


/* v1.12.3.2 ticket filter to queue gap fix */
.ocsh-filter-card{
  margin-bottom:12px !important;
  padding-bottom:14px !important;
}
.ocsh-filter-card .of-panel-head{
  margin-bottom:12px !important;
}
.ocsh-filter-card .ocsh-ticket-filters,
.ocsh-filter-card .ocsh-form-grid,
.ocsh-filter-card .ocsh-actions-row{
  margin-bottom:0 !important;
}
.ocsh-filter-card + .ocsh-ticket-queue-card{
  margin-top:0 !important;
}
.ocsh-ticket-queue-card{
  margin-top:0 !important;
}
@media (max-width: 900px){
  .ocsh-filter-card{
    margin-bottom:10px !important;
    padding-bottom:12px !important;
  }
}


/* v1.12.3.3 tickets page spacing root-cause fix */
.ocsh-page.ocsh-tickets-page{
  gap:14px;
}
.ocsh-page.ocsh-tickets-page .ocsh-tickets-kpis{
  margin-bottom:0;
}
.ocsh-page.ocsh-tickets-page .ocsh-filter-card{
  margin-bottom:0 !important;
}
.ocsh-page.ocsh-tickets-page .ocsh-filter-card + .ocsh-ticket-queue-card{
  margin-top:0 !important;
}
@media (max-width: 900px){
  .ocsh-page.ocsh-tickets-page{
    gap:12px;
  }
}


/* v1.12.3.4 tickets filter structure rebuild */
.ocsh-page.ocsh-tickets-page .ocsh-filter-card{
  padding-bottom:20px !important;
}
.ocsh-page.ocsh-tickets-page .ocsh-ticket-filters{
  display:grid;
  gap:16px;
}
.ocsh-page.ocsh-tickets-page .ocsh-ticket-filters .ocsh-form-grid.is-3col{
  gap:18px;
  align-items:start;
}
.ocsh-page.ocsh-tickets-page .ocsh-ticket-filters__footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-top:0;
}
.ocsh-page.ocsh-tickets-page .ocsh-ticket-filters__check{
  display:flex;
  align-items:center;
  min-height:52px;
}
.ocsh-page.ocsh-tickets-page .ocsh-ticket-filters__check label{
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin:0;
  font-size:14px;
  font-weight:700;
  color:#344054;
}
.ocsh-page.ocsh-tickets-page .ocsh-ticket-filters__check input[type="checkbox"]{
  width:18px;
  height:18px;
  margin:0;
}
.ocsh-page.ocsh-tickets-page .ocsh-ticket-filters__actions{
  justify-content:flex-start;
  margin-top:0 !important;
}
.ocsh-page.ocsh-tickets-page .ocsh-ticket-filters__actions .of-btn{
  min-width:0;
}
@media (max-width: 980px){
  .ocsh-page.ocsh-tickets-page .ocsh-ticket-filters__footer{
    flex-direction:column;
    align-items:stretch;
  }
  .ocsh-page.ocsh-tickets-page .ocsh-ticket-filters__check{
    min-height:0;
  }
}


/* Matches module polish */
.ocsh-matches-head{display:block;margin-bottom:6px;}
.ocsh-matches-head__copy{max-width:760px;}
.ocsh-match-inline-status{display:inline-flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:14px;padding:8px 12px;border-radius:999px;border:1px solid #eaecf0;background:#fff;color:#344054;box-shadow:0 8px 18px rgba(16,24,40,.04);}
.ocsh-match-inline-status__dot{width:8px;height:8px;border-radius:999px;background:#98a2b3;box-shadow:0 0 0 4px rgba(152,162,179,.16);flex:none;}
.ocsh-match-inline-status__text{font-weight:800;font-size:13px;color:#101828;}
.ocsh-match-inline-status__meta{font-size:12px;color:#667085;}
.ocsh-match-inline-status.is-live{border-color:#a6f4c5;background:#ecfdf3;}
.ocsh-match-inline-status.is-live .ocsh-match-inline-status__dot{background:#12b76a;box-shadow:0 0 0 4px rgba(18,183,106,.16),0 0 14px rgba(18,183,106,.4);animation:ocshPulse 1.8s infinite;}
.ocsh-match-inline-status.is-live .ocsh-match-inline-status__text{color:#027a48;}
.ocsh-match-kpis{margin-top:8px;}
.ocsh-match-kpi{position:relative;overflow:hidden;min-height:150px;}
.ocsh-match-kpi::before{content:'';position:absolute;left:0;top:20px;bottom:20px;width:4px;border-radius:999px;background:#e5e7eb;}
.ocsh-match-kpi--possible::before{background:#f79009;}
.ocsh-match-kpi--client::before{background:#3b82f6;}
.ocsh-match-kpi--guest::before{background:#8b5cf6;}
.ocsh-match-kpi--merged::before{background:#12b76a;}
.ocsh-match-card{margin-top:14px;}
.ocsh-match-card-head{display:block;}
.ocsh-match-card-head__main{min-width:0;}
.ocsh-match-card-copy{margin:6px 0 0;color:#667085;font-size:14px;line-height:1.5;max-width:760px;}
.ocsh-match-toolbar{display:flex;justify-content:flex-end;align-items:center;gap:12px;margin:-4px 0 14px;}
.ocsh-match-card-status{display:inline-flex;align-items:center;gap:8px;padding:9px 12px;border-radius:999px;border:1px solid #eaecf0;background:#f8fafc;color:#344054;font-weight:700;font-size:12px;white-space:nowrap;max-width:100%;}
.ocsh-match-card-status__dot{width:8px;height:8px;border-radius:999px;background:#98a2b3;flex:none;}
.ocsh-match-card-status.is-live{background:#ecfdf3;color:#027a48;border-color:#a6f4c5;}
.ocsh-match-card-status.is-live .ocsh-match-card-status__dot{background:#12b76a;box-shadow:0 0 10px rgba(18,183,106,.5);}
.ocsh-match-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 14px;align-items:stretch;}
.ocsh-match-tab{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-radius:16px;border:1px solid #e7ebf0;background:#fff;color:#101828;text-decoration:none;box-shadow:0 8px 22px rgba(16,24,40,.04);transition:.18s ease;min-height:72px;min-width:0;overflow:hidden;}
.ocsh-match-tab:hover{transform:translateY(-1px);box-shadow:0 12px 26px rgba(16,24,40,.08);}
.ocsh-match-tab.is-active{background:linear-gradient(135deg,#111827 0%,#0f172a 100%);border-color:#111827;color:#fff;box-shadow:0 14px 30px rgba(17,24,39,.18);}
.ocsh-match-tab__title{display:block;min-width:0;flex:1 1 auto;font-weight:700;font-size:14px;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.ocsh-match-tab__count{display:inline-flex;align-items:center;justify-content:center;flex:none;min-width:30px;height:30px;padding:0 9px;border-radius:999px;background:#f2f4f7;color:#f97316;font-weight:800;font-size:12px;}
.ocsh-match-tab.is-active .ocsh-match-tab__count{background:rgba(255,255,255,.14);color:#fff;}
.ocsh-match-table-wrap{overflow:auto;padding-top:4px;}
.ocsh-match-table-wrap table{min-width:980px;}
.ocsh-empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:42px 20px;border:1px dashed #d0d5dd;border-radius:18px;background:linear-gradient(180deg,#fcfcfd 0%,#f8fafc 100%);min-height:220px;}
.ocsh-empty-state__icon{width:54px;height:54px;border-radius:16px;display:flex;align-items:center;justify-content:center;font-size:22px;color:#98a2b3;background:#fff;border:1px solid #eaecf0;box-shadow:0 8px 18px rgba(16,24,40,.06);margin-bottom:14px;}
.ocsh-empty-state h4{margin:0 0 8px;font-size:18px;color:#101828;}
.ocsh-empty-state p{margin:0;max-width:420px;color:#667085;line-height:1.6;font-size:14px;}

/* Top match indicator */
.of-match-indicator{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 12px;border-radius:999px;border:1px solid #e7ebf0;background:#fff;color:#101828;text-decoration:none;box-shadow:0 8px 18px rgba(16,24,40,.04);}
.of-match-indicator__dot{width:10px;height:10px;border-radius:999px;background:#98a2b3;box-shadow:0 0 0 5px rgba(152,162,179,.14);flex:none;}
.of-match-indicator__label{font-weight:700;font-size:13px;}
.of-match-indicator__count{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 7px;border-radius:999px;background:#f2f4f7;color:#344054;font-size:11px;font-weight:800;}
.of-match-indicator.is-live{border-color:#a6f4c5;background:#ecfdf3;color:#027a48;box-shadow:0 10px 22px rgba(18,183,106,.12);}
.of-match-indicator.is-live .of-match-indicator__dot{background:#12b76a;box-shadow:0 0 0 5px rgba(18,183,106,.16),0 0 14px rgba(18,183,106,.5);animation:ocshPulse 1.8s infinite;}
.of-match-indicator.is-live .of-match-indicator__count{background:rgba(18,183,106,.12);color:#027a48;}
@keyframes ocshPulse{0%{transform:scale(1);opacity:1}50%{transform:scale(1.08);opacity:.92}100%{transform:scale(1);opacity:1}}

@media (max-width: 1100px){
  .ocsh-match-tabs{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width: 720px){
  .ocsh-match-toolbar{justify-content:flex-start;margin:0 0 12px;}
  .ocsh-match-card-status{white-space:normal;line-height:1.35;border-radius:14px;}
  .ocsh-match-tabs{grid-template-columns:1fr;}
  .of-match-indicator{padding:0 12px;min-height:42px;}
  .of-match-indicator__label{display:none;}
  .ocsh-match-inline-status{width:100%;border-radius:16px;justify-content:flex-start;}
}


/* Matches workspace containment fix */
.ocsh-match-card{padding:0;}
.ocsh-match-card-inner{padding:22px 22px 18px;}
.ocsh-match-card-head,.ocsh-match-toolbar,.ocsh-match-tabs,.ocsh-match-table-wrap{padding-left:0;padding-right:0;margin-left:0;margin-right:0;}
.ocsh-match-table-wrap{padding-top:4px;border-top:1px dashed #e5e7eb;}
.ocsh-match-results{overflow:auto;border:1px solid #eef1f5;border-radius:18px;background:#fff;}
.ocsh-match-review-table{width:100%;min-width:1120px;border-collapse:separate;border-spacing:0;table-layout:fixed;}
.ocsh-match-review-table th,.ocsh-match-review-table td{padding:16px 14px;vertical-align:top;border-bottom:1px solid #eef1f5;text-align:left;}
.ocsh-match-review-table th{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#667085;font-weight:800;background:#f8fafc;white-space:nowrap;}
.ocsh-match-review-table tbody tr:last-child td{border-bottom:0;}
.ocsh-match-review-table td{font-size:14px;color:#101828;line-height:1.5;word-break:break-word;}
.ocsh-match-cell-stack{display:grid;gap:4px;}
.ocsh-match-cell-stack strong{font-weight:800;color:#101828;}
.ocsh-match-cell-stack span{font-size:13px;color:#667085;}
.ocsh-match-identity{display:grid;gap:4px;}
.ocsh-match-identity span{display:block;color:#344054;font-size:13px;overflow-wrap:anywhere;}
.ocsh-match-issue,.ocsh-match-reasons{color:#344054;overflow-wrap:anywhere;}
.ocsh-match-type-chip,.ocsh-match-score-chip,.ocsh-match-status-chip{display:inline-flex;align-items:center;justify-content:center;min-height:28px;padding:0 10px;border-radius:999px;font-size:12px;font-weight:800;white-space:nowrap;}
.ocsh-match-type-chip{background:#eef4ff;color:#1d4ed8;}
.ocsh-match-score-chip{background:#fff7ed;color:#ea580c;min-width:32px;}
.ocsh-match-status-chip{background:#f2f4f7;color:#344054;}
.ocsh-match-status-chip.is-pending_review{background:#fff7ed;color:#b54708;}
.ocsh-match-status-chip.is-linked,.ocsh-match-status-chip.is-client_match,.ocsh-match-status-chip.is-merged,.ocsh-match-status-chip.is-converted{background:#ecfdf3;color:#027a48;}
.ocsh-match-status-chip.is-guest{background:#f5f3ff;color:#6d28d9;}
.ocsh-match-status-chip.is-dismissed{background:#f2f4f7;color:#667085;}
@media (max-width: 900px){
  .ocsh-match-card-inner{padding:18px 18px 16px;}
}

.ocsh-match-results__toolbar{display:flex;justify-content:flex-end;align-items:center;gap:10px;padding:12px 14px;border-bottom:1px solid #eef1f5;}
.ocsh-match-notice{margin:12px 14px 0;padding:10px 12px;border-radius:12px;font-size:13px;font-weight:700;border:1px solid #d0d5dd;background:#f8fafc;color:#344054;}
.ocsh-match-notice.is-success{background:#ecfdf3;border-color:#a6f4c5;color:#027a48;}
.ocsh-match-notice.is-error{background:#fef3f2;border-color:#fecdca;color:#b42318;}
.ocsh-match-modal{position:fixed;inset:0;z-index:9999;display:none;}
.ocsh-match-modal.is-open{display:block;}
.ocsh-match-modal__backdrop{position:absolute;inset:0;background:rgba(15,23,42,.45);backdrop-filter:blur(2px);}
.ocsh-match-modal__dialog{position:relative;z-index:1;max-width:920px;width:min(920px,calc(100vw - 32px));max-height:calc(100vh - 48px);overflow:auto;margin:24px auto;background:#fff;border-radius:24px;border:1px solid #e7ebf0;box-shadow:0 22px 60px rgba(16,24,40,.24);padding:24px;}
.ocsh-match-modal__close{position:absolute;right:18px;top:16px;border:0;background:#f8fafc;color:#344054;border-radius:999px;width:36px;height:36px;font-size:24px;line-height:1;cursor:pointer;}
.ocsh-match-modal__head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding-right:46px;}
.ocsh-match-modal__head h3{margin:4px 0 6px;font-size:26px;line-height:1.2;}
.ocsh-match-modal__head p{margin:0;color:#667085;max-width:620px;}
.ocsh-match-modal__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:18px;}
.ocsh-match-modal__section{border:1px solid #eef1f5;border-radius:18px;padding:16px;background:#fcfcfd;}
.ocsh-match-modal__section--full{grid-column:1/-1;}
.ocsh-match-modal__section h4{margin:0 0 12px;font-size:15px;}
.ocsh-match-modal__section dl{display:grid;gap:10px;margin:0;}
.ocsh-match-modal__section dl div{display:grid;gap:4px;}
.ocsh-match-modal__section dt{font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#667085;}
.ocsh-match-modal__section dd{margin:0;color:#101828;overflow-wrap:anywhere;}
.ocsh-match-candidate{display:flex;justify-content:space-between;gap:16px;align-items:center;flex-wrap:wrap;}
.ocsh-match-candidate__label{display:block;font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#667085;margin-bottom:4px;}
.ocsh-match-modal__actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px;}
.ocsh-match-modal__actions form{margin:0;}
body.ocsh-modal-open{overflow:hidden;}
@media (max-width: 860px){
  .ocsh-match-modal__dialog{width:calc(100vw - 20px);margin:10px auto;padding:18px;border-radius:18px;}
  .ocsh-match-modal__grid{grid-template-columns:1fr;}
  .ocsh-match-modal__head{padding-right:40px;}
  .ocsh-match-modal__head h3{font-size:22px;}
}

.of-btn.of-btn-danger{border-color:#f04438;color:#f04438;background:#fff;}
.of-btn.of-btn-danger:hover{background:#fef3f2;color:#b42318;border-color:#f04438;}
.ocsh-inline-notice{margin:0 0 16px;padding:12px 14px;border-radius:14px;border:1px solid #d0d5dd;background:#fff;}
.ocsh-inline-notice.success{border-color:#abefc6;background:#ecfdf3;color:#027a48;}
.ocsh-inline-notice.error{border-color:#fecdca;background:#fef3f2;color:#b42318;}
