.ac-industry { padding: 16px; }
.ac-industry-box { width: min(100%, 1020px); height: 92vh; height: 92dvh; display: flex; flex-direction: column; background: #22262c; border: 1px solid #444; border-radius: 14px; overflow: hidden; min-width: 0; }
.ac-industry-head,.ac-industry-foot { padding: 16px 22px; background: #171b1f; flex: 0 0 auto; }
.ac-industry-head h2 { font-size: 20px; color: #f2ecd9; }
.ac-industry-head p,.ac-industry-note { font-size: 13px; line-height: 1.5; color: #b7bec7; margin: 6px 0 12px; }
.ac-industry-body { padding: 20px; overflow-y: auto; min-height: 0; }
.ac-industry-section { margin-bottom: 24px; }
.ac-industry-section h3 { font-size: 17px; color: #f0c75e; }
.ac-industry-row { border: 1px solid #4a515a; border-radius: 10px; padding: 16px; margin: 14px 0; min-width: 0; }
.ac-industry-row legend { color: #f2ecd9; font-weight: 700; padding: 0 6px; overflow-wrap: anywhere; }
.ac-industry-field { display: flex; flex-direction: column; gap: 5px; margin: 10px 0; font-size: 13px; }
.ac-industry-field input,.ac-industry-field select,.ac-industry-field textarea { width: 100%; min-width: 0; padding: 10px; border: 1px solid #535b65; border-radius: 7px; background: #1a1e23; color: #eee; font: inherit; min-height: 44px; }
.ac-industry-field textarea { min-height: 80px; resize: vertical; }
.ac-industry-field input[type=color] { width: 80px; }
.ac-industry-field :disabled { opacity: .7; }
.ac-industry-check { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 13px; margin-right: 18px; }
.ac-industry-scope, .ac-industry-row fieldset { border: 1px solid #444; padding: 8px 12px; margin: 12px 0; min-width: 0; }
.ac-industry-row details { font-size: 12px; color: #aab; margin: 12px 0; }
.ac-industry-row code { display: block; overflow-wrap: anywhere; margin: 8px 0; }
.ac-industry button { min-height: 44px; }
.ac-industry-foot > div { display: flex; justify-content: flex-end; gap: 10px; }
.ac-industry-foot [role=status] { font-size: 13px; color: #ffd08a; margin-bottom: 8px; overflow-wrap: anywhere; }
.ac-industry :focus-visible { outline: 2px solid #f0c75e; outline-offset: 2px; }
@media(max-width: 600px) {
  .ac-industry { padding: 0; }
  .ac-industry-box { width: 100%; height: 100vh; height: 100dvh; border: 0; border-radius: 0; }
  .ac-industry-head,.ac-industry-foot { padding: 12px; }
  .ac-industry-head { padding-top: calc(env(safe-area-inset-top,0px) + 12px); }
  .ac-industry-foot { padding-bottom: calc(env(safe-area-inset-bottom,0px) + 12px); }
  .ac-industry-body { padding: 12px; }
  .ac-industry-row { padding: 10px; }
  .ac-industry-field input,.ac-industry-field select,.ac-industry-field textarea { font-size: 16px; }
}
