:root {
        --vital-floating-launcher-size: 64px;
        --vital-floating-launcher-gap: 8px;
        --vital-floating-launcher-edge: 20px;
        --vital-floating-rail-clearance: 168px;
      }
      #vital-sw-update-notice {
        position: fixed;
        right: var(--vital-floating-launcher-edge);
        bottom: calc(var(--vital-floating-rail-clearance) + env(safe-area-inset-bottom, 0px));
        z-index: 10000;
        box-sizing: border-box;
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        align-items: stretch;
        gap: 12px;
        width: min(560px, calc(100vw - 40px));
        max-width: none;
        padding: 12px 14px;
        border: 1px solid #99f6e4;
        border-radius: 10px;
        background: #f0fdfa;
        color: #134e4a;
        box-shadow: 0 8px 24px rgba(15, 118, 110, 0.16);
        font: 500 14px/1.4 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      }
      #vital-sw-update-notice[hidden] { display: none; }
      #vital-sw-update-notice button {
        flex: 0 0 auto;
        min-height: 44px;
        padding: 9px 12px;
        border: 0;
        border-radius: 7px;
        background: #0f766e;
        color: #fff;
        font: inherit;
        font-weight: 700;
        cursor: pointer;
      }
      #vital-sw-update-notice button:focus-visible {
        outline: 3px solid #f59e0b;
        outline-offset: 2px;
      }
      #vital-sw-update-notice p { flex: 1 1 auto; min-width: 0; margin: 0; }
      #vital-sw-update-notice .vital-sw-update-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        min-width: 0;
        gap: 8px;
      }
      #vital-sw-update-notice .vital-sw-update-actions button {
        box-sizing: border-box;
        width: 100%;
        min-width: 0;
        white-space: normal;
        text-align: center;
      }
      #vital-sw-update-notice [data-vital-sw-update-dismiss] {
        border: 1px solid #5eead4;
        background: transparent;
        color: #115e59;
      }
      #vital-sw-update-notice[data-blocked="true"] {
        border-color: #fbbf24;
        background: #fffbeb;
        color: #78350f;
      }
      html[data-theme="dark"] #vital-sw-update-notice {
        border-color: #134e4a;
        background: #0f172a;
        color: #f8fafc;
        box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42);
      }
      html[data-theme="dark"] #vital-sw-update-notice [data-vital-sw-update-dismiss] {
        border-color: #5eead4;
        color: #ccfbf1;
      }
      html[data-theme="dark"] #vital-sw-update-notice[data-blocked="true"] {
        border-color: #f59e0b;
        background: #292015;
        color: #fef3c7;
      }
      @media (max-width: 720px) {
        :root {
          --vital-floating-launcher-edge: 14px;
          --vital-floating-rail-clearance: 162px;
        }
      }
      @media (min-width: 481px) and (max-width: 900px) {
        #vital-sw-update-notice {
          right: var(--vital-floating-launcher-edge);
          width: min(360px, calc(100vw - 28px));
          gap: 10px;
          padding: 10px 12px;
        }
        #vital-sw-update-notice .vital-sw-update-actions button {
          min-height: 40px;
        }
      }
      @media (max-width: 900px) {
        html[data-vital-update-visible="true"] .internal-chat-launcher {
          display: none !important;
        }
      }
      @media (max-width: 480px) {
        #vital-sw-update-notice {
          left: 50%;
          right: auto;
          transform: translateX(-50%);
          width: min(320px, calc(100vw - 24px));
          font-size: 13px;
          align-items: flex-start;
          flex-direction: column;
        }
        #vital-sw-update-notice .vital-sw-update-actions {
          display: grid;
          grid-template-columns: minmax(0, 1fr);
          width: 100%;
        }
        #vital-sw-update-notice .vital-sw-update-actions button {
          min-height: 44px;
          white-space: nowrap;
        }
      }
