/* Copyright (c) A|iens. All rights reserved.
 * Module: Cloud Foundry · 1.0.0 · A'nil Cyborg
 * Description: Scoped resource plans, shared deployment revisions and reviewed authoring.
 * Dependencies: Existing Cloud shell/component tokens; no replacement identity assets.
 */
.foundry-screen { min-width: 0; }
.foundry-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.foundry-heading > div { min-width: 0; overflow-wrap: anywhere; }
.foundry-heading h2 { margin: 0 0 6px; }
.foundry-heading p { margin: 0; color: var(--muted); line-height: 1.6; }
.foundry-notice { padding: 12px 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); color: var(--muted); line-height: 1.6; }
.foundry-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.foundry-fields .field, .foundry-fields input, .foundry-fields textarea, .foundry-fields select { min-width: 0; max-width: 100%; }
.foundry-fields textarea { width: 100%; resize: vertical; }
.foundry-wide { grid-column: 1 / -1; }
.foundry-form-actions { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 10px; }
.foundry-form .btn, .foundry-screen .btn, .foundry-review .btn { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.foundry-filter { display: grid; grid-template-columns: minmax(150px, 1fr) minmax(140px, 220px) auto; align-items: end; gap: 12px; margin: 18px 0; }
.foundry-filter .field { min-width: 0; }
.foundry-link { color: var(--accent); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.foundry-link:hover { text-decoration: underline; }
.foundry-link:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: 5px; }
.foundry-muted { display: block; color: var(--muted); margin-top: 5px; line-height: 1.5; white-space: normal; overflow-wrap: anywhere; }
.foundry-help { color: var(--muted); line-height: 1.6; overflow-wrap: anywhere; }
.foundry-form-error, .foundry-review-error { color: var(--danger, #a32139); line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
.foundry-screen td, .foundry-review td { white-space: normal; overflow-wrap: anywhere; }
.foundry-screen td .btn { margin: 3px; }
.foundry-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.foundry-steps a { display: flex; align-items: center; padding: 18px; min-width: 0; border: 1px solid var(--border); border-radius: 13px; background: var(--surface); box-shadow: var(--shadow); line-height: 1.6; }
.foundry-steps a:hover { border-color: var(--accent); }
.foundry-fields input[readonly] { color: var(--muted); }
@media (max-width: 800px) {
  .foundry-steps { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .foundry-heading { align-items: stretch; flex-direction: column; }
  .foundry-fields, .foundry-filter { grid-template-columns: minmax(0, 1fr); }
  .foundry-wide { grid-column: auto; }
  .foundry-form-actions > .btn { flex: 1 1 auto; }
}
/* [FOOTER] Native layout only. Desktop, zoom and assistive-technology acceptance require separate observations. */
