/* Styles specific to an individual business workspace. */
.annual-workspace .panel { min-width: 0; }
.annual-workspace input[type="file"] { padding: 8px; }
.annual-workspace input[type="file"]::file-selector-button { font: inherit; }
.annual-capacities { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.annual-months { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.annual-import { margin: 12px 0; }
.annual-import p { margin: 4px 0; }
.annual-links, .annual-adopt, .annual-detail-controls { margin: 14px 0; }
.annual-detail-controls, .annual-adopt { align-items: end; }
.annual-subheading { margin-top: 14px; }
.annual-links button, .annual-adopt button { min-height: 44px; }
#annual-results table { min-width: 620px; }
#annual-results caption { text-align: left; margin: 12px 0; }
#annual-error:empty { display: none; }
#annual-site-map { background: #e6ece6; height: 300px; margin-bottom: 12px; }
@media (max-width: 620px) {
  .annual-capacities { grid-template-columns: 1fr; }
  .annual-months { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .annual-workspace .fields:not(.annual-months) { grid-template-columns: minmax(0, 1fr); }
}

.annual-profile { margin: 16px 0; }
.annual-profile figcaption { font-weight: 650; }
.annual-profile-legend, .annual-profile-hours { display: flex; flex-wrap: wrap; gap: 12px; font-size: 12px; color: #566b60; }
.annual-profile-legend { margin: 6px 0 10px; }
.annual-profile-legend span:nth-child(-n+2)::before {
  content: ''; display: inline-block; width: 10px; height: 10px; margin-right: 6px; background: #9aa9a3;
}
.annual-profile-legend span:nth-child(2)::before { background: #17664b; }
.annual-profile-bars {
  display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); align-items: end;
  gap: 3px; height: 130px; border-bottom: 1px solid #9aa9a3;
}
.annual-profile-bars div { display: flex; gap: 1px; align-items: end; height: 100%; }
.annual-profile-bars i { flex: 1; background: #9aa9a3; }
.annual-profile-bars i + i { background: #17664b; }
.annual-profile-hours { justify-content: space-between; gap: 2px; margin-top: 5px; }

.layout-toolbar { display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin-bottom:14px; }
.layout-workspace { display:grid; grid-template-columns:minmax(280px, 330px) minmax(0,1fr); gap:14px; align-items:start; }
.layout-workspace aside .panel { padding:14px; margin:0 0 12px; }
.layout-workspace aside .row { gap:6px; margin:8px 0; }
.layout-workspace aside .row button { padding:5px 9px; }
.layout-map-shell { margin:0; min-width:0; }
#layout-map { height:clamp(420px,58vh,690px); background:#edf0ed; }
.layout-vertex { border-radius:50%; border:2px solid #fff; background:#155b45; box-shadow:0 0 0 1px #155b45; }
#layout-results .row { margin-top:12px; }
#layout-print { display:none; }
@media print {
  #layout-print:not(:empty) { display:block; }
  #layout-print canvas { width:100%; height:auto; }
  #layout-print button { display:none; }
}

.archive-outline { white-space:pre-wrap; overflow-wrap:anywhere; }

dialog form .row, dialog form>button { margin-top:12px; }
#archive-drop { flex: 1 1 290px; min-width: 0; max-width: 100%; }
.tool-group { margin-top:20px; }
.tool-items { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; }
.tool-items button { min-width:0; min-height:86px; text-align:left; padding:10px 12px; }


#content-items details > a { margin-right:12px; }
#main .archive-outline { max-width:80ch; }
