:root{
      --bg:#f5f7fb;
      --card:#ffffff;
      --text:#0f172a;
      --muted:#667085;
      --line:#d0d5dd;
      --line-soft:#e5e7eb;
      --shadow:0 8px 24px rgba(15,23,42,.05);
      --selected:#101828;
      --selected-text:#ffffff;
    }
    *{box-sizing:border-box}
    body{
      margin:0;
      background:var(--bg);
      color:var(--text);
      font-family:Arial, sans-serif;
    }
    .page{
      max-width:640px;
      margin:0 auto;
      padding:24px 16px 40px;
    }
    .hero,
    .card{
      background:var(--card);
      border:1px solid var(--line);
      border-radius:22px;
      box-shadow:var(--shadow);
    }
    .hero{
      padding:22px;
      margin-bottom:16px;
    }
    .hero-row{
      display:flex;
      justify-content:space-between;
      align-items:flex-start;
      gap:16px;
    }
    h1{
      margin:0;
      font-size:28px;
      line-height:1.15;
      font-weight:700;
      letter-spacing:normal;
    }
    .sub{
      margin-top:8px;
      color:var(--muted);
      font-size:14px;
      line-height:1.35;
      font-weight:400;
    }
    .link-btn{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      min-height:40px;
      padding:0 14px;
      border:1px solid var(--line);
      border-radius:999px;
      background:#fff;
      color:#344054;
      text-decoration:none;
      font-size:14px;
      line-height:1.2;
      font-weight:700;
      white-space:nowrap;
    }

    /* TZHK_EQUIPMENT_JOURNAL_FLAT_ROWS_CAPSULE_ONLY_FIXED_1206 */
    .active-filter{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:12px;
      margin-top:16px;
      padding:12px 14px;
      border:1px solid #bfdbfe;
      border-radius:18px;
      background:#eff6ff;
      color:#1e3a8a;
      box-shadow:0 10px 24px rgba(30,64,175,.08);
      font-size:14px;
      line-height:1.35;
      font-weight:800;
    }
    .active-filter a{
      color:#175cd3;
      text-decoration:none;
      white-space:nowrap;
      font-weight:900;
    }

    .card{
      padding:22px;
      margin-bottom:16px;
    }
    .journal-head{
      display:grid;
      grid-template-columns:100px minmax(0,1fr) max-content;
      gap:12px;
      align-items:center;
      padding:0 0 12px;
      border-bottom:1px solid rgba(229,231,235,.9);
      color:#344054;
      font-size:15px;
      line-height:1.35;
      font-weight:800;
    }
    .journal-list{
      display:flex;
      flex-direction:column;
      gap:0;
      padding-top:8px;
    }
    .journal-row{
      display:grid;
      grid-template-columns:100px minmax(0,1fr) max-content;
      gap:12px;
      align-items:center;
      padding:11px 0;
      border-bottom:1px solid rgba(229,231,235,.9);
      color:var(--text);
      font-size:15px;
      line-height:1.35;
      font-weight:400;
    }
    .journal-row:last-child{
      border-bottom:0;
    }
    .journal-date,
    .journal-employee{
      font-family:Arial, sans-serif;
      font-size:15px;
      line-height:1.35;
      font-weight:400;
      letter-spacing:normal;
    }
    .journal-date{
      color:var(--muted);
      white-space:nowrap;
    }
    .journal-employee{
      color:var(--text);
      min-width:0;
      overflow-wrap:anywhere;
    }
    .equipment-capsule{
      justify-self:end;
      display:inline-flex;
      align-items:center;
      justify-content:center;
      padding:2px 9px;
      border:1px solid #d0d5dd;
      border-radius:999px;
      background:#f8fafc;
      color:#344054;
      font-family:Arial, sans-serif;
      font-size:13px;
      line-height:1.25;
      font-weight:600;
      letter-spacing:normal;
      text-align:center;
      white-space:nowrap;
      overflow-wrap:normal;
      word-break:normal;
      max-width:none;
      width:auto;
      min-width:max-content;
      box-shadow:none;
    }
    .empty{
      margin-top:14px;
      padding:18px;
      border:1px dashed var(--line);
      border-radius:20px;
      background:#f8fafc;
      color:var(--muted);
      font-size:15px;
      font-weight:700;
      text-align:center;
    }

    .filter-pill{
      min-height:40px;
      padding:0 11px;
      border:1px solid var(--line);
      border-radius:999px;
      background:#fff;
      color:#344054;
      font-family:Arial, sans-serif;
      font-size:13px;
      font-weight:700;
      display:inline-flex;
      align-items:center;
      justify-content:center;
      gap:7px;
      white-space:nowrap;
      cursor:pointer;
    }
    .filter-caret{
      width:22px;
      height:22px;
      border:1px solid var(--line);
      border-radius:999px;
      display:inline-flex;
      align-items:center;
      justify-content:center;
      font-size:12px;
      line-height:1;
      color:#667085;
      background:#fff;
      flex:0 0 auto;
    }
    .filter-pill.is-active .filter-caret,
    .equipment-native-select-wrap.is-active .filter-caret{
      background:var(--selected);
      border-color:var(--selected);
      color:var(--selected-text);
    }
    .date-direct-picker,
    .equipment-native-select-wrap{
      position:relative;
      display:inline-flex;
      align-items:center;
      min-height:40px;
    }
    .equipment-native-select-wrap{
      justify-self:end;
    }
    .date-native-input{
      position:absolute;
      width:1px;
      height:1px;
      opacity:0;
      pointer-events:none;
      border:0;
      padding:0;
      margin:0;
    }
    .equipment-native-select-label{
      pointer-events:none;
    }
    .equipment-native-select{
      position:absolute;
      inset:0;
      width:100%;
      height:100%;
      opacity:0;
      cursor:pointer;
      border:0;
      padding:0;
      margin:0;
      z-index:5;
    }

    @media (max-width:720px){
      .page{padding:16px 12px 32px}
      h1{font-size:24px}
      .journal-head,
      .journal-row{
        grid-template-columns:92px minmax(0,1fr) max-content;
      }
    }
    @media (max-width:560px){
      h1{
        font-size:22px !important;
        line-height:1.08 !important;
        letter-spacing:-0.045em !important;
      }
      .hero-row{
        flex-direction:column;
        gap:12px;
      }
      .link-btn{width:100%}
      .active-filter{
        align-items:flex-start;
        flex-direction:column;
        gap:8px;
      }
      .card{padding:20px}
      .journal-head,
      .journal-row{
        grid-template-columns:1fr;
        gap:5px;
      }
      .equipment-capsule,
      .equipment-native-select-wrap{
        justify-self:start;
      }
      .equipment-capsule{
        font-size:12px;
      }
    }
    @media (max-width:380px){
      h1{
        font-size:20px !important;
        letter-spacing:-0.055em !important;
      }
    }
  
    /* TZHK_EQUIPMENT_JOURNAL_GREEN_ACTIVE_FILTER_1206 */
    .active-filter{
      margin-top:16px !important;
      padding:16px 18px !important;
      border:1px solid #bbf7d0 !important;
      border-radius:20px !important;
      background:#ecfdf3 !important;
      color:var(--text) !important;
      box-shadow:0 8px 22px rgba(15,23,42,.045) !important;
      font-family:Arial, sans-serif !important;
      font-size:15px !important;
      line-height:1.35 !important;
      font-weight:800 !important;
      letter-spacing:normal !important;
    }

    .active-filter span{
      color:#344054 !important;
      font-family:Arial, sans-serif !important;
      font-size:15px !important;
      line-height:1.35 !important;
      font-weight:800 !important;
      letter-spacing:normal !important;
    }

    .active-filter a{
      color:#166534 !important;
      text-decoration:none !important;
      white-space:nowrap !important;
      font-family:Arial, sans-serif !important;
      font-size:15px !important;
      line-height:1.35 !important;
      font-weight:800 !important;
      letter-spacing:normal !important;
    }

    .active-filter a:hover{
      color:#14532d !important;
    }

    @media (max-width:560px){
      .active-filter{
        padding:14px 16px !important;
        border-radius:18px !important;
        gap:8px !important;
      }

      .active-filter,
      .active-filter span,
      .active-filter a{
        font-size:15px !important;
        line-height:1.35 !important;
      }
    }

  
    /* TZHK_EQUIPMENT_JOURNAL_ACTIVE_FILTER_PAGE_FONT_1206 */
    .active-filter{
      padding:14px 18px !important;
    }

    .active-filter,
    .active-filter span,
    .active-filter a{
      font-family:Arial, sans-serif !important;
      font-size:15px !important;
      line-height:1.35 !important;
      font-weight:700 !important;
      letter-spacing:normal !important;
    }

    .active-filter span{
      color:var(--text) !important;
    }

    .active-filter a{
      color:#166534 !important;
      text-decoration:none !important;
      white-space:nowrap !important;
      font-weight:700 !important;
    }

    .active-filter a:hover{
      color:#14532d !important;
    }

    @media (max-width:560px){
      .active-filter{
        padding:13px 16px !important;
      }

      .active-filter,
      .active-filter span,
      .active-filter a{
        font-size:15px !important;
        line-height:1.35 !important;
        font-weight:700 !important;
      }
    }
/* TZHK_EQUIPMENT_JOURNAL_MOBILE_FILTERS_ROW_R1_2206 */
@media (max-width:560px){
  .journal-head{
    grid-template-columns:minmax(0,.85fr) minmax(0,1.35fr);
    gap:10px;
    align-items:center;
  }

  .journal-head > div:nth-child(2){
    display:none;
  }

  .journal-head > div:nth-child(1),
  .journal-head > div:nth-child(3),
  .journal-head .date-direct-picker,
  .journal-head .equipment-native-select-wrap,
  .journal-head .filter-pill{
    width:100%;
    min-width:0;
  }

  .journal-head .equipment-native-select-wrap{
    justify-self:stretch;
  }
}

/* TZHK_MOBILE_EQUIPMENT_CAPSULE_RIGHT_R1_2206 */
@media (max-width:560px){
  .journal-row{
    grid-template-columns:minmax(0,1fr) max-content;
    column-gap:10px;
    row-gap:5px;
    align-items:center;
  }

  .journal-date{
    grid-column:1 / -1;
  }

  .journal-employee{
    grid-column:1;
    min-width:0;
  }

  .journal-row .equipment-capsule{
    grid-column:2;
    justify-self:end;
    align-self:center;
    max-width:46vw;
    white-space:normal;
    text-align:center;
  }
}
