/* new-run.css - the New run (package) screen. */

.newrun { display: flex; flex-direction: column; gap: 24px; }

/* Summary line under the file table */
.upload-summary { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--ink-2); margin-top: 12px; }
.upload-summary span { min-width: 0; }
.upload-summary .ic { width: 17px; height: 17px; color: var(--navy); flex: none; }
.upload-summary strong { color: var(--ink); font-weight: 700; }

/* Client name row */
.client-row { display: grid; grid-template-columns: 1fr; gap: 0; }

/* Options section */
.options { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); box-shadow: var(--sh-1); overflow: hidden; }
.options-h { display: flex; align-items: center; gap: 10px; width: 100%; padding: 14px 18px; background: none; border: none; font-family: inherit; cursor: pointer; text-align: left; }
.options-h .oh-title { font-weight: 700; font-size: 14px; color: var(--ink); }
.options-h .oh-sub { font-size: 12.5px; color: var(--muted); }
.options-h .ic.chev { width: 16px; height: 16px; color: var(--muted); margin-left: auto; transition: transform var(--dur-2) var(--ease); }
.options.open .options-h .ic.chev { transform: rotate(90deg); }
.options-b { padding: 4px 18px 18px; border-top: 1px solid var(--line); }

.option { padding: 14px 0; border-bottom: 1px solid var(--line); }
.option:last-child { border-bottom: none; }
.option-head { display: flex; align-items: flex-start; gap: 12px; }
.option-head .switch { margin-top: 1px; }
.option-main { min-width: 0; flex: 1; }
.option-title { display: flex; align-items: center; gap: 7px; font-weight: 600; font-size: 13.5px; color: var(--ink); }
.option-desc { font-size: 12.5px; color: var(--muted); line-height: 1.45; margin-top: 2px; }
.learn-more { background: none; border: none; padding: 0; color: var(--info); font-weight: 600; font-size: 12px; cursor: pointer; font-family: inherit; display: inline-flex; align-items: center; gap: 3px; }
.learn-more .ic { width: 13px; height: 13px; }
/* revealed sub-field (total employees, notes) */
.option-extra { margin: 12px 0 0 50px; }
.option-extra input[type=number] { max-width: 220px; }
@media (max-width: 560px) { .option-extra { margin-left: 0; } }

/* Submit region */
.submit-row { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.submit-row .btn-primary { min-width: 220px; }
.submit-reason { font-size: 12.5px; color: var(--muted); }
.submit-reason.blocked { color: var(--warn-text); }

/* Phone: the file row stacks so the file name keeps its space. */
@media (max-width: 560px) {
  .filelist .filerow {
    grid-template-columns: 1fr auto;
    grid-template-areas: "name remove" "kind size";
    row-gap: 12px; column-gap: 12px; align-items: center;
  }
  .filerow .fr-name { grid-area: name; }
  .filerow .fr-kind { grid-area: kind; width: 100%; }
  .filerow .fr-size { grid-area: size; }
  .filerow .fr-x { grid-area: remove; }
  .filerow .fr-prog { grid-area: unset; grid-column: 1 / -1; }
}
