/* gc11.css — GC11: the screens drawn and not built, and the search windows (R9, R10).
   The search window's note and footer, the Form 4 viewer, the Martyrs' fund tiles, the freeze task's progress, the leave window. */

/* ── the search window (wnd-*-search): three to a row, the green note, Cancel · Clear · Show N results ── */
.g11-sw-grid { gap: 12px 14px; }
.g11-sw-grid .field { min-width: 0; }
.g11-sw-grid .field > input, .g11-sw-grid .field > select, .g11-sw-grid .emp-picker { width: 100%; }
.g11-sw-note { margin: 14px 0 0; padding: 10px 14px; border-radius: 10px; font-size: 13px; line-height: 1.6;
  border: 1px solid color-mix(in srgb, var(--ac, #0f766e) 30%, transparent); background: color-mix(in srgb, var(--ac, #0f766e) 6%, transparent); }
.g11-sw-ft [data-search-go][aria-busy="true"] { opacity: .75; }

/* ── a window's note (the leave balance line) and its warning (the freeze's blockers) ── */
.g11-note { margin: 12px 0 0; padding: 10px 14px; border-radius: 10px; font-size: 14px;
  border: 1px solid color-mix(in srgb, var(--ac, #0f766e) 30%, transparent); background: color-mix(in srgb, var(--ac, #0f766e) 6%, transparent); }
.g11-note.g11-over { border-color: color-mix(in srgb, var(--rd, #dc2626) 40%, transparent); background: color-mix(in srgb, var(--rd, #dc2626) 7%, transparent); }
.g11-warn { margin: 12px 0 0; padding: 10px 14px; border-radius: 10px; font-size: 14px;
  border: 1px solid color-mix(in srgb, var(--am, #d97706) 45%, transparent); background: color-mix(in srgb, var(--am, #d97706) 9%, transparent); }
.g11-warn a { font-weight: 600; margin-inline-start: 6px; }
.g11-full { grid-column: 1 / -1; }
.g11-file { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 40px; padding: 8px 12px;
  border: 1px solid var(--bo2, #d5dddd); border-radius: 10px; background: var(--s, #fff); cursor: pointer; font-size: 14px; color: var(--t2, #2A3E3E); }
.g11-file input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.g11-file:focus-within { outline: 2px solid var(--ac, #0f766e); outline-offset: 1px; }
[data-freeze-reason-row][hidden], [data-freeze-blocked][hidden], [data-freeze-frozen][hidden], [data-lv-balance][hidden] { display: none !important; }
.g11-lbl { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--t2, #2A3E3E); }
.g11-chip { display: inline-flex; align-items: center; align-self: flex-start; width: auto; min-height: 36px; padding: 4px 16px; border-radius: 999px; font-weight: 700; }

/* ── the freeze task: the progress line under the check ── */
.g11-progress { height: 6px; margin: 14px 0 6px; border-radius: 6px; background: var(--s3, #e5eaea); overflow: hidden; }
.g11-progress > u { display: block; height: 100%; background: var(--ac, #0F766E); transition: width .25s ease; }

/* ── Form 4 (Viewer XL): the company and its tax number, the table with its totals line ── */
.g11-f4-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; font-size: 14px; }
.g11-f4-head b { font-size: 15px; }
.g11-f4-scroll { max-height: 56vh; overflow: auto; border: 1px solid var(--bo, #e5e7eb); border-radius: 10px; }
.g11-f4-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.g11-f4-table th, .g11-f4-table td { padding: 9px 12px; border-bottom: 1px solid var(--bo, #e5e7eb); text-align: start; white-space: nowrap; }
.g11-f4-table thead th { position: sticky; top: 0; background: var(--s2, #f6f8f8); font-size: 12px; color: var(--t3, #557070); }
.g11-f4-table .num { text-align: end; font-variant-numeric: tabular-nums; }
.g11-f4-table tfoot th, .g11-f4-table tfoot td { position: sticky; bottom: 0; background: var(--s2, #f1f4f4); font-weight: 800; }

/* ── the Martyrs' fund: four tiles, the branch table, the remittance list ── */
.g11-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 12px 0; }
.g11-tile { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border-radius: 12px; background: var(--s, #fff);
  border: 1px solid var(--bo, #e5e7eb); border-top: 3px solid var(--ac, #0f766e); }
.g11-tile.g11-bl { border-top-color: #1d5c9b; } .g11-tile.g11-pu { border-top-color: #7c3aed; }
.g11-tile-h { font-size: 13px; color: var(--t2, #2A3E3E); }
.g11-tile b { font-size: 24px; font-weight: 800; }
.g11-tile small { font-size: 12px; color: var(--t3, #557070); }
.g11-actions { display: flex; justify-content: flex-start; margin-top: 12px; }
.g11-inline { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; }
.g11-inline input, .g11-inline select { min-height: 36px; }
@media (max-width: 900px) { .g11-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px), (pointer: coarse) { .g11-chip, .g11-inline input, .g11-inline select { min-height: 44px; } }
