/* Approved Tickets supplementary panel. Existing controls retain their actions. */
#workspace.linked-ticket-page .ticket-lower-panel {
  margin-top: 18px;
  border: 1px solid #d8e5dc;
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
}
#workspace.linked-ticket-page .ticket-lower-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 17px 25px;
  border-bottom: 1px solid #e4ebe5;
}
#workspace.linked-ticket-page .ticket-lower-panel-heading strong {font-size: 14px;color: #173b34;}
#workspace.linked-ticket-page .ticket-lower-panel-heading span {font-size: 11px;color: #81998b;}
#workspace.linked-ticket-page .ticket-lower-panel .linked-ticket-group {
  border: 0;
  border-bottom: 1px solid #e4ebe5;
}
#workspace.linked-ticket-page .ticket-lower-panel .linked-ticket-group:last-child {border-bottom: 0;}
#workspace.linked-ticket-page .ticket-lower-panel .linked-ticket-group > summary {
  min-height: 76px;
  padding: 15px 25px;
  gap: 13px;
}
#workspace.linked-ticket-page .ticket-lower-panel .linked-ticket-group[open] > summary {
  border-bottom: 0;
  background: #fff;
}
#workspace.linked-ticket-page .ticket-lower-panel .linked-group-icon {
  flex-basis: 32px;
  width: 32px;
  height: 32px;
  border-radius: 9px;
}
#workspace.linked-ticket-page .ticket-lower-panel .linked-group-copy {
  display: grid;
  align-items: center;
  gap: 3px;
}
#workspace.linked-ticket-page .ticket-lower-panel .linked-group-copy strong {font-size: 13px;}
#workspace.linked-ticket-page .ticket-lower-panel .linked-group-copy small {font-size: 11px;}
#workspace.linked-ticket-page .ticket-lower-panel .linked-group-count {
  margin-left: auto;
  color: #437d67;
  background: #edf6ef;
}
#workspace.linked-ticket-page .ticket-lower-panel .linked-group-count:empty {display: none;}
#workspace.linked-ticket-page .ticket-lower-panel .linked-group-chevron {margin-left: auto;}
#workspace.linked-ticket-page .ticket-lower-panel .linked-group-count:not(:empty) + .linked-group-chevron {margin-left: 0;}
#workspace.linked-ticket-page .ticket-lower-panel .linked-ticket-group > section,
#workspace.linked-ticket-page .ticket-lower-panel .linked-ticket-group > .field {
  margin: 0;
  padding: 0 25px 21px;
}
#workspace.linked-ticket-page .ticket-lower-panel .resource-workbench {
  display: grid;
  gap: 11px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
#workspace.linked-ticket-page .ticket-lower-panel .resource-intro {
  min-height: 0;
  padding: 0;
  justify-content: flex-end;
}
#workspace.linked-ticket-page .ticket-lower-panel .resource-intro > div {display: none;}
#workspace.linked-ticket-page .ticket-lower-panel .resource-live-state {margin-left: auto;font-size: 11px;}
#workspace.linked-ticket-page .ticket-lower-panel .linked-resources > summary .linked-group-chevron {margin-left: 0;}
#workspace.linked-ticket-page .ticket-lower-panel .resource-create:not([hidden]) {
  display: flex;
  min-height: 76px;
  gap: 16px;
  padding: 13px 17px;
  border: 1px solid #d3e6d9;
  border-radius: 11px;
  background: #f3f9f5;
}
#workspace.linked-ticket-page .ticket-lower-panel .resource-create::before {
  content: '◇';
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  height: 38px;
  border-radius: 10px;
  background: #dff3e5;
  color: #2c9270;
  font-size: 19px;
}
#workspace.linked-ticket-page .ticket-lower-panel .resource-create > div {flex: 1;min-width: 0;}
#workspace.linked-ticket-page .ticket-lower-panel .resource-create strong {font-size: 13px;color: #1b443b;}
#workspace.linked-ticket-page .ticket-lower-panel .resource-create small {font-size: 11px;color: #789084;}
#workspace.linked-ticket-page .ticket-lower-panel .resource-create button {flex: none;min-height: 38px;padding: 8px 13px;}
#workspace.linked-ticket-page .ticket-lower-panel .ticket-mail-card {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 12px;
  border: 0;
  padding: 0 25px 21px;
  background: transparent;
  box-shadow: none;
}
#workspace.linked-ticket-page .ticket-lower-panel .ticket-mail-card .toolbar {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 12px;
}
#workspace.linked-ticket-page .ticket-lower-panel .ticket-mail-card .ticket-lower-action {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 76px;
  gap: 13px;
  padding: 13px 16px;
  border: 1px solid #d7e5da;
  border-radius: 11px;
  background: #fff;
  color: #1c453c;
  text-align: left;
  box-shadow: none;
}
#workspace.linked-ticket-page .ticket-lower-panel .ticket-mail-card .ticket-lower-action[data-action="emergency"] {
  border-color: #eed6cb;
  background: #fffaf7;
  color: #ba4e3c;
}
#workspace.linked-ticket-page .ticket-lower-panel .ticket-mail-card .ticket-lower-action:hover {border-color: #8fc5aa;background: #f5faf6;}
#workspace.linked-ticket-page .ticket-lower-panel .ticket-mail-card .ticket-lower-action[data-action="emergency"]:hover {border-color: #d99478;background: #fff4ed;}
#workspace.linked-ticket-page .ticket-lower-action-icon {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  height: 34px;
  border-radius: 9px;
  background: #edf6ef;
  font-size: 17px;
  font-weight: 700;
}
#workspace.linked-ticket-page .ticket-lower-action[data-action="emergency"] .ticket-lower-action-icon {background: #fbe9e3;}
#workspace.linked-ticket-page .ticket-lower-action-copy {display: grid;flex: 1;min-width: 0;gap: 3px;}
#workspace.linked-ticket-page .ticket-lower-action-copy strong {font-size: 12px;}
#workspace.linked-ticket-page .ticket-lower-action-copy small {font-size: 11px;font-weight: 400;color: #82978a;}
#workspace.linked-ticket-page .ticket-lower-action[data-action="emergency"] .ticket-lower-action-copy small {color: #bd7562;}
#workspace.linked-ticket-page .ticket-lower-action-arrow {font-size: 16px;font-weight: 400;}
#workspace.linked-ticket-page .ticket-lower-panel .ticket-notes-field label {display: block;margin-bottom: 8px;font-size: 12px;}
#workspace.linked-ticket-page .ticket-lower-panel .ticket-notes-field textarea {
  display: block;
  width: 100%;
  min-height: 104px;
  box-sizing: border-box;
  border-radius: 9px;
  background: #fcfefd;
  resize: vertical;
}
@media (max-width: 720px) {
  #workspace.linked-ticket-page .ticket-lower-panel-heading {padding: 15px 16px;}
  #workspace.linked-ticket-page .ticket-lower-panel .linked-ticket-group > summary {padding: 13px 16px;}
  #workspace.linked-ticket-page .ticket-lower-panel .linked-ticket-group > section,
  #workspace.linked-ticket-page .ticket-lower-panel .linked-ticket-group > .field,
  #workspace.linked-ticket-page .ticket-lower-panel .ticket-mail-card {padding: 0 16px 17px;}
  #workspace.linked-ticket-page .ticket-lower-panel .ticket-mail-card,
  #workspace.linked-ticket-page .ticket-lower-panel .ticket-mail-card .toolbar {grid-template-columns: 1fr;}
  #workspace.linked-ticket-page .ticket-lower-panel .resource-create:not([hidden]) {flex-wrap: wrap;}
  #workspace.linked-ticket-page .ticket-lower-panel .resource-create button {width: 100%;}
}
