/* FileNameCheck: styles that exist only in this tool. Shared look: ../../shared/css/style.css */

/* Page shell: a one-screen cockpit on desktop; stacked and scrolling below 1024px. */

html, body { min-height: 100%; }

.app-shell { min-height: 100vh; min-height: 100dvh; }

@media (min-width: 1024px) {
  html, body { height: 100%; overflow: hidden; }

  .app-shell { height: 100vh; height: 100dvh; }
}

/* Deliverable chips: aspect ratios, formats, audio (pill look of the header buttons) */

.chip-row { display: flex; flex-wrap: wrap; gap: 6px; }

.chip { position: relative; cursor: pointer; }

.chip input { position: absolute; opacity: 0; pointer-events: none; }

.chip span {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  border: 1px solid #e2e8f0; background: #fff; color: #475569;
  font-size: 9.5pt; font-weight: 600; transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.chip:hover span { border-color: #c7d2fe; color: #312e81; }

.chip input:checked + span { background: #4f46e5; border-color: #4f46e5; color: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15); }

.chip input:focus-visible + span { box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.35); }

/* Delivery files (same card, buttons and pills as HostCheck's rooms and tasks) */

.asset-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 8px 10px; }

.asset-name {
  flex: 1; min-width: 0; overflow-wrap: anywhere;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 9.5pt; font-weight: 600; color: #0f172a;
}

.asset-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 5px; padding-left: 30px; font-size: 9pt; color: #64748b; }

.asset-platforms { color: #94a3b8; }

.asset-hint { font-size: 9pt; font-weight: 600; color: #b45309; background: #fffbeb; border: 1px solid #fde68a; border-radius: 10px; padding: 6px 10px; }

.q-num {
  flex-shrink: 0; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
  display: grid; place-items: center; font-size: 9pt; font-weight: 700; color: #fff; background: #4f46e5;
}

.prio { font-size: 7.5pt; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; padding: 1px 6px; border-radius: 6px; white-space: nowrap; }
.prio-standard { background: #f1f5f9; color: #475569; }
.prio-detail { background: #ede9fe; color: #6d28d9; }
.prio-clean { background: #fef3c7; color: #92400e; }

.status-pill {
  margin-left: auto; font-size: 8pt; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  padding: 2px 9px; border-radius: 999px; border: 1px solid transparent; transition: filter 0.15s;
}
.status-pill:hover { filter: brightness(0.95); }
.status-pending { background: #f1f5f9; color: #475569; border-color: #e2e8f0; }
.status-delivered { background: #e0e7ff; color: #3730a3; border-color: #c7d2fe; }
.status-approved { background: #d1fae5; color: #065f46; border-color: #6ee7b7; }

.task-btn { color: #94a3b8; font-size: 11pt; line-height: 1; padding: 1px 3px; }
.task-btn:hover { color: #4f46e5; }

/* Print / PDF: the 1-page Client Delivery Handover. */

.print-only { display: none; }

@media print {
  @page { margin: 10mm; size: letter landscape; }

  html, body, main, main > section, main section > div {
    height: auto !important; min-height: 0 !important; max-height: none !important;
    overflow: visible !important; position: static !important; display: block !important;
    background: #fff !important; box-shadow: none !important; border: 0 !important; padding: 0 !important;
  }
  #toolHeader, #outputLockOverlay, .no-print { display: none !important; }

  .print-only { display: block !important; color: #0f172a; font-size: 9pt; }

  .handover-head { display: flex; justify-content: space-between; align-items: flex-end; border-bottom: 2px solid #4f46e5; padding-bottom: 6px; margin-bottom: 8px; }
  .handover-brand { font-size: 15pt; font-weight: 700; }
  .handover-sub { font-size: 9pt; color: #475569; }
  .handover-title { font-size: 12pt; font-weight: 700; color: #4338ca; text-transform: uppercase; letter-spacing: 0.06em; }

  .handover-facts { border-collapse: collapse; margin-bottom: 8px; }
  .handover-facts th { text-align: left; color: #64748b; font-weight: 600; padding: 1px 10px 1px 0; }
  .handover-facts td { font-weight: 700; padding: 1px 28px 1px 0; }

  .handover-table { width: 100%; border-collapse: collapse; font-size: 8pt; }
  .handover-table th { text-align: left; background: #eef2ff !important; color: #312e81; padding: 3px 5px; border-bottom: 1px solid #a5b4fc; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .handover-table td { padding: 2px 5px; border-bottom: 1px solid #e2e8f0; vertical-align: top; }
  .handover-table tr { break-inside: avoid; }
  .handover-file { font-family: ui-monospace, Menlo, Consolas, monospace; overflow-wrap: anywhere; }

  .handover-sign { display: flex; gap: 40px; margin-top: 18px; font-weight: 600; }
  .handover-note { margin-top: 8px; font-size: 8pt; color: #64748b; }
}
