/* Sticky shared header is in-flow — kill legacy fixed-header gap */
    body { padding-top: 0 !important; margin-top: 0 !important; }
    .tenders-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 8px 16px 32px;
    }

    .tenders-header {
      text-align: center;
      margin-bottom: 1.25rem;
    }

    .tenders-header h1 {
      font-size: 2.5rem;
      font-weight: 800;
      color: #0f172a;
      margin-bottom: 1rem;
    }

    .tenders-header p {
      font-size: 1.125rem;
      color: #64748b;
      max-width: 700px;
      margin: 0 auto;
      line-height: 1.6;
    }

    .tenders-filters {
      display: flex;
      gap: 1rem;
      margin-bottom: 2rem;
      flex-wrap: wrap;
    }

    .filter-input {
      flex: 1;
      min-width: 250px;
      padding: 12px 16px;
      border: 1px solid #e5e7eb;
      border-radius: 8px;
      font-size: 14px;
    }

    .tenders-table-wrapper {
      overflow-x: auto;
      border: 1px solid #e5e7eb;
      border-radius: 8px;
      background: white;
    }

    .tenders-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 14px;
    }

    .tenders-table thead {
      background: #f9fafb;
      border-bottom: 2px solid #e5e7eb;
    }

    .tenders-table th {
      padding: 16px;
      text-align: left;
      font-weight: 600;
      color: #1e3a8f;
    }

    .tenders-table td {
      padding: 16px;
      border-bottom: 1px solid #e5e7eb;
      color: #374151;
    }

    .tenders-table tbody tr:hover {
      background: #f3f4f6;
    }

    .tender-title {
      font-weight: 600;
      color: #1e3a8f;
    }

    .tender-title a {
      color: #0e7490;
      text-decoration: none;
      font-weight: 700;
      border-bottom: 1px solid transparent;
      transition: color .15s, border-color .15s;
    }

    .tender-title a:hover {
      color: #0f766e;
      border-bottom-color: #99f6e4;
    }

    .tender-title a:focus-visible {
      outline: 2px solid rgba(8, 145, 178, 0.45);
      outline-offset: 2px;
      border-radius: 2px;
    }

    .tender-value {
      color: #0891b2;
      font-weight: 600;
    }

    .tender-status {
      display: inline-block;
      padding: 4px 12px;
      border-radius: 20px;
      font-size: 12px;
      font-weight: 600;
    }

    .status-open {
      background: #dcfce7;
      color: #166534;
    }

    .status-closing {
      background: #fef3c7;
      color: #92400e;
    }

    .status-closed {
      background: #fee2e2;
      color: #991b1b;
    }

    .action-btn {
      display: inline-block;
      padding: 8px 16px;
      background: #0891b2;
      color: white !important;
      text-decoration: none;
      border-radius: 6px;
      font-size: 13px;
      font-weight: 600;
      border: none;
      cursor: pointer;
      transition: all 0.2s;
      white-space: nowrap;
    }

    .action-btn:hover {
      background: #0e7490;
      color: white !important;
    }

    .tenders-table tbody tr.guest-locked {
      filter: blur(5px);
      opacity: 0.55;
      user-select: none;
      pointer-events: none;
    }

    .tenders-table tbody tr.guest-locked td {
      background: rgba(248, 250, 252, 0.7);
    }

    .tenders-guest-gate {
      margin: 2rem auto;
      padding: 1.25rem 1.1rem;
      text-align: center;
      border-radius: 12px;
      border: 1px solid #a5f3fc;
      background: linear-gradient(135deg, #ecfeff 0%, #f0f9ff 55%, #fff 100%);
      box-shadow: 0 8px 24px rgba(8, 145, 178, 0.1);
      max-width: 600px;
    }

    .tenders-guest-gate strong {
      display: block;
      font-size: 1rem;
      color: #0f172a;
      margin-bottom: 0.35rem;
    }

    .tenders-guest-gate p {
      margin: 0 0 0.9rem;
      font-size: 13.5px;
      color: #475569;
      line-height: 1.45;
    }

    .tenders-guest-gate-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      justify-content: center;
    }

    .btn-gate {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0.55rem 1rem;
      border-radius: 8px;
      font-size: 13px;
      font-weight: 700;
      text-decoration: none;
      line-height: 1.2;
    }

    .btn-gate.primary {
      background: #0891b2;
      color: #fff;
      border: 1px solid #0891b2;
    }

    .btn-gate.secondary {
      background: #fff;
      color: #0e7490;
      border: 1px solid #67e8f9;
    }

    .stats-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 1rem;
      margin-bottom: 3rem;
    }

    .stat-card {
      background: white;
      border: 1px solid #e5e7eb;
      border-radius: 8px;
      padding: 1.5rem;
      text-align: center;
    }

    .stat-number {
      font-size: 32px;
      font-weight: 700;
      color: #0891b2;
    }

    .stat-label {
      font-size: 12px;
      color: #666;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      margin-top: 0.5rem;
    }
