/* tools.css - shared styles for the secondary tool screens (Quick summary and
   Employee benefit table). They reuse the dropzone, file table, sections, fields,
   switches, and the submit row from the other stylesheets; this file only adds
   the few pieces specific to these screens. */

.tool-screen { display: block; }

.tool-back {
  display: inline-flex; align-items: center; gap: 4px; margin-bottom: 14px;
  font-size: 13px; font-weight: 600; color: var(--muted);
}
.tool-back .ic { width: 15px; height: 15px; }
.tool-back:hover { color: var(--navy); }
[data-theme="dark"] .tool-back:hover { color: var(--info); }

.tool-lede { max-width: 720px; }

.tool-options { display: flex; flex-direction: column; }

/* Uploader spacing: the file table sits just under the dropzone. */
.uploader .up-files:not(:empty) { margin-top: 14px; }

/* One document per column: no "Detected as" menu, so drop that grid column. */
.uploader--nokind .filerow { grid-template-columns: 1fr 88px 34px; }
@media (max-width: 560px) {
  .uploader--nokind .filerow { grid-template-columns: 1fr auto; grid-template-areas: "name remove" "size size"; }
}

/* Compact single-file zone (branding, contribution sheet). Capped so a one-file
   zone never stretches to the full content width like the main plan dropzone. */
.filedrop { max-width: 640px; }
.dropzone--sm { min-height: 138px; padding: 22px 20px; gap: 8px; }
.dropzone--sm .dz-ic { width: 44px; height: 44px; }
.dropzone--sm .dz-ic .ic { width: 20px; height: 20px; }
.dropzone--sm .dz-title { font-size: 14.5px; }
.filedrop .fd-row:not(:empty) { margin-top: 12px; }
.filedrop .filerow { grid-template-columns: 1fr 88px 34px; }

/* Branding: an upload zone or a website address, whichever the AC has. */
.tool-branding { display: grid; gap: 12px; max-width: 640px; }
.tool-or {
  display: flex; align-items: center; gap: 12px;
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--faint);
}
.tool-or::before, .tool-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
