/* Additive history styles; original 1.10.7 dashboard styles are unchanged. */
.slu-history-view{padding:20px 0 32px}.slu-history-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin:0 0 22px}.slu-history-head h2{margin:6px 0 5px;font-size:clamp(1.45rem,2.5vw,2rem)}.slu-history-head p{margin:0;color:#637487}.slu-history-readonly{white-space:nowrap;padding:8px 12px;border-radius:999px;background:#eef2f6;color:#4a5868;font-size:12px;font-weight:700}.slu-history-layout{display:grid;grid-template-columns:minmax(245px,310px) minmax(0,1fr);gap:18px;align-items:start}.slu-history-sidebar,.slu-history-main{min-width:0;background:#fff;border:1px solid #e1e8ee;border-radius:16px;padding:19px;box-shadow:0 6px 28px rgba(24,42,61,.05)}.slu-history-search-form label{display:block;margin:0 0 10px;font-size:13px;font-weight:700;color:#263b50}.slu-history-search-line{display:flex;gap:7px}.slu-history-search-line input{width:100%;min-width:0;padding:10px 12px;border:1px solid #d5dfe7;border-radius:9px;background:#fff;color:#243b53}.slu-history-hint{font-size:12px;color:#728094;line-height:1.5}.slu-history-status{padding:9px 0;color:#65798b;font-size:13px;line-height:1.55}.slu-history-status.is-error{color:#bd3232}.slu-history-installations{max-height:550px;overflow:auto;display:flex;flex-direction:column;gap:6px}.slu-history-lift{appearance:none;width:100%;display:flex;flex-direction:column;text-align:left;gap:3px;border:1px solid #e5ebf0;border-radius:10px;padding:11px;background:#fafcfe;color:#243b53;cursor:pointer}.slu-history-lift strong{font-size:15px}.slu-history-lift span{font-size:12px;color:#75859a}.slu-history-lift:hover,.slu-history-lift:focus-visible{border-color:#7394b5;background:#f2f7fb}.slu-history-lift.is-selected{border-color:#226a9c;background:#edf5fb}.slu-history-more{margin-top:12px;width:100%}.slu-history-main{min-height:350px}.slu-history-selected{border-bottom:1px solid #e6edf3;margin-bottom:12px;padding-bottom:15px}.slu-history-selected h3{font-size:1.45rem;margin:3px 0 5px}.slu-history-selected p{color:#687a8b;margin:0}.slu-history-projects{display:flex;flex-direction:column;gap:8px}.slu-history-case{appearance:none;border:1px solid #e3e9f0;border-radius:12px;padding:14px;display:flex;align-items:center;gap:14px;background:#fff;color:#243b53;text-align:left;cursor:pointer;min-width:0}.slu-history-case:hover,.slu-history-case:focus-visible{border-color:#5d94bd;background:#f7fbff}.slu-history-case-main{min-width:0;flex:1;display:flex;flex-direction:column;gap:5px}.slu-history-case-main strong{font-size:14px;line-height:1.35;overflow-wrap:anywhere}.slu-history-case-main span{font-size:12px;color:#708095}.slu-history-case-tags{display:flex;flex-wrap:wrap;gap:5px;justify-content:flex-end}.slu-history-label{display:inline-block;border-radius:999px;background:#eef2f7;padding:5px 9px;font-size:11px;font-weight:700;color:#465b6e;white-space:nowrap}.slu-history-label.is-external{background:#eaf5ef;color:#24734c}.slu-history-arrow{font-size:24px;color:#7594aa}.slu-history-empty{margin:12px 0;color:#718093;font-size:13px;line-height:1.5}.slu-history-detail{border-top:2px solid #c8dae7;margin-top:22px;padding-top:20px}.slu-history-detail-top{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.slu-history-detail-top h3{font-size:1.35rem;margin:6px 0 12px;overflow-wrap:anywhere}.slu-history-detail-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 14px;padding:16px;background:#f5f8fb;border-radius:12px;font-size:13px}.slu-history-detail-facts span{display:flex;flex-direction:column;gap:3px;overflow-wrap:anywhere}.slu-history-detail-facts b{font-size:11px;text-transform:uppercase;color:#6f7f8f}.slu-history-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 22px;margin-top:16px}.slu-history-detail-grid>section{min-width:0}.slu-history-detail-grid h4{margin:8px 0 11px;font-size:15px}.slu-history-pre{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.55;margin:7px 0;color:#394a5c}.slu-history-entry-list{display:flex;flex-direction:column;gap:8px;max-height:400px;overflow-y:auto}.slu-history-entry{padding:11px;border:1px solid #e7edf1;border-radius:10px;background:#fcfdff;overflow-wrap:anywhere}.slu-history-entry strong{font-size:13px;display:block}.slu-history-entry small{display:block;color:#748293;margin-top:3px}.slu-history-hours{font-size:1.25rem;font-weight:700;margin:0 0 12px;color:#246a92}.slu-history-file-list{list-style:none;margin:0;padding:0}.slu-history-file-list li{padding:9px 0;border-bottom:1px solid #edf1f5;overflow-wrap:anywhere}.slu-history-file-list a{color:#136ba2;text-decoration:underline;text-underline-offset:2px}.slu-history-warnings{margin-top:16px;padding:10px 12px;background:#fff8ed;border:1px solid #f1deb8;border-radius:9px;color:#7c5919;font-size:12px}.slu-history-view [hidden]{display:none!important}
@media(max-width:900px){.slu-history-layout{grid-template-columns:1fr}.slu-history-installations{max-height:250px}.slu-history-detail-facts{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.slu-history-head{flex-direction:column}.slu-history-sidebar,.slu-history-main{padding:13px}.slu-history-case{align-items:flex-start;flex-wrap:wrap}.slu-history-case-tags{justify-content:flex-start}.slu-history-detail-grid{grid-template-columns:1fr}.slu-history-detail-facts{grid-template-columns:1fr 1fr}}

/* v1.10.9: Side-by-side desktop history, neutral search results, no page jump. */
.slu-mobilplan-dashboard .slu-history-view .slu-history-layout {
  grid-template-columns: minmax(205px,250px) minmax(0,1fr);
  gap: 14px;
}
.slu-mobilplan-dashboard .slu-history-view .slu-history-main {
  min-width: 0;
  padding: 14px;
}
.slu-mobilplan-dashboard .slu-history-view .slu-history-two-pane {
  display:grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.4fr);
  gap: 14px;
  align-items:start;
}
.slu-mobilplan-dashboard .slu-history-view .slu-history-cases-panel,
.slu-mobilplan-dashboard .slu-history-view .slu-history-detail-panel {
  min-width:0;
}
.slu-mobilplan-dashboard .slu-history-view .slu-history-detail-panel {
  border: 1px solid #e3e9ef;
  border-radius: 12px;
  background: #fcfdfd;
  padding: 16px;
  min-height: 280px;
  position: sticky;
  top: 16px;
  max-height: min(85vh, 1200px);
  overflow-y: auto;
}
.slu-mobilplan-dashboard .slu-history-view .slu-history-panel-heading {
  color: #344859;
  font-size: 13px;
  font-weight: 800;
  margin: 3px 0 7px;
}
.slu-mobilplan-dashboard .slu-history-view .slu-history-detail {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.slu-mobilplan-dashboard .slu-history-view .slu-history-detail-placeholder {
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap: 10px;
  text-align:center;
  min-height: 238px;
  color: #546879;
  padding: 20px;
}
.slu-mobilplan-dashboard .slu-history-view .slu-history-detail-placeholder strong { font-size: 16px; color:#29465a; }
.slu-mobilplan-dashboard .slu-history-view .slu-history-detail-placeholder p { font-size: 13px; line-height: 1.55; margin: 0; }
.slu-mobilplan-dashboard .slu-history-view .slu-history-placeholder-symbol { font-size: 29px; }
.slu-mobilplan-dashboard .slu-history-view .slu-history-detail-facts { grid-template-columns: repeat(2, minmax(0,1fr)); }
.slu-mobilplan-dashboard .slu-history-view .slu-history-detail-grid { grid-template-columns: 1fr; gap: 12px; }
.slu-mobilplan-dashboard .slu-history-view .slu-history-search-line input {
  border:1px solid #cbd8e1 !important;
  background:#fff !important;
  color:#243b53 !important;
  box-shadow:none !important;
}
.slu-mobilplan-dashboard .slu-history-view .slu-history-search-line input:focus {
  border-color:#7396ae !important;
  box-shadow: 0 0 0 3px rgba(20,84,123,.12) !important;
  outline: none !important;
}
.slu-mobilplan-dashboard .slu-history-view button.slu-history-lift,
.slu-mobilplan-dashboard .slu-history-view button.slu-history-case {
  display:flex !important;
  background:#fff !important;
  background-image:none !important;
  color:#2d4556 !important;
  border:1px solid #dde6ec !important;
  box-shadow:none !important;
  text-transform:none !important;
  font-family:inherit !important;
  letter-spacing:normal !important;
  font-size:inherit !important;
  text-align:left !important;
  cursor:pointer !important;
}
.slu-mobilplan-dashboard .slu-history-view button.slu-history-lift { flex-direction:column !important; }
.slu-mobilplan-dashboard .slu-history-view button.slu-history-lift:hover,
.slu-mobilplan-dashboard .slu-history-view button.slu-history-case:hover {
  border-color:#9eb8c8 !important;
  background:#f6f9fb !important;
  color:#20435a !important;
}
.slu-mobilplan-dashboard .slu-history-view button.slu-history-lift.is-selected,
.slu-mobilplan-dashboard .slu-history-view button.slu-history-case.is-selected {
  border-color:#3f829c !important;
  background:#eef6f8 !important;
  box-shadow:inset 3px 0 0 #246986 !important;
}
.slu-mobilplan-dashboard .slu-history-view button.slu-history-case {
  width:100%;
  flex-wrap:wrap;
  padding:12px !important;
  gap:7px;
}
.slu-mobilplan-dashboard .slu-history-view .slu-history-case-tags { justify-content:flex-start; width:100%; }
.slu-mobilplan-dashboard .slu-history-view .slu-history-arrow { margin-left:auto; }
.slu-mobilplan-dashboard .slu-history-view button.slu-history-search-submit {
  min-width:68px;
  border:1px solid #14547b !important;
  border-radius:9px !important;
  color:#fff !important;
  background:#14547b !important;
  background-image:none !important;
  box-shadow:none !important;
}
.slu-mobilplan-dashboard .slu-history-view button.slu-history-search-submit:hover { background:#0d3d5c !important; }
@media (max-width:1180px) {
  .slu-mobilplan-dashboard .slu-history-view .slu-history-layout { grid-template-columns: minmax(190px,225px) minmax(0,1fr); }
  .slu-mobilplan-dashboard .slu-history-view .slu-history-two-pane { grid-template-columns: minmax(245px,.9fr) minmax(0,1.1fr); }
  .slu-mobilplan-dashboard .slu-history-view .slu-history-detail-panel { padding:12px; }
}
@media (max-width:950px) {
  .slu-mobilplan-dashboard .slu-history-view .slu-history-layout { grid-template-columns:1fr; }
  .slu-mobilplan-dashboard .slu-history-view .slu-history-installations { max-height:200px; }
  .slu-mobilplan-dashboard .slu-history-view .slu-history-two-pane { grid-template-columns:minmax(0,1fr) minmax(0,1.1fr); }
}
@media (max-width:670px) {
  .slu-mobilplan-dashboard .slu-history-view .slu-history-two-pane { grid-template-columns:1fr; }
  .slu-mobilplan-dashboard .slu-history-view .slu-history-detail-panel { position:static; max-height:none; }
  .slu-mobilplan-dashboard .slu-history-view .slu-history-detail-facts { grid-template-columns:1fr 1fr; }
}

/* v1.10.10: compact flat lists. Keep the detail pane to the right. */
.slu-mobilplan-dashboard .slu-history-view .slu-history-installations,
.slu-mobilplan-dashboard .slu-history-view .slu-history-projects {
  display:block;
  gap:0;
  min-width:0;
}
.slu-mobilplan-dashboard .slu-history-view .slu-history-installations {
  border-top:1px solid #e7eaee;
}
.slu-mobilplan-dashboard .slu-history-view button.slu-history-lift,
.slu-mobilplan-dashboard .slu-history-view button.slu-history-lift:hover,
.slu-mobilplan-dashboard .slu-history-view button.slu-history-lift:focus-visible {
  width:100%;
  display:flex !important;
  flex-direction:column !important;
  gap:3px !important;
  margin:0 !important;
  padding:9px 8px 9px 12px !important;
  background:#fff !important;
  background-image:none !important;
  color:#22394b !important;
  border:0 !important;
  border-left:3px solid transparent !important;
  border-bottom:1px solid #e7eaee !important;
  border-radius:0 !important;
  box-shadow:none !important;
  text-align:left !important;
  line-height:1.3 !important;
  min-height:0;
}
.slu-mobilplan-dashboard .slu-history-view button.slu-history-lift:hover,
.slu-mobilplan-dashboard .slu-history-view button.slu-history-lift:focus-visible {
  background:#f6f8fa !important;
}
.slu-mobilplan-dashboard .slu-history-view button.slu-history-lift.is-selected,
.slu-mobilplan-dashboard .slu-history-view button.slu-history-lift.is-selected:hover {
  border-left-color:#2a607e !important;
  background:#eff4f7 !important;
}
.slu-mobilplan-dashboard .slu-history-view button.slu-history-lift strong {
  font-size:13px !important;
  font-weight:650;
  color:inherit;
}
.slu-mobilplan-dashboard .slu-history-view button.slu-history-lift span {
  font-size:11px !important;
  font-weight:400;
  line-height:1.35;
  color:#627384 !important;
  text-wrap:pretty;
}
.slu-mobilplan-dashboard .slu-history-view .slu-history-case-header,
.slu-mobilplan-dashboard .slu-history-view button.slu-history-case {
  display:grid !important;
  grid-template-columns:76px minmax(0,1fr) 13px !important;
  gap:8px !important;
  align-items:start !important;
}
.slu-mobilplan-dashboard .slu-history-view .slu-history-case-header {
  padding:8px 8px 9px !important;
  border-top:1px solid #d9e0e6;
  border-bottom:1px solid #d9e0e6;
  background:#f8fafb;
  color:#6b7987;
  font-size:11px;
  font-weight:700;
  line-height:1.25;
}
.slu-mobilplan-dashboard .slu-history-view .slu-history-case-list {
  display:block;
  min-width:0;
}
.slu-mobilplan-dashboard .slu-history-view button.slu-history-case,
.slu-mobilplan-dashboard .slu-history-view button.slu-history-case:hover,
.slu-mobilplan-dashboard .slu-history-view button.slu-history-case:focus-visible,
.slu-mobilplan-dashboard .slu-history-view button.slu-history-case.is-selected,
.slu-mobilplan-dashboard .slu-history-view button.slu-history-case.is-selected:hover {
  width:100% !important;
  min-width:0 !important;
  margin:0 !important;
  padding:10px 7px 10px 8px !important;
  border:0 !important;
  border-bottom:1px solid #e8edf1 !important;
  border-left:3px solid transparent !important;
  border-radius:0 !important;
  background:#fff !important;
  background-image:none !important;
  box-shadow:none !important;
  color:#283b49 !important;
  font-family:inherit !important;
  font-size:13px !important;
  font-weight:400 !important;
  letter-spacing:normal !important;
  text-align:left !important;
  text-transform:none !important;
  line-height:1.4 !important;
  cursor:pointer;
  flex-wrap:nowrap !important;
}
.slu-mobilplan-dashboard .slu-history-view button.slu-history-case:hover,
.slu-mobilplan-dashboard .slu-history-view button.slu-history-case:focus-visible {
  background:#f5f8fa !important;
}
.slu-mobilplan-dashboard .slu-history-view button.slu-history-case.is-selected,
.slu-mobilplan-dashboard .slu-history-view button.slu-history-case.is-selected:hover {
  background:#edf3f6 !important;
  border-left-color:#25617e !important;
}
.slu-mobilplan-dashboard .slu-history-view .slu-history-case-date {
  color:#667787;
  white-space:nowrap;
  font-size:11px !important;
  font-variant-numeric:tabular-nums;
  padding-top:2px;
}
.slu-mobilplan-dashboard .slu-history-view .slu-history-case-text {
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:3px;
}
.slu-mobilplan-dashboard .slu-history-view .slu-history-case-text strong {
  color:#223746 !important;
  font-weight:600 !important;
  font-size:12.5px !important;
  line-height:1.35 !important;
  overflow-wrap:anywhere;
  text-wrap:pretty;
}
.slu-mobilplan-dashboard .slu-history-view .slu-history-case-text small {
  color:#788693 !important;
  font-size:10.5px !important;
  line-height:1.45;
  font-weight:400 !important;
  display:block;
  overflow-wrap:anywhere;
}
.slu-mobilplan-dashboard .slu-history-view .slu-history-case-chevron {
  color:#96a4af;
  font-size:17px !important;
  line-height:1.1;
  align-self:center;
}
.slu-mobilplan-dashboard .slu-history-view .slu-history-cases-panel {
  overflow:hidden;
}
@media(max-width:670px) {
  .slu-mobilplan-dashboard .slu-history-view .slu-history-case-header,
  .slu-mobilplan-dashboard .slu-history-view button.slu-history-case {
    grid-template-columns:76px minmax(0,1fr) 12px !important;
    gap:6px !important;
  }
}

/* v1.10.11: BC posted-invoice cost column, right-aligned. */
.slu-mobilplan-dashboard .slu-history-view .slu-history-case-header,
.slu-mobilplan-dashboard .slu-history-view button.slu-history-case {
  grid-template-columns: 76px minmax(0,1fr) 100px 12px !important;
  align-items:start !important;
}
.slu-mobilplan-dashboard .slu-history-view .slu-history-case-header {
  grid-template-columns: 76px minmax(0,1fr) 112px !important;
}
.slu-mobilplan-dashboard .slu-history-view .slu-history-case-cost,
.slu-mobilplan-dashboard .slu-history-view .slu-history-case-cost-head {
  display:block !important;
  text-align:right !important;
  white-space:nowrap;
  font-variant-numeric:tabular-nums;
  font-size:11px !important;
}
.slu-mobilplan-dashboard .slu-history-view .slu-history-case-cost {
  color:#24394a !important;
  font-weight:650 !important;
  padding-top:2px;
}
.slu-mobilplan-dashboard .slu-history-view .slu-history-case-cost-head {
  color:#647584 !important;
  font-weight:700 !important;
}
@media(max-width:570px){
  .slu-mobilplan-dashboard .slu-history-view .slu-history-case-header,
  .slu-mobilplan-dashboard .slu-history-view button.slu-history-case {
    grid-template-columns: 65px minmax(0,1fr) 80px 8px !important;
    gap:4px !important;
  }
  .slu-mobilplan-dashboard .slu-history-view .slu-history-case-header { grid-template-columns: 65px minmax(0,1fr) 88px !important; }
  .slu-mobilplan-dashboard .slu-history-view .slu-history-case-cost { font-size:10px !important; }
}
