/* Estilo del anfitrión (Outlook): tipografía Segoe, blanco y acento azul.
   Diseñado a 320 px, el ancho que documenta Microsoft para el panel en la web. */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #fff;
  color: #242424;
  font: 14px/1.45 "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
}

main {
  max-width: 640px;
  padding: 16px;
}

h1 {
  margin: 0 0 6px;
  color: #616161;
  font-size: 12px;
  font-weight: 600;
}

h2 {
  margin: 20px 0 6px;
  font-size: 15px;
}

a {
  color: #0f6cbd;
}

.status {
  margin: 0 0 12px;
}

.card {
  padding: 12px;
  border: 1px solid #d1d1d1;
  border-radius: 4px;
}

.subject {
  margin: 0;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.note {
  color: #616161;
  font-size: 12px;
}

.draft {
  padding: 8px 12px;
  border: 1px solid #bc4b09;
  border-radius: 4px;
  color: #8a3707;
}

.account {
  margin: 12px 0 8px;
}

.button {
  padding: 6px 16px;
  border: 1px solid #0f6cbd;
  border-radius: 4px;
  background: #0f6cbd;
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.button:hover,
.button:focus-visible {
  background: #115ea3;
}

/* Carpetas de los casos */
.library {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #e0e0e0;
}

/* Igual que .dds de la maqueta aprobada */
.dds {
  position: relative;
}

.dds .ic {
  position: absolute;
  top: 50%;
  right: 10px;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  fill: none;
  stroke: #616161;
  stroke-width: 1.8;
  stroke-linecap: round;
  pointer-events: none;
}

.search {
  width: 100%;
  padding: 7px 32px 7px 10px;
  border: 1px solid #c7c7c7;
  border-radius: 4px;
  background: #fff;
  font: inherit;
}

.search:focus {
  outline: 2px solid #0f6cbd;
  outline-offset: -1px;
}

.list {
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.row {
  display: flex;
  width: 100%;
  align-items: baseline;
  gap: 8px;
  padding: 6px 4px;
  border: 0;
  border-bottom: 1px solid #f0f0f0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
}

button.row {
  cursor: pointer;
}

button.row:hover,
button.row:focus-visible {
  background: #f0f6fc;
}

.row .name {
  flex: 1;
  overflow-wrap: anywhere;
}

.case {
  flex-direction: column;
  gap: 0;
}

.meta,
.hint {
  color: #616161;
  font-size: 12px;
}

.hint {
  padding: 6px 4px;
}

/* Icono de carpeta de la maqueta aprobada, en vector */
.folder::before {
  content: "";
  flex: none;
  align-self: center;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f6cbd' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M3 7a1 1 0 011-1h5l2 2h8a1 1 0 011 1v9a1 1 0 01-1 1H4a1 1 0 01-1-1z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.crumbs {
  margin: 12px 0 4px;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.crumb {
  padding: 0;
  border: 0;
  background: none;
  color: #0f6cbd;
  font: inherit;
  cursor: pointer;
}

.crumb:hover,
.crumb:focus-visible {
  text-decoration: underline;
}

.current {
  font-weight: 600;
}

.sep {
  color: #8a8a8a;
}

/* Grupos de resultados de la búsqueda */
.group {
  margin-top: 8px;
  padding: 4px 4px 2px;
  color: #616161;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.case .meta {
  overflow-wrap: anywhere;
}
