/* Copyright (c) A|iens. All rights reserved.
 * [HEADER] Cloud Agent Studio · 1.0.0 · A'nil Cyborg
 * Description: Native scoped agent forms, version comparisons and supplied evidence.
 * Requires: Cloud shell and shared component tokens; preserves existing Aliens identity assets.
 */
.agent-screen { min-width: 0; }
.agent-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.agent-heading > div { min-width: 0; overflow-wrap: anywhere; }
.agent-heading h2 { margin: 0 0 6px; }
.agent-heading p { margin: 0; color: var(--muted); }
.agent-notice { padding: 12px 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); color: var(--muted); line-height: 1.6; }
.agent-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.agent-fields .field, .agent-fields .field input, .agent-fields .field textarea { min-width: 0; max-width: 100%; }
.agent-fields textarea { width: 100%; resize: vertical; }
.agent-wide { grid-column: 1 / -1; }
.agent-check { display: flex; align-items: flex-start; gap: 9px; padding: 8px 0; line-height: 1.5; min-width: 0; }
.agent-check input { flex: 0 0 auto; margin-top: 4px; }
.agent-check span { overflow-wrap: anywhere; }
.agent-tool-choices { min-width: 0; border: 1px solid var(--border); border-radius: 12px; padding: 10px 16px; }
.agent-tool-choices legend { padding: 0 5px; font-weight: 600; }
.agent-form-actions { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 10px; }
.agent-screen .btn, .agent-form .btn { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.agent-filter { display: grid; grid-template-columns: minmax(150px, 1fr) minmax(140px, 220px) auto; align-items: end; gap: 12px; margin: 18px 0; }
.agent-filter .field { min-width: 0; }
.agent-link { color: var(--accent); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.agent-link:hover { text-decoration: underline; }
.agent-link:focus-visible, .agent-steps a:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: 8px; }
.agent-muted { display: block; color: var(--muted); margin-top: 5px; line-height: 1.5; white-space: normal; overflow-wrap: anywhere; }
.agent-value { margin: 0; font: inherit; white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-word; max-width: 100%; max-height: 320px; overflow: auto; }
.agent-review .agent-value { min-width: 90px; }
.agent-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.agent-steps a { display: flex; flex-direction: column; gap: 10px; padding: 16px; border: 1px solid var(--border); background: var(--surface); border-radius: 15px; text-decoration: none; color: var(--text); min-width: 0; box-shadow: var(--shadow); }
.agent-steps a:hover { border-color: var(--accent); }
.agent-steps a > span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; color: var(--primary-strong); background: var(--primary-tint); font-weight: 700; }
.agent-steps strong, .agent-steps small { overflow-wrap: anywhere; }
.agent-steps small { color: var(--muted); line-height: 1.5; }
.agent-form-error, .agent-review-error { color: var(--danger, #a32139); white-space: pre-wrap; }
.agent-result { font-weight: 600; white-space: nowrap; }
.agent-match { color: var(--good, #14734c); }
.agent-mismatch { color: var(--danger, #a32139); }
.agent-screen td { white-space: normal; overflow-wrap: anywhere; }
.agent-screen td .btn { margin: 3px; }
@media (max-width: 1000px) {
  .agent-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .agent-heading { align-items: stretch; flex-direction: column; }
  .agent-fields, .agent-filter, .agent-steps { grid-template-columns: minmax(0, 1fr); }
  .agent-wide { grid-column: auto; }
  .agent-form-actions > .btn { flex: 1 1 auto; }
}
/* [FOOTER] v1.0.0 · Native layout only. No generated images or replacement identity system. */
