


    

    
    *,
    *::before,
    *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    
    body {
      background-color: #F4F6F8;
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
        Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
      font-size: 16px;
      color: #212B36;
      line-height: 1.5;
      padding: 20px;
      overflow-y: scroll; 
    }

    
    .container {
      max-width: 1200px;
      margin: 40px auto;
      background-color: #FFFFFF;
      border-radius: 8px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
      padding: 40px;
      
      
      animation: fadeIn 0.3s ease-out forwards;
      opacity: 0;
    }

    
    @keyframes fadeIn {
      0% {
        opacity: 0;
        transform: translateY(8px);
      }
      100% {
        opacity: 1;
        transform: translateY(0);
      }
    }

    
    h1 {
      font-size: 24px;
      font-weight: 600;
      text-align: center;
    }

    
    .description {
      background-color: #EBF4FD;
      border-left: 4px solid #303030;
      padding: 16px 20px;
      margin-bottom: 24px;
      border-radius: 4px;
      color: #212B36;
      font-size: 14px;
    }

    
    fieldset {
      border: 1px solid #DCE3E8;
      border-radius: 6px;
      padding: 24px;
      margin-bottom: 30px;
      background-color: #FAFAFA;
      
      
      animation: fadeIn 0.4s ease-out forwards;
      opacity: 0;
    }

    legend {
      font-size: 16px;
      font-weight: 600;
      color: #212B36;
      margin-bottom: 10px;
      padding: 0 10px;
    }

    
    .form-group {
      margin-bottom: 20px;
    }

    
    .form-group label {
      display: block;
      margin-bottom: 6px;
      font-weight: 500;
      color: #212B36;
    }

    
    .form-group small {
      display: block;
      margin-top: 4px;
      font-size: 13px;
      color: #637381;
    }

    
    .form-group input[type="text"],
    .form-group input[type="number"],
    .form-group select,
    .form-group textarea {
      width: 100%;
      padding: 12px 14px;
      font-size: 14px;
      border: 1px solid #C4CDD5;
      border-radius: 4px;
      background-color: #FFFFFF;
      color: #212B36;
      transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }

    
    .form-group input[type="text"]:focus,
    .form-group input[type="number"]:focus,
    .form-group select:focus,
    .form-group textarea:focus {
      border-color: #303030;
      box-shadow: 0 0 0 1px rgba(92, 106, 196, 0.2);
      outline: none;
    }

    
    input[type="checkbox"] {
      transform: scale(1.2);
      margin-right: 8px;
      vertical-align: middle;
      cursor: pointer;
    }

    
    button,
    input[type="submit"] {
      display: inline-block;
      background-color: #303030;
      color: #FFFFFF;
      border: none;
      padding: 5px 10px;
      font-size: 15px;
      font-weight: bold;
      border-radius: 4px;
      cursor: pointer;
      transition: background-color 0.2s ease, transform 0.1s ease;
    }

    
    button:hover,
    input[type="submit"]:hover {
      background-color: #1A1A1A;
    }

    
    button:active,
    input[type="submit"]:active {
      transform: scale(0.97);
    }

    
    input[type="submit"] {
      width: 100%;
      margin-top: 20px;
    }

    
    .tooltip {
      font-size: 13px;
      color: #303030;
      margin-left: 10px;
    }

    
    .spinner {
      display: inline-block;
      animation: spin 1s linear infinite;
      font-size: 16px;
    }

    
    @keyframes spin {
      from { transform: rotate(0deg); }
      to   { transform: rotate(360deg); }
    }

    
    input[disabled] {
      background-color: #ECEFF1;
      cursor: not-allowed;
    }

    
    table {
      width: 100%;
      border-collapse: collapse;
      margin-bottom: 20px;
    }

    table thead {
      background-color: #F5F5F5;
    }

    table th,
    table td {
      padding: 12px;
      border: 1px solid #DCE3E8;
      font-size: 14px;
      text-align: left;
      color: #212B36;
    }

    table th {
      font-weight: 600;
    }

    
    @media (max-width: 600px) {
      .container {
        padding: 20px;
      }
      fieldset {
        padding: 16px;
      }
      h1 {
        font-size: 20px;
      }
    }

    input[disabled] {
      background-color: #f5f5f5!important; 
      color: #999!important;              
      cursor: not-allowed;      
      border: 1px solid #ccc!important;   
      opacity: 1;               
    }

    input[disabled]:hover,
    input[disabled]:focus {
      border-color: #ccc;       
      box-shadow: none;         
    }

    tags.tagify{
        background: #FFF;
        width: 100%!important;
    }

    .tooltip {
        display: none;
        color: green;
        margin-left: 10px;
        font-size: 12px;
    }

    .custom_table button.rem_button {
        background: #C70A24;
        color: #FFF;
        cursor: pointer;
        font-weight: bold;
        padding: 5px 10px;
    }

    .custom_table button.rem_button:hover {
        background: #A30A24;
    }

    .save_settings_feed {
        padding: 10px 20px!important;
    }

    .ai-settings-box {
      margin: 24px 0 28px;
      padding: 20px;
      border: 1px solid #D0D5DD;
      border-radius: 12px;
      background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
    }

    .ai-settings-box__title {
      font-size: 18px;
      font-weight: 700;
      color: #111827;
      margin-bottom: 8px;
    }

    .ai-settings-box__helper {
      margin: 0 0 14px;
      color: #475467;
      line-height: 1.5;
    }

    .ai-settings-box__controls {
      display: flex;
      gap: 10px;
      align-items: center;
      flex-wrap: wrap;
    }

    .ai-settings-box__input {
      flex: 1 1 460px;
      min-width: 240px;
      padding: 12px 14px;
      border: 1px solid #D0D5DD;
      border-radius: 10px;
      font-size: 14px;
    }

    .ai-settings-box__button {
      background: #111827;
      color: #fff;
      border: none;
      border-radius: 10px;
      padding: 12px 16px;
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
    }

    .ai-settings-box__button:disabled {
      opacity: 0.7;
      cursor: wait;
    }

    .ai-settings-box__answer {
      margin-top: 14px;
      padding: 14px 16px;
      border-radius: 10px;
      background: #FFFFFF;
      border: 1px solid #E4E7EC;
      color: #101828;
      white-space: pre-wrap;
      line-height: 1.6;
    }

    .ai-settings-modal {
      position: fixed;
      inset: 0;
      z-index: 1300;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 20px;
    }

    .ai-settings-modal[hidden] {
      display: none !important;
    }

    .ai-settings-modal__backdrop {
      position: absolute;
      inset: 0;
      z-index: 0;
      background: rgba(15, 23, 42, 0.45);
    }

    .ai-settings-modal__dialog {
      position: relative;
      z-index: 2;
      display: block !important;
      opacity: 1 !important;
      transform: none !important;
      width: min(100%, 520px);
      background: #fff;
      border-radius: 14px;
      padding: 24px;
      box-shadow: 0 24px 48px rgba(15, 23, 42, 0.18);
    }

    .ai-settings-modal__title {
      font-size: 20px;
      font-weight: 700;
      color: #111827;
      margin-bottom: 10px;
    }

    .ai-settings-modal__message {
      margin: 0 0 12px;
      color: #475467;
      line-height: 1.5;
    }

    .ai-settings-modal__question {
      margin-bottom: 18px;
      padding: 12px 14px;
      border-radius: 10px;
      background: #F8FAFC;
      border: 1px solid #E4E7EC;
      color: #101828;
      white-space: pre-wrap;
    }

    .ai-settings-modal__actions {
      display: flex;
      justify-content: flex-end;
      gap: 10px;
    }

    .ai-settings-modal__button {
      border: none;
      border-radius: 10px;
      padding: 11px 16px;
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
    }

    .ai-settings-modal__button--secondary {
      background: #EAECF0;
      color: #344054;
    }

    .ai-settings-modal__button--primary {
      background: #111827;
      color: #fff;
    }

    .tagify__dropdown__item {
        white-space: unset !important;
        line-height: 10px !important;
        padding: 20px !important;
    }

    table {
      display: none;
    }

    table:has(tbody tr) {
      display: table;
    }

    
    #tpz-dashboard {
      position: relative;
    }

    
    #tpz-loading-overlay {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 46px;
      display: none;
      align-items: center;
      justify-content: flex-start;
      padding: 0 16px;
      gap: 10px;
      background: linear-gradient(90deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.9));
      border-bottom: 1px solid rgba(148, 163, 184, 0.35);
      z-index: 40;
      box-shadow: 0 10px 30px rgba(15, 23, 42, 0.6);
    }

    
    .tpz-dashboard.tpz-loading #tpz-loading-overlay {
      display: flex;
    }

    
    .tpz-loader {
      position: relative;
      display: flex;
      align-items: center;
      gap: 10px;
      color: #e5e7eb;
      font-size: 11px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
    }

    
    .tpz-loader-orbit {
      width: 28px;
      height: 28px;
      border-radius: 999px;
      border: 2px solid rgba(129, 140, 248, 0.4);
      border-top-color: #22c55e;
      border-right-color: #38bdf8;
      animation: tpz-orbit 1.1s linear infinite;
      box-shadow:
        0 0 12px rgba(129, 140, 248, 0.9),
        0 0 18px rgba(56, 189, 248, 0.6);
    }

    
    .tpz-loader-core {
      position: absolute;
      width: 10px;
      height: 10px;
      border-radius: 999px;
      background: radial-gradient(circle at 30% 20%, #22c55e, #0f172a);
      box-shadow:
        0 0 10px rgba(34, 197, 94, 0.9),
        0 0 16px rgba(34, 197, 94, 0.7);
      animation: tpz-core-pulse 1.35s ease-in-out infinite;
    }

    
    @keyframes tpz-orbit {
      to { transform: rotate(360deg); }
    }

    @keyframes tpz-core-pulse {
      0%, 100% { transform: scale(1);   opacity: 0.8; }
      50%      { transform: scale(1.3); opacity: 1; }
    }

    
    .tpz-loading-text {
      margin-top: 16px;
      font-size: 14px;
      letter-spacing: 0.03em;
      color: #f5f7fb;
      display: flex;
      align-items: center;
      gap: 8px;
      text-shadow: 0 0 12px rgba(0, 0, 0, 0.6);
    }

    
    .tpz-loading-pulse {
      width: 8px;
      height: 8px;
      border-radius: 999px;
      background: #4caf50;
      box-shadow: 0 0 10px rgba(76, 175, 80, 0.9);
      animation: tpz-pulse 1s ease-in-out infinite;
    }

    
    @keyframes tpz-orbit-spin {
      0%   { transform: rotate(0deg) scale(1); }
      50%  { transform: rotate(180deg) scale(1.03); }
      100% { transform: rotate(360deg) scale(1); }
    }

    @keyframes tpz-pulse {
      0%   { transform: scale(1);   opacity: 1; }
      50%  { transform: scale(1.6); opacity: 0.2; }
      100% { transform: scale(1);   opacity: 1; }
    }

  

    .tpz-dashboard {
      margin-top: 24px;
      padding: 16px 20px;
      background: #ffffff;
      border-radius: 12px;
      border: 1px solid #e5e7eb;
      font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
      position: relative;
    }

    .tpz-filters {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 8px;
      margin-bottom: 16px;
      font-size: 12px;
      color: #374151;
    }

    .tpz-filters label {
      font-weight: 500;
    }

    .tpz-filters button {
      border-radius: 999px;
      border: 1px solid #d1d5db;
      background: #f9fafb;
      padding: 5px 10px;
      font-size: 11px;
      cursor: pointer;
      transition: background 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s;
    }

    .tpz-filters button:hover {
      background: #eff6ff;
      border-color: #3b82f6;
      color: #1d4ed8;
    }

    .tpz-filters button.tpz-active {
      background: #1d4ed8;
      color: #ffffff;
      border-color: #1d4ed8;
      box-shadow: 0 0 0 1px rgba(37,99,235,0.15);
    }

    .tpz-filters input[type="date"] {
      border-radius: 8px;
      border: 1px solid #d1d5db;
      padding: 4px 8px;
      font-size: 11px;
    }

    .tpz-kpi-grid {
      display: grid;
      grid-template-columns: repeat(5, minmax(0, 1fr));
      gap: 10px;
      margin-bottom: 20px;
    }

    @media (max-width: 1100px) {
      .tpz-kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    @media (max-width: 720px) {
      .tpz-kpi-grid {
        grid-template-columns: 1fr;
      }
    }

    .tpz-kpi-card {
      padding: 10px 12px;
      border-radius: 10px;
      border: 1px solid #e5e7eb;
      background: linear-gradient(to bottom right, #f9fafb, #ffffff);
      display: flex;
      flex-direction: column;
      gap: 2px;
    }

    .tpz-kpi-label {
      font-size: 11px;
      color: #6b7280;
    }

    .tpz-kpi-value {
      font-size: 18px;
      font-weight: 600;
      color: #111827;
    }

    .tpz-kpi-sub {
      font-size: 11px;
      color: #9ca3af;
    }

    .tpz-section-title {
      margin: 16px 0 8px;
      font-size: 13px;
      font-weight: 600;
      color: #111827;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .tpz-badge {
      display: inline-flex;
      align-items: center;
      padding: 2px 8px;
      border-radius: 999px;
      background: #fef2f2;
      color: #b91c1c;
      font-size: 10px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.03em;
    }

    .tpz-charts-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px;
      margin-bottom: 12px;
    }

    @media (max-width: 900px) {
      .tpz-charts-grid {
        grid-template-columns: 1fr;
      }
    }

    .tpz-chart-card {
      border-radius: 12px;
      border: 1px solid #e5e7eb;
      background: #ffffff;
      padding: 10px 12px;
    }

    
    .tpz-chart-card--low-conv {
      height: 220px;          
      max-height: 220px;
    }

    .tpz-chart-card--low-conv canvas {
      width: 100% !important;
      height: 100% !important;
      display: block;
    }

    .tpz-table-wrapper {
      margin-top: 8px;
      border-radius: 12px;
      border: 1px solid #e5e7eb;
      overflow: hidden;
      background: #ffffff;
    }

    .tpz-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 11px;
    }

    .tpz-table thead {
      background: #f9fafb;
    }

    .tpz-table thead th {
      padding: 8px 10px;
      text-align: left;
      font-weight: 500;
      color: #6b7280;
      border-bottom: 1px solid #e5e7eb;
      white-space: nowrap;
    }

    .tpz-table tbody tr:nth-child(even) {
      background: #f9fafb;
    }

    .tpz-table tbody td {
      padding: 8px 10px;
      border-bottom: 1px solid #e5e7eb;
      color: #111827;
    }

    .tpz-product-cell {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .tpz-product-cell img {
      width: 32px;
      height: 32px;
      border-radius: 6px;
      object-fit: cover;
      border: 1px solid #e5e7eb;
      background: #f9fafb;
    }

    .tpz-product-name {
      font-size: 11px;
      font-weight: 500;
      color: #111827;
    }

    .tpz-product-variant {
      font-size: 10px;
      color: #6b7280;
    }

    .tpz-heatmap-grid {
      display: grid;
      grid-template-columns: repeat(25, minmax(0, 1fr)); 
      gap: 1px;
      margin-top: 6px;
      font-size: 9px;
    }

    .tpz-heatmap-header {
      background: #f3f4f6;
      text-align: center;
      padding: 4px 0;
      color: #6b7280;
    }

    .tpz-heatmap-label {
      background: #f9fafb;
      padding: 4px 2px;
      color: #4b5563;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .tpz-heatmap-cell {
      width: 100%;
      padding-top: 70%; 
      position: relative;
      background-color: #eef2ff;
      cursor: default;
    }

    .tpz-heatmap-cell::after {
      content: '';
      position: absolute;
      inset: 0;
    }

    .tpz-dashboard p {
      margin: 0;
    }

    .tpz-app-page {
      padding-top: 20px;
    }

    .tpz-app-overview,
    .tpz-active-feed {
      background: linear-gradient(135deg, #ffffff 0%, #f6f9ff 100%);
      border: 1px solid #d9e4f2;
      border-radius: 28px;
      padding: 26px;
      margin: 22px 0;
      box-shadow: 0 22px 60px rgba(0, 48, 106, 0.08);
    }

    .tpz-app-overview {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
    }

    .tpz-app-heading {
      display: flex;
      align-items: center;
      gap: 18px;
    }

    .tpz-app-logo-box {
      width: 74px;
      height: 74px;
      border-radius: 22px;
      background: #ffffff;
      border: 1px solid #d9e4f2;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 14px 32px rgba(0, 48, 106, .12);
      flex: 0 0 auto;
      overflow: hidden;
    }

    .tpz-app-logo {
      width: 52px;
      height: 52px;
      object-fit: contain;
    }

    .tpz-app-title {
      margin: 0 0 8px;
      color: #00306A;
      font-size: 34px;
      line-height: 1.05;
      letter-spacing: -0.04em;
    }

    .tpz-title-accent {
      color: #FF5A02;
    }

    .tpz-app-subtitle {
      margin: 0;
      max-width: 760px;
      color: #607086;
      font-size: 15px;
      line-height: 1.55;
    }

    .tpz-app-actions {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
      justify-content: flex-end;
    }

    .tpz-primary-action,
    .tpz-secondary-action,
    .manual-feed-generate-btn,
    .tpz-copy-action,
    .tpz-guide-action {
      border-radius: 999px;
      padding: 12px 18px;
      font-weight: 900;
      cursor: pointer;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      border: 0;
      white-space: nowrap;
    }

    .tpz-primary-action,
    .manual-feed-generate-btn {
      background: linear-gradient(135deg, #FF5A02, #ff8a3d);
      color: #ffffff;
      box-shadow: 0 12px 26px rgba(255, 90, 2, .22);
    }

    .tpz-secondary-action,
    .tpz-copy-action,
    .tpz-guide-action {
      background: #ffffff;
      color: #00306A;
      border: 1px solid #d9e4f2;
    }

    .tpz-top-mode-btn-active {
      background: linear-gradient(135deg, #FF5A02, #ff8a3d);
      color: #ffffff;
      border-color: transparent;
      box-shadow: 0 12px 26px rgba(255, 90, 2, .22);
    }

    .tpz-active-feed-head {
      display: flex;
      justify-content: space-between;
      gap: 18px;
      margin-bottom: 18px;
    }

    .tpz-active-feed-head h2 {
      margin: 0 0 6px;
      color: #00306A;
      font-size: 24px;
    }

    .tpz-active-feed-head h2 span {
      display: inline-flex;
      margin-left: 8px;
      vertical-align: middle;
      border-radius: 999px;
      background: #DCFCE7;
      color: #166534;
      padding: 5px 10px;
      font-size: 12px;
      font-weight: 900;
    }

    .tpz-active-feed-head p {
      margin: 0;
      color: #607086;
    }

    .tpz-feed-meta-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 12px;
      margin-bottom: 16px;
    }

    .tpz-feed-meta {
      background: #f6f9ff;
      border: 1px solid #d9e4f2;
      border-radius: 16px;
      padding: 14px;
      min-width: 0;
    }

    .tpz-feed-meta small {
      display: block;
      color: #607086;
      font-weight: 800;
      margin-bottom: 6px;
    }

    .tpz-feed-meta strong {
      display: block;
      color: #00306A;
      overflow-wrap: anywhere;
      font-size: 17px;
    }

    .tpz-feed-meta-note {
      display: block;
      margin-top: 7px;
      color: #607086;
      font-size: 12px;
      font-weight: 800;
      line-height: 1.35;
    }

    .tpz-feed-url-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 14px;
      align-items: start;
    }

    .tpz-feed-url-field,
    .tpz-feed-update-wrap {
      background: #ffffff;
      border: 1px solid #d9e4f2;
      border-radius: 18px;
      padding: 16px;
      min-width: 0;
    }

    .tpz-feed-url-field label {
      display: block;
      color: #00306A;
      font-weight: 900;
      margin-bottom: 8px;
    }

    .tpz-feed-url-field > div {
      display: flex;
      gap: 8px;
      align-items: center;
      position: relative;
    }

    .tpz-feed-url-field input {
      width: 100%;
      border: 1px solid #d9e4f2;
      border-radius: 14px;
      padding: 12px 14px;
      font-size: 14px;
      min-width: 0;
    }

    .feed-update-info {
      display: grid;
      gap: 8px;
      color: #607086;
    }

    .feed-update-info strong {
      color: #00306A;
    }

    .feed-processing-alert {
      display: inline-flex;
      width: fit-content;
      border-radius: 999px;
      padding: 8px 12px;
      background: #FFF3EB;
      color: #9A3412;
      font-weight: 900;
      font-size: 13px;
    }

    .manual-feed-generate-btn:disabled {
      cursor: not-allowed;
      opacity: .65;
      box-shadow: none;
    }

    .manual-feed-generate-help {
      color: #607086;
      line-height: 1.45;
    }

    .tpz-tour-note {
      margin-top: 16px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      background: linear-gradient(135deg, #ffffff 0%, #f6f9ff 100%);
      border: 1px solid #d9e4f2;
      border-radius: 18px;
      padding: 16px;
      overflow: hidden;
    }

    .tpz-tour-note strong,
    .tpz-tour-note span {
      display: block;
      overflow-wrap: anywhere;
    }

    .tpz-tour-note strong {
      color: #00306A;
      margin-bottom: 4px;
    }

    .tpz-tour-note span {
      color: #607086;
      line-height: 1.45;
    }

    .tpz-support-note {
      margin-top: 16px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      background: #ffffff;
      border: 1px solid #d9e4f2;
      border-radius: 18px;
      padding: 16px;
    }

    .tpz-support-note strong,
    .tpz-support-note span {
      display: block;
    }

    .tpz-support-note strong {
      color: #00306A;
      margin-bottom: 4px;
    }

    .tpz-support-note span {
      color: #607086;
    }

    @media (max-width: 980px) {
      .tpz-app-overview,
      .tpz-app-heading,
      .tpz-tour-note,
      .tpz-support-note,
      .tpz-feed-url-field > div {
        display: block;
      }

      .tpz-app-actions {
        justify-content: flex-start;
        margin-top: 16px;
      }

      .tpz-feed-meta-grid,
      .tpz-feed-url-grid {
        grid-template-columns: 1fr;
      }

      .tpz-copy-action,
      .tpz-guide-action,
      .manual-feed-generate-btn {
        margin-top: 10px;
        width: 100%;
      }
    }

    
    .tpz-app-page {
      padding-bottom: 96px;
      overflow-x: hidden;
    }

    .tpz-app-page,
    .tpz-app-page *,
    .tpz-app-page *::before,
    .tpz-app-page *::after {
      box-sizing: border-box;
    }

    .tpz-app-logo-box {
      background: #ffffff !important;
    }

    .tpz-app-logo {
      width: 62px !important;
      height: 62px !important;
      border-radius: 18px;
    }

    .tpz-feed-url-grid {
      align-items: stretch;
    }

    .tpz-feed-update-wrap {
      grid-column: 1 / -1;
      max-width: 100%;
      overflow: hidden;
    }

    .tpz-feed-update-wrap,
    .tpz-feed-update-wrap *,
    .feed-update-info,
    .feed-update-info * {
      max-width: 100%;
      min-width: 0;
      box-sizing: border-box;
    }

    .feed-update-info {
      width: 100%;
    }

    .feed-update-info > div {
      overflow-wrap: anywhere;
    }

    .feed-update-info strong,
    .feed-update-info span,
    .manual-feed-generate-help {
      overflow-wrap: anywhere;
      word-break: normal;
      line-height: 1.45;
    }

    .feed-processing-alert {
      display: flex !important;
      width: 100% !important;
      max-width: 100% !important;
      border-radius: 18px !important;
      white-space: normal !important;
      overflow-wrap: anywhere !important;
      line-height: 1.35 !important;
      text-align: left;
    }

    .manual-feed-generate-btn {
      width: 100%;
      max-width: 100%;
      min-height: 48px;
      white-space: normal !important;
      overflow-wrap: anywhere;
      line-height: 1.3;
      text-align: center;
    }

    #tpz-config-section > h1 {
      margin: 0 0 14px !important;
      color: #00306A !important;
      font-size: 28px !important;
      line-height: 1.15 !important;
      font-weight: 850 !important;
      text-align: left !important;
    }

    .sidebar-menu.tpz-config-nav {
      position: sticky !important;
      top: 0 !important;
      z-index: 900 !important;
      width: 100% !important;
      max-width: none !important;
      height: auto !important;
      min-height: 0 !important;
      margin: 0 0 18px !important;
      padding: 14px 16px !important;
      border: 1px solid #d9e4f2 !important;
      border-radius: 18px !important;
      background: rgba(255, 255, 255, 0.97) !important;
      box-shadow: 0 10px 28px rgba(13, 35, 72, 0.08) !important;
      backdrop-filter: blur(14px) !important;
      overflow-x: auto !important;
      overflow-y: visible !important;
    }

    .sidebar-menu.tpz-config-nav.is-stuck {
      border-color: rgba(255, 90, 2, 0.28) !important;
      box-shadow: 0 16px 42px rgba(13, 35, 72, 0.14) !important;
    }

    .sidebar-menu.tpz-config-nav h3 {
      display: none !important;
    }

    .sidebar-menu.tpz-config-nav ul {
      display: flex !important;
      flex-wrap: wrap !important;
      align-items: center !important;
      gap: 8px !important;
      min-height: 0 !important;
      margin: 0 !important;
      padding: 0 !important;
      list-style: none !important;
    }

    .sidebar-menu.tpz-config-nav li,
    .sidebar-menu.tpz-config-nav li::before,
    .sidebar-menu.tpz-config-nav li::marker {
      margin: 0 !important;
      padding: 0 !important;
      list-style: none !important;
      content: none !important;
    }

    .sidebar-menu.tpz-config-nav a,
    .sidebar-menu.tpz-config-nav a:visited {
      display: inline-flex !important;
      align-items: center !important;
      justify-content: center !important;
      min-height: 38px !important;
      padding: 9px 15px !important;
      border: 1px solid #dfe8f5 !important;
      border-radius: 999px !important;
      background: #f8fbff !important;
      color: #344767 !important;
      text-decoration: none !important;
      white-space: nowrap !important;
      font-size: 13px !important;
      line-height: 1 !important;
      font-weight: 760 !important;
      box-shadow: none !important;
      transform: none !important;
    }

    .sidebar-menu.tpz-config-nav a::before {
      display: none !important;
      content: none !important;
    }

    .sidebar-menu.tpz-config-nav a:hover {
      background: rgba(255, 90, 2, 0.08) !important;
      border-color: rgba(255, 90, 2, 0.28) !important;
      color: #FF5A02 !important;
    }

    .sidebar-menu.tpz-config-nav a.active,
    .sidebar-menu.tpz-config-nav a[aria-current="true"] {
      background: linear-gradient(135deg, #FF5A02, #ff8a3d) !important;
      border-color: #FF5A02 !important;
      color: #ffffff !important;
      box-shadow: 0 10px 22px rgba(255, 90, 2, 0.22) !important;
    }

    #tpz-config-section fieldset[id] {
      scroll-margin-top: var(--tpz-sticky-nav-offset, 130px) !important;
    }

    .save-settings-container {
      position: fixed !important;
      right: 24px !important;
      bottom: 18px !important;
      z-index: 2147483000 !important;
      width: 280px !important;
      max-width: calc(100vw - 48px) !important;
      padding: 10px !important;
      border: 1px solid #d9e4f2 !important;
      border-radius: 18px !important;
      background: rgba(255, 255, 255, 0.98) !important;
      box-shadow: 0 18px 44px rgba(13, 35, 72, 0.18) !important;
      backdrop-filter: blur(14px) !important;
      display: flex !important;
      flex-direction: column !important;
      opacity: 1 !important;
      pointer-events: auto !important;
      transform: translateY(0) !important;
    }

    .save-settings-container .save_settings_feed,
    .save_settings_feed {
      width: 100% !important;
      margin: 0 !important;
      min-height: 46px !important;
      border-radius: 999px !important;
      background: linear-gradient(135deg, #FF5A02, #ff8a3d) !important;
      color: #ffffff !important;
      border: 0 !important;
      font-weight: 900 !important;
      box-shadow: 0 12px 26px rgba(255, 90, 2, .22) !important;
      cursor: pointer !important;
    }

    body.tpz-view-stats .save-settings-container {
      display: none !important;
    }

    #tpz-scroll-top-button {
      position: fixed !important;
      right: 24px !important;
      bottom: 92px !important;
      z-index: 2147482999 !important;
      width: 48px !important;
      height: 48px !important;
      border: 0 !important;
      border-radius: 999px !important;
      background: linear-gradient(135deg, #FF5A02, #ff8a3d) !important;
      color: #ffffff !important;
      font-size: 24px !important;
      line-height: 1 !important;
      font-weight: 900 !important;
      cursor: pointer !important;
      box-shadow: 0 14px 32px rgba(255, 90, 2, 0.28) !important;
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
      opacity: 0 !important;
      visibility: hidden !important;
      pointer-events: none !important;
      transform: translateY(10px) !important;
      transition: opacity .18s ease, transform .18s ease, visibility .18s ease !important;
    }

    #tpz-scroll-top-button.tpz-scroll-top-visible {
      opacity: 1 !important;
      visibility: visible !important;
      pointer-events: auto !important;
      transform: translateY(0) !important;
    }

    body.tpz-view-stats #tpz-scroll-top-button {
      bottom: 24px !important;
    }

    @media (max-width: 980px) {
      .tpz-feed-update-wrap,
      .tpz-feed-url-grid .tpz-tour-note {
        grid-column: 1 / -1;
      }

      .sidebar-menu.tpz-config-nav ul {
        flex-wrap: nowrap !important;
        width: max-content !important;
        min-width: 100% !important;
      }
    }

    @media (max-width: 760px) {
      .sidebar-menu.tpz-config-nav {
        width: 100% !important;
        max-width: 100% !important;
        left: 0 !important;
        right: 0 !important;
      }

      .save-settings-container {
        left: 12px !important;
        right: 12px !important;
        bottom: 12px !important;
        width: auto !important;
        max-width: none !important;
      }

      #tpz-scroll-top-button {
        right: 18px !important;
        bottom: 86px !important;
      }

      body.tpz-view-stats #tpz-scroll-top-button {
        bottom: 18px !important;
      }
    }
    

  


  
    .tpz-stats-hidden {
      display: none !important;
    }

    .tpz-mode-switch {
      margin: 32px 0 12px;
      display: inline-flex;
      gap: 8px;
      padding: 4px;
      border-radius: 999px;
      background: rgba(15, 23, 42, 0.96);
      box-shadow:
        0 18px 45px rgba(15, 23, 42, 0.8),
        0 0 0 1px rgba(15, 23, 42, 0.9);
    }

    .tpz-mode-btn {
      border: none;
      outline: none;
      padding: 8px 20px;
      border-radius: 999px;
      font-size: 11px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      cursor: pointer;
      background: transparent;
      color: #cbd5f5;
      font-weight: 600;
      transition:
        background 180ms ease-out,
        color 180ms ease-out,
        transform 120ms ease-out,
        box-shadow 160ms ease-out,
        opacity 160ms ease-out;
      opacity: 0.8;
    }

    .tpz-mode-btn.tpz-mode-active {
      background: radial-gradient(circle at top, #38bdf8, #2563eb);
      color: #ffffff;
      opacity: 1;
      box-shadow:
        0 0 0 1px rgba(56, 189, 248, 0.5),
        0 14px 30px rgba(30, 64, 175, 0.85);
      transform: translateY(-1px);
    }

    .tpz-mode-btn:not(.tpz-mode-active):hover {
      background: rgba(15, 23, 42, 0.85);
      color: #e5e7eb;
      opacity: 1;
    }

    
    .tpz-dashboard {
      --tpz-bg: #020617;
      --tpz-bg-soft: radial-gradient(circle at top left, #101827 0, #020617 55%);
      --tpz-card-bg: rgba(15, 23, 42, 0.96);
      --tpz-border-subtle: rgba(148, 163, 184, 0.35);
      --tpz-border-strong: rgba(148, 163, 184, 0.55);
      --tpz-accent: #38bdf8;
      --tpz-accent-soft: rgba(56, 189, 248, 0.14);
      --tpz-accent-strong: #0ea5e9;
      --tpz-text-main: #e5e7eb;
      --tpz-text-soft: #9ca3af;
      --tpz-text-muted: #6b7280;
      --tpz-critical: #fb7185;
      --tpz-critical-soft: rgba(248, 113, 113, 0.1);
      --tpz-radius-lg: 18px;
      --tpz-radius-md: 14px;
      --tpz-radius-sm: 10px;

      margin-top: 24px;
      padding: 22px 20px 26px;
      border-radius: 24px;
      border: 1px solid rgba(148, 163, 184, 0.28);
      background:
        radial-gradient(circle at top left, rgba(56, 189, 248, 0.10), transparent 55%),
        radial-gradient(circle at top right, rgba(129, 140, 248, 0.08), transparent 60%),
        linear-gradient(to bottom, #020617, #020617);
      box-shadow:
        0 22px 80px rgba(15, 23, 42, 0.86),
        0 0 0 1px rgba(15, 23, 42, 1);
      color: var(--tpz-text-main);
      position: relative;
      overflow: hidden;
    }

  .tpz-dashboard::before {
    content: "";
    position: absolute;
    inset: -40%;
    background:
      radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.25), transparent 55%),
      radial-gradient(circle at 100% 0%, rgba(129, 140, 248, 0.25), transparent 55%);
    opacity: 0.85;
    pointer-events: none;
    z-index: -1;
  }

  .tpz-dashboard h1 {
    font-size: 20px;
    font-weight: 650;
    letter-spacing: 0.03em;
    margin-bottom: 4px;
    background: linear-gradient(90deg, #f9fafb, #a5b4fc, #38bdf8);
    -webkit-background-clip: text;
    color: transparent;
    text-shadow: 0 0 18px rgba(15, 23, 42, 0.9);
  }

  .tpz-dashboard > p {
    font-size: 12px;
    color: var(--tpz-text-muted);
    margin-bottom: 18px;
    text-shadow: 0 0 10px rgba(15, 23, 42, 0.9);
  }

  
  @keyframes tpz-fade-up {
    0% {
      opacity: 0;
      transform: translateY(12px) scale(0.97);
      filter: blur(6px);
    }
    100% {
      opacity: 1;
      transform: translateY(0) scale(1);
      filter: blur(0);
    }
  }

  @keyframes tpz-kpi-pulse {
    0% {
      box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.55);
    }
    70% {
      box-shadow: 0 0 0 16px rgba(56, 189, 248, 0);
    }
    100% {
      box-shadow: 0 0 0 0 rgba(56, 189, 248, 0);
    }
  }

  @keyframes tpz-border-flow {
    0% {
      border-image-source: linear-gradient(90deg, rgba(56, 189, 248, 0.5), rgba(129, 140, 248, 0.2));
    }
    50% {
      border-image-source: linear-gradient(90deg, rgba(129, 140, 248, 0.7), rgba(56, 189, 248, 0.2));
    }
    100% {
      border-image-source: linear-gradient(90deg, rgba(56, 189, 248, 0.5), rgba(129, 140, 248, 0.2));
    }
  }

  
  .tpz-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 18px;
    font-size: 11px;
    color: var(--tpz-text-muted);
    opacity: 0;
    animation: tpz-fade-up 0.6s ease-out forwards;
    animation-delay: 0.05s;
  }

  .tpz-filters label {
    font-weight: 500;
    color: #e5e7ff;
  }

  .tpz-filters button[data-range] {
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.9));
    padding: 5px 10px;
    font-size: 11px;
    color: #e5e7eb;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition:
      border-color 140ms ease-out,
      background 140ms ease-out,
      transform 120ms ease-out,
      box-shadow 120ms ease-out;
  }

  .tpz-filters button[data-range]::before {
    content: "";
    position: absolute;
    inset: -50%;
    background: radial-gradient(circle at var(--hover-x, 50%) var(--hover-y, 0%), rgba(56, 189, 248, 0.3), transparent 55%);
    opacity: 0;
    transition: opacity 140ms ease-out;
    pointer-events: none;
  }

  .tpz-filters button[data-range]:hover {
    border-color: var(--tpz-accent);
    transform: translateY(-1px);
    box-shadow: 0 12px 22px rgba(15, 23, 42, 0.9);
  }
  .tpz-filters button[data-range]:hover::before {
    opacity: 1;
  }

  .tpz-filters button.tpz-active {
    border-image-slice: 1;
    border-width: 1px;
    border-style: solid;
    border-image-source: linear-gradient(
      120deg,
      rgba(56, 189, 248, 0.9),
      rgba(34, 197, 94, 0.6),
      rgba(129, 140, 248, 0.9)
    );
    animation: tpz-border-flow 4s linear infinite;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.25), rgba(34, 197, 94, 0.32));
    box-shadow: 0 14px 30px rgba(30, 64, 175, 0.95);
  }

  .tpz-filters input[type="date"] {
    background: rgba(15, 23, 42, 0.95);
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.85);
    padding: 5px 9px;
    font-size: 11px;
    color: var(--tpz-text-main);
    outline: none;
    transition:
      border-color 120ms ease-out,
      box-shadow 120ms ease-out,
      background 120ms ease-out;
  }

  .tpz-filters input[type="date"]:focus {
    border-color: var(--tpz-accent);
    box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.75);
    background: rgba(15, 23, 42, 0.99);
  }

  .tpz-filters #tpz-apply {
    border-radius: 999px;
    border: none;
    padding: 6px 14px;
    font-size: 11px;
    cursor: pointer;
    background: linear-gradient(135deg, #4ade80, #22c55e);
    color: #022c22;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    box-shadow: 0 14px 28px rgba(34, 197, 94, 0.75);
    transition:
      transform 130ms ease-out,
      box-shadow 130ms ease-out,
      filter 130ms ease-out;
  }

  .tpz-filters #tpz-apply:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 32px rgba(22, 163, 74, 0.85);
    filter: brightness(1.06);
  }

  
  .tpz-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 14px;
    margin: 16px 0 20px;
  }

  .tpz-kpi-card {
    background: var(--tpz-card-bg);
    border-radius: 18px;
    padding: 12px 13px 11px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    position: relative;
    overflow: hidden;
    box-shadow:
      0 16px 30px rgba(15, 23, 42, 0.95),
      inset 0 0 0 1px rgba(15, 23, 42, 1);
    transition:
      transform 120ms ease-out,
      box-shadow 120ms ease-out,
      border-color 160ms ease-out,
      background 160ms ease-out;
    opacity: 0;
    animation: tpz-fade-up 0.6s ease-out forwards;
  }

  .tpz-kpi-grid .tpz-kpi-card:nth-child(1) { animation-delay: 0.08s; }
  .tpz-kpi-grid .tpz-kpi-card:nth-child(2) { animation-delay: 0.12s; }
  .tpz-kpi-grid .tpz-kpi-card:nth-child(3) { animation-delay: 0.16s; }
  .tpz-kpi-grid .tpz-kpi-card:nth-child(4) { animation-delay: 0.20s; }
  .tpz-kpi-grid .tpz-kpi-card:nth-child(5) { animation-delay: 0.24s; }
  .tpz-kpi-grid .tpz-kpi-card:nth-child(6) { animation-delay: 0.28s; }

  .tpz-kpi-card::before {
    content: "";
    position: absolute;
    inset: -60%;
    background: radial-gradient(circle at var(--hover-x, 50%) var(--hover-y, 0%), rgba(56, 189, 248, 0.22), transparent 55%);
    opacity: 0;
    transition: opacity 150ms ease-out;
    pointer-events: none;
  }

  .tpz-kpi-card:hover {
    transform: translateY(-2px);
    border-color: var(--tpz-border-strong);
    box-shadow:
      0 22px 42px rgba(15, 23, 42, 0.98),
      0 0 0 1px rgba(59, 130, 246, 0.8);
  }

  .tpz-kpi-card:hover::before {
    opacity: 1;
  }

  .tpz-kpi-clicks {
      border-color: rgba(56, 189, 248, 0.9);
      background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.9)),
        radial-gradient(circle at top right, rgba(56, 189, 248, 0.4), transparent 55%);
      
      animation: tpz-fade-up 0.6s ease-out forwards 0.16s;
  }

  .tpz-kpi-clicks:hover {
      
      animation:
        tpz-fade-up 0.6s ease-out forwards 0.16s,
        tpz-kpi-pulse 2.8s ease-out 0.2s infinite;
  }

  .tpz-kpi-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    color: #c7d2fe;
    margin-bottom: 4px;
  }

  .tpz-kpi-value {
    font-size: 20px;
    font-weight: 680;
    line-height: 1.1;
    margin-bottom: 3px;
    color: #f9fafb;
    text-shadow:
      0 0 12px rgba(15, 23, 42, 0.9),
      0 0 22px rgba(15, 23, 42, 0.9);
  }

  .tpz-kpi-sub {
    font-size: 11px;
    color: var(--tpz-text-muted);
    text-shadow: 0 0 10px rgba(15, 23, 42, 0.95);
  }

  
  .tpz-section-title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #c7d2fe;
    margin: 18px 0 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    opacity: 0;
    animation: tpz-fade-up 0.6s ease-out forwards;
  }

  .tpz-section-title::before {
    content: "";
    width: 26px;
    height: 1px;
    background: linear-gradient(90deg, rgba(129, 140, 248, 0.95), transparent);
    display: inline-block;
  }

  .tpz-badge {
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: rgba(52, 211, 153, 0.16);
    color: #bbf7d0;
    border: 1px solid rgba(45, 212, 191, 0.45);
  }

  
  .tpz-charts-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    margin-bottom: 10px;
  }

  @media (min-width: 960px) {
    .tpz-charts-grid {
      grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
    }
  }

  .tpz-chart-card {
    background: var(--tpz-card-bg);
    border-radius: 18px;
    border: 1px solid var(--tpz-border-subtle);
    padding: 11px 12px 8px;
    position: relative;
    overflow: hidden;
    box-shadow:
      0 18px 34px rgba(15, 23, 42, 0.97),
      inset 0 0 0 1px rgba(15, 23, 42, 1);
    transition:
      transform 120ms ease-out,
      box-shadow 120ms ease-out,
      border-color 140ms ease-out;
    opacity: 0;
    animation: tpz-fade-up 0.6s ease-out forwards;
  }

  .tpz-charts-grid .tpz-chart-card:nth-child(1) { animation-delay: 0.18s; }
  .tpz-charts-grid .tpz-chart-card:nth-child(2) { animation-delay: 0.22s; }

  .tpz-chart-card::before {
    content: "";
    position: absolute;
    inset: -60%;
    background: radial-gradient(circle at var(--hover-x, 30%) var(--hover-y, 0%), rgba(129, 140, 248, 0.22), transparent 60%);
    opacity: 0;
    transition: opacity 150ms ease-out;
    pointer-events: none;
  }

  .tpz-chart-card:hover {
    transform: translateY(-2px);
    border-color: rgba(129, 140, 248, 0.95);
    box-shadow:
      0 24px 46px rgba(15, 23, 42, 0.99),
      0 0 0 1px rgba(129, 140, 248, 0.75);
  }

  .tpz-chart-card:hover::before {
    opacity: 1;
  }

  
  .tpz-table-wrapper {
    margin-top: 8px;
    background: var(--tpz-card-bg);
    border-radius: 16px;
    border: 1px solid var(--tpz-border-subtle);
    overflow: hidden;
    box-shadow: 0 20px 36px rgba(15, 23, 42, 0.98);
    opacity: 0;
    animation: tpz-fade-up 0.6s ease-out forwards;
    animation-delay: 0.26s;
  }

  .tpz-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
    color: #e5e7eb !important;
  }

  .tpz-table thead {
    background: linear-gradient(90deg, #2563eb, #1d4ed8);
  }

  .tpz-table th,
  .tpz-table td {
    padding: 8px 10px;
    border-bottom: 1px solid rgba(30, 41, 59, 0.95);
    text-align: left;
  }

  .tpz-table th {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: #ffffff !important;
    font-size: 11px;
    text-shadow:
      0 0 4px rgba(15, 23, 42, 0.9),
      0 0 12px rgba(15, 23, 42, 0.9);
  }

  .tpz-table td {
    color: #f3f4f6 !important;
    font-size: 11px;
  }

  .tpz-table tbody tr {
    transition:
      background 120ms ease-out,
      transform 120ms ease-out,
      box-shadow 120ms ease-out;
  }

  .tpz-table tbody tr:nth-child(even) {
    background: rgba(15, 23, 42, 0.95);
  }

  .tpz-table tbody tr:hover {
    background: radial-gradient(circle at top left,
                rgba(37, 99, 235, 0.9),
                rgba(15, 23, 42, 1));
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.95);
  }

  .tpz-row-empty td {
    text-align: center;
    font-style: italic;
    color: #ffffff !important;
    font-size: 12px;
    background: rgba(15, 23, 42, 0.98);
  }

  .tpz-row-empty:hover {
    transform: none;
    box-shadow: none;
    background: rgba(15, 23, 42, 0.98);
  }

  .tpz-product-cell {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .tpz-product-cell img {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    object-fit: cover;
    box-shadow:
      0 0 0 1px rgba(15, 23, 42, 0.95),
      0 10px 18px rgba(15, 23, 42, 1);
  }

  .tpz-product-name {
    font-size: 11px;
    font-weight: 600;
    color: #f9fafb;
  }

  .tpz-product-variant {
    font-size: 10px;
    color: var(--tpz-text-muted);
  }

  
  .tpz-heatmap-grid {
    display: grid;
    grid-template-columns: 36px repeat(24, minmax(0, 1fr));
    gap: 1px;
    font-size: 9px;
    margin-top: 6px;
  }

  .tpz-heatmap-header {
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f9fafb;
    background: rgba(15, 23, 42, 0.98);
    border-radius: 4px;
    text-shadow: 0 0 6px rgba(15, 23, 42, 0.9);
  }

  .tpz-heatmap-label {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 4px;
    color: #f9fafb;
    font-weight: 600;
    background: rgba(15, 23, 42, 0.98);
    border-radius: 4px;
    text-shadow: 0 0 6px rgba(15, 23, 42, 0.9);
    transition:
      background 120ms ease-out,
      color 120ms ease-out,
      transform 120ms ease-out,
      box-shadow 120ms ease-out;
  }

  .tpz-heatmap-label:hover {
    background: rgba(37, 99, 235, 0.9);
    color: #f9fafb;
    transform: translateX(1px);
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.95);
  }

  .tpz-heatmap-cell {
    height: 18px;
    border-radius: 4px;
    background: rgba(15, 23, 42, 0.9);
    transition:
      background-color 120ms ease-out,
      transform 120ms ease-out,
      box-shadow 120ms ease-out;
  }

  .tpz-heatmap-cell:hover {
    transform: translateY(-1px) scale(1.04);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.98);
  }

  .tpz-dashboard > p.tpz-footer-note {
    margin-top: 12px;
    font-size: 11px;
    color: var(--tpz-text-muted);
    text-shadow: 0 0 10px rgba(15, 23, 42, 0.95);
  }


  .tpz-top-mode-actions .tpz-mode-btn {
    padding: 12px 18px;
    font-size: 14px;
    letter-spacing: 0;
    text-transform: none;
    opacity: 1;
    box-shadow: none;
  }

  .tpz-top-mode-actions .tpz-mode-btn.tpz-mode-active {
    background: linear-gradient(135deg, #FF5A02, #ff8a3d);
    color: #ffffff;
    box-shadow: 0 12px 26px rgba(255, 90, 2, .22);
  }

  .tpz-top-mode-actions .tpz-mode-btn:not(.tpz-mode-active) {
    background: #ffffff;
    color: #00306A;
    border: 1px solid #d9e4f2;
  }

  .tpz-section-mode-actions {
    justify-content: flex-start;
    margin: 0 0 18px;
  }

  .tpz-persistent-mode-actions {
    position: sticky;
    top: 12px;
    z-index: 1200;
    width: fit-content;
    max-width: 100%;
    margin: 28px 0 18px;
    padding: 10px;
    border: 1px solid #d9e4f2;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 14px 34px rgba(13, 35, 72, 0.12);
    backdrop-filter: blur(12px);
  }

  body.tpz-view-stats .tpz-persistent-mode-actions {
    margin-bottom: 22px;
  }

  .tpz-stats-mode-actions {
    position: sticky;
    top: 12px;
    z-index: 1000;
    display: inline-flex !important;
    width: fit-content;
    max-width: 100%;
    padding: 10px;
    border: 1px solid #d9e4f2;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 14px 34px rgba(13, 35, 72, 0.12);
    backdrop-filter: blur(12px);
  }

  @media (max-width: 760px) {
    .tpz-stats-mode-actions,
    .tpz-persistent-mode-actions {
      width: 100%;
    }

    .tpz-stats-mode-actions .tpz-mode-btn,
    .tpz-persistent-mode-actions .tpz-mode-btn {
      flex: 1 1 auto;
      text-align: center;
    }
  }

body{margin:0;background:#f6f6f7} .prtdft-workspace-error{padding:14px;border:1px solid #b32d2e;border-radius:12px;background:#fff;color:#8a2424} .prtdft-form-message{margin:16px 0} .tagify__dropdown{z-index:100000} .tpz-product-image{max-width:40px}
