#care-assistant-root { min-width: 0; color: #1d2c26; }
#care-assistant-root * { box-sizing: border-box; letter-spacing: 0; }
.care-toolbar { display: grid; grid-template-columns: minmax(220px, 1fr) minmax(160px, 1fr); gap: 24px; padding: 20px 0; border-bottom: 1px solid #cdd8d3; align-items: end; }
#care-assistant-root label { display: grid; gap: 7px; min-width: 0; font-size: 15px; font-weight: 600; }
#care-assistant-root input, #care-assistant-root select, #care-assistant-root textarea { width: 100%; min-width: 0; margin: 0; font-size: 16px; font-weight: 400; padding: 11px 12px; border: 1px solid #aabbb4; border-radius: 6px; color: #1d2c26; background: white; }
#care-assistant-root textarea { resize: vertical; line-height: 1.5; }
.care-scope { display: grid; gap: 6px; padding-bottom: 8px; overflow-wrap: anywhere; }
.care-scope span { font-size: 14px; color: #596b62; }
.care-message { min-height: 24px; margin: 12px 0; font-size: 15px; }
.care-error { color: #a02136; }
.care-documents, .care-workflow { border-bottom: 1px solid #cdd8d3; padding: 12px 0 26px; }
.care-workflow { margin-top: 12px; }
.care-heading { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: 16px; margin-bottom: 18px; }
#care-assistant-root h2 { font-size: 21px; line-height: 1.25; margin: 0; }
#care-assistant-root h3 { font-size: 17px; margin: 0 0 12px; }
.care-search { width: min(100%, 350px); }
.care-table-wrap { overflow-x: auto; max-width: 100%; }
#care-assistant-root table { width: 100%; border-collapse: collapse; font-size: 14px; }
#care-assistant-root th { color: #4b5b55; background: #edf3f0; text-align: left; font-size: 13px; }
#care-assistant-root td, #care-assistant-root th { padding: 12px; border-bottom: 1px solid #d5dfda; overflow-wrap: anywhere; }
#care-assistant-root td:first-child { min-width: 150px; width: 52%; }
.care-label { display: inline-block; background: #e6edf7; color: #354e77; font-size: 12px; padding: 4px 8px; margin-left: 10px; border-radius: 4px; font-weight: 600; }
.care-target { font-size: 15px; overflow-wrap: anywhere; }
.care-target strong { margin-left: 12px; }
.care-entry-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 980px; }
.care-wide { grid-column: 1 / -1; }
.care-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 20px; }
#care-assistant-root button { min-height: 44px; font-size: 15px; border-radius: 6px; white-space: normal; overflow-wrap: anywhere; }
.care-actions a, #care-assistant-root td a { color: #006e73; font-weight: 600; }
#care-assistant-root .care-confirm { display: flex; flex-direction: row; align-items: center; gap: 9px; }
#care-assistant-root input[type="checkbox"] { width: 20px; height: 20px; flex-shrink: 0; }
.care-revision-summary { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-bottom: 20px; font-size: 14px; color: #354e77; }
.care-exact-entry { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin: 0 0 24px; }
.care-exact-entry div { min-width: 0; }
.care-exact-entry div:nth-last-child(-n+3) { grid-column: 1 / -1; }
#care-assistant-root dt { font-size: 13px; font-weight: 600; color: #596b62; }
#care-assistant-root dd { font-size: 15px; margin: 5px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.care-preview { display: block; width: 100%; height: 580px; min-width: 0; border: 1px solid #aabbb4; border-radius: 6px; background: white; }
.care-notice, .care-empty { font-size: 14px; line-height: 1.5; color: #596b62; }
.care-proof { margin-top: 16px; max-width: 100%; }
.care-proof dd { font-family: monospace; font-size: 12px !important; }
.care-receipt { padding: 14px 0; color: #1e6b44; font-weight: 600; }
.care-history { margin-top: 28px; border-top: 1px solid #cdd8d3; padding-top: 20px; }
.care-history ul { list-style: none; padding: 0; display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 640px) {
  .care-toolbar, .care-entry-grid, .care-exact-entry { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .care-wide { grid-column: auto; }
  .care-scope { padding: 0; }
  .care-heading { align-items: stretch; flex-direction: column; gap: 12px; }
  .care-search { width: 100%; }
  #care-assistant-root table, #care-assistant-root tbody { display: block; }
  #care-assistant-root thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  #care-assistant-root tr { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 0 12px; border-bottom: 1px solid #cdd8d3; padding: 8px 0; }
  #care-assistant-root td { padding: 7px 0; border: 0; }
  #care-assistant-root td:first-child { grid-column: 1 / -1; width: auto; min-width: 0; }
  #care-assistant-root td a { white-space: nowrap; }
  .care-actions > button, .care-actions > .care-confirm { width: 100%; }
  .care-preview { height: 500px; }
  .care-label { margin: 5px 0 0; }
}

.care-save-receipt dd { font: 12px monospace !important; overflow-wrap: anywhere; }

.care-template, .care-binding { padding: 20px 0; border-bottom: 1px solid #cdd8d3; min-width: 0; }
.care-template details { margin: 14px 0; overflow-wrap: anywhere; }
.care-binding h2 { margin-bottom: 16px !important; }
.care-history a { overflow-wrap: anywhere; color: #006e73; }

.care-command { padding: 0 0 28px; border-bottom: 1px solid #cdd8d3; min-width: 0; }
#care-command-submit { margin-top: 16px; max-width: 1000px; }
#care-instruction { display: block; margin-top: 8px; }
.care-command-review { margin-top: 24px; min-width: 0; }
.care-command-target { margin: 0 0 20px; }
.care-command-questions { color: #8b3b25; margin: 16px 0; }
.care-command-source { font-size: 12px; color: #6b527e; margin: 5px 0 0; }
.care-command-corrections, #care-manual { margin: 18px 0; }
.care-command-corrections summary, #care-manual summary { color: #006e73; font-weight: 600; cursor: pointer; }
.care-command-corrections .care-entry-grid { padding: 16px 0; }
@media (max-width:640px) { #care-command-submit .care-actions button { width: 100%; } .care-command-review dd { overflow-wrap:anywhere; } }
