/* ══════════════════════════════════════════════════════════════
   PACIENTE 360 — CSS
   Prefijo:  p3-*
   Scope:    #lz-p360-root
   Tokens:   hereda lk-tokens.css
   Módulos:  layout · search · dashboard · hero · tabs · clinical
             notas · consent · mobile · print
   ══════════════════════════════════════════════════════════════ */

/* ── 0. ROOT & TOKENS ───────────────────────────────────────── */
#lz-p360-root {
  font-family: inherit;
  --mod-topbar-h: 52px;
  --p3-left-w: 320px;
  --p3-radius: 10px;
  --p3-gap: 12px;
  --p3-card-bg: var(--bg-card, #fff);
  --p3-border: var(--border-soft, #e2e8f0);
  --p3-brand: var(--c-brand, #7c3aed);
  --p3-tx: var(--tx-main, #0f172a);
  --p3-tx2: var(--tx-muted, #64748b);
  --p3-tx3: #94a3b8;
  --p3-bg: var(--bg-body, #f1f5f9);
  --p3-hover: #f8fafc;
  --p3-red: #dc2626;
  --p3-amber: #d97706;
  --p3-green: #16a34a;
  --p3-blue: #2563eb;
}

/* ── 1. LAYOUT ──────────────────────────────────────────────── */
.p3-root {
  display: flex;
  height: calc(100vh - var(--shell-topbar-h, 52px) - var(--mod-topbar-h));
  overflow: hidden;
  background: var(--p3-bg);
}

/* ── 2. LEFT PANEL ──────────────────────────────────────────── */
.p3-left {
  width: var(--p3-left-w);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  background: var(--p3-card-bg);
  border-right: 1px solid var(--p3-border);
  overflow: hidden;
}

.p3-search { padding: 16px 16px 8px; flex-shrink: 0; }
.p3-search-wrap { position: relative; }

.p3-search-icon {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--p3-tx3);
  pointer-events: none;
  line-height: 0;
}

.p3-search-input {
  width: 100%;
  padding: 8px 12px 8px 34px;
  border: 1px solid var(--p3-border);
  border-radius: 8px;
  font: 13px/1.4 inherit;
  background: var(--p3-bg);
  color: var(--p3-tx);
  outline: none;
  transition: border-color .15s;
  box-sizing: border-box;
}
.p3-search-input:focus { border-color: var(--p3-brand); }
.p3-search-input::placeholder { color: var(--p3-tx3); }

/* Filter pills */
.p3-filters-bar {
  display: flex;
  gap: 6px;
  padding: 4px 16px 8px;
  flex-shrink: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.p3-filters-bar::-webkit-scrollbar { display: none; }

.p3-filter-pill {
  padding: 3px 10px;
  border-radius: 9999px;
  border: 1px solid var(--p3-border);
  background: var(--p3-card-bg);
  font: 11px/1 inherit;
  font-weight: 500;
  color: var(--p3-tx2);
  cursor: pointer;
  white-space: nowrap;
  transition: all .12s;
}
.p3-filter-pill:hover { border-color: var(--p3-brand); color: var(--p3-brand); }
.p3-filter-pill--on {
  background: rgba(124, 58, 237, .08);
  border-color: var(--p3-brand);
  color: var(--p3-brand);
  font-weight: 600;
}

.p3-section-label {
  font: 600 10px/1 inherit;
  color: var(--p3-tx3);
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 6px 16px 2px;
  flex-shrink: 0;
}

/* ── 3. PATIENT LIST ────────────────────────────────────────── */
.p3-list {
  flex: 1;
  overflow-y: auto;
  padding: 0 8px 8px;
  scrollbar-width: thin;
}

.p3-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  border: 1px solid transparent;
  margin-bottom: 2px;
  transition: background .1s, border-color .1s;
}
.p3-card:hover { background: var(--p3-hover); }
.p3-card--on {
  background: rgba(124, 58, 237, .06);
  border-color: rgba(124, 58, 237, .25);
}

.p3-card-info { flex: 1; min-width: 0; }
.p3-card-name {
  font: 600 13px/1.3 inherit;
  color: var(--p3-tx);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.p3-card-rut { font-size: 11px; color: var(--p3-tx2); }
.p3-card-badges { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; flex-shrink: 0; }

/* ── 4. AVATAR ──────────────────────────────────────────────── */
.p3-avatar {
  flex-shrink: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1;
}

/* ── 5. BADGES ──────────────────────────────────────────────── */
.p3-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 9999px;
  font: 600 11px/1.3 inherit;
  white-space: nowrap;
  letter-spacing: .01em;
  border: 1px solid transparent;
}
.p3-badge--green  { background: #dcfce7; color: #166534; border-color: #bbf7d0; }
.p3-badge--orange { background: #fff7ed; color: #9a3412; border-color: #fed7aa; }
.p3-badge--red    { background: #fef2f2; color: #991b1b; border-color: #fecaca; }
.p3-badge--blue   { background: #eff6ff; color: #1e40af; border-color: #bfdbfe; }
.p3-badge--purple { background: #f5f3ff; color: #5b21b6; border-color: #ddd6fe; }
.p3-badge--muted  { background: var(--p3-bg); color: var(--p3-tx2); border-color: var(--p3-border); }

/* ── 6. RIGHT PANEL ─────────────────────────────────────────── */
.p3-right {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
  min-width: 0;
  scrollbar-width: thin;
}

.p3-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--p3-tx3);
  font-size: 14px;
}

/* ══════════════════════════════════════════════════════════════
   7. DASHBOARD — Command Center
   ══════════════════════════════════════════════════════════════ */
.p3-dash { display: flex; flex-direction: column; gap: var(--p3-gap); }

/* KPI row */
.p3-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.p3-kpi {
  background: var(--p3-card-bg);
  border: 1px solid var(--p3-border);
  border-radius: var(--p3-radius);
  padding: 14px 16px;
}
.p3-kpi-header {
  display: flex;
  align-items: center;
  gap: 5px;
  font: 600 10px/1 inherit;
  color: var(--p3-tx3);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 4px;
}
.p3-kpi-dot {
  width: 6px;
  height: 6px;
  border-radius: 2px;
  flex-shrink: 0;
}
.p3-kpi-value {
  font: 700 24px/1.1 inherit;
  color: var(--p3-tx);
}
.p3-kpi-sub {
  font-size: 11px;
  color: var(--p3-tx3);
  margin-top: 2px;
}

/* Sparkline */
.p3-spark { display: block; margin-top: 2px; }

/* Two-column grid (agenda + alertas, timeline + dx) */
.p3-dash-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--p3-gap);
}
.p3-dash-row--wide { grid-template-columns: 1.4fr 1fr; }

/* Section card (agenda hoy, alertas, timeline, dx) */
.p3-section {
  background: var(--p3-card-bg);
  border: 1px solid var(--p3-border);
  border-radius: var(--p3-radius);
  padding: 16px;
}
.p3-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.p3-section-title {
  font: 700 13px/1.3 inherit;
  color: var(--p3-tx);
}

/* Agenda hoy row */
.p3-agenda-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--p3-hover);
  cursor: pointer;
  margin-bottom: 6px;
  transition: background .1s;
}
.p3-agenda-row:last-child { margin-bottom: 0; }
.p3-agenda-row:hover { background: var(--p3-bg); }
.p3-agenda-hora {
  font: 600 13px/1 inherit;
  color: var(--p3-brand);
  width: 42px;
  flex-shrink: 0;
}
.p3-agenda-info { flex: 1; min-width: 0; }
.p3-agenda-name {
  font: 600 13px/1.3 inherit;
  color: var(--p3-tx);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.p3-agenda-dx { font-size: 11px; color: var(--p3-tx2); }
.p3-agenda-badges { display: flex; gap: 3px; flex-shrink: 0; }

/* Semáforo */
.p3-sem-row {
  display: flex;
  gap: 8px;
}
.p3-sem-count {
  display: flex;
  align-items: center;
  gap: 4px;
  font: 600 12px/1 inherit;
}

.p3-sem-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.p3-sem-dot--sm { width: 8px; height: 8px; }

/* Alert card */
.p3-alert {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 8px;
  margin-bottom: 6px;
  cursor: pointer;
  transition: opacity .1s;
}
.p3-alert:hover { opacity: .85; }
.p3-alert:last-child { margin-bottom: 0; }
.p3-alert--red    { background: #fef2f2; border: 1px solid #fecaca; }
.p3-alert--amber  { background: #fffbeb; border: 1px solid #fef3c7; }

.p3-alert-name { font: 600 13px/1.3 inherit; }
.p3-alert-reason { font-size: 11px; }
.p3-alert--red .p3-alert-name   { color: #991b1b; }
.p3-alert--red .p3-alert-reason { color: #b91c1c; }
.p3-alert--amber .p3-alert-name   { color: #92400e; }
.p3-alert--amber .p3-alert-reason { color: #a16207; }

.p3-alert-more {
  font: 500 12px/1 inherit;
  color: var(--p3-amber);
  text-align: center;
  cursor: pointer;
  padding: 4px;
}

/* Timeline activity */
.p3-act-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  border-radius: 6px;
}
.p3-act-time {
  font-size: 11px;
  color: var(--p3-tx3);
  width: 86px;
  flex-shrink: 0;
}
.p3-act-text {
  font-size: 12px;
  color: #334155;
  flex: 1;
}
.p3-act-patient {
  font: 500 12px/1 inherit;
  color: var(--p3-tx2);
}

/* Diagnósticos chart */
.p3-dx-item { margin-bottom: 10px; }
.p3-dx-item:last-child { margin-bottom: 0; }
.p3-dx-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3px;
}
.p3-dx-label { font: 500 12px/1.3 inherit; color: #475569; }
.p3-dx-count { font: 600 12px/1 inherit; color: var(--p3-tx3); }
.p3-dx-track {
  height: 6px;
  background: var(--p3-bg);
  border-radius: 3px;
  overflow: hidden;
}
.p3-dx-fill {
  height: 100%;
  border-radius: 3px;
  background: var(--p3-brand);
  transition: width .3s;
}

/* Quick actions */
.p3-quick-actions {
  display: flex;
  gap: 10px;
}
.p3-quick-btn {
  flex: 1;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--p3-border);
  background: var(--p3-card-bg);
  font: 500 12px/1.3 inherit;
  color: var(--p3-tx2);
  cursor: pointer;
  transition: border-color .12s, color .12s;
  text-align: center;
}
.p3-quick-btn:hover {
  border-color: var(--p3-brand);
  color: var(--p3-brand);
}

/* ══════════════════════════════════════════════════════════════
   8. HERO CARD (patient selected)
   ══════════════════════════════════════════════════════════════ */
.p3-hero {
  background: var(--p3-card-bg);
  border-radius: var(--p3-radius);
  border: 1px solid var(--p3-border);
  padding: 20px 24px;
  margin-bottom: 16px;
}
.p3-hero-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}
.p3-hero-info { flex: 1; min-width: 0; }
.p3-hero-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.p3-hero-name { font: 700 18px/1.2 inherit; color: var(--p3-tx); margin: 0; }
.p3-hero-meta {
  display: flex;
  gap: 16px;
  margin-top: 6px;
  font-size: 13px;
  color: var(--p3-tx2);
  flex-wrap: wrap;
}
.p3-hero-actions { display: flex; gap: 8px; flex-shrink: 0; }

/* Visibles progress */
.p3-visi-row { margin-top: 8px; display: flex; align-items: center; gap: 8px; }
.p3-visi-label { font: 600 11px/1 inherit; color: var(--p3-brand); }
.p3-visi-track {
  flex: 1;
  max-width: 120px;
  height: 4px;
  background: var(--p3-border);
  border-radius: 2px;
  overflow: hidden;
}
.p3-visi-fill {
  height: 100%;
  border-radius: 2px;
  background: var(--p3-brand);
  transition: width .3s;
}
.p3-visi-fill--full { background: var(--p3-red); }

/* ── 9. TABS ────────────────────────────────────────────────── */
.p3-tabs {
  display: flex;
  border-bottom: 1px solid var(--p3-border);
  margin-bottom: 16px;
  overflow-x: auto;
  scrollbar-width: none;
}
.p3-tabs::-webkit-scrollbar { display: none; }

.p3-tab {
  padding: 10px 18px;
  font: 400 13px/1 inherit;
  color: var(--p3-tx2);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: color .12s, border-color .12s;
  position: relative;
}
.p3-tab:hover { color: var(--p3-tx); }
.p3-tab--on {
  font-weight: 600;
  color: var(--p3-brand);
  border-bottom-color: var(--p3-brand);
}
.p3-tab-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--p3-red);
  display: inline-block;
  margin-left: 6px;
  vertical-align: middle;
}

/* Tab body */
.p3-tab-body {
  background: var(--p3-card-bg);
  border-radius: var(--p3-radius);
  border: 1px solid var(--p3-border);
  padding: 20px;
}

/* ── 10. DATOS PERSONALES ───────────────────────────────────── */
.p3-datos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 32px;
}
.p3-datos-section {
  font: 600 12px/1 inherit;
  color: var(--p3-tx2);
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--p3-bg);
}
.p3-field-ro { margin-bottom: 14px; }
.p3-field-label {
  font: 600 10px/1 inherit;
  color: var(--p3-tx3);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 3px;
}
.p3-field-value { font: 500 14px/1.3 inherit; color: var(--p3-tx); }

/* Tutor box */
.p3-tutor {
  margin-top: 16px;
  padding: 16px;
  background: #fffbeb;
  border: 1px solid #fef3c7;
  border-radius: var(--p3-radius);
}
.p3-tutor-title {
  font: 600 12px/1.3 inherit;
  color: #92400e;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.p3-tutor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 24px; }
.p3-tutor-label { font: 600 10px/1 inherit; color: #92400e; text-transform: uppercase; letter-spacing: .06em; opacity: .7; margin-bottom: 2px; }
.p3-tutor-val { font: 500 13px/1.3 inherit; color: #78350f; }

/* ── 11. HISTORIA CLÍNICA — Timeline ────────────────────────── */
.p3-dx-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.p3-dx-row-label {
  font: 600 11px/1 inherit;
  color: var(--p3-tx3);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.p3-clin-filters {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.p3-filter-sel {
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid var(--p3-border);
  font: 400 12px/1 inherit;
  color: var(--p3-tx2);
  background: var(--p3-card-bg);
  cursor: pointer;
}

.p3-timeline { position: relative; padding-left: 24px; }
.p3-tl-line {
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--p3-border);
}
.p3-tl-entry { position: relative; margin-bottom: 12px; cursor: pointer; }

.p3-tl-dot {
  position: absolute;
  left: -20px;
  top: 16px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--p3-card-bg);
  z-index: 1;
}
.p3-tl-dot--signed  { background: var(--p3-brand); }
.p3-tl-dot--pending { background: var(--p3-amber); }

.p3-tl-card {
  background: var(--p3-card-bg);
  border: 1px solid var(--p3-border);
  border-radius: var(--p3-radius);
  padding: 14px 16px;
  transition: border-color .12s;
}
.p3-tl-entry:hover .p3-tl-card { border-color: rgba(124, 58, 237, .3); }

.p3-tl-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.p3-tl-id { font: 700 13px/1 inherit; color: var(--p3-tx); }
.p3-tl-prof { font-size: 12px; color: var(--p3-tx2); margin: 3px 0; }
.p3-tl-dx { font-size: 12px; color: #475569; }
.p3-tl-date { font-size: 12px; color: var(--p3-tx3); white-space: nowrap; flex-shrink: 0; }
.p3-tl-signed { color: var(--p3-brand); line-height: 0; flex-shrink: 0; }

/* ── 12. NOTAS ──────────────────────────────────────────────── */
.p3-nota-new-btn {
  width: 100%;
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px dashed #cbd5e1;
  background: var(--p3-hover);
  font: 500 13px/1.3 inherit;
  color: var(--p3-brand);
  cursor: pointer;
  margin-bottom: 16px;
  transition: border-color .15s;
}
.p3-nota-new-btn:hover { border-color: var(--p3-brand); }

.p3-nota-editor {
  background: var(--p3-card-bg);
  border: 1px solid rgba(124, 58, 237, .3);
  border-radius: var(--p3-radius);
  padding: 16px;
  margin-bottom: 16px;
}
.p3-nota-textarea {
  width: 100%;
  border: 1px solid var(--p3-border);
  border-radius: 6px;
  padding: 10px;
  font: 400 13px/1.5 inherit;
  color: var(--p3-tx);
  resize: vertical;
  outline: none;
  box-sizing: border-box;
  min-height: 72px;
}
.p3-nota-textarea:focus { border-color: var(--p3-brand); }
.p3-nota-actions { display: flex; gap: 8px; margin-top: 8px; justify-content: flex-end; }

.p3-nota-card {
  background: var(--p3-card-bg);
  border: 1px solid var(--p3-border);
  border-radius: var(--p3-radius);
  padding: 14px 16px;
  margin-bottom: 10px;
}
.p3-nota-head { display: flex; justify-content: space-between; margin-bottom: 6px; }
.p3-nota-author { font: 600 12px/1 inherit; color: var(--p3-tx2); }
.p3-nota-date { font-size: 11px; color: var(--p3-tx3); }
.p3-nota-text { font: 400 13px/1.55 inherit; color: #334155; margin: 0; }

/* ── 13. CONSENTIMIENTO ─────────────────────────────────────── */
.p3-consent-status {
  border-radius: var(--p3-radius);
  padding: 24px;
  text-align: center;
  margin-bottom: 20px;
}
.p3-consent-status--ok      { background: #f0fdf4; border: 1px solid #bbf7d0; }
.p3-consent-status--no      { background: #fef2f2; border: 1px solid #fecaca; }
.p3-consent-status--pending { background: #fff7ed; border: 1px solid #fed7aa; }

.p3-consent-icon { margin-bottom: 8px; line-height: 0; }
.p3-consent-title { font: 700 18px/1.2 inherit; margin-bottom: 4px; }
.p3-consent-title--ok  { color: #166534; }
.p3-consent-title--no  { color: #991b1b; }
.p3-consent-title--pen { color: #9a3412; }
.p3-consent-desc { font-size: 13px; }
.p3-consent-desc--ok  { color: #15803d; }
.p3-consent-desc--no  { color: #b91c1c; }
.p3-consent-desc--pen { color: #c2410c; }
.p3-consent-btns { margin-top: 16px; display: flex; gap: 10px; justify-content: center; }

/* Consent history */
.p3-hist-title { font: 600 12px/1 inherit; color: var(--p3-tx2); margin-bottom: 12px; }
.p3-hist-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: var(--p3-hover);
  border-radius: 8px;
  margin-bottom: 6px;
}
.p3-hist-text { flex: 1; font-size: 13px; color: #334155; }
.p3-hist-time { font-size: 11px; color: var(--p3-tx3); white-space: nowrap; }

/* ── 14. BUTTONS ────────────────────────────────────────────── */
.p3-btn {
  padding: 7px 14px;
  border-radius: 7px;
  font: 500 12px/1.3 inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: opacity .12s;
}
.p3-btn:hover { opacity: .85; }
.p3-btn--primary {
  border: none;
  background: var(--p3-brand);
  color: #fff;
  font-weight: 600;
}
.p3-btn--ghost {
  border: 1px solid var(--p3-border);
  background: var(--p3-card-bg);
  color: var(--p3-tx2);
}

/* ── 15. LOADING ────────────────────────────────────────────── */
.p3-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  color: var(--p3-tx3);
  font-size: 13px;
  gap: 8px;
}

/* ══════════════════════════════════════════════════════════════
   16. MOBILE
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .p3-left { width: 100%; border-right: none; }
  .p3-right { padding: 12px; }

  /* Hero */
  .p3-hero { padding: 16px; }
  .p3-hero-head { flex-direction: column; gap: 12px; }
  .p3-hero-actions { width: 100%; }
  .p3-hero-actions .p3-btn { flex: 1; justify-content: center; }

  /* KPIs stack 2x2 */
  .p3-kpis { grid-template-columns: 1fr 1fr; }

  /* Dashboard rows stack */
  .p3-dash-row,
  .p3-dash-row--wide { grid-template-columns: 1fr; }

  /* Quick actions stack */
  .p3-quick-actions { flex-direction: column; }

  /* Datos */
  .p3-datos-grid { grid-template-columns: 1fr; }
  .p3-tutor-grid { grid-template-columns: 1fr; }
  .p3-tab-body { padding: 16px; }

  /* Mobile back button */
  .p3-mob-back {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    color: var(--p3-brand);
    font: 500 13px/1 inherit;
    cursor: pointer;
    padding: 0;
    margin-bottom: 12px;
  }
}

@media (min-width: 769px) {
  .p3-mob-back { display: none; }
}

/* ══ 17. PRINT ═══════════════════════════════════════════════ */
@media print {
  .p3-left, .p3-search, .p3-tabs, .p3-filters-bar,
  .p3-quick-actions, .p3-mob-back { display: none !important; }
  .p3-right { overflow: visible !important; padding: 0 !important; }
  .p3-hero, .p3-tab-body, .p3-section, .p3-kpi {
    box-shadow: none !important;
    border: 1px solid #ccc !important;
  }
}
