.dashboard-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:28px;max-width:1800px;margin:24px auto}.dashboard-sidebar{padding:20px 12px;background:#fff;border:1px solid #dedbd3;border-radius:14px;align-self:start;position:sticky;top:20px}.dashboard-sidebar h2{font-size:15px;padding:0 10px}.dashboard-sidebar nav{display:flex;flex-direction:column;gap:7px}.dashboard-sidebar button,.dashboard-sidebar a{display:block;text-align:left;text-decoration:none;border:0;padding:12px;background:transparent;color:#263633;border-radius:7px;font-size:14px}.dashboard-sidebar button:hover,.dashboard-sidebar a:hover,.dashboard-sidebar button.active{background:#f3eee3;color:#69512b}.dashboard-content{min-width:0}.dashboard-body #workspace>nav,.dashboard-body #dashboardToolbar{display:none}.dashboard-body header{padding:16px 26px}.dashboard-body .intro>div>p:last-child{font-size:13px}.dashboard-body .login{margin-top:6vh}.dashboard-body:has(#workspace[hidden]) .dashboard-layout{display:block;max-width:800px}.dashboard-body table th{white-space:nowrap}.dashboard-body #dashboardMenu [data-panel=logout]{border-top:1px solid #eee;border-radius:0;margin-top:14px}.dashboard-body #detailBody pre{white-space:pre-wrap;overflow-wrap:anywhere}.dashboard-body article{margin:20px 0}.dashboard-body #editorBody textarea{width:100%}@media(max-width:900px){.dashboard-layout{grid-template-columns:1fr}.dashboard-sidebar{position:static;padding:12px}.dashboard-sidebar nav{flex-direction:row;flex-wrap:wrap;gap:4px}.dashboard-sidebar button,.dashboard-sidebar a{padding:9px}.dashboard-sidebar h2{margin:0 0 8px}.dashboard-body header{flex-wrap:wrap;gap:10px}.dashboard-body h1{font-size:25px}}

#detail:has(.admin-configuration-preview) {
  width: min(1060px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  padding: clamp(18px, 4vw, 36px);
}
.admin-configuration-preview {
  display: grid;
  gap: 18px;
}
.admin-configuration-preview .offer-preview-header {
  display: flex;
  gap: 14px;
  align-items: start;
  justify-content: space-between;
  padding: 0 36px 0 0;
  background: none;
  color: inherit;
  border: 0;
}
.offer-preview-header h1, .offer-preview-header p { margin: 0; }
.offer-preview-header h1 { font-size: clamp(25px, 5vw, 38px); margin-top: 5px; }
.offer-preview-status {
  padding: 6px 12px;
  border-radius: 20px;
  background: #e8f0ed;
  color: #20463e;
  white-space: nowrap;
  font-weight: 600;
}
.offer-preview-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.offer-preview-prices, .offer-preview-facts {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}
.offer-preview-price, .offer-preview-panel, .offer-preview-facts {
  border: 1px solid #dedbd3;
  background: #fff;
  border-radius: 12px;
  padding: 16px 18px;
}
.offer-preview-price:last-child {
  background: #eaf1ed;
  border-color: #c9ddd4;
  color: #143e34;
}
.offer-preview-price { display: grid; gap: 5px; }
.offer-preview-price strong { font-size: clamp(20px, 4vw, 29px); }
.offer-preview-price small, .offer-preview-facts dt, .offer-preview-panel td small { color: #4b625c; }
.offer-preview-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.offer-preview-facts dt { font-size: 13px; }
.offer-preview-facts dd { margin: 4px 0 0; font-weight: 600; overflow-wrap: anywhere; }
.offer-preview-panel h2 { font-size: 18px; margin: 0 0 10px; }
.offer-preview-panel p { margin: 8px 0 0; }
.offer-preview-panel .table-wrap { margin: 0; }
.offer-preview-panel table { min-width: 0; }
.offer-preview-panel td small { display: block; }
.offer-preview-panel th:last-child, .offer-preview-panel td:last-child { text-align: right; }
.offer-preview-panel summary { font-weight: 700; cursor: pointer; }
.offer-preview-version {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}
.offer-preview-version strong { min-width: 130px; }
#detail:has(.admin-configuration-preview) #detailBody > section {
  margin-top: 18px;
  border-top: 1px solid #dedbd3;
  padding-top: 14px;
}
.admin-dashboard #dashboardMenu [data-panel=new] {
  background: #21443c;
  color: white;
  font-weight: 700;
}
.admin-dashboard #workspace .table-wrap tr:not(:first-child) td { border-top-color: #e4e9e7; }
.admin-dashboard #workspace .table-wrap tbody tr:nth-child(even) { background: #f8faf9; }
.admin-dashboard #workspace .table-wrap tbody tr:hover { background: #eef4f1; }
@media (max-width: 600px) {
  .admin-configuration-preview .offer-preview-header { flex-wrap: wrap; }
  .offer-preview-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offer-preview-prices { grid-template-columns: 1fr; }
}
.offer-preview-snapshot {
  border-left: 3px solid #c9ddd4;
  padding: 4px 14px 12px;
  margin: 8px 0 16px;
  overflow-wrap: anywhere;
}
