* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--backcol);
  color: var(--text);
  min-height: 100vh;
  font-size: 13px;
}

a {
  text-decoration: none;
  color:#039;
}

a:not(.btn):hover {
  text-decoration: underline;
  color:#013;
}

hr.trans-divider {
    margin:20px 0;
    border:1px dashed #888;
}

/* ── SIDEBAR ── */
.sidebar {
  position: fixed; left: 0; top: 0; bottom: 0; width: 220px;
  background: var(--navy);
  display: flex; flex-direction: column;
  z-index: 100;
  box-shadow: 4px 0 20px rgba(28,58,74,0.25);
  overflow-y: auto;
}
.sidebar-logo {
  padding: 22px 20px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  flex-shrink: 0;
}
.sidebar-logo h1 {
  font-family: 'DM Serif Display', serif;
  font-size: 18px;
  color: var(--amber-light);
  line-height: 1.2;
}
.sidebar-logo span {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.sidebar-nav { flex: 1; padding: 8px 0; }

/* ── NAV PARENT ITEMS ── */
.nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 20px;
  cursor: pointer;
  color: rgba(255,255,255,0.65);
  border-left: 3px solid transparent;
  transition: all 0.15s;
  font-size: 13px;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.nav-item:hover { background: rgba(255,255,255,0.06); color: white; }
.nav-item.active {
  background: rgba(240,165,0,0.15);
  color: var(--amber-light);
  border-left-color: var(--amber);
}
.nav-item.open { color: white; background: rgba(255,255,255,0.05); }
/*.nav-item .dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}
.dot-people { background: var(--people); }
.dot-equipment { background: var(--equipment); }
.dot-place { background: var(--place); }
.dot-support { background: var(--support); }
.dot-calendar { background: var(--amber); }
.dot-task { background: white; }
*/
.nav-item .chevron {
  margin-left: auto;
  display: inline-block;
  width: 0; height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 5px solid rgba(255,255,255,0.35);
  flex-shrink: 0;
  transition: transform 0.22s ease;
}
.nav-item.open .chevron { transform: rotate(90deg); border-left-color: rgba(255,255,255,0.6); }

/* ── SUBMENU ── */
.submenu {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.28s ease;
  background: rgba(0,0,0,0.15);
}
.submenu.open { max-height: 400px; }
.sub-item {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 20px 8px 38px;
  cursor: pointer;
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  border-left: 3px solid transparent;
  transition: all 0.15s;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.sub-item:hover { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.85); }
.sub-item.active {
  color: var(--amber-light);
  background: rgba(240,165,0,0.12);
  border-left-color: var(--amber);
}
.sub-item.active::before { background: var(--amber); }

.sidebar-bottom {
  margin-top: auto;
  padding: 16px 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.loggedinas {
  display: flex; align-items: center;
  padding: 8px 12px;
  cursor: pointer;
}
.loggedinas>* { color:var(--amber-light); font-size: 12px; font-weight: 500; }
.loggedinas span {
    margin-left:4px;
}
.badge-count {
  background: var(--people); color: white;
  border-radius: 10px; padding: 1px 7px; font-size: 10px; font-weight: 600;
}

/* ── MAIN ── */
.main {
  margin-left: 220px;
  min-height: 100vh;
  display: flex; flex-direction: column;
}

/* ── TOP BAR ── */
.topbar {
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  height: 56px;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 50;
}
.topbar-title {
  font-family: 'DM Serif Display', serif;
  font-size: 20px; color: var(--navy);
}
.topbar-controls {
  display: flex; align-items: center; gap: 10px;
}
.topbar-controls button .fa,.topbar-controls button .svg-inline--fa {
  margin-right:6px;
}
.btn,button {
  padding: 7px 14px; border-radius: 8px;
  font-size: 12px; font-weight: 500;
  cursor: pointer; border: none; transition: all 0.15s;
  font-family: 'DM Sans', sans-serif;
}
button:hover { background: var(--white); }
.btn-primary,button.withimage {
  background: var(--amber); color: var(--navy);
}
.btn-primary:hover,button.withimage:hover { background: var(--amber-light); }
.btn-ghost {
  background: transparent; color: var(--navy-mid);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: var(--backcol); }
button:disabled {
    opacity:0.3;
    cursor:not-allowed!important;
}
.view-tabs {
  display: flex; background: var(--backcol); border-radius: 8px; padding: 3px; gap: 2px;
}
.view-tab {
  padding: 5px 12px; border-radius: 6px;
  font-size: 12px; cursor: pointer; color: var(--muted); transition: all 0.15s;
}
.view-tab.active { background: white; color: var(--navy); font-weight: 600; box-shadow: 0 1px 4px rgba(0,0,0,0.1); }

/* ── CONTENT ── */
.content {
  padding: 20px 24px;
  flex: 1;
}

/* ── KPI ROW ── */
.kpi-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 20px;
}
.kpi-card {
  background: white; border-radius: 12px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.kpi-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
}
.kpi-card.people::before { background: var(--people); }
.kpi-card.equipment::before { background: var(--equipment); }
.kpi-card.place::before { background: var(--place); }
.kpi-card.support::before { background: var(--support); }
.kpi-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 6px; }
.kpi-value { font-size: 28px; font-family: 'DM Serif Display', serif; color: var(--navy); }
.kpi-sub { font-size: 11px; color: var(--muted); margin-top: 2px; }
.kpi-alert { font-size: 11px; color: var(--people); font-weight: 500; margin-top: 2px; }

/* ── GRID LAYOUT ── */
.grid-main {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 16px;
  align-items: start;
}

/* ── CALENDAR ── */
.calendar-card {
  background: white; border-radius: 14px;
  border: 1px solid var(--border);
  overflow: hidden;
}
.calendar-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}
.calendar-header h2 {
  font-family: 'DM Serif Display', serif; font-size: 18px;
}
.cal-nav { display: flex; gap: 6px; }
.cal-nav button {
  width: 28px; height: 28px; border-radius: 6px;
  border: 1px solid var(--border); background: transparent;
  cursor: pointer; font-size: 14px; color: var(--muted);
}
.cal-nav button:hover { background: var(--backcol); }

.calendar-grid {
  padding: 16px 20px;
}
.cal-days-header {
  display: grid; grid-template-columns: repeat(7, 1fr);
  text-align: center; margin-bottom: 8px;
}
.cal-days-header span {
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--muted); font-weight: 600; padding: 4px 0;
}
.cal-grid {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px;
}
.cal-day {
  min-height: 72px; border-radius: 8px;
  padding: 5px; position: relative;
  transition: background 0.12s; cursor: pointer;
}
.cal-day:hover { background: var(--backcol); }
.cal-day.today { background: #fff8ec; border: 1.5px solid var(--amber); }
.cal-day.other-month .day-num { color: #c5d8e0; }
.day-num {
  font-size: 11px; font-weight: 600; color: var(--navy);
  margin-bottom: 3px; display: block;
}
.cal-day.today .day-num {
  background: var(--amber); color: white;
  width: 20px; height: 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px;
}
.task-chip {
  display: block; border-radius: 3px;
  padding: 1px 4px; font-size: 9px; font-weight: 500;
  margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  cursor: pointer;
}
.chip-people { background: rgba(224,123,90,0.18); color: #b8532e; }
.chip-equipment { background: rgba(90,130,200,0.18); color: #3360a8; }
.chip-place { background: rgba(106,170,120,0.18); color: #3a7a4a; }
.chip-inspect { background: rgba(160,107,176,0.18); color: #7040a0; }

/* ── UPCOMING TASKS ── */
.task-list-card {
  background: white; border-radius: 14px;
  border: 1px solid var(--border);
  overflow: hidden;
}
.card-header {
  padding: 16px 18px 12px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.card-header h3 {
  font-family: 'DM Serif Display', serif; font-size: 16px;
}
.task-item {
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  cursor: pointer; transition: background 0.12s;
  display: flex; gap: 10px; align-items: flex-start;
}
.task-item:last-child { border-bottom: none; }
.task-item:hover { background: var(--sand); }
.task-pillar-dot {
  width: 10px; height: 10px; border-radius: 50%;
  margin-top: 3px; flex-shrink: 0;
}
.task-content { flex: 1; }
.task-title { font-weight: 600; font-size: 12px; color: var(--navy); margin-bottom: 2px; }
.task-meta { font-size: 11px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.task-meta span { display: flex; align-items: center; gap: 3px; }
.task-status {
  font-size: 10px; padding: 2px 8px; border-radius: 10px;
  font-weight: 600; white-space: nowrap; align-self: center;
}
.status-due { background: rgba(240,165,0,0.15); color: #a06800; }
.status-overdue { background: rgba(224,90,90,0.15); color: #b03030; }
.status-complete { background: rgba(106,170,120,0.15); color: #3a7a4a; }
.status-scheduled { background: rgba(90,130,200,0.15); color: #3360a8; }

/* ── BOTTOM PANELS ── */
.bottom-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; margin-top: 16px;
}
.panel-card {
  background: white; border-radius: 14px; border: 1px solid var(--border); overflow: hidden;
}
.panel-header {
  padding: 14px 16px 10px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 8px;
}
.panel-icon {
  width: 28px; height: 28px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; font-size: 14px;
}
.icon-people { background: rgba(224,123,90,0.15); }
.icon-equipment { background: rgba(90,130,200,0.15); }
.icon-place { background: rgba(106,170,120,0.15); }
.panel-header h4 {
  font-family: 'DM Serif Display', serif; font-size: 14px;
  color: var(--navy);
}
.panel-header .phase-badge {
  margin-left: auto; font-size: 9px; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--muted);
  background: var(--backcol); padding: 2px 7px; border-radius: 10px;
}
.panel-list { padding: 8px 0; }
.panel-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 7px 16px;
  border-bottom: 1px solid rgba(212,230,238,0.5);
  cursor: pointer; transition: background 0.12s;
}
.panel-row:last-child { border-bottom: none; }
.panel-row:hover { background: var(--sand); }
.panel-row-name { font-size: 12px; color: var(--navy); font-weight: 500; }
.panel-row-detail { font-size: 10px; color: var(--muted); }
.panel-row-status {
  font-size: 10px; padding: 2px 7px; border-radius: 8px; font-weight: 600;
}
.rs-ok { background: rgba(106,170,120,0.15); color: #3a7a4a; }
.rs-warn { background: rgba(240,165,0,0.15); color: #a06800; }
.rs-bad { background: rgba(224,90,90,0.15); color: #b03030; }

/* ── TASK MODAL OVERLAY ── */
.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(28,58,74,0.55); z-index: 200;
  align-items: center; justify-content: center;
}
.modal-overlay.open { display: flex; }
.modal {
  background: white; border-radius: 16px; width: 560px;
  max-height: 80vh; overflow-y: auto;
  box-shadow: 0 20px 60px rgba(28,58,74,0.3);
}
.modal-top {
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: flex-start; justify-content: space-between;
}
.modal-title { font-family: 'DM Serif Display', serif; font-size: 20px; color: var(--navy); }
.modal-close {
  background: var(--backcol); border: none; border-radius: 8px;
  width: 32px; height: 32px; cursor: pointer; font-size: 16px;
  color: var(--muted); flex-shrink: 0;
}
.modal-body { padding: 20px 24px; }
.modal-section { margin-bottom: 20px; }
.modal-section-title {
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--muted); margin-bottom: 10px; font-weight: 600;
}
.pillar-links {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px;
}
.pillar-link-box {
  border: 1.5px solid var(--border); border-radius: 10px; padding: 10px 12px;
  cursor: pointer; transition: all 0.12s;
}
.pillar-link-box:hover { border-color: var(--amber); background: var(--sand); }
.plb-label { font-size: 9px; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; }
.plb-label.people { color: var(--people); }
.plb-label.equipment { color: var(--equipment); }
.plb-label.place { color: var(--place); }
.plb-value { font-size: 12px; font-weight: 600; color: var(--navy); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.field-group { display: flex; flex-direction: column; gap: 4px; }
.field-group label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 600; }
.field-group input, .field-group select, .field-group textarea {
  border: 1.5px solid var(--border); border-radius: 8px;
  padding: 8px 10px; font-family: 'DM Sans', sans-serif; font-size: 12px;
  color: var(--navy); background: var(--white);
  outline: none; transition: border-color 0.12s;
}
.field-group input:focus, .field-group select:focus { border-color: var(--amber); }
.checklist { display: flex; flex-direction: column; gap: 6px; }
.check-item {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 10px; border-radius: 8px; background: var(--backcol);
  cursor: pointer; font-size: 12px;
}
.check-item input[type=checkbox] { accent-color: var(--grass); width: 14px; height: 14px; }
.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  display: flex; gap: 8px; justify-content: flex-end;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .grid-main { grid-template-columns: 1fr; }
  .bottom-grid { grid-template-columns: 1fr 1fr; }
}

/* ── HAMBURGER BUTTON ── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  padding: 7px;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.25s ease;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── SIDEBAR OVERLAY (mobile) ── */
.sidebar-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(28,58,74,0.5);
  z-index: 99;
  backdrop-filter: blur(2px);
}
.sidebar-overlay.open { display: block; }

@media (max-width: 768px) {
  .hamburger { display: flex; }

  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.28s ease;
    z-index: 200;
  }
  .sidebar.open { transform: translateX(0); }

  .main { margin-left: 0; }

  .topbar {
    padding: 0 14px;
    gap: 10px;
  }
  .topbar-title { font-size: 16px; }

  .topbar-controls {
    gap: 6px;
    flex-shrink: 1;
    min-width: 0;
  }
  .view-tabs { display: none; }
  .btn-ghost { display: none; }
  .btn-primary { padding: 7px 10px; font-size: 11px; white-space: nowrap; }

  .content { padding: 14px; }

  .kpi-row { grid-template-columns: 1fr 1fr; gap: 10px; }

  .grid-main { grid-template-columns: 1fr; }

  .bottom-grid { grid-template-columns: 1fr; }

  .modal { width: calc(100vw - 32px); max-height: 85vh; }

  .pillar-links { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }

  .cal-day { min-height: 52px; }
  .task-chip { display: none; }
  .cal-day.today .task-chip,
  .cal-day:has(.task-chip) .day-num::after {
    content: '';
  }
  /* Show dot indicator when chips are hidden on mobile */
  .cal-day .task-chip ~ .task-chip { display: none; }
  .cal-day:has(.task-chip) {
    position: relative;
  }
  .cal-day:has(.task-chip)::after {
    content: '';
    display: block;
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--amber);
    position: absolute;
    bottom: 5px; right: 5px;
  }
}

.main .content>h1 {
    display:none;
}

table.display,table.beansearchlist {
    background: white;
    border-radius: 14px;
    border: 1px solid var(--border);
    overflow: hidden;
    border-collapse:collapse;
}

table.beansearchlist {
    clear:both;
}

table.display tr:first-child>*,table.beansearchlist tr:first-child>* {
    padding-top:16px;
}

table.display tr:last-child>*,table.beansearchlist tr:last-child>* {
    padding-bottom:12px;
}

table.display td,table.beansearchlist td {
    padding:2px 8px;
}

table.display tr.field-row {
    display:table-row;
    margin-bottom:0;
}

table.display th,table.beansearchlist th {
    padding:4px 8px;
    border-bottom:1px dotted #bbb;
}

table.display tr:hover th {
    background:white;
}

.searchresults .listpaging {
    clear:both;
}

table.adminaction {
    background: white;
    border-radius: 14px;
    border: 1px solid var(--border);
    overflow: hidden;
    border-collapse:collapse;
}

table.adminaction td {
    padding:2px 8px;
}

table.adminaction th {
    padding:4px 8px;
    background: var(--white);
}

table.adminaction div.adminaction {
  font-family: 'DM Serif Display', serif; font-size: 14px;
  color: var(--navy);
}

button.withimage img {
    display:none;
}

table.layout>tbody>td {
    padding:10px;
}

table.adminaction + h3 {
    margin:30px 0 8px 0;
}
button+button {
    margin-left:4px;
}

.main>.footer {
    padding:10px;
    background-color:var(--white);
}

.main>.footer table.actions {
    float:left;
    margin-right:4px;
}

.main>.footer table.bean-who-date {
    border-collapse:collapse;
}

.main>.footer table.bean-who-date td,.main>.footer table.bean-who-date th {
    font-size:0.8em;
    padding:1px 4px;
}

.search-fields-container .searchresults {
    float:right;
    min-width:640px;
}

input[type=text],input[type=email],input[type=password],select,textarea {
    background-color: var(--backcol);
    border-radius: 6px;
    padding: 3px 8px;
    border:1px solid var(--darkborder);
}
div.dateedit2 input.edit {
	background-color: var(--backcol);
}
div.dateedit2 input.editchanged {
	background-color: var(--backcol);
}
input[type=text].changed,input[type=email].changed,input[type=password].changed,select.changed,textarea.changed {
    background-color: var(--changed);
}
img.spacer {
    display:none;
}

input[type=text]:focus,input[type=email]:focus,input[type=password]:focus,select:focus,textarea:focus {
    outline:1px solid var(--darkborder);
}

body .dialog-prompt-title  {
    font-family:'DM Serif Display', serif;
    background-color:#fff;
    position:absolute;
    left:0;
    top:0px;
    right:0;
    height:40px;
    padding:4px;
    text-align:center;
    font-size:1.4em;
}
body .dialog-prompt-content  {
    border-top:1px solid #eee;
    background-color:#fff;
    position:absolute;
    left:0;
    top:38px;
    right:0;
    bottom:45px;
    padding:4px 8px;
    overflow-y:auto;
}
body .dialog-prompt-buttons {
    background-color:var(--backcol);
    position:absolute;
    left:0;
    bottom:0;
    right:0;
    height:45px;
    padding:5px;
    text-align:center;
    border-top:1px solid #ddd;
}
body .dialog-prompt-buttons button {
    margin:0 6px;
    font-size:1.1em;
    color:var(--navy-mid);
}
body .dialog-prompt-buttons button i.fa,body .dialog-prompt-buttons button i.svg-inline--fa {
    margin-right:3px;
}

body div.dateedit2 input.edit,body div.dateedit2 input.editchanged {
    margin-left:0;
}

body div.dateedit2_calendar {
    width:360px;
}

/*******************************************/

body .bubble a {
    color:inherit;
    text-decoration:underline;
}

body .bubble {
    position: fixed;
    width: 200px;
    height: auto;
    background: #ffc;
    border-radius: 8px;
    box-shadow: 0 0 8px #ccc;
    padding: 8px 16px;
    border:1px solid #000;
    z-index:11000;
    cursor:pointer;
}

body .bubble i.fa,body .bubble i.svg-inline--fa {
    font-size:1.2em;
}

body .bubble.type-warning {
    background-color:#C64;
    color:#fff;
}

body .bubble.type-error {
    background-color:#800;
    color:#fff;
}

body .bubble.type-critical {
    background-color:#600;
    color:#fff;
    border:1px solid #F00;
}

/* ── SECTION CARD ── */
.section-card { background:white; border-radius:14px; border:1px solid var(--border); margin-bottom:16px; overflow:hidden; }
.section-header { padding:16px 20px 12px; border-bottom:1px solid var(--border); display:flex; align-items:center; justify-content:space-between; }
.section-header-left { display:flex; align-items:center; gap:10px; }
.section-icon { width:30px; height:30px; border-radius:8px; display:flex; align-items:center; justify-content:center; font-size:15px; background:rgba(90,130,200,0.15); }
.section-title { font-family:'DM Serif Display',serif; font-size:16px; }
.section-body { padding:16px 20px; }

/* ── TABLE ── */
.table-grid { display:flex; flex-direction:column; gap:0; }
.table-row {
    display:grid; grid-template-columns:repeat(4,1fr);
    padding:10px 0; border-bottom:1px solid rgba(212,230,238,0.6);
    align-items:center; gap:12px;
    transition:0.15s;
}
.table-row:last-child { border-bottom:none; }
.table-row.header { padding:4px 0 8px; }
#dialog-container .table-row.header { position:sticky; top:0; background-color:#fff; }
.table-row.header span { font-size:10px; text-transform:uppercase; letter-spacing:0.08em; color:var(--muted); font-weight:600; }
.table-grid .none:before {
    content:'None Found';
    font-style:italic;
    text-align:center;
    display:block;
    height:30px;
    padding-top:10px;
    font-weight:600;
}
.hoverable .table-row:not(.header) { cursor:pointer; }
.hoverable .table-row:not(.header):hover { background-color:#eee; margin-left:-20px; margin-right:-20px; padding-left:20px; padding-right:20px; }
.table-name { font-size:12px; font-weight:600; color:var(--navy); }
.table-sub { font-size:11px; color:var(--muted); margin-top:1px; }
.table-date { font-size:12px; color:var(--navy); }
.table-action { display:flex; gap:4px; }

input.num {
    text-align:right;
}

/* ── DETAIL GRID ── */
.detail-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.detail-item { background:var(--backcol); border-radius:9px; padding:11px 14px; }
.detail-label { font-size:10px; text-transform:uppercase; letter-spacing:0.08em; color:var(--muted); margin-bottom:4px; font-weight:600; }
.detail-val { font-size:13px; font-weight:600; color:var(--navy); }
.detail-sub { font-size:11px; color:var(--muted); margin-top:2px; }

/*******************************************/

.searchdropdown_search {
  padding:10px;
  position:absolute;
  margin-top:0;
  z-index:800;
  background-color:var(--backcol);
  box-shadow:0 0 10px #444;
  border-radius:6px;
}
.searchdropdown_results {
  display:none;
  padding:10px;
  position:absolute;
  margin-top:0;
  z-index:800;
  background-color:var(--backcol);
  box-shadow:0 0 10px #444;
  border-radius:6px;
}

.topbar-title .beanstar {
  width:23px;
  height:23px;
  vertical-align: middle;
}

label {
  cursor:pointer;
}
