/* Shared evidence editor: quiet surfaces, clear actions, image-first upload. */
#daily-evidence-editor { background: rgba(32,50,72,.4); backdrop-filter: blur(8px); }
#daily-evidence-editor .daily-evidence-sheet {
  width: min(540px,100%);
  border: 0;
  border-radius: 24px;
  background: #fff;
  color: #203248;
  box-shadow: 0 20px 64px rgba(24,43,57,.16);
}
#daily-evidence-editor .daily-evidence-sheet::before { content: none; }
#daily-evidence-editor .daily-evidence-sheet > header {
  align-items: center;
  gap: 12px;
  padding: 20px 20px 16px;
  background: #fff;
  border: 0;
}
#daily-evidence-editor .daily-evidence-heading-icon { display: none; }
#daily-evidence-editor .daily-evidence-heading h3 { color: #203248; font: 650 20px/1.25 Inter,system-ui,sans-serif; letter-spacing: -.025em; }
#daily-evidence-editor .daily-evidence-heading p { margin-top: 6px; font-size: 12px; line-height: 1.5; color: #526477; }
#daily-evidence-editor #daily-evidence-cancel-top {
  width: 44px; height: 44px; flex: 0 0 44px;
  border: 0; border-radius: 50%;
  background: #E11D5F; color: #fff;
  box-shadow: none;
}
#daily-evidence-editor .daily-evidence-body { padding: 0 20px 16px; background: #fff; }
#daily-evidence-editor #daily-evidence-picker {
  display: grid;
  grid-template-columns: minmax(110px,.9fr) minmax(0,1.1fr);
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 164px;
  padding: 12px 16px 0 6px;
  border: 0;
  border-radius: 16px;
  background: #f1f5f7;
  color: #203248;
  box-shadow: none;
  text-align: left;
  transition: background-color 150ms ease, border-color 150ms ease;
}
#daily-evidence-editor .daily-evidence-figure {
  display: block; width: 100%; height: 160px;
  object-fit: contain; object-position: center bottom; align-self: end;
  transform-origin: center bottom;
  animation: evidence-worker-deliver 1800ms ease-in-out 2;
}
#daily-evidence-editor #daily-evidence-picker > span { display: block; min-width: 0; width: auto; height: auto; padding: 0; background: none; border: 0; box-shadow: none; }
#daily-evidence-editor #daily-evidence-picker b { display: block; font-size: 15px; font-weight: 600; color: #365b71; }
#daily-evidence-editor #daily-evidence-picker small { display: block; margin-top: 6px; font-size: 12px; line-height: 1.5; color: #526477; }
#daily-evidence-editor #daily-evidence-picker b { display: inline-block; padding: 9px 12px; border-radius: 10px; background: #fff; color: #a81748; font-size: 14px; }
#daily-evidence-editor #daily-evidence-picker > span { padding-bottom: 14px; }
#daily-evidence-editor #daily-evidence-picker:hover:not(:disabled) { background: #e8f0f4; border-color: #c7d7e1; transform: none; }
#daily-evidence-editor .daily-evidence-detail { margin-top: 18px; gap: 8px; color: #203248; font-weight: 600; font-size: 13px; }
#daily-evidence-editor textarea {
  min-height: 80px;
  border: 1px solid #dce4ea;
  border-radius: 12px;
  padding: 12px;
  background: #fbfcfd;
  color: #203248;
  font: 400 13px/1.5 Inter,system-ui,sans-serif;
}
#daily-evidence-editor textarea::placeholder { color: #617183; }
#daily-evidence-editor .daily-issue { margin-top: 0; border: 0; border-top: 1px solid #edf0f3; border-radius: 0; background: transparent; }
#daily-evidence-editor #daily-issue-toggle { min-height: 48px; padding: 12px 0; color: #526477; gap: 12px; }
#daily-evidence-editor #daily-issue-toggle b { color: #203248; font-size: 12px; font-weight: 600; }
#daily-evidence-editor #daily-issue-toggle small { color: #526477; font-size: 11px; line-height: 1.5; }
#daily-evidence-editor #daily-issue-toggle[aria-expanded='false'] small { display: none; }
#daily-evidence-editor #daily-issue-toggle svg { display: none; }
#daily-evidence-editor #daily-issue-toggle::after { content: ''; width: 7px; height: 7px; margin-right: 5px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); flex-shrink: 0; }
#daily-evidence-editor #daily-issue-toggle[aria-expanded='true']::after { transform: rotate(225deg); }
#daily-evidence-editor #daily-issue-toggle svg { color: #526477; flex-shrink: 0; }
#daily-evidence-editor #daily-issue-toggle:hover { background: #edf1f4; }
#daily-evidence-editor #daily-issue-submit { min-height: 44px; border: 0; border-radius: 10px; background: #e5edf2; color: #365b71; box-shadow: none; }
#daily-evidence-editor .daily-evidence-sheet > footer {
  padding: 12px 20px max(16px,env(safe-area-inset-bottom));
  gap: 10px;
  border-top: 1px solid #edf0f3;
  background: #fff;
}
#daily-evidence-editor .daily-evidence-sheet > footer button {
  min-height: 48px;
  min-width: 0;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: none;
  transition: background-color 150ms ease;
}
#daily-evidence-editor #daily-evidence-cancel { flex: 0 0 32%; border: 0; background: #f0f4f6; color: #526477; }
#daily-evidence-editor #daily-evidence-cancel:hover:not(:disabled) { background: #e5edf2; color: #203248; }
#daily-evidence-editor #daily-evidence-submit { flex: 1; border: 0; background: #E11D5F; color: #fff; }
#daily-evidence-editor :is(#daily-evidence-submit,#daily-evidence-cancel-top):hover:not(:disabled) { background: #c81953; }
#daily-evidence-editor button:disabled { opacity: .55; cursor: not-allowed; }
#daily-evidence-editor :is(button,textarea,input):focus-visible { outline: 3px solid #365b71; outline-offset: 3px; box-shadow: none; }
#daily-evidence-editor .daily-evidence-message:empty { display: none; }
#daily-evidence-editor .daily-evidence-comment { margin-top: 12px; }
#daily-evidence-editor .daily-evidence-comment summary { min-height: 48px; display: flex; align-items: center; gap: 8px; color: #203248; font-size: 13px; font-weight: 600; cursor: pointer; list-style: none; }
#daily-evidence-editor .daily-evidence-comment summary::-webkit-details-marker { display: none; }
#daily-evidence-editor .daily-evidence-comment summary small { color: #526477; font-size: 11px; font-weight: 400; }
#daily-evidence-editor .daily-evidence-comment summary::after { content: ''; width: 7px; height: 7px; margin-left: auto; margin-right: 5px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
#daily-evidence-editor .daily-evidence-comment[open] summary::after { transform: rotate(225deg); }
#daily-evidence-editor .daily-evidence-comment .daily-evidence-detail { margin: 0 0 12px; }
#daily-evidence-editor summary:focus-visible { outline: 3px solid #365b71; outline-offset: 2px; border-radius: 6px; }
@keyframes evidence-worker-deliver { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-4px) rotate(-1deg); } }
@media (max-width: 600px) {
  #daily-evidence-editor { padding: 0; align-items: end; }
  #daily-evidence-editor .daily-evidence-sheet { width: 100%; max-height: calc(100dvh - 20px); border-radius: 24px 24px 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  #daily-evidence-editor button { transition: none; }
  #daily-evidence-editor .daily-evidence-figure { animation: none; }

}
