.registry-preview { font-size: .9rem; color: #315c57; }
.registry-controls { display: grid; grid-template-columns: auto minmax(0, 1fr) auto minmax(0, 1fr); gap: .75rem; align-items: center; margin-block: 1.5rem; }
.registry-controls[hidden], .registry-card[hidden] { display: none; }
.registry-controls input, .registry-controls select { width: 100%; min-width: 0; padding: .55rem; font: inherit; color: inherit; border: 1px solid #63847e; border-radius: .35rem; background: white; }
.registry-card h3 { margin-block: .2rem; }
.registry-meta { font-size: .87rem; color: #315c57; }
[data-action] label { display: block; font-weight: bold; margin-top: .6rem; }
[data-action] textarea { margin-bottom: .5rem; }
[data-route] summary:focus-visible { outline: 3px solid #be397d; outline-offset: 4px; }
@media (max-width: 640px) { .registry-controls { grid-template-columns: 1fr; gap: .35rem; } }
.task-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: .75rem; margin-bottom: .8rem; }
.task-row label { display: grid; gap: .25rem; font-weight: bold; }
.task-row input, .task-row select { min-width: 0; width: 100%; padding: .55rem; font: inherit; color: inherit; background: white; border: 1px solid #63847e; border-radius: .35rem; }
.learning-prompt { white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 640px) { .task-row { grid-template-columns: 1fr; } }
.registry-guide-action { justify-self: start; align-self: center; text-align: center; }
.registry-guide-action:hover { background: #86cbcb; }
[data-finder] input[type="search"] { width: 100%; padding: .65rem; border: 1px solid #63847e; border-radius: .35rem; font: inherit; }
[data-found-ingredients] button { margin: .2rem; padding: .3rem .65rem; border: 1px solid #63847e; border-radius: 2rem; font: inherit; cursor: pointer; }
[data-found-ingredients] button[aria-pressed="true"] { background: #a6dddd; color: #092d30; }

[data-action] select {
  max-width: 100%;
  min-width: 0;
}
